@letta-ai/letta-client 0.0.68641 → 0.0.68643

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 (244) hide show
  1. package/api/resources/agents/client/Client.js +11 -11
  2. package/api/resources/agents/resources/blocks/client/Client.js +5 -5
  3. package/api/resources/agents/resources/context/client/Client.js +1 -1
  4. package/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  5. package/api/resources/agents/resources/files/client/Client.js +4 -4
  6. package/api/resources/agents/resources/folders/client/Client.js +3 -3
  7. package/api/resources/agents/resources/groups/client/Client.js +1 -1
  8. package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  9. package/api/resources/agents/resources/messages/client/Client.js +9 -9
  10. package/api/resources/agents/resources/passages/client/Client.js +5 -5
  11. package/api/resources/agents/resources/sources/client/Client.js +3 -3
  12. package/api/resources/agents/resources/templates/client/Client.js +3 -3
  13. package/api/resources/agents/resources/tools/client/Client.js +4 -4
  14. package/api/resources/batches/client/Client.d.ts +6 -3
  15. package/api/resources/batches/client/Client.js +34 -11
  16. package/api/resources/batches/client/requests/BatchesListRequest.d.ts +30 -0
  17. package/api/resources/batches/client/requests/index.d.ts +1 -0
  18. package/api/resources/batches/index.d.ts +1 -0
  19. package/api/resources/batches/index.js +1 -0
  20. package/api/resources/batches/resources/messages/client/Client.js +5 -2
  21. package/api/resources/batches/resources/messages/client/requests/MessagesListRequest.d.ts +4 -0
  22. package/api/resources/batches/types/BatchesListRequestOrder.d.ts +11 -0
  23. package/api/resources/batches/types/BatchesListRequestOrder.js +10 -0
  24. package/api/resources/batches/types/index.d.ts +1 -0
  25. package/api/resources/batches/types/index.js +17 -0
  26. package/api/resources/blocks/client/Client.js +6 -6
  27. package/api/resources/blocks/resources/agents/client/Client.js +1 -1
  28. package/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  29. package/api/resources/embeddingModels/client/Client.js +1 -1
  30. package/api/resources/folders/client/Client.js +9 -9
  31. package/api/resources/folders/resources/files/client/Client.js +3 -3
  32. package/api/resources/folders/resources/passages/client/Client.js +1 -1
  33. package/api/resources/groups/client/Client.js +6 -6
  34. package/api/resources/groups/resources/messages/client/Client.js +5 -5
  35. package/api/resources/health/client/Client.js +1 -1
  36. package/api/resources/identities/client/Client.js +7 -7
  37. package/api/resources/identities/resources/properties/client/Client.js +1 -1
  38. package/api/resources/index.d.ts +4 -2
  39. package/api/resources/index.js +5 -3
  40. package/api/resources/jobs/client/Client.js +5 -5
  41. package/api/resources/models/client/Client.js +2 -2
  42. package/api/resources/projects/client/Client.js +1 -1
  43. package/api/resources/providers/client/Client.d.ts +6 -4
  44. package/api/resources/providers/client/Client.js +11 -9
  45. package/api/resources/runs/client/Client.js +5 -5
  46. package/api/resources/runs/resources/messages/client/Client.js +1 -1
  47. package/api/resources/runs/resources/steps/client/Client.js +1 -1
  48. package/api/resources/runs/resources/usage/client/Client.js +1 -1
  49. package/api/resources/sources/client/Client.js +10 -10
  50. package/api/resources/sources/resources/files/client/Client.js +3 -3
  51. package/api/resources/sources/resources/passages/client/Client.js +1 -1
  52. package/api/resources/steps/client/Client.d.ts +6 -13
  53. package/api/resources/steps/client/Client.js +14 -80
  54. package/api/resources/steps/resources/feedback/client/Client.d.ts +2 -2
  55. package/api/resources/steps/resources/feedback/client/Client.js +3 -10
  56. package/api/resources/steps/resources/feedback/client/requests/{FeedbackCreateRequest.d.ts → AddFeedbackRequest.d.ts} +2 -1
  57. package/api/resources/steps/resources/feedback/client/requests/index.d.ts +1 -1
  58. package/api/resources/steps/resources/index.d.ts +2 -0
  59. package/api/resources/steps/resources/index.js +3 -1
  60. package/api/resources/steps/resources/metrics/client/Client.d.ts +49 -0
  61. package/api/resources/steps/resources/metrics/client/Client.js +145 -0
  62. package/api/resources/steps/resources/metrics/client/index.d.ts +1 -0
  63. package/api/resources/steps/resources/metrics/client/index.js +2 -0
  64. package/api/resources/steps/resources/metrics/index.d.ts +1 -0
  65. package/api/resources/steps/resources/metrics/index.js +17 -0
  66. package/api/resources/steps/resources/trace/client/Client.d.ts +47 -0
  67. package/api/resources/steps/resources/trace/client/Client.js +143 -0
  68. package/api/resources/steps/resources/trace/client/index.d.ts +1 -0
  69. package/api/resources/steps/resources/trace/client/index.js +2 -0
  70. package/api/resources/steps/resources/trace/index.d.ts +1 -0
  71. package/api/resources/steps/resources/trace/index.js +17 -0
  72. package/api/resources/tags/client/Client.d.ts +1 -1
  73. package/api/resources/tags/client/Client.js +15 -4
  74. package/api/resources/tags/client/requests/TagsListRequest.d.ts +22 -0
  75. package/api/resources/tags/index.d.ts +1 -0
  76. package/api/resources/tags/index.js +1 -0
  77. package/api/resources/tags/types/TagsListRequestOrder.d.ts +11 -0
  78. package/api/resources/tags/types/TagsListRequestOrder.js +10 -0
  79. package/api/resources/tags/types/index.d.ts +1 -0
  80. package/api/resources/tags/types/index.js +17 -0
  81. package/api/resources/telemetry/client/Client.js +1 -1
  82. package/api/resources/templates/client/Client.js +9 -9
  83. package/api/resources/templates/resources/agents/client/Client.js +1 -1
  84. package/api/resources/tools/client/Client.js +20 -20
  85. package/api/resources/voice/client/Client.js +1 -1
  86. package/dist/api/resources/agents/client/Client.js +11 -11
  87. package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
  88. package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
  89. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  90. package/dist/api/resources/agents/resources/files/client/Client.js +4 -4
  91. package/dist/api/resources/agents/resources/folders/client/Client.js +3 -3
  92. package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
  93. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  94. package/dist/api/resources/agents/resources/messages/client/Client.js +9 -9
  95. package/dist/api/resources/agents/resources/passages/client/Client.js +5 -5
  96. package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
  97. package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
  98. package/dist/api/resources/agents/resources/tools/client/Client.js +4 -4
  99. package/dist/api/resources/batches/client/Client.d.ts +6 -3
  100. package/dist/api/resources/batches/client/Client.js +34 -11
  101. package/dist/api/resources/batches/client/requests/BatchesListRequest.d.ts +30 -0
  102. package/dist/api/resources/batches/client/requests/BatchesListRequest.js +5 -0
  103. package/dist/api/resources/batches/client/requests/index.d.ts +1 -0
  104. package/dist/api/resources/batches/index.d.ts +1 -0
  105. package/dist/api/resources/batches/index.js +1 -0
  106. package/dist/api/resources/batches/resources/messages/client/Client.js +5 -2
  107. package/dist/api/resources/batches/resources/messages/client/requests/MessagesListRequest.d.ts +4 -0
  108. package/dist/api/resources/batches/types/BatchesListRequestOrder.d.ts +11 -0
  109. package/dist/api/resources/batches/types/BatchesListRequestOrder.js +10 -0
  110. package/dist/api/resources/batches/types/index.d.ts +1 -0
  111. package/dist/api/resources/batches/types/index.js +17 -0
  112. package/dist/api/resources/blocks/client/Client.js +6 -6
  113. package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
  114. package/dist/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  115. package/dist/api/resources/embeddingModels/client/Client.js +1 -1
  116. package/dist/api/resources/folders/client/Client.js +9 -9
  117. package/dist/api/resources/folders/resources/files/client/Client.js +3 -3
  118. package/dist/api/resources/folders/resources/passages/client/Client.js +1 -1
  119. package/dist/api/resources/groups/client/Client.js +6 -6
  120. package/dist/api/resources/groups/resources/messages/client/Client.js +5 -5
  121. package/dist/api/resources/health/client/Client.js +1 -1
  122. package/dist/api/resources/identities/client/Client.js +7 -7
  123. package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
  124. package/dist/api/resources/index.d.ts +4 -2
  125. package/dist/api/resources/index.js +5 -3
  126. package/dist/api/resources/jobs/client/Client.js +5 -5
  127. package/dist/api/resources/models/client/Client.js +2 -2
  128. package/dist/api/resources/projects/client/Client.js +1 -1
  129. package/dist/api/resources/providers/client/Client.d.ts +6 -4
  130. package/dist/api/resources/providers/client/Client.js +11 -9
  131. package/dist/api/resources/runs/client/Client.js +5 -5
  132. package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
  133. package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
  134. package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
  135. package/dist/api/resources/sources/client/Client.js +10 -10
  136. package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
  137. package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
  138. package/dist/api/resources/steps/client/Client.d.ts +6 -13
  139. package/dist/api/resources/steps/client/Client.js +14 -80
  140. package/dist/api/resources/steps/resources/feedback/client/Client.d.ts +2 -2
  141. package/dist/api/resources/steps/resources/feedback/client/Client.js +3 -10
  142. package/dist/api/resources/steps/resources/feedback/client/requests/{FeedbackCreateRequest.d.ts → AddFeedbackRequest.d.ts} +2 -1
  143. package/dist/api/resources/steps/resources/feedback/client/requests/AddFeedbackRequest.js +5 -0
  144. package/dist/api/resources/steps/resources/feedback/client/requests/index.d.ts +1 -1
  145. package/dist/api/resources/steps/resources/index.d.ts +2 -0
  146. package/dist/api/resources/steps/resources/index.js +3 -1
  147. package/dist/api/resources/steps/resources/metrics/client/Client.d.ts +49 -0
  148. package/dist/api/resources/steps/resources/metrics/client/Client.js +145 -0
  149. package/dist/api/resources/steps/resources/metrics/client/index.d.ts +1 -0
  150. package/dist/api/resources/steps/resources/metrics/client/index.js +2 -0
  151. package/dist/api/resources/steps/resources/metrics/index.d.ts +1 -0
  152. package/dist/api/resources/steps/resources/metrics/index.js +17 -0
  153. package/dist/api/resources/steps/resources/trace/client/Client.d.ts +47 -0
  154. package/dist/api/resources/steps/resources/trace/client/Client.js +143 -0
  155. package/dist/api/resources/steps/resources/trace/client/index.d.ts +1 -0
  156. package/dist/api/resources/steps/resources/trace/client/index.js +2 -0
  157. package/dist/api/resources/steps/resources/trace/index.d.ts +1 -0
  158. package/dist/api/resources/steps/resources/trace/index.js +17 -0
  159. package/dist/api/resources/tags/client/Client.d.ts +1 -1
  160. package/dist/api/resources/tags/client/Client.js +15 -4
  161. package/dist/api/resources/tags/client/requests/TagsListRequest.d.ts +22 -0
  162. package/dist/api/resources/tags/index.d.ts +1 -0
  163. package/dist/api/resources/tags/index.js +1 -0
  164. package/dist/api/resources/tags/types/TagsListRequestOrder.d.ts +11 -0
  165. package/dist/api/resources/tags/types/TagsListRequestOrder.js +10 -0
  166. package/dist/api/resources/tags/types/index.d.ts +1 -0
  167. package/dist/api/resources/tags/types/index.js +17 -0
  168. package/dist/api/resources/telemetry/client/Client.js +1 -1
  169. package/dist/api/resources/templates/client/Client.js +9 -9
  170. package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
  171. package/dist/api/resources/tools/client/Client.js +20 -20
  172. package/dist/api/resources/voice/client/Client.js +1 -1
  173. package/dist/serialization/resources/batches/index.d.ts +1 -0
  174. package/dist/serialization/resources/batches/index.js +1 -0
  175. package/dist/serialization/resources/batches/types/BatchesListRequestOrder.d.ts +10 -0
  176. package/dist/serialization/resources/batches/types/BatchesListRequestOrder.js +41 -0
  177. package/dist/serialization/resources/batches/types/index.d.ts +1 -0
  178. package/dist/serialization/resources/batches/types/index.js +17 -0
  179. package/dist/serialization/resources/index.d.ts +4 -2
  180. package/dist/serialization/resources/index.js +5 -3
  181. package/dist/serialization/resources/steps/index.d.ts +1 -0
  182. package/dist/serialization/resources/steps/index.js +1 -0
  183. package/dist/serialization/resources/steps/resources/feedback/client/index.d.ts +1 -0
  184. package/dist/serialization/resources/steps/resources/feedback/client/index.js +17 -0
  185. package/dist/serialization/resources/steps/resources/feedback/client/requests/AddFeedbackRequest.d.ts +13 -0
  186. package/dist/serialization/resources/steps/resources/feedback/client/requests/AddFeedbackRequest.js +44 -0
  187. package/dist/serialization/resources/steps/resources/feedback/client/requests/index.d.ts +1 -0
  188. package/dist/serialization/resources/steps/resources/feedback/client/requests/index.js +5 -0
  189. package/dist/serialization/resources/steps/resources/feedback/index.d.ts +1 -0
  190. package/dist/serialization/resources/steps/resources/feedback/index.js +17 -0
  191. package/dist/serialization/resources/steps/resources/index.d.ts +3 -0
  192. package/dist/serialization/resources/steps/resources/index.js +42 -0
  193. package/dist/serialization/resources/steps/resources/trace/client/index.d.ts +1 -0
  194. package/dist/serialization/resources/steps/resources/trace/client/index.js +37 -0
  195. package/dist/serialization/resources/steps/resources/trace/client/retrieve.d.ts +11 -0
  196. package/dist/serialization/resources/steps/resources/trace/client/retrieve.js +8 -0
  197. package/dist/serialization/resources/steps/resources/trace/index.d.ts +1 -0
  198. package/dist/serialization/resources/steps/resources/trace/index.js +17 -0
  199. package/dist/serialization/resources/tags/index.d.ts +1 -0
  200. package/dist/serialization/resources/tags/index.js +1 -0
  201. package/dist/serialization/resources/tags/types/TagsListRequestOrder.d.ts +10 -0
  202. package/dist/serialization/resources/tags/types/TagsListRequestOrder.js +41 -0
  203. package/dist/serialization/resources/tags/types/index.d.ts +1 -0
  204. package/dist/serialization/resources/tags/types/index.js +17 -0
  205. package/dist/version.d.ts +1 -1
  206. package/dist/version.js +1 -1
  207. package/package.json +1 -1
  208. package/reference.md +149 -72
  209. package/serialization/resources/batches/index.d.ts +1 -0
  210. package/serialization/resources/batches/index.js +1 -0
  211. package/serialization/resources/batches/types/BatchesListRequestOrder.d.ts +10 -0
  212. package/serialization/resources/batches/types/BatchesListRequestOrder.js +41 -0
  213. package/serialization/resources/batches/types/index.d.ts +1 -0
  214. package/serialization/resources/batches/types/index.js +17 -0
  215. package/serialization/resources/index.d.ts +4 -2
  216. package/serialization/resources/index.js +5 -3
  217. package/serialization/resources/steps/index.d.ts +1 -0
  218. package/serialization/resources/steps/index.js +1 -0
  219. package/serialization/resources/steps/resources/feedback/client/index.d.ts +1 -0
  220. package/serialization/resources/steps/resources/feedback/client/index.js +17 -0
  221. package/serialization/resources/steps/resources/feedback/client/requests/AddFeedbackRequest.d.ts +13 -0
  222. package/serialization/resources/steps/resources/feedback/client/requests/AddFeedbackRequest.js +44 -0
  223. package/serialization/resources/steps/resources/feedback/client/requests/index.d.ts +1 -0
  224. package/serialization/resources/steps/resources/feedback/client/requests/index.js +5 -0
  225. package/serialization/resources/steps/resources/feedback/index.d.ts +1 -0
  226. package/serialization/resources/steps/resources/feedback/index.js +17 -0
  227. package/serialization/resources/steps/resources/index.d.ts +3 -0
  228. package/serialization/resources/steps/resources/index.js +42 -0
  229. package/serialization/resources/steps/resources/trace/client/index.d.ts +1 -0
  230. package/serialization/resources/steps/resources/trace/client/index.js +37 -0
  231. package/serialization/resources/steps/resources/trace/client/retrieve.d.ts +11 -0
  232. package/serialization/resources/steps/resources/trace/client/retrieve.js +8 -0
  233. package/serialization/resources/steps/resources/trace/index.d.ts +1 -0
  234. package/serialization/resources/steps/resources/trace/index.js +17 -0
  235. package/serialization/resources/tags/index.d.ts +1 -0
  236. package/serialization/resources/tags/index.js +1 -0
  237. package/serialization/resources/tags/types/TagsListRequestOrder.d.ts +10 -0
  238. package/serialization/resources/tags/types/TagsListRequestOrder.js +41 -0
  239. package/serialization/resources/tags/types/index.d.ts +1 -0
  240. package/serialization/resources/tags/types/index.js +17 -0
  241. package/version.d.ts +1 -1
  242. package/version.js +1 -1
  243. /package/api/resources/{steps/resources/feedback/client/requests/FeedbackCreateRequest.js → batches/client/requests/BatchesListRequest.js} +0 -0
  244. /package/{dist/api/resources/steps/resources/feedback/client/requests/FeedbackCreateRequest.js → api/resources/steps/resources/feedback/client/requests/AddFeedbackRequest.js} +0 -0
