@letta-ai/letta-client 0.1.93 → 0.1.94
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 +23 -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 +23 -0
- package/api/types/JobType.d.ts +2 -1
- package/api/types/JobType.js +1 -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 +23 -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 +23 -0
- package/dist/api/types/BatchJob.js +5 -0
- package/dist/api/types/JobType.d.ts +2 -1
- package/dist/api/types/JobType.js +1 -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 +13 -0
- package/dist/serialization/{types/LettaBatchResponse.js → resources/messages/resources/batches/client/requests/CreateBatch.js} +5 -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 +22 -0
- package/dist/serialization/types/BatchJob.js +53 -0
- package/dist/serialization/types/JobType.d.ts +1 -1
- package/dist/serialization/types/JobType.js +1 -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 +13 -0
- package/serialization/{types/LettaBatchResponse.js → resources/messages/resources/batches/client/requests/CreateBatch.js} +5 -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 +22 -0
- package/serialization/types/BatchJob.js +53 -0
- package/serialization/types/JobType.d.ts +1 -1
- package/serialization/types/JobType.js +1 -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,22 @@
|
|
|
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
|
+
id?: string | null;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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
|
+
id: core.serialization.string().optional(),
|
|
53
|
+
});
|
|
@@ -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
|
}
|
|
@@ -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.94";
|
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
|