mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 01:33:33 +00:00
* 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
17 lines
620 B
TypeScript
17 lines
620 B
TypeScript
import { BillingSyncConfigRequest } from "../../../billing/models/request/billing-sync-config.request";
|
|
import { OrganizationConnectionType } from "../../enums";
|
|
|
|
import { ScimConfigRequest } from "./scim-config.request";
|
|
|
|
/**API request config types for OrganizationConnectionRequest */
|
|
export type OrganizationConnectionRequestConfigs = BillingSyncConfigRequest | ScimConfigRequest;
|
|
|
|
export class OrganizationConnectionRequest {
|
|
constructor(
|
|
public organizationId: string,
|
|
public type: OrganizationConnectionType,
|
|
public enabled: boolean,
|
|
public config: OrganizationConnectionRequestConfigs
|
|
) {}
|
|
}
|