@raideno/convex-stripe 0.2.1 → 0.2.2

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/index.d.ts CHANGED
@@ -1572,8 +1572,8 @@ settings: VAny<any, "optional", string>;
1572
1572
  }, "required", "object" | "type" | "company" | "individual" | "id" | "business_type" | "capabilities" | "country" | "email" | "metadata" | "requirements" | "tos_acceptance" | "business_profile" | "charges_enabled" | "controller" | "created" | "default_currency" | "details_submitted" | "external_accounts" | "future_requirements" | "groups" | "payouts_enabled" | "settings" | `company.${string}` | `individual.${string}` | `capabilities.${string}` | `metadata.${string}` | `requirements.${string}` | `tos_acceptance.${string}` | `business_profile.${string}` | `controller.${string}` | `external_accounts.${string}` | `future_requirements.${string}` | `groups.${string}` | `settings.${string}`>;
1573
1573
  lastSyncedAt: VFloat64<number, "required">;
1574
1574
  }, "required", "stripe" | "accountId" | "entityId" | "lastSyncedAt" | "stripe.object" | "stripe.type" | "stripe.company" | "stripe.individual" | "stripe.id" | "stripe.business_type" | "stripe.capabilities" | "stripe.country" | "stripe.email" | "stripe.metadata" | "stripe.requirements" | "stripe.tos_acceptance" | "stripe.business_profile" | "stripe.charges_enabled" | "stripe.controller" | "stripe.created" | "stripe.default_currency" | "stripe.details_submitted" | "stripe.external_accounts" | "stripe.future_requirements" | "stripe.groups" | "stripe.payouts_enabled" | "stripe.settings" | `stripe.company.${string}` | `stripe.individual.${string}` | `stripe.capabilities.${string}` | `stripe.metadata.${string}` | `stripe.requirements.${string}` | `stripe.tos_acceptance.${string}` | `stripe.business_profile.${string}` | `stripe.controller.${string}` | `stripe.external_accounts.${string}` | `stripe.future_requirements.${string}` | `stripe.groups.${string}` | `stripe.settings.${string}`>, {
1575
- byStripeId: ["accountId", "_creationTime"];
1576
1575
  byEntityId: ["entityId", "_creationTime"];
1576
+ byStripeId: ["accountId", "_creationTime"];
1577
1577
  }, {}, {}>;
