import { r as __exportAll } from "./chunk-olfrzTEO.js";
import { L as any, R as array, U as object, V as literal, W as string, f as createAction } from "./dist-uUUuTqM0.js";
//#region document-models/operational-hub-profile/v1/gen/schema/zod.ts
const isDefinedNonNullAny = (v) => v !== void 0 && v !== null;
const definedNonNullAnySchema = any().refine((v) => isDefinedNonNullAny(v));
function AddSubteamInputSchema() {
	return object({ subteam: string() });
}
function OperationalHubProfileStateSchema() {
	return object({
		__typename: literal("OperationalHubProfileState").optional(),
		name: string(),
		operatorTeam: string().nullish(),
		subteams: array(string())
	});
}
function RemoveSubteamInputSchema() {
	return object({ subteam: string() });
}
function SetOperationalHubNameInputSchema() {
	return object({ name: string() });
}
function SetOperatorTeamInputSchema() {
	return object({ operatorTeam: string().nullish() });
}
//#endregion
//#region document-models/operational-hub-profile/v1/gen/configuration/creators.ts
var creators_exports = /* @__PURE__ */ __exportAll({
	addSubteam: () => addSubteam,
	removeSubteam: () => removeSubteam,
	setOperationalHubName: () => setOperationalHubName,
	setOperatorTeam: () => setOperatorTeam
});
const setOperationalHubName = (input) => createAction("SET_OPERATIONAL_HUB_NAME", { ...input }, void 0, SetOperationalHubNameInputSchema, "global");
const setOperatorTeam = (input) => createAction("SET_OPERATOR_TEAM", { ...input }, void 0, SetOperatorTeamInputSchema, "global");
const addSubteam = (input) => createAction("ADD_SUBTEAM", { ...input }, void 0, AddSubteamInputSchema, "global");
const removeSubteam = (input) => createAction("REMOVE_SUBTEAM", { ...input }, void 0, RemoveSubteamInputSchema, "global");
//#endregion
export { setOperatorTeam as a, RemoveSubteamInputSchema as c, definedNonNullAnySchema as d, isDefinedNonNullAny as f, setOperationalHubName as i, SetOperationalHubNameInputSchema as l, creators_exports as n, AddSubteamInputSchema as o, removeSubteam as r, OperationalHubProfileStateSchema as s, addSubteam as t, SetOperatorTeamInputSchema as u };

//# sourceMappingURL=creators-BZ72KijW.js.map