@raideno/convex-stripe 0.1.8 → 0.1.10
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/index.d.ts +996 -0
- package/dist/server.js +305 -276
- package/package.json +1 -7
- package/dist/index.js +0 -1
- package/dist/server/actions/index.d.ts +0 -4
- package/dist/server/actions/pay.d.ts +0 -579
- package/dist/server/actions/portal.d.ts +0 -26
- package/dist/server/actions/setup.d.ts +0 -19
- package/dist/server/actions/subscribe.d.ts +0 -44
- package/dist/server/helpers.d.ts +0 -28
- package/dist/server/index.d.ts +0 -967
- package/dist/server/logger.d.ts +0 -8
- package/dist/server/redirects/index.d.ts +0 -45
- package/dist/server/redirects/pay.d.ts +0 -5
- package/dist/server/redirects/portal.d.ts +0 -3
- package/dist/server/redirects/subscribe.d.ts +0 -3
- package/dist/server/redirects/types.d.ts +0 -9
- package/dist/server/schema/charge.d.ts +0 -294
- package/dist/server/schema/checkout-session.d.ts +0 -256
- package/dist/server/schema/coupon.d.ts +0 -112
- package/dist/server/schema/credit-note.d.ts +0 -228
- package/dist/server/schema/customer.d.ts +0 -366
- package/dist/server/schema/dispute.d.ts +0 -76
- package/dist/server/schema/early-fraud-warning.d.ts +0 -40
- package/dist/server/schema/index.d.ts +0 -6061
- package/dist/server/schema/invoice.d.ts +0 -314
- package/dist/server/schema/payment-intent.d.ts +0 -311
- package/dist/server/schema/payment-method.d.ts +0 -248
- package/dist/server/schema/payout.d.ts +0 -140
- package/dist/server/schema/plan.d.ts +0 -112
- package/dist/server/schema/price.d.ts +0 -148
- package/dist/server/schema/product.d.ts +0 -132
- package/dist/server/schema/promotion-code.d.ts +0 -266
- package/dist/server/schema/refund.d.ts +0 -92
- package/dist/server/schema/review.d.ts +0 -152
- package/dist/server/schema/setup-intent.d.ts +0 -156
- package/dist/server/schema/subscription-schedule.d.ts +0 -468
- package/dist/server/schema/subscription.d.ts +0 -4
- package/dist/server/schema/tax-id.d.ts +0 -120
- package/dist/server/store/index.d.ts +0 -960
- package/dist/server/store/operations/delete-by-id.d.ts +0 -3
- package/dist/server/store/operations/index.d.ts +0 -5
- package/dist/server/store/operations/select-all.d.ts +0 -3
- package/dist/server/store/operations/select-by-id.d.ts +0 -4
- package/dist/server/store/operations/select-one.d.ts +0 -3
- package/dist/server/store/operations/upsert.d.ts +0 -4
- package/dist/server/store/types.d.ts +0 -70
- package/dist/server/sync/all.d.ts +0 -5
- package/dist/server/sync/charges.handler.d.ts +0 -5
- package/dist/server/sync/checkout-sessions.handler.d.ts +0 -5
- package/dist/server/sync/coupons.handler.d.ts +0 -5
- package/dist/server/sync/credit-notes.handler.d.ts +0 -5
- package/dist/server/sync/customers.handler.d.ts +0 -5
- package/dist/server/sync/disputes.handler.d.ts +0 -5
- package/dist/server/sync/early-fraud-warnings.handler.d.ts +0 -5
- package/dist/server/sync/invoices.handler.d.ts +0 -5
- package/dist/server/sync/payment-intents.handler.d.ts +0 -5
- package/dist/server/sync/payment-methods.handler.d.ts +0 -5
- package/dist/server/sync/payouts.handler.d.ts +0 -5
- package/dist/server/sync/plans.handler.d.ts +0 -5
- package/dist/server/sync/prices.handler.d.ts +0 -5
- package/dist/server/sync/products.handler.d.ts +0 -5
- package/dist/server/sync/promotion-codes.handler.d.ts +0 -5
- package/dist/server/sync/refunds.handler.d.ts +0 -5
- package/dist/server/sync/reviews.handler.d.ts +0 -5
- package/dist/server/sync/setup-intents.handler.d.ts +0 -5
- package/dist/server/sync/subscription-schedules.handler.d.ts +0 -5
- package/dist/server/sync/subscription.d.ts +0 -12
- package/dist/server/sync/subscriptions.handler.d.ts +0 -5
- package/dist/server/sync/tax-id.handler.d.ts +0 -5
- package/dist/server/types.d.ts +0 -22
- package/dist/server/webhooks/charges.handler.d.ts +0 -2
- package/dist/server/webhooks/checkout-sessions.handler.d.ts +0 -2
- package/dist/server/webhooks/coupons.handler.d.ts +0 -2
- package/dist/server/webhooks/credit-notes.handler.d.ts +0 -2
- package/dist/server/webhooks/customers.handler.d.ts +0 -2
- package/dist/server/webhooks/disputes.handler.d.ts +0 -2
- package/dist/server/webhooks/early-fraud-warnings.handler.d.ts +0 -2
- package/dist/server/webhooks/index.d.ts +0 -2
- package/dist/server/webhooks/invoices.handler.d.ts +0 -2
- package/dist/server/webhooks/payment-intents.handler.d.ts +0 -2
- package/dist/server/webhooks/payment-methods.handler.d.ts +0 -2
- package/dist/server/webhooks/payouts.handler.d.ts +0 -2
- package/dist/server/webhooks/plans.handler.d.ts +0 -2
- package/dist/server/webhooks/prices.handler.d.ts +0 -2
- package/dist/server/webhooks/products.handler.d.ts +0 -2
- package/dist/server/webhooks/promotion-codes.handler.d.ts +0 -2
- package/dist/server/webhooks/refunds.handler.d.ts +0 -2
- package/dist/server/webhooks/reviews.handler.d.ts +0 -2
- package/dist/server/webhooks/setup-intent.handler.d.ts +0 -2
- package/dist/server/webhooks/subscription-schedules.handler.d.ts +0 -2
- package/dist/server/webhooks/subscription.handler.d.ts +0 -2
- package/dist/server/webhooks/tax-id.handler.d.ts +0 -2
- package/dist/server/webhooks/types.d.ts +0 -11
- package/dist/server.d.ts +0 -2
|
@@ -1,311 +0,0 @@
|
|
|
1
|
-
import { Infer } from 'convex/values';
|
|
2
|
-
import { default as Stripe } from 'stripe';
|
|
3
|
-
export declare const PaymentIntentStripeToConvex: (intent: Stripe.PaymentIntent) => Infer<typeof PaymentIntentObject>;
|
|
4
|
-
export declare const PaymentIntentSchema: {
|
|
5
|
-
id: import('convex/values').VString<string, "required">;
|
|
6
|
-
amount: import('convex/values').VFloat64<number, "required">;
|
|
7
|
-
automatic_payment_methods: import('convex/values').VUnion<{
|
|
8
|
-
allow_redirects?: "always" | "never" | null | undefined;
|
|
9
|
-
enabled: boolean;
|
|
10
|
-
} | null | undefined, [import('convex/values').VObject<{
|
|
11
|
-
allow_redirects?: "always" | "never" | null | undefined;
|
|
12
|
-
enabled: boolean;
|
|
13
|
-
}, {
|
|
14
|
-
allow_redirects: import('convex/values').VUnion<"always" | "never" | null | undefined, [import('convex/values').VLiteral<"always", "required">, import('convex/values').VLiteral<"never", "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
15
|
-
enabled: import('convex/values').VBoolean<boolean, "required">;
|
|
16
|
-
}, "required", "enabled" | "allow_redirects">, import('convex/values').VNull<null, "required">], "optional", "enabled" | "allow_redirects">;
|
|
17
|
-
client_secret: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
18
|
-
currency: import('convex/values').VUnion<string | null, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "required", never>;
|
|
19
|
-
customer: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
20
|
-
description: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
21
|
-
last_payment_error: import('convex/values').VUnion<{
|
|
22
|
-
payment_method?: any;
|
|
23
|
-
charge?: string | null | undefined;
|
|
24
|
-
advice_code?: string | null | undefined;
|
|
25
|
-
code?: string | null | undefined;
|
|
26
|
-
decline_code?: string | null | undefined;
|
|
27
|
-
doc_url?: string | null | undefined;
|
|
28
|
-
message?: string | null | undefined;
|
|
29
|
-
network_advice_code?: string | null | undefined;
|
|
30
|
-
network_decline_code?: string | null | undefined;
|
|
31
|
-
param?: string | null | undefined;
|
|
32
|
-
payment_method_type?: string | null | undefined;
|
|
33
|
-
last_payment_error?: any;
|
|
34
|
-
latest_charge?: string | null | undefined;
|
|
35
|
-
type: "api_error" | "card_error" | "idempotency_error" | "invalid_request_error";
|
|
36
|
-
} | null | undefined, [import('convex/values').VObject<{
|
|
37
|
-
payment_method?: any;
|
|
38
|
-
charge?: string | null | undefined;
|
|
39
|
-
advice_code?: string | null | undefined;
|
|
40
|
-
code?: string | null | undefined;
|
|
41
|
-
decline_code?: string | null | undefined;
|
|
42
|
-
doc_url?: string | null | undefined;
|
|
43
|
-
message?: string | null | undefined;
|
|
44
|
-
network_advice_code?: string | null | undefined;
|
|
45
|
-
network_decline_code?: string | null | undefined;
|
|
46
|
-
param?: string | null | undefined;
|
|
47
|
-
payment_method_type?: string | null | undefined;
|
|
48
|
-
last_payment_error?: any;
|
|
49
|
-
latest_charge?: string | null | undefined;
|
|
50
|
-
type: "api_error" | "card_error" | "idempotency_error" | "invalid_request_error";
|
|
51
|
-
}, {
|
|
52
|
-
advice_code: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
53
|
-
charge: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
54
|
-
code: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
55
|
-
decline_code: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
56
|
-
doc_url: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
57
|
-
message: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
58
|
-
network_advice_code: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
59
|
-
network_decline_code: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
60
|
-
param: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
61
|
-
payment_method: import('convex/values').VAny<any, "optional", string>;
|
|
62
|
-
payment_method_type: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
63
|
-
last_payment_error: import('convex/values').VAny<any, "optional", string>;
|
|
64
|
-
type: import('convex/values').VUnion<"api_error" | "card_error" | "idempotency_error" | "invalid_request_error", [import('convex/values').VLiteral<"api_error", "required">, import('convex/values').VLiteral<"card_error", "required">, import('convex/values').VLiteral<"idempotency_error", "required">, import('convex/values').VLiteral<"invalid_request_error", "required">], "required", never>;
|
|
65
|
-
latest_charge: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
66
|
-
}, "required", "type" | "payment_method" | "charge" | "advice_code" | "code" | "decline_code" | "doc_url" | "message" | "network_advice_code" | "network_decline_code" | "param" | "payment_method_type" | "last_payment_error" | "latest_charge" | `payment_method.${string}` | `last_payment_error.${string}`>, import('convex/values').VNull<null, "required">], "optional", "type" | "payment_method" | "charge" | "advice_code" | "code" | "decline_code" | "doc_url" | "message" | "network_advice_code" | "network_decline_code" | "param" | "payment_method_type" | "last_payment_error" | "latest_charge" | `payment_method.${string}` | `last_payment_error.${string}`>;
|
|
67
|
-
latest_charge: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
68
|
-
metadata: import('convex/values').VUnion<Record<string, string | number | null> | null | undefined, [import('convex/values').VRecord<Record<string, string | number | null>, import('convex/values').VString<string, "required">, import('convex/values').VUnion<string | number | null, [import('convex/values').VString<string, "required">, import('convex/values').VFloat64<number, "required">, import('convex/values').VNull<null, "required">], "required", never>, "required", string>, import('convex/values').VNull<null, "required">], "optional", string>;
|
|
69
|
-
next_action: import('convex/values').VAny<any, "optional", string>;
|
|
70
|
-
payment_method: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
71
|
-
receipt_email: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
72
|
-
setup_future_usage: import('convex/values').VUnion<"off_session" | "on_session" | null, [import('convex/values').VLiteral<"off_session", "required">, import('convex/values').VLiteral<"on_session", "required">, import('convex/values').VNull<null, "required">], "required", never>;
|
|
73
|
-
shipping: import('convex/values').VAny<any, "optional", string>;
|
|
74
|
-
statement_descriptor: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
75
|
-
statement_descriptor_suffix: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
76
|
-
status: import('convex/values').VUnion<"succeeded" | "canceled" | "processing" | "requires_action" | "requires_capture" | "requires_confirmation" | "requires_payment_method", [import('convex/values').VLiteral<"canceled", "required">, import('convex/values').VLiteral<"processing", "required">, import('convex/values').VLiteral<"requires_action", "required">, import('convex/values').VLiteral<"requires_capture", "required">, import('convex/values').VLiteral<"requires_confirmation", "required">, import('convex/values').VLiteral<"requires_payment_method", "required">, import('convex/values').VLiteral<"succeeded", "required">], "required", never>;
|
|
77
|
-
object: import('convex/values').VString<string, "required">;
|
|
78
|
-
amount_capturable: import('convex/values').VFloat64<number, "required">;
|
|
79
|
-
amount_details: import('convex/values').VUnion<{
|
|
80
|
-
tip?: {
|
|
81
|
-
amount?: number | null | undefined;
|
|
82
|
-
} | null | undefined;
|
|
83
|
-
} | null | undefined, [import('convex/values').VObject<{
|
|
84
|
-
tip?: {
|
|
85
|
-
amount?: number | null | undefined;
|
|
86
|
-
} | null | undefined;
|
|
87
|
-
}, {
|
|
88
|
-
tip: import('convex/values').VUnion<{
|
|
89
|
-
amount?: number | null | undefined;
|
|
90
|
-
} | null | undefined, [import('convex/values').VObject<{
|
|
91
|
-
amount?: number | null | undefined;
|
|
92
|
-
}, {
|
|
93
|
-
amount: import('convex/values').VUnion<number | null | undefined, [import('convex/values').VFloat64<number, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
94
|
-
}, "required", "amount">, import('convex/values').VNull<null, "required">], "optional", "amount">;
|
|
95
|
-
}, "required", "tip" | "tip.amount">, import('convex/values').VNull<null, "required">], "optional", "tip" | "tip.amount">;
|
|
96
|
-
amount_received: import('convex/values').VFloat64<number, "required">;
|
|
97
|
-
application: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
98
|
-
application_fee_amount: import('convex/values').VUnion<number | null | undefined, [import('convex/values').VFloat64<number, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
99
|
-
canceled_at: import('convex/values').VUnion<number | null | undefined, [import('convex/values').VFloat64<number, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
100
|
-
cancellation_reason: import('convex/values').VUnion<"expired" | "duplicate" | "fraudulent" | "abandoned" | "automatic" | "failed_invoice" | "requested_by_customer" | "void_invoice" | null | undefined, [import('convex/values').VLiteral<"abandoned", "required">, import('convex/values').VLiteral<"automatic", "required">, import('convex/values').VLiteral<"duplicate", "required">, import('convex/values').VLiteral<"expired", "required">, import('convex/values').VLiteral<"failed_invoice", "required">, import('convex/values').VLiteral<"fraudulent", "required">, import('convex/values').VLiteral<"requested_by_customer", "required">, import('convex/values').VLiteral<"void_invoice", "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
101
|
-
capture_method: import('convex/values').VUnion<"manual" | "automatic" | "automatic_sync" | "automatic_async", [import('convex/values').VLiteral<"automatic", "required">, import('convex/values').VLiteral<"automatic_sync", "required">, import('convex/values').VLiteral<"automatic_async", "required">, import('convex/values').VLiteral<"manual", "required">], "required", never>;
|
|
102
|
-
confirmation_method: import('convex/values').VUnion<"manual" | "automatic", [import('convex/values').VLiteral<"automatic", "required">, import('convex/values').VLiteral<"manual", "required">], "required", never>;
|
|
103
|
-
created: import('convex/values').VFloat64<number, "required">;
|
|
104
|
-
excluded_payment_method_types: import('convex/values').VUnion<string[] | null, [import('convex/values').VArray<string[], import('convex/values').VString<string, "required">, "required">, import('convex/values').VNull<null, "required">], "required", never>;
|
|
105
|
-
livemode: import('convex/values').VBoolean<boolean, "required">;
|
|
106
|
-
on_behalf_of: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
107
|
-
payment_method_configuration_details: import('convex/values').VUnion<{
|
|
108
|
-
parent?: string | null | undefined;
|
|
109
|
-
id: string;
|
|
110
|
-
} | null | undefined, [import('convex/values').VObject<{
|
|
111
|
-
parent?: string | null | undefined;
|
|
112
|
-
id: string;
|
|
113
|
-
}, {
|
|
114
|
-
id: import('convex/values').VString<string, "required">;
|
|
115
|
-
parent: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
116
|
-
}, "required", "id" | "parent">, import('convex/values').VNull<null, "required">], "optional", "id" | "parent">;
|
|
117
|
-
payment_method_options: import('convex/values').VAny<any, "optional", string>;
|
|
118
|
-
payment_method_types: import('convex/values').VArray<string[], import('convex/values').VString<string, "required">, "required">;
|
|
119
|
-
presentment_details: import('convex/values').VAny<any, "optional", string>;
|
|
120
|
-
processing: import('convex/values').VAny<any, "optional", string>;
|
|
121
|
-
review: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
122
|
-
transfer_data: import('convex/values').VAny<any, "optional", string>;
|
|
123
|
-
transfer_group: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
124
|
-
};
|
|
125
|
-
export declare const PaymentIntentObject: import('convex/values').VObject<{
|
|
126
|
-
customer?: string | null | undefined;
|
|
127
|
-
description?: string | null | undefined;
|
|
128
|
-
metadata?: Record<string, string | number | null> | null | undefined;
|
|
129
|
-
receipt_email?: string | null | undefined;
|
|
130
|
-
shipping?: any;
|
|
131
|
-
statement_descriptor?: string | null | undefined;
|
|
132
|
-
statement_descriptor_suffix?: string | null | undefined;
|
|
133
|
-
application?: string | null | undefined;
|
|
134
|
-
application_fee_amount?: number | null | undefined;
|
|
135
|
-
on_behalf_of?: string | null | undefined;
|
|
136
|
-
payment_method?: string | null | undefined;
|
|
137
|
-
presentment_details?: any;
|
|
138
|
-
review?: string | null | undefined;
|
|
139
|
-
transfer_data?: any;
|
|
140
|
-
transfer_group?: string | null | undefined;
|
|
141
|
-
client_secret?: string | null | undefined;
|
|
142
|
-
payment_method_configuration_details?: {
|
|
143
|
-
parent?: string | null | undefined;
|
|
144
|
-
id: string;
|
|
145
|
-
} | null | undefined;
|
|
146
|
-
payment_method_options?: any;
|
|
147
|
-
last_payment_error?: {
|
|
148
|
-
payment_method?: any;
|
|
149
|
-
charge?: string | null | undefined;
|
|
150
|
-
advice_code?: string | null | undefined;
|
|
151
|
-
code?: string | null | undefined;
|
|
152
|
-
decline_code?: string | null | undefined;
|
|
153
|
-
doc_url?: string | null | undefined;
|
|
154
|
-
message?: string | null | undefined;
|
|
155
|
-
network_advice_code?: string | null | undefined;
|
|
156
|
-
network_decline_code?: string | null | undefined;
|
|
157
|
-
param?: string | null | undefined;
|
|
158
|
-
payment_method_type?: string | null | undefined;
|
|
159
|
-
last_payment_error?: any;
|
|
160
|
-
latest_charge?: string | null | undefined;
|
|
161
|
-
type: "api_error" | "card_error" | "idempotency_error" | "invalid_request_error";
|
|
162
|
-
} | null | undefined;
|
|
163
|
-
latest_charge?: string | null | undefined;
|
|
164
|
-
processing?: any;
|
|
165
|
-
automatic_payment_methods?: {
|
|
166
|
-
allow_redirects?: "always" | "never" | null | undefined;
|
|
167
|
-
enabled: boolean;
|
|
168
|
-
} | null | undefined;
|
|
169
|
-
next_action?: any;
|
|
170
|
-
amount_details?: {
|
|
171
|
-
tip?: {
|
|
172
|
-
amount?: number | null | undefined;
|
|
173
|
-
} | null | undefined;
|
|
174
|
-
} | null | undefined;
|
|
175
|
-
canceled_at?: number | null | undefined;
|
|
176
|
-
cancellation_reason?: "expired" | "duplicate" | "fraudulent" | "abandoned" | "automatic" | "failed_invoice" | "requested_by_customer" | "void_invoice" | null | undefined;
|
|
177
|
-
object: string;
|
|
178
|
-
id: string;
|
|
179
|
-
amount: number;
|
|
180
|
-
currency: string | null;
|
|
181
|
-
status: "succeeded" | "canceled" | "processing" | "requires_action" | "requires_capture" | "requires_confirmation" | "requires_payment_method";
|
|
182
|
-
created: number;
|
|
183
|
-
livemode: boolean;
|
|
184
|
-
payment_method_types: string[];
|
|
185
|
-
setup_future_usage: "off_session" | "on_session" | null;
|
|
186
|
-
amount_capturable: number;
|
|
187
|
-
amount_received: number;
|
|
188
|
-
capture_method: "manual" | "automatic" | "automatic_sync" | "automatic_async";
|
|
189
|
-
confirmation_method: "manual" | "automatic";
|
|
190
|
-
excluded_payment_method_types: string[] | null;
|
|
191
|
-
}, {
|
|
192
|
-
id: import('convex/values').VString<string, "required">;
|
|
193
|
-
amount: import('convex/values').VFloat64<number, "required">;
|
|
194
|
-
automatic_payment_methods: import('convex/values').VUnion<{
|
|
195
|
-
allow_redirects?: "always" | "never" | null | undefined;
|
|
196
|
-
enabled: boolean;
|
|
197
|
-
} | null | undefined, [import('convex/values').VObject<{
|
|
198
|
-
allow_redirects?: "always" | "never" | null | undefined;
|
|
199
|
-
enabled: boolean;
|
|
200
|
-
}, {
|
|
201
|
-
allow_redirects: import('convex/values').VUnion<"always" | "never" | null | undefined, [import('convex/values').VLiteral<"always", "required">, import('convex/values').VLiteral<"never", "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
202
|
-
enabled: import('convex/values').VBoolean<boolean, "required">;
|
|
203
|
-
}, "required", "enabled" | "allow_redirects">, import('convex/values').VNull<null, "required">], "optional", "enabled" | "allow_redirects">;
|
|
204
|
-
client_secret: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
205
|
-
currency: import('convex/values').VUnion<string | null, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "required", never>;
|
|
206
|
-
customer: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
207
|
-
description: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
208
|
-
last_payment_error: import('convex/values').VUnion<{
|
|
209
|
-
payment_method?: any;
|
|
210
|
-
charge?: string | null | undefined;
|
|
211
|
-
advice_code?: string | null | undefined;
|
|
212
|
-
code?: string | null | undefined;
|
|
213
|
-
decline_code?: string | null | undefined;
|
|
214
|
-
doc_url?: string | null | undefined;
|
|
215
|
-
message?: string | null | undefined;
|
|
216
|
-
network_advice_code?: string | null | undefined;
|
|
217
|
-
network_decline_code?: string | null | undefined;
|
|
218
|
-
param?: string | null | undefined;
|
|
219
|
-
payment_method_type?: string | null | undefined;
|
|
220
|
-
last_payment_error?: any;
|
|
221
|
-
latest_charge?: string | null | undefined;
|
|
222
|
-
type: "api_error" | "card_error" | "idempotency_error" | "invalid_request_error";
|
|
223
|
-
} | null | undefined, [import('convex/values').VObject<{
|
|
224
|
-
payment_method?: any;
|
|
225
|
-
charge?: string | null | undefined;
|
|
226
|
-
advice_code?: string | null | undefined;
|
|
227
|
-
code?: string | null | undefined;
|
|
228
|
-
decline_code?: string | null | undefined;
|
|
229
|
-
doc_url?: string | null | undefined;
|
|
230
|
-
message?: string | null | undefined;
|
|
231
|
-
network_advice_code?: string | null | undefined;
|
|
232
|
-
network_decline_code?: string | null | undefined;
|
|
233
|
-
param?: string | null | undefined;
|
|
234
|
-
payment_method_type?: string | null | undefined;
|
|
235
|
-
last_payment_error?: any;
|
|
236
|
-
latest_charge?: string | null | undefined;
|
|
237
|
-
type: "api_error" | "card_error" | "idempotency_error" | "invalid_request_error";
|
|
238
|
-
}, {
|
|
239
|
-
advice_code: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
240
|
-
charge: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
241
|
-
code: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
242
|
-
decline_code: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
243
|
-
doc_url: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
244
|
-
message: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
245
|
-
network_advice_code: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
246
|
-
network_decline_code: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
247
|
-
param: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
248
|
-
payment_method: import('convex/values').VAny<any, "optional", string>;
|
|
249
|
-
payment_method_type: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
250
|
-
last_payment_error: import('convex/values').VAny<any, "optional", string>;
|
|
251
|
-
type: import('convex/values').VUnion<"api_error" | "card_error" | "idempotency_error" | "invalid_request_error", [import('convex/values').VLiteral<"api_error", "required">, import('convex/values').VLiteral<"card_error", "required">, import('convex/values').VLiteral<"idempotency_error", "required">, import('convex/values').VLiteral<"invalid_request_error", "required">], "required", never>;
|
|
252
|
-
latest_charge: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
253
|
-
}, "required", "type" | "payment_method" | "charge" | "advice_code" | "code" | "decline_code" | "doc_url" | "message" | "network_advice_code" | "network_decline_code" | "param" | "payment_method_type" | "last_payment_error" | "latest_charge" | `payment_method.${string}` | `last_payment_error.${string}`>, import('convex/values').VNull<null, "required">], "optional", "type" | "payment_method" | "charge" | "advice_code" | "code" | "decline_code" | "doc_url" | "message" | "network_advice_code" | "network_decline_code" | "param" | "payment_method_type" | "last_payment_error" | "latest_charge" | `payment_method.${string}` | `last_payment_error.${string}`>;
|
|
254
|
-
latest_charge: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
255
|
-
metadata: import('convex/values').VUnion<Record<string, string | number | null> | null | undefined, [import('convex/values').VRecord<Record<string, string | number | null>, import('convex/values').VString<string, "required">, import('convex/values').VUnion<string | number | null, [import('convex/values').VString<string, "required">, import('convex/values').VFloat64<number, "required">, import('convex/values').VNull<null, "required">], "required", never>, "required", string>, import('convex/values').VNull<null, "required">], "optional", string>;
|
|
256
|
-
next_action: import('convex/values').VAny<any, "optional", string>;
|
|
257
|
-
payment_method: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
258
|
-
receipt_email: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
259
|
-
setup_future_usage: import('convex/values').VUnion<"off_session" | "on_session" | null, [import('convex/values').VLiteral<"off_session", "required">, import('convex/values').VLiteral<"on_session", "required">, import('convex/values').VNull<null, "required">], "required", never>;
|
|
260
|
-
shipping: import('convex/values').VAny<any, "optional", string>;
|
|
261
|
-
statement_descriptor: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
262
|
-
statement_descriptor_suffix: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
263
|
-
status: import('convex/values').VUnion<"succeeded" | "canceled" | "processing" | "requires_action" | "requires_capture" | "requires_confirmation" | "requires_payment_method", [import('convex/values').VLiteral<"canceled", "required">, import('convex/values').VLiteral<"processing", "required">, import('convex/values').VLiteral<"requires_action", "required">, import('convex/values').VLiteral<"requires_capture", "required">, import('convex/values').VLiteral<"requires_confirmation", "required">, import('convex/values').VLiteral<"requires_payment_method", "required">, import('convex/values').VLiteral<"succeeded", "required">], "required", never>;
|
|
264
|
-
object: import('convex/values').VString<string, "required">;
|
|
265
|
-
amount_capturable: import('convex/values').VFloat64<number, "required">;
|
|
266
|
-
amount_details: import('convex/values').VUnion<{
|
|
267
|
-
tip?: {
|
|
268
|
-
amount?: number | null | undefined;
|
|
269
|
-
} | null | undefined;
|
|
270
|
-
} | null | undefined, [import('convex/values').VObject<{
|
|
271
|
-
tip?: {
|
|
272
|
-
amount?: number | null | undefined;
|
|
273
|
-
} | null | undefined;
|
|
274
|
-
}, {
|
|
275
|
-
tip: import('convex/values').VUnion<{
|
|
276
|
-
amount?: number | null | undefined;
|
|
277
|
-
} | null | undefined, [import('convex/values').VObject<{
|
|
278
|
-
amount?: number | null | undefined;
|
|
279
|
-
}, {
|
|
280
|
-
amount: import('convex/values').VUnion<number | null | undefined, [import('convex/values').VFloat64<number, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
281
|
-
}, "required", "amount">, import('convex/values').VNull<null, "required">], "optional", "amount">;
|
|
282
|
-
}, "required", "tip" | "tip.amount">, import('convex/values').VNull<null, "required">], "optional", "tip" | "tip.amount">;
|
|
283
|
-
amount_received: import('convex/values').VFloat64<number, "required">;
|
|
284
|
-
application: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
285
|
-
application_fee_amount: import('convex/values').VUnion<number | null | undefined, [import('convex/values').VFloat64<number, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
286
|
-
canceled_at: import('convex/values').VUnion<number | null | undefined, [import('convex/values').VFloat64<number, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
287
|
-
cancellation_reason: import('convex/values').VUnion<"expired" | "duplicate" | "fraudulent" | "abandoned" | "automatic" | "failed_invoice" | "requested_by_customer" | "void_invoice" | null | undefined, [import('convex/values').VLiteral<"abandoned", "required">, import('convex/values').VLiteral<"automatic", "required">, import('convex/values').VLiteral<"duplicate", "required">, import('convex/values').VLiteral<"expired", "required">, import('convex/values').VLiteral<"failed_invoice", "required">, import('convex/values').VLiteral<"fraudulent", "required">, import('convex/values').VLiteral<"requested_by_customer", "required">, import('convex/values').VLiteral<"void_invoice", "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
288
|
-
capture_method: import('convex/values').VUnion<"manual" | "automatic" | "automatic_sync" | "automatic_async", [import('convex/values').VLiteral<"automatic", "required">, import('convex/values').VLiteral<"automatic_sync", "required">, import('convex/values').VLiteral<"automatic_async", "required">, import('convex/values').VLiteral<"manual", "required">], "required", never>;
|
|
289
|
-
confirmation_method: import('convex/values').VUnion<"manual" | "automatic", [import('convex/values').VLiteral<"automatic", "required">, import('convex/values').VLiteral<"manual", "required">], "required", never>;
|
|
290
|
-
created: import('convex/values').VFloat64<number, "required">;
|
|
291
|
-
excluded_payment_method_types: import('convex/values').VUnion<string[] | null, [import('convex/values').VArray<string[], import('convex/values').VString<string, "required">, "required">, import('convex/values').VNull<null, "required">], "required", never>;
|
|
292
|
-
livemode: import('convex/values').VBoolean<boolean, "required">;
|
|
293
|
-
on_behalf_of: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
294
|
-
payment_method_configuration_details: import('convex/values').VUnion<{
|
|
295
|
-
parent?: string | null | undefined;
|
|
296
|
-
id: string;
|
|
297
|
-
} | null | undefined, [import('convex/values').VObject<{
|
|
298
|
-
parent?: string | null | undefined;
|
|
299
|
-
id: string;
|
|
300
|
-
}, {
|
|
301
|
-
id: import('convex/values').VString<string, "required">;
|
|
302
|
-
parent: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
303
|
-
}, "required", "id" | "parent">, import('convex/values').VNull<null, "required">], "optional", "id" | "parent">;
|
|
304
|
-
payment_method_options: import('convex/values').VAny<any, "optional", string>;
|
|
305
|
-
payment_method_types: import('convex/values').VArray<string[], import('convex/values').VString<string, "required">, "required">;
|
|
306
|
-
presentment_details: import('convex/values').VAny<any, "optional", string>;
|
|
307
|
-
processing: import('convex/values').VAny<any, "optional", string>;
|
|
308
|
-
review: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
309
|
-
transfer_data: import('convex/values').VAny<any, "optional", string>;
|
|
310
|
-
transfer_group: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
311
|
-
}, "required", "object" | "id" | "amount" | "currency" | "customer" | "description" | "metadata" | "receipt_email" | "shipping" | "statement_descriptor" | "statement_descriptor_suffix" | "status" | "application" | "application_fee_amount" | "created" | "livemode" | "on_behalf_of" | "payment_method" | "presentment_details" | "review" | "transfer_data" | "transfer_group" | `metadata.${string}` | `shipping.${string}` | `presentment_details.${string}` | `transfer_data.${string}` | "client_secret" | "payment_method_configuration_details" | "payment_method_options" | "payment_method_types" | `payment_method_options.${string}` | "last_payment_error" | "latest_charge" | "processing" | "automatic_payment_methods" | "next_action" | "setup_future_usage" | "amount_capturable" | "amount_details" | "amount_received" | "canceled_at" | "cancellation_reason" | "capture_method" | "confirmation_method" | "excluded_payment_method_types" | "payment_method_configuration_details.id" | "payment_method_configuration_details.parent" | "last_payment_error.type" | "last_payment_error.payment_method" | "last_payment_error.charge" | "last_payment_error.advice_code" | "last_payment_error.code" | "last_payment_error.decline_code" | "last_payment_error.doc_url" | "last_payment_error.message" | "last_payment_error.network_advice_code" | "last_payment_error.network_decline_code" | "last_payment_error.param" | "last_payment_error.payment_method_type" | "last_payment_error.last_payment_error" | "last_payment_error.latest_charge" | `last_payment_error.payment_method.${string}` | `last_payment_error.last_payment_error.${string}` | `processing.${string}` | "automatic_payment_methods.enabled" | "automatic_payment_methods.allow_redirects" | `next_action.${string}` | "amount_details.tip" | "amount_details.tip.amount">;
|
|
@@ -1,248 +0,0 @@
|
|
|
1
|
-
import { default as Stripe } from 'stripe';
|
|
2
|
-
export declare const PaymentMethodStripeToConvex: (paymentMethod: Stripe.PaymentMethod) => {
|
|
3
|
-
link?: any;
|
|
4
|
-
billing_details?: any;
|
|
5
|
-
customer?: string | null | undefined;
|
|
6
|
-
metadata?: Record<string, string | number | null> | null | undefined;
|
|
7
|
-
radar_options?: any;
|
|
8
|
-
acss_debit?: any;
|
|
9
|
-
affirm?: any;
|
|
10
|
-
afterpay_clearpay?: any;
|
|
11
|
-
alipay?: any;
|
|
12
|
-
alma?: any;
|
|
13
|
-
amazon_pay?: any;
|
|
14
|
-
au_becs_debit?: any;
|
|
15
|
-
bacs_debit?: any;
|
|
16
|
-
bancontact?: any;
|
|
17
|
-
billie?: any;
|
|
18
|
-
blik?: any;
|
|
19
|
-
boleto?: any;
|
|
20
|
-
card?: any;
|
|
21
|
-
cashapp?: any;
|
|
22
|
-
crypto?: any;
|
|
23
|
-
customer_balance?: any;
|
|
24
|
-
eps?: any;
|
|
25
|
-
fpx?: any;
|
|
26
|
-
giropay?: any;
|
|
27
|
-
grabpay?: any;
|
|
28
|
-
ideal?: any;
|
|
29
|
-
kakao_pay?: any;
|
|
30
|
-
klarna?: any;
|
|
31
|
-
konbini?: any;
|
|
32
|
-
kr_card?: any;
|
|
33
|
-
mobilepay?: any;
|
|
34
|
-
multibanco?: any;
|
|
35
|
-
naver_pay?: any;
|
|
36
|
-
nz_bank_account?: any;
|
|
37
|
-
oxxo?: any;
|
|
38
|
-
p24?: any;
|
|
39
|
-
pay_by_bank?: any;
|
|
40
|
-
payco?: any;
|
|
41
|
-
paynow?: any;
|
|
42
|
-
paypal?: any;
|
|
43
|
-
pix?: any;
|
|
44
|
-
promptpay?: any;
|
|
45
|
-
revolut_pay?: any;
|
|
46
|
-
samsung_pay?: any;
|
|
47
|
-
satispay?: any;
|
|
48
|
-
sepa_debit?: any;
|
|
49
|
-
sofort?: any;
|
|
50
|
-
swish?: any;
|
|
51
|
-
twint?: any;
|
|
52
|
-
us_bank_account?: any;
|
|
53
|
-
wechat_pay?: any;
|
|
54
|
-
zip?: any;
|
|
55
|
-
card_present?: any;
|
|
56
|
-
interac_present?: any;
|
|
57
|
-
object: string;
|
|
58
|
-
type: string;
|
|
59
|
-
id: string;
|
|
60
|
-
created: number;
|
|
61
|
-
livemode: boolean;
|
|
62
|
-
allow_redisplay: "always" | "limited" | "unspecified" | null;
|
|
63
|
-
};
|
|
64
|
-
export declare const PaymentMethodSchema: {
|
|
65
|
-
id: import('convex/values').VString<string, "required">;
|
|
66
|
-
billing_details: import('convex/values').VAny<any, "optional", string>;
|
|
67
|
-
customer: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
68
|
-
metadata: import('convex/values').VUnion<Record<string, string | number | null> | null | undefined, [import('convex/values').VRecord<Record<string, string | number | null>, import('convex/values').VString<string, "required">, import('convex/values').VUnion<string | number | null, [import('convex/values').VString<string, "required">, import('convex/values').VFloat64<number, "required">, import('convex/values').VNull<null, "required">], "required", never>, "required", string>, import('convex/values').VNull<null, "required">], "optional", string>;
|
|
69
|
-
type: import('convex/values').VString<string, "required">;
|
|
70
|
-
object: import('convex/values').VString<string, "required">;
|
|
71
|
-
acss_debit: import('convex/values').VAny<any, "optional", string>;
|
|
72
|
-
affirm: import('convex/values').VAny<any, "optional", string>;
|
|
73
|
-
afterpay_clearpay: import('convex/values').VAny<any, "optional", string>;
|
|
74
|
-
alipay: import('convex/values').VAny<any, "optional", string>;
|
|
75
|
-
allow_redisplay: import('convex/values').VUnion<"always" | "limited" | "unspecified" | null, [import('convex/values').VLiteral<"always", "required">, import('convex/values').VLiteral<"limited", "required">, import('convex/values').VLiteral<"unspecified", "required">, import('convex/values').VNull<null, "required">], "required", never>;
|
|
76
|
-
alma: import('convex/values').VAny<any, "optional", string>;
|
|
77
|
-
amazon_pay: import('convex/values').VAny<any, "optional", string>;
|
|
78
|
-
au_becs_debit: import('convex/values').VAny<any, "optional", string>;
|
|
79
|
-
bacs_debit: import('convex/values').VAny<any, "optional", string>;
|
|
80
|
-
bancontact: import('convex/values').VAny<any, "optional", string>;
|
|
81
|
-
billie: import('convex/values').VAny<any, "optional", string>;
|
|
82
|
-
blik: import('convex/values').VAny<any, "optional", string>;
|
|
83
|
-
boleto: import('convex/values').VAny<any, "optional", string>;
|
|
84
|
-
card: import('convex/values').VAny<any, "optional", string>;
|
|
85
|
-
card_present: import('convex/values').VAny<any, "optional", string>;
|
|
86
|
-
cashapp: import('convex/values').VAny<any, "optional", string>;
|
|
87
|
-
created: import('convex/values').VFloat64<number, "required">;
|
|
88
|
-
crypto: import('convex/values').VAny<any, "optional", string>;
|
|
89
|
-
customer_balance: import('convex/values').VAny<any, "optional", string>;
|
|
90
|
-
eps: import('convex/values').VAny<any, "optional", string>;
|
|
91
|
-
fpx: import('convex/values').VAny<any, "optional", string>;
|
|
92
|
-
giropay: import('convex/values').VAny<any, "optional", string>;
|
|
93
|
-
grabpay: import('convex/values').VAny<any, "optional", string>;
|
|
94
|
-
ideal: import('convex/values').VAny<any, "optional", string>;
|
|
95
|
-
interac_present: import('convex/values').VAny<any, "optional", string>;
|
|
96
|
-
kakao_pay: import('convex/values').VAny<any, "optional", string>;
|
|
97
|
-
klarna: import('convex/values').VAny<any, "optional", string>;
|
|
98
|
-
konbini: import('convex/values').VAny<any, "optional", string>;
|
|
99
|
-
kr_card: import('convex/values').VAny<any, "optional", string>;
|
|
100
|
-
link: import('convex/values').VAny<any, "optional", string>;
|
|
101
|
-
livemode: import('convex/values').VBoolean<boolean, "required">;
|
|
102
|
-
mobilepay: import('convex/values').VAny<any, "optional", string>;
|
|
103
|
-
multibanco: import('convex/values').VAny<any, "optional", string>;
|
|
104
|
-
naver_pay: import('convex/values').VAny<any, "optional", string>;
|
|
105
|
-
nz_bank_account: import('convex/values').VAny<any, "optional", string>;
|
|
106
|
-
oxxo: import('convex/values').VAny<any, "optional", string>;
|
|
107
|
-
p24: import('convex/values').VAny<any, "optional", string>;
|
|
108
|
-
pay_by_bank: import('convex/values').VAny<any, "optional", string>;
|
|
109
|
-
payco: import('convex/values').VAny<any, "optional", string>;
|
|
110
|
-
paynow: import('convex/values').VAny<any, "optional", string>;
|
|
111
|
-
paypal: import('convex/values').VAny<any, "optional", string>;
|
|
112
|
-
pix: import('convex/values').VAny<any, "optional", string>;
|
|
113
|
-
promptpay: import('convex/values').VAny<any, "optional", string>;
|
|
114
|
-
radar_options: import('convex/values').VAny<any, "optional", string>;
|
|
115
|
-
revolut_pay: import('convex/values').VAny<any, "optional", string>;
|
|
116
|
-
samsung_pay: import('convex/values').VAny<any, "optional", string>;
|
|
117
|
-
satispay: import('convex/values').VAny<any, "optional", string>;
|
|
118
|
-
sepa_debit: import('convex/values').VAny<any, "optional", string>;
|
|
119
|
-
sofort: import('convex/values').VAny<any, "optional", string>;
|
|
120
|
-
swish: import('convex/values').VAny<any, "optional", string>;
|
|
121
|
-
twint: import('convex/values').VAny<any, "optional", string>;
|
|
122
|
-
us_bank_account: import('convex/values').VAny<any, "optional", string>;
|
|
123
|
-
wechat_pay: import('convex/values').VAny<any, "optional", string>;
|
|
124
|
-
zip: import('convex/values').VAny<any, "optional", string>;
|
|
125
|
-
};
|
|
126
|
-
export declare const PaymentMethodObject: import('convex/values').VObject<{
|
|
127
|
-
link?: any;
|
|
128
|
-
billing_details?: any;
|
|
129
|
-
customer?: string | null | undefined;
|
|
130
|
-
metadata?: Record<string, string | number | null> | null | undefined;
|
|
131
|
-
radar_options?: any;
|
|
132
|
-
acss_debit?: any;
|
|
133
|
-
affirm?: any;
|
|
134
|
-
afterpay_clearpay?: any;
|
|
135
|
-
alipay?: any;
|
|
136
|
-
alma?: any;
|
|
137
|
-
amazon_pay?: any;
|
|
138
|
-
au_becs_debit?: any;
|
|
139
|
-
bacs_debit?: any;
|
|
140
|
-
bancontact?: any;
|
|
141
|
-
billie?: any;
|
|
142
|
-
blik?: any;
|
|
143
|
-
boleto?: any;
|
|
144
|
-
card?: any;
|
|
145
|
-
cashapp?: any;
|
|
146
|
-
crypto?: any;
|
|
147
|
-
customer_balance?: any;
|
|
148
|
-
eps?: any;
|
|
149
|
-
fpx?: any;
|
|
150
|
-
giropay?: any;
|
|
151
|
-
grabpay?: any;
|
|
152
|
-
ideal?: any;
|
|
153
|
-
kakao_pay?: any;
|
|
154
|
-
klarna?: any;
|
|
155
|
-
konbini?: any;
|
|
156
|
-
kr_card?: any;
|
|
157
|
-
mobilepay?: any;
|
|
158
|
-
multibanco?: any;
|
|
159
|
-
naver_pay?: any;
|
|
160
|
-
nz_bank_account?: any;
|
|
161
|
-
oxxo?: any;
|
|
162
|
-
p24?: any;
|
|
163
|
-
pay_by_bank?: any;
|
|
164
|
-
payco?: any;
|
|
165
|
-
paynow?: any;
|
|
166
|
-
paypal?: any;
|
|
167
|
-
pix?: any;
|
|
168
|
-
promptpay?: any;
|
|
169
|
-
revolut_pay?: any;
|
|
170
|
-
samsung_pay?: any;
|
|
171
|
-
satispay?: any;
|
|
172
|
-
sepa_debit?: any;
|
|
173
|
-
sofort?: any;
|
|
174
|
-
swish?: any;
|
|
175
|
-
twint?: any;
|
|
176
|
-
us_bank_account?: any;
|
|
177
|
-
wechat_pay?: any;
|
|
178
|
-
zip?: any;
|
|
179
|
-
card_present?: any;
|
|
180
|
-
interac_present?: any;
|
|
181
|
-
object: string;
|
|
182
|
-
type: string;
|
|
183
|
-
id: string;
|
|
184
|
-
created: number;
|
|
185
|
-
livemode: boolean;
|
|
186
|
-
allow_redisplay: "always" | "limited" | "unspecified" | null;
|
|
187
|
-
}, {
|
|
188
|
-
id: import('convex/values').VString<string, "required">;
|
|
189
|
-
billing_details: import('convex/values').VAny<any, "optional", string>;
|
|
190
|
-
customer: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
191
|
-
metadata: import('convex/values').VUnion<Record<string, string | number | null> | null | undefined, [import('convex/values').VRecord<Record<string, string | number | null>, import('convex/values').VString<string, "required">, import('convex/values').VUnion<string | number | null, [import('convex/values').VString<string, "required">, import('convex/values').VFloat64<number, "required">, import('convex/values').VNull<null, "required">], "required", never>, "required", string>, import('convex/values').VNull<null, "required">], "optional", string>;
|
|
192
|
-
type: import('convex/values').VString<string, "required">;
|
|
193
|
-
object: import('convex/values').VString<string, "required">;
|
|
194
|
-
acss_debit: import('convex/values').VAny<any, "optional", string>;
|
|
195
|
-
affirm: import('convex/values').VAny<any, "optional", string>;
|
|
196
|
-
afterpay_clearpay: import('convex/values').VAny<any, "optional", string>;
|
|
197
|
-
alipay: import('convex/values').VAny<any, "optional", string>;
|
|
198
|
-
allow_redisplay: import('convex/values').VUnion<"always" | "limited" | "unspecified" | null, [import('convex/values').VLiteral<"always", "required">, import('convex/values').VLiteral<"limited", "required">, import('convex/values').VLiteral<"unspecified", "required">, import('convex/values').VNull<null, "required">], "required", never>;
|
|
199
|
-
alma: import('convex/values').VAny<any, "optional", string>;
|
|
200
|
-
amazon_pay: import('convex/values').VAny<any, "optional", string>;
|
|
201
|
-
au_becs_debit: import('convex/values').VAny<any, "optional", string>;
|
|
202
|
-
bacs_debit: import('convex/values').VAny<any, "optional", string>;
|
|
203
|
-
bancontact: import('convex/values').VAny<any, "optional", string>;
|
|
204
|
-
billie: import('convex/values').VAny<any, "optional", string>;
|
|
205
|
-
blik: import('convex/values').VAny<any, "optional", string>;
|
|
206
|
-
boleto: import('convex/values').VAny<any, "optional", string>;
|
|
207
|
-
card: import('convex/values').VAny<any, "optional", string>;
|
|
208
|
-
card_present: import('convex/values').VAny<any, "optional", string>;
|
|
209
|
-
cashapp: import('convex/values').VAny<any, "optional", string>;
|
|
210
|
-
created: import('convex/values').VFloat64<number, "required">;
|
|
211
|
-
crypto: import('convex/values').VAny<any, "optional", string>;
|
|
212
|
-
customer_balance: import('convex/values').VAny<any, "optional", string>;
|
|
213
|
-
eps: import('convex/values').VAny<any, "optional", string>;
|
|
214
|
-
fpx: import('convex/values').VAny<any, "optional", string>;
|
|
215
|
-
giropay: import('convex/values').VAny<any, "optional", string>;
|
|
216
|
-
grabpay: import('convex/values').VAny<any, "optional", string>;
|
|
217
|
-
ideal: import('convex/values').VAny<any, "optional", string>;
|
|
218
|
-
interac_present: import('convex/values').VAny<any, "optional", string>;
|
|
219
|
-
kakao_pay: import('convex/values').VAny<any, "optional", string>;
|
|
220
|
-
klarna: import('convex/values').VAny<any, "optional", string>;
|
|
221
|
-
konbini: import('convex/values').VAny<any, "optional", string>;
|
|
222
|
-
kr_card: import('convex/values').VAny<any, "optional", string>;
|
|
223
|
-
link: import('convex/values').VAny<any, "optional", string>;
|
|
224
|
-
livemode: import('convex/values').VBoolean<boolean, "required">;
|
|
225
|
-
mobilepay: import('convex/values').VAny<any, "optional", string>;
|
|
226
|
-
multibanco: import('convex/values').VAny<any, "optional", string>;
|
|
227
|
-
naver_pay: import('convex/values').VAny<any, "optional", string>;
|
|
228
|
-
nz_bank_account: import('convex/values').VAny<any, "optional", string>;
|
|
229
|
-
oxxo: import('convex/values').VAny<any, "optional", string>;
|
|
230
|
-
p24: import('convex/values').VAny<any, "optional", string>;
|
|
231
|
-
pay_by_bank: import('convex/values').VAny<any, "optional", string>;
|
|
232
|
-
payco: import('convex/values').VAny<any, "optional", string>;
|
|
233
|
-
paynow: import('convex/values').VAny<any, "optional", string>;
|
|
234
|
-
paypal: import('convex/values').VAny<any, "optional", string>;
|
|
235
|
-
pix: import('convex/values').VAny<any, "optional", string>;
|
|
236
|
-
promptpay: import('convex/values').VAny<any, "optional", string>;
|
|
237
|
-
radar_options: import('convex/values').VAny<any, "optional", string>;
|
|
238
|
-
revolut_pay: import('convex/values').VAny<any, "optional", string>;
|
|
239
|
-
samsung_pay: import('convex/values').VAny<any, "optional", string>;
|
|
240
|
-
satispay: import('convex/values').VAny<any, "optional", string>;
|
|
241
|
-
sepa_debit: import('convex/values').VAny<any, "optional", string>;
|
|
242
|
-
sofort: import('convex/values').VAny<any, "optional", string>;
|
|
243
|
-
swish: import('convex/values').VAny<any, "optional", string>;
|
|
244
|
-
twint: import('convex/values').VAny<any, "optional", string>;
|
|
245
|
-
us_bank_account: import('convex/values').VAny<any, "optional", string>;
|
|
246
|
-
wechat_pay: import('convex/values').VAny<any, "optional", string>;
|
|
247
|
-
zip: import('convex/values').VAny<any, "optional", string>;
|
|
248
|
-
}, "required", "object" | "type" | "id" | "link" | "billing_details" | "customer" | "metadata" | "created" | "livemode" | "radar_options" | `metadata.${string}` | `radar_options.${string}` | "acss_debit" | "affirm" | "afterpay_clearpay" | "alipay" | "alma" | "amazon_pay" | "au_becs_debit" | "bacs_debit" | "bancontact" | "billie" | "blik" | "boleto" | "card" | "cashapp" | "crypto" | "customer_balance" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "kakao_pay" | "klarna" | "konbini" | "kr_card" | "mobilepay" | "multibanco" | "naver_pay" | "nz_bank_account" | "oxxo" | "p24" | "pay_by_bank" | "payco" | "paynow" | "paypal" | "pix" | "promptpay" | "revolut_pay" | "samsung_pay" | "satispay" | "sepa_debit" | "sofort" | "swish" | "twint" | "us_bank_account" | "wechat_pay" | "zip" | "allow_redisplay" | "card_present" | "interac_present" | `link.${string}` | `billing_details.${string}` | `acss_debit.${string}` | `affirm.${string}` | `afterpay_clearpay.${string}` | `alipay.${string}` | `alma.${string}` | `amazon_pay.${string}` | `au_becs_debit.${string}` | `bacs_debit.${string}` | `bancontact.${string}` | `billie.${string}` | `blik.${string}` | `boleto.${string}` | `card.${string}` | `cashapp.${string}` | `crypto.${string}` | `customer_balance.${string}` | `eps.${string}` | `fpx.${string}` | `giropay.${string}` | `grabpay.${string}` | `ideal.${string}` | `kakao_pay.${string}` | `klarna.${string}` | `konbini.${string}` | `kr_card.${string}` | `mobilepay.${string}` | `multibanco.${string}` | `naver_pay.${string}` | `nz_bank_account.${string}` | `oxxo.${string}` | `p24.${string}` | `pay_by_bank.${string}` | `payco.${string}` | `paynow.${string}` | `paypal.${string}` | `pix.${string}` | `promptpay.${string}` | `revolut_pay.${string}` | `samsung_pay.${string}` | `satispay.${string}` | `sepa_debit.${string}` | `sofort.${string}` | `swish.${string}` | `twint.${string}` | `us_bank_account.${string}` | `wechat_pay.${string}` | `zip.${string}` | `card_present.${string}` | `interac_present.${string}`>;
|