@raideno/convex-stripe 0.1.3 → 0.1.5
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 +5 -5
- package/dist/server/schema/customer.d.ts +4 -4
- package/dist/server/schema/index.d.ts +51 -53
- package/dist/server/schema/invoice.d.ts +4 -4
- package/dist/server/schema/payment-intent.d.ts +3 -3
- package/dist/server/schema/payout.d.ts +9 -9
- package/dist/server/schema/setup-intent.d.ts +9 -9
- package/dist/server/store/index.d.ts +5 -5
- package/dist/server/types.d.ts +1 -9
- package/dist/server.js +173 -15
- package/package.json +1 -1
package/dist/server/index.d.ts
CHANGED
|
@@ -156,7 +156,7 @@ export declare const internalConvexStripe: (configuration_: InputConfiguration)
|
|
|
156
156
|
preferred_locales?: string[] | null | undefined;
|
|
157
157
|
sources?: any;
|
|
158
158
|
subscriptions?: any;
|
|
159
|
-
tax_exempt?: "reverse" | "
|
|
159
|
+
tax_exempt?: "reverse" | "none" | "exempt" | null | undefined;
|
|
160
160
|
tax_ids?: any;
|
|
161
161
|
test_clock?: string | null | undefined;
|
|
162
162
|
object: string;
|
|
@@ -261,15 +261,15 @@ export declare const internalConvexStripe: (configuration_: InputConfiguration)
|
|
|
261
261
|
description?: string | null | undefined;
|
|
262
262
|
metadata?: Record<string, string | number | null> | null | undefined;
|
|
263
263
|
statement_descriptor?: string | null | undefined;
|
|
264
|
+
application_fee?: string | null | undefined;
|
|
264
265
|
application_fee_amount?: number | null | undefined;
|
|
265
266
|
failure_balance_transaction?: string | null | undefined;
|
|
266
267
|
failure_code?: string | null | undefined;
|
|
267
268
|
failure_message?: string | null | undefined;
|
|
268
|
-
application_only?: string | null | undefined;
|
|
269
269
|
destination?: string | null | undefined;
|
|
270
270
|
original_payout?: string | null | undefined;
|
|
271
271
|
payout_method?: string | null | undefined;
|
|
272
|
-
reconciliation_status?: "completed" | "in_progress" | "not_applicable" | undefined;
|
|
272
|
+
reconciliation_status?: "completed" | "in_progress" | "not_applicable" | null | undefined;
|
|
273
273
|
reversed_by?: string | null | undefined;
|
|
274
274
|
trace_id?: {
|
|
275
275
|
value?: string | null | undefined;
|
|
@@ -533,7 +533,7 @@ export declare const internalConvexStripe: (configuration_: InputConfiguration)
|
|
|
533
533
|
attempt_count: number;
|
|
534
534
|
attempted: boolean;
|
|
535
535
|
billing_reason: "subscription" | "automatic_pending_invoice_item_invoice" | "manual" | "quote_accept" | "subscription_create" | "subscription_cycle" | "subscription_threshold" | "subscription_update" | "upcoming" | null;
|
|
536
|
-
customer_tax_exempt: "reverse" | "
|
|
536
|
+
customer_tax_exempt: "reverse" | "none" | "exempt" | null;
|
|
537
537
|
default_tax_rates: any[];
|
|
538
538
|
post_payment_credit_notes_amount: number;
|
|
539
539
|
pre_payment_credit_notes_amount: number;
|
|
@@ -684,8 +684,8 @@ export declare const internalConvexStripe: (configuration_: InputConfiguration)
|
|
|
684
684
|
id: string;
|
|
685
685
|
} | null | undefined;
|
|
686
686
|
automatic_payment_methods?: {
|
|
687
|
-
allow_redirects?: "always" | "never" | null | undefined;
|
|
688
687
|
enabled?: boolean | null | undefined;
|
|
688
|
+
allow_redirects?: "always" | "never" | null | undefined;
|
|
689
689
|
} | null | undefined;
|
|
690
690
|
cancellation_reason?: "duplicate" | "abandoned" | "requested_by_customer" | null | undefined;
|
|
691
691
|
attach_to_self?: boolean | null | undefined;
|
|
@@ -48,7 +48,7 @@ export declare const CustomerStripeToConvex: (customer: Stripe.Customer) => {
|
|
|
48
48
|
preferred_locales?: string[] | null | undefined;
|
|
49
49
|
sources?: any;
|
|
50
50
|
subscriptions?: any;
|
|
51
|
-
tax_exempt?: "reverse" | "
|
|
51
|
+
tax_exempt?: "reverse" | "none" | "exempt" | null | undefined;
|
|
52
52
|
tax_ids?: any;
|
|
53
53
|
test_clock?: string | null | undefined;
|
|
54
54
|
object: string;
|
|
@@ -182,7 +182,7 @@ export declare const CustomerSchema: {
|
|
|
182
182
|
preferred_locales: import('convex/values').VUnion<string[] | null | undefined, [import('convex/values').VArray<string[], import('convex/values').VString<string, "required">, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
183
183
|
sources: import('convex/values').VUnion<any, [import('convex/values').VAny<any, "required", string>, import('convex/values').VNull<null, "required">], "optional", string>;
|
|
184
184
|
subscriptions: import('convex/values').VUnion<any, [import('convex/values').VAny<any, "required", string>, import('convex/values').VNull<null, "required">], "optional", string>;
|
|
185
|
-
tax_exempt: import('convex/values').VUnion<"reverse" | "
|
|
185
|
+
tax_exempt: import('convex/values').VUnion<"reverse" | "none" | "exempt" | null | undefined, [import('convex/values').VLiteral<"exempt", "required">, import('convex/values').VLiteral<"none", "required">, import('convex/values').VLiteral<"reverse", "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
186
186
|
tax_ids: import('convex/values').VUnion<any, [import('convex/values').VAny<any, "required", string>, import('convex/values').VNull<null, "required">], "optional", string>;
|
|
187
187
|
test_clock: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
188
188
|
};
|
|
@@ -235,7 +235,7 @@ export declare const CustomerObject: import('convex/values').VObject<{
|
|
|
235
235
|
preferred_locales?: string[] | null | undefined;
|
|
236
236
|
sources?: any;
|
|
237
237
|
subscriptions?: any;
|
|
238
|
-
tax_exempt?: "reverse" | "
|
|
238
|
+
tax_exempt?: "reverse" | "none" | "exempt" | null | undefined;
|
|
239
239
|
tax_ids?: any;
|
|
240
240
|
test_clock?: string | null | undefined;
|
|
241
241
|
object: string;
|
|
@@ -360,7 +360,7 @@ export declare const CustomerObject: import('convex/values').VObject<{
|
|
|
360
360
|
preferred_locales: import('convex/values').VUnion<string[] | null | undefined, [import('convex/values').VArray<string[], import('convex/values').VString<string, "required">, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
361
361
|
sources: import('convex/values').VUnion<any, [import('convex/values').VAny<any, "required", string>, import('convex/values').VNull<null, "required">], "optional", string>;
|
|
362
362
|
subscriptions: import('convex/values').VUnion<any, [import('convex/values').VAny<any, "required", string>, import('convex/values').VNull<null, "required">], "optional", string>;
|
|
363
|
-
tax_exempt: import('convex/values').VUnion<"reverse" | "
|
|
363
|
+
tax_exempt: import('convex/values').VUnion<"reverse" | "none" | "exempt" | null | undefined, [import('convex/values').VLiteral<"exempt", "required">, import('convex/values').VLiteral<"none", "required">, import('convex/values').VLiteral<"reverse", "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
364
364
|
tax_ids: import('convex/values').VUnion<any, [import('convex/values').VAny<any, "required", string>, import('convex/values').VNull<null, "required">], "optional", string>;
|
|
365
365
|
test_clock: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
366
366
|
}, "required", "object" | "id" | "address" | "email" | "name" | "phone" | "address.city" | "address.country" | "address.line1" | "address.line2" | "address.postal_code" | "address.state" | "currency" | "description" | "metadata" | "shipping" | "created" | "livemode" | `metadata.${string}` | "discount" | "tax" | "balance" | "cash_balance" | "default_source" | "delinquent" | "invoice_credit_balance" | "invoice_prefix" | "invoice_settings" | "next_invoice_sequence" | "preferred_locales" | "sources" | "subscriptions" | "tax_exempt" | "tax_ids" | "test_clock" | "shipping.address" | "shipping.name" | "shipping.phone" | "shipping.address.city" | "shipping.address.country" | "shipping.address.line1" | "shipping.address.line2" | "shipping.address.postal_code" | "shipping.address.state" | "shipping.carrier" | "shipping.tracking_number" | `discount.${string}` | "tax.automatic_tax" | "tax.ip_address" | "tax.location" | "tax.location.country" | "tax.location.state" | "tax.location.source" | `cash_balance.${string}` | `invoice_credit_balance.${string}` | `invoice_settings.${string}` | `sources.${string}` | `subscriptions.${string}` | `tax_ids.${string}`>;
|