Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

23.3 KB
Raw Blame
/* eslint-disable */

// @ts-nocheck

// noinspection JSUnusedGlobalSymbols

// This file was automatically generated by TanStack Router.
// You should NOT make any changes in this file as it will be overwritten.
// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.

import { Route as rootRouteImport } from './routes/__root'
import { Route as authenticatedRouteImport } from './routes/_authenticated'
import { Route as forgotPasswordRouteImport } from './routes/forgot-password'
import { Route as loginRouteImport } from './routes/login'
import { Route as resetPasswordRouteImport } from './routes/reset-password'
import { Route as authenticatedIndexRouteImport } from './routes/_authenticated/index'
import { Route as authenticatedSellerIdRouteImport } from './routes/_authenticated/$sellerId'
import { Route as acceptInvitationDotinvitationIdRouteImport } from './routes/accept-invitation.$invitationId'
import { Route as IndexRouteImport } from './routes/_authenticated/$sellerId/index'
import { Route as OnboardingRouteImport } from './routes/_authenticated/$sellerId/onboarding'
import { Route as ProfileRouteImport } from './routes/_authenticated/$sellerId/profile'
import { Route as SettingsRouteImport } from './routes/_authenticated/$sellerId/settings'
import { Route as EarningsIndexRouteImport } from './routes/_authenticated/$sellerId/earnings/index'
import { Route as OrdersIndexRouteImport } from './routes/_authenticated/$sellerId/orders/index'
import { Route as OrdersOrderIdRouteImport } from './routes/_authenticated/$sellerId/orders/$orderId'
import { Route as PayoutsIndexRouteImport } from './routes/_authenticated/$sellerId/payouts/index'
import { Route as PayoutsPayoutIdRouteImport } from './routes/_authenticated/$sellerId/payouts/$payoutId'
import { Route as ProductsIndexRouteImport } from './routes/_authenticated/$sellerId/products/index'
import { Route as ProductsProductIdRouteImport } from './routes/_authenticated/$sellerId/products/$productId'
import { Route as ProductsNewRouteImport } from './routes/_authenticated/$sellerId/products/new'
import { Route as SettingsIndexRouteImport } from './routes/_authenticated/$sellerId/settings/index'
import { Route as SettingsDeliveryMethodsRouteImport } from './routes/_authenticated/$sellerId/settings/delivery-methods'
import { Route as SettingsPackageTypesRouteImport } from './routes/_authenticated/$sellerId/settings/package-types'
import { Route as SettingsPoliciesRouteImport } from './routes/_authenticated/$sellerId/settings/policies'
import { Route as SettingsStockLocationsRouteImport } from './routes/_authenticated/$sellerId/settings/stock-locations'
import { Route as SettingsTeamRouteImport } from './routes/_authenticated/$sellerId/settings/team'

const authenticatedRoute = authenticatedRouteImport.update({
  id: '/_authenticated',
  getParentRoute: () => rootRouteImport,
} as any)
const forgotPasswordRoute = forgotPasswordRouteImport.update({
  id: '/forgot-password',
  path: '/forgot-password',
  getParentRoute: () => rootRouteImport,
} as any)
const loginRoute = loginRouteImport.update({
  id: '/login',
  path: '/login',
  getParentRoute: () => rootRouteImport,
} as any)
const resetPasswordRoute = resetPasswordRouteImport.update({
  id: '/reset-password',
  path: '/reset-password',
  getParentRoute: () => rootRouteImport,
} as any)
const authenticatedIndexRoute = authenticatedIndexRouteImport.update({
  id: '/',
  path: '/',
  getParentRoute: () => authenticatedRoute,
} as any)
const authenticatedSellerIdRoute = authenticatedSellerIdRouteImport.update({
  id: '/$sellerId',
  path: '/$sellerId',
  getParentRoute: () => authenticatedRoute,
} as any)
const acceptInvitationDotinvitationIdRoute =
  acceptInvitationDotinvitationIdRouteImport.update({
    id: '/accept-invitation/$invitationId',
    path: '/accept-invitation/$invitationId',
    getParentRoute: () => rootRouteImport,
  } as any)
