UNPKG

@vercel/sdk

Version:

<p align="center"> <a href="https://vercel.com"> <img src="https://assets.vercel.com/image/upload/v1588805858/repositories/vercel/logo.png" height="96"> <h3 align="center">Vercel</h3> </a> <p align="center">Develop. Preview. Ship.</p> </p>

1,409 lines 98.3 kB
/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
import * as z from "zod/v3";
import { remap as remap$ } from "../lib/primitives.js";
import { safeParse } from "../lib/schemas.js";
import * as types from "../types/primitives.js";
import { smartUnion } from "../types/smartUnion.js";
export const GetConfigurationProductsStatus = {
    Disabled: "disabled",
    Enabled: "enabled",
};
export const GetConfigurationProductsIntegrationsStatus = {
    Disabled: "disabled",
    Enabled: "enabled",
};
export const GetConfigurationProductsIntegrationsResponseStatus = {
    Disabled: "disabled",
    Enabled: "enabled",
};
export const GetConfigurationProductsIntegrationsResponse200Status = {
    Disabled: "disabled",
    Enabled: "enabled",
};
export const GetConfigurationProductsIntegrationsResponse200ApplicationJSONStatus = {
    Disabled: "disabled",
    Enabled: "enabled",
};
export const GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyStatus = {
    Disabled: "disabled",
    Enabled: "enabled",
};
export const GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsStatus = {
    Disabled: "disabled",
    Enabled: "enabled",
};
export const GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsStatus = {
    Disabled: "disabled",
    Enabled: "enabled",
};
export const GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsLogDrainStatus = {
    Disabled: "disabled",
    Enabled: "enabled",
};
export const GetConfigurationProductsFormat = {
    Json: "json",
    Ndjson: "ndjson",
};
export const GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsTraceDrainStatus = {
    Disabled: "disabled",
    Enabled: "enabled",
};
export const GetConfigurationProductsIntegrationsFormat = {
    Json: "json",
    Proto: "proto",
};
export const GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsMessagingStatus = {
    Disabled: "disabled",
    Enabled: "enabled",
};
export const GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsOtherStatus = {
    Disabled: "disabled",
    Enabled: "enabled",
};
export const PrimaryProtocol = {
    Ai: "ai",
    Authentication: "authentication",
    Checks: "checks",
    Experimentation: "experimentation",
    LogDrain: "logDrain",
    Messaging: "messaging",
    Observability: "observability",
    Other: "other",
    Storage: "storage",
    TraceDrain: "traceDrain",
    Video: "video",
    Workflow: "workflow",
};
export const GetConfigurationProductsType = {
    Object: "object",
};
export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12Type = {
    String: "string",
};
export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12UiControl = {
    GitNamespace: "git-namespace",
};
export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties123 = {
    Create: "create",
    Update: "update",
};
export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties123 = {
    Create: "create",
    Update: "update",
};
export const GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties123 = {
    Create: "create",
    Update: "update",
};
export const GitProviders = {
    Bitbucket: "bitbucket",
    Github: "github",
    Gitlab: "gitlab",
};
export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11Type = {
    String: "string",
};
export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11UiControl = {
    Domain: "domain",
};
export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties113 = {
    Create: "create",
    Update: "update",
};
export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties113 = {
    Create: "create",
    Update: "update",
};
export const GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties113 = {
    Create: "create",
    Update: "update",
};
export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10Type = {
    String: "string",
};
export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaUiControl = {
    VercelCountry: "vercel-country",
};
export const GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3 = {
    Create: "create",
    Update: "update",
};
export const GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3 = {
    Create: "create",
    Update: "update",
};
export const GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts3 = {
    Create: "create",
    Update: "update",
};
export const GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts3 = {
    Create: "create",
    Update: "update",
};
export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties3 = {
    Create: "create",
    Update: "update",
};
export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties3 = {
    Create: "create",
    Update: "update",
};
export const GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties3 = {
    Create: "create",
    Update: "update",
};
export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaType = {
    Array: "array",
};
export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9Type = {
    String: "string",
};
export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiControl = {
    MultiVercelRegion: "multi-vercel-region",
};
export const GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBody3 = {
    Create: "create",
    Update: "update",
};
export const GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBody3 = {
    Create: "create",
    Update: "update",
};
export const GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJson3 = {
    Create: "create",
    Update: "update",
};
export const GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJson3 = {
    Create: "create",
    Update: "update",
};
export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3 = {
    Create: "create",
    Update: "update",
};
export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3 = {
    Create: "create",
    Update: "update",
};
export const GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3 = {
    Create: "create",
    Update: "update",
};
export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsType = {
    String: "string",
};
export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiControl = {
    VercelRegion: "vercel-region",
};
export const GetConfigurationProductsDisabledIntegrationsResponse2003 = {
    Create: "create",
    Update: "update",
};
export const GetConfigurationProductsHiddenIntegrationsResponse2003 = {
    Create: "create",
    Update: "update",
};
export const GetConfigurationProductsDisabledIntegrationsResponse3 = {
    Create: "create",
    Update: "update",
};
export const GetConfigurationProductsHiddenIntegrationsResponse3 = {
    Create: "create",
    Update: "update",
};
export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProducts3 = {
    Create: "create",
    Update: "update",
};
export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts3 = {
    Create: "create",
    Update: "update",
};
export const GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts3 = {
    Create: "create",
    Update: "update",
};
/** @internal */
export const GetConfigurationProductsRequest$outboundSchema = z.object({
    id: z.string(),
    teamId: z.string().optional(),
    slug: z.string().optional(),
});
export function getConfigurationProductsRequestToJSON(getConfigurationProductsRequest) {
    return JSON.stringify(GetConfigurationProductsRequest$outboundSchema.parse(getConfigurationProductsRequest));
}
/** @internal */
export const GetConfigurationProductsStatus$inboundSchema = z.nativeEnum(GetConfigurationProductsStatus);
/** @internal */
export const GetConfigurationProductsRepl$inboundSchema = z.object({
    enabled: types.boolean(),
    supportsReadOnlyMode: types.boolean(),
    welcomeMessage: types.optional(types.string()),
});
export function getConfigurationProductsReplFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsRepl$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsRepl' from JSON`);
}
/** @internal */
export const Storage$inboundSchema = z.object({
    status: GetConfigurationProductsStatus$inboundSchema,
    repl: types.optional(z.lazy(() => GetConfigurationProductsRepl$inboundSchema)),
});
export function storageFromJSON(jsonString) {
    return safeParse(jsonString, (x) => Storage$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Storage' from JSON`);
}
/** @internal */
export const GetConfigurationProductsIntegrationsStatus$inboundSchema = z
    .nativeEnum(GetConfigurationProductsIntegrationsStatus);
/** @internal */
export const GetConfigurationProductsExperimentation$inboundSchema = z.object({
    status: GetConfigurationProductsIntegrationsStatus$inboundSchema,
    edgeConfigSyncingSupport: types.optional(types.boolean()),
});
export function getConfigurationProductsExperimentationFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsExperimentation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsExperimentation' from JSON`);
}
/** @internal */
export const GetConfigurationProductsIntegrationsResponseStatus$inboundSchema = z
    .nativeEnum(GetConfigurationProductsIntegrationsResponseStatus);
