@getzep/zep-cloud 3.8.0 → 3.10.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/dist/cjs/Client.js +2 -2
- package/dist/cjs/api/resources/user/client/Client.d.ts +47 -0
- package/dist/cjs/api/resources/user/client/Client.js +266 -0
- package/dist/cjs/api/resources/user/client/requests/AddUserInstructionsRequest.d.ts +19 -0
- package/dist/cjs/api/resources/user/client/requests/AddUserInstructionsRequest.js +5 -0
- package/dist/cjs/api/resources/user/client/requests/CreateUserRequest.d.ts +2 -0
- package/dist/cjs/api/resources/user/client/requests/DeleteUserInstructionsRequest.d.ts +13 -0
- package/dist/cjs/api/resources/user/client/requests/DeleteUserInstructionsRequest.js +5 -0
- package/dist/cjs/api/resources/user/client/requests/UpdateUserRequest.d.ts +2 -0
- package/dist/cjs/api/resources/user/client/requests/UserListUserSummaryInstructionsRequest.d.ts +13 -0
- package/dist/cjs/api/resources/user/client/requests/UserListUserSummaryInstructionsRequest.js +5 -0
- package/dist/cjs/api/resources/user/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/types/ComparisonOperator.d.ts +3 -1
- package/dist/cjs/api/types/ComparisonOperator.js +2 -0
- package/dist/cjs/api/types/ListUserInstructionsResponse.d.ts +7 -0
- package/dist/cjs/api/types/ListUserInstructionsResponse.js +5 -0
- package/dist/cjs/api/types/SearchFilters.d.ts +4 -0
- package/dist/cjs/api/types/User.d.ts +1 -0
- package/dist/cjs/api/types/UserInstruction.d.ts +7 -0
- package/dist/cjs/api/types/UserInstruction.js +5 -0
- package/dist/cjs/api/types/index.d.ts +2 -0
- package/dist/cjs/api/types/index.js +2 -0
- package/dist/cjs/serialization/resources/user/client/requests/AddUserInstructionsRequest.d.ts +14 -0
- package/dist/cjs/serialization/resources/user/client/requests/AddUserInstructionsRequest.js +45 -0
- package/dist/cjs/serialization/resources/user/client/requests/CreateUserRequest.d.ts +1 -0
- package/dist/cjs/serialization/resources/user/client/requests/CreateUserRequest.js +1 -0
- package/dist/cjs/serialization/resources/user/client/requests/DeleteUserInstructionsRequest.d.ts +13 -0
- package/dist/cjs/serialization/resources/user/client/requests/DeleteUserInstructionsRequest.js +44 -0
- package/dist/cjs/serialization/resources/user/client/requests/UpdateUserRequest.d.ts +1 -0
- package/dist/cjs/serialization/resources/user/client/requests/UpdateUserRequest.js +1 -0
- package/dist/cjs/serialization/resources/user/client/requests/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/user/client/requests/index.js +5 -1
- package/dist/cjs/serialization/types/ComparisonOperator.d.ts +1 -1
- package/dist/cjs/serialization/types/ComparisonOperator.js +1 -1
- package/dist/cjs/serialization/types/ListUserInstructionsResponse.d.ts +13 -0
- package/dist/cjs/serialization/types/ListUserInstructionsResponse.js +44 -0
- package/dist/cjs/serialization/types/SearchFilters.d.ts +2 -0
- package/dist/cjs/serialization/types/SearchFilters.js +2 -0
- package/dist/cjs/serialization/types/User.d.ts +1 -0
- package/dist/cjs/serialization/types/User.js +1 -0
- package/dist/cjs/serialization/types/UserInstruction.d.ts +13 -0
- package/dist/cjs/serialization/types/UserInstruction.js +44 -0
- package/dist/cjs/serialization/types/index.d.ts +2 -0
- package/dist/cjs/serialization/types/index.js +2 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.mjs +2 -2
- package/dist/esm/api/resources/user/client/Client.d.mts +47 -0
- package/dist/esm/api/resources/user/client/Client.mjs +266 -0
- package/dist/esm/api/resources/user/client/requests/AddUserInstructionsRequest.d.mts +19 -0
- package/dist/esm/api/resources/user/client/requests/AddUserInstructionsRequest.mjs +4 -0
- package/dist/esm/api/resources/user/client/requests/CreateUserRequest.d.mts +2 -0
- package/dist/esm/api/resources/user/client/requests/DeleteUserInstructionsRequest.d.mts +13 -0
- package/dist/esm/api/resources/user/client/requests/DeleteUserInstructionsRequest.mjs +4 -0
- package/dist/esm/api/resources/user/client/requests/UpdateUserRequest.d.mts +2 -0
- package/dist/esm/api/resources/user/client/requests/UserListUserSummaryInstructionsRequest.d.mts +13 -0
- package/dist/esm/api/resources/user/client/requests/UserListUserSummaryInstructionsRequest.mjs +4 -0
- package/dist/esm/api/resources/user/client/requests/index.d.mts +3 -0
- package/dist/esm/api/types/ComparisonOperator.d.mts +3 -1
- package/dist/esm/api/types/ComparisonOperator.mjs +2 -0
- package/dist/esm/api/types/ListUserInstructionsResponse.d.mts +7 -0
- package/dist/esm/api/types/ListUserInstructionsResponse.mjs +4 -0
- package/dist/esm/api/types/SearchFilters.d.mts +4 -0
- package/dist/esm/api/types/User.d.mts +1 -0
- package/dist/esm/api/types/UserInstruction.d.mts +7 -0
- package/dist/esm/api/types/UserInstruction.mjs +4 -0
- package/dist/esm/api/types/index.d.mts +2 -0
- package/dist/esm/api/types/index.mjs +2 -0
- package/dist/esm/serialization/resources/user/client/requests/AddUserInstructionsRequest.d.mts +14 -0
- package/dist/esm/serialization/resources/user/client/requests/AddUserInstructionsRequest.mjs +9 -0
- package/dist/esm/serialization/resources/user/client/requests/CreateUserRequest.d.mts +1 -0
- package/dist/esm/serialization/resources/user/client/requests/CreateUserRequest.mjs +1 -0
- package/dist/esm/serialization/resources/user/client/requests/DeleteUserInstructionsRequest.d.mts +13 -0
- package/dist/esm/serialization/resources/user/client/requests/DeleteUserInstructionsRequest.mjs +8 -0
- package/dist/esm/serialization/resources/user/client/requests/UpdateUserRequest.d.mts +1 -0
- package/dist/esm/serialization/resources/user/client/requests/UpdateUserRequest.mjs +1 -0
- package/dist/esm/serialization/resources/user/client/requests/index.d.mts +2 -0
- package/dist/esm/serialization/resources/user/client/requests/index.mjs +2 -0
- package/dist/esm/serialization/types/ComparisonOperator.d.mts +1 -1
- package/dist/esm/serialization/types/ComparisonOperator.mjs +1 -1
- package/dist/esm/serialization/types/ListUserInstructionsResponse.d.mts +13 -0
- package/dist/esm/serialization/types/ListUserInstructionsResponse.mjs +8 -0
- package/dist/esm/serialization/types/SearchFilters.d.mts +2 -0
- package/dist/esm/serialization/types/SearchFilters.mjs +2 -0
- package/dist/esm/serialization/types/User.d.mts +1 -0
- package/dist/esm/serialization/types/User.mjs +1 -0
- package/dist/esm/serialization/types/UserInstruction.d.mts +13 -0
- package/dist/esm/serialization/types/UserInstruction.mjs +8 -0
- package/dist/esm/serialization/types/index.d.mts +2 -0
- package/dist/esm/serialization/types/index.mjs +2 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +196 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Zep from "../../../../index.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* instructions: [{
|
|
9
|
+
* name: "name",
|
|
10
|
+
* text: "text"
|
|
11
|
+
* }]
|
|
12
|
+
* }
|
|
13
|
+
*/
|
|
14
|
+
export interface AddUserInstructionsRequest {
|
|
15
|
+
/** Instructions to add to the user summary generation. */
|
|
16
|
+
instructions: Zep.UserInstruction[];
|
|
17
|
+
/** User IDs to add the instructions to. If empty, the instructions are added to the project-wide default. */
|
|
18
|
+
userIds?: string[];
|
|
19
|
+
}
|
|
@@ -9,6 +9,8 @@ import * as Zep from "../../../../index.mjs";
|
|
|
9
9
|
* }
|
|
10
10
|
*/
|
|
11
11
|
export interface CreateUserRequest {
|
|
12
|
+
/** When true, disables the use of default/fallback ontology for the user's graph. */
|
|
13
|
+
disableDefaultOntology?: boolean;
|
|
12
14
|
/** The email address of the user. */
|
|
13
15
|
email?: string;
|
|
14
16
|
/** Optional instruction to use for fact rating. */
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {}
|
|
7
|
+
*/
|
|
8
|
+
export interface DeleteUserInstructionsRequest {
|
|
9
|
+
/** Unique identifier for the instructions to be deleted. If empty deletes all instructions. */
|
|
10
|
+
instructionNames?: string[];
|
|
11
|
+
/** Determines which users will have their custom instructions deleted. If no users are provided, the project-wide custom instructions will be effected. */
|
|
12
|
+
userIds?: string[];
|
|
13
|
+
}
|
|
@@ -7,6 +7,8 @@ import * as Zep from "../../../../index.mjs";
|
|
|
7
7
|
* {}
|
|
8
8
|
*/
|
|
9
9
|
export interface UpdateUserRequest {
|
|
10
|
+
/** When true, disables the use of default/fallback ontology for the user's graph. */
|
|
11
|
+
disableDefaultOntology?: boolean;
|
|
10
12
|
/** The email address of the user. */
|
|
11
13
|
email?: string;
|
|
12
14
|
/** Optional instruction to use for fact rating. */
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
export { type UserListUserSummaryInstructionsRequest } from "./UserListUserSummaryInstructionsRequest.mjs";
|
|
2
|
+
export { type AddUserInstructionsRequest } from "./AddUserInstructionsRequest.mjs";
|
|
3
|
+
export { type DeleteUserInstructionsRequest } from "./DeleteUserInstructionsRequest.mjs";
|
|
1
4
|
export { type CreateUserRequest } from "./CreateUserRequest.mjs";
|
|
2
5
|
export { type UserListOrderedRequest } from "./UserListOrderedRequest.mjs";
|
|
3
6
|
export { type UpdateUserRequest } from "./UpdateUserRequest.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type ComparisonOperator = "=" | "<>" | ">" | "<" | ">=" | "<=";
|
|
4
|
+
export type ComparisonOperator = "=" | "<>" | ">" | "<" | ">=" | "<=" | "IS NULL" | "IS NOT NULL";
|
|
5
5
|
export declare const ComparisonOperator: {
|
|
6
6
|
readonly Equals: "=";
|
|
7
7
|
readonly NotEquals: "<>";
|
|
@@ -9,4 +9,6 @@ export declare const ComparisonOperator: {
|
|
|
9
9
|
readonly LessThan: "<";
|
|
10
10
|
readonly GreaterThanEqual: ">=";
|
|
11
11
|
readonly LessThanEqual: "<=";
|
|
12
|
+
readonly IsNull: "IS NULL";
|
|
13
|
+
readonly IsNotNull: "IS NOT NULL";
|
|
12
14
|
};
|
|
@@ -13,6 +13,10 @@ export interface SearchFilters {
|
|
|
13
13
|
createdAt?: Zep.DateFilter[][];
|
|
14
14
|
/** List of edge types to filter on */
|
|
15
15
|
edgeTypes?: string[];
|
|
16
|
+
/** List of edge types to exclude from results */
|
|
17
|
+
excludeEdgeTypes?: string[];
|
|
18
|
+
/** List of node labels to exclude from results */
|
|
19
|
+
excludeNodeLabels?: string[];
|
|
16
20
|
/**
|
|
17
21
|
* 2D array of date filters for the expired_at field.
|
|
18
22
|
* The outer array elements are combined with OR logic.
|
|
@@ -18,6 +18,7 @@ export * from "./EpisodeResponse.mjs";
|
|
|
18
18
|
export * from "./GraphListResponse.mjs";
|
|
19
19
|
export * from "./GraphNodesRequest.mjs";
|
|
20
20
|
export * from "./GraphSearchResults.mjs";
|
|
21
|
+
export * from "./ListUserInstructionsResponse.mjs";
|
|
21
22
|
export * from "./ProjectInfo.mjs";
|
|
22
23
|
export * from "./ProjectInfoResponse.mjs";
|
|
23
24
|
export * from "./RoleType.mjs";
|
|
@@ -28,6 +29,7 @@ export * from "./ThreadListResponse.mjs";
|
|
|
28
29
|
export * from "./Message.mjs";
|
|
29
30
|
export * from "./MessageListResponse.mjs";
|
|
30
31
|
export * from "./User.mjs";
|
|
32
|
+
export * from "./UserInstruction.mjs";
|
|
31
33
|
export * from "./UserListResponse.mjs";
|
|
32
34
|
export * from "./UserNodeResponse.mjs";
|
|
33
35
|
export * from "./AddTripleResponse.mjs";
|
|
@@ -18,6 +18,7 @@ export * from "./EpisodeResponse.mjs";
|
|
|
18
18
|
export * from "./GraphListResponse.mjs";
|
|
19
19
|
export * from "./GraphNodesRequest.mjs";
|
|
20
20
|
export * from "./GraphSearchResults.mjs";
|
|
21
|
+
export * from "./ListUserInstructionsResponse.mjs";
|
|
21
22
|
export * from "./ProjectInfo.mjs";
|
|
22
23
|
export * from "./ProjectInfoResponse.mjs";
|
|
23
24
|
export * from "./RoleType.mjs";
|
|
@@ -28,6 +29,7 @@ export * from "./ThreadListResponse.mjs";
|
|
|
28
29
|
export * from "./Message.mjs";
|
|
29
30
|
export * from "./MessageListResponse.mjs";
|
|
30
31
|
export * from "./User.mjs";
|
|
32
|
+
export * from "./UserInstruction.mjs";
|
|
31
33
|
export * from "./UserListResponse.mjs";
|
|
32
34
|
export * from "./UserNodeResponse.mjs";
|
|
33
35
|
export * from "./AddTripleResponse.mjs";
|
package/dist/esm/serialization/resources/user/client/requests/AddUserInstructionsRequest.d.mts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../index.mjs";
|
|
5
|
+
import * as Zep from "../../../../../api/index.mjs";
|
|
6
|
+
import * as core from "../../../../../core/index.mjs";
|
|
7
|
+
import { UserInstruction } from "../../../../types/UserInstruction.mjs";
|
|
8
|
+
export declare const AddUserInstructionsRequest: core.serialization.Schema<serializers.AddUserInstructionsRequest.Raw, Zep.AddUserInstructionsRequest>;
|
|
9
|
+
export declare namespace AddUserInstructionsRequest {
|
|
10
|
+
interface Raw {
|
|
11
|
+
instructions: UserInstruction.Raw[];
|
|
12
|
+
user_ids?: string[] | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as core from "../../../../../core/index.mjs";
|
|
5
|
+
import { UserInstruction } from "../../../../types/UserInstruction.mjs";
|
|
6
|
+
export const AddUserInstructionsRequest = core.serialization.object({
|
|
7
|
+
instructions: core.serialization.list(UserInstruction),
|
|
8
|
+
userIds: core.serialization.property("user_ids", core.serialization.list(core.serialization.string()).optional()),
|
|
9
|
+
});
|
|
@@ -8,6 +8,7 @@ import { FactRatingInstruction } from "../../../../types/FactRatingInstruction.m
|
|
|
8
8
|
export declare const CreateUserRequest: core.serialization.Schema<serializers.CreateUserRequest.Raw, Zep.CreateUserRequest>;
|
|
9
9
|
export declare namespace CreateUserRequest {
|
|
10
10
|
interface Raw {
|
|
11
|
+
disable_default_ontology?: boolean | null;
|
|
11
12
|
email?: string | null;
|
|
12
13
|
fact_rating_instruction?: FactRatingInstruction.Raw | null;
|
|
13
14
|
first_name?: string | null;
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import * as core from "../../../../../core/index.mjs";
|
|
5
5
|
import { FactRatingInstruction } from "../../../../types/FactRatingInstruction.mjs";
|
|
6
6
|
export const CreateUserRequest = core.serialization.object({
|
|
7
|
+
disableDefaultOntology: core.serialization.property("disable_default_ontology", core.serialization.boolean().optional()),
|
|
7
8
|
email: core.serialization.string().optional(),
|
|
8
9
|
factRatingInstruction: core.serialization.property("fact_rating_instruction", FactRatingInstruction.optional()),
|
|
9
10
|
firstName: core.serialization.property("first_name", core.serialization.string().optional()),
|
package/dist/esm/serialization/resources/user/client/requests/DeleteUserInstructionsRequest.d.mts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../index.mjs";
|
|
5
|
+
import * as Zep from "../../../../../api/index.mjs";
|
|
6
|
+
import * as core from "../../../../../core/index.mjs";
|
|
7
|
+
export declare const DeleteUserInstructionsRequest: core.serialization.Schema<serializers.DeleteUserInstructionsRequest.Raw, Zep.DeleteUserInstructionsRequest>;
|
|
8
|
+
export declare namespace DeleteUserInstructionsRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
instruction_names?: string[] | null;
|
|
11
|
+
user_ids?: string[] | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
package/dist/esm/serialization/resources/user/client/requests/DeleteUserInstructionsRequest.mjs
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as core from "../../../../../core/index.mjs";
|
|
5
|
+
export const DeleteUserInstructionsRequest = core.serialization.object({
|
|
6
|
+
instructionNames: core.serialization.property("instruction_names", core.serialization.list(core.serialization.string()).optional()),
|
|
7
|
+
userIds: core.serialization.property("user_ids", core.serialization.list(core.serialization.string()).optional()),
|
|
8
|
+
});
|
|
@@ -8,6 +8,7 @@ import { FactRatingInstruction } from "../../../../types/FactRatingInstruction.m
|
|
|
8
8
|
export declare const UpdateUserRequest: core.serialization.Schema<serializers.UpdateUserRequest.Raw, Zep.UpdateUserRequest>;
|
|
9
9
|
export declare namespace UpdateUserRequest {
|
|
10
10
|
interface Raw {
|
|
11
|
+
disable_default_ontology?: boolean | null;
|
|
11
12
|
email?: string | null;
|
|
12
13
|
fact_rating_instruction?: FactRatingInstruction.Raw | null;
|
|
13
14
|
first_name?: string | null;
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import * as core from "../../../../../core/index.mjs";
|
|
5
5
|
import { FactRatingInstruction } from "../../../../types/FactRatingInstruction.mjs";
|
|
6
6
|
export const UpdateUserRequest = core.serialization.object({
|
|
7
|
+
disableDefaultOntology: core.serialization.property("disable_default_ontology", core.serialization.boolean().optional()),
|
|
7
8
|
email: core.serialization.string().optional(),
|
|
8
9
|
factRatingInstruction: core.serialization.property("fact_rating_instruction", FactRatingInstruction.optional()),
|
|
9
10
|
firstName: core.serialization.property("first_name", core.serialization.string().optional()),
|
|
@@ -1,2 +1,4 @@
|
|
|
1
|
+
export { AddUserInstructionsRequest } from "./AddUserInstructionsRequest.mjs";
|
|
2
|
+
export { DeleteUserInstructionsRequest } from "./DeleteUserInstructionsRequest.mjs";
|
|
1
3
|
export { CreateUserRequest } from "./CreateUserRequest.mjs";
|
|
2
4
|
export { UpdateUserRequest } from "./UpdateUserRequest.mjs";
|
|
@@ -1,2 +1,4 @@
|
|
|
1
|
+
export { AddUserInstructionsRequest } from "./AddUserInstructionsRequest.mjs";
|
|
2
|
+
export { DeleteUserInstructionsRequest } from "./DeleteUserInstructionsRequest.mjs";
|
|
1
3
|
export { CreateUserRequest } from "./CreateUserRequest.mjs";
|
|
2
4
|
export { UpdateUserRequest } from "./UpdateUserRequest.mjs";
|
|
@@ -6,5 +6,5 @@ import * as Zep from "../../api/index.mjs";
|
|
|
6
6
|
import * as core from "../../core/index.mjs";
|
|
7
7
|
export declare const ComparisonOperator: core.serialization.Schema<serializers.ComparisonOperator.Raw, Zep.ComparisonOperator>;
|
|
8
8
|
export declare namespace ComparisonOperator {
|
|
9
|
-
type Raw = "=" | "<>" | ">" | "<" | ">=" | "<=";
|
|
9
|
+
type Raw = "=" | "<>" | ">" | "<" | ">=" | "<=" | "IS NULL" | "IS NOT NULL";
|
|
10
10
|
}
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as core from "../../core/index.mjs";
|
|
5
|
-
export const ComparisonOperator = core.serialization.enum_(["=", "<>", ">", "<", ">=", "<="]);
|
|
5
|
+
export const ComparisonOperator = core.serialization.enum_(["=", "<>", ">", "<", ">=", "<=", "IS NULL", "IS NOT NULL"]);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index.mjs";
|
|
5
|
+
import * as Zep from "../../api/index.mjs";
|
|
6
|
+
import * as core from "../../core/index.mjs";
|
|
7
|
+
import { UserInstruction } from "./UserInstruction.mjs";
|
|
8
|
+
export declare const ListUserInstructionsResponse: core.serialization.ObjectSchema<serializers.ListUserInstructionsResponse.Raw, Zep.ListUserInstructionsResponse>;
|
|
9
|
+
export declare namespace ListUserInstructionsResponse {
|
|
10
|
+
interface Raw {
|
|
11
|
+
instructions?: UserInstruction.Raw[] | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as core from "../../core/index.mjs";
|
|
5
|
+
import { UserInstruction } from "./UserInstruction.mjs";
|
|
6
|
+
export const ListUserInstructionsResponse = core.serialization.object({
|
|
7
|
+
instructions: core.serialization.list(UserInstruction).optional(),
|
|
8
|
+
});
|
|
@@ -10,6 +10,8 @@ export declare namespace SearchFilters {
|
|
|
10
10
|
interface Raw {
|
|
11
11
|
created_at?: DateFilter.Raw[][] | null;
|
|
12
12
|
edge_types?: string[] | null;
|
|
13
|
+
exclude_edge_types?: string[] | null;
|
|
14
|
+
exclude_node_labels?: string[] | null;
|
|
13
15
|
expired_at?: DateFilter.Raw[][] | null;
|
|
14
16
|
invalid_at?: DateFilter.Raw[][] | null;
|
|
15
17
|
node_labels?: string[] | null;
|
|
@@ -6,6 +6,8 @@ import { DateFilter } from "./DateFilter.mjs";
|
|
|
6
6
|
export const SearchFilters = core.serialization.object({
|
|
7
7
|
createdAt: core.serialization.property("created_at", core.serialization.list(core.serialization.list(DateFilter)).optional()),
|
|
8
8
|
edgeTypes: core.serialization.property("edge_types", core.serialization.list(core.serialization.string()).optional()),
|
|
9
|
+
excludeEdgeTypes: core.serialization.property("exclude_edge_types", core.serialization.list(core.serialization.string()).optional()),
|
|
10
|
+
excludeNodeLabels: core.serialization.property("exclude_node_labels", core.serialization.list(core.serialization.string()).optional()),
|
|
9
11
|
expiredAt: core.serialization.property("expired_at", core.serialization.list(core.serialization.list(DateFilter)).optional()),
|
|
10
12
|
invalidAt: core.serialization.property("invalid_at", core.serialization.list(core.serialization.list(DateFilter)).optional()),
|
|
11
13
|
nodeLabels: core.serialization.property("node_labels", core.serialization.list(core.serialization.string()).optional()),
|
|
@@ -10,6 +10,7 @@ export declare namespace User {
|
|
|
10
10
|
interface Raw {
|
|
11
11
|
created_at?: string | null;
|
|
12
12
|
deleted_at?: string | null;
|
|
13
|
+
disable_default_ontology?: boolean | null;
|
|
13
14
|
email?: string | null;
|
|
14
15
|
fact_rating_instruction?: ModelsFactRatingInstruction.Raw | null;
|
|
15
16
|
first_name?: string | null;
|
|
@@ -6,6 +6,7 @@ import { ModelsFactRatingInstruction } from "./ModelsFactRatingInstruction.mjs";
|
|
|
6
6
|
export const User = core.serialization.object({
|
|
7
7
|
createdAt: core.serialization.property("created_at", core.serialization.string().optional()),
|
|
8
8
|
deletedAt: core.serialization.property("deleted_at", core.serialization.string().optional()),
|
|
9
|
+
disableDefaultOntology: core.serialization.property("disable_default_ontology", core.serialization.boolean().optional()),
|
|
9
10
|
email: core.serialization.string().optional(),
|
|
10
11
|
factRatingInstruction: core.serialization.property("fact_rating_instruction", ModelsFactRatingInstruction.optional()),
|
|
11
12
|
firstName: core.serialization.property("first_name", core.serialization.string().optional()),
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index.mjs";
|
|
5
|
+
import * as Zep from "../../api/index.mjs";
|
|
6
|
+
import * as core from "../../core/index.mjs";
|
|
7
|
+
export declare const UserInstruction: core.serialization.ObjectSchema<serializers.UserInstruction.Raw, Zep.UserInstruction>;
|
|
8
|
+
export declare namespace UserInstruction {
|
|
9
|
+
interface Raw {
|
|
10
|
+
name: string;
|
|
11
|
+
text: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -18,6 +18,7 @@ export * from "./EpisodeResponse.mjs";
|
|
|
18
18
|
export * from "./GraphListResponse.mjs";
|
|
19
19
|
export * from "./GraphNodesRequest.mjs";
|
|
20
20
|
export * from "./GraphSearchResults.mjs";
|
|
21
|
+
export * from "./ListUserInstructionsResponse.mjs";
|
|
21
22
|
export * from "./ProjectInfo.mjs";
|
|
22
23
|
export * from "./ProjectInfoResponse.mjs";
|
|
23
24
|
export * from "./RoleType.mjs";
|
|
@@ -28,6 +29,7 @@ export * from "./ThreadListResponse.mjs";
|
|
|
28
29
|
export * from "./Message.mjs";
|
|
29
30
|
export * from "./MessageListResponse.mjs";
|
|
30
31
|
export * from "./User.mjs";
|
|
32
|
+
export * from "./UserInstruction.mjs";
|
|
31
33
|
export * from "./UserListResponse.mjs";
|
|
32
34
|
export * from "./UserNodeResponse.mjs";
|
|
33
35
|
export * from "./AddTripleResponse.mjs";
|
|
@@ -18,6 +18,7 @@ export * from "./EpisodeResponse.mjs";
|
|
|
18
18
|
export * from "./GraphListResponse.mjs";
|
|
19
19
|
export * from "./GraphNodesRequest.mjs";
|
|
20
20
|
export * from "./GraphSearchResults.mjs";
|
|
21
|
+
export * from "./ListUserInstructionsResponse.mjs";
|
|
21
22
|
export * from "./ProjectInfo.mjs";
|
|
22
23
|
export * from "./ProjectInfoResponse.mjs";
|
|
23
24
|
export * from "./RoleType.mjs";
|
|
@@ -28,6 +29,7 @@ export * from "./ThreadListResponse.mjs";
|
|
|
28
29
|
export * from "./Message.mjs";
|
|
29
30
|
export * from "./MessageListResponse.mjs";
|
|
30
31
|
export * from "./User.mjs";
|
|
32
|
+
export * from "./UserInstruction.mjs";
|
|
31
33
|
export * from "./UserListResponse.mjs";
|
|
32
34
|
export * from "./UserNodeResponse.mjs";
|
|
33
35
|
export * from "./AddTripleResponse.mjs";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "3.
|
|
1
|
+
export declare const SDK_VERSION = "3.10.0";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "3.
|
|
1
|
+
export const SDK_VERSION = "3.10.0";
|