@@ -1 +1 @@
1
- export { type FeedbackCreateRequest } from "./FeedbackCreateRequest";
1
+ export { type AddFeedbackRequest } from "./AddFeedbackRequest";
@@ -1,2 +1,4 @@
1
+ export * as metrics from "./metrics";
2
+ export * as trace from "./trace";
1
3
  export * as feedback from "./feedback";
2
4
  export * from "./feedback/client/requests";
@@ -36,6 +36,8 @@ 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.feedback = void 0;
39
+ exports.feedback = exports.trace = exports.metrics = void 0;
40
+ exports.metrics = __importStar(require("./metrics"));
41
+ exports.trace = __importStar(require("./trace"));
40
42
  exports.feedback = __importStar(require("./feedback"));
41
43
  __exportStar(require("./feedback/client/requests"), exports);
@@ -0,0 +1,49 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as environments from "../../../../../../environments";
5
+ import * as core from "../../../../../../core";
6
+ import * as Letta from "../../../../../index";
7
+ export declare namespace Metrics {
8
+ interface Options {
9
+ environment?: core.Supplier<environments.LettaEnvironment | string>;
10
+ /** Specify a custom URL to connect the client to. */
11
+ baseUrl?: core.Supplier<string>;
12
+ token?: core.Supplier<string | undefined>;
13
+ /** Override the X-Project header */
14
+ project?: core.Supplier<string | undefined>;
15
+ fetcher?: core.FetchFunction;
16
+ }
17
+ interface RequestOptions {
18
+ /** The maximum time to wait for a response in seconds. */
19
+ timeoutInSeconds?: number;
20
+ /** The number of times to retry the request. Defaults to 2. */
21
+ maxRetries?: number;
22
+ /** A hook to abort the request. */
23
+ abortSignal?: AbortSignal;
24
+ /** Override the X-Project header */
25
+ project?: string | undefined;
26
+ /** Additional headers to include in the request. */
27
+ headers?: Record<string, string>;
28
+ }
29
+ }
30
+ export declare class Metrics {
31
+ protected readonly _options: Metrics.Options;
32
+ constructor(_options?: Metrics.Options);
33
+ /**
34
+ * Get step metrics by step ID.
35
+ *
36
+ * @param {string} stepId
37
+ * @param {Metrics.RequestOptions} requestOptions - Request-specific configuration.
38
+ *
39
+ * @throws {@link Letta.UnprocessableEntityError}
40
+ *
41
+ * @example
42
+ * await client.steps.metrics.retrieve("step_id")
43
+ */
44
+ retrieve(stepId: string, requestOptions?: Metrics.RequestOptions): core.HttpResponsePromise<Letta.StepMetrics>;
45
+ private __retrieve;
46
+ protected _getCustomAuthorizationHeaders(): Promise<{
47
+ Authorization: string;
48
+ }>;
49
+ }
@@ -0,0 +1,145 @@
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
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
39
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
40
+ return new (P || (P = Promise))(function (resolve, reject) {
41
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
42
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
43
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
44
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
45
+ });
46
+ };
47
+ var __importDefault = (this && this.__importDefault) || function (mod) {
48
+ return (mod && mod.__esModule) ? mod : { "default": mod };
49
+ };
50
+ Object.defineProperty(exports, "__esModule", { value: true });
51
+ exports.Metrics = void 0;
52
+ const environments = __importStar(require("../../../../../../environments"));
53
+ const core = __importStar(require("../../../../../../core"));
54
+ const Letta = __importStar(require("../../../../../index"));
55
+ const url_join_1 = __importDefault(require("url-join"));
56
+ const serializers = __importStar(require("../../../../../../serialization/index"));
57
+ const errors = __importStar(require("../../../../../../errors/index"));
58
+ class Metrics {
59
+ constructor(_options = {}) {
60
+ this._options = _options;
61
+ }
62
+ /**
63
+ * Get step metrics by step ID.
64
+ *
65
+ * @param {string} stepId
66
+ * @param {Metrics.RequestOptions} requestOptions - Request-specific configuration.
67
+ *
68
+ * @throws {@link Letta.UnprocessableEntityError}
69
+ *
70
+ * @example
71
+ * await client.steps.metrics.retrieve("step_id")
72
+ */
73
+ retrieve(stepId, requestOptions) {
74
+ return core.HttpResponsePromise.fromPromise(this.__retrieve(stepId, requestOptions));
75
+ }
76
+ __retrieve(stepId, requestOptions) {
77
+ return __awaiter(this, void 0, void 0, function* () {
78
+ var _a, _b, _c;
79
+ const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
80
+ url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LettaEnvironment.LettaCloud, `v1/steps/${encodeURIComponent(stepId)}/metrics`),
81
+ method: "GET",
82
+ headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
83
+ ? yield core.Supplier.get(this._options.project)
84
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68643", "User-Agent": "@letta-ai/letta-client/0.0.68643", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
85
+ contentType: "application/json",
86
+ requestType: "json",
87
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
88
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
89
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
90
+ });
91
+ if (_response.ok) {
92
+ return {
93
+ data: serializers.StepMetrics.parseOrThrow(_response.body, {
94
+ unrecognizedObjectKeys: "passthrough",
95
+ allowUnrecognizedUnionMembers: true,
96
+ allowUnrecognizedEnumValues: true,
97
+ skipValidation: true,
98
+ breadcrumbsPrefix: ["response"],
99
+ }),
100
+ rawResponse: _response.rawResponse,
101
+ };
102
+ }
103
+ if (_response.error.reason === "status-code") {
104
+ switch (_response.error.statusCode) {
105
+ case 422:
106
+ throw new Letta.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
107
+ unrecognizedObjectKeys: "passthrough",
108
+ allowUnrecognizedUnionMembers: true,
109
+ allowUnrecognizedEnumValues: true,
110
+ skipValidation: true,
111
+ breadcrumbsPrefix: ["response"],
112
+ }), _response.rawResponse);
113
+ default:
114
+ throw new errors.LettaError({
115
+ statusCode: _response.error.statusCode,
116
+ body: _response.error.body,
117
+ rawResponse: _response.rawResponse,
118
+ });
119
+ }
120
+ }
121
+ switch (_response.error.reason) {
122
+ case "non-json":
123
+ throw new errors.LettaError({
124
+ statusCode: _response.error.statusCode,
125
+ body: _response.error.rawBody,
126
+ rawResponse: _response.rawResponse,
127
+ });
128
+ case "timeout":
129
+ throw new errors.LettaTimeoutError("Timeout exceeded when calling GET /v1/steps/{step_id}/metrics.");
130
+ case "unknown":
131
+ throw new errors.LettaError({
132
+ message: _response.error.errorMessage,
133
+ rawResponse: _response.rawResponse,
134
+ });
135
+ }
136
+ });
137
+ }
138
+ _getCustomAuthorizationHeaders() {
139
+ return __awaiter(this, void 0, void 0, function* () {
140
+ const tokenValue = yield core.Supplier.get(this._options.token);
141
+ return { Authorization: `Bearer ${tokenValue}` };
142
+ });
143
+ }
144
+ }
145
+ exports.Metrics = Metrics;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export * from "./client";
@@ -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("./client"), exports);
@@ -0,0 +1,47 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as environments from "../../../../../../environments";
5
+ import * as core from "../../../../../../core";
6
+ import * as Letta from "../../../../../index";
7
+ export declare namespace Trace {
8
+ interface Options {
9
+ environment?: core.Supplier<environments.LettaEnvironment | string>;
10
+ /** Specify a custom URL to connect the client to. */
11
+ baseUrl?: core.Supplier<string>;
12
+ token?: core.Supplier<string | undefined>;
13
+ /** Override the X-Project header */
14
+ project?: core.Supplier<string | undefined>;
15
+ fetcher?: core.FetchFunction;
16
+ }
17
+ interface RequestOptions {
18
+ /** The maximum time to wait for a response in seconds. */
19
+ timeoutInSeconds?: number;
20
+ /** The number of times to retry the request. Defaults to 2. */
21
+ maxRetries?: number;
22
+ /** A hook to abort the request. */
23
+ abortSignal?: AbortSignal;
24
+ /** Override the X-Project header */
25
+ project?: string | undefined;
26
+ /** Additional headers to include in the request. */
27
+ headers?: Record<string, string>;
28
+ }
29
+ }
30
+ export declare class Trace {
31
+ protected readonly _options: Trace.Options;
32
+ constructor(_options?: Trace.Options);
33
+ /**
34
+ * @param {string} stepId
35
+ * @param {Trace.RequestOptions} requestOptions - Request-specific configuration.
36
+ *
37
+ * @throws {@link Letta.UnprocessableEntityError}
38
+ *
39
+ * @example
40
+ * await client.steps.trace.retrieve("step_id")
41
+ */
42
+ retrieve(stepId: string, requestOptions?: Trace.RequestOptions): core.HttpResponsePromise<Letta.ProviderTrace | undefined>;
43
+ private __retrieve;
44
+ protected _getCustomAuthorizationHeaders(): Promise<{
45
+ Authorization: string;
46
+ }>;
47
+ }
@@ -0,0 +1,143 @@
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
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
39
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
40
+ return new (P || (P = Promise))(function (resolve, reject) {
41
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
42
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
43
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
44
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
45
+ });
46
+ };
47
+ var __importDefault = (this && this.__importDefault) || function (mod) {
48
+ return (mod && mod.__esModule) ? mod : { "default": mod };
49
+ };
50
+ Object.defineProperty(exports, "__esModule", { value: true });
51
+ exports.Trace = void 0;
52
+ const environments = __importStar(require("../../../../../../environments"));
53
+ const core = __importStar(require("../../../../../../core"));
54
+ const Letta = __importStar(require("../../../../../index"));
55
+ const url_join_1 = __importDefault(require("url-join"));
56
+ const serializers = __importStar(require("../../../../../../serialization/index"));
57
+ const errors = __importStar(require("../../../../../../errors/index"));
58
+ class Trace {
59
+ constructor(_options = {}) {
60
+ this._options = _options;
61
+ }
62
+ /**
63
+ * @param {string} stepId
64
+ * @param {Trace.RequestOptions} requestOptions - Request-specific configuration.
65
+ *
66
+ * @throws {@link Letta.UnprocessableEntityError}
67
+ *
68
+ * @example
69
+ * await client.steps.trace.retrieve("step_id")
70
+ */
71
+ retrieve(stepId, requestOptions) {
72
+ return core.HttpResponsePromise.fromPromise(this.__retrieve(stepId, requestOptions));
73
+ }
74
+ __retrieve(stepId, requestOptions) {
75
+ return __awaiter(this, void 0, void 0, function* () {
76
+ var _a, _b, _c;
77
+ const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
78
+ url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LettaEnvironment.LettaCloud, `v1/steps/${encodeURIComponent(stepId)}/trace`),
79
+ method: "GET",
80
+ headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
81
+ ? yield core.Supplier.get(this._options.project)
82
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68643", "User-Agent": "@letta-ai/letta-client/0.0.68643", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
83
+ contentType: "application/json",
84
+ requestType: "json",
85
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
86
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
87
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
88
+ });
89
+ if (_response.ok) {
90
+ return {
91
+ data: serializers.steps.trace.retrieve.Response.parseOrThrow(_response.body, {
92
+ unrecognizedObjectKeys: "passthrough",
93
+ allowUnrecognizedUnionMembers: true,
94
+ allowUnrecognizedEnumValues: true,
95
+ skipValidation: true,
96
+ breadcrumbsPrefix: ["response"],
97
+ }),
98
+ rawResponse: _response.rawResponse,
99
+ };
100
+ }
101
+ if (_response.error.reason === "status-code") {
102
+ switch (_response.error.statusCode) {
103
+ case 422:
104
+ throw new Letta.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
105
+ unrecognizedObjectKeys: "passthrough",
106
+ allowUnrecognizedUnionMembers: true,
107
+ allowUnrecognizedEnumValues: true,
108
+ skipValidation: true,
109
+ breadcrumbsPrefix: ["response"],
110
+ }), _response.rawResponse);
111
+ default:
112
+ throw new errors.LettaError({
113
+ statusCode: _response.error.statusCode,
114
+ body: _response.error.body,
115
+ rawResponse: _response.rawResponse,
116
+ });
117
+ }
118
+ }
119
+ switch (_response.error.reason) {
120
+ case "non-json":
121
+ throw new errors.LettaError({
122
+ statusCode: _response.error.statusCode,
123
+ body: _response.error.rawBody,
124
+ rawResponse: _response.rawResponse,
125
+ });
126
+ case "timeout":
127
+ throw new errors.LettaTimeoutError("Timeout exceeded when calling GET /v1/steps/{step_id}/trace.");
128
+ case "unknown":
129
+ throw new errors.LettaError({
130
+ message: _response.error.errorMessage,
131
+ rawResponse: _response.rawResponse,
132
+ });
133
+ }
134
+ });
135
+ }
136
+ _getCustomAuthorizationHeaders() {
137
+ return __awaiter(this, void 0, void 0, function* () {
138
+ const tokenValue = yield core.Supplier.get(this._options.token);
139
+ return { Authorization: `Bearer ${tokenValue}` };
140
+ });
141
+ }
142
+ }
143
+ exports.Trace = Trace;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export * from "./client";
@@ -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("./client"), exports);
@@ -31,7 +31,7 @@ export declare class Tags {
31
31
  protected readonly _options: Tags.Options;
32
32
  constructor(_options?: Tags.Options);
33
33
  /**
34
- * Get a list of all tags in the database
34
+ * Get a list of all agent tags in the database.
35
35
  *
36
36
  * @param {Letta.TagsListRequest} request
37
37
  * @param {Tags.RequestOptions} requestOptions - Request-specific configuration.
@@ -52,15 +52,15 @@ exports.Tags = void 0;
52
52
  const environments = __importStar(require("../../../../environments"));
53
53
  const core = __importStar(require("../../../../core"));
54
54
  const Letta = __importStar(require("../../../index"));
55
- const url_join_1 = __importDefault(require("url-join"));
56
55
  const serializers = __importStar(require("../../../../serialization/index"));
56
+ const url_join_1 = __importDefault(require("url-join"));
57
57
  const errors = __importStar(require("../../../../errors/index"));
58
58
  class Tags {
59
59
  constructor(_options = {}) {
60
60
  this._options = _options;
61
61
  }
62
62
  /**
63
- * Get a list of all tags in the database
63
+ * Get a list of all agent tags in the database.
64
64
  *
65
65
  * @param {Letta.TagsListRequest} request
66
66
  * @param {Tags.RequestOptions} requestOptions - Request-specific configuration.
@@ -76,14 +76,25 @@ class Tags {
76
76
  __list() {
77
77
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
78
78
  var _a, _b, _c;
79
- const { after, limit, queryText } = request;
79
+ const { before, after, limit, order, orderBy, queryText } = request;
80
80
  const _queryParams = {};
81
+ if (before != null) {
82
+ _queryParams["before"] = before;
83
+ }
81
84
  if (after != null) {
82
85
  _queryParams["after"] = after;
83
86
  }
84
87
  if (limit != null) {
85
88
  _queryParams["limit"] = limit.toString();
86
89
  }
90
+ if (order != null) {
91
+ _queryParams["order"] = serializers.TagsListRequestOrder.jsonOrThrow(order, {
92
+ unrecognizedObjectKeys: "strip",
93
+ });
94
+ }
95
+ if (orderBy != null) {
96
+ _queryParams["order_by"] = orderBy;
97
+ }
87
98
  if (queryText != null) {
88
99
  _queryParams["query_text"] = queryText;
89
100
  }
@@ -92,7 +103,7 @@ class Tags {
92
103
  method: "GET",
93
104
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
94
105
  ? yield core.Supplier.get(this._options.project)
95
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68641", "User-Agent": "@letta-ai/letta-client/0.0.68641", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
106
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68643", "User-Agent": "@letta-ai/letta-client/0.0.68643", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
96
107
  contentType: "application/json",
97
108
  queryParameters: _queryParams,
98
109
  requestType: "json",
@@ -1,12 +1,34 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ import * as Letta from "../../../../index";
4
5
  /**
5
6
  * @example
6
7
  * {}
7
8
  */
8
9
  export interface TagsListRequest {
10
+ /**
11
+ * Tag cursor for pagination. Returns tags that come before this tag in the specified sort order
12
+ */
13
+ before?: string;
14
+ /**
15
+ * Tag cursor for pagination. Returns tags that come after this tag in the specified sort order
16
+ */
9
17
  after?: string;
18
+ /**
19
+ * Maximum number of tags to return
20
+ */
10
21
  limit?: number;
22
+ /**
23
+ * Sort order for tags. 'asc' for alphabetical order, 'desc' for reverse alphabetical order
24
+ */
25
+ order?: Letta.TagsListRequestOrder;
26
+ /**
27
+ * Field to sort by
28
+ */
29
+ orderBy?: "name";
30
+ /**
31
+ * Filter tags by text search
32
+ */
11
33
  queryText?: string;
12
34
  }
@@ -1 +1,2 @@
1
+ export * from "./types";
1
2
  export * from "./client";
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types"), exports);
17
18
  __exportStar(require("./client"), exports);
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Sort order for tags. 'asc' for alphabetical order, 'desc' for reverse alphabetical order
6
+ */
7
+ export type TagsListRequestOrder = "asc" | "desc";
8
+ export declare const TagsListRequestOrder: {
9
+ readonly Asc: "asc";
10
+ readonly Desc: "desc";
11
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.TagsListRequestOrder = void 0;
7
+ exports.TagsListRequestOrder = {
8
+ Asc: "asc",
9
+ Desc: "desc",
10
+ };
@@ -0,0 +1 @@
1
+ export * from "./TagsListRequestOrder";
@@ -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("./TagsListRequestOrder"), exports);
@@ -79,7 +79,7 @@ class Telemetry {
79
79
  method: "GET",
80
80
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
81
81
  ? yield core.Supplier.get(this._options.project)
82
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68641", "User-Agent": "@letta-ai/letta-client/0.0.68641", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
82
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68643", "User-Agent": "@letta-ai/letta-client/0.0.68643", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
83
83
  contentType: "application/json",
84
84
  requestType: "json",
85
85
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,