const IndexRoute = IndexRouteImport.update({
  id: '/',
  path: '/',
  getParentRoute: () => authenticatedSellerIdRoute,
} as any)
const OnboardingRoute = OnboardingRouteImport.update({
  id: '/onboarding',
  path: '/onboarding',
  getParentRoute: () => authenticatedSellerIdRoute,
} as any)
const ProfileRoute = ProfileRouteImport.update({
  id: '/profile',
  path: '/profile',
  getParentRoute: () => authenticatedSellerIdRoute,
} as any)
const SettingsRoute = SettingsRouteImport.update({
  id: '/settings',
  path: '/settings',
  getParentRoute: () => authenticatedSellerIdRoute,
} as any)
const EarningsIndexRoute = EarningsIndexRouteImport.update({
  id: '/earnings/',
  path: '/earnings/',
  getParentRoute: () => authenticatedSellerIdRoute,
} as any)
const OrdersIndexRoute = OrdersIndexRouteImport.update({
  id: '/orders/',
  path: '/orders/',
  getParentRoute: () => authenticatedSellerIdRoute,
} as any)
const OrdersOrderIdRoute = OrdersOrderIdRouteImport.update({
  id: '/orders/$orderId',
  path: '/orders/$orderId',
  getParentRoute: () => authenticatedSellerIdRoute,
} as any)
const PayoutsIndexRoute = PayoutsIndexRouteImport.update({
  id: '/payouts/',
  path: '/payouts/',
  getParentRoute: () => authenticatedSellerIdRoute,
} as any)
const PayoutsPayoutIdRoute = PayoutsPayoutIdRouteImport.update({
  id: '/payouts/$payoutId',
  path: '/payouts/$payoutId',
  getParentRoute: () => authenticatedSellerIdRoute,
} as any)
const ProductsIndexRoute = ProductsIndexRouteImport.update({
  id: '/products/',
  path: '/products/',
  getParentRoute: () => authenticatedSellerIdRoute,
} as any)
const ProductsProductIdRoute = ProductsProductIdRouteImport.update({
  id: '/products/$productId',
  path: '/products/$productId',
  getParentRoute: () => authenticatedSellerIdRoute,
} as any)
const ProductsNewRoute = ProductsNewRouteImport.update({
  id: '/products/new',
  path: '/products/new',
  getParentRoute: () => authenticatedSellerIdRoute,
} as any)
const SettingsIndexRoute = SettingsIndexRouteImport.update({
  id: '/',
  path: '/',
  getParentRoute: () => SettingsRoute,
} as any)
const SettingsDeliveryMethodsRoute = SettingsDeliveryMethodsRouteImport.update({
  id: '/delivery-methods',
  path: '/delivery-methods',
  getParentRoute: () => SettingsRoute,
} as any)
const SettingsPackageTypesRoute = SettingsPackageTypesRouteImport.update({
  id: '/package-types',
  path: '/package-types',
  getParentRoute: () => SettingsRoute,
} as any)
const SettingsPoliciesRoute = SettingsPoliciesRouteImport.update({
  id: '/policies',
  path: '/policies',
  getParentRoute: () => SettingsRoute,
} as any)
const SettingsStockLocationsRoute = SettingsStockLocationsRouteImport.update({
  id: '/stock-locations',
  path: '/stock-locations',
  getParentRoute: () => SettingsRoute,
} as any)
const SettingsTeamRoute = SettingsTeamRouteImport.update({
  id: '/team',
  path: '/team',
  getParentRoute: () => SettingsRoute,
} as any)