/** @internal */
export const Ai$inboundSchema = z.object({
    status: GetConfigurationProductsIntegrationsResponseStatus$inboundSchema,
});
export function aiFromJSON(jsonString) {
    return safeParse(jsonString, (x) => Ai$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Ai' from JSON`);
}
/** @internal */
export const GetConfigurationProductsIntegrationsResponse200Status$inboundSchema = z.nativeEnum(GetConfigurationProductsIntegrationsResponse200Status);
/** @internal */
export const GetConfigurationProductsAuthentication$inboundSchema = z.object({
    status: GetConfigurationProductsIntegrationsResponse200Status$inboundSchema,
    appUrlRegistrationSupport: types.optional(types.boolean()),
});
export function getConfigurationProductsAuthenticationFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsAuthentication$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsAuthentication' from JSON`);
}
/** @internal */
export const GetConfigurationProductsIntegrationsResponse200ApplicationJSONStatus$inboundSchema = z.nativeEnum(GetConfigurationProductsIntegrationsResponse200ApplicationJSONStatus);
/** @internal */
export const Observability$inboundSchema = z.object({
    status: GetConfigurationProductsIntegrationsResponse200ApplicationJSONStatus$inboundSchema,
});
export function observabilityFromJSON(jsonString) {
    return safeParse(jsonString, (x) => Observability$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Observability' from JSON`);
}
/** @internal */
export const GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyStatus$inboundSchema = z.nativeEnum(GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyStatus);
/** @internal */
export const Video$inboundSchema = z
    .object({
    status: GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyStatus$inboundSchema,
});
export function videoFromJSON(jsonString) {
    return safeParse(jsonString, (x) => Video$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Video' from JSON`);
}
/** @internal */
export const GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsStatus$inboundSchema = z.nativeEnum(GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsStatus);
/** @internal */
export const Workflow$inboundSchema = z.object({
    status: GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsStatus$inboundSchema,
});
export function workflowFromJSON(jsonString) {
    return safeParse(jsonString, (x) => Workflow$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Workflow' from JSON`);
}
/** @internal */
export const GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsStatus$inboundSchema = z.nativeEnum(GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsStatus);
/** @internal */
export const GetConfigurationProductsChecks$inboundSchema = z.object({
    status: GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsStatus$inboundSchema,
});
export function getConfigurationProductsChecksFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsChecks$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsChecks' from JSON`);
}
/** @internal */
export const GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsLogDrainStatus$inboundSchema = z.nativeEnum(GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsLogDrainStatus);
/** @internal */
export const GetConfigurationProductsFormat$inboundSchema = z.nativeEnum(GetConfigurationProductsFormat);
/** @internal */
export const LogDrain$inboundSchema = z.object({
    status: GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsLogDrainStatus$inboundSchema,
    endpoint: types.string(),
    headers: types.optional(z.record(types.string())),
    format: GetConfigurationProductsFormat$inboundSchema,
});
export function logDrainFromJSON(jsonString) {
    return safeParse(jsonString, (x) => LogDrain$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'LogDrain' from JSON`);
}
/** @internal */
export const GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsTraceDrainStatus$inboundSchema = z.nativeEnum(GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsTraceDrainStatus);
/** @internal */
export const GetConfigurationProductsIntegrationsFormat$inboundSchema = z
    .nativeEnum(GetConfigurationProductsIntegrationsFormat);
/** @internal */
export const TraceDrain$inboundSchema = z.object({
    status: GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsTraceDrainStatus$inboundSchema,
    endpoint: types.string(),
    headers: types.optional(z.record(types.string())),
    format: GetConfigurationProductsIntegrationsFormat$inboundSchema,
});
export function traceDrainFromJSON(jsonString) {
    return safeParse(jsonString, (x) => TraceDrain$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TraceDrain' from JSON`);
}
/** @internal */
export const GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsMessagingStatus$inboundSchema = z.nativeEnum(GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsMessagingStatus);
/** @internal */
export const Messaging$inboundSchema = z.object({
    status: GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsMessagingStatus$inboundSchema,
});
export function messagingFromJSON(jsonString) {
    return safeParse(jsonString, (x) => Messaging$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Messaging' from JSON`);
}
/** @internal */
export const GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsOtherStatus$inboundSchema = z.nativeEnum(GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsOtherStatus);
/** @internal */
export const Other$inboundSchema = z
    .object({
    status: GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsOtherStatus$inboundSchema,
});
export function otherFromJSON(jsonString) {
    return safeParse(jsonString, (x) => Other$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Other' from JSON`);
}
/** @internal */
export const Protocols$inboundSchema = z.object({
    storage: types.optional(z.lazy(() => Storage$inboundSchema)),
    experimentation: types.optional(z.lazy(() => GetConfigurationProductsExperimentation$inboundSchema)),
    ai: types.optional(z.lazy(() => Ai$inboundSchema)),
    authentication: types.optional(z.lazy(() => GetConfigurationProductsAuthentication$inboundSchema)),
    observability: types.optional(z.lazy(() => Observability$inboundSchema)),
    video: types.optional(z.lazy(() => Video$inboundSchema)),
    workflow: types.optional(z.lazy(() => Workflow$inboundSchema)),
    checks: types.optional(z.lazy(() => GetConfigurationProductsChecks$inboundSchema)),
    logDrain: types.optional(z.lazy(() => LogDrain$inboundSchema)),
    traceDrain: types.optional(z.lazy(() => TraceDrain$inboundSchema)),
    messaging: types.optional(z.lazy(() => Messaging$inboundSchema)),
    other: types.optional(z.lazy(() => Other$inboundSchema)),
});
export function protocolsFromJSON(jsonString) {
    return safeParse(jsonString, (x) => Protocols$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Protocols' from JSON`);
}
/** @internal */
export const PrimaryProtocol$inboundSchema = z.nativeEnum(PrimaryProtocol);
/** @internal */
export const GetConfigurationProductsType$inboundSchema = z.nativeEnum(GetConfigurationProductsType);
/** @internal */
export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12Type$inboundSchema = z.nativeEnum(GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12Type);
/** @internal */
export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12UiControl$inboundSchema = z.nativeEnum(GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12UiControl);
/** @internal */
export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties123$inboundSchema = z.nativeEnum(GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties123);
/** @internal */
export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties121$inboundSchema = z.object({
    expr: types.string(),
});
export function getConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties121FromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties121$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties121' from JSON`);
}
/** @internal */
export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12UiReadOnly$inboundSchema = smartUnion([
    z.lazy(() => GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties121$inboundSchema),
    types.boolean(),
    GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties123$inboundSchema,
]);
export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12UiReadOnlyFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12UiReadOnly$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12UiReadOnly' from JSON`);
}
/** @internal */
export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties123$inboundSchema = z.nativeEnum(GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties123);
/** @internal */
export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties121$inboundSchema = z.object({
    expr: types.string(),
});
export function getConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties121FromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties121$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties121' from JSON`);
}
/** @internal */
export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12UiHidden$inboundSchema = smartUnion([
    z.lazy(() => GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties121$inboundSchema),
    types.boolean(),
    GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties123$inboundSchema,
]);
export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12UiHiddenFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12UiHidden$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12UiHidden' from JSON`);
}
/** @internal */
export const GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties123$inboundSchema = z.nativeEnum(GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties123);
/** @internal */
export const GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties121$inboundSchema = z.object({
    expr: types.string(),
});
export function getConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties121FromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties121$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties121' from JSON`);
}
/** @internal */
export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12UiDisabled$inboundSchema = smartUnion([
    z.lazy(() => GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties121$inboundSchema),
    types.boolean(),
    GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties123$inboundSchema,
]);
export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12UiDisabledFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12UiDisabled$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12UiDisabled' from JSON`);
}
/** @internal */
export const GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties122$inboundSchema = z.object({
    expr: types.string(),
});
export function getConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties122FromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties122$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties122' from JSON`);
}
/** @internal */
export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12UiDescription$inboundSchema = smartUnion([
    z.lazy(() => GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties122$inboundSchema),
    types.string(),
]);
export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12UiDescriptionFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12UiDescription$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12UiDescription' from JSON`);
}
/** @internal */
export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12UiFormattedValue$inboundSchema = z.object({
    expr: types.string(),
});
export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12UiFormattedValueFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12UiFormattedValue$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12UiFormattedValue' from JSON`);
}
/** @internal */
export const GitProviders$inboundSchema = z.nativeEnum(GitProviders);
/** @internal */
export const Properties12$inboundSchema = z.object({
    type: GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12Type$inboundSchema,
    "ui:control": GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12UiControl$inboundSchema,
    description: types.optional(types.string()),
    "ui:label": types.optional(types.string()),
    "ui:read-only": types.optional(smartUnion([
        z.lazy(() => GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties121$inboundSchema),
        types.boolean(),
        GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties123$inboundSchema,
    ])),
    "ui:hidden": types.optional(smartUnion([
        z.lazy(() => GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties121$inboundSchema),
        types.boolean(),
        GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties123$inboundSchema,
    ])),
    "ui:disabled": types.optional(smartUnion([
        z.lazy(() => GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties121$inboundSchema),
        types.boolean(),
        GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties123$inboundSchema,
    ])),
    "ui:description": types.optional(smartUnion([
        z.lazy(() => GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties122$inboundSchema),
        types.string(),
    ])),
    "ui:formatted-value": types.optional(z.lazy(() => GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12UiFormattedValue$inboundSchema)),
    "ui:paid-only": types.optional(types.boolean()),
    "ui:placeholder": types.optional(types.string()),
    "git:providers": types.optional(z.array(GitProviders$inboundSchema)),
}).transform((v) => {
    return remap$(v, {
        "ui:control": "uiControl",
        "ui:label": "uiLabel",
        "ui:read-only": "uiReadOnly",
        "ui:hidden": "uiHidden",
        "ui:disabled": "uiDisabled",
        "ui:description": "uiDescription",
        "ui:formatted-value": "uiFormattedValue",
        "ui:paid-only": "uiPaidOnly",
        "ui:placeholder": "uiPlaceholder",
        "git:providers": "gitProviders",
    });
});
export function properties12FromJSON(jsonString) {
    return safeParse(jsonString, (x) => Properties12$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Properties12' from JSON`);
}
/** @internal */
export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11Type$inboundSchema = z.nativeEnum(GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11Type);
/** @internal */
export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11UiControl$inboundSchema = z.nativeEnum(GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11UiControl);
/** @internal */
export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties113$inboundSchema = z.nativeEnum(GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties113);
/** @internal */
export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties111$inboundSchema = z.object({
    expr: types.string(),
});
export function getConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties111FromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties111$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties111' from JSON`);
}
/** @internal */
export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11UiReadOnly$inboundSchema = smartUnion([
    z.lazy(() => GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties111$inboundSchema),
    types.boolean(),
    GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties113$inboundSchema,
]);
export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11UiReadOnlyFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11UiReadOnly$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11UiReadOnly' from JSON`);
}
/** @internal */
export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties113$inboundSchema = z.nativeEnum(GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties113);
/** @internal */
export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties111$inboundSchema = z.object({
    expr: types.string(),
});
export function getConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties111FromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties111$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties111' from JSON`);
}
/** @internal */
export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11UiHidden$inboundSchema = smartUnion([
    z.lazy(() => GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties111$inboundSchema),
    types.boolean(),
    GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties113$inboundSchema,
]);
export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11UiHiddenFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11UiHidden$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11UiHidden' from JSON`);
}
/** @internal */
export const GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties113$inboundSchema = z.nativeEnum(GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties113);
/** @internal */
export const GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties111$inboundSchema = z.object({
    expr: types.string(),
});
export function getConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties111FromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties111$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties111' from JSON`);
}
/** @internal */
export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11UiDisabled$inboundSchema = smartUnion([
    z.lazy(() => GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties111$inboundSchema),
    types.boolean(),
    GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties113$inboundSchema,
]);
export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11UiDisabledFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11UiDisabled$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11UiDisabled' from JSON`);
}
/** @internal */
export const GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties112$inboundSchema = z.object({
    expr: types.string(),
});
export function getConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties112FromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties112$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties112' from JSON`);
}
/** @internal */
export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11UiDescription$inboundSchema = smartUnion([
    z.lazy(() => GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties112$inboundSchema),
    types.string(),
]);
export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11UiDescriptionFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11UiDescription$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11UiDescription' from JSON`);
}
/** @internal */
export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11UiFormattedValue$inboundSchema = z.object({
    expr: types.string(),
});
export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11UiFormattedValueFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11UiFormattedValue$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11UiFormattedValue' from JSON`);
}
/** @internal */
export const Properties11$inboundSchema = z.object({
    type: GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11Type$inboundSchema,
    "ui:control": GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11UiControl$inboundSchema,
    description: types.optional(types.string()),
    enum: types.optional(z.array(types.string())),
    maxLength: types.optional(types.number()),
    minLength: types.optional(types.number()),
    pattern: types.optional(types.string()),
    default: types.optional(types.string()),
    "ui:label": types.optional(types.string()),
    "ui:read-only": types.optional(smartUnion([
        z.lazy(() => GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties111$inboundSchema),
        types.boolean(),
        GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties113$inboundSchema,
    ])),
    "ui:hidden": types.optional(smartUnion([
        z.lazy(() => GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties111$inboundSchema),
        types.boolean(),
        GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties113$inboundSchema,
    ])),
    "ui:disabled": types.optional(smartUnion([
        z.lazy(() => GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties111$inboundSchema),
        types.boolean(),
        GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties113$inboundSchema,
    ])),
    "ui:description": types.optional(smartUnion([
        z.lazy(() => GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties112$inboundSchema),
        types.string(),
    ])),
    "ui:formatted-value": types.optional(z.lazy(() => GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11UiFormattedValue$inboundSchema)),
    "ui:paid-only": types.optional(types.boolean()),
    "ui:placeholder": types.optional(types.string()),
}).transform((v) => {
    return remap$(v, {
        "ui:control": "uiControl",
        "ui:label": "uiLabel",
        "ui:read-only": "uiReadOnly",
        "ui:hidden": "uiHidden",
        "ui:disabled": "uiDisabled",
        "ui:description": "uiDescription",
        "ui:formatted-value": "uiFormattedValue",
        "ui:paid-only": "uiPaidOnly",
        "ui:placeholder": "uiPlaceholder",
    });
});
export function properties11FromJSON(jsonString) {
    return safeParse(jsonString, (x) => Properties11$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Properties11' from JSON`);
}
/** @internal */
export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10Type$inboundSchema = z.nativeEnum(GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10Type);
/** @internal */
export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaUiControl$inboundSchema = z.nativeEnum(GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaUiControl);
/** @internal */
export const GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$inboundSchema = z.nativeEnum(GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3);
/** @internal */
export const GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1$inboundSchema = z.object({
    expr: types.string(),
});
export function getConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1FromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1' from JSON`);
}
/** @internal */
export const GetConfigurationProductsUiOptionsIntegrationsResponse200ApplicationJSONDisabled$inboundSchema = smartUnion([
    z.lazy(() => GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1$inboundSchema),
    types.boolean(),
    GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$inboundSchema,
]);
export function getConfigurationProductsUiOptionsIntegrationsResponse200ApplicationJSONDisabledFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsUiOptionsIntegrationsResponse200ApplicationJSONDisabled$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsUiOptionsIntegrationsResponse200ApplicationJSONDisabled' from JSON`);
}
/** @internal */
export const GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$inboundSchema = z.nativeEnum(GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3);
/** @internal */
export const GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1$inboundSchema = z.object({
    expr: types.string(),
});
export function getConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1FromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1' from JSON`);
}
/** @internal */
export const GetConfigurationProductsUiOptionsIntegrationsResponse200ApplicationJSONHidden$inboundSchema = smartUnion([
    z.lazy(() => GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1$inboundSchema),
    types.boolean(),
    GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$inboundSchema,
]);
export function getConfigurationProductsUiOptionsIntegrationsResponse200ApplicationJSONHiddenFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsUiOptionsIntegrationsResponse200ApplicationJSONHidden$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsUiOptionsIntegrationsResponse200ApplicationJSONHidden' from JSON`);
}
/** @internal */
export const GetConfigurationProductsUiOptionsIntegrations3$inboundSchema = z.object({
    value: types.string(),
    description: types.optional(types.string()),
    disabled: types.optional(smartUnion([
        z.lazy(() => GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1$inboundSchema),
        types.boolean(),
        GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$inboundSchema,
    ])),
    hidden: types.optional(smartUnion([
        z.lazy(() => GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1$inboundSchema),
        types.boolean(),
        GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$inboundSchema,
    ])),
});
export function getConfigurationProductsUiOptionsIntegrations3FromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsUiOptionsIntegrations3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsUiOptionsIntegrations3' from JSON`);
}
/** @internal */
export const GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema = z.nativeEnum(GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts3);
/** @internal */
export const GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts1$inboundSchema = z.object({
    expr: types.string(),
});
export function getConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts1FromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts1$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts1' from JSON`);
}
/** @internal */
export const GetConfigurationProductsUiOptionsIntegrationsResponse200Disabled$inboundSchema = smartUnion([
    z.lazy(() => GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts1$inboundSchema),
    types.boolean(),
    GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema,
]);
export function getConfigurationProductsUiOptionsIntegrationsResponse200DisabledFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsUiOptionsIntegrationsResponse200Disabled$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsUiOptionsIntegrationsResponse200Disabled' from JSON`);
}
/** @internal */
export const GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema = z.nativeEnum(GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts3);
/** @internal */
export const GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts1$inboundSchema = z.object({
    expr: types.string(),
});
export function getConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts1FromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts1$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts1' from JSON`);
}
/** @internal */
export const GetConfigurationProductsUiOptionsIntegrationsResponse200Hidden$inboundSchema = smartUnion([
    z.lazy(() => GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts1$inboundSchema),
    types.boolean(),
    GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema,
]);
export function getConfigurationProductsUiOptionsIntegrationsResponse200HiddenFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsUiOptionsIntegrationsResponse200Hidden$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsUiOptionsIntegrationsResponse200Hidden' from JSON`);
}
/** @internal */
export const GetConfigurationProductsUiOptionsIntegrations1$inboundSchema = z.object({
    value: types.string(),
    label: types.string(),
    description: types.optional(types.string()),
    disabled: types.optional(smartUnion([
        z.lazy(() => GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts1$inboundSchema),
        types.boolean(),
        GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema,
    ])),
    hidden: types.optional(smartUnion([
        z.lazy(() => GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts1$inboundSchema),
        types.boolean(),
        GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema,
    ])),
});
export function getConfigurationProductsUiOptionsIntegrations1FromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsUiOptionsIntegrations1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsUiOptionsIntegrations1' from JSON`);
}
/** @internal */
export const GetConfigurationProductsPropertiesIntegrationsResponse200UiOptions$inboundSchema = smartUnion([
    z.lazy(() => GetConfigurationProductsUiOptionsIntegrations1$inboundSchema),
    z.lazy(() => GetConfigurationProductsUiOptionsIntegrations3$inboundSchema),
    types.string(),
]);
export function getConfigurationProductsPropertiesIntegrationsResponse200UiOptionsFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsPropertiesIntegrationsResponse200UiOptions$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200UiOptions' from JSON`);
}
/** @internal */
export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties3$inboundSchema = z.nativeEnum(GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties3);
/** @internal */
export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties1$inboundSchema = z.object({
    expr: types.string(),
});
export function getConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties1FromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties1$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties1' from JSON`);
}
/** @internal */
export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaUiReadOnly$inboundSchema = smartUnion([
    z.lazy(() => GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties1$inboundSchema),
    types.boolean(),
    GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties3$inboundSchema,
]);
export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaUiReadOnlyFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaUiReadOnly$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaUiReadOnly' from JSON`);
}
/** @internal */
export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties3$inboundSchema = z.nativeEnum(GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties3);
/** @internal */
export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties1$inboundSchema = z.object({
    expr: types.string(),
});
export function getConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties1FromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties1$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties1' from JSON`);
}
/** @internal */
export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaUiHidden$inboundSchema = smartUnion([
    z.lazy(() => GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties1$inboundSchema),
    types.boolean(),
    GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties3$inboundSchema,
]);
export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaUiHiddenFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaUiHidden$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaUiHidden' from JSON`);
}
/** @internal */
export const GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties3$inboundSchema = z.nativeEnum(GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties3);
/** @internal */
export const GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties1$inboundSchema = z.object({
    expr: types.string(),
});
export function getConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties1FromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties1$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties1' from JSON`);
}
/** @internal */
export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaUiDisabled$inboundSchema = smartUnion([
    z.lazy(() => GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties1$inboundSchema),
    types.boolean(),
    GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties3$inboundSchema,
]);
export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaUiDisabledFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaUiDisabled$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaUiDisabled' from JSON`);
}
/** @internal */
export const GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties2$inboundSchema = z.object({
    expr: types.string(),
});
export function getConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties2FromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties2$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties2' from JSON`);
}
/** @internal */
export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaUiDescription$inboundSchema = smartUnion([
    z.lazy(() => GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties2$inboundSchema),
    types.string(),
]);
export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaUiDescriptionFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaUiDescription$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaUiDescription' from JSON`);
}
/** @internal */
export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaUiFormattedValue$inboundSchema = z.object({
    expr: types.string(),
});
export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaUiFormattedValueFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaUiFormattedValue$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaUiFormattedValue' from JSON`);
}
/** @internal */
export const Properties10$inboundSchema = z.object({
    type: GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10Type$inboundSchema,
    "ui:control": GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaUiControl$inboundSchema,
    "ui:options": z.array(smartUnion([
        z.lazy(() => GetConfigurationProductsUiOptionsIntegrations1$inboundSchema),
        z.lazy(() => GetConfigurationProductsUiOptionsIntegrations3$inboundSchema),
        types.string(),
    ])),
    description: types.optional(types.string()),
    enum: types.optional(z.array(types.string())),
    maxLength: types.optional(types.number()),
    minLength: types.optional(types.number()),
    pattern: types.optional(types.string()),
    default: types.optional(types.string()),
    "ui:label": types.optional(types.string()),
    "ui:read-only": types.optional(smartUnion([
        z.lazy(() => GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties1$inboundSchema),
        types.boolean(),
        GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties3$inboundSchema,
    ])),
    "ui:hidden": types.optional(smartUnion([
        z.lazy(() => GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties1$inboundSchema),
        types.boolean(),
        GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties3$inboundSchema,
    ])),
    "ui:disabled": types.optional(smartUnion([
        z.lazy(() => GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties1$inboundSchema),
        types.boolean(),
        GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties3$inboundSchema,
    ])),
    "ui:description": types.optional(smartUnion([
        z.lazy(() => GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties2$inboundSchema),
        types.string(),
    ])),
    "ui:formatted-value": types.optional(z.lazy(() => GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaUiFormattedValue$inboundSchema)),
    "ui:paid-only": types.optional(types.boolean()),
    "ui:placeholder": types.optional(types.string()),
}).transform((v) => {
    return remap$(v, {
        "ui:control": "uiControl",
        "ui:options": "uiOptions",
        "ui:label": "uiLabel",
        "ui:read-only": "uiReadOnly",
        "ui:hidden": "uiHidden",
        "ui:disabled": "uiDisabled",
        "ui:description": "uiDescription",
        "ui:formatted-value": "uiFormattedValue",
        "ui:paid-only": "uiPaidOnly",
        "ui:placeholder": "uiPlaceholder",
    });
});
export function properties10FromJSON(jsonString) {
    return safeParse(jsonString, (x) => Properties10$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Properties10' from JSON`);
}
/** @internal */
export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaType$inboundSchema = z.nativeEnum(GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaType);
/** @internal */
export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9Type$inboundSchema = z.nativeEnum(GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9Type);
/** @internal */
export const GetConfigurationProductsPropertiesIntegrationsItems$inboundSchema = z.object({
    type: GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9Type$inboundSchema,
    description: types.optional(types.string()),
    enum: types.optional(z.array(types.string())),
    maxLength: types.optional(types.number()),
    minLength: types.optional(types.number()),
    pattern: types.optional(types.string()),
    default: types.optional(types.string()),
});
export function getConfigurationProductsPropertiesIntegrationsItemsFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsPropertiesIntegrationsItems$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsItems' from JSON`);
}
/** @internal */
export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiControl$inboundSchema = z.nativeEnum(GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiControl);
/** @internal */
export const GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema = z.nativeEnum(GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBody3);
/** @internal */
export const GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBody1$inboundSchema = z.object({
    expr: types.string(),
});
export function getConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBody1FromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBody1$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBody1' from JSON`);
}
/** @internal */
export const GetConfigurationProductsUiOptionsIntegrationsResponseDisabled$inboundSchema = smartUnion([
    z.lazy(() => GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBody1$inboundSchema),
    types.boolean(),
    GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema,
]);
export function getConfigurationProductsUiOptionsIntegrationsResponseDisabledFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsUiOptionsIntegrationsResponseDisabled$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsUiOptionsIntegrationsResponseDisabled' from JSON`);
}
/** @internal */
export const GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema = z.nativeEnum(GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBody3);
/** @internal */
export const GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBody1$inboundSchema = z.object({
    expr: types.string(),
});
export function getConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBody1FromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBody1$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBody1' from JSON`);
}
/** @internal */
export const GetConfigurationProductsUiOptionsIntegrationsResponseHidden$inboundSchema = smartUnion([
    z.lazy(() => GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBody1$inboundSchema),
    types.boolean(),
    GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema,
]);
export function getConfigurationProductsUiOptionsIntegrationsResponseHiddenFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsUiOptionsIntegrationsResponseHidden$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsUiOptionsIntegrationsResponseHidden' from JSON`);
}
/** @internal */
export const GetConfigurationProductsUiOptions3$inboundSchema = z.object({
    value: types.string(),
    description: types.optional(types.string()),
    disabled: types.optional(smartUnion([
        z.lazy(() => GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBody1$inboundSchema),
        types.boolean(),
        GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema,
    ])),
    hidden: types.optional(smartUnion([
        z.lazy(() => GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBody1$inboundSchema),
        types.boolean(),
        GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema,
    ])),
});
export function getConfigurationProductsUiOptions3FromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsUiOptions3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsUiOptions3' from JSON`);
}
/** @internal */
export const GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJson3$inboundSchema = z.nativeEnum(GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJson3);
/** @internal */
export const GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJson1$inboundSchema = z.object({
    expr: types.string(),
});
export function getConfigurationProductsDisabledIntegrationsResponse200ApplicationJSON1FromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJson1$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJson1' from JSON`);
}
/** @internal */
export const GetConfigurationProductsUiOptionsIntegrationsDisabled$inboundSchema = smartUnion([
    z.lazy(() => GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJson1$inboundSchema),
    types.boolean(),
    GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJson3$inboundSchema,
]);
export function getConfigurationProductsUiOptionsIntegrationsDisabledFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsUiOptionsIntegrationsDisabled$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsUiOptionsIntegrationsDisabled' from JSON`);
}
/** @internal */
export const GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJson3$inboundSchema = z.nativeEnum(GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJson3);
/** @internal */
export const GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJson1$inboundSchema = z.object({
    expr: types.string(),
});
export function getConfigurationProductsHiddenIntegrationsResponse200ApplicationJSON1FromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJson1$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJson1' from JSON`);
}
/** @internal */
export const GetConfigurationProductsUiOptionsIntegrationsHidden$inboundSchema = smartUnion([
    z.lazy(() => GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJson1$inboundSchema),
    types.boolean(),
    GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJson3$inboundSchema,
]);
export function getConfigurationProductsUiOptionsIntegrationsHiddenFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsUiOptionsIntegrationsHidden$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsUiOptionsIntegrationsHidden' from JSON`);
}
/** @internal */
export const GetConfigurationProductsUiOptions1$inboundSchema = z.object({
    value: types.string(),
    label: types.string(),
    description: types.optional(types.string()),
    disabled: types.optional(smartUnion([
        z.lazy(() => GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJson1$inboundSchema),
        types.boolean(),
        GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJson3$inboundSchema,
    ])),
    hidden: types.optional(smartUnion([
        z.lazy(() => GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJson1$inboundSchema),
        types.boolean(),
        GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJson3$inboundSchema,
    ])),
});
export function getConfigurationProductsUiOptions1FromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsUiOptions1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsUiOptions1' from JSON`);
}
/** @internal */
export const GetConfigurationProductsPropertiesIntegrationsResponseUiOptions$inboundSchema = smartUnion([
    z.lazy(() => GetConfigurationProductsUiOptions1$inboundSchema),
    z.lazy(() => GetConfigurationProductsUiOptions3$inboundSchema),
    types.string(),
]);
export function getConfigurationProductsPropertiesIntegrationsResponseUiOptionsFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsPropertiesIntegrationsResponseUiOptions$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponseUiOptions' from JSON`);
}
/** @internal */
export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$inboundSchema = z.nativeEnum(GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3);
/** @internal */
export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1$inboundSchema = z.object({
    expr: types.string(),
});
export function getConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1FromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1' from JSON`);
}
/** @internal */
export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiReadOnly$inboundSchema = smartUnion([
    z.lazy(() => GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1$inboundSchema),
    types.boolean(),
    GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$inboundSchema,
]);
export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiReadOnlyFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiReadOnly$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiReadOnly' from JSON`);
}
/** @internal */
export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$inboundSchema = z.nativeEnum(GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3);
/** @internal */
export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1$inboundSchema = z.object({
    expr: types.string(),
});
export function getConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1FromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1' from JSON`);
}
/** @internal */
export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiHidden$inboundSchema = smartUnion([
    z.lazy(() => GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1$inboundSchema),
    types.boolean(),
    GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$inboundSchema,
]);
export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiHiddenFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiHidden$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiHidden' from JSON`);
}
/** @internal */
export const GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$inboundSchema = z.nativeEnum(GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3);
/** @internal */
export const GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1$inboundSchema = z.object({
    expr: types.string(),
});
export function getConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1FromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1' from JSON`);
}
/** @internal */
export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiDisabled$inboundSchema = smartUnion([
    z.lazy(() => GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1$inboundSchema),
    types.boolean(),
    GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$inboundSchema,
]);
export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiDisabledFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiDisabled$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiDisabled' from JSON`);
}
/** @internal */
export const GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2$inboundSchema = z.object({
    expr: types.string(),
});
export function getConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2FromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2' from JSON`);
}
/** @internal */
export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiDescription$inboundSchema = smartUnion([
    z.lazy(() => GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2$inboundSchema),
    types.string(),
]);
export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiDescriptionFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiDescription$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiDescription' from JSON`);
}
/** @internal */
export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiFormattedValue$inboundSchema = z.object({
    expr: types.string(),
});
export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiFormattedValueFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiFormattedValue$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiFormattedValue' from JSON`);
}
/** @internal */
export const Properties9$inboundSchema = z.object({
    type: GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaType$inboundSchema,
    items: z.lazy(() => GetConfigurationProductsPropertiesIntegrationsItems$inboundSchema),
    "ui:control": GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiControl$inboundSchema,
    "ui:options": z.array(smartUnion([
        z.lazy(() => GetConfigurationProductsUiOptions1$inboundSchema),
        z.lazy(() => GetConfigurationProductsUiOptions3$inboundSchema),
        types.string(),
    ])),
    description: types.optional(types.string()),
    maxItems: types.optional(types.number()),
    minItems: types.optional(types.number()),
    default: types.optional(z.array(types.string())),
    example: types.optional(z.array(types.string())),
    "ui:label": types.optional(types.string()),
    "ui:read-only": types.optional(smartUnion([
        z.lazy(() => GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1$inboundSchema),
        types.boolean(),
        GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$inboundSchema,
    ])),
    "ui:hidden": types.optional(smartUnion([
        z.lazy(() => GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1$inboundSchema),
        types.boolean(),
        GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$inboundSchema,
    ])),
    "ui:disabled": types.optional(smartUnion([
        z.lazy(() => GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1$inboundSchema),
        types.boolean(),
        GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$inboundSchema,
    ])),
    "ui:description": types.optional(smartUnion([
        z.lazy(() => GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2$inboundSchema),
        types.string(),
    ])),
    "ui:formatted-value": types.optional(z.lazy(() => GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiFormattedValue$inboundSchema)),
    "ui:paid-only": types.optional(types.boolean()),
    "ui:placeholder": types.optional(types.string()),
}).transform((v) => {
    return remap$(v, {
        "ui:control": "uiControl",
        "ui:options": "uiOptions",
        "ui:label": "uiLabel",
        "ui:read-only": "uiReadOnly",
        "ui:hidden": "uiHidden",
        "ui:disabled": "uiDisabled",
        "ui:description": "uiDescription",
        "ui:formatted-value": "uiFormattedValue",
        "ui:paid-only": "uiPaidOnly",
        "ui:placeholder": "uiPlaceholder",
    });
});
export function properties9FromJSON(jsonString) {
    return safeParse(jsonString, (x) => Properties9$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Properties9' from JSON`);
}
/** @internal */
export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsType$inboundSchema = z.nativeEnum(GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsType);
/** @internal */
export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiControl$inboundSchema = z.nativeEnum(GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiControl);
/** @internal */
export const GetConfigurationProductsDisabledIntegrationsResponse2003$inboundSchema = z.nativeEnum(GetConfigurationProductsDisabledIntegrationsResponse2003);
/** @internal */
export const GetConfigurationProductsDisabledIntegrationsResponse2001$inboundSchema = z.object({
    expr: types.string(),
});
export function getConfigurationProductsDisabledIntegrationsResponse2001FromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsDisabledIntegrationsResponse2001$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsDisabledIntegrationsResponse2001' from JSON`);
}
/** @internal */
export const GetConfigurationProductsUiOptionsDisabled$inboundSchema = smartUnion([
    z.lazy(() => GetConfigurationProductsDisabledIntegrationsResponse2001$inboundSchema),
    types.boolean(),
    GetConfigurationProductsDisabledIntegrationsResponse2003$inboundSchema,
]);
export function getConfigurationProductsUiOptionsDisabledFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsUiOptionsDisabled$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsUiOptionsDisabled' from JSON`);
}
/** @internal */
export const GetConfigurationProductsHiddenIntegrationsResponse2003$inboundSchema = z.nativeEnum(GetConfigurationProductsHiddenIntegrationsResponse2003);
/** @internal */
export const GetConfigurationProductsHiddenIntegrationsResponse2001$inboundSchema = z.object({
    expr: types.string(),
});
export function getConfigurationProductsHiddenIntegrationsResponse2001FromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsHiddenIntegrationsResponse2001$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsHiddenIntegrationsResponse2001' from JSON`);
}
/** @internal */
export const GetConfigurationProductsUiOptionsHidden$inboundSchema = smartUnion([
    z.lazy(() => GetConfigurationProductsHiddenIntegrationsResponse2001$inboundSchema),
    types.boolean(),
    GetConfigurationProductsHiddenIntegrationsResponse2003$inboundSchema,
]);
export function getConfigurationProductsUiOptionsHiddenFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsUiOptionsHidden$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsUiOptionsHidden' from JSON`);
}
/** @internal */
export const UiOptions3$inboundSchema = z.object({
    value: types.string(),
    description: types.optional(types.string()),
    disabled: types.optional(smartUnion([
        z.lazy(() => GetConfigurationProductsDisabledIntegrationsResponse2001$inboundSchema),
        types.boolean(),
        GetConfigurationProductsDisabledIntegrationsResponse2003$inboundSchema,
    ])),
    hidden: types.optional(smartUnion([
        z.lazy(() => GetConfigurationProductsHiddenIntegrationsResponse2001$inboundSchema),
        types.boolean(),
        GetConfigurationProductsHiddenIntegrationsResponse2003$inboundSchema,
    ])),
});
export function uiOptions3FromJSON(jsonString) {
    return safeParse(jsonString, (x) => UiOptions3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UiOptions3' from JSON`);
}
/** @internal */
export const GetConfigurationProductsDisabledIntegrationsResponse3$inboundSchema = z.nativeEnum(GetConfigurationProductsDisabledIntegrationsResponse3);
/** @internal */
export const GetConfigurationProductsDisabledIntegrationsResponse1$inboundSchema = z.object({
    expr: types.string(),
});
export function getConfigurationProductsDisabledIntegrationsResponse1FromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsDisabledIntegrationsResponse1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsDisabledIntegrationsResponse1' from JSON`);
}
/** @internal */
export const UiOptionsDisabled$inboundSchema = smartUnion([
    z.lazy(() => GetConfigurationProductsDisabledIntegrationsResponse1$inboundSchema),
    types.boolean(),
    GetConfigurationProductsDisabledIntegrationsResponse3$inboundSchema,
]);
export function uiOptionsDisabledFromJSON(jsonString) {
    return safeParse(jsonString, (x) => UiOptionsDisabled$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UiOptionsDisabled' from JSON`);
}
/** @internal */
export const GetConfigurationProductsHiddenIntegrationsResponse3$inboundSchema = z.nativeEnum(GetConfigurationProductsHiddenIntegrationsResponse3);
/** @internal */
export const GetConfigurationProductsHiddenIntegrationsResponse1$inboundSchema = z.object({
    expr: types.string(),
});
export function getConfigurationProductsHiddenIntegrationsResponse1FromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsHiddenIntegrationsResponse1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsHiddenIntegrationsResponse1' from JSON`);
}
/** @internal */
export const UiOptionsHidden$inboundSchema = smartUnion([
    z.lazy(() => GetConfigurationProductsHiddenIntegrationsResponse1$inboundSchema),
    types.boolean(),
    GetConfigurationProductsHiddenIntegrationsResponse3$inboundSchema,
]);
export function uiOptionsHiddenFromJSON(jsonString) {
    return safeParse(jsonString, (x) => UiOptionsHidden$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UiOptionsHidden' from JSON`);
}
/** @internal */
export const UiOptions1$inboundSchema = z.object({
    value: types.string(),
    label: types.string(),
    description: types.optional(types.string()),
    disabled: types.optional(smartUnion([
        z.lazy(() => GetConfigurationProductsDisabledIntegrationsResponse1$inboundSchema),
        types.boolean(),
        GetConfigurationProductsDisabledIntegrationsResponse3$inboundSchema,
    ])),
    hidden: types.optional(smartUnion([
        z.lazy(() => GetConfigurationProductsHiddenIntegrationsResponse1$inboundSchema),
        types.boolean(),
        GetConfigurationProductsHiddenIntegrationsResponse3$inboundSchema,
    ])),
});
export function uiOptions1FromJSON(jsonString) {
    return safeParse(jsonString, (x) => UiOptions1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UiOptions1' from JSON`);
}
/** @internal */
export const GetConfigurationProductsPropertiesIntegrationsUiOptions$inboundSchema = smartUnion([
    z.lazy(() => UiOptions1$inboundSchema),
    z.lazy(() => UiOptions3$inboundSchema),
    types.string(),
]);
export function getConfigurationProductsPropertiesIntegrationsUiOptionsFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsPropertiesIntegrationsUiOptions$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsUiOptions' from JSON`);
}
/** @internal */
export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema = z.nativeEnum(GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProducts3);
/** @internal */
export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProducts1$inboundSchema = z.object({
    expr: types.string(),
});
export function getConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProducts1FromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProducts1$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProducts1' from JSON`);
}
/** @internal */
export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiReadOnly$inboundSchema = smartUnion([
    z.lazy(() => GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProducts1$inboundSchema),
    types.boolean(),
    GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema,
]);
export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiReadOnlyFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiReadOnly$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiReadOnly' from JSON`);
}
/** @internal */
export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema = z.nativeEnum(GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts3);
/** @internal */
export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts1$inboundSchema = z.object({
    expr: types.string(),
});
export function getConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts1FromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts1$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts1' from JSON`);
}
/** @internal */
export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiHidden$inboundSchema = smartUnion([
    z.lazy(() => GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts1$inboundSchema),
    types.boolean(),
    GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema,
]);
export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiHiddenFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiHidden$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiHidden' from JSON`);
}
/** @internal */
export const GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema = z.nativeEnum(GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts3);
/** @internal */
export const GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts1$inboundSchema = z.object({
    expr: types.string(),
});
export function getConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts1FromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts1$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts1' from JSON`);
}
/** @internal */
export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDisabled$inboundSchema = smartUnion([
    z.lazy(() => GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts1$inboundSchema),
    types.boolean(),
    GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema,
]);
export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDisabledFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDisabled$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDisabled' from JSON`);
}
//# sourceMappingURL=getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyuidisabled.js.map