1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 15:23:33 +00:00

[AC-1202] Update enums filenames for admin-console/billing teams (#5169)

* refactor: add barrel file for admin-console enums, update references, refs AC-1202

* fix: lint/prettier updates, refs AC-1202

* refactor: add enum suffix, refs AC-1202

* refactor: add barrel file for billing enums, update imports to use it, refs AC-1202

* fix: prettier, refs AC-1202

* refactor: add enum suffix for billing enums, refs AC-1202
This commit is contained in:
Vincent Salucci
2023-04-05 20:34:23 -05:00
committed by GitHub
parent c6bc97cf5c
commit 576d85b268
128 changed files with 171 additions and 151 deletions

View File

@@ -1,5 +1,5 @@
import { SecretVerificationRequest } from "../../../auth/models/request/secret-verification.request";
import { OrganizationApiKeyType } from "../../enums/organization-api-key-type";
import { OrganizationApiKeyType } from "../../enums";
export class OrganizationApiKeyRequest extends SecretVerificationRequest {
type: OrganizationApiKeyType = OrganizationApiKeyType.Default;

View File

@@ -1,5 +1,5 @@
import { BillingSyncConfigRequest } from "../../../billing/models/request/billing-sync-config.request";
import { OrganizationConnectionType } from "../../enums/organization-connection-type";
import { OrganizationConnectionType } from "../../enums";
import { ScimConfigRequest } from "./scim-config.request";

View File

@@ -1,5 +1,4 @@
import { PaymentMethodType } from "../../../billing/enums/payment-method-type";
import { PlanType } from "../../../billing/enums/plan-type";
import { PaymentMethodType, PlanType } from "../../../billing/enums";
import { OrganizationKeysRequest } from "./organization-keys.request";

View File

@@ -1,4 +1,4 @@
import { PlanType } from "../../../billing/enums/plan-type";
import { PlanType } from "../../../billing/enums";
import { OrganizationKeysRequest } from "./organization-keys.request";

View File

@@ -1,4 +1,4 @@
import { PlanSponsorshipType } from "../../../../billing/enums/plan-sponsorship-type";
import { PlanSponsorshipType } from "../../../../billing/enums";
export class OrganizationSponsorshipCreateRequest {
sponsoredEmail: string;

View File

@@ -1,4 +1,4 @@
import { PlanSponsorshipType } from "../../../../billing/enums/plan-sponsorship-type";
import { PlanSponsorshipType } from "../../../../billing/enums";
export class OrganizationSponsorshipRedeemRequest {
planSponsorshipType: PlanSponsorshipType;

View File

@@ -1,4 +1,4 @@
import { PolicyType } from "../../enums/policy-type";
import { PolicyType } from "../../enums";
export class PolicyRequest {
type: PolicyType;

View File

@@ -1,4 +1,4 @@
import { ProviderUserType } from "../../../enums/provider-user-type";
import { ProviderUserType } from "../../../enums";
export class ProviderUserInviteRequest {
emails: string[] = [];

View File

@@ -1,4 +1,4 @@
import { ProviderUserType } from "../../../enums/provider-user-type";
import { ProviderUserType } from "../../../enums";
export class ProviderUserUpdateRequest {
type: ProviderUserType;

View File

@@ -1,4 +1,4 @@
import { ScimProviderType } from "../../enums/scim-provider-type";
import { ScimProviderType } from "../../enums";
export class ScimConfigRequest {
constructor(private enabled: boolean, private scimProvider: ScimProviderType = null) {}