@getzep/zep-cloud 2.1.1 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/resources/document/client/Client.js +13 -13
- package/api/resources/graph/client/Client.d.ts +1 -1
- package/api/resources/graph/client/Client.js +3 -3
- package/api/resources/graph/client/requests/GraphSearchQuery.d.ts +2 -2
- package/api/resources/graph/resources/edge/client/Client.js +4 -4
- package/api/resources/graph/resources/episode/client/Client.js +3 -3
- package/api/resources/graph/resources/node/client/Client.js +3 -3
- package/api/resources/group/client/Client.d.ts +4 -2
- package/api/resources/group/client/Client.js +6 -4
- package/api/resources/group/client/requests/CreateGroupRequest.d.ts +4 -2
- package/api/resources/memory/client/Client.d.ts +1 -1
- package/api/resources/memory/client/Client.js +23 -23
- package/api/resources/memory/client/requests/AddMemoryRequest.d.ts +2 -0
- package/api/resources/user/client/Client.js +7 -7
- package/api/types/AddMemoryResponse.d.ts +6 -0
- package/api/types/AddMemoryResponse.js +5 -0
- package/api/types/User.d.ts +2 -0
- package/api/types/index.d.ts +1 -0
- package/api/types/index.js +1 -0
- package/dist/api/resources/document/client/Client.js +13 -13
- package/dist/api/resources/graph/client/Client.d.ts +1 -1
- package/dist/api/resources/graph/client/Client.js +3 -3
- package/dist/api/resources/graph/client/requests/GraphSearchQuery.d.ts +2 -2
- package/dist/api/resources/graph/resources/edge/client/Client.js +4 -4
- package/dist/api/resources/graph/resources/episode/client/Client.js +3 -3
- package/dist/api/resources/graph/resources/node/client/Client.js +3 -3
- package/dist/api/resources/group/client/Client.d.ts +4 -2
- package/dist/api/resources/group/client/Client.js +6 -4
- package/dist/api/resources/group/client/requests/CreateGroupRequest.d.ts +4 -2
- package/dist/api/resources/memory/client/Client.d.ts +1 -1
- package/dist/api/resources/memory/client/Client.js +23 -23
- package/dist/api/resources/memory/client/requests/AddMemoryRequest.d.ts +2 -0
- package/dist/api/resources/user/client/Client.js +7 -7
- package/dist/api/types/AddMemoryResponse.d.ts +6 -0
- package/dist/api/types/AddMemoryResponse.js +5 -0
- package/dist/api/types/User.d.ts +2 -0
- package/dist/api/types/index.d.ts +1 -0
- package/dist/api/types/index.js +1 -0
- package/dist/serialization/resources/group/client/requests/CreateGroupRequest.d.ts +1 -1
- package/dist/serialization/resources/group/client/requests/CreateGroupRequest.js +1 -1
- package/dist/serialization/resources/memory/client/requests/AddMemoryRequest.d.ts +1 -0
- package/dist/serialization/resources/memory/client/requests/AddMemoryRequest.js +1 -0
- package/dist/serialization/types/AddMemoryResponse.d.ts +12 -0
- package/dist/serialization/types/AddMemoryResponse.js +33 -0
- package/dist/serialization/types/User.d.ts +2 -0
- package/dist/serialization/types/User.js +2 -0
- package/dist/serialization/types/index.d.ts +1 -0
- package/dist/serialization/types/index.js +1 -0
- package/package.json +1 -1
- package/serialization/resources/group/client/requests/CreateGroupRequest.d.ts +1 -1
- package/serialization/resources/group/client/requests/CreateGroupRequest.js +1 -1
- package/serialization/resources/memory/client/requests/AddMemoryRequest.d.ts +1 -0
- package/serialization/resources/memory/client/requests/AddMemoryRequest.js +1 -0
- package/serialization/types/AddMemoryResponse.d.ts +12 -0
- package/serialization/types/AddMemoryResponse.js +33 -0
- package/serialization/types/User.d.ts +2 -0
- package/serialization/types/User.js +2 -0
- package/serialization/types/index.d.ts +1 -0
- package/serialization/types/index.js +1 -0
|
@@ -28,10 +28,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.User = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
+
const FactRatingInstruction_1 = require("./FactRatingInstruction");
|
|
31
32
|
exports.User = core.serialization.object({
|
|
32
33
|
createdAt: core.serialization.property("created_at", core.serialization.string().optional()),
|
|
33
34
|
deletedAt: core.serialization.property("deleted_at", core.serialization.string().optional()),
|
|
34
35
|
email: core.serialization.string().optional(),
|
|
36
|
+
factRatingInstruction: core.serialization.property("fact_rating_instruction", FactRatingInstruction_1.FactRatingInstruction.optional()),
|
|
35
37
|
firstName: core.serialization.property("first_name", core.serialization.string().optional()),
|
|
36
38
|
id: core.serialization.number().optional(),
|
|
37
39
|
lastName: core.serialization.property("last_name", core.serialization.string().optional()),
|
|
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./ApiError"), exports);
|
|
18
|
+
__exportStar(require("./AddMemoryResponse"), exports);
|
|
18
19
|
__exportStar(require("./ApidataDocument"), exports);
|
|
19
20
|
__exportStar(require("./ApidataDocumentCollection"), exports);
|
|
20
21
|
__exportStar(require("./ApidataDocumentSearchResponse"), exports);
|
package/package.json
CHANGED
|
@@ -32,6 +32,6 @@ const ApidataFactRatingInstruction_1 = require("../../../../types/ApidataFactRat
|
|
|
32
32
|
exports.CreateGroupRequest = core.serialization.object({
|
|
33
33
|
description: core.serialization.string().optional(),
|
|
34
34
|
factRatingInstruction: core.serialization.property("fact_rating_instruction", ApidataFactRatingInstruction_1.ApidataFactRatingInstruction.optional()),
|
|
35
|
-
groupId: core.serialization.property("group_id", core.serialization.string()
|
|
35
|
+
groupId: core.serialization.property("group_id", core.serialization.string()),
|
|
36
36
|
name: core.serialization.string().optional(),
|
|
37
37
|
});
|
|
@@ -32,5 +32,6 @@ const Message_1 = require("../../../../types/Message");
|
|
|
32
32
|
exports.AddMemoryRequest = core.serialization.object({
|
|
33
33
|
factInstruction: core.serialization.property("fact_instruction", core.serialization.string().optional()),
|
|
34
34
|
messages: core.serialization.list(Message_1.Message),
|
|
35
|
+
returnContext: core.serialization.property("return_context", core.serialization.boolean().optional()),
|
|
35
36
|
summaryInstruction: core.serialization.property("summary_instruction", core.serialization.string().optional()),
|
|
36
37
|
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Zep from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const AddMemoryResponse: core.serialization.ObjectSchema<serializers.AddMemoryResponse.Raw, Zep.AddMemoryResponse>;
|
|
8
|
+
export declare namespace AddMemoryResponse {
|
|
9
|
+
interface Raw {
|
|
10
|
+
context?: string | null;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.AddMemoryResponse = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.AddMemoryResponse = core.serialization.object({
|
|
32
|
+
context: core.serialization.string().optional(),
|
|
33
|
+
});
|
|
@@ -4,12 +4,14 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Zep from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { FactRatingInstruction } from "./FactRatingInstruction";
|
|
7
8
|
export declare const User: core.serialization.ObjectSchema<serializers.User.Raw, Zep.User>;
|
|
8
9
|
export declare namespace User {
|
|
9
10
|
interface Raw {
|
|
10
11
|
created_at?: string | null;
|
|
11
12
|
deleted_at?: string | null;
|
|
12
13
|
email?: string | null;
|
|
14
|
+
fact_rating_instruction?: FactRatingInstruction.Raw | null;
|
|
13
15
|
first_name?: string | null;
|
|
14
16
|
id?: number | null;
|
|
15
17
|
last_name?: string | null;
|
|
@@ -28,10 +28,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.User = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
+
const FactRatingInstruction_1 = require("./FactRatingInstruction");
|
|
31
32
|
exports.User = core.serialization.object({
|
|
32
33
|
createdAt: core.serialization.property("created_at", core.serialization.string().optional()),
|
|
33
34
|
deletedAt: core.serialization.property("deleted_at", core.serialization.string().optional()),
|
|
34
35
|
email: core.serialization.string().optional(),
|
|
36
|
+
factRatingInstruction: core.serialization.property("fact_rating_instruction", FactRatingInstruction_1.FactRatingInstruction.optional()),
|
|
35
37
|
firstName: core.serialization.property("first_name", core.serialization.string().optional()),
|
|
36
38
|
id: core.serialization.number().optional(),
|
|
37
39
|
lastName: core.serialization.property("last_name", core.serialization.string().optional()),
|
|
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./ApiError"), exports);
|
|
18
|
+
__exportStar(require("./AddMemoryResponse"), exports);
|
|
18
19
|
__exportStar(require("./ApidataDocument"), exports);
|
|
19
20
|
__exportStar(require("./ApidataDocumentCollection"), exports);
|
|
20
21
|
__exportStar(require("./ApidataDocumentSearchResponse"), exports);
|