mirror of
https://github.com/bitwarden/server.git
synced 2026-04-20 11:42:29 -05:00
* refactor(billing): make OffboardingSurveyResponse optional in CancelSubscription * refactor(billing): migrate UserService.CancelPremiumAsync behind PM32645 feature flag * refactor(billing): migrate OrganizationDeleteCommand cancel behind PM32645 feature flag * refactor(billing): migrate AccountsController reinstate-premium behind PM32645 feature flag * refactor(billing): migrate OrganizationsController reinstate behind PM32645 feature flag * feat(billing): Introduce CancelSubscription overload for system cancellations * refactor(billing): Conditionally apply Stripe cancellation metadata * chore(tests): Remove unused using directive in OrganizationDeleteCommandTests * refactor(billing): simplify OneOf result handling * chore(deps): remove unused OneOf.Types imports * chore(deps): remove unused Bit.Core.Billing.Commands imports * chore(deps): remove unused Bit.Core imports * refactor(billing): unify ISubscriberService.CancelSubscription overloads * refactor(billing): update SubscriberService.CancelSubscription implementation * fix(api): adjust CancelSubscription calls in billing controllers * fix(user): adjust UserService.CancelSubscription call * test(billing): adjust SubscriberServiceTests for new CancelSubscription signature * test(user): adjust UserServiceTests for new CancelSubscription signature * refactor(billing): feature flag subscription cancel * refactor: decouple premium cancellation logic from user service * test: add tests for organization cancellation with feature flag * test: add tests for handling gateway exceptions during cancellation * fix(billing): run dotnet format