export interface FileRoutesByFullPath {
  '/': typeof authenticatedIndexRoute
  '/forgot-password': typeof forgotPasswordRoute
  '/login': typeof loginRoute
  '/reset-password': typeof resetPasswordRoute
  '/$sellerId': typeof authenticatedSellerIdRouteWithChildren
  '/accept-invitation/$invitationId': typeof acceptInvitationDotinvitationIdRoute
  '/$sellerId/onboarding': typeof OnboardingRoute
  '/$sellerId/profile': typeof ProfileRoute
  '/$sellerId/settings': typeof SettingsRouteWithChildren
  '/$sellerId/': typeof IndexRoute
  '/$sellerId/orders/$orderId': typeof OrdersOrderIdRoute
  '/$sellerId/payouts/$payoutId': typeof PayoutsPayoutIdRoute
  '/$sellerId/products/$productId': typeof ProductsProductIdRoute
  '/$sellerId/products/new': typeof ProductsNewRoute
  '/$sellerId/settings/delivery-methods': typeof SettingsDeliveryMethodsRoute
  '/$sellerId/settings/package-types': typeof SettingsPackageTypesRoute
  '/$sellerId/settings/policies': typeof SettingsPoliciesRoute
  '/$sellerId/settings/stock-locations': typeof SettingsStockLocationsRoute
  '/$sellerId/settings/team': typeof SettingsTeamRoute
  '/$sellerId/earnings/': typeof EarningsIndexRoute
  '/$sellerId/orders/': typeof OrdersIndexRoute
  '/$sellerId/payouts/': typeof PayoutsIndexRoute
  '/$sellerId/products/': typeof ProductsIndexRoute
  '/$sellerId/settings/': typeof SettingsIndexRoute
}
export interface FileRoutesByTo {
  '/forgot-password': typeof forgotPasswordRoute
  '/login': typeof loginRoute
  '/reset-password': typeof resetPasswordRoute
  '/accept-invitation/$invitationId': typeof acceptInvitationDotinvitationIdRoute
  '/': typeof authenticatedIndexRoute
  '/$sellerId/onboarding': typeof OnboardingRoute
  '/$sellerId/profile': typeof ProfileRoute
  '/$sellerId': typeof IndexRoute
  '/$sellerId/orders/$orderId': typeof OrdersOrderIdRoute
  '/$sellerId/payouts/$payoutId': typeof PayoutsPayoutIdRoute
  '/$sellerId/products/$productId': typeof ProductsProductIdRoute
  '/$sellerId/products/new': typeof ProductsNewRoute
  '/$sellerId/settings/delivery-methods': typeof SettingsDeliveryMethodsRoute
  '/$sellerId/settings/package-types': typeof SettingsPackageTypesRoute
  '/$sellerId/settings/policies': typeof SettingsPoliciesRoute
  '/$sellerId/settings/stock-locations': typeof SettingsStockLocationsRoute
  '/$sellerId/settings/team': typeof SettingsTeamRoute
  '/$sellerId/earnings': typeof EarningsIndexRoute
  '/$sellerId/orders': typeof OrdersIndexRoute
  '/$sellerId/payouts': typeof PayoutsIndexRoute
  '/$sellerId/products': typeof ProductsIndexRoute
  '/$sellerId/settings': typeof SettingsIndexRoute
}
export interface FileRoutesById {
  __root__: typeof rootRouteImport
  '/_authenticated': typeof authenticatedRouteWithChildren
  '/forgot-password': typeof forgotPasswordRoute
  '/login': typeof loginRoute
  '/reset-password': typeof resetPasswordRoute
  '/_authenticated/$sellerId': typeof authenticatedSellerIdRouteWithChildren
  '/accept-invitation/$invitationId': typeof acceptInvitationDotinvitationIdRoute
  '/_authenticated/': typeof authenticatedIndexRoute
  '/_authenticated/$sellerId/onboarding': typeof OnboardingRoute
  '/_authenticated/$sellerId/profile': typeof ProfileRoute
  '/_authenticated/$sellerId/settings': typeof SettingsRouteWithChildren
  '/_authenticated/$sellerId/': typeof IndexRoute
  '/_authenticated/$sellerId/orders/$orderId': typeof OrdersOrderIdRoute
  '/_authenticated/$sellerId/payouts/$payoutId': typeof PayoutsPayoutIdRoute
  '/_authenticated/$sellerId/products/$productId': typeof ProductsProductIdRoute
  '/_authenticated/$sellerId/products/new': typeof ProductsNewRoute
  '/_authenticated/$sellerId/settings/delivery-methods': typeof SettingsDeliveryMethodsRoute
  '/_authenticated/$sellerId/settings/package-types': typeof SettingsPackageTypesRoute
  '/_authenticated/$sellerId/settings/policies': typeof SettingsPoliciesRoute
  '/_authenticated/$sellerId/settings/stock-locations': typeof SettingsStockLocationsRoute
  '/_authenticated/$sellerId/settings/team': typeof SettingsTeamRoute
  '/_authenticated/$sellerId/earnings/': typeof EarningsIndexRoute
  '/_authenticated/$sellerId/orders/': typeof OrdersIndexRoute
  '/_authenticated/$sellerId/payouts/': typeof PayoutsIndexRoute
  '/_authenticated/$sellerId/products/': typeof ProductsIndexRoute
  '/_authenticated/$sellerId/settings/': typeof SettingsIndexRoute
}
export interface FileRouteTypes {
  fileRoutesByFullPath: FileRoutesByFullPath
  fullPaths:
    | '/'
    | '/forgot-password'
    | '/login'
    | '/reset-password'
    | '/$sellerId'
    | '/accept-invitation/$invitationId'
    | '/$sellerId/onboarding'
    | '/$sellerId/profile'
    | '/$sellerId/settings'
    | '/$sellerId/'
    | '/$sellerId/orders/$orderId'
    | '/$sellerId/payouts/$payoutId'
    | '/$sellerId/products/$productId'
    | '/$sellerId/products/new'
    | '/$sellerId/settings/delivery-methods'
    | '/$sellerId/settings/package-types'
    | '/$sellerId/settings/policies'
    | '/$sellerId/settings/stock-locations'
    | '/$sellerId/settings/team'
    | '/$sellerId/earnings/'
    | '/$sellerId/orders/'
    | '/$sellerId/payouts/'
    | '/$sellerId/products/'
    | '/$sellerId/settings/'
  fileRoutesByTo: FileRoutesByTo
  to:
    | '/forgot-password'
    | '/login'
    | '/reset-password'
    | '/accept-invitation/$invitationId'
    | '/'
    | '/$sellerId/onboarding'
    | '/$sellerId/profile'
    | '/$sellerId'
    | '/$sellerId/orders/$orderId'
    | '/$sellerId/payouts/$payoutId'
    | '/$sellerId/products/$productId'
    | '/$sellerId/products/new'
    | '/$sellerId/settings/delivery-methods'
    | '/$sellerId/settings/package-types'
    | '/$sellerId/settings/policies'
    | '/$sellerId/settings/stock-locations'
    | '/$sellerId/settings/team'
    | '/$sellerId/earnings'
    | '/$sellerId/orders'
    | '/$sellerId/payouts'
    | '/$sellerId/products'
    | '/$sellerId/settings'
  id:
    | '__root__'
    | '/_authenticated'
    | '/forgot-password'
    | '/login'
    | '/reset-password'
    | '/_authenticated/$sellerId'
    | '/accept-invitation/$invitationId'
    | '/_authenticated/'
    | '/_authenticated/$sellerId/onboarding'
    | '/_authenticated/$sellerId/profile'
    | '/_authenticated/$sellerId/settings'
    | '/_authenticated/$sellerId/'
    | '/_authenticated/$sellerId/orders/$orderId'
    | '/_authenticated/$sellerId/payouts/$payoutId'
    | '/_authenticated/$sellerId/products/$productId'
    | '/_authenticated/$sellerId/products/new'
    | '/_authenticated/$sellerId/settings/delivery-methods'
    | '/_authenticated/$sellerId/settings/package-types'
    | '/_authenticated/$sellerId/settings/policies'
    | '/_authenticated/$sellerId/settings/stock-locations'
    | '/_authenticated/$sellerId/settings/team'
    | '/_authenticated/$sellerId/earnings/'
    | '/_authenticated/$sellerId/orders/'
    | '/_authenticated/$sellerId/payouts/'
    | '/_authenticated/$sellerId/products/'
    | '/_authenticated/$sellerId/settings/'
  fileRoutesById: FileRoutesById
}
export interface RootRouteChildren {
  authenticatedRoute: typeof authenticatedRouteWithChildren
  forgotPasswordRoute: typeof forgotPasswordRoute
  loginRoute: typeof loginRoute
  resetPasswordRoute: typeof resetPasswordRoute
  acceptInvitationDotinvitationIdRoute: typeof acceptInvitationDotinvitationIdRoute
}

