@raideno/convex-stripe 0.1.2 → 0.1.4
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/actions/pay.d.ts +52 -52
- package/dist/server/actions/setup.d.ts +3 -3
- package/dist/server/actions/subscribe.d.ts +7 -7
- package/dist/server/index.d.ts +451 -73
- package/dist/server/schema/charge.d.ts +294 -0
- package/dist/server/schema/checkout-session.d.ts +21 -21
- package/dist/server/schema/coupon.d.ts +3 -3
- package/dist/server/schema/credit-note.d.ts +228 -0
- package/dist/server/schema/customer.d.ts +19 -19
- package/dist/server/schema/dispute.d.ts +76 -0
- package/dist/server/schema/early-fraud-warning.d.ts +40 -0
- package/dist/server/schema/index.d.ts +4158 -1608
- package/dist/server/schema/invoice.d.ts +35 -35
- package/dist/server/schema/payment-intent.d.ts +28 -28
- package/dist/server/schema/payment-method.d.ts +248 -0
- package/dist/server/schema/payout.d.ts +11 -11
- package/dist/server/schema/plan.d.ts +112 -0
- package/dist/server/schema/price.d.ts +17 -17
- package/dist/server/schema/product.d.ts +7 -7
- package/dist/server/schema/promotion-code.d.ts +7 -7
- package/dist/server/schema/refund.d.ts +11 -11
- package/dist/server/schema/review.d.ts +9 -9
- package/dist/server/schema/setup-intent.d.ts +156 -0
- package/dist/server/schema/subscription-schedule.d.ts +468 -0
- package/dist/server/schema/tax-id.d.ts +120 -0
- package/dist/server/store/index.d.ts +450 -72
- package/dist/server/sync/charges.handler.d.ts +5 -0
- package/dist/server/sync/credit-notes.handler.d.ts +5 -0
- package/dist/server/sync/disputes.handler.d.ts +5 -0
- package/dist/server/sync/early-fraud-warnings.handler.d.ts +5 -0
- package/dist/server/sync/payment-methods.handler.d.ts +5 -0
- package/dist/server/sync/plans.handler.d.ts +5 -0
- package/dist/server/sync/setup-intents.handler.d.ts +5 -0
- package/dist/server/sync/subscription-schedules.handler.d.ts +5 -0
- package/dist/server/sync/tax-id.handler.d.ts +5 -0
- package/dist/server/types.d.ts +1 -9
- package/dist/server/webhooks/charges.handler.d.ts +2 -0
- package/dist/server/webhooks/credit-notes.handler.d.ts +2 -0
- package/dist/server/webhooks/disputes.handler.d.ts +2 -0
- package/dist/server/webhooks/early-fraud-warnings.handler.d.ts +2 -0
- package/dist/server/webhooks/payment-methods.handler.d.ts +2 -0
- package/dist/server/webhooks/plans.handler.d.ts +2 -0
- package/dist/server/webhooks/refunds.handler.d.ts +1 -1
- package/dist/server/webhooks/setup-intent.handler.d.ts +2 -0
- package/dist/server/webhooks/subscription-schedules.handler.d.ts +2 -0
- package/dist/server/webhooks/tax-id.handler.d.ts +2 -0
- package/dist/server.js +2032 -90
- package/package.json +1 -3
- /package/dist/server/sync/{checkouts-session.handler.d.ts → checkout-sessions.handler.d.ts} +0 -0
- /package/dist/server/sync/{payment-intent.handler.d.ts → payment-intents.handler.d.ts} +0 -0
- /package/dist/server/webhooks/{checkouts-session.handler.d.ts → checkout-sessions.handler.d.ts} +0 -0
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
import { default as Stripe } from 'stripe';
|
|
2
|
+
export declare const PaymentMethodStripeToConvex: (paymentMethod: Stripe.PaymentMethod) => {
|
|
3
|
+
customer?: string | null | undefined;
|
|
4
|
+
metadata?: Record<string, string | number | null> | null | undefined;
|
|
5
|
+
object: string;
|
|
6
|
+
type: string;
|
|
7
|
+
id: string;
|
|
8
|
+
link: any;
|
|
9
|
+
billing_details: any;
|
|
10
|
+
created: number;
|
|
11
|
+
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
|
+
allow_redisplay: "always" | "limited" | "unspecified" | null;
|
|
61
|
+
card_present: any;
|
|
62
|
+
interac_present: any;
|
|
63
|
+
};
|
|
64
|
+
export declare const PaymentMethodSchema: {
|
|
65
|
+
id: import('convex/values').VString<string, "required">;
|
|
66
|
+
billing_details: import('convex/values').VAny<any, "required", 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, "required", string>;
|
|
72
|
+
affirm: import('convex/values').VAny<any, "required", string>;
|
|
73
|
+
afterpay_clearpay: import('convex/values').VAny<any, "required", string>;
|
|
74
|
+
alipay: import('convex/values').VAny<any, "required", 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, "required", string>;
|
|
77
|
+
amazon_pay: import('convex/values').VAny<any, "required", string>;
|
|
78
|
+
au_becs_debit: import('convex/values').VAny<any, "required", string>;
|
|
79
|
+
bacs_debit: import('convex/values').VAny<any, "required", string>;
|
|
80
|
+
bancontact: import('convex/values').VAny<any, "required", string>;
|
|
81
|
+
billie: import('convex/values').VAny<any, "required", string>;
|
|
82
|
+
blik: import('convex/values').VAny<any, "required", string>;
|
|
83
|
+
boleto: import('convex/values').VAny<any, "required", string>;
|
|
84
|
+
card: import('convex/values').VAny<any, "required", string>;
|
|
85
|
+
card_present: import('convex/values').VAny<any, "required", string>;
|
|
86
|
+
cashapp: import('convex/values').VAny<any, "required", string>;
|
|
87
|
+
created: import('convex/values').VFloat64<number, "required">;
|
|
88
|
+
crypto: import('convex/values').VAny<any, "required", string>;
|
|
89
|
+
customer_balance: import('convex/values').VAny<any, "required", string>;
|
|
90
|
+
eps: import('convex/values').VAny<any, "required", string>;
|
|
91
|
+
fpx: import('convex/values').VAny<any, "required", string>;
|
|
92
|
+
giropay: import('convex/values').VAny<any, "required", string>;
|
|
93
|
+
grabpay: import('convex/values').VAny<any, "required", string>;
|
|
94
|
+
ideal: import('convex/values').VAny<any, "required", string>;
|
|
95
|
+
interac_present: import('convex/values').VAny<any, "required", string>;
|
|
96
|
+
kakao_pay: import('convex/values').VAny<any, "required", string>;
|
|
97
|
+
klarna: import('convex/values').VAny<any, "required", string>;
|
|
98
|
+
konbini: import('convex/values').VAny<any, "required", string>;
|
|
99
|
+
kr_card: import('convex/values').VAny<any, "required", string>;
|
|
100
|
+
link: import('convex/values').VAny<any, "required", string>;
|
|
101
|
+
livemode: import('convex/values').VBoolean<boolean, "required">;
|
|
102
|
+
mobilepay: import('convex/values').VAny<any, "required", string>;
|
|
103
|
+
multibanco: import('convex/values').VAny<any, "required", string>;
|
|
104
|
+
naver_pay: import('convex/values').VAny<any, "required", string>;
|
|
105
|
+
nz_bank_account: import('convex/values').VAny<any, "required", string>;
|
|
106
|
+
oxxo: import('convex/values').VAny<any, "required", string>;
|
|
107
|
+
p24: import('convex/values').VAny<any, "required", string>;
|
|
108
|
+
pay_by_bank: import('convex/values').VAny<any, "required", string>;
|
|
109
|
+
payco: import('convex/values').VAny<any, "required", string>;
|
|
110
|
+
paynow: import('convex/values').VAny<any, "required", string>;
|
|
111
|
+
paypal: import('convex/values').VAny<any, "required", string>;
|
|
112
|
+
pix: import('convex/values').VAny<any, "required", string>;
|
|
113
|
+
promptpay: import('convex/values').VAny<any, "required", string>;
|
|
114
|
+
radar_options: import('convex/values').VAny<any, "required", string>;
|
|
115
|
+
revolut_pay: import('convex/values').VAny<any, "required", string>;
|
|
116
|
+
samsung_pay: import('convex/values').VAny<any, "required", string>;
|
|
117
|
+
satispay: import('convex/values').VAny<any, "required", string>;
|
|
118
|
+
sepa_debit: import('convex/values').VAny<any, "required", string>;
|
|
119
|
+
sofort: import('convex/values').VAny<any, "required", string>;
|
|
120
|
+
swish: import('convex/values').VAny<any, "required", string>;
|
|
121
|
+
twint: import('convex/values').VAny<any, "required", string>;
|
|
122
|
+
us_bank_account: import('convex/values').VAny<any, "required", string>;
|
|
123
|
+
wechat_pay: import('convex/values').VAny<any, "required", string>;
|
|
124
|
+
zip: import('convex/values').VAny<any, "required", string>;
|
|
125
|
+
};
|
|
126
|
+
export declare const PaymentMethodObject: import('convex/values').VObject<{
|
|
127
|
+
customer?: string | null | undefined;
|
|
128
|
+
metadata?: Record<string, string | number | null> | null | undefined;
|
|
129
|
+
object: string;
|
|
130
|
+
type: string;
|
|
131
|
+
id: string;
|
|
132
|
+
link: any;
|
|
133
|
+
billing_details: any;
|
|
134
|
+
created: number;
|
|
135
|
+
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
|
+
allow_redisplay: "always" | "limited" | "unspecified" | null;
|
|
185
|
+
card_present: any;
|
|
186
|
+
interac_present: any;
|
|
187
|
+
}, {
|
|
188
|
+
id: import('convex/values').VString<string, "required">;
|
|
189
|
+
billing_details: import('convex/values').VAny<any, "required", 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, "required", string>;
|
|
195
|
+
affirm: import('convex/values').VAny<any, "required", string>;
|
|
196
|
+
afterpay_clearpay: import('convex/values').VAny<any, "required", string>;
|
|
197
|
+
alipay: import('convex/values').VAny<any, "required", 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, "required", string>;
|
|
200
|
+
amazon_pay: import('convex/values').VAny<any, "required", string>;
|
|
201
|
+
au_becs_debit: import('convex/values').VAny<any, "required", string>;
|
|
202
|
+
bacs_debit: import('convex/values').VAny<any, "required", string>;
|
|
203
|
+
bancontact: import('convex/values').VAny<any, "required", string>;
|
|
204
|
+
billie: import('convex/values').VAny<any, "required", string>;
|
|
205
|
+
blik: import('convex/values').VAny<any, "required", string>;
|
|
206
|
+
boleto: import('convex/values').VAny<any, "required", string>;
|
|
207
|
+
card: import('convex/values').VAny<any, "required", string>;
|
|
208
|
+
card_present: import('convex/values').VAny<any, "required", string>;
|
|
209
|
+
cashapp: import('convex/values').VAny<any, "required", string>;
|
|
210
|
+
created: import('convex/values').VFloat64<number, "required">;
|
|
211
|
+
crypto: import('convex/values').VAny<any, "required", string>;
|
|
212
|
+
customer_balance: import('convex/values').VAny<any, "required", string>;
|
|
213
|
+
eps: import('convex/values').VAny<any, "required", string>;
|
|
214
|
+
fpx: import('convex/values').VAny<any, "required", string>;
|
|
215
|
+
giropay: import('convex/values').VAny<any, "required", string>;
|
|
216
|
+
grabpay: import('convex/values').VAny<any, "required", string>;
|
|
217
|
+
ideal: import('convex/values').VAny<any, "required", string>;
|
|
218
|
+
interac_present: import('convex/values').VAny<any, "required", string>;
|
|
219
|
+
kakao_pay: import('convex/values').VAny<any, "required", string>;
|
|
220
|
+
klarna: import('convex/values').VAny<any, "required", string>;
|
|
221
|
+
konbini: import('convex/values').VAny<any, "required", string>;
|
|
222
|
+
kr_card: import('convex/values').VAny<any, "required", string>;
|
|
223
|
+
link: import('convex/values').VAny<any, "required", string>;
|
|
224
|
+
livemode: import('convex/values').VBoolean<boolean, "required">;
|
|
225
|
+
mobilepay: import('convex/values').VAny<any, "required", string>;
|
|
226
|
+
multibanco: import('convex/values').VAny<any, "required", string>;
|
|
227
|
+
naver_pay: import('convex/values').VAny<any, "required", string>;
|
|
228
|
+
nz_bank_account: import('convex/values').VAny<any, "required", string>;
|
|
229
|
+
oxxo: import('convex/values').VAny<any, "required", string>;
|
|
230
|
+
p24: import('convex/values').VAny<any, "required", string>;
|
|
231
|
+
pay_by_bank: import('convex/values').VAny<any, "required", string>;
|
|
232
|
+
payco: import('convex/values').VAny<any, "required", string>;
|
|
233
|
+
paynow: import('convex/values').VAny<any, "required", string>;
|
|
234
|
+
paypal: import('convex/values').VAny<any, "required", string>;
|
|
235
|
+
pix: import('convex/values').VAny<any, "required", string>;
|
|
236
|
+
promptpay: import('convex/values').VAny<any, "required", string>;
|
|
237
|
+
radar_options: import('convex/values').VAny<any, "required", string>;
|
|
238
|
+
revolut_pay: import('convex/values').VAny<any, "required", string>;
|
|
239
|
+
samsung_pay: import('convex/values').VAny<any, "required", string>;
|
|
240
|
+
satispay: import('convex/values').VAny<any, "required", string>;
|
|
241
|
+
sepa_debit: import('convex/values').VAny<any, "required", string>;
|
|
242
|
+
sofort: import('convex/values').VAny<any, "required", string>;
|
|
243
|
+
swish: import('convex/values').VAny<any, "required", string>;
|
|
244
|
+
twint: import('convex/values').VAny<any, "required", string>;
|
|
245
|
+
us_bank_account: import('convex/values').VAny<any, "required", string>;
|
|
246
|
+
wechat_pay: import('convex/values').VAny<any, "required", string>;
|
|
247
|
+
zip: import('convex/values').VAny<any, "required", 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}`>;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { default as Stripe } from 'stripe';
|
|
2
2
|
export declare const PayoutStripeToConvex: (payout: Stripe.Payout) => {
|
|
3
|
+
balance_transaction?: string | null | undefined;
|
|
3
4
|
currency?: string | null | undefined;
|
|
4
|
-
metadata?: Record<string, string | number | null> | null | undefined;
|
|
5
5
|
description?: string | null | undefined;
|
|
6
|
+
metadata?: Record<string, string | number | null> | null | undefined;
|
|
6
7
|
statement_descriptor?: string | null | undefined;
|
|
7
8
|
application_fee_amount?: number | null | undefined;
|
|
8
|
-
application_only?: string | null | undefined;
|
|
9
|
-
balance_transaction?: string | null | undefined;
|
|
10
|
-
destination?: string | null | undefined;
|
|
11
9
|
failure_balance_transaction?: string | null | undefined;
|
|
12
10
|
failure_code?: string | null | undefined;
|
|
13
11
|
failure_message?: string | null | undefined;
|
|
12
|
+
application_only?: string | null | undefined;
|
|
13
|
+
destination?: string | null | undefined;
|
|
14
14
|
original_payout?: string | null | undefined;
|
|
15
15
|
payout_method?: string | null | undefined;
|
|
16
16
|
reconciliation_status?: "completed" | "in_progress" | "not_applicable" | undefined;
|
|
@@ -22,10 +22,10 @@ export declare const PayoutStripeToConvex: (payout: Stripe.Payout) => {
|
|
|
22
22
|
object: string;
|
|
23
23
|
type: "card" | "bank_account";
|
|
24
24
|
id: string;
|
|
25
|
+
amount: number;
|
|
25
26
|
status: string;
|
|
26
27
|
created: number;
|
|
27
28
|
livemode: boolean;
|
|
28
|
-
amount: number;
|
|
29
29
|
automatic: boolean;
|
|
30
30
|
arrival_date: number;
|
|
31
31
|
method: string;
|
|
@@ -70,17 +70,17 @@ export declare const PayoutSchema: {
|
|
|
70
70
|
type: import('convex/values').VUnion<"card" | "bank_account", [import('convex/values').VLiteral<"bank_account", "required">, import('convex/values').VLiteral<"card", "required">], "required", never>;
|
|
71
71
|
};
|
|
72
72
|
export declare const PayoutObject: import('convex/values').VObject<{
|
|
73
|
+
balance_transaction?: string | null | undefined;
|
|
73
74
|
currency?: string | null | undefined;
|
|
74
|
-
metadata?: Record<string, string | number | null> | null | undefined;
|
|
75
75
|
description?: string | null | undefined;
|
|
76
|
+
metadata?: Record<string, string | number | null> | null | undefined;
|
|
76
77
|
statement_descriptor?: string | null | undefined;
|
|
77
78
|
application_fee_amount?: number | null | undefined;
|
|
78
|
-
application_only?: string | null | undefined;
|
|
79
|
-
balance_transaction?: string | null | undefined;
|
|
80
|
-
destination?: string | null | undefined;
|
|
81
79
|
failure_balance_transaction?: string | null | undefined;
|
|
82
80
|
failure_code?: string | null | undefined;
|
|
83
81
|
failure_message?: string | null | undefined;
|
|
82
|
+
application_only?: string | null | undefined;
|
|
83
|
+
destination?: string | null | undefined;
|
|
84
84
|
original_payout?: string | null | undefined;
|
|
85
85
|
payout_method?: string | null | undefined;
|
|
86
86
|
reconciliation_status?: "completed" | "in_progress" | "not_applicable" | undefined;
|
|
@@ -92,10 +92,10 @@ export declare const PayoutObject: import('convex/values').VObject<{
|
|
|
92
92
|
object: string;
|
|
93
93
|
type: "card" | "bank_account";
|
|
94
94
|
id: string;
|
|
95
|
+
amount: number;
|
|
95
96
|
status: string;
|
|
96
97
|
created: number;
|
|
97
98
|
livemode: boolean;
|
|
98
|
-
amount: number;
|
|
99
99
|
automatic: boolean;
|
|
100
100
|
arrival_date: number;
|
|
101
101
|
method: string;
|
|
@@ -137,4 +137,4 @@ export declare const PayoutObject: import('convex/values').VObject<{
|
|
|
137
137
|
value: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
138
138
|
}, "required", "status" | "value">], "optional", "status" | "value">;
|
|
139
139
|
type: import('convex/values').VUnion<"card" | "bank_account", [import('convex/values').VLiteral<"bank_account", "required">, import('convex/values').VLiteral<"card", "required">], "required", never>;
|
|
140
|
-
}, "required", "object" | "type" | "id" | "
|
|
140
|
+
}, "required", "object" | "type" | "id" | "amount" | "balance_transaction" | "currency" | "description" | "metadata" | "statement_descriptor" | "status" | "application_fee_amount" | "created" | "failure_balance_transaction" | "failure_code" | "failure_message" | "livemode" | `metadata.${string}` | "automatic" | "arrival_date" | "application_only" | "destination" | "method" | "original_payout" | "payout_method" | "reconciliation_status" | "reversed_by" | "source_type" | "trace_id" | "trace_id.status" | "trace_id.value">;
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { default as Stripe } from 'stripe';
|
|
2
|
+
export declare const PlanStripeToConvex: (plan: Stripe.Plan) => {
|
|
3
|
+
amount?: number | null | undefined;
|
|
4
|
+
metadata?: Record<string, string | number | null> | null | undefined;
|
|
5
|
+
nickname?: string | null | undefined;
|
|
6
|
+
product?: string | null | undefined;
|
|
7
|
+
amount_decimal?: string | null | undefined;
|
|
8
|
+
meter?: string | null | undefined;
|
|
9
|
+
tiers?: any[] | null | undefined;
|
|
10
|
+
tiers_mode?: "graduated" | "volume" | null | undefined;
|
|
11
|
+
transform_usage?: {
|
|
12
|
+
divide_by: number;
|
|
13
|
+
round: "up" | "down";
|
|
14
|
+
} | null | undefined;
|
|
15
|
+
trial_period_days?: number | null | undefined;
|
|
16
|
+
object: string;
|
|
17
|
+
id: string;
|
|
18
|
+
currency: string;
|
|
19
|
+
created: number;
|
|
20
|
+
livemode: boolean;
|
|
21
|
+
active: boolean;
|
|
22
|
+
interval: "day" | "week" | "month" | "year";
|
|
23
|
+
billing_scheme: "per_unit" | "tiered";
|
|
24
|
+
interval_count: number;
|
|
25
|
+
usage_type: string;
|
|
26
|
+
};
|
|
27
|
+
export declare const PlanSchema: {
|
|
28
|
+
id: import('convex/values').VString<string, "required">;
|
|
29
|
+
active: import('convex/values').VBoolean<boolean, "required">;
|
|
30
|
+
amount: import('convex/values').VUnion<number | null | undefined, [import('convex/values').VFloat64<number, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
31
|
+
currency: import('convex/values').VString<string, "required">;
|
|
32
|
+
interval: import('convex/values').VUnion<"day" | "week" | "month" | "year", [import('convex/values').VLiteral<"day", "required">, import('convex/values').VLiteral<"week", "required">, import('convex/values').VLiteral<"month", "required">, import('convex/values').VLiteral<"year", "required">], "required", never>;
|
|
33
|
+
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>;
|
|
34
|
+
nickname: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
35
|
+
product: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
36
|
+
object: import('convex/values').VString<string, "required">;
|
|
37
|
+
amount_decimal: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
38
|
+
billing_scheme: import('convex/values').VUnion<"per_unit" | "tiered", [import('convex/values').VLiteral<"per_unit", "required">, import('convex/values').VLiteral<"tiered", "required">], "required", never>;
|
|
39
|
+
created: import('convex/values').VFloat64<number, "required">;
|
|
40
|
+
interval_count: import('convex/values').VFloat64<number, "required">;
|
|
41
|
+
livemode: import('convex/values').VBoolean<boolean, "required">;
|
|
42
|
+
meter: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
43
|
+
tiers: 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>;
|
|
44
|
+
tiers_mode: import('convex/values').VUnion<"graduated" | "volume" | null | undefined, [import('convex/values').VLiteral<"graduated", "required">, import('convex/values').VLiteral<"volume", "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
45
|
+
transform_usage: import('convex/values').VUnion<{
|
|
46
|
+
divide_by: number;
|
|
47
|
+
round: "up" | "down";
|
|
48
|
+
} | null | undefined, [import('convex/values').VObject<{
|
|
49
|
+
divide_by: number;
|
|
50
|
+
round: "up" | "down";
|
|
51
|
+
}, {
|
|
52
|
+
divide_by: import('convex/values').VFloat64<number, "required">;
|
|
53
|
+
round: import('convex/values').VUnion<"up" | "down", [import('convex/values').VLiteral<"up", "required">, import('convex/values').VLiteral<"down", "required">], "required", never>;
|
|
54
|
+
}, "required", "divide_by" | "round">, import('convex/values').VNull<null, "required">], "optional", "divide_by" | "round">;
|
|
55
|
+
trial_period_days: import('convex/values').VUnion<number | null | undefined, [import('convex/values').VFloat64<number, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
56
|
+
usage_type: import('convex/values').VString<string, "required">;
|
|
57
|
+
};
|
|
58
|
+
export declare const PlanObject: import('convex/values').VObject<{
|
|
59
|
+
amount?: number | null | undefined;
|
|
60
|
+
metadata?: Record<string, string | number | null> | null | undefined;
|
|
61
|
+
nickname?: string | null | undefined;
|
|
62
|
+
product?: string | null | undefined;
|
|
63
|
+
amount_decimal?: string | null | undefined;
|
|
64
|
+
meter?: string | null | undefined;
|
|
65
|
+
tiers?: any[] | null | undefined;
|
|
66
|
+
tiers_mode?: "graduated" | "volume" | null | undefined;
|
|
67
|
+
transform_usage?: {
|
|
68
|
+
divide_by: number;
|
|
69
|
+
round: "up" | "down";
|
|
70
|
+
} | null | undefined;
|
|
71
|
+
trial_period_days?: number | null | undefined;
|
|
72
|
+
object: string;
|
|
73
|
+
id: string;
|
|
74
|
+
currency: string;
|
|
75
|
+
created: number;
|
|
76
|
+
livemode: boolean;
|
|
77
|
+
active: boolean;
|
|
78
|
+
interval: "day" | "week" | "month" | "year";
|
|
79
|
+
billing_scheme: "per_unit" | "tiered";
|
|
80
|
+
interval_count: number;
|
|
81
|
+
usage_type: string;
|
|
82
|
+
}, {
|
|
83
|
+
id: import('convex/values').VString<string, "required">;
|
|
84
|
+
active: import('convex/values').VBoolean<boolean, "required">;
|
|
85
|
+
amount: import('convex/values').VUnion<number | null | undefined, [import('convex/values').VFloat64<number, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
86
|
+
currency: import('convex/values').VString<string, "required">;
|
|
87
|
+
interval: import('convex/values').VUnion<"day" | "week" | "month" | "year", [import('convex/values').VLiteral<"day", "required">, import('convex/values').VLiteral<"week", "required">, import('convex/values').VLiteral<"month", "required">, import('convex/values').VLiteral<"year", "required">], "required", never>;
|
|
88
|
+
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>;
|
|
89
|
+
nickname: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
90
|
+
product: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
91
|
+
object: import('convex/values').VString<string, "required">;
|
|
92
|
+
amount_decimal: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
93
|
+
billing_scheme: import('convex/values').VUnion<"per_unit" | "tiered", [import('convex/values').VLiteral<"per_unit", "required">, import('convex/values').VLiteral<"tiered", "required">], "required", never>;
|
|
94
|
+
created: import('convex/values').VFloat64<number, "required">;
|
|
95
|
+
interval_count: import('convex/values').VFloat64<number, "required">;
|
|
96
|
+
livemode: import('convex/values').VBoolean<boolean, "required">;
|
|
97
|
+
meter: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
98
|
+
tiers: 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>;
|
|
99
|
+
tiers_mode: import('convex/values').VUnion<"graduated" | "volume" | null | undefined, [import('convex/values').VLiteral<"graduated", "required">, import('convex/values').VLiteral<"volume", "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
100
|
+
transform_usage: import('convex/values').VUnion<{
|
|
101
|
+
divide_by: number;
|
|
102
|
+
round: "up" | "down";
|
|
103
|
+
} | null | undefined, [import('convex/values').VObject<{
|
|
104
|
+
divide_by: number;
|
|
105
|
+
round: "up" | "down";
|
|
106
|
+
}, {
|
|
107
|
+
divide_by: import('convex/values').VFloat64<number, "required">;
|
|
108
|
+
round: import('convex/values').VUnion<"up" | "down", [import('convex/values').VLiteral<"up", "required">, import('convex/values').VLiteral<"down", "required">], "required", never>;
|
|
109
|
+
}, "required", "divide_by" | "round">, import('convex/values').VNull<null, "required">], "optional", "divide_by" | "round">;
|
|
110
|
+
trial_period_days: import('convex/values').VUnion<number | null | undefined, [import('convex/values').VFloat64<number, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
111
|
+
usage_type: import('convex/values').VString<string, "required">;
|
|
112
|
+
}, "required", "object" | "id" | "amount" | "currency" | "metadata" | "created" | "livemode" | `metadata.${string}` | "active" | "interval" | "nickname" | "product" | "amount_decimal" | "billing_scheme" | "interval_count" | "meter" | "tiers" | "tiers_mode" | "transform_usage" | "trial_period_days" | "usage_type" | "transform_usage.divide_by" | "transform_usage.round">;
|
|
@@ -7,20 +7,20 @@ export declare const PriceStripeToConvex: (price: Stripe.Price) => {
|
|
|
7
7
|
currency: string;
|
|
8
8
|
created: number;
|
|
9
9
|
livemode: boolean;
|
|
10
|
+
active: boolean;
|
|
11
|
+
nickname: string | null;
|
|
12
|
+
billing_scheme: "per_unit" | "tiered";
|
|
13
|
+
tiers_mode: "graduated" | "volume" | null;
|
|
10
14
|
recurring: {
|
|
11
15
|
interval: "day" | "week" | "month" | "year";
|
|
12
16
|
interval_count: number;
|
|
13
|
-
trial_period_days: number | null;
|
|
14
17
|
meter: string | null;
|
|
18
|
+
trial_period_days: number | null;
|
|
15
19
|
usage_type: "licensed" | "metered";
|
|
16
20
|
} | null;
|
|
17
|
-
active: boolean;
|
|
18
|
-
nickname: string | null;
|
|
19
21
|
productId: string;
|
|
20
22
|
unit_amount: number | null;
|
|
21
|
-
billing_scheme: "per_unit" | "tiered";
|
|
22
23
|
lookup_key: string | null;
|
|
23
|
-
tiers_mode: "graduated" | "volume" | null;
|
|
24
24
|
transform_quantity: {
|
|
25
25
|
divide_by: number;
|
|
26
26
|
round: "up" | "down";
|
|
@@ -37,14 +37,14 @@ export declare const PriceSchema: {
|
|
|
37
37
|
recurring: import('convex/values').VUnion<{
|
|
38
38
|
interval: "day" | "week" | "month" | "year";
|
|
39
39
|
interval_count: number;
|
|
40
|
-
trial_period_days: number | null;
|
|
41
40
|
meter: string | null;
|
|
41
|
+
trial_period_days: number | null;
|
|
42
42
|
usage_type: "licensed" | "metered";
|
|
43
43
|
} | null, [import('convex/values').VObject<{
|
|
44
44
|
interval: "day" | "week" | "month" | "year";
|
|
45
45
|
interval_count: number;
|
|
46
|
-
trial_period_days: number | null;
|
|
47
46
|
meter: string | null;
|
|
47
|
+
trial_period_days: number | null;
|
|
48
48
|
usage_type: "licensed" | "metered";
|
|
49
49
|
}, {
|
|
50
50
|
interval: import('convex/values').VUnion<"day" | "week" | "month" | "year", [import('convex/values').VLiteral<"day", "required">, import('convex/values').VLiteral<"week", "required">, import('convex/values').VLiteral<"month", "required">, import('convex/values').VLiteral<"year", "required">], "required", never>;
|
|
@@ -52,7 +52,7 @@ export declare const PriceSchema: {
|
|
|
52
52
|
trial_period_days: import('convex/values').VUnion<number | null, [import('convex/values').VFloat64<number, "required">, import('convex/values').VNull<null, "required">], "required", never>;
|
|
53
53
|
meter: import('convex/values').VUnion<string | null, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "required", never>;
|
|
54
54
|
usage_type: import('convex/values').VUnion<"licensed" | "metered", [import('convex/values').VLiteral<"licensed", "required">, import('convex/values').VLiteral<"metered", "required">], "required", never>;
|
|
55
|
-
}, "required", "interval" | "interval_count" | "
|
|
55
|
+
}, "required", "interval" | "interval_count" | "meter" | "trial_period_days" | "usage_type">, import('convex/values').VNull<null, "required">], "required", "interval" | "interval_count" | "meter" | "trial_period_days" | "usage_type">;
|
|
56
56
|
productId: import('convex/values').VString<string, "required">;
|
|
57
57
|
type: import('convex/values').VUnion<"one_time" | "recurring", [import('convex/values').VLiteral<"one_time", "required">, import('convex/values').VLiteral<"recurring", "required">], "required", never>;
|
|
58
58
|
unit_amount: import('convex/values').VUnion<number | null, [import('convex/values').VFloat64<number, "required">, import('convex/values').VNull<null, "required">], "required", never>;
|
|
@@ -81,20 +81,20 @@ export declare const PriceObject: import('convex/values').VObject<{
|
|
|
81
81
|
currency: string;
|
|
82
82
|
created: number;
|
|
83
83
|
livemode: boolean;
|
|
84
|
+
active: boolean;
|
|
85
|
+
nickname: string | null;
|
|
86
|
+
billing_scheme: "per_unit" | "tiered";
|
|
87
|
+
tiers_mode: "graduated" | "volume" | null;
|
|
84
88
|
recurring: {
|
|
85
89
|
interval: "day" | "week" | "month" | "year";
|
|
86
90
|
interval_count: number;
|
|
87
|
-
trial_period_days: number | null;
|
|
88
91
|
meter: string | null;
|
|
92
|
+
trial_period_days: number | null;
|
|
89
93
|
usage_type: "licensed" | "metered";
|
|
90
94
|
} | null;
|
|
91
|
-
active: boolean;
|
|
92
|
-
nickname: string | null;
|
|
93
95
|
productId: string;
|
|
94
96
|
unit_amount: number | null;
|
|
95
|
-
billing_scheme: "per_unit" | "tiered";
|
|
96
97
|
lookup_key: string | null;
|
|
97
|
-
tiers_mode: "graduated" | "volume" | null;
|
|
98
98
|
transform_quantity: {
|
|
99
99
|
divide_by: number;
|
|
100
100
|
round: "up" | "down";
|
|
@@ -110,14 +110,14 @@ export declare const PriceObject: import('convex/values').VObject<{
|
|
|
110
110
|
recurring: import('convex/values').VUnion<{
|
|
111
111
|
interval: "day" | "week" | "month" | "year";
|
|
112
112
|
interval_count: number;
|
|
113
|
-
trial_period_days: number | null;
|
|
114
113
|
meter: string | null;
|
|
114
|
+
trial_period_days: number | null;
|
|
115
115
|
usage_type: "licensed" | "metered";
|
|
116
116
|
} | null, [import('convex/values').VObject<{
|
|
117
117
|
interval: "day" | "week" | "month" | "year";
|
|
118
118
|
interval_count: number;
|
|
119
|
-
trial_period_days: number | null;
|
|
120
119
|
meter: string | null;
|
|
120
|
+
trial_period_days: number | null;
|
|
121
121
|
usage_type: "licensed" | "metered";
|
|
122
122
|
}, {
|
|
123
123
|
interval: import('convex/values').VUnion<"day" | "week" | "month" | "year", [import('convex/values').VLiteral<"day", "required">, import('convex/values').VLiteral<"week", "required">, import('convex/values').VLiteral<"month", "required">, import('convex/values').VLiteral<"year", "required">], "required", never>;
|
|
@@ -125,7 +125,7 @@ export declare const PriceObject: import('convex/values').VObject<{
|
|
|
125
125
|
trial_period_days: import('convex/values').VUnion<number | null, [import('convex/values').VFloat64<number, "required">, import('convex/values').VNull<null, "required">], "required", never>;
|
|
126
126
|
meter: import('convex/values').VUnion<string | null, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "required", never>;
|
|
127
127
|
usage_type: import('convex/values').VUnion<"licensed" | "metered", [import('convex/values').VLiteral<"licensed", "required">, import('convex/values').VLiteral<"metered", "required">], "required", never>;
|
|
128
|
-
}, "required", "interval" | "interval_count" | "
|
|
128
|
+
}, "required", "interval" | "interval_count" | "meter" | "trial_period_days" | "usage_type">, import('convex/values').VNull<null, "required">], "required", "interval" | "interval_count" | "meter" | "trial_period_days" | "usage_type">;
|
|
129
129
|
productId: import('convex/values').VString<string, "required">;
|
|
130
130
|
type: import('convex/values').VUnion<"one_time" | "recurring", [import('convex/values').VLiteral<"one_time", "required">, import('convex/values').VLiteral<"recurring", "required">], "required", never>;
|
|
131
131
|
unit_amount: import('convex/values').VUnion<number | null, [import('convex/values').VFloat64<number, "required">, import('convex/values').VNull<null, "required">], "required", never>;
|
|
@@ -145,4 +145,4 @@ export declare const PriceObject: import('convex/values').VObject<{
|
|
|
145
145
|
round: import('convex/values').VUnion<"up" | "down", [import('convex/values').VLiteral<"up", "required">, import('convex/values').VLiteral<"down", "required">], "required", never>;
|
|
146
146
|
}, "required", "divide_by" | "round">, import('convex/values').VNull<null, "required">], "required", "divide_by" | "round">;
|
|
147
147
|
unit_amount_decimal: import('convex/values').VUnion<string | null, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "required", never>;
|
|
148
|
-
}, "required", "object" | "type" | "id" | "currency" | "metadata" | "created" | "livemode" | `metadata.${string}` | "
|
|
148
|
+
}, "required", "object" | "type" | "id" | "currency" | "metadata" | "created" | "livemode" | `metadata.${string}` | "active" | "nickname" | "billing_scheme" | "tiers_mode" | "recurring" | "productId" | "unit_amount" | "lookup_key" | "transform_quantity" | "unit_amount_decimal" | "recurring.interval" | "recurring.interval_count" | "recurring.meter" | "recurring.trial_period_days" | "recurring.usage_type" | "transform_quantity.divide_by" | "transform_quantity.round">;
|
|
@@ -5,11 +5,11 @@ export declare const ProductStripeToConvex: (product: Stripe.Product) => {
|
|
|
5
5
|
unit_label?: string | null | undefined;
|
|
6
6
|
object: string;
|
|
7
7
|
id: string;
|
|
8
|
-
url: string | null;
|
|
9
|
-
created: number;
|
|
10
|
-
livemode: boolean;
|
|
11
8
|
name: string;
|
|
12
9
|
description: string | null;
|
|
10
|
+
created: number;
|
|
11
|
+
livemode: boolean;
|
|
12
|
+
url: string | null;
|
|
13
13
|
active: boolean;
|
|
14
14
|
images: string[];
|
|
15
15
|
package_dimensions: {
|
|
@@ -71,11 +71,11 @@ export declare const ProductObject: import('convex/values').VObject<{
|
|
|
71
71
|
unit_label?: string | null | undefined;
|
|
72
72
|
object: string;
|
|
73
73
|
id: string;
|
|
74
|
-
url: string | null;
|
|
75
|
-
created: number;
|
|
76
|
-
livemode: boolean;
|
|
77
74
|
name: string;
|
|
78
75
|
description: string | null;
|
|
76
|
+
created: number;
|
|
77
|
+
livemode: boolean;
|
|
78
|
+
url: string | null;
|
|
79
79
|
active: boolean;
|
|
80
80
|
images: string[];
|
|
81
81
|
package_dimensions: {
|
|
@@ -129,4 +129,4 @@ export declare const ProductObject: import('convex/values').VObject<{
|
|
|
129
129
|
name: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
130
130
|
}, "required", "name">, "required">;
|
|
131
131
|
default_price: import('convex/values').VUnion<string | null, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "required", never>;
|
|
132
|
-
}, "required", "object" | "id" | "metadata" | "
|
|
132
|
+
}, "required", "object" | "id" | "name" | "description" | "metadata" | "statement_descriptor" | "created" | "livemode" | `metadata.${string}` | "url" | "active" | "images" | "package_dimensions" | "shippable" | "unit_label" | "updated" | "marketing_features" | "default_price" | "package_dimensions.length" | "package_dimensions.height" | "package_dimensions.weight" | "package_dimensions.width">;
|