@letta-ai/letta-client 0.1.180 → 0.1.182
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/errors/index.d.ts +1 -2
- package/api/errors/index.js +1 -2
- package/api/resources/agents/client/Client.js +10 -10
- package/api/resources/agents/resources/blocks/client/Client.js +5 -5
- package/api/resources/agents/resources/context/client/Client.js +1 -1
- package/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
- package/api/resources/agents/resources/files/client/Client.js +3 -3
- package/api/resources/agents/resources/folders/client/Client.js +3 -3
- package/api/resources/agents/resources/groups/client/Client.js +1 -1
- package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
- package/api/resources/agents/resources/messages/client/Client.js +8 -8
- package/api/resources/agents/resources/passages/client/Client.js +4 -4
- package/api/resources/agents/resources/sources/client/Client.js +3 -3
- package/api/resources/agents/resources/templates/client/Client.d.ts +14 -25
- package/api/resources/agents/resources/templates/client/Client.js +59 -131
- package/api/resources/agents/resources/templates/client/requests/TemplatesMigrateRequest.d.ts +0 -2
- package/api/resources/agents/resources/templates/client/requests/index.d.ts +0 -2
- package/api/resources/agents/resources/templates/types/index.d.ts +0 -2
- package/api/resources/agents/resources/templates/types/index.js +0 -2
- package/api/resources/agents/resources/tools/client/Client.js +3 -3
- package/api/resources/batches/client/Client.js +4 -4
- package/api/resources/blocks/client/Client.js +6 -6
- package/api/resources/blocks/resources/agents/client/Client.js +1 -1
- package/api/resources/clientSideAccessTokens/client/Client.js +3 -3
- package/api/resources/embeddingModels/client/Client.js +1 -1
- package/api/resources/folders/client/Client.js +9 -9
- package/api/resources/folders/resources/files/client/Client.js +6 -3
- package/api/resources/folders/resources/files/client/requests/BodyUploadFileToFolder.d.ts +4 -0
- package/api/resources/folders/resources/passages/client/Client.js +1 -1
- package/api/resources/groups/client/Client.js +6 -6
- package/api/resources/groups/resources/messages/client/Client.js +5 -5
- package/api/resources/health/client/Client.js +1 -1
- package/api/resources/identities/client/Client.js +7 -7
- package/api/resources/identities/resources/properties/client/Client.js +1 -1
- package/api/resources/jobs/client/Client.js +5 -5
- package/api/resources/messages/client/Client.js +1 -1
- package/api/resources/models/client/Client.js +1 -1
- package/api/resources/projects/client/Client.js +1 -1
- package/api/resources/providers/client/Client.js +6 -6
- package/api/resources/runs/client/Client.js +4 -4
- package/api/resources/runs/resources/messages/client/Client.js +1 -1
- package/api/resources/runs/resources/steps/client/Client.js +1 -1
- package/api/resources/runs/resources/usage/client/Client.js +1 -1
- package/api/resources/sources/client/Client.js +10 -10
- package/api/resources/sources/resources/files/client/Client.js +6 -3
- package/api/resources/sources/resources/files/client/requests/BodyUploadFileToSource.d.ts +4 -0
- package/api/resources/sources/resources/passages/client/Client.js +1 -1
- package/api/resources/steps/client/Client.js +3 -3
- package/api/resources/steps/resources/feedback/client/Client.js +1 -1
- package/api/resources/tags/client/Client.js +1 -1
- package/api/resources/telemetry/client/Client.js +1 -1
- package/api/resources/templates/client/Client.d.ts +107 -0
- package/api/resources/templates/client/Client.js +540 -3
- package/api/resources/templates/client/requests/TemplatesCreateTemplateRequest.d.ts +15 -0
- package/{dist/api/resources/agents/resources/templates/client/requests/TemplatesCreateRequest.d.ts → api/resources/templates/client/requests/TemplatesDeleteTemplateRequest.d.ts} +1 -2
- package/api/resources/templates/client/requests/TemplatesForkTemplateRequest.d.ts +11 -0
- package/api/resources/templates/client/requests/TemplatesListRequest.d.ts +3 -0
- package/api/resources/templates/client/requests/TemplatesListTemplateVersionsRequest.d.ts +11 -0
- package/api/resources/templates/client/requests/TemplatesRenameTemplateRequest.d.ts +13 -0
- package/api/resources/templates/client/requests/TemplatesSaveTemplateVersionRequest.d.ts +17 -0
- package/api/resources/templates/client/requests/index.d.ts +6 -0
- package/api/resources/templates/resources/agents/client/Client.js +1 -1
- package/api/resources/templates/types/TemplatesCreateTemplateResponse.d.ts +15 -0
- package/api/resources/templates/types/TemplatesDeleteTemplateResponse.d.ts +6 -0
- package/api/resources/templates/types/TemplatesForkTemplateResponse.d.ts +15 -0
- package/api/resources/templates/types/TemplatesForkTemplateResponse.js +5 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponse.d.ts +11 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponse.js +5 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts +18 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.js +5 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables.d.ts +8 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables.js +5 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariablesDataItem.d.ts +8 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariablesDataItem.js +5 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.d.ts +11 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.js +5 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem.d.ts +5 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem.js +5 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemChildOutputMapping.d.ts +11 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemChildOutputMapping.js +5 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFive.d.ts +8 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFive.js +5 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFour.d.ts +8 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFour.js +5 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemMaxCountLimit.d.ts +9 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemMaxCountLimit.js +5 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemOne.d.ts +8 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemOne.js +5 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemSeven.d.ts +9 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemSeven.js +5 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemTwo.d.ts +8 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemTwo.js +5 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemZero.d.ts +9 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemZero.js +5 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables.d.ts +8 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables.js +5 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariablesDataItem.d.ts +8 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariablesDataItem.js +5 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseBlocksItem.d.ts +11 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseBlocksItem.js +5 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseConfiguration.d.ts +12 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseConfiguration.js +5 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseType.d.ts +13 -0
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseType.js +15 -0
- package/api/resources/templates/types/TemplatesListResponseTemplatesItem.d.ts +4 -0
- package/api/resources/templates/types/TemplatesListTemplateVersionsResponse.d.ts +9 -0
- package/api/resources/templates/types/TemplatesListTemplateVersionsResponse.js +5 -0
- package/api/resources/templates/types/TemplatesListTemplateVersionsResponseVersionsItem.d.ts +13 -0
- package/api/resources/templates/types/TemplatesListTemplateVersionsResponseVersionsItem.js +5 -0
- package/api/resources/templates/types/TemplatesRenameTemplateResponse.d.ts +6 -0
- package/api/resources/templates/types/TemplatesRenameTemplateResponse.js +5 -0
- package/api/resources/templates/types/TemplatesSaveTemplateVersionResponse.d.ts +15 -0
- package/api/resources/templates/types/TemplatesSaveTemplateVersionResponse.js +5 -0
- package/api/resources/templates/types/index.d.ts +26 -0
- package/api/resources/templates/types/index.js +26 -0
- package/api/resources/tools/client/Client.js +20 -20
- package/api/resources/voice/client/Client.js +1 -1
- package/api/types/ConflictErrorBody.d.ts +1 -1
- package/api/types/DuplicateFileHandling.d.ts +2 -1
- package/api/types/DuplicateFileHandling.js +1 -0
- package/api/types/NotFoundErrorBody.d.ts +1 -1
- package/api/types/index.d.ts +1 -3
- package/api/types/index.js +1 -3
- package/dist/api/errors/index.d.ts +1 -2
- package/dist/api/errors/index.js +1 -2
- package/dist/api/resources/agents/client/Client.js +10 -10
- package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
- package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/files/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/folders/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/messages/client/Client.js +8 -8
- package/dist/api/resources/agents/resources/passages/client/Client.js +4 -4
- package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/templates/client/Client.d.ts +14 -25
- package/dist/api/resources/agents/resources/templates/client/Client.js +59 -131
- package/dist/api/resources/agents/resources/templates/client/requests/TemplatesMigrateRequest.d.ts +0 -2
- package/dist/api/resources/agents/resources/templates/client/requests/index.d.ts +0 -2
- package/dist/api/resources/agents/resources/templates/types/index.d.ts +0 -2
- package/dist/api/resources/agents/resources/templates/types/index.js +0 -2
- package/dist/api/resources/agents/resources/tools/client/Client.js +3 -3
- package/dist/api/resources/batches/client/Client.js +4 -4
- package/dist/api/resources/blocks/client/Client.js +6 -6
- package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
- package/dist/api/resources/clientSideAccessTokens/client/Client.js +3 -3
- package/dist/api/resources/embeddingModels/client/Client.js +1 -1
- package/dist/api/resources/folders/client/Client.js +9 -9
- package/dist/api/resources/folders/resources/files/client/Client.js +6 -3
- package/dist/api/resources/folders/resources/files/client/requests/BodyUploadFileToFolder.d.ts +4 -0
- package/dist/api/resources/folders/resources/passages/client/Client.js +1 -1
- package/dist/api/resources/groups/client/Client.js +6 -6
- package/dist/api/resources/groups/resources/messages/client/Client.js +5 -5
- package/dist/api/resources/health/client/Client.js +1 -1
- package/dist/api/resources/identities/client/Client.js +7 -7
- package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
- package/dist/api/resources/jobs/client/Client.js +5 -5
- package/dist/api/resources/messages/client/Client.js +1 -1
- package/dist/api/resources/models/client/Client.js +1 -1
- package/dist/api/resources/projects/client/Client.js +1 -1
- package/dist/api/resources/providers/client/Client.js +6 -6
- package/dist/api/resources/runs/client/Client.js +4 -4
- package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
- package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
- package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
- package/dist/api/resources/sources/client/Client.js +10 -10
- package/dist/api/resources/sources/resources/files/client/Client.js +6 -3
- package/dist/api/resources/sources/resources/files/client/requests/BodyUploadFileToSource.d.ts +4 -0
- package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
- package/dist/api/resources/steps/client/Client.js +3 -3
- package/dist/api/resources/steps/resources/feedback/client/Client.js +1 -1
- package/dist/api/resources/tags/client/Client.js +1 -1
- package/dist/api/resources/telemetry/client/Client.js +1 -1
- package/dist/api/resources/templates/client/Client.d.ts +107 -0
- package/dist/api/resources/templates/client/Client.js +540 -3
- package/dist/api/resources/templates/client/requests/TemplatesCreateTemplateRequest.d.ts +15 -0
- package/dist/api/resources/templates/client/requests/TemplatesCreateTemplateRequest.js +5 -0
- package/{api/resources/agents/resources/templates/client/requests/TemplatesCreateRequest.d.ts → dist/api/resources/templates/client/requests/TemplatesDeleteTemplateRequest.d.ts} +1 -2
- package/dist/api/resources/templates/client/requests/TemplatesDeleteTemplateRequest.js +5 -0
- package/dist/api/resources/templates/client/requests/TemplatesForkTemplateRequest.d.ts +11 -0
- package/dist/api/resources/templates/client/requests/TemplatesForkTemplateRequest.js +5 -0
- package/dist/api/resources/templates/client/requests/TemplatesListRequest.d.ts +3 -0
- package/dist/api/resources/templates/client/requests/TemplatesListTemplateVersionsRequest.d.ts +11 -0
- package/dist/api/resources/templates/client/requests/TemplatesListTemplateVersionsRequest.js +5 -0
- package/dist/api/resources/templates/client/requests/TemplatesRenameTemplateRequest.d.ts +13 -0
- package/dist/api/resources/templates/client/requests/TemplatesRenameTemplateRequest.js +5 -0
- package/dist/api/resources/templates/client/requests/TemplatesSaveTemplateVersionRequest.d.ts +17 -0
- package/dist/api/resources/templates/client/requests/TemplatesSaveTemplateVersionRequest.js +5 -0
- package/dist/api/resources/templates/client/requests/index.d.ts +6 -0
- package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
- package/dist/api/resources/templates/types/TemplatesCreateTemplateResponse.d.ts +15 -0
- package/dist/api/resources/templates/types/TemplatesCreateTemplateResponse.js +5 -0
- package/dist/api/resources/templates/types/TemplatesDeleteTemplateResponse.d.ts +6 -0
- package/dist/api/resources/templates/types/TemplatesDeleteTemplateResponse.js +5 -0
- package/dist/api/resources/templates/types/TemplatesForkTemplateResponse.d.ts +15 -0
- package/dist/api/resources/templates/types/TemplatesForkTemplateResponse.js +5 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponse.d.ts +11 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponse.js +5 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts +18 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.js +5 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables.d.ts +8 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables.js +5 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariablesDataItem.d.ts +8 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariablesDataItem.js +5 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.d.ts +11 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.js +5 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem.d.ts +5 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem.js +5 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemChildOutputMapping.d.ts +11 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemChildOutputMapping.js +5 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFive.d.ts +8 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFive.js +5 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFour.d.ts +8 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFour.js +5 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemMaxCountLimit.d.ts +9 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemMaxCountLimit.js +5 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemOne.d.ts +8 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemOne.js +5 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemSeven.d.ts +9 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemSeven.js +5 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemTwo.d.ts +8 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemTwo.js +5 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemZero.d.ts +9 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemZero.js +5 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables.d.ts +8 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables.js +5 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariablesDataItem.d.ts +8 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariablesDataItem.js +5 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseBlocksItem.d.ts +11 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseBlocksItem.js +5 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseConfiguration.d.ts +12 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseConfiguration.js +5 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseType.d.ts +13 -0
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseType.js +15 -0
- package/dist/api/resources/templates/types/TemplatesListResponseTemplatesItem.d.ts +4 -0
- package/dist/api/resources/templates/types/TemplatesListTemplateVersionsResponse.d.ts +9 -0
- package/dist/api/resources/templates/types/TemplatesListTemplateVersionsResponse.js +5 -0
- package/dist/api/resources/templates/types/TemplatesListTemplateVersionsResponseVersionsItem.d.ts +13 -0
- package/dist/api/resources/templates/types/TemplatesListTemplateVersionsResponseVersionsItem.js +5 -0
- package/dist/api/resources/templates/types/TemplatesRenameTemplateResponse.d.ts +6 -0
- package/dist/api/resources/templates/types/TemplatesRenameTemplateResponse.js +5 -0
- package/dist/api/resources/templates/types/TemplatesSaveTemplateVersionResponse.d.ts +15 -0
- package/dist/api/resources/templates/types/TemplatesSaveTemplateVersionResponse.js +5 -0
- package/dist/api/resources/templates/types/index.d.ts +26 -0
- package/dist/api/resources/templates/types/index.js +26 -0
- package/dist/api/resources/tools/client/Client.js +20 -20
- package/dist/api/resources/voice/client/Client.js +1 -1
- package/dist/api/types/ConflictErrorBody.d.ts +1 -1
- package/dist/api/types/DuplicateFileHandling.d.ts +2 -1
- package/dist/api/types/DuplicateFileHandling.js +1 -0
- package/dist/api/types/NotFoundErrorBody.d.ts +1 -1
- package/dist/api/types/index.d.ts +1 -3
- package/dist/api/types/index.js +1 -3
- package/dist/serialization/resources/agents/resources/templates/client/requests/TemplatesMigrateRequest.d.ts +0 -1
- package/dist/serialization/resources/agents/resources/templates/client/requests/TemplatesMigrateRequest.js +0 -1
- package/dist/serialization/resources/agents/resources/templates/client/requests/index.d.ts +0 -2
- package/dist/serialization/resources/agents/resources/templates/client/requests/index.js +1 -5
- package/dist/serialization/resources/agents/resources/templates/types/index.d.ts +0 -2
- package/dist/serialization/resources/agents/resources/templates/types/index.js +0 -2
- package/dist/serialization/resources/index.d.ts +1 -0
- package/dist/serialization/resources/index.js +1 -0
- package/dist/serialization/resources/templates/client/index.d.ts +1 -0
- package/dist/serialization/resources/templates/client/index.js +17 -0
- package/dist/serialization/resources/templates/client/requests/TemplatesCreateTemplateRequest.d.ts +13 -0
- package/dist/serialization/resources/templates/client/requests/TemplatesCreateTemplateRequest.js +44 -0
- package/dist/serialization/resources/templates/client/requests/TemplatesDeleteTemplateRequest.d.ts +11 -0
- package/dist/serialization/resources/{agents/resources/templates/types/TemplatesCreateVersionRequestReturnAgentState.js → templates/client/requests/TemplatesDeleteTemplateRequest.js} +3 -3
- package/dist/serialization/resources/templates/client/requests/TemplatesForkTemplateRequest.d.ts +12 -0
- package/dist/serialization/resources/templates/client/requests/TemplatesForkTemplateRequest.js +43 -0
- package/dist/serialization/resources/templates/client/requests/TemplatesRenameTemplateRequest.d.ts +12 -0
- package/dist/serialization/{types/InternalServerErrorBody.js → resources/templates/client/requests/TemplatesRenameTemplateRequest.js} +4 -4
- package/dist/serialization/resources/templates/client/requests/TemplatesSaveTemplateVersionRequest.d.ts +15 -0
- package/dist/serialization/resources/templates/client/requests/TemplatesSaveTemplateVersionRequest.js +46 -0
- package/dist/serialization/resources/templates/client/requests/index.d.ts +5 -0
- package/dist/serialization/resources/templates/client/requests/index.js +13 -0
- package/dist/serialization/resources/templates/index.d.ts +1 -0
- package/dist/serialization/resources/templates/index.js +1 -0
- package/dist/serialization/resources/templates/types/TemplatesCreateTemplateResponse.d.ts +18 -0
- package/dist/serialization/resources/templates/types/TemplatesCreateTemplateResponse.js +49 -0
- package/dist/serialization/resources/templates/types/TemplatesDeleteTemplateResponse.d.ts +12 -0
- package/dist/serialization/resources/{agents/resources/templates/client/requests/TemplatesCreateRequest.js → templates/types/TemplatesDeleteTemplateResponse.js} +4 -4
- package/dist/serialization/resources/templates/types/TemplatesForkTemplateResponse.d.ts +18 -0
- package/dist/serialization/resources/templates/types/TemplatesForkTemplateResponse.js +49 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponse.d.ts +20 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponse.js +51 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts +27 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.js +58 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables.d.ts +14 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables.js +45 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariablesDataItem.d.ts +14 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariablesDataItem.js +45 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.d.ts +17 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.js +48 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem.d.ts +18 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem.js +58 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemChildOutputMapping.d.ts +17 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemChildOutputMapping.js +48 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFive.d.ts +14 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFive.js +45 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFour.d.ts +14 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFour.js +45 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemMaxCountLimit.d.ts +15 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemMaxCountLimit.js +46 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemOne.d.ts +14 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemOne.js +45 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemSeven.d.ts +15 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemSeven.js +46 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemTwo.d.ts +14 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemTwo.js +45 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemZero.d.ts +15 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemZero.js +46 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables.d.ts +14 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables.js +45 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariablesDataItem.d.ts +14 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariablesDataItem.js +45 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseBlocksItem.d.ts +17 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseBlocksItem.js +48 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseConfiguration.d.ts +18 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseConfiguration.js +49 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseType.d.ts +10 -0
- package/dist/serialization/{types/NotFoundErrorBodyMessage.js → resources/templates/types/TemplatesGetTemplateSnapshotResponseType.js} +10 -5
- package/dist/serialization/resources/templates/types/TemplatesListResponseTemplatesItem.d.ts +2 -0
- package/dist/serialization/resources/templates/types/TemplatesListResponseTemplatesItem.js +2 -0
- package/dist/serialization/resources/templates/types/TemplatesListTemplateVersionsResponse.d.ts +15 -0
- package/dist/serialization/resources/templates/types/TemplatesListTemplateVersionsResponse.js +46 -0
- package/dist/serialization/resources/templates/types/TemplatesListTemplateVersionsResponseVersionsItem.d.ts +15 -0
- package/{serialization/resources/agents/resources/templates/client/requests/TemplatesCreateVersionRequest.js → dist/serialization/resources/templates/types/TemplatesListTemplateVersionsResponseVersionsItem.js} +6 -5
- package/dist/serialization/resources/templates/types/TemplatesRenameTemplateResponse.d.ts +12 -0
- package/{serialization/resources/agents/resources/templates/client/requests/TemplatesCreateRequest.js → dist/serialization/resources/templates/types/TemplatesRenameTemplateResponse.js} +4 -4
- package/dist/serialization/resources/templates/types/TemplatesSaveTemplateVersionResponse.d.ts +18 -0
- package/dist/serialization/resources/templates/types/TemplatesSaveTemplateVersionResponse.js +49 -0
- package/dist/serialization/resources/templates/types/index.d.ts +26 -0
- package/dist/serialization/resources/templates/types/index.js +26 -0
- package/dist/serialization/types/ConflictErrorBody.d.ts +1 -1
- package/dist/serialization/types/ConflictErrorBody.js +1 -1
- package/dist/serialization/types/DuplicateFileHandling.d.ts +1 -1
- package/dist/serialization/types/DuplicateFileHandling.js +1 -1
- package/dist/serialization/types/NotFoundErrorBody.d.ts +1 -1
- package/dist/serialization/types/NotFoundErrorBody.js +1 -1
- package/dist/serialization/types/index.d.ts +1 -3
- package/dist/serialization/types/index.js +1 -3
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +555 -30
- package/serialization/resources/agents/resources/templates/client/requests/TemplatesMigrateRequest.d.ts +0 -1
- package/serialization/resources/agents/resources/templates/client/requests/TemplatesMigrateRequest.js +0 -1
- package/serialization/resources/agents/resources/templates/client/requests/index.d.ts +0 -2
- package/serialization/resources/agents/resources/templates/client/requests/index.js +1 -5
- package/serialization/resources/agents/resources/templates/types/index.d.ts +0 -2
- package/serialization/resources/agents/resources/templates/types/index.js +0 -2
- package/serialization/resources/index.d.ts +1 -0
- package/serialization/resources/index.js +1 -0
- package/serialization/resources/templates/client/index.d.ts +1 -0
- package/serialization/resources/templates/client/index.js +17 -0
- package/serialization/resources/templates/client/requests/TemplatesCreateTemplateRequest.d.ts +13 -0
- package/serialization/resources/templates/client/requests/TemplatesCreateTemplateRequest.js +44 -0
- package/serialization/resources/templates/client/requests/TemplatesDeleteTemplateRequest.d.ts +11 -0
- package/serialization/resources/{agents/resources/templates/types/TemplatesCreateVersionRequestReturnAgentState.js → templates/client/requests/TemplatesDeleteTemplateRequest.js} +3 -3
- package/serialization/resources/templates/client/requests/TemplatesForkTemplateRequest.d.ts +12 -0
- package/serialization/resources/templates/client/requests/TemplatesForkTemplateRequest.js +43 -0
- package/serialization/resources/templates/client/requests/TemplatesRenameTemplateRequest.d.ts +12 -0
- package/{dist/serialization/resources/agents/resources/templates/types/TemplatesCreateResponse.js → serialization/resources/templates/client/requests/TemplatesRenameTemplateRequest.js} +4 -5
- package/serialization/resources/templates/client/requests/TemplatesSaveTemplateVersionRequest.d.ts +15 -0
- package/serialization/resources/templates/client/requests/TemplatesSaveTemplateVersionRequest.js +46 -0
- package/serialization/resources/templates/client/requests/index.d.ts +5 -0
- package/serialization/resources/templates/client/requests/index.js +13 -0
- package/serialization/resources/templates/index.d.ts +1 -0
- package/serialization/resources/templates/index.js +1 -0
- package/serialization/resources/templates/types/TemplatesCreateTemplateResponse.d.ts +18 -0
- package/serialization/resources/templates/types/TemplatesCreateTemplateResponse.js +49 -0
- package/serialization/resources/templates/types/TemplatesDeleteTemplateResponse.d.ts +12 -0
- package/serialization/resources/templates/types/TemplatesDeleteTemplateResponse.js +43 -0
- package/serialization/resources/templates/types/TemplatesForkTemplateResponse.d.ts +18 -0
- package/serialization/resources/templates/types/TemplatesForkTemplateResponse.js +49 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponse.d.ts +20 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponse.js +51 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts +27 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.js +58 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables.d.ts +14 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables.js +45 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariablesDataItem.d.ts +14 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariablesDataItem.js +45 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.d.ts +17 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.js +48 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem.d.ts +18 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem.js +58 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemChildOutputMapping.d.ts +17 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemChildOutputMapping.js +48 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFive.d.ts +14 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFive.js +45 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFour.d.ts +14 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFour.js +45 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemMaxCountLimit.d.ts +15 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemMaxCountLimit.js +46 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemOne.d.ts +14 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemOne.js +45 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemSeven.d.ts +15 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemSeven.js +46 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemTwo.d.ts +14 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemTwo.js +45 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemZero.d.ts +15 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemZero.js +46 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables.d.ts +14 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables.js +45 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariablesDataItem.d.ts +14 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemToolVariablesDataItem.js +45 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseBlocksItem.d.ts +17 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseBlocksItem.js +48 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseConfiguration.d.ts +18 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseConfiguration.js +49 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseType.d.ts +10 -0
- package/serialization/{types/NotFoundErrorBodyMessage.js → resources/templates/types/TemplatesGetTemplateSnapshotResponseType.js} +10 -5
- package/serialization/resources/templates/types/TemplatesListResponseTemplatesItem.d.ts +2 -0
- package/serialization/resources/templates/types/TemplatesListResponseTemplatesItem.js +2 -0
- package/serialization/resources/templates/types/TemplatesListTemplateVersionsResponse.d.ts +15 -0
- package/serialization/resources/templates/types/TemplatesListTemplateVersionsResponse.js +46 -0
- package/serialization/resources/templates/types/TemplatesListTemplateVersionsResponseVersionsItem.d.ts +15 -0
- package/{dist/serialization/resources/agents/resources/templates/client/requests/TemplatesCreateVersionRequest.js → serialization/resources/templates/types/TemplatesListTemplateVersionsResponseVersionsItem.js} +6 -5
- package/serialization/resources/templates/types/TemplatesRenameTemplateResponse.d.ts +12 -0
- package/serialization/resources/templates/types/TemplatesRenameTemplateResponse.js +43 -0
- package/serialization/resources/templates/types/TemplatesSaveTemplateVersionResponse.d.ts +18 -0
- package/serialization/resources/templates/types/TemplatesSaveTemplateVersionResponse.js +49 -0
- package/serialization/resources/templates/types/index.d.ts +26 -0
- package/serialization/resources/templates/types/index.js +26 -0
- package/serialization/types/ConflictErrorBody.d.ts +1 -1
- package/serialization/types/ConflictErrorBody.js +1 -1
- package/serialization/types/DuplicateFileHandling.d.ts +1 -1
- package/serialization/types/DuplicateFileHandling.js +1 -1
- package/serialization/types/NotFoundErrorBody.d.ts +1 -1
- package/serialization/types/NotFoundErrorBody.js +1 -1
- package/serialization/types/index.d.ts +1 -3
- package/serialization/types/index.js +1 -3
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/errors/InternalServerError.d.ts +0 -8
- package/api/errors/InternalServerError.js +0 -52
- package/api/resources/agents/resources/templates/client/requests/TemplatesCreateVersionRequest.d.ts +0 -15
- package/api/resources/agents/resources/templates/types/TemplatesCreateResponse.d.ts +0 -7
- package/api/resources/agents/resources/templates/types/TemplatesCreateVersionRequestReturnAgentState.d.ts +0 -7
- package/api/resources/agents/resources/templates/types/TemplatesCreateVersionRequestReturnAgentState.js +0 -9
- package/api/types/InternalServerErrorBody.d.ts +0 -6
- package/api/types/NotFoundErrorBodyMessage.d.ts +0 -8
- package/api/types/NotFoundErrorBodyMessage.js +0 -10
- package/dist/api/errors/InternalServerError.d.ts +0 -8
- package/dist/api/errors/InternalServerError.js +0 -52
- package/dist/api/resources/agents/resources/templates/client/requests/TemplatesCreateVersionRequest.d.ts +0 -15
- package/dist/api/resources/agents/resources/templates/types/TemplatesCreateResponse.d.ts +0 -7
- package/dist/api/resources/agents/resources/templates/types/TemplatesCreateVersionRequestReturnAgentState.d.ts +0 -7
- package/dist/api/resources/agents/resources/templates/types/TemplatesCreateVersionRequestReturnAgentState.js +0 -9
- package/dist/api/types/InternalServerErrorBody.d.ts +0 -6
- package/dist/api/types/NotFoundErrorBodyMessage.d.ts +0 -8
- package/dist/api/types/NotFoundErrorBodyMessage.js +0 -10
- package/dist/serialization/resources/agents/resources/templates/client/requests/TemplatesCreateRequest.d.ts +0 -12
- package/dist/serialization/resources/agents/resources/templates/client/requests/TemplatesCreateVersionRequest.d.ts +0 -14
- package/dist/serialization/resources/agents/resources/templates/types/TemplatesCreateResponse.d.ts +0 -13
- package/dist/serialization/resources/agents/resources/templates/types/TemplatesCreateVersionRequestReturnAgentState.d.ts +0 -10
- package/dist/serialization/types/InternalServerErrorBody.d.ts +0 -12
- package/dist/serialization/types/NotFoundErrorBodyMessage.d.ts +0 -10
- package/serialization/resources/agents/resources/templates/client/requests/TemplatesCreateRequest.d.ts +0 -12
- package/serialization/resources/agents/resources/templates/client/requests/TemplatesCreateVersionRequest.d.ts +0 -14
- package/serialization/resources/agents/resources/templates/types/TemplatesCreateResponse.d.ts +0 -13
- package/serialization/resources/agents/resources/templates/types/TemplatesCreateResponse.js +0 -44
- package/serialization/resources/agents/resources/templates/types/TemplatesCreateVersionRequestReturnAgentState.d.ts +0 -10
- package/serialization/types/InternalServerErrorBody.d.ts +0 -12
- package/serialization/types/InternalServerErrorBody.js +0 -43
- package/serialization/types/NotFoundErrorBodyMessage.d.ts +0 -10
- /package/api/resources/{agents/resources/templates/client/requests/TemplatesCreateRequest.js → templates/client/requests/TemplatesCreateTemplateRequest.js} +0 -0
- /package/api/resources/{agents/resources/templates/client/requests/TemplatesCreateVersionRequest.js → templates/client/requests/TemplatesDeleteTemplateRequest.js} +0 -0
- /package/api/resources/{agents/resources/templates/types/TemplatesCreateResponse.js → templates/client/requests/TemplatesForkTemplateRequest.js} +0 -0
- /package/api/{types/InternalServerErrorBody.js → resources/templates/client/requests/TemplatesListTemplateVersionsRequest.js} +0 -0
- /package/{dist/api/resources/agents/resources/templates/client/requests/TemplatesCreateRequest.js → api/resources/templates/client/requests/TemplatesRenameTemplateRequest.js} +0 -0
- /package/{dist/api/resources/agents/resources/templates/client/requests/TemplatesCreateVersionRequest.js → api/resources/templates/client/requests/TemplatesSaveTemplateVersionRequest.js} +0 -0
- /package/{dist/api/resources/agents/resources/templates/types/TemplatesCreateResponse.js → api/resources/templates/types/TemplatesCreateTemplateResponse.js} +0 -0
- /package/{dist/api/types/InternalServerErrorBody.js → api/resources/templates/types/TemplatesDeleteTemplateResponse.js} +0 -0
package/reference.md
CHANGED
|
@@ -6158,6 +6158,547 @@ await client.templates.list();
|
|
|
6158
6158
|
</dl>
|
|
6159
6159
|
</details>
|
|
6160
6160
|
|
|
6161
|
+
<details><summary><code>client.templates.<a href="/src/api/resources/templates/client/Client.ts">savetemplateversion</a>(project, templateName, { ...params }) -> Letta.TemplatesSaveTemplateVersionResponse</code></summary>
|
|
6162
|
+
<dl>
|
|
6163
|
+
<dd>
|
|
6164
|
+
|
|
6165
|
+
#### 📝 Description
|
|
6166
|
+
|
|
6167
|
+
<dl>
|
|
6168
|
+
<dd>
|
|
6169
|
+
|
|
6170
|
+
<dl>
|
|
6171
|
+
<dd>
|
|
6172
|
+
|
|
6173
|
+
Saves the current version of the template as a new version
|
|
6174
|
+
|
|
6175
|
+
</dd>
|
|
6176
|
+
</dl>
|
|
6177
|
+
</dd>
|
|
6178
|
+
</dl>
|
|
6179
|
+
|
|
6180
|
+
#### 🔌 Usage
|
|
6181
|
+
|
|
6182
|
+
<dl>
|
|
6183
|
+
<dd>
|
|
6184
|
+
|
|
6185
|
+
<dl>
|
|
6186
|
+
<dd>
|
|
6187
|
+
|
|
6188
|
+
```typescript
|
|
6189
|
+
await client.templates.savetemplateversion("project", "template_name");
|
|
6190
|
+
```
|
|
6191
|
+
|
|
6192
|
+
</dd>
|
|
6193
|
+
</dl>
|
|
6194
|
+
</dd>
|
|
6195
|
+
</dl>
|
|
6196
|
+
|
|
6197
|
+
#### ⚙️ Parameters
|
|
6198
|
+
|
|
6199
|
+
<dl>
|
|
6200
|
+
<dd>
|
|
6201
|
+
|
|
6202
|
+
<dl>
|
|
6203
|
+
<dd>
|
|
6204
|
+
|
|
6205
|
+
**project:** `string` — The project slug
|
|
6206
|
+
|
|
6207
|
+
</dd>
|
|
6208
|
+
</dl>
|
|
6209
|
+
|
|
6210
|
+
<dl>
|
|
6211
|
+
<dd>
|
|
6212
|
+
|
|
6213
|
+
**templateName:** `string` — The template version, formatted as {template-name}, any version appended will be ignored
|
|
6214
|
+
|
|
6215
|
+
</dd>
|
|
6216
|
+
</dl>
|
|
6217
|
+
|
|
6218
|
+
<dl>
|
|
6219
|
+
<dd>
|
|
6220
|
+
|
|
6221
|
+
**request:** `Letta.TemplatesSaveTemplateVersionRequest`
|
|
6222
|
+
|
|
6223
|
+
</dd>
|
|
6224
|
+
</dl>
|
|
6225
|
+
|
|
6226
|
+
<dl>
|
|
6227
|
+
<dd>
|
|
6228
|
+
|
|
6229
|
+
**requestOptions:** `Templates.RequestOptions`
|
|
6230
|
+
|
|
6231
|
+
</dd>
|
|
6232
|
+
</dl>
|
|
6233
|
+
</dd>
|
|
6234
|
+
</dl>
|
|
6235
|
+
|
|
6236
|
+
</dd>
|
|
6237
|
+
</dl>
|
|
6238
|
+
</details>
|
|
6239
|
+
|
|
6240
|
+
<details><summary><code>client.templates.<a href="/src/api/resources/templates/client/Client.ts">deletetemplate</a>(project, templateName, { ...params }) -> Letta.TemplatesDeleteTemplateResponse</code></summary>
|
|
6241
|
+
<dl>
|
|
6242
|
+
<dd>
|
|
6243
|
+
|
|
6244
|
+
#### 📝 Description
|
|
6245
|
+
|
|
6246
|
+
<dl>
|
|
6247
|
+
<dd>
|
|
6248
|
+
|
|
6249
|
+
<dl>
|
|
6250
|
+
<dd>
|
|
6251
|
+
|
|
6252
|
+
Deletes all versions of a template with the specified name
|
|
6253
|
+
|
|
6254
|
+
</dd>
|
|
6255
|
+
</dl>
|
|
6256
|
+
</dd>
|
|
6257
|
+
</dl>
|
|
6258
|
+
|
|
6259
|
+
#### 🔌 Usage
|
|
6260
|
+
|
|
6261
|
+
<dl>
|
|
6262
|
+
<dd>
|
|
6263
|
+
|
|
6264
|
+
<dl>
|
|
6265
|
+
<dd>
|
|
6266
|
+
|
|
6267
|
+
```typescript
|
|
6268
|
+
await client.templates.deletetemplate("project", "template_name");
|
|
6269
|
+
```
|
|
6270
|
+
|
|
6271
|
+
</dd>
|
|
6272
|
+
</dl>
|
|
6273
|
+
</dd>
|
|
6274
|
+
</dl>
|
|
6275
|
+
|
|
6276
|
+
#### ⚙️ Parameters
|
|
6277
|
+
|
|
6278
|
+
<dl>
|
|
6279
|
+
<dd>
|
|
6280
|
+
|
|
6281
|
+
<dl>
|
|
6282
|
+
<dd>
|
|
6283
|
+
|
|
6284
|
+
**project:** `string` — The project slug
|
|
6285
|
+
|
|
6286
|
+
</dd>
|
|
6287
|
+
</dl>
|
|
6288
|
+
|
|
6289
|
+
<dl>
|
|
6290
|
+
<dd>
|
|
6291
|
+
|
|
6292
|
+
**templateName:** `string` — The template name (without version)
|
|
6293
|
+
|
|
6294
|
+
</dd>
|
|
6295
|
+
</dl>
|
|
6296
|
+
|
|
6297
|
+
<dl>
|
|
6298
|
+
<dd>
|
|
6299
|
+
|
|
6300
|
+
**request:** `Letta.TemplatesDeleteTemplateRequest`
|
|
6301
|
+
|
|
6302
|
+
</dd>
|
|
6303
|
+
</dl>
|
|
6304
|
+
|
|
6305
|
+
<dl>
|
|
6306
|
+
<dd>
|
|
6307
|
+
|
|
6308
|
+
**requestOptions:** `Templates.RequestOptions`
|
|
6309
|
+
|
|
6310
|
+
</dd>
|
|
6311
|
+
</dl>
|
|
6312
|
+
</dd>
|
|
6313
|
+
</dl>
|
|
6314
|
+
|
|
6315
|
+
</dd>
|
|
6316
|
+
</dl>
|
|
6317
|
+
</details>
|
|
6318
|
+
|
|
6319
|
+
<details><summary><code>client.templates.<a href="/src/api/resources/templates/client/Client.ts">gettemplatesnapshot</a>(project, templateVersion) -> Letta.TemplatesGetTemplateSnapshotResponse</code></summary>
|
|
6320
|
+
<dl>
|
|
6321
|
+
<dd>
|
|
6322
|
+
|
|
6323
|
+
#### 📝 Description
|
|
6324
|
+
|
|
6325
|
+
<dl>
|
|
6326
|
+
<dd>
|
|
6327
|
+
|
|
6328
|
+
<dl>
|
|
6329
|
+
<dd>
|
|
6330
|
+
|
|
6331
|
+
Get a snapshot of the template version, this will return the template state at a specific version
|
|
6332
|
+
|
|
6333
|
+
</dd>
|
|
6334
|
+
</dl>
|
|
6335
|
+
</dd>
|
|
6336
|
+
</dl>
|
|
6337
|
+
|
|
6338
|
+
#### 🔌 Usage
|
|
6339
|
+
|
|
6340
|
+
<dl>
|
|
6341
|
+
<dd>
|
|
6342
|
+
|
|
6343
|
+
<dl>
|
|
6344
|
+
<dd>
|
|
6345
|
+
|
|
6346
|
+
```typescript
|
|
6347
|
+
await client.templates.gettemplatesnapshot("project", "template_version");
|
|
6348
|
+
```
|
|
6349
|
+
|
|
6350
|
+
</dd>
|
|
6351
|
+
</dl>
|
|
6352
|
+
</dd>
|
|
6353
|
+
</dl>
|
|
6354
|
+
|
|
6355
|
+
#### ⚙️ Parameters
|
|
6356
|
+
|
|
6357
|
+
<dl>
|
|
6358
|
+
<dd>
|
|
6359
|
+
|
|
6360
|
+
<dl>
|
|
6361
|
+
<dd>
|
|
6362
|
+
|
|
6363
|
+
**project:** `string` — The project slug
|
|
6364
|
+
|
|
6365
|
+
</dd>
|
|
6366
|
+
</dl>
|
|
6367
|
+
|
|
6368
|
+
<dl>
|
|
6369
|
+
<dd>
|
|
6370
|
+
|
|
6371
|
+
**templateVersion:** `string` — The template version, formatted as {template-name}:{version-number} or {template-name}:latest
|
|
6372
|
+
|
|
6373
|
+
</dd>
|
|
6374
|
+
</dl>
|
|
6375
|
+
|
|
6376
|
+
<dl>
|
|
6377
|
+
<dd>
|
|
6378
|
+
|
|
6379
|
+
**requestOptions:** `Templates.RequestOptions`
|
|
6380
|
+
|
|
6381
|
+
</dd>
|
|
6382
|
+
</dl>
|
|
6383
|
+
</dd>
|
|
6384
|
+
</dl>
|
|
6385
|
+
|
|
6386
|
+
</dd>
|
|
6387
|
+
</dl>
|
|
6388
|
+
</details>
|
|
6389
|
+
|
|
6390
|
+
<details><summary><code>client.templates.<a href="/src/api/resources/templates/client/Client.ts">forktemplate</a>(project, templateVersion, { ...params }) -> Letta.TemplatesForkTemplateResponse</code></summary>
|
|
6391
|
+
<dl>
|
|
6392
|
+
<dd>
|
|
6393
|
+
|
|
6394
|
+
#### 📝 Description
|
|
6395
|
+
|
|
6396
|
+
<dl>
|
|
6397
|
+
<dd>
|
|
6398
|
+
|
|
6399
|
+
<dl>
|
|
6400
|
+
<dd>
|
|
6401
|
+
|
|
6402
|
+
Forks a template version into a new template
|
|
6403
|
+
|
|
6404
|
+
</dd>
|
|
6405
|
+
</dl>
|
|
6406
|
+
</dd>
|
|
6407
|
+
</dl>
|
|
6408
|
+
|
|
6409
|
+
#### 🔌 Usage
|
|
6410
|
+
|
|
6411
|
+
<dl>
|
|
6412
|
+
<dd>
|
|
6413
|
+
|
|
6414
|
+
<dl>
|
|
6415
|
+
<dd>
|
|
6416
|
+
|
|
6417
|
+
```typescript
|
|
6418
|
+
await client.templates.forktemplate("project", "template_version");
|
|
6419
|
+
```
|
|
6420
|
+
|
|
6421
|
+
</dd>
|
|
6422
|
+
</dl>
|
|
6423
|
+
</dd>
|
|
6424
|
+
</dl>
|
|
6425
|
+
|
|
6426
|
+
#### ⚙️ Parameters
|
|
6427
|
+
|
|
6428
|
+
<dl>
|
|
6429
|
+
<dd>
|
|
6430
|
+
|
|
6431
|
+
<dl>
|
|
6432
|
+
<dd>
|
|
6433
|
+
|
|
6434
|
+
**project:** `string` — The project slug
|
|
6435
|
+
|
|
6436
|
+
</dd>
|
|
6437
|
+
</dl>
|
|
6438
|
+
|
|
6439
|
+
<dl>
|
|
6440
|
+
<dd>
|
|
6441
|
+
|
|
6442
|
+
**templateVersion:** `string` — The template version, formatted as {template-name}:{version-number} or {template-name}:latest
|
|
6443
|
+
|
|
6444
|
+
</dd>
|
|
6445
|
+
</dl>
|
|
6446
|
+
|
|
6447
|
+
<dl>
|
|
6448
|
+
<dd>
|
|
6449
|
+
|
|
6450
|
+
**request:** `Letta.TemplatesForkTemplateRequest`
|
|
6451
|
+
|
|
6452
|
+
</dd>
|
|
6453
|
+
</dl>
|
|
6454
|
+
|
|
6455
|
+
<dl>
|
|
6456
|
+
<dd>
|
|
6457
|
+
|
|
6458
|
+
**requestOptions:** `Templates.RequestOptions`
|
|
6459
|
+
|
|
6460
|
+
</dd>
|
|
6461
|
+
</dl>
|
|
6462
|
+
</dd>
|
|
6463
|
+
</dl>
|
|
6464
|
+
|
|
6465
|
+
</dd>
|
|
6466
|
+
</dl>
|
|
6467
|
+
</details>
|
|
6468
|
+
|
|
6469
|
+
<details><summary><code>client.templates.<a href="/src/api/resources/templates/client/Client.ts">createtemplate</a>(project, { ...params }) -> Letta.TemplatesCreateTemplateResponse</code></summary>
|
|
6470
|
+
<dl>
|
|
6471
|
+
<dd>
|
|
6472
|
+
|
|
6473
|
+
#### 📝 Description
|
|
6474
|
+
|
|
6475
|
+
<dl>
|
|
6476
|
+
<dd>
|
|
6477
|
+
|
|
6478
|
+
<dl>
|
|
6479
|
+
<dd>
|
|
6480
|
+
|
|
6481
|
+
Creates a new template from an existing agent
|
|
6482
|
+
|
|
6483
|
+
</dd>
|
|
6484
|
+
</dl>
|
|
6485
|
+
</dd>
|
|
6486
|
+
</dl>
|
|
6487
|
+
|
|
6488
|
+
#### 🔌 Usage
|
|
6489
|
+
|
|
6490
|
+
<dl>
|
|
6491
|
+
<dd>
|
|
6492
|
+
|
|
6493
|
+
<dl>
|
|
6494
|
+
<dd>
|
|
6495
|
+
|
|
6496
|
+
```typescript
|
|
6497
|
+
await client.templates.createtemplate("project", {
|
|
6498
|
+
agentId: "agent_id",
|
|
6499
|
+
});
|
|
6500
|
+
```
|
|
6501
|
+
|
|
6502
|
+
</dd>
|
|
6503
|
+
</dl>
|
|
6504
|
+
</dd>
|
|
6505
|
+
</dl>
|
|
6506
|
+
|
|
6507
|
+
#### ⚙️ Parameters
|
|
6508
|
+
|
|
6509
|
+
<dl>
|
|
6510
|
+
<dd>
|
|
6511
|
+
|
|
6512
|
+
<dl>
|
|
6513
|
+
<dd>
|
|
6514
|
+
|
|
6515
|
+
**project:** `string` — The project slug
|
|
6516
|
+
|
|
6517
|
+
</dd>
|
|
6518
|
+
</dl>
|
|
6519
|
+
|
|
6520
|
+
<dl>
|
|
6521
|
+
<dd>
|
|
6522
|
+
|
|
6523
|
+
**request:** `Letta.TemplatesCreateTemplateRequest`
|
|
6524
|
+
|
|
6525
|
+
</dd>
|
|
6526
|
+
</dl>
|
|
6527
|
+
|
|
6528
|
+
<dl>
|
|
6529
|
+
<dd>
|
|
6530
|
+
|
|
6531
|
+
**requestOptions:** `Templates.RequestOptions`
|
|
6532
|
+
|
|
6533
|
+
</dd>
|
|
6534
|
+
</dl>
|
|
6535
|
+
</dd>
|
|
6536
|
+
</dl>
|
|
6537
|
+
|
|
6538
|
+
</dd>
|
|
6539
|
+
</dl>
|
|
6540
|
+
</details>
|
|
6541
|
+
|
|
6542
|
+
<details><summary><code>client.templates.<a href="/src/api/resources/templates/client/Client.ts">renametemplate</a>(project, templateName, { ...params }) -> Letta.TemplatesRenameTemplateResponse</code></summary>
|
|
6543
|
+
<dl>
|
|
6544
|
+
<dd>
|
|
6545
|
+
|
|
6546
|
+
#### 📝 Description
|
|
6547
|
+
|
|
6548
|
+
<dl>
|
|
6549
|
+
<dd>
|
|
6550
|
+
|
|
6551
|
+
<dl>
|
|
6552
|
+
<dd>
|
|
6553
|
+
|
|
6554
|
+
Renames all versions of a template with the specified name. Versions are automatically stripped from the current template name if accidentally included.
|
|
6555
|
+
|
|
6556
|
+
</dd>
|
|
6557
|
+
</dl>
|
|
6558
|
+
</dd>
|
|
6559
|
+
</dl>
|
|
6560
|
+
|
|
6561
|
+
#### 🔌 Usage
|
|
6562
|
+
|
|
6563
|
+
<dl>
|
|
6564
|
+
<dd>
|
|
6565
|
+
|
|
6566
|
+
<dl>
|
|
6567
|
+
<dd>
|
|
6568
|
+
|
|
6569
|
+
```typescript
|
|
6570
|
+
await client.templates.renametemplate("project", "template_name", {
|
|
6571
|
+
newName: "new_name",
|
|
6572
|
+
});
|
|
6573
|
+
```
|
|
6574
|
+
|
|
6575
|
+
</dd>
|
|
6576
|
+
</dl>
|
|
6577
|
+
</dd>
|
|
6578
|
+
</dl>
|
|
6579
|
+
|
|
6580
|
+
#### ⚙️ Parameters
|
|
6581
|
+
|
|
6582
|
+
<dl>
|
|
6583
|
+
<dd>
|
|
6584
|
+
|
|
6585
|
+
<dl>
|
|
6586
|
+
<dd>
|
|
6587
|
+
|
|
6588
|
+
**project:** `string` — The project slug
|
|
6589
|
+
|
|
6590
|
+
</dd>
|
|
6591
|
+
</dl>
|
|
6592
|
+
|
|
6593
|
+
<dl>
|
|
6594
|
+
<dd>
|
|
6595
|
+
|
|
6596
|
+
**templateName:** `string` — The current template name (version will be automatically stripped if included)
|
|
6597
|
+
|
|
6598
|
+
</dd>
|
|
6599
|
+
</dl>
|
|
6600
|
+
|
|
6601
|
+
<dl>
|
|
6602
|
+
<dd>
|
|
6603
|
+
|
|
6604
|
+
**request:** `Letta.TemplatesRenameTemplateRequest`
|
|
6605
|
+
|
|
6606
|
+
</dd>
|
|
6607
|
+
</dl>
|
|
6608
|
+
|
|
6609
|
+
<dl>
|
|
6610
|
+
<dd>
|
|
6611
|
+
|
|
6612
|
+
**requestOptions:** `Templates.RequestOptions`
|
|
6613
|
+
|
|
6614
|
+
</dd>
|
|
6615
|
+
</dl>
|
|
6616
|
+
</dd>
|
|
6617
|
+
</dl>
|
|
6618
|
+
|
|
6619
|
+
</dd>
|
|
6620
|
+
</dl>
|
|
6621
|
+
</details>
|
|
6622
|
+
|
|
6623
|
+
<details><summary><code>client.templates.<a href="/src/api/resources/templates/client/Client.ts">listtemplateversions</a>(projectSlug, name, { ...params }) -> Letta.TemplatesListTemplateVersionsResponse</code></summary>
|
|
6624
|
+
<dl>
|
|
6625
|
+
<dd>
|
|
6626
|
+
|
|
6627
|
+
#### 📝 Description
|
|
6628
|
+
|
|
6629
|
+
<dl>
|
|
6630
|
+
<dd>
|
|
6631
|
+
|
|
6632
|
+
<dl>
|
|
6633
|
+
<dd>
|
|
6634
|
+
|
|
6635
|
+
List all versions of a specific template
|
|
6636
|
+
|
|
6637
|
+
</dd>
|
|
6638
|
+
</dl>
|
|
6639
|
+
</dd>
|
|
6640
|
+
</dl>
|
|
6641
|
+
|
|
6642
|
+
#### 🔌 Usage
|
|
6643
|
+
|
|
6644
|
+
<dl>
|
|
6645
|
+
<dd>
|
|
6646
|
+
|
|
6647
|
+
<dl>
|
|
6648
|
+
<dd>
|
|
6649
|
+
|
|
6650
|
+
```typescript
|
|
6651
|
+
await client.templates.listtemplateversions("project_slug", "name");
|
|
6652
|
+
```
|
|
6653
|
+
|
|
6654
|
+
</dd>
|
|
6655
|
+
</dl>
|
|
6656
|
+
</dd>
|
|
6657
|
+
</dl>
|
|
6658
|
+
|
|
6659
|
+
#### ⚙️ Parameters
|
|
6660
|
+
|
|
6661
|
+
<dl>
|
|
6662
|
+
<dd>
|
|
6663
|
+
|
|
6664
|
+
<dl>
|
|
6665
|
+
<dd>
|
|
6666
|
+
|
|
6667
|
+
**projectSlug:** `string` — The project slug
|
|
6668
|
+
|
|
6669
|
+
</dd>
|
|
6670
|
+
</dl>
|
|
6671
|
+
|
|
6672
|
+
<dl>
|
|
6673
|
+
<dd>
|
|
6674
|
+
|
|
6675
|
+
**name:** `string` — The template name (without version)
|
|
6676
|
+
|
|
6677
|
+
</dd>
|
|
6678
|
+
</dl>
|
|
6679
|
+
|
|
6680
|
+
<dl>
|
|
6681
|
+
<dd>
|
|
6682
|
+
|
|
6683
|
+
**request:** `Letta.TemplatesListTemplateVersionsRequest`
|
|
6684
|
+
|
|
6685
|
+
</dd>
|
|
6686
|
+
</dl>
|
|
6687
|
+
|
|
6688
|
+
<dl>
|
|
6689
|
+
<dd>
|
|
6690
|
+
|
|
6691
|
+
**requestOptions:** `Templates.RequestOptions`
|
|
6692
|
+
|
|
6693
|
+
</dd>
|
|
6694
|
+
</dl>
|
|
6695
|
+
</dd>
|
|
6696
|
+
</dl>
|
|
6697
|
+
|
|
6698
|
+
</dd>
|
|
6699
|
+
</dl>
|
|
6700
|
+
</details>
|
|
6701
|
+
|
|
6161
6702
|
## ClientSideAccessTokens
|
|
6162
6703
|
|
|
6163
6704
|
<details><summary><code>client.clientSideAccessTokens.<a href="/src/api/resources/clientSideAccessTokens/client/Client.ts">clientSideAccessTokensListClientSideAccessTokens</a>({ ...params }) -> Letta.ClientSideAccessTokensListClientSideAccessTokensResponse</code></summary>
|
|
@@ -8776,7 +9317,7 @@ await client.agents.groups.list("agent_id");
|
|
|
8776
9317
|
|
|
8777
9318
|
## Agents Templates
|
|
8778
9319
|
|
|
8779
|
-
<details><summary><code>client.agents.templates.<a href="/src/api/resources/agents/resources/templates/client/Client.ts">
|
|
9320
|
+
<details><summary><code>client.agents.templates.<a href="/src/api/resources/agents/resources/templates/client/Client.ts">migrate</a>(agentId, { ...params }) -> Letta.TemplatesMigrateResponse</code></summary>
|
|
8780
9321
|
<dl>
|
|
8781
9322
|
<dd>
|
|
8782
9323
|
|
|
@@ -8790,7 +9331,7 @@ await client.agents.groups.list("agent_id");
|
|
|
8790
9331
|
|
|
8791
9332
|
<Note>This endpoint is only available on Letta Cloud.</Note>
|
|
8792
9333
|
|
|
8793
|
-
|
|
9334
|
+
Migrate an agent to a new versioned agent template.
|
|
8794
9335
|
|
|
8795
9336
|
</dd>
|
|
8796
9337
|
</dl>
|
|
@@ -8806,7 +9347,10 @@ Creates a new version of the template version of the agent.
|
|
|
8806
9347
|
<dd>
|
|
8807
9348
|
|
|
8808
9349
|
```typescript
|
|
8809
|
-
await client.agents.templates.
|
|
9350
|
+
await client.agents.templates.migrate("agent_id", {
|
|
9351
|
+
toTemplate: "to_template",
|
|
9352
|
+
preserveCoreMemories: true,
|
|
9353
|
+
});
|
|
8810
9354
|
```
|
|
8811
9355
|
|
|
8812
9356
|
</dd>
|
|
@@ -8822,7 +9366,7 @@ await client.agents.templates.createVersion("agent_id");
|
|
|
8822
9366
|
<dl>
|
|
8823
9367
|
<dd>
|
|
8824
9368
|
|
|
8825
|
-
**agentId:** `string`
|
|
9369
|
+
**agentId:** `string`
|
|
8826
9370
|
|
|
8827
9371
|
</dd>
|
|
8828
9372
|
</dl>
|
|
@@ -8830,7 +9374,7 @@ await client.agents.templates.createVersion("agent_id");
|
|
|
8830
9374
|
<dl>
|
|
8831
9375
|
<dd>
|
|
8832
9376
|
|
|
8833
|
-
**request:** `Letta.agents.
|
|
9377
|
+
**request:** `Letta.agents.TemplatesMigrateRequest`
|
|
8834
9378
|
|
|
8835
9379
|
</dd>
|
|
8836
9380
|
</dl>
|
|
@@ -8849,7 +9393,7 @@ await client.agents.templates.createVersion("agent_id");
|
|
|
8849
9393
|
</dl>
|
|
8850
9394
|
</details>
|
|
8851
9395
|
|
|
8852
|
-
<details><summary><code>client.agents.templates.<a href="/src/api/resources/agents/resources/templates/client/Client.ts">
|
|
9396
|
+
<details><summary><code>client.agents.templates.<a href="/src/api/resources/agents/resources/templates/client/Client.ts">create</a>(agentId) -> void</code></summary>
|
|
8853
9397
|
<dl>
|
|
8854
9398
|
<dd>
|
|
8855
9399
|
|
|
@@ -8863,7 +9407,7 @@ await client.agents.templates.createVersion("agent_id");
|
|
|
8863
9407
|
|
|
8864
9408
|
<Note>This endpoint is only available on Letta Cloud.</Note>
|
|
8865
9409
|
|
|
8866
|
-
|
|
9410
|
+
Creates a template from an agent.
|
|
8867
9411
|
|
|
8868
9412
|
</dd>
|
|
8869
9413
|
</dl>
|
|
@@ -8879,10 +9423,7 @@ Migrate an agent to a new versioned agent template.
|
|
|
8879
9423
|
<dd>
|
|
8880
9424
|
|
|
8881
9425
|
```typescript
|
|
8882
|
-
await client.agents.templates.
|
|
8883
|
-
toTemplate: "to_template",
|
|
8884
|
-
preserveCoreMemories: true,
|
|
8885
|
-
});
|
|
9426
|
+
await client.agents.templates.create("agent_id");
|
|
8886
9427
|
```
|
|
8887
9428
|
|
|
8888
9429
|
</dd>
|
|
@@ -8906,14 +9447,6 @@ await client.agents.templates.migrate("agent_id", {
|
|
|
8906
9447
|
<dl>
|
|
8907
9448
|
<dd>
|
|
8908
9449
|
|
|
8909
|
-
**request:** `Letta.agents.TemplatesMigrateRequest`
|
|
8910
|
-
|
|
8911
|
-
</dd>
|
|
8912
|
-
</dl>
|
|
8913
|
-
|
|
8914
|
-
<dl>
|
|
8915
|
-
<dd>
|
|
8916
|
-
|
|
8917
9450
|
**requestOptions:** `Templates.RequestOptions`
|
|
8918
9451
|
|
|
8919
9452
|
</dd>
|
|
@@ -8925,7 +9458,7 @@ await client.agents.templates.migrate("agent_id", {
|
|
|
8925
9458
|
</dl>
|
|
8926
9459
|
</details>
|
|
8927
9460
|
|
|
8928
|
-
<details><summary><code>client.agents.templates.<a href="/src/api/resources/agents/resources/templates/client/Client.ts">
|
|
9461
|
+
<details><summary><code>client.agents.templates.<a href="/src/api/resources/agents/resources/templates/client/Client.ts">createVersion</a>(agentId) -> void</code></summary>
|
|
8929
9462
|
<dl>
|
|
8930
9463
|
<dd>
|
|
8931
9464
|
|
|
@@ -8939,7 +9472,7 @@ await client.agents.templates.migrate("agent_id", {
|
|
|
8939
9472
|
|
|
8940
9473
|
<Note>This endpoint is only available on Letta Cloud.</Note>
|
|
8941
9474
|
|
|
8942
|
-
Creates a template
|
|
9475
|
+
Creates a new version of the template version of the agent.
|
|
8943
9476
|
|
|
8944
9477
|
</dd>
|
|
8945
9478
|
</dl>
|
|
@@ -8955,7 +9488,7 @@ Creates a template from an agent.
|
|
|
8955
9488
|
<dd>
|
|
8956
9489
|
|
|
8957
9490
|
```typescript
|
|
8958
|
-
await client.agents.templates.
|
|
9491
|
+
await client.agents.templates.createVersion("agent_id");
|
|
8959
9492
|
```
|
|
8960
9493
|
|
|
8961
9494
|
</dd>
|
|
@@ -8979,14 +9512,6 @@ await client.agents.templates.create("agent_id");
|
|
|
8979
9512
|
<dl>
|
|
8980
9513
|
<dd>
|
|
8981
9514
|
|
|
8982
|
-
**request:** `Letta.agents.TemplatesCreateRequest`
|
|
8983
|
-
|
|
8984
|
-
</dd>
|
|
8985
|
-
</dl>
|
|
8986
|
-
|
|
8987
|
-
<dl>
|
|
8988
|
-
<dd>
|
|
8989
|
-
|
|
8990
9515
|
**requestOptions:** `Templates.RequestOptions`
|
|
8991
9516
|
|
|
8992
9517
|
</dd>
|
|
@@ -8,7 +8,6 @@ export declare const TemplatesMigrateRequest: core.serialization.Schema<serializ
|
|
|
8
8
|
export declare namespace TemplatesMigrateRequest {
|
|
9
9
|
interface Raw {
|
|
10
10
|
to_template: string;
|
|
11
|
-
variables?: Record<string, string> | null;
|
|
12
11
|
preserve_core_memories: boolean;
|
|
13
12
|
preserve_tool_variables?: boolean | null;
|
|
14
13
|
}
|
|
@@ -40,7 +40,6 @@ exports.TemplatesMigrateRequest = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../../../../../../core"));
|
|
41
41
|
exports.TemplatesMigrateRequest = core.serialization.object({
|
|
42
42
|
toTemplate: core.serialization.property("to_template", core.serialization.string()),
|
|
43
|
-
variables: core.serialization.record(core.serialization.string(), core.serialization.string()).optional(),
|
|
44
43
|
preserveCoreMemories: core.serialization.property("preserve_core_memories", core.serialization.boolean()),
|
|
45
44
|
preserveToolVariables: core.serialization.property("preserve_tool_variables", core.serialization.boolean().optional()),
|
|
46
45
|
});
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
var TemplatesCreateVersionRequest_1 = require("./TemplatesCreateVersionRequest");
|
|
5
|
-
Object.defineProperty(exports, "TemplatesCreateVersionRequest", { enumerable: true, get: function () { return TemplatesCreateVersionRequest_1.TemplatesCreateVersionRequest; } });
|
|
3
|
+
exports.TemplatesMigrateRequest = void 0;
|
|
6
4
|
var TemplatesMigrateRequest_1 = require("./TemplatesMigrateRequest");
|
|
7
5
|
Object.defineProperty(exports, "TemplatesMigrateRequest", { enumerable: true, get: function () { return TemplatesMigrateRequest_1.TemplatesMigrateRequest; } });
|
|
8
|
-
var TemplatesCreateRequest_1 = require("./TemplatesCreateRequest");
|
|
9
|
-
Object.defineProperty(exports, "TemplatesCreateRequest", { enumerable: true, get: function () { return TemplatesCreateRequest_1.TemplatesCreateRequest; } });
|