"use strict";
/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
    Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
    o["default"] = v;
});
var __importStar = (this && this.__importStar) || (function () {
    var ownKeys = function(o) {
        ownKeys = Object.getOwnPropertyNames || function (o) {
            var ar = [];
            for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
            return ar;
        };
        return ownKeys(o);
    };
    return function (mod) {
        if (mod && mod.__esModule) return mod;
        var result = {};
        if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
        __setModuleDefault(result, mod);
        return result;
    };
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.Model11$outboundSchema = exports.Model11$inboundSchema = exports.Model12$outboundSchema = exports.Model12$inboundSchema = exports.Model13$outboundSchema = exports.Model13$inboundSchema = exports.Model14$outboundSchema = exports.Model14$inboundSchema = exports.Model15$outboundSchema = exports.Model15$inboundSchema = exports.Model16$outboundSchema = exports.Model16$inboundSchema = exports.Model17$outboundSchema = exports.Model17$inboundSchema = exports.Model18$outboundSchema = exports.Model18$inboundSchema = exports.Model19$outboundSchema = exports.Model19$inboundSchema = exports.Model20$outboundSchema = exports.Model20$inboundSchema = exports.Model21$outboundSchema = exports.Model21$inboundSchema = exports.Model22$outboundSchema = exports.Model22$inboundSchema = exports.Model23$outboundSchema = exports.Model23$inboundSchema = exports.UpdateMemoryStoreProvider = exports.UpdateMemoryStoreModel1 = exports.UpdateMemoryStoreModel2 = exports.UpdateMemoryStoreModel3 = exports.UpdateMemoryStoreModel4 = exports.UpdateMemoryStoreModel5 = exports.UpdateMemoryStoreModel6 = exports.Model7 = exports.Model8 = exports.Model9 = exports.Model10 = exports.Model11 = exports.Model12 = exports.Model13 = exports.Model14 = exports.Model15 = exports.Model16 = exports.Model17 = exports.Model18 = exports.Model19 = exports.Model20 = exports.Model21 = exports.Model22 = exports.Model23 = void 0;
exports.UpdateMemoryStoreResponseBody$outboundSchema = exports.UpdateMemoryStoreResponseBody$inboundSchema = exports.UpdateMemoryStoreMemoryStoresEmbeddingConfig$outboundSchema = exports.UpdateMemoryStoreMemoryStoresEmbeddingConfig$inboundSchema = exports.UpdateMemoryStoreProvider$outboundSchema = exports.UpdateMemoryStoreProvider$inboundSchema = exports.UpdateMemoryStoreRequest$outboundSchema = exports.UpdateMemoryStoreRequest$inboundSchema = exports.UpdateMemoryStoreRequestBody$outboundSchema = exports.UpdateMemoryStoreRequestBody$inboundSchema = exports.UpdateMemoryStoreEmbeddingConfig$outboundSchema = exports.UpdateMemoryStoreEmbeddingConfig$inboundSchema = exports.UpdateMemoryStoreModel$outboundSchema = exports.UpdateMemoryStoreModel$inboundSchema = exports.UpdateMemoryStoreModel1$outboundSchema = exports.UpdateMemoryStoreModel1$inboundSchema = exports.UpdateMemoryStoreModel2$outboundSchema = exports.UpdateMemoryStoreModel2$inboundSchema = exports.UpdateMemoryStoreModel3$outboundSchema = exports.UpdateMemoryStoreModel3$inboundSchema = exports.UpdateMemoryStoreModel4$outboundSchema = exports.UpdateMemoryStoreModel4$inboundSchema = exports.UpdateMemoryStoreModel5$outboundSchema = exports.UpdateMemoryStoreModel5$inboundSchema = exports.UpdateMemoryStoreModel6$outboundSchema = exports.UpdateMemoryStoreModel6$inboundSchema = exports.Model7$outboundSchema = exports.Model7$inboundSchema = exports.Model8$outboundSchema = exports.Model8$inboundSchema = exports.Model9$outboundSchema = exports.Model9$inboundSchema = exports.Model10$outboundSchema = exports.Model10$inboundSchema = void 0;
exports.updateMemoryStoreModelToJSON = updateMemoryStoreModelToJSON;
exports.updateMemoryStoreModelFromJSON = updateMemoryStoreModelFromJSON;
exports.updateMemoryStoreEmbeddingConfigToJSON = updateMemoryStoreEmbeddingConfigToJSON;
exports.updateMemoryStoreEmbeddingConfigFromJSON = updateMemoryStoreEmbeddingConfigFromJSON;
exports.updateMemoryStoreRequestBodyToJSON = updateMemoryStoreRequestBodyToJSON;
exports.updateMemoryStoreRequestBodyFromJSON = updateMemoryStoreRequestBodyFromJSON;
exports.updateMemoryStoreRequestToJSON = updateMemoryStoreRequestToJSON;
exports.updateMemoryStoreRequestFromJSON = updateMemoryStoreRequestFromJSON;
exports.updateMemoryStoreMemoryStoresEmbeddingConfigToJSON = updateMemoryStoreMemoryStoresEmbeddingConfigToJSON;
exports.updateMemoryStoreMemoryStoresEmbeddingConfigFromJSON = updateMemoryStoreMemoryStoresEmbeddingConfigFromJSON;
exports.updateMemoryStoreResponseBodyToJSON = updateMemoryStoreResponseBodyToJSON;
exports.updateMemoryStoreResponseBodyFromJSON = updateMemoryStoreResponseBodyFromJSON;
const z = __importStar(require("zod/v3"));
const primitives_js_1 = require("../../lib/primitives.js");
const schemas_js_1 = require("../../lib/schemas.js");
exports.Model23 = {
    JinaJinaEmbeddingsV3: "jina/jina-embeddings-v3",
};
exports.Model22 = {
    JinaJinaClipV2: "jina/jina-clip-v2",
};
exports.Model21 = {
    JinaJinaEmbeddingsV2BaseDe: "jina/jina-embeddings-v2-base-de",
};
exports.Model20 = {
    JinaJinaEmbeddingsV2BaseCode: "jina/jina-embeddings-v2-base-code",
};
exports.Model19 = {
    JinaJinaEmbeddingsV2BaseZh: "jina/jina-embeddings-v2-base-zh",
};
exports.Model18 = {
    JinaJinaEmbeddingsV2BaseEn: "jina/jina-embeddings-v2-base-en",
};
exports.Model17 = {
    JinaJinaEmbeddingsV2BaseEs: "jina/jina-embeddings-v2-base-es",
};
exports.Model16 = {
    JinaJinaClipV1: "jina/jina-clip-v1",
};
exports.Model15 = {
    MistralMistralEmbed: "mistral/mistral-embed",
};
exports.Model14 = {
    GoogleAiTextEmbedding004: "google-ai/text-embedding-004",
};
exports.Model13 = {
    GoogleMultimodalembeddingAt001: "google/multimodalembedding@001",
};
exports.Model12 = {
    GoogleTextMultilingualEmbedding002: "google/text-multilingual-embedding-002",
};
exports.Model11 = {
    GoogleGeminiEmbedding001: "google/gemini-embedding-001",
};
exports.Model10 = {
    OpenaiTextEmbeddingAda002: "openai/text-embedding-ada-002",
};
exports.Model9 = {
    OpenaiTextEmbedding3Small: "openai/text-embedding-3-small",
};
exports.Model8 = {
    OpenaiTextEmbedding3Large: "openai/text-embedding-3-large",
};
exports.Model7 = {
    AzureTextEmbedding3Small: "azure/text-embedding-3-small",
};
exports.UpdateMemoryStoreModel6 = {
    AzureTextEmbeddingAda002: "azure/text-embedding-ada-002",
};
exports.UpdateMemoryStoreModel5 = {
    CohereEmbedV40: "cohere/embed-v4.0",
};
exports.UpdateMemoryStoreModel4 = {
    CohereEmbedEnglishV30: "cohere/embed-english-v3.0",
};
exports.UpdateMemoryStoreModel3 = {
    CohereEmbedEnglishLightV30: "cohere/embed-english-light-v3.0",
};
exports.UpdateMemoryStoreModel2 = {
    CohereEmbedMultilingualLightV30: "cohere/embed-multilingual-light-v3.0",
};
exports.UpdateMemoryStoreModel1 = {
    CohereEmbedMultilingualV30: "cohere/embed-multilingual-v3.0",
};
/**
 * The provider of the AI service
 */
exports.UpdateMemoryStoreProvider = {
    Cohere: "cohere",
    Openai: "openai",
    Anthropic: "anthropic",
    Huggingface: "huggingface",
    Replicate: "replicate",
    Google: "google",
    GoogleAi: "google-ai",
    Azure: "azure",
    Aws: "aws",
    Anyscale: "anyscale",
    Perplexity: "perplexity",
    Groq: "groq",
    Fal: "fal",
    Leonardoai: "leonardoai",
    Nvidia: "nvidia",
    Jina: "jina",
    Togetherai: "togetherai",
    Elevenlabs: "elevenlabs",
    Litellm: "litellm",
    Openailike: "openailike",
    Cerebras: "cerebras",
    Bytedance: "bytedance",
    Mistral: "mistral",
};
/** @internal */
exports.Model23$inboundSchema = z
    .nativeEnum(exports.Model23);
/** @internal */
exports.Model23$outboundSchema = exports.Model23$inboundSchema;
/** @internal */
exports.Model22$inboundSchema = z
    .nativeEnum(exports.Model22);
/** @internal */
exports.Model22$outboundSchema = exports.Model22$inboundSchema;
/** @internal */
exports.Model21$inboundSchema = z
    .nativeEnum(exports.Model21);
/** @internal */
exports.Model21$outboundSchema = exports.Model21$inboundSchema;
/** @internal */
exports.Model20$inboundSchema = z
    .nativeEnum(exports.Model20);
/** @internal */
exports.Model20$outboundSchema = exports.Model20$inboundSchema;
/** @internal */
exports.Model19$inboundSchema = z
    .nativeEnum(exports.Model19);
/** @internal */
exports.Model19$outboundSchema = exports.Model19$inboundSchema;
/** @internal */
exports.Model18$inboundSchema = z
    .nativeEnum(exports.Model18);
/** @internal */
exports.Model18$outboundSchema = exports.Model18$inboundSchema;
/** @internal */
exports.Model17$inboundSchema = z
    .nativeEnum(exports.Model17);
/** @internal */
exports.Model17$outboundSchema = exports.Model17$inboundSchema;
/** @internal */
exports.Model16$inboundSchema = z
    .nativeEnum(exports.Model16);
/** @internal */
exports.Model16$outboundSchema = exports.Model16$inboundSchema;
/** @internal */
exports.Model15$inboundSchema = z
    .nativeEnum(exports.Model15);
/** @internal */
exports.Model15$outboundSchema = exports.Model15$inboundSchema;
/** @internal */
exports.Model14$inboundSchema = z
    .nativeEnum(exports.Model14);
/** @internal */
exports.Model14$outboundSchema = exports.Model14$inboundSchema;
/** @internal */
exports.Model13$inboundSchema = z
    .nativeEnum(exports.Model13);
/** @internal */
exports.Model13$outboundSchema = exports.Model13$inboundSchema;
/** @internal */
exports.Model12$inboundSchema = z
    .nativeEnum(exports.Model12);
/** @internal */
exports.Model12$outboundSchema = exports.Model12$inboundSchema;
/** @internal */
exports.Model11$inboundSchema = z
    .nativeEnum(exports.Model11);
/** @internal */
exports.Model11$outboundSchema = exports.Model11$inboundSchema;
/** @internal */
exports.Model10$inboundSchema = z
    .nativeEnum(exports.Model10);
/** @internal */
exports.Model10$outboundSchema = exports.Model10$inboundSchema;
/** @internal */
exports.Model9$inboundSchema = z
    .nativeEnum(exports.Model9);
/** @internal */
exports.Model9$outboundSchema = exports.Model9$inboundSchema;
/** @internal */
exports.Model8$inboundSchema = z
    .nativeEnum(exports.Model8);
/** @internal */
exports.Model8$outboundSchema = exports.Model8$inboundSchema;
/** @internal */
exports.Model7$inboundSchema = z
    .nativeEnum(exports.Model7);
/** @internal */
exports.Model7$outboundSchema = exports.Model7$inboundSchema;
/** @internal */
exports.UpdateMemoryStoreModel6$inboundSchema = z.nativeEnum(exports.UpdateMemoryStoreModel6);
/** @internal */
exports.UpdateMemoryStoreModel6$outboundSchema = exports.UpdateMemoryStoreModel6$inboundSchema;
/** @internal */
exports.UpdateMemoryStoreModel5$inboundSchema = z.nativeEnum(exports.UpdateMemoryStoreModel5);
/** @internal */
exports.UpdateMemoryStoreModel5$outboundSchema = exports.UpdateMemoryStoreModel5$inboundSchema;
/** @internal */
exports.UpdateMemoryStoreModel4$inboundSchema = z.nativeEnum(exports.UpdateMemoryStoreModel4);
/** @internal */
exports.UpdateMemoryStoreModel4$outboundSchema = exports.UpdateMemoryStoreModel4$inboundSchema;
/** @internal */
exports.UpdateMemoryStoreModel3$inboundSchema = z.nativeEnum(exports.UpdateMemoryStoreModel3);
/** @internal */
exports.UpdateMemoryStoreModel3$outboundSchema = exports.UpdateMemoryStoreModel3$inboundSchema;
/** @internal */
exports.UpdateMemoryStoreModel2$inboundSchema = z.nativeEnum(exports.UpdateMemoryStoreModel2);
/** @internal */
exports.UpdateMemoryStoreModel2$outboundSchema = exports.UpdateMemoryStoreModel2$inboundSchema;
/** @internal */
exports.UpdateMemoryStoreModel1$inboundSchema = z.nativeEnum(exports.UpdateMemoryStoreModel1);
/** @internal */
exports.UpdateMemoryStoreModel1$outboundSchema = exports.UpdateMemoryStoreModel1$inboundSchema;
/** @internal */
exports.UpdateMemoryStoreModel$inboundSchema = z.union([
    exports.UpdateMemoryStoreModel1$inboundSchema,
    exports.UpdateMemoryStoreModel2$inboundSchema,
    exports.UpdateMemoryStoreModel3$inboundSchema,
    exports.UpdateMemoryStoreModel4$inboundSchema,
    exports.UpdateMemoryStoreModel5$inboundSchema,
    exports.UpdateMemoryStoreModel6$inboundSchema,
    exports.Model7$inboundSchema,
    exports.Model8$inboundSchema,
    exports.Model9$inboundSchema,
    exports.Model10$inboundSchema,
    exports.Model11$inboundSchema,
    exports.Model12$inboundSchema,
    exports.Model13$inboundSchema,
    exports.Model14$inboundSchema,
    exports.Model15$inboundSchema,
    exports.Model16$inboundSchema,
    exports.Model17$inboundSchema,
    exports.Model18$inboundSchema,
    exports.Model19$inboundSchema,
    exports.Model20$inboundSchema,
    exports.Model21$inboundSchema,
    exports.Model22$inboundSchema,
    exports.Model23$inboundSchema,
]);
/** @internal */
exports.UpdateMemoryStoreModel$outboundSchema = z.union([
    exports.UpdateMemoryStoreModel1$outboundSchema,
    exports.UpdateMemoryStoreModel2$outboundSchema,
    exports.UpdateMemoryStoreModel3$outboundSchema,
    exports.UpdateMemoryStoreModel4$outboundSchema,
    exports.UpdateMemoryStoreModel5$outboundSchema,
    exports.UpdateMemoryStoreModel6$outboundSchema,
    exports.Model7$outboundSchema,
    exports.Model8$outboundSchema,
    exports.Model9$outboundSchema,
    exports.Model10$outboundSchema,
    exports.Model11$outboundSchema,
    exports.Model12$outboundSchema,
    exports.Model13$outboundSchema,
    exports.Model14$outboundSchema,
    exports.Model15$outboundSchema,
    exports.Model16$outboundSchema,
    exports.Model17$outboundSchema,
    exports.Model18$outboundSchema,
    exports.Model19$outboundSchema,
    exports.Model20$outboundSchema,
    exports.Model21$outboundSchema,
    exports.Model22$outboundSchema,
    exports.Model23$outboundSchema,
]);
function updateMemoryStoreModelToJSON(updateMemoryStoreModel) {
    return JSON.stringify(exports.UpdateMemoryStoreModel$outboundSchema.parse(updateMemoryStoreModel));
}
function updateMemoryStoreModelFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdateMemoryStoreModel$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateMemoryStoreModel' from JSON`);
}
/** @internal */
exports.UpdateMemoryStoreEmbeddingConfig$inboundSchema = z.object({
    model: z.union([
        exports.UpdateMemoryStoreModel1$inboundSchema,
        exports.UpdateMemoryStoreModel2$inboundSchema,
        exports.UpdateMemoryStoreModel3$inboundSchema,
        exports.UpdateMemoryStoreModel4$inboundSchema,
        exports.UpdateMemoryStoreModel5$inboundSchema,
        exports.UpdateMemoryStoreModel6$inboundSchema,
        exports.Model7$inboundSchema,
        exports.Model8$inboundSchema,
        exports.Model9$inboundSchema,
        exports.Model10$inboundSchema,
        exports.Model11$inboundSchema,
        exports.Model12$inboundSchema,
        exports.Model13$inboundSchema,
        exports.Model14$inboundSchema,
        exports.Model15$inboundSchema,
        exports.Model16$inboundSchema,
        exports.Model17$inboundSchema,
        exports.Model18$inboundSchema,
        exports.Model19$inboundSchema,
        exports.Model20$inboundSchema,
        exports.Model21$inboundSchema,
        exports.Model22$inboundSchema,
        exports.Model23$inboundSchema,
    ]),
});
/** @internal */
exports.UpdateMemoryStoreEmbeddingConfig$outboundSchema = z.object({
    model: z.union([
        exports.UpdateMemoryStoreModel1$outboundSchema,
        exports.UpdateMemoryStoreModel2$outboundSchema,
        exports.UpdateMemoryStoreModel3$outboundSchema,
        exports.UpdateMemoryStoreModel4$outboundSchema,
        exports.UpdateMemoryStoreModel5$outboundSchema,
        exports.UpdateMemoryStoreModel6$outboundSchema,
        exports.Model7$outboundSchema,
        exports.Model8$outboundSchema,
        exports.Model9$outboundSchema,
        exports.Model10$outboundSchema,
        exports.Model11$outboundSchema,
        exports.Model12$outboundSchema,
        exports.Model13$outboundSchema,
        exports.Model14$outboundSchema,
        exports.Model15$outboundSchema,
        exports.Model16$outboundSchema,
        exports.Model17$outboundSchema,
        exports.Model18$outboundSchema,
        exports.Model19$outboundSchema,
        exports.Model20$outboundSchema,
        exports.Model21$outboundSchema,
        exports.Model22$outboundSchema,
        exports.Model23$outboundSchema,
    ]),
});
function updateMemoryStoreEmbeddingConfigToJSON(updateMemoryStoreEmbeddingConfig) {
    return JSON.stringify(exports.UpdateMemoryStoreEmbeddingConfig$outboundSchema.parse(updateMemoryStoreEmbeddingConfig));
}
function updateMemoryStoreEmbeddingConfigFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdateMemoryStoreEmbeddingConfig$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateMemoryStoreEmbeddingConfig' from JSON`);
}
/** @internal */
exports.UpdateMemoryStoreRequestBody$inboundSchema = z.object({
    embedding_config: z.lazy(() => exports.UpdateMemoryStoreEmbeddingConfig$inboundSchema),
    description: z.string(),
    ttl: z.number().optional(),
    path: z.string(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "embedding_config": "embeddingConfig",
    });
});
/** @internal */
exports.UpdateMemoryStoreRequestBody$outboundSchema = z.object({
    embeddingConfig: z.lazy(() => exports.UpdateMemoryStoreEmbeddingConfig$outboundSchema),
    description: z.string(),
    ttl: z.number().optional(),
    path: z.string(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        embeddingConfig: "embedding_config",
    });
});
function updateMemoryStoreRequestBodyToJSON(updateMemoryStoreRequestBody) {
    return JSON.stringify(exports.UpdateMemoryStoreRequestBody$outboundSchema.parse(updateMemoryStoreRequestBody));
}
function updateMemoryStoreRequestBodyFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdateMemoryStoreRequestBody$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateMemoryStoreRequestBody' from JSON`);
}
/** @internal */
exports.UpdateMemoryStoreRequest$inboundSchema = z.object({
    memory_store_key: z.string(),
    RequestBody: z.lazy(() => exports.UpdateMemoryStoreRequestBody$inboundSchema)
        .optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "memory_store_key": "memoryStoreKey",
        "RequestBody": "requestBody",
    });
});
/** @internal */
exports.UpdateMemoryStoreRequest$outboundSchema = z.object({
    memoryStoreKey: z.string(),
    requestBody: z.lazy(() => exports.UpdateMemoryStoreRequestBody$outboundSchema)
        .optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        memoryStoreKey: "memory_store_key",
        requestBody: "RequestBody",
    });
});
function updateMemoryStoreRequestToJSON(updateMemoryStoreRequest) {
    return JSON.stringify(exports.UpdateMemoryStoreRequest$outboundSchema.parse(updateMemoryStoreRequest));
}
function updateMemoryStoreRequestFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdateMemoryStoreRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateMemoryStoreRequest' from JSON`);
}
/** @internal */
exports.UpdateMemoryStoreProvider$inboundSchema = z.nativeEnum(exports.UpdateMemoryStoreProvider);
/** @internal */
exports.UpdateMemoryStoreProvider$outboundSchema = exports.UpdateMemoryStoreProvider$inboundSchema;
/** @internal */
exports.UpdateMemoryStoreMemoryStoresEmbeddingConfig$inboundSchema = z.object({
    model_id: z.string(),
    integration_id: z.string().optional(),
    top_k: z.number().optional(),
    provider: exports.UpdateMemoryStoreProvider$inboundSchema,
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "model_id": "modelId",
        "integration_id": "integrationId",
        "top_k": "topK",
    });
});
/** @internal */
exports.UpdateMemoryStoreMemoryStoresEmbeddingConfig$outboundSchema = z.object({
    modelId: z.string(),
    integrationId: z.string().optional(),
    topK: z.number().optional(),
    provider: exports.UpdateMemoryStoreProvider$outboundSchema,
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        modelId: "model_id",
        integrationId: "integration_id",
        topK: "top_k",
    });
});
function updateMemoryStoreMemoryStoresEmbeddingConfigToJSON(updateMemoryStoreMemoryStoresEmbeddingConfig) {
    return JSON.stringify(exports.UpdateMemoryStoreMemoryStoresEmbeddingConfig$outboundSchema.parse(updateMemoryStoreMemoryStoresEmbeddingConfig));
}
function updateMemoryStoreMemoryStoresEmbeddingConfigFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdateMemoryStoreMemoryStoresEmbeddingConfig$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateMemoryStoreMemoryStoresEmbeddingConfig' from JSON`);
}
/** @internal */
exports.UpdateMemoryStoreResponseBody$inboundSchema = z.object({
    _id: z.string(),
    key: z.string(),
    project_id: z.string(),
    description: z.string(),
    created_by_id: z.string().optional(),
    updated_by_id: z.string().optional(),
    created: z.string(),
    updated: z.string(),
    ttl: z.number().optional(),
    embedding_config: z.lazy(() => exports.UpdateMemoryStoreMemoryStoresEmbeddingConfig$inboundSchema),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "_id": "id",
        "project_id": "projectId",
        "created_by_id": "createdById",
        "updated_by_id": "updatedById",
        "embedding_config": "embeddingConfig",
    });
});
/** @internal */
exports.UpdateMemoryStoreResponseBody$outboundSchema = z.object({
    id: z.string(),
    key: z.string(),
    projectId: z.string(),
    description: z.string(),
    createdById: z.string().optional(),
    updatedById: z.string().optional(),
    created: z.string(),
    updated: z.string(),
    ttl: z.number().optional(),
    embeddingConfig: z.lazy(() => exports.UpdateMemoryStoreMemoryStoresEmbeddingConfig$outboundSchema),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        id: "_id",
        projectId: "project_id",
        createdById: "created_by_id",
        updatedById: "updated_by_id",
        embeddingConfig: "embedding_config",
    });
});
function updateMemoryStoreResponseBodyToJSON(updateMemoryStoreResponseBody) {
    return JSON.stringify(exports.UpdateMemoryStoreResponseBody$outboundSchema.parse(updateMemoryStoreResponseBody));
}
function updateMemoryStoreResponseBodyFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdateMemoryStoreResponseBody$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateMemoryStoreResponseBody' from JSON`);
}
//# sourceMappingURL=updatememorystore.js.map