"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.GetAllMemoryStoresModel13$outboundSchema = exports.GetAllMemoryStoresModel13$inboundSchema = exports.GetAllMemoryStoresModel14$outboundSchema = exports.GetAllMemoryStoresModel14$inboundSchema = exports.GetAllMemoryStoresModel15$outboundSchema = exports.GetAllMemoryStoresModel15$inboundSchema = exports.GetAllMemoryStoresModel16$outboundSchema = exports.GetAllMemoryStoresModel16$inboundSchema = exports.GetAllMemoryStoresModel17$outboundSchema = exports.GetAllMemoryStoresModel17$inboundSchema = exports.GetAllMemoryStoresModel18$outboundSchema = exports.GetAllMemoryStoresModel18$inboundSchema = exports.GetAllMemoryStoresModel19$outboundSchema = exports.GetAllMemoryStoresModel19$inboundSchema = exports.GetAllMemoryStoresModel20$outboundSchema = exports.GetAllMemoryStoresModel20$inboundSchema = exports.GetAllMemoryStoresModel21$outboundSchema = exports.GetAllMemoryStoresModel21$inboundSchema = exports.GetAllMemoryStoresModel22$outboundSchema = exports.GetAllMemoryStoresModel22$inboundSchema = exports.GetAllMemoryStoresModel23$outboundSchema = exports.GetAllMemoryStoresModel23$inboundSchema = exports.GetAllMemoryStoresObject$outboundSchema = exports.GetAllMemoryStoresObject$inboundSchema = exports.GetAllMemoryStoresRequest$outboundSchema = exports.GetAllMemoryStoresRequest$inboundSchema = exports.GetAllMemoryStoresModel1 = exports.GetAllMemoryStoresModel2 = exports.GetAllMemoryStoresModel3 = exports.GetAllMemoryStoresModel4 = exports.GetAllMemoryStoresModel5 = exports.GetAllMemoryStoresModel6 = exports.GetAllMemoryStoresModel7 = exports.GetAllMemoryStoresModel8 = exports.GetAllMemoryStoresModel9 = exports.GetAllMemoryStoresModel10 = exports.GetAllMemoryStoresModel11 = exports.GetAllMemoryStoresModel12 = exports.GetAllMemoryStoresModel13 = exports.GetAllMemoryStoresModel14 = exports.GetAllMemoryStoresModel15 = exports.GetAllMemoryStoresModel16 = exports.GetAllMemoryStoresModel17 = exports.GetAllMemoryStoresModel18 = exports.GetAllMemoryStoresModel19 = exports.GetAllMemoryStoresModel20 = exports.GetAllMemoryStoresModel21 = exports.GetAllMemoryStoresModel22 = exports.GetAllMemoryStoresModel23 = exports.GetAllMemoryStoresObject = void 0;
exports.GetAllMemoryStoresResponseBody$outboundSchema = exports.GetAllMemoryStoresResponseBody$inboundSchema = exports.GetAllMemoryStoresData$outboundSchema = exports.GetAllMemoryStoresData$inboundSchema = exports.GetAllMemoryStoresEmbeddingConfig$outboundSchema = exports.GetAllMemoryStoresEmbeddingConfig$inboundSchema = exports.GetAllMemoryStoresModel$outboundSchema = exports.GetAllMemoryStoresModel$inboundSchema = exports.GetAllMemoryStoresModel1$outboundSchema = exports.GetAllMemoryStoresModel1$inboundSchema = exports.GetAllMemoryStoresModel2$outboundSchema = exports.GetAllMemoryStoresModel2$inboundSchema = exports.GetAllMemoryStoresModel3$outboundSchema = exports.GetAllMemoryStoresModel3$inboundSchema = exports.GetAllMemoryStoresModel4$outboundSchema = exports.GetAllMemoryStoresModel4$inboundSchema = exports.GetAllMemoryStoresModel5$outboundSchema = exports.GetAllMemoryStoresModel5$inboundSchema = exports.GetAllMemoryStoresModel6$outboundSchema = exports.GetAllMemoryStoresModel6$inboundSchema = exports.GetAllMemoryStoresModel7$outboundSchema = exports.GetAllMemoryStoresModel7$inboundSchema = exports.GetAllMemoryStoresModel8$outboundSchema = exports.GetAllMemoryStoresModel8$inboundSchema = exports.GetAllMemoryStoresModel9$outboundSchema = exports.GetAllMemoryStoresModel9$inboundSchema = exports.GetAllMemoryStoresModel10$outboundSchema = exports.GetAllMemoryStoresModel10$inboundSchema = exports.GetAllMemoryStoresModel11$outboundSchema = exports.GetAllMemoryStoresModel11$inboundSchema = exports.GetAllMemoryStoresModel12$outboundSchema = exports.GetAllMemoryStoresModel12$inboundSchema = void 0;
exports.getAllMemoryStoresRequestToJSON = getAllMemoryStoresRequestToJSON;
exports.getAllMemoryStoresRequestFromJSON = getAllMemoryStoresRequestFromJSON;
exports.getAllMemoryStoresModelToJSON = getAllMemoryStoresModelToJSON;
exports.getAllMemoryStoresModelFromJSON = getAllMemoryStoresModelFromJSON;
exports.getAllMemoryStoresEmbeddingConfigToJSON = getAllMemoryStoresEmbeddingConfigToJSON;
exports.getAllMemoryStoresEmbeddingConfigFromJSON = getAllMemoryStoresEmbeddingConfigFromJSON;
exports.getAllMemoryStoresDataToJSON = getAllMemoryStoresDataToJSON;
exports.getAllMemoryStoresDataFromJSON = getAllMemoryStoresDataFromJSON;
exports.getAllMemoryStoresResponseBodyToJSON = getAllMemoryStoresResponseBodyToJSON;
exports.getAllMemoryStoresResponseBodyFromJSON = getAllMemoryStoresResponseBodyFromJSON;
const z = __importStar(require("zod/v3"));
const primitives_js_1 = require("../../lib/primitives.js");
const schemas_js_1 = require("../../lib/schemas.js");
exports.GetAllMemoryStoresObject = {
    List: "list",
};
exports.GetAllMemoryStoresModel23 = {
    JinaJinaEmbeddingsV3: "jina/jina-embeddings-v3",
};
exports.GetAllMemoryStoresModel22 = {
    JinaJinaClipV2: "jina/jina-clip-v2",
};
exports.GetAllMemoryStoresModel21 = {
    JinaJinaEmbeddingsV2BaseDe: "jina/jina-embeddings-v2-base-de",
};
exports.GetAllMemoryStoresModel20 = {
    JinaJinaEmbeddingsV2BaseCode: "jina/jina-embeddings-v2-base-code",
};
exports.GetAllMemoryStoresModel19 = {
    JinaJinaEmbeddingsV2BaseZh: "jina/jina-embeddings-v2-base-zh",
};
exports.GetAllMemoryStoresModel18 = {
    JinaJinaEmbeddingsV2BaseEn: "jina/jina-embeddings-v2-base-en",
};
exports.GetAllMemoryStoresModel17 = {
    JinaJinaEmbeddingsV2BaseEs: "jina/jina-embeddings-v2-base-es",
};
exports.GetAllMemoryStoresModel16 = {
    JinaJinaClipV1: "jina/jina-clip-v1",
};
exports.GetAllMemoryStoresModel15 = {
    MistralMistralEmbed: "mistral/mistral-embed",
};
exports.GetAllMemoryStoresModel14 = {
    GoogleAiTextEmbedding004: "google-ai/text-embedding-004",
};
exports.GetAllMemoryStoresModel13 = {
    GoogleMultimodalembeddingAt001: "google/multimodalembedding@001",
};
exports.GetAllMemoryStoresModel12 = {
    GoogleTextMultilingualEmbedding002: "google/text-multilingual-embedding-002",
};
exports.GetAllMemoryStoresModel11 = {
    GoogleGeminiEmbedding001: "google/gemini-embedding-001",
};
exports.GetAllMemoryStoresModel10 = {
    OpenaiTextEmbeddingAda002: "openai/text-embedding-ada-002",
};
exports.GetAllMemoryStoresModel9 = {
    OpenaiTextEmbedding3Small: "openai/text-embedding-3-small",
};
exports.GetAllMemoryStoresModel8 = {
    OpenaiTextEmbedding3Large: "openai/text-embedding-3-large",
};
exports.GetAllMemoryStoresModel7 = {
    AzureTextEmbedding3Small: "azure/text-embedding-3-small",
};
exports.GetAllMemoryStoresModel6 = {
    AzureTextEmbeddingAda002: "azure/text-embedding-ada-002",
};
exports.GetAllMemoryStoresModel5 = {
    CohereEmbedV40: "cohere/embed-v4.0",
};
exports.GetAllMemoryStoresModel4 = {
    CohereEmbedEnglishV30: "cohere/embed-english-v3.0",
};
exports.GetAllMemoryStoresModel3 = {
    CohereEmbedEnglishLightV30: "cohere/embed-english-light-v3.0",
};
exports.GetAllMemoryStoresModel2 = {
    CohereEmbedMultilingualLightV30: "cohere/embed-multilingual-light-v3.0",
};
exports.GetAllMemoryStoresModel1 = {
    CohereEmbedMultilingualV30: "cohere/embed-multilingual-v3.0",
};
/** @internal */
exports.GetAllMemoryStoresRequest$inboundSchema = z.object({
    limit: z.number().default(10),
    starting_after: z.string().optional(),
    ending_before: z.string().optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "starting_after": "startingAfter",
        "ending_before": "endingBefore",
    });
});
/** @internal */
exports.GetAllMemoryStoresRequest$outboundSchema = z.object({
    limit: z.number().default(10),
    startingAfter: z.string().optional(),
    endingBefore: z.string().optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        startingAfter: "starting_after",
        endingBefore: "ending_before",
    });
});
function getAllMemoryStoresRequestToJSON(getAllMemoryStoresRequest) {
    return JSON.stringify(exports.GetAllMemoryStoresRequest$outboundSchema.parse(getAllMemoryStoresRequest));
}
function getAllMemoryStoresRequestFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetAllMemoryStoresRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllMemoryStoresRequest' from JSON`);
}
/** @internal */
exports.GetAllMemoryStoresObject$inboundSchema = z.nativeEnum(exports.GetAllMemoryStoresObject);
/** @internal */
exports.GetAllMemoryStoresObject$outboundSchema = exports.GetAllMemoryStoresObject$inboundSchema;
/** @internal */
exports.GetAllMemoryStoresModel23$inboundSchema = z.nativeEnum(exports.GetAllMemoryStoresModel23);
/** @internal */
exports.GetAllMemoryStoresModel23$outboundSchema = exports.GetAllMemoryStoresModel23$inboundSchema;
/** @internal */
exports.GetAllMemoryStoresModel22$inboundSchema = z.nativeEnum(exports.GetAllMemoryStoresModel22);
/** @internal */
exports.GetAllMemoryStoresModel22$outboundSchema = exports.GetAllMemoryStoresModel22$inboundSchema;
/** @internal */
exports.GetAllMemoryStoresModel21$inboundSchema = z.nativeEnum(exports.GetAllMemoryStoresModel21);
/** @internal */
exports.GetAllMemoryStoresModel21$outboundSchema = exports.GetAllMemoryStoresModel21$inboundSchema;
/** @internal */
exports.GetAllMemoryStoresModel20$inboundSchema = z.nativeEnum(exports.GetAllMemoryStoresModel20);
/** @internal */
exports.GetAllMemoryStoresModel20$outboundSchema = exports.GetAllMemoryStoresModel20$inboundSchema;
/** @internal */
exports.GetAllMemoryStoresModel19$inboundSchema = z.nativeEnum(exports.GetAllMemoryStoresModel19);
/** @internal */
exports.GetAllMemoryStoresModel19$outboundSchema = exports.GetAllMemoryStoresModel19$inboundSchema;
/** @internal */
exports.GetAllMemoryStoresModel18$inboundSchema = z.nativeEnum(exports.GetAllMemoryStoresModel18);
/** @internal */
exports.GetAllMemoryStoresModel18$outboundSchema = exports.GetAllMemoryStoresModel18$inboundSchema;
/** @internal */
exports.GetAllMemoryStoresModel17$inboundSchema = z.nativeEnum(exports.GetAllMemoryStoresModel17);
/** @internal */
exports.GetAllMemoryStoresModel17$outboundSchema = exports.GetAllMemoryStoresModel17$inboundSchema;
/** @internal */
exports.GetAllMemoryStoresModel16$inboundSchema = z.nativeEnum(exports.GetAllMemoryStoresModel16);
/** @internal */
exports.GetAllMemoryStoresModel16$outboundSchema = exports.GetAllMemoryStoresModel16$inboundSchema;
/** @internal */
exports.GetAllMemoryStoresModel15$inboundSchema = z.nativeEnum(exports.GetAllMemoryStoresModel15);
/** @internal */
exports.GetAllMemoryStoresModel15$outboundSchema = exports.GetAllMemoryStoresModel15$inboundSchema;
/** @internal */
exports.GetAllMemoryStoresModel14$inboundSchema = z.nativeEnum(exports.GetAllMemoryStoresModel14);
/** @internal */
exports.GetAllMemoryStoresModel14$outboundSchema = exports.GetAllMemoryStoresModel14$inboundSchema;
/** @internal */
exports.GetAllMemoryStoresModel13$inboundSchema = z.nativeEnum(exports.GetAllMemoryStoresModel13);
/** @internal */
exports.GetAllMemoryStoresModel13$outboundSchema = exports.GetAllMemoryStoresModel13$inboundSchema;
/** @internal */
exports.GetAllMemoryStoresModel12$inboundSchema = z.nativeEnum(exports.GetAllMemoryStoresModel12);
/** @internal */
exports.GetAllMemoryStoresModel12$outboundSchema = exports.GetAllMemoryStoresModel12$inboundSchema;
/** @internal */
exports.GetAllMemoryStoresModel11$inboundSchema = z.nativeEnum(exports.GetAllMemoryStoresModel11);
/** @internal */
exports.GetAllMemoryStoresModel11$outboundSchema = exports.GetAllMemoryStoresModel11$inboundSchema;
/** @internal */
exports.GetAllMemoryStoresModel10$inboundSchema = z.nativeEnum(exports.GetAllMemoryStoresModel10);
/** @internal */
exports.GetAllMemoryStoresModel10$outboundSchema = exports.GetAllMemoryStoresModel10$inboundSchema;
/** @internal */
exports.GetAllMemoryStoresModel9$inboundSchema = z.nativeEnum(exports.GetAllMemoryStoresModel9);
/** @internal */
exports.GetAllMemoryStoresModel9$outboundSchema = exports.GetAllMemoryStoresModel9$inboundSchema;
/** @internal */
exports.GetAllMemoryStoresModel8$inboundSchema = z.nativeEnum(exports.GetAllMemoryStoresModel8);
/** @internal */
exports.GetAllMemoryStoresModel8$outboundSchema = exports.GetAllMemoryStoresModel8$inboundSchema;
/** @internal */
exports.GetAllMemoryStoresModel7$inboundSchema = z.nativeEnum(exports.GetAllMemoryStoresModel7);
/** @internal */
exports.GetAllMemoryStoresModel7$outboundSchema = exports.GetAllMemoryStoresModel7$inboundSchema;
/** @internal */
exports.GetAllMemoryStoresModel6$inboundSchema = z.nativeEnum(exports.GetAllMemoryStoresModel6);
/** @internal */
exports.GetAllMemoryStoresModel6$outboundSchema = exports.GetAllMemoryStoresModel6$inboundSchema;
/** @internal */
exports.GetAllMemoryStoresModel5$inboundSchema = z.nativeEnum(exports.GetAllMemoryStoresModel5);
/** @internal */
exports.GetAllMemoryStoresModel5$outboundSchema = exports.GetAllMemoryStoresModel5$inboundSchema;
/** @internal */
exports.GetAllMemoryStoresModel4$inboundSchema = z.nativeEnum(exports.GetAllMemoryStoresModel4);
/** @internal */
exports.GetAllMemoryStoresModel4$outboundSchema = exports.GetAllMemoryStoresModel4$inboundSchema;
/** @internal */
exports.GetAllMemoryStoresModel3$inboundSchema = z.nativeEnum(exports.GetAllMemoryStoresModel3);
/** @internal */
exports.GetAllMemoryStoresModel3$outboundSchema = exports.GetAllMemoryStoresModel3$inboundSchema;
/** @internal */
exports.GetAllMemoryStoresModel2$inboundSchema = z.nativeEnum(exports.GetAllMemoryStoresModel2);
/** @internal */
exports.GetAllMemoryStoresModel2$outboundSchema = exports.GetAllMemoryStoresModel2$inboundSchema;
/** @internal */
exports.GetAllMemoryStoresModel1$inboundSchema = z.nativeEnum(exports.GetAllMemoryStoresModel1);
/** @internal */
exports.GetAllMemoryStoresModel1$outboundSchema = exports.GetAllMemoryStoresModel1$inboundSchema;
/** @internal */
exports.GetAllMemoryStoresModel$inboundSchema = z.union([
    exports.GetAllMemoryStoresModel1$inboundSchema,
    exports.GetAllMemoryStoresModel2$inboundSchema,
    exports.GetAllMemoryStoresModel3$inboundSchema,
    exports.GetAllMemoryStoresModel4$inboundSchema,
    exports.GetAllMemoryStoresModel5$inboundSchema,
    exports.GetAllMemoryStoresModel6$inboundSchema,
    exports.GetAllMemoryStoresModel7$inboundSchema,
    exports.GetAllMemoryStoresModel8$inboundSchema,
    exports.GetAllMemoryStoresModel9$inboundSchema,
    exports.GetAllMemoryStoresModel10$inboundSchema,
    exports.GetAllMemoryStoresModel11$inboundSchema,
    exports.GetAllMemoryStoresModel12$inboundSchema,
    exports.GetAllMemoryStoresModel13$inboundSchema,
    exports.GetAllMemoryStoresModel14$inboundSchema,
    exports.GetAllMemoryStoresModel15$inboundSchema,
    exports.GetAllMemoryStoresModel16$inboundSchema,
    exports.GetAllMemoryStoresModel17$inboundSchema,
    exports.GetAllMemoryStoresModel18$inboundSchema,
    exports.GetAllMemoryStoresModel19$inboundSchema,
    exports.GetAllMemoryStoresModel20$inboundSchema,
    exports.GetAllMemoryStoresModel21$inboundSchema,
    exports.GetAllMemoryStoresModel22$inboundSchema,
    exports.GetAllMemoryStoresModel23$inboundSchema,
]);
/** @internal */
exports.GetAllMemoryStoresModel$outboundSchema = z.union([
    exports.GetAllMemoryStoresModel1$outboundSchema,
    exports.GetAllMemoryStoresModel2$outboundSchema,
    exports.GetAllMemoryStoresModel3$outboundSchema,
    exports.GetAllMemoryStoresModel4$outboundSchema,
    exports.GetAllMemoryStoresModel5$outboundSchema,
    exports.GetAllMemoryStoresModel6$outboundSchema,
    exports.GetAllMemoryStoresModel7$outboundSchema,
    exports.GetAllMemoryStoresModel8$outboundSchema,
    exports.GetAllMemoryStoresModel9$outboundSchema,
    exports.GetAllMemoryStoresModel10$outboundSchema,
    exports.GetAllMemoryStoresModel11$outboundSchema,
    exports.GetAllMemoryStoresModel12$outboundSchema,
    exports.GetAllMemoryStoresModel13$outboundSchema,
    exports.GetAllMemoryStoresModel14$outboundSchema,
    exports.GetAllMemoryStoresModel15$outboundSchema,
    exports.GetAllMemoryStoresModel16$outboundSchema,
    exports.GetAllMemoryStoresModel17$outboundSchema,
    exports.GetAllMemoryStoresModel18$outboundSchema,
    exports.GetAllMemoryStoresModel19$outboundSchema,
    exports.GetAllMemoryStoresModel20$outboundSchema,
    exports.GetAllMemoryStoresModel21$outboundSchema,
    exports.GetAllMemoryStoresModel22$outboundSchema,
    exports.GetAllMemoryStoresModel23$outboundSchema,
]);
function getAllMemoryStoresModelToJSON(getAllMemoryStoresModel) {
    return JSON.stringify(exports.GetAllMemoryStoresModel$outboundSchema.parse(getAllMemoryStoresModel));
}
function getAllMemoryStoresModelFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetAllMemoryStoresModel$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllMemoryStoresModel' from JSON`);
}
/** @internal */
exports.GetAllMemoryStoresEmbeddingConfig$inboundSchema = z.object({
    model: z.union([
        exports.GetAllMemoryStoresModel1$inboundSchema,
        exports.GetAllMemoryStoresModel2$inboundSchema,
        exports.GetAllMemoryStoresModel3$inboundSchema,
        exports.GetAllMemoryStoresModel4$inboundSchema,
        exports.GetAllMemoryStoresModel5$inboundSchema,
        exports.GetAllMemoryStoresModel6$inboundSchema,
        exports.GetAllMemoryStoresModel7$inboundSchema,
        exports.GetAllMemoryStoresModel8$inboundSchema,
        exports.GetAllMemoryStoresModel9$inboundSchema,
        exports.GetAllMemoryStoresModel10$inboundSchema,
        exports.GetAllMemoryStoresModel11$inboundSchema,
        exports.GetAllMemoryStoresModel12$inboundSchema,
        exports.GetAllMemoryStoresModel13$inboundSchema,
        exports.GetAllMemoryStoresModel14$inboundSchema,
        exports.GetAllMemoryStoresModel15$inboundSchema,
        exports.GetAllMemoryStoresModel16$inboundSchema,
        exports.GetAllMemoryStoresModel17$inboundSchema,
        exports.GetAllMemoryStoresModel18$inboundSchema,
        exports.GetAllMemoryStoresModel19$inboundSchema,
        exports.GetAllMemoryStoresModel20$inboundSchema,
        exports.GetAllMemoryStoresModel21$inboundSchema,
        exports.GetAllMemoryStoresModel22$inboundSchema,
        exports.GetAllMemoryStoresModel23$inboundSchema,
    ]),
});
/** @internal */
exports.GetAllMemoryStoresEmbeddingConfig$outboundSchema = z.object({
    model: z.union([
        exports.GetAllMemoryStoresModel1$outboundSchema,
        exports.GetAllMemoryStoresModel2$outboundSchema,
        exports.GetAllMemoryStoresModel3$outboundSchema,
        exports.GetAllMemoryStoresModel4$outboundSchema,
        exports.GetAllMemoryStoresModel5$outboundSchema,
        exports.GetAllMemoryStoresModel6$outboundSchema,
        exports.GetAllMemoryStoresModel7$outboundSchema,
        exports.GetAllMemoryStoresModel8$outboundSchema,
        exports.GetAllMemoryStoresModel9$outboundSchema,
        exports.GetAllMemoryStoresModel10$outboundSchema,
        exports.GetAllMemoryStoresModel11$outboundSchema,
        exports.GetAllMemoryStoresModel12$outboundSchema,
        exports.GetAllMemoryStoresModel13$outboundSchema,
        exports.GetAllMemoryStoresModel14$outboundSchema,
        exports.GetAllMemoryStoresModel15$outboundSchema,
        exports.GetAllMemoryStoresModel16$outboundSchema,
        exports.GetAllMemoryStoresModel17$outboundSchema,
        exports.GetAllMemoryStoresModel18$outboundSchema,
        exports.GetAllMemoryStoresModel19$outboundSchema,
        exports.GetAllMemoryStoresModel20$outboundSchema,
        exports.GetAllMemoryStoresModel21$outboundSchema,
        exports.GetAllMemoryStoresModel22$outboundSchema,
        exports.GetAllMemoryStoresModel23$outboundSchema,
    ]),
});
function getAllMemoryStoresEmbeddingConfigToJSON(getAllMemoryStoresEmbeddingConfig) {
    return JSON.stringify(exports.GetAllMemoryStoresEmbeddingConfig$outboundSchema.parse(getAllMemoryStoresEmbeddingConfig));
}
function getAllMemoryStoresEmbeddingConfigFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetAllMemoryStoresEmbeddingConfig$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllMemoryStoresEmbeddingConfig' from JSON`);
}
/** @internal */
exports.GetAllMemoryStoresData$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.GetAllMemoryStoresEmbeddingConfig$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.GetAllMemoryStoresData$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.GetAllMemoryStoresEmbeddingConfig$outboundSchema),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        id: "_id",
        createdById: "created_by_id",
        updatedById: "updated_by_id",
        embeddingConfig: "embedding_config",
    });
});
function getAllMemoryStoresDataToJSON(getAllMemoryStoresData) {
    return JSON.stringify(exports.GetAllMemoryStoresData$outboundSchema.parse(getAllMemoryStoresData));
}
function getAllMemoryStoresDataFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetAllMemoryStoresData$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllMemoryStoresData' from JSON`);
}
/** @internal */
exports.GetAllMemoryStoresResponseBody$inboundSchema = z.object({
    object: exports.GetAllMemoryStoresObject$inboundSchema,
    data: z.array(z.lazy(() => exports.GetAllMemoryStoresData$inboundSchema)),
    has_more: z.boolean(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "has_more": "hasMore",
    });
});
/** @internal */
exports.GetAllMemoryStoresResponseBody$outboundSchema = z.object({
    object: exports.GetAllMemoryStoresObject$outboundSchema,
    data: z.array(z.lazy(() => exports.GetAllMemoryStoresData$outboundSchema)),
    hasMore: z.boolean(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        hasMore: "has_more",
    });
});
function getAllMemoryStoresResponseBodyToJSON(getAllMemoryStoresResponseBody) {
    return JSON.stringify(exports.GetAllMemoryStoresResponseBody$outboundSchema.parse(getAllMemoryStoresResponseBody));
}
function getAllMemoryStoresResponseBodyFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetAllMemoryStoresResponseBody$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllMemoryStoresResponseBody' from JSON`);
}
//# sourceMappingURL=getallmemorystores.js.map