@letta-ai/letta-client 0.1.42 → 0.1.44

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.
Files changed (98) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +7 -2
  3. package/api/resources/agents/client/Client.js +7 -7
  4. package/api/resources/agents/resources/blocks/client/Client.js +5 -5
  5. package/api/resources/agents/resources/context/client/Client.js +1 -1
  6. package/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  7. package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  8. package/api/resources/agents/resources/messages/client/Client.js +5 -5
  9. package/api/resources/agents/resources/passages/client/Client.js +3 -3
  10. package/api/resources/agents/resources/sources/client/Client.js +3 -3
  11. package/api/resources/agents/resources/templates/client/Client.js +3 -3
  12. package/api/resources/agents/resources/tools/client/Client.js +3 -3
  13. package/api/resources/blocks/client/Client.js +6 -6
  14. package/api/resources/health/client/Client.js +1 -1
  15. package/api/resources/identities/client/Client.js +6 -6
  16. package/api/resources/index.d.ts +2 -0
  17. package/api/resources/index.js +3 -1
  18. package/api/resources/jobs/client/Client.js +4 -4
  19. package/api/resources/models/client/Client.js +2 -2
  20. package/api/resources/providers/client/Client.js +4 -4
  21. package/api/resources/runs/client/Client.js +6 -6
  22. package/api/resources/sources/client/Client.js +6 -6
  23. package/api/resources/sources/resources/files/client/Client.js +3 -3
  24. package/api/resources/sources/resources/passages/client/Client.js +1 -1
  25. package/api/resources/steps/client/Client.js +2 -2
  26. package/api/resources/tag/client/Client.js +1 -1
  27. package/api/resources/templates/client/Client.js +1 -1
  28. package/api/resources/tools/client/Client.js +11 -11
  29. package/api/resources/voice/client/Client.d.ts +48 -0
  30. package/api/resources/voice/client/Client.js +135 -0
  31. package/api/resources/voice/client/index.d.ts +1 -0
  32. package/api/resources/voice/client/index.js +2 -0
  33. package/api/resources/voice/index.d.ts +2 -0
  34. package/api/resources/voice/index.js +18 -0
  35. package/api/resources/voice/types/CreateVoiceChatCompletionsRequest.d.ts +5 -0
  36. package/api/resources/voice/types/CreateVoiceChatCompletionsRequest.js +5 -0
  37. package/api/resources/voice/types/index.d.ts +1 -0
  38. package/api/resources/voice/types/index.js +17 -0
  39. package/dist/Client.d.ts +3 -0
  40. package/dist/Client.js +7 -2
  41. package/dist/api/resources/agents/client/Client.js +7 -7
  42. package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
  43. package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
  44. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  45. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  46. package/dist/api/resources/agents/resources/messages/client/Client.js +5 -5
  47. package/dist/api/resources/agents/resources/passages/client/Client.js +3 -3
  48. package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
  49. package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
  50. package/dist/api/resources/agents/resources/tools/client/Client.js +3 -3
  51. package/dist/api/resources/blocks/client/Client.js +6 -6
  52. package/dist/api/resources/health/client/Client.js +1 -1
  53. package/dist/api/resources/identities/client/Client.js +6 -6
  54. package/dist/api/resources/index.d.ts +2 -0
  55. package/dist/api/resources/index.js +3 -1
  56. package/dist/api/resources/jobs/client/Client.js +4 -4
  57. package/dist/api/resources/models/client/Client.js +2 -2
  58. package/dist/api/resources/providers/client/Client.js +4 -4
  59. package/dist/api/resources/runs/client/Client.js +6 -6
  60. package/dist/api/resources/sources/client/Client.js +6 -6
  61. package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
  62. package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
  63. package/dist/api/resources/steps/client/Client.js +2 -2
  64. package/dist/api/resources/tag/client/Client.js +1 -1
  65. package/dist/api/resources/templates/client/Client.js +1 -1
  66. package/dist/api/resources/tools/client/Client.js +11 -11
  67. package/dist/api/resources/voice/client/Client.d.ts +48 -0
  68. package/dist/api/resources/voice/client/Client.js +135 -0
  69. package/dist/api/resources/voice/client/index.d.ts +1 -0
  70. package/dist/api/resources/voice/client/index.js +2 -0
  71. package/dist/api/resources/voice/index.d.ts +2 -0
  72. package/dist/api/resources/voice/index.js +18 -0
  73. package/dist/api/resources/voice/types/CreateVoiceChatCompletionsRequest.d.ts +5 -0
  74. package/dist/api/resources/voice/types/CreateVoiceChatCompletionsRequest.js +5 -0
  75. package/dist/api/resources/voice/types/index.d.ts +1 -0
  76. package/dist/api/resources/voice/types/index.js +17 -0
  77. package/dist/serialization/resources/index.d.ts +2 -0
  78. package/dist/serialization/resources/index.js +3 -1
  79. package/dist/serialization/resources/voice/index.d.ts +1 -0
  80. package/dist/serialization/resources/voice/index.js +17 -0
  81. package/dist/serialization/resources/voice/types/CreateVoiceChatCompletionsRequest.d.ts +12 -0
  82. package/dist/serialization/resources/voice/types/CreateVoiceChatCompletionsRequest.js +43 -0
  83. package/dist/serialization/resources/voice/types/index.d.ts +1 -0
  84. package/dist/serialization/resources/voice/types/index.js +17 -0
  85. package/dist/version.d.ts +1 -1
  86. package/dist/version.js +1 -1
  87. package/package.json +1 -1
  88. package/reference.md +1023 -0
  89. package/serialization/resources/index.d.ts +2 -0
  90. package/serialization/resources/index.js +3 -1
  91. package/serialization/resources/voice/index.d.ts +1 -0
  92. package/serialization/resources/voice/index.js +17 -0
  93. package/serialization/resources/voice/types/CreateVoiceChatCompletionsRequest.d.ts +12 -0
  94. package/serialization/resources/voice/types/CreateVoiceChatCompletionsRequest.js +43 -0
  95. package/serialization/resources/voice/types/index.d.ts +1 -0
  96. package/serialization/resources/voice/types/index.js +17 -0
  97. package/version.d.ts +1 -1
  98. package/version.js +1 -1
