@bubblelab/bubble-core 0.1.52 → 0.1.54
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 +110 -110
- package/dist/bubbles/service-bubble/agi-inc.d.ts +172 -172
- package/dist/bubbles/service-bubble/ai-agent.d.ts +66 -66
- package/dist/bubbles/service-bubble/airtable.d.ts +228 -228
- package/dist/bubbles/service-bubble/apify/apify.d.ts +14 -14
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +202 -202
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +180 -180
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +72 -72
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +36 -36
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +26 -26
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +118 -118
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +56 -56
- package/dist/bubbles/service-bubble/firecrawl.d.ts +758 -758
- package/dist/bubbles/service-bubble/followupboss.d.ts +436 -436
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +281 -281
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +341 -341
- package/dist/bubbles/service-bubble/github.d.ts +248 -248
- package/dist/bubbles/service-bubble/gmail.d.ts +659 -659
- package/dist/bubbles/service-bubble/google-calendar.d.ts +60 -60
- package/dist/bubbles/service-bubble/google-drive.d.ts +144 -144
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +44 -44
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +10 -10
- package/dist/bubbles/service-bubble/hello-world.d.ts +6 -6
- package/dist/bubbles/service-bubble/http.d.ts +20 -20
- package/dist/bubbles/service-bubble/insforge-db.d.ts +4 -4
- package/dist/bubbles/service-bubble/jira/jira.d.ts +81 -81
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +37 -37
- package/dist/bubbles/service-bubble/notion/notion.d.ts +2219 -2219
- package/dist/bubbles/service-bubble/postgresql.d.ts +4 -4
- package/dist/bubbles/service-bubble/resend.d.ts +44 -44
- package/dist/bubbles/service-bubble/slack/slack.d.ts +615 -615
- package/dist/bubbles/service-bubble/storage.d.ts +60 -60
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +178 -158
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/stripe/stripe.js +10 -0
- package/dist/bubbles/service-bubble/stripe/stripe.js.map +1 -1
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +193 -170
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/stripe/stripe.schema.js +5 -0
- package/dist/bubbles/service-bubble/stripe/stripe.schema.js.map +1 -1
- package/dist/bubbles/service-bubble/telegram.d.ts +1742 -1742
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +24 -24
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +16 -16
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +24 -24
- package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +24 -24
- package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +144 -144
- 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 +12 -12
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts +18 -18
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts +6 -6
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +148 -148
- package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +164 -164
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +28 -28
- 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 +20 -20
- package/dist/bubbles/tool-bubble/tool-template.d.ts +8 -8
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +104 -104
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +30 -30
- package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/web-search-tool.d.ts +22 -22
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +32 -32
- package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +32 -32
- package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +12 -12
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +162 -162
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +32 -32
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +28 -28
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +52 -52
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +8 -8
- package/dist/bubbles.json +22 -2
- package/package.json +2 -2
|
@@ -27,15 +27,15 @@ export declare const StripeProductSchema: z.ZodObject<{
|
|
|
27
27
|
created: z.ZodNumber;
|
|
28
28
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
29
29
|
}, "strip", z.ZodTypeAny, {
|
|
30
|
-
id: string;
|
|
31
30
|
name: string;
|
|
31
|
+
id: string;
|
|
32
32
|
created: number;
|
|
33
33
|
active: boolean;
|
|
34
34
|
description?: string | null | undefined;
|
|
35
35
|
metadata?: Record<string, string> | undefined;
|
|
36
36
|
}, {
|
|
37
|
-
id: string;
|
|
38
37
|
name: string;
|
|
38
|
+
id: string;
|
|
39
39
|
created: number;
|
|
40
40
|
active: boolean;
|
|
41
41
|
description?: string | null | undefined;
|
|
@@ -51,18 +51,18 @@ 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: "one_time" | "recurring";
|
|
54
55
|
id: string;
|
|
55
56
|
created: number;
|
|
56
|
-
type: "one_time" | "recurring";
|
|
57
57
|
active: boolean;
|
|
58
58
|
product: string;
|
|
59
59
|
unit_amount: number | null;
|
|
60
60
|
currency: string;
|
|
61
61
|
metadata?: Record<string, string> | undefined;
|
|
62
62
|
}, {
|
|
63
|
+
type: "one_time" | "recurring";
|
|
63
64
|
id: string;
|
|
64
65
|
created: number;
|
|
65
|
-
type: "one_time" | "recurring";
|
|
66
66
|
active: boolean;
|
|
67
67
|
product: string;
|
|
68
68
|
unit_amount: number | null;
|
|
@@ -76,15 +76,15 @@ export declare const StripePaymentLinkSchema: z.ZodObject<{
|
|
|
76
76
|
created: z.ZodOptional<z.ZodNumber>;
|
|
77
77
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
78
78
|
}, "strip", z.ZodTypeAny, {
|
|
79
|
+
url: string;
|
|
79
80
|
id: string;
|
|
80
81
|
active: boolean;
|
|
81
|
-
url: string;
|
|
82
82
|
created?: number | undefined;
|
|
83
83
|
metadata?: Record<string, string> | undefined;
|
|
84
84
|
}, {
|
|
85
|
+
url: string;
|
|
85
86
|
id: string;
|
|
86
87
|
active: boolean;
|
|
87
|
-
url: string;
|
|
88
88
|
created?: number | undefined;
|
|
89
89
|
metadata?: Record<string, string> | undefined;
|
|
90
90
|
}>;
|
|
@@ -95,27 +95,30 @@ export declare const StripeInvoiceSchema: z.ZodObject<{
|
|
|
95
95
|
total: z.ZodNumber;
|
|
96
96
|
currency: z.ZodString;
|
|
97
97
|
created: z.ZodOptional<z.ZodNumber>;
|
|
98
|
+
due_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
98
99
|
hosted_invoice_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
99
100
|
invoice_pdf: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
100
101
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
101
102
|
}, "strip", z.ZodTypeAny, {
|
|
103
|
+
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
102
104
|
id: string;
|
|
103
|
-
status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
|
|
104
105
|
currency: string;
|
|
105
106
|
customer: string | null;
|
|
106
107
|
total: number;
|
|
107
108
|
created?: number | undefined;
|
|
108
109
|
metadata?: Record<string, string> | undefined;
|
|
110
|
+
due_date?: string | null | undefined;
|
|
109
111
|
hosted_invoice_url?: string | null | undefined;
|
|
110
112
|
invoice_pdf?: string | null | undefined;
|
|
111
113
|
}, {
|
|
114
|
+
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
112
115
|
id: string;
|
|
113
|
-
status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
|
|
114
116
|
currency: string;
|
|
115
117
|
customer: string | null;
|
|
116
118
|
total: number;
|
|
117
119
|
created?: number | undefined;
|
|
118
120
|
metadata?: Record<string, string> | undefined;
|
|
121
|
+
due_date?: string | null | undefined;
|
|
119
122
|
hosted_invoice_url?: string | null | undefined;
|
|
120
123
|
invoice_pdf?: string | null | undefined;
|
|
121
124
|
}>;
|
|
@@ -168,17 +171,17 @@ export declare const StripePaymentIntentSchema: z.ZodObject<{
|
|
|
168
171
|
created: z.ZodNumber;
|
|
169
172
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
170
173
|
}, "strip", z.ZodTypeAny, {
|
|
174
|
+
status: "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "canceled" | "succeeded";
|
|
171
175
|
id: string;
|
|
172
176
|
created: number;
|
|
173
|
-
status: "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "canceled" | "succeeded";
|
|
174
177
|
currency: string;
|
|
175
178
|
amount: number;
|
|
176
179
|
metadata?: Record<string, string> | undefined;
|
|
177
180
|
customer?: string | null | undefined;
|
|
178
181
|
}, {
|
|
182
|
+
status: "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "canceled" | "succeeded";
|
|
179
183
|
id: string;
|
|
180
184
|
created: number;
|
|
181
|
-
status: "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "canceled" | "succeeded";
|
|
182
185
|
currency: string;
|
|
183
186
|
amount: number;
|
|
184
187
|
metadata?: Record<string, string> | undefined;
|
|
@@ -194,18 +197,18 @@ export declare const StripeSubscriptionSchema: z.ZodObject<{
|
|
|
194
197
|
created: z.ZodNumber;
|
|
195
198
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
196
199
|
}, "strip", z.ZodTypeAny, {
|
|
200
|
+
status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
|
|
197
201
|
id: string;
|
|
198
202
|
created: number;
|
|
199
|
-
status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
|
|
200
203
|
customer: string;
|
|
201
204
|
cancel_at_period_end: boolean;
|
|
202
205
|
metadata?: Record<string, string> | undefined;
|
|
203
206
|
current_period_start?: number | undefined;
|
|
204
207
|
current_period_end?: number | undefined;
|
|
205
208
|
}, {
|
|
209
|
+
status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
|
|
206
210
|
id: string;
|
|
207
211
|
created: number;
|
|
208
|
-
status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
|
|
209
212
|
customer: string;
|
|
210
213
|
cancel_at_period_end: boolean;
|
|
211
214
|
metadata?: Record<string, string> | undefined;
|
|
@@ -222,14 +225,14 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
222
225
|
name: string;
|
|
223
226
|
operation: "create_customer";
|
|
224
227
|
email?: string | undefined;
|
|
225
|
-
metadata?: Record<string, string> | undefined;
|
|
226
228
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
229
|
+
metadata?: Record<string, string> | undefined;
|
|
227
230
|
}, {
|
|
228
231
|
name: string;
|
|
229
232
|
operation: "create_customer";
|
|
230
233
|
email?: string | undefined;
|
|
231
|
-
metadata?: Record<string, string> | undefined;
|
|
232
234
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
235
|
+
metadata?: Record<string, string> | undefined;
|
|
233
236
|
}>, z.ZodObject<{
|
|
234
237
|
operation: z.ZodLiteral<"list_customers">;
|
|
235
238
|
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -255,14 +258,14 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
255
258
|
name: string;
|
|
256
259
|
operation: "create_product";
|
|
257
260
|
description?: string | undefined;
|
|
258
|
-
metadata?: Record<string, string> | undefined;
|
|
259
261
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
262
|
+
metadata?: Record<string, string> | undefined;
|
|
260
263
|
}, {
|
|
261
264
|
name: string;
|
|
262
265
|
operation: "create_product";
|
|
263
266
|
description?: string | undefined;
|
|
264
|
-
metadata?: Record<string, string> | undefined;
|
|
265
267
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
268
|
+
metadata?: Record<string, string> | undefined;
|
|
266
269
|
}>, z.ZodObject<{
|
|
267
270
|
operation: z.ZodLiteral<"list_products">;
|
|
268
271
|
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -271,12 +274,12 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
271
274
|
}, "strip", z.ZodTypeAny, {
|
|
272
275
|
operation: "list_products";
|
|
273
276
|
limit: number;
|
|
274
|
-
active?: boolean | undefined;
|
|
275
277
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
278
|
+
active?: boolean | undefined;
|
|
276
279
|
}, {
|
|
277
280
|
operation: "list_products";
|
|
278
|
-
active?: boolean | undefined;
|
|
279
281
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
282
|
+
active?: boolean | undefined;
|
|
280
283
|
limit?: number | undefined;
|
|
281
284
|
}>, z.ZodObject<{
|
|
282
285
|
operation: z.ZodLiteral<"create_price">;
|
|
@@ -296,27 +299,27 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
296
299
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
297
300
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
298
301
|
}, "strip", z.ZodTypeAny, {
|
|
302
|
+
operation: "create_price";
|
|
299
303
|
product: string;
|
|
300
304
|
unit_amount: number;
|
|
301
305
|
currency: string;
|
|
302
|
-
|
|
306
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
303
307
|
metadata?: Record<string, string> | undefined;
|
|
304
308
|
recurring?: {
|
|
305
309
|
interval: "day" | "week" | "month" | "year";
|
|
306
310
|
interval_count: number;
|
|
307
311
|
} | undefined;
|
|
308
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
309
312
|
}, {
|
|
313
|
+
operation: "create_price";
|
|
310
314
|
product: string;
|
|
311
315
|
unit_amount: number;
|
|
312
|
-
|
|
316
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
313
317
|
metadata?: Record<string, string> | undefined;
|
|
314
318
|
currency?: string | undefined;
|
|
315
319
|
recurring?: {
|
|
316
320
|
interval: "day" | "week" | "month" | "year";
|
|
317
321
|
interval_count?: number | undefined;
|
|
318
322
|
} | undefined;
|
|
319
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
320
323
|
}>, z.ZodObject<{
|
|
321
324
|
operation: z.ZodLiteral<"list_prices">;
|
|
322
325
|
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -326,14 +329,14 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
326
329
|
}, "strip", z.ZodTypeAny, {
|
|
327
330
|
operation: "list_prices";
|
|
328
331
|
limit: number;
|
|
332
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
329
333
|
active?: boolean | undefined;
|
|
330
334
|
product?: string | undefined;
|
|
331
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
332
335
|
}, {
|
|
333
336
|
operation: "list_prices";
|
|
337
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
334
338
|
active?: boolean | undefined;
|
|
335
339
|
product?: string | undefined;
|
|
336
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
337
340
|
limit?: number | undefined;
|
|
338
341
|
}>, z.ZodObject<{
|
|
339
342
|
operation: z.ZodLiteral<"create_payment_link">;
|
|
@@ -346,14 +349,14 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
346
349
|
operation: "create_payment_link";
|
|
347
350
|
price: string;
|
|
348
351
|
quantity: number;
|
|
349
|
-
metadata?: Record<string, string> | undefined;
|
|
350
352
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
353
|
+
metadata?: Record<string, string> | undefined;
|
|
351
354
|
redirect_url?: string | undefined;
|
|
352
355
|
}, {
|
|
353
356
|
operation: "create_payment_link";
|
|
354
357
|
price: string;
|
|
355
|
-
metadata?: Record<string, string> | undefined;
|
|
356
358
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
359
|
+
metadata?: Record<string, string> | undefined;
|
|
357
360
|
quantity?: number | undefined;
|
|
358
361
|
redirect_url?: string | undefined;
|
|
359
362
|
}>, z.ZodObject<{
|
|
@@ -365,18 +368,18 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
365
368
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
366
369
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
367
370
|
}, "strip", z.ZodTypeAny, {
|
|
368
|
-
customer: string;
|
|
369
371
|
operation: "create_invoice";
|
|
372
|
+
customer: string;
|
|
370
373
|
auto_advance: boolean;
|
|
371
374
|
collection_method: "charge_automatically" | "send_invoice";
|
|
372
|
-
metadata?: Record<string, string> | undefined;
|
|
373
375
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
376
|
+
metadata?: Record<string, string> | undefined;
|
|
374
377
|
days_until_due?: number | undefined;
|
|
375
378
|
}, {
|
|
376
|
-
customer: string;
|
|
377
379
|
operation: "create_invoice";
|
|
378
|
-
|
|
380
|
+
customer: string;
|
|
379
381
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
382
|
+
metadata?: Record<string, string> | undefined;
|
|
380
383
|
auto_advance?: boolean | undefined;
|
|
381
384
|
collection_method?: "charge_automatically" | "send_invoice" | undefined;
|
|
382
385
|
days_until_due?: number | undefined;
|
|
@@ -389,14 +392,14 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
389
392
|
}, "strip", z.ZodTypeAny, {
|
|
390
393
|
operation: "list_invoices";
|
|
391
394
|
limit: number;
|
|
392
|
-
status?: "
|
|
393
|
-
customer?: string | undefined;
|
|
395
|
+
status?: "void" | "draft" | "open" | "paid" | "uncollectible" | undefined;
|
|
394
396
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
397
|
+
customer?: string | undefined;
|
|
395
398
|
}, {
|
|
396
399
|
operation: "list_invoices";
|
|
397
|
-
status?: "
|
|
398
|
-
customer?: string | undefined;
|
|
400
|
+
status?: "void" | "draft" | "open" | "paid" | "uncollectible" | undefined;
|
|
399
401
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
402
|
+
customer?: string | undefined;
|
|
400
403
|
limit?: number | undefined;
|
|
401
404
|
}>, z.ZodObject<{
|
|
402
405
|
operation: z.ZodLiteral<"retrieve_invoice">;
|
|
@@ -442,12 +445,12 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
442
445
|
}, "strip", z.ZodTypeAny, {
|
|
443
446
|
operation: "list_payment_intents";
|
|
444
447
|
limit: number;
|
|
445
|
-
customer?: string | undefined;
|
|
446
448
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
449
|
+
customer?: string | undefined;
|
|
447
450
|
}, {
|
|
448
451
|
operation: "list_payment_intents";
|
|
449
|
-
customer?: string | undefined;
|
|
450
452
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
453
|
+
customer?: string | undefined;
|
|
451
454
|
limit?: number | undefined;
|
|
452
455
|
}>, z.ZodObject<{
|
|
453
456
|
operation: z.ZodLiteral<"list_subscriptions">;
|
|
@@ -459,13 +462,13 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
459
462
|
operation: "list_subscriptions";
|
|
460
463
|
limit: number;
|
|
461
464
|
status?: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused" | "all" | undefined;
|
|
462
|
-
customer?: string | undefined;
|
|
463
465
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
466
|
+
customer?: string | undefined;
|
|
464
467
|
}, {
|
|
465
468
|
operation: "list_subscriptions";
|
|
466
469
|
status?: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused" | "all" | undefined;
|
|
467
|
-
customer?: string | undefined;
|
|
468
470
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
471
|
+
customer?: string | undefined;
|
|
469
472
|
limit?: number | undefined;
|
|
470
473
|
}>, z.ZodObject<{
|
|
471
474
|
operation: z.ZodLiteral<"cancel_subscription">;
|
|
@@ -473,15 +476,15 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
473
476
|
cancel_at_period_end: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
474
477
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
475
478
|
}, "strip", z.ZodTypeAny, {
|
|
476
|
-
cancel_at_period_end: boolean;
|
|
477
479
|
operation: "cancel_subscription";
|
|
480
|
+
cancel_at_period_end: boolean;
|
|
478
481
|
subscription_id: string;
|
|
479
482
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
480
483
|
}, {
|
|
481
484
|
operation: "cancel_subscription";
|
|
482
485
|
subscription_id: string;
|
|
483
|
-
cancel_at_period_end?: boolean | undefined;
|
|
484
486
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
487
|
+
cancel_at_period_end?: boolean | undefined;
|
|
485
488
|
}>, z.ZodObject<{
|
|
486
489
|
operation: z.ZodLiteral<"list_payment_links">;
|
|
487
490
|
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -490,12 +493,12 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
490
493
|
}, "strip", z.ZodTypeAny, {
|
|
491
494
|
operation: "list_payment_links";
|
|
492
495
|
limit: number;
|
|
493
|
-
active?: boolean | undefined;
|
|
494
496
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
497
|
+
active?: boolean | undefined;
|
|
495
498
|
}, {
|
|
496
499
|
operation: "list_payment_links";
|
|
497
|
-
active?: boolean | undefined;
|
|
498
500
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
501
|
+
active?: boolean | undefined;
|
|
499
502
|
limit?: number | undefined;
|
|
500
503
|
}>, z.ZodObject<{
|
|
501
504
|
operation: z.ZodLiteral<"create_subscription">;
|
|
@@ -506,19 +509,19 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
506
509
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
507
510
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
508
511
|
}, "strip", z.ZodTypeAny, {
|
|
509
|
-
customer: string;
|
|
510
512
|
operation: "create_subscription";
|
|
513
|
+
customer: string;
|
|
511
514
|
price: string;
|
|
512
515
|
payment_behavior: "default_incomplete" | "error_if_incomplete" | "allow_incomplete";
|
|
513
|
-
metadata?: Record<string, string> | undefined;
|
|
514
516
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
517
|
+
metadata?: Record<string, string> | undefined;
|
|
515
518
|
trial_period_days?: number | undefined;
|
|
516
519
|
}, {
|
|
517
|
-
customer: string;
|
|
518
520
|
operation: "create_subscription";
|
|
521
|
+
customer: string;
|
|
519
522
|
price: string;
|
|
520
|
-
metadata?: Record<string, string> | undefined;
|
|
521
523
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
524
|
+
metadata?: Record<string, string> | undefined;
|
|
522
525
|
trial_period_days?: number | undefined;
|
|
523
526
|
payment_behavior?: "default_incomplete" | "error_if_incomplete" | "allow_incomplete" | undefined;
|
|
524
527
|
}>]>;
|
|
@@ -546,9 +549,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
546
549
|
}>>;
|
|
547
550
|
error: z.ZodString;
|
|
548
551
|
}, "strip", z.ZodTypeAny, {
|
|
549
|
-
operation: "create_customer";
|
|
550
|
-
success: boolean;
|
|
551
552
|
error: string;
|
|
553
|
+
success: boolean;
|
|
554
|
+
operation: "create_customer";
|
|
552
555
|
customer?: {
|
|
553
556
|
id: string;
|
|
554
557
|
created: number;
|
|
@@ -557,9 +560,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
557
560
|
metadata?: Record<string, string> | undefined;
|
|
558
561
|
} | undefined;
|
|
559
562
|
}, {
|
|
560
|
-
operation: "create_customer";
|
|
561
|
-
success: boolean;
|
|
562
563
|
error: string;
|
|
564
|
+
success: boolean;
|
|
565
|
+
operation: "create_customer";
|
|
563
566
|
customer?: {
|
|
564
567
|
id: string;
|
|
565
568
|
created: number;
|
|
@@ -591,9 +594,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
591
594
|
}>, "many">>;
|
|
592
595
|
error: z.ZodString;
|
|
593
596
|
}, "strip", z.ZodTypeAny, {
|
|
594
|
-
operation: "list_customers";
|
|
595
|
-
success: boolean;
|
|
596
597
|
error: string;
|
|
598
|
+
success: boolean;
|
|
599
|
+
operation: "list_customers";
|
|
597
600
|
customers?: {
|
|
598
601
|
id: string;
|
|
599
602
|
created: number;
|
|
@@ -602,9 +605,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
602
605
|
metadata?: Record<string, string> | undefined;
|
|
603
606
|
}[] | undefined;
|
|
604
607
|
}, {
|
|
605
|
-
operation: "list_customers";
|
|
606
|
-
success: boolean;
|
|
607
608
|
error: string;
|
|
609
|
+
success: boolean;
|
|
610
|
+
operation: "list_customers";
|
|
608
611
|
customers?: {
|
|
609
612
|
id: string;
|
|
610
613
|
created: number;
|
|
@@ -623,15 +626,15 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
623
626
|
created: z.ZodNumber;
|
|
624
627
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
625
628
|
}, "strip", z.ZodTypeAny, {
|
|
626
|
-
id: string;
|
|
627
629
|
name: string;
|
|
630
|
+
id: string;
|
|
628
631
|
created: number;
|
|
629
632
|
active: boolean;
|
|
630
633
|
description?: string | null | undefined;
|
|
631
634
|
metadata?: Record<string, string> | undefined;
|
|
632
635
|
}, {
|
|
633
|
-
id: string;
|
|
634
636
|
name: string;
|
|
637
|
+
id: string;
|
|
635
638
|
created: number;
|
|
636
639
|
active: boolean;
|
|
637
640
|
description?: string | null | undefined;
|
|
@@ -639,24 +642,24 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
639
642
|
}>>;
|
|
640
643
|
error: z.ZodString;
|
|
641
644
|
}, "strip", z.ZodTypeAny, {
|
|
642
|
-
operation: "create_product";
|
|
643
|
-
success: boolean;
|
|
644
645
|
error: string;
|
|
646
|
+
success: boolean;
|
|
647
|
+
operation: "create_product";
|
|
645
648
|
product?: {
|
|
646
|
-
id: string;
|
|
647
649
|
name: string;
|
|
650
|
+
id: string;
|
|
648
651
|
created: number;
|
|
649
652
|
active: boolean;
|
|
650
653
|
description?: string | null | undefined;
|
|
651
654
|
metadata?: Record<string, string> | undefined;
|
|
652
655
|
} | undefined;
|
|
653
656
|
}, {
|
|
654
|
-
operation: "create_product";
|
|
655
|
-
success: boolean;
|
|
656
657
|
error: string;
|
|
658
|
+
success: boolean;
|
|
659
|
+
operation: "create_product";
|
|
657
660
|
product?: {
|
|
658
|
-
id: string;
|
|
659
661
|
name: string;
|
|
662
|
+
id: string;
|
|
660
663
|
created: number;
|
|
661
664
|
active: boolean;
|
|
662
665
|
description?: string | null | undefined;
|
|
@@ -673,15 +676,15 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
673
676
|
created: z.ZodNumber;
|
|
674
677
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
675
678
|
}, "strip", z.ZodTypeAny, {
|
|
676
|
-
id: string;
|
|
677
679
|
name: string;
|
|
680
|
+
id: string;
|
|
678
681
|
created: number;
|
|
679
682
|
active: boolean;
|
|
680
683
|
description?: string | null | undefined;
|
|
681
684
|
metadata?: Record<string, string> | undefined;
|
|
682
685
|
}, {
|
|
683
|
-
id: string;
|
|
684
686
|
name: string;
|
|
687
|
+
id: string;
|
|
685
688
|
created: number;
|
|
686
689
|
active: boolean;
|
|
687
690
|
description?: string | null | undefined;
|
|
@@ -689,24 +692,24 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
689
692
|
}>, "many">>;
|
|
690
693
|
error: z.ZodString;
|
|
691
694
|
}, "strip", z.ZodTypeAny, {
|
|
692
|
-
operation: "list_products";
|
|
693
|
-
success: boolean;
|
|
694
695
|
error: string;
|
|
696
|
+
success: boolean;
|
|
697
|
+
operation: "list_products";
|
|
695
698
|
products?: {
|
|
696
|
-
id: string;
|
|
697
699
|
name: string;
|
|
700
|
+
id: string;
|
|
698
701
|
created: number;
|
|
699
702
|
active: boolean;
|
|
700
703
|
description?: string | null | undefined;
|
|
701
704
|
metadata?: Record<string, string> | undefined;
|
|
702
705
|
}[] | undefined;
|
|
703
706
|
}, {
|
|
704
|
-
operation: "list_products";
|
|
705
|
-
success: boolean;
|
|
706
707
|
error: string;
|
|
708
|
+
success: boolean;
|
|
709
|
+
operation: "list_products";
|
|
707
710
|
products?: {
|
|
708
|
-
id: string;
|
|
709
711
|
name: string;
|
|
712
|
+
id: string;
|
|
710
713
|
created: number;
|
|
711
714
|
active: boolean;
|
|
712
715
|
description?: string | null | undefined;
|
|
@@ -725,18 +728,18 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
725
728
|
created: z.ZodNumber;
|
|
726
729
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
727
730
|
}, "strip", z.ZodTypeAny, {
|
|
731
|
+
type: "one_time" | "recurring";
|
|
728
732
|
id: string;
|
|
729
733
|
created: number;
|
|
730
|
-
type: "one_time" | "recurring";
|
|
731
734
|
active: boolean;
|
|
732
735
|
product: string;
|
|
733
736
|
unit_amount: number | null;
|
|
734
737
|
currency: string;
|
|
735
738
|
metadata?: Record<string, string> | undefined;
|
|
736
739
|
}, {
|
|
740
|
+
type: "one_time" | "recurring";
|
|
737
741
|
id: string;
|
|
738
742
|
created: number;
|
|
739
|
-
type: "one_time" | "recurring";
|
|
740
743
|
active: boolean;
|
|
741
744
|
product: string;
|
|
742
745
|
unit_amount: number | null;
|
|
@@ -745,13 +748,13 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
745
748
|
}>>;
|
|
746
749
|
error: z.ZodString;
|
|
747
750
|
}, "strip", z.ZodTypeAny, {
|
|
748
|
-
operation: "create_price";
|
|
749
|
-
success: boolean;
|
|
750
751
|
error: string;
|
|
752
|
+
success: boolean;
|
|
753
|
+
operation: "create_price";
|
|
751
754
|
price?: {
|
|
755
|
+
type: "one_time" | "recurring";
|
|
752
756
|
id: string;
|
|
753
757
|
created: number;
|
|
754
|
-
type: "one_time" | "recurring";
|
|
755
758
|
active: boolean;
|
|
756
759
|
product: string;
|
|
757
760
|
unit_amount: number | null;
|
|
@@ -759,13 +762,13 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
759
762
|
metadata?: Record<string, string> | undefined;
|
|
760
763
|
} | undefined;
|
|
761
764
|
}, {
|
|
762
|
-
operation: "create_price";
|
|
763
|
-
success: boolean;
|
|
764
765
|
error: string;
|
|
766
|
+
success: boolean;
|
|
767
|
+
operation: "create_price";
|
|
765
768
|
price?: {
|
|
769
|
+
type: "one_time" | "recurring";
|
|
766
770
|
id: string;
|
|
767
771
|
created: number;
|
|
768
|
-
type: "one_time" | "recurring";
|
|
769
772
|
active: boolean;
|
|
770
773
|
product: string;
|
|
771
774
|
unit_amount: number | null;
|
|
@@ -785,18 +788,18 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
785
788
|
created: z.ZodNumber;
|
|
786
789
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
787
790
|
}, "strip", z.ZodTypeAny, {
|
|
791
|
+
type: "one_time" | "recurring";
|
|
788
792
|
id: string;
|
|
789
793
|
created: number;
|
|
790
|
-
type: "one_time" | "recurring";
|
|
791
794
|
active: boolean;
|
|
792
795
|
product: string;
|
|
793
796
|
unit_amount: number | null;
|
|
794
797
|
currency: string;
|
|
795
798
|
metadata?: Record<string, string> | undefined;
|
|
796
799
|
}, {
|
|
800
|
+
type: "one_time" | "recurring";
|
|
797
801
|
id: string;
|
|
798
802
|
created: number;
|
|
799
|
-
type: "one_time" | "recurring";
|
|
800
803
|
active: boolean;
|
|
801
804
|
product: string;
|
|
802
805
|
unit_amount: number | null;
|
|
@@ -805,13 +808,13 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
805
808
|
}>, "many">>;
|
|
806
809
|
error: z.ZodString;
|
|
807
810
|
}, "strip", z.ZodTypeAny, {
|
|
808
|
-
operation: "list_prices";
|
|
809
|
-
success: boolean;
|
|
810
811
|
error: string;
|
|
812
|
+
success: boolean;
|
|
813
|
+
operation: "list_prices";
|
|
811
814
|
prices?: {
|
|
815
|
+
type: "one_time" | "recurring";
|
|
812
816
|
id: string;
|
|
813
817
|
created: number;
|
|
814
|
-
type: "one_time" | "recurring";
|
|
815
818
|
active: boolean;
|
|
816
819
|
product: string;
|
|
817
820
|
unit_amount: number | null;
|
|
@@ -819,13 +822,13 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
819
822
|
metadata?: Record<string, string> | undefined;
|
|
820
823
|
}[] | undefined;
|
|
821
824
|
}, {
|
|
822
|
-
operation: "list_prices";
|
|
823
|
-
success: boolean;
|
|
824
825
|
error: string;
|
|
826
|
+
success: boolean;
|
|
827
|
+
operation: "list_prices";
|
|
825
828
|
prices?: {
|
|
829
|
+
type: "one_time" | "recurring";
|
|
826
830
|
id: string;
|
|
827
831
|
created: number;
|
|
828
|
-
type: "one_time" | "recurring";
|
|
829
832
|
active: boolean;
|
|
830
833
|
product: string;
|
|
831
834
|
unit_amount: number | null;
|
|
@@ -842,38 +845,38 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
842
845
|
created: z.ZodOptional<z.ZodNumber>;
|
|
843
846
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
844
847
|
}, "strip", z.ZodTypeAny, {
|
|
848
|
+
url: string;
|
|
845
849
|
id: string;
|
|
846
850
|
active: boolean;
|
|
847
|
-
url: string;
|
|
848
851
|
created?: number | undefined;
|
|
849
852
|
metadata?: Record<string, string> | undefined;
|
|
850
853
|
}, {
|
|
854
|
+
url: string;
|
|
851
855
|
id: string;
|
|
852
856
|
active: boolean;
|
|
853
|
-
url: string;
|
|
854
857
|
created?: number | undefined;
|
|
855
858
|
metadata?: Record<string, string> | undefined;
|
|
856
859
|
}>>;
|
|
857
860
|
error: z.ZodString;
|
|
858
861
|
}, "strip", z.ZodTypeAny, {
|
|
859
|
-
operation: "create_payment_link";
|
|
860
|
-
success: boolean;
|
|
861
862
|
error: string;
|
|
863
|
+
success: boolean;
|
|
864
|
+
operation: "create_payment_link";
|
|
862
865
|
payment_link?: {
|
|
866
|
+
url: string;
|
|
863
867
|
id: string;
|
|
864
868
|
active: boolean;
|
|
865
|
-
url: string;
|
|
866
869
|
created?: number | undefined;
|
|
867
870
|
metadata?: Record<string, string> | undefined;
|
|
868
871
|
} | undefined;
|
|
869
872
|
}, {
|
|
870
|
-
operation: "create_payment_link";
|
|
871
|
-
success: boolean;
|
|
872
873
|
error: string;
|
|
874
|
+
success: boolean;
|
|
875
|
+
operation: "create_payment_link";
|
|
873
876
|
payment_link?: {
|
|
877
|
+
url: string;
|
|
874
878
|
id: string;
|
|
875
879
|
active: boolean;
|
|
876
|
-
url: string;
|
|
877
880
|
created?: number | undefined;
|
|
878
881
|
metadata?: Record<string, string> | undefined;
|
|
879
882
|
} | undefined;
|
|
@@ -887,58 +890,63 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
887
890
|
total: z.ZodNumber;
|
|
888
891
|
currency: z.ZodString;
|
|
889
892
|
created: z.ZodOptional<z.ZodNumber>;
|
|
893
|
+
due_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
890
894
|
hosted_invoice_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
891
895
|
invoice_pdf: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
892
896
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
893
897
|
}, "strip", z.ZodTypeAny, {
|
|
898
|
+
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
894
899
|
id: string;
|
|
895
|
-
status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
|
|
896
900
|
currency: string;
|
|
897
901
|
customer: string | null;
|
|
898
902
|
total: number;
|
|
899
903
|
created?: number | undefined;
|
|
900
904
|
metadata?: Record<string, string> | undefined;
|
|
905
|
+
due_date?: string | null | undefined;
|
|
901
906
|
hosted_invoice_url?: string | null | undefined;
|
|
902
907
|
invoice_pdf?: string | null | undefined;
|
|
903
908
|
}, {
|
|
909
|
+
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
904
910
|
id: string;
|
|
905
|
-
status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
|
|
906
911
|
currency: string;
|
|
907
912
|
customer: string | null;
|
|
908
913
|
total: number;
|
|
909
914
|
created?: number | undefined;
|
|
910
915
|
metadata?: Record<string, string> | undefined;
|
|
916
|
+
due_date?: string | null | undefined;
|
|
911
917
|
hosted_invoice_url?: string | null | undefined;
|
|
912
918
|
invoice_pdf?: string | null | undefined;
|
|
913
919
|
}>>;
|
|
914
920
|
error: z.ZodString;
|
|
915
921
|
}, "strip", z.ZodTypeAny, {
|
|
916
|
-
operation: "create_invoice";
|
|
917
|
-
success: boolean;
|
|
918
922
|
error: string;
|
|
923
|
+
success: boolean;
|
|
924
|
+
operation: "create_invoice";
|
|
919
925
|
invoice?: {
|
|
926
|
+
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
920
927
|
id: string;
|
|
921
|
-
status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
|
|
922
928
|
currency: string;
|
|
923
929
|
customer: string | null;
|
|
924
930
|
total: number;
|
|
925
931
|
created?: number | undefined;
|
|
926
932
|
metadata?: Record<string, string> | undefined;
|
|
933
|
+
due_date?: string | null | undefined;
|
|
927
934
|
hosted_invoice_url?: string | null | undefined;
|
|
928
935
|
invoice_pdf?: string | null | undefined;
|
|
929
936
|
} | undefined;
|
|
930
937
|
}, {
|
|
931
|
-
operation: "create_invoice";
|
|
932
|
-
success: boolean;
|
|
933
938
|
error: string;
|
|
939
|
+
success: boolean;
|
|
940
|
+
operation: "create_invoice";
|
|
934
941
|
invoice?: {
|
|
942
|
+
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
935
943
|
id: string;
|
|
936
|
-
status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
|
|
937
944
|
currency: string;
|
|
938
945
|
customer: string | null;
|
|
939
946
|
total: number;
|
|
940
947
|
created?: number | undefined;
|
|
941
948
|
metadata?: Record<string, string> | undefined;
|
|
949
|
+
due_date?: string | null | undefined;
|
|
942
950
|
hosted_invoice_url?: string | null | undefined;
|
|
943
951
|
invoice_pdf?: string | null | undefined;
|
|
944
952
|
} | undefined;
|
|
@@ -952,58 +960,63 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
952
960
|
total: z.ZodNumber;
|
|
953
961
|
currency: z.ZodString;
|
|
954
962
|
created: z.ZodOptional<z.ZodNumber>;
|
|
963
|
+
due_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
955
964
|
hosted_invoice_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
956
965
|
invoice_pdf: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
957
966
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
958
967
|
}, "strip", z.ZodTypeAny, {
|
|
968
|
+
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
959
969
|
id: string;
|
|
960
|
-
status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
|
|
961
970
|
currency: string;
|
|
962
971
|
customer: string | null;
|
|
963
972
|
total: number;
|
|
964
973
|
created?: number | undefined;
|
|
965
974
|
metadata?: Record<string, string> | undefined;
|
|
975
|
+
due_date?: string | null | undefined;
|
|
966
976
|
hosted_invoice_url?: string | null | undefined;
|
|
967
977
|
invoice_pdf?: string | null | undefined;
|
|
968
978
|
}, {
|
|
979
|
+
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
969
980
|
id: string;
|
|
970
|
-
status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
|
|
971
981
|
currency: string;
|
|
972
982
|
customer: string | null;
|
|
973
983
|
total: number;
|
|
974
984
|
created?: number | undefined;
|
|
975
985
|
metadata?: Record<string, string> | undefined;
|
|
986
|
+
due_date?: string | null | undefined;
|
|
976
987
|
hosted_invoice_url?: string | null | undefined;
|
|
977
988
|
invoice_pdf?: string | null | undefined;
|
|
978
989
|
}>, "many">>;
|
|
979
990
|
error: z.ZodString;
|
|
980
991
|
}, "strip", z.ZodTypeAny, {
|
|
981
|
-
operation: "list_invoices";
|
|
982
|
-
success: boolean;
|
|
983
992
|
error: string;
|
|
993
|
+
success: boolean;
|
|
994
|
+
operation: "list_invoices";
|
|
984
995
|
invoices?: {
|
|
996
|
+
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
985
997
|
id: string;
|
|
986
|
-
status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
|
|
987
998
|
currency: string;
|
|
988
999
|
customer: string | null;
|
|
989
1000
|
total: number;
|
|
990
1001
|
created?: number | undefined;
|
|
991
1002
|
metadata?: Record<string, string> | undefined;
|
|
1003
|
+
due_date?: string | null | undefined;
|
|
992
1004
|
hosted_invoice_url?: string | null | undefined;
|
|
993
1005
|
invoice_pdf?: string | null | undefined;
|
|
994
1006
|
}[] | undefined;
|
|
995
1007
|
}, {
|
|
996
|
-
operation: "list_invoices";
|
|
997
|
-
success: boolean;
|
|
998
1008
|
error: string;
|
|
1009
|
+
success: boolean;
|
|
1010
|
+
operation: "list_invoices";
|
|
999
1011
|
invoices?: {
|
|
1012
|
+
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
1000
1013
|
id: string;
|
|
1001
|
-
status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
|
|
1002
1014
|
currency: string;
|
|
1003
1015
|
customer: string | null;
|
|
1004
1016
|
total: number;
|
|
1005
1017
|
created?: number | undefined;
|
|
1006
1018
|
metadata?: Record<string, string> | undefined;
|
|
1019
|
+
due_date?: string | null | undefined;
|
|
1007
1020
|
hosted_invoice_url?: string | null | undefined;
|
|
1008
1021
|
invoice_pdf?: string | null | undefined;
|
|
1009
1022
|
}[] | undefined;
|
|
@@ -1017,58 +1030,63 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1017
1030
|
total: z.ZodNumber;
|
|
1018
1031
|
currency: z.ZodString;
|
|
1019
1032
|
created: z.ZodOptional<z.ZodNumber>;
|
|
1033
|
+
due_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1020
1034
|
hosted_invoice_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1021
1035
|
invoice_pdf: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1022
1036
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1023
1037
|
}, "strip", z.ZodTypeAny, {
|
|
1038
|
+
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
1024
1039
|
id: string;
|
|
1025
|
-
status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
|
|
1026
1040
|
currency: string;
|
|
1027
1041
|
customer: string | null;
|
|
1028
1042
|
total: number;
|
|
1029
1043
|
created?: number | undefined;
|
|
1030
1044
|
metadata?: Record<string, string> | undefined;
|
|
1045
|
+
due_date?: string | null | undefined;
|
|
1031
1046
|
hosted_invoice_url?: string | null | undefined;
|
|
1032
1047
|
invoice_pdf?: string | null | undefined;
|
|
1033
1048
|
}, {
|
|
1049
|
+
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
1034
1050
|
id: string;
|
|
1035
|
-
status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
|
|
1036
1051
|
currency: string;
|
|
1037
1052
|
customer: string | null;
|
|
1038
1053
|
total: number;
|
|
1039
1054
|
created?: number | undefined;
|
|
1040
1055
|
metadata?: Record<string, string> | undefined;
|
|
1056
|
+
due_date?: string | null | undefined;
|
|
1041
1057
|
hosted_invoice_url?: string | null | undefined;
|
|
1042
1058
|
invoice_pdf?: string | null | undefined;
|
|
1043
1059
|
}>>;
|
|
1044
1060
|
error: z.ZodString;
|
|
1045
1061
|
}, "strip", z.ZodTypeAny, {
|
|
1046
|
-
operation: "retrieve_invoice";
|
|
1047
|
-
success: boolean;
|
|
1048
1062
|
error: string;
|
|
1063
|
+
success: boolean;
|
|
1064
|
+
operation: "retrieve_invoice";
|
|
1049
1065
|
invoice?: {
|
|
1066
|
+
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
1050
1067
|
id: string;
|
|
1051
|
-
status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
|
|
1052
1068
|
currency: string;
|
|
1053
1069
|
customer: string | null;
|
|
1054
1070
|
total: number;
|
|
1055
1071
|
created?: number | undefined;
|
|
1056
1072
|
metadata?: Record<string, string> | undefined;
|
|
1073
|
+
due_date?: string | null | undefined;
|
|
1057
1074
|
hosted_invoice_url?: string | null | undefined;
|
|
1058
1075
|
invoice_pdf?: string | null | undefined;
|
|
1059
1076
|
} | undefined;
|
|
1060
1077
|
}, {
|
|
1061
|
-
operation: "retrieve_invoice";
|
|
1062
|
-
success: boolean;
|
|
1063
1078
|
error: string;
|
|
1079
|
+
success: boolean;
|
|
1080
|
+
operation: "retrieve_invoice";
|
|
1064
1081
|
invoice?: {
|
|
1082
|
+
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
1065
1083
|
id: string;
|
|
1066
|
-
status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
|
|
1067
1084
|
currency: string;
|
|
1068
1085
|
customer: string | null;
|
|
1069
1086
|
total: number;
|
|
1070
1087
|
created?: number | undefined;
|
|
1071
1088
|
metadata?: Record<string, string> | undefined;
|
|
1089
|
+
due_date?: string | null | undefined;
|
|
1072
1090
|
hosted_invoice_url?: string | null | undefined;
|
|
1073
1091
|
invoice_pdf?: string | null | undefined;
|
|
1074
1092
|
} | undefined;
|
|
@@ -1082,58 +1100,63 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1082
1100
|
total: z.ZodNumber;
|
|
1083
1101
|
currency: z.ZodString;
|
|
1084
1102
|
created: z.ZodOptional<z.ZodNumber>;
|
|
1103
|
+
due_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1085
1104
|
hosted_invoice_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1086
1105
|
invoice_pdf: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1087
1106
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1088
1107
|
}, "strip", z.ZodTypeAny, {
|
|
1108
|
+
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
1089
1109
|
id: string;
|
|
1090
|
-
status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
|
|
1091
1110
|
currency: string;
|
|
1092
1111
|
customer: string | null;
|
|
1093
1112
|
total: number;
|
|
1094
1113
|
created?: number | undefined;
|
|
1095
1114
|
metadata?: Record<string, string> | undefined;
|
|
1115
|
+
due_date?: string | null | undefined;
|
|
1096
1116
|
hosted_invoice_url?: string | null | undefined;
|
|
1097
1117
|
invoice_pdf?: string | null | undefined;
|
|
1098
1118
|
}, {
|
|
1119
|
+
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
1099
1120
|
id: string;
|
|
1100
|
-
status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
|
|
1101
1121
|
currency: string;
|
|
1102
1122
|
customer: string | null;
|
|
1103
1123
|
total: number;
|
|
1104
1124
|
created?: number | undefined;
|
|
1105
1125
|
metadata?: Record<string, string> | undefined;
|
|
1126
|
+
due_date?: string | null | undefined;
|
|
1106
1127
|
hosted_invoice_url?: string | null | undefined;
|
|
1107
1128
|
invoice_pdf?: string | null | undefined;
|
|
1108
1129
|
}>>;
|
|
1109
1130
|
error: z.ZodString;
|
|
1110
1131
|
}, "strip", z.ZodTypeAny, {
|
|
1111
|
-
operation: "finalize_invoice";
|
|
1112
|
-
success: boolean;
|
|
1113
1132
|
error: string;
|
|
1133
|
+
success: boolean;
|
|
1134
|
+
operation: "finalize_invoice";
|
|
1114
1135
|
invoice?: {
|
|
1136
|
+
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
1115
1137
|
id: string;
|
|
1116
|
-
status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
|
|
1117
1138
|
currency: string;
|
|
1118
1139
|
customer: string | null;
|
|
1119
1140
|
total: number;
|
|
1120
1141
|
created?: number | undefined;
|
|
1121
1142
|
metadata?: Record<string, string> | undefined;
|
|
1143
|
+
due_date?: string | null | undefined;
|
|
1122
1144
|
hosted_invoice_url?: string | null | undefined;
|
|
1123
1145
|
invoice_pdf?: string | null | undefined;
|
|
1124
1146
|
} | undefined;
|
|
1125
1147
|
}, {
|
|
1126
|
-
operation: "finalize_invoice";
|
|
1127
|
-
success: boolean;
|
|
1128
1148
|
error: string;
|
|
1149
|
+
success: boolean;
|
|
1150
|
+
operation: "finalize_invoice";
|
|
1129
1151
|
invoice?: {
|
|
1152
|
+
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
1130
1153
|
id: string;
|
|
1131
|
-
status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
|
|
1132
1154
|
currency: string;
|
|
1133
1155
|
customer: string | null;
|
|
1134
1156
|
total: number;
|
|
1135
1157
|
created?: number | undefined;
|
|
1136
1158
|
metadata?: Record<string, string> | undefined;
|
|
1159
|
+
due_date?: string | null | undefined;
|
|
1137
1160
|
hosted_invoice_url?: string | null | undefined;
|
|
1138
1161
|
invoice_pdf?: string | null | undefined;
|
|
1139
1162
|
} | undefined;
|
|
@@ -1182,9 +1205,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1182
1205
|
}>>;
|
|
1183
1206
|
error: z.ZodString;
|
|
1184
1207
|
}, "strip", z.ZodTypeAny, {
|
|
1185
|
-
operation: "get_balance";
|
|
1186
|
-
success: boolean;
|
|
1187
1208
|
error: string;
|
|
1209
|
+
success: boolean;
|
|
1210
|
+
operation: "get_balance";
|
|
1188
1211
|
balance?: {
|
|
1189
1212
|
available: {
|
|
1190
1213
|
currency: string;
|
|
@@ -1196,9 +1219,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1196
1219
|
}[];
|
|
1197
1220
|
} | undefined;
|
|
1198
1221
|
}, {
|
|
1199
|
-
operation: "get_balance";
|
|
1200
|
-
success: boolean;
|
|
1201
1222
|
error: string;
|
|
1223
|
+
success: boolean;
|
|
1224
|
+
operation: "get_balance";
|
|
1202
1225
|
balance?: {
|
|
1203
1226
|
available: {
|
|
1204
1227
|
currency: string;
|
|
@@ -1221,17 +1244,17 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1221
1244
|
created: z.ZodNumber;
|
|
1222
1245
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1223
1246
|
}, "strip", z.ZodTypeAny, {
|
|
1247
|
+
status: "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "canceled" | "succeeded";
|
|
1224
1248
|
id: string;
|
|
1225
1249
|
created: number;
|
|
1226
|
-
status: "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "canceled" | "succeeded";
|
|
1227
1250
|
currency: string;
|
|
1228
1251
|
amount: number;
|
|
1229
1252
|
metadata?: Record<string, string> | undefined;
|
|
1230
1253
|
customer?: string | null | undefined;
|
|
1231
1254
|
}, {
|
|
1255
|
+
status: "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "canceled" | "succeeded";
|
|
1232
1256
|
id: string;
|
|
1233
1257
|
created: number;
|
|
1234
|
-
status: "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "canceled" | "succeeded";
|
|
1235
1258
|
currency: string;
|
|
1236
1259
|
amount: number;
|
|
1237
1260
|
metadata?: Record<string, string> | undefined;
|
|
@@ -1239,26 +1262,26 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1239
1262
|
}>, "many">>;
|
|
1240
1263
|
error: z.ZodString;
|
|
1241
1264
|
}, "strip", z.ZodTypeAny, {
|
|
1242
|
-
operation: "list_payment_intents";
|
|
1243
|
-
success: boolean;
|
|
1244
1265
|
error: string;
|
|
1266
|
+
success: boolean;
|
|
1267
|
+
operation: "list_payment_intents";
|
|
1245
1268
|
payment_intents?: {
|
|
1269
|
+
status: "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "canceled" | "succeeded";
|
|
1246
1270
|
id: string;
|
|
1247
1271
|
created: number;
|
|
1248
|
-
status: "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "canceled" | "succeeded";
|
|
1249
1272
|
currency: string;
|
|
1250
1273
|
amount: number;
|
|
1251
1274
|
metadata?: Record<string, string> | undefined;
|
|
1252
1275
|
customer?: string | null | undefined;
|
|
1253
1276
|
}[] | undefined;
|
|
1254
1277
|
}, {
|
|
1255
|
-
operation: "list_payment_intents";
|
|
1256
|
-
success: boolean;
|
|
1257
1278
|
error: string;
|
|
1279
|
+
success: boolean;
|
|
1280
|
+
operation: "list_payment_intents";
|
|
1258
1281
|
payment_intents?: {
|
|
1282
|
+
status: "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "canceled" | "succeeded";
|
|
1259
1283
|
id: string;
|
|
1260
1284
|
created: number;
|
|
1261
|
-
status: "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "canceled" | "succeeded";
|
|
1262
1285
|
currency: string;
|
|
1263
1286
|
amount: number;
|
|
1264
1287
|
metadata?: Record<string, string> | undefined;
|
|
@@ -1277,18 +1300,18 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1277
1300
|
created: z.ZodNumber;
|
|
1278
1301
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1279
1302
|
}, "strip", z.ZodTypeAny, {
|
|
1303
|
+
status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
|
|
1280
1304
|
id: string;
|
|
1281
1305
|
created: number;
|
|
1282
|
-
status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
|
|
1283
1306
|
customer: string;
|
|
1284
1307
|
cancel_at_period_end: boolean;
|
|
1285
1308
|
metadata?: Record<string, string> | undefined;
|
|
1286
1309
|
current_period_start?: number | undefined;
|
|
1287
1310
|
current_period_end?: number | undefined;
|
|
1288
1311
|
}, {
|
|
1312
|
+
status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
|
|
1289
1313
|
id: string;
|
|
1290
1314
|
created: number;
|
|
1291
|
-
status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
|
|
1292
1315
|
customer: string;
|
|
1293
1316
|
cancel_at_period_end: boolean;
|
|
1294
1317
|
metadata?: Record<string, string> | undefined;
|
|
@@ -1297,13 +1320,13 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1297
1320
|
}>, "many">>;
|
|
1298
1321
|
error: z.ZodString;
|
|
1299
1322
|
}, "strip", z.ZodTypeAny, {
|
|
1300
|
-
operation: "list_subscriptions";
|
|
1301
|
-
success: boolean;
|
|
1302
1323
|
error: string;
|
|
1324
|
+
success: boolean;
|
|
1325
|
+
operation: "list_subscriptions";
|
|
1303
1326
|
subscriptions?: {
|
|
1327
|
+
status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
|
|
1304
1328
|
id: string;
|
|
1305
1329
|
created: number;
|
|
1306
|
-
status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
|
|
1307
1330
|
customer: string;
|
|
1308
1331
|
cancel_at_period_end: boolean;
|
|
1309
1332
|
metadata?: Record<string, string> | undefined;
|
|
@@ -1311,13 +1334,13 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1311
1334
|
current_period_end?: number | undefined;
|
|
1312
1335
|
}[] | undefined;
|
|
1313
1336
|
}, {
|
|
1314
|
-
operation: "list_subscriptions";
|
|
1315
|
-
success: boolean;
|
|
1316
1337
|
error: string;
|
|
1338
|
+
success: boolean;
|
|
1339
|
+
operation: "list_subscriptions";
|
|
1317
1340
|
subscriptions?: {
|
|
1341
|
+
status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
|
|
1318
1342
|
id: string;
|
|
1319
1343
|
created: number;
|
|
1320
|
-
status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
|
|
1321
1344
|
customer: string;
|
|
1322
1345
|
cancel_at_period_end: boolean;
|
|
1323
1346
|
metadata?: Record<string, string> | undefined;
|
|
@@ -1337,18 +1360,18 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1337
1360
|
created: z.ZodNumber;
|
|
1338
1361
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1339
1362
|
}, "strip", z.ZodTypeAny, {
|
|
1363
|
+
status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
|
|
1340
1364
|
id: string;
|
|
1341
1365
|
created: number;
|
|
1342
|
-
status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
|
|
1343
1366
|
customer: string;
|
|
1344
1367
|
cancel_at_period_end: boolean;
|
|
1345
1368
|
metadata?: Record<string, string> | undefined;
|
|
1346
1369
|
current_period_start?: number | undefined;
|
|
1347
1370
|
current_period_end?: number | undefined;
|
|
1348
1371
|
}, {
|
|
1372
|
+
status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
|
|
1349
1373
|
id: string;
|
|
1350
1374
|
created: number;
|
|
1351
|
-
status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
|
|
1352
1375
|
customer: string;
|
|
1353
1376
|
cancel_at_period_end: boolean;
|
|
1354
1377
|
metadata?: Record<string, string> | undefined;
|
|
@@ -1357,13 +1380,13 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1357
1380
|
}>>;
|
|
1358
1381
|
error: z.ZodString;
|
|
1359
1382
|
}, "strip", z.ZodTypeAny, {
|
|
1360
|
-
operation: "cancel_subscription";
|
|
1361
|
-
success: boolean;
|
|
1362
1383
|
error: string;
|
|
1384
|
+
success: boolean;
|
|
1385
|
+
operation: "cancel_subscription";
|
|
1363
1386
|
subscription?: {
|
|
1387
|
+
status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
|
|
1364
1388
|
id: string;
|
|
1365
1389
|
created: number;
|
|
1366
|
-
status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
|
|
1367
1390
|
customer: string;
|
|
1368
1391
|
cancel_at_period_end: boolean;
|
|
1369
1392
|
metadata?: Record<string, string> | undefined;
|
|
@@ -1371,13 +1394,13 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1371
1394
|
current_period_end?: number | undefined;
|
|
1372
1395
|
} | undefined;
|
|
1373
1396
|
}, {
|
|
1374
|
-
operation: "cancel_subscription";
|
|
1375
|
-
success: boolean;
|
|
1376
1397
|
error: string;
|
|
1398
|
+
success: boolean;
|
|
1399
|
+
operation: "cancel_subscription";
|
|
1377
1400
|
subscription?: {
|
|
1401
|
+
status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
|
|
1378
1402
|
id: string;
|
|
1379
1403
|
created: number;
|
|
1380
|
-
status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
|
|
1381
1404
|
customer: string;
|
|
1382
1405
|
cancel_at_period_end: boolean;
|
|
1383
1406
|
metadata?: Record<string, string> | undefined;
|
|
@@ -1394,38 +1417,38 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1394
1417
|
created: z.ZodOptional<z.ZodNumber>;
|
|
1395
1418
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1396
1419
|
}, "strip", z.ZodTypeAny, {
|
|
1420
|
+
url: string;
|
|
1397
1421
|
id: string;
|
|
1398
1422
|
active: boolean;
|
|
1399
|
-
url: string;
|
|
1400
1423
|
created?: number | undefined;
|
|
1401
1424
|
metadata?: Record<string, string> | undefined;
|
|
1402
1425
|
}, {
|
|
1426
|
+
url: string;
|
|
1403
1427
|
id: string;
|
|
1404
1428
|
active: boolean;
|
|
1405
|
-
url: string;
|
|
1406
1429
|
created?: number | undefined;
|
|
1407
1430
|
metadata?: Record<string, string> | undefined;
|
|
1408
1431
|
}>, "many">>;
|
|
1409
1432
|
error: z.ZodString;
|
|
1410
1433
|
}, "strip", z.ZodTypeAny, {
|
|
1411
|
-
operation: "list_payment_links";
|
|
1412
|
-
success: boolean;
|
|
1413
1434
|
error: string;
|
|
1435
|
+
success: boolean;
|
|
1436
|
+
operation: "list_payment_links";
|
|
1414
1437
|
payment_links?: {
|
|
1438
|
+
url: string;
|
|
1415
1439
|
id: string;
|
|
1416
1440
|
active: boolean;
|
|
1417
|
-
url: string;
|
|
1418
1441
|
created?: number | undefined;
|
|
1419
1442
|
metadata?: Record<string, string> | undefined;
|
|
1420
1443
|
}[] | undefined;
|
|
1421
1444
|
}, {
|
|
1422
|
-
operation: "list_payment_links";
|
|
1423
|
-
success: boolean;
|
|
1424
1445
|
error: string;
|
|
1446
|
+
success: boolean;
|
|
1447
|
+
operation: "list_payment_links";
|
|
1425
1448
|
payment_links?: {
|
|
1449
|
+
url: string;
|
|
1426
1450
|
id: string;
|
|
1427
1451
|
active: boolean;
|
|
1428
|
-
url: string;
|
|
1429
1452
|
created?: number | undefined;
|
|
1430
1453
|
metadata?: Record<string, string> | undefined;
|
|
1431
1454
|
}[] | undefined;
|
|
@@ -1442,18 +1465,18 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1442
1465
|
created: z.ZodNumber;
|
|
1443
1466
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1444
1467
|
}, "strip", z.ZodTypeAny, {
|
|
1468
|
+
status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
|
|
1445
1469
|
id: string;
|
|
1446
1470
|
created: number;
|
|
1447
|
-
status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
|
|
1448
1471
|
customer: string;
|
|
1449
1472
|
cancel_at_period_end: boolean;
|
|
1450
1473
|
metadata?: Record<string, string> | undefined;
|
|
1451
1474
|
current_period_start?: number | undefined;
|
|
1452
1475
|
current_period_end?: number | undefined;
|
|
1453
1476
|
}, {
|
|
1477
|
+
status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
|
|
1454
1478
|
id: string;
|
|
1455
1479
|
created: number;
|
|
1456
|
-
status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
|
|
1457
1480
|
customer: string;
|
|
1458
1481
|
cancel_at_period_end: boolean;
|
|
1459
1482
|
metadata?: Record<string, string> | undefined;
|
|
@@ -1462,13 +1485,13 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1462
1485
|
}>>;
|
|
1463
1486
|
error: z.ZodString;
|
|
1464
1487
|
}, "strip", z.ZodTypeAny, {
|
|
1465
|
-
operation: "create_subscription";
|
|
1466
|
-
success: boolean;
|
|
1467
1488
|
error: string;
|
|
1489
|
+
success: boolean;
|
|
1490
|
+
operation: "create_subscription";
|
|
1468
1491
|
subscription?: {
|
|
1492
|
+
status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
|
|
1469
1493
|
id: string;
|
|
1470
1494
|
created: number;
|
|
1471
|
-
status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
|
|
1472
1495
|
customer: string;
|
|
1473
1496
|
cancel_at_period_end: boolean;
|
|
1474
1497
|
metadata?: Record<string, string> | undefined;
|
|
@@ -1476,13 +1499,13 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1476
1499
|
current_period_end?: number | undefined;
|
|
1477
1500
|
} | undefined;
|
|
1478
1501
|
}, {
|
|
1479
|
-
operation: "create_subscription";
|
|
1480
|
-
success: boolean;
|
|
1481
1502
|
error: string;
|
|
1503
|
+
success: boolean;
|
|
1504
|
+
operation: "create_subscription";
|
|
1482
1505
|
subscription?: {
|
|
1506
|
+
status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
|
|
1483
1507
|
id: string;
|
|
1484
1508
|
created: number;
|
|
1485
|
-
status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
|
|
1486
1509
|
customer: string;
|
|
1487
1510
|
cancel_at_period_end: boolean;
|
|
1488
1511
|
metadata?: Record<string, string> | undefined;
|