@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
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {}
|
|
7
|
+
*/
|
|
8
|
+
export interface TemplatesSaveTemplateVersionRequest {
|
|
9
|
+
/** If true, the environment variables will be preserved in the template version when migrating agents */
|
|
10
|
+
preserveEnvironmentVariablesOnMigration?: boolean;
|
|
11
|
+
/** If true, the core memories will be preserved in the template version when migrating agents */
|
|
12
|
+
preserveCoreMemoriesOnMigration?: boolean;
|
|
13
|
+
/** If true, existing agents attached to this template will be migrated to the new template version */
|
|
14
|
+
migrateAgents?: boolean;
|
|
15
|
+
/** A message to describe the changes made in this template version */
|
|
16
|
+
message?: string;
|
|
17
|
+
}
|
|
@@ -1 +1,7 @@
|
|
|
1
1
|
export { type TemplatesListRequest } from "./TemplatesListRequest";
|
|
2
|
+
export { type TemplatesSaveTemplateVersionRequest } from "./TemplatesSaveTemplateVersionRequest";
|
|
3
|
+
export { type TemplatesDeleteTemplateRequest } from "./TemplatesDeleteTemplateRequest";
|
|
4
|
+
export { type TemplatesForkTemplateRequest } from "./TemplatesForkTemplateRequest";
|
|
5
|
+
export { type TemplatesCreateTemplateRequest } from "./TemplatesCreateTemplateRequest";
|
|
6
|
+
export { type TemplatesRenameTemplateRequest } from "./TemplatesRenameTemplateRequest";
|
|
7
|
+
export { type TemplatesListTemplateVersionsRequest } from "./TemplatesListTemplateVersionsRequest";
|
|
@@ -83,7 +83,7 @@ class Agents {
|
|
|
83
83
|
method: "POST",
|
|
84
84
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
85
85
|
? yield core.Supplier.get(this._options.project)
|
|
86
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
86
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.182", "User-Agent": "@letta-ai/letta-client/0.1.182", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
87
87
|
contentType: "application/json",
|
|
88
88
|
requestType: "json",
|
|
89
89
|
body: serializers.templates.AgentsCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface TemplatesCreateTemplateResponse {
|
|
5
|
+
/** The exact name of the template */
|
|
6
|
+
name: string;
|
|
7
|
+
id: string;
|
|
8
|
+
projectId: string;
|
|
9
|
+
projectSlug: string;
|
|
10
|
+
/** The latest version of the template */
|
|
11
|
+
latestVersion: string;
|
|
12
|
+
description?: string;
|
|
13
|
+
/** The full name of the template, including version and project slug */
|
|
14
|
+
templateDeploymentSlug: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface TemplatesForkTemplateResponse {
|
|
5
|
+
/** The exact name of the template */
|
|
6
|
+
name: string;
|
|
7
|
+
id: string;
|
|
8
|
+
projectId: string;
|
|
9
|
+
projectSlug: string;
|
|
10
|
+
/** The latest version of the template */
|
|
11
|
+
latestVersion: string;
|
|
12
|
+
description?: string;
|
|
13
|
+
/** The full name of the template, including version and project slug */
|
|
14
|
+
templateDeploymentSlug: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Letta from "../../../index";
|
|
5
|
+
export interface TemplatesGetTemplateSnapshotResponse {
|
|
6
|
+
agents: Letta.TemplatesGetTemplateSnapshotResponseAgentsItem[];
|
|
7
|
+
blocks: Letta.TemplatesGetTemplateSnapshotResponseBlocksItem[];
|
|
8
|
+
configuration: Letta.TemplatesGetTemplateSnapshotResponseConfiguration;
|
|
9
|
+
type: Letta.TemplatesGetTemplateSnapshotResponseType;
|
|
10
|
+
version: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Letta from "../../../index";
|
|
5
|
+
export interface TemplatesGetTemplateSnapshotResponseAgentsItem {
|
|
6
|
+
model: string;
|
|
7
|
+
systemPrompt: string;
|
|
8
|
+
toolIds?: string[];
|
|
9
|
+
sourceIds?: string[];
|
|
10
|
+
properties?: Letta.TemplatesGetTemplateSnapshotResponseAgentsItemProperties;
|
|
11
|
+
memoryVariables?: Letta.TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables;
|
|
12
|
+
toolVariables?: Letta.TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables;
|
|
13
|
+
tags?: string[];
|
|
14
|
+
identityIds?: string[];
|
|
15
|
+
toolRules?: Letta.TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem[];
|
|
16
|
+
entityId: string;
|
|
17
|
+
name: string;
|
|
18
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Letta from "../../../index";
|
|
5
|
+
export interface TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables {
|
|
6
|
+
version: string;
|
|
7
|
+
data: Letta.TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariablesDataItem[];
|
|
8
|
+
}
|
package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface TemplatesGetTemplateSnapshotResponseAgentsItemProperties {
|
|
5
|
+
contextWindowLimit?: number;
|
|
6
|
+
maxTokens?: number;
|
|
7
|
+
maxReasoningTokens?: number;
|
|
8
|
+
maxFilesOpen?: number;
|
|
9
|
+
messageBufferAutoclear?: boolean;
|
|
10
|
+
perFileViewWindowCharLimit?: number;
|
|
11
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Letta from "../../../index";
|
|
5
|
+
export type TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem = Letta.TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemZero | Letta.TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemOne | Letta.TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemTwo | Letta.TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemChildOutputMapping | Letta.TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFour | Letta.TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFive | Letta.TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemMaxCountLimit | Letta.TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemSeven;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemChildOutputMapping {
|
|
5
|
+
toolName: string;
|
|
6
|
+
type?: "conditional";
|
|
7
|
+
promptTemplate?: string;
|
|
8
|
+
defaultChild?: string;
|
|
9
|
+
childOutputMapping: Record<string, string>;
|
|
10
|
+
requireOutputMapping?: boolean;
|
|
11
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemMaxCountLimit {
|
|
5
|
+
toolName: string;
|
|
6
|
+
type?: "max_count_per_step";
|
|
7
|
+
promptTemplate?: string;
|
|
8
|
+
maxCountLimit: number;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemZero {
|
|
5
|
+
toolName: string;
|
|
6
|
+
type?: "constrain_child_tools";
|
|
7
|
+
promptTemplate?: string;
|
|
8
|
+
children: string[];
|
|
9
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Letta from "../../../index";
|
|
5
|
+
export interface TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables {
|
|
6
|
+
version: string;
|
|
7
|
+
data: Letta.TemplatesGetTemplateSnapshotResponseAgentsItemToolVariablesDataItem[];
|
|
8
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface TemplatesGetTemplateSnapshotResponseBlocksItem {
|
|
5
|
+
label: string;
|
|
6
|
+
value: string;
|
|
7
|
+
limit: number;
|
|
8
|
+
description: string;
|
|
9
|
+
preserveOnMigration?: boolean;
|
|
10
|
+
readOnly: boolean;
|
|
11
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface TemplatesGetTemplateSnapshotResponseConfiguration {
|
|
5
|
+
managerAgentId?: string;
|
|
6
|
+
managerType?: string;
|
|
7
|
+
terminationToken?: string;
|
|
8
|
+
maxTurns?: number;
|
|
9
|
+
sleeptimeAgentFrequency?: number;
|
|
10
|
+
maxMessageBufferLength?: number;
|
|
11
|
+
minMessageBufferLength?: number;
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type TemplatesGetTemplateSnapshotResponseType = "classic" | "cluster" | "sleeptime" | "round_robin" | "supervisor" | "dynamic" | "voice_sleeptime";
|
|
5
|
+
export declare const TemplatesGetTemplateSnapshotResponseType: {
|
|
6
|
+
readonly Classic: "classic";
|
|
7
|
+
readonly Cluster: "cluster";
|
|
8
|
+
readonly Sleeptime: "sleeptime";
|
|
9
|
+
readonly RoundRobin: "round_robin";
|
|
10
|
+
readonly Supervisor: "supervisor";
|
|
11
|
+
readonly Dynamic: "dynamic";
|
|
12
|
+
readonly VoiceSleeptime: "voice_sleeptime";
|
|
13
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
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.TemplatesGetTemplateSnapshotResponseType = void 0;
|
|
7
|
+
exports.TemplatesGetTemplateSnapshotResponseType = {
|
|
8
|
+
Classic: "classic",
|
|
9
|
+
Cluster: "cluster",
|
|
10
|
+
Sleeptime: "sleeptime",
|
|
11
|
+
RoundRobin: "round_robin",
|
|
12
|
+
Supervisor: "supervisor",
|
|
13
|
+
Dynamic: "dynamic",
|
|
14
|
+
VoiceSleeptime: "voice_sleeptime",
|
|
15
|
+
};
|
|
@@ -2,10 +2,14 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
export interface TemplatesListResponseTemplatesItem {
|
|
5
|
+
/** The exact name of the template */
|
|
5
6
|
name: string;
|
|
6
7
|
id: string;
|
|
7
8
|
projectId: string;
|
|
8
9
|
projectSlug: string;
|
|
10
|
+
/** The latest version of the template */
|
|
11
|
+
latestVersion: string;
|
|
12
|
+
description?: string;
|
|
9
13
|
/** The full name of the template, including version and project slug */
|
|
10
14
|
templateDeploymentSlug: string;
|
|
11
15
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Letta from "../../../index";
|
|
5
|
+
export interface TemplatesListTemplateVersionsResponse {
|
|
6
|
+
versions: Letta.TemplatesListTemplateVersionsResponseVersionsItem[];
|
|
7
|
+
hasNextPage: boolean;
|
|
8
|
+
totalCount: number;
|
|
9
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface TemplatesListTemplateVersionsResponseVersionsItem {
|
|
5
|
+
/** The version number */
|
|
6
|
+
version: string;
|
|
7
|
+
/** When the version was created */
|
|
8
|
+
createdAt: string;
|
|
9
|
+
/** Version description message */
|
|
10
|
+
message?: string;
|
|
11
|
+
/** Whether this is the latest version */
|
|
12
|
+
isLatest: boolean;
|
|
13
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface TemplatesSaveTemplateVersionResponse {
|
|
5
|
+
/** The exact name of the template */
|
|
6
|
+
name: string;
|
|
7
|
+
id: string;
|
|
8
|
+
projectId: string;
|
|
9
|
+
projectSlug: string;
|
|
10
|
+
/** The latest version of the template */
|
|
11
|
+
latestVersion: string;
|
|
12
|
+
description?: string;
|
|
13
|
+
/** The full name of the template, including version and project slug */
|
|
14
|
+
templateDeploymentSlug: string;
|
|
15
|
+
}
|
|
@@ -1,2 +1,28 @@
|
|
|
1
1
|
export * from "./TemplatesListResponseTemplatesItem";
|
|
2
2
|
export * from "./TemplatesListResponse";
|
|
3
|
+
export * from "./TemplatesSaveTemplateVersionResponse";
|
|
4
|
+
export * from "./TemplatesDeleteTemplateResponse";
|
|
5
|
+
export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemProperties";
|
|
6
|
+
export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariablesDataItem";
|
|
7
|
+
export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables";
|
|
8
|
+
export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolVariablesDataItem";
|
|
9
|
+
export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables";
|
|
10
|
+
export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemZero";
|
|
11
|
+
export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemOne";
|
|
12
|
+
export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemTwo";
|
|
13
|
+
export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemChildOutputMapping";
|
|
14
|
+
export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFour";
|
|
15
|
+
export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFive";
|
|
16
|
+
export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemMaxCountLimit";
|
|
17
|
+
export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemSeven";
|
|
18
|
+
export * from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem";
|
|
19
|
+
export * from "./TemplatesGetTemplateSnapshotResponseAgentsItem";
|
|
20
|
+
export * from "./TemplatesGetTemplateSnapshotResponseBlocksItem";
|
|
21
|
+
export * from "./TemplatesGetTemplateSnapshotResponseConfiguration";
|
|
22
|
+
export * from "./TemplatesGetTemplateSnapshotResponseType";
|
|
23
|
+
export * from "./TemplatesGetTemplateSnapshotResponse";
|
|
24
|
+
export * from "./TemplatesForkTemplateResponse";
|
|
25
|
+
export * from "./TemplatesCreateTemplateResponse";
|
|
26
|
+
export * from "./TemplatesRenameTemplateResponse";
|
|
27
|
+
export * from "./TemplatesListTemplateVersionsResponseVersionsItem";
|
|
28
|
+
export * from "./TemplatesListTemplateVersionsResponse";
|
|
@@ -16,3 +16,29 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./TemplatesListResponseTemplatesItem"), exports);
|
|
18
18
|
__exportStar(require("./TemplatesListResponse"), exports);
|
|
19
|
+
__exportStar(require("./TemplatesSaveTemplateVersionResponse"), exports);
|
|
20
|
+
__exportStar(require("./TemplatesDeleteTemplateResponse"), exports);
|
|
21
|
+
__exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemProperties"), exports);
|
|
22
|
+
__exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariablesDataItem"), exports);
|
|
23
|
+
__exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables"), exports);
|
|
24
|
+
__exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolVariablesDataItem"), exports);
|
|
25
|
+
__exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables"), exports);
|
|
26
|
+
__exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemZero"), exports);
|
|
27
|
+
__exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemOne"), exports);
|
|
28
|
+
__exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemTwo"), exports);
|
|
29
|
+
__exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemChildOutputMapping"), exports);
|
|
30
|
+
__exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFour"), exports);
|
|
31
|
+
__exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemFive"), exports);
|
|
32
|
+
__exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemMaxCountLimit"), exports);
|
|
33
|
+
__exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItemSeven"), exports);
|
|
34
|
+
__exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem"), exports);
|
|
35
|
+
__exportStar(require("./TemplatesGetTemplateSnapshotResponseAgentsItem"), exports);
|
|
36
|
+
__exportStar(require("./TemplatesGetTemplateSnapshotResponseBlocksItem"), exports);
|
|
37
|
+
__exportStar(require("./TemplatesGetTemplateSnapshotResponseConfiguration"), exports);
|
|
38
|
+
__exportStar(require("./TemplatesGetTemplateSnapshotResponseType"), exports);
|
|
39
|
+
__exportStar(require("./TemplatesGetTemplateSnapshotResponse"), exports);
|
|
40
|
+
__exportStar(require("./TemplatesForkTemplateResponse"), exports);
|
|
41
|
+
__exportStar(require("./TemplatesCreateTemplateResponse"), exports);
|
|
42
|
+
__exportStar(require("./TemplatesRenameTemplateResponse"), exports);
|
|
43
|
+
__exportStar(require("./TemplatesListTemplateVersionsResponseVersionsItem"), exports);
|
|
44
|
+
__exportStar(require("./TemplatesListTemplateVersionsResponse"), exports);
|