@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
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { DataModelFromSchemaDefinition
|
|
2
|
-
import { GenericDoc } from '../types';
|
|
1
|
+
import { DataModelFromSchemaDefinition } from 'convex/server';
|
|
3
2
|
export declare const stripeTables: {
|
|
4
3
|
stripe_products: import('convex/server').TableDefinition<import('convex/values').VObject<{
|
|
5
4
|
productId: string;
|
|
@@ -265,7 +264,7 @@ export declare const stripeTables: {
|
|
|
265
264
|
preferred_locales?: string[] | null | undefined;
|
|
266
265
|
sources?: any;
|
|
267
266
|
subscriptions?: any;
|
|
268
|
-
tax_exempt?: "reverse" | "
|
|
267
|
+
tax_exempt?: "reverse" | "none" | "exempt" | null | undefined;
|
|
269
268
|
tax_ids?: any;
|
|
270
269
|
test_clock?: string | null | undefined;
|
|
271
270
|
object: string;
|
|
@@ -329,7 +328,7 @@ export declare const stripeTables: {
|
|
|
329
328
|
preferred_locales?: string[] | null | undefined;
|
|
330
329
|
sources?: any;
|
|
331
330
|
subscriptions?: any;
|
|
332
|
-
tax_exempt?: "reverse" | "
|
|
331
|
+
tax_exempt?: "reverse" | "none" | "exempt" | null | undefined;
|
|
333
332
|
tax_ids?: any;
|
|
334
333
|
test_clock?: string | null | undefined;
|
|
335
334
|
object: string;
|
|
@@ -454,7 +453,7 @@ export declare const stripeTables: {
|
|
|
454
453
|
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>;
|
|
455
454
|
sources: import('convex/values').VUnion<any, [import('convex/values').VAny<any, "required", string>, import('convex/values').VNull<null, "required">], "optional", string>;
|
|
456
455
|
subscriptions: import('convex/values').VUnion<any, [import('convex/values').VAny<any, "required", string>, import('convex/values').VNull<null, "required">], "optional", string>;
|
|
457
|
-
tax_exempt: import('convex/values').VUnion<"reverse" | "
|
|
456
|
+
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>;
|
|
458
457
|
tax_ids: import('convex/values').VUnion<any, [import('convex/values').VAny<any, "required", string>, import('convex/values').VNull<null, "required">], "optional", string>;
|
|
459
458
|
test_clock: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
460
459
|
}, "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}`>;
|
|
@@ -756,15 +755,15 @@ export declare const stripeTables: {
|
|
|
756
755
|
description?: string | null | undefined;
|
|
757
756
|
metadata?: Record<string, string | number | null> | null | undefined;
|
|
758
757
|
statement_descriptor?: string | null | undefined;
|
|
758
|
+
application_fee?: string | null | undefined;
|
|
759
759
|
application_fee_amount?: number | null | undefined;
|
|
760
760
|
failure_balance_transaction?: string | null | undefined;
|
|
761
761
|
failure_code?: string | null | undefined;
|
|
762
762
|
failure_message?: string | null | undefined;
|
|
763
|
-
application_only?: string | null | undefined;
|
|
764
763
|
destination?: string | null | undefined;
|
|
765
764
|
original_payout?: string | null | undefined;
|
|
766
765
|
payout_method?: string | null | undefined;
|
|
767
|
-
reconciliation_status?: "completed" | "in_progress" | "not_applicable" | undefined;
|
|
766
|
+
reconciliation_status?: "completed" | "in_progress" | "not_applicable" | null | undefined;
|
|
768
767
|
reversed_by?: string | null | undefined;
|
|
769
768
|
trace_id?: {
|
|
770
769
|
value?: string | null | undefined;
|
|
@@ -792,15 +791,15 @@ export declare const stripeTables: {
|
|
|
792
791
|
description?: string | null | undefined;
|
|
793
792
|
metadata?: Record<string, string | number | null> | null | undefined;
|
|
794
793
|
statement_descriptor?: string | null | undefined;
|
|
794
|
+
application_fee?: string | null | undefined;
|
|
795
795
|
application_fee_amount?: number | null | undefined;
|
|
796
796
|
failure_balance_transaction?: string | null | undefined;
|
|
797
797
|
failure_code?: string | null | undefined;
|
|
798
798
|
failure_message?: string | null | undefined;
|
|
799
|
-
application_only?: string | null | undefined;
|
|
800
799
|
destination?: string | null | undefined;
|
|
801
800
|
original_payout?: string | null | undefined;
|
|
802
801
|
payout_method?: string | null | undefined;
|
|
803
|
-
reconciliation_status?: "completed" | "in_progress" | "not_applicable" | undefined;
|
|
802
|
+
reconciliation_status?: "completed" | "in_progress" | "not_applicable" | null | undefined;
|
|
804
803
|
reversed_by?: string | null | undefined;
|
|
805
804
|
trace_id?: {
|
|
806
805
|
value?: string | null | undefined;
|
|
@@ -827,7 +826,7 @@ export declare const stripeTables: {
|
|
|
827
826
|
statement_descriptor: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
828
827
|
status: import('convex/values').VString<string, "required">;
|
|
829
828
|
object: import('convex/values').VString<string, "required">;
|
|
830
|
-
|
|
829
|
+
application_fee: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
831
830
|
application_fee_amount: import('convex/values').VUnion<number | null | undefined, [import('convex/values').VFloat64<number, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
832
831
|
automatic: import('convex/values').VBoolean<boolean, "required">;
|
|
833
832
|
balance_transaction: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
@@ -840,7 +839,7 @@ export declare const stripeTables: {
|
|
|
840
839
|
method: import('convex/values').VString<string, "required">;
|
|
841
840
|
original_payout: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
842
841
|
payout_method: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
843
|
-
reconciliation_status: import('convex/values').VUnion<"completed" | "in_progress" | "not_applicable" | undefined, [import('convex/values').VLiteral<"completed", "required">, import('convex/values').VLiteral<"in_progress", "required">, import('convex/values').VLiteral<"not_applicable", "required">], "optional", never>;
|
|
842
|
+
reconciliation_status: import('convex/values').VUnion<"completed" | "in_progress" | "not_applicable" | null | undefined, [import('convex/values').VLiteral<"completed", "required">, import('convex/values').VLiteral<"in_progress", "required">, import('convex/values').VLiteral<"not_applicable", "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
844
843
|
reversed_by: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
845
844
|
source_type: import('convex/values').VString<string, "required">;
|
|
846
845
|
trace_id: import('convex/values').VUnion<{
|
|
@@ -854,9 +853,9 @@ export declare const stripeTables: {
|
|
|
854
853
|
value: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
855
854
|
}, "required", "status" | "value">], "optional", "status" | "value">;
|
|
856
855
|
type: import('convex/values').VUnion<"card" | "bank_account", [import('convex/values').VLiteral<"bank_account", "required">, import('convex/values').VLiteral<"card", "required">], "required", never>;
|
|
857
|
-
}, "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" | "
|
|
856
|
+
}, "required", "object" | "type" | "id" | "amount" | "balance_transaction" | "currency" | "description" | "metadata" | "statement_descriptor" | "status" | "application_fee" | "application_fee_amount" | "created" | "failure_balance_transaction" | "failure_code" | "failure_message" | "livemode" | `metadata.${string}` | "automatic" | "arrival_date" | "destination" | "method" | "original_payout" | "payout_method" | "reconciliation_status" | "reversed_by" | "source_type" | "trace_id" | "trace_id.status" | "trace_id.value">;
|
|
858
857
|
last_synced_at: import('convex/values').VFloat64<number, "required">;
|
|
859
|
-
}, "required", "stripe" | "last_synced_at" | "stripe.object" | "stripe.id" | "stripe.description" | "stripe.metadata" | "stripe.statement_descriptor" | "stripe.created" | "stripe.livemode" | `stripe.metadata.${string}` | "stripe.type" | "stripe.currency" | "payoutId" | "stripe.amount" | "stripe.balance_transaction" | "stripe.status" | "stripe.
|
|
858
|
+
}, "required", "stripe" | "last_synced_at" | "stripe.object" | "stripe.id" | "stripe.description" | "stripe.metadata" | "stripe.statement_descriptor" | "stripe.created" | "stripe.livemode" | `stripe.metadata.${string}` | "stripe.type" | "stripe.currency" | "payoutId" | "stripe.amount" | "stripe.balance_transaction" | "stripe.status" | "stripe.application_fee" | "stripe.application_fee_amount" | "stripe.failure_balance_transaction" | "stripe.failure_code" | "stripe.failure_message" | "stripe.automatic" | "stripe.arrival_date" | "stripe.destination" | "stripe.method" | "stripe.original_payout" | "stripe.payout_method" | "stripe.reconciliation_status" | "stripe.reversed_by" | "stripe.source_type" | "stripe.trace_id" | "stripe.trace_id.status" | "stripe.trace_id.value">, {
|
|
860
859
|
byPayoutId: ["payoutId", "_creationTime"];
|
|
861
860
|
}, {}, {}>;
|
|
862
861
|
stripe_refunds: import('convex/server').TableDefinition<import('convex/values').VObject<{
|
|
@@ -1086,7 +1085,7 @@ export declare const stripeTables: {
|
|
|
1086
1085
|
}, {
|
|
1087
1086
|
allow_redirects: import('convex/values').VUnion<"always" | "never" | null | undefined, [import('convex/values').VLiteral<"always", "required">, import('convex/values').VLiteral<"never", "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
1088
1087
|
enabled: import('convex/values').VBoolean<boolean, "required">;
|
|
1089
|
-
}, "required", "
|
|
1088
|
+
}, "required", "enabled" | "allow_redirects">, import('convex/values').VNull<null, "required">], "optional", "enabled" | "allow_redirects">;
|
|
1090
1089
|
client_secret: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
1091
1090
|
currency: import('convex/values').VUnion<string | null, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "required", never>;
|
|
1092
1091
|
customer: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
@@ -1194,9 +1193,9 @@ export declare const stripeTables: {
|
|
|
1194
1193
|
review: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
1195
1194
|
transfer_data: import('convex/values').VAny<any, "optional", string>;
|
|
1196
1195
|
transfer_group: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
1197
|
-
}, "required", "object" | "id" | "amount" | "currency" | "customer" | "description" | "metadata" | "receipt_email" | "shipping" | "statement_descriptor" | "statement_descriptor_suffix" | "status" | "application" | "application_fee_amount" | "created" | "livemode" | "on_behalf_of" | "payment_method" | "presentment_details" | "review" | "transfer_data" | "transfer_group" | `metadata.${string}` | `shipping.${string}` | `presentment_details.${string}` | `transfer_data.${string}` | "client_secret" | "payment_method_configuration_details" | "payment_method_options" | "payment_method_types" | `payment_method_options.${string}` | "last_payment_error" | "latest_charge" | "processing" | "automatic_payment_methods" | "next_action" | "setup_future_usage" | "amount_capturable" | "amount_details" | "amount_received" | "canceled_at" | "cancellation_reason" | "capture_method" | "confirmation_method" | "excluded_payment_method_types" | "payment_method_configuration_details.id" | "payment_method_configuration_details.parent" | "last_payment_error.type" | "last_payment_error.payment_method" | "last_payment_error.charge" | "last_payment_error.advice_code" | "last_payment_error.code" | "last_payment_error.decline_code" | "last_payment_error.doc_url" | "last_payment_error.message" | "last_payment_error.network_advice_code" | "last_payment_error.network_decline_code" | "last_payment_error.param" | "last_payment_error.payment_method_type" | "last_payment_error.last_payment_error" | "last_payment_error.latest_charge" | `last_payment_error.payment_method.${string}` | `last_payment_error.last_payment_error.${string}` | `processing.${string}` | "automatic_payment_methods.
|
|
1196
|
+
}, "required", "object" | "id" | "amount" | "currency" | "customer" | "description" | "metadata" | "receipt_email" | "shipping" | "statement_descriptor" | "statement_descriptor_suffix" | "status" | "application" | "application_fee_amount" | "created" | "livemode" | "on_behalf_of" | "payment_method" | "presentment_details" | "review" | "transfer_data" | "transfer_group" | `metadata.${string}` | `shipping.${string}` | `presentment_details.${string}` | `transfer_data.${string}` | "client_secret" | "payment_method_configuration_details" | "payment_method_options" | "payment_method_types" | `payment_method_options.${string}` | "last_payment_error" | "latest_charge" | "processing" | "automatic_payment_methods" | "next_action" | "setup_future_usage" | "amount_capturable" | "amount_details" | "amount_received" | "canceled_at" | "cancellation_reason" | "capture_method" | "confirmation_method" | "excluded_payment_method_types" | "payment_method_configuration_details.id" | "payment_method_configuration_details.parent" | "last_payment_error.type" | "last_payment_error.payment_method" | "last_payment_error.charge" | "last_payment_error.advice_code" | "last_payment_error.code" | "last_payment_error.decline_code" | "last_payment_error.doc_url" | "last_payment_error.message" | "last_payment_error.network_advice_code" | "last_payment_error.network_decline_code" | "last_payment_error.param" | "last_payment_error.payment_method_type" | "last_payment_error.last_payment_error" | "last_payment_error.latest_charge" | `last_payment_error.payment_method.${string}` | `last_payment_error.last_payment_error.${string}` | `processing.${string}` | "automatic_payment_methods.enabled" | "automatic_payment_methods.allow_redirects" | `next_action.${string}` | "amount_details.tip" | "amount_details.tip.amount">;
|
|
1198
1197
|
last_synced_at: import('convex/values').VFloat64<number, "required">;
|
|
1199
|
-
}, "required", "stripe" | "last_synced_at" | "stripe.object" | "stripe.id" | "stripe.description" | "stripe.metadata" | "stripe.statement_descriptor" | "stripe.created" | "stripe.livemode" | `stripe.metadata.${string}` | "stripe.currency" | "stripe.shipping" | "stripe.customer" | "stripe.amount" | "stripe.status" | "stripe.application_fee_amount" | "stripe.next_action" | `stripe.next_action.${string}` | "paymentIntentId" | "stripe.receipt_email" | "stripe.statement_descriptor_suffix" | "stripe.application" | "stripe.on_behalf_of" | "stripe.payment_method" | "stripe.presentment_details" | "stripe.review" | "stripe.transfer_data" | "stripe.transfer_group" | `stripe.shipping.${string}` | `stripe.presentment_details.${string}` | `stripe.transfer_data.${string}` | "stripe.client_secret" | "stripe.payment_method_configuration_details" | "stripe.payment_method_options" | "stripe.payment_method_types" | `stripe.payment_method_options.${string}` | "stripe.last_payment_error" | "stripe.latest_charge" | "stripe.processing" | "stripe.automatic_payment_methods" | "stripe.setup_future_usage" | "stripe.amount_capturable" | "stripe.amount_details" | "stripe.amount_received" | "stripe.canceled_at" | "stripe.cancellation_reason" | "stripe.capture_method" | "stripe.confirmation_method" | "stripe.excluded_payment_method_types" | "stripe.payment_method_configuration_details.id" | "stripe.payment_method_configuration_details.parent" | "stripe.last_payment_error.type" | "stripe.last_payment_error.payment_method" | "stripe.last_payment_error.charge" | "stripe.last_payment_error.advice_code" | "stripe.last_payment_error.code" | "stripe.last_payment_error.decline_code" | "stripe.last_payment_error.doc_url" | "stripe.last_payment_error.message" | "stripe.last_payment_error.network_advice_code" | "stripe.last_payment_error.network_decline_code" | "stripe.last_payment_error.param" | "stripe.last_payment_error.payment_method_type" | "stripe.last_payment_error.last_payment_error" | "stripe.last_payment_error.latest_charge" | `stripe.last_payment_error.payment_method.${string}` | `stripe.last_payment_error.last_payment_error.${string}` | `stripe.processing.${string}` | "stripe.automatic_payment_methods.
|
|
1198
|
+
}, "required", "stripe" | "last_synced_at" | "stripe.object" | "stripe.id" | "stripe.description" | "stripe.metadata" | "stripe.statement_descriptor" | "stripe.created" | "stripe.livemode" | `stripe.metadata.${string}` | "stripe.currency" | "stripe.shipping" | "stripe.customer" | "stripe.amount" | "stripe.status" | "stripe.application_fee_amount" | "stripe.next_action" | `stripe.next_action.${string}` | "paymentIntentId" | "stripe.receipt_email" | "stripe.statement_descriptor_suffix" | "stripe.application" | "stripe.on_behalf_of" | "stripe.payment_method" | "stripe.presentment_details" | "stripe.review" | "stripe.transfer_data" | "stripe.transfer_group" | `stripe.shipping.${string}` | `stripe.presentment_details.${string}` | `stripe.transfer_data.${string}` | "stripe.client_secret" | "stripe.payment_method_configuration_details" | "stripe.payment_method_options" | "stripe.payment_method_types" | `stripe.payment_method_options.${string}` | "stripe.last_payment_error" | "stripe.latest_charge" | "stripe.processing" | "stripe.automatic_payment_methods" | "stripe.setup_future_usage" | "stripe.amount_capturable" | "stripe.amount_details" | "stripe.amount_received" | "stripe.canceled_at" | "stripe.cancellation_reason" | "stripe.capture_method" | "stripe.confirmation_method" | "stripe.excluded_payment_method_types" | "stripe.payment_method_configuration_details.id" | "stripe.payment_method_configuration_details.parent" | "stripe.last_payment_error.type" | "stripe.last_payment_error.payment_method" | "stripe.last_payment_error.charge" | "stripe.last_payment_error.advice_code" | "stripe.last_payment_error.code" | "stripe.last_payment_error.decline_code" | "stripe.last_payment_error.doc_url" | "stripe.last_payment_error.message" | "stripe.last_payment_error.network_advice_code" | "stripe.last_payment_error.network_decline_code" | "stripe.last_payment_error.param" | "stripe.last_payment_error.payment_method_type" | "stripe.last_payment_error.last_payment_error" | "stripe.last_payment_error.latest_charge" | `stripe.last_payment_error.payment_method.${string}` | `stripe.last_payment_error.last_payment_error.${string}` | `stripe.processing.${string}` | "stripe.automatic_payment_methods.enabled" | "stripe.automatic_payment_methods.allow_redirects" | "stripe.amount_details.tip" | "stripe.amount_details.tip.amount">, {
|
|
1200
1199
|
byPaymentIntentId: ["paymentIntentId", "_creationTime"];
|
|
1201
1200
|
}, {}, {}>;
|
|
1202
1201
|
stripe_checkout_sessions: import('convex/server').TableDefinition<import('convex/values').VObject<{
|
|
@@ -1472,7 +1471,7 @@ export declare const stripeTables: {
|
|
|
1472
1471
|
attempt_count: number;
|
|
1473
1472
|
attempted: boolean;
|
|
1474
1473
|
billing_reason: "subscription" | "automatic_pending_invoice_item_invoice" | "manual" | "quote_accept" | "subscription_create" | "subscription_cycle" | "subscription_threshold" | "subscription_update" | "upcoming" | null;
|
|
1475
|
-
customer_tax_exempt: "reverse" | "
|
|
1474
|
+
customer_tax_exempt: "reverse" | "none" | "exempt" | null;
|
|
1476
1475
|
default_tax_rates: any[];
|
|
1477
1476
|
post_payment_credit_notes_amount: number;
|
|
1478
1477
|
pre_payment_credit_notes_amount: number;
|
|
@@ -1554,7 +1553,7 @@ export declare const stripeTables: {
|
|
|
1554
1553
|
attempt_count: number;
|
|
1555
1554
|
attempted: boolean;
|
|
1556
1555
|
billing_reason: "subscription" | "automatic_pending_invoice_item_invoice" | "manual" | "quote_accept" | "subscription_create" | "subscription_cycle" | "subscription_threshold" | "subscription_update" | "upcoming" | null;
|
|
1557
|
-
customer_tax_exempt: "reverse" | "
|
|
1556
|
+
customer_tax_exempt: "reverse" | "none" | "exempt" | null;
|
|
1558
1557
|
default_tax_rates: any[];
|
|
1559
1558
|
post_payment_credit_notes_amount: number;
|
|
1560
1559
|
pre_payment_credit_notes_amount: number;
|
|
@@ -1597,7 +1596,7 @@ export declare const stripeTables: {
|
|
|
1597
1596
|
customer_name: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
1598
1597
|
customer_phone: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
1599
1598
|
customer_shipping: import('convex/values').VAny<any, "optional", string>;
|
|
1600
|
-
customer_tax_exempt: import('convex/values').VUnion<"reverse" | "
|
|
1599
|
+
customer_tax_exempt: import('convex/values').VUnion<"reverse" | "none" | "exempt" | null, [import('convex/values').VLiteral<"exempt", "required">, import('convex/values').VLiteral<"none", "required">, import('convex/values').VLiteral<"reverse", "required">, import('convex/values').VNull<null, "required">], "required", never>;
|
|
1601
1600
|
customer_tax_ids: import('convex/values').VUnion<any[] | null | undefined, [import('convex/values').VArray<any[], import('convex/values').VAny<any, "required", string>, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
1602
1601
|
default_payment_method: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
1603
1602
|
default_source: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
@@ -2047,8 +2046,8 @@ export declare const stripeTables: {
|
|
|
2047
2046
|
id: string;
|
|
2048
2047
|
} | null | undefined;
|
|
2049
2048
|
automatic_payment_methods?: {
|
|
2050
|
-
allow_redirects?: "always" | "never" | null | undefined;
|
|
2051
2049
|
enabled?: boolean | null | undefined;
|
|
2050
|
+
allow_redirects?: "always" | "never" | null | undefined;
|
|
2052
2051
|
} | null | undefined;
|
|
2053
2052
|
cancellation_reason?: "duplicate" | "abandoned" | "requested_by_customer" | null | undefined;
|
|
2054
2053
|
attach_to_self?: boolean | null | undefined;
|
|
@@ -2084,8 +2083,8 @@ export declare const stripeTables: {
|
|
|
2084
2083
|
id: string;
|
|
2085
2084
|
} | null | undefined;
|
|
2086
2085
|
automatic_payment_methods?: {
|
|
2087
|
-
allow_redirects?: "always" | "never" | null | undefined;
|
|
2088
2086
|
enabled?: boolean | null | undefined;
|
|
2087
|
+
allow_redirects?: "always" | "never" | null | undefined;
|
|
2089
2088
|
} | null | undefined;
|
|
2090
2089
|
cancellation_reason?: "duplicate" | "abandoned" | "requested_by_customer" | null | undefined;
|
|
2091
2090
|
attach_to_self?: boolean | null | undefined;
|
|
@@ -2106,15 +2105,15 @@ export declare const stripeTables: {
|
|
|
2106
2105
|
}, {
|
|
2107
2106
|
id: import('convex/values').VString<string, "required">;
|
|
2108
2107
|
automatic_payment_methods: import('convex/values').VUnion<{
|
|
2109
|
-
allow_redirects?: "always" | "never" | null | undefined;
|
|
2110
2108
|
enabled?: boolean | null | undefined;
|
|
2111
|
-
} | null | undefined, [import('convex/values').VObject<{
|
|
2112
2109
|
allow_redirects?: "always" | "never" | null | undefined;
|
|
2110
|
+
} | null | undefined, [import('convex/values').VObject<{
|
|
2113
2111
|
enabled?: boolean | null | undefined;
|
|
2112
|
+
allow_redirects?: "always" | "never" | null | undefined;
|
|
2114
2113
|
}, {
|
|
2115
2114
|
allow_redirects: import('convex/values').VUnion<"always" | "never" | null | undefined, [import('convex/values').VLiteral<"always", "required">, import('convex/values').VLiteral<"never", "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
2116
2115
|
enabled: import('convex/values').VUnion<boolean | null | undefined, [import('convex/values').VBoolean<boolean, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
2117
|
-
}, "required", "
|
|
2116
|
+
}, "required", "enabled" | "allow_redirects">, import('convex/values').VNull<null, "required">], "optional", "enabled" | "allow_redirects">;
|
|
2118
2117
|
client_secret: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
2119
2118
|
customer: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
2120
2119
|
description: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
@@ -2147,9 +2146,9 @@ export declare const stripeTables: {
|
|
|
2147
2146
|
payment_method_options: import('convex/values').VAny<any, "required", string>;
|
|
2148
2147
|
payment_method_types: import('convex/values').VArray<string[], import('convex/values').VString<string, "required">, "required">;
|
|
2149
2148
|
single_use_mandate: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
2150
|
-
}, "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.
|
|
2149
|
+
}, "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}`>;
|
|
2151
2150
|
last_synced_at: import('convex/values').VFloat64<number, "required">;
|
|
2152
|
-
}, "required", "stripe" | "last_synced_at" | "stripe.object" | "stripe.id" | "stripe.description" | "stripe.metadata" | "stripe.created" | "stripe.livemode" | `stripe.metadata.${string}` | "stripe.customer" | "stripe.status" | "stripe.next_action" | `stripe.next_action.${string}` | "stripe.application" | "stripe.on_behalf_of" | "stripe.payment_method" | "stripe.client_secret" | "stripe.payment_method_configuration_details" | "stripe.payment_method_options" | "stripe.payment_method_types" | `stripe.payment_method_options.${string}` | "stripe.automatic_payment_methods" | "stripe.cancellation_reason" | "stripe.payment_method_configuration_details.id" | "stripe.payment_method_configuration_details.parent" | "stripe.automatic_payment_methods.
|
|
2151
|
+
}, "required", "stripe" | "last_synced_at" | "stripe.object" | "stripe.id" | "stripe.description" | "stripe.metadata" | "stripe.created" | "stripe.livemode" | `stripe.metadata.${string}` | "stripe.customer" | "stripe.status" | "stripe.next_action" | `stripe.next_action.${string}` | "stripe.application" | "stripe.on_behalf_of" | "stripe.payment_method" | "stripe.client_secret" | "stripe.payment_method_configuration_details" | "stripe.payment_method_options" | "stripe.payment_method_types" | `stripe.payment_method_options.${string}` | "stripe.automatic_payment_methods" | "stripe.cancellation_reason" | "stripe.payment_method_configuration_details.id" | "stripe.payment_method_configuration_details.parent" | "stripe.automatic_payment_methods.enabled" | "stripe.automatic_payment_methods.allow_redirects" | "setupIntentId" | "stripe.last_setup_error" | "stripe.usage" | "stripe.attach_to_self" | "stripe.flow_directions" | "stripe.latest_attempt" | "stripe.mandate" | "stripe.single_use_mandate" | `stripe.last_setup_error.${string}`>, {
|
|
2153
2152
|
bySetupIntentId: ["setupIntentId", "_creationTime"];
|
|
2154
2153
|
}, {}, {}>;
|
|
2155
2154
|
stripe_credit_notes: import('convex/server').TableDefinition<import('convex/values').VObject<{
|
|
@@ -2532,7 +2531,7 @@ export declare const stripeTables: {
|
|
|
2532
2531
|
transfer_group: import('convex/values').VAny<any, "required", string>;
|
|
2533
2532
|
}, "required", "object" | "id" | "amount" | "balance_transaction" | "billing_details" | "currency" | "customer" | "description" | "disputed" | "metadata" | "payment_intent" | "payment_method_details" | "receipt_email" | "refunded" | "shipping" | "statement_descriptor" | "statement_descriptor_suffix" | "status" | "amount_captured" | "amount_refunded" | "application" | "application_fee" | "application_fee_amount" | "calculated_statement_descriptor" | "captured" | "created" | "failure_balance_transaction" | "failure_code" | "failure_message" | "fraud_details" | "livemode" | "on_behalf_of" | "outcome" | "paid" | "payment_method" | "presentment_details" | "radar_options" | "receipt_number" | "receipt_url" | "refunds" | "review" | "source_transfer" | "transfer" | "transfer_data" | "transfer_group" | "billing_details.address" | "billing_details.email" | "billing_details.name" | "billing_details.phone" | "billing_details.tax_id" | "billing_details.address.city" | "billing_details.address.country" | "billing_details.address.line1" | "billing_details.address.line2" | "billing_details.address.postal_code" | "billing_details.address.state" | `metadata.${string}` | `payment_method_details.${string}` | `shipping.${string}` | `fraud_details.${string}` | `outcome.${string}` | `presentment_details.${string}` | `radar_options.${string}` | `refunds.${string}` | `transfer_data.${string}` | `transfer_group.${string}`>;
|
|
2534
2533
|
last_synced_at: import('convex/values').VFloat64<number, "required">;
|
|
2535
|
-
}, "required", "stripe" | "last_synced_at" | "stripe.object" | "stripe.id" | "stripe.description" | "stripe.metadata" | "stripe.statement_descriptor" | "stripe.created" | "stripe.livemode" | `stripe.metadata.${string}` | "stripe.currency" | "stripe.shipping" | "stripe.customer" | "stripe.amount" | "stripe.balance_transaction" | "stripe.status" | "stripe.application_fee_amount" | "stripe.failure_balance_transaction" | "stripe.failure_code" | "stripe.failure_message" | "stripe.payment_intent" | "stripe.receipt_number" | "stripe.receipt_email" | "stripe.statement_descriptor_suffix" | "stripe.application" | "stripe.on_behalf_of" | "stripe.payment_method" | "stripe.presentment_details" | "stripe.review" | "stripe.transfer_data" | "stripe.transfer_group" | `stripe.shipping.${string}` | `stripe.presentment_details.${string}` | `stripe.transfer_data.${string}` | "stripe.payment_method_details" | `stripe.payment_method_details.${string}` | "stripe.refunds" | "chargeId" | "stripe.billing_details" | "stripe.disputed" | "stripe.refunded" | "stripe.amount_captured" | "stripe.amount_refunded" | "stripe.
|
|
2534
|
+
}, "required", "stripe" | "last_synced_at" | "stripe.object" | "stripe.id" | "stripe.description" | "stripe.metadata" | "stripe.statement_descriptor" | "stripe.created" | "stripe.livemode" | `stripe.metadata.${string}` | "stripe.currency" | "stripe.shipping" | "stripe.customer" | "stripe.amount" | "stripe.balance_transaction" | "stripe.status" | "stripe.application_fee" | "stripe.application_fee_amount" | "stripe.failure_balance_transaction" | "stripe.failure_code" | "stripe.failure_message" | "stripe.payment_intent" | "stripe.receipt_number" | "stripe.receipt_email" | "stripe.statement_descriptor_suffix" | "stripe.application" | "stripe.on_behalf_of" | "stripe.payment_method" | "stripe.presentment_details" | "stripe.review" | "stripe.transfer_data" | "stripe.transfer_group" | `stripe.shipping.${string}` | `stripe.presentment_details.${string}` | `stripe.transfer_data.${string}` | "stripe.payment_method_details" | `stripe.payment_method_details.${string}` | "stripe.refunds" | "chargeId" | "stripe.billing_details" | "stripe.disputed" | "stripe.refunded" | "stripe.amount_captured" | "stripe.amount_refunded" | "stripe.calculated_statement_descriptor" | "stripe.captured" | "stripe.fraud_details" | "stripe.outcome" | "stripe.paid" | "stripe.radar_options" | "stripe.receipt_url" | "stripe.source_transfer" | "stripe.transfer" | "stripe.billing_details.address" | "stripe.billing_details.email" | "stripe.billing_details.name" | "stripe.billing_details.phone" | "stripe.billing_details.tax_id" | "stripe.billing_details.address.city" | "stripe.billing_details.address.country" | "stripe.billing_details.address.line1" | "stripe.billing_details.address.line2" | "stripe.billing_details.address.postal_code" | "stripe.billing_details.address.state" | `stripe.fraud_details.${string}` | `stripe.outcome.${string}` | `stripe.radar_options.${string}` | `stripe.refunds.${string}` | `stripe.transfer_group.${string}`>, {
|
|
2536
2535
|
byChargeId: ["chargeId", "_creationTime"];
|
|
2537
2536
|
}, {}, {}>;
|
|
2538
2537
|
stripe_payment_methods: import('convex/server').TableDefinition<import('convex/values').VObject<{
|
|
@@ -3294,7 +3293,7 @@ declare const stripeSchema: import('convex/server').SchemaDefinition<{
|
|
|
3294
3293
|
preferred_locales?: string[] | null | undefined;
|
|
3295
3294
|
sources?: any;
|
|
3296
3295
|
subscriptions?: any;
|
|
3297
|
-
tax_exempt?: "reverse" | "
|
|
3296
|
+
tax_exempt?: "reverse" | "none" | "exempt" | null | undefined;
|
|
3298
3297
|
tax_ids?: any;
|
|
3299
3298
|
test_clock?: string | null | undefined;
|
|
3300
3299
|
object: string;
|
|
@@ -3358,7 +3357,7 @@ declare const stripeSchema: import('convex/server').SchemaDefinition<{
|
|
|
3358
3357
|
preferred_locales?: string[] | null | undefined;
|
|
3359
3358
|
sources?: any;
|
|
3360
3359
|
subscriptions?: any;
|
|
3361
|
-
tax_exempt?: "reverse" | "
|
|
3360
|
+
tax_exempt?: "reverse" | "none" | "exempt" | null | undefined;
|
|
3362
3361
|
tax_ids?: any;
|
|
3363
3362
|
test_clock?: string | null | undefined;
|
|
3364
3363
|
object: string;
|
|
@@ -3483,7 +3482,7 @@ declare const stripeSchema: import('convex/server').SchemaDefinition<{
|
|
|
3483
3482
|
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>;
|
|
3484
3483
|
sources: import('convex/values').VUnion<any, [import('convex/values').VAny<any, "required", string>, import('convex/values').VNull<null, "required">], "optional", string>;
|
|
3485
3484
|
subscriptions: import('convex/values').VUnion<any, [import('convex/values').VAny<any, "required", string>, import('convex/values').VNull<null, "required">], "optional", string>;
|
|
3486
|
-
tax_exempt: import('convex/values').VUnion<"reverse" | "
|
|
3485
|
+
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>;
|
|
3487
3486
|
tax_ids: import('convex/values').VUnion<any, [import('convex/values').VAny<any, "required", string>, import('convex/values').VNull<null, "required">], "optional", string>;
|
|
3488
3487
|
test_clock: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
3489
3488
|
}, "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}`>;
|
|
@@ -3785,15 +3784,15 @@ declare const stripeSchema: import('convex/server').SchemaDefinition<{
|
|
|
3785
3784
|
description?: string | null | undefined;
|
|
3786
3785
|
metadata?: Record<string, string | number | null> | null | undefined;
|
|
3787
3786
|
statement_descriptor?: string | null | undefined;
|
|
3787
|
+
application_fee?: string | null | undefined;
|
|
3788
3788
|
application_fee_amount?: number | null | undefined;
|
|
3789
3789
|
failure_balance_transaction?: string | null | undefined;
|
|
3790
3790
|
failure_code?: string | null | undefined;
|
|
3791
3791
|
failure_message?: string | null | undefined;
|
|
3792
|
-
application_only?: string | null | undefined;
|
|
3793
3792
|
destination?: string | null | undefined;
|
|
3794
3793
|
original_payout?: string | null | undefined;
|
|
3795
3794
|
payout_method?: string | null | undefined;
|
|
3796
|
-
reconciliation_status?: "completed" | "in_progress" | "not_applicable" | undefined;
|
|
3795
|
+
reconciliation_status?: "completed" | "in_progress" | "not_applicable" | null | undefined;
|
|
3797
3796
|
reversed_by?: string | null | undefined;
|
|
3798
3797
|
trace_id?: {
|
|
3799
3798
|
value?: string | null | undefined;
|
|
@@ -3821,15 +3820,15 @@ declare const stripeSchema: import('convex/server').SchemaDefinition<{
|
|
|
3821
3820
|
description?: string | null | undefined;
|
|
3822
3821
|
metadata?: Record<string, string | number | null> | null | undefined;
|
|
3823
3822
|
statement_descriptor?: string | null | undefined;
|
|
3823
|
+
application_fee?: string | null | undefined;
|
|
3824
3824
|
application_fee_amount?: number | null | undefined;
|
|
3825
3825
|
failure_balance_transaction?: string | null | undefined;
|
|
3826
3826
|
failure_code?: string | null | undefined;
|
|
3827
3827
|
failure_message?: string | null | undefined;
|
|
3828
|
-
application_only?: string | null | undefined;
|
|
3829
3828
|
destination?: string | null | undefined;
|
|
3830
3829
|
original_payout?: string | null | undefined;
|
|
3831
3830
|
payout_method?: string | null | undefined;
|
|
3832
|
-
reconciliation_status?: "completed" | "in_progress" | "not_applicable" | undefined;
|
|
3831
|
+
reconciliation_status?: "completed" | "in_progress" | "not_applicable" | null | undefined;
|
|
3833
3832
|
reversed_by?: string | null | undefined;
|
|
3834
3833
|
trace_id?: {
|
|
3835
3834
|
value?: string | null | undefined;
|
|
@@ -3856,7 +3855,7 @@ declare const stripeSchema: import('convex/server').SchemaDefinition<{
|
|
|
3856
3855
|
statement_descriptor: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
3857
3856
|
status: import('convex/values').VString<string, "required">;
|
|
3858
3857
|
object: import('convex/values').VString<string, "required">;
|
|
3859
|
-
|
|
3858
|
+
application_fee: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
3860
3859
|
application_fee_amount: import('convex/values').VUnion<number | null | undefined, [import('convex/values').VFloat64<number, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
3861
3860
|
automatic: import('convex/values').VBoolean<boolean, "required">;
|
|
3862
3861
|
balance_transaction: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
@@ -3869,7 +3868,7 @@ declare const stripeSchema: import('convex/server').SchemaDefinition<{
|
|
|
3869
3868
|
method: import('convex/values').VString<string, "required">;
|
|
3870
3869
|
original_payout: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
3871
3870
|
payout_method: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
3872
|
-
reconciliation_status: import('convex/values').VUnion<"completed" | "in_progress" | "not_applicable" | undefined, [import('convex/values').VLiteral<"completed", "required">, import('convex/values').VLiteral<"in_progress", "required">, import('convex/values').VLiteral<"not_applicable", "required">], "optional", never>;
|
|
3871
|
+
reconciliation_status: import('convex/values').VUnion<"completed" | "in_progress" | "not_applicable" | null | undefined, [import('convex/values').VLiteral<"completed", "required">, import('convex/values').VLiteral<"in_progress", "required">, import('convex/values').VLiteral<"not_applicable", "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
3873
3872
|
reversed_by: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
3874
3873
|
source_type: import('convex/values').VString<string, "required">;
|
|
3875
3874
|
trace_id: import('convex/values').VUnion<{
|
|
@@ -3883,9 +3882,9 @@ declare const stripeSchema: import('convex/server').SchemaDefinition<{
|
|
|
3883
3882
|
value: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
3884
3883
|
}, "required", "status" | "value">], "optional", "status" | "value">;
|
|
3885
3884
|
type: import('convex/values').VUnion<"card" | "bank_account", [import('convex/values').VLiteral<"bank_account", "required">, import('convex/values').VLiteral<"card", "required">], "required", never>;
|
|
3886
|
-
}, "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" | "
|
|
3885
|
+
}, "required", "object" | "type" | "id" | "amount" | "balance_transaction" | "currency" | "description" | "metadata" | "statement_descriptor" | "status" | "application_fee" | "application_fee_amount" | "created" | "failure_balance_transaction" | "failure_code" | "failure_message" | "livemode" | `metadata.${string}` | "automatic" | "arrival_date" | "destination" | "method" | "original_payout" | "payout_method" | "reconciliation_status" | "reversed_by" | "source_type" | "trace_id" | "trace_id.status" | "trace_id.value">;
|
|
3887
3886
|
last_synced_at: import('convex/values').VFloat64<number, "required">;
|
|
3888
|
-
}, "required", "stripe" | "last_synced_at" | "stripe.object" | "stripe.id" | "stripe.description" | "stripe.metadata" | "stripe.statement_descriptor" | "stripe.created" | "stripe.livemode" | `stripe.metadata.${string}` | "stripe.type" | "stripe.currency" | "payoutId" | "stripe.amount" | "stripe.balance_transaction" | "stripe.status" | "stripe.
|
|
3887
|
+
}, "required", "stripe" | "last_synced_at" | "stripe.object" | "stripe.id" | "stripe.description" | "stripe.metadata" | "stripe.statement_descriptor" | "stripe.created" | "stripe.livemode" | `stripe.metadata.${string}` | "stripe.type" | "stripe.currency" | "payoutId" | "stripe.amount" | "stripe.balance_transaction" | "stripe.status" | "stripe.application_fee" | "stripe.application_fee_amount" | "stripe.failure_balance_transaction" | "stripe.failure_code" | "stripe.failure_message" | "stripe.automatic" | "stripe.arrival_date" | "stripe.destination" | "stripe.method" | "stripe.original_payout" | "stripe.payout_method" | "stripe.reconciliation_status" | "stripe.reversed_by" | "stripe.source_type" | "stripe.trace_id" | "stripe.trace_id.status" | "stripe.trace_id.value">, {
|
|
3889
3888
|
byPayoutId: ["payoutId", "_creationTime"];
|
|
3890
3889
|
}, {}, {}>;
|
|
3891
3890
|
stripe_refunds: import('convex/server').TableDefinition<import('convex/values').VObject<{
|
|
@@ -4115,7 +4114,7 @@ declare const stripeSchema: import('convex/server').SchemaDefinition<{
|
|
|
4115
4114
|
}, {
|
|
4116
4115
|
allow_redirects: import('convex/values').VUnion<"always" | "never" | null | undefined, [import('convex/values').VLiteral<"always", "required">, import('convex/values').VLiteral<"never", "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
4117
4116
|
enabled: import('convex/values').VBoolean<boolean, "required">;
|
|
4118
|
-
}, "required", "
|
|
4117
|
+
}, "required", "enabled" | "allow_redirects">, import('convex/values').VNull<null, "required">], "optional", "enabled" | "allow_redirects">;
|
|
4119
4118
|
client_secret: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
4120
4119
|
currency: import('convex/values').VUnion<string | null, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "required", never>;
|
|
4121
4120
|
customer: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
@@ -4223,9 +4222,9 @@ declare const stripeSchema: import('convex/server').SchemaDefinition<{
|
|
|
4223
4222
|
review: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
4224
4223
|
transfer_data: import('convex/values').VAny<any, "optional", string>;
|
|
4225
4224
|
transfer_group: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
4226
|
-
}, "required", "object" | "id" | "amount" | "currency" | "customer" | "description" | "metadata" | "receipt_email" | "shipping" | "statement_descriptor" | "statement_descriptor_suffix" | "status" | "application" | "application_fee_amount" | "created" | "livemode" | "on_behalf_of" | "payment_method" | "presentment_details" | "review" | "transfer_data" | "transfer_group" | `metadata.${string}` | `shipping.${string}` | `presentment_details.${string}` | `transfer_data.${string}` | "client_secret" | "payment_method_configuration_details" | "payment_method_options" | "payment_method_types" | `payment_method_options.${string}` | "last_payment_error" | "latest_charge" | "processing" | "automatic_payment_methods" | "next_action" | "setup_future_usage" | "amount_capturable" | "amount_details" | "amount_received" | "canceled_at" | "cancellation_reason" | "capture_method" | "confirmation_method" | "excluded_payment_method_types" | "payment_method_configuration_details.id" | "payment_method_configuration_details.parent" | "last_payment_error.type" | "last_payment_error.payment_method" | "last_payment_error.charge" | "last_payment_error.advice_code" | "last_payment_error.code" | "last_payment_error.decline_code" | "last_payment_error.doc_url" | "last_payment_error.message" | "last_payment_error.network_advice_code" | "last_payment_error.network_decline_code" | "last_payment_error.param" | "last_payment_error.payment_method_type" | "last_payment_error.last_payment_error" | "last_payment_error.latest_charge" | `last_payment_error.payment_method.${string}` | `last_payment_error.last_payment_error.${string}` | `processing.${string}` | "automatic_payment_methods.
|
|
4225
|
+
}, "required", "object" | "id" | "amount" | "currency" | "customer" | "description" | "metadata" | "receipt_email" | "shipping" | "statement_descriptor" | "statement_descriptor_suffix" | "status" | "application" | "application_fee_amount" | "created" | "livemode" | "on_behalf_of" | "payment_method" | "presentment_details" | "review" | "transfer_data" | "transfer_group" | `metadata.${string}` | `shipping.${string}` | `presentment_details.${string}` | `transfer_data.${string}` | "client_secret" | "payment_method_configuration_details" | "payment_method_options" | "payment_method_types" | `payment_method_options.${string}` | "last_payment_error" | "latest_charge" | "processing" | "automatic_payment_methods" | "next_action" | "setup_future_usage" | "amount_capturable" | "amount_details" | "amount_received" | "canceled_at" | "cancellation_reason" | "capture_method" | "confirmation_method" | "excluded_payment_method_types" | "payment_method_configuration_details.id" | "payment_method_configuration_details.parent" | "last_payment_error.type" | "last_payment_error.payment_method" | "last_payment_error.charge" | "last_payment_error.advice_code" | "last_payment_error.code" | "last_payment_error.decline_code" | "last_payment_error.doc_url" | "last_payment_error.message" | "last_payment_error.network_advice_code" | "last_payment_error.network_decline_code" | "last_payment_error.param" | "last_payment_error.payment_method_type" | "last_payment_error.last_payment_error" | "last_payment_error.latest_charge" | `last_payment_error.payment_method.${string}` | `last_payment_error.last_payment_error.${string}` | `processing.${string}` | "automatic_payment_methods.enabled" | "automatic_payment_methods.allow_redirects" | `next_action.${string}` | "amount_details.tip" | "amount_details.tip.amount">;
|
|
4227
4226
|
last_synced_at: import('convex/values').VFloat64<number, "required">;
|
|
4228
|
-
}, "required", "stripe" | "last_synced_at" | "stripe.object" | "stripe.id" | "stripe.description" | "stripe.metadata" | "stripe.statement_descriptor" | "stripe.created" | "stripe.livemode" | `stripe.metadata.${string}` | "stripe.currency" | "stripe.shipping" | "stripe.customer" | "stripe.amount" | "stripe.status" | "stripe.application_fee_amount" | "stripe.next_action" | `stripe.next_action.${string}` | "paymentIntentId" | "stripe.receipt_email" | "stripe.statement_descriptor_suffix" | "stripe.application" | "stripe.on_behalf_of" | "stripe.payment_method" | "stripe.presentment_details" | "stripe.review" | "stripe.transfer_data" | "stripe.transfer_group" | `stripe.shipping.${string}` | `stripe.presentment_details.${string}` | `stripe.transfer_data.${string}` | "stripe.client_secret" | "stripe.payment_method_configuration_details" | "stripe.payment_method_options" | "stripe.payment_method_types" | `stripe.payment_method_options.${string}` | "stripe.last_payment_error" | "stripe.latest_charge" | "stripe.processing" | "stripe.automatic_payment_methods" | "stripe.setup_future_usage" | "stripe.amount_capturable" | "stripe.amount_details" | "stripe.amount_received" | "stripe.canceled_at" | "stripe.cancellation_reason" | "stripe.capture_method" | "stripe.confirmation_method" | "stripe.excluded_payment_method_types" | "stripe.payment_method_configuration_details.id" | "stripe.payment_method_configuration_details.parent" | "stripe.last_payment_error.type" | "stripe.last_payment_error.payment_method" | "stripe.last_payment_error.charge" | "stripe.last_payment_error.advice_code" | "stripe.last_payment_error.code" | "stripe.last_payment_error.decline_code" | "stripe.last_payment_error.doc_url" | "stripe.last_payment_error.message" | "stripe.last_payment_error.network_advice_code" | "stripe.last_payment_error.network_decline_code" | "stripe.last_payment_error.param" | "stripe.last_payment_error.payment_method_type" | "stripe.last_payment_error.last_payment_error" | "stripe.last_payment_error.latest_charge" | `stripe.last_payment_error.payment_method.${string}` | `stripe.last_payment_error.last_payment_error.${string}` | `stripe.processing.${string}` | "stripe.automatic_payment_methods.
|
|
4227
|
+
}, "required", "stripe" | "last_synced_at" | "stripe.object" | "stripe.id" | "stripe.description" | "stripe.metadata" | "stripe.statement_descriptor" | "stripe.created" | "stripe.livemode" | `stripe.metadata.${string}` | "stripe.currency" | "stripe.shipping" | "stripe.customer" | "stripe.amount" | "stripe.status" | "stripe.application_fee_amount" | "stripe.next_action" | `stripe.next_action.${string}` | "paymentIntentId" | "stripe.receipt_email" | "stripe.statement_descriptor_suffix" | "stripe.application" | "stripe.on_behalf_of" | "stripe.payment_method" | "stripe.presentment_details" | "stripe.review" | "stripe.transfer_data" | "stripe.transfer_group" | `stripe.shipping.${string}` | `stripe.presentment_details.${string}` | `stripe.transfer_data.${string}` | "stripe.client_secret" | "stripe.payment_method_configuration_details" | "stripe.payment_method_options" | "stripe.payment_method_types" | `stripe.payment_method_options.${string}` | "stripe.last_payment_error" | "stripe.latest_charge" | "stripe.processing" | "stripe.automatic_payment_methods" | "stripe.setup_future_usage" | "stripe.amount_capturable" | "stripe.amount_details" | "stripe.amount_received" | "stripe.canceled_at" | "stripe.cancellation_reason" | "stripe.capture_method" | "stripe.confirmation_method" | "stripe.excluded_payment_method_types" | "stripe.payment_method_configuration_details.id" | "stripe.payment_method_configuration_details.parent" | "stripe.last_payment_error.type" | "stripe.last_payment_error.payment_method" | "stripe.last_payment_error.charge" | "stripe.last_payment_error.advice_code" | "stripe.last_payment_error.code" | "stripe.last_payment_error.decline_code" | "stripe.last_payment_error.doc_url" | "stripe.last_payment_error.message" | "stripe.last_payment_error.network_advice_code" | "stripe.last_payment_error.network_decline_code" | "stripe.last_payment_error.param" | "stripe.last_payment_error.payment_method_type" | "stripe.last_payment_error.last_payment_error" | "stripe.last_payment_error.latest_charge" | `stripe.last_payment_error.payment_method.${string}` | `stripe.last_payment_error.last_payment_error.${string}` | `stripe.processing.${string}` | "stripe.automatic_payment_methods.enabled" | "stripe.automatic_payment_methods.allow_redirects" | "stripe.amount_details.tip" | "stripe.amount_details.tip.amount">, {
|
|
4229
4228
|
byPaymentIntentId: ["paymentIntentId", "_creationTime"];
|
|
4230
4229
|
}, {}, {}>;
|
|
4231
4230
|
stripe_checkout_sessions: import('convex/server').TableDefinition<import('convex/values').VObject<{
|
|
@@ -4501,7 +4500,7 @@ declare const stripeSchema: import('convex/server').SchemaDefinition<{
|
|
|
4501
4500
|
attempt_count: number;
|
|
4502
4501
|
attempted: boolean;
|
|
4503
4502
|
billing_reason: "subscription" | "automatic_pending_invoice_item_invoice" | "manual" | "quote_accept" | "subscription_create" | "subscription_cycle" | "subscription_threshold" | "subscription_update" | "upcoming" | null;
|
|
4504
|
-
customer_tax_exempt: "reverse" | "
|
|
4503
|
+
customer_tax_exempt: "reverse" | "none" | "exempt" | null;
|
|
4505
4504
|
default_tax_rates: any[];
|
|
4506
4505
|
post_payment_credit_notes_amount: number;
|
|
4507
4506
|
pre_payment_credit_notes_amount: number;
|
|
@@ -4583,7 +4582,7 @@ declare const stripeSchema: import('convex/server').SchemaDefinition<{
|
|
|
4583
4582
|
attempt_count: number;
|
|
4584
4583
|
attempted: boolean;
|
|
4585
4584
|
billing_reason: "subscription" | "automatic_pending_invoice_item_invoice" | "manual" | "quote_accept" | "subscription_create" | "subscription_cycle" | "subscription_threshold" | "subscription_update" | "upcoming" | null;
|
|
4586
|
-
customer_tax_exempt: "reverse" | "
|
|
4585
|
+
customer_tax_exempt: "reverse" | "none" | "exempt" | null;
|
|
4587
4586
|
default_tax_rates: any[];
|
|
4588
4587
|
post_payment_credit_notes_amount: number;
|
|
4589
4588
|
pre_payment_credit_notes_amount: number;
|
|
@@ -4626,7 +4625,7 @@ declare const stripeSchema: import('convex/server').SchemaDefinition<{
|
|
|
4626
4625
|
customer_name: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
4627
4626
|
customer_phone: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
4628
4627
|
customer_shipping: import('convex/values').VAny<any, "optional", string>;
|
|
4629
|
-
customer_tax_exempt: import('convex/values').VUnion<"reverse" | "
|
|
4628
|
+
customer_tax_exempt: import('convex/values').VUnion<"reverse" | "none" | "exempt" | null, [import('convex/values').VLiteral<"exempt", "required">, import('convex/values').VLiteral<"none", "required">, import('convex/values').VLiteral<"reverse", "required">, import('convex/values').VNull<null, "required">], "required", never>;
|
|
4630
4629
|
customer_tax_ids: import('convex/values').VUnion<any[] | null | undefined, [import('convex/values').VArray<any[], import('convex/values').VAny<any, "required", string>, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
4631
4630
|
default_payment_method: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
4632
4631
|
default_source: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
@@ -5076,8 +5075,8 @@ declare const stripeSchema: import('convex/server').SchemaDefinition<{
|
|
|
5076
5075
|
id: string;
|
|
5077
5076
|
} | null | undefined;
|
|
5078
5077
|
automatic_payment_methods?: {
|
|
5079
|
-
allow_redirects?: "always" | "never" | null | undefined;
|
|
5080
5078
|
enabled?: boolean | null | undefined;
|
|
5079
|
+
allow_redirects?: "always" | "never" | null | undefined;
|
|
5081
5080
|
} | null | undefined;
|
|
5082
5081
|
cancellation_reason?: "duplicate" | "abandoned" | "requested_by_customer" | null | undefined;
|
|
5083
5082
|
attach_to_self?: boolean | null | undefined;
|
|
@@ -5113,8 +5112,8 @@ declare const stripeSchema: import('convex/server').SchemaDefinition<{
|
|
|
5113
5112
|
id: string;
|
|
5114
5113
|
} | null | undefined;
|
|
5115
5114
|
automatic_payment_methods?: {
|
|
5116
|
-
allow_redirects?: "always" | "never" | null | undefined;
|
|
5117
5115
|
enabled?: boolean | null | undefined;
|
|
5116
|
+
allow_redirects?: "always" | "never" | null | undefined;
|
|
5118
5117
|
} | null | undefined;
|
|
5119
5118
|
cancellation_reason?: "duplicate" | "abandoned" | "requested_by_customer" | null | undefined;
|
|
5120
5119
|
attach_to_self?: boolean | null | undefined;
|
|
@@ -5135,15 +5134,15 @@ declare const stripeSchema: import('convex/server').SchemaDefinition<{
|
|
|
5135
5134
|
}, {
|
|
5136
5135
|
id: import('convex/values').VString<string, "required">;
|
|
5137
5136
|
automatic_payment_methods: import('convex/values').VUnion<{
|
|
5138
|
-
allow_redirects?: "always" | "never" | null | undefined;
|
|
5139
5137
|
enabled?: boolean | null | undefined;
|
|
5140
|
-
} | null | undefined, [import('convex/values').VObject<{
|
|
5141
5138
|
allow_redirects?: "always" | "never" | null | undefined;
|
|
5139
|
+
} | null | undefined, [import('convex/values').VObject<{
|
|
5142
5140
|
enabled?: boolean | null | undefined;
|
|
5141
|
+
allow_redirects?: "always" | "never" | null | undefined;
|
|
5143
5142
|
}, {
|
|
5144
5143
|
allow_redirects: import('convex/values').VUnion<"always" | "never" | null | undefined, [import('convex/values').VLiteral<"always", "required">, import('convex/values').VLiteral<"never", "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
5145
5144
|
enabled: import('convex/values').VUnion<boolean | null | undefined, [import('convex/values').VBoolean<boolean, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
5146
|
-
}, "required", "
|
|
5145
|
+
}, "required", "enabled" | "allow_redirects">, import('convex/values').VNull<null, "required">], "optional", "enabled" | "allow_redirects">;
|
|
5147
5146
|
client_secret: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
5148
5147
|
customer: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
5149
5148
|
description: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
@@ -5176,9 +5175,9 @@ declare const stripeSchema: import('convex/server').SchemaDefinition<{
|
|
|
5176
5175
|
payment_method_options: import('convex/values').VAny<any, "required", string>;
|
|
5177
5176
|
payment_method_types: import('convex/values').VArray<string[], import('convex/values').VString<string, "required">, "required">;
|
|
5178
5177
|
single_use_mandate: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
5179
|
-
}, "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.
|
|
5178
|
+
}, "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}`>;
|
|
5180
5179
|
last_synced_at: import('convex/values').VFloat64<number, "required">;
|
|
5181
|
-
}, "required", "stripe" | "last_synced_at" | "stripe.object" | "stripe.id" | "stripe.description" | "stripe.metadata" | "stripe.created" | "stripe.livemode" | `stripe.metadata.${string}` | "stripe.customer" | "stripe.status" | "stripe.next_action" | `stripe.next_action.${string}` | "stripe.application" | "stripe.on_behalf_of" | "stripe.payment_method" | "stripe.client_secret" | "stripe.payment_method_configuration_details" | "stripe.payment_method_options" | "stripe.payment_method_types" | `stripe.payment_method_options.${string}` | "stripe.automatic_payment_methods" | "stripe.cancellation_reason" | "stripe.payment_method_configuration_details.id" | "stripe.payment_method_configuration_details.parent" | "stripe.automatic_payment_methods.
|
|
5180
|
+
}, "required", "stripe" | "last_synced_at" | "stripe.object" | "stripe.id" | "stripe.description" | "stripe.metadata" | "stripe.created" | "stripe.livemode" | `stripe.metadata.${string}` | "stripe.customer" | "stripe.status" | "stripe.next_action" | `stripe.next_action.${string}` | "stripe.application" | "stripe.on_behalf_of" | "stripe.payment_method" | "stripe.client_secret" | "stripe.payment_method_configuration_details" | "stripe.payment_method_options" | "stripe.payment_method_types" | `stripe.payment_method_options.${string}` | "stripe.automatic_payment_methods" | "stripe.cancellation_reason" | "stripe.payment_method_configuration_details.id" | "stripe.payment_method_configuration_details.parent" | "stripe.automatic_payment_methods.enabled" | "stripe.automatic_payment_methods.allow_redirects" | "setupIntentId" | "stripe.last_setup_error" | "stripe.usage" | "stripe.attach_to_self" | "stripe.flow_directions" | "stripe.latest_attempt" | "stripe.mandate" | "stripe.single_use_mandate" | `stripe.last_setup_error.${string}`>, {
|
|
5182
5181
|
bySetupIntentId: ["setupIntentId", "_creationTime"];
|
|
5183
5182
|
}, {}, {}>;
|
|
5184
5183
|
stripe_credit_notes: import('convex/server').TableDefinition<import('convex/values').VObject<{
|
|
@@ -5561,7 +5560,7 @@ declare const stripeSchema: import('convex/server').SchemaDefinition<{
|
|
|
5561
5560
|
transfer_group: import('convex/values').VAny<any, "required", string>;
|
|
5562
5561
|
}, "required", "object" | "id" | "amount" | "balance_transaction" | "billing_details" | "currency" | "customer" | "description" | "disputed" | "metadata" | "payment_intent" | "payment_method_details" | "receipt_email" | "refunded" | "shipping" | "statement_descriptor" | "statement_descriptor_suffix" | "status" | "amount_captured" | "amount_refunded" | "application" | "application_fee" | "application_fee_amount" | "calculated_statement_descriptor" | "captured" | "created" | "failure_balance_transaction" | "failure_code" | "failure_message" | "fraud_details" | "livemode" | "on_behalf_of" | "outcome" | "paid" | "payment_method" | "presentment_details" | "radar_options" | "receipt_number" | "receipt_url" | "refunds" | "review" | "source_transfer" | "transfer" | "transfer_data" | "transfer_group" | "billing_details.address" | "billing_details.email" | "billing_details.name" | "billing_details.phone" | "billing_details.tax_id" | "billing_details.address.city" | "billing_details.address.country" | "billing_details.address.line1" | "billing_details.address.line2" | "billing_details.address.postal_code" | "billing_details.address.state" | `metadata.${string}` | `payment_method_details.${string}` | `shipping.${string}` | `fraud_details.${string}` | `outcome.${string}` | `presentment_details.${string}` | `radar_options.${string}` | `refunds.${string}` | `transfer_data.${string}` | `transfer_group.${string}`>;
|
|
5563
5562
|
last_synced_at: import('convex/values').VFloat64<number, "required">;
|
|
5564
|
-
}, "required", "stripe" | "last_synced_at" | "stripe.object" | "stripe.id" | "stripe.description" | "stripe.metadata" | "stripe.statement_descriptor" | "stripe.created" | "stripe.livemode" | `stripe.metadata.${string}` | "stripe.currency" | "stripe.shipping" | "stripe.customer" | "stripe.amount" | "stripe.balance_transaction" | "stripe.status" | "stripe.application_fee_amount" | "stripe.failure_balance_transaction" | "stripe.failure_code" | "stripe.failure_message" | "stripe.payment_intent" | "stripe.receipt_number" | "stripe.receipt_email" | "stripe.statement_descriptor_suffix" | "stripe.application" | "stripe.on_behalf_of" | "stripe.payment_method" | "stripe.presentment_details" | "stripe.review" | "stripe.transfer_data" | "stripe.transfer_group" | `stripe.shipping.${string}` | `stripe.presentment_details.${string}` | `stripe.transfer_data.${string}` | "stripe.payment_method_details" | `stripe.payment_method_details.${string}` | "stripe.refunds" | "chargeId" | "stripe.billing_details" | "stripe.disputed" | "stripe.refunded" | "stripe.amount_captured" | "stripe.amount_refunded" | "stripe.
|
|
5563
|
+
}, "required", "stripe" | "last_synced_at" | "stripe.object" | "stripe.id" | "stripe.description" | "stripe.metadata" | "stripe.statement_descriptor" | "stripe.created" | "stripe.livemode" | `stripe.metadata.${string}` | "stripe.currency" | "stripe.shipping" | "stripe.customer" | "stripe.amount" | "stripe.balance_transaction" | "stripe.status" | "stripe.application_fee" | "stripe.application_fee_amount" | "stripe.failure_balance_transaction" | "stripe.failure_code" | "stripe.failure_message" | "stripe.payment_intent" | "stripe.receipt_number" | "stripe.receipt_email" | "stripe.statement_descriptor_suffix" | "stripe.application" | "stripe.on_behalf_of" | "stripe.payment_method" | "stripe.presentment_details" | "stripe.review" | "stripe.transfer_data" | "stripe.transfer_group" | `stripe.shipping.${string}` | `stripe.presentment_details.${string}` | `stripe.transfer_data.${string}` | "stripe.payment_method_details" | `stripe.payment_method_details.${string}` | "stripe.refunds" | "chargeId" | "stripe.billing_details" | "stripe.disputed" | "stripe.refunded" | "stripe.amount_captured" | "stripe.amount_refunded" | "stripe.calculated_statement_descriptor" | "stripe.captured" | "stripe.fraud_details" | "stripe.outcome" | "stripe.paid" | "stripe.radar_options" | "stripe.receipt_url" | "stripe.source_transfer" | "stripe.transfer" | "stripe.billing_details.address" | "stripe.billing_details.email" | "stripe.billing_details.name" | "stripe.billing_details.phone" | "stripe.billing_details.tax_id" | "stripe.billing_details.address.city" | "stripe.billing_details.address.country" | "stripe.billing_details.address.line1" | "stripe.billing_details.address.line2" | "stripe.billing_details.address.postal_code" | "stripe.billing_details.address.state" | `stripe.fraud_details.${string}` | `stripe.outcome.${string}` | `stripe.radar_options.${string}` | `stripe.refunds.${string}` | `stripe.transfer_group.${string}`>, {
|
|
5565
5564
|
byChargeId: ["chargeId", "_creationTime"];
|
|
5566
5565
|
}, {}, {}>;
|
|
5567
5566
|
stripe_payment_methods: import('convex/server').TableDefinition<import('convex/values').VObject<{
|
|
@@ -6059,5 +6058,4 @@ declare const stripeSchema: import('convex/server').SchemaDefinition<{
|
|
|
6059
6058
|
}, {}, {}>;
|
|
6060
6059
|
}, true>;
|
|
6061
6060
|
export type StripeDataModel = DataModelFromSchemaDefinition<typeof stripeSchema>;
|
|
6062
|
-
export type Doc<T extends TableNamesInDataModel<StripeDataModel>> = GenericDoc<StripeDataModel, T>;
|
|
6063
6061
|
export {};
|