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:
@@ -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;
|
||||
|
||||
@@ -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";
|
||||
|
||||
|
||||
@@ -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";
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { PlanType } from "../../../billing/enums/plan-type";
|
||||
import { PlanType } from "../../../billing/enums";
|
||||
|
||||
import { OrganizationKeysRequest } from "./organization-keys.request";
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { PlanSponsorshipType } from "../../../../billing/enums/plan-sponsorship-type";
|
||||
import { PlanSponsorshipType } from "../../../../billing/enums";
|
||||
|
||||
export class OrganizationSponsorshipCreateRequest {
|
||||
sponsoredEmail: string;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { PlanSponsorshipType } from "../../../../billing/enums/plan-sponsorship-type";
|
||||
import { PlanSponsorshipType } from "../../../../billing/enums";
|
||||
|
||||
export class OrganizationSponsorshipRedeemRequest {
|
||||
planSponsorshipType: PlanSponsorshipType;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { PolicyType } from "../../enums/policy-type";
|
||||
import { PolicyType } from "../../enums";
|
||||
|
||||
export class PolicyRequest {
|
||||
type: PolicyType;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { ProviderUserType } from "../../../enums/provider-user-type";
|
||||
import { ProviderUserType } from "../../../enums";
|
||||
|
||||
export class ProviderUserInviteRequest {
|
||||
emails: string[] = [];
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { ProviderUserType } from "../../../enums/provider-user-type";
|
||||
import { ProviderUserType } from "../../../enums";
|
||||
|
||||
export class ProviderUserUpdateRequest {
|
||||
type: ProviderUserType;
|
||||
|
||||
@@ -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) {}
|
||||
|
||||
Reference in New Issue
Block a user