@letta-ai/letta-client 0.1.30 → 0.1.32
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/agents/client/Client.js +11 -8
- package/api/resources/agents/client/requests/AgentsListRequest.d.ts +4 -0
- package/api/resources/agents/client/requests/CreateAgentRequest.d.ts +2 -0
- package/api/resources/agents/client/requests/UpdateAgent.d.ts +2 -0
- package/api/resources/agents/resources/archivalMemory/client/Client.js +3 -3
- package/api/resources/agents/resources/context/client/Client.js +1 -1
- package/api/resources/agents/resources/coreMemory/client/Client.js +6 -6
- package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
- package/api/resources/agents/resources/messages/client/Client.js +5 -5
- package/api/resources/agents/resources/sources/client/Client.js +3 -3
- package/api/resources/agents/resources/templates/client/Client.js +3 -3
- package/api/resources/agents/resources/tools/client/Client.js +3 -3
- package/api/resources/agents/types/AgentsSearchResponseAgentsItem.d.ts +1 -0
- package/api/resources/agents/types/AgentsSearchResponseAgentsItemIdentifierKey.d.ts +5 -0
- package/api/resources/agents/types/AgentsSearchResponseAgentsItemIdentifierKey.js +5 -0
- package/api/resources/agents/types/AgentsSearchResponseAgentsItemIdentifierKeyItem.d.ts +4 -0
- package/api/resources/agents/types/AgentsSearchResponseAgentsItemIdentifierKeyItem.js +5 -0
- package/api/resources/agents/types/index.d.ts +2 -0
- package/api/resources/agents/types/index.js +2 -0
- package/api/resources/blocks/client/Client.js +6 -6
- package/api/resources/health/client/Client.js +1 -1
- package/api/resources/jobs/client/Client.js +4 -4
- package/api/resources/models/client/Client.js +2 -2
- package/api/resources/providers/client/Client.js +4 -4
- package/api/resources/runs/client/Client.js +6 -6
- package/api/resources/sources/client/Client.js +6 -6
- package/api/resources/sources/resources/files/client/Client.js +3 -3
- package/api/resources/sources/resources/passages/client/Client.js +1 -1
- package/api/resources/steps/client/Client.js +2 -2
- package/api/resources/tag/client/Client.js +1 -1
- package/api/resources/templates/client/Client.js +1 -1
- package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItem.d.ts +1 -0
- package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKey.d.ts +5 -0
- package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKey.js +5 -0
- package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKeyItem.d.ts +4 -0
- package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKeyItem.js +5 -0
- package/api/resources/templates/types/index.d.ts +2 -0
- package/api/resources/templates/types/index.js +2 -0
- package/api/resources/tools/client/Client.js +11 -11
- package/api/types/AgentState.d.ts +2 -0
- package/dist/api/resources/agents/client/Client.js +11 -8
- package/dist/api/resources/agents/client/requests/AgentsListRequest.d.ts +4 -0
- package/dist/api/resources/agents/client/requests/CreateAgentRequest.d.ts +2 -0
- package/dist/api/resources/agents/client/requests/UpdateAgent.d.ts +2 -0
- package/dist/api/resources/agents/resources/archivalMemory/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/coreMemory/client/Client.js +6 -6
- package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/messages/client/Client.js +5 -5
- package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/tools/client/Client.js +3 -3
- package/dist/api/resources/agents/types/AgentsSearchResponseAgentsItem.d.ts +1 -0
- package/dist/api/resources/agents/types/AgentsSearchResponseAgentsItemIdentifierKey.d.ts +5 -0
- package/dist/api/resources/agents/types/AgentsSearchResponseAgentsItemIdentifierKey.js +5 -0
- package/dist/api/resources/agents/types/AgentsSearchResponseAgentsItemIdentifierKeyItem.d.ts +4 -0
- package/dist/api/resources/agents/types/AgentsSearchResponseAgentsItemIdentifierKeyItem.js +5 -0
- package/dist/api/resources/agents/types/index.d.ts +2 -0
- package/dist/api/resources/agents/types/index.js +2 -0
- package/dist/api/resources/blocks/client/Client.js +6 -6
- package/dist/api/resources/health/client/Client.js +1 -1
- package/dist/api/resources/jobs/client/Client.js +4 -4
- package/dist/api/resources/models/client/Client.js +2 -2
- package/dist/api/resources/providers/client/Client.js +4 -4
- package/dist/api/resources/runs/client/Client.js +6 -6
- package/dist/api/resources/sources/client/Client.js +6 -6
- package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
- package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
- package/dist/api/resources/steps/client/Client.js +2 -2
- package/dist/api/resources/tag/client/Client.js +1 -1
- package/dist/api/resources/templates/client/Client.js +1 -1
- package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItem.d.ts +1 -0
- package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKey.d.ts +5 -0
- package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKey.js +5 -0
- package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKeyItem.d.ts +4 -0
- package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKeyItem.js +5 -0
- package/dist/api/resources/templates/types/index.d.ts +2 -0
- package/dist/api/resources/templates/types/index.js +2 -0
- package/dist/api/resources/tools/client/Client.js +11 -11
- package/dist/api/types/AgentState.d.ts +2 -0
- package/dist/serialization/resources/agents/client/requests/CreateAgentRequest.d.ts +1 -0
- package/dist/serialization/resources/agents/client/requests/CreateAgentRequest.js +1 -0
- package/dist/serialization/resources/agents/client/requests/UpdateAgent.d.ts +1 -0
- package/dist/serialization/resources/agents/client/requests/UpdateAgent.js +1 -0
- package/dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItem.d.ts +2 -0
- package/dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItem.js +2 -0
- package/dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemIdentifierKey.d.ts +11 -0
- package/dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemIdentifierKey.js +47 -0
- package/dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemIdentifierKeyItem.d.ts +10 -0
- package/dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemIdentifierKeyItem.js +41 -0
- package/dist/serialization/resources/agents/types/index.d.ts +2 -0
- package/dist/serialization/resources/agents/types/index.js +2 -0
- package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItem.d.ts +2 -0
- package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItem.js +2 -0
- package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKey.d.ts +11 -0
- package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKey.js +47 -0
- package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKeyItem.d.ts +10 -0
- package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKeyItem.js +41 -0
- package/dist/serialization/resources/templates/types/index.d.ts +2 -0
- package/dist/serialization/resources/templates/types/index.js +2 -0
- package/dist/serialization/types/AgentState.d.ts +1 -0
- package/dist/serialization/types/AgentState.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/serialization/resources/agents/client/requests/CreateAgentRequest.d.ts +1 -0
- package/serialization/resources/agents/client/requests/CreateAgentRequest.js +1 -0
- package/serialization/resources/agents/client/requests/UpdateAgent.d.ts +1 -0
- package/serialization/resources/agents/client/requests/UpdateAgent.js +1 -0
- package/serialization/resources/agents/types/AgentsSearchResponseAgentsItem.d.ts +2 -0
- package/serialization/resources/agents/types/AgentsSearchResponseAgentsItem.js +2 -0
- package/serialization/resources/agents/types/AgentsSearchResponseAgentsItemIdentifierKey.d.ts +11 -0
- package/serialization/resources/agents/types/AgentsSearchResponseAgentsItemIdentifierKey.js +47 -0
- package/serialization/resources/agents/types/AgentsSearchResponseAgentsItemIdentifierKeyItem.d.ts +10 -0
- package/serialization/resources/agents/types/AgentsSearchResponseAgentsItemIdentifierKeyItem.js +41 -0
- package/serialization/resources/agents/types/index.d.ts +2 -0
- package/serialization/resources/agents/types/index.js +2 -0
- package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItem.d.ts +2 -0
- package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItem.js +2 -0
- package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKey.d.ts +11 -0
- package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKey.js +47 -0
- package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKeyItem.d.ts +10 -0
- package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKeyItem.js +41 -0
- package/serialization/resources/templates/types/index.d.ts +2 -0
- package/serialization/resources/templates/types/index.js +2 -0
- package/serialization/types/AgentState.d.ts +1 -0
- package/serialization/types/AgentState.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -57,6 +57,7 @@ const AgentsSearchResponseAgentsItemToolExecEnvironmentVariables_1 = require("./
|
|
|
57
57
|
const AgentsSearchResponseAgentsItemProjectId_1 = require("./AgentsSearchResponseAgentsItemProjectId");
|
|
58
58
|
const AgentsSearchResponseAgentsItemTemplateId_1 = require("./AgentsSearchResponseAgentsItemTemplateId");
|
|
59
59
|
const AgentsSearchResponseAgentsItemBaseTemplateId_1 = require("./AgentsSearchResponseAgentsItemBaseTemplateId");
|
|
60
|
+
const AgentsSearchResponseAgentsItemIdentifierKey_1 = require("./AgentsSearchResponseAgentsItemIdentifierKey");
|
|
60
61
|
const AgentsSearchResponseAgentsItemMessageBufferAutoclear_1 = require("./AgentsSearchResponseAgentsItemMessageBufferAutoclear");
|
|
61
62
|
exports.AgentsSearchResponseAgentsItem = core.serialization.object({
|
|
62
63
|
createdById: core.serialization.property("created_by_id", AgentsSearchResponseAgentsItemCreatedById_1.AgentsSearchResponseAgentsItemCreatedById.optional()),
|
|
@@ -82,6 +83,7 @@ exports.AgentsSearchResponseAgentsItem = core.serialization.object({
|
|
|
82
83
|
projectId: core.serialization.property("project_id", AgentsSearchResponseAgentsItemProjectId_1.AgentsSearchResponseAgentsItemProjectId.optional()),
|
|
83
84
|
templateId: core.serialization.property("template_id", AgentsSearchResponseAgentsItemTemplateId_1.AgentsSearchResponseAgentsItemTemplateId.optional()),
|
|
84
85
|
baseTemplateId: core.serialization.property("base_template_id", AgentsSearchResponseAgentsItemBaseTemplateId_1.AgentsSearchResponseAgentsItemBaseTemplateId.optional()),
|
|
86
|
+
identifierKey: core.serialization.property("identifier_key", AgentsSearchResponseAgentsItemIdentifierKey_1.AgentsSearchResponseAgentsItemIdentifierKey.optional()),
|
|
85
87
|
messageBufferAutoclear: core.serialization.property("message_buffer_autoclear", AgentsSearchResponseAgentsItemMessageBufferAutoclear_1.AgentsSearchResponseAgentsItemMessageBufferAutoclear.optional()),
|
|
86
88
|
template: core.serialization.string().optional(),
|
|
87
89
|
});
|
package/dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemIdentifierKey.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Letta from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { AgentsSearchResponseAgentsItemIdentifierKeyItem } from "./AgentsSearchResponseAgentsItemIdentifierKeyItem";
|
|
8
|
+
export declare const AgentsSearchResponseAgentsItemIdentifierKey: core.serialization.Schema<serializers.AgentsSearchResponseAgentsItemIdentifierKey.Raw, Letta.AgentsSearchResponseAgentsItemIdentifierKey>;
|
|
9
|
+
export declare namespace AgentsSearchResponseAgentsItemIdentifierKey {
|
|
10
|
+
type Raw = string | (string | null | undefined) | (AgentsSearchResponseAgentsItemIdentifierKeyItem.Raw | null | undefined)[] | unknown;
|
|
11
|
+
}
|
package/dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemIdentifierKey.js
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.AgentsSearchResponseAgentsItemIdentifierKey = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const AgentsSearchResponseAgentsItemIdentifierKeyItem_1 = require("./AgentsSearchResponseAgentsItemIdentifierKeyItem");
|
|
42
|
+
exports.AgentsSearchResponseAgentsItemIdentifierKey = core.serialization.undiscriminatedUnion([
|
|
43
|
+
core.serialization.string(),
|
|
44
|
+
core.serialization.string().optional(),
|
|
45
|
+
core.serialization.list(AgentsSearchResponseAgentsItemIdentifierKeyItem_1.AgentsSearchResponseAgentsItemIdentifierKeyItem.optional()),
|
|
46
|
+
core.serialization.unknown(),
|
|
47
|
+
]);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Letta from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const AgentsSearchResponseAgentsItemIdentifierKeyItem: core.serialization.Schema<serializers.AgentsSearchResponseAgentsItemIdentifierKeyItem.Raw, Letta.AgentsSearchResponseAgentsItemIdentifierKeyItem>;
|
|
8
|
+
export declare namespace AgentsSearchResponseAgentsItemIdentifierKeyItem {
|
|
9
|
+
type Raw = string | (string | null | undefined);
|
|
10
|
+
}
|
package/dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemIdentifierKeyItem.js
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.AgentsSearchResponseAgentsItemIdentifierKeyItem = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.AgentsSearchResponseAgentsItemIdentifierKeyItem = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]);
|
|
@@ -163,6 +163,8 @@ export * from "./AgentsSearchResponseAgentsItemTemplateIdItem";
|
|
|
163
163
|
export * from "./AgentsSearchResponseAgentsItemTemplateId";
|
|
164
164
|
export * from "./AgentsSearchResponseAgentsItemBaseTemplateIdItem";
|
|
165
165
|
export * from "./AgentsSearchResponseAgentsItemBaseTemplateId";
|
|
166
|
+
export * from "./AgentsSearchResponseAgentsItemIdentifierKeyItem";
|
|
167
|
+
export * from "./AgentsSearchResponseAgentsItemIdentifierKey";
|
|
166
168
|
export * from "./AgentsSearchResponseAgentsItemMessageBufferAutoclear";
|
|
167
169
|
export * from "./AgentsSearchResponseAgentsItem";
|
|
168
170
|
export * from "./AgentsSearchResponse";
|
|
@@ -179,6 +179,8 @@ __exportStar(require("./AgentsSearchResponseAgentsItemTemplateIdItem"), exports)
|
|
|
179
179
|
__exportStar(require("./AgentsSearchResponseAgentsItemTemplateId"), exports);
|
|
180
180
|
__exportStar(require("./AgentsSearchResponseAgentsItemBaseTemplateIdItem"), exports);
|
|
181
181
|
__exportStar(require("./AgentsSearchResponseAgentsItemBaseTemplateId"), exports);
|
|
182
|
+
__exportStar(require("./AgentsSearchResponseAgentsItemIdentifierKeyItem"), exports);
|
|
183
|
+
__exportStar(require("./AgentsSearchResponseAgentsItemIdentifierKey"), exports);
|
|
182
184
|
__exportStar(require("./AgentsSearchResponseAgentsItemMessageBufferAutoclear"), exports);
|
|
183
185
|
__exportStar(require("./AgentsSearchResponseAgentsItem"), exports);
|
|
184
186
|
__exportStar(require("./AgentsSearchResponse"), exports);
|
|
@@ -23,6 +23,7 @@ import { TemplatesCreateAgentsFromTemplateResponseAgentsItemToolExecEnvironmentV
|
|
|
23
23
|
import { TemplatesCreateAgentsFromTemplateResponseAgentsItemProjectId } from "./TemplatesCreateAgentsFromTemplateResponseAgentsItemProjectId";
|
|
24
24
|
import { TemplatesCreateAgentsFromTemplateResponseAgentsItemTemplateId } from "./TemplatesCreateAgentsFromTemplateResponseAgentsItemTemplateId";
|
|
25
25
|
import { TemplatesCreateAgentsFromTemplateResponseAgentsItemBaseTemplateId } from "./TemplatesCreateAgentsFromTemplateResponseAgentsItemBaseTemplateId";
|
|
26
|
+
import { TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKey } from "./TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKey";
|
|
26
27
|
import { TemplatesCreateAgentsFromTemplateResponseAgentsItemMessageBufferAutoclear } from "./TemplatesCreateAgentsFromTemplateResponseAgentsItemMessageBufferAutoclear";
|
|
27
28
|
export declare const TemplatesCreateAgentsFromTemplateResponseAgentsItem: core.serialization.ObjectSchema<serializers.TemplatesCreateAgentsFromTemplateResponseAgentsItem.Raw, Letta.TemplatesCreateAgentsFromTemplateResponseAgentsItem>;
|
|
28
29
|
export declare namespace TemplatesCreateAgentsFromTemplateResponseAgentsItem {
|
|
@@ -50,6 +51,7 @@ export declare namespace TemplatesCreateAgentsFromTemplateResponseAgentsItem {
|
|
|
50
51
|
project_id?: TemplatesCreateAgentsFromTemplateResponseAgentsItemProjectId.Raw | null;
|
|
51
52
|
template_id?: TemplatesCreateAgentsFromTemplateResponseAgentsItemTemplateId.Raw | null;
|
|
52
53
|
base_template_id?: TemplatesCreateAgentsFromTemplateResponseAgentsItemBaseTemplateId.Raw | null;
|
|
54
|
+
identifier_key?: TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKey.Raw | null;
|
|
53
55
|
message_buffer_autoclear?: TemplatesCreateAgentsFromTemplateResponseAgentsItemMessageBufferAutoclear.Raw | null;
|
|
54
56
|
}
|
|
55
57
|
}
|
|
@@ -57,6 +57,7 @@ const TemplatesCreateAgentsFromTemplateResponseAgentsItemToolExecEnvironmentVari
|
|
|
57
57
|
const TemplatesCreateAgentsFromTemplateResponseAgentsItemProjectId_1 = require("./TemplatesCreateAgentsFromTemplateResponseAgentsItemProjectId");
|
|
58
58
|
const TemplatesCreateAgentsFromTemplateResponseAgentsItemTemplateId_1 = require("./TemplatesCreateAgentsFromTemplateResponseAgentsItemTemplateId");
|
|
59
59
|
const TemplatesCreateAgentsFromTemplateResponseAgentsItemBaseTemplateId_1 = require("./TemplatesCreateAgentsFromTemplateResponseAgentsItemBaseTemplateId");
|
|
60
|
+
const TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKey_1 = require("./TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKey");
|
|
60
61
|
const TemplatesCreateAgentsFromTemplateResponseAgentsItemMessageBufferAutoclear_1 = require("./TemplatesCreateAgentsFromTemplateResponseAgentsItemMessageBufferAutoclear");
|
|
61
62
|
exports.TemplatesCreateAgentsFromTemplateResponseAgentsItem = core.serialization.object({
|
|
62
63
|
createdById: core.serialization.property("created_by_id", TemplatesCreateAgentsFromTemplateResponseAgentsItemCreatedById_1.TemplatesCreateAgentsFromTemplateResponseAgentsItemCreatedById.optional()),
|
|
@@ -82,5 +83,6 @@ exports.TemplatesCreateAgentsFromTemplateResponseAgentsItem = core.serialization
|
|
|
82
83
|
projectId: core.serialization.property("project_id", TemplatesCreateAgentsFromTemplateResponseAgentsItemProjectId_1.TemplatesCreateAgentsFromTemplateResponseAgentsItemProjectId.optional()),
|
|
83
84
|
templateId: core.serialization.property("template_id", TemplatesCreateAgentsFromTemplateResponseAgentsItemTemplateId_1.TemplatesCreateAgentsFromTemplateResponseAgentsItemTemplateId.optional()),
|
|
84
85
|
baseTemplateId: core.serialization.property("base_template_id", TemplatesCreateAgentsFromTemplateResponseAgentsItemBaseTemplateId_1.TemplatesCreateAgentsFromTemplateResponseAgentsItemBaseTemplateId.optional()),
|
|
86
|
+
identifierKey: core.serialization.property("identifier_key", TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKey_1.TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKey.optional()),
|
|
85
87
|
messageBufferAutoclear: core.serialization.property("message_buffer_autoclear", TemplatesCreateAgentsFromTemplateResponseAgentsItemMessageBufferAutoclear_1.TemplatesCreateAgentsFromTemplateResponseAgentsItemMessageBufferAutoclear.optional()),
|
|
86
88
|
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Letta from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKeyItem } from "./TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKeyItem";
|
|
8
|
+
export declare const TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKey: core.serialization.Schema<serializers.TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKey.Raw, Letta.TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKey>;
|
|
9
|
+
export declare namespace TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKey {
|
|
10
|
+
type Raw = string | (string | null | undefined) | (TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKeyItem.Raw | null | undefined)[] | unknown;
|
|
11
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKey = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKeyItem_1 = require("./TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKeyItem");
|
|
42
|
+
exports.TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKey = core.serialization.undiscriminatedUnion([
|
|
43
|
+
core.serialization.string(),
|
|
44
|
+
core.serialization.string().optional(),
|
|
45
|
+
core.serialization.list(TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKeyItem_1.TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKeyItem.optional()),
|
|
46
|
+
core.serialization.unknown(),
|
|
47
|
+
]);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Letta from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKeyItem: core.serialization.Schema<serializers.TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKeyItem.Raw, Letta.TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKeyItem>;
|
|
8
|
+
export declare namespace TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKeyItem {
|
|
9
|
+
type Raw = string | (string | null | undefined);
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKeyItem = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKeyItem = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]);
|
|
@@ -156,6 +156,8 @@ export * from "./TemplatesCreateAgentsFromTemplateResponseAgentsItemTemplateIdIt
|
|
|
156
156
|
export * from "./TemplatesCreateAgentsFromTemplateResponseAgentsItemTemplateId";
|
|
157
157
|
export * from "./TemplatesCreateAgentsFromTemplateResponseAgentsItemBaseTemplateIdItem";
|
|
158
158
|
export * from "./TemplatesCreateAgentsFromTemplateResponseAgentsItemBaseTemplateId";
|
|
159
|
+
export * from "./TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKeyItem";
|
|
160
|
+
export * from "./TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKey";
|
|
159
161
|
export * from "./TemplatesCreateAgentsFromTemplateResponseAgentsItemMessageBufferAutoclear";
|
|
160
162
|
export * from "./TemplatesCreateAgentsFromTemplateResponseAgentsItem";
|
|
161
163
|
export * from "./TemplatesCreateAgentsFromTemplateResponse";
|
|
@@ -172,6 +172,8 @@ __exportStar(require("./TemplatesCreateAgentsFromTemplateResponseAgentsItemTempl
|
|
|
172
172
|
__exportStar(require("./TemplatesCreateAgentsFromTemplateResponseAgentsItemTemplateId"), exports);
|
|
173
173
|
__exportStar(require("./TemplatesCreateAgentsFromTemplateResponseAgentsItemBaseTemplateIdItem"), exports);
|
|
174
174
|
__exportStar(require("./TemplatesCreateAgentsFromTemplateResponseAgentsItemBaseTemplateId"), exports);
|
|
175
|
+
__exportStar(require("./TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKeyItem"), exports);
|
|
176
|
+
__exportStar(require("./TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKey"), exports);
|
|
175
177
|
__exportStar(require("./TemplatesCreateAgentsFromTemplateResponseAgentsItemMessageBufferAutoclear"), exports);
|
|
176
178
|
__exportStar(require("./TemplatesCreateAgentsFromTemplateResponseAgentsItem"), exports);
|
|
177
179
|
__exportStar(require("./TemplatesCreateAgentsFromTemplateResponse"), exports);
|
|
@@ -69,5 +69,6 @@ exports.AgentState = core.serialization.object({
|
|
|
69
69
|
projectId: core.serialization.property("project_id", core.serialization.string().optional()),
|
|
70
70
|
templateId: core.serialization.property("template_id", core.serialization.string().optional()),
|
|
71
71
|
baseTemplateId: core.serialization.property("base_template_id", core.serialization.string().optional()),
|
|
72
|
+
identifierKey: core.serialization.property("identifier_key", core.serialization.string().optional()),
|
|
72
73
|
messageBufferAutoclear: core.serialization.property("message_buffer_autoclear", core.serialization.boolean().optional()),
|
|
73
74
|
});
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.1.
|
|
1
|
+
export declare const SDK_VERSION = "0.1.32";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -74,5 +74,6 @@ exports.CreateAgentRequest = core.serialization.object({
|
|
|
74
74
|
projectId: core.serialization.property("project_id", core.serialization.string().optional()),
|
|
75
75
|
templateId: core.serialization.property("template_id", core.serialization.string().optional()),
|
|
76
76
|
baseTemplateId: core.serialization.property("base_template_id", core.serialization.string().optional()),
|
|
77
|
+
identifierKey: core.serialization.property("identifier_key", core.serialization.string().optional()),
|
|
77
78
|
messageBufferAutoclear: core.serialization.property("message_buffer_autoclear", core.serialization.boolean().optional()),
|
|
78
79
|
});
|
|
@@ -58,5 +58,6 @@ exports.UpdateAgent = core.serialization.object({
|
|
|
58
58
|
projectId: core.serialization.property("project_id", core.serialization.string().optional()),
|
|
59
59
|
templateId: core.serialization.property("template_id", core.serialization.string().optional()),
|
|
60
60
|
baseTemplateId: core.serialization.property("base_template_id", core.serialization.string().optional()),
|
|
61
|
+
identifierKey: core.serialization.property("identifier_key", core.serialization.string().optional()),
|
|
61
62
|
messageBufferAutoclear: core.serialization.property("message_buffer_autoclear", core.serialization.boolean().optional()),
|
|
62
63
|
});
|
|
@@ -23,6 +23,7 @@ import { AgentsSearchResponseAgentsItemToolExecEnvironmentVariables } from "./Ag
|
|
|
23
23
|
import { AgentsSearchResponseAgentsItemProjectId } from "./AgentsSearchResponseAgentsItemProjectId";
|
|
24
24
|
import { AgentsSearchResponseAgentsItemTemplateId } from "./AgentsSearchResponseAgentsItemTemplateId";
|
|
25
25
|
import { AgentsSearchResponseAgentsItemBaseTemplateId } from "./AgentsSearchResponseAgentsItemBaseTemplateId";
|
|
26
|
+
import { AgentsSearchResponseAgentsItemIdentifierKey } from "./AgentsSearchResponseAgentsItemIdentifierKey";
|
|
26
27
|
import { AgentsSearchResponseAgentsItemMessageBufferAutoclear } from "./AgentsSearchResponseAgentsItemMessageBufferAutoclear";
|
|
27
28
|
export declare const AgentsSearchResponseAgentsItem: core.serialization.ObjectSchema<serializers.AgentsSearchResponseAgentsItem.Raw, Letta.AgentsSearchResponseAgentsItem>;
|
|
28
29
|
export declare namespace AgentsSearchResponseAgentsItem {
|
|
@@ -50,6 +51,7 @@ export declare namespace AgentsSearchResponseAgentsItem {
|
|
|
50
51
|
project_id?: AgentsSearchResponseAgentsItemProjectId.Raw | null;
|
|
51
52
|
template_id?: AgentsSearchResponseAgentsItemTemplateId.Raw | null;
|
|
52
53
|
base_template_id?: AgentsSearchResponseAgentsItemBaseTemplateId.Raw | null;
|
|
54
|
+
identifier_key?: AgentsSearchResponseAgentsItemIdentifierKey.Raw | null;
|
|
53
55
|
message_buffer_autoclear?: AgentsSearchResponseAgentsItemMessageBufferAutoclear.Raw | null;
|
|
54
56
|
template?: string | null;
|
|
55
57
|
}
|
|
@@ -57,6 +57,7 @@ const AgentsSearchResponseAgentsItemToolExecEnvironmentVariables_1 = require("./
|
|
|
57
57
|
const AgentsSearchResponseAgentsItemProjectId_1 = require("./AgentsSearchResponseAgentsItemProjectId");
|
|
58
58
|
const AgentsSearchResponseAgentsItemTemplateId_1 = require("./AgentsSearchResponseAgentsItemTemplateId");
|
|
59
59
|
const AgentsSearchResponseAgentsItemBaseTemplateId_1 = require("./AgentsSearchResponseAgentsItemBaseTemplateId");
|
|
60
|
+
const AgentsSearchResponseAgentsItemIdentifierKey_1 = require("./AgentsSearchResponseAgentsItemIdentifierKey");
|
|
60
61
|
const AgentsSearchResponseAgentsItemMessageBufferAutoclear_1 = require("./AgentsSearchResponseAgentsItemMessageBufferAutoclear");
|
|
61
62
|
exports.AgentsSearchResponseAgentsItem = core.serialization.object({
|
|
62
63
|
createdById: core.serialization.property("created_by_id", AgentsSearchResponseAgentsItemCreatedById_1.AgentsSearchResponseAgentsItemCreatedById.optional()),
|
|
@@ -82,6 +83,7 @@ exports.AgentsSearchResponseAgentsItem = core.serialization.object({
|
|
|
82
83
|
projectId: core.serialization.property("project_id", AgentsSearchResponseAgentsItemProjectId_1.AgentsSearchResponseAgentsItemProjectId.optional()),
|
|
83
84
|
templateId: core.serialization.property("template_id", AgentsSearchResponseAgentsItemTemplateId_1.AgentsSearchResponseAgentsItemTemplateId.optional()),
|
|
84
85
|
baseTemplateId: core.serialization.property("base_template_id", AgentsSearchResponseAgentsItemBaseTemplateId_1.AgentsSearchResponseAgentsItemBaseTemplateId.optional()),
|
|
86
|
+
identifierKey: core.serialization.property("identifier_key", AgentsSearchResponseAgentsItemIdentifierKey_1.AgentsSearchResponseAgentsItemIdentifierKey.optional()),
|
|
85
87
|
messageBufferAutoclear: core.serialization.property("message_buffer_autoclear", AgentsSearchResponseAgentsItemMessageBufferAutoclear_1.AgentsSearchResponseAgentsItemMessageBufferAutoclear.optional()),
|
|
86
88
|
template: core.serialization.string().optional(),
|
|
87
89
|
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Letta from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { AgentsSearchResponseAgentsItemIdentifierKeyItem } from "./AgentsSearchResponseAgentsItemIdentifierKeyItem";
|
|
8
|
+
export declare const AgentsSearchResponseAgentsItemIdentifierKey: core.serialization.Schema<serializers.AgentsSearchResponseAgentsItemIdentifierKey.Raw, Letta.AgentsSearchResponseAgentsItemIdentifierKey>;
|
|
9
|
+
export declare namespace AgentsSearchResponseAgentsItemIdentifierKey {
|
|
10
|
+
type Raw = string | (string | null | undefined) | (AgentsSearchResponseAgentsItemIdentifierKeyItem.Raw | null | undefined)[] | unknown;
|
|
11
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.AgentsSearchResponseAgentsItemIdentifierKey = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const AgentsSearchResponseAgentsItemIdentifierKeyItem_1 = require("./AgentsSearchResponseAgentsItemIdentifierKeyItem");
|
|
42
|
+
exports.AgentsSearchResponseAgentsItemIdentifierKey = core.serialization.undiscriminatedUnion([
|
|
43
|
+
core.serialization.string(),
|
|
44
|
+
core.serialization.string().optional(),
|
|
45
|
+
core.serialization.list(AgentsSearchResponseAgentsItemIdentifierKeyItem_1.AgentsSearchResponseAgentsItemIdentifierKeyItem.optional()),
|
|
46
|
+
core.serialization.unknown(),
|
|
47
|
+
]);
|
package/serialization/resources/agents/types/AgentsSearchResponseAgentsItemIdentifierKeyItem.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Letta from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const AgentsSearchResponseAgentsItemIdentifierKeyItem: core.serialization.Schema<serializers.AgentsSearchResponseAgentsItemIdentifierKeyItem.Raw, Letta.AgentsSearchResponseAgentsItemIdentifierKeyItem>;
|
|
8
|
+
export declare namespace AgentsSearchResponseAgentsItemIdentifierKeyItem {
|
|
9
|
+
type Raw = string | (string | null | undefined);
|
|
10
|
+
}
|
package/serialization/resources/agents/types/AgentsSearchResponseAgentsItemIdentifierKeyItem.js
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.AgentsSearchResponseAgentsItemIdentifierKeyItem = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.AgentsSearchResponseAgentsItemIdentifierKeyItem = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]);
|
|
@@ -163,6 +163,8 @@ export * from "./AgentsSearchResponseAgentsItemTemplateIdItem";
|
|
|
163
163
|
export * from "./AgentsSearchResponseAgentsItemTemplateId";
|
|
164
164
|
export * from "./AgentsSearchResponseAgentsItemBaseTemplateIdItem";
|
|
165
165
|
export * from "./AgentsSearchResponseAgentsItemBaseTemplateId";
|
|
166
|
+
export * from "./AgentsSearchResponseAgentsItemIdentifierKeyItem";
|
|
167
|
+
export * from "./AgentsSearchResponseAgentsItemIdentifierKey";
|
|
166
168
|
export * from "./AgentsSearchResponseAgentsItemMessageBufferAutoclear";
|
|
167
169
|
export * from "./AgentsSearchResponseAgentsItem";
|
|
168
170
|
export * from "./AgentsSearchResponse";
|
|
@@ -179,6 +179,8 @@ __exportStar(require("./AgentsSearchResponseAgentsItemTemplateIdItem"), exports)
|
|
|
179
179
|
__exportStar(require("./AgentsSearchResponseAgentsItemTemplateId"), exports);
|
|
180
180
|
__exportStar(require("./AgentsSearchResponseAgentsItemBaseTemplateIdItem"), exports);
|
|
181
181
|
__exportStar(require("./AgentsSearchResponseAgentsItemBaseTemplateId"), exports);
|
|
182
|
+
__exportStar(require("./AgentsSearchResponseAgentsItemIdentifierKeyItem"), exports);
|
|
183
|
+
__exportStar(require("./AgentsSearchResponseAgentsItemIdentifierKey"), exports);
|
|
182
184
|
__exportStar(require("./AgentsSearchResponseAgentsItemMessageBufferAutoclear"), exports);
|
|
183
185
|
__exportStar(require("./AgentsSearchResponseAgentsItem"), exports);
|
|
184
186
|
__exportStar(require("./AgentsSearchResponse"), exports);
|
|
@@ -23,6 +23,7 @@ import { TemplatesCreateAgentsFromTemplateResponseAgentsItemToolExecEnvironmentV
|
|
|
23
23
|
import { TemplatesCreateAgentsFromTemplateResponseAgentsItemProjectId } from "./TemplatesCreateAgentsFromTemplateResponseAgentsItemProjectId";
|
|
24
24
|
import { TemplatesCreateAgentsFromTemplateResponseAgentsItemTemplateId } from "./TemplatesCreateAgentsFromTemplateResponseAgentsItemTemplateId";
|
|
25
25
|
import { TemplatesCreateAgentsFromTemplateResponseAgentsItemBaseTemplateId } from "./TemplatesCreateAgentsFromTemplateResponseAgentsItemBaseTemplateId";
|
|
26
|
+
import { TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKey } from "./TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKey";
|
|
26
27
|
import { TemplatesCreateAgentsFromTemplateResponseAgentsItemMessageBufferAutoclear } from "./TemplatesCreateAgentsFromTemplateResponseAgentsItemMessageBufferAutoclear";
|
|
27
28
|
export declare const TemplatesCreateAgentsFromTemplateResponseAgentsItem: core.serialization.ObjectSchema<serializers.TemplatesCreateAgentsFromTemplateResponseAgentsItem.Raw, Letta.TemplatesCreateAgentsFromTemplateResponseAgentsItem>;
|
|
28
29
|
export declare namespace TemplatesCreateAgentsFromTemplateResponseAgentsItem {
|
|
@@ -50,6 +51,7 @@ export declare namespace TemplatesCreateAgentsFromTemplateResponseAgentsItem {
|
|
|
50
51
|
project_id?: TemplatesCreateAgentsFromTemplateResponseAgentsItemProjectId.Raw | null;
|
|
51
52
|
template_id?: TemplatesCreateAgentsFromTemplateResponseAgentsItemTemplateId.Raw | null;
|
|
52
53
|
base_template_id?: TemplatesCreateAgentsFromTemplateResponseAgentsItemBaseTemplateId.Raw | null;
|
|
54
|
+
identifier_key?: TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKey.Raw | null;
|
|
53
55
|
message_buffer_autoclear?: TemplatesCreateAgentsFromTemplateResponseAgentsItemMessageBufferAutoclear.Raw | null;
|
|
54
56
|
}
|
|
55
57
|
}
|
|
@@ -57,6 +57,7 @@ const TemplatesCreateAgentsFromTemplateResponseAgentsItemToolExecEnvironmentVari
|
|
|
57
57
|
const TemplatesCreateAgentsFromTemplateResponseAgentsItemProjectId_1 = require("./TemplatesCreateAgentsFromTemplateResponseAgentsItemProjectId");
|
|
58
58
|
const TemplatesCreateAgentsFromTemplateResponseAgentsItemTemplateId_1 = require("./TemplatesCreateAgentsFromTemplateResponseAgentsItemTemplateId");
|
|
59
59
|
const TemplatesCreateAgentsFromTemplateResponseAgentsItemBaseTemplateId_1 = require("./TemplatesCreateAgentsFromTemplateResponseAgentsItemBaseTemplateId");
|
|
60
|
+
const TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKey_1 = require("./TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKey");
|
|
60
61
|
const TemplatesCreateAgentsFromTemplateResponseAgentsItemMessageBufferAutoclear_1 = require("./TemplatesCreateAgentsFromTemplateResponseAgentsItemMessageBufferAutoclear");
|
|
61
62
|
exports.TemplatesCreateAgentsFromTemplateResponseAgentsItem = core.serialization.object({
|
|
62
63
|
createdById: core.serialization.property("created_by_id", TemplatesCreateAgentsFromTemplateResponseAgentsItemCreatedById_1.TemplatesCreateAgentsFromTemplateResponseAgentsItemCreatedById.optional()),
|
|
@@ -82,5 +83,6 @@ exports.TemplatesCreateAgentsFromTemplateResponseAgentsItem = core.serialization
|
|
|
82
83
|
projectId: core.serialization.property("project_id", TemplatesCreateAgentsFromTemplateResponseAgentsItemProjectId_1.TemplatesCreateAgentsFromTemplateResponseAgentsItemProjectId.optional()),
|
|
83
84
|
templateId: core.serialization.property("template_id", TemplatesCreateAgentsFromTemplateResponseAgentsItemTemplateId_1.TemplatesCreateAgentsFromTemplateResponseAgentsItemTemplateId.optional()),
|
|
84
85
|
baseTemplateId: core.serialization.property("base_template_id", TemplatesCreateAgentsFromTemplateResponseAgentsItemBaseTemplateId_1.TemplatesCreateAgentsFromTemplateResponseAgentsItemBaseTemplateId.optional()),
|
|
86
|
+
identifierKey: core.serialization.property("identifier_key", TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKey_1.TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKey.optional()),
|
|
85
87
|
messageBufferAutoclear: core.serialization.property("message_buffer_autoclear", TemplatesCreateAgentsFromTemplateResponseAgentsItemMessageBufferAutoclear_1.TemplatesCreateAgentsFromTemplateResponseAgentsItemMessageBufferAutoclear.optional()),
|
|
86
88
|
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Letta from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKeyItem } from "./TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKeyItem";
|
|
8
|
+
export declare const TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKey: core.serialization.Schema<serializers.TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKey.Raw, Letta.TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKey>;
|
|
9
|
+
export declare namespace TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKey {
|
|
10
|
+
type Raw = string | (string | null | undefined) | (TemplatesCreateAgentsFromTemplateResponseAgentsItemIdentifierKeyItem.Raw | null | undefined)[] | unknown;
|
|
11
|
+
}
|