@bubblelab/bubble-core 0.1.200 → 0.1.202
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 +189 -168
- package/dist/bubble-factory.d.ts.map +1 -1
- package/dist/bubble-factory.js +4 -0
- package/dist/bubble-factory.js.map +1 -1
- package/dist/bubbles/service-bubble/agi-inc.d.ts +110 -110
- package/dist/bubbles/service-bubble/agi-inc.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/agi-inc.js +4 -6
- package/dist/bubbles/service-bubble/agi-inc.js.map +1 -1
- package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/ai-agent.js +12 -4
- package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
- package/dist/bubbles/service-bubble/airtable.d.ts +76 -76
- package/dist/bubbles/service-bubble/airtable.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/airtable.js +8 -13
- package/dist/bubbles/service-bubble/airtable.js.map +1 -1
- package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.d.ts +8 -8
- package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +6 -6
- package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +20 -20
- package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +20 -20
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts +90 -90
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +30 -30
- package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +22 -22
- package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +35 -35
- package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +14 -14
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +223 -223
- package/dist/bubbles/service-bubble/apify/apify.d.ts +4 -4
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +68 -68
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/ashby/ashby.js +8 -10
- package/dist/bubbles/service-bubble/ashby/ashby.js.map +1 -1
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +44 -44
- package/dist/bubbles/service-bubble/attio/attio.d.ts +42 -42
- package/dist/bubbles/service-bubble/attio/attio.schema.d.ts +76 -76
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +37 -37
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +53 -53
- package/dist/bubbles/service-bubble/confluence/confluence.d.ts +33 -33
- package/dist/bubbles/service-bubble/confluence/confluence.schema.d.ts +44 -44
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +61 -61
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/crustdata/crustdata.js +16 -17
- package/dist/bubbles/service-bubble/crustdata/crustdata.js.map +1 -1
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +80 -80
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +36 -36
- package/dist/bubbles/service-bubble/eleven-labs.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/eleven-labs.js +12 -14
- package/dist/bubbles/service-bubble/eleven-labs.js.map +1 -1
- package/dist/bubbles/service-bubble/firecrawl.d.ts +824 -824
- package/dist/bubbles/service-bubble/firecrawl.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/firecrawl.js +3 -12
- package/dist/bubbles/service-bubble/firecrawl.js.map +1 -1
- package/dist/bubbles/service-bubble/followupboss.d.ts +428 -428
- package/dist/bubbles/service-bubble/followupboss.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/followupboss.js +12 -13
- package/dist/bubbles/service-bubble/followupboss.js.map +1 -1
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +300 -300
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.js +11 -12
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.js.map +1 -1
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +268 -268
- package/dist/bubbles/service-bubble/github.d.ts +204 -204
- package/dist/bubbles/service-bubble/gmail.d.ts +158 -158
- package/dist/bubbles/service-bubble/google-calendar.d.ts +138 -138
- package/dist/bubbles/service-bubble/google-calendar.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/google-calendar.js +10 -11
- package/dist/bubbles/service-bubble/google-calendar.js.map +1 -1
- package/dist/bubbles/service-bubble/google-drive.d.ts +110 -104
- package/dist/bubbles/service-bubble/google-drive.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/google-drive.js +8 -1
- package/dist/bubbles/service-bubble/google-drive.js.map +1 -1
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +52 -52
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +78 -78
- package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
- package/dist/bubbles/service-bubble/http.d.ts +12 -12
- package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts +39 -39
- package/dist/bubbles/service-bubble/hubspot/hubspot.schema.d.ts +20 -20
- package/dist/bubbles/service-bubble/insforge-db.d.ts +8 -8
- package/dist/bubbles/service-bubble/insforge-db.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/insforge-db.js +24 -26
- package/dist/bubbles/service-bubble/insforge-db.js.map +1 -1
- package/dist/bubbles/service-bubble/jira/jira.d.ts +61 -61
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +70 -70
- package/dist/bubbles/service-bubble/linear/linear.d.ts +41 -41
- package/dist/bubbles/service-bubble/linear/linear.schema.d.ts +59 -59
- package/dist/bubbles/service-bubble/notion/notion.d.ts +1637 -1637
- package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +8 -8
- package/dist/bubbles/service-bubble/postgresql.d.ts +8 -8
- package/dist/bubbles/service-bubble/posthog/posthog.d.ts +31 -31
- package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +56 -56
- package/dist/bubbles/service-bubble/resend.d.ts +28 -28
- package/dist/bubbles/service-bubble/resend.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/resend.js +8 -13
- package/dist/bubbles/service-bubble/resend.js.map +1 -1
- package/dist/bubbles/service-bubble/s3/index.d.ts +4 -0
- package/dist/bubbles/service-bubble/s3/index.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/s3/index.js +4 -0
- package/dist/bubbles/service-bubble/s3/index.js.map +1 -0
- package/dist/bubbles/service-bubble/s3/s3.d.ts +301 -0
- package/dist/bubbles/service-bubble/s3/s3.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/s3/s3.js +320 -0
- package/dist/bubbles/service-bubble/s3/s3.js.map +1 -0
- package/dist/bubbles/service-bubble/s3/s3.schema.d.ts +262 -0
- package/dist/bubbles/service-bubble/s3/s3.schema.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/s3/s3.schema.js +212 -0
- package/dist/bubbles/service-bubble/s3/s3.schema.js.map +1 -0
- package/dist/bubbles/service-bubble/s3/s3.utils.d.ts +17 -0
- package/dist/bubbles/service-bubble/s3/s3.utils.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/s3/s3.utils.js +46 -0
- package/dist/bubbles/service-bubble/s3/s3.utils.js.map +1 -0
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.d.ts +12 -12
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.schema.d.ts +14 -14
- package/dist/bubbles/service-bubble/slack/slack.d.ts +609 -609
- package/dist/bubbles/service-bubble/storage.d.ts +40 -40
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +186 -186
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/stripe/stripe.js +5 -7
- package/dist/bubbles/service-bubble/stripe/stripe.js.map +1 -1
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +143 -143
- package/dist/bubbles/service-bubble/telegram.d.ts +1832 -1832
- package/dist/bubbles/service-bubble/telegram.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/telegram.js +3 -3
- package/dist/bubbles/service-bubble/telegram.js.map +1 -1
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +23 -23
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +39 -39
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.d.ts +5 -5
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/schema.d.ts +4 -4
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts +6 -6
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/schema.d.ts +4 -4
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/schema.d.ts +4 -4
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.d.ts +2 -2
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +16 -16
- package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +22 -22
- package/dist/bubbles/tool-bubble/code-edit-tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/code-edit-tool.js +3 -1
- package/dist/bubbles/tool-bubble/code-edit-tool.js.map +1 -1
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +84 -84
- package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +16 -16
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts +22 -22
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +622 -622
- package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +124 -124
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +26 -26
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +36 -36
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +82 -82
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +14 -14
- package/dist/bubbles/tool-bubble/web-search-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +24 -24
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +18 -18
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +24 -24
- package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +66 -66
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +8 -8
- 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 +4 -4
- package/dist/bubbles.json +489 -3
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -55,8 +55,8 @@ export declare const StripePriceSchema: z.ZodObject<{
|
|
|
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
|
}, {
|
|
@@ -64,8 +64,8 @@ export declare const StripePriceSchema: z.ZodObject<{
|
|
|
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
|
}>;
|
|
@@ -141,8 +141,8 @@ 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;
|
|
145
|
+
quantity?: number | undefined;
|
|
146
146
|
invoice?: string | null | undefined;
|
|
147
147
|
}, {
|
|
148
148
|
id: string;
|
|
@@ -152,8 +152,8 @@ 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;
|
|
156
|
+
quantity?: number | undefined;
|
|
157
157
|
invoice?: string | null | undefined;
|
|
158
158
|
}>;
|
|
159
159
|
export declare const StripeBalanceSchema: 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" | "processing" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "requires_capture" | "succeeded";
|
|
209
209
|
id: string;
|
|
210
210
|
created: number;
|
|
211
211
|
currency: string;
|
|
@@ -213,7 +213,7 @@ export declare const StripePaymentIntentSchema: z.ZodObject<{
|
|
|
213
213
|
metadata?: Record<string, string> | undefined;
|
|
214
214
|
customer?: string | null | undefined;
|
|
215
215
|
}, {
|
|
216
|
-
status: "
|
|
216
|
+
status: "canceled" | "processing" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "requires_capture" | "succeeded";
|
|
217
217
|
id: string;
|
|
218
218
|
created: number;
|
|
219
219
|
currency: string;
|
|
@@ -231,7 +231,7 @@ export declare const StripeSubscriptionSchema: z.ZodObject<{
|
|
|
231
231
|
created: z.ZodNumber;
|
|
232
232
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
233
233
|
}, "strip", z.ZodTypeAny, {
|
|
234
|
-
status: "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;
|
|
@@ -256,14 +256,14 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
256
256
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
257
257
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
258
258
|
}, "strip", z.ZodTypeAny, {
|
|
259
|
-
name: string;
|
|
260
259
|
operation: "create_customer";
|
|
260
|
+
name: string;
|
|
261
261
|
email?: string | undefined;
|
|
262
262
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
263
263
|
metadata?: Record<string, string> | undefined;
|
|
264
264
|
}, {
|
|
265
|
-
name: string;
|
|
266
265
|
operation: "create_customer";
|
|
266
|
+
name: string;
|
|
267
267
|
email?: string | undefined;
|
|
268
268
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
269
269
|
metadata?: Record<string, string> | undefined;
|
|
@@ -304,14 +304,14 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
304
304
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
305
305
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
306
306
|
}, "strip", z.ZodTypeAny, {
|
|
307
|
-
name: string;
|
|
308
307
|
operation: "create_product";
|
|
308
|
+
name: string;
|
|
309
309
|
description?: string | undefined;
|
|
310
310
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
311
311
|
metadata?: Record<string, string> | undefined;
|
|
312
312
|
}, {
|
|
313
|
-
name: string;
|
|
314
313
|
operation: "create_product";
|
|
314
|
+
name: string;
|
|
315
315
|
description?: string | undefined;
|
|
316
316
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
317
317
|
metadata?: Record<string, string> | undefined;
|
|
@@ -339,10 +339,10 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
339
339
|
interval: z.ZodEnum<["day", "week", "month", "year"]>;
|
|
340
340
|
interval_count: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
341
341
|
}, "strip", z.ZodTypeAny, {
|
|
342
|
-
interval: "
|
|
342
|
+
interval: "year" | "month" | "day" | "week";
|
|
343
343
|
interval_count: number;
|
|
344
344
|
}, {
|
|
345
|
-
interval: "
|
|
345
|
+
interval: "year" | "month" | "day" | "week";
|
|
346
346
|
interval_count?: number | undefined;
|
|
347
347
|
}>>;
|
|
348
348
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -355,7 +355,7 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
355
355
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
356
356
|
metadata?: Record<string, string> | undefined;
|
|
357
357
|
recurring?: {
|
|
358
|
-
interval: "
|
|
358
|
+
interval: "year" | "month" | "day" | "week";
|
|
359
359
|
interval_count: number;
|
|
360
360
|
} | undefined;
|
|
361
361
|
}, {
|
|
@@ -366,7 +366,7 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
366
366
|
metadata?: Record<string, string> | undefined;
|
|
367
367
|
currency?: string | undefined;
|
|
368
368
|
recurring?: {
|
|
369
|
-
interval: "
|
|
369
|
+
interval: "year" | "month" | "day" | "week";
|
|
370
370
|
interval_count?: number | undefined;
|
|
371
371
|
} | undefined;
|
|
372
372
|
}>, z.ZodObject<{
|
|
@@ -379,14 +379,14 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
379
379
|
operation: "list_prices";
|
|
380
380
|
limit: number;
|
|
381
381
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
382
|
-
product?: string | undefined;
|
|
383
382
|
active?: boolean | undefined;
|
|
383
|
+
product?: string | undefined;
|
|
384
384
|
}, {
|
|
385
385
|
operation: "list_prices";
|
|
386
386
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
387
387
|
limit?: number | undefined;
|
|
388
|
-
product?: string | undefined;
|
|
389
388
|
active?: boolean | undefined;
|
|
389
|
+
product?: string | undefined;
|
|
390
390
|
}>, z.ZodObject<{
|
|
391
391
|
operation: z.ZodLiteral<"create_payment_link">;
|
|
392
392
|
price: z.ZodString;
|
|
@@ -419,8 +419,8 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
419
419
|
description: z.ZodOptional<z.ZodString>;
|
|
420
420
|
quantity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
421
421
|
}, "strip", z.ZodTypeAny, {
|
|
422
|
-
quantity: number;
|
|
423
422
|
unit_amount: number;
|
|
423
|
+
quantity: number;
|
|
424
424
|
description?: string | undefined;
|
|
425
425
|
}, {
|
|
426
426
|
unit_amount: number;
|
|
@@ -435,8 +435,8 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
435
435
|
auto_advance: boolean;
|
|
436
436
|
collection_method: "charge_automatically" | "send_invoice";
|
|
437
437
|
items?: {
|
|
438
|
-
quantity: number;
|
|
439
438
|
unit_amount: number;
|
|
439
|
+
quantity: number;
|
|
440
440
|
description?: string | undefined;
|
|
441
441
|
}[] | undefined;
|
|
442
442
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
@@ -516,8 +516,8 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
516
516
|
}, "strip", z.ZodTypeAny, {
|
|
517
517
|
operation: "create_invoice_item";
|
|
518
518
|
currency: string;
|
|
519
|
-
quantity: number;
|
|
520
519
|
unit_amount: number;
|
|
520
|
+
quantity: number;
|
|
521
521
|
customer: string;
|
|
522
522
|
description?: string | undefined;
|
|
523
523
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
@@ -578,12 +578,12 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
578
578
|
}, "strip", z.ZodTypeAny, {
|
|
579
579
|
operation: "list_subscriptions";
|
|
580
580
|
limit: number;
|
|
581
|
-
status?: "
|
|
581
|
+
status?: "canceled" | "paused" | "all" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | undefined;
|
|
582
582
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
583
583
|
customer?: string | undefined;
|
|
584
584
|
}, {
|
|
585
585
|
operation: "list_subscriptions";
|
|
586
|
-
status?: "
|
|
586
|
+
status?: "canceled" | "paused" | "all" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | undefined;
|
|
587
587
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
588
588
|
limit?: number | undefined;
|
|
589
589
|
customer?: string | undefined;
|
|
@@ -666,9 +666,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
666
666
|
}>>;
|
|
667
667
|
error: z.ZodString;
|
|
668
668
|
}, "strip", z.ZodTypeAny, {
|
|
669
|
-
success: boolean;
|
|
670
|
-
error: string;
|
|
671
669
|
operation: "create_customer";
|
|
670
|
+
error: string;
|
|
671
|
+
success: boolean;
|
|
672
672
|
customer?: {
|
|
673
673
|
id: string;
|
|
674
674
|
created: number;
|
|
@@ -677,9 +677,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
677
677
|
metadata?: Record<string, string> | undefined;
|
|
678
678
|
} | undefined;
|
|
679
679
|
}, {
|
|
680
|
-
success: boolean;
|
|
681
|
-
error: string;
|
|
682
680
|
operation: "create_customer";
|
|
681
|
+
error: string;
|
|
682
|
+
success: boolean;
|
|
683
683
|
customer?: {
|
|
684
684
|
id: string;
|
|
685
685
|
created: number;
|
|
@@ -713,9 +713,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
713
713
|
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
714
714
|
error: z.ZodString;
|
|
715
715
|
}, "strip", z.ZodTypeAny, {
|
|
716
|
-
success: boolean;
|
|
717
|
-
error: string;
|
|
718
716
|
operation: "list_customers";
|
|
717
|
+
error: string;
|
|
718
|
+
success: boolean;
|
|
719
719
|
next_cursor?: string | null | undefined;
|
|
720
720
|
has_more?: boolean | undefined;
|
|
721
721
|
customers?: {
|
|
@@ -726,9 +726,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
726
726
|
metadata?: Record<string, string> | undefined;
|
|
727
727
|
}[] | undefined;
|
|
728
728
|
}, {
|
|
729
|
-
success: boolean;
|
|
730
|
-
error: string;
|
|
731
729
|
operation: "list_customers";
|
|
730
|
+
error: string;
|
|
731
|
+
success: boolean;
|
|
732
732
|
next_cursor?: string | null | undefined;
|
|
733
733
|
has_more?: boolean | undefined;
|
|
734
734
|
customers?: {
|
|
@@ -763,9 +763,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
763
763
|
deleted: z.ZodOptional<z.ZodBoolean>;
|
|
764
764
|
error: z.ZodString;
|
|
765
765
|
}, "strip", z.ZodTypeAny, {
|
|
766
|
-
success: boolean;
|
|
767
|
-
error: string;
|
|
768
766
|
operation: "retrieve_customer";
|
|
767
|
+
error: string;
|
|
768
|
+
success: boolean;
|
|
769
769
|
deleted?: boolean | undefined;
|
|
770
770
|
customer?: {
|
|
771
771
|
id: string;
|
|
@@ -775,9 +775,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
775
775
|
metadata?: Record<string, string> | undefined;
|
|
776
776
|
} | undefined;
|
|
777
777
|
}, {
|
|
778
|
-
success: boolean;
|
|
779
|
-
error: string;
|
|
780
778
|
operation: "retrieve_customer";
|
|
779
|
+
error: string;
|
|
780
|
+
success: boolean;
|
|
781
781
|
deleted?: boolean | undefined;
|
|
782
782
|
customer?: {
|
|
783
783
|
id: string;
|
|
@@ -813,9 +813,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
813
813
|
}>>;
|
|
814
814
|
error: z.ZodString;
|
|
815
815
|
}, "strip", z.ZodTypeAny, {
|
|
816
|
-
success: boolean;
|
|
817
|
-
error: string;
|
|
818
816
|
operation: "create_product";
|
|
817
|
+
error: string;
|
|
818
|
+
success: boolean;
|
|
819
819
|
product?: {
|
|
820
820
|
name: string;
|
|
821
821
|
id: string;
|
|
@@ -825,9 +825,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
825
825
|
metadata?: Record<string, string> | undefined;
|
|
826
826
|
} | undefined;
|
|
827
827
|
}, {
|
|
828
|
-
success: boolean;
|
|
829
|
-
error: string;
|
|
830
828
|
operation: "create_product";
|
|
829
|
+
error: string;
|
|
830
|
+
success: boolean;
|
|
831
831
|
product?: {
|
|
832
832
|
name: string;
|
|
833
833
|
id: string;
|
|
@@ -863,9 +863,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
863
863
|
}>, "many">>;
|
|
864
864
|
error: z.ZodString;
|
|
865
865
|
}, "strip", z.ZodTypeAny, {
|
|
866
|
-
success: boolean;
|
|
867
|
-
error: string;
|
|
868
866
|
operation: "list_products";
|
|
867
|
+
error: string;
|
|
868
|
+
success: boolean;
|
|
869
869
|
products?: {
|
|
870
870
|
name: string;
|
|
871
871
|
id: string;
|
|
@@ -875,9 +875,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
875
875
|
metadata?: Record<string, string> | undefined;
|
|
876
876
|
}[] | undefined;
|
|
877
877
|
}, {
|
|
878
|
-
success: boolean;
|
|
879
|
-
error: string;
|
|
880
878
|
operation: "list_products";
|
|
879
|
+
error: string;
|
|
880
|
+
success: boolean;
|
|
881
881
|
products?: {
|
|
882
882
|
name: string;
|
|
883
883
|
id: string;
|
|
@@ -903,8 +903,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
903
903
|
id: string;
|
|
904
904
|
created: number;
|
|
905
905
|
currency: string;
|
|
906
|
-
product: string;
|
|
907
906
|
active: boolean;
|
|
907
|
+
product: string;
|
|
908
908
|
unit_amount: number | null;
|
|
909
909
|
metadata?: Record<string, string> | undefined;
|
|
910
910
|
}, {
|
|
@@ -912,37 +912,37 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
912
912
|
id: string;
|
|
913
913
|
created: number;
|
|
914
914
|
currency: string;
|
|
915
|
-
product: string;
|
|
916
915
|
active: boolean;
|
|
916
|
+
product: string;
|
|
917
917
|
unit_amount: number | null;
|
|
918
918
|
metadata?: Record<string, string> | undefined;
|
|
919
919
|
}>>;
|
|
920
920
|
error: z.ZodString;
|
|
921
921
|
}, "strip", z.ZodTypeAny, {
|
|
922
|
-
success: boolean;
|
|
923
|
-
error: string;
|
|
924
922
|
operation: "create_price";
|
|
923
|
+
error: string;
|
|
924
|
+
success: boolean;
|
|
925
925
|
price?: {
|
|
926
926
|
type: "recurring" | "one_time";
|
|
927
927
|
id: string;
|
|
928
928
|
created: number;
|
|
929
929
|
currency: string;
|
|
930
|
-
product: string;
|
|
931
930
|
active: boolean;
|
|
931
|
+
product: string;
|
|
932
932
|
unit_amount: number | null;
|
|
933
933
|
metadata?: Record<string, string> | undefined;
|
|
934
934
|
} | undefined;
|
|
935
935
|
}, {
|
|
936
|
-
success: boolean;
|
|
937
|
-
error: string;
|
|
938
936
|
operation: "create_price";
|
|
937
|
+
error: string;
|
|
938
|
+
success: boolean;
|
|
939
939
|
price?: {
|
|
940
940
|
type: "recurring" | "one_time";
|
|
941
941
|
id: string;
|
|
942
942
|
created: number;
|
|
943
943
|
currency: string;
|
|
944
|
-
product: string;
|
|
945
944
|
active: boolean;
|
|
945
|
+
product: string;
|
|
946
946
|
unit_amount: number | null;
|
|
947
947
|
metadata?: Record<string, string> | undefined;
|
|
948
948
|
} | undefined;
|
|
@@ -963,8 +963,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
963
963
|
id: string;
|
|
964
964
|
created: number;
|
|
965
965
|
currency: string;
|
|
966
|
-
product: string;
|
|
967
966
|
active: boolean;
|
|
967
|
+
product: string;
|
|
968
968
|
unit_amount: number | null;
|
|
969
969
|
metadata?: Record<string, string> | undefined;
|
|
970
970
|
}, {
|
|
@@ -972,37 +972,37 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
972
972
|
id: string;
|
|
973
973
|
created: number;
|
|
974
974
|
currency: string;
|
|
975
|
-
product: string;
|
|
976
975
|
active: boolean;
|
|
976
|
+
product: string;
|
|
977
977
|
unit_amount: number | null;
|
|
978
978
|
metadata?: Record<string, string> | undefined;
|
|
979
979
|
}>, "many">>;
|
|
980
980
|
error: z.ZodString;
|
|
981
981
|
}, "strip", z.ZodTypeAny, {
|
|
982
|
-
success: boolean;
|
|
983
|
-
error: string;
|
|
984
982
|
operation: "list_prices";
|
|
983
|
+
error: string;
|
|
984
|
+
success: boolean;
|
|
985
985
|
prices?: {
|
|
986
986
|
type: "recurring" | "one_time";
|
|
987
987
|
id: string;
|
|
988
988
|
created: number;
|
|
989
989
|
currency: string;
|
|
990
|
-
product: string;
|
|
991
990
|
active: boolean;
|
|
991
|
+
product: string;
|
|
992
992
|
unit_amount: number | null;
|
|
993
993
|
metadata?: Record<string, string> | undefined;
|
|
994
994
|
}[] | undefined;
|
|
995
995
|
}, {
|
|
996
|
-
success: boolean;
|
|
997
|
-
error: string;
|
|
998
996
|
operation: "list_prices";
|
|
997
|
+
error: string;
|
|
998
|
+
success: boolean;
|
|
999
999
|
prices?: {
|
|
1000
1000
|
type: "recurring" | "one_time";
|
|
1001
1001
|
id: string;
|
|
1002
1002
|
created: number;
|
|
1003
1003
|
currency: string;
|
|
1004
|
-
product: string;
|
|
1005
1004
|
active: boolean;
|
|
1005
|
+
product: string;
|
|
1006
1006
|
unit_amount: number | null;
|
|
1007
1007
|
metadata?: Record<string, string> | undefined;
|
|
1008
1008
|
}[] | undefined;
|
|
@@ -1030,9 +1030,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1030
1030
|
}>>;
|
|
1031
1031
|
error: z.ZodString;
|
|
1032
1032
|
}, "strip", z.ZodTypeAny, {
|
|
1033
|
-
success: boolean;
|
|
1034
|
-
error: string;
|
|
1035
1033
|
operation: "create_payment_link";
|
|
1034
|
+
error: string;
|
|
1035
|
+
success: boolean;
|
|
1036
1036
|
payment_link?: {
|
|
1037
1037
|
url: string;
|
|
1038
1038
|
id: string;
|
|
@@ -1041,9 +1041,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1041
1041
|
metadata?: Record<string, string> | undefined;
|
|
1042
1042
|
} | undefined;
|
|
1043
1043
|
}, {
|
|
1044
|
-
success: boolean;
|
|
1045
|
-
error: string;
|
|
1046
1044
|
operation: "create_payment_link";
|
|
1045
|
+
error: string;
|
|
1046
|
+
success: boolean;
|
|
1047
1047
|
payment_link?: {
|
|
1048
1048
|
url: string;
|
|
1049
1049
|
id: string;
|
|
@@ -1090,9 +1090,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1090
1090
|
}>>;
|
|
1091
1091
|
error: z.ZodString;
|
|
1092
1092
|
}, "strip", z.ZodTypeAny, {
|
|
1093
|
-
success: boolean;
|
|
1094
|
-
error: string;
|
|
1095
1093
|
operation: "create_invoice";
|
|
1094
|
+
error: string;
|
|
1095
|
+
success: boolean;
|
|
1096
1096
|
invoice?: {
|
|
1097
1097
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
1098
1098
|
id: string;
|
|
@@ -1106,9 +1106,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1106
1106
|
invoice_pdf?: string | null | undefined;
|
|
1107
1107
|
} | undefined;
|
|
1108
1108
|
}, {
|
|
1109
|
-
success: boolean;
|
|
1110
|
-
error: string;
|
|
1111
1109
|
operation: "create_invoice";
|
|
1110
|
+
error: string;
|
|
1111
|
+
success: boolean;
|
|
1112
1112
|
invoice?: {
|
|
1113
1113
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
1114
1114
|
id: string;
|
|
@@ -1162,9 +1162,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1162
1162
|
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1163
1163
|
error: z.ZodString;
|
|
1164
1164
|
}, "strip", z.ZodTypeAny, {
|
|
1165
|
-
success: boolean;
|
|
1166
|
-
error: string;
|
|
1167
1165
|
operation: "list_invoices";
|
|
1166
|
+
error: string;
|
|
1167
|
+
success: boolean;
|
|
1168
1168
|
next_cursor?: string | null | undefined;
|
|
1169
1169
|
has_more?: boolean | undefined;
|
|
1170
1170
|
invoices?: {
|
|
@@ -1180,9 +1180,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1180
1180
|
invoice_pdf?: string | null | undefined;
|
|
1181
1181
|
}[] | undefined;
|
|
1182
1182
|
}, {
|
|
1183
|
-
success: boolean;
|
|
1184
|
-
error: string;
|
|
1185
1183
|
operation: "list_invoices";
|
|
1184
|
+
error: string;
|
|
1185
|
+
success: boolean;
|
|
1186
1186
|
next_cursor?: string | null | undefined;
|
|
1187
1187
|
has_more?: boolean | undefined;
|
|
1188
1188
|
invoices?: {
|
|
@@ -1236,9 +1236,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1236
1236
|
}>>;
|
|
1237
1237
|
error: z.ZodString;
|
|
1238
1238
|
}, "strip", z.ZodTypeAny, {
|
|
1239
|
-
success: boolean;
|
|
1240
|
-
error: string;
|
|
1241
1239
|
operation: "retrieve_invoice";
|
|
1240
|
+
error: string;
|
|
1241
|
+
success: boolean;
|
|
1242
1242
|
invoice?: {
|
|
1243
1243
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
1244
1244
|
id: string;
|
|
@@ -1252,9 +1252,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1252
1252
|
invoice_pdf?: string | null | undefined;
|
|
1253
1253
|
} | undefined;
|
|
1254
1254
|
}, {
|
|
1255
|
-
success: boolean;
|
|
1256
|
-
error: string;
|
|
1257
1255
|
operation: "retrieve_invoice";
|
|
1256
|
+
error: string;
|
|
1257
|
+
success: boolean;
|
|
1258
1258
|
invoice?: {
|
|
1259
1259
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
1260
1260
|
id: string;
|
|
@@ -1306,9 +1306,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1306
1306
|
}>>;
|
|
1307
1307
|
error: z.ZodString;
|
|
1308
1308
|
}, "strip", z.ZodTypeAny, {
|
|
1309
|
-
success: boolean;
|
|
1310
|
-
error: string;
|
|
1311
1309
|
operation: "finalize_invoice";
|
|
1310
|
+
error: string;
|
|
1311
|
+
success: boolean;
|
|
1312
1312
|
invoice?: {
|
|
1313
1313
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
1314
1314
|
id: string;
|
|
@@ -1322,9 +1322,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1322
1322
|
invoice_pdf?: string | null | undefined;
|
|
1323
1323
|
} | undefined;
|
|
1324
1324
|
}, {
|
|
1325
|
-
success: boolean;
|
|
1326
|
-
error: string;
|
|
1327
1325
|
operation: "finalize_invoice";
|
|
1326
|
+
error: string;
|
|
1327
|
+
success: boolean;
|
|
1328
1328
|
invoice?: {
|
|
1329
1329
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
1330
1330
|
id: string;
|
|
@@ -1359,8 +1359,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1359
1359
|
description?: string | null | undefined;
|
|
1360
1360
|
date?: number | undefined;
|
|
1361
1361
|
metadata?: Record<string, string> | undefined;
|
|
1362
|
-
quantity?: number | undefined;
|
|
1363
1362
|
unit_amount?: number | null | undefined;
|
|
1363
|
+
quantity?: number | undefined;
|
|
1364
1364
|
invoice?: string | null | undefined;
|
|
1365
1365
|
}, {
|
|
1366
1366
|
id: string;
|
|
@@ -1370,15 +1370,15 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1370
1370
|
description?: string | null | undefined;
|
|
1371
1371
|
date?: number | undefined;
|
|
1372
1372
|
metadata?: Record<string, string> | undefined;
|
|
1373
|
-
quantity?: number | undefined;
|
|
1374
1373
|
unit_amount?: number | null | undefined;
|
|
1374
|
+
quantity?: number | undefined;
|
|
1375
1375
|
invoice?: string | null | undefined;
|
|
1376
1376
|
}>>;
|
|
1377
1377
|
error: z.ZodString;
|
|
1378
1378
|
}, "strip", z.ZodTypeAny, {
|
|
1379
|
-
success: boolean;
|
|
1380
|
-
error: string;
|
|
1381
1379
|
operation: "create_invoice_item";
|
|
1380
|
+
error: string;
|
|
1381
|
+
success: boolean;
|
|
1382
1382
|
invoice_item?: {
|
|
1383
1383
|
id: string;
|
|
1384
1384
|
currency: string;
|
|
@@ -1387,14 +1387,14 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1387
1387
|
description?: string | null | undefined;
|
|
1388
1388
|
date?: number | undefined;
|
|
1389
1389
|
metadata?: Record<string, string> | undefined;
|
|
1390
|
-
quantity?: number | undefined;
|
|
1391
1390
|
unit_amount?: number | null | undefined;
|
|
1391
|
+
quantity?: number | undefined;
|
|
1392
1392
|
invoice?: string | null | undefined;
|
|
1393
1393
|
} | undefined;
|
|
1394
1394
|
}, {
|
|
1395
|
-
success: boolean;
|
|
1396
|
-
error: string;
|
|
1397
1395
|
operation: "create_invoice_item";
|
|
1396
|
+
error: string;
|
|
1397
|
+
success: boolean;
|
|
1398
1398
|
invoice_item?: {
|
|
1399
1399
|
id: string;
|
|
1400
1400
|
currency: string;
|
|
@@ -1403,8 +1403,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1403
1403
|
description?: string | null | undefined;
|
|
1404
1404
|
date?: number | undefined;
|
|
1405
1405
|
metadata?: Record<string, string> | undefined;
|
|
1406
|
-
quantity?: number | undefined;
|
|
1407
1406
|
unit_amount?: number | null | undefined;
|
|
1407
|
+
quantity?: number | undefined;
|
|
1408
1408
|
invoice?: string | null | undefined;
|
|
1409
1409
|
} | undefined;
|
|
1410
1410
|
}>, z.ZodObject<{
|
|
@@ -1446,9 +1446,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1446
1446
|
}>>;
|
|
1447
1447
|
error: z.ZodString;
|
|
1448
1448
|
}, "strip", z.ZodTypeAny, {
|
|
1449
|
-
success: boolean;
|
|
1450
|
-
error: string;
|
|
1451
1449
|
operation: "send_invoice";
|
|
1450
|
+
error: string;
|
|
1451
|
+
success: boolean;
|
|
1452
1452
|
invoice?: {
|
|
1453
1453
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
1454
1454
|
id: string;
|
|
@@ -1462,9 +1462,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1462
1462
|
invoice_pdf?: string | null | undefined;
|
|
1463
1463
|
} | undefined;
|
|
1464
1464
|
}, {
|
|
1465
|
-
success: boolean;
|
|
1466
|
-
error: string;
|
|
1467
1465
|
operation: "send_invoice";
|
|
1466
|
+
error: string;
|
|
1467
|
+
success: boolean;
|
|
1468
1468
|
invoice?: {
|
|
1469
1469
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
1470
1470
|
id: string;
|
|
@@ -1502,49 +1502,49 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1502
1502
|
amount: number;
|
|
1503
1503
|
}>, "many">;
|
|
1504
1504
|
}, "strip", z.ZodTypeAny, {
|
|
1505
|
-
|
|
1505
|
+
pending: {
|
|
1506
1506
|
currency: string;
|
|
1507
1507
|
amount: number;
|
|
1508
1508
|
}[];
|
|
1509
|
-
|
|
1509
|
+
available: {
|
|
1510
1510
|
currency: string;
|
|
1511
1511
|
amount: number;
|
|
1512
1512
|
}[];
|
|
1513
1513
|
}, {
|
|
1514
|
-
|
|
1514
|
+
pending: {
|
|
1515
1515
|
currency: string;
|
|
1516
1516
|
amount: number;
|
|
1517
1517
|
}[];
|
|
1518
|
-
|
|
1518
|
+
available: {
|
|
1519
1519
|
currency: string;
|
|
1520
1520
|
amount: number;
|
|
1521
1521
|
}[];
|
|
1522
1522
|
}>>;
|
|
1523
1523
|
error: z.ZodString;
|
|
1524
1524
|
}, "strip", z.ZodTypeAny, {
|
|
1525
|
-
success: boolean;
|
|
1526
|
-
error: string;
|
|
1527
1525
|
operation: "get_balance";
|
|
1526
|
+
error: string;
|
|
1527
|
+
success: boolean;
|
|
1528
1528
|
balance?: {
|
|
1529
|
-
|
|
1529
|
+
pending: {
|
|
1530
1530
|
currency: string;
|
|
1531
1531
|
amount: number;
|
|
1532
1532
|
}[];
|
|
1533
|
-
|
|
1533
|
+
available: {
|
|
1534
1534
|
currency: string;
|
|
1535
1535
|
amount: number;
|
|
1536
1536
|
}[];
|
|
1537
1537
|
} | undefined;
|
|
1538
1538
|
}, {
|
|
1539
|
-
success: boolean;
|
|
1540
|
-
error: string;
|
|
1541
1539
|
operation: "get_balance";
|
|
1540
|
+
error: string;
|
|
1541
|
+
success: boolean;
|
|
1542
1542
|
balance?: {
|
|
1543
|
-
|
|
1543
|
+
pending: {
|
|
1544
1544
|
currency: string;
|
|
1545
1545
|
amount: number;
|
|
1546
1546
|
}[];
|
|
1547
|
-
|
|
1547
|
+
available: {
|
|
1548
1548
|
currency: string;
|
|
1549
1549
|
amount: number;
|
|
1550
1550
|
}[];
|
|
@@ -1561,7 +1561,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1561
1561
|
created: z.ZodNumber;
|
|
1562
1562
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1563
1563
|
}, "strip", z.ZodTypeAny, {
|
|
1564
|
-
status: "
|
|
1564
|
+
status: "canceled" | "processing" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "requires_capture" | "succeeded";
|
|
1565
1565
|
id: string;
|
|
1566
1566
|
created: number;
|
|
1567
1567
|
currency: string;
|
|
@@ -1569,7 +1569,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1569
1569
|
metadata?: Record<string, string> | undefined;
|
|
1570
1570
|
customer?: string | null | undefined;
|
|
1571
1571
|
}, {
|
|
1572
|
-
status: "
|
|
1572
|
+
status: "canceled" | "processing" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "requires_capture" | "succeeded";
|
|
1573
1573
|
id: string;
|
|
1574
1574
|
created: number;
|
|
1575
1575
|
currency: string;
|
|
@@ -1579,11 +1579,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1579
1579
|
}>, "many">>;
|
|
1580
1580
|
error: z.ZodString;
|
|
1581
1581
|
}, "strip", z.ZodTypeAny, {
|
|
1582
|
-
success: boolean;
|
|
1583
|
-
error: string;
|
|
1584
1582
|
operation: "list_payment_intents";
|
|
1583
|
+
error: string;
|
|
1584
|
+
success: boolean;
|
|
1585
1585
|
payment_intents?: {
|
|
1586
|
-
status: "
|
|
1586
|
+
status: "canceled" | "processing" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "requires_capture" | "succeeded";
|
|
1587
1587
|
id: string;
|
|
1588
1588
|
created: number;
|
|
1589
1589
|
currency: string;
|
|
@@ -1592,11 +1592,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1592
1592
|
customer?: string | null | undefined;
|
|
1593
1593
|
}[] | undefined;
|
|
1594
1594
|
}, {
|
|
1595
|
-
success: boolean;
|
|
1596
|
-
error: string;
|
|
1597
1595
|
operation: "list_payment_intents";
|
|
1596
|
+
error: string;
|
|
1597
|
+
success: boolean;
|
|
1598
1598
|
payment_intents?: {
|
|
1599
|
-
status: "
|
|
1599
|
+
status: "canceled" | "processing" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "requires_capture" | "succeeded";
|
|
1600
1600
|
id: string;
|
|
1601
1601
|
created: number;
|
|
1602
1602
|
currency: string;
|
|
@@ -1617,7 +1617,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1617
1617
|
created: z.ZodNumber;
|
|
1618
1618
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1619
1619
|
}, "strip", z.ZodTypeAny, {
|
|
1620
|
-
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
1620
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
|
|
1621
1621
|
id: string;
|
|
1622
1622
|
created: number;
|
|
1623
1623
|
customer: string;
|
|
@@ -1626,7 +1626,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1626
1626
|
current_period_start?: number | undefined;
|
|
1627
1627
|
current_period_end?: number | undefined;
|
|
1628
1628
|
}, {
|
|
1629
|
-
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
1629
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
|
|
1630
1630
|
id: string;
|
|
1631
1631
|
created: number;
|
|
1632
1632
|
customer: string;
|
|
@@ -1637,11 +1637,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1637
1637
|
}>, "many">>;
|
|
1638
1638
|
error: z.ZodString;
|
|
1639
1639
|
}, "strip", z.ZodTypeAny, {
|
|
1640
|
-
success: boolean;
|
|
1641
|
-
error: string;
|
|
1642
1640
|
operation: "list_subscriptions";
|
|
1641
|
+
error: string;
|
|
1642
|
+
success: boolean;
|
|
1643
1643
|
subscriptions?: {
|
|
1644
|
-
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
1644
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
|
|
1645
1645
|
id: string;
|
|
1646
1646
|
created: number;
|
|
1647
1647
|
customer: string;
|
|
@@ -1651,11 +1651,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1651
1651
|
current_period_end?: number | undefined;
|
|
1652
1652
|
}[] | undefined;
|
|
1653
1653
|
}, {
|
|
1654
|
-
success: boolean;
|
|
1655
|
-
error: string;
|
|
1656
1654
|
operation: "list_subscriptions";
|
|
1655
|
+
error: string;
|
|
1656
|
+
success: boolean;
|
|
1657
1657
|
subscriptions?: {
|
|
1658
|
-
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
1658
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
|
|
1659
1659
|
id: string;
|
|
1660
1660
|
created: number;
|
|
1661
1661
|
customer: string;
|
|
@@ -1677,7 +1677,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1677
1677
|
created: z.ZodNumber;
|
|
1678
1678
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1679
1679
|
}, "strip", z.ZodTypeAny, {
|
|
1680
|
-
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
1680
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
|
|
1681
1681
|
id: string;
|
|
1682
1682
|
created: number;
|
|
1683
1683
|
customer: string;
|
|
@@ -1686,7 +1686,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1686
1686
|
current_period_start?: number | undefined;
|
|
1687
1687
|
current_period_end?: number | undefined;
|
|
1688
1688
|
}, {
|
|
1689
|
-
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
1689
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
|
|
1690
1690
|
id: string;
|
|
1691
1691
|
created: number;
|
|
1692
1692
|
customer: string;
|
|
@@ -1697,11 +1697,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1697
1697
|
}>>;
|
|
1698
1698
|
error: z.ZodString;
|
|
1699
1699
|
}, "strip", z.ZodTypeAny, {
|
|
1700
|
-
success: boolean;
|
|
1701
|
-
error: string;
|
|
1702
1700
|
operation: "cancel_subscription";
|
|
1701
|
+
error: string;
|
|
1702
|
+
success: boolean;
|
|
1703
1703
|
subscription?: {
|
|
1704
|
-
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
1704
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
|
|
1705
1705
|
id: string;
|
|
1706
1706
|
created: number;
|
|
1707
1707
|
customer: string;
|
|
@@ -1711,11 +1711,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1711
1711
|
current_period_end?: number | undefined;
|
|
1712
1712
|
} | undefined;
|
|
1713
1713
|
}, {
|
|
1714
|
-
success: boolean;
|
|
1715
|
-
error: string;
|
|
1716
1714
|
operation: "cancel_subscription";
|
|
1715
|
+
error: string;
|
|
1716
|
+
success: boolean;
|
|
1717
1717
|
subscription?: {
|
|
1718
|
-
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
1718
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
|
|
1719
1719
|
id: string;
|
|
1720
1720
|
created: number;
|
|
1721
1721
|
customer: string;
|
|
@@ -1748,9 +1748,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1748
1748
|
}>, "many">>;
|
|
1749
1749
|
error: z.ZodString;
|
|
1750
1750
|
}, "strip", z.ZodTypeAny, {
|
|
1751
|
-
success: boolean;
|
|
1752
|
-
error: string;
|
|
1753
1751
|
operation: "list_payment_links";
|
|
1752
|
+
error: string;
|
|
1753
|
+
success: boolean;
|
|
1754
1754
|
payment_links?: {
|
|
1755
1755
|
url: string;
|
|
1756
1756
|
id: string;
|
|
@@ -1759,9 +1759,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1759
1759
|
metadata?: Record<string, string> | undefined;
|
|
1760
1760
|
}[] | undefined;
|
|
1761
1761
|
}, {
|
|
1762
|
-
success: boolean;
|
|
1763
|
-
error: string;
|
|
1764
1762
|
operation: "list_payment_links";
|
|
1763
|
+
error: string;
|
|
1764
|
+
success: boolean;
|
|
1765
1765
|
payment_links?: {
|
|
1766
1766
|
url: string;
|
|
1767
1767
|
id: string;
|
|
@@ -1782,7 +1782,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1782
1782
|
created: z.ZodNumber;
|
|
1783
1783
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1784
1784
|
}, "strip", z.ZodTypeAny, {
|
|
1785
|
-
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
1785
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
|
|
1786
1786
|
id: string;
|
|
1787
1787
|
created: number;
|
|
1788
1788
|
customer: string;
|
|
@@ -1791,7 +1791,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1791
1791
|
current_period_start?: number | undefined;
|
|
1792
1792
|
current_period_end?: number | undefined;
|
|
1793
1793
|
}, {
|
|
1794
|
-
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
1794
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
|
|
1795
1795
|
id: string;
|
|
1796
1796
|
created: number;
|
|
1797
1797
|
customer: string;
|
|
@@ -1802,11 +1802,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1802
1802
|
}>>;
|
|
1803
1803
|
error: z.ZodString;
|
|
1804
1804
|
}, "strip", z.ZodTypeAny, {
|
|
1805
|
-
success: boolean;
|
|
1806
|
-
error: string;
|
|
1807
1805
|
operation: "create_subscription";
|
|
1806
|
+
error: string;
|
|
1807
|
+
success: boolean;
|
|
1808
1808
|
subscription?: {
|
|
1809
|
-
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
1809
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
|
|
1810
1810
|
id: string;
|
|
1811
1811
|
created: number;
|
|
1812
1812
|
customer: string;
|
|
@@ -1816,11 +1816,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1816
1816
|
current_period_end?: number | undefined;
|
|
1817
1817
|
} | undefined;
|
|
1818
1818
|
}, {
|
|
1819
|
-
success: boolean;
|
|
1820
|
-
error: string;
|
|
1821
1819
|
operation: "create_subscription";
|
|
1820
|
+
error: string;
|
|
1821
|
+
success: boolean;
|
|
1822
1822
|
subscription?: {
|
|
1823
|
-
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
1823
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
|
|
1824
1824
|
id: string;
|
|
1825
1825
|
created: number;
|
|
1826
1826
|
customer: string;
|