From ee82aead648057aa19be9b4b058e0857bb83fcba Mon Sep 17 00:00:00 2001 From: Shane Melton Date: Thu, 22 Jun 2023 14:11:16 -0700 Subject: [PATCH] [AC-1418] Add better docs to options interface --- .../sm-adjust-subscription.component.ts | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/apps/web/src/app/billing/organizations/secrets-manager/sm-adjust-subscription.component.ts b/apps/web/src/app/billing/organizations/secrets-manager/sm-adjust-subscription.component.ts index 6edb1e3caed..fee31cc9d69 100644 --- a/apps/web/src/app/billing/organizations/secrets-manager/sm-adjust-subscription.component.ts +++ b/apps/web/src/app/billing/organizations/secrets-manager/sm-adjust-subscription.component.ts @@ -9,8 +9,20 @@ import { PlatformUtilsService } from "@bitwarden/common/platform/abstractions/pl export interface SecretsManagerSubscriptionOptions { interval: "year" | "month"; + + /** + * The current number of seats the organization subscribes to. + */ seatCount: number; + + /** + * Optional auto-scaling limit for the number of seats the organization can subscribe to. + */ seatLimit: number; + + /** + * The price per seat for the subscription. + */ seatPrice: number; /** @@ -18,8 +30,19 @@ export interface SecretsManagerSubscriptionOptions { */ baseServiceAccountCount: number; + /** + * The current number of additional service accounts the organization subscribes to. + */ serviceAccountCount: number; + + /** + * Optional auto-scaling limit for the number of additional service accounts the organization can subscribe to. + */ serviceAccountLimit: number; + + /** + * The price per additional service account for the subscription. + */ additionalServiceAccountPrice: number; }