import type { SubmitAndPollResult } from 'gdc-sdk-core-ts'; import type { ProfileLoadRequest } from 'gdc-sdk-core-ts'; import type { LicenseListRuntimeSearchInput, LicenseOfferRuntimeSearchInput, LicenseOrderRuntimeSearchInput, OrganizationEmployeeCreationInput, OrganizationEmployeeLifecycleInput, OrganizationEmployeeSearchInput } from './resource-operations.js'; import type { HostRouteContext, HostedTenantLifecycleInput } from './host-onboarding.js'; import type { OrganizationLicenseOrderConfirmInput } from './organization-license-order.js'; import type { RouteContext } from './individual-onboarding.js'; import { type BackendOrganizationControllerProfile, type BackendProfileRuntimeClient } from './backend-profile-runtime.js'; /** * Backend use-case facade for the organization-controller happy path. * * This wrapper keeps the step-by-step tutorial surface high-level for: * - license seat discovery * - employee provisioning and lifecycle * - tenant disable/purge cleanup */ export declare class OrganizationControllerBackendRuntime { private readonly profileRuntime; constructor(profileRuntime: BackendProfileRuntimeClient); /** * Loads one organization-controller backend profile and materializes its * actor facade in one step. */ loadProfile(input: ProfileLoadRequest): Promise; /** * Lists organization-owned license seats. */ listLicenses(profile: BackendOrganizationControllerProfile, ctx: RouteContext, input?: LicenseListRuntimeSearchInput): Promise; /** * Lists commercial offers available to contract more seats. */ listLicenseOffers(profile: BackendOrganizationControllerProfile, ctx: RouteContext, input?: LicenseOfferRuntimeSearchInput): Promise; /** * Lists already-created commercial orders. */ listLicenseOrders(profile: BackendOrganizationControllerProfile, ctx: RouteContext, input?: LicenseOrderRuntimeSearchInput): Promise; /** * Confirms one already-paid organization order so additional seats become * usable by employees. */ confirmOrganizationLicenseOrder(profile: BackendOrganizationControllerProfile, ctx: RouteContext, input: OrganizationLicenseOrderConfirmInput): Promise; /** * Creates one employee under the current tenant. */ createEmployee(profile: BackendOrganizationControllerProfile, ctx: RouteContext, input: OrganizationEmployeeCreationInput): Promise; /** * Lists/searches employees under the current tenant. */ searchEmployees(profile: BackendOrganizationControllerProfile, ctx: RouteContext, input: OrganizationEmployeeSearchInput): Promise; /** * Disables one employee without purging it yet. */ disableEmployee(profile: BackendOrganizationControllerProfile, ctx: RouteContext, input: OrganizationEmployeeLifecycleInput): Promise; /** * Purges one already-disabled employee. */ purgeEmployee(profile: BackendOrganizationControllerProfile, ctx: RouteContext, input: OrganizationEmployeeLifecycleInput): Promise; /** * Disables the tenant after dependent actors have been disabled. */ disableTenant(profile: BackendOrganizationControllerProfile, hostCtx: HostRouteContext, input: HostedTenantLifecycleInput): Promise; /** * Purges the tenant after employee and individual cleanup. */ purgeTenant(profile: BackendOrganizationControllerProfile, hostCtx: HostRouteContext, input: HostedTenantLifecycleInput): Promise; }