@raideno/convex-stripe 0.1.4 → 0.1.6
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/server/index.d.ts +73 -73
- package/dist/server/schema/charge.d.ts +36 -36
- package/dist/server/schema/credit-note.d.ts +8 -8
- package/dist/server/schema/customer.d.ts +4 -4
- package/dist/server/schema/dispute.d.ts +4 -4
- package/dist/server/schema/index.d.ts +458 -458
- package/dist/server/schema/invoice.d.ts +4 -4
- package/dist/server/schema/payment-intent.d.ts +3 -3
- package/dist/server/schema/payment-method.d.ts +208 -208
- package/dist/server/schema/payout.d.ts +9 -9
- package/dist/server/schema/setup-intent.d.ts +21 -21
- package/dist/server/schema/subscription-schedule.d.ts +4 -4
- package/dist/server/store/index.d.ts +73 -73
- package/dist/server.js +263 -146
- package/package.json +1 -1
|
@@ -73,7 +73,7 @@ export declare const InvoiceStripeToConvex: (invoice: Stripe.Invoice & {
|
|
|
73
73
|
attempt_count: number;
|
|
74
74
|
attempted: boolean;
|
|
75
75
|
billing_reason: "subscription" | "automatic_pending_invoice_item_invoice" | "manual" | "quote_accept" | "subscription_create" | "subscription_cycle" | "subscription_threshold" | "subscription_update" | "upcoming" | null;
|
|
76
|
-
customer_tax_exempt: "reverse" | "
|
|
76
|
+
customer_tax_exempt: "reverse" | "none" | "exempt" | null;
|
|
77
77
|
default_tax_rates: any[];
|
|
78
78
|
post_payment_credit_notes_amount: number;
|
|
79
79
|
pre_payment_credit_notes_amount: number;
|
|
@@ -117,7 +117,7 @@ export declare const InvoiceSchema: {
|
|
|
117
117
|
customer_name: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
118
118
|
customer_phone: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
119
119
|
customer_shipping: import('convex/values').VAny<any, "optional", string>;
|
|
120
|
-
customer_tax_exempt: import('convex/values').VUnion<"reverse" | "
|
|
120
|
+
customer_tax_exempt: import('convex/values').VUnion<"reverse" | "none" | "exempt" | null, [import('convex/values').VLiteral<"exempt", "required">, import('convex/values').VLiteral<"none", "required">, import('convex/values').VLiteral<"reverse", "required">, import('convex/values').VNull<null, "required">], "required", never>;
|
|
121
121
|
customer_tax_ids: import('convex/values').VUnion<any[] | null | undefined, [import('convex/values').VArray<any[], import('convex/values').VAny<any, "required", string>, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
122
122
|
default_payment_method: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
123
123
|
default_source: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
@@ -229,7 +229,7 @@ export declare const InvoiceObject: import('convex/values').VObject<{
|
|
|
229
229
|
attempt_count: number;
|
|
230
230
|
attempted: boolean;
|
|
231
231
|
billing_reason: "subscription" | "automatic_pending_invoice_item_invoice" | "manual" | "quote_accept" | "subscription_create" | "subscription_cycle" | "subscription_threshold" | "subscription_update" | "upcoming" | null;
|
|
232
|
-
customer_tax_exempt: "reverse" | "
|
|
232
|
+
customer_tax_exempt: "reverse" | "none" | "exempt" | null;
|
|
233
233
|
default_tax_rates: any[];
|
|
234
234
|
post_payment_credit_notes_amount: number;
|
|
235
235
|
pre_payment_credit_notes_amount: number;
|
|
@@ -272,7 +272,7 @@ export declare const InvoiceObject: import('convex/values').VObject<{
|
|
|
272
272
|
customer_name: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
273
273
|
customer_phone: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
274
274
|
customer_shipping: import('convex/values').VAny<any, "optional", string>;
|
|
275
|
-
customer_tax_exempt: import('convex/values').VUnion<"reverse" | "
|
|
275
|
+
customer_tax_exempt: import('convex/values').VUnion<"reverse" | "none" | "exempt" | null, [import('convex/values').VLiteral<"exempt", "required">, import('convex/values').VLiteral<"none", "required">, import('convex/values').VLiteral<"reverse", "required">, import('convex/values').VNull<null, "required">], "required", never>;
|
|
276
276
|
customer_tax_ids: import('convex/values').VUnion<any[] | null | undefined, [import('convex/values').VArray<any[], import('convex/values').VAny<any, "required", string>, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
277
277
|
default_payment_method: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
278
278
|
default_source: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
@@ -13,7 +13,7 @@ export declare const PaymentIntentSchema: {
|
|
|
13
13
|
}, {
|
|
14
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
15
|
enabled: import('convex/values').VBoolean<boolean, "required">;
|
|
16
|
-
}, "required", "
|
|
16
|
+
}, "required", "enabled" | "allow_redirects">, import('convex/values').VNull<null, "required">], "optional", "enabled" | "allow_redirects">;
|
|
17
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
18
|
currency: import('convex/values').VUnion<string | null, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "required", never>;
|
|
19
19
|
customer: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
@@ -200,7 +200,7 @@ export declare const PaymentIntentObject: import('convex/values').VObject<{
|
|
|
200
200
|
}, {
|
|
201
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
202
|
enabled: import('convex/values').VBoolean<boolean, "required">;
|
|
203
|
-
}, "required", "
|
|
203
|
+
}, "required", "enabled" | "allow_redirects">, import('convex/values').VNull<null, "required">], "optional", "enabled" | "allow_redirects">;
|
|
204
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
205
|
currency: import('convex/values').VUnion<string | null, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "required", never>;
|
|
206
206
|
customer: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
@@ -308,4 +308,4 @@ export declare const PaymentIntentObject: import('convex/values').VObject<{
|
|
|
308
308
|
review: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
309
309
|
transfer_data: import('convex/values').VAny<any, "optional", string>;
|
|
310
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.
|
|
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 +1,248 @@
|
|
|
1
1
|
import { default as Stripe } from 'stripe';
|
|
2
2
|
export declare const PaymentMethodStripeToConvex: (paymentMethod: Stripe.PaymentMethod) => {
|
|
3
|
+
link?: any;
|
|
4
|
+
billing_details?: any;
|
|
3
5
|
customer?: string | null | undefined;
|
|
4
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;
|
|
5
57
|
object: string;
|
|
6
58
|
type: string;
|
|
7
59
|
id: string;
|
|
8
|
-
link: any;
|
|
9
|
-
billing_details: any;
|
|
10
60
|
created: number;
|
|
11
61
|
livemode: boolean;
|
|
12
|
-
radar_options: any;
|
|
13
|
-
acss_debit: any;
|
|
14
|
-
affirm: any;
|
|
15
|
-
afterpay_clearpay: any;
|
|
16
|
-
alipay: any;
|
|
17
|
-
alma: any;
|
|
18
|
-
amazon_pay: any;
|
|
19
|
-
au_becs_debit: any;
|
|
20
|
-
bacs_debit: any;
|
|
21
|
-
bancontact: any;
|
|
22
|
-
billie: any;
|
|
23
|
-
blik: any;
|
|
24
|
-
boleto: any;
|
|
25
|
-
card: any;
|
|
26
|
-
cashapp: any;
|
|
27
|
-
crypto: any;
|
|
28
|
-
customer_balance: any;
|
|
29
|
-
eps: any;
|
|
30
|
-
fpx: any;
|
|
31
|
-
giropay: any;
|
|
32
|
-
grabpay: any;
|
|
33
|
-
ideal: any;
|
|
34
|
-
kakao_pay: any;
|
|
35
|
-
klarna: any;
|
|
36
|
-
konbini: any;
|
|
37
|
-
kr_card: any;
|
|
38
|
-
mobilepay: any;
|
|
39
|
-
multibanco: any;
|
|
40
|
-
naver_pay: any;
|
|
41
|
-
nz_bank_account: any;
|
|
42
|
-
oxxo: any;
|
|
43
|
-
p24: any;
|
|
44
|
-
pay_by_bank: any;
|
|
45
|
-
payco: any;
|
|
46
|
-
paynow: any;
|
|
47
|
-
paypal: any;
|
|
48
|
-
pix: any;
|
|
49
|
-
promptpay: any;
|
|
50
|
-
revolut_pay: any;
|
|
51
|
-
samsung_pay: any;
|
|
52
|
-
satispay: any;
|
|
53
|
-
sepa_debit: any;
|
|
54
|
-
sofort: any;
|
|
55
|
-
swish: any;
|
|
56
|
-
twint: any;
|
|
57
|
-
us_bank_account: any;
|
|
58
|
-
wechat_pay: any;
|
|
59
|
-
zip: any;
|
|
60
62
|
allow_redisplay: "always" | "limited" | "unspecified" | null;
|
|
61
|
-
card_present: any;
|
|
62
|
-
interac_present: any;
|
|
63
63
|
};
|
|
64
64
|
export declare const PaymentMethodSchema: {
|
|
65
65
|
id: import('convex/values').VString<string, "required">;
|
|
66
|
-
billing_details: import('convex/values').VAny<any, "
|
|
66
|
+
billing_details: import('convex/values').VAny<any, "optional", string>;
|
|
67
67
|
customer: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
68
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
69
|
type: import('convex/values').VString<string, "required">;
|
|
70
70
|
object: import('convex/values').VString<string, "required">;
|
|
71
|
-
acss_debit: import('convex/values').VAny<any, "
|
|
72
|
-
affirm: import('convex/values').VAny<any, "
|
|
73
|
-
afterpay_clearpay: import('convex/values').VAny<any, "
|
|
74
|
-
alipay: import('convex/values').VAny<any, "
|
|
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
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, "
|
|
77
|
-
amazon_pay: import('convex/values').VAny<any, "
|
|
78
|
-
au_becs_debit: import('convex/values').VAny<any, "
|
|
79
|
-
bacs_debit: import('convex/values').VAny<any, "
|
|
80
|
-
bancontact: import('convex/values').VAny<any, "
|
|
81
|
-
billie: import('convex/values').VAny<any, "
|
|
82
|
-
blik: import('convex/values').VAny<any, "
|
|
83
|
-
boleto: import('convex/values').VAny<any, "
|
|
84
|
-
card: import('convex/values').VAny<any, "
|
|
85
|
-
card_present: import('convex/values').VAny<any, "
|
|
86
|
-
cashapp: import('convex/values').VAny<any, "
|
|
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
87
|
created: import('convex/values').VFloat64<number, "required">;
|
|
88
|
-
crypto: import('convex/values').VAny<any, "
|
|
89
|
-
customer_balance: import('convex/values').VAny<any, "
|
|
90
|
-
eps: import('convex/values').VAny<any, "
|
|
91
|
-
fpx: import('convex/values').VAny<any, "
|
|
92
|
-
giropay: import('convex/values').VAny<any, "
|
|
93
|
-
grabpay: import('convex/values').VAny<any, "
|
|
94
|
-
ideal: import('convex/values').VAny<any, "
|
|
95
|
-
interac_present: import('convex/values').VAny<any, "
|
|
96
|
-
kakao_pay: import('convex/values').VAny<any, "
|
|
97
|
-
klarna: import('convex/values').VAny<any, "
|
|
98
|
-
konbini: import('convex/values').VAny<any, "
|
|
99
|
-
kr_card: import('convex/values').VAny<any, "
|
|
100
|
-
link: import('convex/values').VAny<any, "
|
|
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
101
|
livemode: import('convex/values').VBoolean<boolean, "required">;
|
|
102
|
-
mobilepay: import('convex/values').VAny<any, "
|
|
103
|
-
multibanco: import('convex/values').VAny<any, "
|
|
104
|
-
naver_pay: import('convex/values').VAny<any, "
|
|
105
|
-
nz_bank_account: import('convex/values').VAny<any, "
|
|
106
|
-
oxxo: import('convex/values').VAny<any, "
|
|
107
|
-
p24: import('convex/values').VAny<any, "
|
|
108
|
-
pay_by_bank: import('convex/values').VAny<any, "
|
|
109
|
-
payco: import('convex/values').VAny<any, "
|
|
110
|
-
paynow: import('convex/values').VAny<any, "
|
|
111
|
-
paypal: import('convex/values').VAny<any, "
|
|
112
|
-
pix: import('convex/values').VAny<any, "
|
|
113
|
-
promptpay: import('convex/values').VAny<any, "
|
|
114
|
-
radar_options: import('convex/values').VAny<any, "
|
|
115
|
-
revolut_pay: import('convex/values').VAny<any, "
|
|
116
|
-
samsung_pay: import('convex/values').VAny<any, "
|
|
117
|
-
satispay: import('convex/values').VAny<any, "
|
|
118
|
-
sepa_debit: import('convex/values').VAny<any, "
|
|
119
|
-
sofort: import('convex/values').VAny<any, "
|
|
120
|
-
swish: import('convex/values').VAny<any, "
|
|
121
|
-
twint: import('convex/values').VAny<any, "
|
|
122
|
-
us_bank_account: import('convex/values').VAny<any, "
|
|
123
|
-
wechat_pay: import('convex/values').VAny<any, "
|
|
124
|
-
zip: import('convex/values').VAny<any, "
|
|
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
125
|
};
|
|
126
126
|
export declare const PaymentMethodObject: import('convex/values').VObject<{
|
|
127
|
+
link?: any;
|
|
128
|
+
billing_details?: any;
|
|
127
129
|
customer?: string | null | undefined;
|
|
128
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;
|
|
129
181
|
object: string;
|
|
130
182
|
type: string;
|
|
131
183
|
id: string;
|
|
132
|
-
link: any;
|
|
133
|
-
billing_details: any;
|
|
134
184
|
created: number;
|
|
135
185
|
livemode: boolean;
|
|
136
|
-
radar_options: any;
|
|
137
|
-
acss_debit: any;
|
|
138
|
-
affirm: any;
|
|
139
|
-
afterpay_clearpay: any;
|
|
140
|
-
alipay: any;
|
|
141
|
-
alma: any;
|
|
142
|
-
amazon_pay: any;
|
|
143
|
-
au_becs_debit: any;
|
|
144
|
-
bacs_debit: any;
|
|
145
|
-
bancontact: any;
|
|
146
|
-
billie: any;
|
|
147
|
-
blik: any;
|
|
148
|
-
boleto: any;
|
|
149
|
-
card: any;
|
|
150
|
-
cashapp: any;
|
|
151
|
-
crypto: any;
|
|
152
|
-
customer_balance: any;
|
|
153
|
-
eps: any;
|
|
154
|
-
fpx: any;
|
|
155
|
-
giropay: any;
|
|
156
|
-
grabpay: any;
|
|
157
|
-
ideal: any;
|
|
158
|
-
kakao_pay: any;
|
|
159
|
-
klarna: any;
|
|
160
|
-
konbini: any;
|
|
161
|
-
kr_card: any;
|
|
162
|
-
mobilepay: any;
|
|
163
|
-
multibanco: any;
|
|
164
|
-
naver_pay: any;
|
|
165
|
-
nz_bank_account: any;
|
|
166
|
-
oxxo: any;
|
|
167
|
-
p24: any;
|
|
168
|
-
pay_by_bank: any;
|
|
169
|
-
payco: any;
|
|
170
|
-
paynow: any;
|
|
171
|
-
paypal: any;
|
|
172
|
-
pix: any;
|
|
173
|
-
promptpay: any;
|
|
174
|
-
revolut_pay: any;
|
|
175
|
-
samsung_pay: any;
|
|
176
|
-
satispay: any;
|
|
177
|
-
sepa_debit: any;
|
|
178
|
-
sofort: any;
|
|
179
|
-
swish: any;
|
|
180
|
-
twint: any;
|
|
181
|
-
us_bank_account: any;
|
|
182
|
-
wechat_pay: any;
|
|
183
|
-
zip: any;
|
|
184
186
|
allow_redisplay: "always" | "limited" | "unspecified" | null;
|
|
185
|
-
card_present: any;
|
|
186
|
-
interac_present: any;
|
|
187
187
|
}, {
|
|
188
188
|
id: import('convex/values').VString<string, "required">;
|
|
189
|
-
billing_details: import('convex/values').VAny<any, "
|
|
189
|
+
billing_details: import('convex/values').VAny<any, "optional", string>;
|
|
190
190
|
customer: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
191
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
192
|
type: import('convex/values').VString<string, "required">;
|
|
193
193
|
object: import('convex/values').VString<string, "required">;
|
|
194
|
-
acss_debit: import('convex/values').VAny<any, "
|
|
195
|
-
affirm: import('convex/values').VAny<any, "
|
|
196
|
-
afterpay_clearpay: import('convex/values').VAny<any, "
|
|
197
|
-
alipay: import('convex/values').VAny<any, "
|
|
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
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, "
|
|
200
|
-
amazon_pay: import('convex/values').VAny<any, "
|
|
201
|
-
au_becs_debit: import('convex/values').VAny<any, "
|
|
202
|
-
bacs_debit: import('convex/values').VAny<any, "
|
|
203
|
-
bancontact: import('convex/values').VAny<any, "
|
|
204
|
-
billie: import('convex/values').VAny<any, "
|
|
205
|
-
blik: import('convex/values').VAny<any, "
|
|
206
|
-
boleto: import('convex/values').VAny<any, "
|
|
207
|
-
card: import('convex/values').VAny<any, "
|
|
208
|
-
card_present: import('convex/values').VAny<any, "
|
|
209
|
-
cashapp: import('convex/values').VAny<any, "
|
|
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
210
|
created: import('convex/values').VFloat64<number, "required">;
|
|
211
|
-
crypto: import('convex/values').VAny<any, "
|
|
212
|
-
customer_balance: import('convex/values').VAny<any, "
|
|
213
|
-
eps: import('convex/values').VAny<any, "
|
|
214
|
-
fpx: import('convex/values').VAny<any, "
|
|
215
|
-
giropay: import('convex/values').VAny<any, "
|
|
216
|
-
grabpay: import('convex/values').VAny<any, "
|
|
217
|
-
ideal: import('convex/values').VAny<any, "
|
|
218
|
-
interac_present: import('convex/values').VAny<any, "
|
|
219
|
-
kakao_pay: import('convex/values').VAny<any, "
|
|
220
|
-
klarna: import('convex/values').VAny<any, "
|
|
221
|
-
konbini: import('convex/values').VAny<any, "
|
|
222
|
-
kr_card: import('convex/values').VAny<any, "
|
|
223
|
-
link: import('convex/values').VAny<any, "
|
|
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
224
|
livemode: import('convex/values').VBoolean<boolean, "required">;
|
|
225
|
-
mobilepay: import('convex/values').VAny<any, "
|
|
226
|
-
multibanco: import('convex/values').VAny<any, "
|
|
227
|
-
naver_pay: import('convex/values').VAny<any, "
|
|
228
|
-
nz_bank_account: import('convex/values').VAny<any, "
|
|
229
|
-
oxxo: import('convex/values').VAny<any, "
|
|
230
|
-
p24: import('convex/values').VAny<any, "
|
|
231
|
-
pay_by_bank: import('convex/values').VAny<any, "
|
|
232
|
-
payco: import('convex/values').VAny<any, "
|
|
233
|
-
paynow: import('convex/values').VAny<any, "
|
|
234
|
-
paypal: import('convex/values').VAny<any, "
|
|
235
|
-
pix: import('convex/values').VAny<any, "
|
|
236
|
-
promptpay: import('convex/values').VAny<any, "
|
|
237
|
-
radar_options: import('convex/values').VAny<any, "
|
|
238
|
-
revolut_pay: import('convex/values').VAny<any, "
|
|
239
|
-
samsung_pay: import('convex/values').VAny<any, "
|
|
240
|
-
satispay: import('convex/values').VAny<any, "
|
|
241
|
-
sepa_debit: import('convex/values').VAny<any, "
|
|
242
|
-
sofort: import('convex/values').VAny<any, "
|
|
243
|
-
swish: import('convex/values').VAny<any, "
|
|
244
|
-
twint: import('convex/values').VAny<any, "
|
|
245
|
-
us_bank_account: import('convex/values').VAny<any, "
|
|
246
|
-
wechat_pay: import('convex/values').VAny<any, "
|
|
247
|
-
zip: import('convex/values').VAny<any, "
|
|
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
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}`>;
|