diff --git a/libs/common/src/admin-console/models/data/organization.data.ts b/libs/common/src/admin-console/models/data/organization.data.ts index 10f5e9f262..726b9aa2fa 100644 --- a/libs/common/src/admin-console/models/data/organization.data.ts +++ b/libs/common/src/admin-console/models/data/organization.data.ts @@ -49,6 +49,7 @@ export class OrganizationData { familySponsorshipValidUntil?: Date; familySponsorshipToDelete?: boolean; accessSecretsManager: boolean; + secretsManagerBeta: boolean; constructor( response: ProfileOrganizationResponse, @@ -100,6 +101,7 @@ export class OrganizationData { this.familySponsorshipValidUntil = response.familySponsorshipValidUntil; this.familySponsorshipToDelete = response.familySponsorshipToDelete; this.accessSecretsManager = response.accessSecretsManager; + this.secretsManagerBeta = response.secretsManagerBeta; this.isMember = options.isMember; this.isProviderUser = options.isProviderUser; diff --git a/libs/common/src/admin-console/models/domain/organization.ts b/libs/common/src/admin-console/models/domain/organization.ts index 89751eb3e8..ac70c7ae31 100644 --- a/libs/common/src/admin-console/models/domain/organization.ts +++ b/libs/common/src/admin-console/models/domain/organization.ts @@ -64,6 +64,10 @@ export class Organization { familySponsorshipValidUntil?: Date; familySponsorshipToDelete?: boolean; accessSecretsManager: boolean; + /** + * Indicates the organization is participating in the Secrets Manager Beta + */ + secretsManagerBeta: boolean; constructor(obj?: OrganizationData) { if (obj == null) { diff --git a/libs/common/src/admin-console/models/response/organization.response.ts b/libs/common/src/admin-console/models/response/organization.response.ts index b248c6d0df..c8d41a2160 100644 --- a/libs/common/src/admin-console/models/response/organization.response.ts +++ b/libs/common/src/admin-console/models/response/organization.response.ts @@ -33,6 +33,7 @@ export class OrganizationResponse extends BaseResponse { smServiceAccounts?: number; maxAutoscaleSmSeats?: number; maxAutoscaleSmServiceAccounts?: number; + secretsManagerBeta?: boolean; constructor(response: any) { super(response); @@ -72,5 +73,6 @@ export class OrganizationResponse extends BaseResponse { this.smServiceAccounts = this.getResponseProperty("SmServiceAccounts"); this.maxAutoscaleSmSeats = this.getResponseProperty("MaxAutoscaleSmSeats"); this.maxAutoscaleSmServiceAccounts = this.getResponseProperty("MaxAutoscaleSmServiceAccounts"); + this.secretsManagerBeta = this.getResponseProperty("SecretsManagerBeta"); } } diff --git a/libs/common/src/admin-console/models/response/profile-organization.response.ts b/libs/common/src/admin-console/models/response/profile-organization.response.ts index e042bf145f..8728f304d0 100644 --- a/libs/common/src/admin-console/models/response/profile-organization.response.ts +++ b/libs/common/src/admin-console/models/response/profile-organization.response.ts @@ -48,6 +48,7 @@ export class ProfileOrganizationResponse extends BaseResponse { familySponsorshipValidUntil?: Date; familySponsorshipToDelete?: boolean; accessSecretsManager: boolean; + secretsManagerBeta: boolean; constructor(response: any) { super(response); @@ -105,5 +106,6 @@ export class ProfileOrganizationResponse extends BaseResponse { } this.familySponsorshipToDelete = this.getResponseProperty("FamilySponsorshipToDelete"); this.accessSecretsManager = this.getResponseProperty("AccessSecretsManager"); + this.secretsManagerBeta = this.getResponseProperty("SecretsManagerBeta") ?? false; } }