@letta-ai/letta-client 0.1.180 → 0.1.181
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 +3 -3
- 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 +3 -3
- 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/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 +3 -3
- 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 +3 -3
- 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/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/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/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
|
@@ -14,6 +14,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./TemplatesCreateVersionRequestReturnAgentState"), exports);
|
|
18
17
|
__exportStar(require("./TemplatesMigrateResponse"), exports);
|
|
19
|
-
__exportStar(require("./TemplatesCreateResponse"), exports);
|
|
@@ -30,4 +30,5 @@ export * from "./groups/client/requests";
|
|
|
30
30
|
export * from "./identities/client/requests";
|
|
31
31
|
export * from "./providers/client/requests";
|
|
32
32
|
export * from "./batches/client/requests";
|
|
33
|
+
export * from "./templates/client/requests";
|
|
33
34
|
export * from "./clientSideAccessTokens/client/requests";
|
|
@@ -69,4 +69,5 @@ __exportStar(require("./groups/client/requests"), exports);
|
|
|
69
69
|
__exportStar(require("./identities/client/requests"), exports);
|
|
70
70
|
__exportStar(require("./providers/client/requests"), exports);
|
|
71
71
|
__exportStar(require("./batches/client/requests"), exports);
|
|
72
|
+
__exportStar(require("./templates/client/requests"), exports);
|
|
72
73
|
__exportStar(require("./clientSideAccessTokens/client/requests"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests"), exports);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../index";
|
|
5
|
+
import * as Letta from "../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../core";
|
|
7
|
+
export declare const TemplatesCreateTemplateRequest: core.serialization.Schema<serializers.TemplatesCreateTemplateRequest.Raw, Letta.TemplatesCreateTemplateRequest>;
|
|
8
|
+
export declare namespace TemplatesCreateTemplateRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
agent_id: string;
|
|
11
|
+
name?: string | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.TemplatesCreateTemplateRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../core"));
|
|
41
|
+
exports.TemplatesCreateTemplateRequest = core.serialization.object({
|
|
42
|
+
agentId: core.serialization.property("agent_id", core.serialization.string()),
|
|
43
|
+
name: core.serialization.string().optional(),
|
|
44
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../index";
|
|
5
|
+
import * as Letta from "../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../core";
|
|
7
|
+
export declare const TemplatesDeleteTemplateRequest: core.serialization.Schema<serializers.TemplatesDeleteTemplateRequest.Raw, Letta.TemplatesDeleteTemplateRequest>;
|
|
8
|
+
export declare namespace TemplatesDeleteTemplateRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -36,6 +36,6 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
const core = __importStar(require("
|
|
41
|
-
exports.
|
|
39
|
+
exports.TemplatesDeleteTemplateRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../core"));
|
|
41
|
+
exports.TemplatesDeleteTemplateRequest = core.serialization.object({});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../index";
|
|
5
|
+
import * as Letta from "../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../core";
|
|
7
|
+
export declare const TemplatesForkTemplateRequest: core.serialization.Schema<serializers.TemplatesForkTemplateRequest.Raw, Letta.TemplatesForkTemplateRequest>;
|
|
8
|
+
export declare namespace TemplatesForkTemplateRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
name?: string | null;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.TemplatesForkTemplateRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../core"));
|
|
41
|
+
exports.TemplatesForkTemplateRequest = core.serialization.object({
|
|
42
|
+
name: core.serialization.string().optional(),
|
|
43
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../index";
|
|
5
|
+
import * as Letta from "../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../core";
|
|
7
|
+
export declare const TemplatesRenameTemplateRequest: core.serialization.Schema<serializers.TemplatesRenameTemplateRequest.Raw, Letta.TemplatesRenameTemplateRequest>;
|
|
8
|
+
export declare namespace TemplatesRenameTemplateRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
new_name: string;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -36,9 +36,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
const core = __importStar(require("
|
|
41
|
-
exports.
|
|
42
|
-
|
|
43
|
-
templateId: core.serialization.string(),
|
|
39
|
+
exports.TemplatesRenameTemplateRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../core"));
|
|
41
|
+
exports.TemplatesRenameTemplateRequest = core.serialization.object({
|
|
42
|
+
newName: core.serialization.property("new_name", core.serialization.string()),
|
|
44
43
|
});
|
package/serialization/resources/templates/client/requests/TemplatesSaveTemplateVersionRequest.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../index";
|
|
5
|
+
import * as Letta from "../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../core";
|
|
7
|
+
export declare const TemplatesSaveTemplateVersionRequest: core.serialization.Schema<serializers.TemplatesSaveTemplateVersionRequest.Raw, Letta.TemplatesSaveTemplateVersionRequest>;
|
|
8
|
+
export declare namespace TemplatesSaveTemplateVersionRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
preserve_environment_variables_on_migration?: boolean | null;
|
|
11
|
+
preserve_core_memories_on_migration?: boolean | null;
|
|
12
|
+
migrate_agents?: boolean | null;
|
|
13
|
+
message?: string | null;
|
|
14
|
+
}
|
|
15
|
+
}
|
package/serialization/resources/templates/client/requests/TemplatesSaveTemplateVersionRequest.js
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.TemplatesSaveTemplateVersionRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../core"));
|
|
41
|
+
exports.TemplatesSaveTemplateVersionRequest = core.serialization.object({
|
|
42
|
+
preserveEnvironmentVariablesOnMigration: core.serialization.property("preserve_environment_variables_on_migration", core.serialization.boolean().optional()),
|
|
43
|
+
preserveCoreMemoriesOnMigration: core.serialization.property("preserve_core_memories_on_migration", core.serialization.boolean().optional()),
|
|
44
|
+
migrateAgents: core.serialization.property("migrate_agents", core.serialization.boolean().optional()),
|
|
45
|
+
message: core.serialization.string().optional(),
|
|
46
|
+
});
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { TemplatesSaveTemplateVersionRequest } from "./TemplatesSaveTemplateVersionRequest";
|
|
2
|
+
export { TemplatesDeleteTemplateRequest } from "./TemplatesDeleteTemplateRequest";
|
|
3
|
+
export { TemplatesForkTemplateRequest } from "./TemplatesForkTemplateRequest";
|
|
4
|
+
export { TemplatesCreateTemplateRequest } from "./TemplatesCreateTemplateRequest";
|
|
5
|
+
export { TemplatesRenameTemplateRequest } from "./TemplatesRenameTemplateRequest";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TemplatesRenameTemplateRequest = exports.TemplatesCreateTemplateRequest = exports.TemplatesForkTemplateRequest = exports.TemplatesDeleteTemplateRequest = exports.TemplatesSaveTemplateVersionRequest = void 0;
|
|
4
|
+
var TemplatesSaveTemplateVersionRequest_1 = require("./TemplatesSaveTemplateVersionRequest");
|
|
5
|
+
Object.defineProperty(exports, "TemplatesSaveTemplateVersionRequest", { enumerable: true, get: function () { return TemplatesSaveTemplateVersionRequest_1.TemplatesSaveTemplateVersionRequest; } });
|
|
6
|
+
var TemplatesDeleteTemplateRequest_1 = require("./TemplatesDeleteTemplateRequest");
|
|
7
|
+
Object.defineProperty(exports, "TemplatesDeleteTemplateRequest", { enumerable: true, get: function () { return TemplatesDeleteTemplateRequest_1.TemplatesDeleteTemplateRequest; } });
|
|
8
|
+
var TemplatesForkTemplateRequest_1 = require("./TemplatesForkTemplateRequest");
|
|
9
|
+
Object.defineProperty(exports, "TemplatesForkTemplateRequest", { enumerable: true, get: function () { return TemplatesForkTemplateRequest_1.TemplatesForkTemplateRequest; } });
|
|
10
|
+
var TemplatesCreateTemplateRequest_1 = require("./TemplatesCreateTemplateRequest");
|
|
11
|
+
Object.defineProperty(exports, "TemplatesCreateTemplateRequest", { enumerable: true, get: function () { return TemplatesCreateTemplateRequest_1.TemplatesCreateTemplateRequest; } });
|
|
12
|
+
var TemplatesRenameTemplateRequest_1 = require("./TemplatesRenameTemplateRequest");
|
|
13
|
+
Object.defineProperty(exports, "TemplatesRenameTemplateRequest", { enumerable: true, get: function () { return TemplatesRenameTemplateRequest_1.TemplatesRenameTemplateRequest; } });
|
|
@@ -16,3 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./types"), exports);
|
|
18
18
|
__exportStar(require("./resources"), exports);
|
|
19
|
+
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Letta from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const TemplatesCreateTemplateResponse: core.serialization.ObjectSchema<serializers.TemplatesCreateTemplateResponse.Raw, Letta.TemplatesCreateTemplateResponse>;
|
|
8
|
+
export declare namespace TemplatesCreateTemplateResponse {
|
|
9
|
+
interface Raw {
|
|
10
|
+
name: string;
|
|
11
|
+
id: string;
|
|
12
|
+
project_id: string;
|
|
13
|
+
project_slug: string;
|
|
14
|
+
latest_version: string;
|
|
15
|
+
description?: string | null;
|
|
16
|
+
template_deployment_slug: string;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.TemplatesCreateTemplateResponse = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.TemplatesCreateTemplateResponse = core.serialization.object({
|
|
42
|
+
name: core.serialization.string(),
|
|
43
|
+
id: core.serialization.string(),
|
|
44
|
+
projectId: core.serialization.property("project_id", core.serialization.string()),
|
|
45
|
+
projectSlug: core.serialization.property("project_slug", core.serialization.string()),
|
|
46
|
+
latestVersion: core.serialization.property("latest_version", core.serialization.string()),
|
|
47
|
+
description: core.serialization.string().optional(),
|
|
48
|
+
templateDeploymentSlug: core.serialization.property("template_deployment_slug", core.serialization.string()),
|
|
49
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Letta from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const TemplatesDeleteTemplateResponse: core.serialization.ObjectSchema<serializers.TemplatesDeleteTemplateResponse.Raw, Letta.TemplatesDeleteTemplateResponse>;
|
|
8
|
+
export declare namespace TemplatesDeleteTemplateResponse {
|
|
9
|
+
interface Raw {
|
|
10
|
+
success: boolean;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.TemplatesDeleteTemplateResponse = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.TemplatesDeleteTemplateResponse = core.serialization.object({
|
|
42
|
+
success: core.serialization.boolean(),
|
|
43
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Letta from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const TemplatesForkTemplateResponse: core.serialization.ObjectSchema<serializers.TemplatesForkTemplateResponse.Raw, Letta.TemplatesForkTemplateResponse>;
|
|
8
|
+
export declare namespace TemplatesForkTemplateResponse {
|
|
9
|
+
interface Raw {
|
|
10
|
+
name: string;
|
|
11
|
+
id: string;
|
|
12
|
+
project_id: string;
|
|
13
|
+
project_slug: string;
|
|
14
|
+
latest_version: string;
|
|
15
|
+
description?: string | null;
|
|
16
|
+
template_deployment_slug: string;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.TemplatesForkTemplateResponse = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.TemplatesForkTemplateResponse = core.serialization.object({
|
|
42
|
+
name: core.serialization.string(),
|
|
43
|
+
id: core.serialization.string(),
|
|
44
|
+
projectId: core.serialization.property("project_id", core.serialization.string()),
|
|
45
|
+
projectSlug: core.serialization.property("project_slug", core.serialization.string()),
|
|
46
|
+
latestVersion: core.serialization.property("latest_version", core.serialization.string()),
|
|
47
|
+
description: core.serialization.string().optional(),
|
|
48
|
+
templateDeploymentSlug: core.serialization.property("template_deployment_slug", core.serialization.string()),
|
|
49
|
+
});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Letta from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { TemplatesGetTemplateSnapshotResponseAgentsItem } from "./TemplatesGetTemplateSnapshotResponseAgentsItem";
|
|
8
|
+
import { TemplatesGetTemplateSnapshotResponseBlocksItem } from "./TemplatesGetTemplateSnapshotResponseBlocksItem";
|
|
9
|
+
import { TemplatesGetTemplateSnapshotResponseConfiguration } from "./TemplatesGetTemplateSnapshotResponseConfiguration";
|
|
10
|
+
import { TemplatesGetTemplateSnapshotResponseType } from "./TemplatesGetTemplateSnapshotResponseType";
|
|
11
|
+
export declare const TemplatesGetTemplateSnapshotResponse: core.serialization.ObjectSchema<serializers.TemplatesGetTemplateSnapshotResponse.Raw, Letta.TemplatesGetTemplateSnapshotResponse>;
|
|
12
|
+
export declare namespace TemplatesGetTemplateSnapshotResponse {
|
|
13
|
+
interface Raw {
|
|
14
|
+
agents: TemplatesGetTemplateSnapshotResponseAgentsItem.Raw[];
|
|
15
|
+
blocks: TemplatesGetTemplateSnapshotResponseBlocksItem.Raw[];
|
|
16
|
+
configuration: TemplatesGetTemplateSnapshotResponseConfiguration.Raw;
|
|
17
|
+
type: TemplatesGetTemplateSnapshotResponseType.Raw;
|
|
18
|
+
version: string;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.TemplatesGetTemplateSnapshotResponse = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const TemplatesGetTemplateSnapshotResponseAgentsItem_1 = require("./TemplatesGetTemplateSnapshotResponseAgentsItem");
|
|
42
|
+
const TemplatesGetTemplateSnapshotResponseBlocksItem_1 = require("./TemplatesGetTemplateSnapshotResponseBlocksItem");
|
|
43
|
+
const TemplatesGetTemplateSnapshotResponseConfiguration_1 = require("./TemplatesGetTemplateSnapshotResponseConfiguration");
|
|
44
|
+
const TemplatesGetTemplateSnapshotResponseType_1 = require("./TemplatesGetTemplateSnapshotResponseType");
|
|
45
|
+
exports.TemplatesGetTemplateSnapshotResponse = core.serialization.object({
|
|
46
|
+
agents: core.serialization.list(TemplatesGetTemplateSnapshotResponseAgentsItem_1.TemplatesGetTemplateSnapshotResponseAgentsItem),
|
|
47
|
+
blocks: core.serialization.list(TemplatesGetTemplateSnapshotResponseBlocksItem_1.TemplatesGetTemplateSnapshotResponseBlocksItem),
|
|
48
|
+
configuration: TemplatesGetTemplateSnapshotResponseConfiguration_1.TemplatesGetTemplateSnapshotResponseConfiguration,
|
|
49
|
+
type: TemplatesGetTemplateSnapshotResponseType_1.TemplatesGetTemplateSnapshotResponseType,
|
|
50
|
+
version: core.serialization.string(),
|
|
51
|
+
});
|
package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Letta from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { TemplatesGetTemplateSnapshotResponseAgentsItemProperties } from "./TemplatesGetTemplateSnapshotResponseAgentsItemProperties";
|
|
8
|
+
import { TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables } from "./TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables";
|
|
9
|
+
import { TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables } from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables";
|
|
10
|
+
import { TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem } from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem";
|
|
11
|
+
export declare const TemplatesGetTemplateSnapshotResponseAgentsItem: core.serialization.ObjectSchema<serializers.TemplatesGetTemplateSnapshotResponseAgentsItem.Raw, Letta.TemplatesGetTemplateSnapshotResponseAgentsItem>;
|
|
12
|
+
export declare namespace TemplatesGetTemplateSnapshotResponseAgentsItem {
|
|
13
|
+
interface Raw {
|
|
14
|
+
model: string;
|
|
15
|
+
systemPrompt: string;
|
|
16
|
+
toolIds?: string[] | null;
|
|
17
|
+
sourceIds?: string[] | null;
|
|
18
|
+
properties?: TemplatesGetTemplateSnapshotResponseAgentsItemProperties.Raw | null;
|
|
19
|
+
memoryVariables?: TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables.Raw | null;
|
|
20
|
+
toolVariables?: TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables.Raw | null;
|
|
21
|
+
tags?: string[] | null;
|
|
22
|
+
identityIds?: string[] | null;
|
|
23
|
+
toolRules?: TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem.Raw[] | null;
|
|
24
|
+
entityId: string;
|
|
25
|
+
name: string;
|
|
26
|
+
}
|
|
27
|
+
}
|