@raideno/convex-stripe 0.1.5 → 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 +68 -68
- package/dist/server/schema/charge.d.ts +36 -36
- package/dist/server/schema/credit-note.d.ts +8 -8
- package/dist/server/schema/dispute.d.ts +4 -4
- package/dist/server/schema/index.d.ts +408 -408
- package/dist/server/schema/payment-method.d.ts +208 -208
- package/dist/server/schema/setup-intent.d.ts +12 -12
- package/dist/server/schema/subscription-schedule.d.ts +4 -4
- package/dist/server/store/index.d.ts +68 -68
- package/dist/server.js +100 -132
- package/package.json +1 -1
|
@@ -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}`>;
|
|
@@ -11,11 +11,14 @@ export declare const SetupIntentStripeToConvex: (setupIntent: Stripe.SetupIntent
|
|
|
11
11
|
parent?: string | null | undefined;
|
|
12
12
|
id: string;
|
|
13
13
|
} | null | undefined;
|
|
14
|
+
payment_method_options?: any;
|
|
14
15
|
automatic_payment_methods?: {
|
|
15
16
|
enabled?: boolean | null | undefined;
|
|
16
17
|
allow_redirects?: "always" | "never" | null | undefined;
|
|
17
18
|
} | null | undefined;
|
|
19
|
+
next_action?: any;
|
|
18
20
|
cancellation_reason?: "duplicate" | "abandoned" | "requested_by_customer" | null | undefined;
|
|
21
|
+
last_setup_error?: any;
|
|
19
22
|
attach_to_self?: boolean | null | undefined;
|
|
20
23
|
latest_attempt?: string | null | undefined;
|
|
21
24
|
mandate?: string | null | undefined;
|
|
@@ -25,10 +28,7 @@ export declare const SetupIntentStripeToConvex: (setupIntent: Stripe.SetupIntent
|
|
|
25
28
|
status: "succeeded" | "canceled" | "processing" | "requires_action" | "requires_confirmation" | "requires_payment_method";
|
|
26
29
|
created: number;
|
|
27
30
|
livemode: boolean;
|
|
28
|
-
payment_method_options: any;
|
|
29
31
|
payment_method_types: string[];
|
|
30
|
-
next_action: any;
|
|
31
|
-
last_setup_error: any;
|
|
32
32
|
usage: string;
|
|
33
33
|
flow_directions: ("inbound" | "outbound")[] | null;
|
|
34
34
|
};
|
|
@@ -47,9 +47,9 @@ export declare const SetupIntentSchema: {
|
|
|
47
47
|
client_secret: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
48
48
|
customer: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
49
49
|
description: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
50
|
-
last_setup_error: import('convex/values').VAny<any, "
|
|
50
|
+
last_setup_error: import('convex/values').VAny<any, "optional", string>;
|
|
51
51
|
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>;
|
|
52
|
-
next_action: import('convex/values').VAny<any, "
|
|
52
|
+
next_action: import('convex/values').VAny<any, "optional", string>;
|
|
53
53
|
payment_method: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
54
54
|
status: import('convex/values').VUnion<"succeeded" | "canceled" | "processing" | "requires_action" | "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_confirmation", "required">, import('convex/values').VLiteral<"requires_payment_method", "required">, import('convex/values').VLiteral<"succeeded", "required">], "required", never>;
|
|
55
55
|
usage: import('convex/values').VString<string, "required">;
|
|
@@ -73,7 +73,7 @@ export declare const SetupIntentSchema: {
|
|
|
73
73
|
id: import('convex/values').VString<string, "required">;
|
|
74
74
|
parent: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
75
75
|
}, "required", "id" | "parent">, import('convex/values').VNull<null, "required">], "optional", "id" | "parent">;
|
|
76
|
-
payment_method_options: import('convex/values').VAny<any, "
|
|
76
|
+
payment_method_options: import('convex/values').VAny<any, "optional", string>;
|
|
77
77
|
payment_method_types: import('convex/values').VArray<string[], import('convex/values').VString<string, "required">, "required">;
|
|
78
78
|
single_use_mandate: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
79
79
|
};
|
|
@@ -89,11 +89,14 @@ export declare const SetupIntentObject: import('convex/values').VObject<{
|
|
|
89
89
|
parent?: string | null | undefined;
|
|
90
90
|
id: string;
|
|
91
91
|
} | null | undefined;
|
|
92
|
+
payment_method_options?: any;
|
|
92
93
|
automatic_payment_methods?: {
|
|
93
94
|
enabled?: boolean | null | undefined;
|
|
94
95
|
allow_redirects?: "always" | "never" | null | undefined;
|
|
95
96
|
} | null | undefined;
|
|
97
|
+
next_action?: any;
|
|
96
98
|
cancellation_reason?: "duplicate" | "abandoned" | "requested_by_customer" | null | undefined;
|
|
99
|
+
last_setup_error?: any;
|
|
97
100
|
attach_to_self?: boolean | null | undefined;
|
|
98
101
|
latest_attempt?: string | null | undefined;
|
|
99
102
|
mandate?: string | null | undefined;
|
|
@@ -103,10 +106,7 @@ export declare const SetupIntentObject: import('convex/values').VObject<{
|
|
|
103
106
|
status: "succeeded" | "canceled" | "processing" | "requires_action" | "requires_confirmation" | "requires_payment_method";
|
|
104
107
|
created: number;
|
|
105
108
|
livemode: boolean;
|
|
106
|
-
payment_method_options: any;
|
|
107
109
|
payment_method_types: string[];
|
|
108
|
-
next_action: any;
|
|
109
|
-
last_setup_error: any;
|
|
110
110
|
usage: string;
|
|
111
111
|
flow_directions: ("inbound" | "outbound")[] | null;
|
|
112
112
|
}, {
|
|
@@ -124,9 +124,9 @@ export declare const SetupIntentObject: import('convex/values').VObject<{
|
|
|
124
124
|
client_secret: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
125
125
|
customer: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
126
126
|
description: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
127
|
-
last_setup_error: import('convex/values').VAny<any, "
|
|
127
|
+
last_setup_error: import('convex/values').VAny<any, "optional", string>;
|
|
128
128
|
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>;
|
|
129
|
-
next_action: import('convex/values').VAny<any, "
|
|
129
|
+
next_action: import('convex/values').VAny<any, "optional", string>;
|
|
130
130
|
payment_method: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
131
131
|
status: import('convex/values').VUnion<"succeeded" | "canceled" | "processing" | "requires_action" | "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_confirmation", "required">, import('convex/values').VLiteral<"requires_payment_method", "required">, import('convex/values').VLiteral<"succeeded", "required">], "required", never>;
|
|
132
132
|
usage: import('convex/values').VString<string, "required">;
|
|
@@ -150,7 +150,7 @@ export declare const SetupIntentObject: import('convex/values').VObject<{
|
|
|
150
150
|
id: import('convex/values').VString<string, "required">;
|
|
151
151
|
parent: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
152
152
|
}, "required", "id" | "parent">, import('convex/values').VNull<null, "required">], "optional", "id" | "parent">;
|
|
153
|
-
payment_method_options: import('convex/values').VAny<any, "
|
|
153
|
+
payment_method_options: import('convex/values').VAny<any, "optional", string>;
|
|
154
154
|
payment_method_types: import('convex/values').VArray<string[], import('convex/values').VString<string, "required">, "required">;
|
|
155
155
|
single_use_mandate: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
156
156
|
}, "required", "object" | "id" | "customer" | "description" | "metadata" | "status" | "application" | "created" | "livemode" | "on_behalf_of" | "payment_method" | `metadata.${string}` | "client_secret" | "payment_method_configuration_details" | "payment_method_options" | "payment_method_types" | `payment_method_options.${string}` | "automatic_payment_methods" | "next_action" | "cancellation_reason" | "payment_method_configuration_details.id" | "payment_method_configuration_details.parent" | "automatic_payment_methods.enabled" | "automatic_payment_methods.allow_redirects" | `next_action.${string}` | "last_setup_error" | "usage" | "attach_to_self" | "flow_directions" | "latest_attempt" | "mandate" | "single_use_mandate" | `last_setup_error.${string}`>;
|
|
@@ -8,6 +8,7 @@ export declare const SubscriptionScheduleStripeToConvex: (subscriptionSchedule:
|
|
|
8
8
|
end_date: number;
|
|
9
9
|
start_date: number;
|
|
10
10
|
} | null | undefined;
|
|
11
|
+
phases?: any;
|
|
11
12
|
completed_at?: number | null | undefined;
|
|
12
13
|
default_settings?: {
|
|
13
14
|
description?: string | null | undefined;
|
|
@@ -49,7 +50,6 @@ export declare const SubscriptionScheduleStripeToConvex: (subscriptionSchedule:
|
|
|
49
50
|
status: "canceled" | "completed" | "active" | "not_started" | "released";
|
|
50
51
|
created: number;
|
|
51
52
|
livemode: boolean;
|
|
52
|
-
phases: any;
|
|
53
53
|
billing_mode: {
|
|
54
54
|
updated_at?: number | null | undefined;
|
|
55
55
|
type: "classic" | "flexible";
|
|
@@ -70,7 +70,7 @@ export declare const SubscriptionScheduleSchema: {
|
|
|
70
70
|
}, "required", "end_date" | "start_date">, import('convex/values').VNull<null, "required">], "optional", "end_date" | "start_date">;
|
|
71
71
|
customer: import('convex/values').VString<string, "required">;
|
|
72
72
|
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>;
|
|
73
|
-
phases: import('convex/values').VAny<any, "
|
|
73
|
+
phases: import('convex/values').VAny<any, "optional", string>;
|
|
74
74
|
status: import('convex/values').VUnion<"canceled" | "completed" | "active" | "not_started" | "released", [import('convex/values').VLiteral<"active", "required">, import('convex/values').VLiteral<"canceled", "required">, import('convex/values').VLiteral<"completed", "required">, import('convex/values').VLiteral<"not_started", "required">, import('convex/values').VLiteral<"released", "required">], "required", never>;
|
|
75
75
|
object: import('convex/values').VString<string, "required">;
|
|
76
76
|
application: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
@@ -242,6 +242,7 @@ export declare const SubscriptionScheduleObject: import('convex/values').VObject
|
|
|
242
242
|
end_date: number;
|
|
243
243
|
start_date: number;
|
|
244
244
|
} | null | undefined;
|
|
245
|
+
phases?: any;
|
|
245
246
|
completed_at?: number | null | undefined;
|
|
246
247
|
default_settings?: {
|
|
247
248
|
description?: string | null | undefined;
|
|
@@ -283,7 +284,6 @@ export declare const SubscriptionScheduleObject: import('convex/values').VObject
|
|
|
283
284
|
status: "canceled" | "completed" | "active" | "not_started" | "released";
|
|
284
285
|
created: number;
|
|
285
286
|
livemode: boolean;
|
|
286
|
-
phases: any;
|
|
287
287
|
billing_mode: {
|
|
288
288
|
updated_at?: number | null | undefined;
|
|
289
289
|
type: "classic" | "flexible";
|
|
@@ -303,7 +303,7 @@ export declare const SubscriptionScheduleObject: import('convex/values').VObject
|
|
|
303
303
|
}, "required", "end_date" | "start_date">, import('convex/values').VNull<null, "required">], "optional", "end_date" | "start_date">;
|
|
304
304
|
customer: import('convex/values').VString<string, "required">;
|
|
305
305
|
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>;
|
|
306
|
-
phases: import('convex/values').VAny<any, "
|
|
306
|
+
phases: import('convex/values').VAny<any, "optional", string>;
|
|
307
307
|
status: import('convex/values').VUnion<"canceled" | "completed" | "active" | "not_started" | "released", [import('convex/values').VLiteral<"active", "required">, import('convex/values').VLiteral<"canceled", "required">, import('convex/values').VLiteral<"completed", "required">, import('convex/values').VLiteral<"not_started", "required">, import('convex/values').VLiteral<"released", "required">], "required", never>;
|
|
308
308
|
object: import('convex/values').VString<string, "required">;
|
|
309
309
|
application: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|