import { ApolloCache, MutationOptions, NormalizedCacheObject } from '@apollo/client'; import { CancelSubscriptionDocument, CreateAgencyDocument, CreateBankAccountDocument, CreateCouponDocument, CreateCredentialDocument, CreateCustomerDocument, CreateImageDocument, CreateIntegrationConfigDocument, CreateIntegrationDocument, CreateInvoiceDocument, CreateInvoiceItemDocument, CreatePageBlockDocument, CreatePriceDocument, CreateProductDocument, CreatePromotionCodeDocument, CreateSubscriptionDocument, DeleteBankAccountDocument, DeleteCouponDocument, DeleteCustomerDocument, DeleteInvoiceDocument, DeleteInvoiceItemDocument, DeletePageBlockDocument, DeleteProductDocument, FinalizeInvoiceDocument, LogInDocument, LogOutDocument, MarkInvoiceUncollectibleDocument, StartPasswordResetDocument, StartSignUpDocument, UpdateAgencyDocument, UpdateAgencySettingsDocument, UpdateBankAccountDocument, UpdateCouponDocument, UpdateCredentialDocument, UpdateCustomerDocument, UpdateImageDocument, UpdateIntegrationConfigDocument, UpdateIntegrationDocument, UpdateInvoiceDocument, UpdateInvoiceItemDocument, UpdatePageBlockDocument, UpdatePageDocument, UpdateProductDocument, UpdateProductSettingsDocument, UpdatePromotionCodeDocument, UpdateThemeDocument, VerifyPasswordResetDocument, VerifySignUpDocument, VoidInvoiceDocument } from '@duely/core'; import { ResultOf, TypedDocumentNode, VariablesOf } from '@graphql-typed-document-node/core'; export interface TypedMutationOptions> extends MutationOptions, VariablesOf> { mutation: TDocumentNode; } export interface MutationDefinition extends Omit>, 'variables'> { readonly variables?: TBoundVariables; readonly result: (data: TData) => TResult; readonly after?: (cache: ApolloCache, res: TResult | null, variables: TVariables) => Promise; } export declare function mutate(mutationDef: MutationDefinition, variables: Omit, options?: Omit>, 'mutation' | 'variables'>): Promise | null | undefined>; declare const log_in_R: (d: ResultOf) => { __typename?: "LogInResult" | undefined; success: boolean; message?: string | null | undefined; jwt?: string | null | undefined; }; export declare const log_in_M: { mutation: TypedDocumentNode | undefined; }>>; result: (d: ResultOf) => { __typename?: "LogInResult" | undefined; success: boolean; message?: string | null | undefined; jwt?: string | null | undefined; }; after(cache: ApolloCache, result: ReturnType | null): Promise; }; declare const log_out_R: (d: ResultOf) => { __typename?: "SimpleResult" | undefined; success: boolean; message?: string | null | undefined; }; export declare const log_out_M: { mutation: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "SimpleResult" | undefined; success: boolean; message?: string | null | undefined; }; after(cache: ApolloCache, result: ReturnType | null): Promise; }; export declare const verify_password_reset_M: { mutation: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "SimpleResult" | undefined; success: boolean; message?: string | null | undefined; }; }; export declare const verify_sign_up_M: { mutation: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "SimpleResult" | undefined; success: boolean; message?: string | null | undefined; }; }; export declare const start_password_reset_M: { mutation: TypedDocumentNode | undefined; }>>; result: (d: ResultOf) => { __typename?: "SimpleResult" | undefined; success: boolean; message?: string | null | undefined; }; }; export declare const start_sign_up_M: { mutation: TypedDocumentNode | undefined; recaptcha_token?: import("@duely/core").InputMaybe | undefined; }>>; result: (d: ResultOf) => { __typename?: "SimpleResult" | undefined; success: boolean; message?: string | null | undefined; }; }; export declare const create_agency_M: { mutation: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "CreateAgencyResult" | undefined; stripe_verification_url?: string | null | undefined; message?: string | null | undefined; success: boolean; agency?: { __typename?: "Agency" | undefined; id: string; name: string; subdomain: { __typename?: "Subdomain" | undefined; id: string; name: string; }; } | null | undefined; }; }; export declare const update_agency_M: { mutation: TypedDocumentNode | undefined; }>>; result: (d: ResultOf) => { __typename?: "AgencyMutationResult" | undefined; message?: string | null | undefined; success: boolean; agency?: { __typename?: "Agency" | undefined; id: string; name: string; default_pricing_currency?: string | null | undefined; } | null | undefined; }; }; export declare const update_theme_M: { mutation: TypedDocumentNode | undefined; image_hero_id?: import("@duely/core").InputMaybe | undefined; color_primary?: import("@duely/core").InputMaybe | undefined; color_secondary?: import("@duely/core").InputMaybe | undefined; color_accent?: import("@duely/core").InputMaybe | undefined; color_background?: import("@duely/core").InputMaybe | undefined; color_surface?: import("@duely/core").InputMaybe | undefined; color_error?: import("@duely/core").InputMaybe | undefined; color_success?: import("@duely/core").InputMaybe | undefined; }>>; result: (d: ResultOf) => { __typename?: "UpdateThemeResult" | undefined; message?: string | null | undefined; success: boolean; 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 create_image_M: { mutation: TypedDocumentNode | undefined; name: string; data: string; color: string; access?: import("@duely/core").InputMaybe | undefined; }>>; result: (d: ResultOf) => { __typename?: "ImageMutationResult" | undefined; success: boolean; message?: string | null | undefined; image?: { __typename?: "Image" | undefined; id: string; name: string; color: string; data: string; access: import("@duely/core").AccessLevel; } | null | undefined; }; }; export declare const update_image_M: { mutation: TypedDocumentNode | undefined; data?: import("@duely/core").InputMaybe | undefined; color?: import("@duely/core").InputMaybe | undefined; access?: import("@duely/core").InputMaybe | undefined; }>>; result: (d: ResultOf) => { __typename?: "ImageMutationResult" | undefined; success: boolean; message?: string | null | undefined; image?: { __typename?: "Image" | undefined; id: string; name: string; color: string; data: string; access: import("@duely/core").AccessLevel; } | null | undefined; }; }; declare const create_bank_account_R: (d: ResultOf) => { __typename?: "BankAccountMutationResult" | undefined; success: boolean; message?: string | null | undefined; bank_account?: { __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; } | null | undefined; }; export declare const create_bank_account_M: { mutation: TypedDocumentNode | undefined; account_holder_type?: import("@duely/core").InputMaybe | undefined; routing_number?: import("@duely/core").InputMaybe | undefined; default_for_currency?: import("@duely/core").InputMaybe | undefined; }>>; result: (d: ResultOf) => { __typename?: "BankAccountMutationResult" | undefined; success: boolean; message?: string | null | undefined; bank_account?: { __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; } | null | undefined; }; after(cache: ApolloCache, result: ReturnType | null): Promise; }; export declare const update_bank_account_M: { mutation: TypedDocumentNode | undefined; account_holder_type?: import("@duely/core").InputMaybe | undefined; default_for_currency?: import("@duely/core").InputMaybe | undefined; }>>; result: (d: ResultOf) => { __typename?: "BankAccountMutationResult" | undefined; success: boolean; message?: string | null | undefined; bank_account?: { __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; } | null | undefined; }; }; declare const delete_bank_account_R: (d: ResultOf) => { __typename?: "BankAccountMutationResult" | undefined; success: boolean; message?: string | null | undefined; bank_account?: { __typename?: "BankAccount" | undefined; id: string; } | null | undefined; }; export declare const delete_bank_account_M: { mutation: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "BankAccountMutationResult" | undefined; success: boolean; message?: string | null | undefined; bank_account?: { __typename?: "BankAccount" | undefined; id: string; } | null | undefined; }; after(cache: ApolloCache, result: ReturnType | null): Promise; }; declare const create_coupon_R: (d: ResultOf) => { __typename?: "CouponMutationResult" | undefined; success: boolean; message?: string | null | undefined; 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; } | null | undefined; }; export declare const create_coupon_M: { mutation: TypedDocumentNode | undefined; currency?: import("@duely/core").InputMaybe | undefined; percent_off?: import("@duely/core").InputMaybe | undefined; duration?: import("@duely/core").InputMaybe | undefined; duration_in_months?: import("@duely/core").InputMaybe | undefined; name?: import("@duely/core").InputMaybe | undefined; id?: import("@duely/core").InputMaybe | undefined; applies_to?: import("@duely/core").InputMaybe | undefined; max_redemptions?: import("@duely/core").InputMaybe | undefined; redeem_by?: import("@duely/core").InputMaybe | undefined; }>>; result: (d: ResultOf) => { __typename?: "CouponMutationResult" | undefined; success: boolean; message?: string | null | undefined; 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; } | null | undefined; }; after(cache: ApolloCache, result: ReturnType | null): Promise; }; export declare const update_coupon_M: { mutation: TypedDocumentNode | undefined; }>>; result: (d: ResultOf) => { __typename?: "CouponMutationResult" | undefined; success: boolean; message?: string | null | undefined; 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; } | null | undefined; }; }; declare const delete_coupon_R: (d: ResultOf) => { __typename?: "CouponMutationResult" | undefined; success: boolean; message?: string | null | undefined; coupon?: { __typename?: "Coupon" | undefined; id: string; } | null | undefined; }; export declare const delete_coupon_M: { mutation: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "CouponMutationResult" | undefined; success: boolean; message?: string | null | undefined; coupon?: { __typename?: "Coupon" | undefined; id: string; } | null | undefined; }; after(cache: ApolloCache, result: ReturnType | null): Promise; }; declare const create_promotion_code_R: (d: ResultOf) => { __typename?: "PromotionCodeMutationResult" | undefined; success: boolean; message?: string | null | undefined; promotion_code?: { __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 create_promotion_code_M: { mutation: TypedDocumentNode | undefined; code?: import("@duely/core").InputMaybe | undefined; customer?: import("@duely/core").InputMaybe | undefined; expires_at?: import("@duely/core").InputMaybe | undefined; max_redemptions?: import("@duely/core").InputMaybe | undefined; restrictions?: import("@duely/core").InputMaybe | undefined; }>>; result: (d: ResultOf) => { __typename?: "PromotionCodeMutationResult" | undefined; success: boolean; message?: string | null | undefined; promotion_code?: { __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; }; after(cache: ApolloCache, result: ReturnType | null): Promise; }; export declare const update_promotion_code_M: { mutation: TypedDocumentNode | undefined; }>>; result: (d: ResultOf) => { __typename?: "PromotionCodeMutationResult" | undefined; success: boolean; message?: string | null | undefined; promotion_code?: { __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; }; }; declare const create_subscription_R: (d: ResultOf) => { __typename?: "SubscriptionMutationResult" | undefined; success: boolean; message?: string | 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; 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; }; export declare const create_subscription_M: { mutation: TypedDocumentNode | undefined; default_payment_method?: import("@duely/core").InputMaybe | undefined; payment_behaviour?: import("@duely/core").InputMaybe | undefined; backdate_start_date?: import("@duely/core").InputMaybe | undefined; billing_cycle_anchor?: import("@duely/core").InputMaybe | undefined; cancel_at?: import("@duely/core").InputMaybe | undefined; collection_method?: import("@duely/core").InputMaybe | undefined; coupon?: import("@duely/core").InputMaybe | undefined; days_until_due?: import("@duely/core").InputMaybe | undefined; default_source?: import("@duely/core").InputMaybe | undefined; promotion_code?: import("@duely/core").InputMaybe | undefined; proration_behaviour?: import("@duely/core").InputMaybe | undefined; trial_end?: import("@duely/core").InputMaybe | undefined; trial_from_plan?: import("@duely/core").InputMaybe | undefined; trial_period_days?: import("@duely/core").InputMaybe | undefined; }>>; result: (d: ResultOf) => { __typename?: "SubscriptionMutationResult" | undefined; success: boolean; message?: string | 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; 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; }; after(cache: ApolloCache, result: ReturnType | null): Promise; }; export declare const cancel_subscription_M: { mutation: TypedDocumentNode | undefined; cancel_at?: import("@duely/core").InputMaybe | undefined; invoice_now?: import("@duely/core").InputMaybe | undefined; prorate?: import("@duely/core").InputMaybe | undefined; }>>; result: (d: ResultOf) => { __typename?: "SubscriptionMutationResult" | undefined; success: boolean; message?: string | 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; 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; }; }; declare const create_invoice_R: (d: ResultOf) => { __typename?: "InvoiceMutationResult" | undefined; success: boolean; message?: string | null | undefined; 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; }; export declare const create_invoice_M: { mutation: TypedDocumentNode | undefined; collection_method?: import("@duely/core").InputMaybe | undefined; description?: import("@duely/core").InputMaybe | undefined; footer?: import("@duely/core").InputMaybe | undefined; subscription?: import("@duely/core").InputMaybe | undefined; days_until_due?: import("@duely/core").InputMaybe | undefined; default_payment_method?: import("@duely/core").InputMaybe | undefined; default_source?: import("@duely/core").InputMaybe | undefined; due_date?: import("@duely/core").InputMaybe | undefined; currency?: import("@duely/core").InputMaybe | undefined; items?: import("@duely/core").InputMaybe | undefined; }>>; result: (d: ResultOf) => { __typename?: "InvoiceMutationResult" | undefined; success: boolean; message?: string | null | undefined; 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; }; after(cache: ApolloCache, result: ReturnType | null): Promise; }; export declare const update_invoice_M: { mutation: TypedDocumentNode | undefined; collection_method?: import("@duely/core").InputMaybe | undefined; description?: import("@duely/core").InputMaybe | undefined; footer?: import("@duely/core").InputMaybe | undefined; subscription?: import("@duely/core").InputMaybe | undefined; days_until_due?: import("@duely/core").InputMaybe | undefined; default_payment_method?: import("@duely/core").InputMaybe | undefined; default_source?: import("@duely/core").InputMaybe | undefined; due_date?: import("@duely/core").InputMaybe | undefined; }>>; result: (d: ResultOf) => { __typename?: "InvoiceMutationResult" | undefined; success: boolean; message?: string | null | undefined; 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; }; }; declare const delete_invoice_R: (d: ResultOf) => { __typename?: "InvoiceMutationResult" | undefined; success: boolean; message?: string | null | undefined; invoice?: { __typename?: "Invoice" | undefined; id: string; } | null | undefined; }; export declare const delete_invoice_M: { mutation: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "InvoiceMutationResult" | undefined; success: boolean; message?: string | null | undefined; invoice?: { __typename?: "Invoice" | undefined; id: string; } | null | undefined; }; after(cache: ApolloCache, result: ReturnType | null): Promise; }; export declare const void_invoice_M: { mutation: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "InvoiceMutationResult" | undefined; success: boolean; message?: string | null | undefined; invoice?: { __typename?: "Invoice" | undefined; id: string; } | null | undefined; }; }; export declare const finalize_invoice_M: { mutation: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "InvoiceMutationResult" | undefined; success: boolean; message?: string | null | undefined; invoice?: { __typename?: "Invoice" | undefined; id: string; } | null | undefined; }; }; export declare const mark_invoice_uncollectible_M: { mutation: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "InvoiceMutationResult" | undefined; success: boolean; message?: string | null | undefined; invoice?: { __typename?: "Invoice" | undefined; id: string; } | null | undefined; }; }; declare const create_invoiceitem_R: (d: ResultOf) => { __typename?: "InvoiceItemMutationResult" | undefined; success: boolean; message?: string | null | undefined; invoiceitem?: { __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; } | null | undefined; }; export declare const create_invoiceitem_M: { mutation: TypedDocumentNode | undefined; amount?: import("@duely/core").InputMaybe | undefined; currency?: import("@duely/core").InputMaybe | undefined; description?: import("@duely/core").InputMaybe | undefined; period?: import("@duely/core").InputMaybe | undefined; price?: import("@duely/core").InputMaybe | undefined; discountable?: import("@duely/core").InputMaybe | undefined; quantity?: import("@duely/core").InputMaybe | undefined; unit_amount?: import("@duely/core").InputMaybe | undefined; unit_amount_decimal?: import("@duely/core").InputMaybe | undefined; }>>; result: (d: ResultOf) => { __typename?: "InvoiceItemMutationResult" | undefined; success: boolean; message?: string | null | undefined; invoiceitem?: { __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; } | null | undefined; }; after(cache: ApolloCache, result: ReturnType | null): Promise; }; export declare const update_invoiceitem_M: { mutation: TypedDocumentNode | undefined; description?: import("@duely/core").InputMaybe | undefined; period?: import("@duely/core").InputMaybe | undefined; price?: import("@duely/core").InputMaybe | undefined; discountable?: import("@duely/core").InputMaybe | undefined; quantity?: import("@duely/core").InputMaybe | undefined; unit_amount?: import("@duely/core").InputMaybe | undefined; unit_amount_decimal?: import("@duely/core").InputMaybe | undefined; }>>; result: (d: ResultOf) => { __typename?: "InvoiceItemMutationResult" | undefined; success: boolean; message?: string | null | undefined; invoiceitem?: { __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; } | null | undefined; }; }; declare const delete_invoiceitem_R: (d: ResultOf) => { __typename?: "InvoiceItemMutationResult" | undefined; success: boolean; message?: string | null | undefined; invoiceitem?: { __typename?: "InvoiceItem" | undefined; id: string; } | null | undefined; }; export declare const delete_invoiceitem_M: { mutation: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "InvoiceItemMutationResult" | undefined; success: boolean; message?: string | null | undefined; invoiceitem?: { __typename?: "InvoiceItem" | undefined; id: string; } | null | undefined; }; after(cache: ApolloCache, result: ReturnType | null): Promise; }; declare const create_product_R: (d: ResultOf) => { __typename?: "ProductMutationResult" | undefined; success: boolean; message?: string | 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 create_product_M: { mutation: TypedDocumentNode | undefined; image_logo?: import("@duely/core").InputMaybe | undefined; image_hero?: import("@duely/core").InputMaybe | undefined; status?: import("@duely/core").InputMaybe | undefined; }>>; result: (d: ResultOf) => { __typename?: "ProductMutationResult" | undefined; success: boolean; message?: string | 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, result: ReturnType | null): Promise; }; export declare const update_product_M: { mutation: TypedDocumentNode | undefined; description?: import("@duely/core").InputMaybe | undefined; url_name?: import("@duely/core").InputMaybe | undefined; duration?: import("@duely/core").InputMaybe | undefined; default_price_id?: import("@duely/core").InputMaybe | undefined; image_logo?: import("@duely/core").InputMaybe | undefined; image_hero?: import("@duely/core").InputMaybe | undefined; status?: import("@duely/core").InputMaybe | undefined; }>>; result: (d: ResultOf) => { __typename?: "ProductMutationResult" | undefined; success: boolean; message?: string | 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 delete_product_R: (d: ResultOf) => { __typename?: "ProductMutationResult" | undefined; success: boolean; message?: string | null | undefined; product?: { __typename?: "Product" | undefined; id: string; } | null | undefined; }; export declare const delete_product_M: { mutation: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "ProductMutationResult" | undefined; success: boolean; message?: string | null | undefined; product?: { __typename?: "Product" | undefined; id: string; } | null | undefined; }; after(cache: ApolloCache, result: ReturnType | null): Promise; }; declare const create_customer_R: (d: ResultOf) => { __typename?: "CustomerMutationResult" | undefined; success: boolean; message?: string | null | undefined; customer?: { __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 create_customer_M: { mutation: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "CustomerMutationResult" | undefined; success: boolean; message?: string | null | undefined; customer?: { __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, result: ReturnType | null): Promise; }; export declare const update_customer_M: { mutation: TypedDocumentNode | undefined; email_address?: import("@duely/core").InputMaybe | undefined; }>>; result: (d: ResultOf) => { __typename?: "CustomerMutationResult" | undefined; success: boolean; message?: string | null | undefined; customer?: { __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; }; }; declare const delete_customer_R: (d: ResultOf) => { __typename?: "CustomerMutationResult" | undefined; success: boolean; message?: string | null | undefined; customer?: { __typename?: "Customer" | undefined; id: string; } | null | undefined; }; export declare const delete_customer_M: { mutation: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "CustomerMutationResult" | undefined; success: boolean; message?: string | null | undefined; customer?: { __typename?: "Customer" | undefined; id: string; } | null | undefined; }; after(cache: ApolloCache, result: ReturnType | null): Promise; }; export declare const create_price_M: { mutation: TypedDocumentNode | undefined; recurring_interval_count?: import("@duely/core").InputMaybe | undefined; status?: import("@duely/core").InputMaybe | undefined; }>>; result: (d: ResultOf) => { __typename?: "PriceMutationResult" | undefined; success: boolean; message?: string | null | undefined; 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; }; }; export declare const update_agency_settings_M: { mutation: TypedDocumentNode | undefined; checkout_cancel_url?: import("@duely/core").InputMaybe | undefined; }>>; result: (d: ResultOf) => { __typename?: "AgencySettingsMutationResult" | undefined; success: boolean; message?: string | null | undefined; setting?: { __typename?: "AgencySettings" | undefined; id: string; checkout_success_url?: string | null | undefined; checkout_cancel_url?: string | null | undefined; } | null | undefined; }; }; export declare const update_product_settings_M: { mutation: TypedDocumentNode | undefined; checkout_cancel_url?: import("@duely/core").InputMaybe | undefined; }>>; result: (d: ResultOf) => { __typename?: "ProductSettingsMutationResult" | undefined; success: boolean; message?: string | null | undefined; setting?: { __typename?: "ProductSettings" | undefined; id: string; checkout_success_url?: string | null | undefined; checkout_cancel_url?: string | null | undefined; } | null | undefined; }; }; export declare const update_page_M: { mutation: TypedDocumentNode | undefined; }>>; result: (d: ResultOf) => { __typename?: "PageMutationResult" | undefined; success: boolean; message?: string | null | undefined; page?: { __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; }; }; declare const create_page_block_R: (d: ResultOf) => { __typename?: "PageBlockMutationResult" | undefined; success: boolean; message?: string | null | undefined; page_block?: { __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 create_page_block_M: { mutation: TypedDocumentNode | undefined; }>>; result: (d: ResultOf) => { __typename?: "PageBlockMutationResult" | undefined; success: boolean; message?: string | null | undefined; page_block?: { __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, result: ReturnType | null): Promise; }; export declare const update_page_block_M: { mutation: TypedDocumentNode | undefined; }>>; result: (d: ResultOf) => { __typename?: "PageBlockMutationResult" | undefined; success: boolean; message?: string | null | undefined; page_block?: { __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; }; }; declare const delete_page_block_R: (d: ResultOf) => { __typename?: "PageBlockMutationResult" | undefined; success: boolean; message?: string | null | undefined; page_block?: { __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 delete_page_block_M: { mutation: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "PageBlockMutationResult" | undefined; success: boolean; message?: string | null | undefined; page_block?: { __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, result: ReturnType | null): Promise; }; export declare const create_credential_M: { mutation: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "CredentialMutationResult" | undefined; success: boolean; message?: string | null | undefined; credential?: { __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 update_credential_M: { mutation: TypedDocumentNode>; result: (d: ResultOf) => { __typename?: "CredentialMutationResult" | undefined; success: boolean; message?: string | null | undefined; credential?: { __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 create_integration_M: { mutation: TypedDocumentNode | undefined; product_id?: import("@duely/core").InputMaybe | undefined; integration_config_id?: import("@duely/core").InputMaybe | undefined; data: any; }>>; result: (d: ResultOf) => { __typename?: "IntegrationMutationResult" | undefined; success: boolean; message?: string | null | undefined; integration?: { __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 update_integration_M: { mutation: TypedDocumentNode | undefined; data: any; }>>; result: (d: ResultOf) => { __typename?: "IntegrationMutationResult" | undefined; success: boolean; message?: string | null | undefined; integration?: { __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 create_integration_config_M: { mutation: TypedDocumentNode | undefined; name: string; data: any; }>>; result: (d: ResultOf) => { __typename?: "IntegrationConfigMutationResult" | undefined; success: boolean; message?: string | null | undefined; integration_config?: { __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 update_integration_config_M: { mutation: TypedDocumentNode | undefined; credential_id?: import("@duely/core").InputMaybe | undefined; data: any; }>>; result: (d: ResultOf) => { __typename?: "IntegrationConfigMutationResult" | undefined; success: boolean; message?: string | null | undefined; integration_config?: { __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 {};