@@ -1,5 +1,7 @@
1
1
  export * as agents from "./agents";
2
2
  export * from "./agents/types";
3
+ export * as voice from "./voice";
4
+ export * from "./voice/types";
3
5
  export * as templates from "./templates";
4
6
  export * from "./templates/types";
5
7
  export * as tools from "./tools";
@@ -36,9 +36,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.tag = exports.steps = exports.runs = exports.providers = exports.jobs = exports.blocks = exports.models = exports.identities = exports.sources = exports.tools = exports.templates = exports.agents = void 0;
39
+ exports.tag = exports.steps = exports.runs = exports.providers = exports.jobs = exports.blocks = exports.models = exports.identities = exports.sources = exports.tools = exports.templates = exports.voice = exports.agents = void 0;
40
40
  exports.agents = __importStar(require("./agents"));
41
41
  __exportStar(require("./agents/types"), exports);
42
+ exports.voice = __importStar(require("./voice"));
43
+ __exportStar(require("./voice/types"), exports);
42
44
  exports.templates = __importStar(require("./templates"));
43
45
  __exportStar(require("./templates/types"), exports);
44
46
  exports.tools = __importStar(require("./tools"));
@@ -0,0 +1 @@
1
+ export * from "./types";
@@ -0,0 +1,17 @@
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types"), exports);
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as Letta from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ import { CompletionCreateParamsNonStreaming } from "../../../types/CompletionCreateParamsNonStreaming";
8
+ import { CompletionCreateParamsStreaming } from "../../../types/CompletionCreateParamsStreaming";
9
+ export declare const CreateVoiceChatCompletionsRequest: core.serialization.Schema<serializers.CreateVoiceChatCompletionsRequest.Raw, Letta.CreateVoiceChatCompletionsRequest>;
10
+ export declare namespace CreateVoiceChatCompletionsRequest {
11
+ type Raw = CompletionCreateParamsNonStreaming.Raw | CompletionCreateParamsStreaming.Raw;
12
+ }
@@ -0,0 +1,43 @@
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.CreateVoiceChatCompletionsRequest = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ const CompletionCreateParamsNonStreaming_1 = require("../../../types/CompletionCreateParamsNonStreaming");
42
+ const CompletionCreateParamsStreaming_1 = require("../../../types/CompletionCreateParamsStreaming");
43
+ exports.CreateVoiceChatCompletionsRequest = core.serialization.undiscriminatedUnion([CompletionCreateParamsNonStreaming_1.CompletionCreateParamsNonStreaming, CompletionCreateParamsStreaming_1.CompletionCreateParamsStreaming]);
@@ -0,0 +1 @@
1
+ export * from "./CreateVoiceChatCompletionsRequest";
@@ -0,0 +1,17 @@
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./CreateVoiceChatCompletionsRequest"), exports);
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.1.42";
1
+ export declare const SDK_VERSION = "0.1.44";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.1.42";
4
+ exports.SDK_VERSION = "0.1.44";