@letta-ai/letta-client 0.1.175 → 0.1.177

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 (434) hide show
  1. package/api/resources/agents/client/Client.d.ts +9 -3
  2. package/api/resources/agents/client/Client.js +31 -16
  3. package/api/resources/agents/client/requests/AgentsExportFileRequest.d.ts +14 -0
  4. package/api/resources/agents/client/requests/index.d.ts +1 -0
  5. package/api/resources/agents/resources/blocks/client/Client.js +5 -5
  6. package/api/resources/agents/resources/context/client/Client.js +1 -1
  7. package/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  8. package/api/resources/agents/resources/files/client/Client.js +3 -3
  9. package/api/resources/agents/resources/folders/client/Client.js +3 -3
  10. package/api/resources/agents/resources/groups/client/Client.js +1 -1
  11. package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  12. package/api/resources/agents/resources/messages/client/Client.d.ts +5 -3
  13. package/api/resources/agents/resources/messages/client/Client.js +13 -15
  14. package/api/resources/agents/resources/messages/client/requests/CancelAgentRunRequest.d.ts +15 -0
  15. package/api/resources/agents/resources/messages/client/requests/index.d.ts +1 -0
  16. package/api/resources/agents/resources/passages/client/Client.js +4 -4
  17. package/api/resources/agents/resources/sources/client/Client.js +3 -3
  18. package/api/resources/agents/resources/templates/client/Client.js +3 -3
  19. package/api/resources/agents/resources/templates/client/requests/TemplatesCreateVersionRequest.d.ts +2 -0
  20. package/api/resources/agents/resources/templates/client/requests/TemplatesMigrateRequest.d.ts +2 -0
  21. package/api/resources/agents/resources/tools/client/Client.js +3 -3
  22. package/api/resources/batches/client/Client.js +4 -4
  23. package/api/resources/blocks/client/Client.js +6 -6
  24. package/api/resources/blocks/resources/agents/client/Client.js +1 -1
  25. package/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  26. package/api/resources/embeddingModels/client/Client.js +1 -1
  27. package/api/resources/folders/client/Client.js +9 -9
  28. package/api/resources/folders/resources/files/client/Client.js +3 -3
  29. package/api/resources/folders/resources/passages/client/Client.js +1 -1
  30. package/api/resources/groups/client/Client.js +6 -6
  31. package/api/resources/groups/resources/messages/client/Client.js +5 -5
  32. package/api/resources/health/client/Client.js +1 -1
  33. package/api/resources/identities/client/Client.js +7 -7
  34. package/api/resources/identities/resources/properties/client/Client.js +1 -1
  35. package/api/resources/jobs/client/Client.js +5 -5
  36. package/api/resources/messages/client/Client.js +1 -1
  37. package/api/resources/models/client/Client.js +1 -1
  38. package/api/resources/projects/client/Client.js +1 -1
  39. package/api/resources/providers/client/Client.d.ts +15 -3
  40. package/api/resources/providers/client/Client.js +64 -8
  41. package/{dist/api/types → api/resources/providers/client/requests}/ProviderCheck.d.ts +12 -1
  42. package/api/resources/providers/client/requests/ProviderCreate.d.ts +4 -0
  43. package/api/resources/providers/client/requests/ProviderUpdate.d.ts +4 -0
  44. package/api/resources/providers/client/requests/index.d.ts +1 -0
  45. package/api/resources/runs/client/Client.js +4 -4
  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 +13 -0
  53. package/api/resources/steps/client/Client.js +78 -2
  54. package/api/resources/steps/resources/feedback/client/Client.js +1 -1
  55. package/api/resources/tags/client/Client.js +1 -1
  56. package/api/resources/telemetry/client/Client.js +1 -1
  57. package/api/resources/templates/client/Client.js +1 -1
  58. package/api/resources/templates/resources/agents/client/Client.js +1 -1
  59. package/api/resources/templates/types/TemplatesListResponseTemplatesItem.d.ts +4 -0
  60. package/api/resources/tools/client/Client.d.ts +1 -1
  61. package/api/resources/tools/client/Client.js +21 -21
  62. package/api/resources/voice/client/Client.js +1 -1
  63. package/api/types/AgentFileSchema.d.ts +27 -0
  64. package/api/types/BlockSchema.d.ts +29 -0
  65. package/api/types/BodyExportAgentSerialized.d.ts +8 -0
  66. package/api/types/CompletionCreateParamsNonStreaming.d.ts +2 -0
  67. package/api/types/CompletionCreateParamsStreaming.d.ts +2 -0
  68. package/api/types/EmbeddingConfigEmbeddingEndpointType.d.ts +1 -2
  69. package/api/types/EmbeddingConfigEmbeddingEndpointType.js +0 -1
  70. package/api/types/FileAgentSchema.d.ts +28 -0
  71. package/api/types/FileSchema.d.ts +37 -0
  72. package/api/types/GroupSchema.d.ts +21 -0
  73. package/api/types/GroupSchemaManagerConfig.d.ts +8 -0
  74. package/api/types/ImportedAgentsResponse.d.ts +10 -0
  75. package/api/types/ImportedAgentsResponse.js +5 -0
  76. package/api/types/LettaSchemasAgentFileAgentSchema.d.ts +105 -0
  77. package/api/types/LettaSchemasAgentFileAgentSchema.js +5 -0
  78. package/api/types/LettaSchemasAgentFileAgentSchemaResponseFormat.d.ts +5 -0
  79. package/api/types/LettaSchemasAgentFileAgentSchemaResponseFormat.js +5 -0
  80. package/api/types/LettaSchemasAgentFileAgentSchemaToolRulesItem.d.ts +5 -0
  81. package/api/types/LettaSchemasAgentFileAgentSchemaToolRulesItem.js +5 -0
  82. package/api/types/LettaSchemasAgentFileMessageSchema.d.ts +29 -0
  83. package/api/types/LettaSchemasAgentFileMessageSchema.js +5 -0
  84. package/api/types/LettaSchemasAgentFileMessageSchemaContent.d.ts +8 -0
  85. package/api/types/LettaSchemasAgentFileMessageSchemaContent.js +5 -0
  86. package/api/types/LettaSchemasAgentFileToolSchema.d.ts +39 -0
  87. package/api/types/LettaSchemasAgentFileToolSchema.js +5 -0
  88. package/api/types/{AgentSchema.d.ts → LettaSerializeSchemasPydanticAgentSchemaAgentSchema.d.ts} +4 -4
  89. package/api/types/LettaSerializeSchemasPydanticAgentSchemaAgentSchema.js +5 -0
  90. package/api/types/LettaSerializeSchemasPydanticAgentSchemaAgentSchemaToolRulesItem.d.ts +5 -0
  91. package/api/types/LettaSerializeSchemasPydanticAgentSchemaAgentSchemaToolRulesItem.js +5 -0
  92. package/api/types/{MessageSchema.d.ts → LettaSerializeSchemasPydanticAgentSchemaMessageSchema.d.ts} +1 -1
  93. package/api/types/LettaSerializeSchemasPydanticAgentSchemaMessageSchema.js +5 -0
  94. package/api/types/{ToolSchema.d.ts → LettaSerializeSchemasPydanticAgentSchemaToolSchema.d.ts} +1 -1
  95. package/api/types/LettaSerializeSchemasPydanticAgentSchemaToolSchema.js +5 -0
  96. package/api/types/LlmConfig.d.ts +1 -1
  97. package/api/types/LlmConfigModelEndpointType.d.ts +1 -2
  98. package/api/types/LlmConfigModelEndpointType.js +0 -1
  99. package/api/types/LlmConfigReasoningEffort.d.ts +2 -1
  100. package/api/types/LlmConfigReasoningEffort.js +1 -0
  101. package/api/types/McpServerSchema.d.ts +15 -0
  102. package/api/types/McpServerSchema.js +5 -0
  103. package/api/types/McpToolExecuteRequest.d.ts +7 -0
  104. package/api/types/McpToolExecuteRequest.js +5 -0
  105. package/api/types/Provider.d.ts +2 -0
  106. package/api/types/ProviderType.d.ts +1 -2
  107. package/api/types/ProviderType.js +0 -1
  108. package/api/types/SourceSchema.d.ts +25 -0
  109. package/api/types/SourceSchema.js +5 -0
  110. package/api/types/Step.d.ts +6 -0
  111. package/api/types/StepMetrics.d.ts +25 -0
  112. package/api/types/StepMetrics.js +5 -0
  113. package/api/types/StepStatus.d.ts +13 -0
  114. package/api/types/StepStatus.js +12 -0
  115. package/api/types/index.d.ts +23 -5
  116. package/api/types/index.js +23 -5
  117. package/dist/api/resources/agents/client/Client.d.ts +9 -3
  118. package/dist/api/resources/agents/client/Client.js +31 -16
  119. package/dist/api/resources/agents/client/requests/AgentsExportFileRequest.d.ts +14 -0
  120. package/dist/api/resources/agents/client/requests/AgentsExportFileRequest.js +5 -0
  121. package/dist/api/resources/agents/client/requests/index.d.ts +1 -0
  122. package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
  123. package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
  124. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  125. package/dist/api/resources/agents/resources/files/client/Client.js +3 -3
  126. package/dist/api/resources/agents/resources/folders/client/Client.js +3 -3
  127. package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
  128. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  129. package/dist/api/resources/agents/resources/messages/client/Client.d.ts +5 -3
  130. package/dist/api/resources/agents/resources/messages/client/Client.js +13 -15
  131. package/dist/api/resources/agents/resources/messages/client/requests/CancelAgentRunRequest.d.ts +15 -0
  132. package/dist/api/resources/agents/resources/messages/client/requests/CancelAgentRunRequest.js +5 -0
  133. package/dist/api/resources/agents/resources/messages/client/requests/index.d.ts +1 -0
  134. package/dist/api/resources/agents/resources/passages/client/Client.js +4 -4
  135. package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
  136. package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
  137. package/dist/api/resources/agents/resources/templates/client/requests/TemplatesCreateVersionRequest.d.ts +2 -0
  138. package/dist/api/resources/agents/resources/templates/client/requests/TemplatesMigrateRequest.d.ts +2 -0
  139. package/dist/api/resources/agents/resources/tools/client/Client.js +3 -3
  140. package/dist/api/resources/batches/client/Client.js +4 -4
  141. package/dist/api/resources/blocks/client/Client.js +6 -6
  142. package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
  143. package/dist/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  144. package/dist/api/resources/embeddingModels/client/Client.js +1 -1
  145. package/dist/api/resources/folders/client/Client.js +9 -9
  146. package/dist/api/resources/folders/resources/files/client/Client.js +3 -3
  147. package/dist/api/resources/folders/resources/passages/client/Client.js +1 -1
  148. package/dist/api/resources/groups/client/Client.js +6 -6
  149. package/dist/api/resources/groups/resources/messages/client/Client.js +5 -5
  150. package/dist/api/resources/health/client/Client.js +1 -1
  151. package/dist/api/resources/identities/client/Client.js +7 -7
  152. package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
  153. package/dist/api/resources/jobs/client/Client.js +5 -5
  154. package/dist/api/resources/messages/client/Client.js +1 -1
  155. package/dist/api/resources/models/client/Client.js +1 -1
  156. package/dist/api/resources/projects/client/Client.js +1 -1
  157. package/dist/api/resources/providers/client/Client.d.ts +15 -3
  158. package/dist/api/resources/providers/client/Client.js +64 -8
  159. package/{api/types → dist/api/resources/providers/client/requests}/ProviderCheck.d.ts +12 -1
  160. package/dist/api/resources/providers/client/requests/ProviderCheck.js +5 -0
  161. package/dist/api/resources/providers/client/requests/ProviderCreate.d.ts +4 -0
  162. package/dist/api/resources/providers/client/requests/ProviderUpdate.d.ts +4 -0
  163. package/dist/api/resources/providers/client/requests/index.d.ts +1 -0
  164. package/dist/api/resources/runs/client/Client.js +4 -4
  165. package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
  166. package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
  167. package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
  168. package/dist/api/resources/sources/client/Client.js +10 -10
  169. package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
  170. package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
  171. package/dist/api/resources/steps/client/Client.d.ts +13 -0
  172. package/dist/api/resources/steps/client/Client.js +78 -2
  173. package/dist/api/resources/steps/resources/feedback/client/Client.js +1 -1
  174. package/dist/api/resources/tags/client/Client.js +1 -1
  175. package/dist/api/resources/telemetry/client/Client.js +1 -1
  176. package/dist/api/resources/templates/client/Client.js +1 -1
  177. package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
  178. package/dist/api/resources/templates/types/TemplatesListResponseTemplatesItem.d.ts +4 -0
  179. package/dist/api/resources/tools/client/Client.d.ts +1 -1
  180. package/dist/api/resources/tools/client/Client.js +21 -21
  181. package/dist/api/resources/voice/client/Client.js +1 -1
  182. package/dist/api/types/AgentFileSchema.d.ts +27 -0
  183. package/dist/api/types/AgentFileSchema.js +5 -0
  184. package/dist/api/types/BlockSchema.d.ts +29 -0
  185. package/dist/api/types/BlockSchema.js +5 -0
  186. package/dist/api/types/BodyExportAgentSerialized.d.ts +8 -0
  187. package/dist/api/types/BodyExportAgentSerialized.js +5 -0
  188. package/dist/api/types/CompletionCreateParamsNonStreaming.d.ts +2 -0
  189. package/dist/api/types/CompletionCreateParamsStreaming.d.ts +2 -0
  190. package/dist/api/types/EmbeddingConfigEmbeddingEndpointType.d.ts +1 -2
  191. package/dist/api/types/EmbeddingConfigEmbeddingEndpointType.js +0 -1
  192. package/dist/api/types/FileAgentSchema.d.ts +28 -0
  193. package/dist/api/types/FileAgentSchema.js +5 -0
  194. package/dist/api/types/FileSchema.d.ts +37 -0
  195. package/dist/api/types/FileSchema.js +5 -0
  196. package/dist/api/types/GroupSchema.d.ts +21 -0
  197. package/dist/api/types/GroupSchema.js +5 -0
  198. package/dist/api/types/GroupSchemaManagerConfig.d.ts +8 -0
  199. package/dist/api/types/GroupSchemaManagerConfig.js +5 -0
  200. package/dist/api/types/ImportedAgentsResponse.d.ts +10 -0
  201. package/dist/api/types/ImportedAgentsResponse.js +5 -0
  202. package/dist/api/types/LettaSchemasAgentFileAgentSchema.d.ts +105 -0
  203. package/dist/api/types/LettaSchemasAgentFileAgentSchema.js +5 -0
  204. package/dist/api/types/LettaSchemasAgentFileAgentSchemaResponseFormat.d.ts +5 -0
  205. package/dist/api/types/LettaSchemasAgentFileAgentSchemaResponseFormat.js +5 -0
  206. package/dist/api/types/LettaSchemasAgentFileAgentSchemaToolRulesItem.d.ts +5 -0
  207. package/dist/api/types/LettaSchemasAgentFileAgentSchemaToolRulesItem.js +5 -0
  208. package/dist/api/types/LettaSchemasAgentFileMessageSchema.d.ts +29 -0
  209. package/dist/api/types/LettaSchemasAgentFileMessageSchema.js +5 -0
  210. package/dist/api/types/LettaSchemasAgentFileMessageSchemaContent.d.ts +8 -0
  211. package/dist/api/types/LettaSchemasAgentFileMessageSchemaContent.js +5 -0
  212. package/dist/api/types/LettaSchemasAgentFileToolSchema.d.ts +39 -0
  213. package/dist/api/types/LettaSchemasAgentFileToolSchema.js +5 -0
  214. package/dist/api/types/{AgentSchema.d.ts → LettaSerializeSchemasPydanticAgentSchemaAgentSchema.d.ts} +4 -4
  215. package/dist/api/types/LettaSerializeSchemasPydanticAgentSchemaAgentSchema.js +5 -0
  216. package/dist/api/types/LettaSerializeSchemasPydanticAgentSchemaAgentSchemaToolRulesItem.d.ts +5 -0
  217. package/dist/api/types/LettaSerializeSchemasPydanticAgentSchemaAgentSchemaToolRulesItem.js +5 -0
  218. package/dist/api/types/{MessageSchema.d.ts → LettaSerializeSchemasPydanticAgentSchemaMessageSchema.d.ts} +1 -1
  219. package/dist/api/types/LettaSerializeSchemasPydanticAgentSchemaMessageSchema.js +5 -0
  220. package/dist/api/types/{ToolSchema.d.ts → LettaSerializeSchemasPydanticAgentSchemaToolSchema.d.ts} +1 -1
  221. package/dist/api/types/LettaSerializeSchemasPydanticAgentSchemaToolSchema.js +5 -0
  222. package/dist/api/types/LlmConfig.d.ts +1 -1
  223. package/dist/api/types/LlmConfigModelEndpointType.d.ts +1 -2
  224. package/dist/api/types/LlmConfigModelEndpointType.js +0 -1
  225. package/dist/api/types/LlmConfigReasoningEffort.d.ts +2 -1
  226. package/dist/api/types/LlmConfigReasoningEffort.js +1 -0
  227. package/dist/api/types/McpServerSchema.d.ts +15 -0
  228. package/dist/api/types/McpServerSchema.js +5 -0
  229. package/dist/api/types/McpToolExecuteRequest.d.ts +7 -0
  230. package/dist/api/types/McpToolExecuteRequest.js +5 -0
  231. package/dist/api/types/Provider.d.ts +2 -0
  232. package/dist/api/types/ProviderType.d.ts +1 -2
  233. package/dist/api/types/ProviderType.js +0 -1
  234. package/dist/api/types/SourceSchema.d.ts +25 -0
  235. package/dist/api/types/SourceSchema.js +5 -0
  236. package/dist/api/types/Step.d.ts +6 -0
  237. package/dist/api/types/StepMetrics.d.ts +25 -0
  238. package/dist/api/types/StepMetrics.js +5 -0
  239. package/dist/api/types/StepStatus.d.ts +13 -0
  240. package/dist/api/types/StepStatus.js +12 -0
  241. package/dist/api/types/index.d.ts +23 -5
  242. package/dist/api/types/index.js +23 -5
  243. package/dist/serialization/resources/agents/resources/messages/client/cancel.d.ts +0 -4
  244. package/dist/serialization/resources/agents/resources/messages/client/cancel.js +1 -2
  245. package/dist/serialization/resources/agents/resources/messages/client/requests/CancelAgentRunRequest.d.ts +13 -0
  246. package/dist/serialization/resources/agents/resources/messages/client/requests/CancelAgentRunRequest.js +44 -0
  247. package/dist/serialization/resources/agents/resources/messages/client/requests/index.d.ts +1 -0
  248. package/dist/serialization/resources/agents/resources/messages/client/requests/index.js +3 -1
  249. package/dist/serialization/resources/agents/resources/templates/client/requests/TemplatesCreateVersionRequest.d.ts +1 -0
  250. package/dist/serialization/resources/agents/resources/templates/client/requests/TemplatesCreateVersionRequest.js +1 -0
  251. package/dist/serialization/resources/agents/resources/templates/client/requests/TemplatesMigrateRequest.d.ts +1 -0
  252. package/dist/serialization/resources/agents/resources/templates/client/requests/TemplatesMigrateRequest.js +1 -0
  253. package/dist/serialization/resources/providers/client/requests/ProviderCheck.d.ts +18 -0
  254. package/{serialization/types → dist/serialization/resources/providers/client/requests}/ProviderCheck.js +4 -2
  255. package/dist/serialization/resources/providers/client/requests/ProviderCreate.d.ts +2 -0
  256. package/dist/serialization/resources/providers/client/requests/ProviderCreate.js +2 -0
  257. package/dist/serialization/resources/providers/client/requests/ProviderUpdate.d.ts +2 -0
  258. package/dist/serialization/resources/providers/client/requests/ProviderUpdate.js +2 -0
  259. package/dist/serialization/resources/providers/client/requests/index.d.ts +1 -0
  260. package/dist/serialization/resources/providers/client/requests/index.js +3 -1
  261. package/dist/serialization/resources/templates/types/TemplatesListResponse.d.ts +1 -1
  262. package/dist/serialization/resources/templates/types/TemplatesListResponse.js +1 -1
  263. package/dist/serialization/resources/templates/types/TemplatesListResponseTemplatesItem.d.ts +3 -0
  264. package/dist/serialization/resources/templates/types/TemplatesListResponseTemplatesItem.js +3 -0
  265. package/dist/serialization/types/AgentFileSchema.d.ts +27 -0
  266. package/dist/serialization/types/AgentFileSchema.js +58 -0
  267. package/dist/serialization/types/BlockSchema.d.ts +22 -0
  268. package/dist/serialization/types/BlockSchema.js +53 -0
  269. package/dist/serialization/types/BodyExportAgentSerialized.d.ts +15 -0
  270. package/dist/serialization/types/BodyExportAgentSerialized.js +46 -0
  271. package/dist/serialization/types/CompletionCreateParamsNonStreaming.d.ts +2 -0
  272. package/dist/serialization/types/CompletionCreateParamsNonStreaming.js +2 -0
  273. package/dist/serialization/types/CompletionCreateParamsStreaming.d.ts +2 -0
  274. package/dist/serialization/types/CompletionCreateParamsStreaming.js +2 -0
  275. package/dist/serialization/types/EmbeddingConfigEmbeddingEndpointType.d.ts +1 -1
  276. package/dist/serialization/types/EmbeddingConfigEmbeddingEndpointType.js +0 -1
  277. package/dist/serialization/types/FileAgentSchema.d.ts +21 -0
  278. package/dist/serialization/types/FileAgentSchema.js +52 -0
  279. package/dist/serialization/types/FileSchema.d.ts +26 -0
  280. package/dist/serialization/types/FileSchema.js +57 -0
  281. package/dist/serialization/types/GroupSchema.d.ts +18 -0
  282. package/dist/serialization/types/GroupSchema.js +49 -0
  283. package/dist/serialization/types/GroupSchemaManagerConfig.d.ts +15 -0
  284. package/dist/serialization/types/GroupSchemaManagerConfig.js +52 -0
  285. package/dist/serialization/types/ImportedAgentsResponse.d.ts +12 -0
  286. package/dist/serialization/types/ImportedAgentsResponse.js +43 -0
  287. package/dist/serialization/types/LettaSchemasAgentFileAgentSchema.d.ts +68 -0
  288. package/dist/serialization/types/LettaSchemasAgentFileAgentSchema.js +99 -0
  289. package/dist/serialization/types/LettaSchemasAgentFileAgentSchemaResponseFormat.d.ts +13 -0
  290. package/dist/serialization/types/LettaSchemasAgentFileAgentSchemaResponseFormat.js +44 -0
  291. package/dist/serialization/types/LettaSchemasAgentFileAgentSchemaToolRulesItem.d.ts +18 -0
  292. package/dist/serialization/types/LettaSchemasAgentFileAgentSchemaToolRulesItem.js +58 -0
  293. package/dist/serialization/types/LettaSchemasAgentFileMessageSchema.d.ts +23 -0
  294. package/dist/serialization/types/LettaSchemasAgentFileMessageSchema.js +54 -0
  295. package/dist/serialization/types/LettaSchemasAgentFileMessageSchemaContent.d.ts +11 -0
  296. package/dist/serialization/types/LettaSchemasAgentFileMessageSchemaContent.js +45 -0
  297. package/dist/serialization/types/LettaSchemasAgentFileToolSchema.d.ts +29 -0
  298. package/dist/serialization/types/LettaSchemasAgentFileToolSchema.js +60 -0
  299. package/dist/serialization/types/{AgentSchema.d.ts → LettaSerializeSchemasPydanticAgentSchemaAgentSchema.d.ts} +8 -8
  300. package/dist/serialization/types/{AgentSchema.js → LettaSerializeSchemasPydanticAgentSchemaAgentSchema.js} +8 -8
  301. package/{serialization/types/AgentSchemaToolRulesItem.d.ts → dist/serialization/types/LettaSerializeSchemasPydanticAgentSchemaAgentSchemaToolRulesItem.d.ts} +2 -2
  302. package/{serialization/types/AgentSchemaToolRulesItem.js → dist/serialization/types/LettaSerializeSchemasPydanticAgentSchemaAgentSchemaToolRulesItem.js} +2 -2
  303. package/dist/serialization/types/{MessageSchema.d.ts → LettaSerializeSchemasPydanticAgentSchemaMessageSchema.d.ts} +2 -2
  304. package/{serialization/types/MessageSchema.js → dist/serialization/types/LettaSerializeSchemasPydanticAgentSchemaMessageSchema.js} +2 -2
  305. package/{serialization/types/ToolSchema.d.ts → dist/serialization/types/LettaSerializeSchemasPydanticAgentSchemaToolSchema.d.ts} +2 -2
  306. package/{serialization/types/ToolSchema.js → dist/serialization/types/LettaSerializeSchemasPydanticAgentSchemaToolSchema.js} +2 -2
  307. package/dist/serialization/types/LlmConfigModelEndpointType.d.ts +1 -1
  308. package/dist/serialization/types/LlmConfigModelEndpointType.js +0 -1
  309. package/dist/serialization/types/LlmConfigReasoningEffort.d.ts +1 -1
  310. package/dist/serialization/types/LlmConfigReasoningEffort.js +1 -1
  311. package/dist/serialization/types/McpServerSchema.d.ts +17 -0
  312. package/dist/serialization/types/McpServerSchema.js +48 -0
  313. package/dist/serialization/types/McpToolExecuteRequest.d.ts +12 -0
  314. package/dist/serialization/types/McpToolExecuteRequest.js +43 -0
  315. package/dist/serialization/types/Provider.d.ts +1 -0
  316. package/dist/serialization/types/Provider.js +1 -0
  317. package/dist/serialization/types/ProviderType.d.ts +1 -1
  318. package/dist/serialization/types/ProviderType.js +0 -1
  319. package/dist/serialization/types/SourceSchema.d.ts +20 -0
  320. package/dist/serialization/types/SourceSchema.js +51 -0
  321. package/dist/serialization/types/Step.d.ts +4 -0
  322. package/dist/serialization/types/Step.js +4 -0
  323. package/dist/serialization/types/StepMetrics.d.ts +21 -0
  324. package/dist/serialization/types/StepMetrics.js +52 -0
  325. package/dist/serialization/types/StepStatus.d.ts +10 -0
  326. package/dist/serialization/types/StepStatus.js +41 -0
  327. package/dist/serialization/types/index.d.ts +23 -5
  328. package/dist/serialization/types/index.js +23 -5
  329. package/dist/version.d.ts +1 -1
  330. package/dist/version.js +1 -1
  331. package/package.json +1 -1
  332. package/reference.md +140 -11
  333. package/serialization/resources/agents/resources/messages/client/cancel.d.ts +0 -4
  334. package/serialization/resources/agents/resources/messages/client/cancel.js +1 -2
  335. package/serialization/resources/agents/resources/messages/client/requests/CancelAgentRunRequest.d.ts +13 -0
  336. package/serialization/resources/agents/resources/messages/client/requests/CancelAgentRunRequest.js +44 -0
  337. package/serialization/resources/agents/resources/messages/client/requests/index.d.ts +1 -0
  338. package/serialization/resources/agents/resources/messages/client/requests/index.js +3 -1
  339. package/serialization/resources/agents/resources/templates/client/requests/TemplatesCreateVersionRequest.d.ts +1 -0
  340. package/serialization/resources/agents/resources/templates/client/requests/TemplatesCreateVersionRequest.js +1 -0
  341. package/serialization/resources/agents/resources/templates/client/requests/TemplatesMigrateRequest.d.ts +1 -0
  342. package/serialization/resources/agents/resources/templates/client/requests/TemplatesMigrateRequest.js +1 -0
  343. package/serialization/resources/providers/client/requests/ProviderCheck.d.ts +18 -0
  344. package/{dist/serialization/types → serialization/resources/providers/client/requests}/ProviderCheck.js +4 -2
  345. package/serialization/resources/providers/client/requests/ProviderCreate.d.ts +2 -0
  346. package/serialization/resources/providers/client/requests/ProviderCreate.js +2 -0
  347. package/serialization/resources/providers/client/requests/ProviderUpdate.d.ts +2 -0
  348. package/serialization/resources/providers/client/requests/ProviderUpdate.js +2 -0
  349. package/serialization/resources/providers/client/requests/index.d.ts +1 -0
  350. package/serialization/resources/providers/client/requests/index.js +3 -1
  351. package/serialization/resources/templates/types/TemplatesListResponse.d.ts +1 -1
  352. package/serialization/resources/templates/types/TemplatesListResponse.js +1 -1
  353. package/serialization/resources/templates/types/TemplatesListResponseTemplatesItem.d.ts +3 -0
  354. package/serialization/resources/templates/types/TemplatesListResponseTemplatesItem.js +3 -0
  355. package/serialization/types/AgentFileSchema.d.ts +27 -0
  356. package/serialization/types/AgentFileSchema.js +58 -0
  357. package/serialization/types/BlockSchema.d.ts +22 -0
  358. package/serialization/types/BlockSchema.js +53 -0
  359. package/serialization/types/BodyExportAgentSerialized.d.ts +15 -0
  360. package/serialization/types/BodyExportAgentSerialized.js +46 -0
  361. package/serialization/types/CompletionCreateParamsNonStreaming.d.ts +2 -0
  362. package/serialization/types/CompletionCreateParamsNonStreaming.js +2 -0
  363. package/serialization/types/CompletionCreateParamsStreaming.d.ts +2 -0
  364. package/serialization/types/CompletionCreateParamsStreaming.js +2 -0
  365. package/serialization/types/EmbeddingConfigEmbeddingEndpointType.d.ts +1 -1
  366. package/serialization/types/EmbeddingConfigEmbeddingEndpointType.js +0 -1
  367. package/serialization/types/FileAgentSchema.d.ts +21 -0
  368. package/serialization/types/FileAgentSchema.js +52 -0
  369. package/serialization/types/FileSchema.d.ts +26 -0
  370. package/serialization/types/FileSchema.js +57 -0
  371. package/serialization/types/GroupSchema.d.ts +18 -0
  372. package/serialization/types/GroupSchema.js +49 -0
  373. package/serialization/types/GroupSchemaManagerConfig.d.ts +15 -0
  374. package/serialization/types/GroupSchemaManagerConfig.js +52 -0
  375. package/serialization/types/ImportedAgentsResponse.d.ts +12 -0
  376. package/serialization/types/ImportedAgentsResponse.js +43 -0
  377. package/serialization/types/LettaSchemasAgentFileAgentSchema.d.ts +68 -0
  378. package/serialization/types/LettaSchemasAgentFileAgentSchema.js +99 -0
  379. package/serialization/types/LettaSchemasAgentFileAgentSchemaResponseFormat.d.ts +13 -0
  380. package/serialization/types/LettaSchemasAgentFileAgentSchemaResponseFormat.js +44 -0
  381. package/serialization/types/LettaSchemasAgentFileAgentSchemaToolRulesItem.d.ts +18 -0
  382. package/serialization/types/LettaSchemasAgentFileAgentSchemaToolRulesItem.js +58 -0
  383. package/serialization/types/LettaSchemasAgentFileMessageSchema.d.ts +23 -0
  384. package/serialization/types/LettaSchemasAgentFileMessageSchema.js +54 -0
  385. package/serialization/types/LettaSchemasAgentFileMessageSchemaContent.d.ts +11 -0
  386. package/serialization/types/LettaSchemasAgentFileMessageSchemaContent.js +45 -0
  387. package/serialization/types/LettaSchemasAgentFileToolSchema.d.ts +29 -0
  388. package/serialization/types/LettaSchemasAgentFileToolSchema.js +60 -0
  389. package/serialization/types/{AgentSchema.d.ts → LettaSerializeSchemasPydanticAgentSchemaAgentSchema.d.ts} +8 -8
  390. package/serialization/types/{AgentSchema.js → LettaSerializeSchemasPydanticAgentSchemaAgentSchema.js} +8 -8
  391. package/{dist/serialization/types/AgentSchemaToolRulesItem.d.ts → serialization/types/LettaSerializeSchemasPydanticAgentSchemaAgentSchemaToolRulesItem.d.ts} +2 -2
  392. package/{dist/serialization/types/AgentSchemaToolRulesItem.js → serialization/types/LettaSerializeSchemasPydanticAgentSchemaAgentSchemaToolRulesItem.js} +2 -2
  393. package/serialization/types/{MessageSchema.d.ts → LettaSerializeSchemasPydanticAgentSchemaMessageSchema.d.ts} +2 -2
  394. package/{dist/serialization/types/MessageSchema.js → serialization/types/LettaSerializeSchemasPydanticAgentSchemaMessageSchema.js} +2 -2
  395. package/{dist/serialization/types/ToolSchema.d.ts → serialization/types/LettaSerializeSchemasPydanticAgentSchemaToolSchema.d.ts} +2 -2
  396. package/{dist/serialization/types/ToolSchema.js → serialization/types/LettaSerializeSchemasPydanticAgentSchemaToolSchema.js} +2 -2
  397. package/serialization/types/LlmConfigModelEndpointType.d.ts +1 -1
  398. package/serialization/types/LlmConfigModelEndpointType.js +0 -1
  399. package/serialization/types/LlmConfigReasoningEffort.d.ts +1 -1
  400. package/serialization/types/LlmConfigReasoningEffort.js +1 -1
  401. package/serialization/types/McpServerSchema.d.ts +17 -0
  402. package/serialization/types/McpServerSchema.js +48 -0
  403. package/serialization/types/McpToolExecuteRequest.d.ts +12 -0
  404. package/serialization/types/McpToolExecuteRequest.js +43 -0
  405. package/serialization/types/Provider.d.ts +1 -0
  406. package/serialization/types/Provider.js +1 -0
  407. package/serialization/types/ProviderType.d.ts +1 -1
  408. package/serialization/types/ProviderType.js +0 -1
  409. package/serialization/types/SourceSchema.d.ts +20 -0
  410. package/serialization/types/SourceSchema.js +51 -0
  411. package/serialization/types/Step.d.ts +4 -0
  412. package/serialization/types/Step.js +4 -0
  413. package/serialization/types/StepMetrics.d.ts +21 -0
  414. package/serialization/types/StepMetrics.js +52 -0
  415. package/serialization/types/StepStatus.d.ts +10 -0
  416. package/serialization/types/StepStatus.js +41 -0
  417. package/serialization/types/index.d.ts +23 -5
  418. package/serialization/types/index.js +23 -5
  419. package/version.d.ts +1 -1
  420. package/version.js +1 -1
  421. package/api/types/AgentSchemaToolRulesItem.d.ts +0 -5
  422. package/dist/api/types/AgentSchemaToolRulesItem.d.ts +0 -5
  423. package/dist/serialization/types/ProviderCheck.d.ts +0 -16
  424. package/serialization/types/ProviderCheck.d.ts +0 -16
  425. /package/api/{types/AgentSchema.js → resources/agents/client/requests/AgentsExportFileRequest.js} +0 -0
  426. /package/api/{types/AgentSchemaToolRulesItem.js → resources/agents/resources/messages/client/requests/CancelAgentRunRequest.js} +0 -0
  427. /package/api/{types → resources/providers/client/requests}/ProviderCheck.js +0 -0
  428. /package/api/types/{MessageSchema.js → AgentFileSchema.js} +0 -0
  429. /package/api/types/{ToolSchema.js → BlockSchema.js} +0 -0
  430. /package/{dist/api/types/AgentSchema.js → api/types/BodyExportAgentSerialized.js} +0 -0
  431. /package/{dist/api/types/AgentSchemaToolRulesItem.js → api/types/FileAgentSchema.js} +0 -0
  432. /package/{dist/api/types/MessageSchema.js → api/types/FileSchema.js} +0 -0
  433. /package/{dist/api/types/ProviderCheck.js → api/types/GroupSchema.js} +0 -0
  434. /package/{dist/api/types/ToolSchema.js → api/types/GroupSchemaManagerConfig.js} +0 -0