declare module '@tanstack/react-router' {
  interface FileRoutesByPath {
    '/_authenticated': {
      id: '/_authenticated'
      path: ''
      fullPath: '/'
      preLoaderRoute: typeof authenticatedRouteImport
      parentRoute: typeof rootRouteImport
    }
    '/forgot-password': {
      id: '/forgot-password'
      path: '/forgot-password'
      fullPath: '/forgot-password'
      preLoaderRoute: typeof forgotPasswordRouteImport
      parentRoute: typeof rootRouteImport
    }
    '/login': {
      id: '/login'
      path: '/login'
      fullPath: '/login'
      preLoaderRoute: typeof loginRouteImport
      parentRoute: typeof rootRouteImport
    }
    '/reset-password': {
      id: '/reset-password'
      path: '/reset-password'
      fullPath: '/reset-password'
      preLoaderRoute: typeof resetPasswordRouteImport
      parentRoute: typeof rootRouteImport
    }
    '/_authenticated/': {
      id: '/_authenticated/'
      path: '/'
      fullPath: '/'
      preLoaderRoute: typeof authenticatedIndexRouteImport
      parentRoute: typeof authenticatedRoute
    }
    '/_authenticated/$sellerId': {
      id: '/_authenticated/$sellerId'
      path: '/$sellerId'
      fullPath: '/$sellerId'
      preLoaderRoute: typeof authenticatedSellerIdRouteImport
      parentRoute: typeof authenticatedRoute
    }
    '/accept-invitation/$invitationId': {
      id: '/accept-invitation/$invitationId'
      path: '/accept-invitation/$invitationId'
      fullPath: '/accept-invitation/$invitationId'
      preLoaderRoute: typeof acceptInvitationDotinvitationIdRouteImport
      parentRoute: typeof rootRouteImport
    }
    '/_authenticated/$sellerId/': {
      id: '/_authenticated/$sellerId/'
      path: '/'
      fullPath: '/$sellerId/'
      preLoaderRoute: typeof IndexRouteImport
      parentRoute: typeof authenticatedSellerIdRoute
    }
    '/_authenticated/$sellerId/onboarding': {
      id: '/_authenticated/$sellerId/onboarding'
      path: '/onboarding'
      fullPath: '/$sellerId/onboarding'
      preLoaderRoute: typeof OnboardingRouteImport
      parentRoute: typeof authenticatedSellerIdRoute
    }
    '/_authenticated/$sellerId/profile': {
      id: '/_authenticated/$sellerId/profile'
      path: '/profile'
      fullPath: '/$sellerId/profile'
      preLoaderRoute: typeof ProfileRouteImport
      parentRoute: typeof authenticatedSellerIdRoute
    }
    '/_authenticated/$sellerId/settings': {
      id: '/_authenticated/$sellerId/settings'
      path: '/settings'
      fullPath: '/$sellerId/settings'
      preLoaderRoute: typeof SettingsRouteImport
      parentRoute: typeof authenticatedSellerIdRoute
    }
    '/_authenticated/$sellerId/earnings/': {
      id: '/_authenticated/$sellerId/earnings/'
      path: '/earnings'
      fullPath: '/$sellerId/earnings/'
      preLoaderRoute: typeof EarningsIndexRouteImport
      parentRoute: typeof authenticatedSellerIdRoute
    }
    '/_authenticated/$sellerId/orders/': {
      id: '/_authenticated/$sellerId/orders/'
      path: '/orders'
      fullPath: '/$sellerId/orders/'
      preLoaderRoute: typeof OrdersIndexRouteImport
      parentRoute: typeof authenticatedSellerIdRoute
    }
    '/_authenticated/$sellerId/orders/$orderId': {
      id: '/_authenticated/$sellerId/orders/$orderId'
      path: '/orders/$orderId'
      fullPath: '/$sellerId/orders/$orderId'
      preLoaderRoute: typeof OrdersOrderIdRouteImport
      parentRoute: typeof authenticatedSellerIdRoute
    }
    '/_authenticated/$sellerId/payouts/': {
      id: '/_authenticated/$sellerId/payouts/'
      path: '/payouts'
      fullPath: '/$sellerId/payouts/'
      preLoaderRoute: typeof PayoutsIndexRouteImport
      parentRoute: typeof authenticatedSellerIdRoute
    }
    '/_authenticated/$sellerId/payouts/$payoutId': {
      id: '/_authenticated/$sellerId/payouts/$payoutId'
      path: '/payouts/$payoutId'
      fullPath: '/$sellerId/payouts/$payoutId'
      preLoaderRoute: typeof PayoutsPayoutIdRouteImport
      parentRoute: typeof authenticatedSellerIdRoute
    }
    '/_authenticated/$sellerId/products/': {
      id: '/_authenticated/$sellerId/products/'
      path: '/products'
      fullPath: '/$sellerId/products/'
      preLoaderRoute: typeof ProductsIndexRouteImport
      parentRoute: typeof authenticatedSellerIdRoute
    }
    '/_authenticated/$sellerId/products/$productId': {
      id: '/_authenticated/$sellerId/products/$productId'
      path: '/products/$productId'
      fullPath: '/$sellerId/products/$productId'
      preLoaderRoute: typeof ProductsProductIdRouteImport
      parentRoute: typeof authenticatedSellerIdRoute
    }
    '/_authenticated/$sellerId/products/new': {
      id: '/_authenticated/$sellerId/products/new'
      path: '/products/new'
      fullPath: '/$sellerId/products/new'
      preLoaderRoute: typeof ProductsNewRouteImport
      parentRoute: typeof authenticatedSellerIdRoute
    }
    '/_authenticated/$sellerId/settings/': {
      id: '/_authenticated/$sellerId/settings/'
      path: '/'
      fullPath: '/$sellerId/settings/'
      preLoaderRoute: typeof SettingsIndexRouteImport
      parentRoute: typeof SettingsRoute
    }
    '/_authenticated/$sellerId/settings/delivery-methods': {
      id: '/_authenticated/$sellerId/settings/delivery-methods'
      path: '/delivery-methods'
      fullPath: '/$sellerId/settings/delivery-methods'
      preLoaderRoute: typeof SettingsDeliveryMethodsRouteImport
      parentRoute: typeof SettingsRoute
    }
    '/_authenticated/$sellerId/settings/package-types': {
      id: '/_authenticated/$sellerId/settings/package-types'
      path: '/package-types'
      fullPath: '/$sellerId/settings/package-types'
      preLoaderRoute: typeof SettingsPackageTypesRouteImport
      parentRoute: typeof SettingsRoute
    }
    '/_authenticated/$sellerId/settings/policies': {
      id: '/_authenticated/$sellerId/settings/policies'
      path: '/policies'
      fullPath: '/$sellerId/settings/policies'
      preLoaderRoute: typeof SettingsPoliciesRouteImport
      parentRoute: typeof SettingsRoute
    }
    '/_authenticated/$sellerId/settings/stock-locations': {
      id: '/_authenticated/$sellerId/settings/stock-locations'
      path: '/stock-locations'
      fullPath: '/$sellerId/settings/stock-locations'
      preLoaderRoute: typeof SettingsStockLocationsRouteImport
      parentRoute: typeof SettingsRoute
    }
    '/_authenticated/$sellerId/settings/team': {
      id: '/_authenticated/$sellerId/settings/team'
      path: '/team'
      fullPath: '/$sellerId/settings/team'
      preLoaderRoute: typeof SettingsTeamRouteImport
      parentRoute: typeof SettingsRoute
    }
  }
}

