import {
  OrganizationAdminValue,
  OrganizationBasicsValue,
  OrganizationLocalizationValue,
  OrganizationPlanLimitsValue,
} from './organization-onboarding.model';

export interface OrganizationProvisioningRequest {
  readonly basics: OrganizationBasicsValue;
  readonly localization: OrganizationLocalizationValue;
  readonly planLimits: OrganizationPlanLimitsValue;
  readonly admin: OrganizationAdminValue;
}

export type OrganizationProvisioningStatus =
  | 'not-configured'
  | 'submitted'
  | 'failed';

export interface OrganizationProvisioningResult {
  readonly status: OrganizationProvisioningStatus;
  readonly message: string;
}