1578
1578
  stripeProducts: TableDefinition<VObject< {
1579
1579
  accountId?: string | undefined;
@@ -1675,8 +1675,8 @@ default_price: VUnion<string | null, [VString<string, "required">, VNull<null, "
1675
1675
  lastSyncedAt: VFloat64<number, "required">;
1676
1676
  accountId: VString<string | undefined, "optional">;
1677
1677
  }, "required", "stripe" | "productId" | "accountId" | "lastSyncedAt" | "stripe.object" | "stripe.id" | "stripe.metadata" | "stripe.created" | `stripe.metadata.${string}` | "stripe.active" | "stripe.name" | "stripe.url" | "stripe.livemode" | "stripe.updated" | "stripe.description" | "stripe.statement_descriptor" | "stripe.images" | "stripe.package_dimensions" | "stripe.shippable" | "stripe.unit_label" | "stripe.marketing_features" | "stripe.default_price" | "stripe.package_dimensions.length" | "stripe.package_dimensions.height" | "stripe.package_dimensions.weight" | "stripe.package_dimensions.width">, {
1678
- byStripeId: ["productId", "_creationTime"];
1679
1678
  byAccountId: ["accountId", "_creationTime"];
1679
+ byStripeId: ["productId", "_creationTime"];
1680
1680
  }, {}, {}>;
1681
1681
  stripePrices: TableDefinition<VObject< {
1682
1682
  accountId?: string | undefined;
@@ -1788,8 +1788,8 @@ unit_amount_decimal: VUnion<string | null, [VString<string, "required">, VNull<n
1788
1788
  lastSyncedAt: VFloat64<number, "required">;
1789
1789
  accountId: VString<string | undefined, "optional">;
1790
1790
  }, "required", "stripe" | "accountId" | "lastSyncedAt" | "stripe.object" | "stripe.type" | "stripe.id" | "stripe.metadata" | "stripe.created" | `stripe.metadata.${string}` | "stripe.active" | "stripe.livemode" | "priceId" | "stripe.currency" | "stripe.nickname" | "stripe.billing_scheme" | "stripe.tiers_mode" | "stripe.recurring" | "stripe.productId" | "stripe.unit_amount" | "stripe.lookup_key" | "stripe.transform_quantity" | "stripe.unit_amount_decimal" | "stripe.recurring.interval" | "stripe.recurring.interval_count" | "stripe.recurring.meter" | "stripe.recurring.trial_period_days" | "stripe.recurring.usage_type" | "stripe.transform_quantity.divide_by" | "stripe.transform_quantity.round">, {
1791
- byStripeId: ["priceId", "_creationTime"];
1792
1791
  byAccountId: ["accountId", "_creationTime"];
1792
+ byStripeId: ["priceId", "_creationTime"];
1793
1793
  }, {}, {}>;
1794
1794
  stripeCustomers: TableDefinition<VObject< {
1795
1795
  accountId?: string | undefined;
@@ -2038,9 +2038,9 @@ test_clock: VUnion<string | null | undefined, [VString<string, "required">, VNul
2038
2038
  lastSyncedAt: VFloat64<number, "required">;
2039
2039
  accountId: VString<string | undefined, "optional">;
2040
2040
  }, "required", "stripe" | "accountId" | "entityId" | "lastSyncedAt" | "stripe.object" | "stripe.id" | "stripe.email" | "stripe.metadata" | "stripe.created" | `stripe.metadata.${string}` | "stripe.name" | "stripe.livemode" | "stripe.description" | "stripe.currency" | "customerId" | "stripe.address" | "stripe.phone" | "stripe.shipping" | "stripe.address.country" | "stripe.address.city" | "stripe.address.line1" | "stripe.address.line2" | "stripe.address.postal_code" | "stripe.address.state" | "stripe.discount" | "stripe.tax" | "stripe.balance" | "stripe.cash_balance" | "stripe.default_source" | "stripe.delinquent" | "stripe.invoice_credit_balance" | "stripe.invoice_prefix" | "stripe.invoice_settings" | "stripe.next_invoice_sequence" | "stripe.preferred_locales" | "stripe.sources" | "stripe.subscriptions" | "stripe.tax_exempt" | "stripe.tax_ids" | "stripe.test_clock" | "stripe.shipping.address" | "stripe.shipping.name" | "stripe.shipping.phone" | "stripe.shipping.address.country" | "stripe.shipping.address.city" | "stripe.shipping.address.line1" | "stripe.shipping.address.line2" | "stripe.shipping.address.postal_code" | "stripe.shipping.address.state" | "stripe.shipping.carrier" | "stripe.shipping.tracking_number" | `stripe.discount.${string}` | "stripe.tax.automatic_tax" | "stripe.tax.ip_address" | "stripe.tax.location" | "stripe.tax.location.country" | "stripe.tax.location.state" | "stripe.tax.location.source" | `stripe.cash_balance.${string}` | `stripe.invoice_credit_balance.${string}` | `stripe.invoice_settings.${string}` | `stripe.sources.${string}` | `stripe.subscriptions.${string}` | `stripe.tax_ids.${string}`>, {
2041
- byStripeId: ["customerId", "_creationTime"];
2042
2041
  byEntityId: ["entityId", "_creationTime"];
2043
2042
  byAccountId: ["accountId", "_creationTime"];
2043
+ byStripeId: ["customerId", "_creationTime"];
2044
2044
  }, {}, {}>;
2045
2045
  stripeSubscriptions: TableDefinition<VObject< {
2046
2046
  accountId?: string | undefined;
@@ -2055,9 +2055,9 @@ stripe: VAny<any, "required", string>;
2055
2055
  lastSyncedAt: VFloat64<number, "required">;
2056
2056
  accountId: VString<string | undefined, "optional">;
2057
2057
  }, "required", "stripe" | "accountId" | "lastSyncedAt" | "customerId" | "subscriptionId" | `stripe.${string}`>, {
2058
- byStripeId: ["subscriptionId", "_creationTime"];
2059
2058
  byCustomerId: ["customerId", "_creationTime"];
2060
2059
  byAccountId: ["accountId", "_creationTime"];
2060
+ byStripeId: ["subscriptionId", "_creationTime"];
2061
2061
  }, {}, {}>;
2062
2062
  stripeCoupons: TableDefinition<VObject< {
2063
2063
  accountId?: string | undefined;
@@ -2146,8 +2146,8 @@ valid: VBoolean<boolean, "required">;
2146
2146
  lastSyncedAt: VFloat64<number, "required">;
2147
2147
  accountId: VString<string | undefined, "optional">;
2148
2148
  }, "required", "stripe" | "accountId" | "lastSyncedAt" | "stripe.object" | "stripe.id" | "stripe.metadata" | "stripe.created" | `stripe.metadata.${string}` | "stripe.name" | "stripe.livemode" | "stripe.currency" | "couponId" | "stripe.amount_off" | "stripe.duration" | "stripe.percent_off" | "stripe.applies_to" | "stripe.currency_options" | "stripe.duration_in_months" | "stripe.max_redemptions" | "stripe.redeem_by" | "stripe.times_redeemed" | "stripe.valid" | "stripe.applies_to.products" | `stripe.currency_options.${string}`>, {
2149
- byStripeId: ["couponId", "_creationTime"];
2150
2149
  byAccountId: ["accountId", "_creationTime"];
2150
+ byStripeId: ["couponId", "_creationTime"];
2151
2151
  }, {}, {}>;
2152
2152
  stripePromotionCodes: TableDefinition<VObject< {
2153
2153
  accountId?: string | undefined;
@@ -2334,8 +2334,8 @@ times_redeemed: VFloat64<number, "required">;
2334
2334
  lastSyncedAt: VFloat64<number, "required">;
2335
2335
  accountId: VString<string | undefined, "optional">;
2336
2336
  }, "required", "stripe" | "accountId" | "lastSyncedAt" | "stripe.object" | "stripe.id" | "stripe.metadata" | "stripe.created" | `stripe.metadata.${string}` | "stripe.active" | "stripe.livemode" | "stripe.max_redemptions" | "stripe.times_redeemed" | "promotionCodeId" | "stripe.customer" | "stripe.expires_at" | "stripe.coupon" | "stripe.code" | "stripe.restrictions" | "stripe.coupon.object" | "stripe.coupon.id" | "stripe.coupon.metadata" | "stripe.coupon.created" | `stripe.coupon.metadata.${string}` | "stripe.coupon.name" | "stripe.coupon.livemode" | "stripe.coupon.currency" | "stripe.coupon.amount_off" | "stripe.coupon.duration" | "stripe.coupon.percent_off" | "stripe.coupon.applies_to" | "stripe.coupon.currency_options" | "stripe.coupon.duration_in_months" | "stripe.coupon.max_redemptions" | "stripe.coupon.redeem_by" | "stripe.coupon.times_redeemed" | "stripe.coupon.valid" | "stripe.coupon.applies_to.products" | `stripe.coupon.currency_options.${string}` | "stripe.restrictions.currency_options" | `stripe.restrictions.currency_options.${string}` | "stripe.restrictions.minimum_amount" | "stripe.restrictions.first_time_transaction" | "stripe.restrictions.minimum_amount_currency">, {
2337
- byStripeId: ["promotionCodeId", "_creationTime"];
2338
2337
  byAccountId: ["accountId", "_creationTime"];
2338
+ byStripeId: ["promotionCodeId", "_creationTime"];
2339
2339
  }, {}, {}>;
2340
2340
  stripePayouts: TableDefinition<VObject< {
2341
2341
  accountId?: string | undefined;
@@ -2447,8 +2447,8 @@ type: VUnion<"card" | "bank_account", [VLiteral<"bank_account", "required">, VLi
2447
2447
  lastSyncedAt: VFloat64<number, "required">;
2448
2448
  accountId: VString<string | undefined, "optional">;
2449
2449
  }, "required", "stripe" | "accountId" | "lastSyncedAt" | "stripe.object" | "stripe.type" | "stripe.id" | "stripe.metadata" | "stripe.created" | `stripe.metadata.${string}` | "stripe.livemode" | "stripe.description" | "stripe.statement_descriptor" | "stripe.currency" | "payoutId" | "stripe.status" | "stripe.amount" | "stripe.balance_transaction" | "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">, {
2450
- byStripeId: ["payoutId", "_creationTime"];
2451
2450
  byAccountId: ["accountId", "_creationTime"];
2451
+ byStripeId: ["payoutId", "_creationTime"];
2452
2452
  }, {}, {}>;
2453
2453
  stripeRefunds: TableDefinition<VObject< {
2454
2454
  accountId?: string | undefined;
@@ -2527,8 +2527,8 @@ transfer_reversal: VUnion<string | null | undefined, [VString<string, "required"
2527
2527
  lastSyncedAt: VFloat64<number, "required">;
2528
2528
  accountId: VString<string | undefined, "optional">;
2529
2529
  }, "required", "stripe" | "accountId" | "lastSyncedAt" | "stripe.object" | "stripe.id" | "stripe.metadata" | "stripe.created" | `stripe.metadata.${string}` | "stripe.description" | "stripe.currency" | "stripe.status" | "stripe.amount" | "stripe.balance_transaction" | "stripe.failure_balance_transaction" | "refundId" | "stripe.payment_intent" | "stripe.receipt_number" | "stripe.charge" | "stripe.reason" | "stripe.next_action" | `stripe.next_action.${string}` | "stripe.destination_details" | "stripe.failure_reason" | "stripe.instructions_email" | "stripe.pending_reason" | "stripe.source_transfer_reversal" | "stripe.transfer_reversal" | `stripe.destination_details.${string}`>, {
2530
- byStripeId: ["refundId", "_creationTime"];
2531
2530
  byAccountId: ["accountId", "_creationTime"];
2531
+ byStripeId: ["refundId", "_creationTime"];
2532
2532
  }, {}, {}>;
2533
2533
  stripePaymentIntents: TableDefinition<VObject< {
2534
2534
  accountId?: string | undefined;
@@ -2769,8 +2769,8 @@ transfer_group: VUnion<string | null | undefined, [VString<string, "required">,
2769
2769
  lastSyncedAt: VFloat64<number, "required">;
2770
2770
  accountId: VString<string | undefined, "optional">;
2771
2771
  }, "required", "stripe" | "accountId" | "lastSyncedAt" | "stripe.object" | "stripe.id" | "stripe.metadata" | "stripe.created" | `stripe.metadata.${string}` | "stripe.livemode" | "stripe.description" | "stripe.statement_descriptor" | "stripe.currency" | "stripe.shipping" | "stripe.customer" | "stripe.status" | "stripe.amount" | "stripe.application_fee_amount" | "stripe.next_action" | `stripe.next_action.${string}` | "paymentIntentId" | "stripe.application" | "stripe.cancellation_reason" | "stripe.receipt_email" | "stripe.statement_descriptor_suffix" | "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.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.${string}`>, {
2772
- byStripeId: ["paymentIntentId", "_creationTime"];
2773
2772
  byAccountId: ["accountId", "_creationTime"];
2773
+ byStripeId: ["paymentIntentId", "_creationTime"];
2774
2774
  }, {}, {}>;
2775
2775
  stripeCheckoutSessions: TableDefinition<VObject< {
2776
2776
  accountId?: string | undefined;
@@ -2972,8 +2972,8 @@ wallet_options: VUnion<any, [VAny<any, "required", string>, VNull<null, "require
2972
2972
  lastSyncedAt: VFloat64<number, "required">;
2973
2973
  accountId: VString<string | undefined, "optional">;
2974
2974
  }, "required", "stripe" | "accountId" | "lastSyncedAt" | "stripe.object" | "stripe.id" | "stripe.metadata" | "stripe.created" | `stripe.metadata.${string}` | "stripe.url" | "stripe.livemode" | "stripe.currency" | "stripe.customer" | "stripe.expires_at" | "stripe.status" | "stripe.payment_intent" | "stripe.presentment_details" | `stripe.presentment_details.${string}` | "stripe.client_secret" | "stripe.payment_method_configuration_details" | "stripe.payment_method_options" | "stripe.payment_method_types" | `stripe.payment_method_options.${string}` | "checkoutSessionId" | "stripe.mode" | "stripe.subscription" | "stripe.automatic_tax" | "stripe.client_reference_id" | "stripe.customer_email" | "stripe.line_items" | "stripe.payment_status" | "stripe.return_url" | "stripe.success_url" | "stripe.ui_mode" | "stripe.adaptive_pricing" | "stripe.after_expiration" | "stripe.allow_promotion_codes" | "stripe.amount_subtotal" | "stripe.amount_total" | "stripe.billing_address_collection" | "stripe.cancel_url" | "stripe.collected_information" | "stripe.consent" | "stripe.consent_collection" | "stripe.currency_conversion" | "stripe.custom_fields" | "stripe.custom_text" | "stripe.customer_creation" | "stripe.customer_details" | "stripe.discounts" | "stripe.invoice" | "stripe.invoice_creation" | "stripe.locale" | "stripe.optional_items" | "stripe.origin_context" | "stripe.payment_link" | "stripe.payment_method_collection" | "stripe.permissions" | "stripe.phone_number_collection" | "stripe.recovered_from" | "stripe.redirect_on_completion" | "stripe.saved_payment_method_options" | "stripe.setup_intent" | "stripe.shipping_address_collection" | "stripe.shipping_cost" | "stripe.shipping_options" | "stripe.submit_type" | "stripe.tax_id_collection" | "stripe.total_details" | "stripe.wallet_options" | `stripe.automatic_tax.${string}` | `stripe.adaptive_pricing.${string}` | `stripe.after_expiration.${string}` | `stripe.collected_information.${string}` | `stripe.consent.${string}` | `stripe.consent_collection.${string}` | `stripe.currency_conversion.${string}` | `stripe.custom_text.${string}` | `stripe.customer_details.${string}` | `stripe.invoice_creation.${string}` | `stripe.payment_method_configuration_details.${string}` | `stripe.permissions.${string}` | `stripe.phone_number_collection.${string}` | `stripe.saved_payment_method_options.${string}` | `stripe.shipping_address_collection.${string}` | `stripe.shipping_cost.${string}` | `stripe.tax_id_collection.${string}` | `stripe.total_details.${string}` | `stripe.wallet_options.${string}`>, {
2975
- byStripeId: ["checkoutSessionId", "_creationTime"];
2976
2975
  byAccountId: ["accountId", "_creationTime"];
2976
+ byStripeId: ["checkoutSessionId", "_creationTime"];
2977
2977
  }, {}, {}>;
2978
2978
  stripeInvoices: TableDefinition<VObject< {
2979
2979
  accountId?: string | undefined;
@@ -3217,8 +3217,8 @@ webhooks_delivered_at: VUnion<number | null | undefined, [VFloat64<number, "requ
3217
3217
  lastSyncedAt: VFloat64<number, "required">;
3218
3218
  accountId: VString<string | undefined, "optional">;
3219
3219
  }, "required", "stripe" | "accountId" | "lastSyncedAt" | "stripe.object" | "stripe.id" | "stripe.metadata" | "stripe.created" | `stripe.metadata.${string}` | "stripe.livemode" | "stripe.description" | "stripe.statement_descriptor" | "stripe.currency" | "stripe.default_source" | "stripe.test_clock" | "stripe.customer" | "stripe.status" | "stripe.receipt_number" | "stripe.application" | "stripe.on_behalf_of" | "stripe.automatic_tax" | "stripe.customer_email" | "stripe.custom_fields" | "stripe.discounts" | "stripe.shipping_cost" | `stripe.automatic_tax.${string}` | `stripe.shipping_cost.${string}` | "invoiceId" | "stripe.number" | "stripe.lines" | "stripe.subtotal" | "stripe.total" | "stripe.amount_shipping" | "stripe.effective_at" | "stripe.subtotal_excluding_tax" | "stripe.total_excluding_tax" | "stripe.total_taxes" | `stripe.lines.${string}` | "stripe.auto_advance" | "stripe.collection_method" | "stripe.confirmation_secret" | "stripe.hosted_invoice_url" | "stripe.parent" | "stripe.period_end" | "stripe.period_start" | "stripe.account_country" | "stripe.account_name" | "stripe.account_tax_ids" | "stripe.amount_due" | "stripe.amount_overpaid" | "stripe.amount_paid" | "stripe.amount_remaining" | "stripe.attempt_count" | "stripe.attempted" | "stripe.automatically_finalizes_at" | "stripe.billing_reason" | "stripe.customer_address" | "stripe.customer_name" | "stripe.customer_phone" | "stripe.customer_shipping" | "stripe.customer_tax_exempt" | "stripe.customer_tax_ids" | "stripe.default_payment_method" | "stripe.default_tax_rates" | "stripe.due_date" | "stripe.ending_balance" | "stripe.footer" | "stripe.from_invoice" | "stripe.invoice_pdf" | "stripe.issuer" | "stripe.last_finalization_error" | "stripe.latest_revision" | "stripe.next_payment_attempt" | "stripe.payment_settings" | "stripe.payments" | "stripe.post_payment_credit_notes_amount" | "stripe.pre_payment_credit_notes_amount" | "stripe.rendering" | "stripe.shipping_details" | "stripe.starting_balance" | "stripe.status_transitions" | "stripe.threshold_reason" | "stripe.total_discount_amounts" | "stripe.total_pretax_credit_amounts" | "stripe.webhooks_delivered_at" | `stripe.confirmation_secret.${string}` | `stripe.parent.${string}` | `stripe.customer_address.${string}` | `stripe.customer_shipping.${string}` | `stripe.from_invoice.${string}` | `stripe.issuer.${string}` | `stripe.last_finalization_error.${string}` | `stripe.payment_settings.${string}` | `stripe.payments.${string}` | `stripe.rendering.${string}` | `stripe.shipping_details.${string}` | `stripe.status_transitions.${string}` | `stripe.threshold_reason.${string}`>, {
3220
- byStripeId: ["invoiceId", "_creationTime"];
3221
3220
  byAccountId: ["accountId", "_creationTime"];
3221
+ byStripeId: ["invoiceId", "_creationTime"];
3222
3222
  }, {}, {}>;
3223
3223
  stripeReviews: TableDefinition<VObject< {
3224
3224
  accountId?: string | undefined;
@@ -3331,8 +3331,8 @@ version: VUnion<string | null | undefined, [VString<string, "required">, VNull<n
3331
3331
  lastSyncedAt: VFloat64<number, "required">;
3332
3332
  accountId: VString<string | undefined, "optional">;
3333
3333
  }, "required", "stripe" | "accountId" | "lastSyncedAt" | "stripe.object" | "stripe.id" | "stripe.created" | "stripe.livemode" | "stripe.payment_intent" | "stripe.charge" | "stripe.reason" | "reviewId" | "stripe.open" | "stripe.ip_address" | "stripe.billing_zip" | "stripe.closed_reason" | "stripe.ip_address_location" | "stripe.opened_reason" | "stripe.session" | "stripe.ip_address_location.country" | "stripe.ip_address_location.city" | "stripe.ip_address_location.latitude" | "stripe.ip_address_location.longitude" | "stripe.ip_address_location.region" | "stripe.session.browser" | "stripe.session.device" | "stripe.session.platform" | "stripe.session.version">, {
3334
- byStripeId: ["reviewId", "_creationTime"];
3335
3334
  byAccountId: ["accountId", "_creationTime"];
3335
+ byStripeId: ["reviewId", "_creationTime"];
3336
3336
  }, {}, {}>;
3337
3337
  stripePlans: TableDefinition<VObject< {
3338
3338
  accountId?: string | undefined;
@@ -3423,8 +3423,8 @@ usage_type: VString<string, "required">;
3423
3423
  lastSyncedAt: VFloat64<number, "required">;
3424
3424
  accountId: VString<string | undefined, "optional">;
3425
3425
  }, "required", "stripe" | "accountId" | "lastSyncedAt" | "stripe.object" | "stripe.id" | "stripe.metadata" | "stripe.created" | `stripe.metadata.${string}` | "stripe.active" | "stripe.livemode" | "stripe.currency" | "stripe.nickname" | "stripe.billing_scheme" | "stripe.tiers_mode" | "stripe.amount" | "planId" | "stripe.product" | "stripe.interval" | "stripe.amount_decimal" | "stripe.interval_count" | "stripe.meter" | "stripe.tiers" | "stripe.transform_usage" | "stripe.trial_period_days" | "stripe.usage_type" | "stripe.transform_usage.divide_by" | "stripe.transform_usage.round">, {
3426
- byStripeId: ["planId", "_creationTime"];
3427
3426
  byAccountId: ["accountId", "_creationTime"];
3427
+ byStripeId: ["planId", "_creationTime"];
3428
3428
  }, {}, {}>;
3429
3429
  stripeDisputes: TableDefinition<VObject< {
3430
3430
  accountId?: string | undefined;
@@ -3491,8 +3491,8 @@ payment_method_details: VAny<any, "optional", string>;
3491
3491
  lastSyncedAt: VFloat64<number, "required">;
3492
3492
  accountId: VString<string | undefined, "optional">;
3493
3493
  }, "required", "stripe" | "accountId" | "lastSyncedAt" | "stripe.object" | "stripe.id" | "stripe.metadata" | "stripe.created" | `stripe.metadata.${string}` | "stripe.livemode" | "stripe.currency" | "stripe.status" | "stripe.amount" | "stripe.payment_intent" | "stripe.charge" | "stripe.reason" | "disputeId" | "stripe.payment_method_details" | `stripe.payment_method_details.${string}` | "stripe.evidence" | "stripe.balance_transactions" | "stripe.enhanced_eligibility_types" | "stripe.evidence_details" | "stripe.is_charge_refundable" | `stripe.evidence.${string}` | `stripe.evidence_details.${string}`>, {
3494
- byStripeId: ["disputeId", "_creationTime"];
3495
3494
  byAccountId: ["accountId", "_creationTime"];
3495
+ byStripeId: ["disputeId", "_creationTime"];
3496
3496
  }, {}, {}>;
3497
3497
  stripeEarlyFraudWarnings: TableDefinition<VObject< {
3498
3498
  accountId?: string | undefined;
@@ -3532,8 +3532,8 @@ payment_intent: VUnion<string | null | undefined, [VString<string, "required">,
3532
3532
  lastSyncedAt: VFloat64<number, "required">;
3533
3533
  accountId: VString<string | undefined, "optional">;
3534
3534
  }, "required", "stripe" | "accountId" | "lastSyncedAt" | "stripe.object" | "stripe.id" | "stripe.created" | "stripe.livemode" | "stripe.payment_intent" | "stripe.charge" | "earlyFraudWarningId" | "stripe.actionable" | "stripe.fraud_type">, {
3535
- byStripeId: ["earlyFraudWarningId", "_creationTime"];
3536
3535
  byAccountId: ["accountId", "_creationTime"];
3536
+ byStripeId: ["earlyFraudWarningId", "_creationTime"];
3537
3537
  }, {}, {}>;
3538
3538
  stripeTaxIds: TableDefinition<VObject< {
3539
3539
  accountId?: string | undefined;
@@ -3624,8 +3624,8 @@ verified_name: VUnion<string | null | undefined, [VString<string, "required">, V
3624
3624
  lastSyncedAt: VFloat64<number, "required">;
3625
3625
  accountId: VString<string | undefined, "optional">;
3626
3626
  }, "required", "stripe" | "accountId" | "lastSyncedAt" | "stripe.object" | "stripe.type" | "stripe.id" | "stripe.country" | "stripe.created" | "stripe.livemode" | "stripe.customer" | "taxIdId" | "stripe.value" | "stripe.owner" | "stripe.verification" | "stripe.owner.type" | "stripe.owner.account" | "stripe.owner.application" | "stripe.owner.customer" | "stripe.verification.status" | "stripe.verification.verified_address" | "stripe.verification.verified_name">, {
3627
- byStripeId: ["taxIdId", "_creationTime"];
3628
3627
  byAccountId: ["accountId", "_creationTime"];
3628
+ byStripeId: ["taxIdId", "_creationTime"];
3629
3629
  }, {}, {}>;
3630
3630
  stripeSetupIntents: TableDefinition<VObject< {
3631
3631
  accountId?: string | undefined;
@@ -3746,8 +3746,8 @@ single_use_mandate: VUnion<string | null | undefined, [VString<string, "required
3746
3746
  lastSyncedAt: VFloat64<number, "required">;
3747
3747
  accountId: VString<string | undefined, "optional">;
3748
3748
  }, "required", "stripe" | "accountId" | "lastSyncedAt" | "stripe.object" | "stripe.id" | "stripe.metadata" | "stripe.created" | `stripe.metadata.${string}` | "stripe.livemode" | "stripe.description" | "stripe.customer" | "stripe.status" | "stripe.next_action" | `stripe.next_action.${string}` | "stripe.application" | "stripe.cancellation_reason" | "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.payment_method_configuration_details.id" | "stripe.payment_method_configuration_details.parent" | "stripe.automatic_payment_methods.enabled" | "stripe.automatic_payment_methods.allow_redirects" | "setupIntentId" | "stripe.mandate" | "stripe.last_setup_error" | "stripe.usage" | "stripe.attach_to_self" | "stripe.flow_directions" | "stripe.latest_attempt" | "stripe.single_use_mandate" | `stripe.last_setup_error.${string}`>, {
3749
- byStripeId: ["setupIntentId", "_creationTime"];
3750
3749
  byAccountId: ["accountId", "_creationTime"];
3750
+ byStripeId: ["setupIntentId", "_creationTime"];
3751
3751
  }, {}, {}>;
3752
3752
  stripeCreditNotes: TableDefinition<VObject< {
3753
3753
  accountId?: string | undefined;
@@ -3917,8 +3917,8 @@ voided_at: VUnion<number | null | undefined, [VFloat64<number, "required">, VNul
3917
3917
  lastSyncedAt: VFloat64<number, "required">;
3918
3918
  accountId: VString<string | undefined, "optional">;
3919
3919
  }, "required", "stripe" | "accountId" | "lastSyncedAt" | "stripe.object" | "stripe.type" | "stripe.id" | "stripe.metadata" | "stripe.created" | `stripe.metadata.${string}` | "stripe.livemode" | "stripe.currency" | "stripe.customer" | "stripe.status" | "stripe.amount" | "stripe.reason" | "stripe.invoice" | "stripe.shipping_cost" | `stripe.shipping_cost.${string}` | "stripe.number" | "stripe.lines" | "stripe.subtotal" | "stripe.total" | "stripe.amount_shipping" | "stripe.effective_at" | "stripe.subtotal_excluding_tax" | "stripe.total_excluding_tax" | "stripe.total_taxes" | `stripe.lines.${string}` | "creditNoteId" | "stripe.refunds" | "stripe.memo" | "stripe.customer_balance_transaction" | "stripe.discount_amount" | "stripe.discount_amounts" | "stripe.out_of_band_amount" | "stripe.pdf" | "stripe.post_payment_amount" | "stripe.pre_payment_amount" | "stripe.pretax_credit_amounts" | "stripe.voided_at" | `stripe.total_taxes.${string}`>, {
3920
- byStripeId: ["creditNoteId", "_creationTime"];
3921
3920
  byAccountId: ["accountId", "_creationTime"];
3921
+ byStripeId: ["creditNoteId", "_creationTime"];
3922
3922
  }, {}, {}>;
3923
3923
  stripeCharges: TableDefinition<VObject< {
3924
3924
  accountId?: string | undefined;
@@ -4135,8 +4135,8 @@ transfer_group: VAny<any, "optional", string>;
4135
4135
  lastSyncedAt: VFloat64<number, "required">;
4136
4136
  accountId: VString<string | undefined, "optional">;
4137
4137
  }, "required", "stripe" | "accountId" | "lastSyncedAt" | "stripe.object" | "stripe.id" | "stripe.metadata" | "stripe.created" | `stripe.metadata.${string}` | "stripe.livemode" | "stripe.description" | "stripe.statement_descriptor" | "stripe.currency" | "stripe.shipping" | "stripe.customer" | "stripe.status" | "stripe.amount" | "stripe.balance_transaction" | "stripe.application_fee" | "stripe.application_fee_amount" | "stripe.failure_balance_transaction" | "stripe.failure_code" | "stripe.failure_message" | "stripe.payment_intent" | "stripe.receipt_number" | "stripe.application" | "stripe.receipt_email" | "stripe.statement_descriptor_suffix" | "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.email" | "stripe.billing_details.address" | "stripe.billing_details.name" | "stripe.billing_details.phone" | "stripe.billing_details.tax_id" | "stripe.billing_details.address.country" | "stripe.billing_details.address.city" | "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}`>, {
4138
- byStripeId: ["chargeId", "_creationTime"];
4139
4138
  byAccountId: ["accountId", "_creationTime"];
4139
+ byStripeId: ["chargeId", "_creationTime"];
4140
4140
  }, {}, {}>;
4141
4141
  stripePaymentMethods: TableDefinition<VObject< {
4142
4142
  accountId?: string | undefined;
@@ -4332,8 +4332,8 @@ zip: VAny<any, "optional", string>;
4332
4332
  lastSyncedAt: VFloat64<number, "required">;
4333
4333
  accountId: VString<string | undefined, "optional">;
4334
4334
  }, "required", "stripe" | "accountId" | "lastSyncedAt" | "stripe.object" | "stripe.type" | "stripe.id" | "stripe.metadata" | "stripe.created" | `stripe.metadata.${string}` | "stripe.livemode" | "stripe.customer" | "stripe.billing_details" | "stripe.radar_options" | `stripe.radar_options.${string}` | "paymentMethodId" | "stripe.link" | "stripe.acss_debit" | "stripe.affirm" | "stripe.afterpay_clearpay" | "stripe.alipay" | "stripe.alma" | "stripe.amazon_pay" | "stripe.au_becs_debit" | "stripe.bacs_debit" | "stripe.bancontact" | "stripe.billie" | "stripe.blik" | "stripe.boleto" | "stripe.card" | "stripe.cashapp" | "stripe.crypto" | "stripe.customer_balance" | "stripe.eps" | "stripe.fpx" | "stripe.giropay" | "stripe.grabpay" | "stripe.ideal" | "stripe.kakao_pay" | "stripe.klarna" | "stripe.konbini" | "stripe.kr_card" | "stripe.mobilepay" | "stripe.multibanco" | "stripe.naver_pay" | "stripe.nz_bank_account" | "stripe.oxxo" | "stripe.p24" | "stripe.pay_by_bank" | "stripe.payco" | "stripe.paynow" | "stripe.paypal" | "stripe.pix" | "stripe.promptpay" | "stripe.revolut_pay" | "stripe.samsung_pay" | "stripe.satispay" | "stripe.sepa_debit" | "stripe.sofort" | "stripe.swish" | "stripe.twint" | "stripe.us_bank_account" | "stripe.wechat_pay" | "stripe.zip" | "stripe.allow_redisplay" | "stripe.card_present" | "stripe.interac_present" | `stripe.link.${string}` | `stripe.billing_details.${string}` | `stripe.acss_debit.${string}` | `stripe.affirm.${string}` | `stripe.afterpay_clearpay.${string}` | `stripe.alipay.${string}` | `stripe.alma.${string}` | `stripe.amazon_pay.${string}` | `stripe.au_becs_debit.${string}` | `stripe.bacs_debit.${string}` | `stripe.bancontact.${string}` | `stripe.billie.${string}` | `stripe.blik.${string}` | `stripe.boleto.${string}` | `stripe.card.${string}` | `stripe.cashapp.${string}` | `stripe.crypto.${string}` | `stripe.customer_balance.${string}` | `stripe.eps.${string}` | `stripe.fpx.${string}` | `stripe.giropay.${string}` | `stripe.grabpay.${string}` | `stripe.ideal.${string}` | `stripe.kakao_pay.${string}` | `stripe.klarna.${string}` | `stripe.konbini.${string}` | `stripe.kr_card.${string}` | `stripe.mobilepay.${string}` | `stripe.multibanco.${string}` | `stripe.naver_pay.${string}` | `stripe.nz_bank_account.${string}` | `stripe.oxxo.${string}` | `stripe.p24.${string}` | `stripe.pay_by_bank.${string}` | `stripe.payco.${string}` | `stripe.paynow.${string}` | `stripe.paypal.${string}` | `stripe.pix.${string}` | `stripe.promptpay.${string}` | `stripe.revolut_pay.${string}` | `stripe.samsung_pay.${string}` | `stripe.satispay.${string}` | `stripe.sepa_debit.${string}` | `stripe.sofort.${string}` | `stripe.swish.${string}` | `stripe.twint.${string}` | `stripe.us_bank_account.${string}` | `stripe.wechat_pay.${string}` | `stripe.zip.${string}` | `stripe.card_present.${string}` | `stripe.interac_present.${string}`>, {
4335
- byStripeId: ["paymentMethodId", "_creationTime"];
4336
4335
  byAccountId: ["accountId", "_creationTime"];
4336
+ byStripeId: ["paymentMethodId", "_creationTime"];
4337
4337
  }, {}, {}>;
4338
4338
  stripeSubscriptionSchedules: TableDefinition<VObject< {
4339
4339
  accountId?: string | undefined;
@@ -4634,8 +4634,8 @@ test_clock: VUnion<string | null | undefined, [VString<string, "required">, VNul
4634
4634
  lastSyncedAt: VFloat64<number, "required">;
4635
4635
  accountId: VString<string | undefined, "optional">;
4636
4636
  }, "required", "stripe" | "accountId" | "lastSyncedAt" | "stripe.object" | "stripe.id" | "stripe.metadata" | "stripe.created" | `stripe.metadata.${string}` | "stripe.livemode" | "stripe.test_clock" | "stripe.customer" | "stripe.status" | "stripe.application" | "stripe.canceled_at" | "subscriptionScheduleId" | "stripe.current_phase" | "stripe.phases" | "stripe.billing_mode" | "stripe.completed_at" | "stripe.default_settings" | "stripe.end_behavior" | "stripe.released_at" | "stripe.released_subscription" | "stripe.current_phase.end_date" | "stripe.current_phase.start_date" | `stripe.phases.${string}` | "stripe.billing_mode.type" | "stripe.billing_mode.updated_at" | "stripe.default_settings.description" | "stripe.default_settings.on_behalf_of" | "stripe.default_settings.transfer_data" | "stripe.default_settings.automatic_tax" | "stripe.default_settings.invoice_settings" | "stripe.default_settings.collection_method" | "stripe.default_settings.default_payment_method" | "stripe.default_settings.application_fee_percent" | "stripe.default_settings.billing_cycle_anchor" | "stripe.default_settings.billing_thresholds" | "stripe.default_settings.transfer_data.destination" | "stripe.default_settings.transfer_data.amount_percent" | "stripe.default_settings.automatic_tax.enabled" | "stripe.default_settings.automatic_tax.disabled_reason" | "stripe.default_settings.automatic_tax.liability" | "stripe.default_settings.automatic_tax.liability.type" | "stripe.default_settings.automatic_tax.liability.account" | "stripe.default_settings.invoice_settings.account_tax_ids" | "stripe.default_settings.invoice_settings.issuer" | "stripe.default_settings.invoice_settings.days_until_due" | "stripe.default_settings.invoice_settings.issuer.type" | "stripe.default_settings.invoice_settings.issuer.account" | "stripe.default_settings.billing_thresholds.amount_gte" | "stripe.default_settings.billing_thresholds.reset_billing_cycle_anchor">, {
4637
- byStripeId: ["subscriptionScheduleId", "_creationTime"];
4638
4637
  byAccountId: ["accountId", "_creationTime"];
4638
+ byStripeId: ["subscriptionScheduleId", "_creationTime"];
4639
4639
  }, {}, {}>;
4640
4640
  stripeMandates: TableDefinition<VObject< {
4641
4641
  accountId?: string | undefined;
@@ -4737,8 +4737,8 @@ currency: VString<string, "required">;
4737
4737
  lastSyncedAt: VFloat64<number, "required">;
4738
4738
  accountId: VString<string | undefined, "optional">;
4739
4739
  }, "required", "stripe" | "accountId" | "lastSyncedAt" | "stripe.object" | "stripe.type" | "stripe.id" | "stripe.livemode" | "stripe.status" | "stripe.on_behalf_of" | "stripe.payment_method" | "stripe.payment_method_details" | `stripe.payment_method_details.${string}` | "mandateId" | "stripe.multi_use" | "stripe.single_use" | "stripe.customer_acceptance" | `stripe.multi_use.${string}` | "stripe.single_use.amount" | "stripe.single_use.currency" | "stripe.customer_acceptance.type" | "stripe.customer_acceptance.accepted_at" | "stripe.customer_acceptance.offline" | "stripe.customer_acceptance.online" | `stripe.customer_acceptance.offline.${string}` | "stripe.customer_acceptance.online.ip_address" | "stripe.customer_acceptance.online.user_agent">, {
4740
- byStripeId: ["mandateId", "_creationTime"];
4741
4740
  byAccountId: ["accountId", "_creationTime"];
4741
+ byStripeId: ["mandateId", "_creationTime"];
4742
4742
  }, {}, {}>;
4743
4743
  stripeBillingPortalConfigurations: TableDefinition<VObject< {
4744
4744
  accountId?: string | undefined;
@@ -5052,8 +5052,8 @@ updated: VFloat64<number, "required">;
5052
5052
  lastSyncedAt: VFloat64<number, "required">;
5053
5053
  accountId: VString<string | undefined, "optional">;
5054
5054
  }, "required", "stripe" | "accountId" | "lastSyncedAt" | "stripe.object" | "stripe.id" | "stripe.metadata" | "stripe.business_profile" | "stripe.created" | `stripe.metadata.${string}` | "stripe.active" | "stripe.name" | "stripe.livemode" | "stripe.updated" | "stripe.application" | "billingPortalConfigurationId" | "stripe.default_return_url" | "stripe.features" | "stripe.is_default" | "stripe.login_page" | "stripe.business_profile.headline" | "stripe.business_profile.privacy_policy_url" | "stripe.business_profile.terms_of_service_url" | "stripe.features.customer_update" | "stripe.features.invoice_history" | "stripe.features.payment_method_update" | "stripe.features.subscription_cancel" | "stripe.features.subscription_update" | "stripe.features.customer_update.allowed_updated" | "stripe.features.customer_update.enabled" | "stripe.features.invoice_history.enabled" | "stripe.features.payment_method_update.enabled" | "stripe.features.subscription_cancel.enabled" | "stripe.features.subscription_cancel.cancellation_reason" | "stripe.features.subscription_cancel.mode" | "stripe.features.subscription_cancel.proration_behavior" | "stripe.features.subscription_cancel.cancellation_reason.enabled" | "stripe.features.subscription_cancel.cancellation_reason.options" | "stripe.features.subscription_update.enabled" | "stripe.features.subscription_update.proration_behavior" | "stripe.features.subscription_update.default_allowed_updates" | "stripe.features.subscription_update.products" | "stripe.features.subscription_update.schedule_at_period_end" | "stripe.features.subscription_update.schedule_at_period_end.conditions" | "stripe.login_page.enabled" | "stripe.login_page.url">, {
5055
- byStripeId: ["billingPortalConfigurationId", "_creationTime"];
5056
5055
  byAccountId: ["accountId", "_creationTime"];
5056
+ byStripeId: ["billingPortalConfigurationId", "_creationTime"];
5057
5057
  }, {}, {}>;
5058
5058
  stripeTransfers: TableDefinition<VObject< {
5059
5059
  accountId?: string | undefined;
@@ -5120,8 +5120,8 @@ transfer_group: VUnion<string | null | undefined, [VString<string, "required">,
5120
5120
  lastSyncedAt: VFloat64<number, "required">;
5121
5121
  accountId: VString<string | undefined, "optional">;
5122
5122
  }, "required", "stripe" | "accountId" | "lastSyncedAt" | "stripe.object" | "stripe.id" | "stripe.metadata" | "stripe.created" | `stripe.metadata.${string}` | "stripe.livemode" | "stripe.description" | "stripe.currency" | "stripe.amount" | "stripe.balance_transaction" | "stripe.destination" | "stripe.source_type" | "stripe.transfer_group" | "transferId" | "stripe.amount_reversed" | "stripe.destination_payment" | "stripe.reversals" | "stripe.reversed" | "stripe.source_transaction">, {
5123
- byStripeId: ["transferId", "_creationTime"];
5124
5123
  byAccountId: ["accountId", "_creationTime"];
5124
+ byStripeId: ["transferId", "_creationTime"];
5125
5125
  }, {}, {}>;
5126
5126
  stripeCapabilities: TableDefinition<VObject< {
5127
5127
  accountId?: string | undefined;
@@ -5161,8 +5161,8 @@ requested_at: VUnion<number | null | undefined, [VFloat64<number, "required">, V
5161
5161
  lastSyncedAt: VFloat64<number, "required">;
5162
5162
  accountId: VString<string | undefined, "optional">;
5163
5163
  }, "required", "stripe" | "accountId" | "lastSyncedAt" | "stripe.object" | "stripe.id" | "stripe.requirements" | "stripe.future_requirements" | `stripe.requirements.${string}` | `stripe.future_requirements.${string}` | "stripe.status" | "capabilityId" | "stripe.account" | "stripe.requested" | "stripe.requested_at">, {
5164
- byStripeId: ["capabilityId", "_creationTime"];
5165
5164
  byAccountId: ["accountId", "_creationTime"];
5165
+ byStripeId: ["capabilityId", "_creationTime"];
5166
5166
  }, {}, {}>;
5167
5167
  }, true>;
5168
5168
 
@@ -5250,8 +5250,8 @@ export declare const stripeTables: {
5250
5250
  }, "required", "object" | "type" | "company" | "individual" | "id" | "business_type" | "capabilities" | "country" | "email" | "metadata" | "requirements" | "tos_acceptance" | "business_profile" | "charges_enabled" | "controller" | "created" | "default_currency" | "details_submitted" | "external_accounts" | "future_requirements" | "groups" | "payouts_enabled" | "settings" | `company.${string}` | `individual.${string}` | `capabilities.${string}` | `metadata.${string}` | `requirements.${string}` | `tos_acceptance.${string}` | `business_profile.${string}` | `controller.${string}` | `external_accounts.${string}` | `future_requirements.${string}` | `groups.${string}` | `settings.${string}`>;
5251
5251
  lastSyncedAt: VFloat64<number, "required">;
5252
5252
  }, "required", "stripe" | "accountId" | "entityId" | "lastSyncedAt" | "stripe.object" | "stripe.type" | "stripe.company" | "stripe.individual" | "stripe.id" | "stripe.business_type" | "stripe.capabilities" | "stripe.country" | "stripe.email" | "stripe.metadata" | "stripe.requirements" | "stripe.tos_acceptance" | "stripe.business_profile" | "stripe.charges_enabled" | "stripe.controller" | "stripe.created" | "stripe.default_currency" | "stripe.details_submitted" | "stripe.external_accounts" | "stripe.future_requirements" | "stripe.groups" | "stripe.payouts_enabled" | "stripe.settings" | `stripe.company.${string}` | `stripe.individual.${string}` | `stripe.capabilities.${string}` | `stripe.metadata.${string}` | `stripe.requirements.${string}` | `stripe.tos_acceptance.${string}` | `stripe.business_profile.${string}` | `stripe.controller.${string}` | `stripe.external_accounts.${string}` | `stripe.future_requirements.${string}` | `stripe.groups.${string}` | `stripe.settings.${string}`>, {
5253
- byStripeId: ["accountId", "_creationTime"];
5254
5253
  byEntityId: ["entityId", "_creationTime"];
5254
+ byStripeId: ["accountId", "_creationTime"];
5255
5255
  }, {}, {}>;
5256
5256
  stripeProducts: TableDefinition<VObject< {
5257
5257
  accountId?: string | undefined;
@@ -5353,8 +5353,8 @@ export declare const stripeTables: {
5353
5353
  lastSyncedAt: VFloat64<number, "required">;
5354
5354
  accountId: VString<string | undefined, "optional">;
5355
5355
  }, "required", "stripe" | "productId" | "accountId" | "lastSyncedAt" | "stripe.object" | "stripe.id" | "stripe.metadata" | "stripe.created" | `stripe.metadata.${string}` | "stripe.active" | "stripe.name" | "stripe.url" | "stripe.livemode" | "stripe.updated" | "stripe.description" | "stripe.statement_descriptor" | "stripe.images" | "stripe.package_dimensions" | "stripe.shippable" | "stripe.unit_label" | "stripe.marketing_features" | "stripe.default_price" | "stripe.package_dimensions.length" | "stripe.package_dimensions.height" | "stripe.package_dimensions.weight" | "stripe.package_dimensions.width">, {
5356
- byStripeId: ["productId", "_creationTime"];
5357
5356
  byAccountId: ["accountId", "_creationTime"];
5357
+ byStripeId: ["productId", "_creationTime"];
5358
5358
  }, {}, {}>;
5359
5359
  stripePrices: TableDefinition<VObject< {
5360
5360
  accountId?: string | undefined;
@@ -5466,8 +5466,8 @@ export declare const stripeTables: {
5466
5466
  lastSyncedAt: VFloat64<number, "required">;
5467
5467
  accountId: VString<string | undefined, "optional">;
5468
5468
  }, "required", "stripe" | "accountId" | "lastSyncedAt" | "stripe.object" | "stripe.type" | "stripe.id" | "stripe.metadata" | "stripe.created" | `stripe.metadata.${string}` | "stripe.active" | "stripe.livemode" | "priceId" | "stripe.currency" | "stripe.nickname" | "stripe.billing_scheme" | "stripe.tiers_mode" | "stripe.recurring" | "stripe.productId" | "stripe.unit_amount" | "stripe.lookup_key" | "stripe.transform_quantity" | "stripe.unit_amount_decimal" | "stripe.recurring.interval" | "stripe.recurring.interval_count" | "stripe.recurring.meter" | "stripe.recurring.trial_period_days" | "stripe.recurring.usage_type" | "stripe.transform_quantity.divide_by" | "stripe.transform_quantity.round">, {
5469
- byStripeId: ["priceId", "_creationTime"];
5470
5469
  byAccountId: ["accountId", "_creationTime"];
5470
+ byStripeId: ["priceId", "_creationTime"];
5471
5471
  }, {}, {}>;
5472
5472
  stripeCustomers: TableDefinition<VObject< {
5473
5473
  accountId?: string | undefined;
@@ -5716,9 +5716,9 @@ export declare const stripeTables: {
5716
5716
  lastSyncedAt: VFloat64<number, "required">;
5717
5717
  accountId: VString<string | undefined, "optional">;
5718
5718
  }, "required", "stripe" | "accountId" | "entityId" | "lastSyncedAt" | "stripe.object" | "stripe.id" | "stripe.email" | "stripe.metadata" | "stripe.created" | `stripe.metadata.${string}` | "stripe.name" | "stripe.livemode" | "stripe.description" | "stripe.currency" | "customerId" | "stripe.address" | "stripe.phone" | "stripe.shipping" | "stripe.address.country" | "stripe.address.city" | "stripe.address.line1" | "stripe.address.line2" | "stripe.address.postal_code" | "stripe.address.state" | "stripe.discount" | "stripe.tax" | "stripe.balance" | "stripe.cash_balance" | "stripe.default_source" | "stripe.delinquent" | "stripe.invoice_credit_balance" | "stripe.invoice_prefix" | "stripe.invoice_settings" | "stripe.next_invoice_sequence" | "stripe.preferred_locales" | "stripe.sources" | "stripe.subscriptions" | "stripe.tax_exempt" | "stripe.tax_ids" | "stripe.test_clock" | "stripe.shipping.address" | "stripe.shipping.name" | "stripe.shipping.phone" | "stripe.shipping.address.country" | "stripe.shipping.address.city" | "stripe.shipping.address.line1" | "stripe.shipping.address.line2" | "stripe.shipping.address.postal_code" | "stripe.shipping.address.state" | "stripe.shipping.carrier" | "stripe.shipping.tracking_number" | `stripe.discount.${string}` | "stripe.tax.automatic_tax" | "stripe.tax.ip_address" | "stripe.tax.location" | "stripe.tax.location.country" | "stripe.tax.location.state" | "stripe.tax.location.source" | `stripe.cash_balance.${string}` | `stripe.invoice_credit_balance.${string}` | `stripe.invoice_settings.${string}` | `stripe.sources.${string}` | `stripe.subscriptions.${string}` | `stripe.tax_ids.${string}`>, {
5719
- byStripeId: ["customerId", "_creationTime"];
5720
5719
  byEntityId: ["entityId", "_creationTime"];
5721
5720
  byAccountId: ["accountId", "_creationTime"];
5721
+ byStripeId: ["customerId", "_creationTime"];
5722
5722
  }, {}, {}>;
5723
5723
  stripeSubscriptions: TableDefinition<VObject< {
5724
5724
  accountId?: string | undefined;
@@ -5733,9 +5733,9 @@ export declare const stripeTables: {
5733
5733
  lastSyncedAt: VFloat64<number, "required">;
5734
5734
  accountId: VString<string | undefined, "optional">;
5735
5735
  }, "required", "stripe" | "accountId" | "lastSyncedAt" | "customerId" | "subscriptionId" | `stripe.${string}`>, {
5736
- byStripeId: ["subscriptionId", "_creationTime"];
5737
5736
  byCustomerId: ["customerId", "_creationTime"];
5738
5737
  byAccountId: ["accountId", "_creationTime"];
5738
+ byStripeId: ["subscriptionId", "_creationTime"];
5739
5739
  }, {}, {}>;
5740
5740
  stripeCoupons: TableDefinition<VObject< {
5741
5741
  accountId?: string | undefined;
@@ -5824,8 +5824,8 @@ export declare const stripeTables: {
5824
5824
  lastSyncedAt: VFloat64<number, "required">;
5825
5825
  accountId: VString<string | undefined, "optional">;
5826
5826
  }, "required", "stripe" | "accountId" | "lastSyncedAt" | "stripe.object" | "stripe.id" | "stripe.metadata" | "stripe.created" | `stripe.metadata.${string}` | "stripe.name" | "stripe.livemode" | "stripe.currency" | "couponId" | "stripe.amount_off" | "stripe.duration" | "stripe.percent_off" | "stripe.applies_to" | "stripe.currency_options" | "stripe.duration_in_months" | "stripe.max_redemptions" | "stripe.redeem_by" | "stripe.times_redeemed" | "stripe.valid" | "stripe.applies_to.products" | `stripe.currency_options.${string}`>, {
5827
- byStripeId: ["couponId", "_creationTime"];
5828
5827
  byAccountId: ["accountId", "_creationTime"];
5828
+ byStripeId: ["couponId", "_creationTime"];
5829
5829
  }, {}, {}>;
5830
5830
  stripePromotionCodes: TableDefinition<VObject< {
5831
5831
  accountId?: string | undefined;
@@ -6012,8 +6012,8 @@ export declare const stripeTables: {
6012
6012
  lastSyncedAt: VFloat64<number, "required">;
6013
6013
  accountId: VString<string | undefined, "optional">;
6014
6014
  }, "required", "stripe" | "accountId" | "lastSyncedAt" | "stripe.object" | "stripe.id" | "stripe.metadata" | "stripe.created" | `stripe.metadata.${string}` | "stripe.active" | "stripe.livemode" | "stripe.max_redemptions" | "stripe.times_redeemed" | "promotionCodeId" | "stripe.customer" | "stripe.expires_at" | "stripe.coupon" | "stripe.code" | "stripe.restrictions" | "stripe.coupon.object" | "stripe.coupon.id" | "stripe.coupon.metadata" | "stripe.coupon.created" | `stripe.coupon.metadata.${string}` | "stripe.coupon.name" | "stripe.coupon.livemode" | "stripe.coupon.currency" | "stripe.coupon.amount_off" | "stripe.coupon.duration" | "stripe.coupon.percent_off" | "stripe.coupon.applies_to" | "stripe.coupon.currency_options" | "stripe.coupon.duration_in_months" | "stripe.coupon.max_redemptions" | "stripe.coupon.redeem_by" | "stripe.coupon.times_redeemed" | "stripe.coupon.valid" | "stripe.coupon.applies_to.products" | `stripe.coupon.currency_options.${string}` | "stripe.restrictions.currency_options" | `stripe.restrictions.currency_options.${string}` | "stripe.restrictions.minimum_amount" | "stripe.restrictions.first_time_transaction" | "stripe.restrictions.minimum_amount_currency">, {
6015
- byStripeId: ["promotionCodeId", "_creationTime"];
6016
6015
  byAccountId: ["accountId", "_creationTime"];
6016
+ byStripeId: ["promotionCodeId", "_creationTime"];
6017
6017
  }, {}, {}>;
6018
6018
  stripePayouts: TableDefinition<VObject< {
6019
6019
  accountId?: string | undefined;
@@ -6125,8 +6125,8 @@ export declare const stripeTables: {
6125
6125
  lastSyncedAt: VFloat64<number, "required">;
6126
6126
  accountId: VString<string | undefined, "optional">;
6127
6127
  }, "required", "stripe" | "accountId" | "lastSyncedAt" | "stripe.object" | "stripe.type" | "stripe.id" | "stripe.metadata" | "stripe.created" | `stripe.metadata.${string}` | "stripe.livemode" | "stripe.description" | "stripe.statement_descriptor" | "stripe.currency" | "payoutId" | "stripe.status" | "stripe.amount" | "stripe.balance_transaction" | "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">, {
6128
- byStripeId: ["payoutId", "_creationTime"];
6129
6128
  byAccountId: ["accountId", "_creationTime"];
6129
+ byStripeId: ["payoutId", "_creationTime"];
6130
6130
  }, {}, {}>;
6131
6131
  stripeRefunds: TableDefinition<VObject< {
6132
6132
  accountId?: string | undefined;
@@ -6205,8 +6205,8 @@ export declare const stripeTables: {
6205
6205
  lastSyncedAt: VFloat64<number, "required">;
6206
6206
  accountId: VString<string | undefined, "optional">;
6207
6207
  }, "required", "stripe" | "accountId" | "lastSyncedAt" | "stripe.object" | "stripe.id" | "stripe.metadata" | "stripe.created" | `stripe.metadata.${string}` | "stripe.description" | "stripe.currency" | "stripe.status" | "stripe.amount" | "stripe.balance_transaction" | "stripe.failure_balance_transaction" | "refundId" | "stripe.payment_intent" | "stripe.receipt_number" | "stripe.charge" | "stripe.reason" | "stripe.next_action" | `stripe.next_action.${string}` | "stripe.destination_details" | "stripe.failure_reason" | "stripe.instructions_email" | "stripe.pending_reason" | "stripe.source_transfer_reversal" | "stripe.transfer_reversal" | `stripe.destination_details.${string}`>, {
6208
- byStripeId: ["refundId", "_creationTime"];
6209
6208
  byAccountId: ["accountId", "_creationTime"];
6209
+ byStripeId: ["refundId", "_creationTime"];
6210
6210
  }, {}, {}>;
6211
6211
  stripePaymentIntents: TableDefinition<VObject< {
6212
6212
  accountId?: string | undefined;
@@ -6447,8 +6447,8 @@ export declare const stripeTables: {
6447
6447
  lastSyncedAt: VFloat64<number, "required">;
6448
6448
  accountId: VString<string | undefined, "optional">;
6449
6449
  }, "required", "stripe" | "accountId" | "lastSyncedAt" | "stripe.object" | "stripe.id" | "stripe.metadata" | "stripe.created" | `stripe.metadata.${string}` | "stripe.livemode" | "stripe.description" | "stripe.statement_descriptor" | "stripe.currency" | "stripe.shipping" | "stripe.customer" | "stripe.status" | "stripe.amount" | "stripe.application_fee_amount" | "stripe.next_action" | `stripe.next_action.${string}` | "paymentIntentId" | "stripe.application" | "stripe.cancellation_reason" | "stripe.receipt_email" | "stripe.statement_descriptor_suffix" | "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.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.${string}`>, {
6450
- byStripeId: ["paymentIntentId", "_creationTime"];
6451
6450
  byAccountId: ["accountId", "_creationTime"];
6451
+ byStripeId: ["paymentIntentId", "_creationTime"];
6452
6452
  }, {}, {}>;
6453
6453
  stripeCheckoutSessions: TableDefinition<VObject< {
6454
6454
  accountId?: string | undefined;
@@ -6650,8 +6650,8 @@ export declare const stripeTables: {
6650
6650
  lastSyncedAt: VFloat64<number, "required">;
6651
6651
  accountId: VString<string | undefined, "optional">;
6652
6652
  }, "required", "stripe" | "accountId" | "lastSyncedAt" | "stripe.object" | "stripe.id" | "stripe.metadata" | "stripe.created" | `stripe.metadata.${string}` | "stripe.url" | "stripe.livemode" | "stripe.currency" | "stripe.customer" | "stripe.expires_at" | "stripe.status" | "stripe.payment_intent" | "stripe.presentment_details" | `stripe.presentment_details.${string}` | "stripe.client_secret" | "stripe.payment_method_configuration_details" | "stripe.payment_method_options" | "stripe.payment_method_types" | `stripe.payment_method_options.${string}` | "checkoutSessionId" | "stripe.mode" | "stripe.subscription" | "stripe.automatic_tax" | "stripe.client_reference_id" | "stripe.customer_email" | "stripe.line_items" | "stripe.payment_status" | "stripe.return_url" | "stripe.success_url" | "stripe.ui_mode" | "stripe.adaptive_pricing" | "stripe.after_expiration" | "stripe.allow_promotion_codes" | "stripe.amount_subtotal" | "stripe.amount_total" | "stripe.billing_address_collection" | "stripe.cancel_url" | "stripe.collected_information" | "stripe.consent" | "stripe.consent_collection" | "stripe.currency_conversion" | "stripe.custom_fields" | "stripe.custom_text" | "stripe.customer_creation" | "stripe.customer_details" | "stripe.discounts" | "stripe.invoice" | "stripe.invoice_creation" | "stripe.locale" | "stripe.optional_items" | "stripe.origin_context" | "stripe.payment_link" | "stripe.payment_method_collection" | "stripe.permissions" | "stripe.phone_number_collection" | "stripe.recovered_from" | "stripe.redirect_on_completion" | "stripe.saved_payment_method_options" | "stripe.setup_intent" | "stripe.shipping_address_collection" | "stripe.shipping_cost" | "stripe.shipping_options" | "stripe.submit_type" | "stripe.tax_id_collection" | "stripe.total_details" | "stripe.wallet_options" | `stripe.automatic_tax.${string}` | `stripe.adaptive_pricing.${string}` | `stripe.after_expiration.${string}` | `stripe.collected_information.${string}` | `stripe.consent.${string}` | `stripe.consent_collection.${string}` | `stripe.currency_conversion.${string}` | `stripe.custom_text.${string}` | `stripe.customer_details.${string}` | `stripe.invoice_creation.${string}` | `stripe.payment_method_configuration_details.${string}` | `stripe.permissions.${string}` | `stripe.phone_number_collection.${string}` | `stripe.saved_payment_method_options.${string}` | `stripe.shipping_address_collection.${string}` | `stripe.shipping_cost.${string}` | `stripe.tax_id_collection.${string}` | `stripe.total_details.${string}` | `stripe.wallet_options.${string}`>, {
6653
- byStripeId: ["checkoutSessionId", "_creationTime"];
6654
6653
  byAccountId: ["accountId", "_creationTime"];
6654
+ byStripeId: ["checkoutSessionId", "_creationTime"];
6655
6655
  }, {}, {}>;
6656
6656
  stripeInvoices: TableDefinition<VObject< {
6657
6657
  accountId?: string | undefined;
@@ -6895,8 +6895,8 @@ export declare const stripeTables: {
6895
6895
  lastSyncedAt: VFloat64<number, "required">;
6896
6896
  accountId: VString<string | undefined, "optional">;
6897
6897
  }, "required", "stripe" | "accountId" | "lastSyncedAt" | "stripe.object" | "stripe.id" | "stripe.metadata" | "stripe.created" | `stripe.metadata.${string}` | "stripe.livemode" | "stripe.description" | "stripe.statement_descriptor" | "stripe.currency" | "stripe.default_source" | "stripe.test_clock" | "stripe.customer" | "stripe.status" | "stripe.receipt_number" | "stripe.application" | "stripe.on_behalf_of" | "stripe.automatic_tax" | "stripe.customer_email" | "stripe.custom_fields" | "stripe.discounts" | "stripe.shipping_cost" | `stripe.automatic_tax.${string}` | `stripe.shipping_cost.${string}` | "invoiceId" | "stripe.number" | "stripe.lines" | "stripe.subtotal" | "stripe.total" | "stripe.amount_shipping" | "stripe.effective_at" | "stripe.subtotal_excluding_tax" | "stripe.total_excluding_tax" | "stripe.total_taxes" | `stripe.lines.${string}` | "stripe.auto_advance" | "stripe.collection_method" | "stripe.confirmation_secret" | "stripe.hosted_invoice_url" | "stripe.parent" | "stripe.period_end" | "stripe.period_start" | "stripe.account_country" | "stripe.account_name" | "stripe.account_tax_ids" | "stripe.amount_due" | "stripe.amount_overpaid" | "stripe.amount_paid" | "stripe.amount_remaining" | "stripe.attempt_count" | "stripe.attempted" | "stripe.automatically_finalizes_at" | "stripe.billing_reason" | "stripe.customer_address" | "stripe.customer_name" | "stripe.customer_phone" | "stripe.customer_shipping" | "stripe.customer_tax_exempt" | "stripe.customer_tax_ids" | "stripe.default_payment_method" | "stripe.default_tax_rates" | "stripe.due_date" | "stripe.ending_balance" | "stripe.footer" | "stripe.from_invoice" | "stripe.invoice_pdf" | "stripe.issuer" | "stripe.last_finalization_error" | "stripe.latest_revision" | "stripe.next_payment_attempt" | "stripe.payment_settings" | "stripe.payments" | "stripe.post_payment_credit_notes_amount" | "stripe.pre_payment_credit_notes_amount" | "stripe.rendering" | "stripe.shipping_details" | "stripe.starting_balance" | "stripe.status_transitions" | "stripe.threshold_reason" | "stripe.total_discount_amounts" | "stripe.total_pretax_credit_amounts" | "stripe.webhooks_delivered_at" | `stripe.confirmation_secret.${string}` | `stripe.parent.${string}` | `stripe.customer_address.${string}` | `stripe.customer_shipping.${string}` | `stripe.from_invoice.${string}` | `stripe.issuer.${string}` | `stripe.last_finalization_error.${string}` | `stripe.payment_settings.${string}` | `stripe.payments.${string}` | `stripe.rendering.${string}` | `stripe.shipping_details.${string}` | `stripe.status_transitions.${string}` | `stripe.threshold_reason.${string}`>, {
6898
- byStripeId: ["invoiceId", "_creationTime"];
6899
6898
  byAccountId: ["accountId", "_creationTime"];
6899
+ byStripeId: ["invoiceId", "_creationTime"];
6900
6900
  }, {}, {}>;
6901
6901
  stripeReviews: TableDefinition<VObject< {
6902
6902
  accountId?: string | undefined;
@@ -7009,8 +7009,8 @@ export declare const stripeTables: {
7009
7009
  lastSyncedAt: VFloat64<number, "required">;
7010
7010
  accountId: VString<string | undefined, "optional">;
7011
7011
  }, "required", "stripe" | "accountId" | "lastSyncedAt" | "stripe.object" | "stripe.id" | "stripe.created" | "stripe.livemode" | "stripe.payment_intent" | "stripe.charge" | "stripe.reason" | "reviewId" | "stripe.open" | "stripe.ip_address" | "stripe.billing_zip" | "stripe.closed_reason" | "stripe.ip_address_location" | "stripe.opened_reason" | "stripe.session" | "stripe.ip_address_location.country" | "stripe.ip_address_location.city" | "stripe.ip_address_location.latitude" | "stripe.ip_address_location.longitude" | "stripe.ip_address_location.region" | "stripe.session.browser" | "stripe.session.device" | "stripe.session.platform" | "stripe.session.version">, {
7012
- byStripeId: ["reviewId", "_creationTime"];
7013
7012
  byAccountId: ["accountId", "_creationTime"];
7013
+ byStripeId: ["reviewId", "_creationTime"];
7014
7014
  }, {}, {}>;
7015
7015
  stripePlans: TableDefinition<VObject< {
7016
7016
  accountId?: string | undefined;
@@ -7101,8 +7101,8 @@ export declare const stripeTables: {
7101
7101
  lastSyncedAt: VFloat64<number, "required">;
7102
7102
  accountId: VString<string | undefined, "optional">;
7103
7103
  }, "required", "stripe" | "accountId" | "lastSyncedAt" | "stripe.object" | "stripe.id" | "stripe.metadata" | "stripe.created" | `stripe.metadata.${string}` | "stripe.active" | "stripe.livemode" | "stripe.currency" | "stripe.nickname" | "stripe.billing_scheme" | "stripe.tiers_mode" | "stripe.amount" | "planId" | "stripe.product" | "stripe.interval" | "stripe.amount_decimal" | "stripe.interval_count" | "stripe.meter" | "stripe.tiers" | "stripe.transform_usage" | "stripe.trial_period_days" | "stripe.usage_type" | "stripe.transform_usage.divide_by" | "stripe.transform_usage.round">, {
7104
- byStripeId: ["planId", "_creationTime"];
7105
7104
  byAccountId: ["accountId", "_creationTime"];
7105
+ byStripeId: ["planId", "_creationTime"];
7106
7106
  }, {}, {}>;
7107
7107
  stripeDisputes: TableDefinition<VObject< {
7108
7108
  accountId?: string | undefined;
@@ -7169,8 +7169,8 @@ export declare const stripeTables: {
7169
7169
  lastSyncedAt: VFloat64<number, "required">;
7170
7170
  accountId: VString<string | undefined, "optional">;
7171
7171
  }, "required", "stripe" | "accountId" | "lastSyncedAt" | "stripe.object" | "stripe.id" | "stripe.metadata" | "stripe.created" | `stripe.metadata.${string}` | "stripe.livemode" | "stripe.currency" | "stripe.status" | "stripe.amount" | "stripe.payment_intent" | "stripe.charge" | "stripe.reason" | "disputeId" | "stripe.payment_method_details" | `stripe.payment_method_details.${string}` | "stripe.evidence" | "stripe.balance_transactions" | "stripe.enhanced_eligibility_types" | "stripe.evidence_details" | "stripe.is_charge_refundable" | `stripe.evidence.${string}` | `stripe.evidence_details.${string}`>, {
7172
- byStripeId: ["disputeId", "_creationTime"];
7173
7172
  byAccountId: ["accountId", "_creationTime"];
7173
+ byStripeId: ["disputeId", "_creationTime"];
7174
7174
  }, {}, {}>;
7175
7175
  stripeEarlyFraudWarnings: TableDefinition<VObject< {
7176
7176
  accountId?: string | undefined;
@@ -7210,8 +7210,8 @@ export declare const stripeTables: {
7210
7210
  lastSyncedAt: VFloat64<number, "required">;
7211
7211
  accountId: VString<string | undefined, "optional">;
7212
7212
  }, "required", "stripe" | "accountId" | "lastSyncedAt" | "stripe.object" | "stripe.id" | "stripe.created" | "stripe.livemode" | "stripe.payment_intent" | "stripe.charge" | "earlyFraudWarningId" | "stripe.actionable" | "stripe.fraud_type">, {
7213
- byStripeId: ["earlyFraudWarningId", "_creationTime"];
7214
7213
  byAccountId: ["accountId", "_creationTime"];
7214
+ byStripeId: ["earlyFraudWarningId", "_creationTime"];
7215
7215
  }, {}, {}>;
7216
7216
  stripeTaxIds: TableDefinition<VObject< {
7217
7217
  accountId?: string | undefined;
@@ -7302,8 +7302,8 @@ export declare const stripeTables: {
7302
7302
  lastSyncedAt: VFloat64<number, "required">;
7303
7303
  accountId: VString<string | undefined, "optional">;
7304
7304
  }, "required", "stripe" | "accountId" | "lastSyncedAt" | "stripe.object" | "stripe.type" | "stripe.id" | "stripe.country" | "stripe.created" | "stripe.livemode" | "stripe.customer" | "taxIdId" | "stripe.value" | "stripe.owner" | "stripe.verification" | "stripe.owner.type" | "stripe.owner.account" | "stripe.owner.application" | "stripe.owner.customer" | "stripe.verification.status" | "stripe.verification.verified_address" | "stripe.verification.verified_name">, {
7305
- byStripeId: ["taxIdId", "_creationTime"];
7306
7305
  byAccountId: ["accountId", "_creationTime"];
7306
+ byStripeId: ["taxIdId", "_creationTime"];
7307
7307
  }, {}, {}>;
7308
7308
  stripeSetupIntents: TableDefinition<VObject< {
7309
7309
  accountId?: string | undefined;
@@ -7424,8 +7424,8 @@ export declare const stripeTables: {
7424
7424
  lastSyncedAt: VFloat64<number, "required">;
7425
7425
  accountId: VString<string | undefined, "optional">;
7426
7426
  }, "required", "stripe" | "accountId" | "lastSyncedAt" | "stripe.object" | "stripe.id" | "stripe.metadata" | "stripe.created" | `stripe.metadata.${string}` | "stripe.livemode" | "stripe.description" | "stripe.customer" | "stripe.status" | "stripe.next_action" | `stripe.next_action.${string}` | "stripe.application" | "stripe.cancellation_reason" | "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.payment_method_configuration_details.id" | "stripe.payment_method_configuration_details.parent" | "stripe.automatic_payment_methods.enabled" | "stripe.automatic_payment_methods.allow_redirects" | "setupIntentId" | "stripe.mandate" | "stripe.last_setup_error" | "stripe.usage" | "stripe.attach_to_self" | "stripe.flow_directions" | "stripe.latest_attempt" | "stripe.single_use_mandate" | `stripe.last_setup_error.${string}`>, {
7427
- byStripeId: ["setupIntentId", "_creationTime"];
7428
7427
  byAccountId: ["accountId", "_creationTime"];
7428
+ byStripeId: ["setupIntentId", "_creationTime"];
7429
7429
  }, {}, {}>;
7430
7430
  stripeCreditNotes: TableDefinition<VObject< {
7431
7431
  accountId?: string | undefined;
@@ -7595,8 +7595,8 @@ export declare const stripeTables: {
7595
7595
  lastSyncedAt: VFloat64<number, "required">;
7596
7596
  accountId: VString<string | undefined, "optional">;
7597
7597
  }, "required", "stripe" | "accountId" | "lastSyncedAt" | "stripe.object" | "stripe.type" | "stripe.id" | "stripe.metadata" | "stripe.created" | `stripe.metadata.${string}` | "stripe.livemode" | "stripe.currency" | "stripe.customer" | "stripe.status" | "stripe.amount" | "stripe.reason" | "stripe.invoice" | "stripe.shipping_cost" | `stripe.shipping_cost.${string}` | "stripe.number" | "stripe.lines" | "stripe.subtotal" | "stripe.total" | "stripe.amount_shipping" | "stripe.effective_at" | "stripe.subtotal_excluding_tax" | "stripe.total_excluding_tax" | "stripe.total_taxes" | `stripe.lines.${string}` | "creditNoteId" | "stripe.refunds" | "stripe.memo" | "stripe.customer_balance_transaction" | "stripe.discount_amount" | "stripe.discount_amounts" | "stripe.out_of_band_amount" | "stripe.pdf" | "stripe.post_payment_amount" | "stripe.pre_payment_amount" | "stripe.pretax_credit_amounts" | "stripe.voided_at" | `stripe.total_taxes.${string}`>, {
7598
- byStripeId: ["creditNoteId", "_creationTime"];
7599
7598
  byAccountId: ["accountId", "_creationTime"];
7599
+ byStripeId: ["creditNoteId", "_creationTime"];
7600
7600
  }, {}, {}>;
7601
7601
  stripeCharges: TableDefinition<VObject< {
7602
7602
  accountId?: string | undefined;
@@ -7813,8 +7813,8 @@ export declare const stripeTables: {
7813
7813
  lastSyncedAt: VFloat64<number, "required">;
7814
7814
  accountId: VString<string | undefined, "optional">;
7815
7815
  }, "required", "stripe" | "accountId" | "lastSyncedAt" | "stripe.object" | "stripe.id" | "stripe.metadata" | "stripe.created" | `stripe.metadata.${string}` | "stripe.livemode" | "stripe.description" | "stripe.statement_descriptor" | "stripe.currency" | "stripe.shipping" | "stripe.customer" | "stripe.status" | "stripe.amount" | "stripe.balance_transaction" | "stripe.application_fee" | "stripe.application_fee_amount" | "stripe.failure_balance_transaction" | "stripe.failure_code" | "stripe.failure_message" | "stripe.payment_intent" | "stripe.receipt_number" | "stripe.application" | "stripe.receipt_email" | "stripe.statement_descriptor_suffix" | "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.email" | "stripe.billing_details.address" | "stripe.billing_details.name" | "stripe.billing_details.phone" | "stripe.billing_details.tax_id" | "stripe.billing_details.address.country" | "stripe.billing_details.address.city" | "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}`>, {
7816
- byStripeId: ["chargeId", "_creationTime"];
7817
7816
  byAccountId: ["accountId", "_creationTime"];
7817
+ byStripeId: ["chargeId", "_creationTime"];
7818
7818
  }, {}, {}>;
7819
7819
  stripePaymentMethods: TableDefinition<VObject< {
7820
7820
  accountId?: string | undefined;
@@ -8010,8 +8010,8 @@ export declare const stripeTables: {
8010
8010
  lastSyncedAt: VFloat64<number, "required">;
8011
8011
  accountId: VString<string | undefined, "optional">;
8012
8012
  }, "required", "stripe" | "accountId" | "lastSyncedAt" | "stripe.object" | "stripe.type" | "stripe.id" | "stripe.metadata" | "stripe.created" | `stripe.metadata.${string}` | "stripe.livemode" | "stripe.customer" | "stripe.billing_details" | "stripe.radar_options" | `stripe.radar_options.${string}` | "paymentMethodId" | "stripe.link" | "stripe.acss_debit" | "stripe.affirm" | "stripe.afterpay_clearpay" | "stripe.alipay" | "stripe.alma" | "stripe.amazon_pay" | "stripe.au_becs_debit" | "stripe.bacs_debit" | "stripe.bancontact" | "stripe.billie" | "stripe.blik" | "stripe.boleto" | "stripe.card" | "stripe.cashapp" | "stripe.crypto" | "stripe.customer_balance" | "stripe.eps" | "stripe.fpx" | "stripe.giropay" | "stripe.grabpay" | "stripe.ideal" | "stripe.kakao_pay" | "stripe.klarna" | "stripe.konbini" | "stripe.kr_card" | "stripe.mobilepay" | "stripe.multibanco" | "stripe.naver_pay" | "stripe.nz_bank_account" | "stripe.oxxo" | "stripe.p24" | "stripe.pay_by_bank" | "stripe.payco" | "stripe.paynow" | "stripe.paypal" | "stripe.pix" | "stripe.promptpay" | "stripe.revolut_pay" | "stripe.samsung_pay" | "stripe.satispay" | "stripe.sepa_debit" | "stripe.sofort" | "stripe.swish" | "stripe.twint" | "stripe.us_bank_account" | "stripe.wechat_pay" | "stripe.zip" | "stripe.allow_redisplay" | "stripe.card_present" | "stripe.interac_present" | `stripe.link.${string}` | `stripe.billing_details.${string}` | `stripe.acss_debit.${string}` | `stripe.affirm.${string}` | `stripe.afterpay_clearpay.${string}` | `stripe.alipay.${string}` | `stripe.alma.${string}` | `stripe.amazon_pay.${string}` | `stripe.au_becs_debit.${string}` | `stripe.bacs_debit.${string}` | `stripe.bancontact.${string}` | `stripe.billie.${string}` | `stripe.blik.${string}` | `stripe.boleto.${string}` | `stripe.card.${string}` | `stripe.cashapp.${string}` | `stripe.crypto.${string}` | `stripe.customer_balance.${string}` | `stripe.eps.${string}` | `stripe.fpx.${string}` | `stripe.giropay.${string}` | `stripe.grabpay.${string}` | `stripe.ideal.${string}` | `stripe.kakao_pay.${string}` | `stripe.klarna.${string}` | `stripe.konbini.${string}` | `stripe.kr_card.${string}` | `stripe.mobilepay.${string}` | `stripe.multibanco.${string}` | `stripe.naver_pay.${string}` | `stripe.nz_bank_account.${string}` | `stripe.oxxo.${string}` | `stripe.p24.${string}` | `stripe.pay_by_bank.${string}` | `stripe.payco.${string}` | `stripe.paynow.${string}` | `stripe.paypal.${string}` | `stripe.pix.${string}` | `stripe.promptpay.${string}` | `stripe.revolut_pay.${string}` | `stripe.samsung_pay.${string}` | `stripe.satispay.${string}` | `stripe.sepa_debit.${string}` | `stripe.sofort.${string}` | `stripe.swish.${string}` | `stripe.twint.${string}` | `stripe.us_bank_account.${string}` | `stripe.wechat_pay.${string}` | `stripe.zip.${string}` | `stripe.card_present.${string}` | `stripe.interac_present.${string}`>, {
8013
- byStripeId: ["paymentMethodId", "_creationTime"];
8014
8013
  byAccountId: ["accountId", "_creationTime"];
8014
+ byStripeId: ["paymentMethodId", "_creationTime"];
8015
8015
  }, {}, {}>;
8016
8016
  stripeSubscriptionSchedules: TableDefinition<VObject< {
8017
8017
  accountId?: string | undefined;
@@ -8312,8 +8312,8 @@ export declare const stripeTables: {
8312
8312
  lastSyncedAt: VFloat64<number, "required">;
8313
8313
  accountId: VString<string | undefined, "optional">;
8314
8314
  }, "required", "stripe" | "accountId" | "lastSyncedAt" | "stripe.object" | "stripe.id" | "stripe.metadata" | "stripe.created" | `stripe.metadata.${string}` | "stripe.livemode" | "stripe.test_clock" | "stripe.customer" | "stripe.status" | "stripe.application" | "stripe.canceled_at" | "subscriptionScheduleId" | "stripe.current_phase" | "stripe.phases" | "stripe.billing_mode" | "stripe.completed_at" | "stripe.default_settings" | "stripe.end_behavior" | "stripe.released_at" | "stripe.released_subscription" | "stripe.current_phase.end_date" | "stripe.current_phase.start_date" | `stripe.phases.${string}` | "stripe.billing_mode.type" | "stripe.billing_mode.updated_at" | "stripe.default_settings.description" | "stripe.default_settings.on_behalf_of" | "stripe.default_settings.transfer_data" | "stripe.default_settings.automatic_tax" | "stripe.default_settings.invoice_settings" | "stripe.default_settings.collection_method" | "stripe.default_settings.default_payment_method" | "stripe.default_settings.application_fee_percent" | "stripe.default_settings.billing_cycle_anchor" | "stripe.default_settings.billing_thresholds" | "stripe.default_settings.transfer_data.destination" | "stripe.default_settings.transfer_data.amount_percent" | "stripe.default_settings.automatic_tax.enabled" | "stripe.default_settings.automatic_tax.disabled_reason" | "stripe.default_settings.automatic_tax.liability" | "stripe.default_settings.automatic_tax.liability.type" | "stripe.default_settings.automatic_tax.liability.account" | "stripe.default_settings.invoice_settings.account_tax_ids" | "stripe.default_settings.invoice_settings.issuer" | "stripe.default_settings.invoice_settings.days_until_due" | "stripe.default_settings.invoice_settings.issuer.type" | "stripe.default_settings.invoice_settings.issuer.account" | "stripe.default_settings.billing_thresholds.amount_gte" | "stripe.default_settings.billing_thresholds.reset_billing_cycle_anchor">, {
8315
- byStripeId: ["subscriptionScheduleId", "_creationTime"];
8316
8315
  byAccountId: ["accountId", "_creationTime"];
8316
+ byStripeId: ["subscriptionScheduleId", "_creationTime"];
8317
8317
  }, {}, {}>;
8318
8318
  stripeMandates: TableDefinition<VObject< {
8319
8319
  accountId?: string | undefined;
@@ -8415,8 +8415,8 @@ export declare const stripeTables: {
8415
8415
  lastSyncedAt: VFloat64<number, "required">;
8416
8416
  accountId: VString<string | undefined, "optional">;
8417
8417
  }, "required", "stripe" | "accountId" | "lastSyncedAt" | "stripe.object" | "stripe.type" | "stripe.id" | "stripe.livemode" | "stripe.status" | "stripe.on_behalf_of" | "stripe.payment_method" | "stripe.payment_method_details" | `stripe.payment_method_details.${string}` | "mandateId" | "stripe.multi_use" | "stripe.single_use" | "stripe.customer_acceptance" | `stripe.multi_use.${string}` | "stripe.single_use.amount" | "stripe.single_use.currency" | "stripe.customer_acceptance.type" | "stripe.customer_acceptance.accepted_at" | "stripe.customer_acceptance.offline" | "stripe.customer_acceptance.online" | `stripe.customer_acceptance.offline.${string}` | "stripe.customer_acceptance.online.ip_address" | "stripe.customer_acceptance.online.user_agent">, {
8418
- byStripeId: ["mandateId", "_creationTime"];
8419
8418
  byAccountId: ["accountId", "_creationTime"];
8419
+ byStripeId: ["mandateId", "_creationTime"];
8420
8420
  }, {}, {}>;
8421
8421
  stripeBillingPortalConfigurations: TableDefinition<VObject< {
8422
8422
  accountId?: string | undefined;
@@ -8730,8 +8730,8 @@ export declare const stripeTables: {
8730
8730
  lastSyncedAt: VFloat64<number, "required">;
8731
8731
  accountId: VString<string | undefined, "optional">;
8732
8732
  }, "required", "stripe" | "accountId" | "lastSyncedAt" | "stripe.object" | "stripe.id" | "stripe.metadata" | "stripe.business_profile" | "stripe.created" | `stripe.metadata.${string}` | "stripe.active" | "stripe.name" | "stripe.livemode" | "stripe.updated" | "stripe.application" | "billingPortalConfigurationId" | "stripe.default_return_url" | "stripe.features" | "stripe.is_default" | "stripe.login_page" | "stripe.business_profile.headline" | "stripe.business_profile.privacy_policy_url" | "stripe.business_profile.terms_of_service_url" | "stripe.features.customer_update" | "stripe.features.invoice_history" | "stripe.features.payment_method_update" | "stripe.features.subscription_cancel" | "stripe.features.subscription_update" | "stripe.features.customer_update.allowed_updated" | "stripe.features.customer_update.enabled" | "stripe.features.invoice_history.enabled" | "stripe.features.payment_method_update.enabled" | "stripe.features.subscription_cancel.enabled" | "stripe.features.subscription_cancel.cancellation_reason" | "stripe.features.subscription_cancel.mode" | "stripe.features.subscription_cancel.proration_behavior" | "stripe.features.subscription_cancel.cancellation_reason.enabled" | "stripe.features.subscription_cancel.cancellation_reason.options" | "stripe.features.subscription_update.enabled" | "stripe.features.subscription_update.proration_behavior" | "stripe.features.subscription_update.default_allowed_updates" | "stripe.features.subscription_update.products" | "stripe.features.subscription_update.schedule_at_period_end" | "stripe.features.subscription_update.schedule_at_period_end.conditions" | "stripe.login_page.enabled" | "stripe.login_page.url">, {
8733
- byStripeId: ["billingPortalConfigurationId", "_creationTime"];
8734
8733
  byAccountId: ["accountId", "_creationTime"];
8734
+ byStripeId: ["billingPortalConfigurationId", "_creationTime"];
8735
8735
  }, {}, {}>;
8736
8736
  stripeTransfers: TableDefinition<VObject< {
8737
8737
  accountId?: string | undefined;
@@ -8798,8 +8798,8 @@ export declare const stripeTables: {
8798
8798
  lastSyncedAt: VFloat64<number, "required">;
8799
8799
  accountId: VString<string | undefined, "optional">;
8800
8800
  }, "required", "stripe" | "accountId" | "lastSyncedAt" | "stripe.object" | "stripe.id" | "stripe.metadata" | "stripe.created" | `stripe.metadata.${string}` | "stripe.livemode" | "stripe.description" | "stripe.currency" | "stripe.amount" | "stripe.balance_transaction" | "stripe.destination" | "stripe.source_type" | "stripe.transfer_group" | "transferId" | "stripe.amount_reversed" | "stripe.destination_payment" | "stripe.reversals" | "stripe.reversed" | "stripe.source_transaction">, {
8801
- byStripeId: ["transferId", "_creationTime"];
8802
8801
  byAccountId: ["accountId", "_creationTime"];
8802
+ byStripeId: ["transferId", "_creationTime"];
8803
8803
  }, {}, {}>;
8804
8804
  stripeCapabilities: TableDefinition<VObject< {
8805
8805
  accountId?: string | undefined;
@@ -8839,8 +8839,8 @@ export declare const stripeTables: {
8839
8839
  lastSyncedAt: VFloat64<number, "required">;
8840
8840
  accountId: VString<string | undefined, "optional">;
8841
8841
  }, "required", "stripe" | "accountId" | "lastSyncedAt" | "stripe.object" | "stripe.id" | "stripe.requirements" | "stripe.future_requirements" | `stripe.requirements.${string}` | `stripe.future_requirements.${string}` | "stripe.status" | "capabilityId" | "stripe.account" | "stripe.requested" | "stripe.requested_at">, {
8842
- byStripeId: ["capabilityId", "_creationTime"];
8843
8842
  byAccountId: ["accountId", "_creationTime"];
8843
+ byStripeId: ["capabilityId", "_creationTime"];
8844
8844
  }, {}, {}>;
8845
8845
  };
8846
8846