interface SettingsRouteChildren {
  SettingsDeliveryMethodsRoute: typeof SettingsDeliveryMethodsRoute
  SettingsPackageTypesRoute: typeof SettingsPackageTypesRoute
  SettingsPoliciesRoute: typeof SettingsPoliciesRoute
  SettingsStockLocationsRoute: typeof SettingsStockLocationsRoute
  SettingsTeamRoute: typeof SettingsTeamRoute
  SettingsIndexRoute: typeof SettingsIndexRoute
}

const SettingsRouteChildren: SettingsRouteChildren = {
  SettingsDeliveryMethodsRoute: SettingsDeliveryMethodsRoute,
  SettingsPackageTypesRoute: SettingsPackageTypesRoute,
  SettingsPoliciesRoute: SettingsPoliciesRoute,
  SettingsStockLocationsRoute: SettingsStockLocationsRoute,
  SettingsTeamRoute: SettingsTeamRoute,
  SettingsIndexRoute: SettingsIndexRoute,
}

const SettingsRouteWithChildren = SettingsRoute._addFileChildren(
  SettingsRouteChildren,
)

interface authenticatedSellerIdRouteChildren {
  OnboardingRoute: typeof OnboardingRoute
  ProfileRoute: typeof ProfileRoute
  SettingsRoute: typeof SettingsRouteWithChildren
  IndexRoute: typeof IndexRoute
  OrdersOrderIdRoute: typeof OrdersOrderIdRoute
  PayoutsPayoutIdRoute: typeof PayoutsPayoutIdRoute
  ProductsProductIdRoute: typeof ProductsProductIdRoute
  ProductsNewRoute: typeof ProductsNewRoute
  EarningsIndexRoute: typeof EarningsIndexRoute
  OrdersIndexRoute: typeof OrdersIndexRoute
  PayoutsIndexRoute: typeof PayoutsIndexRoute
  ProductsIndexRoute: typeof ProductsIndexRoute
}

