├── .cline └── config.json ├── .devcontainer ├── Caddyfile ├── Dockerfile ├── devcontainer.json ├── docker-compose.yaml └── post-create.sh ├── .editorconfig ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ ├── bug_report_adapters.yml │ ├── config.yml │ └── feature_request.yml ├── actions │ └── maintenance-mode │ │ └── action.yml ├── copilot-instructions.md ├── dependabot.yml ├── pull_request_template.md └── workflows │ ├── copilot-setup-steps.yml │ ├── database_backup.yml │ ├── database_backup_upload.yml │ ├── deploy-environment.yml │ ├── deploy.yml │ ├── deploy_server.sh │ ├── disable_maintenance_mode.yml │ ├── docs_images.yaml │ ├── docs_openapi.yaml │ ├── enable_maintenance_mode.yml │ ├── expo.yml │ ├── link_pr_to_issue.yaml │ ├── nextjs_bundle_analysis.yml │ ├── release_packages.yml │ ├── terraform.yaml │ ├── test_client.yaml │ └── test_server.yaml ├── .gitignore ├── .terraformignore ├── .vscode └── settings.json ├── .zed ├── settings.json └── tasks.json ├── Brewfile ├── CLAUDE.md ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── DEVELOPMENT.md ├── LICENSE ├── README.md ├── SECURITY.md ├── clients ├── .changeset │ ├── README.md │ └── config.json ├── .eslintrc.js ├── .gitignore ├── .node-version ├── .nvmrc ├── .prettierignore ├── .prettierrc.json ├── .vscode │ ├── extensions.json │ ├── launch.json │ └── settings.json ├── .zed │ └── settings.json ├── README.md ├── apps │ ├── app │ │ ├── .env.template │ │ ├── .gitignore │ │ ├── LICENSE │ │ ├── README.md │ │ ├── app.json │ │ ├── app │ │ │ ├── (authenticated) │ │ │ │ ├── _layout.tsx │ │ │ │ ├── customers │ │ │ │ │ ├── [id] │ │ │ │ │ │ └── index.tsx │ │ │ │ │ └── index.tsx │ │ │ │ ├── finance │ │ │ │ │ ├── [payoutId] │ │ │ │ │ │ └── index.tsx │ │ │ │ │ ├── index.tsx │ │ │ │ │ └── withdraw │ │ │ │ │ │ └── index.tsx │ │ │ │ ├── home │ │ │ │ │ └── index.tsx │ │ │ │ ├── metrics │ │ │ │ │ └── index.tsx │ │ │ │ ├── notifications │ │ │ │ │ └── index.tsx │ │ │ │ ├── onboarding │ │ │ │ │ └── index.tsx │ │ │ │ ├── orders │ │ │ │ │ ├── [id] │ │ │ │ │ │ └── index.tsx │ │ │ │ │ └── index.tsx │ │ │ │ ├── products │ │ │ │ │ ├── [id] │ │ │ │ │ │ └── index.tsx │ │ │ │ │ └── index.tsx │ │ │ │ ├── settings │ │ │ │ │ └── index.tsx │ │ │ │ └── subscriptions │ │ │ │ │ ├── [id] │ │ │ │ │ ├── cancel │ │ │ │ │ │ └── index.tsx │ │ │ │ │ ├── index.tsx │ │ │ │ │ └── update │ │ │ │ │ │ └── index.tsx │ │ │ │ │ └── index.tsx │ │ │ ├── +not-found.tsx │ │ │ ├── _layout.tsx │ │ │ └── index.tsx │ │ ├── assets │ │ │ ├── fonts │ │ │ │ └── SpaceMono-Regular.ttf │ │ │ └── images │ │ │ │ ├── adaptive-icon.png │ │ │ │ ├── favicon.png │ │ │ │ ├── icon.png │ │ │ │ ├── ios-dark.png │ │ │ │ ├── ios-light.png │ │ │ │ ├── ios-tinted.png │ │ │ │ ├── login-background.jpg │ │ │ │ ├── partial-react-logo.png │ │ │ │ ├── react-logo.png │ │ │ │ ├── react-logo@2x.png │ │ │ │ ├── react-logo@3x.png │ │ │ │ └── splash-icon.png │ │ ├── components │ │ │ ├── Animations │ │ │ │ ├── FadeInAndUp.tsx │ │ │ │ └── KenBurns.tsx │ │ │ ├── Customers │ │ │ │ ├── CustomerCard.tsx │ │ │ │ └── CustomerRow.tsx │ │ │ ├── Errors │ │ │ │ └── Fallback.tsx │ │ │ ├── Form │ │ │ │ └── FormInput.tsx │ │ │ ├── Home │ │ │ │ ├── CatalogueTile.tsx │ │ │ │ ├── FinanceTile.tsx │ │ │ │ ├── OrganizationTile.tsx │ │ │ │ ├── RevenueTile.tsx │ │ │ │ └── Tile.tsx │ │ │ ├── Metrics │ │ │ │ ├── Box.tsx │ │ │ │ ├── Chart.tsx │ │ │ │ ├── ChartPath.tsx │ │ │ │ └── utils.ts │ │ │ ├── Notifications │ │ │ │ ├── Notification.tsx │ │ │ │ └── NotificationBadge.tsx │ │ │ ├── Orders │ │ │ │ └── OrderRow.tsx │ │ │ ├── Payouts │ │ │ │ └── PayoutRow.tsx │ │ │ ├── Products │ │ │ │ ├── AmountLabel.tsx │ │ │ │ ├── ProductPriceLabel.tsx │ │ │ │ └── ProductRow.tsx │ │ │ ├── Shared │ │ │ │ ├── Accordion.tsx │ │ │ │ ├── Avatar.tsx │ │ │ │ ├── Banner.tsx │ │ │ │ ├── Button.tsx │ │ │ │ ├── Checkbox.tsx │ │ │ │ ├── Details.tsx │ │ │ │ ├── EmptyState.tsx │ │ │ │ ├── Input.tsx │ │ │ │ ├── MiniButton.tsx │ │ │ │ ├── Pill.tsx │ │ │ │ ├── PolarLogo.tsx │ │ │ │ ├── SlideToAction.tsx │ │ │ │ ├── Tabs.tsx │ │ │ │ └── ThemedText.tsx │ │ │ └── Subscriptions │ │ │ │ └── SubscriptionRow.tsx │ │ ├── eas.json │ │ ├── eslint.config.js │ │ ├── expo-env.d.ts │ │ ├── hooks │ │ │ ├── auth.ts │ │ │ ├── notifications.ts │ │ │ ├── oauth.ts │ │ │ ├── polar │ │ │ │ ├── checkout_links.ts │ │ │ │ ├── customers.ts │ │ │ │ ├── finance.ts │ │ │ │ ├── metrics.ts │ │ │ │ ├── notifications.ts │ │ │ │ ├── orders.ts │ │ │ │ ├── organizations.ts │ │ │ │ ├── products.ts │ │ │ │ ├── subscriptions.ts │ │ │ │ └── users.ts │ │ │ ├── storage.ts │ │ │ ├── theme.ts │ │ │ ├── trend.ts │ │ │ └── useSettingsActions.ts │ │ ├── metro.config.js │ │ ├── package.json │ │ ├── providers │ │ │ ├── NotificationsProvider.tsx │ │ │ ├── OrganizationProvider.tsx │ │ │ ├── PolarClientProvider.tsx │ │ │ ├── PolarQueryClientProvider.tsx │ │ │ ├── SessionProvider.tsx │ │ │ ├── ThemeProvider.tsx │ │ │ └── UserProvider.tsx │ │ ├── tsconfig.json │ │ └── utils │ │ │ ├── money.ts │ │ │ ├── price.ts │ │ │ ├── query.ts │ │ │ └── theme.ts │ └── web │ │ ├── .env.template │ │ ├── .env.test │ │ ├── .gitignore │ │ ├── .prettierignore │ │ ├── README.md │ │ ├── eslint.config.mjs │ │ ├── instrumentation-client.ts │ │ ├── next.config.mjs │ │ ├── package.json │ │ ├── postcss.config.mjs │ │ ├── public │ │ ├── assets │ │ │ ├── acme.jpg │ │ │ ├── brand │ │ │ │ ├── polar_brand.zip │ │ │ │ ├── polar_gradient.jpg │ │ │ │ └── polar_og.jpg │ │ │ ├── docs │ │ │ │ ├── checkout-link.webm │ │ │ │ ├── og │ │ │ │ │ └── bg.jpg │ │ │ │ ├── polar-for-framer.webm │ │ │ │ ├── polar-init.webm │ │ │ │ └── polar-migrate.mp4 │ │ │ ├── landing │ │ │ │ ├── Polar2024.webm │ │ │ │ ├── abstract.jpg │ │ │ │ ├── abstract_02.jpg │ │ │ │ ├── abstract_07.jpg │ │ │ │ ├── abstract_08.jpg │ │ │ │ ├── blend.png │ │ │ │ ├── company │ │ │ │ │ └── polar.jpg │ │ │ │ ├── discord.jpg │ │ │ │ ├── donations │ │ │ │ │ ├── dashboard.png │ │ │ │ │ ├── dashboard_dark.png │ │ │ │ │ ├── donations.png │ │ │ │ │ └── donations_dark.png │ │ │ │ ├── events.dark.png │ │ │ │ ├── events.light.png │ │ │ │ ├── file.jpg │ │ │ │ ├── fund.svg │ │ │ │ ├── fund_dark.svg │ │ │ │ ├── github.jpg │ │ │ │ ├── hero.jpg │ │ │ │ ├── home_dark.png │ │ │ │ ├── intro.jpg │ │ │ │ ├── issue-funding │ │ │ │ │ ├── completed.png │ │ │ │ │ ├── completed_dark.png │ │ │ │ │ ├── confirm.png │ │ │ │ │ ├── confirm_dark.png │ │ │ │ │ ├── funding_modal.png │ │ │ │ │ ├── funding_modal_dark.png │ │ │ │ │ ├── rewards.png │ │ │ │ │ └── rewards_dark.png │ │ │ │ ├── license.jpg │ │ │ │ ├── metrics.png │ │ │ │ ├── metrics_dark.png │ │ │ │ ├── newsletters │ │ │ │ │ ├── editor.png │ │ │ │ │ ├── editor_dark.png │ │ │ │ │ ├── metrics.png │ │ │ │ │ ├── metrics_dark.png │ │ │ │ │ ├── newsletters.png │ │ │ │ │ └── newsletters_dark.png │ │ │ │ ├── note.jpg │ │ │ │ ├── overview.png │ │ │ │ ├── overview_dark.png │ │ │ │ ├── ph_pod.svg │ │ │ │ ├── sales.png │ │ │ │ ├── sales_dark.png │ │ │ │ ├── subscriptions │ │ │ │ │ ├── products.jpg │ │ │ │ │ ├── products_dark.jpg │ │ │ │ │ ├── subscriptions.png │ │ │ │ │ └── subscriptions_dark.png │ │ │ │ ├── testamonials │ │ │ │ │ ├── alex.jpg │ │ │ │ │ ├── david.jpg │ │ │ │ │ ├── emil.jpg │ │ │ │ │ ├── jonathan.jpg │ │ │ │ │ ├── lee.jpg │ │ │ │ │ ├── mitchell.jpg │ │ │ │ │ ├── morgan.jpg │ │ │ │ │ ├── pontus.jpg │ │ │ │ │ ├── rauch.jpg │ │ │ │ │ ├── samuel.jpg │ │ │ │ │ ├── steven.jpg │ │ │ │ │ └── suhas.jpg │ │ │ │ ├── transactions.jpg │ │ │ │ ├── transactions_dark.png │ │ │ │ └── transactions_light.png │ │ │ ├── plugin.mp4 │ │ │ ├── share │ │ │ │ ├── share.jpg │ │ │ │ └── share_mono.jpg │ │ │ └── team │ │ │ │ ├── birk.png │ │ │ │ ├── emil.png │ │ │ │ ├── francois.png │ │ │ │ ├── isac.jpg │ │ │ │ ├── jesper.jpg │ │ │ │ ├── petru.png │ │ │ │ ├── pieter.png │ │ │ │ └── rishi.png │ │ ├── email-logo-dark.png │ │ ├── email-logo.png │ │ ├── favicon-dark.png │ │ ├── favicon-dev-dark.png │ │ ├── favicon-dev.png │ │ ├── favicon.ico │ │ ├── favicon.png │ │ ├── og_logotype.png │ │ └── og_thumbs_up.png │ │ ├── sentry.edge.config.ts │ │ ├── sentry.server.config.ts │ │ ├── shiki.config.d.ts │ │ ├── shiki.config.mjs │ │ ├── src │ │ ├── app │ │ │ ├── (main) │ │ │ │ ├── (topbar) │ │ │ │ │ ├── [organization] │ │ │ │ │ │ └── (checkout) │ │ │ │ │ │ │ └── layout.tsx │ │ │ │ │ ├── error │ │ │ │ │ │ └── page.tsx │ │ │ │ │ ├── layout.tsx │ │ │ │ │ └── not-found.tsx │ │ │ │ ├── (website) │ │ │ │ │ ├── (landing) │ │ │ │ │ │ ├── (mdx) │ │ │ │ │ │ │ ├── blog │ │ │ │ │ │ │ │ └── (header) │ │ │ │ │ │ │ │ │ ├── layout.tsx │ │ │ │ │ │ │ │ │ ├── mitchell-hashimoto-joins-polar-as-an-advisor │ │ │ │ │ │ │ │ │ ├── abstract_02.jpg │ │ │ │ │ │ │ │ │ └── page.mdx │ │ │ │ │ │ │ │ │ └── polar-seed-announcement │ │ │ │ │ │ │ │ │ ├── page.mdx │ │ │ │ │ │ │ │ │ └── seed.jpg │ │ │ │ │ │ │ ├── layout.tsx │ │ │ │ │ │ │ └── legal │ │ │ │ │ │ │ │ ├── privacy │ │ │ │ │ │ │ │ └── page.mdx │ │ │ │ │ │ │ │ └── terms │ │ │ │ │ │ │ │ └── page.mdx │ │ │ │ │ │ ├── features │ │ │ │ │ │ │ ├── analytics │ │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ │ ├── benefits │ │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ │ ├── customers │ │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ │ ├── finance │ │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ │ ├── products │ │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ │ └── usage-billing │ │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ ├── layout.tsx │ │ │ │ │ │ ├── page.tsx │ │ │ │ │ │ └── resources │ │ │ │ │ │ │ ├── comparison │ │ │ │ │ │ │ ├── lemon-squeezy │ │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ │ ├── paddle │ │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ │ └── stripe │ │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ │ ├── merchant-of-record │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ │ ├── page.tsx │ │ │ │ │ │ │ ├── pricing │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ │ └── why │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ ├── company │ │ │ │ │ │ ├── investors.ts │ │ │ │ │ │ ├── layout.tsx │ │ │ │ │ │ └── page.tsx │ │ │ │ │ └── layout.tsx │ │ │ │ ├── [organization] │ │ │ │ │ ├── (header) │ │ │ │ │ │ ├── ClientPage.tsx │ │ │ │ │ │ ├── donate │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ ├── layout.tsx │ │ │ │ │ │ ├── page.tsx │ │ │ │ │ │ ├── products │ │ │ │ │ │ │ └── [productId] │ │ │ │ │ │ │ │ ├── ClientPage.tsx │ │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ └── subscriptions │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ └── portal │ │ │ │ │ │ ├── Navigation.tsx │ │ │ │ │ │ ├── authenticate │ │ │ │ │ │ ├── ClientPage.tsx │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ ├── claim │ │ │ │ │ │ ├── ClientPage.tsx │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ ├── layout.tsx │ │ │ │ │ │ ├── orders │ │ │ │ │ │ ├── ClientPage.tsx │ │ │ │ │ │ ├── [id] │ │ │ │ │ │ │ ├── ClientPage.tsx │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ ├── overview │ │ │ │ │ │ ├── ClientPage.tsx │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ ├── page.tsx │ │ │ │ │ │ ├── request │ │ │ │ │ │ ├── ClientPage.tsx │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ ├── settings │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ ├── subscriptions │ │ │ │ │ │ └── [id] │ │ │ │ │ │ │ ├── ClientPage.tsx │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ ├── usage │ │ │ │ │ │ ├── ClientPage.tsx │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ └── wallet │ │ │ │ │ │ ├── ClientPage.tsx │ │ │ │ │ │ └── page.tsx │ │ │ │ ├── dashboard │ │ │ │ │ ├── (create) │ │ │ │ │ │ ├── create │ │ │ │ │ │ │ ├── ClientPage.tsx │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ └── layout.tsx │ │ │ │ │ ├── [organization] │ │ │ │ │ │ ├── (header) │ │ │ │ │ │ │ ├── (home) │ │ │ │ │ │ │ │ ├── ClientPage.tsx │ │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ │ ├── analytics │ │ │ │ │ │ │ │ ├── ClientPage.tsx │ │ │ │ │ │ │ │ ├── costs │ │ │ │ │ │ │ │ │ ├── ClientPage.tsx │ │ │ │ │ │ │ │ │ ├── SpansHeader.tsx │ │ │ │ │ │ │ │ │ ├── SpansTitle.tsx │ │ │ │ │ │ │ │ │ ├── [spanId] │ │ │ │ │ │ │ │ │ │ ├── ClientPage.tsx │ │ │ │ │ │ │ │ │ │ ├── EditEventTypeModal.tsx │ │ │ │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ │ │ │ ├── page.tsx │ │ │ │ │ │ │ │ │ └── utils.ts │ │ │ │ │ │ │ │ ├── events │ │ │ │ │ │ │ │ │ ├── ClientPage.tsx │ │ │ │ │ │ │ │ │ ├── [eventId] │ │ │ │ │ │ │ │ │ │ ├── ClientPage.tsx │ │ │ │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ │ ├── customers │ │ │ │ │ │ │ │ ├── [customerId] │ │ │ │ │ │ │ │ │ ├── ClientPage.tsx │ │ │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ │ │ ├── layout.tsx │ │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ │ ├── finance │ │ │ │ │ │ │ │ ├── (wide) │ │ │ │ │ │ │ │ │ ├── income │ │ │ │ │ │ │ │ │ │ ├── ClientPage.tsx │ │ │ │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ │ │ │ ├── layout.tsx │ │ │ │ │ │ │ │ │ └── payouts │ │ │ │ │ │ │ │ │ │ ├── ClientPage.tsx │ │ │ │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ │ │ └── account │ │ │ │ │ │ │ │ │ ├── ClientPage.tsx │ │ │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ │ ├── layout.tsx │ │ │ │ │ │ │ ├── products │ │ │ │ │ │ │ │ ├── ClientPage.tsx │ │ │ │ │ │ │ │ ├── [id] │ │ │ │ │ │ │ │ │ ├── ClientPage.tsx │ │ │ │ │ │ │ │ │ ├── edit │ │ │ │ │ │ │ │ │ │ ├── ClientPage.tsx │ │ │ │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ │ │ ├── benefits │ │ │ │ │ │ │ │ │ ├── [benefitId] │ │ │ │ │ │ │ │ │ │ ├── ClientPage.tsx │ │ │ │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ │ │ │ ├── layout.tsx │ │ │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ │ │ ├── checkout-links │ │ │ │ │ │ │ │ │ ├── [checkoutLinkId] │ │ │ │ │ │ │ │ │ │ ├── ClientPage.tsx │ │ │ │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ │ │ │ ├── layout.tsx │ │ │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ │ │ ├── discounts │ │ │ │ │ │ │ │ │ ├── ClientPage.tsx │ │ │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ │ │ ├── meters │ │ │ │ │ │ │ │ │ ├── (list) │ │ │ │ │ │ │ │ │ │ ├── [meterId] │ │ │ │ │ │ │ │ │ │ │ ├── ClientPage.tsx │ │ │ │ │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ │ │ │ │ ├── layout.tsx │ │ │ │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ │ │ │ └── create │ │ │ │ │ │ │ │ │ │ ├── ClientPage.tsx │ │ │ │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ │ │ ├── new │ │ │ │ │ │ │ │ │ ├── ClientPage.tsx │ │ │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ │ ├── sales │ │ │ │ │ │ │ │ ├── ClientPage.tsx │ │ │ │ │ │ │ │ ├── [id] │ │ │ │ │ │ │ │ │ ├── ClientPage.tsx │ │ │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ │ │ ├── checkouts │ │ │ │ │ │ │ │ │ ├── ClientPage.tsx │ │ │ │ │ │ │ │ │ ├── [id] │ │ │ │ │ │ │ │ │ │ ├── ClientPage.tsx │ │ │ │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ │ │ ├── page.tsx │ │ │ │ │ │ │ │ └── subscriptions │ │ │ │ │ │ │ │ │ ├── ClientPage.tsx │ │ │ │ │ │ │ │ │ ├── [id] │ │ │ │ │ │ │ │ │ ├── ClientPage.tsx │ │ │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ │ └── settings │ │ │ │ │ │ │ │ ├── ClientPage.tsx │ │ │ │ │ │ │ │ ├── custom-fields │ │ │ │ │ │ │ │ ├── ClientPage.tsx │ │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ │ │ ├── members │ │ │ │ │ │ │ │ ├── ClientPage.tsx │ │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ │ │ ├── page.tsx │ │ │ │ │ │ │ │ └── webhooks │ │ │ │ │ │ │ │ ├── ClientPage.tsx │ │ │ │ │ │ │ │ ├── endpoints │ │ │ │ │ │ │ │ └── [id] │ │ │ │ │ │ │ │ │ ├── ClientPage.tsx │ │ │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ ├── layout.tsx │ │ │ │ │ │ ├── onboarding │ │ │ │ │ │ │ ├── assistant │ │ │ │ │ │ │ │ └── chat │ │ │ │ │ │ │ │ │ └── route.ts │ │ │ │ │ │ │ ├── integrate │ │ │ │ │ │ │ │ ├── ClientPage.tsx │ │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ │ ├── layout.tsx │ │ │ │ │ │ │ └── product │ │ │ │ │ │ │ │ ├── ClientPage.tsx │ │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ └── storefront │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ ├── account │ │ │ │ │ │ ├── developer │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ ├── layout.tsx │ │ │ │ │ │ ├── page.tsx │ │ │ │ │ │ └── preferences │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ ├── layout.tsx │ │ │ │ │ └── page.tsx │ │ │ │ ├── layout.tsx │ │ │ │ ├── login │ │ │ │ │ ├── code │ │ │ │ │ │ └── verify │ │ │ │ │ │ │ ├── ClientPage.tsx │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ └── page.tsx │ │ │ │ ├── oauth2 │ │ │ │ │ └── authorize │ │ │ │ │ │ ├── AuthorizeErrorPage.tsx │ │ │ │ │ │ ├── AuthorizePage.tsx │ │ │ │ │ │ ├── OrganizationSelectionPage.tsx │ │ │ │ │ │ ├── page.tsx │ │ │ │ │ │ └── types.ts │ │ │ │ ├── purchases │ │ │ │ │ ├── products │ │ │ │ │ │ └── [id] │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ └── subscriptions │ │ │ │ │ │ └── [id] │ │ │ │ │ │ └── page.tsx │ │ │ │ ├── signup │ │ │ │ │ └── page.tsx │ │ │ │ ├── start │ │ │ │ │ └── page.tsx │ │ │ │ └── verify-email │ │ │ │ │ └── page.tsx │ │ │ ├── .well-known │ │ │ │ └── apple-developer-merchantid-domain-association │ │ │ │ │ └── route.tsx │ │ │ ├── actions.ts │ │ │ ├── api │ │ │ │ └── blob │ │ │ │ │ └── upload │ │ │ │ │ └── route.ts │ │ │ ├── checkout │ │ │ │ └── [clientSecret] │ │ │ │ │ ├── ClientPage.tsx │ │ │ │ │ ├── confirmation │ │ │ │ │ └── page.tsx │ │ │ │ │ └── page.tsx │ │ │ ├── error.tsx │ │ │ ├── global-error.tsx │ │ │ ├── humans.txt │ │ │ │ └── route.tsx │ │ │ ├── layout.tsx │ │ │ ├── not-found.tsx │ │ │ ├── providers.tsx │ │ │ ├── robots.ts │ │ │ ├── sitemap.ts │ │ │ └── too-many-requests │ │ │ │ └── page.tsx │ │ ├── components │ │ │ ├── Accounts │ │ │ │ ├── AccountCreateModal.tsx │ │ │ │ └── AccountsList.tsx │ │ │ ├── Animated │ │ │ │ └── FadeUp.tsx │ │ │ ├── Auth │ │ │ │ ├── AppleLoginButton.tsx │ │ │ │ ├── AuthModal.tsx │ │ │ │ ├── GetStartedButton.tsx │ │ │ │ ├── GithubLoginButton.tsx │ │ │ │ ├── GoogleLoginButton.tsx │ │ │ │ ├── Login.tsx │ │ │ │ └── LoginCodeForm.tsx │ │ │ ├── Benefit │ │ │ │ ├── BenefitForm.tsx │ │ │ │ ├── BenefitGrant.tsx │ │ │ │ ├── BenefitGrantStatus.tsx │ │ │ │ ├── BenefitListSidebar.tsx │ │ │ │ ├── BenefitPage.tsx │ │ │ │ ├── CreateBenefitModalContent.tsx │ │ │ │ ├── Downloadables │ │ │ │ │ ├── BenefitForm.tsx │ │ │ │ │ ├── DownloadablesBenefitGrant.tsx │ │ │ │ │ └── FileList │ │ │ │ │ │ ├── FileListItem.tsx │ │ │ │ │ │ └── index.tsx │ │ │ │ ├── GitHubRepositoryBenefitForm.tsx │ │ │ │ ├── LicenseKeys │ │ │ │ │ ├── BenefitForm.tsx │ │ │ │ │ ├── LicenseKeyActivations.tsx │ │ │ │ │ ├── LicenseKeyBenefitGrant.tsx │ │ │ │ │ ├── LicenseKeyDetails.tsx │ │ │ │ │ └── LicenseKeysList.tsx │ │ │ │ ├── LicenseKeysPage.tsx │ │ │ │ ├── MeterCredit │ │ │ │ │ └── BenefitForm.tsx │ │ │ │ ├── UpdateBenefitModalContent.tsx │ │ │ │ └── utils.tsx │ │ │ ├── Brand │ │ │ │ ├── LogoIcon.tsx │ │ │ │ ├── LogoType.tsx │ │ │ │ ├── LogoType100.tsx │ │ │ │ └── LogoType70.tsx │ │ │ ├── Cards │ │ │ │ ├── BaseCard.tsx │ │ │ │ ├── GrayCard.tsx │ │ │ │ ├── WhiteCard.tsx │ │ │ │ └── types.ts │ │ │ ├── Chart │ │ │ │ └── Chart.tsx │ │ │ ├── Checkout │ │ │ │ ├── Checkout.tsx │ │ │ │ ├── CheckoutBenefits.tsx │ │ │ │ ├── CheckoutCard.tsx │ │ │ │ ├── CheckoutConfirmation.tsx │ │ │ │ ├── CheckoutLayout.tsx │ │ │ │ ├── CheckoutProductInfo.tsx │ │ │ │ ├── CheckoutSeatInvitations.tsx │ │ │ │ ├── DummyCheckoutContextProvider.tsx │ │ │ │ └── Embed │ │ │ │ │ ├── CheckoutEmbedClose.tsx │ │ │ │ │ ├── CheckoutEmbedLayout.tsx │ │ │ │ │ └── CheckoutEmbedLoaded.tsx │ │ │ ├── CheckoutLinks │ │ │ │ ├── CheckoutLinkForm.tsx │ │ │ │ ├── CheckoutLinkList.tsx │ │ │ │ ├── CheckoutLinkListSidebar.tsx │ │ │ │ ├── CheckoutLinkManagementModal.tsx │ │ │ │ ├── CheckoutLinkPage.tsx │ │ │ │ └── CheckoutLinkQRCodeModal.tsx │ │ │ ├── CheckoutStatus │ │ │ │ └── CheckoutStatus.tsx │ │ │ ├── CheckoutStatusSelect │ │ │ │ └── CheckoutStatusSelect.tsx │ │ │ ├── CopyToClipboardButton │ │ │ │ └── CopyToClipboardButton.tsx │ │ │ ├── CreditCardBrandIcon │ │ │ │ ├── amex.tsx │ │ │ │ ├── diners.tsx │ │ │ │ ├── discover.tsx │ │ │ │ ├── hipercard.tsx │ │ │ │ ├── index.tsx │ │ │ │ ├── jcb.tsx │ │ │ │ ├── mastercard.tsx │ │ │ │ ├── unionpay.tsx │ │ │ │ ├── unknown.tsx │ │ │ │ └── visa.tsx │ │ │ ├── CustomFields │ │ │ │ ├── CreateCustomFieldModalContent.tsx │ │ │ │ ├── CustomFieldForm.tsx │ │ │ │ ├── CustomFieldInput.tsx │ │ │ │ ├── CustomFieldTypeIcon.tsx │ │ │ │ ├── CustomFieldTypeLabel.tsx │ │ │ │ ├── CustomFieldValue.tsx │ │ │ │ └── UpdateCustomFieldModalContent.tsx │ │ │ ├── Customer │ │ │ │ ├── CreateCustomerModal.tsx │ │ │ │ ├── CustomerContextView.tsx │ │ │ │ ├── CustomerEventsView.tsx │ │ │ │ ├── CustomerListSidebar.tsx │ │ │ │ ├── CustomerMetadataForm.tsx │ │ │ │ ├── CustomerMeter.tsx │ │ │ │ ├── CustomerPage.tsx │ │ │ │ ├── CustomerSelector.tsx │ │ │ │ ├── CustomerStatBox.tsx │ │ │ │ ├── CustomerTrendStatBox.tsx │ │ │ │ ├── CustomerUsageView.tsx │ │ │ │ └── EditCustomerModal.tsx │ │ │ ├── CustomerPortal │ │ │ │ ├── AddPaymentMethodModal.tsx │ │ │ │ ├── CurrentPeriodOverview.tsx │ │ │ │ ├── CustomerPortalGrants.tsx │ │ │ │ ├── CustomerPortalOrder.tsx │ │ │ │ ├── CustomerPortalOrders.tsx │ │ │ │ ├── CustomerPortalOverview.tsx │ │ │ │ ├── CustomerPortalSettings.tsx │ │ │ │ ├── CustomerPortalSubscription.tsx │ │ │ │ ├── CustomerPortalSubscriptions.tsx │ │ │ │ ├── CustomerPortalWallet.tsx │ │ │ │ ├── CustomerSeatQuantityManager.tsx │ │ │ │ ├── CustomerUsage.tsx │ │ │ │ ├── EditBillingDetails.tsx │ │ │ │ ├── EmptyState.tsx │ │ │ │ ├── OrderPaymentRetry.tsx │ │ │ │ ├── OrderPaymentRetryModal.tsx │ │ │ │ ├── PaymentMethod.tsx │ │ │ │ ├── SavedCardsSelector.tsx │ │ │ │ └── SeatManagementTable.tsx │ │ │ ├── Customization │ │ │ │ ├── Checkout │ │ │ │ │ ├── CheckoutCustomization.tsx │ │ │ │ │ ├── CheckoutPreview.tsx │ │ │ │ │ └── CheckoutSidebar.tsx │ │ │ │ ├── CustomizationPage.tsx │ │ │ │ ├── CustomizationProvider.tsx │ │ │ │ ├── Storefront │ │ │ │ │ ├── StorefrontCustomization.tsx │ │ │ │ │ ├── StorefrontPreview.tsx │ │ │ │ │ └── StorefrontSidebar.tsx │ │ │ │ └── utils.ts │ │ │ ├── Dashboard │ │ │ │ ├── ContextList.tsx │ │ │ │ ├── DashboardProvider.tsx │ │ │ │ ├── NavigationContainer.tsx │ │ │ │ ├── Tab.tsx │ │ │ │ ├── Tabs.tsx │ │ │ │ └── navigation.tsx │ │ │ ├── Discounts │ │ │ │ ├── CreateDiscountModalContent.tsx │ │ │ │ ├── DiscountForm.tsx │ │ │ │ └── UpdateDiscountModalContent.tsx │ │ │ ├── Events │ │ │ │ ├── EventCard │ │ │ │ │ ├── BenefitEventCard.tsx │ │ │ │ │ ├── EventCardBase.tsx │ │ │ │ │ ├── LLMInferenceEventCard.tsx │ │ │ │ │ ├── OrderEventCard.tsx │ │ │ │ │ ├── SubscriptionEventCard.tsx │ │ │ │ │ └── UserEventCard.tsx │ │ │ │ ├── EventCostBadge.tsx │ │ │ │ ├── EventCostCreationGuideModal.tsx │ │ │ │ ├── EventCreationGuideModal.tsx │ │ │ │ ├── EventCustomer.tsx │ │ │ │ ├── EventMetadataFilter.tsx │ │ │ │ ├── EventRow.tsx │ │ │ │ ├── EventSelect.tsx │ │ │ │ ├── EventSourceBadge.tsx │ │ │ │ ├── Events.tsx │ │ │ │ └── utils.tsx │ │ │ ├── FileUpload │ │ │ │ ├── Upload.ts │ │ │ │ └── index.ts │ │ │ ├── Finance │ │ │ │ ├── AccessRestricted.tsx │ │ │ │ ├── Steps │ │ │ │ │ ├── AccountStep.tsx │ │ │ │ │ └── IdentityStep.tsx │ │ │ │ └── StreamlinedAccountReview.tsx │ │ │ ├── Form │ │ │ │ ├── EmailUpdateForm.tsx │ │ │ │ └── ImageUpload.tsx │ │ │ ├── Gatekeeper │ │ │ │ ├── Gatekeeper.tsx │ │ │ │ ├── TakeoverBox.tsx │ │ │ │ └── TakeoverHeader.tsx │ │ │ ├── Icons │ │ │ │ ├── CheckIcon.tsx │ │ │ │ ├── DependenciesIcon.tsx │ │ │ │ ├── DollarSignIcon.tsx │ │ │ │ ├── EyeIcon.tsx │ │ │ │ ├── GitBranchIcon.tsx │ │ │ │ ├── GitHubIcon.tsx │ │ │ │ ├── GitMergeIcon.tsx │ │ │ │ ├── GitPullRequestClosedIcon.tsx │ │ │ │ ├── GitPullRequestIcon.tsx │ │ │ │ ├── Icon.tsx │ │ │ │ ├── ManualPayout.tsx │ │ │ │ ├── OpenCollective.tsx │ │ │ │ ├── RefundIcon.tsx │ │ │ │ ├── Stripe.tsx │ │ │ │ └── frameworks │ │ │ │ │ ├── better-auth.tsx │ │ │ │ │ ├── curl.tsx │ │ │ │ │ ├── go.tsx │ │ │ │ │ ├── nextjs.tsx │ │ │ │ │ ├── nodejs.tsx │ │ │ │ │ ├── php.tsx │ │ │ │ │ └── python.tsx │ │ │ ├── Impersonation │ │ │ │ └── ImpersonationBanner.tsx │ │ │ ├── Landing │ │ │ │ ├── Adapters.tsx │ │ │ │ ├── Benefits.tsx │ │ │ │ ├── Checkout.tsx │ │ │ │ ├── Events.tsx │ │ │ │ ├── Features.tsx │ │ │ │ ├── GetStarted.tsx │ │ │ │ ├── Hero │ │ │ │ │ └── Hero.tsx │ │ │ │ ├── LandingLayout.tsx │ │ │ │ ├── LandingPage.tsx │ │ │ │ ├── Logos.tsx │ │ │ │ ├── MOR.tsx │ │ │ │ ├── NavPopover.tsx │ │ │ │ ├── Pricing.tsx │ │ │ │ ├── SDKs.tsx │ │ │ │ ├── Section.tsx │ │ │ │ ├── SeedRound.tsx │ │ │ │ ├── Testimonials.tsx │ │ │ │ ├── Tools.tsx │ │ │ │ ├── TypewriterText.tsx │ │ │ │ ├── Upsell.tsx │ │ │ │ ├── Usage.tsx │ │ │ │ ├── comparison │ │ │ │ │ ├── PolarLemonSqueezyPage.tsx │ │ │ │ │ ├── PolarPaddlePage.tsx │ │ │ │ │ └── PolarStripePage.tsx │ │ │ │ ├── features │ │ │ │ │ ├── AnalyticsPage.tsx │ │ │ │ │ ├── BenefitsPage.tsx │ │ │ │ │ ├── CustomersPage.tsx │ │ │ │ │ ├── FinancePage.tsx │ │ │ │ │ ├── ProductsPage.tsx │ │ │ │ │ └── UsageBillingPage.tsx │ │ │ │ ├── molecules │ │ │ │ │ ├── FeatureItem.tsx │ │ │ │ │ ├── SplitPromo.tsx │ │ │ │ │ └── Video.tsx │ │ │ │ ├── resources │ │ │ │ │ ├── MORPage.tsx │ │ │ │ │ ├── PricingPage.tsx │ │ │ │ │ ├── ResourceLayout.tsx │ │ │ │ │ └── WhyPolarPage.tsx │ │ │ │ └── utils.ts │ │ │ ├── Layout │ │ │ │ ├── Dashboard │ │ │ │ │ ├── DashboardNavigation.tsx │ │ │ │ │ └── DashboardSidebar.tsx │ │ │ │ ├── DashboardLayout.tsx │ │ │ │ ├── EmptyLayout.tsx │ │ │ │ ├── MasterDetailLayout.tsx │ │ │ │ ├── PolarMenu.tsx │ │ │ │ ├── Public │ │ │ │ │ ├── PolarLogotype.tsx │ │ │ │ │ ├── Topbar.tsx │ │ │ │ │ └── TopbarRight.tsx │ │ │ │ ├── PublicLayout.tsx │ │ │ │ └── Section.tsx │ │ │ ├── MDX │ │ │ │ └── ProseWrapper.tsx │ │ │ ├── Markdown │ │ │ │ └── MemoizedMarkdown.tsx │ │ │ ├── Meter │ │ │ │ ├── CreateMeterModalContent.tsx │ │ │ │ ├── FormattedUnits.tsx │ │ │ │ ├── MeterAlerts.tsx │ │ │ │ ├── MeterCreationModal.tsx │ │ │ │ ├── MeterCustomersTab.tsx │ │ │ │ ├── MeterDetails.tsx │ │ │ │ ├── MeterEventsTab.tsx │ │ │ │ ├── MeterFilterInput.tsx │ │ │ │ ├── MeterFilterInputProperty.tsx │ │ │ │ ├── MeterFilterInputValue.tsx │ │ │ │ ├── MeterFilterReadOnlyConfiguration.tsx │ │ │ │ ├── MeterForm.tsx │ │ │ │ ├── MeterFormAggregation.tsx │ │ │ │ ├── MeterGetStarted.tsx │ │ │ │ ├── MeterIngestionGuide.tsx │ │ │ │ ├── MeterListSidebar.tsx │ │ │ │ ├── MeterPage.tsx │ │ │ │ ├── MeterSelect.tsx │ │ │ │ ├── MeterUpdateModal.tsx │ │ │ │ └── MetersList.tsx │ │ │ ├── Metrics │ │ │ │ ├── CancellationsDistributionChart.tsx │ │ │ │ ├── CancellationsStackedChart.tsx │ │ │ │ ├── CashflowChart.tsx │ │ │ │ ├── DateRangePicker.tsx │ │ │ │ ├── IntervalPicker.tsx │ │ │ │ ├── MetricChart.tsx │ │ │ │ ├── MetricChartBox.tsx │ │ │ │ ├── MiniMetricChartBox.tsx │ │ │ │ ├── ProfitChart.tsx │ │ │ │ ├── ShareChartModal.tsx │ │ │ │ └── cancellations │ │ │ │ │ └── constants.ts │ │ │ ├── Modal │ │ │ │ ├── ConfirmModal.tsx │ │ │ │ ├── FullscreenOverlay.tsx │ │ │ │ ├── InlineModal.tsx │ │ │ │ ├── index.tsx │ │ │ │ └── useModal.tsx │ │ │ ├── Navigation │ │ │ │ ├── Navigation.tsx │ │ │ │ ├── PublicProfileDropdown.tsx │ │ │ │ ├── SubNav.tsx │ │ │ │ ├── useRoute.ts │ │ │ │ └── utils.ts │ │ │ ├── Notifications │ │ │ │ └── NotificationsPopover.tsx │ │ │ ├── Onboarding │ │ │ │ ├── AssistantStep.tsx │ │ │ │ ├── IntegrateStep.tsx │ │ │ │ ├── OrganizationStep.tsx │ │ │ │ ├── PaymentOnboardingStepper.tsx │ │ │ │ ├── ProductStep.tsx │ │ │ │ └── ToolCallGroup.tsx │ │ │ ├── Orders │ │ │ │ ├── DownloadInvoice.tsx │ │ │ │ └── OrderStatus.tsx │ │ │ ├── Organization │ │ │ │ ├── AIValidationResult.tsx │ │ │ │ ├── AppealForm.tsx │ │ │ │ ├── Footer.tsx │ │ │ │ ├── OpenGraphImageCreator.tsx │ │ │ │ ├── StorefrontNav.tsx │ │ │ │ └── index.ts │ │ │ ├── Pagination │ │ │ │ └── Pagination.tsx │ │ │ ├── PaymentMethod │ │ │ │ └── PaymentMethod.tsx │ │ │ ├── PaymentStatus │ │ │ │ └── PaymentStatus.tsx │ │ │ ├── Payouts │ │ │ │ ├── AccountBalance.tsx │ │ │ │ ├── DownloadInvoice.tsx │ │ │ │ ├── PayoutContext.tsx │ │ │ │ ├── PayoutStatus.tsx │ │ │ │ ├── WithdrawModal.tsx │ │ │ │ └── useInvoiceDownload.ts │ │ │ ├── Privacy │ │ │ │ ├── CookieConsent.tsx │ │ │ │ └── countries.ts │ │ │ ├── Products │ │ │ │ ├── BenefitList.tsx │ │ │ │ ├── CreateProductPage.tsx │ │ │ │ ├── CreateProductPageWrapper.tsx │ │ │ │ ├── EditProductPage.tsx │ │ │ │ ├── LegacyRecurringProductPrices.tsx │ │ │ │ ├── ProductBenefitsForm.tsx │ │ │ │ ├── ProductCard.tsx │ │ │ │ ├── ProductForm │ │ │ │ │ ├── ProductCustomFieldSection.tsx │ │ │ │ │ ├── ProductForm.tsx │ │ │ │ │ ├── ProductInfoSection.tsx │ │ │ │ │ ├── ProductMediaSection.tsx │ │ │ │ │ ├── ProductMetadataSection.tsx │ │ │ │ │ ├── ProductPricingSection.tsx │ │ │ │ │ ├── ProductTrialSection.tsx │ │ │ │ │ └── UnitAmountInput.tsx │ │ │ │ ├── ProductListItem.tsx │ │ │ │ ├── ProductMediasField │ │ │ │ │ ├── FileList.tsx │ │ │ │ │ ├── FileListItem.tsx │ │ │ │ │ └── index.tsx │ │ │ │ ├── ProductMetadataForm.tsx │ │ │ │ ├── ProductPage │ │ │ │ │ ├── ProductMetricsView.tsx │ │ │ │ │ ├── ProductOverview.tsx │ │ │ │ │ └── ProductPage.tsx │ │ │ │ ├── ProductPill.tsx │ │ │ │ ├── ProductPriceLabel.tsx │ │ │ │ ├── ProductPriceTypeIcon.tsx │ │ │ │ ├── ProductPriceTypeLabel.tsx │ │ │ │ ├── ProductSelect.tsx │ │ │ │ ├── ProductThumbnail.tsx │ │ │ │ └── Slideshow.tsx │ │ │ ├── Profile │ │ │ │ ├── GradientMesh.js │ │ │ │ ├── ProductsGrid.tsx │ │ │ │ ├── Storefront.tsx │ │ │ │ ├── StorefrontHeader.tsx │ │ │ │ └── utils.ts │ │ │ ├── Refunds │ │ │ │ ├── RefundModal.tsx │ │ │ │ └── utils.ts │ │ │ ├── Sandbox │ │ │ │ └── SandboxBanner.tsx │ │ │ ├── Seats │ │ │ │ └── SeatViewOnlyTable.tsx │ │ │ ├── Settings │ │ │ │ ├── AccessTokenSettings.tsx │ │ │ │ ├── AuthenticationSettings.tsx │ │ │ │ ├── BenefitRevocationGracePeriod.tsx │ │ │ │ ├── FeatureSettings.tsx │ │ │ │ ├── GeneralSettings.tsx │ │ │ │ ├── NotificationRecipientsSettings.tsx │ │ │ │ ├── OAuth │ │ │ │ │ ├── EditOAuthClientModal.tsx │ │ │ │ │ ├── NewOAuthClientModal.tsx │ │ │ │ │ ├── OAuthForm.tsx │ │ │ │ │ └── OAuthSettings.tsx │ │ │ │ ├── OrganizationAccessTokensSettings.tsx │ │ │ │ ├── OrganizationCustomerEmailSettings.tsx │ │ │ │ ├── OrganizationDeleteSettings.tsx │ │ │ │ ├── OrganizationNotificationSettings.tsx │ │ │ │ ├── OrganizationProfileSettings.tsx │ │ │ │ ├── OrganizationSubscriptionSettings.tsx │ │ │ │ ├── ProrationBehavior.tsx │ │ │ │ ├── Section.tsx │ │ │ │ ├── SettingsCheckbox.tsx │ │ │ │ ├── SettingsGroup.tsx │ │ │ │ └── Webhook │ │ │ │ │ ├── NewWebhookModal.tsx │ │ │ │ │ ├── WebhookContextView.tsx │ │ │ │ │ ├── WebhookDeliveriesTable.tsx │ │ │ │ │ ├── WebhookFilter.tsx │ │ │ │ │ ├── WebhookForm.tsx │ │ │ │ │ └── WebhookSettings.tsx │ │ │ ├── Shared │ │ │ │ ├── AmountLabel.tsx │ │ │ │ ├── DetailRow.tsx │ │ │ │ ├── PageNotFound.tsx │ │ │ │ ├── Spinner.tsx │ │ │ │ ├── TooManyRequests.tsx │ │ │ │ └── Well.tsx │ │ │ ├── Sparkline │ │ │ │ └── Sparkline.tsx │ │ │ ├── Subscriptions │ │ │ │ ├── CancelSubscriptionModal.tsx │ │ │ │ ├── CustomerCancellationModal.tsx │ │ │ │ ├── CustomerChangePlanModal.tsx │ │ │ │ ├── CustomerSubscriptionDetails.tsx │ │ │ │ ├── SubscriptionCancellationSelect.tsx │ │ │ │ ├── SubscriptionDetails.tsx │ │ │ │ ├── SubscriptionStatus.tsx │ │ │ │ ├── SubscriptionStatusSelect.tsx │ │ │ │ ├── SubscriptionTierCard.tsx │ │ │ │ ├── SubscriptionTierRecurringIntervalSwitch.tsx │ │ │ │ ├── SubscriptionTiersSelect.tsx │ │ │ │ ├── UpcomingChargeCard.tsx │ │ │ │ ├── UpdateSubscriptionModal.tsx │ │ │ │ └── utils.tsx │ │ │ ├── SyntaxHighlighterShiki │ │ │ │ └── SyntaxHighlighterClient.tsx │ │ │ ├── Toast │ │ │ │ ├── Toaster.tsx │ │ │ │ ├── index.tsx │ │ │ │ ├── use-toast.ts │ │ │ │ └── utils.ts │ │ │ ├── Transactions │ │ │ │ ├── AccountBanner.tsx │ │ │ │ └── TransactionsList.tsx │ │ │ ├── TrialConfiguration │ │ │ │ └── TrialConfigurationForm.tsx │ │ │ ├── Upsell │ │ │ │ └── EventsUpsell.tsx │ │ │ ├── Vision │ │ │ │ ├── Button.tsx │ │ │ │ ├── Console.tsx │ │ │ │ ├── Footer.tsx │ │ │ │ ├── Grid.tsx │ │ │ │ ├── JobLink.tsx │ │ │ │ ├── JobSection.tsx │ │ │ │ ├── Link.tsx │ │ │ │ ├── Navigation.tsx │ │ │ │ ├── Section.tsx │ │ │ │ ├── sections │ │ │ │ │ ├── CareersSection.tsx │ │ │ │ │ ├── CompanySection.tsx │ │ │ │ │ └── InvestorsSection.tsx │ │ │ │ └── useArrowFocus.ts │ │ │ ├── Wallet │ │ │ │ └── WalletCard.tsx │ │ │ ├── Widgets │ │ │ │ ├── AccountWidget.tsx │ │ │ │ ├── MonthWidget.tsx │ │ │ │ ├── OrdersWidget.tsx │ │ │ │ ├── RevenueWidget.tsx │ │ │ │ └── SubscribersWidget.tsx │ │ │ └── ui │ │ │ │ └── ConfirmationButton.tsx │ │ ├── hooks │ │ │ ├── auth.ts │ │ │ ├── checkout.ts │ │ │ ├── clipboard.tsx │ │ │ ├── draggable.ts │ │ │ ├── editor.ts │ │ │ ├── emailUpdate.ts │ │ │ ├── index.ts │ │ │ ├── login.ts │ │ │ ├── loginCode.ts │ │ │ ├── oauth-accounts.ts │ │ │ ├── posthog.ts │ │ │ ├── products.ts │ │ │ ├── queries │ │ │ │ ├── accounts.ts │ │ │ │ ├── benefits.ts │ │ │ │ ├── checkout_links.ts │ │ │ │ ├── checkouts.ts │ │ │ │ ├── customFields.ts │ │ │ │ ├── customerMeters.ts │ │ │ │ ├── customerPortal.ts │ │ │ │ ├── customers.ts │ │ │ │ ├── discord.ts │ │ │ │ ├── discounts.ts │ │ │ │ ├── event_types.ts │ │ │ │ ├── events.ts │ │ │ │ ├── files.ts │ │ │ │ ├── githubRepositoryBenefit.ts │ │ │ │ ├── index.ts │ │ │ │ ├── license_keys.ts │ │ │ │ ├── meters.ts │ │ │ │ ├── metrics.ts │ │ │ │ ├── notifications.ts │ │ │ │ ├── oauth.ts │ │ │ │ ├── orders.ts │ │ │ │ ├── org.ts │ │ │ │ ├── payments.ts │ │ │ │ ├── payouts.ts │ │ │ │ ├── products.ts │ │ │ │ ├── refunds.ts │ │ │ │ ├── retry.ts │ │ │ │ ├── seats.ts │ │ │ │ ├── storefront.ts │ │ │ │ ├── subscriptions.ts │ │ │ │ ├── transactions.ts │ │ │ │ ├── user.ts │ │ │ │ ├── wallets.ts │ │ │ │ └── webhooks.ts │ │ │ ├── sse │ │ │ │ ├── benefits.ts │ │ │ │ ├── index.ts │ │ │ │ └── organizations.ts │ │ │ ├── upsell.ts │ │ │ ├── useAutoSave.ts │ │ │ ├── useSeatClaimFulfillment.ts │ │ │ └── utils.ts │ │ ├── instrumentation.ts │ │ ├── mdx-components.tsx │ │ ├── providers │ │ │ ├── auth.tsx │ │ │ └── maintainerOrganization.tsx │ │ ├── proxy.test.ts │ │ ├── proxy.ts │ │ ├── styles │ │ │ └── globals.css │ │ └── utils │ │ │ ├── account.ts │ │ │ ├── api │ │ │ ├── errors.ts │ │ │ ├── index.ts │ │ │ └── query.ts │ │ │ ├── auth.ts │ │ │ ├── checkout.ts │ │ │ ├── client │ │ │ ├── index.ts │ │ │ └── serverside.ts │ │ │ ├── config.ts │ │ │ ├── cookies.ts │ │ │ ├── crawlers.ts │ │ │ ├── customer.ts │ │ │ ├── customerPortal.ts │ │ │ ├── datatable.ts │ │ │ ├── date.ts │ │ │ ├── discount.ts │ │ │ ├── domain.ts │ │ │ ├── formatters.ts │ │ │ ├── impersonation.tsx │ │ │ ├── markdown.tsx │ │ │ ├── meter.ts │ │ │ ├── metrics.ts │ │ │ ├── mobile.ts │ │ │ ├── nav.ts │ │ │ ├── order.ts │ │ │ ├── organization.ts │ │ │ ├── payment.ts │ │ │ ├── product.ts │ │ │ ├── router.ts │ │ │ ├── sse.ts │ │ │ ├── storefront.ts │ │ │ ├── subscription.ts │ │ │ ├── useDebounce.ts │ │ │ ├── useOutsideClick.ts │ │ │ ├── user.ts │ │ │ └── validation.ts │ │ ├── tsconfig.json │ │ ├── vercel.json │ │ └── vitest.config.ts ├── examples │ ├── checkout-components │ │ └── next-env.d.ts │ └── checkout-embed │ │ ├── index.html │ │ ├── package-lock.json │ │ └── package.json ├── package.json ├── packages │ ├── checkout │ │ ├── .npmignore │ │ ├── .prettierignore │ │ ├── CHANGELOG.md │ │ ├── README.md │ │ ├── package.json │ │ ├── src │ │ │ ├── components │ │ │ │ ├── AmountLabel.tsx │ │ │ │ ├── CheckoutForm.tsx │ │ │ │ ├── CheckoutPWYWForm.tsx │ │ │ │ ├── CheckoutPricing.tsx │ │ │ │ ├── CheckoutProductSwitcher.tsx │ │ │ │ ├── CheckoutSeatSelector.tsx │ │ │ │ ├── CustomFieldInput.tsx │ │ │ │ ├── MeteredPriceLabel.tsx │ │ │ │ ├── MeteredPricesDisplay.tsx │ │ │ │ ├── PolarLogo.tsx │ │ │ │ ├── ProductPriceLabel.tsx │ │ │ │ └── index.ts │ │ │ ├── embed.ts │ │ │ ├── guards.ts │ │ │ ├── hooks │ │ │ │ ├── checkout.ts │ │ │ │ ├── debounce.ts │ │ │ │ ├── fulfillment.ts │ │ │ │ ├── index.ts │ │ │ │ └── payment.ts │ │ │ ├── providers │ │ │ │ ├── CheckoutFormProvider.tsx │ │ │ │ ├── CheckoutProvider.tsx │ │ │ │ └── index.ts │ │ │ └── utils │ │ │ │ ├── address.ts │ │ │ │ ├── discount.ts │ │ │ │ ├── form.ts │ │ │ │ ├── money.ts │ │ │ │ ├── product.ts │ │ │ │ └── sse.ts │ │ ├── tsconfig.json │ │ └── tsup.config.ts │ ├── client │ │ ├── .prettierignore │ │ ├── README.md │ │ ├── package.json │ │ ├── src │ │ │ ├── enums.ts │ │ │ ├── index.ts │ │ │ └── v1.ts │ │ ├── tsconfig.json │ │ └── tsup.config.ts │ ├── eslint-config │ │ ├── .prettierignore │ │ ├── README.md │ │ ├── base.js │ │ ├── next.js │ │ ├── package.json │ │ └── react-internal.js │ ├── mdx │ │ ├── .prettierignore │ │ ├── README.md │ │ ├── mdx-metadata.js │ │ └── package.json │ ├── typescript-config │ │ ├── .prettierignore │ │ ├── base.json │ │ ├── bundled.json │ │ ├── nextjs.json │ │ ├── package.json │ │ └── react-library.json │ └── ui │ │ ├── .prettierignore │ │ ├── CHANGELOG.md │ │ ├── README.md │ │ ├── components.json │ │ ├── package.json │ │ ├── src │ │ ├── components │ │ │ ├── atoms │ │ │ │ ├── Accordion.tsx │ │ │ │ ├── Alert.tsx │ │ │ │ ├── Avatar.tsx │ │ │ │ ├── Button.tsx │ │ │ │ ├── Card.tsx │ │ │ │ ├── Combobox.tsx │ │ │ │ ├── CopyToClipboardInput.tsx │ │ │ │ ├── CountryPicker.tsx │ │ │ │ ├── CountryStatePicker.tsx │ │ │ │ ├── DateTimePicker.tsx │ │ │ │ ├── DropdownMenu.tsx │ │ │ │ ├── FormattedDateTime.tsx │ │ │ │ ├── FormattedInterval.tsx │ │ │ │ ├── Input.tsx │ │ │ │ ├── InputOTP.tsx │ │ │ │ ├── LabeledRadioButton.tsx │ │ │ │ ├── LabeledSeparator.tsx │ │ │ │ ├── List.tsx │ │ │ │ ├── MoneyInput.tsx │ │ │ │ ├── Paginator.tsx │ │ │ │ ├── PercentageInput.tsx │ │ │ │ ├── Pill.tsx │ │ │ │ ├── PolarTimeAgo.tsx │ │ │ │ ├── Select.tsx │ │ │ │ ├── ShadowBox.tsx │ │ │ │ ├── ShadowBoxOnMd.tsx │ │ │ │ ├── ShadowListGroup.tsx │ │ │ │ ├── Sidebar.tsx │ │ │ │ ├── Status.tsx │ │ │ │ ├── Switch.tsx │ │ │ │ ├── Tabs.tsx │ │ │ │ ├── TextArea.tsx │ │ │ │ └── datatable │ │ │ │ │ ├── DataTable.tsx │ │ │ │ │ ├── DataTableColumnHeader.tsx │ │ │ │ │ ├── DataTablePagination.tsx │ │ │ │ │ └── index.ts │ │ │ ├── molecules │ │ │ │ └── Banner.tsx │ │ │ └── ui │ │ │ │ ├── accordion.tsx │ │ │ │ ├── alert-dialog.tsx │ │ │ │ ├── button.tsx │ │ │ │ ├── calendar.tsx │ │ │ │ ├── card.tsx │ │ │ │ ├── chart.tsx │ │ │ │ ├── checkbox.tsx │ │ │ │ ├── command.tsx │ │ │ │ ├── dialog.tsx │ │ │ │ ├── dropdown-menu.tsx │ │ │ │ ├── form.tsx │ │ │ │ ├── input-otp.tsx │ │ │ │ ├── input.tsx │ │ │ │ ├── label.tsx │ │ │ │ ├── popover.tsx │ │ │ │ ├── radio-group.tsx │ │ │ │ ├── select.tsx │ │ │ │ ├── separator.tsx │ │ │ │ ├── sheet.tsx │ │ │ │ ├── sidebar.tsx │ │ │ │ ├── skeleton.tsx │ │ │ │ ├── table.tsx │ │ │ │ ├── tabs.tsx │ │ │ │ ├── textarea.tsx │ │ │ │ ├── toggle-group.tsx │ │ │ │ ├── toggle.tsx │ │ │ │ └── tooltip.tsx │ │ ├── hooks │ │ │ ├── theming.ts │ │ │ └── use-mobile.ts │ │ └── lib │ │ │ ├── money.ts │ │ │ └── utils.ts │ │ ├── tsconfig.json │ │ └── tsup.config.ts ├── pnpm-lock.yaml ├── pnpm-workspace.yaml └── turbo.json ├── dev ├── create-test-db ├── email_login_code_notifier.py └── setup-environment ├── docs ├── .gitignore ├── .node-version ├── README.md ├── api-reference │ ├── benefits │ │ ├── create.mdx │ │ ├── delete.mdx │ │ ├── get.mdx │ │ ├── list-grants.mdx │ │ ├── list.mdx │ │ └── update.mdx │ ├── checkout-links │ │ ├── create.mdx │ │ ├── delete.mdx │ │ ├── get.mdx │ │ ├── list.mdx │ │ └── update.mdx │ ├── checkouts │ │ ├── confirm-session-from-client.mdx │ │ ├── create-session.mdx │ │ ├── get-session-from-client.mdx │ │ ├── get-session.mdx │ │ ├── list-sessions.mdx │ │ ├── update-session-from-client.mdx │ │ └── update-session.mdx │ ├── custom-fields │ │ ├── create.mdx │ │ ├── delete.mdx │ │ ├── get.mdx │ │ ├── list.mdx │ │ └── update.mdx │ ├── customer-meters │ │ ├── get.mdx │ │ └── list.mdx │ ├── customer-portal │ │ ├── benefit-grants │ │ │ ├── get.mdx │ │ │ ├── list.mdx │ │ │ └── update.mdx │ │ ├── downloadables │ │ │ ├── get.mdx │ │ │ └── list.mdx │ │ ├── get-customer.mdx │ │ ├── get-organization.mdx │ │ ├── license-keys │ │ │ ├── activate.mdx │ │ │ ├── deactivate.mdx │ │ │ ├── get.mdx │ │ │ ├── list.mdx │ │ │ └── validate.mdx │ │ ├── orders │ │ │ ├── get-invoice.mdx │ │ │ ├── get.mdx │ │ │ ├── list.mdx │ │ │ ├── patch.mdx │ │ │ └── post-invoice.mdx │ │ ├── overview.mdx │ │ ├── seats │ │ │ ├── assign.mdx │ │ │ ├── list-subscriptions.mdx │ │ │ ├── list.mdx │ │ │ ├── resend.mdx │ │ │ └── revoke.mdx │ │ ├── sessions │ │ │ └── create.mdx │ │ └── subscriptions │ │ │ ├── cancel.mdx │ │ │ ├── get.mdx │ │ │ ├── list.mdx │ │ │ └── update.mdx │ ├── customer-seats │ │ ├── assign.mdx │ │ ├── claim.mdx │ │ ├── get-claim-info.mdx │ │ ├── list.mdx │ │ ├── resend.mdx │ │ └── revoke.mdx │ ├── customers │ │ ├── create.mdx │ │ ├── delete-external.mdx │ │ ├── delete.mdx │ │ ├── get-external.mdx │ │ ├── get.mdx │ │ ├── list.mdx │ │ ├── state-external.mdx │ │ ├── state.mdx │ │ ├── update-external.mdx │ │ └── update.mdx │ ├── discounts │ │ ├── create.mdx │ │ ├── delete.mdx │ │ ├── get.mdx │ │ ├── list.mdx │ │ └── update.mdx │ ├── events │ │ ├── get.mdx │ │ ├── ingest.mdx │ │ └── list.mdx │ ├── files │ │ ├── complete-upload.mdx │ │ ├── create.mdx │ │ ├── delete.mdx │ │ ├── list.mdx │ │ └── update.mdx │ ├── introduction.mdx │ ├── license-keys │ │ ├── activate.mdx │ │ ├── deactivate.mdx │ │ ├── get-activation.mdx │ │ ├── get.mdx │ │ ├── list.mdx │ │ ├── update.mdx │ │ └── validate.mdx │ ├── meters │ │ ├── create.mdx │ │ ├── get-events.mdx │ │ ├── get-quantities.mdx │ │ ├── get.mdx │ │ ├── list.mdx │ │ └── update.mdx │ ├── metrics │ │ ├── get-limits.mdx │ │ └── get.mdx │ ├── oauth2 │ │ └── connect │ │ │ ├── authorize.mdx │ │ │ ├── get-user-info.mdx │ │ │ ├── introspect-token.mdx │ │ │ ├── request-token.mdx │ │ │ └── revoke-token.mdx │ ├── orders │ │ ├── get-invoice.mdx │ │ ├── get.mdx │ │ ├── list.mdx │ │ ├── patch.mdx │ │ └── post-invoice.mdx │ ├── organizations │ │ ├── create.mdx │ │ ├── get.mdx │ │ ├── list.mdx │ │ └── update.mdx │ ├── products │ │ ├── create.mdx │ │ ├── get.mdx │ │ ├── list.mdx │ │ ├── update-benefits.mdx │ │ └── update.mdx │ ├── refunds │ │ ├── create.mdx │ │ └── list.mdx │ ├── subscriptions │ │ ├── create.mdx │ │ ├── export.mdx │ │ ├── get.mdx │ │ ├── list.mdx │ │ ├── revoke.mdx │ │ └── update.mdx │ └── webhooks │ │ ├── benefit.created.mdx │ │ ├── benefit.updated.mdx │ │ ├── benefit_grant.created.mdx │ │ ├── benefit_grant.cycled.mdx │ │ ├── benefit_grant.revoked.mdx │ │ ├── benefit_grant.updated.mdx │ │ ├── checkout.created.mdx │ │ ├── checkout.updated.mdx │ │ ├── customer.created.mdx │ │ ├── customer.deleted.mdx │ │ ├── customer.state_changed.mdx │ │ ├── customer.updated.mdx │ │ ├── customer_seat.assigned.mdx │ │ ├── customer_seat.claimed.mdx │ │ ├── customer_seat.revoked.mdx │ │ ├── endpoints │ │ ├── create.mdx │ │ ├── delete.mdx │ │ ├── get.mdx │ │ ├── list.mdx │ │ └── update.mdx │ │ ├── order.created.mdx │ │ ├── order.paid.mdx │ │ ├── order.refunded.mdx │ │ ├── order.updated.mdx │ │ ├── organization.updated.mdx │ │ ├── pledge.created.mdx │ │ ├── pledge.updated.mdx │ │ ├── product.created.mdx │ │ ├── product.updated.mdx │ │ ├── refund.created.mdx │ │ ├── refund.updated.mdx │ │ ├── subscription.active.mdx │ │ ├── subscription.canceled.mdx │ │ ├── subscription.created.mdx │ │ ├── subscription.revoked.mdx │ │ ├── subscription.uncanceled.mdx │ │ └── subscription.updated.mdx ├── assets │ ├── changelog │ │ ├── 2025-02-19 │ │ │ ├── deprecated_pricing.dark.png │ │ │ └── deprecated_pricing.light.png │ │ ├── 2025-03-04 │ │ │ └── better_auth.jpeg │ │ ├── 2025-09-22 │ │ │ └── cancellation-metrics-example.png │ │ ├── 2025-10-01 │ │ │ └── launched-subscription-trials.jpeg │ │ └── 2025-10-10 │ │ │ └── launched-merchant-support.jpg │ ├── create-org.dark.png │ ├── create-org.light.png │ ├── features │ │ ├── analytics │ │ │ ├── overview.dark.png │ │ │ └── overview.light.png │ │ ├── benefits │ │ │ ├── credits │ │ │ │ ├── credits.dark.png │ │ │ │ └── credits.light.png │ │ │ ├── discord │ │ │ │ ├── create.dark.png │ │ │ │ ├── create.light.png │ │ │ │ └── hero.png │ │ │ ├── file-downloads │ │ │ │ └── hero.png │ │ │ ├── github │ │ │ │ └── hero.png │ │ │ └── license-keys │ │ │ │ └── hero.jpeg │ │ ├── checkout │ │ │ ├── embed │ │ │ │ └── demo.png │ │ │ ├── links │ │ │ │ ├── checkout_link.dark.png │ │ │ │ ├── checkout_link.light.png │ │ │ │ ├── checkout_multiple_products.dark.png │ │ │ │ ├── checkout_multiple_products.light.png │ │ │ │ ├── create.dark.png │ │ │ │ └── create.light.png │ │ │ └── session │ │ │ │ ├── checkout_multiple_products.dark.png │ │ │ │ └── checkout_multiple_products.light.png │ │ ├── cost │ │ │ ├── ingestion.dark.png │ │ │ └── ingestion.light.png │ │ ├── custom-fields │ │ │ ├── add_custom_field.dark.png │ │ │ ├── add_custom_field.light.png │ │ │ ├── create_custom_field.dark.png │ │ │ ├── create_custom_field.light.png │ │ │ ├── custom_field_data.dark.png │ │ │ ├── custom_field_data.light.png │ │ │ ├── custom_fields.dark.png │ │ │ ├── custom_fields.light.png │ │ │ ├── custom_fields_checkout.dark.png │ │ │ ├── custom_fields_checkout.light.png │ │ │ ├── label_markdown.dark.png │ │ │ └── label_markdown.light.png │ │ ├── customer-management │ │ │ ├── details.dark.png │ │ │ ├── details.light.png │ │ │ ├── edit.dark.png │ │ │ └── edit.light.png │ │ ├── customer-portal │ │ │ ├── overview.dark.png │ │ │ ├── overview.light.png │ │ │ ├── signin.dark.png │ │ │ └── signin.light.png │ │ ├── discounts │ │ │ ├── create.dark.png │ │ │ └── create.light.png │ │ ├── finance │ │ │ ├── accounts │ │ │ │ ├── create.dark.jpeg │ │ │ │ ├── create.light.jpeg │ │ │ │ ├── onboarding.dark.jpeg │ │ │ │ └── onboarding.light.jpeg │ │ │ ├── balance │ │ │ │ ├── overview.dark.jpeg │ │ │ │ └── overview.light.jpeg │ │ │ └── payouts │ │ │ │ ├── download.dark.png │ │ │ │ ├── download.light.png │ │ │ │ ├── generate.dark.png │ │ │ │ ├── generate.light.png │ │ │ │ └── sample-reverse-invoice.pdf │ │ ├── integrations │ │ │ ├── fernand │ │ │ │ ├── action.png │ │ │ │ ├── create-rule.png │ │ │ │ ├── enable.png │ │ │ │ ├── inbox.png │ │ │ │ ├── overview.png │ │ │ │ ├── rule-conditions.png │ │ │ │ └── rule-trigger.png │ │ │ ├── paritydeals │ │ │ │ ├── choose-products.light.png │ │ │ │ ├── connect.light.png │ │ │ │ ├── create-deals.light.png │ │ │ │ ├── customize-banner.light.png │ │ │ │ ├── customize-deals.light.png │ │ │ │ ├── grant.light.png │ │ │ │ └── success.light.png │ │ │ └── raycast │ │ │ │ └── hero.png │ │ ├── orders │ │ │ ├── checkout.dark.png │ │ │ ├── checkout.light.png │ │ │ ├── checkouts.dark.png │ │ │ ├── checkouts.light.png │ │ │ ├── detail.dark.png │ │ │ ├── detail.light.png │ │ │ ├── overview.dark.png │ │ │ └── overview.light.png │ │ ├── products │ │ │ ├── checkout_fields.dark.png │ │ │ ├── checkout_fields.light.png │ │ │ ├── create.dark.png │ │ │ └── create.light.png │ │ ├── refunds │ │ │ ├── issue-refund.dark.png │ │ │ ├── issue-refund.light.png │ │ │ ├── order-refund.dark.png │ │ │ └── order-refund.light.png │ │ ├── trials │ │ │ ├── checkout.dark.png │ │ │ ├── checkout.light.png │ │ │ ├── setup.dark.png │ │ │ ├── setup.light.png │ │ │ ├── update.dark.png │ │ │ └── update.light.png │ │ └── usage │ │ │ ├── cap.dark.png │ │ │ ├── cap.light.png │ │ │ ├── create-meter.dark.png │ │ │ ├── create-meter.light.png │ │ │ ├── filter.dark.png │ │ │ ├── filter.light.png │ │ │ ├── ingest.dark.png │ │ │ ├── ingest.light.png │ │ │ ├── meter.dark.png │ │ │ ├── meter.light.png │ │ │ ├── portal.dark.png │ │ │ ├── portal.light.png │ │ │ ├── product-meter.dark.png │ │ │ └── product-meter.light.png │ ├── guides │ │ ├── automate-post-purchase-link-sharing │ │ │ ├── benefit-created.png │ │ │ ├── benefits-page.png │ │ │ ├── checkout.png │ │ │ ├── create-benefit-with-details.png │ │ │ ├── create-benefit.png │ │ │ ├── create-product-1.png │ │ │ ├── create-product2.png │ │ │ ├── create-product3.png │ │ │ ├── create-product4.png │ │ │ ├── customer-portal.png │ │ │ ├── email.png │ │ │ ├── product-catalogue.png │ │ │ ├── product-created.png │ │ │ └── purchased.png │ │ ├── change-email-as-merchant │ │ │ ├── fifth.png │ │ │ ├── first.png │ │ │ ├── fourth.png │ │ │ ├── second.png │ │ │ ├── sixth.png │ │ │ └── third.png │ │ ├── create-multiple-organizations │ │ │ ├── fifth.png │ │ │ ├── first.png │ │ │ ├── fourth.png │ │ │ ├── second.png │ │ │ └── third.png │ │ ├── customize-benefits-order-in-checkouts │ │ │ ├── automated-benefits.png │ │ │ ├── benefits-creation-while-product-creation.png │ │ │ ├── checkout-session.png │ │ │ ├── drag-and-drop.png │ │ │ ├── order-changed.png │ │ │ ├── product-edit.png │ │ │ ├── products-catalogue.png │ │ │ └── reorder.png │ │ ├── customize-products-order-in-checkouts │ │ │ ├── access-token.png │ │ │ ├── p1-p2.png │ │ │ ├── p2-p1.png │ │ │ ├── product-id.png │ │ │ └── products-catalogue.png │ │ ├── disable-prices-changes-by-customer │ │ │ ├── disable-price-changes.png │ │ │ ├── price-changes-saved.png │ │ │ └── settings.png │ │ ├── downgrades │ │ │ ├── customer-mail-2.png │ │ │ ├── customer-portal-1.png │ │ │ ├── customer-portal-3.png │ │ │ ├── customer-portal-4.png │ │ │ ├── downgrade-subscription.png │ │ │ ├── downgraded-successfully.png │ │ │ ├── open-subscription.png │ │ │ ├── subscription-page.png │ │ │ └── update-subscription.png │ │ ├── enable-multiple-subscription │ │ │ ├── enable-multiple-subs.png │ │ │ ├── save-enabled-multiple-subs.png │ │ │ └── settings.png │ │ ├── laravel │ │ │ └── hero.jpeg │ │ ├── theme-switch-in-checkout │ │ │ ├── access-token.png │ │ │ ├── dark-theme.png │ │ │ ├── light-theme.png │ │ │ ├── oat-settings-2.png │ │ │ ├── oat-settings.png │ │ │ ├── organization-settings-2.png │ │ │ ├── product-id.png │ │ │ └── products-catalogue.png │ │ ├── upgrades │ │ │ ├── customer-mail-2.png │ │ │ ├── customer-portal-1.png │ │ │ ├── customer-portal-5.png │ │ │ ├── customer-portal-6.png │ │ │ ├── open-subscription.png │ │ │ ├── subscription-page.png │ │ │ ├── update-subscription.png │ │ │ ├── upgrade-subscription.png │ │ │ └── upgraded-successfully.png │ │ └── variants │ │ │ ├── access-link.png │ │ │ ├── advanced-version.png │ │ │ ├── advanced-version2.png │ │ │ ├── basic-version.png │ │ │ ├── basic-version2.png │ │ │ ├── catalogue-basic.png │ │ │ ├── catalogue-with-3-products.png │ │ │ ├── checkout-links.png │ │ │ ├── create-checkout-links.png │ │ │ ├── customer-mail-2.png │ │ │ ├── customer-portal-1.png │ │ │ ├── customer-portal-3.png │ │ │ ├── customer-portal-4.png │ │ │ ├── customer-portal-5.png │ │ │ ├── customer-portal-6.png │ │ │ ├── full-page-checkout-page.png │ │ │ ├── link-created.png │ │ │ ├── mid-version.png │ │ │ ├── mid-version2.png │ │ │ └── product-catalogue.png │ ├── integrate │ │ ├── authentication │ │ │ ├── oat-configuration.png │ │ │ └── settings.png │ │ ├── mcp │ │ │ └── mcp.png │ │ ├── oauth2 │ │ │ └── connect.png │ │ └── webhooks │ │ │ ├── create.dark.png │ │ │ ├── create.light.png │ │ │ ├── delivery.dark.png │ │ │ ├── delivery.light.png │ │ │ ├── format.dark.png │ │ │ ├── format.light.png │ │ │ ├── secret.dark.png │ │ │ ├── secret.light.png │ │ │ ├── url.dark.png │ │ │ └── url.light.png │ ├── introduction │ │ ├── checkout.dark.png │ │ └── checkout.light.png │ ├── merchant-of-record │ │ └── introduction │ │ │ ├── mor.jpeg │ │ │ └── psp.jpeg │ └── welcome.png ├── changelog │ ├── api.mdx │ └── recent.mdx ├── docs.json ├── features │ ├── analytics.mdx │ ├── benefits │ │ ├── credits.mdx │ │ ├── custom.mdx │ │ ├── discord-access.mdx │ │ ├── file-downloads.mdx │ │ ├── github-access.mdx │ │ ├── introduction.mdx │ │ └── license-keys.mdx │ ├── checkout │ │ ├── embed.mdx │ │ ├── links.mdx │ │ └── session.mdx │ ├── cost-insights │ │ ├── cost-events.mdx │ │ ├── cost-traces.mdx │ │ └── introduction.mdx │ ├── custom-fields.mdx │ ├── customer-management.mdx │ ├── customer-portal.mdx │ ├── discounts.mdx │ ├── finance │ │ ├── accounts.mdx │ │ ├── balance.mdx │ │ └── payouts.mdx │ ├── integrations │ │ ├── affonso.mdx │ │ ├── fernand.mdx │ │ ├── framer.mdx │ │ ├── paritydeals.mdx │ │ ├── raycast.mdx │ │ └── zapier.mdx │ ├── orders.mdx │ ├── products.mdx │ ├── refunds.mdx │ ├── seat-based-pricing.mdx │ ├── trials.mdx │ └── usage-based-billing │ │ ├── billing.mdx │ │ ├── credits.mdx │ │ ├── event-ingestion.mdx │ │ ├── ingestion-strategies │ │ ├── delta-time-strategy.mdx │ │ ├── ingestion-strategy.mdx │ │ ├── llm-strategy.mdx │ │ ├── s3-strategy.mdx │ │ └── stream-strategy.mdx │ │ ├── introduction.mdx │ │ └── meters.mdx ├── guides │ ├── allow-multiple-subscriptions-per-customer.mdx │ ├── automate-post-purchase-link-sharing.mdx │ ├── change-email-as-merchant.mdx │ ├── create-checkout-session.mdx │ ├── create-multiple-organizations.mdx │ ├── create-variants.mdx │ ├── customize-benefits-order-in-checkouts.mdx │ ├── customize-products-order-in-checkouts.mdx │ ├── disable-email-editing-in-checkout.mdx │ ├── disable-subscription-changes-in-customer-portal.mdx │ ├── grant-meter-credits-after-purchase.mdx │ ├── grant-meter-credits-before-purchase.mdx │ ├── introduction.mdx │ ├── laravel.mdx │ ├── nextjs.mdx │ ├── seat-based-pricing.mdx │ ├── subscription-downgrades.mdx │ ├── subscription-upgrades.mdx │ ├── theme-switch-in-checkout.mdx │ └── upgrades.mdx ├── integrate │ ├── authentication.mdx │ ├── customer-state.mdx │ ├── mcp.mdx │ ├── oat.mdx │ ├── oauth2 │ │ ├── connect.mdx │ │ ├── introduction.mdx │ │ └── setup.mdx │ ├── sandbox.mdx │ ├── sdk │ │ ├── adapters │ │ │ ├── astro.mdx │ │ │ ├── better-auth.mdx │ │ │ ├── deno.mdx │ │ │ ├── elysia.mdx │ │ │ ├── express.mdx │ │ │ ├── fastify.mdx │ │ │ ├── hono.mdx │ │ │ ├── laravel.mdx │ │ │ ├── nextjs.mdx │ │ │ ├── nuxt.mdx │ │ │ ├── remix.mdx │ │ │ ├── sveltekit.mdx │ │ │ └── tanstack-start.mdx │ │ ├── golang.mdx │ │ ├── php.mdx │ │ ├── python.mdx │ │ └── typescript.mdx │ └── webhooks │ │ ├── delivery.mdx │ │ ├── endpoints.mdx │ │ └── events.mdx ├── introduction.mdx ├── logo │ ├── dark.png │ ├── favicon.png │ └── light.png ├── merchant-of-record │ ├── acceptable-use.mdx │ ├── account-reviews.mdx │ ├── fees.mdx │ ├── introduction.mdx │ └── supported-countries.mdx ├── migrate.mdx ├── openapi.yaml ├── package.json ├── pnpm-lock.yaml ├── snippets │ ├── usage │ │ ├── events.mdx │ │ ├── meter-credits.mdx │ │ ├── metered-price.mdx │ │ └── meters.mdx │ └── zapier-embed.mdx ├── style.css ├── support.mdx └── update-schema.sh ├── flake.lock ├── flake.nix ├── polar.code-workspace ├── pyrightconfig.json ├── sdk └── overlays │ ├── event_discriminator.yml │ ├── event_metadata.yml │ ├── read_only.yml │ ├── security.yml │ ├── timezone_enum.yml │ └── type_parameter.yml ├── server ├── .dockerignore ├── .env.template ├── .env.testing ├── .minio │ ├── configure.sh │ ├── github.sh │ ├── local.sh │ └── policy.json ├── .vscode │ ├── extensions.json │ ├── launch.json │ └── settings.json ├── .zed │ └── settings.json ├── Dockerfile ├── alembic.ini ├── docker-compose.yml ├── emails │ ├── .gitignore │ ├── .node-version │ ├── .prettierrc.json │ ├── README.md │ ├── package.json │ ├── pnpm-lock.yaml │ ├── src │ │ ├── components │ │ │ ├── Benefits.tsx │ │ │ ├── BodyText.tsx │ │ │ ├── Button.tsx │ │ │ ├── Footer.tsx │ │ │ ├── FooterCustomer.tsx │ │ │ ├── Icons.tsx │ │ │ ├── InfoBox.tsx │ │ │ ├── IntroWithHi.tsx │ │ │ ├── OTPCode.tsx │ │ │ ├── OrderSummary.tsx │ │ │ ├── OrganizationHeader.tsx │ │ │ ├── PolarHeader.tsx │ │ │ └── Wrapper.tsx │ │ ├── emails │ │ │ ├── customer_session_code.tsx │ │ │ ├── email_update.tsx │ │ │ ├── index.ts │ │ │ ├── login_code.tsx │ │ │ ├── notification_create_account.tsx │ │ │ ├── notification_new_sale.tsx │ │ │ ├── notification_new_subscription.tsx │ │ │ ├── oauth2_leaked_client.tsx │ │ │ ├── oauth2_leaked_token.tsx │ │ │ ├── order_confirmation.tsx │ │ │ ├── organization_access_token_leaked.tsx │ │ │ ├── organization_account_unlink.tsx │ │ │ ├── organization_invite.tsx │ │ │ ├── organization_reviewed.tsx │ │ │ ├── organization_under_review.tsx │ │ │ ├── personal_access_token_leaked.tsx │ │ │ ├── seat_invitation.tsx │ │ │ ├── subscription_cancellation.tsx │ │ │ ├── subscription_confirmation.tsx │ │ │ ├── subscription_cycled.tsx │ │ │ ├── subscription_past_due.tsx │ │ │ ├── subscription_revoked.tsx │ │ │ ├── subscription_uncanceled.tsx │ │ │ ├── subscription_updated.tsx │ │ │ └── webhook_endpoint_disabled.tsx │ │ ├── index.tsx │ │ ├── preview.ts │ │ └── types │ │ │ ├── index.ts │ │ │ └── openapi.ts │ ├── tsconfig.json │ └── tsup.config.js ├── init-readonly-user.sql ├── load_tests │ ├── README.md │ ├── __init__.py │ ├── common │ │ ├── __init__.py │ │ ├── auth.py │ │ ├── distribution.py │ │ └── test_data.py │ ├── config.py │ ├── locustfile.py │ └── scenarios │ │ ├── __init__.py │ │ ├── checkout.py │ │ └── event_ingestion.py ├── migrations │ ├── README.md │ ├── env.py │ ├── functions.py │ ├── script.py.mako │ └── versions │ │ ├── 2024-06-06-1059_initial_migration.py │ │ ├── 2024-06-10-1713_add_productmedia.py │ │ ├── 2024-06-18-0922_revamp_personalaccesstoken.py │ │ ├── 2024-06-21-1348_remove_organization_custom_domain.py │ │ ├── 2024-06-26-0938_update_article_model.py │ │ ├── 2024-06-28-1339_oauth_accounts_refresh_token_expires_at.py │ │ ├── 2024-07-11-1001_cleanup_user_fields.py │ │ ├── 2024-07-15-1335_create_externalorganization.py │ │ ├── 2024-07-16-1104_link_externalorganization_to_.py │ │ ├── 2024-07-18-1451_remove_userorganization_is_admin.py │ │ ├── 2024-07-23-0813_rename_organization_pretty_name_to_name.py │ │ ├── 2024-08-09-2247_create_license_keys.py │ │ ├── 2024-08-13-1015_remove_organization_public_donation_.py │ │ ├── 2024-08-13-1047_add_donation_currency.py │ │ ├── 2024-08-13-1114_add_pledge_currency.py │ │ ├── 2024-08-13-1710_add_webhookendpoint_format.py │ │ ├── 2024-08-14-1012_remove_webhooknotification.py │ │ ├── 2024-08-16-2317_license_key_activations.py │ │ ├── 2024-08-19-2351_license_key_activation_metadata.py │ │ ├── 2024-08-20-1610_license_key_usage.py │ │ ├── 2024-08-21-1255_license_key_add_organization_id.py │ │ ├── 2024-08-21-1621_license_key_add_unique_constraint.py │ │ ├── 2024-08-22-0954_.py │ │ ├── 2024-08-22-1317_license_key_drop_unique_constraint.py │ │ ├── 2024-08-23-1030_add_missing_fields_in_notifications_.py │ │ ├── 2024-08-23-1452_license_key_activation_add_conditions.py │ │ ├── 2024-08-28-0956_remove_pullrequest_is_merged.py │ │ ├── 2024-08-29-1134_.py │ │ ├── 2024-08-29-1639_convert_user_avatar_url_to_text.py │ │ ├── 2024-08-30-1113_.py │ │ ├── 2024-09-04-1618_change_account_fee_columns.py │ │ ├── 2024-09-05-1352_convert_file_size_to_bigint.py │ │ ├── 2024-09-09-1542_add_enabled_profile_flag_to_.py │ │ ├── 2024-09-16-1052_add_pwyw_support_to_productprice_model.py │ │ ├── 2024-09-18-1318_disable_newsletters.py │ │ ├── 2024-09-19-1345_remove_product_type_is_highlighted_and_.py │ │ ├── 2024-09-24-1335_add_checkout_model.py │ │ ├── 2024-09-27-1727_add_checkout_computer_tax_id.py │ │ ├── 2024-10-04-0959_add_checkout_success_url.py │ │ ├── 2024-10-07-1151_add_metadata_and_checkout_id_to_order_.py │ │ ├── 2024-10-09-1514_drop_issuereference_and_issuedependency.py │ │ ├── 2024-10-09-1603_drop_pullrequest.py │ │ ├── 2024-10-10-1239_deserialize_checkout_customer_billing_.py │ │ ├── 2024-10-10-1305_remove_issue_github_timeline_etag_and_.py │ │ ├── 2024-10-10-1546_add_user_signup_attribution.py │ │ ├── 2024-10-15-1003_fix_user_attribution_without_polar_.py │ │ ├── 2024-10-15-1200_add_order_billing_reason.py │ │ ├── 2024-10-16-1411_add_checkoutlink.py │ │ ├── 2024-10-23-1540_add_checkout_embed_origin.py │ │ ├── 2024-10-23-1752_remove_traffic.py │ │ ├── 2024-10-24-1532_make_personalaccesstoken_expires_at_.py │ │ ├── 2024-10-28-1655_remove_user_username.py │ │ ├── 2024-10-30-1032_add_unique_constraint_on_order_stripe_.py │ │ ├── 2024-11-01-1435_add_checkout_subscription.py │ │ ├── 2024-11-04-1100_add_customfield_and_productcustomfield.py │ │ ├── 2024-11-04-1101_add_checkout_custom_field_data.py │ │ ├── 2024-11-05-1352_add_user_metadata_to_order_and_.py │ │ ├── 2024-11-06-1405_remove_donation.py │ │ ├── 2024-11-07-1502_remove_donation.py │ │ ├── 2024-11-12-1710_checkout_links_label_and_product.py │ │ ├── 2024-11-18-1602_add_discount_models.py │ │ ├── 2024-11-20-1359_add_discount_to_checkoutlink.py │ │ ├── 2024-11-21-1513_transaction_risk__attributes.py │ │ ├── 2024-11-26-1444_add_order_billing_address.py │ │ ├── 2024-11-29-1411_add_usersession.py │ │ ├── 2024-12-03-0921_remove_invite.py │ │ ├── 2024-12-09-1543_remove_article.py │ │ ├── 2024-12-10-1357_migrate_to_customers.py │ │ ├── 2024-12-12-1627_add_customersessioncode.py │ │ ├── 2024-12-16-1058_delete_discord_oauth_accounts.py │ │ ├── 2024-12-17-1732_add_product_is_tax_applicable.py │ │ ├── 2024-12-17-1756_add_checkout_customer_metadata.py │ │ ├── 2024-12-18-1130_add_emailverification.py │ │ ├── 2025-01-02-1436_raise_oauth2client_client_id_client_.py │ │ ├── 2025-01-02-1546_raise_oauth2authorizationcode_client_.py │ │ ├── 2025-01-02-1558_raise_oauth2grant_oauth2token_client_id_.py │ │ ├── 2025-01-02-1656_make_usercustomer_customer_id_unique.py │ │ ├── 2025-01-02-2245_add_subscription_cancellation_attributes.py │ │ ├── 2025-01-03-1443_add_customer_user_id_and_remove_.py │ │ ├── 2025-01-08-0000_add_refunds.py │ │ ├── 2025-01-28-0859_add_organization_subscription_settings.py │ │ ├── 2025-01-29-1400_add_event.py │ │ ├── 2025-01-30-1509_add_meter.py │ │ ├── 2025-01-31-1433_cleanup_and_optimize_indices.py │ │ ├── 2025-02-03-1110_remove_webhookendpoint_user_id.py │ │ ├── 2025-02-04-1811_add_organizationaccesstoken.py │ │ ├── 2025-02-06-0949_fix_organization_subscription_settings.py │ │ ├── 2025-02-10-1545_remove_discountredemption_saved_for_.py │ │ ├── 2025-02-12-1445_migrate_product_prices.py │ │ ├── 2025-02-17-0915_multiple_products_on_checkout_checkout_.py │ │ ├── 2025-02-19-1526_update_stripe_subscriptions.py │ │ ├── 2025-02-20-1632_remove_customer_user_id.py │ │ ├── 2025-02-27-1507_add_customer_external_id_and_checkout_.py │ │ ├── 2025-02-28-1046_remove_ads.py │ │ ├── 2025-03-06-1008_add_customersessioncode_email.py │ │ ├── 2025-03-06-1423_add_subscriptionproductprice.py │ │ ├── 2025-03-11-1117_make_subscription_amount_and_currency_.py │ │ ├── 2025-03-11-1338_fix_customer_indexes_for_recycling.py │ │ ├── 2025-03-13-0847_add_organization_details.py │ │ ├── 2025-03-14-1427_add_orderitem.py │ │ ├── 2025-03-17-0945_set_transaction_account_id_on_delete_.py │ │ ├── 2025-03-17-1143_create_externalevent.py │ │ ├── 2025-03-17-1503_add_unique_constraint_on_externalevent_.py │ │ ├── 2025-03-21-1019_remove_archived_products_from_checkout_.py │ │ ├── 2025-03-24-1547_add_billingentry_and_.py │ │ ├── 2025-03-26-1537_make_checkout_amount_and_checkout_.py │ │ ├── 2025-03-28-1357_change_cascade_constraint_on_.py │ │ ├── 2025-03-28-1400_reset_included_units_default.py │ │ ├── 2025-04-01-1325_remove_productprice_included_units.py │ │ ├── 2025-04-02-1118_normalize_billing_address_states.py │ │ ├── 2025-04-03-1341_add_customermeter.py │ │ ├── 2025-04-03-1419_add_event_ingested_at.py │ │ ├── 2025-04-05-1336_add_campaign.py │ │ ├── 2025-04-06-0954_add_device_models_for_notification_.py │ │ ├── 2025-04-06-1050_add_platform_and_make_token_unique_for_.py │ │ ├── 2025-04-06-2147_add_platform_and_make_token_unique_for_.py │ │ ├── 2025-04-06-2322_.py │ │ ├── 2025-04-08-0824_make_transaction_amounts_big_integers.py │ │ ├── 2025-04-08-1012_revamp_customermeter.py │ │ ├── 2025-04-08-1435_make_productpricemeteredunit_unit_.py │ │ ├── 2025-04-10-1348_add_customermeter_indices.py │ │ ├── 2025-04-14-1430_remove_outdated_scope_and_events.py │ │ ├── 2025-04-14-1639_remove_issue_funding_related_tables.py │ │ ├── 2025-04-15-1547_add_subscriptionmeter.py │ │ ├── 2025-04-16-0927_rename_meter_credited_system_event.py │ │ ├── 2025-04-16-1050_add_benefit_metadata.py │ │ ├── 2025-04-18-1342_add_checkout_require_billing_address.py │ │ ├── 2025-04-30-1533_add_indices_on_hot_foreign_keys.py │ │ ├── 2025-05-06-1257_add_user_identity_verification_fields.py │ │ ├── 2025-05-07-1541_add_rollover_property_to_meter_credit_.py │ │ ├── 2025-05-13-0915_add_payment_model.py │ │ ├── 2025-05-14-1750_add_error_column_to_benefit_grants.py │ │ ├── 2025-05-20-1449_backfill_benefit_grant_events.py │ │ ├── 2025-05-21-1443_add_is_business_customer_and_billing_.py │ │ ├── 2025-05-22-1446_add_order_billing_name.py │ │ ├── 2025-05-23-0934_add_order_tax_fields.py │ │ ├── 2025-05-23-1347_make_order_taxability_reason_nullable.py │ │ ├── 2025-05-28-1349_add_unique_constraint_on_.py │ │ ├── 2025-05-28-1618_.py │ │ ├── 2025-05-28-1636_add_invoice_numbering_fields.py │ │ ├── 2025-05-30-1628_number_every_invoices.py │ │ ├── 2025-06-02-1629_create_payout.py │ │ ├── 2025-06-04-1506_add_account_billing_details_and_.py │ │ ├── 2025-06-05-0831_add_payout_unique_constraint.py │ │ ├── 2025-06-12-0910_add_discountredemption_subscription.py │ │ ├── 2025-06-13-1039_add_fields_to_track_tax_transactions.py │ │ ├── 2025-06-18-1346_rename_checkout_customer_external_id_to_.py │ │ ├── 2025-06-18-1425_set_nullable_jsonb_values_to_sql_null.py │ │ ├── 2025-06-19-1515_add_payout_paid_at.py │ │ ├── 2025-06-20-0952_create_paymentmethod.py │ │ ├── 2025-07-02-1103_discount_ignore_soft_deletes.py │ │ ├── 2025-07-03-1600_add_notification_settings_to_org_model.py │ │ ├── 2025-07-09-1628_add_kick_member_property_to_discord_.py │ │ ├── 2025-07-10-0900_add_subscription_scheduler_locked.py │ │ ├── 2025-07-10-0901_add_billingentry_amount_and_currency.py │ │ ├── 2025-07-10-0902_add_order_tax_calculation_processor_id.py │ │ ├── 2025-07-10-1122_add_organization_subscriptions_billing_.py │ │ ├── 2025-07-10-1730_add_processortransaction.py │ │ ├── 2025-07-11-1539_create_login_codes_table.py │ │ ├── 2025-07-15-1518_add_missing_payment_transaction_fees.py │ │ ├── 2025-07-15-1554_customer_meter_crediter_units_to_bigint.py │ │ ├── 2025-07-16-1649_add_next_payment_attempt_at_to_order.py │ │ ├── 2025-07-22-1757_add_payment_lock_acquired_at_to_order.py │ │ ├── 2025-07-23-1331_add_user_is_admin.py │ │ ├── 2025-07-24-1516_add_meter_archived_at_field.py │ │ ├── 2025-07-28-1443_add_status_to_organization.py │ │ ├── 2025-07-29-1024_add_organization_next_review_threshold_.py │ │ ├── 2025-08-08-1212_add_organization_review.py │ │ ├── 2025-08-11-0838_add_order_platform_fee_amount.py │ │ ├── 2025-08-12-0956_add_processor_metadata.py │ │ ├── 2025-08-14-0929_add_oauth2_acr.py │ │ ├── 2025-08-18-1440_remove_magiclink.py │ │ ├── 2025-08-18-1726_remove_indices_on_modified_at.py │ │ ├── 2025-08-18-1727_remove_old_external_events.py │ │ ├── 2025-08-20-1332_add_rate_limit_group.py │ │ ├── 2025-08-21-0959_add_subscription_tax_exempted.py │ │ ├── 2025-08-21-1454_add_scopes_field_to_user_sessions_table.py │ │ ├── 2025-08-27-1117_add_billingentry_type_and_discount_id.py │ │ ├── 2025-08-27-1717_add_indices_to_billingentry_to_optimize_.py │ │ ├── 2025-08-28-0910_add_appeal_fields_to_organization_review.py │ │ ├── 2025-08-28-1000_fix_empty_string_prefixes_in_license_key_benefits.py │ │ ├── 2025-09-01-2209_add_orders_product_id_index.py │ │ ├── 2025-09-03-1532_reset_subscription_scheduler_locked.py │ │ ├── 2025-09-03-1601_reset_subscription_scheduler_locked.py │ │ ├── 2025-09-04-0935_make_subscription_scheduler_locked_at_a_.py │ │ ├── 2025-09-04-1028_update_github_benefit_grant_properties.py │ │ ├── 2025-09-04-1127_add_organization_reviews_for_.py │ │ ├── 2025-09-04-1205_add_index_on_order_status.py │ │ ├── 2025-09-10-1113_update_webhookevent.py │ │ ├── 2025-09-10-1457_make_webhookevent_type_non_nullable.py │ │ ├── 2025-09-10-1802_add_partial_index_for_webhook_events_.py │ │ ├── 2025-09-15-1243_add_webhookdelivery_response.py │ │ ├── 2025-09-16-1553_add_status_updated_at_to_organizations.py │ │ ├── 2025-09-18-1541_add_order_from_balance_amount.py │ │ ├── 2025-09-19-0903_add_trial_fields.py │ │ ├── 2025-09-24-0952_add_subscription_legacy_stripe_.py │ │ ├── 2025-09-25-2124_add_customer_seat_pricing.py │ │ ├── 2025-09-29-1720_add_seats_field_to_checkout.py │ │ ├── 2025-09-30-1559_rename_order_from_balance_amount_to_.py │ │ ├── 2025-10-02-1618_add_invitation_token_expires_at_to_.py │ │ ├── 2025-10-03-1432_add_customer_meters_dirtied_at_meters_.py │ │ ├── 2025-10-07-1115_make_oauth2_user_id_nullabel.py │ │ ├── 2025-10-10-2204_migrate_seat_pricing_to_tiered_system.py │ │ ├── 2025-10-15-1557_add_customersession_return_url_and_.py │ │ ├── 2025-10-16-0919_set_oauth2_clients_default_sub_type.py │ │ ├── 2025-10-16-1030_add_organization_customer_email_settings.py │ │ ├── 2025-10-20-1655_migrate_notifications.py │ │ ├── 2025-10-21-0000_add_order_support_to_customer_seats.py │ │ ├── 2025-10-22-1118_add_product_tax_code.py │ │ ├── 2025-10-22-1520_add_revops_feature_flag.py │ │ ├── 2025-10-22-1620_add_recurring_interval_count_to_product_and_subscription.py │ │ ├── 2025-10-22-1623_make_order_product_nullable.py │ │ ├── 2025-10-23-1022_remove_null_fields_from_oauth2client_.py │ │ ├── 2025-10-23-1039_set_dicount_duration_in_months_to_999_.py │ │ ├── 2025-10-23-1543_add_order_settings_to_organization.py │ │ ├── 2025-10-24-0915_add_invoice_next_number_to_customers.py │ │ ├── 2025-10-24-1139_add_short_id_to_customers.py │ │ ├── 2025-10-28-1041_add_wallet.py │ │ ├── 2025-10-28-1043_add_benefit_revocation_grace_period_to_.py │ │ ├── 2025-10-28-1310_add_past_due_at_to_subscriptions.py │ │ ├── 2025-10-29-1406_add_checkout_organization_id.py │ │ ├── 2025-10-29-1519_make_checkout_organization_id_non_.py │ │ ├── 2025-10-29-1652_add_index_to_checkout_organization_id.py │ │ ├── 2025-10-30-1050_add_payment_wallet_id.py │ │ ├── 2025-10-30-1224_add_internal_notes_to_organizations.py │ │ ├── 2025-10-30-1505_add_enabled_to_webhook_endpoint.py │ │ ├── 2025-10-31-1044_make_checkout_product_id_and_product_.py │ │ ├── 2025-11-03-1514_add_external_id_and_parent_id_to_events.py │ │ ├── 2025-11-04-0942_update_organization_status_and_add_.py │ │ ├── 2025-11-04-1022_delete_maintainer_account_under_review_.py │ │ ├── 2025-11-06-1425_add_root_id_and_event_closure_.py │ │ ├── 2025-11-10-2117_add_trialredemption_and_paymentmethod_.py │ │ ├── 2025-11-11-1047_add_checkout_allow_trial.py │ │ ├── 2025-11-13-1313_add_skipped_field_to_webhook_events.py │ │ ├── 2025-11-14-0943_add_event_types.py │ │ ├── 2025-11-17-2042_add_product_source_and_productprice_.py │ │ ├── 2025-11-18-1447_add_member_model.py │ │ ├── 2025-11-18-1448_add_member_model_enabled_feature_flag.py │ │ ├── 2025-11-20-0814_add_organization_id_to_members_table.py │ │ ├── 2025-11-20-1414_add_wallet_type_and_remove_.py │ │ ├── 2025-11-21-1422_add_member_id_to_benefit_grants.py │ │ ├── 2025-11-21-1647_add_indexes_to_subscriptions_date_.py │ │ ├── 2025-11-24-0943_add_label_property_selector_to_event_.py │ │ ├── 2025-11-24-1000_add_transaction_tax_columns.py │ │ ├── 2025-11-26-1344_add_order_platform_fee_currency.py │ │ ├── 2025-11-27-1154_add_refunds_blocked_at.py │ │ ├── 2025-11-27-1554_add_one_index.py │ │ ├── 2025-11-27-1601_add_index_on_customer_id_ingested_at_.py │ │ └── 2025-12-02-1140_drop_transaction_refund_id_and_rename_.py ├── monitoring │ ├── grafana │ │ ├── dashboards │ │ │ └── worker.json │ │ └── provisioning │ │ │ ├── dashboards │ │ │ └── dashboards.yml │ │ │ └── datasources │ │ │ └── prometheus.yml │ └── prometheus.yml ├── polar │ ├── __init__.py │ ├── account │ │ ├── __init__.py │ │ ├── endpoints.py │ │ ├── repository.py │ │ ├── schemas.py │ │ ├── service.py │ │ └── sorting.py │ ├── api.py │ ├── app.py │ ├── auth │ │ ├── __init__.py │ │ ├── dependencies.py │ │ ├── endpoints.py │ │ ├── middlewares.py │ │ ├── models.py │ │ ├── routing.py │ │ ├── scope.py │ │ ├── service.py │ │ └── tasks.py │ ├── backoffice │ │ ├── .gitignore │ │ ├── DEVELOPMENT_GUIDE.md │ │ ├── README.md │ │ ├── __init__.py │ │ ├── accounts │ │ │ ├── __init__.py │ │ │ └── endpoints.py │ │ ├── benefits │ │ │ ├── __init__.py │ │ │ └── endpoints.py │ │ ├── components │ │ │ ├── __init__.py │ │ │ ├── _accordion.py │ │ │ ├── _action_bar.py │ │ │ ├── _alert.py │ │ │ ├── _base.py │ │ │ ├── _button.py │ │ │ ├── _clipboard_button.py │ │ │ ├── _confirmation_dialog.py │ │ │ ├── _datatable.py │ │ │ ├── _description_list.py │ │ │ ├── _input.py │ │ │ ├── _layout.py │ │ │ ├── _metric_card.py │ │ │ ├── _modal.py │ │ │ ├── _navigation.py │ │ │ ├── _state.py │ │ │ ├── _status_badge.py │ │ │ └── _tab_nav.py │ │ ├── customers │ │ │ ├── __init__.py │ │ │ ├── components.py │ │ │ └── endpoints.py │ │ ├── dependencies.py │ │ ├── external_events │ │ │ ├── __init__.py │ │ │ └── endpoints.py │ │ ├── formatters.py │ │ ├── forms.py │ │ ├── impersonation │ │ │ └── endpoints.py │ │ ├── layout.py │ │ ├── middlewares.py │ │ ├── navigation.py │ │ ├── orders │ │ │ ├── __init__.py │ │ │ ├── components.py │ │ │ ├── endpoints.py │ │ │ └── forms.py │ │ ├── organizations │ │ │ ├── __init__.py │ │ │ ├── account_review │ │ │ │ ├── __init__.py │ │ │ │ ├── _ai_review.py │ │ │ │ ├── _payment_verdict.py │ │ │ │ └── _setup_verdict.py │ │ │ ├── analytics.py │ │ │ ├── endpoints.py │ │ │ ├── forms.py │ │ │ └── schemas.py │ │ ├── organizations_v2 │ │ │ ├── __init__.py │ │ │ ├── endpoints.py │ │ │ └── views │ │ │ │ ├── __init__.py │ │ │ │ ├── detail_view.py │ │ │ │ ├── list_view.py │ │ │ │ └── sections │ │ │ │ ├── __init__.py │ │ │ │ ├── account_section.py │ │ │ │ ├── files_section.py │ │ │ │ ├── overview_section.py │ │ │ │ ├── settings_section.py │ │ │ │ └── team_section.py │ │ ├── package.json │ │ ├── pledges │ │ │ ├── __init__.py │ │ │ └── endpoints.py │ │ ├── pnpm-lock.yaml │ │ ├── products │ │ │ ├── __init__.py │ │ │ └── endpoints.py │ │ ├── responses.py │ │ ├── scripts.mjs │ │ ├── static │ │ │ ├── logo.dark.svg │ │ │ └── logo.light.svg │ │ ├── static_urls.py │ │ ├── styles.css │ │ ├── subscriptions │ │ │ ├── __init__.py │ │ │ ├── endpoints.py │ │ │ └── forms.py │ │ ├── tasks │ │ │ ├── __init__.py │ │ │ ├── endpoints.py │ │ │ └── forms.py │ │ ├── toast.py │ │ ├── users │ │ │ ├── __init__.py │ │ │ └── endpoints.py │ │ ├── versioned_static.py │ │ └── webhooks │ │ │ ├── __init__.py │ │ │ └── endpoints.py │ ├── benefit │ │ ├── __init__.py │ │ ├── auth.py │ │ ├── endpoints.py │ │ ├── grant │ │ │ ├── __init__.py │ │ │ ├── endpoints.py │ │ │ ├── repository.py │ │ │ ├── schemas.py │ │ │ ├── scope.py │ │ │ ├── service.py │ │ │ └── sorting.py │ │ ├── registry.py │ │ ├── repository.py │ │ ├── schemas.py │ │ ├── service.py │ │ ├── sorting.py │ │ ├── strategies │ │ │ ├── __init__.py │ │ │ ├── base │ │ │ │ ├── __init__.py │ │ │ │ ├── properties.py │ │ │ │ ├── schemas.py │ │ │ │ └── service.py │ │ │ ├── custom │ │ │ │ ├── __init__.py │ │ │ │ ├── properties.py │ │ │ │ ├── schemas.py │ │ │ │ └── service.py │ │ │ ├── discord │ │ │ │ ├── __init__.py │ │ │ │ ├── properties.py │ │ │ │ ├── schemas.py │ │ │ │ └── service.py │ │ │ ├── downloadables │ │ │ │ ├── __init__.py │ │ │ │ ├── properties.py │ │ │ │ ├── schemas.py │ │ │ │ └── service.py │ │ │ ├── github_repository │ │ │ │ ├── __init__.py │ │ │ │ ├── properties.py │ │ │ │ ├── schemas.py │ │ │ │ └── service.py │ │ │ ├── license_keys │ │ │ │ ├── __init__.py │ │ │ │ ├── properties.py │ │ │ │ ├── schemas.py │ │ │ │ └── service.py │ │ │ └── meter_credit │ │ │ │ ├── __init__.py │ │ │ │ ├── properties.py │ │ │ │ ├── schemas.py │ │ │ │ └── service.py │ │ └── tasks.py │ ├── billing_entry │ │ ├── __init__.py │ │ ├── repository.py │ │ ├── service.py │ │ └── tasks.py │ ├── campaign │ │ ├── __init__.py │ │ └── service.py │ ├── checkout │ │ ├── __init__.py │ │ ├── auth.py │ │ ├── endpoints.py │ │ ├── eventstream.py │ │ ├── guard.py │ │ ├── ip_geolocation.py │ │ ├── price.py │ │ ├── repository.py │ │ ├── schemas.py │ │ ├── service.py │ │ ├── sorting.py │ │ └── tasks.py │ ├── checkout_link │ │ ├── __init__.py │ │ ├── auth.py │ │ ├── endpoints.py │ │ ├── repository.py │ │ ├── schemas.py │ │ ├── service.py │ │ └── sorting.py │ ├── config.py │ ├── currency │ │ ├── __init__.py │ │ └── schemas.py │ ├── custom_field │ │ ├── __init__.py │ │ ├── attachment.py │ │ ├── auth.py │ │ ├── data.py │ │ ├── endpoints.py │ │ ├── schemas.py │ │ ├── service.py │ │ └── sorting.py │ ├── customer │ │ ├── __init__.py │ │ ├── auth.py │ │ ├── endpoints.py │ │ ├── repository.py │ │ ├── schemas │ │ │ ├── __init__.py │ │ │ ├── customer.py │ │ │ └── state.py │ │ ├── service.py │ │ ├── sorting.py │ │ └── tasks.py │ ├── customer_meter │ │ ├── __init__.py │ │ ├── auth.py │ │ ├── endpoints.py │ │ ├── repository.py │ │ ├── scheduler.py │ │ ├── schemas.py │ │ ├── service.py │ │ ├── sorting.py │ │ └── tasks.py │ ├── customer_portal │ │ ├── __init__.py │ │ ├── auth.py │ │ ├── endpoints │ │ │ ├── __init__.py │ │ │ ├── benefit_grant.py │ │ │ ├── customer.py │ │ │ ├── customer_meter.py │ │ │ ├── customer_seat.py │ │ │ ├── customer_session.py │ │ │ ├── downloadables.py │ │ │ ├── license_keys.py │ │ │ ├── oauth_accounts.py │ │ │ ├── order.py │ │ │ ├── organization.py │ │ │ ├── subscription.py │ │ │ └── wallet.py │ │ ├── repository │ │ │ ├── __init__.py │ │ │ ├── customer_meter.py │ │ │ ├── order.py │ │ │ ├── payment_method.py │ │ │ └── wallet.py │ │ ├── schemas │ │ │ ├── __init__.py │ │ │ ├── benefit_grant.py │ │ │ ├── customer.py │ │ │ ├── customer_meter.py │ │ │ ├── customer_session.py │ │ │ ├── downloadables.py │ │ │ ├── oauth_accounts.py │ │ │ ├── order.py │ │ │ ├── organization.py │ │ │ ├── subscription.py │ │ │ └── wallet.py │ │ ├── service │ │ │ ├── __init__.py │ │ │ ├── benefit_grant.py │ │ │ ├── customer.py │ │ │ ├── customer_meter.py │ │ │ ├── customer_session.py │ │ │ ├── downloadables.py │ │ │ ├── order.py │ │ │ ├── organization.py │ │ │ ├── subscription.py │ │ │ └── wallet.py │ │ └── sorting │ │ │ ├── __init__.py │ │ │ ├── customer_meter.py │ │ │ └── wallet.py │ ├── customer_seat │ │ ├── __init__.py │ │ ├── auth.py │ │ ├── endpoints.py │ │ ├── repository.py │ │ ├── schemas.py │ │ ├── sender.py │ │ └── service.py │ ├── customer_session │ │ ├── __init__.py │ │ ├── auth.py │ │ ├── endpoints.py │ │ ├── schemas.py │ │ ├── service.py │ │ └── tasks.py │ ├── discount │ │ ├── __init__.py │ │ ├── auth.py │ │ ├── endpoints.py │ │ ├── repository.py │ │ ├── schemas.py │ │ ├── service.py │ │ └── sorting.py │ ├── email │ │ ├── __init__.py │ │ ├── react.py │ │ ├── schemas.py │ │ ├── sender.py │ │ └── tasks.py │ ├── email_update │ │ ├── __init__.py │ │ ├── endpoints.py │ │ ├── schemas.py │ │ ├── service.py │ │ └── tasks.py │ ├── enums.py │ ├── event │ │ ├── __init__.py │ │ ├── auth.py │ │ ├── endpoints.py │ │ ├── repository.py │ │ ├── schemas.py │ │ ├── service.py │ │ ├── sorting.py │ │ ├── system.py │ │ └── tasks.py │ ├── event_type │ │ ├── __init__.py │ │ ├── auth.py │ │ ├── endpoints.py │ │ ├── repository.py │ │ ├── schemas.py │ │ ├── service.py │ │ └── sorting.py │ ├── eventstream │ │ ├── __init__.py │ │ ├── endpoints.py │ │ ├── service.py │ │ └── tasks.py │ ├── exception_handlers.py │ ├── exceptions.py │ ├── external_event │ │ ├── __init__.py │ │ ├── repository.py │ │ ├── service.py │ │ └── sorting.py │ ├── file │ │ ├── README.md │ │ ├── __init__.py │ │ ├── auth.py │ │ ├── endpoints.py │ │ ├── repository.py │ │ ├── s3.py │ │ ├── schemas.py │ │ ├── service.py │ │ └── sorting.py │ ├── health │ │ └── endpoints.py │ ├── held_balance │ │ ├── __init__.py │ │ └── service.py │ ├── integrations │ │ ├── __init__.py │ │ ├── apple │ │ │ ├── __init__.py │ │ │ ├── endpoints.py │ │ │ └── service.py │ │ ├── aws │ │ │ ├── __init__.py │ │ │ └── s3 │ │ │ │ ├── __init__.py │ │ │ │ ├── client.py │ │ │ │ ├── exceptions.py │ │ │ │ ├── schemas.py │ │ │ │ └── service.py │ │ ├── discord │ │ │ ├── __init__.py │ │ │ ├── client.py │ │ │ ├── endpoints.py │ │ │ ├── oauth.py │ │ │ ├── schemas.py │ │ │ ├── service.py │ │ │ └── webhook.py │ │ ├── github │ │ │ ├── __init__.py │ │ │ ├── client.py │ │ │ ├── endpoints.py │ │ │ └── service │ │ │ │ ├── __init__.py │ │ │ │ ├── secret_scanning.py │ │ │ │ └── user.py │ │ ├── github_repository_benefit │ │ │ ├── __init__.py │ │ │ ├── endpoints.py │ │ │ ├── schemas.py │ │ │ ├── service.py │ │ │ └── types.py │ │ ├── google │ │ │ ├── __init__.py │ │ │ ├── endpoints.py │ │ │ └── service.py │ │ ├── loops │ │ │ ├── __init__.py │ │ │ ├── client.py │ │ │ ├── service.py │ │ │ └── tasks.py │ │ ├── open_collective │ │ │ ├── __init__.py │ │ │ └── service.py │ │ ├── plain │ │ │ ├── ___init__.py │ │ │ ├── endpoints.py │ │ │ ├── schemas.py │ │ │ └── service.py │ │ └── stripe │ │ │ ├── __init__.py │ │ │ ├── endpoints.py │ │ │ ├── payment.py │ │ │ ├── schemas.py │ │ │ ├── service.py │ │ │ ├── tasks.py │ │ │ └── utils.py │ ├── invoice │ │ ├── fonts │ │ │ ├── Geist-Bold.otf │ │ │ └── Geist-Regular.otf │ │ ├── generator.py │ │ ├── invoice-logo.svg │ │ └── service.py │ ├── kit │ │ ├── __init__.py │ │ ├── address.py │ │ ├── anonymization.py │ │ ├── cors.py │ │ ├── crypto.py │ │ ├── csv.py │ │ ├── db │ │ │ ├── __init__.py │ │ │ ├── models │ │ │ │ ├── __init__.py │ │ │ │ └── base.py │ │ │ └── postgres.py │ │ ├── email.py │ │ ├── extensions │ │ │ ├── __init__.py │ │ │ └── sqlalchemy │ │ │ │ ├── __init__.py │ │ │ │ ├── sql.py │ │ │ │ └── types.py │ │ ├── hook.py │ │ ├── html.py │ │ ├── http.py │ │ ├── jwk.py │ │ ├── jwt.py │ │ ├── math.py │ │ ├── metadata.py │ │ ├── money.py │ │ ├── operator.py │ │ ├── pagination.py │ │ ├── repository │ │ │ ├── __init__.py │ │ │ └── base.py │ │ ├── routing.py │ │ ├── schemas.py │ │ ├── services.py │ │ ├── sorting.py │ │ ├── tax.py │ │ ├── time_queries.py │ │ ├── trial.py │ │ └── utils.py │ ├── license_key │ │ ├── __init__.py │ │ ├── auth.py │ │ ├── endpoints.py │ │ ├── repository.py │ │ ├── schemas.py │ │ └── service.py │ ├── locker.py │ ├── logfire.py │ ├── logging.py │ ├── login_code │ │ ├── __init__.py │ │ ├── endpoints.py │ │ ├── schemas.py │ │ └── service.py │ ├── member │ │ ├── __init__.py │ │ ├── auth.py │ │ ├── endpoints.py │ │ ├── repository.py │ │ ├── schemas.py │ │ ├── service.py │ │ └── sorting.py │ ├── meter │ │ ├── __init__.py │ │ ├── aggregation.py │ │ ├── auth.py │ │ ├── endpoints.py │ │ ├── filter.py │ │ ├── repository.py │ │ ├── schemas.py │ │ ├── service.py │ │ ├── sorting.py │ │ └── tasks.py │ ├── metrics │ │ ├── __init__.py │ │ ├── auth.py │ │ ├── endpoints.py │ │ ├── metrics.py │ │ ├── queries.py │ │ ├── schemas.py │ │ └── service.py │ ├── middlewares.py │ ├── models │ │ ├── __init__.py │ │ ├── account.py │ │ ├── benefit.py │ │ ├── benefit_grant.py │ │ ├── billing_entry.py │ │ ├── campaign.py │ │ ├── checkout.py │ │ ├── checkout_link.py │ │ ├── checkout_link_product.py │ │ ├── checkout_product.py │ │ ├── custom_field.py │ │ ├── customer.py │ │ ├── customer_meter.py │ │ ├── customer_seat.py │ │ ├── customer_session.py │ │ ├── customer_session_code.py │ │ ├── discount.py │ │ ├── discount_product.py │ │ ├── discount_redemption.py │ │ ├── downloadable.py │ │ ├── email_verification.py │ │ ├── event.py │ │ ├── event_type.py │ │ ├── external_event.py │ │ ├── file.py │ │ ├── held_balance.py │ │ ├── issue_reward.py │ │ ├── license_key.py │ │ ├── license_key_activation.py │ │ ├── login_code.py │ │ ├── member.py │ │ ├── meter.py │ │ ├── notification.py │ │ ├── notification_recipient.py │ │ ├── oauth2_authorization_code.py │ │ ├── oauth2_client.py │ │ ├── oauth2_grant.py │ │ ├── oauth2_token.py │ │ ├── order.py │ │ ├── order_item.py │ │ ├── organization.py │ │ ├── organization_access_token.py │ │ ├── organization_review.py │ │ ├── payment.py │ │ ├── payment_method.py │ │ ├── payout.py │ │ ├── personal_access_token.py │ │ ├── pledge.py │ │ ├── pledge_transaction.py │ │ ├── processor_transaction.py │ │ ├── product.py │ │ ├── product_benefit.py │ │ ├── product_custom_field.py │ │ ├── product_media.py │ │ ├── product_price.py │ │ ├── refund.py │ │ ├── subscription.py │ │ ├── subscription_meter.py │ │ ├── subscription_product_price.py │ │ ├── transaction.py │ │ ├── trial_redemption.py │ │ ├── user.py │ │ ├── user_notification.py │ │ ├── user_organization.py │ │ ├── user_session.py │ │ ├── wallet.py │ │ ├── wallet_transaction.py │ │ ├── webhook_delivery.py │ │ ├── webhook_endpoint.py │ │ └── webhook_event.py │ ├── notification_recipient │ │ ├── __init__.py │ │ ├── auth.py │ │ ├── repository.py │ │ ├── schemas.py │ │ └── service.py │ ├── notifications │ │ ├── __init__.py │ │ ├── auth.py │ │ ├── endpoints.py │ │ ├── notification.py │ │ ├── schemas.py │ │ ├── service.py │ │ └── tasks │ │ │ ├── __init__.py │ │ │ ├── email.py │ │ │ └── push.py │ ├── oauth2 │ │ ├── __init__.py │ │ ├── authorization_server.py │ │ ├── constants.py │ │ ├── dependencies.py │ │ ├── endpoints │ │ │ ├── __init__.py │ │ │ ├── oauth2.py │ │ │ └── well_known.py │ │ ├── exception_handlers.py │ │ ├── exceptions.py │ │ ├── grants │ │ │ ├── __init__.py │ │ │ ├── authorization_code.py │ │ │ ├── refresh_token.py │ │ │ └── web.py │ │ ├── mcp_client.py │ │ ├── metadata.py │ │ ├── requests.py │ │ ├── schemas.py │ │ ├── service │ │ │ ├── __init__.py │ │ │ ├── oauth2_authorization_code.py │ │ │ ├── oauth2_client.py │ │ │ ├── oauth2_grant.py │ │ │ └── oauth2_token.py │ │ ├── sub_type.py │ │ └── userinfo.py │ ├── observability │ │ ├── __init__.py │ │ ├── metrics.py │ │ └── remote_write.py │ ├── openapi.py │ ├── order │ │ ├── __init__.py │ │ ├── auth.py │ │ ├── endpoints.py │ │ ├── repository.py │ │ ├── schemas.py │ │ ├── service.py │ │ ├── sorting.py │ │ └── tasks.py │ ├── organization │ │ ├── __init__.py │ │ ├── ai_validation.py │ │ ├── auth.py │ │ ├── endpoints.py │ │ ├── repository.py │ │ ├── resolver.py │ │ ├── schemas.py │ │ ├── service.py │ │ ├── sorting.py │ │ └── tasks.py │ ├── organization_access_token │ │ ├── __init__.py │ │ ├── endpoints.py │ │ ├── repository.py │ │ ├── schemas.py │ │ ├── service.py │ │ ├── sorting.py │ │ └── tasks.py │ ├── payment │ │ ├── __init__.py │ │ ├── auth.py │ │ ├── endpoints.py │ │ ├── repository.py │ │ ├── schemas.py │ │ ├── service.py │ │ └── sorting.py │ ├── payment_method │ │ ├── __init__.py │ │ ├── repository.py │ │ ├── schemas.py │ │ └── service.py │ ├── payout │ │ ├── __init__.py │ │ ├── auth.py │ │ ├── endpoints.py │ │ ├── repository.py │ │ ├── schemas.py │ │ ├── service.py │ │ ├── sorting.py │ │ └── tasks.py │ ├── personal_access_token │ │ ├── __init__.py │ │ ├── endpoints.py │ │ ├── schemas.py │ │ ├── service.py │ │ └── tasks.py │ ├── pledge │ │ ├── __init__.py │ │ ├── hooks.py │ │ └── service.py │ ├── postgres.py │ ├── posthog.py │ ├── processor_transaction │ │ ├── __init__.py │ │ ├── repository.py │ │ ├── service.py │ │ └── tasks.py │ ├── product │ │ ├── __init__.py │ │ ├── auth.py │ │ ├── endpoints.py │ │ ├── guard.py │ │ ├── repository.py │ │ ├── schemas.py │ │ ├── service.py │ │ └── sorting.py │ ├── rate_limit.py │ ├── redis.py │ ├── refund │ │ ├── __init__.py │ │ ├── auth.py │ │ ├── endpoints.py │ │ ├── schemas.py │ │ ├── service.py │ │ └── sorting.py │ ├── routing.py │ ├── sentry.py │ ├── storefront │ │ ├── __init__.py │ │ ├── endpoints.py │ │ ├── schemas.py │ │ └── service.py │ ├── subscription │ │ ├── __init__.py │ │ ├── auth.py │ │ ├── endpoints.py │ │ ├── repository.py │ │ ├── scheduler.py │ │ ├── schemas.py │ │ ├── service.py │ │ ├── sorting.py │ │ └── tasks.py │ ├── tasks.py │ ├── transaction │ │ ├── __init__.py │ │ ├── auth.py │ │ ├── endpoints.py │ │ ├── fees │ │ │ ├── __init__.py │ │ │ └── stripe │ │ │ │ ├── __init__.py │ │ │ │ └── stripe_country_fees.csv │ │ ├── repository.py │ │ ├── schemas.py │ │ ├── service │ │ │ ├── __init__.py │ │ │ ├── balance.py │ │ │ ├── base.py │ │ │ ├── dispute.py │ │ │ ├── payment.py │ │ │ ├── payout.py │ │ │ ├── platform_fee.py │ │ │ ├── processor_fee.py │ │ │ ├── refund.py │ │ │ └── transaction.py │ │ └── tasks.py │ ├── trial_redemption │ │ ├── __init__.py │ │ ├── repository.py │ │ └── service.py │ ├── types.py │ ├── user │ │ ├── __init__.py │ │ ├── auth.py │ │ ├── endpoints.py │ │ ├── oauth_service.py │ │ ├── repository.py │ │ ├── schemas.py │ │ ├── service.py │ │ ├── sorting.py │ │ └── tasks.py │ ├── user_organization │ │ ├── __init__.py │ │ ├── schemas.py │ │ └── service.py │ ├── wallet │ │ ├── __init__.py │ │ ├── auth.py │ │ ├── endpoints.py │ │ ├── repository.py │ │ ├── schemas.py │ │ ├── service.py │ │ └── sorting.py │ ├── webhook │ │ ├── __init__.py │ │ ├── auth.py │ │ ├── endpoints.py │ │ ├── repository.py │ │ ├── schemas.py │ │ ├── service.py │ │ ├── slack.py │ │ ├── sorting.py │ │ ├── tasks.py │ │ └── webhooks.py │ └── worker │ │ ├── __init__.py │ │ ├── _encoder.py │ │ ├── _enqueue.py │ │ ├── _health.py │ │ ├── _metrics.py │ │ ├── _queue_metrics.py │ │ ├── _redis.py │ │ ├── _sqlalchemy.py │ │ ├── run.py │ │ └── scheduler.py ├── pyproject.toml ├── scripts │ ├── __init__.py │ ├── account_payout_schedule.py │ ├── backfill_event_closure.py │ ├── backfill_event_types.py │ ├── backfill_order_events.py │ ├── cleanup_stripe_seeds.py │ ├── create_review_tickets.py │ ├── customer_balance_migration.py │ ├── db.py │ ├── fill_checkout_organization.py │ ├── fix_migrated_subscription.py │ ├── fix_missing_refund_balance_reversals.py │ ├── fix_organizations_socials_links.py │ ├── helper.py │ ├── loadtest_setup.py │ ├── loops_creator_import.sql │ ├── migrate_stripe_subscriptions.py │ ├── missing_charge_invoice_fix.py │ ├── order_item_migration.py │ ├── orders_import.py │ ├── payment_methods_import.py │ ├── payments_import.py │ ├── platform_fee_currency_backfill.py │ ├── platform_fees_migration.py │ ├── pledge_invoice_payment_fix.py │ ├── presentment_amount_backfill.py │ ├── remove_backfilled_events.py │ ├── seeds_load.py │ ├── shell.py │ ├── stripe_processor_transactions_import.py │ ├── subscription_tax_exempt.py │ ├── tax_filing_imports.py │ ├── tax_rates_import.py │ ├── unlink_organization_account.py │ ├── webhook_events_timestamp.py │ ├── webhook_events_type.py │ └── webhook_trigger.py ├── tests │ ├── __init__.py │ ├── account │ │ ├── __init__.py │ │ ├── conftest.py │ │ ├── test_endpoints.py │ │ ├── test_model.py │ │ └── test_service.py │ ├── benefit │ │ ├── __init__.py │ │ ├── grant │ │ │ ├── __init__.py │ │ │ └── test_service.py │ │ ├── strategies │ │ │ ├── __init__.py │ │ │ ├── test_downloadables.py │ │ │ └── test_meter_credit.py │ │ ├── test_endpoints.py │ │ ├── test_service.py │ │ └── test_tasks.py │ ├── billing_entry │ │ ├── __init__.py │ │ └── test_service.py │ ├── checkout │ │ ├── __init__.py │ │ ├── test_endpoints.py │ │ ├── test_repository.py │ │ ├── test_service.py │ │ └── test_tax.py │ ├── checkout_link │ │ ├── __init__.py │ │ ├── test_endpoints.py │ │ ├── test_repository.py │ │ └── test_service.py │ ├── conftest.py │ ├── custom_field │ │ ├── __init__.py │ │ ├── test_data.py │ │ ├── test_schemas.py │ │ └── test_service.py │ ├── customer │ │ ├── __init__.py │ │ ├── test_endpoints.py │ │ ├── test_repository.py │ │ ├── test_service.py │ │ └── test_short_id.py │ ├── customer_meter │ │ ├── __init__.py │ │ └── test_service.py │ ├── customer_portal │ │ ├── __init__.py │ │ ├── endpoints │ │ │ ├── test_benefit_grant.py │ │ │ ├── test_customer.py │ │ │ ├── test_customer_seat.py │ │ │ ├── test_downloadables.py │ │ │ ├── test_order.py │ │ │ ├── test_subscription.py │ │ │ └── test_wallet.py │ │ └── service │ │ │ ├── __init__.py │ │ │ ├── test_benefit_grant.py │ │ │ ├── test_customer.py │ │ │ ├── test_order.py │ │ │ └── test_subscription.py │ ├── customer_seat │ │ ├── __init__.py │ │ ├── conftest.py │ │ ├── test_endpoints.py │ │ ├── test_sender.py │ │ └── test_service.py │ ├── customer_session │ │ ├── __init__.py │ │ └── test_endpoints.py │ ├── discount │ │ ├── __init__.py │ │ ├── test_endpoints.py │ │ └── test_service.py │ ├── event │ │ ├── __init__.py │ │ ├── test_closure_table.py │ │ ├── test_endpoints.py │ │ ├── test_schemas.py │ │ └── test_service.py │ ├── event_type │ │ ├── __init__.py │ │ └── test_endpoints.py │ ├── external_event │ │ ├── __init__.py │ │ └── test_service.py │ ├── file │ │ └── test_endpoints.py │ ├── fixtures │ │ ├── __init__.py │ │ ├── assets │ │ │ ├── logo.jpg │ │ │ ├── logo.png │ │ │ └── étonnante-🦄.png │ │ ├── auth.py │ │ ├── base.py │ │ ├── database.py │ │ ├── downloadable.py │ │ ├── file.py │ │ ├── license_key.py │ │ ├── locker.py │ │ ├── random_objects.py │ │ ├── redis.py │ │ ├── stripe.py │ │ └── worker.py │ ├── integrations │ │ ├── __init__.py │ │ ├── github │ │ │ ├── __init__.py │ │ │ └── service │ │ │ │ ├── __init__.py │ │ │ │ └── test_secret_scanning.py │ │ ├── github_repository_benefit │ │ │ ├── __init__.py │ │ │ └── test_service.py │ │ └── stripe │ │ │ ├── test_payment.py │ │ │ └── test_tasks.py │ ├── invoice │ │ ├── __init__.py │ │ ├── test_generator.py │ │ └── test_service.py │ ├── kit │ │ ├── __init__.py │ │ ├── test_address.py │ │ ├── test_csv.py │ │ ├── test_html.py │ │ ├── test_http.py │ │ ├── test_math.py │ │ ├── test_metadata.py │ │ └── test_tax.py │ ├── license_key │ │ ├── __init__.py │ │ ├── test_endpoints.py │ │ └── test_schemas.py │ ├── login_code │ │ ├── __init__.py │ │ └── test_service.py │ ├── member │ │ ├── __init__.py │ │ ├── test_endpoints.py │ │ └── test_service.py │ ├── meter │ │ ├── __init__.py │ │ ├── test_aggregation.py │ │ ├── test_archive.py │ │ ├── test_filter.py │ │ └── test_service.py │ ├── metrics │ │ ├── __init__.py │ │ ├── test_endpoints.py │ │ └── test_service.py │ ├── models │ │ ├── __init__.py │ │ ├── test_base.py │ │ ├── test_checkout.py │ │ ├── test_event.py │ │ └── test_product_price.py │ ├── notification_recipient │ │ ├── __init__.py │ │ └── test_endpoints.py │ ├── notifications │ │ ├── __init__.py │ │ ├── test_email.py │ │ ├── test_endpoints.py │ │ └── testdata │ │ │ ├── test_MaintainerCreateAccountNotificationPayload.html │ │ │ ├── test_MaintainerNewPaidSubscriptionNotification.html │ │ │ └── test_MaintainerNewProductSaleNotification.html │ ├── oauth2 │ │ ├── __init__.py │ │ ├── conftest.py │ │ ├── endpoints │ │ │ ├── __init__.py │ │ │ ├── list │ │ │ │ ├── __init__.py │ │ │ │ ├── conftest.py │ │ │ │ └── test_list_oauth2_clients.py │ │ │ ├── test_oauth2.py │ │ │ ├── test_well_known.py │ │ │ └── userinfo │ │ │ │ ├── __init__.py │ │ │ │ ├── conftest.py │ │ │ │ └── test_userinfo.py │ │ ├── grants │ │ │ └── __init__.py │ │ └── service │ │ │ ├── __init__.py │ │ │ ├── conftest.py │ │ │ ├── test_oauth2_authorization_code.py │ │ │ ├── test_oauth2_client.py │ │ │ └── test_oauth2_token.py │ ├── order │ │ ├── __init__.py │ │ ├── test_endpoints.py │ │ ├── test_schemas.py │ │ ├── test_service.py │ │ └── test_tasks.py │ ├── organization │ │ ├── __init__.py │ │ ├── test_ai_validation.py │ │ ├── test_endpoints.py │ │ ├── test_service.py │ │ └── test_tasks.py │ ├── organization_access_token │ │ ├── __init__.py │ │ ├── test_endpoints.py │ │ └── test_service.py │ ├── payment │ │ ├── __init__.py │ │ └── test_service.py │ ├── payment_method │ │ ├── __init__.py │ │ └── test_service.py │ ├── payout │ │ ├── __init__.py │ │ ├── test_endpoints.py │ │ └── test_service.py │ ├── personal_access_token │ │ ├── __init__.py │ │ └── test_service.py │ ├── product │ │ ├── __init__.py │ │ ├── conftest.py │ │ ├── test_endpoints.py │ │ ├── test_schemas.py │ │ └── test_service.py │ ├── refund │ │ ├── __init__.py │ │ ├── test_endpoints.py │ │ └── test_service.py │ ├── scripts │ │ ├── __init__.py │ │ ├── test_backfill_event_closure.py │ │ ├── test_backfill_event_types.py │ │ ├── test_backfill_order_events.py │ │ └── test_fix_organization_socials_links.py │ ├── storefront │ │ ├── __init__.py │ │ └── test_endpoints.py │ ├── subscription │ │ ├── __init__.py │ │ ├── conftest.py │ │ ├── test_endpoints.py │ │ ├── test_service.py │ │ ├── test_service_prorations.py │ │ └── test_tasks.py │ ├── test_openapi.py │ ├── test_sdk.py │ ├── transaction │ │ ├── __init__.py │ │ ├── conftest.py │ │ ├── service │ │ │ ├── __init__.py │ │ │ ├── test_balance.py │ │ │ ├── test_dispute.py │ │ │ ├── test_payment.py │ │ │ ├── test_payout.py │ │ │ ├── test_platform_fee.py │ │ │ ├── test_processor_fee.py │ │ │ ├── test_refund.py │ │ │ └── test_transaction.py │ │ └── test_endpoints.py │ ├── user │ │ ├── __init__.py │ │ ├── test_endpoints.py │ │ └── test_service.py │ ├── user_organization │ │ ├── __init__.py │ │ └── test_service.py │ ├── wallet │ │ ├── __init__.py │ │ └── test_endpoints.py │ ├── webhooks │ │ ├── __init__.py │ │ ├── conftest.py │ │ ├── test_endpoints.py │ │ ├── test_service.py │ │ ├── test_tasks.py │ │ └── test_webhooks.py │ └── worker │ │ ├── __init__.py │ │ ├── test_metrics.py │ │ └── test_queue_metrics.py └── uv.lock └── terraform ├── .gitignore ├── .terraform.lock.hcl ├── .tflint.hcl ├── README.md ├── global ├── main.tf ├── production.tf ├── sandbox.tf ├── terraform.tf └── test.tf ├── modules ├── render_service │ ├── main.tf │ ├── terraform.tf │ └── variables.tf └── s3_buckets │ └── main.tf ├── production ├── aws.tf ├── main.tf ├── outputs.tf ├── render.tf ├── terraform.tf └── variables.tf ├── sandbox ├── main.tf ├── render.tf ├── terraform.tf └── variables.tf └── test ├── main.tf ├── render.tf ├── terraform.tf └── variables.tf /.cline/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/.cline/config.json -------------------------------------------------------------------------------- /.devcontainer/Caddyfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/.devcontainer/Caddyfile -------------------------------------------------------------------------------- /.devcontainer/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/.devcontainer/Dockerfile -------------------------------------------------------------------------------- /.devcontainer/devcontainer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/.devcontainer/devcontainer.json -------------------------------------------------------------------------------- /.devcontainer/docker-compose.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/.devcontainer/docker-compose.yaml -------------------------------------------------------------------------------- /.devcontainer/post-create.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/.devcontainer/post-create.sh -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: true 2 | -------------------------------------------------------------------------------- /.github/copilot-instructions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/.github/copilot-instructions.md -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/.github/pull_request_template.md -------------------------------------------------------------------------------- /.github/workflows/database_backup.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/.github/workflows/database_backup.yml -------------------------------------------------------------------------------- /.github/workflows/deploy.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/.github/workflows/deploy.yml -------------------------------------------------------------------------------- /.github/workflows/deploy_server.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/.github/workflows/deploy_server.sh -------------------------------------------------------------------------------- /.github/workflows/docs_images.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/.github/workflows/docs_images.yaml -------------------------------------------------------------------------------- /.github/workflows/docs_openapi.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/.github/workflows/docs_openapi.yaml -------------------------------------------------------------------------------- /.github/workflows/expo.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/.github/workflows/expo.yml -------------------------------------------------------------------------------- /.github/workflows/terraform.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/.github/workflows/terraform.yaml -------------------------------------------------------------------------------- /.github/workflows/test_client.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/.github/workflows/test_client.yaml -------------------------------------------------------------------------------- /.github/workflows/test_server.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/.github/workflows/test_server.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/.gitignore -------------------------------------------------------------------------------- /.terraformignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/.terraformignore -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /.zed/settings.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /.zed/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/.zed/tasks.json -------------------------------------------------------------------------------- /Brewfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/Brewfile -------------------------------------------------------------------------------- /CLAUDE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/CLAUDE.md -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /DEVELOPMENT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/DEVELOPMENT.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/SECURITY.md -------------------------------------------------------------------------------- /clients/.changeset/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/.changeset/README.md -------------------------------------------------------------------------------- /clients/.changeset/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/.changeset/config.json -------------------------------------------------------------------------------- /clients/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/.eslintrc.js -------------------------------------------------------------------------------- /clients/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/.gitignore -------------------------------------------------------------------------------- /clients/.node-version: -------------------------------------------------------------------------------- 1 | 22 2 | -------------------------------------------------------------------------------- /clients/.nvmrc: -------------------------------------------------------------------------------- 1 | 22 2 | -------------------------------------------------------------------------------- /clients/.prettierignore: -------------------------------------------------------------------------------- 1 | **/dist 2 | **/pnpm-lock.yaml 3 | -------------------------------------------------------------------------------- /clients/.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/.prettierrc.json -------------------------------------------------------------------------------- /clients/.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/.vscode/extensions.json -------------------------------------------------------------------------------- /clients/.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/.vscode/launch.json -------------------------------------------------------------------------------- /clients/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/.vscode/settings.json -------------------------------------------------------------------------------- /clients/.zed/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/.zed/settings.json -------------------------------------------------------------------------------- /clients/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/README.md -------------------------------------------------------------------------------- /clients/apps/app/.env.template: -------------------------------------------------------------------------------- 1 | EXPO_PUBLIC_POLAR_SERVER_URL=https://api.polar.sh 2 | SENTRY_AUTH_TOKEN= 3 | -------------------------------------------------------------------------------- /clients/apps/app/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/app/.gitignore -------------------------------------------------------------------------------- /clients/apps/app/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/app/LICENSE -------------------------------------------------------------------------------- /clients/apps/app/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/app/README.md -------------------------------------------------------------------------------- /clients/apps/app/app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/app/app.json -------------------------------------------------------------------------------- /clients/apps/app/app/+not-found.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/app/app/+not-found.tsx -------------------------------------------------------------------------------- /clients/apps/app/app/_layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/app/app/_layout.tsx -------------------------------------------------------------------------------- /clients/apps/app/app/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/app/app/index.tsx -------------------------------------------------------------------------------- /clients/apps/app/eas.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/app/eas.json -------------------------------------------------------------------------------- /clients/apps/app/eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/app/eslint.config.js -------------------------------------------------------------------------------- /clients/apps/app/expo-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/app/expo-env.d.ts -------------------------------------------------------------------------------- /clients/apps/app/hooks/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/app/hooks/auth.ts -------------------------------------------------------------------------------- /clients/apps/app/hooks/oauth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/app/hooks/oauth.ts -------------------------------------------------------------------------------- /clients/apps/app/hooks/polar/users.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/app/hooks/polar/users.ts -------------------------------------------------------------------------------- /clients/apps/app/hooks/storage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/app/hooks/storage.ts -------------------------------------------------------------------------------- /clients/apps/app/hooks/theme.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/app/hooks/theme.ts -------------------------------------------------------------------------------- /clients/apps/app/hooks/trend.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/app/hooks/trend.ts -------------------------------------------------------------------------------- /clients/apps/app/metro.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/app/metro.config.js -------------------------------------------------------------------------------- /clients/apps/app/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/app/package.json -------------------------------------------------------------------------------- /clients/apps/app/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/app/tsconfig.json -------------------------------------------------------------------------------- /clients/apps/app/utils/money.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/app/utils/money.ts -------------------------------------------------------------------------------- /clients/apps/app/utils/price.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/app/utils/price.ts -------------------------------------------------------------------------------- /clients/apps/app/utils/query.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/app/utils/query.ts -------------------------------------------------------------------------------- /clients/apps/app/utils/theme.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/app/utils/theme.ts -------------------------------------------------------------------------------- /clients/apps/web/.env.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/web/.env.template -------------------------------------------------------------------------------- /clients/apps/web/.env.test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/web/.env.test -------------------------------------------------------------------------------- /clients/apps/web/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/web/.gitignore -------------------------------------------------------------------------------- /clients/apps/web/.prettierignore: -------------------------------------------------------------------------------- 1 | ../../.prettierignore -------------------------------------------------------------------------------- /clients/apps/web/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /clients/apps/web/eslint.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/web/eslint.config.mjs -------------------------------------------------------------------------------- /clients/apps/web/next.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/web/next.config.mjs -------------------------------------------------------------------------------- /clients/apps/web/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/web/package.json -------------------------------------------------------------------------------- /clients/apps/web/postcss.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/web/postcss.config.mjs -------------------------------------------------------------------------------- /clients/apps/web/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/web/public/favicon.ico -------------------------------------------------------------------------------- /clients/apps/web/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/web/public/favicon.png -------------------------------------------------------------------------------- /clients/apps/web/shiki.config.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/web/shiki.config.d.ts -------------------------------------------------------------------------------- /clients/apps/web/shiki.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/web/shiki.config.mjs -------------------------------------------------------------------------------- /clients/apps/web/src/app/actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/web/src/app/actions.ts -------------------------------------------------------------------------------- /clients/apps/web/src/app/error.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/web/src/app/error.tsx -------------------------------------------------------------------------------- /clients/apps/web/src/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/web/src/app/layout.tsx -------------------------------------------------------------------------------- /clients/apps/web/src/app/robots.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/web/src/app/robots.ts -------------------------------------------------------------------------------- /clients/apps/web/src/app/sitemap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/web/src/app/sitemap.ts -------------------------------------------------------------------------------- /clients/apps/web/src/components/Meter/MeterAlerts.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /clients/apps/web/src/components/Meter/MeterCreationModal.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /clients/apps/web/src/hooks/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/web/src/hooks/auth.ts -------------------------------------------------------------------------------- /clients/apps/web/src/hooks/editor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/web/src/hooks/editor.ts -------------------------------------------------------------------------------- /clients/apps/web/src/hooks/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/web/src/hooks/index.ts -------------------------------------------------------------------------------- /clients/apps/web/src/hooks/login.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/web/src/hooks/login.ts -------------------------------------------------------------------------------- /clients/apps/web/src/hooks/posthog.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/web/src/hooks/posthog.ts -------------------------------------------------------------------------------- /clients/apps/web/src/hooks/upsell.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/web/src/hooks/upsell.ts -------------------------------------------------------------------------------- /clients/apps/web/src/hooks/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/web/src/hooks/utils.ts -------------------------------------------------------------------------------- /clients/apps/web/src/proxy.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/web/src/proxy.test.ts -------------------------------------------------------------------------------- /clients/apps/web/src/proxy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/web/src/proxy.ts -------------------------------------------------------------------------------- /clients/apps/web/src/utils/account.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/web/src/utils/account.ts -------------------------------------------------------------------------------- /clients/apps/web/src/utils/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/web/src/utils/auth.ts -------------------------------------------------------------------------------- /clients/apps/web/src/utils/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/web/src/utils/config.ts -------------------------------------------------------------------------------- /clients/apps/web/src/utils/cookies.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/web/src/utils/cookies.ts -------------------------------------------------------------------------------- /clients/apps/web/src/utils/date.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/web/src/utils/date.ts -------------------------------------------------------------------------------- /clients/apps/web/src/utils/domain.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/web/src/utils/domain.ts -------------------------------------------------------------------------------- /clients/apps/web/src/utils/meter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/web/src/utils/meter.ts -------------------------------------------------------------------------------- /clients/apps/web/src/utils/metrics.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/web/src/utils/metrics.ts -------------------------------------------------------------------------------- /clients/apps/web/src/utils/mobile.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/web/src/utils/mobile.ts -------------------------------------------------------------------------------- /clients/apps/web/src/utils/nav.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/web/src/utils/nav.ts -------------------------------------------------------------------------------- /clients/apps/web/src/utils/order.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/web/src/utils/order.ts -------------------------------------------------------------------------------- /clients/apps/web/src/utils/payment.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/web/src/utils/payment.ts -------------------------------------------------------------------------------- /clients/apps/web/src/utils/product.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/web/src/utils/product.ts -------------------------------------------------------------------------------- /clients/apps/web/src/utils/router.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/web/src/utils/router.ts -------------------------------------------------------------------------------- /clients/apps/web/src/utils/sse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/web/src/utils/sse.ts -------------------------------------------------------------------------------- /clients/apps/web/src/utils/user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/web/src/utils/user.ts -------------------------------------------------------------------------------- /clients/apps/web/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/web/tsconfig.json -------------------------------------------------------------------------------- /clients/apps/web/vercel.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/web/vercel.json -------------------------------------------------------------------------------- /clients/apps/web/vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/apps/web/vitest.config.ts -------------------------------------------------------------------------------- /clients/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/package.json -------------------------------------------------------------------------------- /clients/packages/checkout/.npmignore: -------------------------------------------------------------------------------- 1 | .turbo/ 2 | src/ 3 | tsconfig.json 4 | -------------------------------------------------------------------------------- /clients/packages/checkout/.prettierignore: -------------------------------------------------------------------------------- 1 | ../../.prettierignore -------------------------------------------------------------------------------- /clients/packages/checkout/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/packages/checkout/README.md -------------------------------------------------------------------------------- /clients/packages/client/.prettierignore: -------------------------------------------------------------------------------- 1 | ../../.prettierignore -------------------------------------------------------------------------------- /clients/packages/client/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/packages/client/README.md -------------------------------------------------------------------------------- /clients/packages/client/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/packages/client/package.json -------------------------------------------------------------------------------- /clients/packages/client/src/enums.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/packages/client/src/enums.ts -------------------------------------------------------------------------------- /clients/packages/client/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/packages/client/src/index.ts -------------------------------------------------------------------------------- /clients/packages/client/src/v1.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/packages/client/src/v1.ts -------------------------------------------------------------------------------- /clients/packages/client/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/packages/client/tsconfig.json -------------------------------------------------------------------------------- /clients/packages/eslint-config/.prettierignore: -------------------------------------------------------------------------------- 1 | ../../.prettierignore -------------------------------------------------------------------------------- /clients/packages/mdx/.prettierignore: -------------------------------------------------------------------------------- 1 | ../../.prettierignore -------------------------------------------------------------------------------- /clients/packages/mdx/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/packages/mdx/README.md -------------------------------------------------------------------------------- /clients/packages/mdx/mdx-metadata.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/packages/mdx/mdx-metadata.js -------------------------------------------------------------------------------- /clients/packages/mdx/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/packages/mdx/package.json -------------------------------------------------------------------------------- /clients/packages/typescript-config/.prettierignore: -------------------------------------------------------------------------------- 1 | **/dist 2 | **/pnpm-lock.yaml 3 | -------------------------------------------------------------------------------- /clients/packages/ui/.prettierignore: -------------------------------------------------------------------------------- 1 | ../../.prettierignore -------------------------------------------------------------------------------- /clients/packages/ui/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/packages/ui/CHANGELOG.md -------------------------------------------------------------------------------- /clients/packages/ui/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/packages/ui/README.md -------------------------------------------------------------------------------- /clients/packages/ui/components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/packages/ui/components.json -------------------------------------------------------------------------------- /clients/packages/ui/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/packages/ui/package.json -------------------------------------------------------------------------------- /clients/packages/ui/src/components/atoms/Sidebar.tsx: -------------------------------------------------------------------------------- 1 | export * from '@/components/ui/sidebar' 2 | -------------------------------------------------------------------------------- /clients/packages/ui/src/lib/money.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/packages/ui/src/lib/money.ts -------------------------------------------------------------------------------- /clients/packages/ui/src/lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/packages/ui/src/lib/utils.ts -------------------------------------------------------------------------------- /clients/packages/ui/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/packages/ui/tsconfig.json -------------------------------------------------------------------------------- /clients/packages/ui/tsup.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/packages/ui/tsup.config.ts -------------------------------------------------------------------------------- /clients/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/pnpm-lock.yaml -------------------------------------------------------------------------------- /clients/pnpm-workspace.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/pnpm-workspace.yaml -------------------------------------------------------------------------------- /clients/turbo.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/clients/turbo.json -------------------------------------------------------------------------------- /dev/create-test-db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/dev/create-test-db -------------------------------------------------------------------------------- /dev/email_login_code_notifier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/dev/email_login_code_notifier.py -------------------------------------------------------------------------------- /dev/setup-environment: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/dev/setup-environment -------------------------------------------------------------------------------- /docs/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | -------------------------------------------------------------------------------- /docs/.node-version: -------------------------------------------------------------------------------- 1 | 22 2 | -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/README.md -------------------------------------------------------------------------------- /docs/api-reference/benefits/create.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: post /v1/benefits/ 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/benefits/delete.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: delete /v1/benefits/{id} 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/benefits/get.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/benefits/{id} 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/benefits/list-grants.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/benefits/{id}/grants 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/benefits/list.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/benefits/ 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/benefits/update.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: patch /v1/benefits/{id} 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/checkout-links/delete.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: delete /v1/checkout-links/{id} 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/checkout-links/get.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/checkout-links/{id} 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/checkout-links/list.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/checkout-links/ 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/checkout-links/update.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: patch /v1/checkout-links/{id} 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/checkouts/create-session.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: post /v1/checkouts/ 3 | --- 4 | -------------------------------------------------------------------------------- /docs/api-reference/checkouts/get-session.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/checkouts/{id} 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/checkouts/list-sessions.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/checkouts/ 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/checkouts/update-session.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: patch /v1/checkouts/{id} 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/custom-fields/create.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: post /v1/custom-fields/ 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/custom-fields/delete.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: delete /v1/custom-fields/{id} 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/custom-fields/get.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/custom-fields/{id} 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/custom-fields/list.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/custom-fields/ 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/custom-fields/update.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: patch /v1/custom-fields/{id} 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/customer-meters/get.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/customer-meters/{id} 3 | --- 4 | -------------------------------------------------------------------------------- /docs/api-reference/customer-meters/list.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/customer-meters/ 3 | --- 4 | -------------------------------------------------------------------------------- /docs/api-reference/customer-portal/benefit-grants/get.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/customer-portal/benefit-grants/{id} 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/customer-portal/benefit-grants/list.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/customer-portal/benefit-grants/ 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/customer-portal/downloadables/get.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/customer-portal/downloadables/{token} 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/customer-portal/downloadables/list.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/customer-portal/downloadables/ 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/customer-portal/get-organization.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/customer-portal/organizations/{slug} 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/customer-portal/license-keys/get.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/customer-portal/license-keys/{id} 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/customer-portal/license-keys/list.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/customer-portal/license-keys/ 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/customer-portal/orders/get.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/customer-portal/orders/{id} 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/customer-portal/orders/list.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/customer-portal/orders/ 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/customer-portal/orders/patch.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: patch /v1/customer-portal/orders/{id} 3 | --- 4 | -------------------------------------------------------------------------------- /docs/api-reference/customer-portal/seats/assign.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: post /v1/customer-portal/seats 3 | --- 4 | -------------------------------------------------------------------------------- /docs/api-reference/customer-portal/seats/list.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/customer-portal/seats 3 | --- 4 | -------------------------------------------------------------------------------- /docs/api-reference/customer-portal/sessions/create.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: post /v1/customer-sessions/ 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/customer-portal/subscriptions/get.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/customer-portal/subscriptions/{id} 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/customer-portal/subscriptions/list.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/customer-portal/subscriptions/ 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/customer-portal/subscriptions/update.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: patch /v1/customer-portal/subscriptions/{id} 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/customer-seats/assign.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: post /v1/customer-seats 3 | --- 4 | -------------------------------------------------------------------------------- /docs/api-reference/customer-seats/claim.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: post /v1/customer-seats/claim 3 | --- 4 | -------------------------------------------------------------------------------- /docs/api-reference/customer-seats/list.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/customer-seats 3 | --- 4 | -------------------------------------------------------------------------------- /docs/api-reference/customers/create.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: post /v1/customers/ 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/customers/delete.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: delete /v1/customers/{id} 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/customers/get.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/customers/{id} 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/customers/list.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/customers/ 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/customers/state.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/customers/{id}/state 3 | --- 4 | -------------------------------------------------------------------------------- /docs/api-reference/customers/update.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: patch /v1/customers/{id} 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/discounts/create.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: post /v1/discounts/ 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/discounts/delete.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: delete /v1/discounts/{id} 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/discounts/get.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/discounts/{id} 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/discounts/list.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/discounts/ 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/discounts/update.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: patch /v1/discounts/{id} 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/events/get.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/events/{id} 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/events/ingest.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: post /v1/events/ingest 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/events/list.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/events/ 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/files/complete-upload.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: post /v1/files/{id}/uploaded 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/files/create.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: post /v1/files/ 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/files/delete.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: delete /v1/files/{id} 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/files/list.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/files/ 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/files/update.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: patch /v1/files/{id} 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/introduction.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/api-reference/introduction.mdx -------------------------------------------------------------------------------- /docs/api-reference/license-keys/activate.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: post /v1/license-keys/activate 3 | --- 4 | -------------------------------------------------------------------------------- /docs/api-reference/license-keys/deactivate.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: post /v1/license-keys/deactivate 3 | --- 4 | -------------------------------------------------------------------------------- /docs/api-reference/license-keys/get.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/license-keys/{id} 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/license-keys/list.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/license-keys/ 3 | --- 4 | -------------------------------------------------------------------------------- /docs/api-reference/license-keys/update.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: patch /v1/license-keys/{id} 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/license-keys/validate.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: post /v1/license-keys/validate 3 | --- 4 | -------------------------------------------------------------------------------- /docs/api-reference/meters/create.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: post /v1/meters/ 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/meters/get-events.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/meters/{id}/events 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/meters/get-quantities.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/meters/{id}/quantities 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/meters/get.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/meters/{id} 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/meters/list.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/meters/ 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/meters/update.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: patch /v1/meters/{id} 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/metrics/get-limits.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/metrics/limits 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/metrics/get.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/metrics/ 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/oauth2/connect/get-user-info.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/oauth2/userinfo 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/oauth2/connect/introspect-token.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: post /v1/oauth2/introspect 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/oauth2/connect/request-token.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: post /v1/oauth2/token 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/oauth2/connect/revoke-token.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: post /v1/oauth2/revoke 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/orders/get.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/orders/{id} 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/orders/list.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/orders/ 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/orders/patch.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: patch /v1/orders/{id} 3 | --- 4 | -------------------------------------------------------------------------------- /docs/api-reference/organizations/create.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: post /v1/organizations/ 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/organizations/get.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: GET /v1/organizations/{id} 3 | --- 4 | -------------------------------------------------------------------------------- /docs/api-reference/organizations/list.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/organizations/ 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/organizations/update.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: patch /v1/organizations/{id} 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/products/create.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: post /v1/products/ 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/products/get.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/products/{id} 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/products/list.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/products/ 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/products/update-benefits.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: post /v1/products/{id}/benefits 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/products/update.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: patch /v1/products/{id} 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/refunds/create.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: post /v1/refunds/ 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/refunds/list.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/refunds/ 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/subscriptions/create.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: post /v1/subscriptions/ 3 | --- 4 | -------------------------------------------------------------------------------- /docs/api-reference/subscriptions/export.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/subscriptions/export 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/subscriptions/get.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/subscriptions/{id} 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/subscriptions/list.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/subscriptions/ 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/subscriptions/revoke.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: delete /v1/subscriptions/{id} 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/subscriptions/update.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: patch /v1/subscriptions/{id} 3 | --- -------------------------------------------------------------------------------- /docs/api-reference/webhooks/endpoints/create.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: post /v1/webhooks/endpoints 3 | --- 4 | -------------------------------------------------------------------------------- /docs/api-reference/webhooks/endpoints/delete.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: delete /v1/webhooks/endpoints/{id} 3 | --- 4 | -------------------------------------------------------------------------------- /docs/api-reference/webhooks/endpoints/get.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/webhooks/endpoints/{id} 3 | --- 4 | -------------------------------------------------------------------------------- /docs/api-reference/webhooks/endpoints/list.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /v1/webhooks/endpoints 3 | --- 4 | -------------------------------------------------------------------------------- /docs/api-reference/webhooks/endpoints/update.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: patch /v1/webhooks/endpoints/{id} 3 | --- 4 | -------------------------------------------------------------------------------- /docs/assets/create-org.dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/assets/create-org.dark.png -------------------------------------------------------------------------------- /docs/assets/create-org.light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/assets/create-org.light.png -------------------------------------------------------------------------------- /docs/assets/guides/laravel/hero.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/assets/guides/laravel/hero.jpeg -------------------------------------------------------------------------------- /docs/assets/integrate/mcp/mcp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/assets/integrate/mcp/mcp.png -------------------------------------------------------------------------------- /docs/assets/welcome.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/assets/welcome.png -------------------------------------------------------------------------------- /docs/changelog/api.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/changelog/api.mdx -------------------------------------------------------------------------------- /docs/changelog/recent.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/changelog/recent.mdx -------------------------------------------------------------------------------- /docs/docs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/docs.json -------------------------------------------------------------------------------- /docs/features/analytics.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/features/analytics.mdx -------------------------------------------------------------------------------- /docs/features/benefits/credits.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/features/benefits/credits.mdx -------------------------------------------------------------------------------- /docs/features/benefits/custom.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/features/benefits/custom.mdx -------------------------------------------------------------------------------- /docs/features/checkout/embed.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/features/checkout/embed.mdx -------------------------------------------------------------------------------- /docs/features/checkout/links.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/features/checkout/links.mdx -------------------------------------------------------------------------------- /docs/features/checkout/session.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/features/checkout/session.mdx -------------------------------------------------------------------------------- /docs/features/custom-fields.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/features/custom-fields.mdx -------------------------------------------------------------------------------- /docs/features/customer-management.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/features/customer-management.mdx -------------------------------------------------------------------------------- /docs/features/customer-portal.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/features/customer-portal.mdx -------------------------------------------------------------------------------- /docs/features/discounts.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/features/discounts.mdx -------------------------------------------------------------------------------- /docs/features/finance/accounts.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/features/finance/accounts.mdx -------------------------------------------------------------------------------- /docs/features/finance/balance.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/features/finance/balance.mdx -------------------------------------------------------------------------------- /docs/features/finance/payouts.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/features/finance/payouts.mdx -------------------------------------------------------------------------------- /docs/features/integrations/framer.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/features/integrations/framer.mdx -------------------------------------------------------------------------------- /docs/features/integrations/zapier.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/features/integrations/zapier.mdx -------------------------------------------------------------------------------- /docs/features/orders.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/features/orders.mdx -------------------------------------------------------------------------------- /docs/features/products.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/features/products.mdx -------------------------------------------------------------------------------- /docs/features/refunds.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/features/refunds.mdx -------------------------------------------------------------------------------- /docs/features/seat-based-pricing.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/features/seat-based-pricing.mdx -------------------------------------------------------------------------------- /docs/features/trials.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/features/trials.mdx -------------------------------------------------------------------------------- /docs/guides/create-variants.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/guides/create-variants.mdx -------------------------------------------------------------------------------- /docs/guides/introduction.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/guides/introduction.mdx -------------------------------------------------------------------------------- /docs/guides/laravel.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/guides/laravel.mdx -------------------------------------------------------------------------------- /docs/guides/nextjs.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/guides/nextjs.mdx -------------------------------------------------------------------------------- /docs/guides/seat-based-pricing.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/guides/seat-based-pricing.mdx -------------------------------------------------------------------------------- /docs/guides/subscription-upgrades.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/guides/subscription-upgrades.mdx -------------------------------------------------------------------------------- /docs/guides/upgrades.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/guides/upgrades.mdx -------------------------------------------------------------------------------- /docs/integrate/authentication.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/integrate/authentication.mdx -------------------------------------------------------------------------------- /docs/integrate/customer-state.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/integrate/customer-state.mdx -------------------------------------------------------------------------------- /docs/integrate/mcp.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/integrate/mcp.mdx -------------------------------------------------------------------------------- /docs/integrate/oat.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/integrate/oat.mdx -------------------------------------------------------------------------------- /docs/integrate/oauth2/connect.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/integrate/oauth2/connect.mdx -------------------------------------------------------------------------------- /docs/integrate/oauth2/setup.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/integrate/oauth2/setup.mdx -------------------------------------------------------------------------------- /docs/integrate/sandbox.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/integrate/sandbox.mdx -------------------------------------------------------------------------------- /docs/integrate/sdk/adapters/astro.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/integrate/sdk/adapters/astro.mdx -------------------------------------------------------------------------------- /docs/integrate/sdk/adapters/deno.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/integrate/sdk/adapters/deno.mdx -------------------------------------------------------------------------------- /docs/integrate/sdk/adapters/hono.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/integrate/sdk/adapters/hono.mdx -------------------------------------------------------------------------------- /docs/integrate/sdk/adapters/nuxt.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/integrate/sdk/adapters/nuxt.mdx -------------------------------------------------------------------------------- /docs/integrate/sdk/adapters/remix.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/integrate/sdk/adapters/remix.mdx -------------------------------------------------------------------------------- /docs/integrate/sdk/golang.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/integrate/sdk/golang.mdx -------------------------------------------------------------------------------- /docs/integrate/sdk/php.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/integrate/sdk/php.mdx -------------------------------------------------------------------------------- /docs/integrate/sdk/python.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/integrate/sdk/python.mdx -------------------------------------------------------------------------------- /docs/integrate/sdk/typescript.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/integrate/sdk/typescript.mdx -------------------------------------------------------------------------------- /docs/integrate/webhooks/delivery.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/integrate/webhooks/delivery.mdx -------------------------------------------------------------------------------- /docs/integrate/webhooks/endpoints.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/integrate/webhooks/endpoints.mdx -------------------------------------------------------------------------------- /docs/integrate/webhooks/events.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/integrate/webhooks/events.mdx -------------------------------------------------------------------------------- /docs/introduction.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/introduction.mdx -------------------------------------------------------------------------------- /docs/logo/dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/logo/dark.png -------------------------------------------------------------------------------- /docs/logo/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/logo/favicon.png -------------------------------------------------------------------------------- /docs/logo/light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/logo/light.png -------------------------------------------------------------------------------- /docs/merchant-of-record/fees.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/merchant-of-record/fees.mdx -------------------------------------------------------------------------------- /docs/migrate.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/migrate.mdx -------------------------------------------------------------------------------- /docs/openapi.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/openapi.yaml -------------------------------------------------------------------------------- /docs/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/package.json -------------------------------------------------------------------------------- /docs/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/pnpm-lock.yaml -------------------------------------------------------------------------------- /docs/snippets/usage/events.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/snippets/usage/events.mdx -------------------------------------------------------------------------------- /docs/snippets/usage/meter-credits.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/snippets/usage/meter-credits.mdx -------------------------------------------------------------------------------- /docs/snippets/usage/metered-price.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/snippets/usage/metered-price.mdx -------------------------------------------------------------------------------- /docs/snippets/usage/meters.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/snippets/usage/meters.mdx -------------------------------------------------------------------------------- /docs/snippets/zapier-embed.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/snippets/zapier-embed.mdx -------------------------------------------------------------------------------- /docs/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/style.css -------------------------------------------------------------------------------- /docs/support.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/support.mdx -------------------------------------------------------------------------------- /docs/update-schema.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/docs/update-schema.sh -------------------------------------------------------------------------------- /flake.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/flake.lock -------------------------------------------------------------------------------- /flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/flake.nix -------------------------------------------------------------------------------- /polar.code-workspace: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/polar.code-workspace -------------------------------------------------------------------------------- /pyrightconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/pyrightconfig.json -------------------------------------------------------------------------------- /sdk/overlays/event_discriminator.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/sdk/overlays/event_discriminator.yml -------------------------------------------------------------------------------- /sdk/overlays/event_metadata.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/sdk/overlays/event_metadata.yml -------------------------------------------------------------------------------- /sdk/overlays/read_only.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/sdk/overlays/read_only.yml -------------------------------------------------------------------------------- /sdk/overlays/security.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/sdk/overlays/security.yml -------------------------------------------------------------------------------- /sdk/overlays/timezone_enum.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/sdk/overlays/timezone_enum.yml -------------------------------------------------------------------------------- /sdk/overlays/type_parameter.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/sdk/overlays/type_parameter.yml -------------------------------------------------------------------------------- /server/.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/.dockerignore -------------------------------------------------------------------------------- /server/.env.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/.env.template -------------------------------------------------------------------------------- /server/.env.testing: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/.env.testing -------------------------------------------------------------------------------- /server/.minio/configure.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/.minio/configure.sh -------------------------------------------------------------------------------- /server/.minio/github.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/.minio/github.sh -------------------------------------------------------------------------------- /server/.minio/local.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/.minio/local.sh -------------------------------------------------------------------------------- /server/.minio/policy.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/.minio/policy.json -------------------------------------------------------------------------------- /server/.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/.vscode/extensions.json -------------------------------------------------------------------------------- /server/.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/.vscode/launch.json -------------------------------------------------------------------------------- /server/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/.vscode/settings.json -------------------------------------------------------------------------------- /server/.zed/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/.zed/settings.json -------------------------------------------------------------------------------- /server/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/Dockerfile -------------------------------------------------------------------------------- /server/alembic.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/alembic.ini -------------------------------------------------------------------------------- /server/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/docker-compose.yml -------------------------------------------------------------------------------- /server/emails/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | bin/ 3 | dist/ 4 | node_modules/ 5 | -------------------------------------------------------------------------------- /server/emails/.node-version: -------------------------------------------------------------------------------- 1 | 22 2 | -------------------------------------------------------------------------------- /server/emails/.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/emails/.prettierrc.json -------------------------------------------------------------------------------- /server/emails/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/emails/README.md -------------------------------------------------------------------------------- /server/emails/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/emails/package.json -------------------------------------------------------------------------------- /server/emails/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/emails/pnpm-lock.yaml -------------------------------------------------------------------------------- /server/emails/src/emails/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/emails/src/emails/index.ts -------------------------------------------------------------------------------- /server/emails/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/emails/src/index.tsx -------------------------------------------------------------------------------- /server/emails/src/preview.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/emails/src/preview.ts -------------------------------------------------------------------------------- /server/emails/src/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/emails/src/types/index.ts -------------------------------------------------------------------------------- /server/emails/src/types/openapi.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/emails/src/types/openapi.ts -------------------------------------------------------------------------------- /server/emails/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/emails/tsconfig.json -------------------------------------------------------------------------------- /server/emails/tsup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/emails/tsup.config.js -------------------------------------------------------------------------------- /server/init-readonly-user.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/init-readonly-user.sql -------------------------------------------------------------------------------- /server/load_tests/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/load_tests/README.md -------------------------------------------------------------------------------- /server/load_tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/load_tests/__init__.py -------------------------------------------------------------------------------- /server/load_tests/common/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/load_tests/common/__init__.py -------------------------------------------------------------------------------- /server/load_tests/common/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/load_tests/common/auth.py -------------------------------------------------------------------------------- /server/load_tests/common/test_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/load_tests/common/test_data.py -------------------------------------------------------------------------------- /server/load_tests/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/load_tests/config.py -------------------------------------------------------------------------------- /server/load_tests/locustfile.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/load_tests/locustfile.py -------------------------------------------------------------------------------- /server/migrations/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/migrations/README.md -------------------------------------------------------------------------------- /server/migrations/env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/migrations/env.py -------------------------------------------------------------------------------- /server/migrations/functions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/migrations/functions.py -------------------------------------------------------------------------------- /server/migrations/script.py.mako: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/migrations/script.py.mako -------------------------------------------------------------------------------- /server/monitoring/prometheus.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/monitoring/prometheus.yml -------------------------------------------------------------------------------- /server/polar/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/account/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/account/endpoints.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/account/endpoints.py -------------------------------------------------------------------------------- /server/polar/account/repository.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/account/repository.py -------------------------------------------------------------------------------- /server/polar/account/schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/account/schemas.py -------------------------------------------------------------------------------- /server/polar/account/service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/account/service.py -------------------------------------------------------------------------------- /server/polar/account/sorting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/account/sorting.py -------------------------------------------------------------------------------- /server/polar/api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/api.py -------------------------------------------------------------------------------- /server/polar/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/app.py -------------------------------------------------------------------------------- /server/polar/auth/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/auth/dependencies.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/auth/dependencies.py -------------------------------------------------------------------------------- /server/polar/auth/endpoints.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/auth/endpoints.py -------------------------------------------------------------------------------- /server/polar/auth/middlewares.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/auth/middlewares.py -------------------------------------------------------------------------------- /server/polar/auth/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/auth/models.py -------------------------------------------------------------------------------- /server/polar/auth/routing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/auth/routing.py -------------------------------------------------------------------------------- /server/polar/auth/scope.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/auth/scope.py -------------------------------------------------------------------------------- /server/polar/auth/service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/auth/service.py -------------------------------------------------------------------------------- /server/polar/auth/tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/auth/tasks.py -------------------------------------------------------------------------------- /server/polar/backoffice/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/backoffice/.gitignore -------------------------------------------------------------------------------- /server/polar/backoffice/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/backoffice/README.md -------------------------------------------------------------------------------- /server/polar/backoffice/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/backoffice/__init__.py -------------------------------------------------------------------------------- /server/polar/backoffice/accounts/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/backoffice/benefits/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/backoffice/external_events/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/backoffice/formatters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/backoffice/formatters.py -------------------------------------------------------------------------------- /server/polar/backoffice/forms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/backoffice/forms.py -------------------------------------------------------------------------------- /server/polar/backoffice/layout.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/backoffice/layout.py -------------------------------------------------------------------------------- /server/polar/backoffice/navigation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/backoffice/navigation.py -------------------------------------------------------------------------------- /server/polar/backoffice/orders/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/backoffice/organizations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/backoffice/organizations/account_review/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/backoffice/organizations_v2/__init__.py: -------------------------------------------------------------------------------- 1 | # Organizations V2 - Redesigned backoffice interface 2 | -------------------------------------------------------------------------------- /server/polar/backoffice/organizations_v2/views/__init__.py: -------------------------------------------------------------------------------- 1 | # View modules for organizations 2 | -------------------------------------------------------------------------------- /server/polar/backoffice/organizations_v2/views/sections/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/backoffice/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/backoffice/package.json -------------------------------------------------------------------------------- /server/polar/backoffice/pledges/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/backoffice/products/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/backoffice/responses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/backoffice/responses.py -------------------------------------------------------------------------------- /server/polar/backoffice/scripts.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/backoffice/scripts.mjs -------------------------------------------------------------------------------- /server/polar/backoffice/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/backoffice/styles.css -------------------------------------------------------------------------------- /server/polar/backoffice/subscriptions/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/backoffice/tasks/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /server/polar/backoffice/toast.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/backoffice/toast.py -------------------------------------------------------------------------------- /server/polar/backoffice/users/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/benefit/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/benefit/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/benefit/auth.py -------------------------------------------------------------------------------- /server/polar/benefit/endpoints.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/benefit/endpoints.py -------------------------------------------------------------------------------- /server/polar/benefit/grant/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/benefit/grant/schemas.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/benefit/grant/scope.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/benefit/grant/scope.py -------------------------------------------------------------------------------- /server/polar/benefit/grant/service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/benefit/grant/service.py -------------------------------------------------------------------------------- /server/polar/benefit/grant/sorting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/benefit/grant/sorting.py -------------------------------------------------------------------------------- /server/polar/benefit/registry.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/benefit/registry.py -------------------------------------------------------------------------------- /server/polar/benefit/repository.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/benefit/repository.py -------------------------------------------------------------------------------- /server/polar/benefit/schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/benefit/schemas.py -------------------------------------------------------------------------------- /server/polar/benefit/service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/benefit/service.py -------------------------------------------------------------------------------- /server/polar/benefit/sorting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/benefit/sorting.py -------------------------------------------------------------------------------- /server/polar/benefit/strategies/custom/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/benefit/strategies/discord/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/benefit/strategies/downloadables/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/benefit/strategies/github_repository/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/benefit/strategies/license_keys/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/benefit/strategies/meter_credit/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/benefit/tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/benefit/tasks.py -------------------------------------------------------------------------------- /server/polar/billing_entry/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/billing_entry/service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/billing_entry/service.py -------------------------------------------------------------------------------- /server/polar/billing_entry/tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/billing_entry/tasks.py -------------------------------------------------------------------------------- /server/polar/campaign/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/campaign/service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/campaign/service.py -------------------------------------------------------------------------------- /server/polar/checkout/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/checkout/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/checkout/auth.py -------------------------------------------------------------------------------- /server/polar/checkout/endpoints.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/checkout/endpoints.py -------------------------------------------------------------------------------- /server/polar/checkout/eventstream.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/checkout/eventstream.py -------------------------------------------------------------------------------- /server/polar/checkout/guard.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/checkout/guard.py -------------------------------------------------------------------------------- /server/polar/checkout/price.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/checkout/price.py -------------------------------------------------------------------------------- /server/polar/checkout/repository.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/checkout/repository.py -------------------------------------------------------------------------------- /server/polar/checkout/schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/checkout/schemas.py -------------------------------------------------------------------------------- /server/polar/checkout/service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/checkout/service.py -------------------------------------------------------------------------------- /server/polar/checkout/sorting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/checkout/sorting.py -------------------------------------------------------------------------------- /server/polar/checkout/tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/checkout/tasks.py -------------------------------------------------------------------------------- /server/polar/checkout_link/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/checkout_link/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/checkout_link/auth.py -------------------------------------------------------------------------------- /server/polar/checkout_link/schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/checkout_link/schemas.py -------------------------------------------------------------------------------- /server/polar/checkout_link/service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/checkout_link/service.py -------------------------------------------------------------------------------- /server/polar/checkout_link/sorting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/checkout_link/sorting.py -------------------------------------------------------------------------------- /server/polar/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/config.py -------------------------------------------------------------------------------- /server/polar/currency/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/currency/schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/currency/schemas.py -------------------------------------------------------------------------------- /server/polar/custom_field/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/custom_field/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/custom_field/auth.py -------------------------------------------------------------------------------- /server/polar/custom_field/data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/custom_field/data.py -------------------------------------------------------------------------------- /server/polar/custom_field/schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/custom_field/schemas.py -------------------------------------------------------------------------------- /server/polar/custom_field/service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/custom_field/service.py -------------------------------------------------------------------------------- /server/polar/custom_field/sorting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/custom_field/sorting.py -------------------------------------------------------------------------------- /server/polar/customer/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/customer/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/customer/auth.py -------------------------------------------------------------------------------- /server/polar/customer/endpoints.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/customer/endpoints.py -------------------------------------------------------------------------------- /server/polar/customer/repository.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/customer/repository.py -------------------------------------------------------------------------------- /server/polar/customer/schemas/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/customer/service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/customer/service.py -------------------------------------------------------------------------------- /server/polar/customer/sorting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/customer/sorting.py -------------------------------------------------------------------------------- /server/polar/customer/tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/customer/tasks.py -------------------------------------------------------------------------------- /server/polar/customer_meter/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/customer_meter/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/customer_meter/auth.py -------------------------------------------------------------------------------- /server/polar/customer_meter/tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/customer_meter/tasks.py -------------------------------------------------------------------------------- /server/polar/customer_portal/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/customer_portal/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/customer_portal/auth.py -------------------------------------------------------------------------------- /server/polar/customer_portal/repository/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/customer_portal/schemas/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/customer_portal/service/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/customer_portal/sorting/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/customer_seat/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/customer_seat/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/customer_seat/auth.py -------------------------------------------------------------------------------- /server/polar/customer_seat/schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/customer_seat/schemas.py -------------------------------------------------------------------------------- /server/polar/customer_seat/sender.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/customer_seat/sender.py -------------------------------------------------------------------------------- /server/polar/customer_seat/service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/customer_seat/service.py -------------------------------------------------------------------------------- /server/polar/customer_session/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/customer_session/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/customer_session/auth.py -------------------------------------------------------------------------------- /server/polar/discount/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/discount/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/discount/auth.py -------------------------------------------------------------------------------- /server/polar/discount/endpoints.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/discount/endpoints.py -------------------------------------------------------------------------------- /server/polar/discount/repository.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/discount/repository.py -------------------------------------------------------------------------------- /server/polar/discount/schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/discount/schemas.py -------------------------------------------------------------------------------- /server/polar/discount/service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/discount/service.py -------------------------------------------------------------------------------- /server/polar/discount/sorting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/discount/sorting.py -------------------------------------------------------------------------------- /server/polar/email/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/email/react.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/email/react.py -------------------------------------------------------------------------------- /server/polar/email/schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/email/schemas.py -------------------------------------------------------------------------------- /server/polar/email/sender.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/email/sender.py -------------------------------------------------------------------------------- /server/polar/email/tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/email/tasks.py -------------------------------------------------------------------------------- /server/polar/email_update/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/email_update/schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/email_update/schemas.py -------------------------------------------------------------------------------- /server/polar/email_update/service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/email_update/service.py -------------------------------------------------------------------------------- /server/polar/email_update/tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/email_update/tasks.py -------------------------------------------------------------------------------- /server/polar/enums.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/enums.py -------------------------------------------------------------------------------- /server/polar/event/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/event/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/event/auth.py -------------------------------------------------------------------------------- /server/polar/event/endpoints.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/event/endpoints.py -------------------------------------------------------------------------------- /server/polar/event/repository.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/event/repository.py -------------------------------------------------------------------------------- /server/polar/event/schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/event/schemas.py -------------------------------------------------------------------------------- /server/polar/event/service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/event/service.py -------------------------------------------------------------------------------- /server/polar/event/sorting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/event/sorting.py -------------------------------------------------------------------------------- /server/polar/event/system.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/event/system.py -------------------------------------------------------------------------------- /server/polar/event/tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/event/tasks.py -------------------------------------------------------------------------------- /server/polar/event_type/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/event_type/__init__.py -------------------------------------------------------------------------------- /server/polar/event_type/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/event_type/auth.py -------------------------------------------------------------------------------- /server/polar/event_type/endpoints.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/event_type/endpoints.py -------------------------------------------------------------------------------- /server/polar/event_type/repository.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/event_type/repository.py -------------------------------------------------------------------------------- /server/polar/event_type/schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/event_type/schemas.py -------------------------------------------------------------------------------- /server/polar/event_type/service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/event_type/service.py -------------------------------------------------------------------------------- /server/polar/event_type/sorting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/event_type/sorting.py -------------------------------------------------------------------------------- /server/polar/eventstream/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/eventstream/endpoints.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/eventstream/endpoints.py -------------------------------------------------------------------------------- /server/polar/eventstream/service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/eventstream/service.py -------------------------------------------------------------------------------- /server/polar/eventstream/tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/eventstream/tasks.py -------------------------------------------------------------------------------- /server/polar/exception_handlers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/exception_handlers.py -------------------------------------------------------------------------------- /server/polar/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/exceptions.py -------------------------------------------------------------------------------- /server/polar/external_event/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/file/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/file/README.md -------------------------------------------------------------------------------- /server/polar/file/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/file/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/file/auth.py -------------------------------------------------------------------------------- /server/polar/file/endpoints.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/file/endpoints.py -------------------------------------------------------------------------------- /server/polar/file/repository.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/file/repository.py -------------------------------------------------------------------------------- /server/polar/file/s3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/file/s3.py -------------------------------------------------------------------------------- /server/polar/file/schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/file/schemas.py -------------------------------------------------------------------------------- /server/polar/file/service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/file/service.py -------------------------------------------------------------------------------- /server/polar/file/sorting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/file/sorting.py -------------------------------------------------------------------------------- /server/polar/health/endpoints.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/health/endpoints.py -------------------------------------------------------------------------------- /server/polar/held_balance/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/held_balance/service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/held_balance/service.py -------------------------------------------------------------------------------- /server/polar/integrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/integrations/apple/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/integrations/aws/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/integrations/discord/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/integrations/github/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/integrations/github_repository_benefit/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/integrations/google/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/integrations/loops/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/integrations/open_collective/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/integrations/plain/___init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/integrations/stripe/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/invoice/generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/invoice/generator.py -------------------------------------------------------------------------------- /server/polar/invoice/invoice-logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/invoice/invoice-logo.svg -------------------------------------------------------------------------------- /server/polar/invoice/service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/invoice/service.py -------------------------------------------------------------------------------- /server/polar/kit/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/kit/address.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/kit/address.py -------------------------------------------------------------------------------- /server/polar/kit/anonymization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/kit/anonymization.py -------------------------------------------------------------------------------- /server/polar/kit/cors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/kit/cors.py -------------------------------------------------------------------------------- /server/polar/kit/crypto.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/kit/crypto.py -------------------------------------------------------------------------------- /server/polar/kit/csv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/kit/csv.py -------------------------------------------------------------------------------- /server/polar/kit/db/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/kit/db/models/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/kit/db/models/base.py -------------------------------------------------------------------------------- /server/polar/kit/db/postgres.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/kit/db/postgres.py -------------------------------------------------------------------------------- /server/polar/kit/email.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/kit/email.py -------------------------------------------------------------------------------- /server/polar/kit/extensions/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/kit/hook.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/kit/hook.py -------------------------------------------------------------------------------- /server/polar/kit/html.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/kit/html.py -------------------------------------------------------------------------------- /server/polar/kit/http.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/kit/http.py -------------------------------------------------------------------------------- /server/polar/kit/jwk.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/kit/jwk.py -------------------------------------------------------------------------------- /server/polar/kit/jwt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/kit/jwt.py -------------------------------------------------------------------------------- /server/polar/kit/math.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/kit/math.py -------------------------------------------------------------------------------- /server/polar/kit/metadata.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/kit/metadata.py -------------------------------------------------------------------------------- /server/polar/kit/money.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/kit/money.py -------------------------------------------------------------------------------- /server/polar/kit/operator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/kit/operator.py -------------------------------------------------------------------------------- /server/polar/kit/pagination.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/kit/pagination.py -------------------------------------------------------------------------------- /server/polar/kit/repository/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/kit/repository/base.py -------------------------------------------------------------------------------- /server/polar/kit/routing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/kit/routing.py -------------------------------------------------------------------------------- /server/polar/kit/schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/kit/schemas.py -------------------------------------------------------------------------------- /server/polar/kit/services.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/kit/services.py -------------------------------------------------------------------------------- /server/polar/kit/sorting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/kit/sorting.py -------------------------------------------------------------------------------- /server/polar/kit/tax.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/kit/tax.py -------------------------------------------------------------------------------- /server/polar/kit/time_queries.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/kit/time_queries.py -------------------------------------------------------------------------------- /server/polar/kit/trial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/kit/trial.py -------------------------------------------------------------------------------- /server/polar/kit/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/kit/utils.py -------------------------------------------------------------------------------- /server/polar/license_key/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/license_key/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/license_key/auth.py -------------------------------------------------------------------------------- /server/polar/license_key/endpoints.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/license_key/endpoints.py -------------------------------------------------------------------------------- /server/polar/license_key/schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/license_key/schemas.py -------------------------------------------------------------------------------- /server/polar/license_key/service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/license_key/service.py -------------------------------------------------------------------------------- /server/polar/locker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/locker.py -------------------------------------------------------------------------------- /server/polar/logfire.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/logfire.py -------------------------------------------------------------------------------- /server/polar/logging.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/logging.py -------------------------------------------------------------------------------- /server/polar/login_code/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/login_code/endpoints.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/login_code/endpoints.py -------------------------------------------------------------------------------- /server/polar/login_code/schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/login_code/schemas.py -------------------------------------------------------------------------------- /server/polar/login_code/service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/login_code/service.py -------------------------------------------------------------------------------- /server/polar/member/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/member/__init__.py -------------------------------------------------------------------------------- /server/polar/member/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/member/auth.py -------------------------------------------------------------------------------- /server/polar/member/endpoints.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/member/endpoints.py -------------------------------------------------------------------------------- /server/polar/member/repository.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/member/repository.py -------------------------------------------------------------------------------- /server/polar/member/schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/member/schemas.py -------------------------------------------------------------------------------- /server/polar/member/service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/member/service.py -------------------------------------------------------------------------------- /server/polar/member/sorting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/member/sorting.py -------------------------------------------------------------------------------- /server/polar/meter/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/meter/aggregation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/meter/aggregation.py -------------------------------------------------------------------------------- /server/polar/meter/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/meter/auth.py -------------------------------------------------------------------------------- /server/polar/meter/endpoints.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/meter/endpoints.py -------------------------------------------------------------------------------- /server/polar/meter/filter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/meter/filter.py -------------------------------------------------------------------------------- /server/polar/meter/repository.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/meter/repository.py -------------------------------------------------------------------------------- /server/polar/meter/schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/meter/schemas.py -------------------------------------------------------------------------------- /server/polar/meter/service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/meter/service.py -------------------------------------------------------------------------------- /server/polar/meter/sorting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/meter/sorting.py -------------------------------------------------------------------------------- /server/polar/meter/tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/meter/tasks.py -------------------------------------------------------------------------------- /server/polar/metrics/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/metrics/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/metrics/auth.py -------------------------------------------------------------------------------- /server/polar/metrics/endpoints.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/metrics/endpoints.py -------------------------------------------------------------------------------- /server/polar/metrics/metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/metrics/metrics.py -------------------------------------------------------------------------------- /server/polar/metrics/queries.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/metrics/queries.py -------------------------------------------------------------------------------- /server/polar/metrics/schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/metrics/schemas.py -------------------------------------------------------------------------------- /server/polar/metrics/service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/metrics/service.py -------------------------------------------------------------------------------- /server/polar/middlewares.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/middlewares.py -------------------------------------------------------------------------------- /server/polar/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/models/__init__.py -------------------------------------------------------------------------------- /server/polar/models/account.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/models/account.py -------------------------------------------------------------------------------- /server/polar/models/benefit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/models/benefit.py -------------------------------------------------------------------------------- /server/polar/models/campaign.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/models/campaign.py -------------------------------------------------------------------------------- /server/polar/models/checkout.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/models/checkout.py -------------------------------------------------------------------------------- /server/polar/models/custom_field.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/models/custom_field.py -------------------------------------------------------------------------------- /server/polar/models/customer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/models/customer.py -------------------------------------------------------------------------------- /server/polar/models/discount.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/models/discount.py -------------------------------------------------------------------------------- /server/polar/models/downloadable.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/models/downloadable.py -------------------------------------------------------------------------------- /server/polar/models/event.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/models/event.py -------------------------------------------------------------------------------- /server/polar/models/event_type.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/models/event_type.py -------------------------------------------------------------------------------- /server/polar/models/file.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/models/file.py -------------------------------------------------------------------------------- /server/polar/models/held_balance.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/models/held_balance.py -------------------------------------------------------------------------------- /server/polar/models/issue_reward.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/models/issue_reward.py -------------------------------------------------------------------------------- /server/polar/models/license_key.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/models/license_key.py -------------------------------------------------------------------------------- /server/polar/models/login_code.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/models/login_code.py -------------------------------------------------------------------------------- /server/polar/models/member.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/models/member.py -------------------------------------------------------------------------------- /server/polar/models/meter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/models/meter.py -------------------------------------------------------------------------------- /server/polar/models/notification.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/models/notification.py -------------------------------------------------------------------------------- /server/polar/models/oauth2_grant.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/models/oauth2_grant.py -------------------------------------------------------------------------------- /server/polar/models/oauth2_token.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/models/oauth2_token.py -------------------------------------------------------------------------------- /server/polar/models/order.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/models/order.py -------------------------------------------------------------------------------- /server/polar/models/order_item.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/models/order_item.py -------------------------------------------------------------------------------- /server/polar/models/organization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/models/organization.py -------------------------------------------------------------------------------- /server/polar/models/payment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/models/payment.py -------------------------------------------------------------------------------- /server/polar/models/payout.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/models/payout.py -------------------------------------------------------------------------------- /server/polar/models/pledge.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/models/pledge.py -------------------------------------------------------------------------------- /server/polar/models/product.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/models/product.py -------------------------------------------------------------------------------- /server/polar/models/refund.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/models/refund.py -------------------------------------------------------------------------------- /server/polar/models/subscription.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/models/subscription.py -------------------------------------------------------------------------------- /server/polar/models/transaction.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/models/transaction.py -------------------------------------------------------------------------------- /server/polar/models/user.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/models/user.py -------------------------------------------------------------------------------- /server/polar/models/user_session.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/models/user_session.py -------------------------------------------------------------------------------- /server/polar/models/wallet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/models/wallet.py -------------------------------------------------------------------------------- /server/polar/notification_recipient/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/notifications/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/notifications/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/notifications/auth.py -------------------------------------------------------------------------------- /server/polar/oauth2/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/oauth2/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/oauth2/constants.py -------------------------------------------------------------------------------- /server/polar/oauth2/dependencies.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/oauth2/dependencies.py -------------------------------------------------------------------------------- /server/polar/oauth2/endpoints/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/oauth2/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/oauth2/exceptions.py -------------------------------------------------------------------------------- /server/polar/oauth2/grants/web.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/oauth2/grants/web.py -------------------------------------------------------------------------------- /server/polar/oauth2/mcp_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/oauth2/mcp_client.py -------------------------------------------------------------------------------- /server/polar/oauth2/metadata.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/oauth2/metadata.py -------------------------------------------------------------------------------- /server/polar/oauth2/requests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/oauth2/requests.py -------------------------------------------------------------------------------- /server/polar/oauth2/schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/oauth2/schemas.py -------------------------------------------------------------------------------- /server/polar/oauth2/service/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/oauth2/sub_type.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/oauth2/sub_type.py -------------------------------------------------------------------------------- /server/polar/oauth2/userinfo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/oauth2/userinfo.py -------------------------------------------------------------------------------- /server/polar/openapi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/openapi.py -------------------------------------------------------------------------------- /server/polar/order/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/order/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/order/auth.py -------------------------------------------------------------------------------- /server/polar/order/endpoints.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/order/endpoints.py -------------------------------------------------------------------------------- /server/polar/order/repository.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/order/repository.py -------------------------------------------------------------------------------- /server/polar/order/schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/order/schemas.py -------------------------------------------------------------------------------- /server/polar/order/service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/order/service.py -------------------------------------------------------------------------------- /server/polar/order/sorting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/order/sorting.py -------------------------------------------------------------------------------- /server/polar/order/tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/order/tasks.py -------------------------------------------------------------------------------- /server/polar/organization/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/organization/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/organization/auth.py -------------------------------------------------------------------------------- /server/polar/organization/tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/organization/tasks.py -------------------------------------------------------------------------------- /server/polar/organization_access_token/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/payment/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/payment/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/payment/auth.py -------------------------------------------------------------------------------- /server/polar/payment/endpoints.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/payment/endpoints.py -------------------------------------------------------------------------------- /server/polar/payment/repository.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/payment/repository.py -------------------------------------------------------------------------------- /server/polar/payment/schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/payment/schemas.py -------------------------------------------------------------------------------- /server/polar/payment/service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/payment/service.py -------------------------------------------------------------------------------- /server/polar/payment/sorting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/payment/sorting.py -------------------------------------------------------------------------------- /server/polar/payment_method/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/payout/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/payout/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/payout/auth.py -------------------------------------------------------------------------------- /server/polar/payout/endpoints.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/payout/endpoints.py -------------------------------------------------------------------------------- /server/polar/payout/repository.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/payout/repository.py -------------------------------------------------------------------------------- /server/polar/payout/schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/payout/schemas.py -------------------------------------------------------------------------------- /server/polar/payout/service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/payout/service.py -------------------------------------------------------------------------------- /server/polar/payout/sorting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/payout/sorting.py -------------------------------------------------------------------------------- /server/polar/payout/tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/payout/tasks.py -------------------------------------------------------------------------------- /server/polar/personal_access_token/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/pledge/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/pledge/hooks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/pledge/hooks.py -------------------------------------------------------------------------------- /server/polar/pledge/service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/pledge/service.py -------------------------------------------------------------------------------- /server/polar/postgres.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/postgres.py -------------------------------------------------------------------------------- /server/polar/posthog.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/posthog.py -------------------------------------------------------------------------------- /server/polar/processor_transaction/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/product/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/product/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/product/auth.py -------------------------------------------------------------------------------- /server/polar/product/endpoints.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/product/endpoints.py -------------------------------------------------------------------------------- /server/polar/product/guard.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/product/guard.py -------------------------------------------------------------------------------- /server/polar/product/repository.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/product/repository.py -------------------------------------------------------------------------------- /server/polar/product/schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/product/schemas.py -------------------------------------------------------------------------------- /server/polar/product/service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/product/service.py -------------------------------------------------------------------------------- /server/polar/product/sorting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/product/sorting.py -------------------------------------------------------------------------------- /server/polar/rate_limit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/rate_limit.py -------------------------------------------------------------------------------- /server/polar/redis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/redis.py -------------------------------------------------------------------------------- /server/polar/refund/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/refund/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/refund/auth.py -------------------------------------------------------------------------------- /server/polar/refund/endpoints.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/refund/endpoints.py -------------------------------------------------------------------------------- /server/polar/refund/schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/refund/schemas.py -------------------------------------------------------------------------------- /server/polar/refund/service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/refund/service.py -------------------------------------------------------------------------------- /server/polar/refund/sorting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/refund/sorting.py -------------------------------------------------------------------------------- /server/polar/routing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/routing.py -------------------------------------------------------------------------------- /server/polar/sentry.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/sentry.py -------------------------------------------------------------------------------- /server/polar/storefront/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/storefront/schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/storefront/schemas.py -------------------------------------------------------------------------------- /server/polar/storefront/service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/storefront/service.py -------------------------------------------------------------------------------- /server/polar/subscription/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/subscription/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/subscription/auth.py -------------------------------------------------------------------------------- /server/polar/subscription/tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/subscription/tasks.py -------------------------------------------------------------------------------- /server/polar/tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/tasks.py -------------------------------------------------------------------------------- /server/polar/transaction/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/transaction/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/transaction/auth.py -------------------------------------------------------------------------------- /server/polar/transaction/fees/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/transaction/schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/transaction/schemas.py -------------------------------------------------------------------------------- /server/polar/transaction/service/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/transaction/tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/transaction/tasks.py -------------------------------------------------------------------------------- /server/polar/trial_redemption/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/types.py -------------------------------------------------------------------------------- /server/polar/user/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/user/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/user/auth.py -------------------------------------------------------------------------------- /server/polar/user/endpoints.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/user/endpoints.py -------------------------------------------------------------------------------- /server/polar/user/oauth_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/user/oauth_service.py -------------------------------------------------------------------------------- /server/polar/user/repository.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/user/repository.py -------------------------------------------------------------------------------- /server/polar/user/schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/user/schemas.py -------------------------------------------------------------------------------- /server/polar/user/service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/user/service.py -------------------------------------------------------------------------------- /server/polar/user/sorting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/user/sorting.py -------------------------------------------------------------------------------- /server/polar/user/tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/user/tasks.py -------------------------------------------------------------------------------- /server/polar/user_organization/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/wallet/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/wallet/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/wallet/auth.py -------------------------------------------------------------------------------- /server/polar/wallet/endpoints.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/wallet/endpoints.py -------------------------------------------------------------------------------- /server/polar/wallet/repository.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/wallet/repository.py -------------------------------------------------------------------------------- /server/polar/wallet/schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/wallet/schemas.py -------------------------------------------------------------------------------- /server/polar/wallet/service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/wallet/service.py -------------------------------------------------------------------------------- /server/polar/wallet/sorting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/wallet/sorting.py -------------------------------------------------------------------------------- /server/polar/webhook/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/polar/webhook/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/webhook/auth.py -------------------------------------------------------------------------------- /server/polar/webhook/endpoints.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/webhook/endpoints.py -------------------------------------------------------------------------------- /server/polar/webhook/repository.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/webhook/repository.py -------------------------------------------------------------------------------- /server/polar/webhook/schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/webhook/schemas.py -------------------------------------------------------------------------------- /server/polar/webhook/service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/webhook/service.py -------------------------------------------------------------------------------- /server/polar/webhook/slack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/webhook/slack.py -------------------------------------------------------------------------------- /server/polar/webhook/sorting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/webhook/sorting.py -------------------------------------------------------------------------------- /server/polar/webhook/tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/webhook/tasks.py -------------------------------------------------------------------------------- /server/polar/webhook/webhooks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/webhook/webhooks.py -------------------------------------------------------------------------------- /server/polar/worker/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/worker/__init__.py -------------------------------------------------------------------------------- /server/polar/worker/_encoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/worker/_encoder.py -------------------------------------------------------------------------------- /server/polar/worker/_enqueue.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/worker/_enqueue.py -------------------------------------------------------------------------------- /server/polar/worker/_health.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/worker/_health.py -------------------------------------------------------------------------------- /server/polar/worker/_metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/worker/_metrics.py -------------------------------------------------------------------------------- /server/polar/worker/_redis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/worker/_redis.py -------------------------------------------------------------------------------- /server/polar/worker/_sqlalchemy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/worker/_sqlalchemy.py -------------------------------------------------------------------------------- /server/polar/worker/run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/worker/run.py -------------------------------------------------------------------------------- /server/polar/worker/scheduler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/polar/worker/scheduler.py -------------------------------------------------------------------------------- /server/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/pyproject.toml -------------------------------------------------------------------------------- /server/scripts/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/scripts/db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/scripts/db.py -------------------------------------------------------------------------------- /server/scripts/helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/scripts/helper.py -------------------------------------------------------------------------------- /server/scripts/loadtest_setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/scripts/loadtest_setup.py -------------------------------------------------------------------------------- /server/scripts/orders_import.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/scripts/orders_import.py -------------------------------------------------------------------------------- /server/scripts/payments_import.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/scripts/payments_import.py -------------------------------------------------------------------------------- /server/scripts/seeds_load.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/scripts/seeds_load.py -------------------------------------------------------------------------------- /server/scripts/shell.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/scripts/shell.py -------------------------------------------------------------------------------- /server/scripts/tax_rates_import.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/scripts/tax_rates_import.py -------------------------------------------------------------------------------- /server/scripts/webhook_trigger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/scripts/webhook_trigger.py -------------------------------------------------------------------------------- /server/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/account/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/account/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/tests/account/conftest.py -------------------------------------------------------------------------------- /server/tests/account/test_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/tests/account/test_model.py -------------------------------------------------------------------------------- /server/tests/benefit/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/benefit/grant/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/benefit/strategies/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/benefit/test_tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/tests/benefit/test_tasks.py -------------------------------------------------------------------------------- /server/tests/billing_entry/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/checkout/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/checkout/test_tax.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/tests/checkout/test_tax.py -------------------------------------------------------------------------------- /server/tests/checkout_link/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/tests/conftest.py -------------------------------------------------------------------------------- /server/tests/custom_field/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/customer/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/customer_meter/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/customer_portal/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/customer_portal/service/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/customer_seat/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/customer_session/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/discount/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/event/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/event/test_schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/tests/event/test_schemas.py -------------------------------------------------------------------------------- /server/tests/event/test_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/tests/event/test_service.py -------------------------------------------------------------------------------- /server/tests/event_type/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/external_event/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/file/test_endpoints.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/tests/file/test_endpoints.py -------------------------------------------------------------------------------- /server/tests/fixtures/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/tests/fixtures/__init__.py -------------------------------------------------------------------------------- /server/tests/fixtures/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/tests/fixtures/auth.py -------------------------------------------------------------------------------- /server/tests/fixtures/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/tests/fixtures/base.py -------------------------------------------------------------------------------- /server/tests/fixtures/database.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/tests/fixtures/database.py -------------------------------------------------------------------------------- /server/tests/fixtures/file.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/tests/fixtures/file.py -------------------------------------------------------------------------------- /server/tests/fixtures/locker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/tests/fixtures/locker.py -------------------------------------------------------------------------------- /server/tests/fixtures/redis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/tests/fixtures/redis.py -------------------------------------------------------------------------------- /server/tests/fixtures/stripe.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/tests/fixtures/stripe.py -------------------------------------------------------------------------------- /server/tests/fixtures/worker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/tests/fixtures/worker.py -------------------------------------------------------------------------------- /server/tests/integrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/integrations/github/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/integrations/github/service/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/integrations/github_repository_benefit/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/invoice/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/kit/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/kit/test_address.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/tests/kit/test_address.py -------------------------------------------------------------------------------- /server/tests/kit/test_csv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/tests/kit/test_csv.py -------------------------------------------------------------------------------- /server/tests/kit/test_html.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/tests/kit/test_html.py -------------------------------------------------------------------------------- /server/tests/kit/test_http.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/tests/kit/test_http.py -------------------------------------------------------------------------------- /server/tests/kit/test_math.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/tests/kit/test_math.py -------------------------------------------------------------------------------- /server/tests/kit/test_metadata.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/tests/kit/test_metadata.py -------------------------------------------------------------------------------- /server/tests/kit/test_tax.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/tests/kit/test_tax.py -------------------------------------------------------------------------------- /server/tests/license_key/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/login_code/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/member/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/member/test_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/tests/member/test_service.py -------------------------------------------------------------------------------- /server/tests/meter/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/meter/test_archive.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/tests/meter/test_archive.py -------------------------------------------------------------------------------- /server/tests/meter/test_filter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/tests/meter/test_filter.py -------------------------------------------------------------------------------- /server/tests/meter/test_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/tests/meter/test_service.py -------------------------------------------------------------------------------- /server/tests/metrics/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/models/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/models/test_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/tests/models/test_base.py -------------------------------------------------------------------------------- /server/tests/models/test_event.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/tests/models/test_event.py -------------------------------------------------------------------------------- /server/tests/notification_recipient/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/notifications/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/oauth2/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/oauth2/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/tests/oauth2/conftest.py -------------------------------------------------------------------------------- /server/tests/oauth2/endpoints/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/oauth2/endpoints/list/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/oauth2/endpoints/userinfo/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/oauth2/grants/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/oauth2/service/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/order/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/order/test_schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/tests/order/test_schemas.py -------------------------------------------------------------------------------- /server/tests/order/test_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/tests/order/test_service.py -------------------------------------------------------------------------------- /server/tests/order/test_tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/tests/order/test_tasks.py -------------------------------------------------------------------------------- /server/tests/organization/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/organization_access_token/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/payment/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/payment_method/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/payout/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/payout/test_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/tests/payout/test_service.py -------------------------------------------------------------------------------- /server/tests/personal_access_token/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/product/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/product/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/tests/product/conftest.py -------------------------------------------------------------------------------- /server/tests/refund/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/refund/test_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/tests/refund/test_service.py -------------------------------------------------------------------------------- /server/tests/scripts/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/storefront/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/subscription/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/test_openapi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/tests/test_openapi.py -------------------------------------------------------------------------------- /server/tests/test_sdk.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/tests/test_sdk.py -------------------------------------------------------------------------------- /server/tests/transaction/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/transaction/service/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/user/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/user/test_endpoints.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/tests/user/test_endpoints.py -------------------------------------------------------------------------------- /server/tests/user/test_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/tests/user/test_service.py -------------------------------------------------------------------------------- /server/tests/user_organization/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/wallet/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/webhooks/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/webhooks/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/tests/webhooks/conftest.py -------------------------------------------------------------------------------- /server/tests/webhooks/test_tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/tests/webhooks/test_tasks.py -------------------------------------------------------------------------------- /server/tests/worker/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tests/worker/test_metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/tests/worker/test_metrics.py -------------------------------------------------------------------------------- /server/uv.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/server/uv.lock -------------------------------------------------------------------------------- /terraform/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/terraform/.gitignore -------------------------------------------------------------------------------- /terraform/.terraform.lock.hcl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/terraform/.terraform.lock.hcl -------------------------------------------------------------------------------- /terraform/.tflint.hcl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/terraform/.tflint.hcl -------------------------------------------------------------------------------- /terraform/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/terraform/README.md -------------------------------------------------------------------------------- /terraform/global/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/terraform/global/main.tf -------------------------------------------------------------------------------- /terraform/global/production.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/terraform/global/production.tf -------------------------------------------------------------------------------- /terraform/global/sandbox.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/terraform/global/sandbox.tf -------------------------------------------------------------------------------- /terraform/global/terraform.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/terraform/global/terraform.tf -------------------------------------------------------------------------------- /terraform/global/test.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/terraform/global/test.tf -------------------------------------------------------------------------------- /terraform/production/aws.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/terraform/production/aws.tf -------------------------------------------------------------------------------- /terraform/production/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/terraform/production/main.tf -------------------------------------------------------------------------------- /terraform/production/outputs.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/terraform/production/outputs.tf -------------------------------------------------------------------------------- /terraform/production/render.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/terraform/production/render.tf -------------------------------------------------------------------------------- /terraform/production/terraform.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/terraform/production/terraform.tf -------------------------------------------------------------------------------- /terraform/production/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/terraform/production/variables.tf -------------------------------------------------------------------------------- /terraform/sandbox/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/terraform/sandbox/main.tf -------------------------------------------------------------------------------- /terraform/sandbox/render.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/terraform/sandbox/render.tf -------------------------------------------------------------------------------- /terraform/sandbox/terraform.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/terraform/sandbox/terraform.tf -------------------------------------------------------------------------------- /terraform/sandbox/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/terraform/sandbox/variables.tf -------------------------------------------------------------------------------- /terraform/test/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/terraform/test/main.tf -------------------------------------------------------------------------------- /terraform/test/render.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/terraform/test/render.tf -------------------------------------------------------------------------------- /terraform/test/terraform.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/terraform/test/terraform.tf -------------------------------------------------------------------------------- /terraform/test/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarsource/polar/HEAD/terraform/test/variables.tf --------------------------------------------------------------------------------