@@ -90,7 +90,7 @@ class Files {
90
90
  method: "POST",
91
91
  headers: Object.assign(Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
92
92
  ? yield core.Supplier.get(this._options.project)
93
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.175", "User-Agent": "@letta-ai/letta-client/0.1.175", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
93
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.177", "User-Agent": "@letta-ai/letta-client/0.1.177", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
94
94
  queryParameters: _queryParams,
95
95
  requestType: "file",
96
96
  duplex: _maybeEncodedRequest.duplex,
@@ -180,7 +180,7 @@ class Files {
180
180
  method: "GET",
181
181
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
182
182
  ? yield core.Supplier.get(this._options.project)
183
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.175", "User-Agent": "@letta-ai/letta-client/0.1.175", "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),
183
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.177", "User-Agent": "@letta-ai/letta-client/0.1.177", "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),
184
184
  contentType: "application/json",
185
185
  queryParameters: _queryParams,
186
186
  requestType: "json",
@@ -258,7 +258,7 @@ class Files {
258
258
  method: "DELETE",
259
259
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
260
260
  ? yield core.Supplier.get(this._options.project)
261
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.175", "User-Agent": "@letta-ai/letta-client/0.1.175", "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),
261
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.177", "User-Agent": "@letta-ai/letta-client/0.1.177", "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),
262
262
  contentType: "application/json",
263
263
  requestType: "json",
264
264
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -93,7 +93,7 @@ class Passages {
93
93
  method: "GET",
94
94
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
95
95
  ? yield core.Supplier.get(this._options.project)
96
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.175", "User-Agent": "@letta-ai/letta-client/0.1.175", "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
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.177", "User-Agent": "@letta-ai/letta-client/0.1.177", "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),
97
97
  contentType: "application/json",
98
98
  queryParameters: _queryParams,
99
99
  requestType: "json",
@@ -105,7 +105,7 @@ class Groups {
105
105
  method: "GET",
106
106
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
107
107
  ? yield core.Supplier.get(this._options.project)
108
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.175", "User-Agent": "@letta-ai/letta-client/0.1.175", "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),
108
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.177", "User-Agent": "@letta-ai/letta-client/0.1.177", "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),
109
109
  contentType: "application/json",
110
110
  queryParameters: _queryParams,
111
111
  requestType: "json",
@@ -185,7 +185,7 @@ class Groups {
185
185
  method: "POST",
186
186
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
187
187
  ? yield core.Supplier.get(this._options.project)
188
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.175", "User-Agent": "@letta-ai/letta-client/0.1.175", "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),
188
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.177", "User-Agent": "@letta-ai/letta-client/0.1.177", "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),
189
189
  contentType: "application/json",
190
190
  requestType: "json",
191
191
  body: serializers.GroupCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -261,7 +261,7 @@ class Groups {
261
261
  method: "GET",
262
262
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
263
263
  ? yield core.Supplier.get(this._options.project)
264
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.175", "User-Agent": "@letta-ai/letta-client/0.1.175", "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),
264
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.177", "User-Agent": "@letta-ai/letta-client/0.1.177", "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),
265
265
  contentType: "application/json",
266
266
  requestType: "json",
267
267
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -337,7 +337,7 @@ class Groups {
337
337
  method: "GET",
338
338
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
339
339
  ? yield core.Supplier.get(this._options.project)
340
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.175", "User-Agent": "@letta-ai/letta-client/0.1.175", "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),
340
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.177", "User-Agent": "@letta-ai/letta-client/0.1.177", "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),
341
341
  contentType: "application/json",
342
342
  requestType: "json",
343
343
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -413,7 +413,7 @@ class Groups {
413
413
  method: "DELETE",
414
414
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
415
415
  ? yield core.Supplier.get(this._options.project)
416
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.175", "User-Agent": "@letta-ai/letta-client/0.1.175", "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),
416
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.177", "User-Agent": "@letta-ai/letta-client/0.1.177", "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),
417
417
  contentType: "application/json",
418
418
  requestType: "json",
419
419
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -481,7 +481,7 @@ class Groups {
481
481
  method: "PATCH",
482
482
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
483
483
  ? yield core.Supplier.get(this._options.project)
484
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.175", "User-Agent": "@letta-ai/letta-client/0.1.175", "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),
484
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.177", "User-Agent": "@letta-ai/letta-client/0.1.177", "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),
485
485
  contentType: "application/json",
486
486
  requestType: "json",
487
487
  body: serializers.GroupUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -102,7 +102,7 @@ class Messages {
102
102
  method: "GET",
103
103
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
104
104
  ? yield core.Supplier.get(this._options.project)
105
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.175", "User-Agent": "@letta-ai/letta-client/0.1.175", "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),
105
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.177", "User-Agent": "@letta-ai/letta-client/0.1.177", "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
106
  contentType: "application/json",
107
107
  queryParameters: _queryParams,
108
108
  requestType: "json",
@@ -189,7 +189,7 @@ class Messages {
189
189
  method: "POST",
190
190
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
191
191
  ? yield core.Supplier.get(this._options.project)
192
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.175", "User-Agent": "@letta-ai/letta-client/0.1.175", "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),
192
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.177", "User-Agent": "@letta-ai/letta-client/0.1.177", "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),
193
193
  contentType: "application/json",
194
194
  requestType: "json",
195
195
  body: serializers.LettaRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -260,7 +260,7 @@ class Messages {
260
260
  method: "POST",
261
261
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
262
262
  ? yield core.Supplier.get(this._options.project)
263
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.175", "User-Agent": "@letta-ai/letta-client/0.1.175", "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),
263
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.177", "User-Agent": "@letta-ai/letta-client/0.1.177", "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),
264
264
  contentType: "application/json",
265
265
  requestType: "json",
266
266
  body: serializers.LettaStreamingRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -352,7 +352,7 @@ class Messages {
352
352
  method: "PATCH",
353
353
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
354
354
  ? yield core.Supplier.get(this._options.project)
355
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.175", "User-Agent": "@letta-ai/letta-client/0.1.175", "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),
355
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.177", "User-Agent": "@letta-ai/letta-client/0.1.177", "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),
356
356
  contentType: "application/json",
357
357
  requestType: "json",
358
358
  body: serializers.groups.MessagesModifyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -429,7 +429,7 @@ class Messages {
429
429
  method: "PATCH",
430
430
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
431
431
  ? yield core.Supplier.get(this._options.project)
432
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.175", "User-Agent": "@letta-ai/letta-client/0.1.175", "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),
432
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.177", "User-Agent": "@letta-ai/letta-client/0.1.177", "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),
433
433
  contentType: "application/json",
434
434
  requestType: "json",
435
435
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -75,7 +75,7 @@ class Health {
75
75
  method: "GET",
76
76
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
77
77
  ? yield core.Supplier.get(this._options.project)
78
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.175", "User-Agent": "@letta-ai/letta-client/0.1.175", "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),
78
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.177", "User-Agent": "@letta-ai/letta-client/0.1.177", "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),
79
79
  contentType: "application/json",
80
80
  requestType: "json",
81
81
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -111,7 +111,7 @@ class Identities {
111
111
  method: "GET",
112
112
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
113
113
  ? yield core.Supplier.get(this._options.project)
114
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.175", "User-Agent": "@letta-ai/letta-client/0.1.175", "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),
114
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.177", "User-Agent": "@letta-ai/letta-client/0.1.177", "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),
115
115
  contentType: "application/json",
116
116
  queryParameters: _queryParams,
117
117
  requestType: "json",
@@ -190,7 +190,7 @@ class Identities {
190
190
  method: "POST",
191
191
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
192
192
  ? yield core.Supplier.get(this._options.project)
193
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.175", "User-Agent": "@letta-ai/letta-client/0.1.175", "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),
193
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.177", "User-Agent": "@letta-ai/letta-client/0.1.177", "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),
194
194
  contentType: "application/json",
195
195
  requestType: "json",
196
196
  body: serializers.IdentityCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -269,7 +269,7 @@ class Identities {
269
269
  method: "PUT",
270
270
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
271
271
  ? yield core.Supplier.get(this._options.project)
272
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.175", "User-Agent": "@letta-ai/letta-client/0.1.175", "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),
272
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.177", "User-Agent": "@letta-ai/letta-client/0.1.177", "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),
273
273
  contentType: "application/json",
274
274
  requestType: "json",
275
275
  body: serializers.IdentityUpsert.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -345,7 +345,7 @@ class Identities {
345
345
  method: "GET",
346
346
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
347
347
  ? yield core.Supplier.get(this._options.project)
348
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.175", "User-Agent": "@letta-ai/letta-client/0.1.175", "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),
348
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.177", "User-Agent": "@letta-ai/letta-client/0.1.177", "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),
349
349
  contentType: "application/json",
350
350
  requestType: "json",
351
351
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -419,7 +419,7 @@ class Identities {
419
419
  method: "GET",
420
420
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
421
421
  ? yield core.Supplier.get(this._options.project)
422
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.175", "User-Agent": "@letta-ai/letta-client/0.1.175", "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),
422
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.177", "User-Agent": "@letta-ai/letta-client/0.1.177", "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),
423
423
  contentType: "application/json",
424
424
  requestType: "json",
425
425
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -495,7 +495,7 @@ class Identities {
495
495
  method: "DELETE",
496
496
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
497
497
  ? yield core.Supplier.get(this._options.project)
498
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.175", "User-Agent": "@letta-ai/letta-client/0.1.175", "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),
498
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.177", "User-Agent": "@letta-ai/letta-client/0.1.177", "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),
499
499
  contentType: "application/json",
500
500
  requestType: "json",
501
501
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -561,7 +561,7 @@ class Identities {
561
561
  method: "PATCH",
562
562
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
563
563
  ? yield core.Supplier.get(this._options.project)
564
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.175", "User-Agent": "@letta-ai/letta-client/0.1.175", "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),
564
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.177", "User-Agent": "@letta-ai/letta-client/0.1.177", "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),
565
565
  contentType: "application/json",
566
566
  requestType: "json",
567
567
  body: serializers.IdentityUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -84,7 +84,7 @@ class Properties {
84
84
  method: "PUT",
85
85
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
86
86
  ? yield core.Supplier.get(this._options.project)
87
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.175", "User-Agent": "@letta-ai/letta-client/0.1.175", "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),
87
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.177", "User-Agent": "@letta-ai/letta-client/0.1.177", "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),
88
88
  contentType: "application/json",
89
89
  requestType: "json",
90
90
  body: serializers.identities.properties.upsert.Request.jsonOrThrow(request, {
@@ -99,7 +99,7 @@ class Jobs {
99
99
  method: "GET",
100
100
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
101
101
  ? yield core.Supplier.get(this._options.project)
102
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.175", "User-Agent": "@letta-ai/letta-client/0.1.175", "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),
102
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.177", "User-Agent": "@letta-ai/letta-client/0.1.177", "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),
103
103
  contentType: "application/json",
104
104
  queryParameters: _queryParams,
105
105
  requestType: "json",
@@ -193,7 +193,7 @@ class Jobs {
193
193
  method: "GET",
194
194
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
195
195
  ? yield core.Supplier.get(this._options.project)
196
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.175", "User-Agent": "@letta-ai/letta-client/0.1.175", "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),
196
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.177", "User-Agent": "@letta-ai/letta-client/0.1.177", "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),
197
197
  contentType: "application/json",
198
198
  queryParameters: _queryParams,
199
199
  requestType: "json",
@@ -270,7 +270,7 @@ class Jobs {
270
270
  method: "GET",
271
271
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
272
272
  ? yield core.Supplier.get(this._options.project)
273
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.175", "User-Agent": "@letta-ai/letta-client/0.1.175", "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),
273
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.177", "User-Agent": "@letta-ai/letta-client/0.1.177", "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),
274
274
  contentType: "application/json",
275
275
  requestType: "json",
276
276
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -346,7 +346,7 @@ class Jobs {
346
346
  method: "DELETE",
347
347
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
348
348
  ? yield core.Supplier.get(this._options.project)
349
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.175", "User-Agent": "@letta-ai/letta-client/0.1.175", "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),
349
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.177", "User-Agent": "@letta-ai/letta-client/0.1.177", "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),
350
350
  contentType: "application/json",
351
351
  requestType: "json",
352
352
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -425,7 +425,7 @@ class Jobs {
425
425
  method: "PATCH",
426
426
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
427
427
  ? yield core.Supplier.get(this._options.project)
428
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.175", "User-Agent": "@letta-ai/letta-client/0.1.175", "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),
428
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.177", "User-Agent": "@letta-ai/letta-client/0.1.177", "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),
429
429
  contentType: "application/json",
430
430
  requestType: "json",
431
431
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -103,7 +103,7 @@ class Messages {
103
103
  method: "GET",
104
104
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
105
105
  ? yield core.Supplier.get(this._options.project)
106
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.175", "User-Agent": "@letta-ai/letta-client/0.1.175", "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.1.177", "User-Agent": "@letta-ai/letta-client/0.1.177", "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),
107
107
  contentType: "application/json",
108
108
  queryParameters: _queryParams,
109
109
  requestType: "json",
@@ -101,7 +101,7 @@ class Models {
101
101
  method: "GET",
102
102
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
103
103
  ? yield core.Supplier.get(this._options.project)
104
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.175", "User-Agent": "@letta-ai/letta-client/0.1.175", "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),
104
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.177", "User-Agent": "@letta-ai/letta-client/0.1.177", "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),
105
105
  contentType: "application/json",
106
106
  queryParameters: _queryParams,
107
107
  requestType: "json",
@@ -89,7 +89,7 @@ class Projects {
89
89
  method: "GET",
90
90
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
91
91
  ? yield core.Supplier.get(this._options.project)
92
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.175", "User-Agent": "@letta-ai/letta-client/0.1.175", "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),
92
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.177", "User-Agent": "@letta-ai/letta-client/0.1.177", "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),
93
93
  contentType: "application/json",
94
94
  queryParameters: _queryParams,
95
95
  requestType: "json",
@@ -92,13 +92,25 @@ export declare class Providers {
92
92
  /**
93
93
  * @param {Providers.RequestOptions} requestOptions - Request-specific configuration.
94
94
  *
95
- * @throws {@link Letta.UnprocessableEntityError}
96
- *
97
95
  * @example
98
96
  * await client.providers.check()
99
97
  */
100
- check(requestOptions?: Providers.RequestOptions): core.HttpResponsePromise<unknown>;
98
+ check(requestOptions?: Providers.RequestOptions): core.HttpResponsePromise<void>;
101
99
  private __check;
100
+ /**
101
+ * @param {Letta.ProviderCheck} request
102
+ * @param {Providers.RequestOptions} requestOptions - Request-specific configuration.
103
+ *
104
+ * @throws {@link Letta.UnprocessableEntityError}
105
+ *
106
+ * @example
107
+ * await client.providers.checkProvider({
108
+ * providerType: "anthropic",
109
+ * apiKey: "api_key"
110
+ * })
111
+ */
112
+ checkProvider(request: Letta.ProviderCheck, requestOptions?: Providers.RequestOptions): core.HttpResponsePromise<unknown>;
113
+ private __checkProvider;
102
114
  protected _getCustomAuthorizationHeaders(): Promise<{
103
115
  Authorization: string;
104
116
  }>;
@@ -97,7 +97,7 @@ class Providers {
97
97
  method: "GET",
98
98
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
99
99
  ? yield core.Supplier.get(this._options.project)
100
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.175", "User-Agent": "@letta-ai/letta-client/0.1.175", "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),
100
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.177", "User-Agent": "@letta-ai/letta-client/0.1.177", "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),
101
101
  contentType: "application/json",
102
102
  queryParameters: _queryParams,
103
103
  requestType: "json",
@@ -178,7 +178,7 @@ class Providers {
178
178
  method: "POST",
179
179
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
180
180
  ? yield core.Supplier.get(this._options.project)
181
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.175", "User-Agent": "@letta-ai/letta-client/0.1.175", "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),
181
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.177", "User-Agent": "@letta-ai/letta-client/0.1.177", "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),
182
182
  contentType: "application/json",
183
183
  requestType: "json",
184
184
  body: serializers.ProviderCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -255,7 +255,7 @@ class Providers {
255
255
  method: "DELETE",
256
256
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
257
257
  ? yield core.Supplier.get(this._options.project)
258
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.175", "User-Agent": "@letta-ai/letta-client/0.1.175", "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),
258
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.177", "User-Agent": "@letta-ai/letta-client/0.1.177", "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),
259
259
  contentType: "application/json",
260
260
  requestType: "json",
261
261
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -325,7 +325,7 @@ class Providers {
325
325
  method: "PATCH",
326
326
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
327
327
  ? yield core.Supplier.get(this._options.project)
328
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.175", "User-Agent": "@letta-ai/letta-client/0.1.175", "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),
328
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.177", "User-Agent": "@letta-ai/letta-client/0.1.177", "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),
329
329
  contentType: "application/json",
330
330
  requestType: "json",
331
331
  body: serializers.ProviderUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -383,8 +383,6 @@ class Providers {
383
383
  /**
384
384
  * @param {Providers.RequestOptions} requestOptions - Request-specific configuration.
385
385
  *
386
- * @throws {@link Letta.UnprocessableEntityError}
387
- *
388
386
  * @example
389
387
  * await client.providers.check()
390
388
  */
@@ -399,9 +397,67 @@ class Providers {
399
397
  method: "GET",
400
398
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
401
399
  ? yield core.Supplier.get(this._options.project)
402
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.175", "User-Agent": "@letta-ai/letta-client/0.1.175", "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),
400
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.177", "User-Agent": "@letta-ai/letta-client/0.1.177", "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),
401
+ contentType: "application/json",
402
+ requestType: "json",
403
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
404
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
405
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
406
+ });
407
+ if (_response.ok) {
408
+ return { data: undefined, rawResponse: _response.rawResponse };
409
+ }
410
+ if (_response.error.reason === "status-code") {
411
+ throw new errors.LettaError({
412
+ statusCode: _response.error.statusCode,
413
+ body: _response.error.body,
414
+ rawResponse: _response.rawResponse,
415
+ });
416
+ }
417
+ switch (_response.error.reason) {
418
+ case "non-json":
419
+ throw new errors.LettaError({
420
+ statusCode: _response.error.statusCode,
421
+ body: _response.error.rawBody,
422
+ rawResponse: _response.rawResponse,
423
+ });
424
+ case "timeout":
425
+ throw new errors.LettaTimeoutError("Timeout exceeded when calling GET /v1/providers/check.");
426
+ case "unknown":
427
+ throw new errors.LettaError({
428
+ message: _response.error.errorMessage,
429
+ rawResponse: _response.rawResponse,
430
+ });
431
+ }
432
+ });
433
+ }
434
+ /**
435
+ * @param {Letta.ProviderCheck} request
436
+ * @param {Providers.RequestOptions} requestOptions - Request-specific configuration.
437
+ *
438
+ * @throws {@link Letta.UnprocessableEntityError}
439
+ *
440
+ * @example
441
+ * await client.providers.checkProvider({
442
+ * providerType: "anthropic",
443
+ * apiKey: "api_key"
444
+ * })
445
+ */
446
+ checkProvider(request, requestOptions) {
447
+ return core.HttpResponsePromise.fromPromise(this.__checkProvider(request, requestOptions));
448
+ }
449
+ __checkProvider(request, requestOptions) {
450
+ return __awaiter(this, void 0, void 0, function* () {
451
+ var _a, _b, _c;
452
+ const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
453
+ 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/providers/check"),
454
+ method: "POST",
455
+ headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
456
+ ? yield core.Supplier.get(this._options.project)
457
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.177", "User-Agent": "@letta-ai/letta-client/0.1.177", "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),
403
458
  contentType: "application/json",
404
459
  requestType: "json",
460
+ body: serializers.ProviderCheck.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
405
461
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
406
462
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
407
463
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -435,7 +491,7 @@ class Providers {
435
491
  rawResponse: _response.rawResponse,
436
492
  });
437
493
  case "timeout":
438
- throw new errors.LettaTimeoutError("Timeout exceeded when calling GET /v1/providers/check.");
494
+ throw new errors.LettaTimeoutError("Timeout exceeded when calling POST /v1/providers/check.");
439
495
  case "unknown":
440
496
  throw new errors.LettaError({
441
497
  message: _response.error.errorMessage,
@@ -1,7 +1,14 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as Letta from "../index";
4
+ import * as Letta from "../../../../index";
5
+ /**
6
+ * @example
7
+ * {
8
+ * providerType: "anthropic",
9
+ * apiKey: "api_key"
10
+ * }
11
+ */
5
12
  export interface ProviderCheck {
6
13
  /** The type of the provider. */
7
14
  providerType: Letta.ProviderType;
@@ -11,4 +18,8 @@ export interface ProviderCheck {
11
18
  accessKey?: string;
12
19
  /** Region used for requests to the provider. */
13
20
  region?: string;
21
+ /** Base URL used for requests to the provider. */
22
+ baseUrl?: string;
23
+ /** API version used for requests to the provider. */
24
+ apiVersion?: string;
14
25
  }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -21,4 +21,8 @@ export interface ProviderCreate {
21
21
  accessKey?: string;
22
22
  /** Region used for requests to the provider. */
23
23
  region?: string;
24
+ /** Base URL used for requests to the provider. */
25
+ baseUrl?: string;
26
+ /** API version used for requests to the provider. */
27
+ apiVersion?: string;
24
28
  }
@@ -14,4 +14,8 @@ export interface ProviderUpdate {
14
14
  accessKey?: string;
15
15
  /** Region used for requests to the provider. */
16
16
  region?: string;
17
+ /** Base URL used for requests to the provider. */
18
+ baseUrl?: string;
19
+ /** API version used for requests to the provider. */
20
+ apiVersion?: string;
17
21
  }
@@ -1,3 +1,4 @@
1
1
  export { type ProvidersListRequest } from "./ProvidersListRequest";
2
2
  export { type ProviderCreate } from "./ProviderCreate";
3
3
  export { type ProviderUpdate } from "./ProviderUpdate";
4
+ export { type ProviderCheck } from "./ProviderCheck";