const authenticatedSellerIdRouteChildren: authenticatedSellerIdRouteChildren = {
  OnboardingRoute: OnboardingRoute,
  ProfileRoute: ProfileRoute,
  SettingsRoute: SettingsRouteWithChildren,
  IndexRoute: IndexRoute,
  OrdersOrderIdRoute: OrdersOrderIdRoute,
  PayoutsPayoutIdRoute: PayoutsPayoutIdRoute,
  ProductsProductIdRoute: ProductsProductIdRoute,
  ProductsNewRoute: ProductsNewRoute,
  EarningsIndexRoute: EarningsIndexRoute,
  OrdersIndexRoute: OrdersIndexRoute,
  PayoutsIndexRoute: PayoutsIndexRoute,
  ProductsIndexRoute: ProductsIndexRoute,
}

const authenticatedSellerIdRouteWithChildren =
  authenticatedSellerIdRoute._addFileChildren(
    authenticatedSellerIdRouteChildren,
  )

interface authenticatedRouteChildren {
  authenticatedSellerIdRoute: typeof authenticatedSellerIdRouteWithChildren
  authenticatedIndexRoute: typeof authenticatedIndexRoute
}

const authenticatedRouteChildren: authenticatedRouteChildren = {
  authenticatedSellerIdRoute: authenticatedSellerIdRouteWithChildren,
  authenticatedIndexRoute: authenticatedIndexRoute,
}

const authenticatedRouteWithChildren = authenticatedRoute._addFileChildren(
  authenticatedRouteChildren,
)

const rootRouteChildren: RootRouteChildren = {
  authenticatedRoute: authenticatedRouteWithChildren,
  forgotPasswordRoute: forgotPasswordRoute,
  loginRoute: loginRoute,
  resetPasswordRoute: resetPasswordRoute,
  acceptInvitationDotinvitationIdRoute: acceptInvitationDotinvitationIdRoute,
}
export const routeTree = rootRouteImport
  ._addFileChildren(rootRouteChildren)
  ._addFileTypes<FileRouteTypes>()