@airweave/sdk 0.2.25 → 0.2.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.d.ts +0 -15
- package/Client.js +12 -37
- package/api/resources/apiKeys/client/Client.js +12 -12
- package/api/resources/apiKeys/client/requests/ApiKeyCreate.d.ts +0 -1
- package/api/resources/connections/client/Client.d.ts +2 -2
- package/api/resources/connections/client/Client.js +11 -11
- package/api/resources/connections/client/requests/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.d.ts +2 -2
- package/api/resources/embeddingModels/client/Client.d.ts +1 -1
- package/api/resources/embeddingModels/client/Client.js +3 -3
- package/api/resources/index.d.ts +0 -10
- package/api/resources/index.js +1 -11
- package/api/resources/search/client/Client.d.ts +2 -3
- package/api/resources/search/client/Client.js +5 -9
- package/api/resources/search/client/requests/SearchSearchGetRequest.d.ts +0 -5
- package/api/resources/sources/client/Client.d.ts +1 -1
- package/api/resources/sources/client/Client.js +3 -3
- package/api/resources/sync/client/Client.d.ts +1 -3
- package/api/resources/sync/client/Client.js +17 -27
- package/api/resources/sync/client/requests/ListAllJobsSyncJobsGetRequest.d.ts +0 -4
- package/api/resources/whiteLabels/client/Client.js +10 -10
- package/api/types/ApiKey.d.ts +1 -1
- package/api/types/ApiKeyWithPlainKey.d.ts +1 -1
- package/api/types/BodySendOauth2CodeConnectionsOauth2SourceCodePost.d.ts +0 -2
- package/api/{resources/chat/client/requests → types}/ChatCreate.d.ts +1 -5
- package/{dist/api/types/DestinationWithAuthenticationFields.d.ts → api/types/DestinationWithConfigFields.d.ts} +2 -2
- package/{dist/api/types/EmbeddingModelWithAuthenticationFields.d.ts → api/types/EmbeddingModelWithConfigFields.d.ts} +2 -2
- package/{dist/api/resources/entities/client/requests → api/types}/EntityDefinitionCreate.d.ts +2 -9
- package/{dist/api/resources/entities/client/requests → api/types}/EntityRelationCreate.d.ts +1 -6
- package/{dist/api/types/SourceWithAuthenticationFields.d.ts → api/types/SourceWithConfigFields.d.ts} +2 -2
- package/api/types/SyncDagCreate.d.ts +14 -0
- package/{dist/api/resources/dag/client/requests → api/types}/SyncDagUpdate.d.ts +3 -7
- package/api/types/SyncJob.d.ts +4 -5
- package/{dist/api/resources/transformers/client/requests → api/types}/TransformerCreate.d.ts +1 -8
- package/api/types/User.d.ts +1 -1
- package/api/types/index.d.ts +10 -7
- package/api/types/index.js +10 -7
- package/dist/Client.d.ts +0 -15
- package/dist/Client.js +12 -37
- package/dist/api/resources/apiKeys/client/Client.js +12 -12
- package/dist/api/resources/apiKeys/client/requests/ApiKeyCreate.d.ts +0 -1
- package/dist/api/resources/connections/client/Client.d.ts +2 -2
- package/dist/api/resources/connections/client/Client.js +11 -11
- package/dist/api/resources/connections/client/requests/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.d.ts +2 -2
- package/dist/api/resources/embeddingModels/client/Client.d.ts +1 -1
- package/dist/api/resources/embeddingModels/client/Client.js +3 -3
- package/dist/api/resources/index.d.ts +0 -10
- package/dist/api/resources/index.js +1 -11
- package/dist/api/resources/search/client/Client.d.ts +2 -3
- package/dist/api/resources/search/client/Client.js +5 -9
- package/dist/api/resources/search/client/requests/SearchSearchGetRequest.d.ts +0 -5
- package/dist/api/resources/sources/client/Client.d.ts +1 -1
- package/dist/api/resources/sources/client/Client.js +3 -3
- package/dist/api/resources/sync/client/Client.d.ts +1 -3
- package/dist/api/resources/sync/client/Client.js +17 -27
- package/dist/api/resources/sync/client/requests/ListAllJobsSyncJobsGetRequest.d.ts +0 -4
- package/dist/api/resources/whiteLabels/client/Client.js +10 -10
- package/dist/api/types/ApiKey.d.ts +1 -1
- package/dist/api/types/ApiKeyWithPlainKey.d.ts +1 -1
- package/dist/api/types/BodySendOauth2CodeConnectionsOauth2SourceCodePost.d.ts +0 -2
- package/dist/api/{resources/chat/client/requests → types}/ChatCreate.d.ts +1 -5
- package/{api/types/DestinationWithAuthenticationFields.d.ts → dist/api/types/DestinationWithConfigFields.d.ts} +2 -2
- package/{api/types/EmbeddingModelWithAuthenticationFields.d.ts → dist/api/types/EmbeddingModelWithConfigFields.d.ts} +2 -2
- package/{api/resources/entities/client/requests → dist/api/types}/EntityDefinitionCreate.d.ts +2 -9
- package/{api/resources/entities/client/requests → dist/api/types}/EntityRelationCreate.d.ts +1 -6
- package/{api/types/SourceWithAuthenticationFields.d.ts → dist/api/types/SourceWithConfigFields.d.ts} +2 -2
- package/dist/api/types/SyncDagCreate.d.ts +14 -0
- package/{api/resources/dag/client/requests → dist/api/types}/SyncDagUpdate.d.ts +3 -7
- package/dist/api/types/SyncJob.d.ts +4 -5
- package/{api/resources/transformers/client/requests → dist/api/types}/TransformerCreate.d.ts +1 -8
- package/dist/api/types/User.d.ts +1 -1
- package/dist/api/types/index.d.ts +10 -7
- package/dist/api/types/index.js +10 -7
- package/dist/serialization/resources/connections/client/requests/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.d.ts +1 -1
- package/dist/serialization/resources/connections/client/requests/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.js +1 -1
- package/dist/serialization/resources/index.d.ts +0 -9
- package/dist/serialization/resources/index.js +1 -10
- package/dist/serialization/resources/search/client/search.d.ts +2 -2
- package/dist/serialization/resources/search/client/search.js +1 -1
- package/dist/serialization/types/ApiKey.d.ts +1 -1
- package/dist/serialization/types/ApiKey.js +1 -1
- package/dist/serialization/types/ApiKeyWithPlainKey.d.ts +1 -1
- package/dist/serialization/types/ApiKeyWithPlainKey.js +1 -1
- package/dist/serialization/types/BodySendOauth2CodeConnectionsOauth2SourceCodePost.d.ts +0 -2
- package/dist/serialization/types/BodySendOauth2CodeConnectionsOauth2SourceCodePost.js +0 -2
- package/{serialization/resources/chat/client/requests → dist/serialization/types}/ChatCreate.d.ts +4 -4
- package/{serialization/resources/chat/client/requests → dist/serialization/types}/ChatCreate.js +1 -1
- package/dist/serialization/types/{DestinationWithAuthenticationFields.d.ts → DestinationWithConfigFields.d.ts} +3 -3
- package/{serialization/types/DestinationWithAuthenticationFields.js → dist/serialization/types/DestinationWithConfigFields.js} +3 -3
- package/{serialization/types/EmbeddingModelWithAuthenticationFields.d.ts → dist/serialization/types/EmbeddingModelWithConfigFields.d.ts} +3 -3
- package/{serialization/types/EmbeddingModelWithAuthenticationFields.js → dist/serialization/types/EmbeddingModelWithConfigFields.js} +3 -3
- package/dist/serialization/{resources/entities/client/requests → types}/EntityDefinitionCreate.d.ts +6 -6
- package/{serialization/resources/entities/client/requests → dist/serialization/types}/EntityDefinitionCreate.js +3 -3
- package/dist/serialization/{resources/entities/types → types}/EntityDefinitionCreateEntitySchema.d.ts +3 -3
- package/dist/serialization/{resources/entities/types → types}/EntityDefinitionCreateEntitySchema.js +1 -1
- package/dist/serialization/types/EntityRelationCreate.d.ts +15 -0
- package/dist/serialization/{resources/entities/client/requests → types}/EntityRelationCreate.js +1 -1
- package/dist/serialization/types/{SourceWithAuthenticationFields.d.ts → SourceWithConfigFields.d.ts} +3 -3
- package/{serialization/types/SourceWithAuthenticationFields.js → dist/serialization/types/SourceWithConfigFields.js} +3 -3
- package/dist/serialization/types/SyncDagCreate.d.ts +18 -0
- package/{serialization/resources/dag/client/requests → dist/serialization/types}/SyncDagCreate.js +4 -4
- package/dist/serialization/types/SyncDagUpdate.d.ts +18 -0
- package/dist/serialization/{resources/dag/client/requests → types}/SyncDagUpdate.js +4 -4
- package/dist/serialization/types/SyncJob.d.ts +4 -5
- package/dist/serialization/types/SyncJob.js +4 -5
- package/dist/serialization/{resources/transformers/client/requests → types}/TransformerCreate.d.ts +4 -4
- package/dist/serialization/{resources/transformers/client/requests → types}/TransformerCreate.js +1 -1
- package/dist/serialization/types/User.d.ts +1 -1
- package/dist/serialization/types/User.js +1 -1
- package/dist/serialization/types/index.d.ts +10 -7
- package/dist/serialization/types/index.js +10 -7
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +7 -962
- package/serialization/resources/connections/client/requests/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.d.ts +1 -1
- package/serialization/resources/connections/client/requests/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.js +1 -1
- package/serialization/resources/index.d.ts +0 -9
- package/serialization/resources/index.js +1 -10
- package/serialization/resources/search/client/search.d.ts +2 -2
- package/serialization/resources/search/client/search.js +1 -1
- package/serialization/types/ApiKey.d.ts +1 -1
- package/serialization/types/ApiKey.js +1 -1
- package/serialization/types/ApiKeyWithPlainKey.d.ts +1 -1
- package/serialization/types/ApiKeyWithPlainKey.js +1 -1
- package/serialization/types/BodySendOauth2CodeConnectionsOauth2SourceCodePost.d.ts +0 -2
- package/serialization/types/BodySendOauth2CodeConnectionsOauth2SourceCodePost.js +0 -2
- package/{dist/serialization/resources/chat/client/requests → serialization/types}/ChatCreate.d.ts +4 -4
- package/{dist/serialization/resources/chat/client/requests → serialization/types}/ChatCreate.js +1 -1
- package/serialization/types/{DestinationWithAuthenticationFields.d.ts → DestinationWithConfigFields.d.ts} +3 -3
- package/{dist/serialization/types/DestinationWithAuthenticationFields.js → serialization/types/DestinationWithConfigFields.js} +3 -3
- package/{dist/serialization/types/EmbeddingModelWithAuthenticationFields.d.ts → serialization/types/EmbeddingModelWithConfigFields.d.ts} +3 -3
- package/{dist/serialization/types/EmbeddingModelWithAuthenticationFields.js → serialization/types/EmbeddingModelWithConfigFields.js} +3 -3
- package/serialization/{resources/entities/client/requests → types}/EntityDefinitionCreate.d.ts +6 -6
- package/{dist/serialization/resources/entities/client/requests → serialization/types}/EntityDefinitionCreate.js +3 -3
- package/serialization/{resources/entities/types → types}/EntityDefinitionCreateEntitySchema.d.ts +3 -3
- package/serialization/{resources/entities/types → types}/EntityDefinitionCreateEntitySchema.js +1 -1
- package/serialization/types/EntityRelationCreate.d.ts +15 -0
- package/serialization/{resources/entities/client/requests → types}/EntityRelationCreate.js +1 -1
- package/serialization/types/{SourceWithAuthenticationFields.d.ts → SourceWithConfigFields.d.ts} +3 -3
- package/{dist/serialization/types/SourceWithAuthenticationFields.js → serialization/types/SourceWithConfigFields.js} +3 -3
- package/serialization/types/SyncDagCreate.d.ts +18 -0
- package/{dist/serialization/resources/dag/client/requests → serialization/types}/SyncDagCreate.js +4 -4
- package/serialization/types/SyncDagUpdate.d.ts +18 -0
- package/serialization/{resources/dag/client/requests → types}/SyncDagUpdate.js +4 -4
- package/serialization/types/SyncJob.d.ts +4 -5
- package/serialization/types/SyncJob.js +4 -5
- package/serialization/{resources/transformers/client/requests → types}/TransformerCreate.d.ts +4 -4
- package/serialization/{resources/transformers/client/requests → types}/TransformerCreate.js +1 -1
- package/serialization/types/User.d.ts +1 -1
- package/serialization/types/User.js +1 -1
- package/serialization/types/index.d.ts +10 -7
- package/serialization/types/index.js +10 -7
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/chat/client/Client.d.ts +0 -77
- package/api/resources/chat/client/Client.js +0 -227
- package/api/resources/chat/client/index.d.ts +0 -1
- package/api/resources/chat/client/index.js +0 -17
- package/api/resources/chat/client/requests/ListChatsChatGetRequest.d.ts +0 -11
- package/api/resources/chat/client/requests/index.d.ts +0 -2
- package/api/resources/chat/client/requests/index.js +0 -2
- package/api/resources/chat/index.d.ts +0 -1
- package/api/resources/chat/index.js +0 -17
- package/api/resources/dag/client/Client.d.ts +0 -81
- package/api/resources/dag/client/Client.js +0 -276
- package/api/resources/dag/client/index.d.ts +0 -1
- package/api/resources/dag/client/index.js +0 -17
- package/api/resources/dag/client/requests/SyncDagCreate.d.ts +0 -26
- package/api/resources/dag/client/requests/index.d.ts +0 -2
- package/api/resources/dag/client/requests/index.js +0 -2
- package/api/resources/dag/index.d.ts +0 -1
- package/api/resources/dag/index.js +0 -17
- package/api/resources/entities/client/Client.d.ts +0 -119
- package/api/resources/entities/client/Client.js +0 -480
- package/api/resources/entities/client/index.d.ts +0 -1
- package/api/resources/entities/client/index.js +0 -17
- package/api/resources/entities/client/requests/GetEntityDefinitionsBySourceShortNameEntitiesDefinitionsBySourceGetRequest.d.ts +0 -12
- package/api/resources/entities/client/requests/index.d.ts +0 -3
- package/api/resources/entities/client/requests/index.js +0 -2
- package/api/resources/entities/index.d.ts +0 -2
- package/api/resources/entities/index.js +0 -18
- package/api/resources/entities/types/index.d.ts +0 -1
- package/api/resources/entities/types/index.js +0 -17
- package/api/resources/transformers/client/Client.d.ts +0 -58
- package/api/resources/transformers/client/Client.js +0 -199
- package/api/resources/transformers/client/index.d.ts +0 -1
- package/api/resources/transformers/client/index.js +0 -17
- package/api/resources/transformers/client/requests/index.d.ts +0 -1
- package/api/resources/transformers/client/requests/index.js +0 -2
- package/api/resources/transformers/index.d.ts +0 -1
- package/api/resources/transformers/index.js +0 -17
- package/api/resources/users/client/Client.d.ts +0 -48
- package/api/resources/users/client/Client.js +0 -135
- package/api/resources/users/client/index.d.ts +0 -1
- package/api/resources/users/client/index.js +0 -2
- package/api/resources/users/index.d.ts +0 -1
- package/api/resources/users/index.js +0 -17
- package/api/types/EntityCount.d.ts +0 -9
- package/api/types/Organization.d.ts +0 -13
- package/api/types/ResponseType.d.ts +0 -11
- package/api/types/ResponseType.js +0 -10
- package/api/types/SourceWithAuthenticationFields.js +0 -5
- package/api/types/UserCreate.d.ts +0 -11
- package/api/types/UserCreate.js +0 -5
- package/dist/api/resources/chat/client/Client.d.ts +0 -77
- package/dist/api/resources/chat/client/Client.js +0 -227
- package/dist/api/resources/chat/client/index.d.ts +0 -1
- package/dist/api/resources/chat/client/index.js +0 -17
- package/dist/api/resources/chat/client/requests/ListChatsChatGetRequest.d.ts +0 -11
- package/dist/api/resources/chat/client/requests/ListChatsChatGetRequest.js +0 -5
- package/dist/api/resources/chat/client/requests/index.d.ts +0 -2
- package/dist/api/resources/chat/client/requests/index.js +0 -2
- package/dist/api/resources/chat/index.d.ts +0 -1
- package/dist/api/resources/chat/index.js +0 -17
- package/dist/api/resources/dag/client/Client.d.ts +0 -81
- package/dist/api/resources/dag/client/Client.js +0 -276
- package/dist/api/resources/dag/client/index.d.ts +0 -1
- package/dist/api/resources/dag/client/index.js +0 -17
- package/dist/api/resources/dag/client/requests/SyncDagCreate.d.ts +0 -26
- package/dist/api/resources/dag/client/requests/index.d.ts +0 -2
- package/dist/api/resources/dag/client/requests/index.js +0 -2
- package/dist/api/resources/dag/index.d.ts +0 -1
- package/dist/api/resources/dag/index.js +0 -17
- package/dist/api/resources/entities/client/Client.d.ts +0 -119
- package/dist/api/resources/entities/client/Client.js +0 -480
- package/dist/api/resources/entities/client/index.d.ts +0 -1
- package/dist/api/resources/entities/client/index.js +0 -17
- package/dist/api/resources/entities/client/requests/GetEntityDefinitionsBySourceShortNameEntitiesDefinitionsBySourceGetRequest.d.ts +0 -12
- package/dist/api/resources/entities/client/requests/GetEntityDefinitionsBySourceShortNameEntitiesDefinitionsBySourceGetRequest.js +0 -5
- package/dist/api/resources/entities/client/requests/index.d.ts +0 -3
- package/dist/api/resources/entities/client/requests/index.js +0 -2
- package/dist/api/resources/entities/index.d.ts +0 -2
- package/dist/api/resources/entities/index.js +0 -18
- package/dist/api/resources/entities/types/index.d.ts +0 -1
- package/dist/api/resources/entities/types/index.js +0 -17
- package/dist/api/resources/transformers/client/Client.d.ts +0 -58
- package/dist/api/resources/transformers/client/Client.js +0 -199
- package/dist/api/resources/transformers/client/index.d.ts +0 -1
- package/dist/api/resources/transformers/client/index.js +0 -17
- package/dist/api/resources/transformers/client/requests/index.d.ts +0 -1
- package/dist/api/resources/transformers/client/requests/index.js +0 -2
- package/dist/api/resources/transformers/index.d.ts +0 -1
- package/dist/api/resources/transformers/index.js +0 -17
- package/dist/api/resources/users/client/Client.d.ts +0 -48
- package/dist/api/resources/users/client/Client.js +0 -135
- package/dist/api/resources/users/client/index.d.ts +0 -1
- package/dist/api/resources/users/client/index.js +0 -2
- package/dist/api/resources/users/index.d.ts +0 -1
- package/dist/api/resources/users/index.js +0 -17
- package/dist/api/types/DestinationWithAuthenticationFields.js +0 -5
- package/dist/api/types/EmbeddingModelWithAuthenticationFields.js +0 -5
- package/dist/api/types/EntityCount.d.ts +0 -9
- package/dist/api/types/EntityCount.js +0 -5
- package/dist/api/types/Organization.d.ts +0 -13
- package/dist/api/types/Organization.js +0 -5
- package/dist/api/types/ResponseType.d.ts +0 -11
- package/dist/api/types/ResponseType.js +0 -10
- package/dist/api/types/SourceWithAuthenticationFields.js +0 -5
- package/dist/api/types/UserCreate.d.ts +0 -11
- package/dist/api/types/UserCreate.js +0 -5
- package/dist/serialization/resources/chat/client/index.d.ts +0 -2
- package/dist/serialization/resources/chat/client/index.js +0 -41
- package/dist/serialization/resources/chat/client/listChats.d.ts +0 -11
- package/dist/serialization/resources/chat/client/listChats.js +0 -42
- package/dist/serialization/resources/chat/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/chat/client/requests/index.js +0 -5
- package/dist/serialization/resources/chat/index.d.ts +0 -1
- package/dist/serialization/resources/chat/index.js +0 -17
- package/dist/serialization/resources/dag/client/index.d.ts +0 -1
- package/dist/serialization/resources/dag/client/index.js +0 -17
- package/dist/serialization/resources/dag/client/requests/SyncDagCreate.d.ts +0 -18
- package/dist/serialization/resources/dag/client/requests/SyncDagUpdate.d.ts +0 -18
- package/dist/serialization/resources/dag/client/requests/index.d.ts +0 -2
- package/dist/serialization/resources/dag/client/requests/index.js +0 -7
- package/dist/serialization/resources/dag/index.d.ts +0 -1
- package/dist/serialization/resources/dag/index.js +0 -17
- package/dist/serialization/resources/entities/client/getEntityDefinitionsByIds.d.ts +0 -15
- package/dist/serialization/resources/entities/client/getEntityDefinitionsByIds.js +0 -43
- package/dist/serialization/resources/entities/client/getEntityDefinitionsBySourceShortName.d.ts +0 -11
- package/dist/serialization/resources/entities/client/getEntityDefinitionsBySourceShortName.js +0 -42
- package/dist/serialization/resources/entities/client/index.d.ts +0 -5
- package/dist/serialization/resources/entities/client/index.js +0 -44
- package/dist/serialization/resources/entities/client/listEntityDefinitions.d.ts +0 -11
- package/dist/serialization/resources/entities/client/listEntityDefinitions.js +0 -42
- package/dist/serialization/resources/entities/client/listEntityRelations.d.ts +0 -11
- package/dist/serialization/resources/entities/client/listEntityRelations.js +0 -42
- package/dist/serialization/resources/entities/client/requests/EntityRelationCreate.d.ts +0 -15
- package/dist/serialization/resources/entities/client/requests/index.d.ts +0 -2
- package/dist/serialization/resources/entities/client/requests/index.js +0 -7
- package/dist/serialization/resources/entities/index.d.ts +0 -2
- package/dist/serialization/resources/entities/index.js +0 -18
- package/dist/serialization/resources/entities/types/index.d.ts +0 -1
- package/dist/serialization/resources/entities/types/index.js +0 -17
- package/dist/serialization/resources/transformers/client/index.d.ts +0 -2
- package/dist/serialization/resources/transformers/client/index.js +0 -41
- package/dist/serialization/resources/transformers/client/listTransformers.d.ts +0 -11
- package/dist/serialization/resources/transformers/client/listTransformers.js +0 -42
- package/dist/serialization/resources/transformers/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/transformers/client/requests/index.js +0 -5
- package/dist/serialization/resources/transformers/index.d.ts +0 -1
- package/dist/serialization/resources/transformers/index.js +0 -17
- package/dist/serialization/types/EntityCount.d.ts +0 -12
- package/dist/serialization/types/EntityCount.js +0 -43
- package/dist/serialization/types/Organization.d.ts +0 -16
- package/dist/serialization/types/Organization.js +0 -47
- package/dist/serialization/types/ResponseType.d.ts +0 -10
- package/dist/serialization/types/ResponseType.js +0 -41
- package/dist/serialization/types/UserCreate.d.ts +0 -14
- package/dist/serialization/types/UserCreate.js +0 -45
- package/serialization/resources/chat/client/index.d.ts +0 -2
- package/serialization/resources/chat/client/index.js +0 -41
- package/serialization/resources/chat/client/listChats.d.ts +0 -11
- package/serialization/resources/chat/client/listChats.js +0 -42
- package/serialization/resources/chat/client/requests/index.d.ts +0 -1
- package/serialization/resources/chat/client/requests/index.js +0 -5
- package/serialization/resources/chat/index.d.ts +0 -1
- package/serialization/resources/chat/index.js +0 -17
- package/serialization/resources/dag/client/index.d.ts +0 -1
- package/serialization/resources/dag/client/index.js +0 -17
- package/serialization/resources/dag/client/requests/SyncDagCreate.d.ts +0 -18
- package/serialization/resources/dag/client/requests/SyncDagUpdate.d.ts +0 -18
- package/serialization/resources/dag/client/requests/index.d.ts +0 -2
- package/serialization/resources/dag/client/requests/index.js +0 -7
- package/serialization/resources/dag/index.d.ts +0 -1
- package/serialization/resources/dag/index.js +0 -17
- package/serialization/resources/entities/client/getEntityDefinitionsByIds.d.ts +0 -15
- package/serialization/resources/entities/client/getEntityDefinitionsByIds.js +0 -43
- package/serialization/resources/entities/client/getEntityDefinitionsBySourceShortName.d.ts +0 -11
- package/serialization/resources/entities/client/getEntityDefinitionsBySourceShortName.js +0 -42
- package/serialization/resources/entities/client/index.d.ts +0 -5
- package/serialization/resources/entities/client/index.js +0 -44
- package/serialization/resources/entities/client/listEntityDefinitions.d.ts +0 -11
- package/serialization/resources/entities/client/listEntityDefinitions.js +0 -42
- package/serialization/resources/entities/client/listEntityRelations.d.ts +0 -11
- package/serialization/resources/entities/client/listEntityRelations.js +0 -42
- package/serialization/resources/entities/client/requests/EntityRelationCreate.d.ts +0 -15
- package/serialization/resources/entities/client/requests/index.d.ts +0 -2
- package/serialization/resources/entities/client/requests/index.js +0 -7
- package/serialization/resources/entities/index.d.ts +0 -2
- package/serialization/resources/entities/index.js +0 -18
- package/serialization/resources/entities/types/index.d.ts +0 -1
- package/serialization/resources/entities/types/index.js +0 -17
- package/serialization/resources/transformers/client/index.d.ts +0 -2
- package/serialization/resources/transformers/client/index.js +0 -41
- package/serialization/resources/transformers/client/listTransformers.d.ts +0 -11
- package/serialization/resources/transformers/client/listTransformers.js +0 -42
- package/serialization/resources/transformers/client/requests/index.d.ts +0 -1
- package/serialization/resources/transformers/client/requests/index.js +0 -5
- package/serialization/resources/transformers/index.d.ts +0 -1
- package/serialization/resources/transformers/index.js +0 -17
- package/serialization/types/EntityCount.d.ts +0 -12
- package/serialization/types/EntityCount.js +0 -43
- package/serialization/types/Organization.d.ts +0 -16
- package/serialization/types/Organization.js +0 -47
- package/serialization/types/ResponseType.d.ts +0 -10
- package/serialization/types/ResponseType.js +0 -41
- package/serialization/types/UserCreate.d.ts +0 -14
- package/serialization/types/UserCreate.js +0 -45
- /package/api/{resources/chat/client/requests → types}/ChatCreate.js +0 -0
- /package/api/{resources/chat/client/requests/ListChatsChatGetRequest.js → types/DestinationWithConfigFields.js} +0 -0
- /package/api/{resources/dag/client/requests/SyncDagCreate.js → types/EmbeddingModelWithConfigFields.js} +0 -0
- /package/api/{resources/entities/client/requests → types}/EntityDefinitionCreate.js +0 -0
- /package/api/{resources/entities/types → types}/EntityDefinitionCreateEntitySchema.d.ts +0 -0
- /package/api/{resources/entities/types → types}/EntityDefinitionCreateEntitySchema.js +0 -0
- /package/api/{resources/entities/client/requests → types}/EntityRelationCreate.js +0 -0
- /package/api/{resources/dag/client/requests/SyncDagUpdate.js → types/SourceWithConfigFields.js} +0 -0
- /package/{dist/api/resources/dag/client/requests → api/types}/SyncDagCreate.js +0 -0
- /package/{dist/api/resources/dag/client/requests → api/types}/SyncDagUpdate.js +0 -0
- /package/api/{resources/transformers/client/requests → types}/TransformerCreate.js +0 -0
- /package/dist/api/{resources/chat/client/requests → types}/ChatCreate.js +0 -0
- /package/{api/resources/entities/client/requests/GetEntityDefinitionsBySourceShortNameEntitiesDefinitionsBySourceGetRequest.js → dist/api/types/DestinationWithConfigFields.js} +0 -0
- /package/{api/types/DestinationWithAuthenticationFields.js → dist/api/types/EmbeddingModelWithConfigFields.js} +0 -0
- /package/dist/api/{resources/entities/client/requests → types}/EntityDefinitionCreate.js +0 -0
- /package/dist/api/{resources/entities/types → types}/EntityDefinitionCreateEntitySchema.d.ts +0 -0
- /package/dist/api/{resources/entities/types → types}/EntityDefinitionCreateEntitySchema.js +0 -0
- /package/dist/api/{resources/entities/client/requests → types}/EntityRelationCreate.js +0 -0
- /package/{api/types/EmbeddingModelWithAuthenticationFields.js → dist/api/types/SourceWithConfigFields.js} +0 -0
- /package/{api/types/EntityCount.js → dist/api/types/SyncDagCreate.js} +0 -0
- /package/{api/types/Organization.js → dist/api/types/SyncDagUpdate.js} +0 -0
- /package/dist/api/{resources/transformers/client/requests → types}/TransformerCreate.js +0 -0
package/reference.md
CHANGED
|
@@ -308,74 +308,9 @@ await client.apiKeys.readApiKey("id");
|
|
|
308
308
|
</dl>
|
|
309
309
|
</details>
|
|
310
310
|
|
|
311
|
-
## Users
|
|
312
|
-
|
|
313
|
-
<details><summary><code>client.users.<a href="/src/api/resources/users/client/Client.ts">readUser</a>() -> AirweaveSDK.User</code></summary>
|
|
314
|
-
<dl>
|
|
315
|
-
<dd>
|
|
316
|
-
|
|
317
|
-
#### 📝 Description
|
|
318
|
-
|
|
319
|
-
<dl>
|
|
320
|
-
<dd>
|
|
321
|
-
|
|
322
|
-
<dl>
|
|
323
|
-
<dd>
|
|
324
|
-
|
|
325
|
-
Get current user.
|
|
326
|
-
|
|
327
|
-
## Args:
|
|
328
|
-
|
|
329
|
-
current_user (User): The current user.
|
|
330
|
-
|
|
331
|
-
## Returns:
|
|
332
|
-
|
|
333
|
-
schemas.User: The user object.
|
|
334
|
-
|
|
335
|
-
</dd>
|
|
336
|
-
</dl>
|
|
337
|
-
</dd>
|
|
338
|
-
</dl>
|
|
339
|
-
|
|
340
|
-
#### 🔌 Usage
|
|
341
|
-
|
|
342
|
-
<dl>
|
|
343
|
-
<dd>
|
|
344
|
-
|
|
345
|
-
<dl>
|
|
346
|
-
<dd>
|
|
347
|
-
|
|
348
|
-
```typescript
|
|
349
|
-
await client.users.readUser();
|
|
350
|
-
```
|
|
351
|
-
|
|
352
|
-
</dd>
|
|
353
|
-
</dl>
|
|
354
|
-
</dd>
|
|
355
|
-
</dl>
|
|
356
|
-
|
|
357
|
-
#### ⚙️ Parameters
|
|
358
|
-
|
|
359
|
-
<dl>
|
|
360
|
-
<dd>
|
|
361
|
-
|
|
362
|
-
<dl>
|
|
363
|
-
<dd>
|
|
364
|
-
|
|
365
|
-
**requestOptions:** `Users.RequestOptions`
|
|
366
|
-
|
|
367
|
-
</dd>
|
|
368
|
-
</dl>
|
|
369
|
-
</dd>
|
|
370
|
-
</dl>
|
|
371
|
-
|
|
372
|
-
</dd>
|
|
373
|
-
</dl>
|
|
374
|
-
</details>
|
|
375
|
-
|
|
376
311
|
## Sources
|
|
377
312
|
|
|
378
|
-
<details><summary><code>client.sources.<a href="/src/api/resources/sources/client/Client.ts">readSource</a>(shortName) -> AirweaveSDK.
|
|
313
|
+
<details><summary><code>client.sources.<a href="/src/api/resources/sources/client/Client.ts">readSource</a>(shortName) -> AirweaveSDK.SourceWithConfigFields</code></summary>
|
|
379
314
|
<dl>
|
|
380
315
|
<dd>
|
|
381
316
|
|
|
@@ -514,7 +449,7 @@ await client.sources.readSources();
|
|
|
514
449
|
|
|
515
450
|
## EmbeddingModels
|
|
516
451
|
|
|
517
|
-
<details><summary><code>client.embeddingModels.<a href="/src/api/resources/embeddingModels/client/Client.ts">readEmbeddingModel</a>(shortName) -> AirweaveSDK.
|
|
452
|
+
<details><summary><code>client.embeddingModels.<a href="/src/api/resources/embeddingModels/client/Client.ts">readEmbeddingModel</a>(shortName) -> AirweaveSDK.EmbeddingModelWithConfigFields</code></summary>
|
|
518
453
|
<dl>
|
|
519
454
|
<dd>
|
|
520
455
|
|
|
@@ -892,7 +827,7 @@ Expects a POST body with:
|
|
|
892
827
|
integration_type: The type of integration to connect to.
|
|
893
828
|
short_name: The short name of the integration to connect to.
|
|
894
829
|
name: The name of the connection.
|
|
895
|
-
|
|
830
|
+
config_fields: The config fields for the integration.
|
|
896
831
|
user: The current user.
|
|
897
832
|
|
|
898
833
|
## Returns:
|
|
@@ -914,7 +849,7 @@ Expects a POST body with:
|
|
|
914
849
|
|
|
915
850
|
```typescript
|
|
916
851
|
await client.connections.connectIntegration("source", "short_name", {
|
|
917
|
-
|
|
852
|
+
configFields: {
|
|
918
853
|
key: "value",
|
|
919
854
|
},
|
|
920
855
|
});
|
|
@@ -1519,7 +1454,6 @@ List all sync jobs across all syncs.
|
|
|
1519
1454
|
db: The database session
|
|
1520
1455
|
skip: The number of jobs to skip
|
|
1521
1456
|
limit: The number of jobs to return
|
|
1522
|
-
status: Filter by job status
|
|
1523
1457
|
user: The current user
|
|
1524
1458
|
|
|
1525
1459
|
## Returns:
|
|
@@ -2058,8 +1992,7 @@ Server-Sent Events (SSE) endpoint to subscribe to a sync job's progress.
|
|
|
2058
1992
|
## Args:
|
|
2059
1993
|
|
|
2060
1994
|
job_id: The ID of the job to subscribe to
|
|
2061
|
-
|
|
2062
|
-
db: The database session
|
|
1995
|
+
user: The current user
|
|
2063
1996
|
|
|
2064
1997
|
## Returns:
|
|
2065
1998
|
|
|
@@ -2179,7 +2112,7 @@ await client.sync.getSyncDag("sync_id");
|
|
|
2179
2112
|
|
|
2180
2113
|
## Search
|
|
2181
2114
|
|
|
2182
|
-
<details><summary><code>client.search.<a href="/src/api/resources/search/client/Client.ts">search</a>({ ...params }) -> Record<string, unknown
|
|
2115
|
+
<details><summary><code>client.search.<a href="/src/api/resources/search/client/Client.ts">search</a>({ ...params }) -> Record<string, unknown>[]</code></summary>
|
|
2183
2116
|
<dl>
|
|
2184
2117
|
<dd>
|
|
2185
2118
|
|
|
@@ -2198,12 +2131,11 @@ Search for documents within a specific sync.
|
|
|
2198
2131
|
db: The database session
|
|
2199
2132
|
sync_id: The ID of the sync to search within
|
|
2200
2133
|
query: The search query text
|
|
2201
|
-
response_type: Type of response (raw results or AI completion)
|
|
2202
2134
|
user: The current user
|
|
2203
2135
|
|
|
2204
2136
|
## Returns:
|
|
2205
2137
|
|
|
2206
|
-
dict: A
|
|
2138
|
+
list[dict]: A list of search results
|
|
2207
2139
|
|
|
2208
2140
|
</dd>
|
|
2209
2141
|
</dl>
|
|
@@ -2857,890 +2789,3 @@ await client.whiteLabels.listWhiteLabelSyncs("white_label_id");
|
|
|
2857
2789
|
</dd>
|
|
2858
2790
|
</dl>
|
|
2859
2791
|
</details>
|
|
2860
|
-
|
|
2861
|
-
## Chat
|
|
2862
|
-
|
|
2863
|
-
<details><summary><code>client.chat.<a href="/src/api/resources/chat/client/Client.ts">listChats</a>({ ...params }) -> AirweaveSDK.Chat[]</code></summary>
|
|
2864
|
-
<dl>
|
|
2865
|
-
<dd>
|
|
2866
|
-
|
|
2867
|
-
#### 📝 Description
|
|
2868
|
-
|
|
2869
|
-
<dl>
|
|
2870
|
-
<dd>
|
|
2871
|
-
|
|
2872
|
-
<dl>
|
|
2873
|
-
<dd>
|
|
2874
|
-
|
|
2875
|
-
List all chats for the current user.
|
|
2876
|
-
|
|
2877
|
-
## Args:
|
|
2878
|
-
|
|
2879
|
-
db: The database session.
|
|
2880
|
-
skip: The number of chats to skip.
|
|
2881
|
-
limit: The number of chats to return.
|
|
2882
|
-
user: The current user.
|
|
2883
|
-
|
|
2884
|
-
## Returns:
|
|
2885
|
-
|
|
2886
|
-
list[schemas.Chat]: The list of chats.
|
|
2887
|
-
|
|
2888
|
-
</dd>
|
|
2889
|
-
</dl>
|
|
2890
|
-
</dd>
|
|
2891
|
-
</dl>
|
|
2892
|
-
|
|
2893
|
-
#### 🔌 Usage
|
|
2894
|
-
|
|
2895
|
-
<dl>
|
|
2896
|
-
<dd>
|
|
2897
|
-
|
|
2898
|
-
<dl>
|
|
2899
|
-
<dd>
|
|
2900
|
-
|
|
2901
|
-
```typescript
|
|
2902
|
-
await client.chat.listChats();
|
|
2903
|
-
```
|
|
2904
|
-
|
|
2905
|
-
</dd>
|
|
2906
|
-
</dl>
|
|
2907
|
-
</dd>
|
|
2908
|
-
</dl>
|
|
2909
|
-
|
|
2910
|
-
#### ⚙️ Parameters
|
|
2911
|
-
|
|
2912
|
-
<dl>
|
|
2913
|
-
<dd>
|
|
2914
|
-
|
|
2915
|
-
<dl>
|
|
2916
|
-
<dd>
|
|
2917
|
-
|
|
2918
|
-
**request:** `AirweaveSDK.ListChatsChatGetRequest`
|
|
2919
|
-
|
|
2920
|
-
</dd>
|
|
2921
|
-
</dl>
|
|
2922
|
-
|
|
2923
|
-
<dl>
|
|
2924
|
-
<dd>
|
|
2925
|
-
|
|
2926
|
-
**requestOptions:** `Chat.RequestOptions`
|
|
2927
|
-
|
|
2928
|
-
</dd>
|
|
2929
|
-
</dl>
|
|
2930
|
-
</dd>
|
|
2931
|
-
</dl>
|
|
2932
|
-
|
|
2933
|
-
</dd>
|
|
2934
|
-
</dl>
|
|
2935
|
-
</details>
|
|
2936
|
-
|
|
2937
|
-
<details><summary><code>client.chat.<a href="/src/api/resources/chat/client/Client.ts">createChat</a>({ ...params }) -> AirweaveSDK.Chat</code></summary>
|
|
2938
|
-
<dl>
|
|
2939
|
-
<dd>
|
|
2940
|
-
|
|
2941
|
-
#### 📝 Description
|
|
2942
|
-
|
|
2943
|
-
<dl>
|
|
2944
|
-
<dd>
|
|
2945
|
-
|
|
2946
|
-
<dl>
|
|
2947
|
-
<dd>
|
|
2948
|
-
|
|
2949
|
-
Create a new chat.
|
|
2950
|
-
|
|
2951
|
-
## Args:
|
|
2952
|
-
|
|
2953
|
-
db: The database session.
|
|
2954
|
-
chat_in: The chat creation data.
|
|
2955
|
-
user: The current user.
|
|
2956
|
-
|
|
2957
|
-
## Returns:
|
|
2958
|
-
|
|
2959
|
-
schemas.Chat: The created chat.
|
|
2960
|
-
|
|
2961
|
-
</dd>
|
|
2962
|
-
</dl>
|
|
2963
|
-
</dd>
|
|
2964
|
-
</dl>
|
|
2965
|
-
|
|
2966
|
-
#### 🔌 Usage
|
|
2967
|
-
|
|
2968
|
-
<dl>
|
|
2969
|
-
<dd>
|
|
2970
|
-
|
|
2971
|
-
<dl>
|
|
2972
|
-
<dd>
|
|
2973
|
-
|
|
2974
|
-
```typescript
|
|
2975
|
-
await client.chat.createChat({
|
|
2976
|
-
name: "name",
|
|
2977
|
-
syncId: "sync_id",
|
|
2978
|
-
});
|
|
2979
|
-
```
|
|
2980
|
-
|
|
2981
|
-
</dd>
|
|
2982
|
-
</dl>
|
|
2983
|
-
</dd>
|
|
2984
|
-
</dl>
|
|
2985
|
-
|
|
2986
|
-
#### ⚙️ Parameters
|
|
2987
|
-
|
|
2988
|
-
<dl>
|
|
2989
|
-
<dd>
|
|
2990
|
-
|
|
2991
|
-
<dl>
|
|
2992
|
-
<dd>
|
|
2993
|
-
|
|
2994
|
-
**request:** `AirweaveSDK.ChatCreate`
|
|
2995
|
-
|
|
2996
|
-
</dd>
|
|
2997
|
-
</dl>
|
|
2998
|
-
|
|
2999
|
-
<dl>
|
|
3000
|
-
<dd>
|
|
3001
|
-
|
|
3002
|
-
**requestOptions:** `Chat.RequestOptions`
|
|
3003
|
-
|
|
3004
|
-
</dd>
|
|
3005
|
-
</dl>
|
|
3006
|
-
</dd>
|
|
3007
|
-
</dl>
|
|
3008
|
-
|
|
3009
|
-
</dd>
|
|
3010
|
-
</dl>
|
|
3011
|
-
</details>
|
|
3012
|
-
|
|
3013
|
-
## Dag
|
|
3014
|
-
|
|
3015
|
-
<details><summary><code>client.dag.<a href="/src/api/resources/dag/client/Client.ts">getSyncDag</a>(syncId) -> AirweaveSDK.SyncDag</code></summary>
|
|
3016
|
-
<dl>
|
|
3017
|
-
<dd>
|
|
3018
|
-
|
|
3019
|
-
#### 📝 Description
|
|
3020
|
-
|
|
3021
|
-
<dl>
|
|
3022
|
-
<dd>
|
|
3023
|
-
|
|
3024
|
-
<dl>
|
|
3025
|
-
<dd>
|
|
3026
|
-
|
|
3027
|
-
Get the DAG definition for a sync.
|
|
3028
|
-
|
|
3029
|
-
</dd>
|
|
3030
|
-
</dl>
|
|
3031
|
-
</dd>
|
|
3032
|
-
</dl>
|
|
3033
|
-
|
|
3034
|
-
#### 🔌 Usage
|
|
3035
|
-
|
|
3036
|
-
<dl>
|
|
3037
|
-
<dd>
|
|
3038
|
-
|
|
3039
|
-
<dl>
|
|
3040
|
-
<dd>
|
|
3041
|
-
|
|
3042
|
-
```typescript
|
|
3043
|
-
await client.dag.getSyncDag("sync_id");
|
|
3044
|
-
```
|
|
3045
|
-
|
|
3046
|
-
</dd>
|
|
3047
|
-
</dl>
|
|
3048
|
-
</dd>
|
|
3049
|
-
</dl>
|
|
3050
|
-
|
|
3051
|
-
#### ⚙️ Parameters
|
|
3052
|
-
|
|
3053
|
-
<dl>
|
|
3054
|
-
<dd>
|
|
3055
|
-
|
|
3056
|
-
<dl>
|
|
3057
|
-
<dd>
|
|
3058
|
-
|
|
3059
|
-
**syncId:** `string`
|
|
3060
|
-
|
|
3061
|
-
</dd>
|
|
3062
|
-
</dl>
|
|
3063
|
-
|
|
3064
|
-
<dl>
|
|
3065
|
-
<dd>
|
|
3066
|
-
|
|
3067
|
-
**requestOptions:** `Dag.RequestOptions`
|
|
3068
|
-
|
|
3069
|
-
</dd>
|
|
3070
|
-
</dl>
|
|
3071
|
-
</dd>
|
|
3072
|
-
</dl>
|
|
3073
|
-
|
|
3074
|
-
</dd>
|
|
3075
|
-
</dl>
|
|
3076
|
-
</details>
|
|
3077
|
-
|
|
3078
|
-
<details><summary><code>client.dag.<a href="/src/api/resources/dag/client/Client.ts">createSyncDag</a>(syncId, { ...params }) -> AirweaveSDK.SyncDag</code></summary>
|
|
3079
|
-
<dl>
|
|
3080
|
-
<dd>
|
|
3081
|
-
|
|
3082
|
-
#### 📝 Description
|
|
3083
|
-
|
|
3084
|
-
<dl>
|
|
3085
|
-
<dd>
|
|
3086
|
-
|
|
3087
|
-
<dl>
|
|
3088
|
-
<dd>
|
|
3089
|
-
|
|
3090
|
-
Create a new DAG definition for a sync.
|
|
3091
|
-
|
|
3092
|
-
</dd>
|
|
3093
|
-
</dl>
|
|
3094
|
-
</dd>
|
|
3095
|
-
</dl>
|
|
3096
|
-
|
|
3097
|
-
#### 🔌 Usage
|
|
3098
|
-
|
|
3099
|
-
<dl>
|
|
3100
|
-
<dd>
|
|
3101
|
-
|
|
3102
|
-
<dl>
|
|
3103
|
-
<dd>
|
|
3104
|
-
|
|
3105
|
-
```typescript
|
|
3106
|
-
await client.dag.createSyncDag("sync_id", {
|
|
3107
|
-
name: "name",
|
|
3108
|
-
syncDagCreateSyncId: "sync_id",
|
|
3109
|
-
nodes: [
|
|
3110
|
-
{
|
|
3111
|
-
type: "source",
|
|
3112
|
-
name: "name",
|
|
3113
|
-
},
|
|
3114
|
-
],
|
|
3115
|
-
edges: [
|
|
3116
|
-
{
|
|
3117
|
-
fromNodeId: "from_node_id",
|
|
3118
|
-
toNodeId: "to_node_id",
|
|
3119
|
-
},
|
|
3120
|
-
],
|
|
3121
|
-
});
|
|
3122
|
-
```
|
|
3123
|
-
|
|
3124
|
-
</dd>
|
|
3125
|
-
</dl>
|
|
3126
|
-
</dd>
|
|
3127
|
-
</dl>
|
|
3128
|
-
|
|
3129
|
-
#### ⚙️ Parameters
|
|
3130
|
-
|
|
3131
|
-
<dl>
|
|
3132
|
-
<dd>
|
|
3133
|
-
|
|
3134
|
-
<dl>
|
|
3135
|
-
<dd>
|
|
3136
|
-
|
|
3137
|
-
**syncId:** `string`
|
|
3138
|
-
|
|
3139
|
-
</dd>
|
|
3140
|
-
</dl>
|
|
3141
|
-
|
|
3142
|
-
<dl>
|
|
3143
|
-
<dd>
|
|
3144
|
-
|
|
3145
|
-
**request:** `AirweaveSDK.SyncDagCreate`
|
|
3146
|
-
|
|
3147
|
-
</dd>
|
|
3148
|
-
</dl>
|
|
3149
|
-
|
|
3150
|
-
<dl>
|
|
3151
|
-
<dd>
|
|
3152
|
-
|
|
3153
|
-
**requestOptions:** `Dag.RequestOptions`
|
|
3154
|
-
|
|
3155
|
-
</dd>
|
|
3156
|
-
</dl>
|
|
3157
|
-
</dd>
|
|
3158
|
-
</dl>
|
|
3159
|
-
|
|
3160
|
-
</dd>
|
|
3161
|
-
</dl>
|
|
3162
|
-
</details>
|
|
3163
|
-
|
|
3164
|
-
<details><summary><code>client.dag.<a href="/src/api/resources/dag/client/Client.ts">updateSyncDag</a>(syncId, { ...params }) -> AirweaveSDK.SyncDag</code></summary>
|
|
3165
|
-
<dl>
|
|
3166
|
-
<dd>
|
|
3167
|
-
|
|
3168
|
-
#### 📝 Description
|
|
3169
|
-
|
|
3170
|
-
<dl>
|
|
3171
|
-
<dd>
|
|
3172
|
-
|
|
3173
|
-
<dl>
|
|
3174
|
-
<dd>
|
|
3175
|
-
|
|
3176
|
-
Update a DAG definition for a sync.
|
|
3177
|
-
|
|
3178
|
-
</dd>
|
|
3179
|
-
</dl>
|
|
3180
|
-
</dd>
|
|
3181
|
-
</dl>
|
|
3182
|
-
|
|
3183
|
-
#### 🔌 Usage
|
|
3184
|
-
|
|
3185
|
-
<dl>
|
|
3186
|
-
<dd>
|
|
3187
|
-
|
|
3188
|
-
<dl>
|
|
3189
|
-
<dd>
|
|
3190
|
-
|
|
3191
|
-
```typescript
|
|
3192
|
-
await client.dag.updateSyncDag("sync_id", {
|
|
3193
|
-
name: "name",
|
|
3194
|
-
syncDagUpdateSyncId: "sync_id",
|
|
3195
|
-
});
|
|
3196
|
-
```
|
|
3197
|
-
|
|
3198
|
-
</dd>
|
|
3199
|
-
</dl>
|
|
3200
|
-
</dd>
|
|
3201
|
-
</dl>
|
|
3202
|
-
|
|
3203
|
-
#### ⚙️ Parameters
|
|
3204
|
-
|
|
3205
|
-
<dl>
|
|
3206
|
-
<dd>
|
|
3207
|
-
|
|
3208
|
-
<dl>
|
|
3209
|
-
<dd>
|
|
3210
|
-
|
|
3211
|
-
**syncId:** `string`
|
|
3212
|
-
|
|
3213
|
-
</dd>
|
|
3214
|
-
</dl>
|
|
3215
|
-
|
|
3216
|
-
<dl>
|
|
3217
|
-
<dd>
|
|
3218
|
-
|
|
3219
|
-
**request:** `AirweaveSDK.SyncDagUpdate`
|
|
3220
|
-
|
|
3221
|
-
</dd>
|
|
3222
|
-
</dl>
|
|
3223
|
-
|
|
3224
|
-
<dl>
|
|
3225
|
-
<dd>
|
|
3226
|
-
|
|
3227
|
-
**requestOptions:** `Dag.RequestOptions`
|
|
3228
|
-
|
|
3229
|
-
</dd>
|
|
3230
|
-
</dl>
|
|
3231
|
-
</dd>
|
|
3232
|
-
</dl>
|
|
3233
|
-
|
|
3234
|
-
</dd>
|
|
3235
|
-
</dl>
|
|
3236
|
-
</details>
|
|
3237
|
-
|
|
3238
|
-
## Entities
|
|
3239
|
-
|
|
3240
|
-
<details><summary><code>client.entities.<a href="/src/api/resources/entities/client/Client.ts">listEntityDefinitions</a>() -> AirweaveSDK.EntityDefinition[]</code></summary>
|
|
3241
|
-
<dl>
|
|
3242
|
-
<dd>
|
|
3243
|
-
|
|
3244
|
-
#### 📝 Description
|
|
3245
|
-
|
|
3246
|
-
<dl>
|
|
3247
|
-
<dd>
|
|
3248
|
-
|
|
3249
|
-
<dl>
|
|
3250
|
-
<dd>
|
|
3251
|
-
|
|
3252
|
-
List all entity definitions for the current user's organization.
|
|
3253
|
-
|
|
3254
|
-
</dd>
|
|
3255
|
-
</dl>
|
|
3256
|
-
</dd>
|
|
3257
|
-
</dl>
|
|
3258
|
-
|
|
3259
|
-
#### 🔌 Usage
|
|
3260
|
-
|
|
3261
|
-
<dl>
|
|
3262
|
-
<dd>
|
|
3263
|
-
|
|
3264
|
-
<dl>
|
|
3265
|
-
<dd>
|
|
3266
|
-
|
|
3267
|
-
```typescript
|
|
3268
|
-
await client.entities.listEntityDefinitions();
|
|
3269
|
-
```
|
|
3270
|
-
|
|
3271
|
-
</dd>
|
|
3272
|
-
</dl>
|
|
3273
|
-
</dd>
|
|
3274
|
-
</dl>
|
|
3275
|
-
|
|
3276
|
-
#### ⚙️ Parameters
|
|
3277
|
-
|
|
3278
|
-
<dl>
|
|
3279
|
-
<dd>
|
|
3280
|
-
|
|
3281
|
-
<dl>
|
|
3282
|
-
<dd>
|
|
3283
|
-
|
|
3284
|
-
**requestOptions:** `Entities.RequestOptions`
|
|
3285
|
-
|
|
3286
|
-
</dd>
|
|
3287
|
-
</dl>
|
|
3288
|
-
</dd>
|
|
3289
|
-
</dl>
|
|
3290
|
-
|
|
3291
|
-
</dd>
|
|
3292
|
-
</dl>
|
|
3293
|
-
</details>
|
|
3294
|
-
|
|
3295
|
-
<details><summary><code>client.entities.<a href="/src/api/resources/entities/client/Client.ts">createEntityDefinition</a>({ ...params }) -> AirweaveSDK.EntityDefinition</code></summary>
|
|
3296
|
-
<dl>
|
|
3297
|
-
<dd>
|
|
3298
|
-
|
|
3299
|
-
#### 📝 Description
|
|
3300
|
-
|
|
3301
|
-
<dl>
|
|
3302
|
-
<dd>
|
|
3303
|
-
|
|
3304
|
-
<dl>
|
|
3305
|
-
<dd>
|
|
3306
|
-
|
|
3307
|
-
Create a new entity definition.
|
|
3308
|
-
|
|
3309
|
-
</dd>
|
|
3310
|
-
</dl>
|
|
3311
|
-
</dd>
|
|
3312
|
-
</dl>
|
|
3313
|
-
|
|
3314
|
-
#### 🔌 Usage
|
|
3315
|
-
|
|
3316
|
-
<dl>
|
|
3317
|
-
<dd>
|
|
3318
|
-
|
|
3319
|
-
<dl>
|
|
3320
|
-
<dd>
|
|
3321
|
-
|
|
3322
|
-
```typescript
|
|
3323
|
-
await client.entities.createEntityDefinition({
|
|
3324
|
-
name: "name",
|
|
3325
|
-
type: "file",
|
|
3326
|
-
entitySchema: ["entity_schema"],
|
|
3327
|
-
moduleName: "module_name",
|
|
3328
|
-
className: "class_name",
|
|
3329
|
-
});
|
|
3330
|
-
```
|
|
3331
|
-
|
|
3332
|
-
</dd>
|
|
3333
|
-
</dl>
|
|
3334
|
-
</dd>
|
|
3335
|
-
</dl>
|
|
3336
|
-
|
|
3337
|
-
#### ⚙️ Parameters
|
|
3338
|
-
|
|
3339
|
-
<dl>
|
|
3340
|
-
<dd>
|
|
3341
|
-
|
|
3342
|
-
<dl>
|
|
3343
|
-
<dd>
|
|
3344
|
-
|
|
3345
|
-
**request:** `AirweaveSDK.EntityDefinitionCreate`
|
|
3346
|
-
|
|
3347
|
-
</dd>
|
|
3348
|
-
</dl>
|
|
3349
|
-
|
|
3350
|
-
<dl>
|
|
3351
|
-
<dd>
|
|
3352
|
-
|
|
3353
|
-
**requestOptions:** `Entities.RequestOptions`
|
|
3354
|
-
|
|
3355
|
-
</dd>
|
|
3356
|
-
</dl>
|
|
3357
|
-
</dd>
|
|
3358
|
-
</dl>
|
|
3359
|
-
|
|
3360
|
-
</dd>
|
|
3361
|
-
</dl>
|
|
3362
|
-
</details>
|
|
3363
|
-
|
|
3364
|
-
<details><summary><code>client.entities.<a href="/src/api/resources/entities/client/Client.ts">listEntityRelations</a>() -> AirweaveSDK.EntityRelation[]</code></summary>
|
|
3365
|
-
<dl>
|
|
3366
|
-
<dd>
|
|
3367
|
-
|
|
3368
|
-
#### 📝 Description
|
|
3369
|
-
|
|
3370
|
-
<dl>
|
|
3371
|
-
<dd>
|
|
3372
|
-
|
|
3373
|
-
<dl>
|
|
3374
|
-
<dd>
|
|
3375
|
-
|
|
3376
|
-
List all entity relations for the current user's organization.
|
|
3377
|
-
|
|
3378
|
-
</dd>
|
|
3379
|
-
</dl>
|
|
3380
|
-
</dd>
|
|
3381
|
-
</dl>
|
|
3382
|
-
|
|
3383
|
-
#### 🔌 Usage
|
|
3384
|
-
|
|
3385
|
-
<dl>
|
|
3386
|
-
<dd>
|
|
3387
|
-
|
|
3388
|
-
<dl>
|
|
3389
|
-
<dd>
|
|
3390
|
-
|
|
3391
|
-
```typescript
|
|
3392
|
-
await client.entities.listEntityRelations();
|
|
3393
|
-
```
|
|
3394
|
-
|
|
3395
|
-
</dd>
|
|
3396
|
-
</dl>
|
|
3397
|
-
</dd>
|
|
3398
|
-
</dl>
|
|
3399
|
-
|
|
3400
|
-
#### ⚙️ Parameters
|
|
3401
|
-
|
|
3402
|
-
<dl>
|
|
3403
|
-
<dd>
|
|
3404
|
-
|
|
3405
|
-
<dl>
|
|
3406
|
-
<dd>
|
|
3407
|
-
|
|
3408
|
-
**requestOptions:** `Entities.RequestOptions`
|
|
3409
|
-
|
|
3410
|
-
</dd>
|
|
3411
|
-
</dl>
|
|
3412
|
-
</dd>
|
|
3413
|
-
</dl>
|
|
3414
|
-
|
|
3415
|
-
</dd>
|
|
3416
|
-
</dl>
|
|
3417
|
-
</details>
|
|
3418
|
-
|
|
3419
|
-
<details><summary><code>client.entities.<a href="/src/api/resources/entities/client/Client.ts">createEntityRelation</a>({ ...params }) -> AirweaveSDK.EntityRelation</code></summary>
|
|
3420
|
-
<dl>
|
|
3421
|
-
<dd>
|
|
3422
|
-
|
|
3423
|
-
#### 📝 Description
|
|
3424
|
-
|
|
3425
|
-
<dl>
|
|
3426
|
-
<dd>
|
|
3427
|
-
|
|
3428
|
-
<dl>
|
|
3429
|
-
<dd>
|
|
3430
|
-
|
|
3431
|
-
Create a new entity relation.
|
|
3432
|
-
|
|
3433
|
-
</dd>
|
|
3434
|
-
</dl>
|
|
3435
|
-
</dd>
|
|
3436
|
-
</dl>
|
|
3437
|
-
|
|
3438
|
-
#### 🔌 Usage
|
|
3439
|
-
|
|
3440
|
-
<dl>
|
|
3441
|
-
<dd>
|
|
3442
|
-
|
|
3443
|
-
<dl>
|
|
3444
|
-
<dd>
|
|
3445
|
-
|
|
3446
|
-
```typescript
|
|
3447
|
-
await client.entities.createEntityRelation({
|
|
3448
|
-
name: "name",
|
|
3449
|
-
fromEntityId: "from_entity_id",
|
|
3450
|
-
toEntityId: "to_entity_id",
|
|
3451
|
-
});
|
|
3452
|
-
```
|
|
3453
|
-
|
|
3454
|
-
</dd>
|
|
3455
|
-
</dl>
|
|
3456
|
-
</dd>
|
|
3457
|
-
</dl>
|
|
3458
|
-
|
|
3459
|
-
#### ⚙️ Parameters
|
|
3460
|
-
|
|
3461
|
-
<dl>
|
|
3462
|
-
<dd>
|
|
3463
|
-
|
|
3464
|
-
<dl>
|
|
3465
|
-
<dd>
|
|
3466
|
-
|
|
3467
|
-
**request:** `AirweaveSDK.EntityRelationCreate`
|
|
3468
|
-
|
|
3469
|
-
</dd>
|
|
3470
|
-
</dl>
|
|
3471
|
-
|
|
3472
|
-
<dl>
|
|
3473
|
-
<dd>
|
|
3474
|
-
|
|
3475
|
-
**requestOptions:** `Entities.RequestOptions`
|
|
3476
|
-
|
|
3477
|
-
</dd>
|
|
3478
|
-
</dl>
|
|
3479
|
-
</dd>
|
|
3480
|
-
</dl>
|
|
3481
|
-
|
|
3482
|
-
</dd>
|
|
3483
|
-
</dl>
|
|
3484
|
-
</details>
|
|
3485
|
-
|
|
3486
|
-
<details><summary><code>client.entities.<a href="/src/api/resources/entities/client/Client.ts">getEntityDefinitionsByIds</a>({ ...params }) -> AirweaveSDK.EntityDefinition[]</code></summary>
|
|
3487
|
-
<dl>
|
|
3488
|
-
<dd>
|
|
3489
|
-
|
|
3490
|
-
#### 📝 Description
|
|
3491
|
-
|
|
3492
|
-
<dl>
|
|
3493
|
-
<dd>
|
|
3494
|
-
|
|
3495
|
-
<dl>
|
|
3496
|
-
<dd>
|
|
3497
|
-
|
|
3498
|
-
Get multiple entity definitions by their IDs.
|
|
3499
|
-
|
|
3500
|
-
Args:
|
|
3501
|
-
ids: List of entity definition IDs to fetch
|
|
3502
|
-
db: Database session
|
|
3503
|
-
current_user: Current authenticated user
|
|
3504
|
-
|
|
3505
|
-
Returns:
|
|
3506
|
-
List of entity definitions matching the provided IDs
|
|
3507
|
-
|
|
3508
|
-
</dd>
|
|
3509
|
-
</dl>
|
|
3510
|
-
</dd>
|
|
3511
|
-
</dl>
|
|
3512
|
-
|
|
3513
|
-
#### 🔌 Usage
|
|
3514
|
-
|
|
3515
|
-
<dl>
|
|
3516
|
-
<dd>
|
|
3517
|
-
|
|
3518
|
-
<dl>
|
|
3519
|
-
<dd>
|
|
3520
|
-
|
|
3521
|
-
```typescript
|
|
3522
|
-
await client.entities.getEntityDefinitionsByIds(["string"]);
|
|
3523
|
-
```
|
|
3524
|
-
|
|
3525
|
-
</dd>
|
|
3526
|
-
</dl>
|
|
3527
|
-
</dd>
|
|
3528
|
-
</dl>
|
|
3529
|
-
|
|
3530
|
-
#### ⚙️ Parameters
|
|
3531
|
-
|
|
3532
|
-
<dl>
|
|
3533
|
-
<dd>
|
|
3534
|
-
|
|
3535
|
-
<dl>
|
|
3536
|
-
<dd>
|
|
3537
|
-
|
|
3538
|
-
**request:** `string[]`
|
|
3539
|
-
|
|
3540
|
-
</dd>
|
|
3541
|
-
</dl>
|
|
3542
|
-
|
|
3543
|
-
<dl>
|
|
3544
|
-
<dd>
|
|
3545
|
-
|
|
3546
|
-
**requestOptions:** `Entities.RequestOptions`
|
|
3547
|
-
|
|
3548
|
-
</dd>
|
|
3549
|
-
</dl>
|
|
3550
|
-
</dd>
|
|
3551
|
-
</dl>
|
|
3552
|
-
|
|
3553
|
-
</dd>
|
|
3554
|
-
</dl>
|
|
3555
|
-
</details>
|
|
3556
|
-
|
|
3557
|
-
<details><summary><code>client.entities.<a href="/src/api/resources/entities/client/Client.ts">getEntityDefinitionsBySourceShortName</a>({ ...params }) -> AirweaveSDK.EntityDefinition[]</code></summary>
|
|
3558
|
-
<dl>
|
|
3559
|
-
<dd>
|
|
3560
|
-
|
|
3561
|
-
#### 📝 Description
|
|
3562
|
-
|
|
3563
|
-
<dl>
|
|
3564
|
-
<dd>
|
|
3565
|
-
|
|
3566
|
-
<dl>
|
|
3567
|
-
<dd>
|
|
3568
|
-
|
|
3569
|
-
Get all entity definitions for a given source.
|
|
3570
|
-
|
|
3571
|
-
</dd>
|
|
3572
|
-
</dl>
|
|
3573
|
-
</dd>
|
|
3574
|
-
</dl>
|
|
3575
|
-
|
|
3576
|
-
#### 🔌 Usage
|
|
3577
|
-
|
|
3578
|
-
<dl>
|
|
3579
|
-
<dd>
|
|
3580
|
-
|
|
3581
|
-
<dl>
|
|
3582
|
-
<dd>
|
|
3583
|
-
|
|
3584
|
-
```typescript
|
|
3585
|
-
await client.entities.getEntityDefinitionsBySourceShortName({
|
|
3586
|
-
sourceShortName: "source_short_name",
|
|
3587
|
-
});
|
|
3588
|
-
```
|
|
3589
|
-
|
|
3590
|
-
</dd>
|
|
3591
|
-
</dl>
|
|
3592
|
-
</dd>
|
|
3593
|
-
</dl>
|
|
3594
|
-
|
|
3595
|
-
#### ⚙️ Parameters
|
|
3596
|
-
|
|
3597
|
-
<dl>
|
|
3598
|
-
<dd>
|
|
3599
|
-
|
|
3600
|
-
<dl>
|
|
3601
|
-
<dd>
|
|
3602
|
-
|
|
3603
|
-
**request:** `AirweaveSDK.GetEntityDefinitionsBySourceShortNameEntitiesDefinitionsBySourceGetRequest`
|
|
3604
|
-
|
|
3605
|
-
</dd>
|
|
3606
|
-
</dl>
|
|
3607
|
-
|
|
3608
|
-
<dl>
|
|
3609
|
-
<dd>
|
|
3610
|
-
|
|
3611
|
-
**requestOptions:** `Entities.RequestOptions`
|
|
3612
|
-
|
|
3613
|
-
</dd>
|
|
3614
|
-
</dl>
|
|
3615
|
-
</dd>
|
|
3616
|
-
</dl>
|
|
3617
|
-
|
|
3618
|
-
</dd>
|
|
3619
|
-
</dl>
|
|
3620
|
-
</details>
|
|
3621
|
-
|
|
3622
|
-
## Transformers
|
|
3623
|
-
|
|
3624
|
-
<details><summary><code>client.transformers.<a href="/src/api/resources/transformers/client/Client.ts">listTransformers</a>() -> AirweaveSDK.Transformer[]</code></summary>
|
|
3625
|
-
<dl>
|
|
3626
|
-
<dd>
|
|
3627
|
-
|
|
3628
|
-
#### 📝 Description
|
|
3629
|
-
|
|
3630
|
-
<dl>
|
|
3631
|
-
<dd>
|
|
3632
|
-
|
|
3633
|
-
<dl>
|
|
3634
|
-
<dd>
|
|
3635
|
-
|
|
3636
|
-
List all transformers for the current user's organization.
|
|
3637
|
-
|
|
3638
|
-
</dd>
|
|
3639
|
-
</dl>
|
|
3640
|
-
</dd>
|
|
3641
|
-
</dl>
|
|
3642
|
-
|
|
3643
|
-
#### 🔌 Usage
|
|
3644
|
-
|
|
3645
|
-
<dl>
|
|
3646
|
-
<dd>
|
|
3647
|
-
|
|
3648
|
-
<dl>
|
|
3649
|
-
<dd>
|
|
3650
|
-
|
|
3651
|
-
```typescript
|
|
3652
|
-
await client.transformers.listTransformers();
|
|
3653
|
-
```
|
|
3654
|
-
|
|
3655
|
-
</dd>
|
|
3656
|
-
</dl>
|
|
3657
|
-
</dd>
|
|
3658
|
-
</dl>
|
|
3659
|
-
|
|
3660
|
-
#### ⚙️ Parameters
|
|
3661
|
-
|
|
3662
|
-
<dl>
|
|
3663
|
-
<dd>
|
|
3664
|
-
|
|
3665
|
-
<dl>
|
|
3666
|
-
<dd>
|
|
3667
|
-
|
|
3668
|
-
**requestOptions:** `Transformers.RequestOptions`
|
|
3669
|
-
|
|
3670
|
-
</dd>
|
|
3671
|
-
</dl>
|
|
3672
|
-
</dd>
|
|
3673
|
-
</dl>
|
|
3674
|
-
|
|
3675
|
-
</dd>
|
|
3676
|
-
</dl>
|
|
3677
|
-
</details>
|
|
3678
|
-
|
|
3679
|
-
<details><summary><code>client.transformers.<a href="/src/api/resources/transformers/client/Client.ts">createTransformer</a>({ ...params }) -> AirweaveSDK.Transformer</code></summary>
|
|
3680
|
-
<dl>
|
|
3681
|
-
<dd>
|
|
3682
|
-
|
|
3683
|
-
#### 📝 Description
|
|
3684
|
-
|
|
3685
|
-
<dl>
|
|
3686
|
-
<dd>
|
|
3687
|
-
|
|
3688
|
-
<dl>
|
|
3689
|
-
<dd>
|
|
3690
|
-
|
|
3691
|
-
Create a new transformer.
|
|
3692
|
-
|
|
3693
|
-
</dd>
|
|
3694
|
-
</dl>
|
|
3695
|
-
</dd>
|
|
3696
|
-
</dl>
|
|
3697
|
-
|
|
3698
|
-
#### 🔌 Usage
|
|
3699
|
-
|
|
3700
|
-
<dl>
|
|
3701
|
-
<dd>
|
|
3702
|
-
|
|
3703
|
-
<dl>
|
|
3704
|
-
<dd>
|
|
3705
|
-
|
|
3706
|
-
```typescript
|
|
3707
|
-
await client.transformers.createTransformer({
|
|
3708
|
-
name: "name",
|
|
3709
|
-
methodName: "method_name",
|
|
3710
|
-
moduleName: "module_name",
|
|
3711
|
-
inputEntityDefinitionIds: ["input_entity_definition_ids"],
|
|
3712
|
-
outputEntityDefinitionIds: ["output_entity_definition_ids"],
|
|
3713
|
-
});
|
|
3714
|
-
```
|
|
3715
|
-
|
|
3716
|
-
</dd>
|
|
3717
|
-
</dl>
|
|
3718
|
-
</dd>
|
|
3719
|
-
</dl>
|
|
3720
|
-
|
|
3721
|
-
#### ⚙️ Parameters
|
|
3722
|
-
|
|
3723
|
-
<dl>
|
|
3724
|
-
<dd>
|
|
3725
|
-
|
|
3726
|
-
<dl>
|
|
3727
|
-
<dd>
|
|
3728
|
-
|
|
3729
|
-
**request:** `AirweaveSDK.TransformerCreate`
|
|
3730
|
-
|
|
3731
|
-
</dd>
|
|
3732
|
-
</dl>
|
|
3733
|
-
|
|
3734
|
-
<dl>
|
|
3735
|
-
<dd>
|
|
3736
|
-
|
|
3737
|
-
**requestOptions:** `Transformers.RequestOptions`
|
|
3738
|
-
|
|
3739
|
-
</dd>
|
|
3740
|
-
</dl>
|
|
3741
|
-
</dd>
|
|
3742
|
-
</dl>
|
|
3743
|
-
|
|
3744
|
-
</dd>
|
|
3745
|
-
</dl>
|
|
3746
|
-
</details>
|