import { C as PHDocument, S as PHBaseState, i as Action } from "./index-CXzqgt3H.js";

//#region document-models/vetra-cloud-environment/v1/gen/data-management/actions.d.ts
type SetLabelAction = Action & {
  type: "SET_LABEL";
  input: SetLabelInput;
};
type SetGenericSubdomainAction = Action & {
  type: "SET_GENERIC_SUBDOMAIN";
  input: SetGenericSubdomainInput;
};
type SetCustomDomainAction = Action & {
  type: "SET_CUSTOM_DOMAIN";
  input: SetCustomDomainInput;
};
type SetDefaultPackageRegistryAction = Action & {
  type: "SET_DEFAULT_PACKAGE_REGISTRY";
  input: SetDefaultPackageRegistryInput;
};
type SetDnsRecordsAction = Action & {
  type: "SET_DNS_RECORDS";
  input: SetDnsRecordsInput;
};
type VetraCloudEnvironmentDataManagementAction = SetLabelAction | SetGenericSubdomainAction | SetCustomDomainAction | SetDefaultPackageRegistryAction | SetDnsRecordsAction;
//#endregion
//#region document-models/vetra-cloud-environment/v1/gen/services/actions.d.ts
type EnableServiceAction = Action & {
  type: "ENABLE_SERVICE";
  input: EnableServiceInput;
};
type DisableServiceAction = Action & {
  type: "DISABLE_SERVICE";
  input: DisableServiceInput;
};
type ToggleServiceAction = Action & {
  type: "TOGGLE_SERVICE";
  input: ToggleServiceInput;
};
type UpdateServicePrefixAction = Action & {
  type: "UPDATE_SERVICE_PREFIX";
  input: UpdateServicePrefixInput;
};
type SetServiceStatusAction = Action & {
  type: "SET_SERVICE_STATUS";
  input: SetServiceStatusInput;
};
type SetServiceVersionAction = Action & {
  type: "SET_SERVICE_VERSION";
  input: SetServiceVersionInput;
};
type VetraCloudEnvironmentServicesAction = EnableServiceAction | DisableServiceAction | ToggleServiceAction | UpdateServicePrefixAction | SetServiceStatusAction | SetServiceVersionAction;
//#endregion
//#region document-models/vetra-cloud-environment/v1/gen/packages/actions.d.ts
type AddPackageAction = Action & {
  type: "ADD_PACKAGE";
  input: AddPackageInput;
};
type RemovePackageAction = Action & {
  type: "REMOVE_PACKAGE";
  input: RemovePackageInput;
};
type SetPackageVersionAction = Action & {
  type: "SET_PACKAGE_VERSION";
  input: SetPackageVersionInput;
};
type VetraCloudEnvironmentPackagesAction = AddPackageAction | RemovePackageAction | SetPackageVersionAction;
//#endregion
//#region document-models/vetra-cloud-environment/v1/gen/status-transitions/actions.d.ts
type InitializeAction = Action & {
  type: "INITIALIZE";
  input: InitializeInput;
};
type MarkChangesPushedAction = Action & {
  type: "MARK_CHANGES_PUSHED";
  input: MarkChangesPushedInput;
};
type MarkDeploymentStartedAction = Action & {
  type: "MARK_DEPLOYMENT_STARTED";
  input: MarkDeploymentStartedInput;
};
type ReportDeploymentSucceededAction = Action & {
  type: "REPORT_DEPLOYMENT_SUCCEEDED";
  input: ReportDeploymentSucceededInput;
};
type ReportDeploymentFailedAction = Action & {
  type: "REPORT_DEPLOYMENT_FAILED";
  input: ReportDeploymentFailedInput;
};
type ApproveChangesAction = Action & {
  type: "APPROVE_CHANGES";
  input: ApproveChangesInput;
};
type TerminateEnvironmentAction = Action & {
  type: "TERMINATE_ENVIRONMENT";
  input: TerminateEnvironmentInput;
};
type MarkDestroyedAction = Action & {
  type: "MARK_DESTROYED";
  input: MarkDestroyedInput;
};
type ArchiveAction = Action & {
  type: "ARCHIVE";
  input: ArchiveInput;
};
type UnarchiveAction = Action & {
  type: "UNARCHIVE";
  input: UnarchiveInput;
};
type VetraCloudEnvironmentStatusTransitionsAction = InitializeAction | MarkChangesPushedAction | MarkDeploymentStartedAction | ReportDeploymentSucceededAction | ReportDeploymentFailedAction | ApproveChangesAction | TerminateEnvironmentAction | MarkDestroyedAction | ArchiveAction | UnarchiveAction;
//#endregion
//#region document-models/vetra-cloud-environment/v1/gen/actions.d.ts
type VetraCloudEnvironmentAction = VetraCloudEnvironmentDataManagementAction | VetraCloudEnvironmentServicesAction | VetraCloudEnvironmentPackagesAction | VetraCloudEnvironmentStatusTransitionsAction;
//#endregion
//#region document-models/vetra-cloud-environment/v1/gen/schema/types.d.ts
type Maybe<T> = T | null | undefined;
type InputMaybe<T> = T | null | undefined;
type Exact<T extends {
  [key: string]: unknown;
}> = { [K in keyof T]: T[K] };
type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };
type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };
type MakeEmpty<T extends {
  [key: string]: unknown;
}, K extends keyof T> = { [_ in K]?: never };
type Incremental<T> = T | { [P in keyof T]?: P extends " $fragmentName" | "__typename" ? T[P] : never };
/** All built-in and custom scalars, mapped to their actual values */
type Scalars = {
  ID: {
    input: string;
    output: string;
  };
  String: {
    input: string;
    output: string;
  };
  Boolean: {
    input: boolean;
    output: boolean;
  };
  Int: {
    input: number;
    output: number;
  };
  Float: {
    input: number;
    output: number;
  };
  Address: {
    input: `${string}:0x${string}`;
    output: `${string}:0x${string}`;
  };
  Amount: {
    input: {
      unit?: string;
      value?: number;
    };
    output: {
      unit?: string;
      value?: number;
    };
  };
  Amount_Crypto: {
    input: {
      unit: string;
      value: string;
    };
    output: {
      unit: string;
      value: string;
    };
  };
  Amount_Currency: {
    input: {
      unit: string;
      value: string;
    };
    output: {
      unit: string;
      value: string;
    };
  };
  Amount_Fiat: {
    input: {
      unit: string;
      value: number;
    };
    output: {
      unit: string;
      value: number;
    };
  };
  Amount_Money: {
    input: number;
    output: number;
  };
  Amount_Percentage: {
    input: number;
    output: number;
  };
  Amount_Tokens: {
    input: number;
    output: number;
  };
  Attachment: {
    input: string;
    output: string;
  };
  Currency: {
    input: string;
    output: string;
  };
  Date: {
    input: string;
    output: string;
  };
  DateTime: {
    input: string;
    output: string;
  };
  EmailAddress: {
    input: string;
    output: string;
  };
  EthereumAddress: {
    input: string;
    output: string;
  };
  OID: {
    input: string;
    output: string;
  };
  OLabel: {
    input: string;
    output: string;
  };
  PHID: {
    input: string;
    output: string;
  };
  URL: {
    input: string;
    output: string;
  };
  Unknown: {
    input: unknown;
    output: unknown;
  };
  Upload: {
    input: File;
    output: File;
  };
};
type AddPackageInput = {
  packageName: Scalars["String"]["input"];
  registry?: InputMaybe<Scalars["URL"]["input"]>;
  version?: InputMaybe<Scalars["String"]["input"]>;
};
type ApproveChangesInput = {
  _placeholder?: InputMaybe<Scalars["String"]["input"]>;
};
type ArchiveInput = {
  _placeholder?: InputMaybe<Scalars["String"]["input"]>;
};
type DisableServiceInput = {
  type: VetraCloudEnvironmentServiceType;
};
type DnsRecord = {
  host: Scalars["String"]["output"];
  type: Scalars["String"]["output"];
  value: Scalars["String"]["output"];
};
type DnsRecordInput = {
  host: Scalars["String"]["input"];
  type: Scalars["String"]["input"];
  value: Scalars["String"]["input"];
};
type EnableServiceInput = {
  prefix: Scalars["String"]["input"];
  type: VetraCloudEnvironmentServiceType;
};
type InitializeInput = {
  defaultPackageRegistry?: InputMaybe<Scalars["URL"]["input"]>;
  genericBaseDomain: Scalars["String"]["input"];
  genericSubdomain: Scalars["String"]["input"];
};
type MarkChangesPushedInput = {
  _placeholder?: InputMaybe<Scalars["String"]["input"]>;
};
type MarkDeploymentStartedInput = {
  _placeholder?: InputMaybe<Scalars["String"]["input"]>;
};
type MarkDestroyedInput = {
  _placeholder?: InputMaybe<Scalars["String"]["input"]>;
};
type RemovePackageInput = {
  packageName: Scalars["String"]["input"];
};
type ReportDeploymentFailedInput = {
  code: Scalars["String"]["input"];
  message: Scalars["String"]["input"];
};
type ReportDeploymentSucceededInput = {
  _placeholder?: InputMaybe<Scalars["String"]["input"]>;
};
type ServiceStatus = "ACTIVE" | "BILLING_ISSUE" | "PROVISIONING" | "SUSPENDED";
type SetCustomDomainInput = {
  domain?: InputMaybe<Scalars["String"]["input"]>;
  enabled: Scalars["Boolean"]["input"];
};
type SetDefaultPackageRegistryInput = {
  defaultPackageRegistry: Scalars["URL"]["input"];
};
type SetDnsRecordsInput = {
  records: Array<DnsRecordInput>;
};
type SetGenericSubdomainInput = {
  genericSubdomain: Scalars["String"]["input"];
};
type SetLabelInput = {
  label: Scalars["String"]["input"];
};
type SetPackageVersionInput = {
  packageName: Scalars["String"]["input"];
  version: Scalars["String"]["input"];
};
type SetServiceStatusInput = {
  status: ServiceStatus;
  type: VetraCloudEnvironmentServiceType;
  url?: InputMaybe<Scalars["String"]["input"]>;
};
type SetServiceVersionInput = {
  type: VetraCloudEnvironmentServiceType;
  version: Scalars["String"]["input"];
};
type TerminateEnvironmentInput = {
  _placeholder?: InputMaybe<Scalars["String"]["input"]>;
};
type ToggleServiceInput = {
  type: VetraCloudEnvironmentServiceType;
};
type UnarchiveInput = {
  _placeholder?: InputMaybe<Scalars["String"]["input"]>;
};
type UpdateServicePrefixInput = {
  prefix: Scalars["String"]["input"];
  type: VetraCloudEnvironmentServiceType;
};
type VetraCloudEnvironmentService = {
  enabled: Scalars["Boolean"]["output"];
  prefix: Scalars["String"]["output"];
  status: ServiceStatus;
  type: VetraCloudEnvironmentServiceType;
  url: Maybe<Scalars["String"]["output"]>;
  version: Maybe<Scalars["String"]["output"]>;
};
type VetraCloudEnvironmentServiceType = "CONNECT" | "FUSION" | "SWITCHBOARD";
type VetraCloudEnvironmentState = {
  customDomain: Maybe<VetraCustomDomain>;
  defaultPackageRegistry: Maybe<Scalars["URL"]["output"]>;
  genericBaseDomain: Maybe<Scalars["String"]["output"]>;
  genericSubdomain: Maybe<Scalars["String"]["output"]>;
  label: Maybe<Scalars["String"]["output"]>;
  packages: Array<VetraCloudPackage>;
  services: Array<VetraCloudEnvironmentService>;
  status: VetraCloudEnvironmentStatus;
};
type VetraCloudEnvironmentStatus = "ARCHIVED" | "CHANGES_APPROVED" | "CHANGES_PENDING" | "CHANGES_PUSHED" | "DEPLOYING" | "DEPLOYMENt_FAILED" | "DESTROYED" | "DRAFT" | "READY" | "STOPPED" | "TERMINATING";
type VetraCloudPackage = {
  name: Scalars["String"]["output"];
  registry: Scalars["URL"]["output"];
  version: Maybe<Scalars["String"]["output"]>;
};
type VetraCustomDomain = {
  dnsRecords: Array<DnsRecord>;
  domain: Maybe<Scalars["String"]["output"]>;
  enabled: Scalars["Boolean"]["output"];
};
//#endregion
//#region document-models/vetra-cloud-environment/v1/gen/types.d.ts
type VetraCloudEnvironmentLocalState = Record<PropertyKey, never>;
type VetraCloudEnvironmentPHState = PHBaseState & {
  global: VetraCloudEnvironmentState;
  local: VetraCloudEnvironmentLocalState;
};
type VetraCloudEnvironmentDocument = PHDocument<VetraCloudEnvironmentPHState>;
//#endregion
export { ReportDeploymentSucceededAction as $, SetGenericSubdomainInput as A, VetraCloudEnvironmentServiceType as B, ReportDeploymentFailedInput as C, SetCustomDomainInput as D, ServiceStatus as E, TerminateEnvironmentInput as F, VetraCloudEnvironmentAction as G, VetraCloudEnvironmentStatus as H, ToggleServiceInput as I, InitializeAction as J, ApproveChangesAction as K, UnarchiveInput as L, SetPackageVersionInput as M, SetServiceStatusInput as N, SetDefaultPackageRegistryInput as O, SetServiceVersionInput as P, ReportDeploymentFailedAction as Q, UpdateServicePrefixInput as R, RemovePackageInput as S, Scalars as T, VetraCloudPackage as U, VetraCloudEnvironmentState as V, VetraCustomDomain as W, MarkDeploymentStartedAction as X, MarkChangesPushedAction as Y, MarkDestroyedAction as Z, MakeOptional as _, SetGenericSubdomainAction as _t, ApproveChangesInput as a, SetPackageVersionAction as at, MarkDestroyedInput as b, DnsRecord as c, EnableServiceAction as ct, Exact as d, ToggleServiceAction as dt, TerminateEnvironmentAction as et, Incremental as f, UpdateServicePrefixAction as ft, MakeMaybe as g, SetDnsRecordsAction as gt, MakeEmpty as h, SetDefaultPackageRegistryAction as ht, AddPackageInput as i, RemovePackageAction as it, SetLabelInput as j, SetDnsRecordsInput as k, DnsRecordInput as l, SetServiceStatusAction as lt, InputMaybe as m, SetCustomDomainAction as mt, VetraCloudEnvironmentLocalState as n, VetraCloudEnvironmentStatusTransitionsAction as nt, ArchiveInput as o, VetraCloudEnvironmentPackagesAction as ot, InitializeInput as p, VetraCloudEnvironmentServicesAction as pt, ArchiveAction as q, VetraCloudEnvironmentPHState as r, AddPackageAction as rt, DisableServiceInput as s, DisableServiceAction as st, VetraCloudEnvironmentDocument as t, UnarchiveAction as tt, EnableServiceInput as u, SetServiceVersionAction as ut, MarkChangesPushedInput as v, SetLabelAction as vt, ReportDeploymentSucceededInput as w, Maybe as x, MarkDeploymentStartedInput as y, VetraCloudEnvironmentDataManagementAction as yt, VetraCloudEnvironmentService as z };
//# sourceMappingURL=types-BiryxqP5.d.ts.map