import { CountriesDocument, CurrentUserDocument, AgencyStripeAccountUpdateUrlDocument, AgencyStripeAccountBalanceDocument, AgencyStripeAccountBalanceTransactionsDocument, AgencyStripeAccountPaymentIntentsDocument, AgencyCustomersDocument, CurrentUserAgenciesDocument, SubdomainPublicDocument, ProductDocument, OrderDocument, OrdersDocument, OrderItemDocument, OrderItemsDocument, SubdomainAgencyDocument, SubdomainAgencyStripeAccountUpdateUrlDocument, AgencySettingsDocument, ProductSettingsDocument, ProductAndAgencyFromUrlPartsDocument, AgencyPagesDocument, AgencySubscriptionPlanDocument, PageDocument, PageBlockDocument, PageDefinitionDocument, PageBlockDefinitionDocument, PageDefinitionsByNameDocument, PageBlockDefinitionsByNameDocument, PageDefinitionByUrlPathDocument, PageByUrlDocument, ProductsDocument, AgencyDocument, AgenciesDocument, CalculateTransactionFeeDocument, CountrySpecDocument, CustomerDocument, AgencyStripeAccountDocument, SubdomainAgencyExtendedDocument, FormFieldDocument, FormFieldsDocument, IntegrationDocument, IntegrationTypeDocument, IntegrationsDocument, IntegrationTypesDocument, IntegrationConfigDocument, IntegrationConfigsDocument, ImageDocument, ImagesDocument, CredentialDocument, CredentialsDocument, CredentialTypeDocument, CredentialTypesDocument, CountOrdersDocument, CountProductsDocument, CustomersDocument, CountCustomersDocument, AgencyStripeAccountBankAccountsDocument, MarkdownDocument, MarkdownsDocument, OrderDetailsDocument, AgencyStripeAccountCouponsDocument, CouponDocument, ThemeDocument, ThemesDocument, AgencyStripeAccountInvoicesDocument, InvoiceDocument, AgencyStripeAccountInvoiceItemsDocument, PromotionCodeDocument, PromotionCodesDocument, SubscriptionDocument, AgencyStripeAccountSubscriptionsDocument, CustomerSubscriptionsDocument, CustomerPaymentIntentsDocument, CustomerInvoicesDocument, AgencyStripeAccountChargesDocument, ChargeDocument, PaymentIntentDocument } from '@duely/core'; import { ApolloCache, NormalizedCacheObject, QueryOptions } from '@apollo/client'; import { ResultOf, TypedDocumentNode, VariablesOf } from '@graphql-typed-document-node/core'; export interface TypedQueryOptions> extends QueryOptions, ResultOf> { readonly query: TDocumentNode; } export interface QueryDefinition extends Omit>, 'variables'> { readonly variables?: TBoundVariables; readonly result: (data: TData) => TResult | null; readonly after?: (cache: ApolloCache, res: TResult | null, variables: TVariables) => Promise; } export declare function query(queryDef: QueryDefinition, variables?: Omit, options?: Omit>, 'query' | 'variables'>): Promise>; export declare const current_user_Q: { query: TypedDocumentNode>; notifyOnNetworkStatusChange: boolean; result: (d: ResultOf) => { __typename?: "User" | undefined; id: string; name: string; email_address: string; memberships: { __typename?: "Membership" | undefined; id: string; access: import("@duely/core").AccessLevel; user: { __typename?: "User" | undefined; id: string; name: string; email_address: string; }; subdomain: { __typename?: "Subdomain" | undefined; id: string; agency: { __typename?: "Agency" | undefined; id: string; }; }; }[]; } | null | undefined; }; export declare const countries_Q: { query: TypedDocumentNode>; result: (d: ResultOf) => import("@duely/util").Country[]; }; export declare const country_spec_Q: { query: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "CountrySpec" | undefined; id: string; default_currency: string; supported_payment_currencies: string[]; supported_payment_methods: string[]; supported_transfer_countries: string[]; } | null | undefined; }; export declare const markdown_Q: { query: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "Markdown" | undefined; id: string; name: string; data: string; } | null | undefined; }; declare const markdowns_R: (d: ResultOf) => { __typename?: "Markdown" | undefined; id: string; name: string; data: string; }[] | null | undefined; export declare const markdowns_Q: { query: TypedDocumentNode | undefined; desc?: import("@duely/core").InputMaybe | undefined; order_by?: import("@duely/core").InputMaybe | undefined; limit?: import("@duely/core").InputMaybe | undefined; offset?: import("@duely/core").InputMaybe | undefined; before_id?: import("@duely/core").InputMaybe | undefined; after_id?: import("@duely/core").InputMaybe | undefined; }>>; result: (d: ResultOf) => { __typename?: "Markdown" | undefined; id: string; name: string; data: string; }[] | null | undefined; after(cache: ApolloCache, customers: ReturnType | null): Promise; }; export declare const image_Q: { query: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "Image" | undefined; id: string; name: string; color: string; data: string; access: import("@duely/core").AccessLevel; } | null | undefined; }; export declare const images_Q: { query: TypedDocumentNode | undefined; desc?: import("@duely/core").InputMaybe | undefined; order_by?: import("@duely/core").InputMaybe | undefined; limit?: import("@duely/core").InputMaybe | undefined; offset?: import("@duely/core").InputMaybe | undefined; before_id?: import("@duely/core").InputMaybe | undefined; after_id?: import("@duely/core").InputMaybe | undefined; }>>; result: (d: ResultOf) => { __typename?: "Image" | undefined; id: string; name: string; color: string; data: string; access: import("@duely/core").AccessLevel; }[] | null | undefined; }; export declare const agency_Q: { query: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "Agency" | undefined; id: string; name: string; livemode: boolean; default_pricing_currency?: string | null | undefined; subdomain: { __typename?: "Subdomain" | undefined; id: string; name: string; }; theme: { __typename?: "Theme" | undefined; id: string; color_primary?: string | null | undefined; color_secondary?: string | null | undefined; color_accent?: string | null | undefined; color_background?: string | null | undefined; color_surface?: string | null | undefined; color_error?: string | null | undefined; color_success?: string | null | undefined; image_logo?: { __typename?: "Image" | undefined; id: string; name: string; color: string; data: string; access: import("@duely/core").AccessLevel; } | null | undefined; image_hero?: { __typename?: "Image" | undefined; id: string; name: string; color: string; data: string; access: import("@duely/core").AccessLevel; } | null | undefined; }; } | null | undefined; }; export declare const agencies_Q: { query: TypedDocumentNode | undefined; desc?: import("@duely/core").InputMaybe | undefined; order_by?: import("@duely/core").InputMaybe | undefined; limit?: import("@duely/core").InputMaybe | undefined; offset?: import("@duely/core").InputMaybe | undefined; before_id?: import("@duely/core").InputMaybe | undefined; after_id?: import("@duely/core").InputMaybe | undefined; }>>; result: (d: ResultOf) => { __typename?: "Agency" | undefined; id: string; name: string; livemode: boolean; default_pricing_currency?: string | null | undefined; subdomain: { __typename?: "Subdomain" | undefined; id: string; name: string; }; theme: { __typename?: "Theme" | undefined; id: string; color_primary?: string | null | undefined; color_secondary?: string | null | undefined; color_accent?: string | null | undefined; color_background?: string | null | undefined; color_surface?: string | null | undefined; color_error?: string | null | undefined; color_success?: string | null | undefined; image_logo?: { __typename?: "Image" | undefined; id: string; name: string; color: string; data: string; access: import("@duely/core").AccessLevel; } | null | undefined; image_hero?: { __typename?: "Image" | undefined; id: string; name: string; color: string; data: string; access: import("@duely/core").AccessLevel; } | null | undefined; }; }[] | null | undefined; }; export declare const agency_stripe_account_Q: { query: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "StripeAccount" | undefined; id: string; id_ext: string; business_type?: string | null | undefined; charges_enabled: boolean; country: string; created: any; default_currency?: string | null | undefined; details_submitted: boolean; email?: string | null | undefined; payouts_enabled: boolean; business_profile: { __typename?: "BusinessProfile" | undefined; mcc?: string | null | undefined; name?: string | null | undefined; product_description?: string | null | undefined; support_email?: string | null | undefined; support_phone?: string | null | undefined; support_url?: string | null | undefined; url?: string | null | undefined; support_address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; }; capabilities: { __typename?: "StripeCapabilities" | undefined; card_payments?: string | null | undefined; transfers?: string | null | undefined; }; requirements: { __typename?: "StripeRequirements" | undefined; current_deadline?: string | null | undefined; disabled_reason?: string | null | undefined; currently_due: (string | null)[]; eventually_due: (string | null)[]; past_due: (string | null)[]; pending_verification: (string | null)[]; }; settings: { __typename?: "StripeSettings" | undefined; branding?: { __typename?: "StripeBranding" | undefined; icon?: string | null | undefined; logo?: string | null | undefined; primary_color?: string | null | undefined; secondary_color?: string | null | undefined; } | null | undefined; }; } | undefined; }; export declare const agency_stripe_account_update_url_Q: { readonly query: TypedDocumentNode>; readonly fetchPolicy: "no-cache"; readonly result: (d: ResultOf) => string | undefined; }; export declare const agency_stripe_account_balance_Q: { query: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "StripeBalance" | undefined; available: { __typename?: "StripeCurrencyBalance" | undefined; amount: number; currency: string; source_types: { __typename?: "StripeBalanceSource" | undefined; card?: number | null | undefined; bank_account?: number | null | undefined; }; }[]; pending: { __typename?: "StripeCurrencyBalance" | undefined; amount: number; currency: string; source_types: { __typename?: "StripeBalanceSource" | undefined; card?: number | null | undefined; bank_account?: number | null | undefined; }; }[]; connect_reserved?: { __typename?: "StripeCurrencyBalance" | undefined; amount: number; currency: string; source_types: { __typename?: "StripeBalanceSource" | undefined; card?: number | null | undefined; bank_account?: number | null | undefined; }; }[] | null | undefined; } | undefined; }; export declare const agency_stripe_account_balance_transactions_Q: { query: TypedDocumentNode | undefined; starting_after?: import("@duely/core").InputMaybe | undefined; ending_before?: import("@duely/core").InputMaybe | undefined; limit?: import("@duely/core").InputMaybe | undefined; }>>; result: (d: ResultOf) => { __typename?: "BalanceTransaction" | undefined; id: string; amount: number; available_on: any; created: any; exchange_rate?: number | null | undefined; currency: string; description?: string | null | undefined; fee: number; net: number; status: string; reporting_category: string; type: string; source: string; fee_details?: { __typename?: "BalanceTransactionFeeDetails" | undefined; amount: number; application?: string | null | undefined; currency: string; description?: string | null | undefined; type: string; }[] | null | undefined; }[] | undefined; }; export declare const agency_stripe_account_payment_intents_Q: { query: TypedDocumentNode | undefined; starting_after?: import("@duely/core").InputMaybe | undefined; ending_before?: import("@duely/core").InputMaybe | undefined; limit?: import("@duely/core").InputMaybe | undefined; }>>; result: (d: ResultOf) => { __typename?: "PaymentIntent" | undefined; id: string; amount: number; amount_capturable?: number | null | undefined; amount_received?: number | null | undefined; application_fee_amount?: number | null | undefined; canceled_at?: any; cancellation_reason?: string | null | undefined; capture_method?: string | null | undefined; confirmation_method?: string | null | undefined; created?: any; currency?: string | null | undefined; description?: string | null | undefined; invoice?: string | null | undefined; on_behalf_of?: string | null | undefined; payment_method?: string | null | undefined; payment_method_types?: (string | null)[] | null | undefined; receipt_email?: string | null | undefined; setup_future_usage?: string | null | undefined; statement_descriptor?: string | null | undefined; statement_descriptor_suffix?: string | null | undefined; status?: string | null | undefined; transfer_group?: string | null | undefined; charges?: ({ __typename?: "Charge" | undefined; id: string; amount: number; amount_capturable?: number | null | undefined; amount_received?: number | null | undefined; application_fee_amount?: number | null | undefined; authorization_code?: string | null | undefined; calculated_statement_descriptor?: string | null | undefined; captured?: boolean | null | undefined; created?: any; currency?: string | null | undefined; description?: string | null | undefined; disputed?: boolean | null | undefined; failure_code?: string | null | undefined; failure_message?: string | null | undefined; invoice?: string | null | undefined; order?: string | null | undefined; paid?: boolean | null | undefined; payment_method?: string | null | undefined; receipt_email?: string | null | undefined; receipt_number?: string | null | undefined; receipt_url?: string | null | undefined; refunded?: boolean | null | undefined; source_transfer?: string | null | undefined; statement_descriptor?: string | null | undefined; statement_descriptor_suffix?: string | null | undefined; status?: string | null | undefined; transfer?: string | null | undefined; transfer_group?: string | null | undefined; balance_transaction?: { __typename?: "BalanceTransaction" | undefined; id: string; amount: number; available_on: any; created: any; exchange_rate?: number | null | undefined; currency: string; description?: string | null | undefined; fee: number; net: number; status: string; reporting_category: string; type: string; source: string; fee_details?: { __typename?: "BalanceTransactionFeeDetails" | undefined; amount: number; application?: string | null | undefined; currency: string; description?: string | null | undefined; type: string; }[] | null | undefined; } | null | undefined; billing_details?: { __typename?: "BillingDetails" | undefined; email?: string | null | undefined; name?: string | null | undefined; phone?: string | null | undefined; address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; } | null | undefined; customer?: { __typename?: "StripeCustomer" | undefined; id: string; } | null | undefined; fraud_details?: { __typename?: "FraudDetails" | undefined; stripe_report?: string | null | undefined; user_report?: string | null | undefined; } | null | undefined; outcome?: { __typename?: "Outcome" | undefined; network_status?: string | null | undefined; reason?: string | null | undefined; risk_level?: string | null | undefined; risk_score?: number | null | undefined; seller_message?: string | null | undefined; type?: string | null | undefined; rule?: { __typename?: "OutcomeRule" | undefined; action?: string | null | undefined; id?: string | null | undefined; predicate?: string | null | undefined; } | null | undefined; } | null | undefined; payment_intent?: { __typename?: "PaymentIntent" | undefined; id: string; } | null | undefined; } | null)[] | null | undefined; customer?: { __typename?: "StripeCustomer" | undefined; id: string; balance?: number | null | undefined; created?: any; currency?: string | null | undefined; delinquent?: boolean | null | undefined; description?: string | null | undefined; email?: string | null | undefined; invoice_prefix?: string | null | undefined; name?: string | null | undefined; next_invoice_sequence?: number | null | undefined; phone?: string | null | undefined; preferred_locales?: (string | null)[] | null | undefined; address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; customer?: { __typename?: "Customer" | undefined; id: string; } | null | undefined; } | null | undefined; shipping?: { __typename?: "Shipping" | undefined; carrier?: string | null | undefined; name?: string | null | undefined; phone?: string | null | undefined; tracking_number?: string | null | undefined; address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; } | null | undefined; }[] | undefined; }; export declare const agency_stripe_account_charges_Q: { query: TypedDocumentNode | undefined; starting_after?: import("@duely/core").InputMaybe | undefined; ending_before?: import("@duely/core").InputMaybe | undefined; limit?: import("@duely/core").InputMaybe | undefined; payment_intent?: import("@duely/core").InputMaybe | undefined; }>>; result: (d: ResultOf) => { __typename?: "Charge" | undefined; id: string; amount: number; amount_capturable?: number | null | undefined; amount_received?: number | null | undefined; application_fee_amount?: number | null | undefined; authorization_code?: string | null | undefined; calculated_statement_descriptor?: string | null | undefined; captured?: boolean | null | undefined; created?: any; currency?: string | null | undefined; description?: string | null | undefined; disputed?: boolean | null | undefined; failure_code?: string | null | undefined; failure_message?: string | null | undefined; invoice?: string | null | undefined; order?: string | null | undefined; paid?: boolean | null | undefined; payment_method?: string | null | undefined; receipt_email?: string | null | undefined; receipt_number?: string | null | undefined; receipt_url?: string | null | undefined; refunded?: boolean | null | undefined; source_transfer?: string | null | undefined; statement_descriptor?: string | null | undefined; statement_descriptor_suffix?: string | null | undefined; status?: string | null | undefined; transfer?: string | null | undefined; transfer_group?: string | null | undefined; balance_transaction?: { __typename?: "BalanceTransaction" | undefined; id: string; amount: number; available_on: any; created: any; exchange_rate?: number | null | undefined; currency: string; description?: string | null | undefined; fee: number; net: number; status: string; reporting_category: string; type: string; source: string; fee_details?: { __typename?: "BalanceTransactionFeeDetails" | undefined; amount: number; application?: string | null | undefined; currency: string; description?: string | null | undefined; type: string; }[] | null | undefined; } | null | undefined; billing_details?: { __typename?: "BillingDetails" | undefined; email?: string | null | undefined; name?: string | null | undefined; phone?: string | null | undefined; address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; } | null | undefined; customer?: { __typename?: "StripeCustomer" | undefined; id: string; } | null | undefined; fraud_details?: { __typename?: "FraudDetails" | undefined; stripe_report?: string | null | undefined; user_report?: string | null | undefined; } | null | undefined; outcome?: { __typename?: "Outcome" | undefined; network_status?: string | null | undefined; reason?: string | null | undefined; risk_level?: string | null | undefined; risk_score?: number | null | undefined; seller_message?: string | null | undefined; type?: string | null | undefined; rule?: { __typename?: "OutcomeRule" | undefined; action?: string | null | undefined; id?: string | null | undefined; predicate?: string | null | undefined; } | null | undefined; } | null | undefined; payment_intent?: { __typename?: "PaymentIntent" | undefined; id: string; } | null | undefined; }[] | undefined; }; export declare const agency_subscriptions_Q: { query: TypedDocumentNode | undefined; price?: import("@duely/core").InputMaybe | undefined; status?: import("@duely/core").InputMaybe | undefined; collection_method?: import("@duely/core").InputMaybe | undefined; created?: import("@duely/core").InputMaybe | undefined; current_period_start?: import("@duely/core").InputMaybe | undefined; current_period_end?: import("@duely/core").InputMaybe | undefined; starting_after?: import("@duely/core").InputMaybe | undefined; ending_before?: import("@duely/core").InputMaybe | undefined; limit?: import("@duely/core").InputMaybe | undefined; }>>; result: (d: ResultOf) => { __typename?: "StripeSubscription" | undefined; id: string; application_fee_percent?: number | null | undefined; billing_cycle_anchor: any; cancel_at?: any; cancel_at_period_end: boolean; canceled_at?: any; collection_method: string; created: any; current_period_end: any; current_period_start: any; days_until_due?: number | null | undefined; ended_at?: any; livemode: boolean; next_pending_invoice_item_invoice?: any; pending_invoice_item_interval?: string | null | undefined; start_date: any; status: string; trial_end?: any; trial_start?: any; customer?: { __typename?: "StripeCustomer" | undefined; id: string; balance?: number | null | undefined; created?: any; currency?: string | null | undefined; delinquent?: boolean | null | undefined; description?: string | null | undefined; email?: string | null | undefined; invoice_prefix?: string | null | undefined; name?: string | null | undefined; next_invoice_sequence?: number | null | undefined; phone?: string | null | undefined; preferred_locales?: (string | null)[] | null | undefined; address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; customer?: { __typename?: "Customer" | undefined; id: string; } | null | undefined; } | null | undefined; latest_invoice?: { __typename?: "Invoice" | undefined; id: string; account_country?: string | null | undefined; account_name?: string | null | undefined; account_tax_ids?: string[] | null | undefined; amount_due: number; amount_paid: number; amount_remaining: number; application_fee_amount?: number | null | undefined; attempt_count: number; attempted: boolean; auto_advance?: boolean | null | undefined; billing_reason?: string | null | undefined; collection_method?: string | null | undefined; created: any; currency: string; customer_email?: string | null | undefined; customer_name?: string | null | undefined; customer_phone?: string | null | undefined; customer_tax_exempt?: string | null | undefined; default_payment_method?: string | null | undefined; description?: string | null | undefined; due_date?: any; ending_balance?: number | null | undefined; footer?: string | null | undefined; hosted_invoice_url?: string | null | undefined; invoice_pdf?: string | null | undefined; livemode: boolean; next_payment_attempt?: any; number?: string | null | undefined; paid: boolean; period_end: any; period_start: any; post_payment_credit_notes_amount: number; pre_payment_credit_notes_amount: number; receipt_number?: string | null | undefined; starting_balance?: number | null | undefined; statement_descriptor?: string | null | undefined; status?: string | null | undefined; subscription_proration_date?: any; subtotal: number; tax?: number | null | undefined; total: number; webhooks_delivered_at?: any; automatic_tax: { __typename?: "InvoiceAutomaticTax" | undefined; enabled: boolean; status?: string | null | undefined; }; charge?: { __typename?: "Charge" | undefined; id: string; } | null | undefined; custom_fields?: { __typename?: "InvoiceCustomField" | undefined; name: string; value: string; }[] | null | undefined; customer?: { __typename?: "StripeCustomer" | undefined; id: string; } | null | undefined; customer_address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; customer_shipping?: { __typename?: "InvoiceCustomerShipping" | undefined; carrier?: string | null | undefined; name?: string | null | undefined; phone?: string | null | undefined; tracking_number?: string | null | undefined; address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; } | null | undefined; customer_tax_ids?: { __typename?: "CustomerTaxId" | undefined; type?: string | null | undefined; value?: string | null | undefined; }[] | null | undefined; discount?: { __typename?: "Discount" | undefined; id: string; checkout_session?: string | null | undefined; end?: any; invoice_item?: string | null | undefined; promotion_code?: string | null | undefined; start: any; subscription?: string | null | undefined; coupon?: { __typename?: "Coupon" | undefined; id: string; } | null | undefined; customer?: { __typename?: "StripeCustomer" | undefined; id: string; } | null | undefined; invoice?: { __typename?: "Invoice" | undefined; id: string; } | null | undefined; } | null | undefined; discounts?: { __typename?: "Discount" | undefined; id: string; checkout_session?: string | null | undefined; end?: any; invoice_item?: string | null | undefined; promotion_code?: string | null | undefined; start: any; subscription?: string | null | undefined; coupon?: { __typename?: "Coupon" | undefined; id: string; } | null | undefined; customer?: { __typename?: "StripeCustomer" | undefined; id: string; } | null | undefined; invoice?: { __typename?: "Invoice" | undefined; id: string; } | null | undefined; }[] | null | undefined; payment_intent?: { __typename?: "PaymentIntent" | undefined; id: string; } | null | undefined; status_transitions?: { __typename?: "InvoiceStatusTransitions" | undefined; finalized_at?: any; marked_uncollectible_at?: any; paid_at?: any; voided_at?: any; } | null | undefined; } | null | undefined; automatic_tax: { __typename?: "SubscriptionAutomaticTax" | undefined; enabled: boolean; }; billing_thresholds?: { __typename?: "SubscriptionBillingThresholds" | undefined; amount_gte?: number | null | undefined; reset_billing_cycle_anchor?: boolean | null | undefined; } | null | undefined; discount?: { __typename?: "Discount" | undefined; id: string; } | null | undefined; items: { __typename?: "SubscriptionItem" | undefined; id: string; created: any; quantity?: number | null | undefined; billing_thresholds?: { __typename?: "SubscriptionItemBillingThresholds" | undefined; usage_gte?: number | null | undefined; } | null | undefined; price?: { __typename?: "StripePrice" | undefined; id: string; active: boolean; billing_scheme: string; created?: any; currency: string; livemode: boolean; lookup_key?: string | null | undefined; nickname?: string | null | undefined; tax_behavior?: string | null | undefined; tiers_mode?: string | null | undefined; type: string; unit_amount?: number | null | undefined; unit_amount_decimal?: string | null | undefined; product?: { __typename?: "StripeProduct" | undefined; id: string; active: boolean; attributes?: string[] | null | undefined; caption?: string | null | undefined; created: any; deactivate_on?: string[] | null | undefined; description?: string | null | undefined; images: string[]; livemode: boolean; name: string; shippable?: boolean | null | undefined; statement_descriptor?: string | null | undefined; tax_code?: string | null | undefined; type: string; unit_label?: string | null | undefined; updated: any; url?: string | null | undefined; package_dimensions?: { __typename?: "StripeProductPackageDimensions" | undefined; height: number; length: number; weight: number; width: number; } | null | undefined; } | null | undefined; recurring?: { __typename?: "StripePriceRecurring" | undefined; aggregate_usage?: string | null | undefined; interval: string; interval_count: number; trial_period_days?: number | null | undefined; usage_type?: string | null | undefined; } | null | undefined; tiers?: { __typename?: "StripePriceTier" | undefined; flat_amount?: number | null | undefined; flat_amount_decimal?: string | null | undefined; unit_amount?: number | null | undefined; unit_amount_decimal?: string | null | undefined; up_to?: number | null | undefined; }[] | null | undefined; transform_quantity?: { __typename?: "StripePriceTransformQuantity" | undefined; divide_by?: number | null | undefined; round?: string | null | undefined; } | null | undefined; } | null | undefined; subscription: { __typename?: "StripeSubscription" | undefined; id: string; }; }[]; pause_collection?: { __typename?: "SubscriptionPauseCollection" | undefined; behavior: string; } | null | undefined; payment_settings?: { __typename?: "SubscriptionPaymentSettings" | undefined; payment_method_types?: string[] | null | undefined; payment_method_options?: { __typename?: "SubscriptionPaymentMethodOptions" | undefined; acss_debit?: { __typename?: "SubscriptionAcssDebit" | undefined; verification_method?: string | null | undefined; mandate_options?: { __typename?: "SubscriptionAcssDebitMandateOptions" | undefined; transaction_type?: string | null | undefined; } | null | undefined; } | null | undefined; card?: { __typename?: "SubscriptionCard" | undefined; request_three_d_secure?: string | null | undefined; } | null | undefined; bancontact?: { __typename?: "SubscriptionBancontact" | undefined; preferred_language: string; } | null | undefined; } | null | undefined; } | null | undefined; pending_update?: { __typename?: "SubscriptionPendingUpdate" | undefined; billing_cycle_anchor?: number | null | undefined; trial_end?: number | null | undefined; expires_at: number; trial_from_plan?: boolean | null | undefined; } | null | undefined; }[] | undefined; }; export declare const subscription_Q: { query: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "StripeSubscription" | undefined; id: string; application_fee_percent?: number | null | undefined; billing_cycle_anchor: any; cancel_at?: any; cancel_at_period_end: boolean; canceled_at?: any; collection_method: string; created: any; current_period_end: any; current_period_start: any; days_until_due?: number | null | undefined; ended_at?: any; livemode: boolean; next_pending_invoice_item_invoice?: any; pending_invoice_item_interval?: string | null | undefined; start_date: any; status: string; trial_end?: any; trial_start?: any; customer?: { __typename?: "StripeCustomer" | undefined; id: string; balance?: number | null | undefined; created?: any; currency?: string | null | undefined; delinquent?: boolean | null | undefined; description?: string | null | undefined; email?: string | null | undefined; invoice_prefix?: string | null | undefined; name?: string | null | undefined; next_invoice_sequence?: number | null | undefined; phone?: string | null | undefined; preferred_locales?: (string | null)[] | null | undefined; address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; customer?: { __typename?: "Customer" | undefined; id: string; } | null | undefined; } | null | undefined; latest_invoice?: { __typename?: "Invoice" | undefined; id: string; account_country?: string | null | undefined; account_name?: string | null | undefined; account_tax_ids?: string[] | null | undefined; amount_due: number; amount_paid: number; amount_remaining: number; application_fee_amount?: number | null | undefined; attempt_count: number; attempted: boolean; auto_advance?: boolean | null | undefined; billing_reason?: string | null | undefined; collection_method?: string | null | undefined; created: any; currency: string; customer_email?: string | null | undefined; customer_name?: string | null | undefined; customer_phone?: string | null | undefined; customer_tax_exempt?: string | null | undefined; default_payment_method?: string | null | undefined; description?: string | null | undefined; due_date?: any; ending_balance?: number | null | undefined; footer?: string | null | undefined; hosted_invoice_url?: string | null | undefined; invoice_pdf?: string | null | undefined; livemode: boolean; next_payment_attempt?: any; number?: string | null | undefined; paid: boolean; period_end: any; period_start: any; post_payment_credit_notes_amount: number; pre_payment_credit_notes_amount: number; receipt_number?: string | null | undefined; starting_balance?: number | null | undefined; statement_descriptor?: string | null | undefined; status?: string | null | undefined; subscription_proration_date?: any; subtotal: number; tax?: number | null | undefined; total: number; webhooks_delivered_at?: any; automatic_tax: { __typename?: "InvoiceAutomaticTax" | undefined; enabled: boolean; status?: string | null | undefined; }; charge?: { __typename?: "Charge" | undefined; id: string; } | null | undefined; custom_fields?: { __typename?: "InvoiceCustomField" | undefined; name: string; value: string; }[] | null | undefined; customer?: { __typename?: "StripeCustomer" | undefined; id: string; } | null | undefined; customer_address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; customer_shipping?: { __typename?: "InvoiceCustomerShipping" | undefined; carrier?: string | null | undefined; name?: string | null | undefined; phone?: string | null | undefined; tracking_number?: string | null | undefined; address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; } | null | undefined; customer_tax_ids?: { __typename?: "CustomerTaxId" | undefined; type?: string | null | undefined; value?: string | null | undefined; }[] | null | undefined; discount?: { __typename?: "Discount" | undefined; id: string; checkout_session?: string | null | undefined; end?: any; invoice_item?: string | null | undefined; promotion_code?: string | null | undefined; start: any; subscription?: string | null | undefined; coupon?: { __typename?: "Coupon" | undefined; id: string; } | null | undefined; customer?: { __typename?: "StripeCustomer" | undefined; id: string; } | null | undefined; invoice?: { __typename?: "Invoice" | undefined; id: string; } | null | undefined; } | null | undefined; discounts?: { __typename?: "Discount" | undefined; id: string; checkout_session?: string | null | undefined; end?: any; invoice_item?: string | null | undefined; promotion_code?: string | null | undefined; start: any; subscription?: string | null | undefined; coupon?: { __typename?: "Coupon" | undefined; id: string; } | null | undefined; customer?: { __typename?: "StripeCustomer" | undefined; id: string; } | null | undefined; invoice?: { __typename?: "Invoice" | undefined; id: string; } | null | undefined; }[] | null | undefined; payment_intent?: { __typename?: "PaymentIntent" | undefined; id: string; } | null | undefined; status_transitions?: { __typename?: "InvoiceStatusTransitions" | undefined; finalized_at?: any; marked_uncollectible_at?: any; paid_at?: any; voided_at?: any; } | null | undefined; } | null | undefined; automatic_tax: { __typename?: "SubscriptionAutomaticTax" | undefined; enabled: boolean; }; billing_thresholds?: { __typename?: "SubscriptionBillingThresholds" | undefined; amount_gte?: number | null | undefined; reset_billing_cycle_anchor?: boolean | null | undefined; } | null | undefined; discount?: { __typename?: "Discount" | undefined; id: string; } | null | undefined; items: { __typename?: "SubscriptionItem" | undefined; id: string; created: any; quantity?: number | null | undefined; billing_thresholds?: { __typename?: "SubscriptionItemBillingThresholds" | undefined; usage_gte?: number | null | undefined; } | null | undefined; price?: { __typename?: "StripePrice" | undefined; id: string; active: boolean; billing_scheme: string; created?: any; currency: string; livemode: boolean; lookup_key?: string | null | undefined; nickname?: string | null | undefined; tax_behavior?: string | null | undefined; tiers_mode?: string | null | undefined; type: string; unit_amount?: number | null | undefined; unit_amount_decimal?: string | null | undefined; product?: { __typename?: "StripeProduct" | undefined; id: string; active: boolean; attributes?: string[] | null | undefined; caption?: string | null | undefined; created: any; deactivate_on?: string[] | null | undefined; description?: string | null | undefined; images: string[]; livemode: boolean; name: string; shippable?: boolean | null | undefined; statement_descriptor?: string | null | undefined; tax_code?: string | null | undefined; type: string; unit_label?: string | null | undefined; updated: any; url?: string | null | undefined; package_dimensions?: { __typename?: "StripeProductPackageDimensions" | undefined; height: number; length: number; weight: number; width: number; } | null | undefined; } | null | undefined; recurring?: { __typename?: "StripePriceRecurring" | undefined; aggregate_usage?: string | null | undefined; interval: string; interval_count: number; trial_period_days?: number | null | undefined; usage_type?: string | null | undefined; } | null | undefined; tiers?: { __typename?: "StripePriceTier" | undefined; flat_amount?: number | null | undefined; flat_amount_decimal?: string | null | undefined; unit_amount?: number | null | undefined; unit_amount_decimal?: string | null | undefined; up_to?: number | null | undefined; }[] | null | undefined; transform_quantity?: { __typename?: "StripePriceTransformQuantity" | undefined; divide_by?: number | null | undefined; round?: string | null | undefined; } | null | undefined; } | null | undefined; subscription: { __typename?: "StripeSubscription" | undefined; id: string; }; }[]; pause_collection?: { __typename?: "SubscriptionPauseCollection" | undefined; behavior: string; } | null | undefined; payment_settings?: { __typename?: "SubscriptionPaymentSettings" | undefined; payment_method_types?: string[] | null | undefined; payment_method_options?: { __typename?: "SubscriptionPaymentMethodOptions" | undefined; acss_debit?: { __typename?: "SubscriptionAcssDebit" | undefined; verification_method?: string | null | undefined; mandate_options?: { __typename?: "SubscriptionAcssDebitMandateOptions" | undefined; transaction_type?: string | null | undefined; } | null | undefined; } | null | undefined; card?: { __typename?: "SubscriptionCard" | undefined; request_three_d_secure?: string | null | undefined; } | null | undefined; bancontact?: { __typename?: "SubscriptionBancontact" | undefined; preferred_language: string; } | null | undefined; } | null | undefined; } | null | undefined; pending_update?: { __typename?: "SubscriptionPendingUpdate" | undefined; billing_cycle_anchor?: number | null | undefined; trial_end?: number | null | undefined; expires_at: number; trial_from_plan?: boolean | null | undefined; } | null | undefined; } | null | undefined; }; export declare const charge_Q: { query: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "Charge" | undefined; id: string; amount: number; amount_capturable?: number | null | undefined; amount_received?: number | null | undefined; application_fee_amount?: number | null | undefined; authorization_code?: string | null | undefined; calculated_statement_descriptor?: string | null | undefined; captured?: boolean | null | undefined; created?: any; currency?: string | null | undefined; description?: string | null | undefined; disputed?: boolean | null | undefined; failure_code?: string | null | undefined; failure_message?: string | null | undefined; invoice?: string | null | undefined; order?: string | null | undefined; paid?: boolean | null | undefined; payment_method?: string | null | undefined; receipt_email?: string | null | undefined; receipt_number?: string | null | undefined; receipt_url?: string | null | undefined; refunded?: boolean | null | undefined; source_transfer?: string | null | undefined; statement_descriptor?: string | null | undefined; statement_descriptor_suffix?: string | null | undefined; status?: string | null | undefined; transfer?: string | null | undefined; transfer_group?: string | null | undefined; balance_transaction?: { __typename?: "BalanceTransaction" | undefined; id: string; amount: number; available_on: any; created: any; exchange_rate?: number | null | undefined; currency: string; description?: string | null | undefined; fee: number; net: number; status: string; reporting_category: string; type: string; source: string; fee_details?: { __typename?: "BalanceTransactionFeeDetails" | undefined; amount: number; application?: string | null | undefined; currency: string; description?: string | null | undefined; type: string; }[] | null | undefined; } | null | undefined; billing_details?: { __typename?: "BillingDetails" | undefined; email?: string | null | undefined; name?: string | null | undefined; phone?: string | null | undefined; address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; } | null | undefined; customer?: { __typename?: "StripeCustomer" | undefined; id: string; } | null | undefined; fraud_details?: { __typename?: "FraudDetails" | undefined; stripe_report?: string | null | undefined; user_report?: string | null | undefined; } | null | undefined; outcome?: { __typename?: "Outcome" | undefined; network_status?: string | null | undefined; reason?: string | null | undefined; risk_level?: string | null | undefined; risk_score?: number | null | undefined; seller_message?: string | null | undefined; type?: string | null | undefined; rule?: { __typename?: "OutcomeRule" | undefined; action?: string | null | undefined; id?: string | null | undefined; predicate?: string | null | undefined; } | null | undefined; } | null | undefined; payment_intent?: { __typename?: "PaymentIntent" | undefined; id: string; } | null | undefined; } | null | undefined; }; export declare const payment_intent_Q: { query: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "PaymentIntent" | undefined; id: string; amount: number; amount_capturable?: number | null | undefined; amount_received?: number | null | undefined; application_fee_amount?: number | null | undefined; canceled_at?: any; cancellation_reason?: string | null | undefined; capture_method?: string | null | undefined; confirmation_method?: string | null | undefined; created?: any; currency?: string | null | undefined; description?: string | null | undefined; invoice?: string | null | undefined; on_behalf_of?: string | null | undefined; payment_method?: string | null | undefined; payment_method_types?: (string | null)[] | null | undefined; receipt_email?: string | null | undefined; setup_future_usage?: string | null | undefined; statement_descriptor?: string | null | undefined; statement_descriptor_suffix?: string | null | undefined; status?: string | null | undefined; transfer_group?: string | null | undefined; charges?: ({ __typename?: "Charge" | undefined; id: string; amount: number; amount_capturable?: number | null | undefined; amount_received?: number | null | undefined; application_fee_amount?: number | null | undefined; authorization_code?: string | null | undefined; calculated_statement_descriptor?: string | null | undefined; captured?: boolean | null | undefined; created?: any; currency?: string | null | undefined; description?: string | null | undefined; disputed?: boolean | null | undefined; failure_code?: string | null | undefined; failure_message?: string | null | undefined; invoice?: string | null | undefined; order?: string | null | undefined; paid?: boolean | null | undefined; payment_method?: string | null | undefined; receipt_email?: string | null | undefined; receipt_number?: string | null | undefined; receipt_url?: string | null | undefined; refunded?: boolean | null | undefined; source_transfer?: string | null | undefined; statement_descriptor?: string | null | undefined; statement_descriptor_suffix?: string | null | undefined; status?: string | null | undefined; transfer?: string | null | undefined; transfer_group?: string | null | undefined; balance_transaction?: { __typename?: "BalanceTransaction" | undefined; id: string; amount: number; available_on: any; created: any; exchange_rate?: number | null | undefined; currency: string; description?: string | null | undefined; fee: number; net: number; status: string; reporting_category: string; type: string; source: string; fee_details?: { __typename?: "BalanceTransactionFeeDetails" | undefined; amount: number; application?: string | null | undefined; currency: string; description?: string | null | undefined; type: string; }[] | null | undefined; } | null | undefined; billing_details?: { __typename?: "BillingDetails" | undefined; email?: string | null | undefined; name?: string | null | undefined; phone?: string | null | undefined; address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; } | null | undefined; customer?: { __typename?: "StripeCustomer" | undefined; id: string; } | null | undefined; fraud_details?: { __typename?: "FraudDetails" | undefined; stripe_report?: string | null | undefined; user_report?: string | null | undefined; } | null | undefined; outcome?: { __typename?: "Outcome" | undefined; network_status?: string | null | undefined; reason?: string | null | undefined; risk_level?: string | null | undefined; risk_score?: number | null | undefined; seller_message?: string | null | undefined; type?: string | null | undefined; rule?: { __typename?: "OutcomeRule" | undefined; action?: string | null | undefined; id?: string | null | undefined; predicate?: string | null | undefined; } | null | undefined; } | null | undefined; payment_intent?: { __typename?: "PaymentIntent" | undefined; id: string; } | null | undefined; } | null)[] | null | undefined; customer?: { __typename?: "StripeCustomer" | undefined; id: string; balance?: number | null | undefined; created?: any; currency?: string | null | undefined; delinquent?: boolean | null | undefined; description?: string | null | undefined; email?: string | null | undefined; invoice_prefix?: string | null | undefined; name?: string | null | undefined; next_invoice_sequence?: number | null | undefined; phone?: string | null | undefined; preferred_locales?: (string | null)[] | null | undefined; address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; customer?: { __typename?: "Customer" | undefined; id: string; } | null | undefined; } | null | undefined; shipping?: { __typename?: "Shipping" | undefined; carrier?: string | null | undefined; name?: string | null | undefined; phone?: string | null | undefined; tracking_number?: string | null | undefined; address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; } | null | undefined; } | null | undefined; }; declare const agency_customers_R: (d: ResultOf) => { __typename?: "Customer" | undefined; id: string; name?: string | null | undefined; email_address: string; stripe_account: { __typename?: "StripeAccount" | undefined; id: string; }; default_stripe_customer: { __typename?: "StripeCustomer" | undefined; id: string; balance?: number | null | undefined; created?: any; currency?: string | null | undefined; delinquent?: boolean | null | undefined; description?: string | null | undefined; email?: string | null | undefined; invoice_prefix?: string | null | undefined; name?: string | null | undefined; next_invoice_sequence?: number | null | undefined; phone?: string | null | undefined; preferred_locales?: (string | null)[] | null | undefined; address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; customer?: { __typename?: "Customer" | undefined; id: string; } | null | undefined; }; stripe_customers: { __typename?: "StripeCustomer" | undefined; id: string; balance?: number | null | undefined; created?: any; currency?: string | null | undefined; delinquent?: boolean | null | undefined; description?: string | null | undefined; email?: string | null | undefined; invoice_prefix?: string | null | undefined; name?: string | null | undefined; next_invoice_sequence?: number | null | undefined; phone?: string | null | undefined; preferred_locales?: (string | null)[] | null | undefined; address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; customer?: { __typename?: "Customer" | undefined; id: string; } | null | undefined; }[]; user?: { __typename?: "User" | undefined; id: string; name: string; email_address: string; } | null | undefined; }[] | undefined; export declare const agency_customers_Q: { query: TypedDocumentNode | undefined; token?: import("@duely/core").InputMaybe | undefined; desc?: import("@duely/core").InputMaybe | undefined; order_by?: import("@duely/core").InputMaybe | undefined; limit?: import("@duely/core").InputMaybe | undefined; offset?: import("@duely/core").InputMaybe | undefined; before_id?: import("@duely/core").InputMaybe | undefined; after_id?: import("@duely/core").InputMaybe | undefined; }>>; result: (d: ResultOf) => { __typename?: "Customer" | undefined; id: string; name?: string | null | undefined; email_address: string; stripe_account: { __typename?: "StripeAccount" | undefined; id: string; }; default_stripe_customer: { __typename?: "StripeCustomer" | undefined; id: string; balance?: number | null | undefined; created?: any; currency?: string | null | undefined; delinquent?: boolean | null | undefined; description?: string | null | undefined; email?: string | null | undefined; invoice_prefix?: string | null | undefined; name?: string | null | undefined; next_invoice_sequence?: number | null | undefined; phone?: string | null | undefined; preferred_locales?: (string | null)[] | null | undefined; address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; customer?: { __typename?: "Customer" | undefined; id: string; } | null | undefined; }; stripe_customers: { __typename?: "StripeCustomer" | undefined; id: string; balance?: number | null | undefined; created?: any; currency?: string | null | undefined; delinquent?: boolean | null | undefined; description?: string | null | undefined; email?: string | null | undefined; invoice_prefix?: string | null | undefined; name?: string | null | undefined; next_invoice_sequence?: number | null | undefined; phone?: string | null | undefined; preferred_locales?: (string | null)[] | null | undefined; address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; customer?: { __typename?: "Customer" | undefined; id: string; } | null | undefined; }[]; user?: { __typename?: "User" | undefined; id: string; name: string; email_address: string; } | null | undefined; }[] | undefined; after(cache: ApolloCache, markdowns: ReturnType | null): Promise; }; export declare const customer_Q: { query: TypedDocumentNode | undefined; }>>; result: (d: ResultOf) => { __typename?: "Customer" | undefined; id: string; name?: string | null | undefined; email_address: string; stripe_account: { __typename?: "StripeAccount" | undefined; id: string; }; default_stripe_customer: { __typename?: "StripeCustomer" | undefined; id: string; balance?: number | null | undefined; created?: any; currency?: string | null | undefined; delinquent?: boolean | null | undefined; description?: string | null | undefined; email?: string | null | undefined; invoice_prefix?: string | null | undefined; name?: string | null | undefined; next_invoice_sequence?: number | null | undefined; phone?: string | null | undefined; preferred_locales?: (string | null)[] | null | undefined; address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; customer?: { __typename?: "Customer" | undefined; id: string; } | null | undefined; }; stripe_customers: { __typename?: "StripeCustomer" | undefined; id: string; balance?: number | null | undefined; created?: any; currency?: string | null | undefined; delinquent?: boolean | null | undefined; description?: string | null | undefined; email?: string | null | undefined; invoice_prefix?: string | null | undefined; name?: string | null | undefined; next_invoice_sequence?: number | null | undefined; phone?: string | null | undefined; preferred_locales?: (string | null)[] | null | undefined; address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; customer?: { __typename?: "Customer" | undefined; id: string; } | null | undefined; }[]; user?: { __typename?: "User" | undefined; id: string; name: string; email_address: string; } | null | undefined; } | null | undefined; }; export declare const customer_subscriptions_Q: { query: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "StripeSubscription" | undefined; id: string; application_fee_percent?: number | null | undefined; billing_cycle_anchor: any; cancel_at?: any; cancel_at_period_end: boolean; canceled_at?: any; collection_method: string; created: any; current_period_end: any; current_period_start: any; days_until_due?: number | null | undefined; ended_at?: any; livemode: boolean; next_pending_invoice_item_invoice?: any; pending_invoice_item_interval?: string | null | undefined; start_date: any; status: string; trial_end?: any; trial_start?: any; latest_invoice?: { __typename?: "Invoice" | undefined; id: string; account_country?: string | null | undefined; account_name?: string | null | undefined; account_tax_ids?: string[] | null | undefined; amount_due: number; amount_paid: number; amount_remaining: number; application_fee_amount?: number | null | undefined; attempt_count: number; attempted: boolean; auto_advance?: boolean | null | undefined; billing_reason?: string | null | undefined; collection_method?: string | null | undefined; created: any; currency: string; customer_email?: string | null | undefined; customer_name?: string | null | undefined; customer_phone?: string | null | undefined; customer_tax_exempt?: string | null | undefined; default_payment_method?: string | null | undefined; description?: string | null | undefined; due_date?: any; ending_balance?: number | null | undefined; footer?: string | null | undefined; hosted_invoice_url?: string | null | undefined; invoice_pdf?: string | null | undefined; livemode: boolean; next_payment_attempt?: any; number?: string | null | undefined; paid: boolean; period_end: any; period_start: any; post_payment_credit_notes_amount: number; pre_payment_credit_notes_amount: number; receipt_number?: string | null | undefined; starting_balance?: number | null | undefined; statement_descriptor?: string | null | undefined; status?: string | null | undefined; subscription_proration_date?: any; subtotal: number; tax?: number | null | undefined; total: number; webhooks_delivered_at?: any; automatic_tax: { __typename?: "InvoiceAutomaticTax" | undefined; enabled: boolean; status?: string | null | undefined; }; charge?: { __typename?: "Charge" | undefined; id: string; } | null | undefined; custom_fields?: { __typename?: "InvoiceCustomField" | undefined; name: string; value: string; }[] | null | undefined; customer?: { __typename?: "StripeCustomer" | undefined; id: string; } | null | undefined; customer_address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; customer_shipping?: { __typename?: "InvoiceCustomerShipping" | undefined; carrier?: string | null | undefined; name?: string | null | undefined; phone?: string | null | undefined; tracking_number?: string | null | undefined; address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; } | null | undefined; customer_tax_ids?: { __typename?: "CustomerTaxId" | undefined; type?: string | null | undefined; value?: string | null | undefined; }[] | null | undefined; discount?: { __typename?: "Discount" | undefined; id: string; checkout_session?: string | null | undefined; end?: any; invoice_item?: string | null | undefined; promotion_code?: string | null | undefined; start: any; subscription?: string | null | undefined; coupon?: { __typename?: "Coupon" | undefined; id: string; } | null | undefined; customer?: { __typename?: "StripeCustomer" | undefined; id: string; } | null | undefined; invoice?: { __typename?: "Invoice" | undefined; id: string; } | null | undefined; } | null | undefined; discounts?: { __typename?: "Discount" | undefined; id: string; checkout_session?: string | null | undefined; end?: any; invoice_item?: string | null | undefined; promotion_code?: string | null | undefined; start: any; subscription?: string | null | undefined; coupon?: { __typename?: "Coupon" | undefined; id: string; } | null | undefined; customer?: { __typename?: "StripeCustomer" | undefined; id: string; } | null | undefined; invoice?: { __typename?: "Invoice" | undefined; id: string; } | null | undefined; }[] | null | undefined; payment_intent?: { __typename?: "PaymentIntent" | undefined; id: string; } | null | undefined; status_transitions?: { __typename?: "InvoiceStatusTransitions" | undefined; finalized_at?: any; marked_uncollectible_at?: any; paid_at?: any; voided_at?: any; } | null | undefined; } | null | undefined; automatic_tax: { __typename?: "SubscriptionAutomaticTax" | undefined; enabled: boolean; }; billing_thresholds?: { __typename?: "SubscriptionBillingThresholds" | undefined; amount_gte?: number | null | undefined; reset_billing_cycle_anchor?: boolean | null | undefined; } | null | undefined; customer?: { __typename?: "StripeCustomer" | undefined; id: string; } | null | undefined; discount?: { __typename?: "Discount" | undefined; id: string; } | null | undefined; items: { __typename?: "SubscriptionItem" | undefined; id: string; created: any; quantity?: number | null | undefined; billing_thresholds?: { __typename?: "SubscriptionItemBillingThresholds" | undefined; usage_gte?: number | null | undefined; } | null | undefined; price?: { __typename?: "StripePrice" | undefined; id: string; active: boolean; billing_scheme: string; created?: any; currency: string; livemode: boolean; lookup_key?: string | null | undefined; nickname?: string | null | undefined; tax_behavior?: string | null | undefined; tiers_mode?: string | null | undefined; type: string; unit_amount?: number | null | undefined; unit_amount_decimal?: string | null | undefined; product?: { __typename?: "StripeProduct" | undefined; id: string; active: boolean; attributes?: string[] | null | undefined; caption?: string | null | undefined; created: any; deactivate_on?: string[] | null | undefined; description?: string | null | undefined; images: string[]; livemode: boolean; name: string; shippable?: boolean | null | undefined; statement_descriptor?: string | null | undefined; tax_code?: string | null | undefined; type: string; unit_label?: string | null | undefined; updated: any; url?: string | null | undefined; package_dimensions?: { __typename?: "StripeProductPackageDimensions" | undefined; height: number; length: number; weight: number; width: number; } | null | undefined; } | null | undefined; recurring?: { __typename?: "StripePriceRecurring" | undefined; aggregate_usage?: string | null | undefined; interval: string; interval_count: number; trial_period_days?: number | null | undefined; usage_type?: string | null | undefined; } | null | undefined; tiers?: { __typename?: "StripePriceTier" | undefined; flat_amount?: number | null | undefined; flat_amount_decimal?: string | null | undefined; unit_amount?: number | null | undefined; unit_amount_decimal?: string | null | undefined; up_to?: number | null | undefined; }[] | null | undefined; transform_quantity?: { __typename?: "StripePriceTransformQuantity" | undefined; divide_by?: number | null | undefined; round?: string | null | undefined; } | null | undefined; } | null | undefined; subscription: { __typename?: "StripeSubscription" | undefined; id: string; }; }[]; pause_collection?: { __typename?: "SubscriptionPauseCollection" | undefined; behavior: string; } | null | undefined; payment_settings?: { __typename?: "SubscriptionPaymentSettings" | undefined; payment_method_types?: string[] | null | undefined; payment_method_options?: { __typename?: "SubscriptionPaymentMethodOptions" | undefined; acss_debit?: { __typename?: "SubscriptionAcssDebit" | undefined; verification_method?: string | null | undefined; mandate_options?: { __typename?: "SubscriptionAcssDebitMandateOptions" | undefined; transaction_type?: string | null | undefined; } | null | undefined; } | null | undefined; card?: { __typename?: "SubscriptionCard" | undefined; request_three_d_secure?: string | null | undefined; } | null | undefined; bancontact?: { __typename?: "SubscriptionBancontact" | undefined; preferred_language: string; } | null | undefined; } | null | undefined; } | null | undefined; pending_update?: { __typename?: "SubscriptionPendingUpdate" | undefined; billing_cycle_anchor?: number | null | undefined; trial_end?: number | null | undefined; expires_at: number; trial_from_plan?: boolean | null | undefined; } | null | undefined; }[] | undefined; }; export declare const customer_payment_intents_Q: { query: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "PaymentIntent" | undefined; id: string; amount: number; amount_capturable?: number | null | undefined; amount_received?: number | null | undefined; application_fee_amount?: number | null | undefined; canceled_at?: any; cancellation_reason?: string | null | undefined; capture_method?: string | null | undefined; confirmation_method?: string | null | undefined; created?: any; currency?: string | null | undefined; description?: string | null | undefined; invoice?: string | null | undefined; on_behalf_of?: string | null | undefined; payment_method?: string | null | undefined; payment_method_types?: (string | null)[] | null | undefined; receipt_email?: string | null | undefined; setup_future_usage?: string | null | undefined; statement_descriptor?: string | null | undefined; statement_descriptor_suffix?: string | null | undefined; status?: string | null | undefined; transfer_group?: string | null | undefined; charges?: ({ __typename?: "Charge" | undefined; id: string; amount: number; amount_capturable?: number | null | undefined; amount_received?: number | null | undefined; application_fee_amount?: number | null | undefined; authorization_code?: string | null | undefined; calculated_statement_descriptor?: string | null | undefined; captured?: boolean | null | undefined; created?: any; currency?: string | null | undefined; description?: string | null | undefined; disputed?: boolean | null | undefined; failure_code?: string | null | undefined; failure_message?: string | null | undefined; invoice?: string | null | undefined; order?: string | null | undefined; paid?: boolean | null | undefined; payment_method?: string | null | undefined; receipt_email?: string | null | undefined; receipt_number?: string | null | undefined; receipt_url?: string | null | undefined; refunded?: boolean | null | undefined; source_transfer?: string | null | undefined; statement_descriptor?: string | null | undefined; statement_descriptor_suffix?: string | null | undefined; status?: string | null | undefined; transfer?: string | null | undefined; transfer_group?: string | null | undefined; balance_transaction?: { __typename?: "BalanceTransaction" | undefined; id: string; amount: number; available_on: any; created: any; exchange_rate?: number | null | undefined; currency: string; description?: string | null | undefined; fee: number; net: number; status: string; reporting_category: string; type: string; source: string; fee_details?: { __typename?: "BalanceTransactionFeeDetails" | undefined; amount: number; application?: string | null | undefined; currency: string; description?: string | null | undefined; type: string; }[] | null | undefined; } | null | undefined; billing_details?: { __typename?: "BillingDetails" | undefined; email?: string | null | undefined; name?: string | null | undefined; phone?: string | null | undefined; address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; } | null | undefined; customer?: { __typename?: "StripeCustomer" | undefined; id: string; } | null | undefined; fraud_details?: { __typename?: "FraudDetails" | undefined; stripe_report?: string | null | undefined; user_report?: string | null | undefined; } | null | undefined; outcome?: { __typename?: "Outcome" | undefined; network_status?: string | null | undefined; reason?: string | null | undefined; risk_level?: string | null | undefined; risk_score?: number | null | undefined; seller_message?: string | null | undefined; type?: string | null | undefined; rule?: { __typename?: "OutcomeRule" | undefined; action?: string | null | undefined; id?: string | null | undefined; predicate?: string | null | undefined; } | null | undefined; } | null | undefined; payment_intent?: { __typename?: "PaymentIntent" | undefined; id: string; } | null | undefined; } | null)[] | null | undefined; customer?: { __typename?: "StripeCustomer" | undefined; id: string; balance?: number | null | undefined; created?: any; currency?: string | null | undefined; delinquent?: boolean | null | undefined; description?: string | null | undefined; email?: string | null | undefined; invoice_prefix?: string | null | undefined; name?: string | null | undefined; next_invoice_sequence?: number | null | undefined; phone?: string | null | undefined; preferred_locales?: (string | null)[] | null | undefined; address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; customer?: { __typename?: "Customer" | undefined; id: string; } | null | undefined; } | null | undefined; shipping?: { __typename?: "Shipping" | undefined; carrier?: string | null | undefined; name?: string | null | undefined; phone?: string | null | undefined; tracking_number?: string | null | undefined; address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; } | null | undefined; }[] | undefined; }; export declare const customer_invoices_Q: { query: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "Invoice" | undefined; id: string; account_country?: string | null | undefined; account_name?: string | null | undefined; account_tax_ids?: string[] | null | undefined; amount_due: number; amount_paid: number; amount_remaining: number; application_fee_amount?: number | null | undefined; attempt_count: number; attempted: boolean; auto_advance?: boolean | null | undefined; billing_reason?: string | null | undefined; collection_method?: string | null | undefined; created: any; currency: string; customer_email?: string | null | undefined; customer_name?: string | null | undefined; customer_phone?: string | null | undefined; customer_tax_exempt?: string | null | undefined; default_payment_method?: string | null | undefined; description?: string | null | undefined; due_date?: any; ending_balance?: number | null | undefined; footer?: string | null | undefined; hosted_invoice_url?: string | null | undefined; invoice_pdf?: string | null | undefined; livemode: boolean; next_payment_attempt?: any; number?: string | null | undefined; paid: boolean; period_end: any; period_start: any; post_payment_credit_notes_amount: number; pre_payment_credit_notes_amount: number; receipt_number?: string | null | undefined; starting_balance?: number | null | undefined; statement_descriptor?: string | null | undefined; status?: string | null | undefined; subscription_proration_date?: any; subtotal: number; tax?: number | null | undefined; total: number; webhooks_delivered_at?: any; automatic_tax: { __typename?: "InvoiceAutomaticTax" | undefined; enabled: boolean; status?: string | null | undefined; }; charge?: { __typename?: "Charge" | undefined; id: string; } | null | undefined; custom_fields?: { __typename?: "InvoiceCustomField" | undefined; name: string; value: string; }[] | null | undefined; customer?: { __typename?: "StripeCustomer" | undefined; id: string; } | null | undefined; customer_address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; customer_shipping?: { __typename?: "InvoiceCustomerShipping" | undefined; carrier?: string | null | undefined; name?: string | null | undefined; phone?: string | null | undefined; tracking_number?: string | null | undefined; address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; } | null | undefined; customer_tax_ids?: { __typename?: "CustomerTaxId" | undefined; type?: string | null | undefined; value?: string | null | undefined; }[] | null | undefined; discount?: { __typename?: "Discount" | undefined; id: string; checkout_session?: string | null | undefined; end?: any; invoice_item?: string | null | undefined; promotion_code?: string | null | undefined; start: any; subscription?: string | null | undefined; coupon?: { __typename?: "Coupon" | undefined; id: string; } | null | undefined; customer?: { __typename?: "StripeCustomer" | undefined; id: string; } | null | undefined; invoice?: { __typename?: "Invoice" | undefined; id: string; } | null | undefined; } | null | undefined; discounts?: { __typename?: "Discount" | undefined; id: string; checkout_session?: string | null | undefined; end?: any; invoice_item?: string | null | undefined; promotion_code?: string | null | undefined; start: any; subscription?: string | null | undefined; coupon?: { __typename?: "Coupon" | undefined; id: string; } | null | undefined; customer?: { __typename?: "StripeCustomer" | undefined; id: string; } | null | undefined; invoice?: { __typename?: "Invoice" | undefined; id: string; } | null | undefined; }[] | null | undefined; payment_intent?: { __typename?: "PaymentIntent" | undefined; id: string; } | null | undefined; status_transitions?: { __typename?: "InvoiceStatusTransitions" | undefined; finalized_at?: any; marked_uncollectible_at?: any; paid_at?: any; voided_at?: any; } | null | undefined; }[] | undefined; }; declare const customers_R: (d: ResultOf) => { __typename?: "Customer" | undefined; id: string; name?: string | null | undefined; email_address: string; stripe_account: { __typename?: "StripeAccount" | undefined; id: string; }; default_stripe_customer: { __typename?: "StripeCustomer" | undefined; id: string; balance?: number | null | undefined; created?: any; currency?: string | null | undefined; delinquent?: boolean | null | undefined; description?: string | null | undefined; email?: string | null | undefined; invoice_prefix?: string | null | undefined; name?: string | null | undefined; next_invoice_sequence?: number | null | undefined; phone?: string | null | undefined; preferred_locales?: (string | null)[] | null | undefined; address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; customer?: { __typename?: "Customer" | undefined; id: string; } | null | undefined; }; stripe_customers: { __typename?: "StripeCustomer" | undefined; id: string; balance?: number | null | undefined; created?: any; currency?: string | null | undefined; delinquent?: boolean | null | undefined; description?: string | null | undefined; email?: string | null | undefined; invoice_prefix?: string | null | undefined; name?: string | null | undefined; next_invoice_sequence?: number | null | undefined; phone?: string | null | undefined; preferred_locales?: (string | null)[] | null | undefined; address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; customer?: { __typename?: "Customer" | undefined; id: string; } | null | undefined; }[]; user?: { __typename?: "User" | undefined; id: string; name: string; email_address: string; } | null | undefined; }[] | null | undefined; export declare const customers_Q: { query: TypedDocumentNode | undefined; desc?: import("@duely/core").InputMaybe | undefined; order_by?: import("@duely/core").InputMaybe | undefined; limit?: import("@duely/core").InputMaybe | undefined; offset?: import("@duely/core").InputMaybe | undefined; before_id?: import("@duely/core").InputMaybe | undefined; after_id?: import("@duely/core").InputMaybe | undefined; }>>; result: (d: ResultOf) => { __typename?: "Customer" | undefined; id: string; name?: string | null | undefined; email_address: string; stripe_account: { __typename?: "StripeAccount" | undefined; id: string; }; default_stripe_customer: { __typename?: "StripeCustomer" | undefined; id: string; balance?: number | null | undefined; created?: any; currency?: string | null | undefined; delinquent?: boolean | null | undefined; description?: string | null | undefined; email?: string | null | undefined; invoice_prefix?: string | null | undefined; name?: string | null | undefined; next_invoice_sequence?: number | null | undefined; phone?: string | null | undefined; preferred_locales?: (string | null)[] | null | undefined; address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; customer?: { __typename?: "Customer" | undefined; id: string; } | null | undefined; }; stripe_customers: { __typename?: "StripeCustomer" | undefined; id: string; balance?: number | null | undefined; created?: any; currency?: string | null | undefined; delinquent?: boolean | null | undefined; description?: string | null | undefined; email?: string | null | undefined; invoice_prefix?: string | null | undefined; name?: string | null | undefined; next_invoice_sequence?: number | null | undefined; phone?: string | null | undefined; preferred_locales?: (string | null)[] | null | undefined; address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; customer?: { __typename?: "Customer" | undefined; id: string; } | null | undefined; }[]; user?: { __typename?: "User" | undefined; id: string; name: string; email_address: string; } | null | undefined; }[] | null | undefined; after(cache: ApolloCache, customers: ReturnType | null): Promise; }; export declare const count_customers_Q: { query: TypedDocumentNode | undefined; }>>; result: (d: ResultOf) => number; }; export declare const current_user_agencies_Q: { query: TypedDocumentNode>; notifyOnNetworkStatusChange: boolean; result: (d: ResultOf) => { subdomain: { __typename?: "Subdomain" | undefined; id: string; name: string; agency: { __typename?: "Agency" | undefined; id: string; name: string; livemode: boolean; default_pricing_currency?: string | null | undefined; stripe_account: { __typename?: "StripeAccount" | undefined; id: string; id_ext: string; business_type?: string | null | undefined; charges_enabled: boolean; country: string; created: any; default_currency?: string | null | undefined; details_submitted: boolean; email?: string | null | undefined; payouts_enabled: boolean; business_profile: { __typename?: "BusinessProfile" | undefined; mcc?: string | null | undefined; name?: string | null | undefined; product_description?: string | null | undefined; support_email?: string | null | undefined; support_phone?: string | null | undefined; support_url?: string | null | undefined; url?: string | null | undefined; support_address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; }; capabilities: { __typename?: "StripeCapabilities" | undefined; card_payments?: string | null | undefined; transfers?: string | null | undefined; }; requirements: { __typename?: "StripeRequirements" | undefined; current_deadline?: string | null | undefined; disabled_reason?: string | null | undefined; currently_due: (string | null)[]; eventually_due: (string | null)[]; past_due: (string | null)[]; pending_verification: (string | null)[]; }; settings: { __typename?: "StripeSettings" | undefined; branding?: { __typename?: "StripeBranding" | undefined; icon?: string | null | undefined; logo?: string | null | undefined; primary_color?: string | null | undefined; secondary_color?: string | null | undefined; } | null | undefined; }; }; subscription_plan: { __typename?: "SubscriptionPlan" | undefined; id: string; name: string; transaction_fees: { __typename?: "TransactionFee" | undefined; id: string; percentage: number; fixed_amount: number; currency: string; transaction_amount_upper_bound: number; data: any; subscription_plan: { __typename?: "SubscriptionPlan" | undefined; id: string; }; }[]; }; subdomain: { __typename?: "Subdomain" | undefined; id: string; name: string; }; theme: { __typename?: "Theme" | undefined; id: string; color_primary?: string | null | undefined; color_secondary?: string | null | undefined; color_accent?: string | null | undefined; color_background?: string | null | undefined; color_surface?: string | null | undefined; color_error?: string | null | undefined; color_success?: string | null | undefined; image_logo?: { __typename?: "Image" | undefined; id: string; name: string; color: string; data: string; access: import("@duely/core").AccessLevel; } | null | undefined; image_hero?: { __typename?: "Image" | undefined; id: string; name: string; color: string; data: string; access: import("@duely/core").AccessLevel; } | null | undefined; }; }; memberships: { __typename?: "Membership" | undefined; id: string; access: import("@duely/core").AccessLevel; user: { __typename?: "User" | undefined; id: string; name: string; email_address: string; }; subdomain: { __typename?: "Subdomain" | undefined; id: string; agency: { __typename?: "Agency" | undefined; id: string; }; }; }[]; }; __typename?: "Agency" | undefined; id: string; name: string; livemode: boolean; default_pricing_currency?: string | null | undefined; stripe_account: { __typename?: "StripeAccount" | undefined; id: string; id_ext: string; business_type?: string | null | undefined; charges_enabled: boolean; country: string; created: any; default_currency?: string | null | undefined; details_submitted: boolean; email?: string | null | undefined; payouts_enabled: boolean; business_profile: { __typename?: "BusinessProfile" | undefined; mcc?: string | null | undefined; name?: string | null | undefined; product_description?: string | null | undefined; support_email?: string | null | undefined; support_phone?: string | null | undefined; support_url?: string | null | undefined; url?: string | null | undefined; support_address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; }; capabilities: { __typename?: "StripeCapabilities" | undefined; card_payments?: string | null | undefined; transfers?: string | null | undefined; }; requirements: { __typename?: "StripeRequirements" | undefined; current_deadline?: string | null | undefined; disabled_reason?: string | null | undefined; currently_due: (string | null)[]; eventually_due: (string | null)[]; past_due: (string | null)[]; pending_verification: (string | null)[]; }; settings: { __typename?: "StripeSettings" | undefined; branding?: { __typename?: "StripeBranding" | undefined; icon?: string | null | undefined; logo?: string | null | undefined; primary_color?: string | null | undefined; secondary_color?: string | null | undefined; } | null | undefined; }; }; subscription_plan: { __typename?: "SubscriptionPlan" | undefined; id: string; name: string; transaction_fees: { __typename?: "TransactionFee" | undefined; id: string; percentage: number; fixed_amount: number; currency: string; transaction_amount_upper_bound: number; data: any; subscription_plan: { __typename?: "SubscriptionPlan" | undefined; id: string; }; }[]; }; theme: { __typename?: "Theme" | undefined; id: string; color_primary?: string | null | undefined; color_secondary?: string | null | undefined; color_accent?: string | null | undefined; color_background?: string | null | undefined; color_surface?: string | null | undefined; color_error?: string | null | undefined; color_success?: string | null | undefined; image_logo?: { __typename?: "Image" | undefined; id: string; name: string; color: string; data: string; access: import("@duely/core").AccessLevel; } | null | undefined; image_hero?: { __typename?: "Image" | undefined; id: string; name: string; color: string; data: string; access: import("@duely/core").AccessLevel; } | null | undefined; }; }[] | undefined; }; export declare const subdomain_public_Q: { query: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "Subdomain" | undefined; id: string; name: string; agency: { __typename?: "Agency" | undefined; id: string; name: string; theme: { __typename?: "Theme" | undefined; id: string; color_primary?: string | null | undefined; color_secondary?: string | null | undefined; color_accent?: string | null | undefined; color_background?: string | null | undefined; color_surface?: string | null | undefined; color_error?: string | null | undefined; color_success?: string | null | undefined; image_logo?: { __typename?: "Image" | undefined; id: string; name: string; color: string; data: string; access: import("@duely/core").AccessLevel; } | null | undefined; image_hero?: { __typename?: "Image" | undefined; id: string; name: string; color: string; data: string; access: import("@duely/core").AccessLevel; } | null | undefined; }; }; } | undefined; }; export declare const current_subdomain_Q: { variables: { subdomain_name: string | null; }; query: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "Subdomain" | undefined; id: string; name: string; agency: { __typename?: "Agency" | undefined; id: string; name: string; theme: { __typename?: "Theme" | undefined; id: string; color_primary?: string | null | undefined; color_secondary?: string | null | undefined; color_accent?: string | null | undefined; color_background?: string | null | undefined; color_surface?: string | null | undefined; color_error?: string | null | undefined; color_success?: string | null | undefined; image_logo?: { __typename?: "Image" | undefined; id: string; name: string; color: string; data: string; access: import("@duely/core").AccessLevel; } | null | undefined; image_hero?: { __typename?: "Image" | undefined; id: string; name: string; color: string; data: string; access: import("@duely/core").AccessLevel; } | null | undefined; }; }; } | undefined; }; export declare const theme_Q: { query: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "Theme" | undefined; id: string; color_primary?: string | null | undefined; color_secondary?: string | null | undefined; color_accent?: string | null | undefined; color_background?: string | null | undefined; color_surface?: string | null | undefined; color_error?: string | null | undefined; color_success?: string | null | undefined; image_logo?: { __typename?: "Image" | undefined; id: string; name: string; color: string; data: string; access: import("@duely/core").AccessLevel; } | null | undefined; image_hero?: { __typename?: "Image" | undefined; id: string; name: string; color: string; data: string; access: import("@duely/core").AccessLevel; } | null | undefined; } | null | undefined; }; declare const themes_R: (d: ResultOf) => { __typename?: "Theme" | undefined; id: string; color_primary?: string | null | undefined; color_secondary?: string | null | undefined; color_accent?: string | null | undefined; color_background?: string | null | undefined; color_surface?: string | null | undefined; color_error?: string | null | undefined; color_success?: string | null | undefined; image_logo?: { __typename?: "Image" | undefined; id: string; name: string; color: string; data: string; access: import("@duely/core").AccessLevel; } | null | undefined; image_hero?: { __typename?: "Image" | undefined; id: string; name: string; color: string; data: string; access: import("@duely/core").AccessLevel; } | null | undefined; }[] | null | undefined; export declare const themes_Q: { query: TypedDocumentNode | undefined; desc?: import("@duely/core").InputMaybe | undefined; order_by?: import("@duely/core").InputMaybe | undefined; limit?: import("@duely/core").InputMaybe | undefined; offset?: import("@duely/core").InputMaybe | undefined; before_id?: import("@duely/core").InputMaybe | undefined; after_id?: import("@duely/core").InputMaybe | undefined; }>>; result: (d: ResultOf) => { __typename?: "Theme" | undefined; id: string; color_primary?: string | null | undefined; color_secondary?: string | null | undefined; color_accent?: string | null | undefined; color_background?: string | null | undefined; color_surface?: string | null | undefined; color_error?: string | null | undefined; color_success?: string | null | undefined; image_logo?: { __typename?: "Image" | undefined; id: string; name: string; color: string; data: string; access: import("@duely/core").AccessLevel; } | null | undefined; image_hero?: { __typename?: "Image" | undefined; id: string; name: string; color: string; data: string; access: import("@duely/core").AccessLevel; } | null | undefined; }[] | null | undefined; after(cache: ApolloCache, themes: ReturnType | null): Promise; }; export declare const product_Q: { query: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "Product" | undefined; id: string; name: string; url_name: string; description?: string | null | undefined; duration?: string | null | undefined; status: string; active: boolean; default_price?: { __typename?: "Price" | undefined; id: string; name: string; unit_amount: number; currency: string; status: string; active: boolean; type: string; recurring_interval?: string | null | undefined; recurring_interval_count?: number | null | undefined; } | null | undefined; prices?: { __typename?: "Price" | undefined; id: string; name: string; unit_amount: number; currency: string; status: string; active: boolean; type: string; recurring_interval?: string | null | undefined; recurring_interval_count?: number | null | undefined; }[] | null | undefined; image_logo?: { __typename?: "Image" | undefined; id: string; } | null | undefined; image_hero?: { __typename?: "Image" | undefined; id: string; } | null | undefined; markdown_description?: { __typename?: "Markdown" | undefined; id: string; name: string; data: string; } | null | undefined; agency: { __typename?: "Agency" | undefined; id: string; }; integrations?: { __typename?: "Integration" | undefined; id: string; }[] | null | undefined; } | null | undefined; }; declare const products_R: (d: ResultOf) => { __typename?: "Product" | undefined; id: string; name: string; url_name: string; description?: string | null | undefined; duration?: string | null | undefined; status: string; active: boolean; default_price?: { __typename?: "Price" | undefined; id: string; name: string; unit_amount: number; currency: string; status: string; active: boolean; type: string; recurring_interval?: string | null | undefined; recurring_interval_count?: number | null | undefined; } | null | undefined; prices?: { __typename?: "Price" | undefined; id: string; name: string; unit_amount: number; currency: string; status: string; active: boolean; type: string; recurring_interval?: string | null | undefined; recurring_interval_count?: number | null | undefined; }[] | null | undefined; image_logo?: { __typename?: "Image" | undefined; id: string; } | null | undefined; image_hero?: { __typename?: "Image" | undefined; id: string; } | null | undefined; markdown_description?: { __typename?: "Markdown" | undefined; id: string; name: string; data: string; } | null | undefined; agency: { __typename?: "Agency" | undefined; id: string; }; integrations?: { __typename?: "Integration" | undefined; id: string; }[] | null | undefined; }[] | null | undefined; export declare const products_Q: { query: TypedDocumentNode | undefined; desc?: import("@duely/core").InputMaybe | undefined; order_by?: import("@duely/core").InputMaybe | undefined; limit?: import("@duely/core").InputMaybe | undefined; offset?: import("@duely/core").InputMaybe | undefined; before_id?: import("@duely/core").InputMaybe | undefined; after_id?: import("@duely/core").InputMaybe | undefined; }>>; result: (d: ResultOf) => { __typename?: "Product" | undefined; id: string; name: string; url_name: string; description?: string | null | undefined; duration?: string | null | undefined; status: string; active: boolean; default_price?: { __typename?: "Price" | undefined; id: string; name: string; unit_amount: number; currency: string; status: string; active: boolean; type: string; recurring_interval?: string | null | undefined; recurring_interval_count?: number | null | undefined; } | null | undefined; prices?: { __typename?: "Price" | undefined; id: string; name: string; unit_amount: number; currency: string; status: string; active: boolean; type: string; recurring_interval?: string | null | undefined; recurring_interval_count?: number | null | undefined; }[] | null | undefined; image_logo?: { __typename?: "Image" | undefined; id: string; } | null | undefined; image_hero?: { __typename?: "Image" | undefined; id: string; } | null | undefined; markdown_description?: { __typename?: "Markdown" | undefined; id: string; name: string; data: string; } | null | undefined; agency: { __typename?: "Agency" | undefined; id: string; }; integrations?: { __typename?: "Integration" | undefined; id: string; }[] | null | undefined; }[] | null | undefined; after(cache: ApolloCache, products: ReturnType | null): Promise; }; export declare const count_products_Q: { query: TypedDocumentNode | undefined; }>>; result: (d: ResultOf) => number; }; export declare const form_field_Q: { query: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "FormField" | undefined; id: string; name: string; label: string; type: string; hint?: string | null | undefined; prefix?: string | null | undefined; suffix?: string | null | undefined; required: boolean; default?: any; } | null | undefined; }; declare const form_fields_R: (d: ResultOf) => { __typename?: "FormField" | undefined; id: string; name: string; label: string; type: string; hint?: string | null | undefined; prefix?: string | null | undefined; suffix?: string | null | undefined; required: boolean; default?: any; }[] | null | undefined; export declare const form_fields_Q: { query: TypedDocumentNode | undefined; desc?: import("@duely/core").InputMaybe | undefined; order_by?: import("@duely/core").InputMaybe | undefined; limit?: import("@duely/core").InputMaybe | undefined; offset?: import("@duely/core").InputMaybe | undefined; before_id?: import("@duely/core").InputMaybe | undefined; after_id?: import("@duely/core").InputMaybe | undefined; }>>; result: (d: ResultOf) => { __typename?: "FormField" | undefined; id: string; name: string; label: string; type: string; hint?: string | null | undefined; prefix?: string | null | undefined; suffix?: string | null | undefined; required: boolean; default?: any; }[] | null | undefined; after(cache: ApolloCache, form_fields: ReturnType | null): Promise; }; export declare const credential_Q: { query: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "Credential" | undefined; id: string; data: any; agency: { __typename?: "Agency" | undefined; id: string; }; credential_type: { __typename?: "CredentialType" | undefined; id: string; name: string; fields?: { __typename?: "FormField" | undefined; id: string; name: string; label: string; type: string; hint?: string | null | undefined; prefix?: string | null | undefined; suffix?: string | null | undefined; required: boolean; default?: any; }[] | null | undefined; }; } | null | undefined; }; declare const credentials_R: (d: ResultOf) => { __typename?: "Credential" | undefined; id: string; data: any; agency: { __typename?: "Agency" | undefined; id: string; }; credential_type: { __typename?: "CredentialType" | undefined; id: string; name: string; fields?: { __typename?: "FormField" | undefined; id: string; name: string; label: string; type: string; hint?: string | null | undefined; prefix?: string | null | undefined; suffix?: string | null | undefined; required: boolean; default?: any; }[] | null | undefined; }; }[] | null | undefined; export declare const credentials_Q: { query: TypedDocumentNode | undefined; desc?: import("@duely/core").InputMaybe | undefined; order_by?: import("@duely/core").InputMaybe | undefined; limit?: import("@duely/core").InputMaybe | undefined; offset?: import("@duely/core").InputMaybe | undefined; before_id?: import("@duely/core").InputMaybe | undefined; after_id?: import("@duely/core").InputMaybe | undefined; }>>; result: (d: ResultOf) => { __typename?: "Credential" | undefined; id: string; data: any; agency: { __typename?: "Agency" | undefined; id: string; }; credential_type: { __typename?: "CredentialType" | undefined; id: string; name: string; fields?: { __typename?: "FormField" | undefined; id: string; name: string; label: string; type: string; hint?: string | null | undefined; prefix?: string | null | undefined; suffix?: string | null | undefined; required: boolean; default?: any; }[] | null | undefined; }; }[] | null | undefined; after(cache: ApolloCache, credentials: ReturnType | null): Promise; }; export declare const credential_type_Q: { query: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "CredentialType" | undefined; id: string; name: string; fields?: { __typename?: "FormField" | undefined; id: string; name: string; label: string; type: string; hint?: string | null | undefined; prefix?: string | null | undefined; suffix?: string | null | undefined; required: boolean; default?: any; }[] | null | undefined; } | null | undefined; }; declare const credential_types_R: (d: ResultOf) => { __typename?: "CredentialType" | undefined; id: string; name: string; fields?: { __typename?: "FormField" | undefined; id: string; name: string; label: string; type: string; hint?: string | null | undefined; prefix?: string | null | undefined; suffix?: string | null | undefined; required: boolean; default?: any; }[] | null | undefined; }[] | null | undefined; export declare const credential_types_Q: { query: TypedDocumentNode | undefined; desc?: import("@duely/core").InputMaybe | undefined; order_by?: import("@duely/core").InputMaybe | undefined; limit?: import("@duely/core").InputMaybe | undefined; offset?: import("@duely/core").InputMaybe | undefined; before_id?: import("@duely/core").InputMaybe | undefined; after_id?: import("@duely/core").InputMaybe | undefined; }>>; result: (d: ResultOf) => { __typename?: "CredentialType" | undefined; id: string; name: string; fields?: { __typename?: "FormField" | undefined; id: string; name: string; label: string; type: string; hint?: string | null | undefined; prefix?: string | null | undefined; suffix?: string | null | undefined; required: boolean; default?: any; }[] | null | undefined; }[] | null | undefined; after(cache: ApolloCache, credential_types: ReturnType | null): Promise; }; export declare const integration_Q: { query: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "Integration" | undefined; id: string; data: any; agency: { __typename?: "Agency" | undefined; id: string; }; credential?: { __typename?: "Credential" | undefined; id: string; } | null | undefined; product?: { __typename?: "Product" | undefined; id: string; } | null | undefined; integration_type: { __typename?: "IntegrationType" | undefined; id: string; }; integration_config?: { __typename?: "IntegrationConfig" | undefined; id: string; } | null | undefined; } | null | undefined; }; declare const integrations_R: (d: ResultOf) => { __typename?: "Integration" | undefined; id: string; data: any; agency: { __typename?: "Agency" | undefined; id: string; }; credential?: { __typename?: "Credential" | undefined; id: string; } | null | undefined; product?: { __typename?: "Product" | undefined; id: string; } | null | undefined; integration_type: { __typename?: "IntegrationType" | undefined; id: string; }; integration_config?: { __typename?: "IntegrationConfig" | undefined; id: string; } | null | undefined; }[] | null | undefined; export declare const integrations_Q: { query: TypedDocumentNode | undefined; desc?: import("@duely/core").InputMaybe | undefined; order_by?: import("@duely/core").InputMaybe | undefined; limit?: import("@duely/core").InputMaybe | undefined; offset?: import("@duely/core").InputMaybe | undefined; before_id?: import("@duely/core").InputMaybe | undefined; after_id?: import("@duely/core").InputMaybe | undefined; }>>; result: (d: ResultOf) => { __typename?: "Integration" | undefined; id: string; data: any; agency: { __typename?: "Agency" | undefined; id: string; }; credential?: { __typename?: "Credential" | undefined; id: string; } | null | undefined; product?: { __typename?: "Product" | undefined; id: string; } | null | undefined; integration_type: { __typename?: "IntegrationType" | undefined; id: string; }; integration_config?: { __typename?: "IntegrationConfig" | undefined; id: string; } | null | undefined; }[] | null | undefined; after(cache: ApolloCache, integrations: ReturnType | null): Promise; }; export declare const integration_config_Q: { query: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "IntegrationConfig" | undefined; id: string; name: string; data: any; agency: { __typename?: "Agency" | undefined; id: string; }; credential?: { __typename?: "Credential" | undefined; id: string; } | null | undefined; integration_type: { __typename?: "IntegrationType" | undefined; id: string; }; } | null | undefined; }; declare const integration_configs_R: (d: ResultOf) => { __typename?: "IntegrationConfig" | undefined; id: string; name: string; data: any; agency: { __typename?: "Agency" | undefined; id: string; }; credential?: { __typename?: "Credential" | undefined; id: string; } | null | undefined; integration_type: { __typename?: "IntegrationType" | undefined; id: string; }; }[] | null | undefined; export declare const integration_configs_Q: { query: TypedDocumentNode | undefined; desc?: import("@duely/core").InputMaybe | undefined; order_by?: import("@duely/core").InputMaybe | undefined; limit?: import("@duely/core").InputMaybe | undefined; offset?: import("@duely/core").InputMaybe | undefined; before_id?: import("@duely/core").InputMaybe | undefined; after_id?: import("@duely/core").InputMaybe | undefined; }>>; result: (d: ResultOf) => { __typename?: "IntegrationConfig" | undefined; id: string; name: string; data: any; agency: { __typename?: "Agency" | undefined; id: string; }; credential?: { __typename?: "Credential" | undefined; id: string; } | null | undefined; integration_type: { __typename?: "IntegrationType" | undefined; id: string; }; }[] | null | undefined; after(cache: ApolloCache, integration_configs: ReturnType | null): Promise; }; export declare const integration_type_Q: { query: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "IntegrationType" | undefined; id: string; name: string; title: string; status: string; automatic_order_management: boolean; fields?: { __typename?: "FormField" | undefined; id: string; name: string; label: string; type: string; hint?: string | null | undefined; prefix?: string | null | undefined; suffix?: string | null | undefined; required: boolean; default?: any; }[] | null | undefined; config_fields?: { __typename?: "FormField" | undefined; id: string; name: string; label: string; type: string; hint?: string | null | undefined; prefix?: string | null | undefined; suffix?: string | null | undefined; required: boolean; default?: any; }[] | null | undefined; credential_type?: { __typename?: "CredentialType" | undefined; id: string; name: string; fields?: { __typename?: "FormField" | undefined; id: string; name: string; label: string; type: string; hint?: string | null | undefined; prefix?: string | null | undefined; suffix?: string | null | undefined; required: boolean; default?: any; }[] | null | undefined; } | null | undefined; } | null | undefined; }; declare const integration_types_R: (d: ResultOf) => { __typename?: "IntegrationType" | undefined; id: string; name: string; title: string; status: string; automatic_order_management: boolean; fields?: { __typename?: "FormField" | undefined; id: string; name: string; label: string; type: string; hint?: string | null | undefined; prefix?: string | null | undefined; suffix?: string | null | undefined; required: boolean; default?: any; }[] | null | undefined; config_fields?: { __typename?: "FormField" | undefined; id: string; name: string; label: string; type: string; hint?: string | null | undefined; prefix?: string | null | undefined; suffix?: string | null | undefined; required: boolean; default?: any; }[] | null | undefined; credential_type?: { __typename?: "CredentialType" | undefined; id: string; name: string; fields?: { __typename?: "FormField" | undefined; id: string; name: string; label: string; type: string; hint?: string | null | undefined; prefix?: string | null | undefined; suffix?: string | null | undefined; required: boolean; default?: any; }[] | null | undefined; } | null | undefined; }[] | null | undefined; export declare const integration_types_Q: { query: TypedDocumentNode | undefined; desc?: import("@duely/core").InputMaybe | undefined; order_by?: import("@duely/core").InputMaybe | undefined; limit?: import("@duely/core").InputMaybe | undefined; offset?: import("@duely/core").InputMaybe | undefined; before_id?: import("@duely/core").InputMaybe | undefined; after_id?: import("@duely/core").InputMaybe | undefined; }>>; result: (d: ResultOf) => { __typename?: "IntegrationType" | undefined; id: string; name: string; title: string; status: string; automatic_order_management: boolean; fields?: { __typename?: "FormField" | undefined; id: string; name: string; label: string; type: string; hint?: string | null | undefined; prefix?: string | null | undefined; suffix?: string | null | undefined; required: boolean; default?: any; }[] | null | undefined; config_fields?: { __typename?: "FormField" | undefined; id: string; name: string; label: string; type: string; hint?: string | null | undefined; prefix?: string | null | undefined; suffix?: string | null | undefined; required: boolean; default?: any; }[] | null | undefined; credential_type?: { __typename?: "CredentialType" | undefined; id: string; name: string; fields?: { __typename?: "FormField" | undefined; id: string; name: string; label: string; type: string; hint?: string | null | undefined; prefix?: string | null | undefined; suffix?: string | null | undefined; required: boolean; default?: any; }[] | null | undefined; } | null | undefined; }[] | null | undefined; after(cache: ApolloCache, integration_types: ReturnType | null): Promise; }; export declare const order_details_Q: { query: TypedDocumentNode | undefined; }>>; result: (d: ResultOf) => { __typename?: "Order" | undefined; id: string; state: string; error?: string | null | undefined; ordered_at: any; processed_at?: any; items: { __typename?: "OrderItem" | undefined; id: string; state: string; stripe_line_item_id_ext: string; error?: string | null | undefined; processed_at?: any; order: { __typename?: "Order" | undefined; id: string; }; price: { __typename?: "Price" | undefined; id: string; name: string; unit_amount: number; currency: string; status: string; active: boolean; type: string; recurring_interval?: string | null | undefined; recurring_interval_count?: number | null | undefined; product: { __typename?: "Product" | undefined; id: string; name: string; url_name: string; description?: string | null | undefined; duration?: string | null | undefined; status: string; active: boolean; default_price?: { __typename?: "Price" | undefined; id: string; name: string; unit_amount: number; currency: string; status: string; active: boolean; type: string; recurring_interval?: string | null | undefined; recurring_interval_count?: number | null | undefined; } | null | undefined; prices?: { __typename?: "Price" | undefined; id: string; name: string; unit_amount: number; currency: string; status: string; active: boolean; type: string; recurring_interval?: string | null | undefined; recurring_interval_count?: number | null | undefined; }[] | null | undefined; image_logo?: { __typename?: "Image" | undefined; id: string; } | null | undefined; image_hero?: { __typename?: "Image" | undefined; id: string; } | null | undefined; markdown_description?: { __typename?: "Markdown" | undefined; id: string; name: string; data: string; } | null | undefined; agency: { __typename?: "Agency" | undefined; id: string; }; integrations?: { __typename?: "Integration" | undefined; id: string; }[] | null | undefined; }; }; }[]; customer: { __typename?: "Customer" | undefined; id: string; name?: string | null | undefined; email_address: string; }; stripe_checkout_session: { __typename?: "StripeCheckoutSession" | undefined; id: string; allow_promotion_codes?: boolean | null | undefined; amount_subtotal?: number | null | undefined; amount_total?: number | null | undefined; billing_address_collection?: string | null | undefined; cancel_url?: string | null | undefined; client_reference_id?: string | null | undefined; currency?: string | null | undefined; customer_email?: string | null | undefined; expires_at?: any; livemode?: boolean | null | undefined; locale?: string | null | undefined; mode?: string | null | undefined; payment_method_types?: (string | null)[] | null | undefined; payment_status?: string | null | undefined; status?: string | null | undefined; submit_type?: string | null | undefined; success_url: string; url?: string | null | undefined; payment_intent?: { __typename?: "PaymentIntent" | undefined; id: string; amount: number; amount_capturable?: number | null | undefined; amount_received?: number | null | undefined; application_fee_amount?: number | null | undefined; canceled_at?: any; cancellation_reason?: string | null | undefined; capture_method?: string | null | undefined; confirmation_method?: string | null | undefined; created?: any; currency?: string | null | undefined; description?: string | null | undefined; invoice?: string | null | undefined; on_behalf_of?: string | null | undefined; payment_method?: string | null | undefined; payment_method_types?: (string | null)[] | null | undefined; receipt_email?: string | null | undefined; setup_future_usage?: string | null | undefined; statement_descriptor?: string | null | undefined; statement_descriptor_suffix?: string | null | undefined; status?: string | null | undefined; transfer_group?: string | null | undefined; charges?: ({ __typename?: "Charge" | undefined; id: string; amount: number; amount_capturable?: number | null | undefined; amount_received?: number | null | undefined; application_fee_amount?: number | null | undefined; authorization_code?: string | null | undefined; calculated_statement_descriptor?: string | null | undefined; captured?: boolean | null | undefined; created?: any; currency?: string | null | undefined; description?: string | null | undefined; disputed?: boolean | null | undefined; failure_code?: string | null | undefined; failure_message?: string | null | undefined; invoice?: string | null | undefined; order?: string | null | undefined; paid?: boolean | null | undefined; payment_method?: string | null | undefined; receipt_email?: string | null | undefined; receipt_number?: string | null | undefined; receipt_url?: string | null | undefined; refunded?: boolean | null | undefined; source_transfer?: string | null | undefined; statement_descriptor?: string | null | undefined; statement_descriptor_suffix?: string | null | undefined; status?: string | null | undefined; transfer?: string | null | undefined; transfer_group?: string | null | undefined; balance_transaction?: { __typename?: "BalanceTransaction" | undefined; id: string; amount: number; available_on: any; created: any; exchange_rate?: number | null | undefined; currency: string; description?: string | null | undefined; fee: number; net: number; status: string; reporting_category: string; type: string; source: string; fee_details?: { __typename?: "BalanceTransactionFeeDetails" | undefined; amount: number; application?: string | null | undefined; currency: string; description?: string | null | undefined; type: string; }[] | null | undefined; } | null | undefined; billing_details?: { __typename?: "BillingDetails" | undefined; email?: string | null | undefined; name?: string | null | undefined; phone?: string | null | undefined; address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; } | null | undefined; customer?: { __typename?: "StripeCustomer" | undefined; id: string; } | null | undefined; fraud_details?: { __typename?: "FraudDetails" | undefined; stripe_report?: string | null | undefined; user_report?: string | null | undefined; } | null | undefined; outcome?: { __typename?: "Outcome" | undefined; network_status?: string | null | undefined; reason?: string | null | undefined; risk_level?: string | null | undefined; risk_score?: number | null | undefined; seller_message?: string | null | undefined; type?: string | null | undefined; rule?: { __typename?: "OutcomeRule" | undefined; action?: string | null | undefined; id?: string | null | undefined; predicate?: string | null | undefined; } | null | undefined; } | null | undefined; payment_intent?: { __typename?: "PaymentIntent" | undefined; id: string; } | null | undefined; } | null)[] | null | undefined; customer?: { __typename?: "StripeCustomer" | undefined; id: string; balance?: number | null | undefined; created?: any; currency?: string | null | undefined; delinquent?: boolean | null | undefined; description?: string | null | undefined; email?: string | null | undefined; invoice_prefix?: string | null | undefined; name?: string | null | undefined; next_invoice_sequence?: number | null | undefined; phone?: string | null | undefined; preferred_locales?: (string | null)[] | null | undefined; address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; customer?: { __typename?: "Customer" | undefined; id: string; } | null | undefined; } | null | undefined; shipping?: { __typename?: "Shipping" | undefined; carrier?: string | null | undefined; name?: string | null | undefined; phone?: string | null | undefined; tracking_number?: string | null | undefined; address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; } | null | undefined; } | null | undefined; subscription?: { __typename?: "StripeSubscription" | undefined; id: string; application_fee_percent?: number | null | undefined; billing_cycle_anchor: any; cancel_at?: any; cancel_at_period_end: boolean; canceled_at?: any; collection_method: string; created: any; current_period_end: any; current_period_start: any; days_until_due?: number | null | undefined; ended_at?: any; livemode: boolean; next_pending_invoice_item_invoice?: any; pending_invoice_item_interval?: string | null | undefined; start_date: any; status: string; trial_end?: any; trial_start?: any; latest_invoice?: { __typename?: "Invoice" | undefined; id: string; account_country?: string | null | undefined; account_name?: string | null | undefined; account_tax_ids?: string[] | null | undefined; amount_due: number; amount_paid: number; amount_remaining: number; application_fee_amount?: number | null | undefined; attempt_count: number; attempted: boolean; auto_advance?: boolean | null | undefined; billing_reason?: string | null | undefined; collection_method?: string | null | undefined; created: any; currency: string; customer_email?: string | null | undefined; customer_name?: string | null | undefined; customer_phone?: string | null | undefined; customer_tax_exempt?: string | null | undefined; default_payment_method?: string | null | undefined; description?: string | null | undefined; due_date?: any; ending_balance?: number | null | undefined; footer?: string | null | undefined; hosted_invoice_url?: string | null | undefined; invoice_pdf?: string | null | undefined; livemode: boolean; next_payment_attempt?: any; number?: string | null | undefined; paid: boolean; period_end: any; period_start: any; post_payment_credit_notes_amount: number; pre_payment_credit_notes_amount: number; receipt_number?: string | null | undefined; starting_balance?: number | null | undefined; statement_descriptor?: string | null | undefined; status?: string | null | undefined; subscription_proration_date?: any; subtotal: number; tax?: number | null | undefined; total: number; webhooks_delivered_at?: any; automatic_tax: { __typename?: "InvoiceAutomaticTax" | undefined; enabled: boolean; status?: string | null | undefined; }; charge?: { __typename?: "Charge" | undefined; id: string; } | null | undefined; custom_fields?: { __typename?: "InvoiceCustomField" | undefined; name: string; value: string; }[] | null | undefined; customer?: { __typename?: "StripeCustomer" | undefined; id: string; } | null | undefined; customer_address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; customer_shipping?: { __typename?: "InvoiceCustomerShipping" | undefined; carrier?: string | null | undefined; name?: string | null | undefined; phone?: string | null | undefined; tracking_number?: string | null | undefined; address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; } | null | undefined; customer_tax_ids?: { __typename?: "CustomerTaxId" | undefined; type?: string | null | undefined; value?: string | null | undefined; }[] | null | undefined; discount?: { __typename?: "Discount" | undefined; id: string; checkout_session?: string | null | undefined; end?: any; invoice_item?: string | null | undefined; promotion_code?: string | null | undefined; start: any; subscription?: string | null | undefined; coupon?: { __typename?: "Coupon" | undefined; id: string; } | null | undefined; customer?: { __typename?: "StripeCustomer" | undefined; id: string; } | null | undefined; invoice?: { __typename?: "Invoice" | undefined; id: string; } | null | undefined; } | null | undefined; discounts?: { __typename?: "Discount" | undefined; id: string; checkout_session?: string | null | undefined; end?: any; invoice_item?: string | null | undefined; promotion_code?: string | null | undefined; start: any; subscription?: string | null | undefined; coupon?: { __typename?: "Coupon" | undefined; id: string; } | null | undefined; customer?: { __typename?: "StripeCustomer" | undefined; id: string; } | null | undefined; invoice?: { __typename?: "Invoice" | undefined; id: string; } | null | undefined; }[] | null | undefined; payment_intent?: { __typename?: "PaymentIntent" | undefined; id: string; } | null | undefined; status_transitions?: { __typename?: "InvoiceStatusTransitions" | undefined; finalized_at?: any; marked_uncollectible_at?: any; paid_at?: any; voided_at?: any; } | null | undefined; } | null | undefined; automatic_tax: { __typename?: "SubscriptionAutomaticTax" | undefined; enabled: boolean; }; billing_thresholds?: { __typename?: "SubscriptionBillingThresholds" | undefined; amount_gte?: number | null | undefined; reset_billing_cycle_anchor?: boolean | null | undefined; } | null | undefined; customer?: { __typename?: "StripeCustomer" | undefined; id: string; } | null | undefined; discount?: { __typename?: "Discount" | undefined; id: string; } | null | undefined; items: { __typename?: "SubscriptionItem" | undefined; id: string; created: any; quantity?: number | null | undefined; billing_thresholds?: { __typename?: "SubscriptionItemBillingThresholds" | undefined; usage_gte?: number | null | undefined; } | null | undefined; price?: { __typename?: "StripePrice" | undefined; id: string; active: boolean; billing_scheme: string; created?: any; currency: string; livemode: boolean; lookup_key?: string | null | undefined; nickname?: string | null | undefined; tax_behavior?: string | null | undefined; tiers_mode?: string | null | undefined; type: string; unit_amount?: number | null | undefined; unit_amount_decimal?: string | null | undefined; product?: { __typename?: "StripeProduct" | undefined; id: string; active: boolean; attributes?: string[] | null | undefined; caption?: string | null | undefined; created: any; deactivate_on?: string[] | null | undefined; description?: string | null | undefined; images: string[]; livemode: boolean; name: string; shippable?: boolean | null | undefined; statement_descriptor?: string | null | undefined; tax_code?: string | null | undefined; type: string; unit_label?: string | null | undefined; updated: any; url?: string | null | undefined; package_dimensions?: { __typename?: "StripeProductPackageDimensions" | undefined; height: number; length: number; weight: number; width: number; } | null | undefined; } | null | undefined; recurring?: { __typename?: "StripePriceRecurring" | undefined; aggregate_usage?: string | null | undefined; interval: string; interval_count: number; trial_period_days?: number | null | undefined; usage_type?: string | null | undefined; } | null | undefined; tiers?: { __typename?: "StripePriceTier" | undefined; flat_amount?: number | null | undefined; flat_amount_decimal?: string | null | undefined; unit_amount?: number | null | undefined; unit_amount_decimal?: string | null | undefined; up_to?: number | null | undefined; }[] | null | undefined; transform_quantity?: { __typename?: "StripePriceTransformQuantity" | undefined; divide_by?: number | null | undefined; round?: string | null | undefined; } | null | undefined; } | null | undefined; subscription: { __typename?: "StripeSubscription" | undefined; id: string; }; }[]; pause_collection?: { __typename?: "SubscriptionPauseCollection" | undefined; behavior: string; } | null | undefined; payment_settings?: { __typename?: "SubscriptionPaymentSettings" | undefined; payment_method_types?: string[] | null | undefined; payment_method_options?: { __typename?: "SubscriptionPaymentMethodOptions" | undefined; acss_debit?: { __typename?: "SubscriptionAcssDebit" | undefined; verification_method?: string | null | undefined; mandate_options?: { __typename?: "SubscriptionAcssDebitMandateOptions" | undefined; transaction_type?: string | null | undefined; } | null | undefined; } | null | undefined; card?: { __typename?: "SubscriptionCard" | undefined; request_three_d_secure?: string | null | undefined; } | null | undefined; bancontact?: { __typename?: "SubscriptionBancontact" | undefined; preferred_language: string; } | null | undefined; } | null | undefined; } | null | undefined; pending_update?: { __typename?: "SubscriptionPendingUpdate" | undefined; billing_cycle_anchor?: number | null | undefined; trial_end?: number | null | undefined; expires_at: number; trial_from_plan?: boolean | null | undefined; } | null | undefined; } | null | undefined; after_expiration?: { __typename?: "SessionAfterExpiration" | undefined; recovery?: { __typename?: "SessionAfterExpirationRecovery" | undefined; allow_promotion_codes?: boolean | null | undefined; expires_at?: any; url?: string | null | undefined; } | null | undefined; } | null | undefined; automatic_tax?: { __typename?: "SessionAutomaticTax" | undefined; enabled: boolean; status?: string | null | undefined; } | null | undefined; consent?: { __typename?: "SessionConsent" | undefined; promotions?: string | null | undefined; } | null | undefined; consent_collection?: { __typename?: "SessionConsentCollection" | undefined; promotions?: string | null | undefined; } | null | undefined; customer?: { __typename?: "StripeCustomer" | undefined; id: string; } | null | undefined; customer_details?: { __typename?: "SessionCustomerDetails" | undefined; email?: string | null | undefined; phone?: string | null | undefined; tax_exempt?: string | null | undefined; tax_ids?: ({ __typename?: "SessionCustomerDetailsTaxId" | undefined; type: string; value?: string | null | undefined; } | null)[] | null | undefined; } | null | undefined; line_items: { __typename?: "LineItem" | undefined; id: string; amount_subtotal: number; amount_total: number; currency: string; description: string; quantity?: number | null | undefined; price?: { __typename?: "StripePrice" | undefined; id: string; active: boolean; billing_scheme: string; created?: any; currency: string; livemode: boolean; lookup_key?: string | null | undefined; nickname?: string | null | undefined; tax_behavior?: string | null | undefined; tiers_mode?: string | null | undefined; type: string; unit_amount?: number | null | undefined; unit_amount_decimal?: string | null | undefined; product?: { __typename?: "StripeProduct" | undefined; id: string; active: boolean; attributes?: string[] | null | undefined; caption?: string | null | undefined; created: any; deactivate_on?: string[] | null | undefined; description?: string | null | undefined; images: string[]; livemode: boolean; name: string; shippable?: boolean | null | undefined; statement_descriptor?: string | null | undefined; tax_code?: string | null | undefined; type: string; unit_label?: string | null | undefined; updated: any; url?: string | null | undefined; package_dimensions?: { __typename?: "StripeProductPackageDimensions" | undefined; height: number; length: number; weight: number; width: number; } | null | undefined; } | null | undefined; recurring?: { __typename?: "StripePriceRecurring" | undefined; aggregate_usage?: string | null | undefined; interval: string; interval_count: number; trial_period_days?: number | null | undefined; usage_type?: string | null | undefined; } | null | undefined; tiers?: { __typename?: "StripePriceTier" | undefined; flat_amount?: number | null | undefined; flat_amount_decimal?: string | null | undefined; unit_amount?: number | null | undefined; unit_amount_decimal?: string | null | undefined; up_to?: number | null | undefined; }[] | null | undefined; transform_quantity?: { __typename?: "StripePriceTransformQuantity" | undefined; divide_by?: number | null | undefined; round?: string | null | undefined; } | null | undefined; } | null | undefined; }[]; phone_number_collection?: { __typename?: "SessionPhoneNumberCollection" | undefined; enabled?: boolean | null | undefined; } | null | undefined; shipping?: { __typename?: "Shipping" | undefined; carrier?: string | null | undefined; name?: string | null | undefined; phone?: string | null | undefined; tracking_number?: string | null | undefined; address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; } | null | undefined; shipping_address_collection?: { __typename?: "SessionShippingAddressCollection" | undefined; allowed_countries: string[]; } | null | undefined; shipping_options: { __typename?: "SessionShippingOption" | undefined; shipping_amount: number; }[]; tax_id_collection?: { __typename?: "SessionTaxIdCollection" | undefined; enabled?: boolean | null | undefined; } | null | undefined; total_details?: { __typename?: "SessionTotalDetails" | undefined; amount_discount: number; amount_shipping?: number | null | undefined; amount_tax: number; breakdown?: { __typename?: "SessionTotalDetailsBreakdown" | undefined; discounts: { __typename?: "SessionTotalDetailsBreakdownDiscount" | undefined; amount: number; }[]; taxes: { __typename?: "SessionTotalDetailsBreakdownTax" | undefined; amount: number; }[]; } | null | undefined; } | null | undefined; }; } | null | undefined; }; export declare const order_Q: { query: TypedDocumentNode | undefined; }>>; result: (d: ResultOf) => { __typename?: "Order" | undefined; id: string; state: string; error?: string | null | undefined; ordered_at: any; processed_at?: any; items: { __typename?: "OrderItem" | undefined; id: string; state: string; stripe_line_item_id_ext: string; error?: string | null | undefined; processed_at?: any; order: { __typename?: "Order" | undefined; id: string; }; price: { __typename?: "Price" | undefined; id: string; name: string; unit_amount: number; currency: string; status: string; active: boolean; type: string; recurring_interval?: string | null | undefined; recurring_interval_count?: number | null | undefined; product: { __typename?: "Product" | undefined; id: string; name: string; url_name: string; description?: string | null | undefined; duration?: string | null | undefined; status: string; active: boolean; default_price?: { __typename?: "Price" | undefined; id: string; name: string; unit_amount: number; currency: string; status: string; active: boolean; type: string; recurring_interval?: string | null | undefined; recurring_interval_count?: number | null | undefined; } | null | undefined; prices?: { __typename?: "Price" | undefined; id: string; name: string; unit_amount: number; currency: string; status: string; active: boolean; type: string; recurring_interval?: string | null | undefined; recurring_interval_count?: number | null | undefined; }[] | null | undefined; image_logo?: { __typename?: "Image" | undefined; id: string; } | null | undefined; image_hero?: { __typename?: "Image" | undefined; id: string; } | null | undefined; markdown_description?: { __typename?: "Markdown" | undefined; id: string; name: string; data: string; } | null | undefined; agency: { __typename?: "Agency" | undefined; id: string; }; integrations?: { __typename?: "Integration" | undefined; id: string; }[] | null | undefined; }; }; }[]; customer: { __typename?: "Customer" | undefined; id: string; name?: string | null | undefined; email_address: string; }; stripe_checkout_session: { __typename?: "StripeCheckoutSession" | undefined; id: string; allow_promotion_codes?: boolean | null | undefined; amount_subtotal?: number | null | undefined; amount_total?: number | null | undefined; billing_address_collection?: string | null | undefined; cancel_url?: string | null | undefined; client_reference_id?: string | null | undefined; currency?: string | null | undefined; customer_email?: string | null | undefined; expires_at?: any; livemode?: boolean | null | undefined; locale?: string | null | undefined; mode?: string | null | undefined; payment_method_types?: (string | null)[] | null | undefined; payment_status?: string | null | undefined; status?: string | null | undefined; submit_type?: string | null | undefined; success_url: string; url?: string | null | undefined; after_expiration?: { __typename?: "SessionAfterExpiration" | undefined; recovery?: { __typename?: "SessionAfterExpirationRecovery" | undefined; allow_promotion_codes?: boolean | null | undefined; expires_at?: any; url?: string | null | undefined; } | null | undefined; } | null | undefined; automatic_tax?: { __typename?: "SessionAutomaticTax" | undefined; enabled: boolean; status?: string | null | undefined; } | null | undefined; consent?: { __typename?: "SessionConsent" | undefined; promotions?: string | null | undefined; } | null | undefined; consent_collection?: { __typename?: "SessionConsentCollection" | undefined; promotions?: string | null | undefined; } | null | undefined; customer?: { __typename?: "StripeCustomer" | undefined; id: string; } | null | undefined; customer_details?: { __typename?: "SessionCustomerDetails" | undefined; email?: string | null | undefined; phone?: string | null | undefined; tax_exempt?: string | null | undefined; tax_ids?: ({ __typename?: "SessionCustomerDetailsTaxId" | undefined; type: string; value?: string | null | undefined; } | null)[] | null | undefined; } | null | undefined; line_items: { __typename?: "LineItem" | undefined; id: string; amount_subtotal: number; amount_total: number; currency: string; description: string; quantity?: number | null | undefined; price?: { __typename?: "StripePrice" | undefined; id: string; active: boolean; billing_scheme: string; created?: any; currency: string; livemode: boolean; lookup_key?: string | null | undefined; nickname?: string | null | undefined; tax_behavior?: string | null | undefined; tiers_mode?: string | null | undefined; type: string; unit_amount?: number | null | undefined; unit_amount_decimal?: string | null | undefined; product?: { __typename?: "StripeProduct" | undefined; id: string; active: boolean; attributes?: string[] | null | undefined; caption?: string | null | undefined; created: any; deactivate_on?: string[] | null | undefined; description?: string | null | undefined; images: string[]; livemode: boolean; name: string; shippable?: boolean | null | undefined; statement_descriptor?: string | null | undefined; tax_code?: string | null | undefined; type: string; unit_label?: string | null | undefined; updated: any; url?: string | null | undefined; package_dimensions?: { __typename?: "StripeProductPackageDimensions" | undefined; height: number; length: number; weight: number; width: number; } | null | undefined; } | null | undefined; recurring?: { __typename?: "StripePriceRecurring" | undefined; aggregate_usage?: string | null | undefined; interval: string; interval_count: number; trial_period_days?: number | null | undefined; usage_type?: string | null | undefined; } | null | undefined; tiers?: { __typename?: "StripePriceTier" | undefined; flat_amount?: number | null | undefined; flat_amount_decimal?: string | null | undefined; unit_amount?: number | null | undefined; unit_amount_decimal?: string | null | undefined; up_to?: number | null | undefined; }[] | null | undefined; transform_quantity?: { __typename?: "StripePriceTransformQuantity" | undefined; divide_by?: number | null | undefined; round?: string | null | undefined; } | null | undefined; } | null | undefined; }[]; payment_intent?: { __typename?: "PaymentIntent" | undefined; id: string; amount: number; amount_capturable?: number | null | undefined; amount_received?: number | null | undefined; application_fee_amount?: number | null | undefined; canceled_at?: any; cancellation_reason?: string | null | undefined; capture_method?: string | null | undefined; confirmation_method?: string | null | undefined; created?: any; currency?: string | null | undefined; description?: string | null | undefined; invoice?: string | null | undefined; on_behalf_of?: string | null | undefined; payment_method?: string | null | undefined; payment_method_types?: (string | null)[] | null | undefined; receipt_email?: string | null | undefined; setup_future_usage?: string | null | undefined; statement_descriptor?: string | null | undefined; statement_descriptor_suffix?: string | null | undefined; status?: string | null | undefined; transfer_group?: string | null | undefined; charges?: ({ __typename?: "Charge" | undefined; id: string; amount: number; amount_capturable?: number | null | undefined; amount_received?: number | null | undefined; application_fee_amount?: number | null | undefined; authorization_code?: string | null | undefined; calculated_statement_descriptor?: string | null | undefined; captured?: boolean | null | undefined; created?: any; currency?: string | null | undefined; description?: string | null | undefined; disputed?: boolean | null | undefined; failure_code?: string | null | undefined; failure_message?: string | null | undefined; invoice?: string | null | undefined; order?: string | null | undefined; paid?: boolean | null | undefined; payment_method?: string | null | undefined; receipt_email?: string | null | undefined; receipt_number?: string | null | undefined; receipt_url?: string | null | undefined; refunded?: boolean | null | undefined; source_transfer?: string | null | undefined; statement_descriptor?: string | null | undefined; statement_descriptor_suffix?: string | null | undefined; status?: string | null | undefined; transfer?: string | null | undefined; transfer_group?: string | null | undefined; balance_transaction?: { __typename?: "BalanceTransaction" | undefined; id: string; amount: number; available_on: any; created: any; exchange_rate?: number | null | undefined; currency: string; description?: string | null | undefined; fee: number; net: number; status: string; reporting_category: string; type: string; source: string; fee_details?: { __typename?: "BalanceTransactionFeeDetails" | undefined; amount: number; application?: string | null | undefined; currency: string; description?: string | null | undefined; type: string; }[] | null | undefined; } | null | undefined; billing_details?: { __typename?: "BillingDetails" | undefined; email?: string | null | undefined; name?: string | null | undefined; phone?: string | null | undefined; address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; } | null | undefined; customer?: { __typename?: "StripeCustomer" | undefined; id: string; } | null | undefined; fraud_details?: { __typename?: "FraudDetails" | undefined; stripe_report?: string | null | undefined; user_report?: string | null | undefined; } | null | undefined; outcome?: { __typename?: "Outcome" | undefined; network_status?: string | null | undefined; reason?: string | null | undefined; risk_level?: string | null | undefined; risk_score?: number | null | undefined; seller_message?: string | null | undefined; type?: string | null | undefined; rule?: { __typename?: "OutcomeRule" | undefined; action?: string | null | undefined; id?: string | null | undefined; predicate?: string | null | undefined; } | null | undefined; } | null | undefined; payment_intent?: { __typename?: "PaymentIntent" | undefined; id: string; } | null | undefined; } | null)[] | null | undefined; customer?: { __typename?: "StripeCustomer" | undefined; id: string; balance?: number | null | undefined; created?: any; currency?: string | null | undefined; delinquent?: boolean | null | undefined; description?: string | null | undefined; email?: string | null | undefined; invoice_prefix?: string | null | undefined; name?: string | null | undefined; next_invoice_sequence?: number | null | undefined; phone?: string | null | undefined; preferred_locales?: (string | null)[] | null | undefined; address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; customer?: { __typename?: "Customer" | undefined; id: string; } | null | undefined; } | null | undefined; shipping?: { __typename?: "Shipping" | undefined; carrier?: string | null | undefined; name?: string | null | undefined; phone?: string | null | undefined; tracking_number?: string | null | undefined; address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; } | null | undefined; } | null | undefined; phone_number_collection?: { __typename?: "SessionPhoneNumberCollection" | undefined; enabled?: boolean | null | undefined; } | null | undefined; shipping?: { __typename?: "Shipping" | undefined; carrier?: string | null | undefined; name?: string | null | undefined; phone?: string | null | undefined; tracking_number?: string | null | undefined; address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; } | null | undefined; shipping_address_collection?: { __typename?: "SessionShippingAddressCollection" | undefined; allowed_countries: string[]; } | null | undefined; shipping_options: { __typename?: "SessionShippingOption" | undefined; shipping_amount: number; }[]; subscription?: { __typename?: "StripeSubscription" | undefined; id: string; application_fee_percent?: number | null | undefined; billing_cycle_anchor: any; cancel_at?: any; cancel_at_period_end: boolean; canceled_at?: any; collection_method: string; created: any; current_period_end: any; current_period_start: any; days_until_due?: number | null | undefined; ended_at?: any; livemode: boolean; next_pending_invoice_item_invoice?: any; pending_invoice_item_interval?: string | null | undefined; start_date: any; status: string; trial_end?: any; trial_start?: any; automatic_tax: { __typename?: "SubscriptionAutomaticTax" | undefined; enabled: boolean; }; billing_thresholds?: { __typename?: "SubscriptionBillingThresholds" | undefined; amount_gte?: number | null | undefined; reset_billing_cycle_anchor?: boolean | null | undefined; } | null | undefined; customer?: { __typename?: "StripeCustomer" | undefined; id: string; } | null | undefined; discount?: { __typename?: "Discount" | undefined; id: string; } | null | undefined; items: { __typename?: "SubscriptionItem" | undefined; id: string; created: any; quantity?: number | null | undefined; billing_thresholds?: { __typename?: "SubscriptionItemBillingThresholds" | undefined; usage_gte?: number | null | undefined; } | null | undefined; price?: { __typename?: "StripePrice" | undefined; id: string; active: boolean; billing_scheme: string; created?: any; currency: string; livemode: boolean; lookup_key?: string | null | undefined; nickname?: string | null | undefined; tax_behavior?: string | null | undefined; tiers_mode?: string | null | undefined; type: string; unit_amount?: number | null | undefined; unit_amount_decimal?: string | null | undefined; product?: { __typename?: "StripeProduct" | undefined; id: string; active: boolean; attributes?: string[] | null | undefined; caption?: string | null | undefined; created: any; deactivate_on?: string[] | null | undefined; description?: string | null | undefined; images: string[]; livemode: boolean; name: string; shippable?: boolean | null | undefined; statement_descriptor?: string | null | undefined; tax_code?: string | null | undefined; type: string; unit_label?: string | null | undefined; updated: any; url?: string | null | undefined; package_dimensions?: { __typename?: "StripeProductPackageDimensions" | undefined; height: number; length: number; weight: number; width: number; } | null | undefined; } | null | undefined; recurring?: { __typename?: "StripePriceRecurring" | undefined; aggregate_usage?: string | null | undefined; interval: string; interval_count: number; trial_period_days?: number | null | undefined; usage_type?: string | null | undefined; } | null | undefined; tiers?: { __typename?: "StripePriceTier" | undefined; flat_amount?: number | null | undefined; flat_amount_decimal?: string | null | undefined; unit_amount?: number | null | undefined; unit_amount_decimal?: string | null | undefined; up_to?: number | null | undefined; }[] | null | undefined; transform_quantity?: { __typename?: "StripePriceTransformQuantity" | undefined; divide_by?: number | null | undefined; round?: string | null | undefined; } | null | undefined; } | null | undefined; subscription: { __typename?: "StripeSubscription" | undefined; id: string; }; }[]; latest_invoice?: { __typename?: "Invoice" | undefined; id: string; } | null | undefined; pause_collection?: { __typename?: "SubscriptionPauseCollection" | undefined; behavior: string; } | null | undefined; payment_settings?: { __typename?: "SubscriptionPaymentSettings" | undefined; payment_method_types?: string[] | null | undefined; payment_method_options?: { __typename?: "SubscriptionPaymentMethodOptions" | undefined; acss_debit?: { __typename?: "SubscriptionAcssDebit" | undefined; verification_method?: string | null | undefined; mandate_options?: { __typename?: "SubscriptionAcssDebitMandateOptions" | undefined; transaction_type?: string | null | undefined; } | null | undefined; } | null | undefined; card?: { __typename?: "SubscriptionCard" | undefined; request_three_d_secure?: string | null | undefined; } | null | undefined; bancontact?: { __typename?: "SubscriptionBancontact" | undefined; preferred_language: string; } | null | undefined; } | null | undefined; } | null | undefined; pending_update?: { __typename?: "SubscriptionPendingUpdate" | undefined; billing_cycle_anchor?: number | null | undefined; trial_end?: number | null | undefined; expires_at: number; trial_from_plan?: boolean | null | undefined; } | null | undefined; } | null | undefined; tax_id_collection?: { __typename?: "SessionTaxIdCollection" | undefined; enabled?: boolean | null | undefined; } | null | undefined; total_details?: { __typename?: "SessionTotalDetails" | undefined; amount_discount: number; amount_shipping?: number | null | undefined; amount_tax: number; breakdown?: { __typename?: "SessionTotalDetailsBreakdown" | undefined; discounts: { __typename?: "SessionTotalDetailsBreakdownDiscount" | undefined; amount: number; }[]; taxes: { __typename?: "SessionTotalDetailsBreakdownTax" | undefined; amount: number; }[]; } | null | undefined; } | null | undefined; }; } | null | undefined; }; declare const orders_R: (d: ResultOf) => { __typename?: "Order" | undefined; id: string; state: string; error?: string | null | undefined; ordered_at: any; processed_at?: any; items: { __typename?: "OrderItem" | undefined; id: string; state: string; stripe_line_item_id_ext: string; error?: string | null | undefined; processed_at?: any; order: { __typename?: "Order" | undefined; id: string; }; price: { __typename?: "Price" | undefined; id: string; name: string; unit_amount: number; currency: string; status: string; active: boolean; type: string; recurring_interval?: string | null | undefined; recurring_interval_count?: number | null | undefined; product: { __typename?: "Product" | undefined; id: string; name: string; url_name: string; description?: string | null | undefined; duration?: string | null | undefined; status: string; active: boolean; default_price?: { __typename?: "Price" | undefined; id: string; name: string; unit_amount: number; currency: string; status: string; active: boolean; type: string; recurring_interval?: string | null | undefined; recurring_interval_count?: number | null | undefined; } | null | undefined; prices?: { __typename?: "Price" | undefined; id: string; name: string; unit_amount: number; currency: string; status: string; active: boolean; type: string; recurring_interval?: string | null | undefined; recurring_interval_count?: number | null | undefined; }[] | null | undefined; image_logo?: { __typename?: "Image" | undefined; id: string; } | null | undefined; image_hero?: { __typename?: "Image" | undefined; id: string; } | null | undefined; markdown_description?: { __typename?: "Markdown" | undefined; id: string; name: string; data: string; } | null | undefined; agency: { __typename?: "Agency" | undefined; id: string; }; integrations?: { __typename?: "Integration" | undefined; id: string; }[] | null | undefined; }; }; }[]; customer: { __typename?: "Customer" | undefined; id: string; name?: string | null | undefined; email_address: string; }; stripe_checkout_session: { __typename?: "StripeCheckoutSession" | undefined; id: string; allow_promotion_codes?: boolean | null | undefined; amount_subtotal?: number | null | undefined; amount_total?: number | null | undefined; billing_address_collection?: string | null | undefined; cancel_url?: string | null | undefined; client_reference_id?: string | null | undefined; currency?: string | null | undefined; customer_email?: string | null | undefined; expires_at?: any; livemode?: boolean | null | undefined; locale?: string | null | undefined; mode?: string | null | undefined; payment_method_types?: (string | null)[] | null | undefined; payment_status?: string | null | undefined; status?: string | null | undefined; submit_type?: string | null | undefined; success_url: string; url?: string | null | undefined; after_expiration?: { __typename?: "SessionAfterExpiration" | undefined; recovery?: { __typename?: "SessionAfterExpirationRecovery" | undefined; allow_promotion_codes?: boolean | null | undefined; expires_at?: any; url?: string | null | undefined; } | null | undefined; } | null | undefined; automatic_tax?: { __typename?: "SessionAutomaticTax" | undefined; enabled: boolean; status?: string | null | undefined; } | null | undefined; consent?: { __typename?: "SessionConsent" | undefined; promotions?: string | null | undefined; } | null | undefined; consent_collection?: { __typename?: "SessionConsentCollection" | undefined; promotions?: string | null | undefined; } | null | undefined; customer?: { __typename?: "StripeCustomer" | undefined; id: string; } | null | undefined; customer_details?: { __typename?: "SessionCustomerDetails" | undefined; email?: string | null | undefined; phone?: string | null | undefined; tax_exempt?: string | null | undefined; tax_ids?: ({ __typename?: "SessionCustomerDetailsTaxId" | undefined; type: string; value?: string | null | undefined; } | null)[] | null | undefined; } | null | undefined; line_items: { __typename?: "LineItem" | undefined; id: string; amount_subtotal: number; amount_total: number; currency: string; description: string; quantity?: number | null | undefined; price?: { __typename?: "StripePrice" | undefined; id: string; active: boolean; billing_scheme: string; created?: any; currency: string; livemode: boolean; lookup_key?: string | null | undefined; nickname?: string | null | undefined; tax_behavior?: string | null | undefined; tiers_mode?: string | null | undefined; type: string; unit_amount?: number | null | undefined; unit_amount_decimal?: string | null | undefined; product?: { __typename?: "StripeProduct" | undefined; id: string; active: boolean; attributes?: string[] | null | undefined; caption?: string | null | undefined; created: any; deactivate_on?: string[] | null | undefined; description?: string | null | undefined; images: string[]; livemode: boolean; name: string; shippable?: boolean | null | undefined; statement_descriptor?: string | null | undefined; tax_code?: string | null | undefined; type: string; unit_label?: string | null | undefined; updated: any; url?: string | null | undefined; package_dimensions?: { __typename?: "StripeProductPackageDimensions" | undefined; height: number; length: number; weight: number; width: number; } | null | undefined; } | null | undefined; recurring?: { __typename?: "StripePriceRecurring" | undefined; aggregate_usage?: string | null | undefined; interval: string; interval_count: number; trial_period_days?: number | null | undefined; usage_type?: string | null | undefined; } | null | undefined; tiers?: { __typename?: "StripePriceTier" | undefined; flat_amount?: number | null | undefined; flat_amount_decimal?: string | null | undefined; unit_amount?: number | null | undefined; unit_amount_decimal?: string | null | undefined; up_to?: number | null | undefined; }[] | null | undefined; transform_quantity?: { __typename?: "StripePriceTransformQuantity" | undefined; divide_by?: number | null | undefined; round?: string | null | undefined; } | null | undefined; } | null | undefined; }[]; payment_intent?: { __typename?: "PaymentIntent" | undefined; id: string; amount: number; amount_capturable?: number | null | undefined; amount_received?: number | null | undefined; application_fee_amount?: number | null | undefined; canceled_at?: any; cancellation_reason?: string | null | undefined; capture_method?: string | null | undefined; confirmation_method?: string | null | undefined; created?: any; currency?: string | null | undefined; description?: string | null | undefined; invoice?: string | null | undefined; on_behalf_of?: string | null | undefined; payment_method?: string | null | undefined; payment_method_types?: (string | null)[] | null | undefined; receipt_email?: string | null | undefined; setup_future_usage?: string | null | undefined; statement_descriptor?: string | null | undefined; statement_descriptor_suffix?: string | null | undefined; status?: string | null | undefined; transfer_group?: string | null | undefined; charges?: ({ __typename?: "Charge" | undefined; id: string; amount: number; amount_capturable?: number | null | undefined; amount_received?: number | null | undefined; application_fee_amount?: number | null | undefined; authorization_code?: string | null | undefined; calculated_statement_descriptor?: string | null | undefined; captured?: boolean | null | undefined; created?: any; currency?: string | null | undefined; description?: string | null | undefined; disputed?: boolean | null | undefined; failure_code?: string | null | undefined; failure_message?: string | null | undefined; invoice?: string | null | undefined; order?: string | null | undefined; paid?: boolean | null | undefined; payment_method?: string | null | undefined; receipt_email?: string | null | undefined; receipt_number?: string | null | undefined; receipt_url?: string | null | undefined; refunded?: boolean | null | undefined; source_transfer?: string | null | undefined; statement_descriptor?: string | null | undefined; statement_descriptor_suffix?: string | null | undefined; status?: string | null | undefined; transfer?: string | null | undefined; transfer_group?: string | null | undefined; balance_transaction?: { __typename?: "BalanceTransaction" | undefined; id: string; amount: number; available_on: any; created: any; exchange_rate?: number | null | undefined; currency: string; description?: string | null | undefined; fee: number; net: number; status: string; reporting_category: string; type: string; source: string; fee_details?: { __typename?: "BalanceTransactionFeeDetails" | undefined; amount: number; application?: string | null | undefined; currency: string; description?: string | null | undefined; type: string; }[] | null | undefined; } | null | undefined; billing_details?: { __typename?: "BillingDetails" | undefined; email?: string | null | undefined; name?: string | null | undefined; phone?: string | null | undefined; address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; } | null | undefined; customer?: { __typename?: "StripeCustomer" | undefined; id: string; } | null | undefined; fraud_details?: { __typename?: "FraudDetails" | undefined; stripe_report?: string | null | undefined; user_report?: string | null | undefined; } | null | undefined; outcome?: { __typename?: "Outcome" | undefined; network_status?: string | null | undefined; reason?: string | null | undefined; risk_level?: string | null | undefined; risk_score?: number | null | undefined; seller_message?: string | null | undefined; type?: string | null | undefined; rule?: { __typename?: "OutcomeRule" | undefined; action?: string | null | undefined; id?: string | null | undefined; predicate?: string | null | undefined; } | null | undefined; } | null | undefined; payment_intent?: { __typename?: "PaymentIntent" | undefined; id: string; } | null | undefined; } | null)[] | null | undefined; customer?: { __typename?: "StripeCustomer" | undefined; id: string; balance?: number | null | undefined; created?: any; currency?: string | null | undefined; delinquent?: boolean | null | undefined; description?: string | null | undefined; email?: string | null | undefined; invoice_prefix?: string | null | undefined; name?: string | null | undefined; next_invoice_sequence?: number | null | undefined; phone?: string | null | undefined; preferred_locales?: (string | null)[] | null | undefined; address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; customer?: { __typename?: "Customer" | undefined; id: string; } | null | undefined; } | null | undefined; shipping?: { __typename?: "Shipping" | undefined; carrier?: string | null | undefined; name?: string | null | undefined; phone?: string | null | undefined; tracking_number?: string | null | undefined; address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; } | null | undefined; } | null | undefined; phone_number_collection?: { __typename?: "SessionPhoneNumberCollection" | undefined; enabled?: boolean | null | undefined; } | null | undefined; shipping?: { __typename?: "Shipping" | undefined; carrier?: string | null | undefined; name?: string | null | undefined; phone?: string | null | undefined; tracking_number?: string | null | undefined; address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; } | null | undefined; shipping_address_collection?: { __typename?: "SessionShippingAddressCollection" | undefined; allowed_countries: string[]; } | null | undefined; shipping_options: { __typename?: "SessionShippingOption" | undefined; shipping_amount: number; }[]; subscription?: { __typename?: "StripeSubscription" | undefined; id: string; application_fee_percent?: number | null | undefined; billing_cycle_anchor: any; cancel_at?: any; cancel_at_period_end: boolean; canceled_at?: any; collection_method: string; created: any; current_period_end: any; current_period_start: any; days_until_due?: number | null | undefined; ended_at?: any; livemode: boolean; next_pending_invoice_item_invoice?: any; pending_invoice_item_interval?: string | null | undefined; start_date: any; status: string; trial_end?: any; trial_start?: any; automatic_tax: { __typename?: "SubscriptionAutomaticTax" | undefined; enabled: boolean; }; billing_thresholds?: { __typename?: "SubscriptionBillingThresholds" | undefined; amount_gte?: number | null | undefined; reset_billing_cycle_anchor?: boolean | null | undefined; } | null | undefined; customer?: { __typename?: "StripeCustomer" | undefined; id: string; } | null | undefined; discount?: { __typename?: "Discount" | undefined; id: string; } | null | undefined; items: { __typename?: "SubscriptionItem" | undefined; id: string; created: any; quantity?: number | null | undefined; billing_thresholds?: { __typename?: "SubscriptionItemBillingThresholds" | undefined; usage_gte?: number | null | undefined; } | null | undefined; price?: { __typename?: "StripePrice" | undefined; id: string; active: boolean; billing_scheme: string; created?: any; currency: string; livemode: boolean; lookup_key?: string | null | undefined; nickname?: string | null | undefined; tax_behavior?: string | null | undefined; tiers_mode?: string | null | undefined; type: string; unit_amount?: number | null | undefined; unit_amount_decimal?: string | null | undefined; product?: { __typename?: "StripeProduct" | undefined; id: string; active: boolean; attributes?: string[] | null | undefined; caption?: string | null | undefined; created: any; deactivate_on?: string[] | null | undefined; description?: string | null | undefined; images: string[]; livemode: boolean; name: string; shippable?: boolean | null | undefined; statement_descriptor?: string | null | undefined; tax_code?: string | null | undefined; type: string; unit_label?: string | null | undefined; updated: any; url?: string | null | undefined; package_dimensions?: { __typename?: "StripeProductPackageDimensions" | undefined; height: number; length: number; weight: number; width: number; } | null | undefined; } | null | undefined; recurring?: { __typename?: "StripePriceRecurring" | undefined; aggregate_usage?: string | null | undefined; interval: string; interval_count: number; trial_period_days?: number | null | undefined; usage_type?: string | null | undefined; } | null | undefined; tiers?: { __typename?: "StripePriceTier" | undefined; flat_amount?: number | null | undefined; flat_amount_decimal?: string | null | undefined; unit_amount?: number | null | undefined; unit_amount_decimal?: string | null | undefined; up_to?: number | null | undefined; }[] | null | undefined; transform_quantity?: { __typename?: "StripePriceTransformQuantity" | undefined; divide_by?: number | null | undefined; round?: string | null | undefined; } | null | undefined; } | null | undefined; subscription: { __typename?: "StripeSubscription" | undefined; id: string; }; }[]; latest_invoice?: { __typename?: "Invoice" | undefined; id: string; } | null | undefined; pause_collection?: { __typename?: "SubscriptionPauseCollection" | undefined; behavior: string; } | null | undefined; payment_settings?: { __typename?: "SubscriptionPaymentSettings" | undefined; payment_method_types?: string[] | null | undefined; payment_method_options?: { __typename?: "SubscriptionPaymentMethodOptions" | undefined; acss_debit?: { __typename?: "SubscriptionAcssDebit" | undefined; verification_method?: string | null | undefined; mandate_options?: { __typename?: "SubscriptionAcssDebitMandateOptions" | undefined; transaction_type?: string | null | undefined; } | null | undefined; } | null | undefined; card?: { __typename?: "SubscriptionCard" | undefined; request_three_d_secure?: string | null | undefined; } | null | undefined; bancontact?: { __typename?: "SubscriptionBancontact" | undefined; preferred_language: string; } | null | undefined; } | null | undefined; } | null | undefined; pending_update?: { __typename?: "SubscriptionPendingUpdate" | undefined; billing_cycle_anchor?: number | null | undefined; trial_end?: number | null | undefined; expires_at: number; trial_from_plan?: boolean | null | undefined; } | null | undefined; } | null | undefined; tax_id_collection?: { __typename?: "SessionTaxIdCollection" | undefined; enabled?: boolean | null | undefined; } | null | undefined; total_details?: { __typename?: "SessionTotalDetails" | undefined; amount_discount: number; amount_shipping?: number | null | undefined; amount_tax: number; breakdown?: { __typename?: "SessionTotalDetailsBreakdown" | undefined; discounts: { __typename?: "SessionTotalDetailsBreakdownDiscount" | undefined; amount: number; }[]; taxes: { __typename?: "SessionTotalDetailsBreakdownTax" | undefined; amount: number; }[]; } | null | undefined; } | null | undefined; }; }[] | null | undefined; export declare const orders_Q: { query: TypedDocumentNode | undefined; desc?: import("@duely/core").InputMaybe | undefined; order_by?: import("@duely/core").InputMaybe | undefined; limit?: import("@duely/core").InputMaybe | undefined; offset?: import("@duely/core").InputMaybe | undefined; before_id?: import("@duely/core").InputMaybe | undefined; after_id?: import("@duely/core").InputMaybe | undefined; }>>; result: (d: ResultOf) => { __typename?: "Order" | undefined; id: string; state: string; error?: string | null | undefined; ordered_at: any; processed_at?: any; items: { __typename?: "OrderItem" | undefined; id: string; state: string; stripe_line_item_id_ext: string; error?: string | null | undefined; processed_at?: any; order: { __typename?: "Order" | undefined; id: string; }; price: { __typename?: "Price" | undefined; id: string; name: string; unit_amount: number; currency: string; status: string; active: boolean; type: string; recurring_interval?: string | null | undefined; recurring_interval_count?: number | null | undefined; product: { __typename?: "Product" | undefined; id: string; name: string; url_name: string; description?: string | null | undefined; duration?: string | null | undefined; status: string; active: boolean; default_price?: { __typename?: "Price" | undefined; id: string; name: string; unit_amount: number; currency: string; status: string; active: boolean; type: string; recurring_interval?: string | null | undefined; recurring_interval_count?: number | null | undefined; } | null | undefined; prices?: { __typename?: "Price" | undefined; id: string; name: string; unit_amount: number; currency: string; status: string; active: boolean; type: string; recurring_interval?: string | null | undefined; recurring_interval_count?: number | null | undefined; }[] | null | undefined; image_logo?: { __typename?: "Image" | undefined; id: string; } | null | undefined; image_hero?: { __typename?: "Image" | undefined; id: string; } | null | undefined; markdown_description?: { __typename?: "Markdown" | undefined; id: string; name: string; data: string; } | null | undefined; agency: { __typename?: "Agency" | undefined; id: string; }; integrations?: { __typename?: "Integration" | undefined; id: string; }[] | null | undefined; }; }; }[]; customer: { __typename?: "Customer" | undefined; id: string; name?: string | null | undefined; email_address: string; }; stripe_checkout_session: { __typename?: "StripeCheckoutSession" | undefined; id: string; allow_promotion_codes?: boolean | null | undefined; amount_subtotal?: number | null | undefined; amount_total?: number | null | undefined; billing_address_collection?: string | null | undefined; cancel_url?: string | null | undefined; client_reference_id?: string | null | undefined; currency?: string | null | undefined; customer_email?: string | null | undefined; expires_at?: any; livemode?: boolean | null | undefined; locale?: string | null | undefined; mode?: string | null | undefined; payment_method_types?: (string | null)[] | null | undefined; payment_status?: string | null | undefined; status?: string | null | undefined; submit_type?: string | null | undefined; success_url: string; url?: string | null | undefined; after_expiration?: { __typename?: "SessionAfterExpiration" | undefined; recovery?: { __typename?: "SessionAfterExpirationRecovery" | undefined; allow_promotion_codes?: boolean | null | undefined; expires_at?: any; url?: string | null | undefined; } | null | undefined; } | null | undefined; automatic_tax?: { __typename?: "SessionAutomaticTax" | undefined; enabled: boolean; status?: string | null | undefined; } | null | undefined; consent?: { __typename?: "SessionConsent" | undefined; promotions?: string | null | undefined; } | null | undefined; consent_collection?: { __typename?: "SessionConsentCollection" | undefined; promotions?: string | null | undefined; } | null | undefined; customer?: { __typename?: "StripeCustomer" | undefined; id: string; } | null | undefined; customer_details?: { __typename?: "SessionCustomerDetails" | undefined; email?: string | null | undefined; phone?: string | null | undefined; tax_exempt?: string | null | undefined; tax_ids?: ({ __typename?: "SessionCustomerDetailsTaxId" | undefined; type: string; value?: string | null | undefined; } | null)[] | null | undefined; } | null | undefined; line_items: { __typename?: "LineItem" | undefined; id: string; amount_subtotal: number; amount_total: number; currency: string; description: string; quantity?: number | null | undefined; price?: { __typename?: "StripePrice" | undefined; id: string; active: boolean; billing_scheme: string; created?: any; currency: string; livemode: boolean; lookup_key?: string | null | undefined; nickname?: string | null | undefined; tax_behavior?: string | null | undefined; tiers_mode?: string | null | undefined; type: string; unit_amount?: number | null | undefined; unit_amount_decimal?: string | null | undefined; product?: { __typename?: "StripeProduct" | undefined; id: string; active: boolean; attributes?: string[] | null | undefined; caption?: string | null | undefined; created: any; deactivate_on?: string[] | null | undefined; description?: string | null | undefined; images: string[]; livemode: boolean; name: string; shippable?: boolean | null | undefined; statement_descriptor?: string | null | undefined; tax_code?: string | null | undefined; type: string; unit_label?: string | null | undefined; updated: any; url?: string | null | undefined; package_dimensions?: { __typename?: "StripeProductPackageDimensions" | undefined; height: number; length: number; weight: number; width: number; } | null | undefined; } | null | undefined; recurring?: { __typename?: "StripePriceRecurring" | undefined; aggregate_usage?: string | null | undefined; interval: string; interval_count: number; trial_period_days?: number | null | undefined; usage_type?: string | null | undefined; } | null | undefined; tiers?: { __typename?: "StripePriceTier" | undefined; flat_amount?: number | null | undefined; flat_amount_decimal?: string | null | undefined; unit_amount?: number | null | undefined; unit_amount_decimal?: string | null | undefined; up_to?: number | null | undefined; }[] | null | undefined; transform_quantity?: { __typename?: "StripePriceTransformQuantity" | undefined; divide_by?: number | null | undefined; round?: string | null | undefined; } | null | undefined; } | null | undefined; }[]; payment_intent?: { __typename?: "PaymentIntent" | undefined; id: string; amount: number; amount_capturable?: number | null | undefined; amount_received?: number | null | undefined; application_fee_amount?: number | null | undefined; canceled_at?: any; cancellation_reason?: string | null | undefined; capture_method?: string | null | undefined; confirmation_method?: string | null | undefined; created?: any; currency?: string | null | undefined; description?: string | null | undefined; invoice?: string | null | undefined; on_behalf_of?: string | null | undefined; payment_method?: string | null | undefined; payment_method_types?: (string | null)[] | null | undefined; receipt_email?: string | null | undefined; setup_future_usage?: string | null | undefined; statement_descriptor?: string | null | undefined; statement_descriptor_suffix?: string | null | undefined; status?: string | null | undefined; transfer_group?: string | null | undefined; charges?: ({ __typename?: "Charge" | undefined; id: string; amount: number; amount_capturable?: number | null | undefined; amount_received?: number | null | undefined; application_fee_amount?: number | null | undefined; authorization_code?: string | null | undefined; calculated_statement_descriptor?: string | null | undefined; captured?: boolean | null | undefined; created?: any; currency?: string | null | undefined; description?: string | null | undefined; disputed?: boolean | null | undefined; failure_code?: string | null | undefined; failure_message?: string | null | undefined; invoice?: string | null | undefined; order?: string | null | undefined; paid?: boolean | null | undefined; payment_method?: string | null | undefined; receipt_email?: string | null | undefined; receipt_number?: string | null | undefined; receipt_url?: string | null | undefined; refunded?: boolean | null | undefined; source_transfer?: string | null | undefined; statement_descriptor?: string | null | undefined; statement_descriptor_suffix?: string | null | undefined; status?: string | null | undefined; transfer?: string | null | undefined; transfer_group?: string | null | undefined; balance_transaction?: { __typename?: "BalanceTransaction" | undefined; id: string; amount: number; available_on: any; created: any; exchange_rate?: number | null | undefined; currency: string; description?: string | null | undefined; fee: number; net: number; status: string; reporting_category: string; type: string; source: string; fee_details?: { __typename?: "BalanceTransactionFeeDetails" | undefined; amount: number; application?: string | null | undefined; currency: string; description?: string | null | undefined; type: string; }[] | null | undefined; } | null | undefined; billing_details?: { __typename?: "BillingDetails" | undefined; email?: string | null | undefined; name?: string | null | undefined; phone?: string | null | undefined; address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; } | null | undefined; customer?: { __typename?: "StripeCustomer" | undefined; id: string; } | null | undefined; fraud_details?: { __typename?: "FraudDetails" | undefined; stripe_report?: string | null | undefined; user_report?: string | null | undefined; } | null | undefined; outcome?: { __typename?: "Outcome" | undefined; network_status?: string | null | undefined; reason?: string | null | undefined; risk_level?: string | null | undefined; risk_score?: number | null | undefined; seller_message?: string | null | undefined; type?: string | null | undefined; rule?: { __typename?: "OutcomeRule" | undefined; action?: string | null | undefined; id?: string | null | undefined; predicate?: string | null | undefined; } | null | undefined; } | null | undefined; payment_intent?: { __typename?: "PaymentIntent" | undefined; id: string; } | null | undefined; } | null)[] | null | undefined; customer?: { __typename?: "StripeCustomer" | undefined; id: string; balance?: number | null | undefined; created?: any; currency?: string | null | undefined; delinquent?: boolean | null | undefined; description?: string | null | undefined; email?: string | null | undefined; invoice_prefix?: string | null | undefined; name?: string | null | undefined; next_invoice_sequence?: number | null | undefined; phone?: string | null | undefined; preferred_locales?: (string | null)[] | null | undefined; address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; customer?: { __typename?: "Customer" | undefined; id: string; } | null | undefined; } | null | undefined; shipping?: { __typename?: "Shipping" | undefined; carrier?: string | null | undefined; name?: string | null | undefined; phone?: string | null | undefined; tracking_number?: string | null | undefined; address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; } | null | undefined; } | null | undefined; phone_number_collection?: { __typename?: "SessionPhoneNumberCollection" | undefined; enabled?: boolean | null | undefined; } | null | undefined; shipping?: { __typename?: "Shipping" | undefined; carrier?: string | null | undefined; name?: string | null | undefined; phone?: string | null | undefined; tracking_number?: string | null | undefined; address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; } | null | undefined; shipping_address_collection?: { __typename?: "SessionShippingAddressCollection" | undefined; allowed_countries: string[]; } | null | undefined; shipping_options: { __typename?: "SessionShippingOption" | undefined; shipping_amount: number; }[]; subscription?: { __typename?: "StripeSubscription" | undefined; id: string; application_fee_percent?: number | null | undefined; billing_cycle_anchor: any; cancel_at?: any; cancel_at_period_end: boolean; canceled_at?: any; collection_method: string; created: any; current_period_end: any; current_period_start: any; days_until_due?: number | null | undefined; ended_at?: any; livemode: boolean; next_pending_invoice_item_invoice?: any; pending_invoice_item_interval?: string | null | undefined; start_date: any; status: string; trial_end?: any; trial_start?: any; automatic_tax: { __typename?: "SubscriptionAutomaticTax" | undefined; enabled: boolean; }; billing_thresholds?: { __typename?: "SubscriptionBillingThresholds" | undefined; amount_gte?: number | null | undefined; reset_billing_cycle_anchor?: boolean | null | undefined; } | null | undefined; customer?: { __typename?: "StripeCustomer" | undefined; id: string; } | null | undefined; discount?: { __typename?: "Discount" | undefined; id: string; } | null | undefined; items: { __typename?: "SubscriptionItem" | undefined; id: string; created: any; quantity?: number | null | undefined; billing_thresholds?: { __typename?: "SubscriptionItemBillingThresholds" | undefined; usage_gte?: number | null | undefined; } | null | undefined; price?: { __typename?: "StripePrice" | undefined; id: string; active: boolean; billing_scheme: string; created?: any; currency: string; livemode: boolean; lookup_key?: string | null | undefined; nickname?: string | null | undefined; tax_behavior?: string | null | undefined; tiers_mode?: string | null | undefined; type: string; unit_amount?: number | null | undefined; unit_amount_decimal?: string | null | undefined; product?: { __typename?: "StripeProduct" | undefined; id: string; active: boolean; attributes?: string[] | null | undefined; caption?: string | null | undefined; created: any; deactivate_on?: string[] | null | undefined; description?: string | null | undefined; images: string[]; livemode: boolean; name: string; shippable?: boolean | null | undefined; statement_descriptor?: string | null | undefined; tax_code?: string | null | undefined; type: string; unit_label?: string | null | undefined; updated: any; url?: string | null | undefined; package_dimensions?: { __typename?: "StripeProductPackageDimensions" | undefined; height: number; length: number; weight: number; width: number; } | null | undefined; } | null | undefined; recurring?: { __typename?: "StripePriceRecurring" | undefined; aggregate_usage?: string | null | undefined; interval: string; interval_count: number; trial_period_days?: number | null | undefined; usage_type?: string | null | undefined; } | null | undefined; tiers?: { __typename?: "StripePriceTier" | undefined; flat_amount?: number | null | undefined; flat_amount_decimal?: string | null | undefined; unit_amount?: number | null | undefined; unit_amount_decimal?: string | null | undefined; up_to?: number | null | undefined; }[] | null | undefined; transform_quantity?: { __typename?: "StripePriceTransformQuantity" | undefined; divide_by?: number | null | undefined; round?: string | null | undefined; } | null | undefined; } | null | undefined; subscription: { __typename?: "StripeSubscription" | undefined; id: string; }; }[]; latest_invoice?: { __typename?: "Invoice" | undefined; id: string; } | null | undefined; pause_collection?: { __typename?: "SubscriptionPauseCollection" | undefined; behavior: string; } | null | undefined; payment_settings?: { __typename?: "SubscriptionPaymentSettings" | undefined; payment_method_types?: string[] | null | undefined; payment_method_options?: { __typename?: "SubscriptionPaymentMethodOptions" | undefined; acss_debit?: { __typename?: "SubscriptionAcssDebit" | undefined; verification_method?: string | null | undefined; mandate_options?: { __typename?: "SubscriptionAcssDebitMandateOptions" | undefined; transaction_type?: string | null | undefined; } | null | undefined; } | null | undefined; card?: { __typename?: "SubscriptionCard" | undefined; request_three_d_secure?: string | null | undefined; } | null | undefined; bancontact?: { __typename?: "SubscriptionBancontact" | undefined; preferred_language: string; } | null | undefined; } | null | undefined; } | null | undefined; pending_update?: { __typename?: "SubscriptionPendingUpdate" | undefined; billing_cycle_anchor?: number | null | undefined; trial_end?: number | null | undefined; expires_at: number; trial_from_plan?: boolean | null | undefined; } | null | undefined; } | null | undefined; tax_id_collection?: { __typename?: "SessionTaxIdCollection" | undefined; enabled?: boolean | null | undefined; } | null | undefined; total_details?: { __typename?: "SessionTotalDetails" | undefined; amount_discount: number; amount_shipping?: number | null | undefined; amount_tax: number; breakdown?: { __typename?: "SessionTotalDetailsBreakdown" | undefined; discounts: { __typename?: "SessionTotalDetailsBreakdownDiscount" | undefined; amount: number; }[]; taxes: { __typename?: "SessionTotalDetailsBreakdownTax" | undefined; amount: number; }[]; } | null | undefined; } | null | undefined; }; }[] | null | undefined; after(cache: ApolloCache, orders: ReturnType | null): Promise; }; export declare const count_orders_Q: { query: TypedDocumentNode | undefined; }>>; result: (d: ResultOf) => number; }; export declare const order_item_Q: { query: TypedDocumentNode | undefined; }>>; result: (d: ResultOf) => { __typename?: "OrderItem" | undefined; id: string; state: string; stripe_line_item_id_ext: string; error?: string | null | undefined; processed_at?: any; order: { __typename?: "Order" | undefined; id: string; }; price: { __typename?: "Price" | undefined; id: string; name: string; unit_amount: number; currency: string; status: string; active: boolean; type: string; recurring_interval?: string | null | undefined; recurring_interval_count?: number | null | undefined; product: { __typename?: "Product" | undefined; id: string; name: string; url_name: string; description?: string | null | undefined; duration?: string | null | undefined; status: string; active: boolean; default_price?: { __typename?: "Price" | undefined; id: string; name: string; unit_amount: number; currency: string; status: string; active: boolean; type: string; recurring_interval?: string | null | undefined; recurring_interval_count?: number | null | undefined; } | null | undefined; prices?: { __typename?: "Price" | undefined; id: string; name: string; unit_amount: number; currency: string; status: string; active: boolean; type: string; recurring_interval?: string | null | undefined; recurring_interval_count?: number | null | undefined; }[] | null | undefined; image_logo?: { __typename?: "Image" | undefined; id: string; } | null | undefined; image_hero?: { __typename?: "Image" | undefined; id: string; } | null | undefined; markdown_description?: { __typename?: "Markdown" | undefined; id: string; name: string; data: string; } | null | undefined; agency: { __typename?: "Agency" | undefined; id: string; }; integrations?: { __typename?: "Integration" | undefined; id: string; }[] | null | undefined; }; }; } | null | undefined; }; declare const order_items_R: (d: ResultOf) => { __typename?: "OrderItem" | undefined; id: string; state: string; stripe_line_item_id_ext: string; error?: string | null | undefined; processed_at?: any; order: { __typename?: "Order" | undefined; id: string; }; price: { __typename?: "Price" | undefined; id: string; name: string; unit_amount: number; currency: string; status: string; active: boolean; type: string; recurring_interval?: string | null | undefined; recurring_interval_count?: number | null | undefined; product: { __typename?: "Product" | undefined; id: string; name: string; url_name: string; description?: string | null | undefined; duration?: string | null | undefined; status: string; active: boolean; default_price?: { __typename?: "Price" | undefined; id: string; name: string; unit_amount: number; currency: string; status: string; active: boolean; type: string; recurring_interval?: string | null | undefined; recurring_interval_count?: number | null | undefined; } | null | undefined; prices?: { __typename?: "Price" | undefined; id: string; name: string; unit_amount: number; currency: string; status: string; active: boolean; type: string; recurring_interval?: string | null | undefined; recurring_interval_count?: number | null | undefined; }[] | null | undefined; image_logo?: { __typename?: "Image" | undefined; id: string; } | null | undefined; image_hero?: { __typename?: "Image" | undefined; id: string; } | null | undefined; markdown_description?: { __typename?: "Markdown" | undefined; id: string; name: string; data: string; } | null | undefined; agency: { __typename?: "Agency" | undefined; id: string; }; integrations?: { __typename?: "Integration" | undefined; id: string; }[] | null | undefined; }; }; }[] | null | undefined; export declare const order_items_Q: { query: TypedDocumentNode | undefined; desc?: import("@duely/core").InputMaybe | undefined; order_by?: import("@duely/core").InputMaybe | undefined; limit?: import("@duely/core").InputMaybe | undefined; offset?: import("@duely/core").InputMaybe | undefined; before_id?: import("@duely/core").InputMaybe | undefined; after_id?: import("@duely/core").InputMaybe | undefined; }>>; result: (d: ResultOf) => { __typename?: "OrderItem" | undefined; id: string; state: string; stripe_line_item_id_ext: string; error?: string | null | undefined; processed_at?: any; order: { __typename?: "Order" | undefined; id: string; }; price: { __typename?: "Price" | undefined; id: string; name: string; unit_amount: number; currency: string; status: string; active: boolean; type: string; recurring_interval?: string | null | undefined; recurring_interval_count?: number | null | undefined; product: { __typename?: "Product" | undefined; id: string; name: string; url_name: string; description?: string | null | undefined; duration?: string | null | undefined; status: string; active: boolean; default_price?: { __typename?: "Price" | undefined; id: string; name: string; unit_amount: number; currency: string; status: string; active: boolean; type: string; recurring_interval?: string | null | undefined; recurring_interval_count?: number | null | undefined; } | null | undefined; prices?: { __typename?: "Price" | undefined; id: string; name: string; unit_amount: number; currency: string; status: string; active: boolean; type: string; recurring_interval?: string | null | undefined; recurring_interval_count?: number | null | undefined; }[] | null | undefined; image_logo?: { __typename?: "Image" | undefined; id: string; } | null | undefined; image_hero?: { __typename?: "Image" | undefined; id: string; } | null | undefined; markdown_description?: { __typename?: "Markdown" | undefined; id: string; name: string; data: string; } | null | undefined; agency: { __typename?: "Agency" | undefined; id: string; }; integrations?: { __typename?: "Integration" | undefined; id: string; }[] | null | undefined; }; }; }[] | null | undefined; after(cache: ApolloCache, order_items: ReturnType | null): Promise; }; export declare const product_and_agency_from_url_parts_Q: { query: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "Product" | undefined; id: string; name: string; url_name: string; description?: string | null | undefined; duration?: string | null | undefined; status: string; active: boolean; agency: { __typename?: "Agency" | undefined; id: string; name: string; livemode: boolean; default_pricing_currency?: string | null | undefined; subdomain: { __typename?: "Subdomain" | undefined; id: string; name: string; }; theme: { __typename?: "Theme" | undefined; id: string; color_primary?: string | null | undefined; color_secondary?: string | null | undefined; color_accent?: string | null | undefined; color_background?: string | null | undefined; color_surface?: string | null | undefined; color_error?: string | null | undefined; color_success?: string | null | undefined; image_logo?: { __typename?: "Image" | undefined; id: string; name: string; color: string; data: string; access: import("@duely/core").AccessLevel; } | null | undefined; image_hero?: { __typename?: "Image" | undefined; id: string; name: string; color: string; data: string; access: import("@duely/core").AccessLevel; } | null | undefined; }; }; default_price?: { __typename?: "Price" | undefined; id: string; name: string; unit_amount: number; currency: string; status: string; active: boolean; type: string; recurring_interval?: string | null | undefined; recurring_interval_count?: number | null | undefined; } | null | undefined; prices?: { __typename?: "Price" | undefined; id: string; name: string; unit_amount: number; currency: string; status: string; active: boolean; type: string; recurring_interval?: string | null | undefined; recurring_interval_count?: number | null | undefined; }[] | null | undefined; image_logo?: { __typename?: "Image" | undefined; id: string; } | null | undefined; image_hero?: { __typename?: "Image" | undefined; id: string; } | null | undefined; markdown_description?: { __typename?: "Markdown" | undefined; id: string; name: string; data: string; } | null | undefined; integrations?: { __typename?: "Integration" | undefined; id: string; }[] | null | undefined; } | undefined; }; export declare const current_agency_Q: { query: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "Agency" | undefined; id: string; name: string; livemode: boolean; default_pricing_currency?: string | null | undefined; subdomain: { __typename?: "Subdomain" | undefined; id: string; name: string; }; theme: { __typename?: "Theme" | undefined; id: string; color_primary?: string | null | undefined; color_secondary?: string | null | undefined; color_accent?: string | null | undefined; color_background?: string | null | undefined; color_surface?: string | null | undefined; color_error?: string | null | undefined; color_success?: string | null | undefined; image_logo?: { __typename?: "Image" | undefined; id: string; name: string; color: string; data: string; access: import("@duely/core").AccessLevel; } | null | undefined; image_hero?: { __typename?: "Image" | undefined; id: string; name: string; color: string; data: string; access: import("@duely/core").AccessLevel; } | null | undefined; }; } | undefined; variables: { subdomain_name: string | null; }; }; export declare const current_agency_extended_Q: { query: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "Agency" | undefined; supported_payment_currencies: string[]; id: string; name: string; livemode: boolean; default_pricing_currency?: string | null | undefined; subdomain: { __typename?: "Subdomain" | undefined; id: string; name: string; }; theme: { __typename?: "Theme" | undefined; id: string; color_primary?: string | null | undefined; color_secondary?: string | null | undefined; color_accent?: string | null | undefined; color_background?: string | null | undefined; color_surface?: string | null | undefined; color_error?: string | null | undefined; color_success?: string | null | undefined; image_logo?: { __typename?: "Image" | undefined; id: string; name: string; color: string; data: string; access: import("@duely/core").AccessLevel; } | null | undefined; image_hero?: { __typename?: "Image" | undefined; id: string; name: string; color: string; data: string; access: import("@duely/core").AccessLevel; } | null | undefined; }; } | undefined; variables: { subdomain_name: string | null; }; }; export declare const current_agency_stripe_account_update_url_Q: { readonly query: TypedDocumentNode>; readonly fetchPolicy: "no-cache"; readonly result: (d: ResultOf) => string | undefined; readonly variables: { subdomain_name: string | null; }; }; export declare const agency_settings_Q: { query: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "AgencySettings" | undefined; id: string; checkout_success_url?: string | null | undefined; checkout_cancel_url?: string | null | undefined; } | undefined; }; export declare const product_settings_Q: { query: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "ProductSettings" | undefined; id: string; checkout_success_url?: string | null | undefined; checkout_cancel_url?: string | null | undefined; } | undefined; }; declare const agency_pages_R: (d: ResultOf) => { __typename?: "Page" | undefined; id: string; url_path: string; access: import("@duely/core").AccessLevel; agency: { __typename?: "Agency" | undefined; id: string; }; product?: { __typename?: "Product" | undefined; id: string; } | null | undefined; definition: { __typename?: "PageDefinition" | undefined; id: string; name: string; url_path: string; }; blocks: { __typename?: "PageBlock" | undefined; id: string; data: any; page: { __typename?: "Page" | undefined; id: string; }; definition: { __typename?: "PageBlockDefinition" | undefined; id: string; name: string; page: { __typename?: "PageDefinition" | undefined; id: string; }; fields: { __typename?: "FormField" | undefined; id: string; name: string; label: string; type: string; hint?: string | null | undefined; prefix?: string | null | undefined; suffix?: string | null | undefined; required: boolean; default?: any; }[]; }; }[]; }[] | null | undefined; export declare const agency_pages_Q: { query: TypedDocumentNode | undefined; }>>; result: (d: ResultOf) => { __typename?: "Page" | undefined; id: string; url_path: string; access: import("@duely/core").AccessLevel; agency: { __typename?: "Agency" | undefined; id: string; }; product?: { __typename?: "Product" | undefined; id: string; } | null | undefined; definition: { __typename?: "PageDefinition" | undefined; id: string; name: string; url_path: string; }; blocks: { __typename?: "PageBlock" | undefined; id: string; data: any; page: { __typename?: "Page" | undefined; id: string; }; definition: { __typename?: "PageBlockDefinition" | undefined; id: string; name: string; page: { __typename?: "PageDefinition" | undefined; id: string; }; fields: { __typename?: "FormField" | undefined; id: string; name: string; label: string; type: string; hint?: string | null | undefined; prefix?: string | null | undefined; suffix?: string | null | undefined; required: boolean; default?: any; }[]; }; }[]; }[] | null | undefined; after(cache: ApolloCache, pages: ReturnType | null): Promise; }; export declare const agency_subscription_plan_Q: { query: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "SubscriptionPlan" | undefined; id: string; name: string; transaction_fees: { __typename?: "TransactionFee" | undefined; id: string; percentage: number; fixed_amount: number; currency: string; transaction_amount_upper_bound: number; data: any; subscription_plan: { __typename?: "SubscriptionPlan" | undefined; id: string; }; }[]; } | undefined; }; export declare const agency_stripe_account_bank_accounts_Q: { query: TypedDocumentNode | undefined; ending_before?: import("@duely/core").InputMaybe | undefined; limit?: import("@duely/core").InputMaybe | undefined; }>>; result: (d: ResultOf) => { __typename?: "BankAccount" | undefined; id: string; account_holder_name?: string | null | undefined; account_holder_type?: string | null | undefined; available_payout_methods?: string[] | null | undefined; bank_name?: string | null | undefined; country: string; currency: string; default_for_currency?: boolean | null | undefined; fingerprint?: string | null | undefined; last4: string; routing_number?: string | null | undefined; status: string; }[] | undefined; }; export declare const agency_stripe_account_invoices_Q: { query: TypedDocumentNode | undefined; status?: import("@duely/core").InputMaybe | undefined; subscription?: import("@duely/core").InputMaybe | undefined; collection_method?: import("@duely/core").InputMaybe | undefined; due_date?: import("@duely/core").InputMaybe | undefined; created?: import("@duely/core").InputMaybe | undefined; starting_after?: import("@duely/core").InputMaybe | undefined; ending_before?: import("@duely/core").InputMaybe | undefined; limit?: import("@duely/core").InputMaybe | undefined; }>>; result: (d: ResultOf) => { __typename?: "Invoice" | undefined; id: string; account_country?: string | null | undefined; account_name?: string | null | undefined; account_tax_ids?: string[] | null | undefined; amount_due: number; amount_paid: number; amount_remaining: number; application_fee_amount?: number | null | undefined; attempt_count: number; attempted: boolean; auto_advance?: boolean | null | undefined; billing_reason?: string | null | undefined; collection_method?: string | null | undefined; created: any; currency: string; customer_email?: string | null | undefined; customer_name?: string | null | undefined; customer_phone?: string | null | undefined; customer_tax_exempt?: string | null | undefined; default_payment_method?: string | null | undefined; description?: string | null | undefined; due_date?: any; ending_balance?: number | null | undefined; footer?: string | null | undefined; hosted_invoice_url?: string | null | undefined; invoice_pdf?: string | null | undefined; livemode: boolean; next_payment_attempt?: any; number?: string | null | undefined; paid: boolean; period_end: any; period_start: any; post_payment_credit_notes_amount: number; pre_payment_credit_notes_amount: number; receipt_number?: string | null | undefined; starting_balance?: number | null | undefined; statement_descriptor?: string | null | undefined; status?: string | null | undefined; subscription_proration_date?: any; subtotal: number; tax?: number | null | undefined; total: number; webhooks_delivered_at?: any; automatic_tax: { __typename?: "InvoiceAutomaticTax" | undefined; enabled: boolean; status?: string | null | undefined; }; charge?: { __typename?: "Charge" | undefined; id: string; } | null | undefined; custom_fields?: { __typename?: "InvoiceCustomField" | undefined; name: string; value: string; }[] | null | undefined; customer?: { __typename?: "StripeCustomer" | undefined; id: string; } | null | undefined; customer_address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; customer_shipping?: { __typename?: "InvoiceCustomerShipping" | undefined; carrier?: string | null | undefined; name?: string | null | undefined; phone?: string | null | undefined; tracking_number?: string | null | undefined; address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; } | null | undefined; customer_tax_ids?: { __typename?: "CustomerTaxId" | undefined; type?: string | null | undefined; value?: string | null | undefined; }[] | null | undefined; discount?: { __typename?: "Discount" | undefined; id: string; checkout_session?: string | null | undefined; end?: any; invoice_item?: string | null | undefined; promotion_code?: string | null | undefined; start: any; subscription?: string | null | undefined; coupon?: { __typename?: "Coupon" | undefined; id: string; } | null | undefined; customer?: { __typename?: "StripeCustomer" | undefined; id: string; } | null | undefined; invoice?: { __typename?: "Invoice" | undefined; id: string; } | null | undefined; } | null | undefined; discounts?: { __typename?: "Discount" | undefined; id: string; checkout_session?: string | null | undefined; end?: any; invoice_item?: string | null | undefined; promotion_code?: string | null | undefined; start: any; subscription?: string | null | undefined; coupon?: { __typename?: "Coupon" | undefined; id: string; } | null | undefined; customer?: { __typename?: "StripeCustomer" | undefined; id: string; } | null | undefined; invoice?: { __typename?: "Invoice" | undefined; id: string; } | null | undefined; }[] | null | undefined; payment_intent?: { __typename?: "PaymentIntent" | undefined; id: string; } | null | undefined; status_transitions?: { __typename?: "InvoiceStatusTransitions" | undefined; finalized_at?: any; marked_uncollectible_at?: any; paid_at?: any; voided_at?: any; } | null | undefined; }[] | undefined; }; export declare const agency_stripe_account_invoiceitems_Q: { query: TypedDocumentNode | undefined; invoice?: import("@duely/core").InputMaybe | undefined; pending?: import("@duely/core").InputMaybe | undefined; created?: import("@duely/core").InputMaybe | undefined; starting_after?: import("@duely/core").InputMaybe | undefined; ending_before?: import("@duely/core").InputMaybe | undefined; limit?: import("@duely/core").InputMaybe | undefined; }>>; result: (d: ResultOf) => { __typename?: "InvoiceItem" | undefined; id: string; amount: number; currency: string; date: any; description?: string | null | undefined; discountable: boolean; livemode: boolean; proration: boolean; quantity: number; unit_amount?: number | null | undefined; unit_amount_decimal?: string | null | undefined; customer?: { __typename?: "StripeCustomer" | undefined; id: string; } | null | undefined; discounts?: { __typename?: "Discount" | undefined; id: string; }[] | null | undefined; invoice?: { __typename?: "Invoice" | undefined; id: string; } | null | undefined; price?: { __typename?: "StripePrice" | undefined; id: string; } | null | undefined; }[] | undefined; }; export declare const invoice_Q: { query: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "Invoice" | undefined; id: string; account_country?: string | null | undefined; account_name?: string | null | undefined; account_tax_ids?: string[] | null | undefined; amount_due: number; amount_paid: number; amount_remaining: number; application_fee_amount?: number | null | undefined; attempt_count: number; attempted: boolean; auto_advance?: boolean | null | undefined; billing_reason?: string | null | undefined; collection_method?: string | null | undefined; created: any; currency: string; customer_email?: string | null | undefined; customer_name?: string | null | undefined; customer_phone?: string | null | undefined; customer_tax_exempt?: string | null | undefined; default_payment_method?: string | null | undefined; description?: string | null | undefined; due_date?: any; ending_balance?: number | null | undefined; footer?: string | null | undefined; hosted_invoice_url?: string | null | undefined; invoice_pdf?: string | null | undefined; livemode: boolean; next_payment_attempt?: any; number?: string | null | undefined; paid: boolean; period_end: any; period_start: any; post_payment_credit_notes_amount: number; pre_payment_credit_notes_amount: number; receipt_number?: string | null | undefined; starting_balance?: number | null | undefined; statement_descriptor?: string | null | undefined; status?: string | null | undefined; subscription_proration_date?: any; subtotal: number; tax?: number | null | undefined; total: number; webhooks_delivered_at?: any; automatic_tax: { __typename?: "InvoiceAutomaticTax" | undefined; enabled: boolean; status?: string | null | undefined; }; charge?: { __typename?: "Charge" | undefined; id: string; } | null | undefined; custom_fields?: { __typename?: "InvoiceCustomField" | undefined; name: string; value: string; }[] | null | undefined; customer?: { __typename?: "StripeCustomer" | undefined; id: string; } | null | undefined; customer_address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; customer_shipping?: { __typename?: "InvoiceCustomerShipping" | undefined; carrier?: string | null | undefined; name?: string | null | undefined; phone?: string | null | undefined; tracking_number?: string | null | undefined; address?: { __typename?: "Address" | undefined; city?: string | null | undefined; country?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; postal_code?: string | null | undefined; state?: string | null | undefined; } | null | undefined; } | null | undefined; customer_tax_ids?: { __typename?: "CustomerTaxId" | undefined; type?: string | null | undefined; value?: string | null | undefined; }[] | null | undefined; discount?: { __typename?: "Discount" | undefined; id: string; checkout_session?: string | null | undefined; end?: any; invoice_item?: string | null | undefined; promotion_code?: string | null | undefined; start: any; subscription?: string | null | undefined; coupon?: { __typename?: "Coupon" | undefined; id: string; } | null | undefined; customer?: { __typename?: "StripeCustomer" | undefined; id: string; } | null | undefined; invoice?: { __typename?: "Invoice" | undefined; id: string; } | null | undefined; } | null | undefined; discounts?: { __typename?: "Discount" | undefined; id: string; checkout_session?: string | null | undefined; end?: any; invoice_item?: string | null | undefined; promotion_code?: string | null | undefined; start: any; subscription?: string | null | undefined; coupon?: { __typename?: "Coupon" | undefined; id: string; } | null | undefined; customer?: { __typename?: "StripeCustomer" | undefined; id: string; } | null | undefined; invoice?: { __typename?: "Invoice" | undefined; id: string; } | null | undefined; }[] | null | undefined; payment_intent?: { __typename?: "PaymentIntent" | undefined; id: string; } | null | undefined; status_transitions?: { __typename?: "InvoiceStatusTransitions" | undefined; finalized_at?: any; marked_uncollectible_at?: any; paid_at?: any; voided_at?: any; } | null | undefined; } | null | undefined; }; export declare const agency_stripe_account_coupons_Q: { query: TypedDocumentNode | undefined; ending_before?: import("@duely/core").InputMaybe | undefined; limit?: import("@duely/core").InputMaybe | undefined; }>>; result: (d: ResultOf) => { __typename?: "Coupon" | undefined; id: string; amount_off?: number | null | undefined; created?: any; currency?: string | null | undefined; duration?: string | null | undefined; duration_in_months?: number | null | undefined; livemode?: boolean | null | undefined; max_redemptions?: number | null | undefined; name?: string | null | undefined; percent_off?: number | null | undefined; redeem_by?: any; times_redeemed?: number | null | undefined; valid?: boolean | null | undefined; applies_to?: { __typename?: "CouponAppliesTo" | undefined; products: string[]; } | null | undefined; }[] | undefined; }; export declare const coupon_Q: { query: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "Coupon" | undefined; id: string; amount_off?: number | null | undefined; created?: any; currency?: string | null | undefined; duration?: string | null | undefined; duration_in_months?: number | null | undefined; livemode?: boolean | null | undefined; max_redemptions?: number | null | undefined; name?: string | null | undefined; percent_off?: number | null | undefined; redeem_by?: any; times_redeemed?: number | null | undefined; valid?: boolean | null | undefined; applies_to?: { __typename?: "CouponAppliesTo" | undefined; products: string[]; } | null | undefined; } | null | undefined; }; export declare const promotion_code_Q: { query: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "PromotionCode" | undefined; id: string; active: boolean; code: string; created: any; expires_at?: any; livemode: boolean; max_redemptions?: number | null | undefined; times_redeemed: number; coupon: { __typename?: "Coupon" | undefined; id: string; amount_off?: number | null | undefined; created?: any; currency?: string | null | undefined; duration?: string | null | undefined; duration_in_months?: number | null | undefined; livemode?: boolean | null | undefined; max_redemptions?: number | null | undefined; name?: string | null | undefined; percent_off?: number | null | undefined; redeem_by?: any; times_redeemed?: number | null | undefined; valid?: boolean | null | undefined; applies_to?: { __typename?: "CouponAppliesTo" | undefined; products: string[]; } | null | undefined; }; customer?: { __typename?: "StripeCustomer" | undefined; id: string; } | null | undefined; restrictions?: { __typename?: "PromotionCodeRestrictions" | undefined; first_time_transaction: boolean; minimum_amount?: number | null | undefined; minimum_amount_currency?: string | null | undefined; } | null | undefined; } | null | undefined; }; export declare const promotion_codes_Q: { query: TypedDocumentNode | undefined; code?: import("@duely/core").InputMaybe | undefined; coupon?: import("@duely/core").InputMaybe | undefined; customer?: import("@duely/core").InputMaybe | undefined; starting_after?: import("@duely/core").InputMaybe | undefined; ending_before?: import("@duely/core").InputMaybe | undefined; limit?: import("@duely/core").InputMaybe | undefined; }>>; result: (d: ResultOf) => { __typename?: "PromotionCode" | undefined; id: string; active: boolean; code: string; created: any; expires_at?: any; livemode: boolean; max_redemptions?: number | null | undefined; times_redeemed: number; coupon: { __typename?: "Coupon" | undefined; id: string; amount_off?: number | null | undefined; created?: any; currency?: string | null | undefined; duration?: string | null | undefined; duration_in_months?: number | null | undefined; livemode?: boolean | null | undefined; max_redemptions?: number | null | undefined; name?: string | null | undefined; percent_off?: number | null | undefined; redeem_by?: any; times_redeemed?: number | null | undefined; valid?: boolean | null | undefined; applies_to?: { __typename?: "CouponAppliesTo" | undefined; products: string[]; } | null | undefined; }; customer?: { __typename?: "StripeCustomer" | undefined; id: string; } | null | undefined; restrictions?: { __typename?: "PromotionCodeRestrictions" | undefined; first_time_transaction: boolean; minimum_amount?: number | null | undefined; minimum_amount_currency?: string | null | undefined; } | null | undefined; }[]; }; export declare const page_Q: { query: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "Page" | undefined; id: string; url_path: string; access: import("@duely/core").AccessLevel; agency: { __typename?: "Agency" | undefined; id: string; }; product?: { __typename?: "Product" | undefined; id: string; } | null | undefined; definition: { __typename?: "PageDefinition" | undefined; id: string; name: string; url_path: string; }; blocks: { __typename?: "PageBlock" | undefined; id: string; data: any; page: { __typename?: "Page" | undefined; id: string; }; definition: { __typename?: "PageBlockDefinition" | undefined; id: string; name: string; page: { __typename?: "PageDefinition" | undefined; id: string; }; fields: { __typename?: "FormField" | undefined; id: string; name: string; label: string; type: string; hint?: string | null | undefined; prefix?: string | null | undefined; suffix?: string | null | undefined; required: boolean; default?: any; }[]; }; }[]; } | null | undefined; }; export declare const page_by_url_Q: { query: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "Page" | undefined; id: string; url_path: string; access: import("@duely/core").AccessLevel; agency: { __typename?: "Agency" | undefined; id: string; }; product?: { __typename?: "Product" | undefined; id: string; } | null | undefined; definition: { __typename?: "PageDefinition" | undefined; id: string; name: string; url_path: string; }; blocks: { __typename?: "PageBlock" | undefined; id: string; data: any; page: { __typename?: "Page" | undefined; id: string; }; definition: { __typename?: "PageBlockDefinition" | undefined; id: string; name: string; page: { __typename?: "PageDefinition" | undefined; id: string; }; fields: { __typename?: "FormField" | undefined; id: string; name: string; label: string; type: string; hint?: string | null | undefined; prefix?: string | null | undefined; suffix?: string | null | undefined; required: boolean; default?: any; }[]; }; }[]; } | null | undefined; }; export declare const page_block_Q: { query: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "PageBlock" | undefined; id: string; data: any; page: { __typename?: "Page" | undefined; id: string; }; definition: { __typename?: "PageBlockDefinition" | undefined; id: string; name: string; page: { __typename?: "PageDefinition" | undefined; id: string; }; fields: { __typename?: "FormField" | undefined; id: string; name: string; label: string; type: string; hint?: string | null | undefined; prefix?: string | null | undefined; suffix?: string | null | undefined; required: boolean; default?: any; }[]; }; } | null | undefined; }; export declare const page_definition_Q: { query: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "PageDefinition" | undefined; id: string; name: string; url_path: string; } | null | undefined; }; export declare const page_block_definition_Q: { query: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "PageBlockDefinition" | undefined; id: string; name: string; page: { __typename?: "PageDefinition" | undefined; id: string; }; fields: { __typename?: "FormField" | undefined; id: string; name: string; label: string; type: string; hint?: string | null | undefined; prefix?: string | null | undefined; suffix?: string | null | undefined; required: boolean; default?: any; }[]; } | null | undefined; }; export declare const page_definition_by_name_Q: { query: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "PageDefinition" | undefined; id: string; name: string; url_path: string; } | undefined; }; export declare const page_definition_by_url_path_Q: { query: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "PageDefinition" | undefined; id: string; name: string; url_path: string; } | null | undefined; }; export declare const page_block_definition_by_name_Q: { query: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "PageBlockDefinition" | undefined; id: string; name: string; page: { __typename?: "PageDefinition" | undefined; id: string; }; fields: { __typename?: "FormField" | undefined; id: string; name: string; label: string; type: string; hint?: string | null | undefined; prefix?: string | null | undefined; suffix?: string | null | undefined; required: boolean; default?: any; }[]; } | undefined; }; export declare const calculate_transaction_fee_Q: { query: TypedDocumentNode>; result: (d: ResultOf) => number | undefined; }; export {};