1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 17:53:39 +00:00

[AC-1842] Secrets Manager Trial Page (#7475)

* Got trial page working without the form set up

* Set up the form to create SM subscription

* Add free SM trial page and sign up

* Conner's changes

* fixed imports

* Set isFromSecretsManagerTrial

* Fixed OrgKey location

* Add isFromSecretsManager prop to free org create

* Add LTO callout

* Switch LTO to background box

* Defect: AC-2081

* Fixed typo "Secrets Manger" to "Secrets Manager"

* Removed discount price logic for storage and secrets manager prices since they don't apply

---------

Co-authored-by: Conner Turnbull <133619638+cturnbull-bitwarden@users.noreply.github.com>
Co-authored-by: Conner Turnbull <cturnbull@bitwarden.com>
This commit is contained in:
Alex Morask
2024-01-29 10:45:48 -05:00
committed by GitHub
parent 305fd39871
commit 8468dbab5b
26 changed files with 1073 additions and 146 deletions

View File

@@ -39,7 +39,7 @@ export class BillingSubscriptionResponse extends BaseResponse {
constructor(response: any) {
super(response);
this.trialEndDate = this.getResponseProperty("TrialStartDate");
this.trialStartDate = this.getResponseProperty("TrialStartDate");
this.trialEndDate = this.getResponseProperty("TrialEndDate");
this.periodStartDate = this.getResponseProperty("PeriodStartDate");
this.periodEndDate = this.getResponseProperty("PeriodEndDate");
@@ -55,6 +55,7 @@ export class BillingSubscriptionResponse extends BaseResponse {
}
export class BillingSubscriptionItemResponse extends BaseResponse {
productId: string;
name: string;
amount: number;
quantity: number;
@@ -65,6 +66,7 @@ export class BillingSubscriptionItemResponse extends BaseResponse {
constructor(response: any) {
super(response);
this.productId = this.getResponseProperty("ProductId");
this.name = this.getResponseProperty("Name");
this.amount = this.getResponseProperty("Amount");
this.quantity = this.getResponseProperty("Quantity");