@letta-ai/letta-client 0.1.93 → 0.1.95
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/Client.d.ts +3 -0
- package/Client.js +13 -8
- package/api/resources/agents/client/Client.d.ts +0 -34
- package/api/resources/agents/client/Client.js +11 -154
- package/api/resources/agents/resources/blocks/client/Client.js +5 -5
- package/api/resources/agents/resources/context/client/Client.js +1 -1
- package/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
- 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/passages/client/Client.js +3 -3
- 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/blocks/client/Client.js +6 -6
- package/api/resources/clientSideAccessTokens/client/Client.js +2 -2
- package/api/resources/groups/client/Client.js +6 -6
- package/api/resources/groups/resources/messages/client/Client.js +4 -4
- package/api/resources/health/client/Client.js +1 -1
- package/api/resources/identities/client/Client.js +7 -7
- package/api/resources/index.d.ts +1 -0
- package/api/resources/index.js +2 -1
- package/api/resources/jobs/client/Client.js +4 -4
- package/api/resources/messages/client/Client.d.ts +46 -0
- package/api/resources/messages/client/Client.js +133 -0
- package/api/resources/messages/client/index.d.ts +1 -0
- package/api/resources/messages/client/index.js +2 -0
- package/api/resources/messages/index.d.ts +2 -0
- package/api/resources/messages/index.js +18 -0
- package/api/resources/messages/resources/batches/client/Client.d.ts +87 -0
- package/api/resources/messages/resources/batches/client/Client.js +320 -0
- package/api/resources/messages/resources/batches/client/index.d.ts +1 -0
- package/api/resources/messages/resources/batches/client/index.js +17 -0
- package/api/resources/messages/resources/batches/client/requests/CreateBatch.d.ts +25 -0
- package/api/resources/messages/resources/batches/client/requests/index.d.ts +1 -0
- package/api/resources/messages/resources/batches/client/requests/index.js +2 -0
- package/api/resources/messages/resources/batches/index.d.ts +1 -0
- package/api/resources/messages/resources/batches/index.js +17 -0
- package/api/resources/messages/resources/index.d.ts +2 -0
- package/api/resources/messages/resources/index.js +41 -0
- package/api/resources/models/client/Client.js +2 -2
- package/api/resources/projects/client/Client.js +1 -1
- package/api/resources/providers/client/Client.js +4 -4
- package/api/resources/runs/client/Client.js +7 -7
- 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 +2 -2
- package/api/resources/tools/client/Client.js +16 -16
- package/api/resources/voice/client/Client.js +1 -1
- package/api/types/BatchJob.d.ts +29 -0
- package/api/types/ChatCompletionAudioParamFormat.d.ts +2 -1
- package/api/types/ChatCompletionAudioParamFormat.js +1 -0
- package/api/types/CompletionCreateParamsNonStreamingModel.d.ts +1 -1
- package/api/types/CompletionCreateParamsNonStreamingServiceTier.d.ts +2 -1
- package/api/types/CompletionCreateParamsNonStreamingServiceTier.js +1 -0
- package/api/types/CompletionCreateParamsStreamingModel.d.ts +1 -1
- package/api/types/CompletionCreateParamsStreamingServiceTier.d.ts +2 -1
- package/api/types/CompletionCreateParamsStreamingServiceTier.js +1 -0
- package/api/types/Job.d.ts +6 -0
- package/api/types/JobType.d.ts +2 -1
- package/api/types/JobType.js +1 -0
- package/api/types/Run.d.ts +6 -0
- package/api/types/index.d.ts +1 -1
- package/api/types/index.js +1 -1
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +13 -8
- package/dist/api/resources/agents/client/Client.d.ts +0 -34
- package/dist/api/resources/agents/client/Client.js +11 -154
- package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
- package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
- 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/passages/client/Client.js +3 -3
- 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/blocks/client/Client.js +6 -6
- package/dist/api/resources/clientSideAccessTokens/client/Client.js +2 -2
- package/dist/api/resources/groups/client/Client.js +6 -6
- package/dist/api/resources/groups/resources/messages/client/Client.js +4 -4
- package/dist/api/resources/health/client/Client.js +1 -1
- package/dist/api/resources/identities/client/Client.js +7 -7
- package/dist/api/resources/index.d.ts +1 -0
- package/dist/api/resources/index.js +2 -1
- package/dist/api/resources/jobs/client/Client.js +4 -4
- package/dist/api/resources/messages/client/Client.d.ts +46 -0
- package/dist/api/resources/messages/client/Client.js +133 -0
- package/dist/api/resources/messages/client/index.d.ts +1 -0
- package/dist/api/resources/messages/client/index.js +2 -0
- package/dist/api/resources/messages/index.d.ts +2 -0
- package/dist/api/resources/messages/index.js +18 -0
- package/dist/api/resources/messages/resources/batches/client/Client.d.ts +87 -0
- package/dist/api/resources/messages/resources/batches/client/Client.js +320 -0
- package/dist/api/resources/messages/resources/batches/client/index.d.ts +1 -0
- package/dist/api/resources/messages/resources/batches/client/index.js +17 -0
- package/dist/api/resources/messages/resources/batches/client/requests/CreateBatch.d.ts +25 -0
- package/dist/api/resources/messages/resources/batches/client/requests/CreateBatch.js +5 -0
- package/dist/api/resources/messages/resources/batches/client/requests/index.d.ts +1 -0
- package/dist/api/resources/messages/resources/batches/client/requests/index.js +2 -0
- package/dist/api/resources/messages/resources/batches/index.d.ts +1 -0
- package/dist/api/resources/messages/resources/batches/index.js +17 -0
- package/dist/api/resources/messages/resources/index.d.ts +2 -0
- package/dist/api/resources/messages/resources/index.js +41 -0
- package/dist/api/resources/models/client/Client.js +2 -2
- package/dist/api/resources/projects/client/Client.js +1 -1
- package/dist/api/resources/providers/client/Client.js +4 -4
- package/dist/api/resources/runs/client/Client.js +7 -7
- 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 +2 -2
- package/dist/api/resources/tools/client/Client.js +16 -16
- package/dist/api/resources/voice/client/Client.js +1 -1
- package/dist/api/types/BatchJob.d.ts +29 -0
- package/dist/api/types/BatchJob.js +5 -0
- package/dist/api/types/ChatCompletionAudioParamFormat.d.ts +2 -1
- package/dist/api/types/ChatCompletionAudioParamFormat.js +1 -0
- package/dist/api/types/CompletionCreateParamsNonStreamingModel.d.ts +1 -1
- package/dist/api/types/CompletionCreateParamsNonStreamingServiceTier.d.ts +2 -1
- package/dist/api/types/CompletionCreateParamsNonStreamingServiceTier.js +1 -0
- package/dist/api/types/CompletionCreateParamsStreamingModel.d.ts +1 -1
- package/dist/api/types/CompletionCreateParamsStreamingServiceTier.d.ts +2 -1
- package/dist/api/types/CompletionCreateParamsStreamingServiceTier.js +1 -0
- package/dist/api/types/Job.d.ts +6 -0
- package/dist/api/types/JobType.d.ts +2 -1
- package/dist/api/types/JobType.js +1 -0
- package/dist/api/types/Run.d.ts +6 -0
- package/dist/api/types/index.d.ts +1 -1
- package/dist/api/types/index.js +1 -1
- package/dist/serialization/resources/agents/client/index.d.ts +0 -1
- package/dist/serialization/resources/agents/client/index.js +1 -2
- package/dist/serialization/resources/index.d.ts +1 -0
- package/dist/serialization/resources/index.js +2 -1
- package/dist/serialization/resources/messages/index.d.ts +1 -0
- package/dist/serialization/resources/messages/index.js +17 -0
- package/dist/serialization/resources/messages/resources/batches/client/index.d.ts +2 -0
- package/dist/serialization/resources/messages/resources/batches/client/index.js +41 -0
- package/dist/serialization/resources/messages/resources/batches/client/list.d.ts +11 -0
- package/dist/serialization/resources/{agents/client/createBatchMessageRequest.js → messages/resources/batches/client/list.js} +4 -4
- package/dist/serialization/resources/messages/resources/batches/client/requests/CreateBatch.d.ts +14 -0
- package/dist/serialization/{types/LettaBatchResponse.js → resources/messages/resources/batches/client/requests/CreateBatch.js} +6 -9
- package/dist/serialization/resources/messages/resources/batches/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/messages/resources/batches/client/requests/index.js +5 -0
- package/dist/serialization/resources/messages/resources/batches/index.d.ts +1 -0
- package/dist/serialization/resources/messages/resources/batches/index.js +17 -0
- package/dist/serialization/resources/messages/resources/index.d.ts +2 -0
- package/dist/serialization/resources/messages/resources/index.js +41 -0
- package/dist/serialization/types/BatchJob.d.ts +25 -0
- package/dist/serialization/types/BatchJob.js +56 -0
- package/dist/serialization/types/ChatCompletionAudioParamFormat.d.ts +1 -1
- package/dist/serialization/types/ChatCompletionAudioParamFormat.js +1 -1
- package/dist/serialization/types/CompletionCreateParamsNonStreamingModel.d.ts +1 -1
- package/dist/serialization/types/CompletionCreateParamsNonStreamingModel.js +10 -0
- package/dist/serialization/types/CompletionCreateParamsNonStreamingServiceTier.d.ts +1 -1
- package/dist/serialization/types/CompletionCreateParamsNonStreamingServiceTier.js +1 -1
- package/dist/serialization/types/CompletionCreateParamsStreamingModel.d.ts +1 -1
- package/dist/serialization/types/CompletionCreateParamsStreamingModel.js +10 -0
- package/dist/serialization/types/CompletionCreateParamsStreamingServiceTier.d.ts +1 -1
- package/dist/serialization/types/CompletionCreateParamsStreamingServiceTier.js +1 -1
- package/dist/serialization/types/Job.d.ts +3 -0
- package/dist/serialization/types/Job.js +3 -0
- package/dist/serialization/types/JobType.d.ts +1 -1
- package/dist/serialization/types/JobType.js +1 -0
- package/dist/serialization/types/Run.d.ts +3 -0
- package/dist/serialization/types/Run.js +3 -0
- package/dist/serialization/types/index.d.ts +1 -1
- package/dist/serialization/types/index.js +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +314 -142
- package/serialization/resources/agents/client/index.d.ts +0 -1
- package/serialization/resources/agents/client/index.js +1 -2
- package/serialization/resources/index.d.ts +1 -0
- package/serialization/resources/index.js +2 -1
- package/serialization/resources/messages/index.d.ts +1 -0
- package/serialization/resources/messages/index.js +17 -0
- package/serialization/resources/messages/resources/batches/client/index.d.ts +2 -0
- package/serialization/resources/messages/resources/batches/client/index.js +41 -0
- package/serialization/resources/messages/resources/batches/client/list.d.ts +11 -0
- package/serialization/resources/{agents/client/createBatchMessageRequest.js → messages/resources/batches/client/list.js} +4 -4
- package/serialization/resources/messages/resources/batches/client/requests/CreateBatch.d.ts +14 -0
- package/serialization/{types/LettaBatchResponse.js → resources/messages/resources/batches/client/requests/CreateBatch.js} +6 -9
- package/serialization/resources/messages/resources/batches/client/requests/index.d.ts +1 -0
- package/serialization/resources/messages/resources/batches/client/requests/index.js +5 -0
- package/serialization/resources/messages/resources/batches/index.d.ts +1 -0
- package/serialization/resources/messages/resources/batches/index.js +17 -0
- package/serialization/resources/messages/resources/index.d.ts +2 -0
- package/serialization/resources/messages/resources/index.js +41 -0
- package/serialization/types/BatchJob.d.ts +25 -0
- package/serialization/types/BatchJob.js +56 -0
- package/serialization/types/ChatCompletionAudioParamFormat.d.ts +1 -1
- package/serialization/types/ChatCompletionAudioParamFormat.js +1 -1
- package/serialization/types/CompletionCreateParamsNonStreamingModel.d.ts +1 -1
- package/serialization/types/CompletionCreateParamsNonStreamingModel.js +10 -0
- package/serialization/types/CompletionCreateParamsNonStreamingServiceTier.d.ts +1 -1
- package/serialization/types/CompletionCreateParamsNonStreamingServiceTier.js +1 -1
- package/serialization/types/CompletionCreateParamsStreamingModel.d.ts +1 -1
- package/serialization/types/CompletionCreateParamsStreamingModel.js +10 -0
- package/serialization/types/CompletionCreateParamsStreamingServiceTier.d.ts +1 -1
- package/serialization/types/CompletionCreateParamsStreamingServiceTier.js +1 -1
- package/serialization/types/Job.d.ts +3 -0
- package/serialization/types/Job.js +3 -0
- package/serialization/types/JobType.d.ts +1 -1
- package/serialization/types/JobType.js +1 -0
- package/serialization/types/Run.d.ts +3 -0
- package/serialization/types/Run.js +3 -0
- package/serialization/types/index.d.ts +1 -1
- package/serialization/types/index.js +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/types/LettaBatchResponse.d.ts +0 -16
- package/dist/api/types/LettaBatchResponse.d.ts +0 -16
- package/dist/serialization/resources/agents/client/createBatchMessageRequest.d.ts +0 -11
- package/dist/serialization/types/LettaBatchResponse.d.ts +0 -17
- package/serialization/resources/agents/client/createBatchMessageRequest.d.ts +0 -11
- package/serialization/types/LettaBatchResponse.d.ts +0 -17
- /package/api/{types/LettaBatchResponse.js → resources/messages/resources/batches/client/requests/CreateBatch.js} +0 -0
- /package/{dist/api/types/LettaBatchResponse.js → api/types/BatchJob.js} +0 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
36
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
|
+
};
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.batches = void 0;
|
|
40
|
+
exports.batches = __importStar(require("./batches"));
|
|
41
|
+
__exportStar(require("./batches/client/requests"), exports);
|
|
@@ -0,0 +1,25 @@
|
|
|
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 { JobStatus } from "./JobStatus";
|
|
8
|
+
import { JobType } from "./JobType";
|
|
9
|
+
export declare const BatchJob: core.serialization.ObjectSchema<serializers.BatchJob.Raw, Letta.BatchJob>;
|
|
10
|
+
export declare namespace BatchJob {
|
|
11
|
+
interface Raw {
|
|
12
|
+
created_by_id?: string | null;
|
|
13
|
+
last_updated_by_id?: string | null;
|
|
14
|
+
created_at?: string | null;
|
|
15
|
+
updated_at?: string | null;
|
|
16
|
+
status?: JobStatus.Raw | null;
|
|
17
|
+
completed_at?: string | null;
|
|
18
|
+
metadata?: Record<string, unknown> | null;
|
|
19
|
+
job_type?: JobType.Raw | null;
|
|
20
|
+
callback_url?: string | null;
|
|
21
|
+
callback_sent_at?: string | null;
|
|
22
|
+
callback_status_code?: number | null;
|
|
23
|
+
id?: string | null;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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.BatchJob = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const JobStatus_1 = require("./JobStatus");
|
|
42
|
+
const JobType_1 = require("./JobType");
|
|
43
|
+
exports.BatchJob = core.serialization.object({
|
|
44
|
+
createdById: core.serialization.property("created_by_id", core.serialization.string().optional()),
|
|
45
|
+
lastUpdatedById: core.serialization.property("last_updated_by_id", core.serialization.string().optional()),
|
|
46
|
+
createdAt: core.serialization.property("created_at", core.serialization.date().optional()),
|
|
47
|
+
updatedAt: core.serialization.property("updated_at", core.serialization.date().optional()),
|
|
48
|
+
status: JobStatus_1.JobStatus.optional(),
|
|
49
|
+
completedAt: core.serialization.property("completed_at", core.serialization.date().optional()),
|
|
50
|
+
metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
51
|
+
jobType: core.serialization.property("job_type", JobType_1.JobType.optional()),
|
|
52
|
+
callbackUrl: core.serialization.property("callback_url", core.serialization.string().optional()),
|
|
53
|
+
callbackSentAt: core.serialization.property("callback_sent_at", core.serialization.date().optional()),
|
|
54
|
+
callbackStatusCode: core.serialization.property("callback_status_code", core.serialization.number().optional()),
|
|
55
|
+
id: core.serialization.string().optional(),
|
|
56
|
+
});
|
|
@@ -6,5 +6,5 @@ import * as Letta from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const ChatCompletionAudioParamFormat: core.serialization.Schema<serializers.ChatCompletionAudioParamFormat.Raw, Letta.ChatCompletionAudioParamFormat>;
|
|
8
8
|
export declare namespace ChatCompletionAudioParamFormat {
|
|
9
|
-
type Raw = "wav" | "mp3" | "flac" | "opus" | "pcm16";
|
|
9
|
+
type Raw = "wav" | "aac" | "mp3" | "flac" | "opus" | "pcm16";
|
|
10
10
|
}
|
|
@@ -38,4 +38,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.ChatCompletionAudioParamFormat = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
-
exports.ChatCompletionAudioParamFormat = core.serialization.enum_(["wav", "mp3", "flac", "opus", "pcm16"]);
|
|
41
|
+
exports.ChatCompletionAudioParamFormat = core.serialization.enum_(["wav", "aac", "mp3", "flac", "opus", "pcm16"]);
|
|
@@ -6,5 +6,5 @@ import * as Letta from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const CompletionCreateParamsNonStreamingModel: core.serialization.Schema<serializers.CompletionCreateParamsNonStreamingModel.Raw, Letta.CompletionCreateParamsNonStreamingModel>;
|
|
8
8
|
export declare namespace CompletionCreateParamsNonStreamingModel {
|
|
9
|
-
type Raw = string | "o3-mini" | "o3-mini-2025-01-31" | "o1" | "o1-2024-12-17" | "o1-preview" | "o1-preview-2024-09-12" | "o1-mini" | "o1-mini-2024-09-12" | "gpt-4o" | "gpt-4o-2024-11-20" | "gpt-4o-2024-08-06" | "gpt-4o-2024-05-13" | "gpt-4o-audio-preview" | "gpt-4o-audio-preview-2024-10-01" | "gpt-4o-audio-preview-2024-12-17" | "gpt-4o-mini-audio-preview" | "gpt-4o-mini-audio-preview-2024-12-17" | "gpt-4o-search-preview" | "gpt-4o-mini-search-preview" | "gpt-4o-search-preview-2025-03-11" | "gpt-4o-mini-search-preview-2025-03-11" | "chatgpt-4o-latest" | "gpt-4o-mini" | "gpt-4o-mini-2024-07-18" | "gpt-4-turbo" | "gpt-4-turbo-2024-04-09" | "gpt-4-0125-preview" | "gpt-4-turbo-preview" | "gpt-4-1106-preview" | "gpt-4-vision-preview" | "gpt-4" | "gpt-4-0314" | "gpt-4-0613" | "gpt-4-32k" | "gpt-4-32k-0314" | "gpt-4-32k-0613" | "gpt-3.5-turbo" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo-0301" | "gpt-3.5-turbo-0613" | "gpt-3.5-turbo-1106" | "gpt-3.5-turbo-0125" | "gpt-3.5-turbo-16k-0613";
|
|
9
|
+
type Raw = string | "gpt-4.1" | "gpt-4.1-mini" | "gpt-4.1-nano" | "gpt-4.1-2025-04-14" | "gpt-4.1-mini-2025-04-14" | "gpt-4.1-nano-2025-04-14" | "o4-mini" | "o4-mini-2025-04-16" | "o3" | "o3-2025-04-16" | "o3-mini" | "o3-mini-2025-01-31" | "o1" | "o1-2024-12-17" | "o1-preview" | "o1-preview-2024-09-12" | "o1-mini" | "o1-mini-2024-09-12" | "gpt-4o" | "gpt-4o-2024-11-20" | "gpt-4o-2024-08-06" | "gpt-4o-2024-05-13" | "gpt-4o-audio-preview" | "gpt-4o-audio-preview-2024-10-01" | "gpt-4o-audio-preview-2024-12-17" | "gpt-4o-mini-audio-preview" | "gpt-4o-mini-audio-preview-2024-12-17" | "gpt-4o-search-preview" | "gpt-4o-mini-search-preview" | "gpt-4o-search-preview-2025-03-11" | "gpt-4o-mini-search-preview-2025-03-11" | "chatgpt-4o-latest" | "gpt-4o-mini" | "gpt-4o-mini-2024-07-18" | "gpt-4-turbo" | "gpt-4-turbo-2024-04-09" | "gpt-4-0125-preview" | "gpt-4-turbo-preview" | "gpt-4-1106-preview" | "gpt-4-vision-preview" | "gpt-4" | "gpt-4-0314" | "gpt-4-0613" | "gpt-4-32k" | "gpt-4-32k-0314" | "gpt-4-32k-0613" | "gpt-3.5-turbo" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo-0301" | "gpt-3.5-turbo-0613" | "gpt-3.5-turbo-1106" | "gpt-3.5-turbo-0125" | "gpt-3.5-turbo-16k-0613";
|
|
10
10
|
}
|
|
@@ -40,6 +40,16 @@ exports.CompletionCreateParamsNonStreamingModel = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
exports.CompletionCreateParamsNonStreamingModel = core.serialization.undiscriminatedUnion([
|
|
42
42
|
core.serialization.string(),
|
|
43
|
+
core.serialization.stringLiteral("gpt-4.1"),
|
|
44
|
+
core.serialization.stringLiteral("gpt-4.1-mini"),
|
|
45
|
+
core.serialization.stringLiteral("gpt-4.1-nano"),
|
|
46
|
+
core.serialization.stringLiteral("gpt-4.1-2025-04-14"),
|
|
47
|
+
core.serialization.stringLiteral("gpt-4.1-mini-2025-04-14"),
|
|
48
|
+
core.serialization.stringLiteral("gpt-4.1-nano-2025-04-14"),
|
|
49
|
+
core.serialization.stringLiteral("o4-mini"),
|
|
50
|
+
core.serialization.stringLiteral("o4-mini-2025-04-16"),
|
|
51
|
+
core.serialization.stringLiteral("o3"),
|
|
52
|
+
core.serialization.stringLiteral("o3-2025-04-16"),
|
|
43
53
|
core.serialization.stringLiteral("o3-mini"),
|
|
44
54
|
core.serialization.stringLiteral("o3-mini-2025-01-31"),
|
|
45
55
|
core.serialization.stringLiteral("o1"),
|
|
@@ -6,5 +6,5 @@ import * as Letta from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const CompletionCreateParamsNonStreamingServiceTier: core.serialization.Schema<serializers.CompletionCreateParamsNonStreamingServiceTier.Raw, Letta.CompletionCreateParamsNonStreamingServiceTier>;
|
|
8
8
|
export declare namespace CompletionCreateParamsNonStreamingServiceTier {
|
|
9
|
-
type Raw = "auto" | "default";
|
|
9
|
+
type Raw = "auto" | "default" | "flex";
|
|
10
10
|
}
|
|
@@ -38,4 +38,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.CompletionCreateParamsNonStreamingServiceTier = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
-
exports.CompletionCreateParamsNonStreamingServiceTier = core.serialization.enum_(["auto", "default"]);
|
|
41
|
+
exports.CompletionCreateParamsNonStreamingServiceTier = core.serialization.enum_(["auto", "default", "flex"]);
|
|
@@ -6,5 +6,5 @@ import * as Letta from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const CompletionCreateParamsStreamingModel: core.serialization.Schema<serializers.CompletionCreateParamsStreamingModel.Raw, Letta.CompletionCreateParamsStreamingModel>;
|
|
8
8
|
export declare namespace CompletionCreateParamsStreamingModel {
|
|
9
|
-
type Raw = string | "o3-mini" | "o3-mini-2025-01-31" | "o1" | "o1-2024-12-17" | "o1-preview" | "o1-preview-2024-09-12" | "o1-mini" | "o1-mini-2024-09-12" | "gpt-4o" | "gpt-4o-2024-11-20" | "gpt-4o-2024-08-06" | "gpt-4o-2024-05-13" | "gpt-4o-audio-preview" | "gpt-4o-audio-preview-2024-10-01" | "gpt-4o-audio-preview-2024-12-17" | "gpt-4o-mini-audio-preview" | "gpt-4o-mini-audio-preview-2024-12-17" | "gpt-4o-search-preview" | "gpt-4o-mini-search-preview" | "gpt-4o-search-preview-2025-03-11" | "gpt-4o-mini-search-preview-2025-03-11" | "chatgpt-4o-latest" | "gpt-4o-mini" | "gpt-4o-mini-2024-07-18" | "gpt-4-turbo" | "gpt-4-turbo-2024-04-09" | "gpt-4-0125-preview" | "gpt-4-turbo-preview" | "gpt-4-1106-preview" | "gpt-4-vision-preview" | "gpt-4" | "gpt-4-0314" | "gpt-4-0613" | "gpt-4-32k" | "gpt-4-32k-0314" | "gpt-4-32k-0613" | "gpt-3.5-turbo" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo-0301" | "gpt-3.5-turbo-0613" | "gpt-3.5-turbo-1106" | "gpt-3.5-turbo-0125" | "gpt-3.5-turbo-16k-0613";
|
|
9
|
+
type Raw = string | "gpt-4.1" | "gpt-4.1-mini" | "gpt-4.1-nano" | "gpt-4.1-2025-04-14" | "gpt-4.1-mini-2025-04-14" | "gpt-4.1-nano-2025-04-14" | "o4-mini" | "o4-mini-2025-04-16" | "o3" | "o3-2025-04-16" | "o3-mini" | "o3-mini-2025-01-31" | "o1" | "o1-2024-12-17" | "o1-preview" | "o1-preview-2024-09-12" | "o1-mini" | "o1-mini-2024-09-12" | "gpt-4o" | "gpt-4o-2024-11-20" | "gpt-4o-2024-08-06" | "gpt-4o-2024-05-13" | "gpt-4o-audio-preview" | "gpt-4o-audio-preview-2024-10-01" | "gpt-4o-audio-preview-2024-12-17" | "gpt-4o-mini-audio-preview" | "gpt-4o-mini-audio-preview-2024-12-17" | "gpt-4o-search-preview" | "gpt-4o-mini-search-preview" | "gpt-4o-search-preview-2025-03-11" | "gpt-4o-mini-search-preview-2025-03-11" | "chatgpt-4o-latest" | "gpt-4o-mini" | "gpt-4o-mini-2024-07-18" | "gpt-4-turbo" | "gpt-4-turbo-2024-04-09" | "gpt-4-0125-preview" | "gpt-4-turbo-preview" | "gpt-4-1106-preview" | "gpt-4-vision-preview" | "gpt-4" | "gpt-4-0314" | "gpt-4-0613" | "gpt-4-32k" | "gpt-4-32k-0314" | "gpt-4-32k-0613" | "gpt-3.5-turbo" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo-0301" | "gpt-3.5-turbo-0613" | "gpt-3.5-turbo-1106" | "gpt-3.5-turbo-0125" | "gpt-3.5-turbo-16k-0613";
|
|
10
10
|
}
|
|
@@ -40,6 +40,16 @@ exports.CompletionCreateParamsStreamingModel = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
exports.CompletionCreateParamsStreamingModel = core.serialization.undiscriminatedUnion([
|
|
42
42
|
core.serialization.string(),
|
|
43
|
+
core.serialization.stringLiteral("gpt-4.1"),
|
|
44
|
+
core.serialization.stringLiteral("gpt-4.1-mini"),
|
|
45
|
+
core.serialization.stringLiteral("gpt-4.1-nano"),
|
|
46
|
+
core.serialization.stringLiteral("gpt-4.1-2025-04-14"),
|
|
47
|
+
core.serialization.stringLiteral("gpt-4.1-mini-2025-04-14"),
|
|
48
|
+
core.serialization.stringLiteral("gpt-4.1-nano-2025-04-14"),
|
|
49
|
+
core.serialization.stringLiteral("o4-mini"),
|
|
50
|
+
core.serialization.stringLiteral("o4-mini-2025-04-16"),
|
|
51
|
+
core.serialization.stringLiteral("o3"),
|
|
52
|
+
core.serialization.stringLiteral("o3-2025-04-16"),
|
|
43
53
|
core.serialization.stringLiteral("o3-mini"),
|
|
44
54
|
core.serialization.stringLiteral("o3-mini-2025-01-31"),
|
|
45
55
|
core.serialization.stringLiteral("o1"),
|
|
@@ -6,5 +6,5 @@ import * as Letta from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const CompletionCreateParamsStreamingServiceTier: core.serialization.Schema<serializers.CompletionCreateParamsStreamingServiceTier.Raw, Letta.CompletionCreateParamsStreamingServiceTier>;
|
|
8
8
|
export declare namespace CompletionCreateParamsStreamingServiceTier {
|
|
9
|
-
type Raw = "auto" | "default";
|
|
9
|
+
type Raw = "auto" | "default" | "flex";
|
|
10
10
|
}
|
|
@@ -38,4 +38,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.CompletionCreateParamsStreamingServiceTier = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
-
exports.CompletionCreateParamsStreamingServiceTier = core.serialization.enum_(["auto", "default"]);
|
|
41
|
+
exports.CompletionCreateParamsStreamingServiceTier = core.serialization.enum_(["auto", "default", "flex"]);
|
|
@@ -17,6 +17,9 @@ export declare namespace Job {
|
|
|
17
17
|
completed_at?: string | null;
|
|
18
18
|
metadata?: Record<string, unknown> | null;
|
|
19
19
|
job_type?: JobType.Raw | null;
|
|
20
|
+
callback_url?: string | null;
|
|
21
|
+
callback_sent_at?: string | null;
|
|
22
|
+
callback_status_code?: number | null;
|
|
20
23
|
id?: string | null;
|
|
21
24
|
}
|
|
22
25
|
}
|
|
@@ -49,5 +49,8 @@ exports.Job = core.serialization.object({
|
|
|
49
49
|
completedAt: core.serialization.property("completed_at", core.serialization.date().optional()),
|
|
50
50
|
metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
51
51
|
jobType: core.serialization.property("job_type", JobType_1.JobType.optional()),
|
|
52
|
+
callbackUrl: core.serialization.property("callback_url", core.serialization.string().optional()),
|
|
53
|
+
callbackSentAt: core.serialization.property("callback_sent_at", core.serialization.date().optional()),
|
|
54
|
+
callbackStatusCode: core.serialization.property("callback_status_code", core.serialization.number().optional()),
|
|
52
55
|
id: core.serialization.string().optional(),
|
|
53
56
|
});
|
|
@@ -6,5 +6,5 @@ import * as Letta from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const JobType: core.serialization.Schema<serializers.JobType.Raw, Letta.JobType>;
|
|
8
8
|
export declare namespace JobType {
|
|
9
|
-
type Raw = "job" | "run";
|
|
9
|
+
type Raw = "job" | "run" | "batch";
|
|
10
10
|
}
|
|
@@ -18,6 +18,9 @@ export declare namespace Run {
|
|
|
18
18
|
completed_at?: string | null;
|
|
19
19
|
metadata?: Record<string, unknown> | null;
|
|
20
20
|
job_type?: JobType.Raw | null;
|
|
21
|
+
callback_url?: string | null;
|
|
22
|
+
callback_sent_at?: string | null;
|
|
23
|
+
callback_status_code?: number | null;
|
|
21
24
|
id?: string | null;
|
|
22
25
|
request_config?: LettaRequestConfig.Raw | null;
|
|
23
26
|
}
|
|
@@ -50,6 +50,9 @@ exports.Run = core.serialization.object({
|
|
|
50
50
|
completedAt: core.serialization.property("completed_at", core.serialization.date().optional()),
|
|
51
51
|
metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
52
52
|
jobType: core.serialization.property("job_type", JobType_1.JobType.optional()),
|
|
53
|
+
callbackUrl: core.serialization.property("callback_url", core.serialization.string().optional()),
|
|
54
|
+
callbackSentAt: core.serialization.property("callback_sent_at", core.serialization.date().optional()),
|
|
55
|
+
callbackStatusCode: core.serialization.property("callback_status_code", core.serialization.number().optional()),
|
|
53
56
|
id: core.serialization.string().optional(),
|
|
54
57
|
requestConfig: core.serialization.property("request_config", LettaRequestConfig_1.LettaRequestConfig.optional()),
|
|
55
58
|
});
|
|
@@ -22,6 +22,7 @@ export * from "./AuthRequest";
|
|
|
22
22
|
export * from "./AuthResponse";
|
|
23
23
|
export * from "./AuthSchemeField";
|
|
24
24
|
export * from "./BaseToolRuleSchema";
|
|
25
|
+
export * from "./BatchJob";
|
|
25
26
|
export * from "./Block";
|
|
26
27
|
export * from "./BlockUpdate";
|
|
27
28
|
export * from "./ChatCompletionAssistantMessageParamContentItem";
|
|
@@ -116,7 +117,6 @@ export * from "./LlmConfigModelEndpointType";
|
|
|
116
117
|
export * from "./LlmConfigReasoningEffort";
|
|
117
118
|
export * from "./LlmConfig";
|
|
118
119
|
export * from "./LettaBatchRequest";
|
|
119
|
-
export * from "./LettaBatchResponse";
|
|
120
120
|
export * from "./LettaRequest";
|
|
121
121
|
export * from "./LettaRequestConfig";
|
|
122
122
|
export * from "./LettaResponse";
|
|
@@ -38,6 +38,7 @@ __exportStar(require("./AuthRequest"), exports);
|
|
|
38
38
|
__exportStar(require("./AuthResponse"), exports);
|
|
39
39
|
__exportStar(require("./AuthSchemeField"), exports);
|
|
40
40
|
__exportStar(require("./BaseToolRuleSchema"), exports);
|
|
41
|
+
__exportStar(require("./BatchJob"), exports);
|
|
41
42
|
__exportStar(require("./Block"), exports);
|
|
42
43
|
__exportStar(require("./BlockUpdate"), exports);
|
|
43
44
|
__exportStar(require("./ChatCompletionAssistantMessageParamContentItem"), exports);
|
|
@@ -132,7 +133,6 @@ __exportStar(require("./LlmConfigModelEndpointType"), exports);
|
|
|
132
133
|
__exportStar(require("./LlmConfigReasoningEffort"), exports);
|
|
133
134
|
__exportStar(require("./LlmConfig"), exports);
|
|
134
135
|
__exportStar(require("./LettaBatchRequest"), exports);
|
|
135
|
-
__exportStar(require("./LettaBatchResponse"), exports);
|
|
136
136
|
__exportStar(require("./LettaRequest"), exports);
|
|
137
137
|
__exportStar(require("./LettaRequestConfig"), exports);
|
|
138
138
|
__exportStar(require("./LettaResponse"), exports);
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.1.
|
|
1
|
+
export declare const SDK_VERSION = "0.1.95";
|
package/version.js
CHANGED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Letta from "../index";
|
|
5
|
-
export interface LettaBatchResponse {
|
|
6
|
-
/** A unique identifier for this batch request. */
|
|
7
|
-
batchId: string;
|
|
8
|
-
/** The current status of the batch request. */
|
|
9
|
-
status: Letta.JobStatus;
|
|
10
|
-
/** The number of agents in the batch request. */
|
|
11
|
-
agentCount: number;
|
|
12
|
-
/** The timestamp when the batch was last polled for updates. */
|
|
13
|
-
lastPolledAt: Date;
|
|
14
|
-
/** The timestamp when the batch request was created. */
|
|
15
|
-
createdAt: Date;
|
|
16
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Letta from "../index";
|
|
5
|
-
export interface LettaBatchResponse {
|
|
6
|
-
/** A unique identifier for this batch request. */
|
|
7
|
-
batchId: string;
|
|
8
|
-
/** The current status of the batch request. */
|
|
9
|
-
status: Letta.JobStatus;
|
|
10
|
-
/** The number of agents in the batch request. */
|
|
11
|
-
agentCount: number;
|
|
12
|
-
/** The timestamp when the batch was last polled for updates. */
|
|
13
|
-
lastPolledAt: Date;
|
|
14
|
-
/** The timestamp when the batch request was created. */
|
|
15
|
-
createdAt: Date;
|
|
16
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
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 { LettaBatchRequest } from "../../../types/LettaBatchRequest";
|
|
8
|
-
export declare const Request: core.serialization.Schema<serializers.agents.createBatchMessageRequest.Request.Raw, Letta.LettaBatchRequest[]>;
|
|
9
|
-
export declare namespace Request {
|
|
10
|
-
type Raw = LettaBatchRequest.Raw[];
|
|
11
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
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 { JobStatus } from "./JobStatus";
|
|
8
|
-
export declare const LettaBatchResponse: core.serialization.ObjectSchema<serializers.LettaBatchResponse.Raw, Letta.LettaBatchResponse>;
|
|
9
|
-
export declare namespace LettaBatchResponse {
|
|
10
|
-
interface Raw {
|
|
11
|
-
batch_id: string;
|
|
12
|
-
status: JobStatus.Raw;
|
|
13
|
-
agent_count: number;
|
|
14
|
-
last_polled_at: string;
|
|
15
|
-
created_at: string;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
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 { LettaBatchRequest } from "../../../types/LettaBatchRequest";
|
|
8
|
-
export declare const Request: core.serialization.Schema<serializers.agents.createBatchMessageRequest.Request.Raw, Letta.LettaBatchRequest[]>;
|
|
9
|
-
export declare namespace Request {
|
|
10
|
-
type Raw = LettaBatchRequest.Raw[];
|
|
11
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
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 { JobStatus } from "./JobStatus";
|
|
8
|
-
export declare const LettaBatchResponse: core.serialization.ObjectSchema<serializers.LettaBatchResponse.Raw, Letta.LettaBatchResponse>;
|
|
9
|
-
export declare namespace LettaBatchResponse {
|
|
10
|
-
interface Raw {
|
|
11
|
-
batch_id: string;
|
|
12
|
-
status: JobStatus.Raw;
|
|
13
|
-
agent_count: number;
|
|
14
|
-
last_polled_at: string;
|
|
15
|
-
created_at: string;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
File without changes
|
|
File without changes
|