"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.RetrieveMemoryStoreModel11$inboundSchema = exports.RetrieveMemoryStoreModel12$outboundSchema = exports.RetrieveMemoryStoreModel12$inboundSchema = exports.RetrieveMemoryStoreModel13$outboundSchema = exports.RetrieveMemoryStoreModel13$inboundSchema = exports.RetrieveMemoryStoreModel14$outboundSchema = exports.RetrieveMemoryStoreModel14$inboundSchema = exports.RetrieveMemoryStoreModel15$outboundSchema = exports.RetrieveMemoryStoreModel15$inboundSchema = exports.RetrieveMemoryStoreModel16$outboundSchema = exports.RetrieveMemoryStoreModel16$inboundSchema = exports.RetrieveMemoryStoreModel17$outboundSchema = exports.RetrieveMemoryStoreModel17$inboundSchema = exports.RetrieveMemoryStoreModel18$outboundSchema = exports.RetrieveMemoryStoreModel18$inboundSchema = exports.RetrieveMemoryStoreModel19$outboundSchema = exports.RetrieveMemoryStoreModel19$inboundSchema = exports.RetrieveMemoryStoreModel20$outboundSchema = exports.RetrieveMemoryStoreModel20$inboundSchema = exports.RetrieveMemoryStoreModel21$outboundSchema = exports.RetrieveMemoryStoreModel21$inboundSchema = exports.RetrieveMemoryStoreModel22$outboundSchema = exports.RetrieveMemoryStoreModel22$inboundSchema = exports.RetrieveMemoryStoreModel23$outboundSchema = exports.RetrieveMemoryStoreModel23$inboundSchema = exports.RetrieveMemoryStoreRequest$outboundSchema = exports.RetrieveMemoryStoreRequest$inboundSchema = exports.RetrieveMemoryStoreModel1 = exports.RetrieveMemoryStoreModel2 = exports.RetrieveMemoryStoreModel3 = exports.RetrieveMemoryStoreModel4 = exports.RetrieveMemoryStoreModel5 = exports.RetrieveMemoryStoreModel6 = exports.RetrieveMemoryStoreModel7 = exports.RetrieveMemoryStoreModel8 = exports.RetrieveMemoryStoreModel9 = exports.RetrieveMemoryStoreModel10 = exports.RetrieveMemoryStoreModel11 = exports.RetrieveMemoryStoreModel12 = exports.RetrieveMemoryStoreModel13 = exports.RetrieveMemoryStoreModel14 = exports.RetrieveMemoryStoreModel15 = exports.RetrieveMemoryStoreModel16 = exports.RetrieveMemoryStoreModel17 = exports.RetrieveMemoryStoreModel18 = exports.RetrieveMemoryStoreModel19 = exports.RetrieveMemoryStoreModel20 = exports.RetrieveMemoryStoreModel21 = exports.RetrieveMemoryStoreModel22 = exports.RetrieveMemoryStoreModel23 = void 0;
exports.RetrieveMemoryStoreResponseBody$outboundSchema = exports.RetrieveMemoryStoreResponseBody$inboundSchema = exports.RetrieveMemoryStoreEmbeddingConfig$outboundSchema = exports.RetrieveMemoryStoreEmbeddingConfig$inboundSchema = exports.RetrieveMemoryStoreModel$outboundSchema = exports.RetrieveMemoryStoreModel$inboundSchema = exports.RetrieveMemoryStoreModel1$outboundSchema = exports.RetrieveMemoryStoreModel1$inboundSchema = exports.RetrieveMemoryStoreModel2$outboundSchema = exports.RetrieveMemoryStoreModel2$inboundSchema = exports.RetrieveMemoryStoreModel3$outboundSchema = exports.RetrieveMemoryStoreModel3$inboundSchema = exports.RetrieveMemoryStoreModel4$outboundSchema = exports.RetrieveMemoryStoreModel4$inboundSchema = exports.RetrieveMemoryStoreModel5$outboundSchema = exports.RetrieveMemoryStoreModel5$inboundSchema = exports.RetrieveMemoryStoreModel6$outboundSchema = exports.RetrieveMemoryStoreModel6$inboundSchema = exports.RetrieveMemoryStoreModel7$outboundSchema = exports.RetrieveMemoryStoreModel7$inboundSchema = exports.RetrieveMemoryStoreModel8$outboundSchema = exports.RetrieveMemoryStoreModel8$inboundSchema = exports.RetrieveMemoryStoreModel9$outboundSchema = exports.RetrieveMemoryStoreModel9$inboundSchema = exports.RetrieveMemoryStoreModel10$outboundSchema = exports.RetrieveMemoryStoreModel10$inboundSchema = exports.RetrieveMemoryStoreModel11$outboundSchema = void 0;
exports.retrieveMemoryStoreRequestToJSON = retrieveMemoryStoreRequestToJSON;
exports.retrieveMemoryStoreRequestFromJSON = retrieveMemoryStoreRequestFromJSON;
exports.retrieveMemoryStoreModelToJSON = retrieveMemoryStoreModelToJSON;
exports.retrieveMemoryStoreModelFromJSON = retrieveMemoryStoreModelFromJSON;
exports.retrieveMemoryStoreEmbeddingConfigToJSON = retrieveMemoryStoreEmbeddingConfigToJSON;
exports.retrieveMemoryStoreEmbeddingConfigFromJSON = retrieveMemoryStoreEmbeddingConfigFromJSON;
exports.retrieveMemoryStoreResponseBodyToJSON = retrieveMemoryStoreResponseBodyToJSON;
exports.retrieveMemoryStoreResponseBodyFromJSON = retrieveMemoryStoreResponseBodyFromJSON;
const z = __importStar(require("zod/v3"));
const primitives_js_1 = require("../../lib/primitives.js");
const schemas_js_1 = require("../../lib/schemas.js");
exports.RetrieveMemoryStoreModel23 = {
    JinaJinaEmbeddingsV3: "jina/jina-embeddings-v3",
};
exports.RetrieveMemoryStoreModel22 = {
    JinaJinaClipV2: "jina/jina-clip-v2",
};
exports.RetrieveMemoryStoreModel21 = {
    JinaJinaEmbeddingsV2BaseDe: "jina/jina-embeddings-v2-base-de",
};
exports.RetrieveMemoryStoreModel20 = {
    JinaJinaEmbeddingsV2BaseCode: "jina/jina-embeddings-v2-base-code",
};
exports.RetrieveMemoryStoreModel19 = {
    JinaJinaEmbeddingsV2BaseZh: "jina/jina-embeddings-v2-base-zh",
};
exports.RetrieveMemoryStoreModel18 = {
    JinaJinaEmbeddingsV2BaseEn: "jina/jina-embeddings-v2-base-en",
};
exports.RetrieveMemoryStoreModel17 = {
    JinaJinaEmbeddingsV2BaseEs: "jina/jina-embeddings-v2-base-es",
};
exports.RetrieveMemoryStoreModel16 = {
    JinaJinaClipV1: "jina/jina-clip-v1",
};
exports.RetrieveMemoryStoreModel15 = {
    MistralMistralEmbed: "mistral/mistral-embed",
};
exports.RetrieveMemoryStoreModel14 = {
    GoogleAiTextEmbedding004: "google-ai/text-embedding-004",
};
exports.RetrieveMemoryStoreModel13 = {
    GoogleMultimodalembeddingAt001: "google/multimodalembedding@001",
};
exports.RetrieveMemoryStoreModel12 = {
    GoogleTextMultilingualEmbedding002: "google/text-multilingual-embedding-002",
};
exports.RetrieveMemoryStoreModel11 = {
    GoogleGeminiEmbedding001: "google/gemini-embedding-001",
};
exports.RetrieveMemoryStoreModel10 = {
    OpenaiTextEmbeddingAda002: "openai/text-embedding-ada-002",
};
exports.RetrieveMemoryStoreModel9 = {
    OpenaiTextEmbedding3Small: "openai/text-embedding-3-small",
};
exports.RetrieveMemoryStoreModel8 = {
    OpenaiTextEmbedding3Large: "openai/text-embedding-3-large",
};
exports.RetrieveMemoryStoreModel7 = {
    AzureTextEmbedding3Small: "azure/text-embedding-3-small",
};
exports.RetrieveMemoryStoreModel6 = {
    AzureTextEmbeddingAda002: "azure/text-embedding-ada-002",
};
exports.RetrieveMemoryStoreModel5 = {
    CohereEmbedV40: "cohere/embed-v4.0",
};
exports.RetrieveMemoryStoreModel4 = {
    CohereEmbedEnglishV30: "cohere/embed-english-v3.0",
};
exports.RetrieveMemoryStoreModel3 = {
    CohereEmbedEnglishLightV30: "cohere/embed-english-light-v3.0",
};
exports.RetrieveMemoryStoreModel2 = {
    CohereEmbedMultilingualLightV30: "cohere/embed-multilingual-light-v3.0",
};
exports.RetrieveMemoryStoreModel1 = {
    CohereEmbedMultilingualV30: "cohere/embed-multilingual-v3.0",
};
/** @internal */
exports.RetrieveMemoryStoreRequest$inboundSchema = z.object({
    memory_store_key: z.string(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "memory_store_key": "memoryStoreKey",
    });
});
/** @internal */
exports.RetrieveMemoryStoreRequest$outboundSchema = z.object({
    memoryStoreKey: z.string(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        memoryStoreKey: "memory_store_key",
    });
});
function retrieveMemoryStoreRequestToJSON(retrieveMemoryStoreRequest) {
    return JSON.stringify(exports.RetrieveMemoryStoreRequest$outboundSchema.parse(retrieveMemoryStoreRequest));
}
function retrieveMemoryStoreRequestFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.RetrieveMemoryStoreRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'RetrieveMemoryStoreRequest' from JSON`);
}
/** @internal */
exports.RetrieveMemoryStoreModel23$inboundSchema = z.nativeEnum(exports.RetrieveMemoryStoreModel23);
/** @internal */
exports.RetrieveMemoryStoreModel23$outboundSchema = exports.RetrieveMemoryStoreModel23$inboundSchema;
/** @internal */
exports.RetrieveMemoryStoreModel22$inboundSchema = z.nativeEnum(exports.RetrieveMemoryStoreModel22);
/** @internal */
exports.RetrieveMemoryStoreModel22$outboundSchema = exports.RetrieveMemoryStoreModel22$inboundSchema;
/** @internal */
exports.RetrieveMemoryStoreModel21$inboundSchema = z.nativeEnum(exports.RetrieveMemoryStoreModel21);
/** @internal */
exports.RetrieveMemoryStoreModel21$outboundSchema = exports.RetrieveMemoryStoreModel21$inboundSchema;
/** @internal */
exports.RetrieveMemoryStoreModel20$inboundSchema = z.nativeEnum(exports.RetrieveMemoryStoreModel20);
/** @internal */
exports.RetrieveMemoryStoreModel20$outboundSchema = exports.RetrieveMemoryStoreModel20$inboundSchema;
/** @internal */
exports.RetrieveMemoryStoreModel19$inboundSchema = z.nativeEnum(exports.RetrieveMemoryStoreModel19);
/** @internal */
exports.RetrieveMemoryStoreModel19$outboundSchema = exports.RetrieveMemoryStoreModel19$inboundSchema;
/** @internal */
exports.RetrieveMemoryStoreModel18$inboundSchema = z.nativeEnum(exports.RetrieveMemoryStoreModel18);
/** @internal */
exports.RetrieveMemoryStoreModel18$outboundSchema = exports.RetrieveMemoryStoreModel18$inboundSchema;
/** @internal */
exports.RetrieveMemoryStoreModel17$inboundSchema = z.nativeEnum(exports.RetrieveMemoryStoreModel17);
/** @internal */
exports.RetrieveMemoryStoreModel17$outboundSchema = exports.RetrieveMemoryStoreModel17$inboundSchema;
/** @internal */
exports.RetrieveMemoryStoreModel16$inboundSchema = z.nativeEnum(exports.RetrieveMemoryStoreModel16);
/** @internal */
exports.RetrieveMemoryStoreModel16$outboundSchema = exports.RetrieveMemoryStoreModel16$inboundSchema;
/** @internal */
exports.RetrieveMemoryStoreModel15$inboundSchema = z.nativeEnum(exports.RetrieveMemoryStoreModel15);
/** @internal */
exports.RetrieveMemoryStoreModel15$outboundSchema = exports.RetrieveMemoryStoreModel15$inboundSchema;
/** @internal */
exports.RetrieveMemoryStoreModel14$inboundSchema = z.nativeEnum(exports.RetrieveMemoryStoreModel14);
/** @internal */
exports.RetrieveMemoryStoreModel14$outboundSchema = exports.RetrieveMemoryStoreModel14$inboundSchema;
/** @internal */
exports.RetrieveMemoryStoreModel13$inboundSchema = z.nativeEnum(exports.RetrieveMemoryStoreModel13);
/** @internal */
exports.RetrieveMemoryStoreModel13$outboundSchema = exports.RetrieveMemoryStoreModel13$inboundSchema;
/** @internal */
exports.RetrieveMemoryStoreModel12$inboundSchema = z.nativeEnum(exports.RetrieveMemoryStoreModel12);
/** @internal */
exports.RetrieveMemoryStoreModel12$outboundSchema = exports.RetrieveMemoryStoreModel12$inboundSchema;
/** @internal */
exports.RetrieveMemoryStoreModel11$inboundSchema = z.nativeEnum(exports.RetrieveMemoryStoreModel11);
/** @internal */
exports.RetrieveMemoryStoreModel11$outboundSchema = exports.RetrieveMemoryStoreModel11$inboundSchema;
/** @internal */
exports.RetrieveMemoryStoreModel10$inboundSchema = z.nativeEnum(exports.RetrieveMemoryStoreModel10);
/** @internal */
exports.RetrieveMemoryStoreModel10$outboundSchema = exports.RetrieveMemoryStoreModel10$inboundSchema;
/** @internal */
exports.RetrieveMemoryStoreModel9$inboundSchema = z.nativeEnum(exports.RetrieveMemoryStoreModel9);
/** @internal */
exports.RetrieveMemoryStoreModel9$outboundSchema = exports.RetrieveMemoryStoreModel9$inboundSchema;
/** @internal */
exports.RetrieveMemoryStoreModel8$inboundSchema = z.nativeEnum(exports.RetrieveMemoryStoreModel8);
/** @internal */
exports.RetrieveMemoryStoreModel8$outboundSchema = exports.RetrieveMemoryStoreModel8$inboundSchema;
/** @internal */
exports.RetrieveMemoryStoreModel7$inboundSchema = z.nativeEnum(exports.RetrieveMemoryStoreModel7);
/** @internal */
exports.RetrieveMemoryStoreModel7$outboundSchema = exports.RetrieveMemoryStoreModel7$inboundSchema;
/** @internal */
exports.RetrieveMemoryStoreModel6$inboundSchema = z.nativeEnum(exports.RetrieveMemoryStoreModel6);
/** @internal */
exports.RetrieveMemoryStoreModel6$outboundSchema = exports.RetrieveMemoryStoreModel6$inboundSchema;
/** @internal */
exports.RetrieveMemoryStoreModel5$inboundSchema = z.nativeEnum(exports.RetrieveMemoryStoreModel5);
/** @internal */
exports.RetrieveMemoryStoreModel5$outboundSchema = exports.RetrieveMemoryStoreModel5$inboundSchema;
/** @internal */
exports.RetrieveMemoryStoreModel4$inboundSchema = z.nativeEnum(exports.RetrieveMemoryStoreModel4);
/** @internal */
exports.RetrieveMemoryStoreModel4$outboundSchema = exports.RetrieveMemoryStoreModel4$inboundSchema;
/** @internal */
exports.RetrieveMemoryStoreModel3$inboundSchema = z.nativeEnum(exports.RetrieveMemoryStoreModel3);
/** @internal */
exports.RetrieveMemoryStoreModel3$outboundSchema = exports.RetrieveMemoryStoreModel3$inboundSchema;
/** @internal */
exports.RetrieveMemoryStoreModel2$inboundSchema = z.nativeEnum(exports.RetrieveMemoryStoreModel2);
/** @internal */
exports.RetrieveMemoryStoreModel2$outboundSchema = exports.RetrieveMemoryStoreModel2$inboundSchema;
/** @internal */
exports.RetrieveMemoryStoreModel1$inboundSchema = z.nativeEnum(exports.RetrieveMemoryStoreModel1);
/** @internal */
exports.RetrieveMemoryStoreModel1$outboundSchema = exports.RetrieveMemoryStoreModel1$inboundSchema;
/** @internal */
exports.RetrieveMemoryStoreModel$inboundSchema = z.union([
    exports.RetrieveMemoryStoreModel1$inboundSchema,
    exports.RetrieveMemoryStoreModel2$inboundSchema,
    exports.RetrieveMemoryStoreModel3$inboundSchema,
    exports.RetrieveMemoryStoreModel4$inboundSchema,
    exports.RetrieveMemoryStoreModel5$inboundSchema,
    exports.RetrieveMemoryStoreModel6$inboundSchema,
    exports.RetrieveMemoryStoreModel7$inboundSchema,
    exports.RetrieveMemoryStoreModel8$inboundSchema,
    exports.RetrieveMemoryStoreModel9$inboundSchema,
    exports.RetrieveMemoryStoreModel10$inboundSchema,
    exports.RetrieveMemoryStoreModel11$inboundSchema,
    exports.RetrieveMemoryStoreModel12$inboundSchema,
    exports.RetrieveMemoryStoreModel13$inboundSchema,
    exports.RetrieveMemoryStoreModel14$inboundSchema,
    exports.RetrieveMemoryStoreModel15$inboundSchema,
    exports.RetrieveMemoryStoreModel16$inboundSchema,
    exports.RetrieveMemoryStoreModel17$inboundSchema,
    exports.RetrieveMemoryStoreModel18$inboundSchema,
    exports.RetrieveMemoryStoreModel19$inboundSchema,
    exports.RetrieveMemoryStoreModel20$inboundSchema,
    exports.RetrieveMemoryStoreModel21$inboundSchema,
    exports.RetrieveMemoryStoreModel22$inboundSchema,
    exports.RetrieveMemoryStoreModel23$inboundSchema,
]);
/** @internal */
exports.RetrieveMemoryStoreModel$outboundSchema = z.union([
    exports.RetrieveMemoryStoreModel1$outboundSchema,
    exports.RetrieveMemoryStoreModel2$outboundSchema,
    exports.RetrieveMemoryStoreModel3$outboundSchema,
    exports.RetrieveMemoryStoreModel4$outboundSchema,
    exports.RetrieveMemoryStoreModel5$outboundSchema,
    exports.RetrieveMemoryStoreModel6$outboundSchema,
    exports.RetrieveMemoryStoreModel7$outboundSchema,
    exports.RetrieveMemoryStoreModel8$outboundSchema,
    exports.RetrieveMemoryStoreModel9$outboundSchema,
    exports.RetrieveMemoryStoreModel10$outboundSchema,
    exports.RetrieveMemoryStoreModel11$outboundSchema,
    exports.RetrieveMemoryStoreModel12$outboundSchema,
    exports.RetrieveMemoryStoreModel13$outboundSchema,
    exports.RetrieveMemoryStoreModel14$outboundSchema,
    exports.RetrieveMemoryStoreModel15$outboundSchema,
    exports.RetrieveMemoryStoreModel16$outboundSchema,
    exports.RetrieveMemoryStoreModel17$outboundSchema,
    exports.RetrieveMemoryStoreModel18$outboundSchema,
    exports.RetrieveMemoryStoreModel19$outboundSchema,
    exports.RetrieveMemoryStoreModel20$outboundSchema,
    exports.RetrieveMemoryStoreModel21$outboundSchema,
    exports.RetrieveMemoryStoreModel22$outboundSchema,
    exports.RetrieveMemoryStoreModel23$outboundSchema,
]);
function retrieveMemoryStoreModelToJSON(retrieveMemoryStoreModel) {
    return JSON.stringify(exports.RetrieveMemoryStoreModel$outboundSchema.parse(retrieveMemoryStoreModel));
}
function retrieveMemoryStoreModelFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.RetrieveMemoryStoreModel$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'RetrieveMemoryStoreModel' from JSON`);
}
/** @internal */
exports.RetrieveMemoryStoreEmbeddingConfig$inboundSchema = z.object({
    model: z.union([
        exports.RetrieveMemoryStoreModel1$inboundSchema,
        exports.RetrieveMemoryStoreModel2$inboundSchema,
        exports.RetrieveMemoryStoreModel3$inboundSchema,
        exports.RetrieveMemoryStoreModel4$inboundSchema,
        exports.RetrieveMemoryStoreModel5$inboundSchema,
        exports.RetrieveMemoryStoreModel6$inboundSchema,
        exports.RetrieveMemoryStoreModel7$inboundSchema,
        exports.RetrieveMemoryStoreModel8$inboundSchema,
        exports.RetrieveMemoryStoreModel9$inboundSchema,
        exports.RetrieveMemoryStoreModel10$inboundSchema,
        exports.RetrieveMemoryStoreModel11$inboundSchema,
        exports.RetrieveMemoryStoreModel12$inboundSchema,
        exports.RetrieveMemoryStoreModel13$inboundSchema,
        exports.RetrieveMemoryStoreModel14$inboundSchema,
        exports.RetrieveMemoryStoreModel15$inboundSchema,
        exports.RetrieveMemoryStoreModel16$inboundSchema,
        exports.RetrieveMemoryStoreModel17$inboundSchema,
        exports.RetrieveMemoryStoreModel18$inboundSchema,
        exports.RetrieveMemoryStoreModel19$inboundSchema,
        exports.RetrieveMemoryStoreModel20$inboundSchema,
        exports.RetrieveMemoryStoreModel21$inboundSchema,
        exports.RetrieveMemoryStoreModel22$inboundSchema,
        exports.RetrieveMemoryStoreModel23$inboundSchema,
    ]),
});
/** @internal */
exports.RetrieveMemoryStoreEmbeddingConfig$outboundSchema = z.object({
    model: z.union([
        exports.RetrieveMemoryStoreModel1$outboundSchema,
        exports.RetrieveMemoryStoreModel2$outboundSchema,
        exports.RetrieveMemoryStoreModel3$outboundSchema,
        exports.RetrieveMemoryStoreModel4$outboundSchema,
        exports.RetrieveMemoryStoreModel5$outboundSchema,
        exports.RetrieveMemoryStoreModel6$outboundSchema,
        exports.RetrieveMemoryStoreModel7$outboundSchema,
        exports.RetrieveMemoryStoreModel8$outboundSchema,
        exports.RetrieveMemoryStoreModel9$outboundSchema,
        exports.RetrieveMemoryStoreModel10$outboundSchema,
        exports.RetrieveMemoryStoreModel11$outboundSchema,
        exports.RetrieveMemoryStoreModel12$outboundSchema,
        exports.RetrieveMemoryStoreModel13$outboundSchema,
        exports.RetrieveMemoryStoreModel14$outboundSchema,
        exports.RetrieveMemoryStoreModel15$outboundSchema,
        exports.RetrieveMemoryStoreModel16$outboundSchema,
        exports.RetrieveMemoryStoreModel17$outboundSchema,
        exports.RetrieveMemoryStoreModel18$outboundSchema,
        exports.RetrieveMemoryStoreModel19$outboundSchema,
        exports.RetrieveMemoryStoreModel20$outboundSchema,
        exports.RetrieveMemoryStoreModel21$outboundSchema,
        exports.RetrieveMemoryStoreModel22$outboundSchema,
        exports.RetrieveMemoryStoreModel23$outboundSchema,
    ]),
});
function retrieveMemoryStoreEmbeddingConfigToJSON(retrieveMemoryStoreEmbeddingConfig) {
    return JSON.stringify(exports.RetrieveMemoryStoreEmbeddingConfig$outboundSchema.parse(retrieveMemoryStoreEmbeddingConfig));
}
function retrieveMemoryStoreEmbeddingConfigFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.RetrieveMemoryStoreEmbeddingConfig$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'RetrieveMemoryStoreEmbeddingConfig' from JSON`);
}
/** @internal */
exports.RetrieveMemoryStoreResponseBody$inboundSchema = z.object({
    _id: z.string(),
    key: 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.RetrieveMemoryStoreEmbeddingConfig$inboundSchema),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "_id": "id",
        "created_by_id": "createdById",
        "updated_by_id": "updatedById",
        "embedding_config": "embeddingConfig",
    });
});
/** @internal */
exports.RetrieveMemoryStoreResponseBody$outboundSchema = z.object({
    id: z.string(),
    key: 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.RetrieveMemoryStoreEmbeddingConfig$outboundSchema),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        id: "_id",
        createdById: "created_by_id",
        updatedById: "updated_by_id",
        embeddingConfig: "embedding_config",
    });
});
function retrieveMemoryStoreResponseBodyToJSON(retrieveMemoryStoreResponseBody) {
    return JSON.stringify(exports.RetrieveMemoryStoreResponseBody$outboundSchema.parse(retrieveMemoryStoreResponseBody));
}
function retrieveMemoryStoreResponseBodyFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.RetrieveMemoryStoreResponseBody$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'RetrieveMemoryStoreResponseBody' from JSON`);
}
//# sourceMappingURL=retrievememorystore.js.map