From 85a7486d3d0c9341a6efdfecb284169c1c386b6c Mon Sep 17 00:00:00 2001 From: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Date: Wed, 5 Feb 2025 21:25:07 +0000 Subject: [PATCH] Release 0.1.21 --- package.json | 2 +- reference.md | 2 +- src/api/resources/agents/client/Client.ts | 38 ++-- .../client/requests/AgentsSearchRequest.ts | 4 +- .../resources/archivalMemory/client/Client.ts | 12 +- .../agents/resources/context/client/Client.ts | 4 +- .../resources/coreMemory/client/Client.ts | 24 +-- .../memoryVariables/client/Client.ts | 4 +- .../resources/messages/client/Client.ts | 20 +-- .../agents/resources/sources/client/Client.ts | 12 +- .../resources/templates/client/Client.ts | 12 +- .../agents/resources/tools/client/Client.ts | 12 +- .../types/AgentsSearchRequestCombinator.ts | 9 - .../types/AgentsSearchRequestSearchItem.ts | 3 +- .../AgentsSearchRequestSearchItemDirection.ts | 11 -- ...archRequestSearchItemDirectionDirection.ts | 9 - ...tsSearchRequestSearchItemDirectionValue.ts | 9 - ... => AgentsSearchRequestSearchItemField.ts} | 2 +- ...gentsSearchRequestSearchItemOneOperator.ts | 3 +- .../agents/types/AgentsSearchResponse.ts | 10 ++ .../types/AgentsSearchResponseAgentsItem.ts | 32 ++++ ...AgentsSearchResponseAgentsItemAgentType.ts | 15 ++ ...sSearchResponseAgentsItemBaseTemplateId.ts | 12 ++ ...rchResponseAgentsItemBaseTemplateIdItem.ts | 5 + ...AgentsSearchResponseAgentsItemCreatedAt.ts | 12 ++ ...tsSearchResponseAgentsItemCreatedAtItem.ts | 5 + ...entsSearchResponseAgentsItemCreatedById.ts | 12 ++ ...SearchResponseAgentsItemCreatedByIdItem.ts | 5 + ...entsSearchResponseAgentsItemDescription.ts | 12 ++ ...SearchResponseAgentsItemDescriptionItem.ts | 5 + ...SearchResponseAgentsItemEmbeddingConfig.ts | 17 ++ ...gentsItemEmbeddingConfigAzureDeployment.ts | 12 ++ ...sItemEmbeddingConfigAzureDeploymentItem.ts | 5 + ...eAgentsItemEmbeddingConfigAzureEndpoint.ts | 12 ++ ...ntsItemEmbeddingConfigAzureEndpointItem.ts | 5 + ...seAgentsItemEmbeddingConfigAzureVersion.ts | 12 ++ ...entsItemEmbeddingConfigAzureVersionItem.ts | 5 + ...tsItemEmbeddingConfigEmbeddingChunkSize.ts | 12 ++ ...emEmbeddingConfigEmbeddingChunkSizeItem.ts | 5 + ...ntsItemEmbeddingConfigEmbeddingEndpoint.ts | 12 ++ ...temEmbeddingConfigEmbeddingEndpointItem.ts | 5 + ...temEmbeddingConfigEmbeddingEndpointType.ts | 43 +++++ ...ResponseAgentsItemEmbeddingConfigHandle.ts | 12 ++ ...onseAgentsItemEmbeddingConfigHandleItem.ts | 5 + ...SearchResponseAgentsItemLastUpdatedById.ts | 12 ++ ...chResponseAgentsItemLastUpdatedByIdItem.ts | 5 + ...AgentsSearchResponseAgentsItemLlmConfig.ts | 16 ++ ...SearchResponseAgentsItemLlmConfigHandle.ts | 12 ++ ...chResponseAgentsItemLlmConfigHandleItem.ts | 5 + ...esponseAgentsItemLlmConfigModelEndpoint.ts | 12 ++ ...nseAgentsItemLlmConfigModelEndpointItem.ts | 5 + ...nseAgentsItemLlmConfigModelEndpointType.ts | 43 +++++ ...ResponseAgentsItemLlmConfigModelWrapper.ts | 12 ++ ...onseAgentsItemLlmConfigModelWrapperItem.ts | 5 + ...tsItemLlmConfigPutInnerThoughtsInKwargs.ts | 12 ++ ...emLlmConfigPutInnerThoughtsInKwargsItem.ts | 5 + ...hResponseAgentsItemLlmConfigTemperature.ts | 5 + .../AgentsSearchResponseAgentsItemMemory.ts | 10 ++ ...earchResponseAgentsItemMemoryBlocksItem.ts | 19 ++ ...seAgentsItemMemoryBlocksItemCreatedById.ts | 12 ++ ...entsItemMemoryBlocksItemCreatedByIdItem.ts | 5 + ...seAgentsItemMemoryBlocksItemDescription.ts | 12 ++ ...entsItemMemoryBlocksItemDescriptionItem.ts | 5 + ...rchResponseAgentsItemMemoryBlocksItemId.ts | 5 + ...nseAgentsItemMemoryBlocksItemIsTemplate.ts | 5 + ...ResponseAgentsItemMemoryBlocksItemLabel.ts | 12 ++ ...onseAgentsItemMemoryBlocksItemLabelItem.ts | 5 + ...entsItemMemoryBlocksItemLastUpdatedById.ts | 12 ++ ...ItemMemoryBlocksItemLastUpdatedByIdItem.ts | 5 + ...ResponseAgentsItemMemoryBlocksItemLimit.ts | 5 + ...ponseAgentsItemMemoryBlocksItemMetadata.ts | 11 ++ ...eAgentsItemMemoryBlocksItemMetadataItem.ts | 5 + ...hResponseAgentsItemMemoryBlocksItemName.ts | 12 ++ ...ponseAgentsItemMemoryBlocksItemNameItem.ts | 5 + ...gentsItemMemoryBlocksItemOrganizationId.ts | 12 ++ ...sItemMemoryBlocksItemOrganizationIdItem.ts | 5 + ...hResponseAgentsItemMemoryPromptTemplate.ts | 5 + ...gentsSearchResponseAgentsItemMessageIds.ts | 12 ++ ...sSearchResponseAgentsItemMessageIdsItem.ts | 5 + .../AgentsSearchResponseAgentsItemMetadata.ts | 11 ++ ...ntsSearchResponseAgentsItemMetadataItem.ts | 5 + ...sSearchResponseAgentsItemOrganizationId.ts | 12 ++ ...rchResponseAgentsItemOrganizationIdItem.ts | 5 + ...AgentsSearchResponseAgentsItemProjectId.ts | 12 ++ ...tsSearchResponseAgentsItemProjectIdItem.ts | 5 + ...entsSearchResponseAgentsItemSourcesItem.ts | 18 ++ ...hResponseAgentsItemSourcesItemCreatedAt.ts | 12 ++ ...ponseAgentsItemSourcesItemCreatedAtItem.ts | 5 + ...esponseAgentsItemSourcesItemCreatedById.ts | 12 ++ ...nseAgentsItemSourcesItemCreatedByIdItem.ts | 5 + ...esponseAgentsItemSourcesItemDescription.ts | 12 ++ ...nseAgentsItemSourcesItemDescriptionItem.ts | 5 + ...nseAgentsItemSourcesItemEmbeddingConfig.ts | 17 ++ ...urcesItemEmbeddingConfigAzureDeployment.ts | 12 ++ ...sItemEmbeddingConfigAzureDeploymentItem.ts | 5 + ...SourcesItemEmbeddingConfigAzureEndpoint.ts | 12 ++ ...cesItemEmbeddingConfigAzureEndpointItem.ts | 5 + ...mSourcesItemEmbeddingConfigAzureVersion.ts | 12 ++ ...rcesItemEmbeddingConfigAzureVersionItem.ts | 5 + ...esItemEmbeddingConfigEmbeddingChunkSize.ts | 12 ++ ...emEmbeddingConfigEmbeddingChunkSizeItem.ts | 8 + ...cesItemEmbeddingConfigEmbeddingEndpoint.ts | 12 ++ ...temEmbeddingConfigEmbeddingEndpointItem.ts | 5 + ...temEmbeddingConfigEmbeddingEndpointType.ts | 43 +++++ ...ntsItemSourcesItemEmbeddingConfigHandle.ts | 12 ++ ...temSourcesItemEmbeddingConfigHandleItem.ts | 5 + ...tsSearchResponseAgentsItemSourcesItemId.ts | 5 + ...nseAgentsItemSourcesItemLastUpdatedById.ts | 12 ++ ...gentsItemSourcesItemLastUpdatedByIdItem.ts | 5 + ...chResponseAgentsItemSourcesItemMetadata.ts | 11 ++ ...sponseAgentsItemSourcesItemMetadataItem.ts | 5 + ...onseAgentsItemSourcesItemOrganizationId.ts | 12 ++ ...AgentsItemSourcesItemOrganizationIdItem.ts | 5 + ...hResponseAgentsItemSourcesItemUpdatedAt.ts | 12 ++ ...ponseAgentsItemSourcesItemUpdatedAtItem.ts | 5 + ...gentsSearchResponseAgentsItemTemplateId.ts | 12 ++ ...sSearchResponseAgentsItemTemplateIdItem.ts | 5 + ...eAgentsItemToolExecEnvironmentVariables.ts | 9 + ...ntsItemToolExecEnvironmentVariablesItem.ts | 18 ++ ...olExecEnvironmentVariablesItemCreatedAt.ts | 12 ++ ...ecEnvironmentVariablesItemCreatedAtItem.ts | 5 + ...ExecEnvironmentVariablesItemCreatedById.ts | 12 ++ ...EnvironmentVariablesItemCreatedByIdItem.ts | 5 + ...ExecEnvironmentVariablesItemDescription.ts | 12 ++ ...EnvironmentVariablesItemDescriptionItem.ts | 5 + ...sItemToolExecEnvironmentVariablesItemId.ts | 5 + ...EnvironmentVariablesItemLastUpdatedById.ts | 12 ++ ...ronmentVariablesItemLastUpdatedByIdItem.ts | 8 + ...cEnvironmentVariablesItemOrganizationId.ts | 12 ++ ...ironmentVariablesItemOrganizationIdItem.ts | 8 + ...olExecEnvironmentVariablesItemUpdatedAt.ts | 12 ++ ...ecEnvironmentVariablesItemUpdatedAtItem.ts | 5 + ...AgentsSearchResponseAgentsItemToolRules.ts | 12 ++ ...tsSearchResponseAgentsItemToolRulesItem.ts | 10 ++ ...entsItemToolRulesItemChildOutputMapping.ts | 13 ++ ...RulesItemChildOutputMappingDefaultChild.ts | 12 ++ ...sItemChildOutputMappingDefaultChildItem.ts | 5 + ...mChildOutputMappingRequireOutputMapping.ts | 5 + ...ItemToolRulesItemChildOutputMappingType.ts | 5 + ...ResponseAgentsItemToolRulesItemChildren.ts | 11 ++ ...onseAgentsItemToolRulesItemChildrenType.ts | 5 + ...archResponseAgentsItemToolRulesItemItem.ts | 11 ++ ...ItemToolRulesItemItemChildOutputMapping.ts | 13 ++ ...sItemItemChildOutputMappingDefaultChild.ts | 12 ++ ...mItemChildOutputMappingDefaultChildItem.ts | 8 + ...mChildOutputMappingRequireOutputMapping.ts | 5 + ...ToolRulesItemItemChildOutputMappingType.ts | 5 + ...onseAgentsItemToolRulesItemItemChildren.ts | 11 ++ ...AgentsItemToolRulesItemItemChildrenType.ts | 5 + ...hResponseAgentsItemToolRulesItemItemOne.ts | 10 ++ ...ponseAgentsItemToolRulesItemItemOneType.ts | 5 + ...hResponseAgentsItemToolRulesItemItemTwo.ts | 10 ++ ...ponseAgentsItemToolRulesItemItemTwoType.ts | 5 + ...earchResponseAgentsItemToolRulesItemOne.ts | 10 ++ ...hResponseAgentsItemToolRulesItemOneType.ts | 5 + ...earchResponseAgentsItemToolRulesItemTwo.ts | 10 ++ ...hResponseAgentsItemToolRulesItemTwoType.ts | 5 + ...AgentsSearchResponseAgentsItemToolsItem.ts | 20 +++ ...hResponseAgentsItemToolsItemCreatedById.ts | 11 ++ ...ponseAgentsItemToolsItemCreatedByIdItem.ts | 5 + ...hResponseAgentsItemToolsItemDescription.ts | 11 ++ ...ponseAgentsItemToolsItemDescriptionItem.ts | 5 + ...chResponseAgentsItemToolsItemJsonSchema.ts | 11 ++ ...sponseAgentsItemToolsItemJsonSchemaItem.ts | 5 + ...ponseAgentsItemToolsItemLastUpdatedById.ts | 11 ++ ...eAgentsItemToolsItemLastUpdatedByIdItem.ts | 5 + ...tsSearchResponseAgentsItemToolsItemName.ts | 11 ++ ...archResponseAgentsItemToolsItemNameItem.ts | 5 + ...sponseAgentsItemToolsItemOrganizationId.ts | 11 ++ ...seAgentsItemToolsItemOrganizationIdItem.ts | 5 + ...chResponseAgentsItemToolsItemSourceCode.ts | 11 ++ ...sponseAgentsItemToolsItemSourceCodeItem.ts | 5 + ...chResponseAgentsItemToolsItemSourceType.ts | 11 ++ ...sponseAgentsItemToolsItemSourceTypeItem.ts | 5 + ...archResponseAgentsItemToolsItemToolType.ts | 19 ++ ...AgentsSearchResponseAgentsItemUpdatedAt.ts | 12 ++ ...tsSearchResponseAgentsItemUpdatedAtItem.ts | 5 + src/api/resources/agents/types/index.ts | 164 +++++++++++++++++- src/api/resources/blocks/client/Client.ts | 24 +-- src/api/resources/health/client/Client.ts | 4 +- src/api/resources/jobs/client/Client.ts | 16 +- src/api/resources/models/client/Client.ts | 8 +- src/api/resources/providers/client/Client.ts | 16 +- src/api/resources/runs/client/Client.ts | 24 +-- src/api/resources/sources/client/Client.ts | 24 +-- .../sources/resources/files/client/Client.ts | 12 +- .../resources/passages/client/Client.ts | 4 +- src/api/resources/steps/client/Client.ts | 8 +- src/api/resources/tag/client/Client.ts | 4 +- src/api/resources/templates/client/Client.ts | 4 +- src/api/resources/tools/client/Client.ts | 44 ++--- src/api/types/Step.ts | 2 + .../client/requests/AgentsSearchRequest.ts | 9 +- .../types/AgentsSearchRequestCombinator.ts | 16 -- .../types/AgentsSearchRequestSearchItem.ts | 9 +- .../AgentsSearchRequestSearchItemDirection.ts | 26 --- ...archRequestSearchItemDirectionDirection.ts | 16 -- ...tsSearchRequestSearchItemDirectionValue.ts | 16 -- ... => AgentsSearchRequestSearchItemField.ts} | 8 +- ...gentsSearchRequestSearchItemOneOperator.ts | 4 +- .../agents/types/AgentsSearchResponse.ts | 23 +++ .../types/AgentsSearchResponseAgentsItem.ts | 97 +++++++++++ ...AgentsSearchResponseAgentsItemAgentType.ts | 16 ++ ...sSearchResponseAgentsItemBaseTemplateId.ts | 26 +++ ...rchResponseAgentsItemBaseTemplateIdItem.ts | 16 ++ ...AgentsSearchResponseAgentsItemCreatedAt.ts | 26 +++ ...tsSearchResponseAgentsItemCreatedAtItem.ts | 16 ++ ...entsSearchResponseAgentsItemCreatedById.ts | 26 +++ ...SearchResponseAgentsItemCreatedByIdItem.ts | 16 ++ ...entsSearchResponseAgentsItemDescription.ts | 26 +++ ...SearchResponseAgentsItemDescriptionItem.ts | 16 ++ ...SearchResponseAgentsItemEmbeddingConfig.ts | 61 +++++++ ...gentsItemEmbeddingConfigAzureDeployment.ts | 26 +++ ...sItemEmbeddingConfigAzureDeploymentItem.ts | 16 ++ ...eAgentsItemEmbeddingConfigAzureEndpoint.ts | 26 +++ ...ntsItemEmbeddingConfigAzureEndpointItem.ts | 16 ++ ...seAgentsItemEmbeddingConfigAzureVersion.ts | 26 +++ ...entsItemEmbeddingConfigAzureVersionItem.ts | 16 ++ ...tsItemEmbeddingConfigEmbeddingChunkSize.ts | 26 +++ ...emEmbeddingConfigEmbeddingChunkSizeItem.ts | 16 ++ ...ntsItemEmbeddingConfigEmbeddingEndpoint.ts | 26 +++ ...temEmbeddingConfigEmbeddingEndpointItem.ts | 16 ++ ...temEmbeddingConfigEmbeddingEndpointType.ts | 53 ++++++ ...ResponseAgentsItemEmbeddingConfigHandle.ts | 26 +++ ...onseAgentsItemEmbeddingConfigHandleItem.ts | 16 ++ ...SearchResponseAgentsItemLastUpdatedById.ts | 26 +++ ...chResponseAgentsItemLastUpdatedByIdItem.ts | 16 ++ ...AgentsSearchResponseAgentsItemLlmConfig.ts | 52 ++++++ ...SearchResponseAgentsItemLlmConfigHandle.ts | 26 +++ ...chResponseAgentsItemLlmConfigHandleItem.ts | 16 ++ ...esponseAgentsItemLlmConfigModelEndpoint.ts | 26 +++ ...nseAgentsItemLlmConfigModelEndpointItem.ts | 16 ++ ...nseAgentsItemLlmConfigModelEndpointType.ts | 53 ++++++ ...ResponseAgentsItemLlmConfigModelWrapper.ts | 26 +++ ...onseAgentsItemLlmConfigModelWrapperItem.ts | 16 ++ ...tsItemLlmConfigPutInnerThoughtsInKwargs.ts | 26 +++ ...emLlmConfigPutInnerThoughtsInKwargsItem.ts | 16 ++ ...hResponseAgentsItemLlmConfigTemperature.ts | 16 ++ .../AgentsSearchResponseAgentsItemMemory.ts | 27 +++ ...earchResponseAgentsItemMemoryBlocksItem.ts | 62 +++++++ ...seAgentsItemMemoryBlocksItemCreatedById.ts | 26 +++ ...entsItemMemoryBlocksItemCreatedByIdItem.ts | 16 ++ ...seAgentsItemMemoryBlocksItemDescription.ts | 26 +++ ...entsItemMemoryBlocksItemDescriptionItem.ts | 16 ++ ...rchResponseAgentsItemMemoryBlocksItemId.ts | 16 ++ ...nseAgentsItemMemoryBlocksItemIsTemplate.ts | 16 ++ ...ResponseAgentsItemMemoryBlocksItemLabel.ts | 26 +++ ...onseAgentsItemMemoryBlocksItemLabelItem.ts | 16 ++ ...entsItemMemoryBlocksItemLastUpdatedById.ts | 26 +++ ...ItemMemoryBlocksItemLastUpdatedByIdItem.ts | 16 ++ ...ResponseAgentsItemMemoryBlocksItemLimit.ts | 16 ++ ...ponseAgentsItemMemoryBlocksItemMetadata.ts | 24 +++ ...eAgentsItemMemoryBlocksItemMetadataItem.ts | 16 ++ ...hResponseAgentsItemMemoryBlocksItemName.ts | 26 +++ ...ponseAgentsItemMemoryBlocksItemNameItem.ts | 16 ++ ...gentsItemMemoryBlocksItemOrganizationId.ts | 26 +++ ...sItemMemoryBlocksItemOrganizationIdItem.ts | 16 ++ ...hResponseAgentsItemMemoryPromptTemplate.ts | 16 ++ ...gentsSearchResponseAgentsItemMessageIds.ts | 26 +++ ...sSearchResponseAgentsItemMessageIdsItem.ts | 19 ++ .../AgentsSearchResponseAgentsItemMetadata.ts | 24 +++ ...ntsSearchResponseAgentsItemMetadataItem.ts | 16 ++ ...sSearchResponseAgentsItemOrganizationId.ts | 26 +++ ...rchResponseAgentsItemOrganizationIdItem.ts | 16 ++ ...AgentsSearchResponseAgentsItemProjectId.ts | 26 +++ ...tsSearchResponseAgentsItemProjectIdItem.ts | 16 ++ ...entsSearchResponseAgentsItemSourcesItem.ts | 59 +++++++ ...hResponseAgentsItemSourcesItemCreatedAt.ts | 26 +++ ...ponseAgentsItemSourcesItemCreatedAtItem.ts | 16 ++ ...esponseAgentsItemSourcesItemCreatedById.ts | 26 +++ ...nseAgentsItemSourcesItemCreatedByIdItem.ts | 16 ++ ...esponseAgentsItemSourcesItemDescription.ts | 26 +++ ...nseAgentsItemSourcesItemDescriptionItem.ts | 16 ++ ...nseAgentsItemSourcesItemEmbeddingConfig.ts | 61 +++++++ ...urcesItemEmbeddingConfigAzureDeployment.ts | 26 +++ ...sItemEmbeddingConfigAzureDeploymentItem.ts | 16 ++ ...SourcesItemEmbeddingConfigAzureEndpoint.ts | 26 +++ ...cesItemEmbeddingConfigAzureEndpointItem.ts | 16 ++ ...mSourcesItemEmbeddingConfigAzureVersion.ts | 26 +++ ...rcesItemEmbeddingConfigAzureVersionItem.ts | 16 ++ ...esItemEmbeddingConfigEmbeddingChunkSize.ts | 26 +++ ...emEmbeddingConfigEmbeddingChunkSizeItem.ts | 16 ++ ...cesItemEmbeddingConfigEmbeddingEndpoint.ts | 26 +++ ...temEmbeddingConfigEmbeddingEndpointItem.ts | 16 ++ ...temEmbeddingConfigEmbeddingEndpointType.ts | 53 ++++++ ...ntsItemSourcesItemEmbeddingConfigHandle.ts | 26 +++ ...temSourcesItemEmbeddingConfigHandleItem.ts | 16 ++ ...tsSearchResponseAgentsItemSourcesItemId.ts | 16 ++ ...nseAgentsItemSourcesItemLastUpdatedById.ts | 26 +++ ...gentsItemSourcesItemLastUpdatedByIdItem.ts | 16 ++ ...chResponseAgentsItemSourcesItemMetadata.ts | 24 +++ ...sponseAgentsItemSourcesItemMetadataItem.ts | 16 ++ ...onseAgentsItemSourcesItemOrganizationId.ts | 26 +++ ...AgentsItemSourcesItemOrganizationIdItem.ts | 16 ++ ...hResponseAgentsItemSourcesItemUpdatedAt.ts | 26 +++ ...ponseAgentsItemSourcesItemUpdatedAtItem.ts | 16 ++ ...gentsSearchResponseAgentsItemTemplateId.ts | 26 +++ ...sSearchResponseAgentsItemTemplateIdItem.ts | 16 ++ ...eAgentsItemToolExecEnvironmentVariables.ts | 20 +++ ...ntsItemToolExecEnvironmentVariablesItem.ts | 60 +++++++ ...olExecEnvironmentVariablesItemCreatedAt.ts | 26 +++ ...ecEnvironmentVariablesItemCreatedAtItem.ts | 16 ++ ...ExecEnvironmentVariablesItemCreatedById.ts | 26 +++ ...EnvironmentVariablesItemCreatedByIdItem.ts | 16 ++ ...ExecEnvironmentVariablesItemDescription.ts | 26 +++ ...EnvironmentVariablesItemDescriptionItem.ts | 16 ++ ...sItemToolExecEnvironmentVariablesItemId.ts | 16 ++ ...EnvironmentVariablesItemLastUpdatedById.ts | 28 +++ ...ronmentVariablesItemLastUpdatedByIdItem.ts | 16 ++ ...cEnvironmentVariablesItemOrganizationId.ts | 28 +++ ...ironmentVariablesItemOrganizationIdItem.ts | 16 ++ ...olExecEnvironmentVariablesItemUpdatedAt.ts | 26 +++ ...ecEnvironmentVariablesItemUpdatedAtItem.ts | 16 ++ ...AgentsSearchResponseAgentsItemToolRules.ts | 26 +++ ...tsSearchResponseAgentsItemToolRulesItem.ts | 20 +++ ...entsItemToolRulesItemChildOutputMapping.ts | 37 ++++ ...RulesItemChildOutputMappingDefaultChild.ts | 26 +++ ...sItemChildOutputMappingDefaultChildItem.ts | 16 ++ ...mChildOutputMappingRequireOutputMapping.ts | 16 ++ ...ItemToolRulesItemChildOutputMappingType.ts | 19 ++ ...ResponseAgentsItemToolRulesItemChildren.ts | 25 +++ ...onseAgentsItemToolRulesItemChildrenType.ts | 19 ++ ...archResponseAgentsItemToolRulesItemItem.ts | 29 ++++ ...ItemToolRulesItemItemChildOutputMapping.ts | 37 ++++ ...sItemItemChildOutputMappingDefaultChild.ts | 28 +++ ...mItemChildOutputMappingDefaultChildItem.ts | 16 ++ ...mChildOutputMappingRequireOutputMapping.ts | 16 ++ ...ToolRulesItemItemChildOutputMappingType.ts | 19 ++ ...onseAgentsItemToolRulesItemItemChildren.ts | 25 +++ ...AgentsItemToolRulesItemItemChildrenType.ts | 19 ++ ...hResponseAgentsItemToolRulesItemItemOne.ts | 23 +++ ...ponseAgentsItemToolRulesItemItemOneType.ts | 19 ++ ...hResponseAgentsItemToolRulesItemItemTwo.ts | 23 +++ ...ponseAgentsItemToolRulesItemItemTwoType.ts | 19 ++ ...earchResponseAgentsItemToolRulesItemOne.ts | 23 +++ ...hResponseAgentsItemToolRulesItemOneType.ts | 19 ++ ...earchResponseAgentsItemToolRulesItemTwo.ts | 23 +++ ...hResponseAgentsItemToolRulesItemTwoType.ts | 19 ++ ...AgentsSearchResponseAgentsItemToolsItem.ts | 69 ++++++++ ...hResponseAgentsItemToolsItemCreatedById.ts | 24 +++ ...ponseAgentsItemToolsItemCreatedByIdItem.ts | 16 ++ ...hResponseAgentsItemToolsItemDescription.ts | 24 +++ ...ponseAgentsItemToolsItemDescriptionItem.ts | 16 ++ ...chResponseAgentsItemToolsItemJsonSchema.ts | 24 +++ ...sponseAgentsItemToolsItemJsonSchemaItem.ts | 16 ++ ...ponseAgentsItemToolsItemLastUpdatedById.ts | 24 +++ ...eAgentsItemToolsItemLastUpdatedByIdItem.ts | 16 ++ ...tsSearchResponseAgentsItemToolsItemName.ts | 24 +++ ...archResponseAgentsItemToolsItemNameItem.ts | 16 ++ ...sponseAgentsItemToolsItemOrganizationId.ts | 24 +++ ...seAgentsItemToolsItemOrganizationIdItem.ts | 16 ++ ...chResponseAgentsItemToolsItemSourceCode.ts | 24 +++ ...sponseAgentsItemToolsItemSourceCodeItem.ts | 16 ++ ...chResponseAgentsItemToolsItemSourceType.ts | 24 +++ ...sponseAgentsItemToolsItemSourceTypeItem.ts | 16 ++ ...archResponseAgentsItemToolsItemToolType.ts | 29 ++++ ...AgentsSearchResponseAgentsItemUpdatedAt.ts | 26 +++ ...tsSearchResponseAgentsItemUpdatedAtItem.ts | 16 ++ .../resources/agents/types/index.ts | 164 +++++++++++++++++- src/serialization/types/Step.ts | 2 + src/version.ts | 2 +- 361 files changed, 5799 insertions(+), 311 deletions(-) delete mode 100644 src/api/resources/agents/types/AgentsSearchRequestCombinator.ts delete mode 100644 src/api/resources/agents/types/AgentsSearchRequestSearchItemDirection.ts delete mode 100644 src/api/resources/agents/types/AgentsSearchRequestSearchItemDirectionDirection.ts delete mode 100644 src/api/resources/agents/types/AgentsSearchRequestSearchItemDirectionValue.ts rename src/api/resources/agents/types/{AgentsSearchRequestSearchItemTwo.ts => AgentsSearchRequestSearchItemField.ts} (72%) create mode 100644 src/api/resources/agents/types/AgentsSearchResponse.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemAgentType.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemBaseTemplateId.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemBaseTemplateIdItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemCreatedAt.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemCreatedAtItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemCreatedById.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemCreatedByIdItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemDescription.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemDescriptionItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfig.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigAzureDeployment.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigAzureDeploymentItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigAzureEndpoint.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigAzureEndpointItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigAzureVersion.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigAzureVersionItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingChunkSize.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingChunkSizeItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpoint.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointType.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigHandle.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigHandleItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemLastUpdatedById.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemLastUpdatedByIdItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfig.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigHandle.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigHandleItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpoint.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpointItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpointType.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelWrapper.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelWrapperItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigPutInnerThoughtsInKwargs.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigPutInnerThoughtsInKwargsItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigTemperature.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemory.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemCreatedById.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemCreatedByIdItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemDescription.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemDescriptionItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemId.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemIsTemplate.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemLabel.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemLabelItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemLastUpdatedById.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemLastUpdatedByIdItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemLimit.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemMetadata.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemMetadataItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemName.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemNameItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemOrganizationId.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemOrganizationIdItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryPromptTemplate.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemMessageIds.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemMessageIdsItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemMetadata.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemMetadataItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemOrganizationId.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemOrganizationIdItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemProjectId.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemProjectIdItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemCreatedAt.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemCreatedAtItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemCreatedById.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemCreatedByIdItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemDescription.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemDescriptionItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfig.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureDeployment.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureDeploymentItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureEndpoint.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureEndpointItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureVersion.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureVersionItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingChunkSize.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingChunkSizeItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpoint.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigHandle.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigHandleItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemId.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemLastUpdatedById.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemLastUpdatedByIdItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemMetadata.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemMetadataItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemOrganizationId.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemOrganizationIdItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemUpdatedAt.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemUpdatedAtItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemTemplateId.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemTemplateIdItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariables.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedAt.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedAtItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedById.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedByIdItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemDescription.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemDescriptionItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemId.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemLastUpdatedById.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemLastUpdatedByIdItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemOrganizationId.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemOrganizationIdItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemUpdatedAt.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemUpdatedAtItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRules.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildOutputMapping.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingDefaultChild.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingDefaultChildItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingRequireOutputMapping.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingType.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildren.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildrenType.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMapping.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingDefaultChild.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingDefaultChildItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingRequireOutputMapping.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingType.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildren.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildrenType.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemOne.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemOneType.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemTwo.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemTwoType.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemOne.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemOneType.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemTwo.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemTwoType.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemCreatedById.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemCreatedByIdItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemDescription.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemDescriptionItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemJsonSchema.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemJsonSchemaItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemLastUpdatedById.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemLastUpdatedByIdItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemName.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemNameItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemOrganizationId.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemOrganizationIdItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemSourceCode.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemSourceCodeItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemSourceType.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemSourceTypeItem.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemToolType.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemUpdatedAt.ts create mode 100644 src/api/resources/agents/types/AgentsSearchResponseAgentsItemUpdatedAtItem.ts delete mode 100644 src/serialization/resources/agents/types/AgentsSearchRequestCombinator.ts delete mode 100644 src/serialization/resources/agents/types/AgentsSearchRequestSearchItemDirection.ts delete mode 100644 src/serialization/resources/agents/types/AgentsSearchRequestSearchItemDirectionDirection.ts delete mode 100644 src/serialization/resources/agents/types/AgentsSearchRequestSearchItemDirectionValue.ts rename src/serialization/resources/agents/types/{AgentsSearchRequestSearchItemTwo.ts => AgentsSearchRequestSearchItemField.ts} (68%) create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponse.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemAgentType.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemBaseTemplateId.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemBaseTemplateIdItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemCreatedAt.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemCreatedAtItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemCreatedById.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemCreatedByIdItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemDescription.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemDescriptionItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfig.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigAzureDeployment.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigAzureDeploymentItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigAzureEndpoint.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigAzureEndpointItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigAzureVersion.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigAzureVersionItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingChunkSize.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingChunkSizeItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpoint.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointType.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigHandle.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigHandleItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLastUpdatedById.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLastUpdatedByIdItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfig.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigHandle.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigHandleItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpoint.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpointItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpointType.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelWrapper.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelWrapperItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigPutInnerThoughtsInKwargs.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigPutInnerThoughtsInKwargsItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigTemperature.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemory.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemCreatedById.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemCreatedByIdItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemDescription.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemDescriptionItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemId.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemIsTemplate.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemLabel.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemLabelItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemLastUpdatedById.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemLastUpdatedByIdItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemLimit.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemMetadata.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemMetadataItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemName.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemNameItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemOrganizationId.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemOrganizationIdItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryPromptTemplate.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMessageIds.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMessageIdsItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMetadata.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMetadataItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemOrganizationId.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemOrganizationIdItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemProjectId.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemProjectIdItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemCreatedAt.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemCreatedAtItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemCreatedById.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemCreatedByIdItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemDescription.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemDescriptionItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfig.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureDeployment.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureDeploymentItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureEndpoint.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureEndpointItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureVersion.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureVersionItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingChunkSize.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingChunkSizeItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpoint.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigHandle.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigHandleItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemId.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemLastUpdatedById.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemLastUpdatedByIdItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemMetadata.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemMetadataItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemOrganizationId.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemOrganizationIdItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemUpdatedAt.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemUpdatedAtItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemTemplateId.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemTemplateIdItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariables.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedAt.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedAtItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedById.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedByIdItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemDescription.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemDescriptionItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemId.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemLastUpdatedById.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemLastUpdatedByIdItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemOrganizationId.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemOrganizationIdItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemUpdatedAt.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemUpdatedAtItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRules.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildOutputMapping.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingDefaultChild.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingDefaultChildItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingRequireOutputMapping.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingType.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildren.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildrenType.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMapping.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingDefaultChild.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingDefaultChildItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingRequireOutputMapping.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingType.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildren.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildrenType.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemOne.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemOneType.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemTwo.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemTwoType.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemOne.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemOneType.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemTwo.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemTwoType.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemCreatedById.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemCreatedByIdItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemDescription.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemDescriptionItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemJsonSchema.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemJsonSchemaItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemLastUpdatedById.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemLastUpdatedByIdItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemName.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemNameItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemOrganizationId.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemOrganizationIdItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemSourceCode.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemSourceCodeItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemSourceType.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemSourceTypeItem.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemToolType.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemUpdatedAt.ts create mode 100644 src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemUpdatedAtItem.ts diff --git a/package.json b/package.json index 795cd1e..fb6fb78 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@letta-ai/letta-client", - "version": "0.1.20", + "version": "0.1.21", "private": false, "repository": "https://github.com/letta-ai/letta-node", "main": "./index.js", diff --git a/reference.md b/reference.md index 34d8365..d1eb5f3 100644 --- a/reference.md +++ b/reference.md @@ -1475,7 +1475,7 @@ await client.agents.resetMessages("agent_id"); -
client.agents.search({ ...params }) -> void +
client.agents.search({ ...params }) -> Letta.AgentsSearchResponse
diff --git a/src/api/resources/agents/client/Client.ts b/src/api/resources/agents/client/Client.ts index e52d919..dae6b9a 100644 --- a/src/api/resources/agents/client/Client.ts +++ b/src/api/resources/agents/client/Client.ts @@ -156,8 +156,8 @@ export class Agents { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -241,8 +241,8 @@ export class Agents { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -323,8 +323,8 @@ export class Agents { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -404,8 +404,8 @@ export class Agents { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -484,8 +484,8 @@ export class Agents { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -577,8 +577,8 @@ export class Agents { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -652,7 +652,7 @@ export class Agents { public async search( request: Letta.AgentsSearchRequest = {}, requestOptions?: Agents.RequestOptions, - ): Promise { + ): Promise { const _response = await (this._options.fetcher ?? core.fetcher)({ url: urlJoin( (await core.Supplier.get(this._options.baseUrl)) ?? @@ -664,8 +664,8 @@ export class Agents { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -679,7 +679,13 @@ export class Agents { abortSignal: requestOptions?.abortSignal, }); if (_response.ok) { - return; + return serializers.AgentsSearchResponse.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); } if (_response.error.reason === "status-code") { diff --git a/src/api/resources/agents/client/requests/AgentsSearchRequest.ts b/src/api/resources/agents/client/requests/AgentsSearchRequest.ts index abda8b4..28e2519 100644 --- a/src/api/resources/agents/client/requests/AgentsSearchRequest.ts +++ b/src/api/resources/agents/client/requests/AgentsSearchRequest.ts @@ -11,7 +11,7 @@ import * as Letta from "../../../../index"; export interface AgentsSearchRequest { search?: Letta.AgentsSearchRequestSearchItem[]; projectId?: string; - combinator?: Letta.AgentsSearchRequestCombinator; + combinator?: "AND"; limit?: number; - offset?: number; + after?: string; } diff --git a/src/api/resources/agents/resources/archivalMemory/client/Client.ts b/src/api/resources/agents/resources/archivalMemory/client/Client.ts index a90c4e3..c7ee936 100644 --- a/src/api/resources/agents/resources/archivalMemory/client/Client.ts +++ b/src/api/resources/agents/resources/archivalMemory/client/Client.ts @@ -75,8 +75,8 @@ export class ArchivalMemory { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -166,8 +166,8 @@ export class ArchivalMemory { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -255,8 +255,8 @@ export class ArchivalMemory { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/agents/resources/context/client/Client.ts b/src/api/resources/agents/resources/context/client/Client.ts index 490a069..425f6e8 100644 --- a/src/api/resources/agents/resources/context/client/Client.ts +++ b/src/api/resources/agents/resources/context/client/Client.ts @@ -59,8 +59,8 @@ export class Context { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/agents/resources/coreMemory/client/Client.ts b/src/api/resources/agents/resources/coreMemory/client/Client.ts index dca1482..2844141 100644 --- a/src/api/resources/agents/resources/coreMemory/client/Client.ts +++ b/src/api/resources/agents/resources/coreMemory/client/Client.ts @@ -57,8 +57,8 @@ export class CoreMemory { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -145,8 +145,8 @@ export class CoreMemory { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -235,8 +235,8 @@ export class CoreMemory { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -319,8 +319,8 @@ export class CoreMemory { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -407,8 +407,8 @@ export class CoreMemory { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -495,8 +495,8 @@ export class CoreMemory { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/agents/resources/memoryVariables/client/Client.ts b/src/api/resources/agents/resources/memoryVariables/client/Client.ts index 8f6d1d7..df793b5 100644 --- a/src/api/resources/agents/resources/memoryVariables/client/Client.ts +++ b/src/api/resources/agents/resources/memoryVariables/client/Client.ts @@ -61,8 +61,8 @@ export class MemoryVariables { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/agents/resources/messages/client/Client.ts b/src/api/resources/agents/resources/messages/client/Client.ts index d5bcf12..d267d13 100644 --- a/src/api/resources/agents/resources/messages/client/Client.ts +++ b/src/api/resources/agents/resources/messages/client/Client.ts @@ -89,8 +89,8 @@ export class Messages { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -182,8 +182,8 @@ export class Messages { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -273,8 +273,8 @@ export class Messages { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -355,8 +355,8 @@ export class Messages { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -461,8 +461,8 @@ export class Messages { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/agents/resources/sources/client/Client.ts b/src/api/resources/agents/resources/sources/client/Client.ts index ef8a907..d1a0f17 100644 --- a/src/api/resources/agents/resources/sources/client/Client.ts +++ b/src/api/resources/agents/resources/sources/client/Client.ts @@ -61,8 +61,8 @@ export class Sources { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -149,8 +149,8 @@ export class Sources { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -232,8 +232,8 @@ export class Sources { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/agents/resources/templates/client/Client.ts b/src/api/resources/agents/resources/templates/client/Client.ts index ad43799..8c8358a 100644 --- a/src/api/resources/agents/resources/templates/client/Client.ts +++ b/src/api/resources/agents/resources/templates/client/Client.ts @@ -70,8 +70,8 @@ export class Templates { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -157,8 +157,8 @@ export class Templates { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -251,8 +251,8 @@ export class Templates { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/agents/resources/tools/client/Client.ts b/src/api/resources/agents/resources/tools/client/Client.ts index 18d00e8..f820974 100644 --- a/src/api/resources/agents/resources/tools/client/Client.ts +++ b/src/api/resources/agents/resources/tools/client/Client.ts @@ -56,8 +56,8 @@ export class Tools { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -142,8 +142,8 @@ export class Tools { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -230,8 +230,8 @@ export class Tools { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/agents/types/AgentsSearchRequestCombinator.ts b/src/api/resources/agents/types/AgentsSearchRequestCombinator.ts deleted file mode 100644 index 75969a5..0000000 --- a/src/api/resources/agents/types/AgentsSearchRequestCombinator.ts +++ /dev/null @@ -1,9 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type AgentsSearchRequestCombinator = "AND" | "OR"; -export const AgentsSearchRequestCombinator = { - And: "AND", - Or: "OR", -} as const; diff --git a/src/api/resources/agents/types/AgentsSearchRequestSearchItem.ts b/src/api/resources/agents/types/AgentsSearchRequestSearchItem.ts index 62cc258..b4fca69 100644 --- a/src/api/resources/agents/types/AgentsSearchRequestSearchItem.ts +++ b/src/api/resources/agents/types/AgentsSearchRequestSearchItem.ts @@ -7,5 +7,4 @@ import * as Letta from "../../../index"; export type AgentsSearchRequestSearchItem = | Letta.AgentsSearchRequestSearchItemZero | Letta.AgentsSearchRequestSearchItemOne - | Letta.AgentsSearchRequestSearchItemTwo - | Letta.AgentsSearchRequestSearchItemDirection; + | Letta.AgentsSearchRequestSearchItemField; diff --git a/src/api/resources/agents/types/AgentsSearchRequestSearchItemDirection.ts b/src/api/resources/agents/types/AgentsSearchRequestSearchItemDirection.ts deleted file mode 100644 index aaaf1f2..0000000 --- a/src/api/resources/agents/types/AgentsSearchRequestSearchItemDirection.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Letta from "../../../index"; - -export interface AgentsSearchRequestSearchItemDirection { - field: "order_by"; - value: Letta.AgentsSearchRequestSearchItemDirectionValue; - direction: Letta.AgentsSearchRequestSearchItemDirectionDirection; -} diff --git a/src/api/resources/agents/types/AgentsSearchRequestSearchItemDirectionDirection.ts b/src/api/resources/agents/types/AgentsSearchRequestSearchItemDirectionDirection.ts deleted file mode 100644 index c74b20a..0000000 --- a/src/api/resources/agents/types/AgentsSearchRequestSearchItemDirectionDirection.ts +++ /dev/null @@ -1,9 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type AgentsSearchRequestSearchItemDirectionDirection = "asc" | "desc"; -export const AgentsSearchRequestSearchItemDirectionDirection = { - Asc: "asc", - Desc: "desc", -} as const; diff --git a/src/api/resources/agents/types/AgentsSearchRequestSearchItemDirectionValue.ts b/src/api/resources/agents/types/AgentsSearchRequestSearchItemDirectionValue.ts deleted file mode 100644 index d4cafd4..0000000 --- a/src/api/resources/agents/types/AgentsSearchRequestSearchItemDirectionValue.ts +++ /dev/null @@ -1,9 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type AgentsSearchRequestSearchItemDirectionValue = "created_at" | "updated_at"; -export const AgentsSearchRequestSearchItemDirectionValue = { - CreatedAt: "created_at", - UpdatedAt: "updated_at", -} as const; diff --git a/src/api/resources/agents/types/AgentsSearchRequestSearchItemTwo.ts b/src/api/resources/agents/types/AgentsSearchRequestSearchItemField.ts similarity index 72% rename from src/api/resources/agents/types/AgentsSearchRequestSearchItemTwo.ts rename to src/api/resources/agents/types/AgentsSearchRequestSearchItemField.ts index a28129a..bbf72e4 100644 --- a/src/api/resources/agents/types/AgentsSearchRequestSearchItemTwo.ts +++ b/src/api/resources/agents/types/AgentsSearchRequestSearchItemField.ts @@ -2,7 +2,7 @@ * This file was auto-generated by Fern from our API Definition. */ -export interface AgentsSearchRequestSearchItemTwo { +export interface AgentsSearchRequestSearchItemField { field: "tags"; operator: "contains"; value: string[]; diff --git a/src/api/resources/agents/types/AgentsSearchRequestSearchItemOneOperator.ts b/src/api/resources/agents/types/AgentsSearchRequestSearchItemOneOperator.ts index 4b2c5a1..1344cce 100644 --- a/src/api/resources/agents/types/AgentsSearchRequestSearchItemOneOperator.ts +++ b/src/api/resources/agents/types/AgentsSearchRequestSearchItemOneOperator.ts @@ -2,9 +2,8 @@ * This file was auto-generated by Fern from our API Definition. */ -export type AgentsSearchRequestSearchItemOneOperator = "eq" | "neq" | "contains"; +export type AgentsSearchRequestSearchItemOneOperator = "eq" | "contains"; export const AgentsSearchRequestSearchItemOneOperator = { Eq: "eq", - Neq: "neq", Contains: "contains", } as const; diff --git a/src/api/resources/agents/types/AgentsSearchResponse.ts b/src/api/resources/agents/types/AgentsSearchResponse.ts new file mode 100644 index 0000000..bb13f64 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponse.ts @@ -0,0 +1,10 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export interface AgentsSearchResponse { + agents: Letta.AgentsSearchResponseAgentsItem[]; + nextCursor?: string; +} diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItem.ts new file mode 100644 index 0000000..01ff8a4 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItem.ts @@ -0,0 +1,32 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export interface AgentsSearchResponseAgentsItem { + createdById?: Letta.AgentsSearchResponseAgentsItemCreatedById; + lastUpdatedById?: Letta.AgentsSearchResponseAgentsItemLastUpdatedById; + createdAt?: Letta.AgentsSearchResponseAgentsItemCreatedAt; + updatedAt?: Letta.AgentsSearchResponseAgentsItemUpdatedAt; + id: string; + name: string; + toolRules?: Letta.AgentsSearchResponseAgentsItemToolRules; + messageIds?: Letta.AgentsSearchResponseAgentsItemMessageIds; + system: string; + agentType: Letta.AgentsSearchResponseAgentsItemAgentType; + llmConfig: Letta.AgentsSearchResponseAgentsItemLlmConfig; + embeddingConfig: Letta.AgentsSearchResponseAgentsItemEmbeddingConfig; + organizationId?: Letta.AgentsSearchResponseAgentsItemOrganizationId; + description?: Letta.AgentsSearchResponseAgentsItemDescription; + metadata?: Letta.AgentsSearchResponseAgentsItemMetadata; + memory: Letta.AgentsSearchResponseAgentsItemMemory; + tools: Letta.AgentsSearchResponseAgentsItemToolsItem[]; + sources: Letta.AgentsSearchResponseAgentsItemSourcesItem[]; + tags: string[]; + toolExecEnvironmentVariables?: Letta.AgentsSearchResponseAgentsItemToolExecEnvironmentVariables; + projectId?: Letta.AgentsSearchResponseAgentsItemProjectId; + templateId?: Letta.AgentsSearchResponseAgentsItemTemplateId; + baseTemplateId?: Letta.AgentsSearchResponseAgentsItemBaseTemplateId; + template?: string; +} diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemAgentType.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemAgentType.ts new file mode 100644 index 0000000..20477e9 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemAgentType.ts @@ -0,0 +1,15 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemAgentType = + | "memgpt_agent" + | "split_thread_agent" + | "offline_memory_agent" + | "chat_only_agent"; +export const AgentsSearchResponseAgentsItemAgentType = { + MemgptAgent: "memgpt_agent", + SplitThreadAgent: "split_thread_agent", + OfflineMemoryAgent: "offline_memory_agent", + ChatOnlyAgent: "chat_only_agent", +} as const; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemBaseTemplateId.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemBaseTemplateId.ts new file mode 100644 index 0000000..9dc2a5c --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemBaseTemplateId.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemBaseTemplateId = + | string + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemBaseTemplateIdItem | undefined)[] + | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemBaseTemplateIdItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemBaseTemplateIdItem.ts new file mode 100644 index 0000000..e930688 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemBaseTemplateIdItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemBaseTemplateIdItem = string | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemCreatedAt.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemCreatedAt.ts new file mode 100644 index 0000000..10a3c29 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemCreatedAt.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemCreatedAt = + | string + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemCreatedAtItem | undefined)[] + | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemCreatedAtItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemCreatedAtItem.ts new file mode 100644 index 0000000..fcc4105 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemCreatedAtItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemCreatedAtItem = string | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemCreatedById.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemCreatedById.ts new file mode 100644 index 0000000..2a95175 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemCreatedById.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemCreatedById = + | string + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemCreatedByIdItem | undefined)[] + | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemCreatedByIdItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemCreatedByIdItem.ts new file mode 100644 index 0000000..35a6e91 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemCreatedByIdItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemCreatedByIdItem = string | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemDescription.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemDescription.ts new file mode 100644 index 0000000..d35426d --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemDescription.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemDescription = + | string + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemDescriptionItem | undefined)[] + | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemDescriptionItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemDescriptionItem.ts new file mode 100644 index 0000000..a7f5694 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemDescriptionItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemDescriptionItem = string | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfig.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfig.ts new file mode 100644 index 0000000..74062e3 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfig.ts @@ -0,0 +1,17 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export interface AgentsSearchResponseAgentsItemEmbeddingConfig { + embeddingEndpointType: Letta.AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointType; + embeddingEndpoint?: Letta.AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpoint; + embeddingModel: string; + embeddingDim: number; + embeddingChunkSize?: Letta.AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingChunkSize; + handle?: Letta.AgentsSearchResponseAgentsItemEmbeddingConfigHandle; + azureEndpoint?: Letta.AgentsSearchResponseAgentsItemEmbeddingConfigAzureEndpoint; + azureVersion?: Letta.AgentsSearchResponseAgentsItemEmbeddingConfigAzureVersion; + azureDeployment?: Letta.AgentsSearchResponseAgentsItemEmbeddingConfigAzureDeployment; +} diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigAzureDeployment.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigAzureDeployment.ts new file mode 100644 index 0000000..3be1834 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigAzureDeployment.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemEmbeddingConfigAzureDeployment = + | string + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemEmbeddingConfigAzureDeploymentItem | undefined)[] + | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigAzureDeploymentItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigAzureDeploymentItem.ts new file mode 100644 index 0000000..1d6a7a9 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigAzureDeploymentItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemEmbeddingConfigAzureDeploymentItem = string | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigAzureEndpoint.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigAzureEndpoint.ts new file mode 100644 index 0000000..57bd8ab --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigAzureEndpoint.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemEmbeddingConfigAzureEndpoint = + | string + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemEmbeddingConfigAzureEndpointItem | undefined)[] + | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigAzureEndpointItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigAzureEndpointItem.ts new file mode 100644 index 0000000..629b0f6 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigAzureEndpointItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemEmbeddingConfigAzureEndpointItem = string | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigAzureVersion.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigAzureVersion.ts new file mode 100644 index 0000000..d3f4ed4 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigAzureVersion.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemEmbeddingConfigAzureVersion = + | string + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemEmbeddingConfigAzureVersionItem | undefined)[] + | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigAzureVersionItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigAzureVersionItem.ts new file mode 100644 index 0000000..4e01c3e --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigAzureVersionItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemEmbeddingConfigAzureVersionItem = string | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingChunkSize.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingChunkSize.ts new file mode 100644 index 0000000..769aa33 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingChunkSize.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingChunkSize = + | number + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingChunkSizeItem | undefined)[] + | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingChunkSizeItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingChunkSizeItem.ts new file mode 100644 index 0000000..ae088cf --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingChunkSizeItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingChunkSizeItem = number | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpoint.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpoint.ts new file mode 100644 index 0000000..8edca8a --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpoint.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpoint = + | string + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointItem | undefined)[] + | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointItem.ts new file mode 100644 index 0000000..76f6c5b --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointItem = string | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointType.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointType.ts new file mode 100644 index 0000000..ca9b214 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointType.ts @@ -0,0 +1,43 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointType = + | "openai" + | "anthropic" + | "bedrock" + | "cohere" + | "google_ai" + | "azure" + | "groq" + | "ollama" + | "webui" + | "webui-legacy" + | "lmstudio" + | "lmstudio-legacy" + | "llamacpp" + | "koboldcpp" + | "vllm" + | "hugging-face" + | "mistral" + | "together"; +export const AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointType = { + Openai: "openai", + Anthropic: "anthropic", + Bedrock: "bedrock", + Cohere: "cohere", + GoogleAi: "google_ai", + Azure: "azure", + Groq: "groq", + Ollama: "ollama", + Webui: "webui", + WebuiLegacy: "webui-legacy", + Lmstudio: "lmstudio", + LmstudioLegacy: "lmstudio-legacy", + Llamacpp: "llamacpp", + Koboldcpp: "koboldcpp", + Vllm: "vllm", + HuggingFace: "hugging-face", + Mistral: "mistral", + Together: "together", +} as const; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigHandle.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigHandle.ts new file mode 100644 index 0000000..e9afb56 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigHandle.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemEmbeddingConfigHandle = + | string + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemEmbeddingConfigHandleItem | undefined)[] + | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigHandleItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigHandleItem.ts new file mode 100644 index 0000000..1e79887 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigHandleItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemEmbeddingConfigHandleItem = string | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemLastUpdatedById.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemLastUpdatedById.ts new file mode 100644 index 0000000..5e77e13 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemLastUpdatedById.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemLastUpdatedById = + | string + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemLastUpdatedByIdItem | undefined)[] + | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemLastUpdatedByIdItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemLastUpdatedByIdItem.ts new file mode 100644 index 0000000..c9956b1 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemLastUpdatedByIdItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemLastUpdatedByIdItem = string | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfig.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfig.ts new file mode 100644 index 0000000..85a7cec --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfig.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export interface AgentsSearchResponseAgentsItemLlmConfig { + model: string; + modelEndpointType: Letta.AgentsSearchResponseAgentsItemLlmConfigModelEndpointType; + modelEndpoint?: Letta.AgentsSearchResponseAgentsItemLlmConfigModelEndpoint; + modelWrapper?: Letta.AgentsSearchResponseAgentsItemLlmConfigModelWrapper; + contextWindow: number; + putInnerThoughtsInKwargs?: Letta.AgentsSearchResponseAgentsItemLlmConfigPutInnerThoughtsInKwargs; + handle?: Letta.AgentsSearchResponseAgentsItemLlmConfigHandle; + temperature?: Letta.AgentsSearchResponseAgentsItemLlmConfigTemperature; +} diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigHandle.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigHandle.ts new file mode 100644 index 0000000..4b10f7f --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigHandle.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemLlmConfigHandle = + | string + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemLlmConfigHandleItem | undefined)[] + | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigHandleItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigHandleItem.ts new file mode 100644 index 0000000..dd37fe4 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigHandleItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemLlmConfigHandleItem = string | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpoint.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpoint.ts new file mode 100644 index 0000000..e85d7c2 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpoint.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemLlmConfigModelEndpoint = + | string + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemLlmConfigModelEndpointItem | undefined)[] + | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpointItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpointItem.ts new file mode 100644 index 0000000..c7a10b3 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpointItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemLlmConfigModelEndpointItem = string | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpointType.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpointType.ts new file mode 100644 index 0000000..f952498 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpointType.ts @@ -0,0 +1,43 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemLlmConfigModelEndpointType = + | "openai" + | "anthropic" + | "cohere" + | "google_ai" + | "azure" + | "groq" + | "ollama" + | "webui" + | "webui-legacy" + | "lmstudio" + | "lmstudio-legacy" + | "llamacpp" + | "koboldcpp" + | "vllm" + | "hugging-face" + | "mistral" + | "together" + | "bedrock"; +export const AgentsSearchResponseAgentsItemLlmConfigModelEndpointType = { + Openai: "openai", + Anthropic: "anthropic", + Cohere: "cohere", + GoogleAi: "google_ai", + Azure: "azure", + Groq: "groq", + Ollama: "ollama", + Webui: "webui", + WebuiLegacy: "webui-legacy", + Lmstudio: "lmstudio", + LmstudioLegacy: "lmstudio-legacy", + Llamacpp: "llamacpp", + Koboldcpp: "koboldcpp", + Vllm: "vllm", + HuggingFace: "hugging-face", + Mistral: "mistral", + Together: "together", + Bedrock: "bedrock", +} as const; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelWrapper.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelWrapper.ts new file mode 100644 index 0000000..c03571c --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelWrapper.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemLlmConfigModelWrapper = + | string + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemLlmConfigModelWrapperItem | undefined)[] + | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelWrapperItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelWrapperItem.ts new file mode 100644 index 0000000..6afc2be --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelWrapperItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemLlmConfigModelWrapperItem = string | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigPutInnerThoughtsInKwargs.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigPutInnerThoughtsInKwargs.ts new file mode 100644 index 0000000..c5dbe34 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigPutInnerThoughtsInKwargs.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemLlmConfigPutInnerThoughtsInKwargs = + | boolean + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemLlmConfigPutInnerThoughtsInKwargsItem | undefined)[] + | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigPutInnerThoughtsInKwargsItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigPutInnerThoughtsInKwargsItem.ts new file mode 100644 index 0000000..d5c9742 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigPutInnerThoughtsInKwargsItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemLlmConfigPutInnerThoughtsInKwargsItem = boolean | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigTemperature.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigTemperature.ts new file mode 100644 index 0000000..ac843e6 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigTemperature.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemLlmConfigTemperature = number | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemory.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemory.ts new file mode 100644 index 0000000..130b741 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemory.ts @@ -0,0 +1,10 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export interface AgentsSearchResponseAgentsItemMemory { + blocks: Letta.AgentsSearchResponseAgentsItemMemoryBlocksItem[]; + promptTemplate?: Letta.AgentsSearchResponseAgentsItemMemoryPromptTemplate; +} diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItem.ts new file mode 100644 index 0000000..3b980e9 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItem.ts @@ -0,0 +1,19 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export interface AgentsSearchResponseAgentsItemMemoryBlocksItem { + value: string; + limit?: Letta.AgentsSearchResponseAgentsItemMemoryBlocksItemLimit; + name?: Letta.AgentsSearchResponseAgentsItemMemoryBlocksItemName; + isTemplate?: Letta.AgentsSearchResponseAgentsItemMemoryBlocksItemIsTemplate; + label?: Letta.AgentsSearchResponseAgentsItemMemoryBlocksItemLabel; + description?: Letta.AgentsSearchResponseAgentsItemMemoryBlocksItemDescription; + metadata?: Letta.AgentsSearchResponseAgentsItemMemoryBlocksItemMetadata; + id?: Letta.AgentsSearchResponseAgentsItemMemoryBlocksItemId; + organizationId?: Letta.AgentsSearchResponseAgentsItemMemoryBlocksItemOrganizationId; + createdById?: Letta.AgentsSearchResponseAgentsItemMemoryBlocksItemCreatedById; + lastUpdatedById?: Letta.AgentsSearchResponseAgentsItemMemoryBlocksItemLastUpdatedById; +} diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemCreatedById.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemCreatedById.ts new file mode 100644 index 0000000..47022e9 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemCreatedById.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemMemoryBlocksItemCreatedById = + | string + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemMemoryBlocksItemCreatedByIdItem | undefined)[] + | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemCreatedByIdItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemCreatedByIdItem.ts new file mode 100644 index 0000000..6e0e46c --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemCreatedByIdItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemMemoryBlocksItemCreatedByIdItem = string | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemDescription.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemDescription.ts new file mode 100644 index 0000000..6ad1355 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemDescription.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemMemoryBlocksItemDescription = + | string + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemMemoryBlocksItemDescriptionItem | undefined)[] + | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemDescriptionItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemDescriptionItem.ts new file mode 100644 index 0000000..c2ab965 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemDescriptionItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemMemoryBlocksItemDescriptionItem = string | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemId.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemId.ts new file mode 100644 index 0000000..58e826b --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemId.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemMemoryBlocksItemId = string | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemIsTemplate.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemIsTemplate.ts new file mode 100644 index 0000000..552b81c --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemIsTemplate.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemMemoryBlocksItemIsTemplate = boolean | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemLabel.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemLabel.ts new file mode 100644 index 0000000..f7a2589 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemLabel.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemMemoryBlocksItemLabel = + | string + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemMemoryBlocksItemLabelItem | undefined)[] + | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemLabelItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemLabelItem.ts new file mode 100644 index 0000000..8b0169e --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemLabelItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemMemoryBlocksItemLabelItem = string | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemLastUpdatedById.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemLastUpdatedById.ts new file mode 100644 index 0000000..c265661 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemLastUpdatedById.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemMemoryBlocksItemLastUpdatedById = + | string + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemMemoryBlocksItemLastUpdatedByIdItem | undefined)[] + | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemLastUpdatedByIdItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemLastUpdatedByIdItem.ts new file mode 100644 index 0000000..f412e3b --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemLastUpdatedByIdItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemMemoryBlocksItemLastUpdatedByIdItem = string | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemLimit.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemLimit.ts new file mode 100644 index 0000000..2c3f417 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemLimit.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemMemoryBlocksItemLimit = number | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemMetadata.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemMetadata.ts new file mode 100644 index 0000000..290088c --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemMetadata.ts @@ -0,0 +1,11 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemMemoryBlocksItemMetadata = + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemMemoryBlocksItemMetadataItem | undefined)[] + | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemMetadataItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemMetadataItem.ts new file mode 100644 index 0000000..8b1b723 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemMetadataItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemMemoryBlocksItemMetadataItem = unknown | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemName.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemName.ts new file mode 100644 index 0000000..8e48047 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemName.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemMemoryBlocksItemName = + | string + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemMemoryBlocksItemNameItem | undefined)[] + | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemNameItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemNameItem.ts new file mode 100644 index 0000000..dca9776 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemNameItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemMemoryBlocksItemNameItem = string | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemOrganizationId.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemOrganizationId.ts new file mode 100644 index 0000000..85ecfe1 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemOrganizationId.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemMemoryBlocksItemOrganizationId = + | string + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemMemoryBlocksItemOrganizationIdItem | undefined)[] + | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemOrganizationIdItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemOrganizationIdItem.ts new file mode 100644 index 0000000..ee38991 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemOrganizationIdItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemMemoryBlocksItemOrganizationIdItem = string | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryPromptTemplate.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryPromptTemplate.ts new file mode 100644 index 0000000..4175f8a --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMemoryPromptTemplate.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemMemoryPromptTemplate = string | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMessageIds.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMessageIds.ts new file mode 100644 index 0000000..be33570 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMessageIds.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemMessageIds = + | string[] + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemMessageIdsItem | undefined)[] + | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMessageIdsItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMessageIdsItem.ts new file mode 100644 index 0000000..274d5f1 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMessageIdsItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemMessageIdsItem = string[] | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMetadata.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMetadata.ts new file mode 100644 index 0000000..fdae7e4 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMetadata.ts @@ -0,0 +1,11 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemMetadata = + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemMetadataItem | undefined)[] + | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMetadataItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMetadataItem.ts new file mode 100644 index 0000000..0d129d1 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemMetadataItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemMetadataItem = unknown | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemOrganizationId.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemOrganizationId.ts new file mode 100644 index 0000000..6ac66aa --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemOrganizationId.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemOrganizationId = + | string + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemOrganizationIdItem | undefined)[] + | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemOrganizationIdItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemOrganizationIdItem.ts new file mode 100644 index 0000000..0f2811d --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemOrganizationIdItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemOrganizationIdItem = string | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemProjectId.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemProjectId.ts new file mode 100644 index 0000000..dfcec9b --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemProjectId.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemProjectId = + | string + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemProjectIdItem | undefined)[] + | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemProjectIdItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemProjectIdItem.ts new file mode 100644 index 0000000..22efb36 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemProjectIdItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemProjectIdItem = string | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItem.ts new file mode 100644 index 0000000..6642581 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItem.ts @@ -0,0 +1,18 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export interface AgentsSearchResponseAgentsItemSourcesItem { + id?: Letta.AgentsSearchResponseAgentsItemSourcesItemId; + name: string; + description?: Letta.AgentsSearchResponseAgentsItemSourcesItemDescription; + embeddingConfig: Letta.AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfig; + organizationId?: Letta.AgentsSearchResponseAgentsItemSourcesItemOrganizationId; + metadata?: Letta.AgentsSearchResponseAgentsItemSourcesItemMetadata; + createdById?: Letta.AgentsSearchResponseAgentsItemSourcesItemCreatedById; + lastUpdatedById?: Letta.AgentsSearchResponseAgentsItemSourcesItemLastUpdatedById; + createdAt?: Letta.AgentsSearchResponseAgentsItemSourcesItemCreatedAt; + updatedAt?: Letta.AgentsSearchResponseAgentsItemSourcesItemUpdatedAt; +} diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemCreatedAt.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemCreatedAt.ts new file mode 100644 index 0000000..f22e3ea --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemCreatedAt.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemSourcesItemCreatedAt = + | string + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemSourcesItemCreatedAtItem | undefined)[] + | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemCreatedAtItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemCreatedAtItem.ts new file mode 100644 index 0000000..15465a0 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemCreatedAtItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemSourcesItemCreatedAtItem = string | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemCreatedById.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemCreatedById.ts new file mode 100644 index 0000000..2932b7b --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemCreatedById.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemSourcesItemCreatedById = + | string + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemSourcesItemCreatedByIdItem | undefined)[] + | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemCreatedByIdItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemCreatedByIdItem.ts new file mode 100644 index 0000000..ecba11a --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemCreatedByIdItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemSourcesItemCreatedByIdItem = string | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemDescription.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemDescription.ts new file mode 100644 index 0000000..b7a9748 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemDescription.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemSourcesItemDescription = + | string + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemSourcesItemDescriptionItem | undefined)[] + | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemDescriptionItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemDescriptionItem.ts new file mode 100644 index 0000000..54dd4dc --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemDescriptionItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemSourcesItemDescriptionItem = string | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfig.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfig.ts new file mode 100644 index 0000000..49d113b --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfig.ts @@ -0,0 +1,17 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export interface AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfig { + embeddingEndpointType: Letta.AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType; + embeddingEndpoint?: Letta.AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpoint; + embeddingModel: string; + embeddingDim: number; + embeddingChunkSize?: Letta.AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingChunkSize; + handle?: Letta.AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigHandle; + azureEndpoint?: Letta.AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureEndpoint; + azureVersion?: Letta.AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureVersion; + azureDeployment?: Letta.AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureDeployment; +} diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureDeployment.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureDeployment.ts new file mode 100644 index 0000000..1185e5e --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureDeployment.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureDeployment = + | string + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureDeploymentItem | undefined)[] + | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureDeploymentItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureDeploymentItem.ts new file mode 100644 index 0000000..07b9357 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureDeploymentItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureDeploymentItem = string | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureEndpoint.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureEndpoint.ts new file mode 100644 index 0000000..c9fbda2 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureEndpoint.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureEndpoint = + | string + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureEndpointItem | undefined)[] + | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureEndpointItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureEndpointItem.ts new file mode 100644 index 0000000..9895517 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureEndpointItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureEndpointItem = string | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureVersion.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureVersion.ts new file mode 100644 index 0000000..c3c358a --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureVersion.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureVersion = + | string + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureVersionItem | undefined)[] + | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureVersionItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureVersionItem.ts new file mode 100644 index 0000000..d0326dc --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureVersionItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureVersionItem = string | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingChunkSize.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingChunkSize.ts new file mode 100644 index 0000000..207e7fc --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingChunkSize.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingChunkSize = + | number + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingChunkSizeItem | undefined)[] + | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingChunkSizeItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingChunkSizeItem.ts new file mode 100644 index 0000000..6128495 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingChunkSizeItem.ts @@ -0,0 +1,8 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingChunkSizeItem = + | number + | string + | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpoint.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpoint.ts new file mode 100644 index 0000000..ca2e5fd --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpoint.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpoint = + | string + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointItem | undefined)[] + | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointItem.ts new file mode 100644 index 0000000..448e5ae --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointItem = string | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType.ts new file mode 100644 index 0000000..3317787 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType.ts @@ -0,0 +1,43 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType = + | "openai" + | "anthropic" + | "bedrock" + | "cohere" + | "google_ai" + | "azure" + | "groq" + | "ollama" + | "webui" + | "webui-legacy" + | "lmstudio" + | "lmstudio-legacy" + | "llamacpp" + | "koboldcpp" + | "vllm" + | "hugging-face" + | "mistral" + | "together"; +export const AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType = { + Openai: "openai", + Anthropic: "anthropic", + Bedrock: "bedrock", + Cohere: "cohere", + GoogleAi: "google_ai", + Azure: "azure", + Groq: "groq", + Ollama: "ollama", + Webui: "webui", + WebuiLegacy: "webui-legacy", + Lmstudio: "lmstudio", + LmstudioLegacy: "lmstudio-legacy", + Llamacpp: "llamacpp", + Koboldcpp: "koboldcpp", + Vllm: "vllm", + HuggingFace: "hugging-face", + Mistral: "mistral", + Together: "together", +} as const; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigHandle.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigHandle.ts new file mode 100644 index 0000000..db59f13 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigHandle.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigHandle = + | string + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigHandleItem | undefined)[] + | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigHandleItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigHandleItem.ts new file mode 100644 index 0000000..ac71fae --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigHandleItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigHandleItem = string | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemId.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemId.ts new file mode 100644 index 0000000..a22fb09 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemId.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemSourcesItemId = string | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemLastUpdatedById.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemLastUpdatedById.ts new file mode 100644 index 0000000..7358dc4 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemLastUpdatedById.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemSourcesItemLastUpdatedById = + | string + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemSourcesItemLastUpdatedByIdItem | undefined)[] + | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemLastUpdatedByIdItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemLastUpdatedByIdItem.ts new file mode 100644 index 0000000..3d5c857 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemLastUpdatedByIdItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemSourcesItemLastUpdatedByIdItem = string | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemMetadata.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemMetadata.ts new file mode 100644 index 0000000..c54e94a --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemMetadata.ts @@ -0,0 +1,11 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemSourcesItemMetadata = + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemSourcesItemMetadataItem | undefined)[] + | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemMetadataItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemMetadataItem.ts new file mode 100644 index 0000000..167852e --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemMetadataItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemSourcesItemMetadataItem = unknown | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemOrganizationId.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemOrganizationId.ts new file mode 100644 index 0000000..76163e7 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemOrganizationId.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemSourcesItemOrganizationId = + | string + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemSourcesItemOrganizationIdItem | undefined)[] + | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemOrganizationIdItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemOrganizationIdItem.ts new file mode 100644 index 0000000..f31356b --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemOrganizationIdItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemSourcesItemOrganizationIdItem = string | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemUpdatedAt.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemUpdatedAt.ts new file mode 100644 index 0000000..e82b55a --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemUpdatedAt.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemSourcesItemUpdatedAt = + | string + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemSourcesItemUpdatedAtItem | undefined)[] + | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemUpdatedAtItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemUpdatedAtItem.ts new file mode 100644 index 0000000..5e36a3f --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemUpdatedAtItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemSourcesItemUpdatedAtItem = string | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemTemplateId.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemTemplateId.ts new file mode 100644 index 0000000..eab771f --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemTemplateId.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemTemplateId = + | string + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemTemplateIdItem | undefined)[] + | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemTemplateIdItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemTemplateIdItem.ts new file mode 100644 index 0000000..a0056ee --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemTemplateIdItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemTemplateIdItem = string | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariables.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariables.ts new file mode 100644 index 0000000..3edda0c --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariables.ts @@ -0,0 +1,9 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemToolExecEnvironmentVariables = + | Letta.AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItem[] + | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItem.ts new file mode 100644 index 0000000..d2a0823 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItem.ts @@ -0,0 +1,18 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export interface AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItem { + createdById?: Letta.AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedById; + lastUpdatedById?: Letta.AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemLastUpdatedById; + createdAt?: Letta.AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedAt; + updatedAt?: Letta.AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemUpdatedAt; + id?: Letta.AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemId; + key: string; + value: string; + description?: Letta.AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemDescription; + organizationId?: Letta.AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemOrganizationId; + agentId: string; +} diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedAt.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedAt.ts new file mode 100644 index 0000000..e7b1b15 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedAt.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedAt = + | string + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedAtItem | undefined)[] + | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedAtItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedAtItem.ts new file mode 100644 index 0000000..00180bd --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedAtItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedAtItem = string | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedById.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedById.ts new file mode 100644 index 0000000..4bc6fe1 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedById.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedById = + | string + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedByIdItem | undefined)[] + | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedByIdItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedByIdItem.ts new file mode 100644 index 0000000..2af9a0f --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedByIdItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedByIdItem = string | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemDescription.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemDescription.ts new file mode 100644 index 0000000..564358a --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemDescription.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemDescription = + | string + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemDescriptionItem | undefined)[] + | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemDescriptionItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemDescriptionItem.ts new file mode 100644 index 0000000..67b9edd --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemDescriptionItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemDescriptionItem = string | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemId.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemId.ts new file mode 100644 index 0000000..28ac3eb --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemId.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemId = string | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemLastUpdatedById.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemLastUpdatedById.ts new file mode 100644 index 0000000..a0346f4 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemLastUpdatedById.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemLastUpdatedById = + | string + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemLastUpdatedByIdItem | undefined)[] + | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemLastUpdatedByIdItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemLastUpdatedByIdItem.ts new file mode 100644 index 0000000..11c755f --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemLastUpdatedByIdItem.ts @@ -0,0 +1,8 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemLastUpdatedByIdItem = + | string + | string + | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemOrganizationId.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemOrganizationId.ts new file mode 100644 index 0000000..d80483f --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemOrganizationId.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemOrganizationId = + | string + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemOrganizationIdItem | undefined)[] + | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemOrganizationIdItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemOrganizationIdItem.ts new file mode 100644 index 0000000..439f6e7 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemOrganizationIdItem.ts @@ -0,0 +1,8 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemOrganizationIdItem = + | string + | string + | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemUpdatedAt.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemUpdatedAt.ts new file mode 100644 index 0000000..1837cbc --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemUpdatedAt.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemUpdatedAt = + | string + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemUpdatedAtItem | undefined)[] + | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemUpdatedAtItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemUpdatedAtItem.ts new file mode 100644 index 0000000..0bb992d --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemUpdatedAtItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemUpdatedAtItem = string | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRules.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRules.ts new file mode 100644 index 0000000..3efd554 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRules.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemToolRules = + | Letta.AgentsSearchResponseAgentsItemToolRulesItem[] + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemToolRulesItem | undefined)[] + | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItem.ts new file mode 100644 index 0000000..df966ec --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItem.ts @@ -0,0 +1,10 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemToolRulesItem = + | Letta.AgentsSearchResponseAgentsItemToolRulesItemItem[] + | string + | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildOutputMapping.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildOutputMapping.ts new file mode 100644 index 0000000..6b9310f --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildOutputMapping.ts @@ -0,0 +1,13 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export interface AgentsSearchResponseAgentsItemToolRulesItemChildOutputMapping { + toolName: string; + type?: Letta.AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingType; + defaultChild?: Letta.AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingDefaultChild; + childOutputMapping?: unknown; + requireOutputMapping?: Letta.AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingRequireOutputMapping; +} diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingDefaultChild.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingDefaultChild.ts new file mode 100644 index 0000000..a8dba95 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingDefaultChild.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingDefaultChild = + | string + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingDefaultChildItem | undefined)[] + | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingDefaultChildItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingDefaultChildItem.ts new file mode 100644 index 0000000..ca16f89 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingDefaultChildItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingDefaultChildItem = string | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingRequireOutputMapping.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingRequireOutputMapping.ts new file mode 100644 index 0000000..404dc7d --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingRequireOutputMapping.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingRequireOutputMapping = boolean | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingType.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingType.ts new file mode 100644 index 0000000..b720e83 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingType.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingType = "conditional" | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildren.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildren.ts new file mode 100644 index 0000000..b352129 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildren.ts @@ -0,0 +1,11 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export interface AgentsSearchResponseAgentsItemToolRulesItemChildren { + toolName: string; + type?: Letta.AgentsSearchResponseAgentsItemToolRulesItemChildrenType; + children: string[]; +} diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildrenType.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildrenType.ts new file mode 100644 index 0000000..5f13ded --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildrenType.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemToolRulesItemChildrenType = "constrain_child_tools" | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItem.ts new file mode 100644 index 0000000..115bad8 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItem.ts @@ -0,0 +1,11 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemToolRulesItemItem = + | Letta.AgentsSearchResponseAgentsItemToolRulesItemItemChildren + | Letta.AgentsSearchResponseAgentsItemToolRulesItemItemOne + | Letta.AgentsSearchResponseAgentsItemToolRulesItemItemTwo + | Letta.AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMapping; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMapping.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMapping.ts new file mode 100644 index 0000000..76a0c9c --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMapping.ts @@ -0,0 +1,13 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export interface AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMapping { + toolName: string; + type?: Letta.AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingType; + defaultChild?: Letta.AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingDefaultChild; + childOutputMapping?: unknown; + requireOutputMapping?: Letta.AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingRequireOutputMapping; +} diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingDefaultChild.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingDefaultChild.ts new file mode 100644 index 0000000..c23fdde --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingDefaultChild.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingDefaultChild = + | string + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingDefaultChildItem | undefined)[] + | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingDefaultChildItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingDefaultChildItem.ts new file mode 100644 index 0000000..c3b5098 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingDefaultChildItem.ts @@ -0,0 +1,8 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingDefaultChildItem = + | string + | string + | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingRequireOutputMapping.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingRequireOutputMapping.ts new file mode 100644 index 0000000..9933da8 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingRequireOutputMapping.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingRequireOutputMapping = boolean | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingType.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingType.ts new file mode 100644 index 0000000..0acc33a --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingType.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingType = "conditional" | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildren.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildren.ts new file mode 100644 index 0000000..92cb39b --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildren.ts @@ -0,0 +1,11 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export interface AgentsSearchResponseAgentsItemToolRulesItemItemChildren { + toolName: string; + type?: Letta.AgentsSearchResponseAgentsItemToolRulesItemItemChildrenType; + children: string[]; +} diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildrenType.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildrenType.ts new file mode 100644 index 0000000..ce9b4a3 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildrenType.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemToolRulesItemItemChildrenType = "constrain_child_tools" | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemOne.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemOne.ts new file mode 100644 index 0000000..c7bbc07 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemOne.ts @@ -0,0 +1,10 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export interface AgentsSearchResponseAgentsItemToolRulesItemItemOne { + toolName: string; + type?: Letta.AgentsSearchResponseAgentsItemToolRulesItemItemOneType; +} diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemOneType.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemOneType.ts new file mode 100644 index 0000000..165109e --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemOneType.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemToolRulesItemItemOneType = "run_first" | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemTwo.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemTwo.ts new file mode 100644 index 0000000..40c7753 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemTwo.ts @@ -0,0 +1,10 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export interface AgentsSearchResponseAgentsItemToolRulesItemItemTwo { + toolName: string; + type?: Letta.AgentsSearchResponseAgentsItemToolRulesItemItemTwoType; +} diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemTwoType.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemTwoType.ts new file mode 100644 index 0000000..ce4217b --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemTwoType.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemToolRulesItemItemTwoType = "exit_loop" | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemOne.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemOne.ts new file mode 100644 index 0000000..a6ee3e7 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemOne.ts @@ -0,0 +1,10 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export interface AgentsSearchResponseAgentsItemToolRulesItemOne { + toolName: string; + type?: Letta.AgentsSearchResponseAgentsItemToolRulesItemOneType; +} diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemOneType.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemOneType.ts new file mode 100644 index 0000000..e8c822d --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemOneType.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemToolRulesItemOneType = "run_first" | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemTwo.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemTwo.ts new file mode 100644 index 0000000..5d60ada --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemTwo.ts @@ -0,0 +1,10 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export interface AgentsSearchResponseAgentsItemToolRulesItemTwo { + toolName: string; + type?: Letta.AgentsSearchResponseAgentsItemToolRulesItemTwoType; +} diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemTwoType.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemTwoType.ts new file mode 100644 index 0000000..8c01d9a --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemTwoType.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemToolRulesItemTwoType = "exit_loop" | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItem.ts new file mode 100644 index 0000000..b5361e3 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItem.ts @@ -0,0 +1,20 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export interface AgentsSearchResponseAgentsItemToolsItem { + id?: string; + toolType?: Letta.AgentsSearchResponseAgentsItemToolsItemToolType; + description?: Letta.AgentsSearchResponseAgentsItemToolsItemDescription; + sourceType?: Letta.AgentsSearchResponseAgentsItemToolsItemSourceType; + organizationId?: Letta.AgentsSearchResponseAgentsItemToolsItemOrganizationId; + name?: Letta.AgentsSearchResponseAgentsItemToolsItemName; + tags?: string[]; + sourceCode?: Letta.AgentsSearchResponseAgentsItemToolsItemSourceCode; + jsonSchema?: Letta.AgentsSearchResponseAgentsItemToolsItemJsonSchema; + returnCharLimit?: number; + createdById?: Letta.AgentsSearchResponseAgentsItemToolsItemCreatedById; + lastUpdatedById?: Letta.AgentsSearchResponseAgentsItemToolsItemLastUpdatedById; +} diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemCreatedById.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemCreatedById.ts new file mode 100644 index 0000000..0928160 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemCreatedById.ts @@ -0,0 +1,11 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemToolsItemCreatedById = + | string + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemToolsItemCreatedByIdItem | undefined)[]; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemCreatedByIdItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemCreatedByIdItem.ts new file mode 100644 index 0000000..b449a4c --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemCreatedByIdItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemToolsItemCreatedByIdItem = string | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemDescription.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemDescription.ts new file mode 100644 index 0000000..d8bd9f5 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemDescription.ts @@ -0,0 +1,11 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemToolsItemDescription = + | string + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemToolsItemDescriptionItem | undefined)[]; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemDescriptionItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemDescriptionItem.ts new file mode 100644 index 0000000..5a105e0 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemDescriptionItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemToolsItemDescriptionItem = string | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemJsonSchema.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemJsonSchema.ts new file mode 100644 index 0000000..3ce6246 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemJsonSchema.ts @@ -0,0 +1,11 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemToolsItemJsonSchema = + | unknown + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemToolsItemJsonSchemaItem | undefined)[]; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemJsonSchemaItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemJsonSchemaItem.ts new file mode 100644 index 0000000..d475354 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemJsonSchemaItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemToolsItemJsonSchemaItem = unknown | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemLastUpdatedById.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemLastUpdatedById.ts new file mode 100644 index 0000000..d3039d0 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemLastUpdatedById.ts @@ -0,0 +1,11 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemToolsItemLastUpdatedById = + | string + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemToolsItemLastUpdatedByIdItem | undefined)[]; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemLastUpdatedByIdItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemLastUpdatedByIdItem.ts new file mode 100644 index 0000000..6b9aa4e --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemLastUpdatedByIdItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemToolsItemLastUpdatedByIdItem = string | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemName.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemName.ts new file mode 100644 index 0000000..8652e42 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemName.ts @@ -0,0 +1,11 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemToolsItemName = + | string + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemToolsItemNameItem | undefined)[]; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemNameItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemNameItem.ts new file mode 100644 index 0000000..601e513 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemNameItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemToolsItemNameItem = string | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemOrganizationId.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemOrganizationId.ts new file mode 100644 index 0000000..8265ad5 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemOrganizationId.ts @@ -0,0 +1,11 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemToolsItemOrganizationId = + | string + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemToolsItemOrganizationIdItem | undefined)[]; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemOrganizationIdItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemOrganizationIdItem.ts new file mode 100644 index 0000000..ec8d5ba --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemOrganizationIdItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemToolsItemOrganizationIdItem = string | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemSourceCode.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemSourceCode.ts new file mode 100644 index 0000000..7185a71 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemSourceCode.ts @@ -0,0 +1,11 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemToolsItemSourceCode = + | string + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemToolsItemSourceCodeItem | undefined)[]; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemSourceCodeItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemSourceCodeItem.ts new file mode 100644 index 0000000..939c446 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemSourceCodeItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemToolsItemSourceCodeItem = string | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemSourceType.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemSourceType.ts new file mode 100644 index 0000000..7f1a34d --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemSourceType.ts @@ -0,0 +1,11 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemToolsItemSourceType = + | string + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemToolsItemSourceTypeItem | undefined)[]; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemSourceTypeItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemSourceTypeItem.ts new file mode 100644 index 0000000..1e437b9 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemSourceTypeItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemToolsItemSourceTypeItem = string | string | undefined; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemToolType.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemToolType.ts new file mode 100644 index 0000000..960f791 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemToolType.ts @@ -0,0 +1,19 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemToolsItemToolType = + | "custom" + | "letta_core" + | "letta_memory_core" + | "letta_multi_agent_core" + | "external_composio" + | "external_langchain"; +export const AgentsSearchResponseAgentsItemToolsItemToolType = { + Custom: "custom", + LettaCore: "letta_core", + LettaMemoryCore: "letta_memory_core", + LettaMultiAgentCore: "letta_multi_agent_core", + ExternalComposio: "external_composio", + ExternalLangchain: "external_langchain", +} as const; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemUpdatedAt.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemUpdatedAt.ts new file mode 100644 index 0000000..5077721 --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemUpdatedAt.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Letta from "../../../index"; + +export type AgentsSearchResponseAgentsItemUpdatedAt = + | string + | string + | undefined + | (Letta.AgentsSearchResponseAgentsItemUpdatedAtItem | undefined)[] + | unknown; diff --git a/src/api/resources/agents/types/AgentsSearchResponseAgentsItemUpdatedAtItem.ts b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemUpdatedAtItem.ts new file mode 100644 index 0000000..a2ac45b --- /dev/null +++ b/src/api/resources/agents/types/AgentsSearchResponseAgentsItemUpdatedAtItem.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AgentsSearchResponseAgentsItemUpdatedAtItem = string | string | undefined; diff --git a/src/api/resources/agents/types/index.ts b/src/api/resources/agents/types/index.ts index ba7781c..a1b6fd2 100644 --- a/src/api/resources/agents/types/index.ts +++ b/src/api/resources/agents/types/index.ts @@ -3,9 +3,163 @@ export * from "./UpdateAgentToolRulesItem"; export * from "./AgentsSearchRequestSearchItemZero"; export * from "./AgentsSearchRequestSearchItemOneOperator"; export * from "./AgentsSearchRequestSearchItemOne"; -export * from "./AgentsSearchRequestSearchItemTwo"; -export * from "./AgentsSearchRequestSearchItemDirectionValue"; -export * from "./AgentsSearchRequestSearchItemDirectionDirection"; -export * from "./AgentsSearchRequestSearchItemDirection"; +export * from "./AgentsSearchRequestSearchItemField"; export * from "./AgentsSearchRequestSearchItem"; -export * from "./AgentsSearchRequestCombinator"; +export * from "./AgentsSearchResponseAgentsItemCreatedByIdItem"; +export * from "./AgentsSearchResponseAgentsItemCreatedById"; +export * from "./AgentsSearchResponseAgentsItemLastUpdatedByIdItem"; +export * from "./AgentsSearchResponseAgentsItemLastUpdatedById"; +export * from "./AgentsSearchResponseAgentsItemCreatedAtItem"; +export * from "./AgentsSearchResponseAgentsItemCreatedAt"; +export * from "./AgentsSearchResponseAgentsItemUpdatedAtItem"; +export * from "./AgentsSearchResponseAgentsItemUpdatedAt"; +export * from "./AgentsSearchResponseAgentsItemToolRulesItemChildrenType"; +export * from "./AgentsSearchResponseAgentsItemToolRulesItemChildren"; +export * from "./AgentsSearchResponseAgentsItemToolRulesItemOneType"; +export * from "./AgentsSearchResponseAgentsItemToolRulesItemOne"; +export * from "./AgentsSearchResponseAgentsItemToolRulesItemTwoType"; +export * from "./AgentsSearchResponseAgentsItemToolRulesItemTwo"; +export * from "./AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingType"; +export * from "./AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingDefaultChildItem"; +export * from "./AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingDefaultChild"; +export * from "./AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingRequireOutputMapping"; +export * from "./AgentsSearchResponseAgentsItemToolRulesItemChildOutputMapping"; +export * from "./AgentsSearchResponseAgentsItemToolRulesItem"; +export * from "./AgentsSearchResponseAgentsItemToolRulesItemItemChildrenType"; +export * from "./AgentsSearchResponseAgentsItemToolRulesItemItemChildren"; +export * from "./AgentsSearchResponseAgentsItemToolRulesItemItemOneType"; +export * from "./AgentsSearchResponseAgentsItemToolRulesItemItemOne"; +export * from "./AgentsSearchResponseAgentsItemToolRulesItemItemTwoType"; +export * from "./AgentsSearchResponseAgentsItemToolRulesItemItemTwo"; +export * from "./AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingType"; +export * from "./AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingDefaultChildItem"; +export * from "./AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingDefaultChild"; +export * from "./AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingRequireOutputMapping"; +export * from "./AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMapping"; +export * from "./AgentsSearchResponseAgentsItemToolRulesItemItem"; +export * from "./AgentsSearchResponseAgentsItemToolRules"; +export * from "./AgentsSearchResponseAgentsItemMessageIdsItem"; +export * from "./AgentsSearchResponseAgentsItemMessageIds"; +export * from "./AgentsSearchResponseAgentsItemAgentType"; +export * from "./AgentsSearchResponseAgentsItemLlmConfigModelEndpointType"; +export * from "./AgentsSearchResponseAgentsItemLlmConfigModelEndpointItem"; +export * from "./AgentsSearchResponseAgentsItemLlmConfigModelEndpoint"; +export * from "./AgentsSearchResponseAgentsItemLlmConfigModelWrapperItem"; +export * from "./AgentsSearchResponseAgentsItemLlmConfigModelWrapper"; +export * from "./AgentsSearchResponseAgentsItemLlmConfigPutInnerThoughtsInKwargsItem"; +export * from "./AgentsSearchResponseAgentsItemLlmConfigPutInnerThoughtsInKwargs"; +export * from "./AgentsSearchResponseAgentsItemLlmConfigHandleItem"; +export * from "./AgentsSearchResponseAgentsItemLlmConfigHandle"; +export * from "./AgentsSearchResponseAgentsItemLlmConfigTemperature"; +export * from "./AgentsSearchResponseAgentsItemLlmConfig"; +export * from "./AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointType"; +export * from "./AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointItem"; +export * from "./AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpoint"; +export * from "./AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingChunkSizeItem"; +export * from "./AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingChunkSize"; +export * from "./AgentsSearchResponseAgentsItemEmbeddingConfigHandleItem"; +export * from "./AgentsSearchResponseAgentsItemEmbeddingConfigHandle"; +export * from "./AgentsSearchResponseAgentsItemEmbeddingConfigAzureEndpointItem"; +export * from "./AgentsSearchResponseAgentsItemEmbeddingConfigAzureEndpoint"; +export * from "./AgentsSearchResponseAgentsItemEmbeddingConfigAzureVersionItem"; +export * from "./AgentsSearchResponseAgentsItemEmbeddingConfigAzureVersion"; +export * from "./AgentsSearchResponseAgentsItemEmbeddingConfigAzureDeploymentItem"; +export * from "./AgentsSearchResponseAgentsItemEmbeddingConfigAzureDeployment"; +export * from "./AgentsSearchResponseAgentsItemEmbeddingConfig"; +export * from "./AgentsSearchResponseAgentsItemOrganizationIdItem"; +export * from "./AgentsSearchResponseAgentsItemOrganizationId"; +export * from "./AgentsSearchResponseAgentsItemDescriptionItem"; +export * from "./AgentsSearchResponseAgentsItemDescription"; +export * from "./AgentsSearchResponseAgentsItemMetadataItem"; +export * from "./AgentsSearchResponseAgentsItemMetadata"; +export * from "./AgentsSearchResponseAgentsItemMemoryBlocksItemLimit"; +export * from "./AgentsSearchResponseAgentsItemMemoryBlocksItemNameItem"; +export * from "./AgentsSearchResponseAgentsItemMemoryBlocksItemName"; +export * from "./AgentsSearchResponseAgentsItemMemoryBlocksItemIsTemplate"; +export * from "./AgentsSearchResponseAgentsItemMemoryBlocksItemLabelItem"; +export * from "./AgentsSearchResponseAgentsItemMemoryBlocksItemLabel"; +export * from "./AgentsSearchResponseAgentsItemMemoryBlocksItemDescriptionItem"; +export * from "./AgentsSearchResponseAgentsItemMemoryBlocksItemDescription"; +export * from "./AgentsSearchResponseAgentsItemMemoryBlocksItemMetadataItem"; +export * from "./AgentsSearchResponseAgentsItemMemoryBlocksItemMetadata"; +export * from "./AgentsSearchResponseAgentsItemMemoryBlocksItemId"; +export * from "./AgentsSearchResponseAgentsItemMemoryBlocksItemOrganizationIdItem"; +export * from "./AgentsSearchResponseAgentsItemMemoryBlocksItemOrganizationId"; +export * from "./AgentsSearchResponseAgentsItemMemoryBlocksItemCreatedByIdItem"; +export * from "./AgentsSearchResponseAgentsItemMemoryBlocksItemCreatedById"; +export * from "./AgentsSearchResponseAgentsItemMemoryBlocksItemLastUpdatedByIdItem"; +export * from "./AgentsSearchResponseAgentsItemMemoryBlocksItemLastUpdatedById"; +export * from "./AgentsSearchResponseAgentsItemMemoryBlocksItem"; +export * from "./AgentsSearchResponseAgentsItemMemoryPromptTemplate"; +export * from "./AgentsSearchResponseAgentsItemMemory"; +export * from "./AgentsSearchResponseAgentsItemToolsItemToolType"; +export * from "./AgentsSearchResponseAgentsItemToolsItemDescriptionItem"; +export * from "./AgentsSearchResponseAgentsItemToolsItemDescription"; +export * from "./AgentsSearchResponseAgentsItemToolsItemSourceTypeItem"; +export * from "./AgentsSearchResponseAgentsItemToolsItemSourceType"; +export * from "./AgentsSearchResponseAgentsItemToolsItemOrganizationIdItem"; +export * from "./AgentsSearchResponseAgentsItemToolsItemOrganizationId"; +export * from "./AgentsSearchResponseAgentsItemToolsItemNameItem"; +export * from "./AgentsSearchResponseAgentsItemToolsItemName"; +export * from "./AgentsSearchResponseAgentsItemToolsItemSourceCodeItem"; +export * from "./AgentsSearchResponseAgentsItemToolsItemSourceCode"; +export * from "./AgentsSearchResponseAgentsItemToolsItemJsonSchemaItem"; +export * from "./AgentsSearchResponseAgentsItemToolsItemJsonSchema"; +export * from "./AgentsSearchResponseAgentsItemToolsItemCreatedByIdItem"; +export * from "./AgentsSearchResponseAgentsItemToolsItemCreatedById"; +export * from "./AgentsSearchResponseAgentsItemToolsItemLastUpdatedByIdItem"; +export * from "./AgentsSearchResponseAgentsItemToolsItemLastUpdatedById"; +export * from "./AgentsSearchResponseAgentsItemToolsItem"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemId"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemDescriptionItem"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemDescription"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointItem"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpoint"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingChunkSizeItem"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingChunkSize"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigHandleItem"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigHandle"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureEndpointItem"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureEndpoint"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureVersionItem"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureVersion"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureDeploymentItem"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureDeployment"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfig"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemOrganizationIdItem"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemOrganizationId"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemMetadataItem"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemMetadata"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemCreatedByIdItem"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemCreatedById"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemLastUpdatedByIdItem"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemLastUpdatedById"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemCreatedAtItem"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemCreatedAt"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemUpdatedAtItem"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemUpdatedAt"; +export * from "./AgentsSearchResponseAgentsItemSourcesItem"; +export * from "./AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedByIdItem"; +export * from "./AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedById"; +export * from "./AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemLastUpdatedByIdItem"; +export * from "./AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemLastUpdatedById"; +export * from "./AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedAtItem"; +export * from "./AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedAt"; +export * from "./AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemUpdatedAtItem"; +export * from "./AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemUpdatedAt"; +export * from "./AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemId"; +export * from "./AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemDescriptionItem"; +export * from "./AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemDescription"; +export * from "./AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemOrganizationIdItem"; +export * from "./AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemOrganizationId"; +export * from "./AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItem"; +export * from "./AgentsSearchResponseAgentsItemToolExecEnvironmentVariables"; +export * from "./AgentsSearchResponseAgentsItemProjectIdItem"; +export * from "./AgentsSearchResponseAgentsItemProjectId"; +export * from "./AgentsSearchResponseAgentsItemTemplateIdItem"; +export * from "./AgentsSearchResponseAgentsItemTemplateId"; +export * from "./AgentsSearchResponseAgentsItemBaseTemplateIdItem"; +export * from "./AgentsSearchResponseAgentsItemBaseTemplateId"; +export * from "./AgentsSearchResponseAgentsItem"; +export * from "./AgentsSearchResponse"; diff --git a/src/api/resources/blocks/client/Client.ts b/src/api/resources/blocks/client/Client.ts index d847366..1fdd8bd 100644 --- a/src/api/resources/blocks/client/Client.ts +++ b/src/api/resources/blocks/client/Client.ts @@ -71,8 +71,8 @@ export class Blocks { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -154,8 +154,8 @@ export class Blocks { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -234,8 +234,8 @@ export class Blocks { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -313,8 +313,8 @@ export class Blocks { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -397,8 +397,8 @@ export class Blocks { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -483,8 +483,8 @@ export class Blocks { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/health/client/Client.ts b/src/api/resources/health/client/Client.ts index ed046b4..6ec6c41 100644 --- a/src/api/resources/health/client/Client.ts +++ b/src/api/resources/health/client/Client.ts @@ -51,8 +51,8 @@ export class Health { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/jobs/client/Client.ts b/src/api/resources/jobs/client/Client.ts index 5ef3498..5a5a246 100644 --- a/src/api/resources/jobs/client/Client.ts +++ b/src/api/resources/jobs/client/Client.ts @@ -62,8 +62,8 @@ export class Jobs { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -143,8 +143,8 @@ export class Jobs { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -224,8 +224,8 @@ export class Jobs { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -305,8 +305,8 @@ export class Jobs { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/models/client/Client.ts b/src/api/resources/models/client/Client.ts index d369d77..e12c875 100644 --- a/src/api/resources/models/client/Client.ts +++ b/src/api/resources/models/client/Client.ts @@ -51,8 +51,8 @@ export class Models { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -114,8 +114,8 @@ export class Models { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/providers/client/Client.ts b/src/api/resources/providers/client/Client.ts index ca86299..c311122 100644 --- a/src/api/resources/providers/client/Client.ts +++ b/src/api/resources/providers/client/Client.ts @@ -69,8 +69,8 @@ export class Providers { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -157,8 +157,8 @@ export class Providers { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -247,8 +247,8 @@ export class Providers { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -329,8 +329,8 @@ export class Providers { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/runs/client/Client.ts b/src/api/resources/runs/client/Client.ts index 28e40e2..8016b2c 100644 --- a/src/api/resources/runs/client/Client.ts +++ b/src/api/resources/runs/client/Client.ts @@ -55,8 +55,8 @@ export class Runs { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -135,8 +135,8 @@ export class Runs { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -216,8 +216,8 @@ export class Runs { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -297,8 +297,8 @@ export class Runs { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -418,8 +418,8 @@ export class Runs { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -500,8 +500,8 @@ export class Runs { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/sources/client/Client.ts b/src/api/resources/sources/client/Client.ts index 7543970..8f5b397 100644 --- a/src/api/resources/sources/client/Client.ts +++ b/src/api/resources/sources/client/Client.ts @@ -69,8 +69,8 @@ export class Sources { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -150,8 +150,8 @@ export class Sources { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -230,8 +230,8 @@ export class Sources { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -312,8 +312,8 @@ export class Sources { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -392,8 +392,8 @@ export class Sources { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -475,8 +475,8 @@ export class Sources { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/sources/resources/files/client/Client.ts b/src/api/resources/sources/resources/files/client/Client.ts index 39d3dab..cfe06e4 100644 --- a/src/api/resources/sources/resources/files/client/Client.ts +++ b/src/api/resources/sources/resources/files/client/Client.ts @@ -66,8 +66,8 @@ export class Files { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -166,8 +166,8 @@ export class Files { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -249,8 +249,8 @@ export class Files { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/sources/resources/passages/client/Client.ts b/src/api/resources/sources/resources/passages/client/Client.ts index 5481f95..e852378 100644 --- a/src/api/resources/sources/resources/passages/client/Client.ts +++ b/src/api/resources/sources/resources/passages/client/Client.ts @@ -56,8 +56,8 @@ export class Passages { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/steps/client/Client.ts b/src/api/resources/steps/client/Client.ts index b6dafd4..770e94c 100644 --- a/src/api/resources/steps/client/Client.ts +++ b/src/api/resources/steps/client/Client.ts @@ -90,8 +90,8 @@ export class Steps { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -172,8 +172,8 @@ export class Steps { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/tag/client/Client.ts b/src/api/resources/tag/client/Client.ts index 8c0d7cb..0fe58ef 100644 --- a/src/api/resources/tag/client/Client.ts +++ b/src/api/resources/tag/client/Client.ts @@ -70,8 +70,8 @@ export class Tag { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/templates/client/Client.ts b/src/api/resources/templates/client/Client.ts index c308866..2447324 100644 --- a/src/api/resources/templates/client/Client.ts +++ b/src/api/resources/templates/client/Client.ts @@ -61,8 +61,8 @@ export class Templates { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/tools/client/Client.ts b/src/api/resources/tools/client/Client.ts index b4aebce..6f08b54 100644 --- a/src/api/resources/tools/client/Client.ts +++ b/src/api/resources/tools/client/Client.ts @@ -56,8 +56,8 @@ export class Tools { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -137,8 +137,8 @@ export class Tools { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -217,8 +217,8 @@ export class Tools { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -316,8 +316,8 @@ export class Tools { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -400,8 +400,8 @@ export class Tools { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -484,8 +484,8 @@ export class Tools { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -565,8 +565,8 @@ export class Tools { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -654,8 +654,8 @@ export class Tools { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -735,8 +735,8 @@ export class Tools { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -819,8 +819,8 @@ export class Tools { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -905,8 +905,8 @@ export class Tools { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", - "X-Fern-SDK-Version": "0.1.20", - "User-Agent": "@letta-ai/letta-client/0.1.20", + "X-Fern-SDK-Version": "0.1.21", + "User-Agent": "@letta-ai/letta-client/0.1.21", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/types/Step.ts b/src/api/types/Step.ts index 3973636..b127519 100644 --- a/src/api/types/Step.ts +++ b/src/api/types/Step.ts @@ -17,6 +17,8 @@ export interface Step { providerName?: string; /** The name of the model used for this step. */ model?: string; + /** The model endpoint url used for this step. */ + modelEndpoint?: string; /** The context window limit configured for this step. */ contextWindowLimit?: number; /** The number of tokens generated by the agent during this step. */ diff --git a/src/serialization/resources/agents/client/requests/AgentsSearchRequest.ts b/src/serialization/resources/agents/client/requests/AgentsSearchRequest.ts index b82fb57..d1a1c58 100644 --- a/src/serialization/resources/agents/client/requests/AgentsSearchRequest.ts +++ b/src/serialization/resources/agents/client/requests/AgentsSearchRequest.ts @@ -6,7 +6,6 @@ import * as serializers from "../../../../index"; import * as Letta from "../../../../../api/index"; import * as core from "../../../../../core"; import { AgentsSearchRequestSearchItem } from "../../types/AgentsSearchRequestSearchItem"; -import { AgentsSearchRequestCombinator } from "../../types/AgentsSearchRequestCombinator"; export const AgentsSearchRequest: core.serialization.Schema< serializers.AgentsSearchRequest.Raw, @@ -14,17 +13,17 @@ export const AgentsSearchRequest: core.serialization.Schema< > = core.serialization.object({ search: core.serialization.list(AgentsSearchRequestSearchItem).optional(), projectId: core.serialization.property("project_id", core.serialization.string().optional()), - combinator: AgentsSearchRequestCombinator.optional(), + combinator: core.serialization.stringLiteral("AND").optional(), limit: core.serialization.number().optional(), - offset: core.serialization.number().optional(), + after: core.serialization.string().optional(), }); export declare namespace AgentsSearchRequest { export interface Raw { search?: AgentsSearchRequestSearchItem.Raw[] | null; project_id?: string | null; - combinator?: AgentsSearchRequestCombinator.Raw | null; + combinator?: "AND" | null; limit?: number | null; - offset?: number | null; + after?: string | null; } } diff --git a/src/serialization/resources/agents/types/AgentsSearchRequestCombinator.ts b/src/serialization/resources/agents/types/AgentsSearchRequestCombinator.ts deleted file mode 100644 index 1a34897..0000000 --- a/src/serialization/resources/agents/types/AgentsSearchRequestCombinator.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../../../index"; -import * as Letta from "../../../../api/index"; -import * as core from "../../../../core"; - -export const AgentsSearchRequestCombinator: core.serialization.Schema< - serializers.AgentsSearchRequestCombinator.Raw, - Letta.AgentsSearchRequestCombinator -> = core.serialization.enum_(["AND", "OR"]); - -export declare namespace AgentsSearchRequestCombinator { - export type Raw = "AND" | "OR"; -} diff --git a/src/serialization/resources/agents/types/AgentsSearchRequestSearchItem.ts b/src/serialization/resources/agents/types/AgentsSearchRequestSearchItem.ts index 610d85a..5251ea0 100644 --- a/src/serialization/resources/agents/types/AgentsSearchRequestSearchItem.ts +++ b/src/serialization/resources/agents/types/AgentsSearchRequestSearchItem.ts @@ -7,8 +7,7 @@ import * as Letta from "../../../../api/index"; import * as core from "../../../../core"; import { AgentsSearchRequestSearchItemZero } from "./AgentsSearchRequestSearchItemZero"; import { AgentsSearchRequestSearchItemOne } from "./AgentsSearchRequestSearchItemOne"; -import { AgentsSearchRequestSearchItemTwo } from "./AgentsSearchRequestSearchItemTwo"; -import { AgentsSearchRequestSearchItemDirection } from "./AgentsSearchRequestSearchItemDirection"; +import { AgentsSearchRequestSearchItemField } from "./AgentsSearchRequestSearchItemField"; export const AgentsSearchRequestSearchItem: core.serialization.Schema< serializers.AgentsSearchRequestSearchItem.Raw, @@ -16,14 +15,12 @@ export const AgentsSearchRequestSearchItem: core.serialization.Schema< > = core.serialization.undiscriminatedUnion([ AgentsSearchRequestSearchItemZero, AgentsSearchRequestSearchItemOne, - AgentsSearchRequestSearchItemTwo, - AgentsSearchRequestSearchItemDirection, + AgentsSearchRequestSearchItemField, ]); export declare namespace AgentsSearchRequestSearchItem { export type Raw = | AgentsSearchRequestSearchItemZero.Raw | AgentsSearchRequestSearchItemOne.Raw - | AgentsSearchRequestSearchItemTwo.Raw - | AgentsSearchRequestSearchItemDirection.Raw; + | AgentsSearchRequestSearchItemField.Raw; } diff --git a/src/serialization/resources/agents/types/AgentsSearchRequestSearchItemDirection.ts b/src/serialization/resources/agents/types/AgentsSearchRequestSearchItemDirection.ts deleted file mode 100644 index f0996af..0000000 --- a/src/serialization/resources/agents/types/AgentsSearchRequestSearchItemDirection.ts +++ /dev/null @@ -1,26 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../../../index"; -import * as Letta from "../../../../api/index"; -import * as core from "../../../../core"; -import { AgentsSearchRequestSearchItemDirectionValue } from "./AgentsSearchRequestSearchItemDirectionValue"; -import { AgentsSearchRequestSearchItemDirectionDirection } from "./AgentsSearchRequestSearchItemDirectionDirection"; - -export const AgentsSearchRequestSearchItemDirection: core.serialization.ObjectSchema< - serializers.AgentsSearchRequestSearchItemDirection.Raw, - Letta.AgentsSearchRequestSearchItemDirection -> = core.serialization.object({ - field: core.serialization.stringLiteral("order_by"), - value: AgentsSearchRequestSearchItemDirectionValue, - direction: AgentsSearchRequestSearchItemDirectionDirection, -}); - -export declare namespace AgentsSearchRequestSearchItemDirection { - export interface Raw { - field: "order_by"; - value: AgentsSearchRequestSearchItemDirectionValue.Raw; - direction: AgentsSearchRequestSearchItemDirectionDirection.Raw; - } -} diff --git a/src/serialization/resources/agents/types/AgentsSearchRequestSearchItemDirectionDirection.ts b/src/serialization/resources/agents/types/AgentsSearchRequestSearchItemDirectionDirection.ts deleted file mode 100644 index e14b21e..0000000 --- a/src/serialization/resources/agents/types/AgentsSearchRequestSearchItemDirectionDirection.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../../../index"; -import * as Letta from "../../../../api/index"; -import * as core from "../../../../core"; - -export const AgentsSearchRequestSearchItemDirectionDirection: core.serialization.Schema< - serializers.AgentsSearchRequestSearchItemDirectionDirection.Raw, - Letta.AgentsSearchRequestSearchItemDirectionDirection -> = core.serialization.enum_(["asc", "desc"]); - -export declare namespace AgentsSearchRequestSearchItemDirectionDirection { - export type Raw = "asc" | "desc"; -} diff --git a/src/serialization/resources/agents/types/AgentsSearchRequestSearchItemDirectionValue.ts b/src/serialization/resources/agents/types/AgentsSearchRequestSearchItemDirectionValue.ts deleted file mode 100644 index 18fd10a..0000000 --- a/src/serialization/resources/agents/types/AgentsSearchRequestSearchItemDirectionValue.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../../../index"; -import * as Letta from "../../../../api/index"; -import * as core from "../../../../core"; - -export const AgentsSearchRequestSearchItemDirectionValue: core.serialization.Schema< - serializers.AgentsSearchRequestSearchItemDirectionValue.Raw, - Letta.AgentsSearchRequestSearchItemDirectionValue -> = core.serialization.enum_(["created_at", "updated_at"]); - -export declare namespace AgentsSearchRequestSearchItemDirectionValue { - export type Raw = "created_at" | "updated_at"; -} diff --git a/src/serialization/resources/agents/types/AgentsSearchRequestSearchItemTwo.ts b/src/serialization/resources/agents/types/AgentsSearchRequestSearchItemField.ts similarity index 68% rename from src/serialization/resources/agents/types/AgentsSearchRequestSearchItemTwo.ts rename to src/serialization/resources/agents/types/AgentsSearchRequestSearchItemField.ts index b0a77cd..785438b 100644 --- a/src/serialization/resources/agents/types/AgentsSearchRequestSearchItemTwo.ts +++ b/src/serialization/resources/agents/types/AgentsSearchRequestSearchItemField.ts @@ -6,16 +6,16 @@ import * as serializers from "../../../index"; import * as Letta from "../../../../api/index"; import * as core from "../../../../core"; -export const AgentsSearchRequestSearchItemTwo: core.serialization.ObjectSchema< - serializers.AgentsSearchRequestSearchItemTwo.Raw, - Letta.AgentsSearchRequestSearchItemTwo +export const AgentsSearchRequestSearchItemField: core.serialization.ObjectSchema< + serializers.AgentsSearchRequestSearchItemField.Raw, + Letta.AgentsSearchRequestSearchItemField > = core.serialization.object({ field: core.serialization.stringLiteral("tags"), operator: core.serialization.stringLiteral("contains"), value: core.serialization.list(core.serialization.string()), }); -export declare namespace AgentsSearchRequestSearchItemTwo { +export declare namespace AgentsSearchRequestSearchItemField { export interface Raw { field: "tags"; operator: "contains"; diff --git a/src/serialization/resources/agents/types/AgentsSearchRequestSearchItemOneOperator.ts b/src/serialization/resources/agents/types/AgentsSearchRequestSearchItemOneOperator.ts index 79f91c2..0274b3f 100644 --- a/src/serialization/resources/agents/types/AgentsSearchRequestSearchItemOneOperator.ts +++ b/src/serialization/resources/agents/types/AgentsSearchRequestSearchItemOneOperator.ts @@ -9,8 +9,8 @@ import * as core from "../../../../core"; export const AgentsSearchRequestSearchItemOneOperator: core.serialization.Schema< serializers.AgentsSearchRequestSearchItemOneOperator.Raw, Letta.AgentsSearchRequestSearchItemOneOperator -> = core.serialization.enum_(["eq", "neq", "contains"]); +> = core.serialization.enum_(["eq", "contains"]); export declare namespace AgentsSearchRequestSearchItemOneOperator { - export type Raw = "eq" | "neq" | "contains"; + export type Raw = "eq" | "contains"; } diff --git a/src/serialization/resources/agents/types/AgentsSearchResponse.ts b/src/serialization/resources/agents/types/AgentsSearchResponse.ts new file mode 100644 index 0000000..55bf017 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponse.ts @@ -0,0 +1,23 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItem } from "./AgentsSearchResponseAgentsItem"; + +export const AgentsSearchResponse: core.serialization.ObjectSchema< + serializers.AgentsSearchResponse.Raw, + Letta.AgentsSearchResponse +> = core.serialization.object({ + agents: core.serialization.list(AgentsSearchResponseAgentsItem), + nextCursor: core.serialization.string().optional(), +}); + +export declare namespace AgentsSearchResponse { + export interface Raw { + agents: AgentsSearchResponseAgentsItem.Raw[]; + nextCursor?: string | null; + } +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItem.ts new file mode 100644 index 0000000..789a0b4 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItem.ts @@ -0,0 +1,97 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemCreatedById } from "./AgentsSearchResponseAgentsItemCreatedById"; +import { AgentsSearchResponseAgentsItemLastUpdatedById } from "./AgentsSearchResponseAgentsItemLastUpdatedById"; +import { AgentsSearchResponseAgentsItemCreatedAt } from "./AgentsSearchResponseAgentsItemCreatedAt"; +import { AgentsSearchResponseAgentsItemUpdatedAt } from "./AgentsSearchResponseAgentsItemUpdatedAt"; +import { AgentsSearchResponseAgentsItemToolRules } from "./AgentsSearchResponseAgentsItemToolRules"; +import { AgentsSearchResponseAgentsItemMessageIds } from "./AgentsSearchResponseAgentsItemMessageIds"; +import { AgentsSearchResponseAgentsItemAgentType } from "./AgentsSearchResponseAgentsItemAgentType"; +import { AgentsSearchResponseAgentsItemLlmConfig } from "./AgentsSearchResponseAgentsItemLlmConfig"; +import { AgentsSearchResponseAgentsItemEmbeddingConfig } from "./AgentsSearchResponseAgentsItemEmbeddingConfig"; +import { AgentsSearchResponseAgentsItemOrganizationId } from "./AgentsSearchResponseAgentsItemOrganizationId"; +import { AgentsSearchResponseAgentsItemDescription } from "./AgentsSearchResponseAgentsItemDescription"; +import { AgentsSearchResponseAgentsItemMetadata } from "./AgentsSearchResponseAgentsItemMetadata"; +import { AgentsSearchResponseAgentsItemMemory } from "./AgentsSearchResponseAgentsItemMemory"; +import { AgentsSearchResponseAgentsItemToolsItem } from "./AgentsSearchResponseAgentsItemToolsItem"; +import { AgentsSearchResponseAgentsItemSourcesItem } from "./AgentsSearchResponseAgentsItemSourcesItem"; +import { AgentsSearchResponseAgentsItemToolExecEnvironmentVariables } from "./AgentsSearchResponseAgentsItemToolExecEnvironmentVariables"; +import { AgentsSearchResponseAgentsItemProjectId } from "./AgentsSearchResponseAgentsItemProjectId"; +import { AgentsSearchResponseAgentsItemTemplateId } from "./AgentsSearchResponseAgentsItemTemplateId"; +import { AgentsSearchResponseAgentsItemBaseTemplateId } from "./AgentsSearchResponseAgentsItemBaseTemplateId"; + +export const AgentsSearchResponseAgentsItem: core.serialization.ObjectSchema< + serializers.AgentsSearchResponseAgentsItem.Raw, + Letta.AgentsSearchResponseAgentsItem +> = core.serialization.object({ + createdById: core.serialization.property("created_by_id", AgentsSearchResponseAgentsItemCreatedById.optional()), + lastUpdatedById: core.serialization.property( + "last_updated_by_id", + AgentsSearchResponseAgentsItemLastUpdatedById.optional(), + ), + createdAt: core.serialization.property("created_at", AgentsSearchResponseAgentsItemCreatedAt.optional()), + updatedAt: core.serialization.property("updated_at", AgentsSearchResponseAgentsItemUpdatedAt.optional()), + id: core.serialization.string(), + name: core.serialization.string(), + toolRules: core.serialization.property("tool_rules", AgentsSearchResponseAgentsItemToolRules.optional()), + messageIds: core.serialization.property("message_ids", AgentsSearchResponseAgentsItemMessageIds.optional()), + system: core.serialization.string(), + agentType: core.serialization.property("agent_type", AgentsSearchResponseAgentsItemAgentType), + llmConfig: core.serialization.property("llm_config", AgentsSearchResponseAgentsItemLlmConfig), + embeddingConfig: core.serialization.property("embedding_config", AgentsSearchResponseAgentsItemEmbeddingConfig), + organizationId: core.serialization.property( + "organization_id", + AgentsSearchResponseAgentsItemOrganizationId.optional(), + ), + description: AgentsSearchResponseAgentsItemDescription.optional(), + metadata: AgentsSearchResponseAgentsItemMetadata.optional(), + memory: AgentsSearchResponseAgentsItemMemory, + tools: core.serialization.list(AgentsSearchResponseAgentsItemToolsItem), + sources: core.serialization.list(AgentsSearchResponseAgentsItemSourcesItem), + tags: core.serialization.list(core.serialization.string()), + toolExecEnvironmentVariables: core.serialization.property( + "tool_exec_environment_variables", + AgentsSearchResponseAgentsItemToolExecEnvironmentVariables.optional(), + ), + projectId: core.serialization.property("project_id", AgentsSearchResponseAgentsItemProjectId.optional()), + templateId: core.serialization.property("template_id", AgentsSearchResponseAgentsItemTemplateId.optional()), + baseTemplateId: core.serialization.property( + "base_template_id", + AgentsSearchResponseAgentsItemBaseTemplateId.optional(), + ), + template: core.serialization.string().optional(), +}); + +export declare namespace AgentsSearchResponseAgentsItem { + export interface Raw { + created_by_id?: AgentsSearchResponseAgentsItemCreatedById.Raw | null; + last_updated_by_id?: AgentsSearchResponseAgentsItemLastUpdatedById.Raw | null; + created_at?: AgentsSearchResponseAgentsItemCreatedAt.Raw | null; + updated_at?: AgentsSearchResponseAgentsItemUpdatedAt.Raw | null; + id: string; + name: string; + tool_rules?: AgentsSearchResponseAgentsItemToolRules.Raw | null; + message_ids?: AgentsSearchResponseAgentsItemMessageIds.Raw | null; + system: string; + agent_type: AgentsSearchResponseAgentsItemAgentType.Raw; + llm_config: AgentsSearchResponseAgentsItemLlmConfig.Raw; + embedding_config: AgentsSearchResponseAgentsItemEmbeddingConfig.Raw; + organization_id?: AgentsSearchResponseAgentsItemOrganizationId.Raw | null; + description?: AgentsSearchResponseAgentsItemDescription.Raw | null; + metadata?: AgentsSearchResponseAgentsItemMetadata.Raw | null; + memory: AgentsSearchResponseAgentsItemMemory.Raw; + tools: AgentsSearchResponseAgentsItemToolsItem.Raw[]; + sources: AgentsSearchResponseAgentsItemSourcesItem.Raw[]; + tags: string[]; + tool_exec_environment_variables?: AgentsSearchResponseAgentsItemToolExecEnvironmentVariables.Raw | null; + project_id?: AgentsSearchResponseAgentsItemProjectId.Raw | null; + template_id?: AgentsSearchResponseAgentsItemTemplateId.Raw | null; + base_template_id?: AgentsSearchResponseAgentsItemBaseTemplateId.Raw | null; + template?: string | null; + } +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemAgentType.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemAgentType.ts new file mode 100644 index 0000000..d2feb05 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemAgentType.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemAgentType: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemAgentType.Raw, + Letta.AgentsSearchResponseAgentsItemAgentType +> = core.serialization.enum_(["memgpt_agent", "split_thread_agent", "offline_memory_agent", "chat_only_agent"]); + +export declare namespace AgentsSearchResponseAgentsItemAgentType { + export type Raw = "memgpt_agent" | "split_thread_agent" | "offline_memory_agent" | "chat_only_agent"; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemBaseTemplateId.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemBaseTemplateId.ts new file mode 100644 index 0000000..8e45b81 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemBaseTemplateId.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemBaseTemplateIdItem } from "./AgentsSearchResponseAgentsItemBaseTemplateIdItem"; + +export const AgentsSearchResponseAgentsItemBaseTemplateId: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemBaseTemplateId.Raw, + Letta.AgentsSearchResponseAgentsItemBaseTemplateId +> = core.serialization.undiscriminatedUnion([ + core.serialization.string(), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemBaseTemplateIdItem.optional()), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemBaseTemplateId { + export type Raw = + | string + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemBaseTemplateIdItem.Raw | null | undefined)[] + | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemBaseTemplateIdItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemBaseTemplateIdItem.ts new file mode 100644 index 0000000..bc02538 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemBaseTemplateIdItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemBaseTemplateIdItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemBaseTemplateIdItem.Raw, + Letta.AgentsSearchResponseAgentsItemBaseTemplateIdItem +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemBaseTemplateIdItem { + export type Raw = string | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemCreatedAt.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemCreatedAt.ts new file mode 100644 index 0000000..aac3ba3 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemCreatedAt.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemCreatedAtItem } from "./AgentsSearchResponseAgentsItemCreatedAtItem"; + +export const AgentsSearchResponseAgentsItemCreatedAt: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemCreatedAt.Raw, + Letta.AgentsSearchResponseAgentsItemCreatedAt +> = core.serialization.undiscriminatedUnion([ + core.serialization.string(), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemCreatedAtItem.optional()), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemCreatedAt { + export type Raw = + | string + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemCreatedAtItem.Raw | null | undefined)[] + | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemCreatedAtItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemCreatedAtItem.ts new file mode 100644 index 0000000..61b3c17 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemCreatedAtItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemCreatedAtItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemCreatedAtItem.Raw, + Letta.AgentsSearchResponseAgentsItemCreatedAtItem +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemCreatedAtItem { + export type Raw = string | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemCreatedById.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemCreatedById.ts new file mode 100644 index 0000000..db37733 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemCreatedById.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemCreatedByIdItem } from "./AgentsSearchResponseAgentsItemCreatedByIdItem"; + +export const AgentsSearchResponseAgentsItemCreatedById: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemCreatedById.Raw, + Letta.AgentsSearchResponseAgentsItemCreatedById +> = core.serialization.undiscriminatedUnion([ + core.serialization.string(), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemCreatedByIdItem.optional()), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemCreatedById { + export type Raw = + | string + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemCreatedByIdItem.Raw | null | undefined)[] + | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemCreatedByIdItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemCreatedByIdItem.ts new file mode 100644 index 0000000..e88d807 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemCreatedByIdItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemCreatedByIdItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemCreatedByIdItem.Raw, + Letta.AgentsSearchResponseAgentsItemCreatedByIdItem +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemCreatedByIdItem { + export type Raw = string | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemDescription.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemDescription.ts new file mode 100644 index 0000000..fc3e70b --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemDescription.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemDescriptionItem } from "./AgentsSearchResponseAgentsItemDescriptionItem"; + +export const AgentsSearchResponseAgentsItemDescription: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemDescription.Raw, + Letta.AgentsSearchResponseAgentsItemDescription +> = core.serialization.undiscriminatedUnion([ + core.serialization.string(), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemDescriptionItem.optional()), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemDescription { + export type Raw = + | string + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemDescriptionItem.Raw | null | undefined)[] + | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemDescriptionItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemDescriptionItem.ts new file mode 100644 index 0000000..1010367 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemDescriptionItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemDescriptionItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemDescriptionItem.Raw, + Letta.AgentsSearchResponseAgentsItemDescriptionItem +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemDescriptionItem { + export type Raw = string | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfig.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfig.ts new file mode 100644 index 0000000..64b207f --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfig.ts @@ -0,0 +1,61 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointType } from "./AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointType"; +import { AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpoint } from "./AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpoint"; +import { AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingChunkSize } from "./AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingChunkSize"; +import { AgentsSearchResponseAgentsItemEmbeddingConfigHandle } from "./AgentsSearchResponseAgentsItemEmbeddingConfigHandle"; +import { AgentsSearchResponseAgentsItemEmbeddingConfigAzureEndpoint } from "./AgentsSearchResponseAgentsItemEmbeddingConfigAzureEndpoint"; +import { AgentsSearchResponseAgentsItemEmbeddingConfigAzureVersion } from "./AgentsSearchResponseAgentsItemEmbeddingConfigAzureVersion"; +import { AgentsSearchResponseAgentsItemEmbeddingConfigAzureDeployment } from "./AgentsSearchResponseAgentsItemEmbeddingConfigAzureDeployment"; + +export const AgentsSearchResponseAgentsItemEmbeddingConfig: core.serialization.ObjectSchema< + serializers.AgentsSearchResponseAgentsItemEmbeddingConfig.Raw, + Letta.AgentsSearchResponseAgentsItemEmbeddingConfig +> = core.serialization.object({ + embeddingEndpointType: core.serialization.property( + "embedding_endpoint_type", + AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointType, + ), + embeddingEndpoint: core.serialization.property( + "embedding_endpoint", + AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpoint.optional(), + ), + embeddingModel: core.serialization.property("embedding_model", core.serialization.string()), + embeddingDim: core.serialization.property("embedding_dim", core.serialization.number()), + embeddingChunkSize: core.serialization.property( + "embedding_chunk_size", + AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingChunkSize.optional(), + ), + handle: AgentsSearchResponseAgentsItemEmbeddingConfigHandle.optional(), + azureEndpoint: core.serialization.property( + "azure_endpoint", + AgentsSearchResponseAgentsItemEmbeddingConfigAzureEndpoint.optional(), + ), + azureVersion: core.serialization.property( + "azure_version", + AgentsSearchResponseAgentsItemEmbeddingConfigAzureVersion.optional(), + ), + azureDeployment: core.serialization.property( + "azure_deployment", + AgentsSearchResponseAgentsItemEmbeddingConfigAzureDeployment.optional(), + ), +}); + +export declare namespace AgentsSearchResponseAgentsItemEmbeddingConfig { + export interface Raw { + embedding_endpoint_type: AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointType.Raw; + embedding_endpoint?: AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpoint.Raw | null; + embedding_model: string; + embedding_dim: number; + embedding_chunk_size?: AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingChunkSize.Raw | null; + handle?: AgentsSearchResponseAgentsItemEmbeddingConfigHandle.Raw | null; + azure_endpoint?: AgentsSearchResponseAgentsItemEmbeddingConfigAzureEndpoint.Raw | null; + azure_version?: AgentsSearchResponseAgentsItemEmbeddingConfigAzureVersion.Raw | null; + azure_deployment?: AgentsSearchResponseAgentsItemEmbeddingConfigAzureDeployment.Raw | null; + } +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigAzureDeployment.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigAzureDeployment.ts new file mode 100644 index 0000000..73930ff --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigAzureDeployment.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemEmbeddingConfigAzureDeploymentItem } from "./AgentsSearchResponseAgentsItemEmbeddingConfigAzureDeploymentItem"; + +export const AgentsSearchResponseAgentsItemEmbeddingConfigAzureDeployment: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemEmbeddingConfigAzureDeployment.Raw, + Letta.AgentsSearchResponseAgentsItemEmbeddingConfigAzureDeployment +> = core.serialization.undiscriminatedUnion([ + core.serialization.string(), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemEmbeddingConfigAzureDeploymentItem.optional()), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemEmbeddingConfigAzureDeployment { + export type Raw = + | string + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemEmbeddingConfigAzureDeploymentItem.Raw | null | undefined)[] + | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigAzureDeploymentItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigAzureDeploymentItem.ts new file mode 100644 index 0000000..8cab3d5 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigAzureDeploymentItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemEmbeddingConfigAzureDeploymentItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemEmbeddingConfigAzureDeploymentItem.Raw, + Letta.AgentsSearchResponseAgentsItemEmbeddingConfigAzureDeploymentItem +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemEmbeddingConfigAzureDeploymentItem { + export type Raw = string | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigAzureEndpoint.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigAzureEndpoint.ts new file mode 100644 index 0000000..f77dfb2 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigAzureEndpoint.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemEmbeddingConfigAzureEndpointItem } from "./AgentsSearchResponseAgentsItemEmbeddingConfigAzureEndpointItem"; + +export const AgentsSearchResponseAgentsItemEmbeddingConfigAzureEndpoint: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemEmbeddingConfigAzureEndpoint.Raw, + Letta.AgentsSearchResponseAgentsItemEmbeddingConfigAzureEndpoint +> = core.serialization.undiscriminatedUnion([ + core.serialization.string(), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemEmbeddingConfigAzureEndpointItem.optional()), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemEmbeddingConfigAzureEndpoint { + export type Raw = + | string + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemEmbeddingConfigAzureEndpointItem.Raw | null | undefined)[] + | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigAzureEndpointItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigAzureEndpointItem.ts new file mode 100644 index 0000000..ae658d1 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigAzureEndpointItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemEmbeddingConfigAzureEndpointItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemEmbeddingConfigAzureEndpointItem.Raw, + Letta.AgentsSearchResponseAgentsItemEmbeddingConfigAzureEndpointItem +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemEmbeddingConfigAzureEndpointItem { + export type Raw = string | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigAzureVersion.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigAzureVersion.ts new file mode 100644 index 0000000..9460e36 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigAzureVersion.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemEmbeddingConfigAzureVersionItem } from "./AgentsSearchResponseAgentsItemEmbeddingConfigAzureVersionItem"; + +export const AgentsSearchResponseAgentsItemEmbeddingConfigAzureVersion: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemEmbeddingConfigAzureVersion.Raw, + Letta.AgentsSearchResponseAgentsItemEmbeddingConfigAzureVersion +> = core.serialization.undiscriminatedUnion([ + core.serialization.string(), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemEmbeddingConfigAzureVersionItem.optional()), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemEmbeddingConfigAzureVersion { + export type Raw = + | string + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemEmbeddingConfigAzureVersionItem.Raw | null | undefined)[] + | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigAzureVersionItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigAzureVersionItem.ts new file mode 100644 index 0000000..1efa48c --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigAzureVersionItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemEmbeddingConfigAzureVersionItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemEmbeddingConfigAzureVersionItem.Raw, + Letta.AgentsSearchResponseAgentsItemEmbeddingConfigAzureVersionItem +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemEmbeddingConfigAzureVersionItem { + export type Raw = string | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingChunkSize.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingChunkSize.ts new file mode 100644 index 0000000..4aa1f9f --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingChunkSize.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingChunkSizeItem } from "./AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingChunkSizeItem"; + +export const AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingChunkSize: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingChunkSize.Raw, + Letta.AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingChunkSize +> = core.serialization.undiscriminatedUnion([ + core.serialization.number(), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingChunkSizeItem.optional()), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingChunkSize { + export type Raw = + | number + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingChunkSizeItem.Raw | null | undefined)[] + | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingChunkSizeItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingChunkSizeItem.ts new file mode 100644 index 0000000..78b27d9 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingChunkSizeItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingChunkSizeItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingChunkSizeItem.Raw, + Letta.AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingChunkSizeItem +> = core.serialization.undiscriminatedUnion([core.serialization.number(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingChunkSizeItem { + export type Raw = number | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpoint.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpoint.ts new file mode 100644 index 0000000..6d2fc5b --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpoint.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointItem } from "./AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointItem"; + +export const AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpoint: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpoint.Raw, + Letta.AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpoint +> = core.serialization.undiscriminatedUnion([ + core.serialization.string(), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointItem.optional()), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpoint { + export type Raw = + | string + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointItem.Raw | null | undefined)[] + | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointItem.ts new file mode 100644 index 0000000..f01a853 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointItem.Raw, + Letta.AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointItem +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointItem { + export type Raw = string | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointType.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointType.ts new file mode 100644 index 0000000..a6ff4eb --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointType.ts @@ -0,0 +1,53 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointType: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointType.Raw, + Letta.AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointType +> = core.serialization.enum_([ + "openai", + "anthropic", + "bedrock", + "cohere", + "google_ai", + "azure", + "groq", + "ollama", + "webui", + "webui-legacy", + "lmstudio", + "lmstudio-legacy", + "llamacpp", + "koboldcpp", + "vllm", + "hugging-face", + "mistral", + "together", +]); + +export declare namespace AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointType { + export type Raw = + | "openai" + | "anthropic" + | "bedrock" + | "cohere" + | "google_ai" + | "azure" + | "groq" + | "ollama" + | "webui" + | "webui-legacy" + | "lmstudio" + | "lmstudio-legacy" + | "llamacpp" + | "koboldcpp" + | "vllm" + | "hugging-face" + | "mistral" + | "together"; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigHandle.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigHandle.ts new file mode 100644 index 0000000..f0450e3 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigHandle.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemEmbeddingConfigHandleItem } from "./AgentsSearchResponseAgentsItemEmbeddingConfigHandleItem"; + +export const AgentsSearchResponseAgentsItemEmbeddingConfigHandle: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemEmbeddingConfigHandle.Raw, + Letta.AgentsSearchResponseAgentsItemEmbeddingConfigHandle +> = core.serialization.undiscriminatedUnion([ + core.serialization.string(), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemEmbeddingConfigHandleItem.optional()), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemEmbeddingConfigHandle { + export type Raw = + | string + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemEmbeddingConfigHandleItem.Raw | null | undefined)[] + | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigHandleItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigHandleItem.ts new file mode 100644 index 0000000..b3094cb --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigHandleItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemEmbeddingConfigHandleItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemEmbeddingConfigHandleItem.Raw, + Letta.AgentsSearchResponseAgentsItemEmbeddingConfigHandleItem +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemEmbeddingConfigHandleItem { + export type Raw = string | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLastUpdatedById.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLastUpdatedById.ts new file mode 100644 index 0000000..56b17fe --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLastUpdatedById.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemLastUpdatedByIdItem } from "./AgentsSearchResponseAgentsItemLastUpdatedByIdItem"; + +export const AgentsSearchResponseAgentsItemLastUpdatedById: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemLastUpdatedById.Raw, + Letta.AgentsSearchResponseAgentsItemLastUpdatedById +> = core.serialization.undiscriminatedUnion([ + core.serialization.string(), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemLastUpdatedByIdItem.optional()), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemLastUpdatedById { + export type Raw = + | string + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemLastUpdatedByIdItem.Raw | null | undefined)[] + | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLastUpdatedByIdItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLastUpdatedByIdItem.ts new file mode 100644 index 0000000..113f138 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLastUpdatedByIdItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemLastUpdatedByIdItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemLastUpdatedByIdItem.Raw, + Letta.AgentsSearchResponseAgentsItemLastUpdatedByIdItem +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemLastUpdatedByIdItem { + export type Raw = string | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfig.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfig.ts new file mode 100644 index 0000000..7859d6b --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfig.ts @@ -0,0 +1,52 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemLlmConfigModelEndpointType } from "./AgentsSearchResponseAgentsItemLlmConfigModelEndpointType"; +import { AgentsSearchResponseAgentsItemLlmConfigModelEndpoint } from "./AgentsSearchResponseAgentsItemLlmConfigModelEndpoint"; +import { AgentsSearchResponseAgentsItemLlmConfigModelWrapper } from "./AgentsSearchResponseAgentsItemLlmConfigModelWrapper"; +import { AgentsSearchResponseAgentsItemLlmConfigPutInnerThoughtsInKwargs } from "./AgentsSearchResponseAgentsItemLlmConfigPutInnerThoughtsInKwargs"; +import { AgentsSearchResponseAgentsItemLlmConfigHandle } from "./AgentsSearchResponseAgentsItemLlmConfigHandle"; +import { AgentsSearchResponseAgentsItemLlmConfigTemperature } from "./AgentsSearchResponseAgentsItemLlmConfigTemperature"; + +export const AgentsSearchResponseAgentsItemLlmConfig: core.serialization.ObjectSchema< + serializers.AgentsSearchResponseAgentsItemLlmConfig.Raw, + Letta.AgentsSearchResponseAgentsItemLlmConfig +> = core.serialization.object({ + model: core.serialization.string(), + modelEndpointType: core.serialization.property( + "model_endpoint_type", + AgentsSearchResponseAgentsItemLlmConfigModelEndpointType, + ), + modelEndpoint: core.serialization.property( + "model_endpoint", + AgentsSearchResponseAgentsItemLlmConfigModelEndpoint.optional(), + ), + modelWrapper: core.serialization.property( + "model_wrapper", + AgentsSearchResponseAgentsItemLlmConfigModelWrapper.optional(), + ), + contextWindow: core.serialization.property("context_window", core.serialization.number()), + putInnerThoughtsInKwargs: core.serialization.property( + "put_inner_thoughts_in_kwargs", + AgentsSearchResponseAgentsItemLlmConfigPutInnerThoughtsInKwargs.optional(), + ), + handle: AgentsSearchResponseAgentsItemLlmConfigHandle.optional(), + temperature: AgentsSearchResponseAgentsItemLlmConfigTemperature.optional(), +}); + +export declare namespace AgentsSearchResponseAgentsItemLlmConfig { + export interface Raw { + model: string; + model_endpoint_type: AgentsSearchResponseAgentsItemLlmConfigModelEndpointType.Raw; + model_endpoint?: AgentsSearchResponseAgentsItemLlmConfigModelEndpoint.Raw | null; + model_wrapper?: AgentsSearchResponseAgentsItemLlmConfigModelWrapper.Raw | null; + context_window: number; + put_inner_thoughts_in_kwargs?: AgentsSearchResponseAgentsItemLlmConfigPutInnerThoughtsInKwargs.Raw | null; + handle?: AgentsSearchResponseAgentsItemLlmConfigHandle.Raw | null; + temperature?: AgentsSearchResponseAgentsItemLlmConfigTemperature.Raw | null; + } +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigHandle.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigHandle.ts new file mode 100644 index 0000000..61a6190 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigHandle.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemLlmConfigHandleItem } from "./AgentsSearchResponseAgentsItemLlmConfigHandleItem"; + +export const AgentsSearchResponseAgentsItemLlmConfigHandle: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemLlmConfigHandle.Raw, + Letta.AgentsSearchResponseAgentsItemLlmConfigHandle +> = core.serialization.undiscriminatedUnion([ + core.serialization.string(), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemLlmConfigHandleItem.optional()), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemLlmConfigHandle { + export type Raw = + | string + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemLlmConfigHandleItem.Raw | null | undefined)[] + | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigHandleItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigHandleItem.ts new file mode 100644 index 0000000..d26b5bb --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigHandleItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemLlmConfigHandleItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemLlmConfigHandleItem.Raw, + Letta.AgentsSearchResponseAgentsItemLlmConfigHandleItem +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemLlmConfigHandleItem { + export type Raw = string | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpoint.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpoint.ts new file mode 100644 index 0000000..9445d73 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpoint.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemLlmConfigModelEndpointItem } from "./AgentsSearchResponseAgentsItemLlmConfigModelEndpointItem"; + +export const AgentsSearchResponseAgentsItemLlmConfigModelEndpoint: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemLlmConfigModelEndpoint.Raw, + Letta.AgentsSearchResponseAgentsItemLlmConfigModelEndpoint +> = core.serialization.undiscriminatedUnion([ + core.serialization.string(), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemLlmConfigModelEndpointItem.optional()), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemLlmConfigModelEndpoint { + export type Raw = + | string + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemLlmConfigModelEndpointItem.Raw | null | undefined)[] + | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpointItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpointItem.ts new file mode 100644 index 0000000..3870623 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpointItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemLlmConfigModelEndpointItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemLlmConfigModelEndpointItem.Raw, + Letta.AgentsSearchResponseAgentsItemLlmConfigModelEndpointItem +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemLlmConfigModelEndpointItem { + export type Raw = string | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpointType.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpointType.ts new file mode 100644 index 0000000..5471c14 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpointType.ts @@ -0,0 +1,53 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemLlmConfigModelEndpointType: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemLlmConfigModelEndpointType.Raw, + Letta.AgentsSearchResponseAgentsItemLlmConfigModelEndpointType +> = core.serialization.enum_([ + "openai", + "anthropic", + "cohere", + "google_ai", + "azure", + "groq", + "ollama", + "webui", + "webui-legacy", + "lmstudio", + "lmstudio-legacy", + "llamacpp", + "koboldcpp", + "vllm", + "hugging-face", + "mistral", + "together", + "bedrock", +]); + +export declare namespace AgentsSearchResponseAgentsItemLlmConfigModelEndpointType { + export type Raw = + | "openai" + | "anthropic" + | "cohere" + | "google_ai" + | "azure" + | "groq" + | "ollama" + | "webui" + | "webui-legacy" + | "lmstudio" + | "lmstudio-legacy" + | "llamacpp" + | "koboldcpp" + | "vllm" + | "hugging-face" + | "mistral" + | "together" + | "bedrock"; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelWrapper.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelWrapper.ts new file mode 100644 index 0000000..55d6c20 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelWrapper.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemLlmConfigModelWrapperItem } from "./AgentsSearchResponseAgentsItemLlmConfigModelWrapperItem"; + +export const AgentsSearchResponseAgentsItemLlmConfigModelWrapper: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemLlmConfigModelWrapper.Raw, + Letta.AgentsSearchResponseAgentsItemLlmConfigModelWrapper +> = core.serialization.undiscriminatedUnion([ + core.serialization.string(), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemLlmConfigModelWrapperItem.optional()), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemLlmConfigModelWrapper { + export type Raw = + | string + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemLlmConfigModelWrapperItem.Raw | null | undefined)[] + | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelWrapperItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelWrapperItem.ts new file mode 100644 index 0000000..12bdcaa --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelWrapperItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemLlmConfigModelWrapperItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemLlmConfigModelWrapperItem.Raw, + Letta.AgentsSearchResponseAgentsItemLlmConfigModelWrapperItem +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemLlmConfigModelWrapperItem { + export type Raw = string | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigPutInnerThoughtsInKwargs.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigPutInnerThoughtsInKwargs.ts new file mode 100644 index 0000000..26df73a --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigPutInnerThoughtsInKwargs.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemLlmConfigPutInnerThoughtsInKwargsItem } from "./AgentsSearchResponseAgentsItemLlmConfigPutInnerThoughtsInKwargsItem"; + +export const AgentsSearchResponseAgentsItemLlmConfigPutInnerThoughtsInKwargs: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemLlmConfigPutInnerThoughtsInKwargs.Raw, + Letta.AgentsSearchResponseAgentsItemLlmConfigPutInnerThoughtsInKwargs +> = core.serialization.undiscriminatedUnion([ + core.serialization.boolean(), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemLlmConfigPutInnerThoughtsInKwargsItem.optional()), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemLlmConfigPutInnerThoughtsInKwargs { + export type Raw = + | boolean + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemLlmConfigPutInnerThoughtsInKwargsItem.Raw | null | undefined)[] + | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigPutInnerThoughtsInKwargsItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigPutInnerThoughtsInKwargsItem.ts new file mode 100644 index 0000000..aa2110f --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigPutInnerThoughtsInKwargsItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemLlmConfigPutInnerThoughtsInKwargsItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemLlmConfigPutInnerThoughtsInKwargsItem.Raw, + Letta.AgentsSearchResponseAgentsItemLlmConfigPutInnerThoughtsInKwargsItem +> = core.serialization.undiscriminatedUnion([core.serialization.boolean(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemLlmConfigPutInnerThoughtsInKwargsItem { + export type Raw = boolean | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigTemperature.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigTemperature.ts new file mode 100644 index 0000000..bf8823c --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigTemperature.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemLlmConfigTemperature: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemLlmConfigTemperature.Raw, + Letta.AgentsSearchResponseAgentsItemLlmConfigTemperature +> = core.serialization.undiscriminatedUnion([core.serialization.number(), core.serialization.unknown()]); + +export declare namespace AgentsSearchResponseAgentsItemLlmConfigTemperature { + export type Raw = number | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemory.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemory.ts new file mode 100644 index 0000000..de0227b --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemory.ts @@ -0,0 +1,27 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemMemoryBlocksItem } from "./AgentsSearchResponseAgentsItemMemoryBlocksItem"; +import { AgentsSearchResponseAgentsItemMemoryPromptTemplate } from "./AgentsSearchResponseAgentsItemMemoryPromptTemplate"; + +export const AgentsSearchResponseAgentsItemMemory: core.serialization.ObjectSchema< + serializers.AgentsSearchResponseAgentsItemMemory.Raw, + Letta.AgentsSearchResponseAgentsItemMemory +> = core.serialization.object({ + blocks: core.serialization.list(AgentsSearchResponseAgentsItemMemoryBlocksItem), + promptTemplate: core.serialization.property( + "prompt_template", + AgentsSearchResponseAgentsItemMemoryPromptTemplate.optional(), + ), +}); + +export declare namespace AgentsSearchResponseAgentsItemMemory { + export interface Raw { + blocks: AgentsSearchResponseAgentsItemMemoryBlocksItem.Raw[]; + prompt_template?: AgentsSearchResponseAgentsItemMemoryPromptTemplate.Raw | null; + } +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItem.ts new file mode 100644 index 0000000..a7ced9d --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItem.ts @@ -0,0 +1,62 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemMemoryBlocksItemLimit } from "./AgentsSearchResponseAgentsItemMemoryBlocksItemLimit"; +import { AgentsSearchResponseAgentsItemMemoryBlocksItemName } from "./AgentsSearchResponseAgentsItemMemoryBlocksItemName"; +import { AgentsSearchResponseAgentsItemMemoryBlocksItemIsTemplate } from "./AgentsSearchResponseAgentsItemMemoryBlocksItemIsTemplate"; +import { AgentsSearchResponseAgentsItemMemoryBlocksItemLabel } from "./AgentsSearchResponseAgentsItemMemoryBlocksItemLabel"; +import { AgentsSearchResponseAgentsItemMemoryBlocksItemDescription } from "./AgentsSearchResponseAgentsItemMemoryBlocksItemDescription"; +import { AgentsSearchResponseAgentsItemMemoryBlocksItemMetadata } from "./AgentsSearchResponseAgentsItemMemoryBlocksItemMetadata"; +import { AgentsSearchResponseAgentsItemMemoryBlocksItemId } from "./AgentsSearchResponseAgentsItemMemoryBlocksItemId"; +import { AgentsSearchResponseAgentsItemMemoryBlocksItemOrganizationId } from "./AgentsSearchResponseAgentsItemMemoryBlocksItemOrganizationId"; +import { AgentsSearchResponseAgentsItemMemoryBlocksItemCreatedById } from "./AgentsSearchResponseAgentsItemMemoryBlocksItemCreatedById"; +import { AgentsSearchResponseAgentsItemMemoryBlocksItemLastUpdatedById } from "./AgentsSearchResponseAgentsItemMemoryBlocksItemLastUpdatedById"; + +export const AgentsSearchResponseAgentsItemMemoryBlocksItem: core.serialization.ObjectSchema< + serializers.AgentsSearchResponseAgentsItemMemoryBlocksItem.Raw, + Letta.AgentsSearchResponseAgentsItemMemoryBlocksItem +> = core.serialization.object({ + value: core.serialization.string(), + limit: AgentsSearchResponseAgentsItemMemoryBlocksItemLimit.optional(), + name: AgentsSearchResponseAgentsItemMemoryBlocksItemName.optional(), + isTemplate: core.serialization.property( + "is_template", + AgentsSearchResponseAgentsItemMemoryBlocksItemIsTemplate.optional(), + ), + label: AgentsSearchResponseAgentsItemMemoryBlocksItemLabel.optional(), + description: AgentsSearchResponseAgentsItemMemoryBlocksItemDescription.optional(), + metadata: AgentsSearchResponseAgentsItemMemoryBlocksItemMetadata.optional(), + id: AgentsSearchResponseAgentsItemMemoryBlocksItemId.optional(), + organizationId: core.serialization.property( + "organization_id", + AgentsSearchResponseAgentsItemMemoryBlocksItemOrganizationId.optional(), + ), + createdById: core.serialization.property( + "created_by_id", + AgentsSearchResponseAgentsItemMemoryBlocksItemCreatedById.optional(), + ), + lastUpdatedById: core.serialization.property( + "last_updated_by_id", + AgentsSearchResponseAgentsItemMemoryBlocksItemLastUpdatedById.optional(), + ), +}); + +export declare namespace AgentsSearchResponseAgentsItemMemoryBlocksItem { + export interface Raw { + value: string; + limit?: AgentsSearchResponseAgentsItemMemoryBlocksItemLimit.Raw | null; + name?: AgentsSearchResponseAgentsItemMemoryBlocksItemName.Raw | null; + is_template?: AgentsSearchResponseAgentsItemMemoryBlocksItemIsTemplate.Raw | null; + label?: AgentsSearchResponseAgentsItemMemoryBlocksItemLabel.Raw | null; + description?: AgentsSearchResponseAgentsItemMemoryBlocksItemDescription.Raw | null; + metadata?: AgentsSearchResponseAgentsItemMemoryBlocksItemMetadata.Raw | null; + id?: AgentsSearchResponseAgentsItemMemoryBlocksItemId.Raw | null; + organization_id?: AgentsSearchResponseAgentsItemMemoryBlocksItemOrganizationId.Raw | null; + created_by_id?: AgentsSearchResponseAgentsItemMemoryBlocksItemCreatedById.Raw | null; + last_updated_by_id?: AgentsSearchResponseAgentsItemMemoryBlocksItemLastUpdatedById.Raw | null; + } +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemCreatedById.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemCreatedById.ts new file mode 100644 index 0000000..ad14aa5 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemCreatedById.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemMemoryBlocksItemCreatedByIdItem } from "./AgentsSearchResponseAgentsItemMemoryBlocksItemCreatedByIdItem"; + +export const AgentsSearchResponseAgentsItemMemoryBlocksItemCreatedById: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemMemoryBlocksItemCreatedById.Raw, + Letta.AgentsSearchResponseAgentsItemMemoryBlocksItemCreatedById +> = core.serialization.undiscriminatedUnion([ + core.serialization.string(), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemMemoryBlocksItemCreatedByIdItem.optional()), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemMemoryBlocksItemCreatedById { + export type Raw = + | string + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemMemoryBlocksItemCreatedByIdItem.Raw | null | undefined)[] + | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemCreatedByIdItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemCreatedByIdItem.ts new file mode 100644 index 0000000..bd3ee36 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemCreatedByIdItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemMemoryBlocksItemCreatedByIdItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemMemoryBlocksItemCreatedByIdItem.Raw, + Letta.AgentsSearchResponseAgentsItemMemoryBlocksItemCreatedByIdItem +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemMemoryBlocksItemCreatedByIdItem { + export type Raw = string | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemDescription.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemDescription.ts new file mode 100644 index 0000000..6998b4b --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemDescription.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemMemoryBlocksItemDescriptionItem } from "./AgentsSearchResponseAgentsItemMemoryBlocksItemDescriptionItem"; + +export const AgentsSearchResponseAgentsItemMemoryBlocksItemDescription: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemMemoryBlocksItemDescription.Raw, + Letta.AgentsSearchResponseAgentsItemMemoryBlocksItemDescription +> = core.serialization.undiscriminatedUnion([ + core.serialization.string(), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemMemoryBlocksItemDescriptionItem.optional()), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemMemoryBlocksItemDescription { + export type Raw = + | string + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemMemoryBlocksItemDescriptionItem.Raw | null | undefined)[] + | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemDescriptionItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemDescriptionItem.ts new file mode 100644 index 0000000..51d62be --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemDescriptionItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemMemoryBlocksItemDescriptionItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemMemoryBlocksItemDescriptionItem.Raw, + Letta.AgentsSearchResponseAgentsItemMemoryBlocksItemDescriptionItem +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemMemoryBlocksItemDescriptionItem { + export type Raw = string | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemId.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemId.ts new file mode 100644 index 0000000..e6bd30c --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemId.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemMemoryBlocksItemId: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemMemoryBlocksItemId.Raw, + Letta.AgentsSearchResponseAgentsItemMemoryBlocksItemId +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.unknown()]); + +export declare namespace AgentsSearchResponseAgentsItemMemoryBlocksItemId { + export type Raw = string | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemIsTemplate.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemIsTemplate.ts new file mode 100644 index 0000000..e1a7136 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemIsTemplate.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemMemoryBlocksItemIsTemplate: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemMemoryBlocksItemIsTemplate.Raw, + Letta.AgentsSearchResponseAgentsItemMemoryBlocksItemIsTemplate +> = core.serialization.undiscriminatedUnion([core.serialization.boolean(), core.serialization.unknown()]); + +export declare namespace AgentsSearchResponseAgentsItemMemoryBlocksItemIsTemplate { + export type Raw = boolean | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemLabel.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemLabel.ts new file mode 100644 index 0000000..b731b25 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemLabel.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemMemoryBlocksItemLabelItem } from "./AgentsSearchResponseAgentsItemMemoryBlocksItemLabelItem"; + +export const AgentsSearchResponseAgentsItemMemoryBlocksItemLabel: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemMemoryBlocksItemLabel.Raw, + Letta.AgentsSearchResponseAgentsItemMemoryBlocksItemLabel +> = core.serialization.undiscriminatedUnion([ + core.serialization.string(), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemMemoryBlocksItemLabelItem.optional()), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemMemoryBlocksItemLabel { + export type Raw = + | string + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemMemoryBlocksItemLabelItem.Raw | null | undefined)[] + | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemLabelItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemLabelItem.ts new file mode 100644 index 0000000..6456a15 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemLabelItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemMemoryBlocksItemLabelItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemMemoryBlocksItemLabelItem.Raw, + Letta.AgentsSearchResponseAgentsItemMemoryBlocksItemLabelItem +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemMemoryBlocksItemLabelItem { + export type Raw = string | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemLastUpdatedById.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemLastUpdatedById.ts new file mode 100644 index 0000000..9149dd0 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemLastUpdatedById.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemMemoryBlocksItemLastUpdatedByIdItem } from "./AgentsSearchResponseAgentsItemMemoryBlocksItemLastUpdatedByIdItem"; + +export const AgentsSearchResponseAgentsItemMemoryBlocksItemLastUpdatedById: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemMemoryBlocksItemLastUpdatedById.Raw, + Letta.AgentsSearchResponseAgentsItemMemoryBlocksItemLastUpdatedById +> = core.serialization.undiscriminatedUnion([ + core.serialization.string(), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemMemoryBlocksItemLastUpdatedByIdItem.optional()), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemMemoryBlocksItemLastUpdatedById { + export type Raw = + | string + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemMemoryBlocksItemLastUpdatedByIdItem.Raw | null | undefined)[] + | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemLastUpdatedByIdItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemLastUpdatedByIdItem.ts new file mode 100644 index 0000000..0cb8265 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemLastUpdatedByIdItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemMemoryBlocksItemLastUpdatedByIdItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemMemoryBlocksItemLastUpdatedByIdItem.Raw, + Letta.AgentsSearchResponseAgentsItemMemoryBlocksItemLastUpdatedByIdItem +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemMemoryBlocksItemLastUpdatedByIdItem { + export type Raw = string | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemLimit.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemLimit.ts new file mode 100644 index 0000000..9c0a4ca --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemLimit.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemMemoryBlocksItemLimit: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemMemoryBlocksItemLimit.Raw, + Letta.AgentsSearchResponseAgentsItemMemoryBlocksItemLimit +> = core.serialization.undiscriminatedUnion([core.serialization.number(), core.serialization.unknown()]); + +export declare namespace AgentsSearchResponseAgentsItemMemoryBlocksItemLimit { + export type Raw = number | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemMetadata.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemMetadata.ts new file mode 100644 index 0000000..d9714bc --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemMetadata.ts @@ -0,0 +1,24 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemMemoryBlocksItemMetadataItem } from "./AgentsSearchResponseAgentsItemMemoryBlocksItemMetadataItem"; + +export const AgentsSearchResponseAgentsItemMemoryBlocksItemMetadata: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemMemoryBlocksItemMetadata.Raw, + Letta.AgentsSearchResponseAgentsItemMemoryBlocksItemMetadata +> = core.serialization.undiscriminatedUnion([ + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemMemoryBlocksItemMetadataItem.optional()), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemMemoryBlocksItemMetadata { + export type Raw = + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemMemoryBlocksItemMetadataItem.Raw | null | undefined)[] + | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemMetadataItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemMetadataItem.ts new file mode 100644 index 0000000..6ed585a --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemMetadataItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemMemoryBlocksItemMetadataItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemMemoryBlocksItemMetadataItem.Raw, + Letta.AgentsSearchResponseAgentsItemMemoryBlocksItemMetadataItem +> = core.serialization.undiscriminatedUnion([core.serialization.unknown(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemMemoryBlocksItemMetadataItem { + export type Raw = unknown | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemName.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemName.ts new file mode 100644 index 0000000..899155c --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemName.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemMemoryBlocksItemNameItem } from "./AgentsSearchResponseAgentsItemMemoryBlocksItemNameItem"; + +export const AgentsSearchResponseAgentsItemMemoryBlocksItemName: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemMemoryBlocksItemName.Raw, + Letta.AgentsSearchResponseAgentsItemMemoryBlocksItemName +> = core.serialization.undiscriminatedUnion([ + core.serialization.string(), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemMemoryBlocksItemNameItem.optional()), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemMemoryBlocksItemName { + export type Raw = + | string + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemMemoryBlocksItemNameItem.Raw | null | undefined)[] + | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemNameItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemNameItem.ts new file mode 100644 index 0000000..313aada --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemNameItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemMemoryBlocksItemNameItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemMemoryBlocksItemNameItem.Raw, + Letta.AgentsSearchResponseAgentsItemMemoryBlocksItemNameItem +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemMemoryBlocksItemNameItem { + export type Raw = string | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemOrganizationId.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemOrganizationId.ts new file mode 100644 index 0000000..7974671 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemOrganizationId.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemMemoryBlocksItemOrganizationIdItem } from "./AgentsSearchResponseAgentsItemMemoryBlocksItemOrganizationIdItem"; + +export const AgentsSearchResponseAgentsItemMemoryBlocksItemOrganizationId: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemMemoryBlocksItemOrganizationId.Raw, + Letta.AgentsSearchResponseAgentsItemMemoryBlocksItemOrganizationId +> = core.serialization.undiscriminatedUnion([ + core.serialization.string(), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemMemoryBlocksItemOrganizationIdItem.optional()), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemMemoryBlocksItemOrganizationId { + export type Raw = + | string + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemMemoryBlocksItemOrganizationIdItem.Raw | null | undefined)[] + | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemOrganizationIdItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemOrganizationIdItem.ts new file mode 100644 index 0000000..6a0014f --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryBlocksItemOrganizationIdItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemMemoryBlocksItemOrganizationIdItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemMemoryBlocksItemOrganizationIdItem.Raw, + Letta.AgentsSearchResponseAgentsItemMemoryBlocksItemOrganizationIdItem +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemMemoryBlocksItemOrganizationIdItem { + export type Raw = string | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryPromptTemplate.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryPromptTemplate.ts new file mode 100644 index 0000000..8b83c75 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMemoryPromptTemplate.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemMemoryPromptTemplate: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemMemoryPromptTemplate.Raw, + Letta.AgentsSearchResponseAgentsItemMemoryPromptTemplate +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.unknown()]); + +export declare namespace AgentsSearchResponseAgentsItemMemoryPromptTemplate { + export type Raw = string | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMessageIds.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMessageIds.ts new file mode 100644 index 0000000..2bb6463 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMessageIds.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemMessageIdsItem } from "./AgentsSearchResponseAgentsItemMessageIdsItem"; + +export const AgentsSearchResponseAgentsItemMessageIds: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemMessageIds.Raw, + Letta.AgentsSearchResponseAgentsItemMessageIds +> = core.serialization.undiscriminatedUnion([ + core.serialization.list(core.serialization.string()), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemMessageIdsItem.optional()), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemMessageIds { + export type Raw = + | string[] + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemMessageIdsItem.Raw | null | undefined)[] + | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMessageIdsItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMessageIdsItem.ts new file mode 100644 index 0000000..486823d --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMessageIdsItem.ts @@ -0,0 +1,19 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemMessageIdsItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemMessageIdsItem.Raw, + Letta.AgentsSearchResponseAgentsItemMessageIdsItem +> = core.serialization.undiscriminatedUnion([ + core.serialization.list(core.serialization.string()), + core.serialization.string().optional(), +]); + +export declare namespace AgentsSearchResponseAgentsItemMessageIdsItem { + export type Raw = string[] | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMetadata.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMetadata.ts new file mode 100644 index 0000000..a706d8f --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMetadata.ts @@ -0,0 +1,24 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemMetadataItem } from "./AgentsSearchResponseAgentsItemMetadataItem"; + +export const AgentsSearchResponseAgentsItemMetadata: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemMetadata.Raw, + Letta.AgentsSearchResponseAgentsItemMetadata +> = core.serialization.undiscriminatedUnion([ + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemMetadataItem.optional()), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemMetadata { + export type Raw = + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemMetadataItem.Raw | null | undefined)[] + | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMetadataItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMetadataItem.ts new file mode 100644 index 0000000..b2b9004 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemMetadataItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemMetadataItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemMetadataItem.Raw, + Letta.AgentsSearchResponseAgentsItemMetadataItem +> = core.serialization.undiscriminatedUnion([core.serialization.unknown(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemMetadataItem { + export type Raw = unknown | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemOrganizationId.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemOrganizationId.ts new file mode 100644 index 0000000..ac6ec5f --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemOrganizationId.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemOrganizationIdItem } from "./AgentsSearchResponseAgentsItemOrganizationIdItem"; + +export const AgentsSearchResponseAgentsItemOrganizationId: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemOrganizationId.Raw, + Letta.AgentsSearchResponseAgentsItemOrganizationId +> = core.serialization.undiscriminatedUnion([ + core.serialization.string(), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemOrganizationIdItem.optional()), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemOrganizationId { + export type Raw = + | string + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemOrganizationIdItem.Raw | null | undefined)[] + | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemOrganizationIdItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemOrganizationIdItem.ts new file mode 100644 index 0000000..13d45d6 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemOrganizationIdItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemOrganizationIdItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemOrganizationIdItem.Raw, + Letta.AgentsSearchResponseAgentsItemOrganizationIdItem +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemOrganizationIdItem { + export type Raw = string | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemProjectId.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemProjectId.ts new file mode 100644 index 0000000..d9787be --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemProjectId.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemProjectIdItem } from "./AgentsSearchResponseAgentsItemProjectIdItem"; + +export const AgentsSearchResponseAgentsItemProjectId: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemProjectId.Raw, + Letta.AgentsSearchResponseAgentsItemProjectId +> = core.serialization.undiscriminatedUnion([ + core.serialization.string(), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemProjectIdItem.optional()), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemProjectId { + export type Raw = + | string + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemProjectIdItem.Raw | null | undefined)[] + | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemProjectIdItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemProjectIdItem.ts new file mode 100644 index 0000000..50f1574 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemProjectIdItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemProjectIdItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemProjectIdItem.Raw, + Letta.AgentsSearchResponseAgentsItemProjectIdItem +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemProjectIdItem { + export type Raw = string | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItem.ts new file mode 100644 index 0000000..669bccb --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItem.ts @@ -0,0 +1,59 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemSourcesItemId } from "./AgentsSearchResponseAgentsItemSourcesItemId"; +import { AgentsSearchResponseAgentsItemSourcesItemDescription } from "./AgentsSearchResponseAgentsItemSourcesItemDescription"; +import { AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfig } from "./AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfig"; +import { AgentsSearchResponseAgentsItemSourcesItemOrganizationId } from "./AgentsSearchResponseAgentsItemSourcesItemOrganizationId"; +import { AgentsSearchResponseAgentsItemSourcesItemMetadata } from "./AgentsSearchResponseAgentsItemSourcesItemMetadata"; +import { AgentsSearchResponseAgentsItemSourcesItemCreatedById } from "./AgentsSearchResponseAgentsItemSourcesItemCreatedById"; +import { AgentsSearchResponseAgentsItemSourcesItemLastUpdatedById } from "./AgentsSearchResponseAgentsItemSourcesItemLastUpdatedById"; +import { AgentsSearchResponseAgentsItemSourcesItemCreatedAt } from "./AgentsSearchResponseAgentsItemSourcesItemCreatedAt"; +import { AgentsSearchResponseAgentsItemSourcesItemUpdatedAt } from "./AgentsSearchResponseAgentsItemSourcesItemUpdatedAt"; + +export const AgentsSearchResponseAgentsItemSourcesItem: core.serialization.ObjectSchema< + serializers.AgentsSearchResponseAgentsItemSourcesItem.Raw, + Letta.AgentsSearchResponseAgentsItemSourcesItem +> = core.serialization.object({ + id: AgentsSearchResponseAgentsItemSourcesItemId.optional(), + name: core.serialization.string(), + description: AgentsSearchResponseAgentsItemSourcesItemDescription.optional(), + embeddingConfig: core.serialization.property( + "embedding_config", + AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfig, + ), + organizationId: core.serialization.property( + "organization_id", + AgentsSearchResponseAgentsItemSourcesItemOrganizationId.optional(), + ), + metadata: AgentsSearchResponseAgentsItemSourcesItemMetadata.optional(), + createdById: core.serialization.property( + "created_by_id", + AgentsSearchResponseAgentsItemSourcesItemCreatedById.optional(), + ), + lastUpdatedById: core.serialization.property( + "last_updated_by_id", + AgentsSearchResponseAgentsItemSourcesItemLastUpdatedById.optional(), + ), + createdAt: core.serialization.property("created_at", AgentsSearchResponseAgentsItemSourcesItemCreatedAt.optional()), + updatedAt: core.serialization.property("updated_at", AgentsSearchResponseAgentsItemSourcesItemUpdatedAt.optional()), +}); + +export declare namespace AgentsSearchResponseAgentsItemSourcesItem { + export interface Raw { + id?: AgentsSearchResponseAgentsItemSourcesItemId.Raw | null; + name: string; + description?: AgentsSearchResponseAgentsItemSourcesItemDescription.Raw | null; + embedding_config: AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfig.Raw; + organization_id?: AgentsSearchResponseAgentsItemSourcesItemOrganizationId.Raw | null; + metadata?: AgentsSearchResponseAgentsItemSourcesItemMetadata.Raw | null; + created_by_id?: AgentsSearchResponseAgentsItemSourcesItemCreatedById.Raw | null; + last_updated_by_id?: AgentsSearchResponseAgentsItemSourcesItemLastUpdatedById.Raw | null; + created_at?: AgentsSearchResponseAgentsItemSourcesItemCreatedAt.Raw | null; + updated_at?: AgentsSearchResponseAgentsItemSourcesItemUpdatedAt.Raw | null; + } +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemCreatedAt.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemCreatedAt.ts new file mode 100644 index 0000000..27dd9a9 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemCreatedAt.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemSourcesItemCreatedAtItem } from "./AgentsSearchResponseAgentsItemSourcesItemCreatedAtItem"; + +export const AgentsSearchResponseAgentsItemSourcesItemCreatedAt: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemSourcesItemCreatedAt.Raw, + Letta.AgentsSearchResponseAgentsItemSourcesItemCreatedAt +> = core.serialization.undiscriminatedUnion([ + core.serialization.string(), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemSourcesItemCreatedAtItem.optional()), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemSourcesItemCreatedAt { + export type Raw = + | string + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemSourcesItemCreatedAtItem.Raw | null | undefined)[] + | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemCreatedAtItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemCreatedAtItem.ts new file mode 100644 index 0000000..4c7d2d6 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemCreatedAtItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemSourcesItemCreatedAtItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemSourcesItemCreatedAtItem.Raw, + Letta.AgentsSearchResponseAgentsItemSourcesItemCreatedAtItem +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemSourcesItemCreatedAtItem { + export type Raw = string | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemCreatedById.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemCreatedById.ts new file mode 100644 index 0000000..3b985c7 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemCreatedById.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemSourcesItemCreatedByIdItem } from "./AgentsSearchResponseAgentsItemSourcesItemCreatedByIdItem"; + +export const AgentsSearchResponseAgentsItemSourcesItemCreatedById: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemSourcesItemCreatedById.Raw, + Letta.AgentsSearchResponseAgentsItemSourcesItemCreatedById +> = core.serialization.undiscriminatedUnion([ + core.serialization.string(), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemSourcesItemCreatedByIdItem.optional()), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemSourcesItemCreatedById { + export type Raw = + | string + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemSourcesItemCreatedByIdItem.Raw | null | undefined)[] + | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemCreatedByIdItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemCreatedByIdItem.ts new file mode 100644 index 0000000..f70e570 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemCreatedByIdItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemSourcesItemCreatedByIdItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemSourcesItemCreatedByIdItem.Raw, + Letta.AgentsSearchResponseAgentsItemSourcesItemCreatedByIdItem +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemSourcesItemCreatedByIdItem { + export type Raw = string | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemDescription.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemDescription.ts new file mode 100644 index 0000000..ba42628 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemDescription.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemSourcesItemDescriptionItem } from "./AgentsSearchResponseAgentsItemSourcesItemDescriptionItem"; + +export const AgentsSearchResponseAgentsItemSourcesItemDescription: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemSourcesItemDescription.Raw, + Letta.AgentsSearchResponseAgentsItemSourcesItemDescription +> = core.serialization.undiscriminatedUnion([ + core.serialization.string(), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemSourcesItemDescriptionItem.optional()), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemSourcesItemDescription { + export type Raw = + | string + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemSourcesItemDescriptionItem.Raw | null | undefined)[] + | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemDescriptionItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemDescriptionItem.ts new file mode 100644 index 0000000..9b11c9b --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemDescriptionItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemSourcesItemDescriptionItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemSourcesItemDescriptionItem.Raw, + Letta.AgentsSearchResponseAgentsItemSourcesItemDescriptionItem +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemSourcesItemDescriptionItem { + export type Raw = string | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfig.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfig.ts new file mode 100644 index 0000000..1b5e06d --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfig.ts @@ -0,0 +1,61 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType } from "./AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType"; +import { AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpoint } from "./AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpoint"; +import { AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingChunkSize } from "./AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingChunkSize"; +import { AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigHandle } from "./AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigHandle"; +import { AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureEndpoint } from "./AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureEndpoint"; +import { AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureVersion } from "./AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureVersion"; +import { AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureDeployment } from "./AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureDeployment"; + +export const AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfig: core.serialization.ObjectSchema< + serializers.AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfig.Raw, + Letta.AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfig +> = core.serialization.object({ + embeddingEndpointType: core.serialization.property( + "embedding_endpoint_type", + AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType, + ), + embeddingEndpoint: core.serialization.property( + "embedding_endpoint", + AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpoint.optional(), + ), + embeddingModel: core.serialization.property("embedding_model", core.serialization.string()), + embeddingDim: core.serialization.property("embedding_dim", core.serialization.number()), + embeddingChunkSize: core.serialization.property( + "embedding_chunk_size", + AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingChunkSize.optional(), + ), + handle: AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigHandle.optional(), + azureEndpoint: core.serialization.property( + "azure_endpoint", + AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureEndpoint.optional(), + ), + azureVersion: core.serialization.property( + "azure_version", + AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureVersion.optional(), + ), + azureDeployment: core.serialization.property( + "azure_deployment", + AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureDeployment.optional(), + ), +}); + +export declare namespace AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfig { + export interface Raw { + embedding_endpoint_type: AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType.Raw; + embedding_endpoint?: AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpoint.Raw | null; + embedding_model: string; + embedding_dim: number; + embedding_chunk_size?: AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingChunkSize.Raw | null; + handle?: AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigHandle.Raw | null; + azure_endpoint?: AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureEndpoint.Raw | null; + azure_version?: AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureVersion.Raw | null; + azure_deployment?: AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureDeployment.Raw | null; + } +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureDeployment.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureDeployment.ts new file mode 100644 index 0000000..6df9f8a --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureDeployment.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureDeploymentItem } from "./AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureDeploymentItem"; + +export const AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureDeployment: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureDeployment.Raw, + Letta.AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureDeployment +> = core.serialization.undiscriminatedUnion([ + core.serialization.string(), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureDeploymentItem.optional()), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureDeployment { + export type Raw = + | string + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureDeploymentItem.Raw | null | undefined)[] + | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureDeploymentItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureDeploymentItem.ts new file mode 100644 index 0000000..8da1669 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureDeploymentItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureDeploymentItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureDeploymentItem.Raw, + Letta.AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureDeploymentItem +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureDeploymentItem { + export type Raw = string | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureEndpoint.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureEndpoint.ts new file mode 100644 index 0000000..be73dae --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureEndpoint.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureEndpointItem } from "./AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureEndpointItem"; + +export const AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureEndpoint: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureEndpoint.Raw, + Letta.AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureEndpoint +> = core.serialization.undiscriminatedUnion([ + core.serialization.string(), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureEndpointItem.optional()), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureEndpoint { + export type Raw = + | string + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureEndpointItem.Raw | null | undefined)[] + | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureEndpointItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureEndpointItem.ts new file mode 100644 index 0000000..831273a --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureEndpointItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureEndpointItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureEndpointItem.Raw, + Letta.AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureEndpointItem +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureEndpointItem { + export type Raw = string | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureVersion.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureVersion.ts new file mode 100644 index 0000000..8f61990 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureVersion.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureVersionItem } from "./AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureVersionItem"; + +export const AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureVersion: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureVersion.Raw, + Letta.AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureVersion +> = core.serialization.undiscriminatedUnion([ + core.serialization.string(), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureVersionItem.optional()), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureVersion { + export type Raw = + | string + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureVersionItem.Raw | null | undefined)[] + | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureVersionItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureVersionItem.ts new file mode 100644 index 0000000..43af618 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureVersionItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureVersionItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureVersionItem.Raw, + Letta.AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureVersionItem +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureVersionItem { + export type Raw = string | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingChunkSize.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingChunkSize.ts new file mode 100644 index 0000000..a901fae --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingChunkSize.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingChunkSizeItem } from "./AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingChunkSizeItem"; + +export const AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingChunkSize: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingChunkSize.Raw, + Letta.AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingChunkSize +> = core.serialization.undiscriminatedUnion([ + core.serialization.number(), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingChunkSizeItem.optional()), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingChunkSize { + export type Raw = + | number + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingChunkSizeItem.Raw | null | undefined)[] + | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingChunkSizeItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingChunkSizeItem.ts new file mode 100644 index 0000000..39ff23c --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingChunkSizeItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingChunkSizeItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingChunkSizeItem.Raw, + Letta.AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingChunkSizeItem +> = core.serialization.undiscriminatedUnion([core.serialization.number(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingChunkSizeItem { + export type Raw = number | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpoint.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpoint.ts new file mode 100644 index 0000000..473b7da --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpoint.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointItem } from "./AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointItem"; + +export const AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpoint: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpoint.Raw, + Letta.AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpoint +> = core.serialization.undiscriminatedUnion([ + core.serialization.string(), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointItem.optional()), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpoint { + export type Raw = + | string + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointItem.Raw | null | undefined)[] + | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointItem.ts new file mode 100644 index 0000000..fc13ae2 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointItem.Raw, + Letta.AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointItem +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointItem { + export type Raw = string | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType.ts new file mode 100644 index 0000000..a3d0dcf --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType.ts @@ -0,0 +1,53 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType.Raw, + Letta.AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType +> = core.serialization.enum_([ + "openai", + "anthropic", + "bedrock", + "cohere", + "google_ai", + "azure", + "groq", + "ollama", + "webui", + "webui-legacy", + "lmstudio", + "lmstudio-legacy", + "llamacpp", + "koboldcpp", + "vllm", + "hugging-face", + "mistral", + "together", +]); + +export declare namespace AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType { + export type Raw = + | "openai" + | "anthropic" + | "bedrock" + | "cohere" + | "google_ai" + | "azure" + | "groq" + | "ollama" + | "webui" + | "webui-legacy" + | "lmstudio" + | "lmstudio-legacy" + | "llamacpp" + | "koboldcpp" + | "vllm" + | "hugging-face" + | "mistral" + | "together"; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigHandle.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigHandle.ts new file mode 100644 index 0000000..19a1264 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigHandle.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigHandleItem } from "./AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigHandleItem"; + +export const AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigHandle: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigHandle.Raw, + Letta.AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigHandle +> = core.serialization.undiscriminatedUnion([ + core.serialization.string(), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigHandleItem.optional()), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigHandle { + export type Raw = + | string + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigHandleItem.Raw | null | undefined)[] + | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigHandleItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigHandleItem.ts new file mode 100644 index 0000000..b1f553d --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigHandleItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigHandleItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigHandleItem.Raw, + Letta.AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigHandleItem +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigHandleItem { + export type Raw = string | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemId.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemId.ts new file mode 100644 index 0000000..8bc6467 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemId.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemSourcesItemId: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemSourcesItemId.Raw, + Letta.AgentsSearchResponseAgentsItemSourcesItemId +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.unknown()]); + +export declare namespace AgentsSearchResponseAgentsItemSourcesItemId { + export type Raw = string | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemLastUpdatedById.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemLastUpdatedById.ts new file mode 100644 index 0000000..2db3562 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemLastUpdatedById.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemSourcesItemLastUpdatedByIdItem } from "./AgentsSearchResponseAgentsItemSourcesItemLastUpdatedByIdItem"; + +export const AgentsSearchResponseAgentsItemSourcesItemLastUpdatedById: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemSourcesItemLastUpdatedById.Raw, + Letta.AgentsSearchResponseAgentsItemSourcesItemLastUpdatedById +> = core.serialization.undiscriminatedUnion([ + core.serialization.string(), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemSourcesItemLastUpdatedByIdItem.optional()), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemSourcesItemLastUpdatedById { + export type Raw = + | string + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemSourcesItemLastUpdatedByIdItem.Raw | null | undefined)[] + | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemLastUpdatedByIdItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemLastUpdatedByIdItem.ts new file mode 100644 index 0000000..c94bcb8 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemLastUpdatedByIdItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemSourcesItemLastUpdatedByIdItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemSourcesItemLastUpdatedByIdItem.Raw, + Letta.AgentsSearchResponseAgentsItemSourcesItemLastUpdatedByIdItem +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemSourcesItemLastUpdatedByIdItem { + export type Raw = string | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemMetadata.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemMetadata.ts new file mode 100644 index 0000000..99115d1 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemMetadata.ts @@ -0,0 +1,24 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemSourcesItemMetadataItem } from "./AgentsSearchResponseAgentsItemSourcesItemMetadataItem"; + +export const AgentsSearchResponseAgentsItemSourcesItemMetadata: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemSourcesItemMetadata.Raw, + Letta.AgentsSearchResponseAgentsItemSourcesItemMetadata +> = core.serialization.undiscriminatedUnion([ + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemSourcesItemMetadataItem.optional()), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemSourcesItemMetadata { + export type Raw = + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemSourcesItemMetadataItem.Raw | null | undefined)[] + | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemMetadataItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemMetadataItem.ts new file mode 100644 index 0000000..9175457 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemMetadataItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemSourcesItemMetadataItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemSourcesItemMetadataItem.Raw, + Letta.AgentsSearchResponseAgentsItemSourcesItemMetadataItem +> = core.serialization.undiscriminatedUnion([core.serialization.unknown(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemSourcesItemMetadataItem { + export type Raw = unknown | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemOrganizationId.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemOrganizationId.ts new file mode 100644 index 0000000..705f2cf --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemOrganizationId.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemSourcesItemOrganizationIdItem } from "./AgentsSearchResponseAgentsItemSourcesItemOrganizationIdItem"; + +export const AgentsSearchResponseAgentsItemSourcesItemOrganizationId: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemSourcesItemOrganizationId.Raw, + Letta.AgentsSearchResponseAgentsItemSourcesItemOrganizationId +> = core.serialization.undiscriminatedUnion([ + core.serialization.string(), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemSourcesItemOrganizationIdItem.optional()), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemSourcesItemOrganizationId { + export type Raw = + | string + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemSourcesItemOrganizationIdItem.Raw | null | undefined)[] + | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemOrganizationIdItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemOrganizationIdItem.ts new file mode 100644 index 0000000..6321b0e --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemOrganizationIdItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemSourcesItemOrganizationIdItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemSourcesItemOrganizationIdItem.Raw, + Letta.AgentsSearchResponseAgentsItemSourcesItemOrganizationIdItem +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemSourcesItemOrganizationIdItem { + export type Raw = string | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemUpdatedAt.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemUpdatedAt.ts new file mode 100644 index 0000000..36a8fd1 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemUpdatedAt.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemSourcesItemUpdatedAtItem } from "./AgentsSearchResponseAgentsItemSourcesItemUpdatedAtItem"; + +export const AgentsSearchResponseAgentsItemSourcesItemUpdatedAt: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemSourcesItemUpdatedAt.Raw, + Letta.AgentsSearchResponseAgentsItemSourcesItemUpdatedAt +> = core.serialization.undiscriminatedUnion([ + core.serialization.string(), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemSourcesItemUpdatedAtItem.optional()), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemSourcesItemUpdatedAt { + export type Raw = + | string + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemSourcesItemUpdatedAtItem.Raw | null | undefined)[] + | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemUpdatedAtItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemUpdatedAtItem.ts new file mode 100644 index 0000000..8e6c0d8 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemUpdatedAtItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemSourcesItemUpdatedAtItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemSourcesItemUpdatedAtItem.Raw, + Letta.AgentsSearchResponseAgentsItemSourcesItemUpdatedAtItem +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemSourcesItemUpdatedAtItem { + export type Raw = string | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemTemplateId.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemTemplateId.ts new file mode 100644 index 0000000..7c12ec6 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemTemplateId.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemTemplateIdItem } from "./AgentsSearchResponseAgentsItemTemplateIdItem"; + +export const AgentsSearchResponseAgentsItemTemplateId: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemTemplateId.Raw, + Letta.AgentsSearchResponseAgentsItemTemplateId +> = core.serialization.undiscriminatedUnion([ + core.serialization.string(), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemTemplateIdItem.optional()), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemTemplateId { + export type Raw = + | string + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemTemplateIdItem.Raw | null | undefined)[] + | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemTemplateIdItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemTemplateIdItem.ts new file mode 100644 index 0000000..e251757 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemTemplateIdItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemTemplateIdItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemTemplateIdItem.Raw, + Letta.AgentsSearchResponseAgentsItemTemplateIdItem +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemTemplateIdItem { + export type Raw = string | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariables.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariables.ts new file mode 100644 index 0000000..b7eaff7 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariables.ts @@ -0,0 +1,20 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItem } from "./AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItem"; + +export const AgentsSearchResponseAgentsItemToolExecEnvironmentVariables: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemToolExecEnvironmentVariables.Raw, + Letta.AgentsSearchResponseAgentsItemToolExecEnvironmentVariables +> = core.serialization.undiscriminatedUnion([ + core.serialization.list(AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItem), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemToolExecEnvironmentVariables { + export type Raw = AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItem.Raw[] | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItem.ts new file mode 100644 index 0000000..6fab5c8 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItem.ts @@ -0,0 +1,60 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedById } from "./AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedById"; +import { AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemLastUpdatedById } from "./AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemLastUpdatedById"; +import { AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedAt } from "./AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedAt"; +import { AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemUpdatedAt } from "./AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemUpdatedAt"; +import { AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemId } from "./AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemId"; +import { AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemDescription } from "./AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemDescription"; +import { AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemOrganizationId } from "./AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemOrganizationId"; + +export const AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItem: core.serialization.ObjectSchema< + serializers.AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItem.Raw, + Letta.AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItem +> = core.serialization.object({ + createdById: core.serialization.property( + "created_by_id", + AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedById.optional(), + ), + lastUpdatedById: core.serialization.property( + "last_updated_by_id", + AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemLastUpdatedById.optional(), + ), + createdAt: core.serialization.property( + "created_at", + AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedAt.optional(), + ), + updatedAt: core.serialization.property( + "updated_at", + AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemUpdatedAt.optional(), + ), + id: AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemId.optional(), + key: core.serialization.string(), + value: core.serialization.string(), + description: AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemDescription.optional(), + organizationId: core.serialization.property( + "organization_id", + AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemOrganizationId.optional(), + ), + agentId: core.serialization.property("agent_id", core.serialization.string()), +}); + +export declare namespace AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItem { + export interface Raw { + created_by_id?: AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedById.Raw | null; + last_updated_by_id?: AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemLastUpdatedById.Raw | null; + created_at?: AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedAt.Raw | null; + updated_at?: AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemUpdatedAt.Raw | null; + id?: AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemId.Raw | null; + key: string; + value: string; + description?: AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemDescription.Raw | null; + organization_id?: AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemOrganizationId.Raw | null; + agent_id: string; + } +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedAt.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedAt.ts new file mode 100644 index 0000000..a0e733f --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedAt.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedAtItem } from "./AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedAtItem"; + +export const AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedAt: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedAt.Raw, + Letta.AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedAt +> = core.serialization.undiscriminatedUnion([ + core.serialization.string(), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedAtItem.optional()), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedAt { + export type Raw = + | string + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedAtItem.Raw | null | undefined)[] + | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedAtItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedAtItem.ts new file mode 100644 index 0000000..43e33e2 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedAtItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedAtItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedAtItem.Raw, + Letta.AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedAtItem +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedAtItem { + export type Raw = string | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedById.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedById.ts new file mode 100644 index 0000000..dce125b --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedById.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedByIdItem } from "./AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedByIdItem"; + +export const AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedById: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedById.Raw, + Letta.AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedById +> = core.serialization.undiscriminatedUnion([ + core.serialization.string(), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedByIdItem.optional()), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedById { + export type Raw = + | string + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedByIdItem.Raw | null | undefined)[] + | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedByIdItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedByIdItem.ts new file mode 100644 index 0000000..53c9ead --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedByIdItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedByIdItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedByIdItem.Raw, + Letta.AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedByIdItem +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedByIdItem { + export type Raw = string | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemDescription.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemDescription.ts new file mode 100644 index 0000000..1c0ae77 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemDescription.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemDescriptionItem } from "./AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemDescriptionItem"; + +export const AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemDescription: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemDescription.Raw, + Letta.AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemDescription +> = core.serialization.undiscriminatedUnion([ + core.serialization.string(), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemDescriptionItem.optional()), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemDescription { + export type Raw = + | string + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemDescriptionItem.Raw | null | undefined)[] + | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemDescriptionItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemDescriptionItem.ts new file mode 100644 index 0000000..ddfd814 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemDescriptionItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemDescriptionItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemDescriptionItem.Raw, + Letta.AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemDescriptionItem +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemDescriptionItem { + export type Raw = string | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemId.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemId.ts new file mode 100644 index 0000000..6df7866 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemId.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemId: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemId.Raw, + Letta.AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemId +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.unknown()]); + +export declare namespace AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemId { + export type Raw = string | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemLastUpdatedById.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemLastUpdatedById.ts new file mode 100644 index 0000000..82a7e43 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemLastUpdatedById.ts @@ -0,0 +1,28 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemLastUpdatedByIdItem } from "./AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemLastUpdatedByIdItem"; + +export const AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemLastUpdatedById: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemLastUpdatedById.Raw, + Letta.AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemLastUpdatedById +> = core.serialization.undiscriminatedUnion([ + core.serialization.string(), + core.serialization.string().optional(), + core.serialization.list( + AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemLastUpdatedByIdItem.optional(), + ), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemLastUpdatedById { + export type Raw = + | string + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemLastUpdatedByIdItem.Raw | null | undefined)[] + | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemLastUpdatedByIdItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemLastUpdatedByIdItem.ts new file mode 100644 index 0000000..fed89cb --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemLastUpdatedByIdItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemLastUpdatedByIdItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemLastUpdatedByIdItem.Raw, + Letta.AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemLastUpdatedByIdItem +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemLastUpdatedByIdItem { + export type Raw = string | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemOrganizationId.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemOrganizationId.ts new file mode 100644 index 0000000..b0fc5e9 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemOrganizationId.ts @@ -0,0 +1,28 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemOrganizationIdItem } from "./AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemOrganizationIdItem"; + +export const AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemOrganizationId: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemOrganizationId.Raw, + Letta.AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemOrganizationId +> = core.serialization.undiscriminatedUnion([ + core.serialization.string(), + core.serialization.string().optional(), + core.serialization.list( + AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemOrganizationIdItem.optional(), + ), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemOrganizationId { + export type Raw = + | string + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemOrganizationIdItem.Raw | null | undefined)[] + | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemOrganizationIdItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemOrganizationIdItem.ts new file mode 100644 index 0000000..ec89823 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemOrganizationIdItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemOrganizationIdItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemOrganizationIdItem.Raw, + Letta.AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemOrganizationIdItem +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemOrganizationIdItem { + export type Raw = string | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemUpdatedAt.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemUpdatedAt.ts new file mode 100644 index 0000000..d07a8e6 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemUpdatedAt.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemUpdatedAtItem } from "./AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemUpdatedAtItem"; + +export const AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemUpdatedAt: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemUpdatedAt.Raw, + Letta.AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemUpdatedAt +> = core.serialization.undiscriminatedUnion([ + core.serialization.string(), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemUpdatedAtItem.optional()), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemUpdatedAt { + export type Raw = + | string + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemUpdatedAtItem.Raw | null | undefined)[] + | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemUpdatedAtItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemUpdatedAtItem.ts new file mode 100644 index 0000000..49d9099 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemUpdatedAtItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemUpdatedAtItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemUpdatedAtItem.Raw, + Letta.AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemUpdatedAtItem +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemUpdatedAtItem { + export type Raw = string | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRules.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRules.ts new file mode 100644 index 0000000..a8a0dce --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRules.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemToolRulesItem } from "./AgentsSearchResponseAgentsItemToolRulesItem"; + +export const AgentsSearchResponseAgentsItemToolRules: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemToolRules.Raw, + Letta.AgentsSearchResponseAgentsItemToolRules +> = core.serialization.undiscriminatedUnion([ + core.serialization.list(AgentsSearchResponseAgentsItemToolRulesItem), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemToolRulesItem.optional()), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemToolRules { + export type Raw = + | AgentsSearchResponseAgentsItemToolRulesItem.Raw[] + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemToolRulesItem.Raw | null | undefined)[] + | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItem.ts new file mode 100644 index 0000000..0077c11 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItem.ts @@ -0,0 +1,20 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemToolRulesItemItem } from "./AgentsSearchResponseAgentsItemToolRulesItemItem"; + +export const AgentsSearchResponseAgentsItemToolRulesItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemToolRulesItem.Raw, + Letta.AgentsSearchResponseAgentsItemToolRulesItem +> = core.serialization.undiscriminatedUnion([ + core.serialization.list(AgentsSearchResponseAgentsItemToolRulesItemItem), + core.serialization.string().optional(), +]); + +export declare namespace AgentsSearchResponseAgentsItemToolRulesItem { + export type Raw = AgentsSearchResponseAgentsItemToolRulesItemItem.Raw[] | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildOutputMapping.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildOutputMapping.ts new file mode 100644 index 0000000..2f2af44 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildOutputMapping.ts @@ -0,0 +1,37 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingType } from "./AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingType"; +import { AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingDefaultChild } from "./AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingDefaultChild"; +import { AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingRequireOutputMapping } from "./AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingRequireOutputMapping"; + +export const AgentsSearchResponseAgentsItemToolRulesItemChildOutputMapping: core.serialization.ObjectSchema< + serializers.AgentsSearchResponseAgentsItemToolRulesItemChildOutputMapping.Raw, + Letta.AgentsSearchResponseAgentsItemToolRulesItemChildOutputMapping +> = core.serialization.object({ + toolName: core.serialization.property("tool_name", core.serialization.string()), + type: AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingType.optional(), + defaultChild: core.serialization.property( + "default_child", + AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingDefaultChild.optional(), + ), + childOutputMapping: core.serialization.property("child_output_mapping", core.serialization.unknown().optional()), + requireOutputMapping: core.serialization.property( + "require_output_mapping", + AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingRequireOutputMapping.optional(), + ), +}); + +export declare namespace AgentsSearchResponseAgentsItemToolRulesItemChildOutputMapping { + export interface Raw { + tool_name: string; + type?: AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingType.Raw | null; + default_child?: AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingDefaultChild.Raw | null; + child_output_mapping?: unknown | null; + require_output_mapping?: AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingRequireOutputMapping.Raw | null; + } +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingDefaultChild.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingDefaultChild.ts new file mode 100644 index 0000000..ff256ed --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingDefaultChild.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingDefaultChildItem } from "./AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingDefaultChildItem"; + +export const AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingDefaultChild: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingDefaultChild.Raw, + Letta.AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingDefaultChild +> = core.serialization.undiscriminatedUnion([ + core.serialization.string(), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingDefaultChildItem.optional()), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingDefaultChild { + export type Raw = + | string + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingDefaultChildItem.Raw | null | undefined)[] + | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingDefaultChildItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingDefaultChildItem.ts new file mode 100644 index 0000000..00719cb --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingDefaultChildItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingDefaultChildItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingDefaultChildItem.Raw, + Letta.AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingDefaultChildItem +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingDefaultChildItem { + export type Raw = string | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingRequireOutputMapping.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingRequireOutputMapping.ts new file mode 100644 index 0000000..efbe75d --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingRequireOutputMapping.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingRequireOutputMapping: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingRequireOutputMapping.Raw, + Letta.AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingRequireOutputMapping +> = core.serialization.undiscriminatedUnion([core.serialization.boolean(), core.serialization.unknown()]); + +export declare namespace AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingRequireOutputMapping { + export type Raw = boolean | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingType.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingType.ts new file mode 100644 index 0000000..8f96e8b --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingType.ts @@ -0,0 +1,19 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingType: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingType.Raw, + Letta.AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingType +> = core.serialization.undiscriminatedUnion([ + core.serialization.stringLiteral("conditional"), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingType { + export type Raw = "conditional" | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildren.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildren.ts new file mode 100644 index 0000000..db91a68 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildren.ts @@ -0,0 +1,25 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemToolRulesItemChildrenType } from "./AgentsSearchResponseAgentsItemToolRulesItemChildrenType"; + +export const AgentsSearchResponseAgentsItemToolRulesItemChildren: core.serialization.ObjectSchema< + serializers.AgentsSearchResponseAgentsItemToolRulesItemChildren.Raw, + Letta.AgentsSearchResponseAgentsItemToolRulesItemChildren +> = core.serialization.object({ + toolName: core.serialization.property("tool_name", core.serialization.string()), + type: AgentsSearchResponseAgentsItemToolRulesItemChildrenType.optional(), + children: core.serialization.list(core.serialization.string()), +}); + +export declare namespace AgentsSearchResponseAgentsItemToolRulesItemChildren { + export interface Raw { + tool_name: string; + type?: AgentsSearchResponseAgentsItemToolRulesItemChildrenType.Raw | null; + children: string[]; + } +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildrenType.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildrenType.ts new file mode 100644 index 0000000..5bd3745 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemChildrenType.ts @@ -0,0 +1,19 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemToolRulesItemChildrenType: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemToolRulesItemChildrenType.Raw, + Letta.AgentsSearchResponseAgentsItemToolRulesItemChildrenType +> = core.serialization.undiscriminatedUnion([ + core.serialization.stringLiteral("constrain_child_tools"), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemToolRulesItemChildrenType { + export type Raw = "constrain_child_tools" | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItem.ts new file mode 100644 index 0000000..4e6830f --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItem.ts @@ -0,0 +1,29 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemToolRulesItemItemChildren } from "./AgentsSearchResponseAgentsItemToolRulesItemItemChildren"; +import { AgentsSearchResponseAgentsItemToolRulesItemItemOne } from "./AgentsSearchResponseAgentsItemToolRulesItemItemOne"; +import { AgentsSearchResponseAgentsItemToolRulesItemItemTwo } from "./AgentsSearchResponseAgentsItemToolRulesItemItemTwo"; +import { AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMapping } from "./AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMapping"; + +export const AgentsSearchResponseAgentsItemToolRulesItemItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemToolRulesItemItem.Raw, + Letta.AgentsSearchResponseAgentsItemToolRulesItemItem +> = core.serialization.undiscriminatedUnion([ + AgentsSearchResponseAgentsItemToolRulesItemItemChildren, + AgentsSearchResponseAgentsItemToolRulesItemItemOne, + AgentsSearchResponseAgentsItemToolRulesItemItemTwo, + AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMapping, +]); + +export declare namespace AgentsSearchResponseAgentsItemToolRulesItemItem { + export type Raw = + | AgentsSearchResponseAgentsItemToolRulesItemItemChildren.Raw + | AgentsSearchResponseAgentsItemToolRulesItemItemOne.Raw + | AgentsSearchResponseAgentsItemToolRulesItemItemTwo.Raw + | AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMapping.Raw; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMapping.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMapping.ts new file mode 100644 index 0000000..01b52b8 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMapping.ts @@ -0,0 +1,37 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingType } from "./AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingType"; +import { AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingDefaultChild } from "./AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingDefaultChild"; +import { AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingRequireOutputMapping } from "./AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingRequireOutputMapping"; + +export const AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMapping: core.serialization.ObjectSchema< + serializers.AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMapping.Raw, + Letta.AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMapping +> = core.serialization.object({ + toolName: core.serialization.property("tool_name", core.serialization.string()), + type: AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingType.optional(), + defaultChild: core.serialization.property( + "default_child", + AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingDefaultChild.optional(), + ), + childOutputMapping: core.serialization.property("child_output_mapping", core.serialization.unknown().optional()), + requireOutputMapping: core.serialization.property( + "require_output_mapping", + AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingRequireOutputMapping.optional(), + ), +}); + +export declare namespace AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMapping { + export interface Raw { + tool_name: string; + type?: AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingType.Raw | null; + default_child?: AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingDefaultChild.Raw | null; + child_output_mapping?: unknown | null; + require_output_mapping?: AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingRequireOutputMapping.Raw | null; + } +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingDefaultChild.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingDefaultChild.ts new file mode 100644 index 0000000..38c9dbb --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingDefaultChild.ts @@ -0,0 +1,28 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingDefaultChildItem } from "./AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingDefaultChildItem"; + +export const AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingDefaultChild: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingDefaultChild.Raw, + Letta.AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingDefaultChild +> = core.serialization.undiscriminatedUnion([ + core.serialization.string(), + core.serialization.string().optional(), + core.serialization.list( + AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingDefaultChildItem.optional(), + ), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingDefaultChild { + export type Raw = + | string + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingDefaultChildItem.Raw | null | undefined)[] + | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingDefaultChildItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingDefaultChildItem.ts new file mode 100644 index 0000000..c2f5a75 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingDefaultChildItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingDefaultChildItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingDefaultChildItem.Raw, + Letta.AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingDefaultChildItem +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingDefaultChildItem { + export type Raw = string | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingRequireOutputMapping.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingRequireOutputMapping.ts new file mode 100644 index 0000000..ddaf639 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingRequireOutputMapping.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingRequireOutputMapping: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingRequireOutputMapping.Raw, + Letta.AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingRequireOutputMapping +> = core.serialization.undiscriminatedUnion([core.serialization.boolean(), core.serialization.unknown()]); + +export declare namespace AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingRequireOutputMapping { + export type Raw = boolean | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingType.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingType.ts new file mode 100644 index 0000000..7566306 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingType.ts @@ -0,0 +1,19 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingType: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingType.Raw, + Letta.AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingType +> = core.serialization.undiscriminatedUnion([ + core.serialization.stringLiteral("conditional"), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingType { + export type Raw = "conditional" | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildren.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildren.ts new file mode 100644 index 0000000..13ee454 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildren.ts @@ -0,0 +1,25 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemToolRulesItemItemChildrenType } from "./AgentsSearchResponseAgentsItemToolRulesItemItemChildrenType"; + +export const AgentsSearchResponseAgentsItemToolRulesItemItemChildren: core.serialization.ObjectSchema< + serializers.AgentsSearchResponseAgentsItemToolRulesItemItemChildren.Raw, + Letta.AgentsSearchResponseAgentsItemToolRulesItemItemChildren +> = core.serialization.object({ + toolName: core.serialization.property("tool_name", core.serialization.string()), + type: AgentsSearchResponseAgentsItemToolRulesItemItemChildrenType.optional(), + children: core.serialization.list(core.serialization.string()), +}); + +export declare namespace AgentsSearchResponseAgentsItemToolRulesItemItemChildren { + export interface Raw { + tool_name: string; + type?: AgentsSearchResponseAgentsItemToolRulesItemItemChildrenType.Raw | null; + children: string[]; + } +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildrenType.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildrenType.ts new file mode 100644 index 0000000..8bac343 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemChildrenType.ts @@ -0,0 +1,19 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemToolRulesItemItemChildrenType: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemToolRulesItemItemChildrenType.Raw, + Letta.AgentsSearchResponseAgentsItemToolRulesItemItemChildrenType +> = core.serialization.undiscriminatedUnion([ + core.serialization.stringLiteral("constrain_child_tools"), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemToolRulesItemItemChildrenType { + export type Raw = "constrain_child_tools" | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemOne.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemOne.ts new file mode 100644 index 0000000..c290058 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemOne.ts @@ -0,0 +1,23 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemToolRulesItemItemOneType } from "./AgentsSearchResponseAgentsItemToolRulesItemItemOneType"; + +export const AgentsSearchResponseAgentsItemToolRulesItemItemOne: core.serialization.ObjectSchema< + serializers.AgentsSearchResponseAgentsItemToolRulesItemItemOne.Raw, + Letta.AgentsSearchResponseAgentsItemToolRulesItemItemOne +> = core.serialization.object({ + toolName: core.serialization.property("tool_name", core.serialization.string()), + type: AgentsSearchResponseAgentsItemToolRulesItemItemOneType.optional(), +}); + +export declare namespace AgentsSearchResponseAgentsItemToolRulesItemItemOne { + export interface Raw { + tool_name: string; + type?: AgentsSearchResponseAgentsItemToolRulesItemItemOneType.Raw | null; + } +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemOneType.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemOneType.ts new file mode 100644 index 0000000..8aba479 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemOneType.ts @@ -0,0 +1,19 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemToolRulesItemItemOneType: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemToolRulesItemItemOneType.Raw, + Letta.AgentsSearchResponseAgentsItemToolRulesItemItemOneType +> = core.serialization.undiscriminatedUnion([ + core.serialization.stringLiteral("run_first"), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemToolRulesItemItemOneType { + export type Raw = "run_first" | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemTwo.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemTwo.ts new file mode 100644 index 0000000..b5481af --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemTwo.ts @@ -0,0 +1,23 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemToolRulesItemItemTwoType } from "./AgentsSearchResponseAgentsItemToolRulesItemItemTwoType"; + +export const AgentsSearchResponseAgentsItemToolRulesItemItemTwo: core.serialization.ObjectSchema< + serializers.AgentsSearchResponseAgentsItemToolRulesItemItemTwo.Raw, + Letta.AgentsSearchResponseAgentsItemToolRulesItemItemTwo +> = core.serialization.object({ + toolName: core.serialization.property("tool_name", core.serialization.string()), + type: AgentsSearchResponseAgentsItemToolRulesItemItemTwoType.optional(), +}); + +export declare namespace AgentsSearchResponseAgentsItemToolRulesItemItemTwo { + export interface Raw { + tool_name: string; + type?: AgentsSearchResponseAgentsItemToolRulesItemItemTwoType.Raw | null; + } +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemTwoType.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemTwoType.ts new file mode 100644 index 0000000..a177871 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemTwoType.ts @@ -0,0 +1,19 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemToolRulesItemItemTwoType: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemToolRulesItemItemTwoType.Raw, + Letta.AgentsSearchResponseAgentsItemToolRulesItemItemTwoType +> = core.serialization.undiscriminatedUnion([ + core.serialization.stringLiteral("exit_loop"), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemToolRulesItemItemTwoType { + export type Raw = "exit_loop" | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemOne.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemOne.ts new file mode 100644 index 0000000..bc21d54 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemOne.ts @@ -0,0 +1,23 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemToolRulesItemOneType } from "./AgentsSearchResponseAgentsItemToolRulesItemOneType"; + +export const AgentsSearchResponseAgentsItemToolRulesItemOne: core.serialization.ObjectSchema< + serializers.AgentsSearchResponseAgentsItemToolRulesItemOne.Raw, + Letta.AgentsSearchResponseAgentsItemToolRulesItemOne +> = core.serialization.object({ + toolName: core.serialization.property("tool_name", core.serialization.string()), + type: AgentsSearchResponseAgentsItemToolRulesItemOneType.optional(), +}); + +export declare namespace AgentsSearchResponseAgentsItemToolRulesItemOne { + export interface Raw { + tool_name: string; + type?: AgentsSearchResponseAgentsItemToolRulesItemOneType.Raw | null; + } +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemOneType.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemOneType.ts new file mode 100644 index 0000000..721ee81 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemOneType.ts @@ -0,0 +1,19 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemToolRulesItemOneType: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemToolRulesItemOneType.Raw, + Letta.AgentsSearchResponseAgentsItemToolRulesItemOneType +> = core.serialization.undiscriminatedUnion([ + core.serialization.stringLiteral("run_first"), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemToolRulesItemOneType { + export type Raw = "run_first" | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemTwo.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemTwo.ts new file mode 100644 index 0000000..49fe4ff --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemTwo.ts @@ -0,0 +1,23 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemToolRulesItemTwoType } from "./AgentsSearchResponseAgentsItemToolRulesItemTwoType"; + +export const AgentsSearchResponseAgentsItemToolRulesItemTwo: core.serialization.ObjectSchema< + serializers.AgentsSearchResponseAgentsItemToolRulesItemTwo.Raw, + Letta.AgentsSearchResponseAgentsItemToolRulesItemTwo +> = core.serialization.object({ + toolName: core.serialization.property("tool_name", core.serialization.string()), + type: AgentsSearchResponseAgentsItemToolRulesItemTwoType.optional(), +}); + +export declare namespace AgentsSearchResponseAgentsItemToolRulesItemTwo { + export interface Raw { + tool_name: string; + type?: AgentsSearchResponseAgentsItemToolRulesItemTwoType.Raw | null; + } +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemTwoType.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemTwoType.ts new file mode 100644 index 0000000..47dc986 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemTwoType.ts @@ -0,0 +1,19 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemToolRulesItemTwoType: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemToolRulesItemTwoType.Raw, + Letta.AgentsSearchResponseAgentsItemToolRulesItemTwoType +> = core.serialization.undiscriminatedUnion([ + core.serialization.stringLiteral("exit_loop"), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemToolRulesItemTwoType { + export type Raw = "exit_loop" | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItem.ts new file mode 100644 index 0000000..ea86b56 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItem.ts @@ -0,0 +1,69 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemToolsItemToolType } from "./AgentsSearchResponseAgentsItemToolsItemToolType"; +import { AgentsSearchResponseAgentsItemToolsItemDescription } from "./AgentsSearchResponseAgentsItemToolsItemDescription"; +import { AgentsSearchResponseAgentsItemToolsItemSourceType } from "./AgentsSearchResponseAgentsItemToolsItemSourceType"; +import { AgentsSearchResponseAgentsItemToolsItemOrganizationId } from "./AgentsSearchResponseAgentsItemToolsItemOrganizationId"; +import { AgentsSearchResponseAgentsItemToolsItemName } from "./AgentsSearchResponseAgentsItemToolsItemName"; +import { AgentsSearchResponseAgentsItemToolsItemSourceCode } from "./AgentsSearchResponseAgentsItemToolsItemSourceCode"; +import { AgentsSearchResponseAgentsItemToolsItemJsonSchema } from "./AgentsSearchResponseAgentsItemToolsItemJsonSchema"; +import { AgentsSearchResponseAgentsItemToolsItemCreatedById } from "./AgentsSearchResponseAgentsItemToolsItemCreatedById"; +import { AgentsSearchResponseAgentsItemToolsItemLastUpdatedById } from "./AgentsSearchResponseAgentsItemToolsItemLastUpdatedById"; + +export const AgentsSearchResponseAgentsItemToolsItem: core.serialization.ObjectSchema< + serializers.AgentsSearchResponseAgentsItemToolsItem.Raw, + Letta.AgentsSearchResponseAgentsItemToolsItem +> = core.serialization.object({ + id: core.serialization.string().optional(), + toolType: core.serialization.property("tool_type", AgentsSearchResponseAgentsItemToolsItemToolType.optional()), + description: AgentsSearchResponseAgentsItemToolsItemDescription.optional(), + sourceType: core.serialization.property( + "source_type", + AgentsSearchResponseAgentsItemToolsItemSourceType.optional(), + ), + organizationId: core.serialization.property( + "organization_id", + AgentsSearchResponseAgentsItemToolsItemOrganizationId.optional(), + ), + name: AgentsSearchResponseAgentsItemToolsItemName.optional(), + tags: core.serialization.list(core.serialization.string()).optional(), + sourceCode: core.serialization.property( + "source_code", + AgentsSearchResponseAgentsItemToolsItemSourceCode.optional(), + ), + jsonSchema: core.serialization.property( + "json_schema", + AgentsSearchResponseAgentsItemToolsItemJsonSchema.optional(), + ), + returnCharLimit: core.serialization.property("return_char_limit", core.serialization.number().optional()), + createdById: core.serialization.property( + "created_by_id", + AgentsSearchResponseAgentsItemToolsItemCreatedById.optional(), + ), + lastUpdatedById: core.serialization.property( + "last_updated_by_id", + AgentsSearchResponseAgentsItemToolsItemLastUpdatedById.optional(), + ), +}); + +export declare namespace AgentsSearchResponseAgentsItemToolsItem { + export interface Raw { + id?: string | null; + tool_type?: AgentsSearchResponseAgentsItemToolsItemToolType.Raw | null; + description?: AgentsSearchResponseAgentsItemToolsItemDescription.Raw | null; + source_type?: AgentsSearchResponseAgentsItemToolsItemSourceType.Raw | null; + organization_id?: AgentsSearchResponseAgentsItemToolsItemOrganizationId.Raw | null; + name?: AgentsSearchResponseAgentsItemToolsItemName.Raw | null; + tags?: string[] | null; + source_code?: AgentsSearchResponseAgentsItemToolsItemSourceCode.Raw | null; + json_schema?: AgentsSearchResponseAgentsItemToolsItemJsonSchema.Raw | null; + return_char_limit?: number | null; + created_by_id?: AgentsSearchResponseAgentsItemToolsItemCreatedById.Raw | null; + last_updated_by_id?: AgentsSearchResponseAgentsItemToolsItemLastUpdatedById.Raw | null; + } +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemCreatedById.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemCreatedById.ts new file mode 100644 index 0000000..0bbf622 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemCreatedById.ts @@ -0,0 +1,24 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemToolsItemCreatedByIdItem } from "./AgentsSearchResponseAgentsItemToolsItemCreatedByIdItem"; + +export const AgentsSearchResponseAgentsItemToolsItemCreatedById: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemToolsItemCreatedById.Raw, + Letta.AgentsSearchResponseAgentsItemToolsItemCreatedById +> = core.serialization.undiscriminatedUnion([ + core.serialization.string(), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemToolsItemCreatedByIdItem.optional()), +]); + +export declare namespace AgentsSearchResponseAgentsItemToolsItemCreatedById { + export type Raw = + | string + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemToolsItemCreatedByIdItem.Raw | null | undefined)[]; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemCreatedByIdItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemCreatedByIdItem.ts new file mode 100644 index 0000000..d61b00a --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemCreatedByIdItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemToolsItemCreatedByIdItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemToolsItemCreatedByIdItem.Raw, + Letta.AgentsSearchResponseAgentsItemToolsItemCreatedByIdItem +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemToolsItemCreatedByIdItem { + export type Raw = string | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemDescription.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemDescription.ts new file mode 100644 index 0000000..7a073a2 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemDescription.ts @@ -0,0 +1,24 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemToolsItemDescriptionItem } from "./AgentsSearchResponseAgentsItemToolsItemDescriptionItem"; + +export const AgentsSearchResponseAgentsItemToolsItemDescription: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemToolsItemDescription.Raw, + Letta.AgentsSearchResponseAgentsItemToolsItemDescription +> = core.serialization.undiscriminatedUnion([ + core.serialization.string(), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemToolsItemDescriptionItem.optional()), +]); + +export declare namespace AgentsSearchResponseAgentsItemToolsItemDescription { + export type Raw = + | string + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemToolsItemDescriptionItem.Raw | null | undefined)[]; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemDescriptionItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemDescriptionItem.ts new file mode 100644 index 0000000..fe415ab --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemDescriptionItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemToolsItemDescriptionItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemToolsItemDescriptionItem.Raw, + Letta.AgentsSearchResponseAgentsItemToolsItemDescriptionItem +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemToolsItemDescriptionItem { + export type Raw = string | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemJsonSchema.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemJsonSchema.ts new file mode 100644 index 0000000..bc56fa0 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemJsonSchema.ts @@ -0,0 +1,24 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemToolsItemJsonSchemaItem } from "./AgentsSearchResponseAgentsItemToolsItemJsonSchemaItem"; + +export const AgentsSearchResponseAgentsItemToolsItemJsonSchema: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemToolsItemJsonSchema.Raw, + Letta.AgentsSearchResponseAgentsItemToolsItemJsonSchema +> = core.serialization.undiscriminatedUnion([ + core.serialization.unknown(), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemToolsItemJsonSchemaItem.optional()), +]); + +export declare namespace AgentsSearchResponseAgentsItemToolsItemJsonSchema { + export type Raw = + | unknown + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemToolsItemJsonSchemaItem.Raw | null | undefined)[]; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemJsonSchemaItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemJsonSchemaItem.ts new file mode 100644 index 0000000..a3a0fab --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemJsonSchemaItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemToolsItemJsonSchemaItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemToolsItemJsonSchemaItem.Raw, + Letta.AgentsSearchResponseAgentsItemToolsItemJsonSchemaItem +> = core.serialization.undiscriminatedUnion([core.serialization.unknown(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemToolsItemJsonSchemaItem { + export type Raw = unknown | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemLastUpdatedById.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemLastUpdatedById.ts new file mode 100644 index 0000000..390372b --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemLastUpdatedById.ts @@ -0,0 +1,24 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemToolsItemLastUpdatedByIdItem } from "./AgentsSearchResponseAgentsItemToolsItemLastUpdatedByIdItem"; + +export const AgentsSearchResponseAgentsItemToolsItemLastUpdatedById: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemToolsItemLastUpdatedById.Raw, + Letta.AgentsSearchResponseAgentsItemToolsItemLastUpdatedById +> = core.serialization.undiscriminatedUnion([ + core.serialization.string(), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemToolsItemLastUpdatedByIdItem.optional()), +]); + +export declare namespace AgentsSearchResponseAgentsItemToolsItemLastUpdatedById { + export type Raw = + | string + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemToolsItemLastUpdatedByIdItem.Raw | null | undefined)[]; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemLastUpdatedByIdItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemLastUpdatedByIdItem.ts new file mode 100644 index 0000000..4badec7 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemLastUpdatedByIdItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemToolsItemLastUpdatedByIdItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemToolsItemLastUpdatedByIdItem.Raw, + Letta.AgentsSearchResponseAgentsItemToolsItemLastUpdatedByIdItem +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemToolsItemLastUpdatedByIdItem { + export type Raw = string | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemName.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemName.ts new file mode 100644 index 0000000..5542f46 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemName.ts @@ -0,0 +1,24 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemToolsItemNameItem } from "./AgentsSearchResponseAgentsItemToolsItemNameItem"; + +export const AgentsSearchResponseAgentsItemToolsItemName: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemToolsItemName.Raw, + Letta.AgentsSearchResponseAgentsItemToolsItemName +> = core.serialization.undiscriminatedUnion([ + core.serialization.string(), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemToolsItemNameItem.optional()), +]); + +export declare namespace AgentsSearchResponseAgentsItemToolsItemName { + export type Raw = + | string + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemToolsItemNameItem.Raw | null | undefined)[]; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemNameItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemNameItem.ts new file mode 100644 index 0000000..18ded58 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemNameItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemToolsItemNameItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemToolsItemNameItem.Raw, + Letta.AgentsSearchResponseAgentsItemToolsItemNameItem +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemToolsItemNameItem { + export type Raw = string | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemOrganizationId.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemOrganizationId.ts new file mode 100644 index 0000000..63c419c --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemOrganizationId.ts @@ -0,0 +1,24 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemToolsItemOrganizationIdItem } from "./AgentsSearchResponseAgentsItemToolsItemOrganizationIdItem"; + +export const AgentsSearchResponseAgentsItemToolsItemOrganizationId: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemToolsItemOrganizationId.Raw, + Letta.AgentsSearchResponseAgentsItemToolsItemOrganizationId +> = core.serialization.undiscriminatedUnion([ + core.serialization.string(), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemToolsItemOrganizationIdItem.optional()), +]); + +export declare namespace AgentsSearchResponseAgentsItemToolsItemOrganizationId { + export type Raw = + | string + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemToolsItemOrganizationIdItem.Raw | null | undefined)[]; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemOrganizationIdItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemOrganizationIdItem.ts new file mode 100644 index 0000000..ff71326 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemOrganizationIdItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemToolsItemOrganizationIdItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemToolsItemOrganizationIdItem.Raw, + Letta.AgentsSearchResponseAgentsItemToolsItemOrganizationIdItem +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemToolsItemOrganizationIdItem { + export type Raw = string | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemSourceCode.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemSourceCode.ts new file mode 100644 index 0000000..f66f7aa --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemSourceCode.ts @@ -0,0 +1,24 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemToolsItemSourceCodeItem } from "./AgentsSearchResponseAgentsItemToolsItemSourceCodeItem"; + +export const AgentsSearchResponseAgentsItemToolsItemSourceCode: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemToolsItemSourceCode.Raw, + Letta.AgentsSearchResponseAgentsItemToolsItemSourceCode +> = core.serialization.undiscriminatedUnion([ + core.serialization.string(), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemToolsItemSourceCodeItem.optional()), +]); + +export declare namespace AgentsSearchResponseAgentsItemToolsItemSourceCode { + export type Raw = + | string + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemToolsItemSourceCodeItem.Raw | null | undefined)[]; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemSourceCodeItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemSourceCodeItem.ts new file mode 100644 index 0000000..b9da806 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemSourceCodeItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemToolsItemSourceCodeItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemToolsItemSourceCodeItem.Raw, + Letta.AgentsSearchResponseAgentsItemToolsItemSourceCodeItem +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemToolsItemSourceCodeItem { + export type Raw = string | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemSourceType.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemSourceType.ts new file mode 100644 index 0000000..71f1017 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemSourceType.ts @@ -0,0 +1,24 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemToolsItemSourceTypeItem } from "./AgentsSearchResponseAgentsItemToolsItemSourceTypeItem"; + +export const AgentsSearchResponseAgentsItemToolsItemSourceType: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemToolsItemSourceType.Raw, + Letta.AgentsSearchResponseAgentsItemToolsItemSourceType +> = core.serialization.undiscriminatedUnion([ + core.serialization.string(), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemToolsItemSourceTypeItem.optional()), +]); + +export declare namespace AgentsSearchResponseAgentsItemToolsItemSourceType { + export type Raw = + | string + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemToolsItemSourceTypeItem.Raw | null | undefined)[]; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemSourceTypeItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemSourceTypeItem.ts new file mode 100644 index 0000000..0d3580b --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemSourceTypeItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemToolsItemSourceTypeItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemToolsItemSourceTypeItem.Raw, + Letta.AgentsSearchResponseAgentsItemToolsItemSourceTypeItem +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemToolsItemSourceTypeItem { + export type Raw = string | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemToolType.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemToolType.ts new file mode 100644 index 0000000..7f92be1 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemToolType.ts @@ -0,0 +1,29 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemToolsItemToolType: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemToolsItemToolType.Raw, + Letta.AgentsSearchResponseAgentsItemToolsItemToolType +> = core.serialization.enum_([ + "custom", + "letta_core", + "letta_memory_core", + "letta_multi_agent_core", + "external_composio", + "external_langchain", +]); + +export declare namespace AgentsSearchResponseAgentsItemToolsItemToolType { + export type Raw = + | "custom" + | "letta_core" + | "letta_memory_core" + | "letta_multi_agent_core" + | "external_composio" + | "external_langchain"; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemUpdatedAt.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemUpdatedAt.ts new file mode 100644 index 0000000..c1a4196 --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemUpdatedAt.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; +import { AgentsSearchResponseAgentsItemUpdatedAtItem } from "./AgentsSearchResponseAgentsItemUpdatedAtItem"; + +export const AgentsSearchResponseAgentsItemUpdatedAt: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemUpdatedAt.Raw, + Letta.AgentsSearchResponseAgentsItemUpdatedAt +> = core.serialization.undiscriminatedUnion([ + core.serialization.string(), + core.serialization.string().optional(), + core.serialization.list(AgentsSearchResponseAgentsItemUpdatedAtItem.optional()), + core.serialization.unknown(), +]); + +export declare namespace AgentsSearchResponseAgentsItemUpdatedAt { + export type Raw = + | string + | (string | null | undefined) + | (AgentsSearchResponseAgentsItemUpdatedAtItem.Raw | null | undefined)[] + | unknown; +} diff --git a/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemUpdatedAtItem.ts b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemUpdatedAtItem.ts new file mode 100644 index 0000000..eaff13d --- /dev/null +++ b/src/serialization/resources/agents/types/AgentsSearchResponseAgentsItemUpdatedAtItem.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Letta from "../../../../api/index"; +import * as core from "../../../../core"; + +export const AgentsSearchResponseAgentsItemUpdatedAtItem: core.serialization.Schema< + serializers.AgentsSearchResponseAgentsItemUpdatedAtItem.Raw, + Letta.AgentsSearchResponseAgentsItemUpdatedAtItem +> = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.string().optional()]); + +export declare namespace AgentsSearchResponseAgentsItemUpdatedAtItem { + export type Raw = string | (string | null | undefined); +} diff --git a/src/serialization/resources/agents/types/index.ts b/src/serialization/resources/agents/types/index.ts index ba7781c..a1b6fd2 100644 --- a/src/serialization/resources/agents/types/index.ts +++ b/src/serialization/resources/agents/types/index.ts @@ -3,9 +3,163 @@ export * from "./UpdateAgentToolRulesItem"; export * from "./AgentsSearchRequestSearchItemZero"; export * from "./AgentsSearchRequestSearchItemOneOperator"; export * from "./AgentsSearchRequestSearchItemOne"; -export * from "./AgentsSearchRequestSearchItemTwo"; -export * from "./AgentsSearchRequestSearchItemDirectionValue"; -export * from "./AgentsSearchRequestSearchItemDirectionDirection"; -export * from "./AgentsSearchRequestSearchItemDirection"; +export * from "./AgentsSearchRequestSearchItemField"; export * from "./AgentsSearchRequestSearchItem"; -export * from "./AgentsSearchRequestCombinator"; +export * from "./AgentsSearchResponseAgentsItemCreatedByIdItem"; +export * from "./AgentsSearchResponseAgentsItemCreatedById"; +export * from "./AgentsSearchResponseAgentsItemLastUpdatedByIdItem"; +export * from "./AgentsSearchResponseAgentsItemLastUpdatedById"; +export * from "./AgentsSearchResponseAgentsItemCreatedAtItem"; +export * from "./AgentsSearchResponseAgentsItemCreatedAt"; +export * from "./AgentsSearchResponseAgentsItemUpdatedAtItem"; +export * from "./AgentsSearchResponseAgentsItemUpdatedAt"; +export * from "./AgentsSearchResponseAgentsItemToolRulesItemChildrenType"; +export * from "./AgentsSearchResponseAgentsItemToolRulesItemChildren"; +export * from "./AgentsSearchResponseAgentsItemToolRulesItemOneType"; +export * from "./AgentsSearchResponseAgentsItemToolRulesItemOne"; +export * from "./AgentsSearchResponseAgentsItemToolRulesItemTwoType"; +export * from "./AgentsSearchResponseAgentsItemToolRulesItemTwo"; +export * from "./AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingType"; +export * from "./AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingDefaultChildItem"; +export * from "./AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingDefaultChild"; +export * from "./AgentsSearchResponseAgentsItemToolRulesItemChildOutputMappingRequireOutputMapping"; +export * from "./AgentsSearchResponseAgentsItemToolRulesItemChildOutputMapping"; +export * from "./AgentsSearchResponseAgentsItemToolRulesItem"; +export * from "./AgentsSearchResponseAgentsItemToolRulesItemItemChildrenType"; +export * from "./AgentsSearchResponseAgentsItemToolRulesItemItemChildren"; +export * from "./AgentsSearchResponseAgentsItemToolRulesItemItemOneType"; +export * from "./AgentsSearchResponseAgentsItemToolRulesItemItemOne"; +export * from "./AgentsSearchResponseAgentsItemToolRulesItemItemTwoType"; +export * from "./AgentsSearchResponseAgentsItemToolRulesItemItemTwo"; +export * from "./AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingType"; +export * from "./AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingDefaultChildItem"; +export * from "./AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingDefaultChild"; +export * from "./AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMappingRequireOutputMapping"; +export * from "./AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMapping"; +export * from "./AgentsSearchResponseAgentsItemToolRulesItemItem"; +export * from "./AgentsSearchResponseAgentsItemToolRules"; +export * from "./AgentsSearchResponseAgentsItemMessageIdsItem"; +export * from "./AgentsSearchResponseAgentsItemMessageIds"; +export * from "./AgentsSearchResponseAgentsItemAgentType"; +export * from "./AgentsSearchResponseAgentsItemLlmConfigModelEndpointType"; +export * from "./AgentsSearchResponseAgentsItemLlmConfigModelEndpointItem"; +export * from "./AgentsSearchResponseAgentsItemLlmConfigModelEndpoint"; +export * from "./AgentsSearchResponseAgentsItemLlmConfigModelWrapperItem"; +export * from "./AgentsSearchResponseAgentsItemLlmConfigModelWrapper"; +export * from "./AgentsSearchResponseAgentsItemLlmConfigPutInnerThoughtsInKwargsItem"; +export * from "./AgentsSearchResponseAgentsItemLlmConfigPutInnerThoughtsInKwargs"; +export * from "./AgentsSearchResponseAgentsItemLlmConfigHandleItem"; +export * from "./AgentsSearchResponseAgentsItemLlmConfigHandle"; +export * from "./AgentsSearchResponseAgentsItemLlmConfigTemperature"; +export * from "./AgentsSearchResponseAgentsItemLlmConfig"; +export * from "./AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointType"; +export * from "./AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointItem"; +export * from "./AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpoint"; +export * from "./AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingChunkSizeItem"; +export * from "./AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingChunkSize"; +export * from "./AgentsSearchResponseAgentsItemEmbeddingConfigHandleItem"; +export * from "./AgentsSearchResponseAgentsItemEmbeddingConfigHandle"; +export * from "./AgentsSearchResponseAgentsItemEmbeddingConfigAzureEndpointItem"; +export * from "./AgentsSearchResponseAgentsItemEmbeddingConfigAzureEndpoint"; +export * from "./AgentsSearchResponseAgentsItemEmbeddingConfigAzureVersionItem"; +export * from "./AgentsSearchResponseAgentsItemEmbeddingConfigAzureVersion"; +export * from "./AgentsSearchResponseAgentsItemEmbeddingConfigAzureDeploymentItem"; +export * from "./AgentsSearchResponseAgentsItemEmbeddingConfigAzureDeployment"; +export * from "./AgentsSearchResponseAgentsItemEmbeddingConfig"; +export * from "./AgentsSearchResponseAgentsItemOrganizationIdItem"; +export * from "./AgentsSearchResponseAgentsItemOrganizationId"; +export * from "./AgentsSearchResponseAgentsItemDescriptionItem"; +export * from "./AgentsSearchResponseAgentsItemDescription"; +export * from "./AgentsSearchResponseAgentsItemMetadataItem"; +export * from "./AgentsSearchResponseAgentsItemMetadata"; +export * from "./AgentsSearchResponseAgentsItemMemoryBlocksItemLimit"; +export * from "./AgentsSearchResponseAgentsItemMemoryBlocksItemNameItem"; +export * from "./AgentsSearchResponseAgentsItemMemoryBlocksItemName"; +export * from "./AgentsSearchResponseAgentsItemMemoryBlocksItemIsTemplate"; +export * from "./AgentsSearchResponseAgentsItemMemoryBlocksItemLabelItem"; +export * from "./AgentsSearchResponseAgentsItemMemoryBlocksItemLabel"; +export * from "./AgentsSearchResponseAgentsItemMemoryBlocksItemDescriptionItem"; +export * from "./AgentsSearchResponseAgentsItemMemoryBlocksItemDescription"; +export * from "./AgentsSearchResponseAgentsItemMemoryBlocksItemMetadataItem"; +export * from "./AgentsSearchResponseAgentsItemMemoryBlocksItemMetadata"; +export * from "./AgentsSearchResponseAgentsItemMemoryBlocksItemId"; +export * from "./AgentsSearchResponseAgentsItemMemoryBlocksItemOrganizationIdItem"; +export * from "./AgentsSearchResponseAgentsItemMemoryBlocksItemOrganizationId"; +export * from "./AgentsSearchResponseAgentsItemMemoryBlocksItemCreatedByIdItem"; +export * from "./AgentsSearchResponseAgentsItemMemoryBlocksItemCreatedById"; +export * from "./AgentsSearchResponseAgentsItemMemoryBlocksItemLastUpdatedByIdItem"; +export * from "./AgentsSearchResponseAgentsItemMemoryBlocksItemLastUpdatedById"; +export * from "./AgentsSearchResponseAgentsItemMemoryBlocksItem"; +export * from "./AgentsSearchResponseAgentsItemMemoryPromptTemplate"; +export * from "./AgentsSearchResponseAgentsItemMemory"; +export * from "./AgentsSearchResponseAgentsItemToolsItemToolType"; +export * from "./AgentsSearchResponseAgentsItemToolsItemDescriptionItem"; +export * from "./AgentsSearchResponseAgentsItemToolsItemDescription"; +export * from "./AgentsSearchResponseAgentsItemToolsItemSourceTypeItem"; +export * from "./AgentsSearchResponseAgentsItemToolsItemSourceType"; +export * from "./AgentsSearchResponseAgentsItemToolsItemOrganizationIdItem"; +export * from "./AgentsSearchResponseAgentsItemToolsItemOrganizationId"; +export * from "./AgentsSearchResponseAgentsItemToolsItemNameItem"; +export * from "./AgentsSearchResponseAgentsItemToolsItemName"; +export * from "./AgentsSearchResponseAgentsItemToolsItemSourceCodeItem"; +export * from "./AgentsSearchResponseAgentsItemToolsItemSourceCode"; +export * from "./AgentsSearchResponseAgentsItemToolsItemJsonSchemaItem"; +export * from "./AgentsSearchResponseAgentsItemToolsItemJsonSchema"; +export * from "./AgentsSearchResponseAgentsItemToolsItemCreatedByIdItem"; +export * from "./AgentsSearchResponseAgentsItemToolsItemCreatedById"; +export * from "./AgentsSearchResponseAgentsItemToolsItemLastUpdatedByIdItem"; +export * from "./AgentsSearchResponseAgentsItemToolsItemLastUpdatedById"; +export * from "./AgentsSearchResponseAgentsItemToolsItem"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemId"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemDescriptionItem"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemDescription"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointItem"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpoint"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingChunkSizeItem"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingChunkSize"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigHandleItem"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigHandle"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureEndpointItem"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureEndpoint"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureVersionItem"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureVersion"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureDeploymentItem"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigAzureDeployment"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfig"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemOrganizationIdItem"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemOrganizationId"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemMetadataItem"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemMetadata"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemCreatedByIdItem"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemCreatedById"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemLastUpdatedByIdItem"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemLastUpdatedById"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemCreatedAtItem"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemCreatedAt"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemUpdatedAtItem"; +export * from "./AgentsSearchResponseAgentsItemSourcesItemUpdatedAt"; +export * from "./AgentsSearchResponseAgentsItemSourcesItem"; +export * from "./AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedByIdItem"; +export * from "./AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedById"; +export * from "./AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemLastUpdatedByIdItem"; +export * from "./AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemLastUpdatedById"; +export * from "./AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedAtItem"; +export * from "./AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemCreatedAt"; +export * from "./AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemUpdatedAtItem"; +export * from "./AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemUpdatedAt"; +export * from "./AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemId"; +export * from "./AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemDescriptionItem"; +export * from "./AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemDescription"; +export * from "./AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemOrganizationIdItem"; +export * from "./AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItemOrganizationId"; +export * from "./AgentsSearchResponseAgentsItemToolExecEnvironmentVariablesItem"; +export * from "./AgentsSearchResponseAgentsItemToolExecEnvironmentVariables"; +export * from "./AgentsSearchResponseAgentsItemProjectIdItem"; +export * from "./AgentsSearchResponseAgentsItemProjectId"; +export * from "./AgentsSearchResponseAgentsItemTemplateIdItem"; +export * from "./AgentsSearchResponseAgentsItemTemplateId"; +export * from "./AgentsSearchResponseAgentsItemBaseTemplateIdItem"; +export * from "./AgentsSearchResponseAgentsItemBaseTemplateId"; +export * from "./AgentsSearchResponseAgentsItem"; +export * from "./AgentsSearchResponse"; diff --git a/src/serialization/types/Step.ts b/src/serialization/types/Step.ts index a7f6e77..e0c4da9 100644 --- a/src/serialization/types/Step.ts +++ b/src/serialization/types/Step.ts @@ -14,6 +14,7 @@ export const Step: core.serialization.ObjectSchema