KamoCRM

Rewrite billingApi client onto Account-based endpoints

Refactorkamo-internal
Shipped
27 ஏப்ரல், 2026 அன்று 10:36 PM UTC
Author
kamo
Commit
e911335

billingApi now talks to **************** instead of the old /groups/{groupId} routes. Top-level types renamed: - BillingGroup -> AccountBilling - BillingGroupMember -> AccountBillingMember - BillingGroupSubscription -> AccountSubscription - BillingGroupLicense -> AccountLicense - PlatformOrgGroupSummary -> PlatformAccountSummary - billingApi.groups.* -> billingApi.accounts.* - paymentMethods.setDefault -> paymentMethods.setPrimary - paymentMethods.attach now takes optional setPrimary flag Updated consumers: - PaymentMethodForm: prop renamed billingGroupId -> accountUid - PlansBillingTab: full migration to accounts API; group.id -> group.accountUid; group.title -> group.displayName; isDefault concept dropped - OrganizationsTab: PlatformOrgGroupSummary -> PlatformAccountSummary; org.groups -> org.accounts; row fields adapted - useEntitlements: **************** -> accountUid/DisplayName Legacy `@ts-nocheck`-flagged settings managers (StatsManager, FeaturesManager, BranchSetupManager) are kept compiling via deprecated stubs that return null/empty values — they need their own follow-up rework onto the new API.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing