@letta-ai/letta-client 0.1.37 → 0.1.38

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 (209) hide show
  1. package/api/resources/agents/client/Client.js +15 -10
  2. package/api/resources/agents/client/requests/AgentsListRequest.d.ts +2 -2
  3. package/api/resources/agents/client/requests/CreateAgentRequest.d.ts +2 -2
  4. package/api/resources/agents/client/requests/UpdateAgent.d.ts +2 -2
  5. package/api/resources/agents/resources/archivalMemory/client/Client.js +3 -3
  6. package/api/resources/agents/resources/context/client/Client.js +1 -1
  7. package/api/resources/agents/resources/coreMemory/client/Client.js +6 -6
  8. package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  9. package/api/resources/agents/resources/messages/client/Client.js +5 -5
  10. package/api/resources/agents/resources/sources/client/Client.js +3 -3
  11. package/api/resources/agents/resources/templates/client/Client.js +3 -3
  12. package/api/resources/agents/resources/tools/client/Client.js +3 -3
  13. package/api/resources/agents/types/AgentsSearchResponseAgentsItem.d.ts +1 -1
  14. package/api/resources/agents/types/AgentsSearchResponseAgentsItemIdentityIds.d.ts +4 -0
  15. package/api/resources/agents/types/index.d.ts +1 -2
  16. package/api/resources/agents/types/index.js +1 -2
  17. package/api/resources/blocks/client/Client.js +6 -6
  18. package/api/resources/health/client/Client.js +1 -1
  19. package/api/resources/identities/client/Client.d.ts +18 -18
  20. package/api/resources/identities/client/Client.js +36 -33
  21. package/{dist/api/resources/identities/client/requests/CreateIdentityRequest.d.ts → api/resources/identities/client/requests/IdentitiesCreateRequest.d.ts} +1 -1
  22. package/{dist/api/resources/identities/client/requests/ListIdentitiesRequest.d.ts → api/resources/identities/client/requests/IdentitiesListRequest.d.ts} +2 -1
  23. package/api/resources/identities/client/requests/{CreateIdentityRequest.d.ts → IdentitiesUpsertRequest.d.ts} +1 -1
  24. package/api/resources/identities/client/requests/IdentityUpdate.d.ts +4 -0
  25. package/api/resources/identities/client/requests/index.d.ts +3 -3
  26. package/api/resources/jobs/client/Client.js +4 -4
  27. package/api/resources/models/client/Client.js +2 -2
  28. package/api/resources/providers/client/Client.js +4 -4
  29. package/api/resources/runs/client/Client.js +6 -6
  30. package/api/resources/sources/client/Client.js +6 -6
  31. package/api/resources/sources/resources/files/client/Client.js +3 -3
  32. package/api/resources/sources/resources/passages/client/Client.js +1 -1
  33. package/api/resources/steps/client/Client.js +2 -2
  34. package/api/resources/tag/client/Client.js +1 -1
  35. package/api/resources/templates/client/Client.js +1 -1
  36. package/api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItem.d.ts +1 -1
  37. package/api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemIdentityIds.d.ts +4 -0
  38. package/api/resources/templates/types/index.d.ts +1 -2
  39. package/api/resources/templates/types/index.js +1 -2
  40. package/api/resources/tools/client/Client.js +11 -11
  41. package/api/types/AgentState.d.ts +2 -2
  42. package/api/types/Identity.d.ts +4 -2
  43. package/api/types/IdentityCreate.d.ts +2 -0
  44. package/api/types/IdentityProperty.d.ts +15 -0
  45. package/api/types/IdentityPropertyType.d.ts +13 -0
  46. package/api/types/IdentityPropertyType.js +12 -0
  47. package/api/types/IdentityPropertyValue.d.ts +7 -0
  48. package/api/types/index.d.ts +3 -0
  49. package/api/types/index.js +3 -0
  50. package/dist/api/resources/agents/client/Client.js +15 -10
  51. package/dist/api/resources/agents/client/requests/AgentsListRequest.d.ts +2 -2
  52. package/dist/api/resources/agents/client/requests/CreateAgentRequest.d.ts +2 -2
  53. package/dist/api/resources/agents/client/requests/UpdateAgent.d.ts +2 -2
  54. package/dist/api/resources/agents/resources/archivalMemory/client/Client.js +3 -3
  55. package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
  56. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +6 -6
  57. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  58. package/dist/api/resources/agents/resources/messages/client/Client.js +5 -5
  59. package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
  60. package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
  61. package/dist/api/resources/agents/resources/tools/client/Client.js +3 -3
  62. package/dist/api/resources/agents/types/AgentsSearchResponseAgentsItem.d.ts +1 -1
  63. package/dist/api/resources/agents/types/AgentsSearchResponseAgentsItemIdentityIds.d.ts +4 -0
  64. package/dist/api/resources/agents/types/index.d.ts +1 -2
  65. package/dist/api/resources/agents/types/index.js +1 -2
  66. package/dist/api/resources/blocks/client/Client.js +6 -6
  67. package/dist/api/resources/health/client/Client.js +1 -1
  68. package/dist/api/resources/identities/client/Client.d.ts +18 -18
  69. package/dist/api/resources/identities/client/Client.js +36 -33
  70. package/dist/api/resources/identities/client/requests/{UpsertIdentityRequest.d.ts → IdentitiesCreateRequest.d.ts} +1 -1
  71. package/{api/resources/identities/client/requests/ListIdentitiesRequest.d.ts → dist/api/resources/identities/client/requests/IdentitiesListRequest.d.ts} +2 -1
  72. package/{api/resources/identities/client/requests/UpsertIdentityRequest.d.ts → dist/api/resources/identities/client/requests/IdentitiesUpsertRequest.d.ts} +1 -1
  73. package/dist/api/resources/identities/client/requests/IdentityUpdate.d.ts +4 -0
  74. package/dist/api/resources/identities/client/requests/index.d.ts +3 -3
  75. package/dist/api/resources/jobs/client/Client.js +4 -4
  76. package/dist/api/resources/models/client/Client.js +2 -2
  77. package/dist/api/resources/providers/client/Client.js +4 -4
  78. package/dist/api/resources/runs/client/Client.js +6 -6
  79. package/dist/api/resources/sources/client/Client.js +6 -6
  80. package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
  81. package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
  82. package/dist/api/resources/steps/client/Client.js +2 -2
  83. package/dist/api/resources/tag/client/Client.js +1 -1
  84. package/dist/api/resources/templates/client/Client.js +1 -1
  85. package/dist/api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItem.d.ts +1 -1
  86. package/dist/api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemIdentityIds.d.ts +4 -0
  87. package/dist/api/resources/templates/types/index.d.ts +1 -2
  88. package/dist/api/resources/templates/types/index.js +1 -2
  89. package/dist/api/resources/tools/client/Client.js +11 -11
  90. package/dist/api/types/AgentState.d.ts +2 -2
  91. package/dist/api/types/Identity.d.ts +4 -2
  92. package/dist/api/types/IdentityCreate.d.ts +2 -0
  93. package/dist/api/types/IdentityProperty.d.ts +15 -0
  94. package/dist/api/types/IdentityPropertyType.d.ts +13 -0
  95. package/dist/api/types/IdentityPropertyType.js +12 -0
  96. package/dist/api/types/IdentityPropertyValue.d.ts +7 -0
  97. package/dist/api/types/index.d.ts +3 -0
  98. package/dist/api/types/index.js +3 -0
  99. package/dist/serialization/resources/agents/client/requests/CreateAgentRequest.d.ts +1 -1
  100. package/dist/serialization/resources/agents/client/requests/CreateAgentRequest.js +1 -1
  101. package/dist/serialization/resources/agents/client/requests/UpdateAgent.d.ts +1 -1
  102. package/dist/serialization/resources/agents/client/requests/UpdateAgent.js +1 -1
  103. package/dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItem.d.ts +2 -2
  104. package/dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItem.js +2 -2
  105. package/dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemIdentityIds.d.ts +10 -0
  106. package/{serialization/resources/agents/types/AgentsSearchResponseAgentsItemIdentifierKeyItem.js → dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemIdentityIds.js} +5 -2
  107. package/dist/serialization/resources/agents/types/index.d.ts +1 -2
  108. package/dist/serialization/resources/agents/types/index.js +1 -2
  109. package/dist/serialization/resources/identities/client/index.d.ts +1 -1
  110. package/dist/serialization/resources/identities/client/index.js +2 -2
  111. package/dist/serialization/resources/identities/client/{listIdentities.d.ts → list.d.ts} +1 -1
  112. package/dist/serialization/resources/identities/client/requests/IdentityUpdate.d.ts +3 -0
  113. package/dist/serialization/resources/identities/client/requests/IdentityUpdate.js +3 -0
  114. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItem.d.ts +2 -2
  115. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItem.js +2 -2
  116. package/dist/serialization/resources/templates/types/{TemplatesCreateAgentsResponseAgentsItemIdentifierKeyItem.d.ts → TemplatesCreateAgentsResponseAgentsItemIdentityIds.d.ts} +3 -3
  117. package/dist/serialization/resources/templates/types/{TemplatesCreateAgentsResponseAgentsItemIdentifierKeyItem.js → TemplatesCreateAgentsResponseAgentsItemIdentityIds.js} +5 -2
  118. package/dist/serialization/resources/templates/types/index.d.ts +1 -2
  119. package/dist/serialization/resources/templates/types/index.js +1 -2
  120. package/dist/serialization/types/AgentState.d.ts +1 -1
  121. package/dist/serialization/types/AgentState.js +1 -1
  122. package/dist/serialization/types/Identity.d.ts +3 -2
  123. package/dist/serialization/types/Identity.js +3 -2
  124. package/dist/serialization/types/IdentityCreate.d.ts +2 -0
  125. package/dist/serialization/types/IdentityCreate.js +2 -0
  126. package/dist/serialization/types/IdentityProperty.d.ts +16 -0
  127. package/dist/serialization/types/IdentityProperty.js +47 -0
  128. package/dist/serialization/types/IdentityPropertyType.d.ts +10 -0
  129. package/dist/serialization/types/IdentityPropertyType.js +41 -0
  130. package/dist/serialization/types/IdentityPropertyValue.d.ts +10 -0
  131. package/dist/serialization/types/IdentityPropertyValue.js +47 -0
  132. package/dist/serialization/types/index.d.ts +3 -0
  133. package/dist/serialization/types/index.js +3 -0
  134. package/dist/version.d.ts +1 -1
  135. package/dist/version.js +1 -1
  136. package/package.json +1 -1
  137. package/reference.md +18 -18
  138. package/serialization/resources/agents/client/requests/CreateAgentRequest.d.ts +1 -1
  139. package/serialization/resources/agents/client/requests/CreateAgentRequest.js +1 -1
  140. package/serialization/resources/agents/client/requests/UpdateAgent.d.ts +1 -1
  141. package/serialization/resources/agents/client/requests/UpdateAgent.js +1 -1
  142. package/serialization/resources/agents/types/AgentsSearchResponseAgentsItem.d.ts +2 -2
  143. package/serialization/resources/agents/types/AgentsSearchResponseAgentsItem.js +2 -2
  144. package/serialization/resources/agents/types/AgentsSearchResponseAgentsItemIdentityIds.d.ts +10 -0
  145. package/{dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemIdentifierKeyItem.js → serialization/resources/agents/types/AgentsSearchResponseAgentsItemIdentityIds.js} +5 -2
  146. package/serialization/resources/agents/types/index.d.ts +1 -2
  147. package/serialization/resources/agents/types/index.js +1 -2
  148. package/serialization/resources/identities/client/index.d.ts +1 -1
  149. package/serialization/resources/identities/client/index.js +2 -2
  150. package/serialization/resources/identities/client/{listIdentities.d.ts → list.d.ts} +1 -1
  151. package/serialization/resources/identities/client/requests/IdentityUpdate.d.ts +3 -0
  152. package/serialization/resources/identities/client/requests/IdentityUpdate.js +3 -0
  153. package/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItem.d.ts +2 -2
  154. package/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItem.js +2 -2
  155. package/serialization/resources/templates/types/{TemplatesCreateAgentsResponseAgentsItemIdentifierKeyItem.d.ts → TemplatesCreateAgentsResponseAgentsItemIdentityIds.d.ts} +3 -3
  156. package/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemIdentityIds.js +44 -0
  157. package/serialization/resources/templates/types/index.d.ts +1 -2
  158. package/serialization/resources/templates/types/index.js +1 -2
  159. package/serialization/types/AgentState.d.ts +1 -1
  160. package/serialization/types/AgentState.js +1 -1
  161. package/serialization/types/Identity.d.ts +3 -2
  162. package/serialization/types/Identity.js +3 -2
  163. package/serialization/types/IdentityCreate.d.ts +2 -0
  164. package/serialization/types/IdentityCreate.js +2 -0
  165. package/serialization/types/IdentityProperty.d.ts +16 -0
  166. package/serialization/types/IdentityProperty.js +47 -0
  167. package/serialization/types/IdentityPropertyType.d.ts +10 -0
  168. package/serialization/types/IdentityPropertyType.js +41 -0
  169. package/serialization/types/IdentityPropertyValue.d.ts +10 -0
  170. package/serialization/types/IdentityPropertyValue.js +47 -0
  171. package/serialization/types/index.d.ts +3 -0
  172. package/serialization/types/index.js +3 -0
  173. package/version.d.ts +1 -1
  174. package/version.js +1 -1
  175. package/api/resources/agents/types/AgentsSearchResponseAgentsItemIdentifierKey.d.ts +0 -5
  176. package/api/resources/agents/types/AgentsSearchResponseAgentsItemIdentifierKeyItem.d.ts +0 -4
  177. package/api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemIdentifierKey.d.ts +0 -5
  178. package/api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemIdentifierKeyItem.d.ts +0 -4
  179. package/dist/api/resources/agents/types/AgentsSearchResponseAgentsItemIdentifierKey.d.ts +0 -5
  180. package/dist/api/resources/agents/types/AgentsSearchResponseAgentsItemIdentifierKeyItem.d.ts +0 -4
  181. package/dist/api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemIdentifierKey.d.ts +0 -5
  182. package/dist/api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemIdentifierKeyItem.d.ts +0 -4
  183. package/dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemIdentifierKey.d.ts +0 -11
  184. package/dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemIdentifierKey.js +0 -47
  185. package/dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemIdentifierKeyItem.d.ts +0 -10
  186. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemIdentifierKey.d.ts +0 -11
  187. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemIdentifierKey.js +0 -47
  188. package/serialization/resources/agents/types/AgentsSearchResponseAgentsItemIdentifierKey.d.ts +0 -11
  189. package/serialization/resources/agents/types/AgentsSearchResponseAgentsItemIdentifierKey.js +0 -47
  190. package/serialization/resources/agents/types/AgentsSearchResponseAgentsItemIdentifierKeyItem.d.ts +0 -10
  191. package/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemIdentifierKey.d.ts +0 -11
  192. package/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemIdentifierKey.js +0 -47
  193. package/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemIdentifierKeyItem.js +0 -41
  194. /package/api/resources/agents/types/{AgentsSearchResponseAgentsItemIdentifierKey.js → AgentsSearchResponseAgentsItemIdentityIds.js} +0 -0
  195. /package/api/resources/{agents/types/AgentsSearchResponseAgentsItemIdentifierKeyItem.js → identities/client/requests/IdentitiesCreateRequest.js} +0 -0
  196. /package/api/resources/identities/client/requests/{CreateIdentityRequest.js → IdentitiesListRequest.js} +0 -0
  197. /package/api/resources/identities/client/requests/{ListIdentitiesRequest.js → IdentitiesUpsertRequest.js} +0 -0
  198. /package/api/resources/{identities/client/requests/UpsertIdentityRequest.js → templates/types/TemplatesCreateAgentsResponseAgentsItemIdentityIds.js} +0 -0
  199. /package/api/{resources/templates/types/TemplatesCreateAgentsResponseAgentsItemIdentifierKey.js → types/IdentityProperty.js} +0 -0
  200. /package/api/{resources/templates/types/TemplatesCreateAgentsResponseAgentsItemIdentifierKeyItem.js → types/IdentityPropertyValue.js} +0 -0
  201. /package/dist/api/resources/agents/types/{AgentsSearchResponseAgentsItemIdentifierKey.js → AgentsSearchResponseAgentsItemIdentityIds.js} +0 -0
  202. /package/dist/api/resources/{agents/types/AgentsSearchResponseAgentsItemIdentifierKeyItem.js → identities/client/requests/IdentitiesCreateRequest.js} +0 -0
  203. /package/dist/api/resources/identities/client/requests/{CreateIdentityRequest.js → IdentitiesListRequest.js} +0 -0
  204. /package/dist/api/resources/identities/client/requests/{ListIdentitiesRequest.js → IdentitiesUpsertRequest.js} +0 -0
  205. /package/dist/api/resources/{identities/client/requests/UpsertIdentityRequest.js → templates/types/TemplatesCreateAgentsResponseAgentsItemIdentityIds.js} +0 -0
  206. /package/dist/api/{resources/templates/types/TemplatesCreateAgentsResponseAgentsItemIdentifierKey.js → types/IdentityProperty.js} +0 -0
  207. /package/dist/api/{resources/templates/types/TemplatesCreateAgentsResponseAgentsItemIdentifierKeyItem.js → types/IdentityPropertyValue.js} +0 -0
  208. /package/dist/serialization/resources/identities/client/{listIdentities.js → list.js} +0 -0
  209. /package/serialization/resources/identities/client/{listIdentities.js → list.js} +0 -0
@@ -100,7 +100,7 @@ class Steps {
100
100
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
101
101
  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"),
102
102
  method: "GET",
103
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.37", "User-Agent": "@letta-ai/letta-client/0.1.37", "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
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.38", "User-Agent": "@letta-ai/letta-client/0.1.38", "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
104
  contentType: "application/json",
105
105
  queryParameters: _queryParams,
106
106
  requestType: "json",
@@ -166,7 +166,7 @@ class Steps {
166
166
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
167
167
  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)}`),
168
168
  method: "GET",
169
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.37", "User-Agent": "@letta-ai/letta-client/0.1.37", "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),
169
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.38", "User-Agent": "@letta-ai/letta-client/0.1.38", "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),
170
170
  contentType: "application/json",
171
171
  requestType: "json",
172
172
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -87,7 +87,7 @@ class Tag {
87
87
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
88
88
  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/tags/"),
89
89
  method: "GET",
90
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.37", "User-Agent": "@letta-ai/letta-client/0.1.37", "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),
90
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.38", "User-Agent": "@letta-ai/letta-client/0.1.38", "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),
91
91
  contentType: "application/json",
92
92
  queryParameters: _queryParams,
93
93
  requestType: "json",
@@ -75,7 +75,7 @@ class Templates {
75
75
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
76
76
  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/templates/${encodeURIComponent(project)}/${encodeURIComponent(templateVersion)}/agents`),
77
77
  method: "POST",
78
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.37", "User-Agent": "@letta-ai/letta-client/0.1.37", "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
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.38", "User-Agent": "@letta-ai/letta-client/0.1.38", "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
  body: serializers.TemplatesCreateAgentsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -26,6 +26,6 @@ export interface TemplatesCreateAgentsResponseAgentsItem {
26
26
  projectId?: Letta.TemplatesCreateAgentsResponseAgentsItemProjectId;
27
27
  templateId?: Letta.TemplatesCreateAgentsResponseAgentsItemTemplateId;
28
28
  baseTemplateId?: Letta.TemplatesCreateAgentsResponseAgentsItemBaseTemplateId;
29
- identifierKey?: Letta.TemplatesCreateAgentsResponseAgentsItemIdentifierKey;
29
+ identityIds?: Letta.TemplatesCreateAgentsResponseAgentsItemIdentityIds;
30
30
  messageBufferAutoclear?: Letta.TemplatesCreateAgentsResponseAgentsItemMessageBufferAutoclear;
31
31
  }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type TemplatesCreateAgentsResponseAgentsItemIdentityIds = string[] | unknown;
@@ -160,8 +160,7 @@ export * from "./TemplatesCreateAgentsResponseAgentsItemTemplateIdItem";
160
160
  export * from "./TemplatesCreateAgentsResponseAgentsItemTemplateId";
161
161
  export * from "./TemplatesCreateAgentsResponseAgentsItemBaseTemplateIdItem";
162
162
  export * from "./TemplatesCreateAgentsResponseAgentsItemBaseTemplateId";
163
- export * from "./TemplatesCreateAgentsResponseAgentsItemIdentifierKeyItem";
164
- export * from "./TemplatesCreateAgentsResponseAgentsItemIdentifierKey";
163
+ export * from "./TemplatesCreateAgentsResponseAgentsItemIdentityIds";
165
164
  export * from "./TemplatesCreateAgentsResponseAgentsItemMessageBufferAutoclear";
166
165
  export * from "./TemplatesCreateAgentsResponseAgentsItem";
167
166
  export * from "./TemplatesCreateAgentsResponse";
@@ -176,8 +176,7 @@ __exportStar(require("./TemplatesCreateAgentsResponseAgentsItemTemplateIdItem"),
176
176
  __exportStar(require("./TemplatesCreateAgentsResponseAgentsItemTemplateId"), exports);
177
177
  __exportStar(require("./TemplatesCreateAgentsResponseAgentsItemBaseTemplateIdItem"), exports);
178
178
  __exportStar(require("./TemplatesCreateAgentsResponseAgentsItemBaseTemplateId"), exports);
179
- __exportStar(require("./TemplatesCreateAgentsResponseAgentsItemIdentifierKeyItem"), exports);
180
- __exportStar(require("./TemplatesCreateAgentsResponseAgentsItemIdentifierKey"), exports);
179
+ __exportStar(require("./TemplatesCreateAgentsResponseAgentsItemIdentityIds"), exports);
181
180
  __exportStar(require("./TemplatesCreateAgentsResponseAgentsItemMessageBufferAutoclear"), exports);
182
181
  __exportStar(require("./TemplatesCreateAgentsResponseAgentsItem"), exports);
183
182
  __exportStar(require("./TemplatesCreateAgentsResponse"), exports);
@@ -76,7 +76,7 @@ class Tools {
76
76
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
77
77
  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/tools/${encodeURIComponent(toolId)}`),
78
78
  method: "GET",
79
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.37", "User-Agent": "@letta-ai/letta-client/0.1.37", "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
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.38", "User-Agent": "@letta-ai/letta-client/0.1.38", "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),
80
80
  contentType: "application/json",
81
81
  requestType: "json",
82
82
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -141,7 +141,7 @@ class Tools {
141
141
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
142
142
  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/tools/${encodeURIComponent(toolId)}`),
143
143
  method: "DELETE",
144
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.37", "User-Agent": "@letta-ai/letta-client/0.1.37", "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),
144
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.38", "User-Agent": "@letta-ai/letta-client/0.1.38", "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),
145
145
  contentType: "application/json",
146
146
  requestType: "json",
147
147
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -201,7 +201,7 @@ class Tools {
201
201
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
202
202
  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/tools/${encodeURIComponent(toolId)}`),
203
203
  method: "PATCH",
204
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.37", "User-Agent": "@letta-ai/letta-client/0.1.37", "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),
204
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.38", "User-Agent": "@letta-ai/letta-client/0.1.38", "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),
205
205
  contentType: "application/json",
206
206
  requestType: "json",
207
207
  body: serializers.ToolUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -278,7 +278,7 @@ class Tools {
278
278
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
279
279
  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/tools/"),
280
280
  method: "GET",
281
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.37", "User-Agent": "@letta-ai/letta-client/0.1.37", "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),
281
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.38", "User-Agent": "@letta-ai/letta-client/0.1.38", "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),
282
282
  contentType: "application/json",
283
283
  queryParameters: _queryParams,
284
284
  requestType: "json",
@@ -346,7 +346,7 @@ class Tools {
346
346
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
347
347
  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/tools/"),
348
348
  method: "POST",
349
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.37", "User-Agent": "@letta-ai/letta-client/0.1.37", "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
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.38", "User-Agent": "@letta-ai/letta-client/0.1.38", "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
  body: serializers.ToolCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -414,7 +414,7 @@ class Tools {
414
414
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
415
415
  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/tools/"),
416
416
  method: "PUT",
417
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.37", "User-Agent": "@letta-ai/letta-client/0.1.37", "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
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.38", "User-Agent": "@letta-ai/letta-client/0.1.38", "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),
418
418
  contentType: "application/json",
419
419
  requestType: "json",
420
420
  body: serializers.ToolCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -479,7 +479,7 @@ class Tools {
479
479
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
480
480
  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/tools/add-base-tools"),
481
481
  method: "POST",
482
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.37", "User-Agent": "@letta-ai/letta-client/0.1.37", "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),
482
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.38", "User-Agent": "@letta-ai/letta-client/0.1.38", "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),
483
483
  contentType: "application/json",
484
484
  requestType: "json",
485
485
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -549,7 +549,7 @@ class Tools {
549
549
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
550
550
  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/tools/run"),
551
551
  method: "POST",
552
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.37", "User-Agent": "@letta-ai/letta-client/0.1.37", "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),
552
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.38", "User-Agent": "@letta-ai/letta-client/0.1.38", "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),
553
553
  contentType: "application/json",
554
554
  requestType: "json",
555
555
  body: serializers.ToolRunFromSource.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -614,7 +614,7 @@ class Tools {
614
614
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
615
615
  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/tools/composio/apps"),
616
616
  method: "GET",
617
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.37", "User-Agent": "@letta-ai/letta-client/0.1.37", "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),
617
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.38", "User-Agent": "@letta-ai/letta-client/0.1.38", "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),
618
618
  contentType: "application/json",
619
619
  requestType: "json",
620
620
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -679,7 +679,7 @@ class Tools {
679
679
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
680
680
  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/tools/composio/apps/${encodeURIComponent(composioAppName)}/actions`),
681
681
  method: "GET",
682
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.37", "User-Agent": "@letta-ai/letta-client/0.1.37", "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),
682
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.38", "User-Agent": "@letta-ai/letta-client/0.1.38", "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),
683
683
  contentType: "application/json",
684
684
  requestType: "json",
685
685
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -744,7 +744,7 @@ class Tools {
744
744
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
745
745
  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/tools/composio/${encodeURIComponent(composioActionName)}`),
746
746
  method: "POST",
747
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.37", "User-Agent": "@letta-ai/letta-client/0.1.37", "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),
747
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.38", "User-Agent": "@letta-ai/letta-client/0.1.38", "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),
748
748
  contentType: "application/json",
749
749
  requestType: "json",
750
750
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -61,8 +61,8 @@ export interface AgentState {
61
61
  templateId?: string;
62
62
  /** The base template id of the agent. */
63
63
  baseTemplateId?: string;
64
- /** The identifier key belonging to the identity associated with this agent. */
65
- identifierKey?: string;
64
+ /** The ids of the identities associated with this agent. */
65
+ identityIds?: string[];
66
66
  /** If set to True, the agent will not remember previous messages (though the agent will still retain state via core memory blocks and archival/recall memory). Not recommended unless you have an advanced use case. */
67
67
  messageBufferAutoclear?: boolean;
68
68
  }
@@ -13,6 +13,8 @@ export interface Identity {
13
13
  identityType: Letta.IdentityType;
14
14
  /** The project id of the identity, if applicable. */
15
15
  projectId?: string;
16
- /** The agents associated with the identity. */
17
- agents: Letta.AgentState[];
16
+ /** The IDs of the agents associated with the identity. */
17
+ agentIds: string[];
18
+ /** List of properties associated with the identity */
19
+ properties?: Letta.IdentityProperty[];
18
20
  }
@@ -13,4 +13,6 @@ export interface IdentityCreate {
13
13
  projectId?: string;
14
14
  /** The agent ids that are associated with the identity. */
15
15
  agentIds?: string[];
16
+ /** List of properties associated with the identity. */
17
+ properties?: Letta.IdentityProperty[];
16
18
  }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Letta from "../index";
5
+ /**
6
+ * A property of an identity
7
+ */
8
+ export interface IdentityProperty {
9
+ /** The key of the property */
10
+ key: string;
11
+ /** The value of the property */
12
+ value: Letta.IdentityPropertyValue;
13
+ /** The type of the property */
14
+ type: Letta.IdentityPropertyType;
15
+ }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Enum to represent the type of the identity property.
6
+ */
7
+ export type IdentityPropertyType = "string" | "number" | "boolean" | "json";
8
+ export declare const IdentityPropertyType: {
9
+ readonly String: "string";
10
+ readonly Number: "number";
11
+ readonly Boolean: "boolean";
12
+ readonly Json: "json";
13
+ };
@@ -0,0 +1,12 @@
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.IdentityPropertyType = void 0;
7
+ exports.IdentityPropertyType = {
8
+ String: "string",
9
+ Number: "number",
10
+ Boolean: "boolean",
11
+ Json: "json",
12
+ };
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * The value of the property
6
+ */
7
+ export type IdentityPropertyValue = string | number | number | boolean | Record<string, unknown>;
@@ -87,6 +87,9 @@ export * from "./HttpValidationError";
87
87
  export * from "./Health";
88
88
  export * from "./Identity";
89
89
  export * from "./IdentityCreate";
90
+ export * from "./IdentityPropertyValue";
91
+ export * from "./IdentityProperty";
92
+ export * from "./IdentityPropertyType";
90
93
  export * from "./IdentityType";
91
94
  export * from "./ImageUrlDetail";
92
95
  export * from "./ImageUrl";
@@ -103,6 +103,9 @@ __exportStar(require("./HttpValidationError"), exports);
103
103
  __exportStar(require("./Health"), exports);
104
104
  __exportStar(require("./Identity"), exports);
105
105
  __exportStar(require("./IdentityCreate"), exports);
106
+ __exportStar(require("./IdentityPropertyValue"), exports);
107
+ __exportStar(require("./IdentityProperty"), exports);
108
+ __exportStar(require("./IdentityPropertyType"), exports);
106
109
  __exportStar(require("./IdentityType"), exports);
107
110
  __exportStar(require("./ImageUrlDetail"), exports);
108
111
  __exportStar(require("./ImageUrl"), exports);
@@ -43,7 +43,7 @@ export declare namespace CreateAgentRequest {
43
43
  project_id?: string | null;
44
44
  template_id?: string | null;
45
45
  base_template_id?: string | null;
46
- identifier_key?: string | null;
46
+ identity_ids?: string[] | null;
47
47
  message_buffer_autoclear?: boolean | null;
48
48
  }
49
49
  }
@@ -75,6 +75,6 @@ exports.CreateAgentRequest = core.serialization.object({
75
75
  projectId: core.serialization.property("project_id", core.serialization.string().optional()),
76
76
  templateId: core.serialization.property("template_id", core.serialization.string().optional()),
77
77
  baseTemplateId: core.serialization.property("base_template_id", core.serialization.string().optional()),
78
- identifierKey: core.serialization.property("identifier_key", core.serialization.string().optional()),
78
+ identityIds: core.serialization.property("identity_ids", core.serialization.list(core.serialization.string()).optional()),
79
79
  messageBufferAutoclear: core.serialization.property("message_buffer_autoclear", core.serialization.boolean().optional()),
80
80
  });
@@ -26,7 +26,7 @@ export declare namespace UpdateAgent {
26
26
  project_id?: string | null;
27
27
  template_id?: string | null;
28
28
  base_template_id?: string | null;
29
- identifier_key?: string | null;
29
+ identity_ids?: string[] | null;
30
30
  message_buffer_autoclear?: boolean | null;
31
31
  }
32
32
  }
@@ -58,6 +58,6 @@ exports.UpdateAgent = core.serialization.object({
58
58
  projectId: core.serialization.property("project_id", core.serialization.string().optional()),
59
59
  templateId: core.serialization.property("template_id", core.serialization.string().optional()),
60
60
  baseTemplateId: core.serialization.property("base_template_id", core.serialization.string().optional()),
61
- identifierKey: core.serialization.property("identifier_key", core.serialization.string().optional()),
61
+ identityIds: core.serialization.property("identity_ids", core.serialization.list(core.serialization.string()).optional()),
62
62
  messageBufferAutoclear: core.serialization.property("message_buffer_autoclear", core.serialization.boolean().optional()),
63
63
  });
@@ -23,7 +23,7 @@ import { AgentsSearchResponseAgentsItemToolExecEnvironmentVariables } from "./Ag
23
23
  import { AgentsSearchResponseAgentsItemProjectId } from "./AgentsSearchResponseAgentsItemProjectId";
24
24
  import { AgentsSearchResponseAgentsItemTemplateId } from "./AgentsSearchResponseAgentsItemTemplateId";
25
25
  import { AgentsSearchResponseAgentsItemBaseTemplateId } from "./AgentsSearchResponseAgentsItemBaseTemplateId";
26
- import { AgentsSearchResponseAgentsItemIdentifierKey } from "./AgentsSearchResponseAgentsItemIdentifierKey";
26
+ import { AgentsSearchResponseAgentsItemIdentityIds } from "./AgentsSearchResponseAgentsItemIdentityIds";
27
27
  import { AgentsSearchResponseAgentsItemMessageBufferAutoclear } from "./AgentsSearchResponseAgentsItemMessageBufferAutoclear";
28
28
  export declare const AgentsSearchResponseAgentsItem: core.serialization.ObjectSchema<serializers.AgentsSearchResponseAgentsItem.Raw, Letta.AgentsSearchResponseAgentsItem>;
29
29
  export declare namespace AgentsSearchResponseAgentsItem {
@@ -51,7 +51,7 @@ export declare namespace AgentsSearchResponseAgentsItem {
51
51
  project_id?: AgentsSearchResponseAgentsItemProjectId.Raw | null;
52
52
  template_id?: AgentsSearchResponseAgentsItemTemplateId.Raw | null;
53
53
  base_template_id?: AgentsSearchResponseAgentsItemBaseTemplateId.Raw | null;
54
- identifier_key?: AgentsSearchResponseAgentsItemIdentifierKey.Raw | null;
54
+ identity_ids?: AgentsSearchResponseAgentsItemIdentityIds.Raw | null;
55
55
  message_buffer_autoclear?: AgentsSearchResponseAgentsItemMessageBufferAutoclear.Raw | null;
56
56
  template?: string | null;
57
57
  }
@@ -57,7 +57,7 @@ const AgentsSearchResponseAgentsItemToolExecEnvironmentVariables_1 = require("./
57
57
  const AgentsSearchResponseAgentsItemProjectId_1 = require("./AgentsSearchResponseAgentsItemProjectId");
58
58
  const AgentsSearchResponseAgentsItemTemplateId_1 = require("./AgentsSearchResponseAgentsItemTemplateId");
59
59
  const AgentsSearchResponseAgentsItemBaseTemplateId_1 = require("./AgentsSearchResponseAgentsItemBaseTemplateId");
60
- const AgentsSearchResponseAgentsItemIdentifierKey_1 = require("./AgentsSearchResponseAgentsItemIdentifierKey");
60
+ const AgentsSearchResponseAgentsItemIdentityIds_1 = require("./AgentsSearchResponseAgentsItemIdentityIds");
61
61
  const AgentsSearchResponseAgentsItemMessageBufferAutoclear_1 = require("./AgentsSearchResponseAgentsItemMessageBufferAutoclear");
62
62
  exports.AgentsSearchResponseAgentsItem = core.serialization.object({
63
63
  createdById: core.serialization.property("created_by_id", AgentsSearchResponseAgentsItemCreatedById_1.AgentsSearchResponseAgentsItemCreatedById.optional()),
@@ -83,7 +83,7 @@ exports.AgentsSearchResponseAgentsItem = core.serialization.object({
83
83
  projectId: core.serialization.property("project_id", AgentsSearchResponseAgentsItemProjectId_1.AgentsSearchResponseAgentsItemProjectId.optional()),
84
84
  templateId: core.serialization.property("template_id", AgentsSearchResponseAgentsItemTemplateId_1.AgentsSearchResponseAgentsItemTemplateId.optional()),
85
85
  baseTemplateId: core.serialization.property("base_template_id", AgentsSearchResponseAgentsItemBaseTemplateId_1.AgentsSearchResponseAgentsItemBaseTemplateId.optional()),
86
- identifierKey: core.serialization.property("identifier_key", AgentsSearchResponseAgentsItemIdentifierKey_1.AgentsSearchResponseAgentsItemIdentifierKey.optional()),
86
+ identityIds: core.serialization.property("identity_ids", AgentsSearchResponseAgentsItemIdentityIds_1.AgentsSearchResponseAgentsItemIdentityIds.optional()),
87
87
  messageBufferAutoclear: core.serialization.property("message_buffer_autoclear", AgentsSearchResponseAgentsItemMessageBufferAutoclear_1.AgentsSearchResponseAgentsItemMessageBufferAutoclear.optional()),
88
88
  template: core.serialization.string().optional(),
89
89
  });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as Letta from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ export declare const AgentsSearchResponseAgentsItemIdentityIds: core.serialization.Schema<serializers.AgentsSearchResponseAgentsItemIdentityIds.Raw, Letta.AgentsSearchResponseAgentsItemIdentityIds>;
8
+ export declare namespace AgentsSearchResponseAgentsItemIdentityIds {
9
+ type Raw = string[] | unknown;
10
+ }
@@ -36,6 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.AgentsSearchResponseAgentsItemIdentifierKeyItem = void 0;
39
+ exports.AgentsSearchResponseAgentsItemIdentityIds = void 0;
40
40
  const core = __importStar(require("../../../../core"));
41
- exports.AgentsSearchResponseAgentsItemIdentifierKeyItem = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]);
41
+ exports.AgentsSearchResponseAgentsItemIdentityIds = core.serialization.undiscriminatedUnion([
42
+ core.serialization.list(core.serialization.string()),
43
+ core.serialization.unknown(),
44
+ ]);
@@ -167,8 +167,7 @@ export * from "./AgentsSearchResponseAgentsItemTemplateIdItem";
167
167
  export * from "./AgentsSearchResponseAgentsItemTemplateId";
168
168
  export * from "./AgentsSearchResponseAgentsItemBaseTemplateIdItem";
169
169
  export * from "./AgentsSearchResponseAgentsItemBaseTemplateId";
170
- export * from "./AgentsSearchResponseAgentsItemIdentifierKeyItem";
171
- export * from "./AgentsSearchResponseAgentsItemIdentifierKey";
170
+ export * from "./AgentsSearchResponseAgentsItemIdentityIds";
172
171
  export * from "./AgentsSearchResponseAgentsItemMessageBufferAutoclear";
173
172
  export * from "./AgentsSearchResponseAgentsItem";
174
173
  export * from "./AgentsSearchResponse";
@@ -183,8 +183,7 @@ __exportStar(require("./AgentsSearchResponseAgentsItemTemplateIdItem"), exports)
183
183
  __exportStar(require("./AgentsSearchResponseAgentsItemTemplateId"), exports);
184
184
  __exportStar(require("./AgentsSearchResponseAgentsItemBaseTemplateIdItem"), exports);
185
185
  __exportStar(require("./AgentsSearchResponseAgentsItemBaseTemplateId"), exports);
186
- __exportStar(require("./AgentsSearchResponseAgentsItemIdentifierKeyItem"), exports);
187
- __exportStar(require("./AgentsSearchResponseAgentsItemIdentifierKey"), exports);
186
+ __exportStar(require("./AgentsSearchResponseAgentsItemIdentityIds"), exports);
188
187
  __exportStar(require("./AgentsSearchResponseAgentsItemMessageBufferAutoclear"), exports);
189
188
  __exportStar(require("./AgentsSearchResponseAgentsItem"), exports);
190
189
  __exportStar(require("./AgentsSearchResponse"), exports);
@@ -1,2 +1,2 @@
1
- export * as listIdentities from "./listIdentities";
1
+ export * as list from "./list";
2
2
  export * from "./requests";
@@ -36,6 +36,6 @@ 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.listIdentities = void 0;
40
- exports.listIdentities = __importStar(require("./listIdentities"));
39
+ exports.list = void 0;
40
+ exports.list = __importStar(require("./list"));
41
41
  __exportStar(require("./requests"), exports);
@@ -5,7 +5,7 @@ import * as serializers from "../../../index";
5
5
  import * as Letta from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
7
  import { Identity } from "../../../types/Identity";
8
- export declare const Response: core.serialization.Schema<serializers.identities.listIdentities.Response.Raw, Letta.Identity[]>;
8
+ export declare const Response: core.serialization.Schema<serializers.identities.list.Response.Raw, Letta.Identity[]>;
9
9
  export declare namespace Response {
10
10
  type Raw = Identity.Raw[];
11
11
  }
@@ -5,11 +5,14 @@ import * as serializers from "../../../../index";
5
5
  import * as Letta from "../../../../../api/index";
6
6
  import * as core from "../../../../../core";
7
7
  import { IdentityType } from "../../../../types/IdentityType";
8
+ import { IdentityProperty } from "../../../../types/IdentityProperty";
8
9
  export declare const IdentityUpdate: core.serialization.Schema<serializers.IdentityUpdate.Raw, Letta.IdentityUpdate>;
9
10
  export declare namespace IdentityUpdate {
10
11
  interface Raw {
12
+ identifier_key?: string | null;
11
13
  name?: string | null;
12
14
  identity_type?: IdentityType.Raw | null;
13
15
  agent_ids?: string[] | null;
16
+ properties?: IdentityProperty.Raw[] | null;
14
17
  }
15
18
  }
@@ -39,8 +39,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.IdentityUpdate = void 0;
40
40
  const core = __importStar(require("../../../../../core"));
41
41
  const IdentityType_1 = require("../../../../types/IdentityType");
42
+ const IdentityProperty_1 = require("../../../../types/IdentityProperty");
42
43
  exports.IdentityUpdate = core.serialization.object({
44
+ identifierKey: core.serialization.property("identifier_key", core.serialization.string().optional()),
43
45
  name: core.serialization.string().optional(),
44
46
  identityType: core.serialization.property("identity_type", IdentityType_1.IdentityType.optional()),
45
47
  agentIds: core.serialization.property("agent_ids", core.serialization.list(core.serialization.string()).optional()),
48
+ properties: core.serialization.list(IdentityProperty_1.IdentityProperty).optional(),
46
49
  });
@@ -23,7 +23,7 @@ import { TemplatesCreateAgentsResponseAgentsItemToolExecEnvironmentVariables } f
23
23
  import { TemplatesCreateAgentsResponseAgentsItemProjectId } from "./TemplatesCreateAgentsResponseAgentsItemProjectId";
24
24
  import { TemplatesCreateAgentsResponseAgentsItemTemplateId } from "./TemplatesCreateAgentsResponseAgentsItemTemplateId";
25
25
  import { TemplatesCreateAgentsResponseAgentsItemBaseTemplateId } from "./TemplatesCreateAgentsResponseAgentsItemBaseTemplateId";
26
- import { TemplatesCreateAgentsResponseAgentsItemIdentifierKey } from "./TemplatesCreateAgentsResponseAgentsItemIdentifierKey";
26
+ import { TemplatesCreateAgentsResponseAgentsItemIdentityIds } from "./TemplatesCreateAgentsResponseAgentsItemIdentityIds";
27
27
  import { TemplatesCreateAgentsResponseAgentsItemMessageBufferAutoclear } from "./TemplatesCreateAgentsResponseAgentsItemMessageBufferAutoclear";
28
28
  export declare const TemplatesCreateAgentsResponseAgentsItem: core.serialization.ObjectSchema<serializers.TemplatesCreateAgentsResponseAgentsItem.Raw, Letta.TemplatesCreateAgentsResponseAgentsItem>;
29
29
  export declare namespace TemplatesCreateAgentsResponseAgentsItem {
@@ -51,7 +51,7 @@ export declare namespace TemplatesCreateAgentsResponseAgentsItem {
51
51
  project_id?: TemplatesCreateAgentsResponseAgentsItemProjectId.Raw | null;
52
52
  template_id?: TemplatesCreateAgentsResponseAgentsItemTemplateId.Raw | null;
53
53
  base_template_id?: TemplatesCreateAgentsResponseAgentsItemBaseTemplateId.Raw | null;
54
- identifier_key?: TemplatesCreateAgentsResponseAgentsItemIdentifierKey.Raw | null;
54
+ identity_ids?: TemplatesCreateAgentsResponseAgentsItemIdentityIds.Raw | null;
55
55
  message_buffer_autoclear?: TemplatesCreateAgentsResponseAgentsItemMessageBufferAutoclear.Raw | null;
56
56
  }
57
57
  }
@@ -57,7 +57,7 @@ const TemplatesCreateAgentsResponseAgentsItemToolExecEnvironmentVariables_1 = re
57
57
  const TemplatesCreateAgentsResponseAgentsItemProjectId_1 = require("./TemplatesCreateAgentsResponseAgentsItemProjectId");
58
58
  const TemplatesCreateAgentsResponseAgentsItemTemplateId_1 = require("./TemplatesCreateAgentsResponseAgentsItemTemplateId");
59
59
  const TemplatesCreateAgentsResponseAgentsItemBaseTemplateId_1 = require("./TemplatesCreateAgentsResponseAgentsItemBaseTemplateId");
60
- const TemplatesCreateAgentsResponseAgentsItemIdentifierKey_1 = require("./TemplatesCreateAgentsResponseAgentsItemIdentifierKey");
60
+ const TemplatesCreateAgentsResponseAgentsItemIdentityIds_1 = require("./TemplatesCreateAgentsResponseAgentsItemIdentityIds");
61
61
  const TemplatesCreateAgentsResponseAgentsItemMessageBufferAutoclear_1 = require("./TemplatesCreateAgentsResponseAgentsItemMessageBufferAutoclear");
62
62
  exports.TemplatesCreateAgentsResponseAgentsItem = core.serialization.object({
63
63
  createdById: core.serialization.property("created_by_id", TemplatesCreateAgentsResponseAgentsItemCreatedById_1.TemplatesCreateAgentsResponseAgentsItemCreatedById.optional()),
@@ -83,6 +83,6 @@ exports.TemplatesCreateAgentsResponseAgentsItem = core.serialization.object({
83
83
  projectId: core.serialization.property("project_id", TemplatesCreateAgentsResponseAgentsItemProjectId_1.TemplatesCreateAgentsResponseAgentsItemProjectId.optional()),
84
84
  templateId: core.serialization.property("template_id", TemplatesCreateAgentsResponseAgentsItemTemplateId_1.TemplatesCreateAgentsResponseAgentsItemTemplateId.optional()),
85
85
  baseTemplateId: core.serialization.property("base_template_id", TemplatesCreateAgentsResponseAgentsItemBaseTemplateId_1.TemplatesCreateAgentsResponseAgentsItemBaseTemplateId.optional()),
86
- identifierKey: core.serialization.property("identifier_key", TemplatesCreateAgentsResponseAgentsItemIdentifierKey_1.TemplatesCreateAgentsResponseAgentsItemIdentifierKey.optional()),
86
+ identityIds: core.serialization.property("identity_ids", TemplatesCreateAgentsResponseAgentsItemIdentityIds_1.TemplatesCreateAgentsResponseAgentsItemIdentityIds.optional()),
87
87
  messageBufferAutoclear: core.serialization.property("message_buffer_autoclear", TemplatesCreateAgentsResponseAgentsItemMessageBufferAutoclear_1.TemplatesCreateAgentsResponseAgentsItemMessageBufferAutoclear.optional()),
88
88
  });
@@ -4,7 +4,7 @@
4
4
  import * as serializers from "../../../index";
5
5
  import * as Letta from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
- export declare const TemplatesCreateAgentsResponseAgentsItemIdentifierKeyItem: core.serialization.Schema<serializers.TemplatesCreateAgentsResponseAgentsItemIdentifierKeyItem.Raw, Letta.TemplatesCreateAgentsResponseAgentsItemIdentifierKeyItem>;
8
- export declare namespace TemplatesCreateAgentsResponseAgentsItemIdentifierKeyItem {
9
- type Raw = string | (string | null | undefined);
7
+ export declare const TemplatesCreateAgentsResponseAgentsItemIdentityIds: core.serialization.Schema<serializers.TemplatesCreateAgentsResponseAgentsItemIdentityIds.Raw, Letta.TemplatesCreateAgentsResponseAgentsItemIdentityIds>;
8
+ export declare namespace TemplatesCreateAgentsResponseAgentsItemIdentityIds {
9
+ type Raw = string[] | unknown;
10
10
  }
@@ -36,6 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.TemplatesCreateAgentsResponseAgentsItemIdentifierKeyItem = void 0;
39
+ exports.TemplatesCreateAgentsResponseAgentsItemIdentityIds = void 0;
40
40
  const core = __importStar(require("../../../../core"));
41
- exports.TemplatesCreateAgentsResponseAgentsItemIdentifierKeyItem = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]);
41
+ exports.TemplatesCreateAgentsResponseAgentsItemIdentityIds = core.serialization.undiscriminatedUnion([
42
+ core.serialization.list(core.serialization.string()),
43
+ core.serialization.unknown(),
44
+ ]);
@@ -160,8 +160,7 @@ export * from "./TemplatesCreateAgentsResponseAgentsItemTemplateIdItem";
160
160
  export * from "./TemplatesCreateAgentsResponseAgentsItemTemplateId";
161
161
  export * from "./TemplatesCreateAgentsResponseAgentsItemBaseTemplateIdItem";
162
162
  export * from "./TemplatesCreateAgentsResponseAgentsItemBaseTemplateId";
163
- export * from "./TemplatesCreateAgentsResponseAgentsItemIdentifierKeyItem";
164
- export * from "./TemplatesCreateAgentsResponseAgentsItemIdentifierKey";
163
+ export * from "./TemplatesCreateAgentsResponseAgentsItemIdentityIds";
165
164
  export * from "./TemplatesCreateAgentsResponseAgentsItemMessageBufferAutoclear";
166
165
  export * from "./TemplatesCreateAgentsResponseAgentsItem";
167
166
  export * from "./TemplatesCreateAgentsResponse";
@@ -176,8 +176,7 @@ __exportStar(require("./TemplatesCreateAgentsResponseAgentsItemTemplateIdItem"),
176
176
  __exportStar(require("./TemplatesCreateAgentsResponseAgentsItemTemplateId"), exports);
177
177
  __exportStar(require("./TemplatesCreateAgentsResponseAgentsItemBaseTemplateIdItem"), exports);
178
178
  __exportStar(require("./TemplatesCreateAgentsResponseAgentsItemBaseTemplateId"), exports);
179
- __exportStar(require("./TemplatesCreateAgentsResponseAgentsItemIdentifierKeyItem"), exports);
180
- __exportStar(require("./TemplatesCreateAgentsResponseAgentsItemIdentifierKey"), exports);
179
+ __exportStar(require("./TemplatesCreateAgentsResponseAgentsItemIdentityIds"), exports);
181
180
  __exportStar(require("./TemplatesCreateAgentsResponseAgentsItemMessageBufferAutoclear"), exports);
182
181
  __exportStar(require("./TemplatesCreateAgentsResponseAgentsItem"), exports);
183
182
  __exportStar(require("./TemplatesCreateAgentsResponse"), exports);
@@ -37,7 +37,7 @@ export declare namespace AgentState {
37
37
  project_id?: string | null;
38
38
  template_id?: string | null;
39
39
  base_template_id?: string | null;
40
- identifier_key?: string | null;
40
+ identity_ids?: string[] | null;
41
41
  message_buffer_autoclear?: boolean | null;
42
42
  }
43
43
  }