@airweave/sdk 0.2.24 → 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
|
@@ -97,11 +97,11 @@ class Sync {
|
|
|
97
97
|
_queryParams["with_source_connection"] = withSourceConnection.toString();
|
|
98
98
|
}
|
|
99
99
|
const _response = yield core.fetcher({
|
|
100
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, "sync"),
|
|
100
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, "sync/"),
|
|
101
101
|
method: "GET",
|
|
102
102
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
103
103
|
? yield core.Supplier.get(this._options.apiKey)
|
|
104
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "
|
|
104
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.2.26", "User-Agent": "@airweave/sdk/0.2.26", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
105
105
|
contentType: "application/json",
|
|
106
106
|
queryParameters: _queryParams,
|
|
107
107
|
requestType: "json",
|
|
@@ -140,7 +140,7 @@ class Sync {
|
|
|
140
140
|
body: _response.error.rawBody,
|
|
141
141
|
});
|
|
142
142
|
case "timeout":
|
|
143
|
-
throw new errors.AirweaveSDKTimeoutError("Timeout exceeded when calling GET /sync
|
|
143
|
+
throw new errors.AirweaveSDKTimeoutError("Timeout exceeded when calling GET /sync/.");
|
|
144
144
|
case "unknown":
|
|
145
145
|
throw new errors.AirweaveSDKError({
|
|
146
146
|
message: _response.error.errorMessage,
|
|
@@ -178,11 +178,11 @@ class Sync {
|
|
|
178
178
|
return __awaiter(this, void 0, void 0, function* () {
|
|
179
179
|
var _a;
|
|
180
180
|
const _response = yield core.fetcher({
|
|
181
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, "sync"),
|
|
181
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, "sync/"),
|
|
182
182
|
method: "POST",
|
|
183
183
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
184
184
|
? yield core.Supplier.get(this._options.apiKey)
|
|
185
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "
|
|
185
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.2.26", "User-Agent": "@airweave/sdk/0.2.26", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
186
186
|
contentType: "application/json",
|
|
187
187
|
requestType: "json",
|
|
188
188
|
body: serializers.SyncCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -221,7 +221,7 @@ class Sync {
|
|
|
221
221
|
body: _response.error.rawBody,
|
|
222
222
|
});
|
|
223
223
|
case "timeout":
|
|
224
|
-
throw new errors.AirweaveSDKTimeoutError("Timeout exceeded when calling POST /sync
|
|
224
|
+
throw new errors.AirweaveSDKTimeoutError("Timeout exceeded when calling POST /sync/.");
|
|
225
225
|
case "unknown":
|
|
226
226
|
throw new errors.AirweaveSDKError({
|
|
227
227
|
message: _response.error.errorMessage,
|
|
@@ -237,7 +237,6 @@ class Sync {
|
|
|
237
237
|
* db: The database session
|
|
238
238
|
* skip: The number of jobs to skip
|
|
239
239
|
* limit: The number of jobs to return
|
|
240
|
-
* status: Filter by job status
|
|
241
240
|
* user: The current user
|
|
242
241
|
*
|
|
243
242
|
* Returns:
|
|
@@ -255,7 +254,7 @@ class Sync {
|
|
|
255
254
|
listAllJobs() {
|
|
256
255
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
257
256
|
var _a;
|
|
258
|
-
const { skip, limit
|
|
257
|
+
const { skip, limit } = request;
|
|
259
258
|
const _queryParams = {};
|
|
260
259
|
if (skip != null) {
|
|
261
260
|
_queryParams["skip"] = skip.toString();
|
|
@@ -263,20 +262,12 @@ class Sync {
|
|
|
263
262
|
if (limit != null) {
|
|
264
263
|
_queryParams["limit"] = limit.toString();
|
|
265
264
|
}
|
|
266
|
-
if (status != null) {
|
|
267
|
-
if (Array.isArray(status)) {
|
|
268
|
-
_queryParams["status"] = status.map((item) => item);
|
|
269
|
-
}
|
|
270
|
-
else {
|
|
271
|
-
_queryParams["status"] = status;
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
265
|
const _response = yield core.fetcher({
|
|
275
266
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, "sync/jobs"),
|
|
276
267
|
method: "GET",
|
|
277
268
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
278
269
|
? yield core.Supplier.get(this._options.apiKey)
|
|
279
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "
|
|
270
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.2.26", "User-Agent": "@airweave/sdk/0.2.26", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
280
271
|
contentType: "application/json",
|
|
281
272
|
queryParameters: _queryParams,
|
|
282
273
|
requestType: "json",
|
|
@@ -352,7 +343,7 @@ class Sync {
|
|
|
352
343
|
method: "GET",
|
|
353
344
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
354
345
|
? yield core.Supplier.get(this._options.apiKey)
|
|
355
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "
|
|
346
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.2.26", "User-Agent": "@airweave/sdk/0.2.26", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
356
347
|
contentType: "application/json",
|
|
357
348
|
requestType: "json",
|
|
358
349
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -434,7 +425,7 @@ class Sync {
|
|
|
434
425
|
method: "DELETE",
|
|
435
426
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
436
427
|
? yield core.Supplier.get(this._options.apiKey)
|
|
437
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "
|
|
428
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.2.26", "User-Agent": "@airweave/sdk/0.2.26", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
438
429
|
contentType: "application/json",
|
|
439
430
|
queryParameters: _queryParams,
|
|
440
431
|
requestType: "json",
|
|
@@ -512,7 +503,7 @@ class Sync {
|
|
|
512
503
|
method: "PATCH",
|
|
513
504
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
514
505
|
? yield core.Supplier.get(this._options.apiKey)
|
|
515
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "
|
|
506
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.2.26", "User-Agent": "@airweave/sdk/0.2.26", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
516
507
|
contentType: "application/json",
|
|
517
508
|
requestType: "json",
|
|
518
509
|
body: serializers.SyncUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -589,7 +580,7 @@ class Sync {
|
|
|
589
580
|
method: "POST",
|
|
590
581
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
591
582
|
? yield core.Supplier.get(this._options.apiKey)
|
|
592
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "
|
|
583
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.2.26", "User-Agent": "@airweave/sdk/0.2.26", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
593
584
|
contentType: "application/json",
|
|
594
585
|
requestType: "json",
|
|
595
586
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -664,7 +655,7 @@ class Sync {
|
|
|
664
655
|
method: "GET",
|
|
665
656
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
666
657
|
? yield core.Supplier.get(this._options.apiKey)
|
|
667
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "
|
|
658
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.2.26", "User-Agent": "@airweave/sdk/0.2.26", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
668
659
|
contentType: "application/json",
|
|
669
660
|
requestType: "json",
|
|
670
661
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -741,7 +732,7 @@ class Sync {
|
|
|
741
732
|
method: "GET",
|
|
742
733
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
743
734
|
? yield core.Supplier.get(this._options.apiKey)
|
|
744
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "
|
|
735
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.2.26", "User-Agent": "@airweave/sdk/0.2.26", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
745
736
|
contentType: "application/json",
|
|
746
737
|
requestType: "json",
|
|
747
738
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -793,8 +784,7 @@ class Sync {
|
|
|
793
784
|
* Args:
|
|
794
785
|
* -----
|
|
795
786
|
* job_id: The ID of the job to subscribe to
|
|
796
|
-
*
|
|
797
|
-
* db: The database session
|
|
787
|
+
* user: The current user
|
|
798
788
|
*
|
|
799
789
|
* Returns:
|
|
800
790
|
* --------
|
|
@@ -816,7 +806,7 @@ class Sync {
|
|
|
816
806
|
method: "GET",
|
|
817
807
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
818
808
|
? yield core.Supplier.get(this._options.apiKey)
|
|
819
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "
|
|
809
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.2.26", "User-Agent": "@airweave/sdk/0.2.26", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
820
810
|
contentType: "application/json",
|
|
821
811
|
requestType: "json",
|
|
822
812
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -876,7 +866,7 @@ class Sync {
|
|
|
876
866
|
method: "GET",
|
|
877
867
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
878
868
|
? yield core.Supplier.get(this._options.apiKey)
|
|
879
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "
|
|
869
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.2.26", "User-Agent": "@airweave/sdk/0.2.26", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
880
870
|
contentType: "application/json",
|
|
881
871
|
requestType: "json",
|
|
882
872
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -86,7 +86,7 @@ class WhiteLabels {
|
|
|
86
86
|
method: "GET",
|
|
87
87
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
88
88
|
? yield core.Supplier.get(this._options.apiKey)
|
|
89
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "
|
|
89
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.2.26", "User-Agent": "@airweave/sdk/0.2.26", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
90
90
|
contentType: "application/json",
|
|
91
91
|
requestType: "json",
|
|
92
92
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -163,11 +163,11 @@ class WhiteLabels {
|
|
|
163
163
|
return __awaiter(this, void 0, void 0, function* () {
|
|
164
164
|
var _a;
|
|
165
165
|
const _response = yield core.fetcher({
|
|
166
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, "white_labels"),
|
|
166
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, "white_labels/"),
|
|
167
167
|
method: "POST",
|
|
168
168
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
169
169
|
? yield core.Supplier.get(this._options.apiKey)
|
|
170
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "
|
|
170
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.2.26", "User-Agent": "@airweave/sdk/0.2.26", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
171
171
|
contentType: "application/json",
|
|
172
172
|
requestType: "json",
|
|
173
173
|
body: serializers.WhiteLabelCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -206,7 +206,7 @@ class WhiteLabels {
|
|
|
206
206
|
body: _response.error.rawBody,
|
|
207
207
|
});
|
|
208
208
|
case "timeout":
|
|
209
|
-
throw new errors.AirweaveSDKTimeoutError("Timeout exceeded when calling POST /white_labels
|
|
209
|
+
throw new errors.AirweaveSDKTimeoutError("Timeout exceeded when calling POST /white_labels/.");
|
|
210
210
|
case "unknown":
|
|
211
211
|
throw new errors.AirweaveSDKError({
|
|
212
212
|
message: _response.error.errorMessage,
|
|
@@ -243,7 +243,7 @@ class WhiteLabels {
|
|
|
243
243
|
method: "GET",
|
|
244
244
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
245
245
|
? yield core.Supplier.get(this._options.apiKey)
|
|
246
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "
|
|
246
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.2.26", "User-Agent": "@airweave/sdk/0.2.26", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
247
247
|
contentType: "application/json",
|
|
248
248
|
requestType: "json",
|
|
249
249
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -320,7 +320,7 @@ class WhiteLabels {
|
|
|
320
320
|
method: "PUT",
|
|
321
321
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
322
322
|
? yield core.Supplier.get(this._options.apiKey)
|
|
323
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "
|
|
323
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.2.26", "User-Agent": "@airweave/sdk/0.2.26", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
324
324
|
contentType: "application/json",
|
|
325
325
|
requestType: "json",
|
|
326
326
|
body: serializers.WhiteLabelUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -396,7 +396,7 @@ class WhiteLabels {
|
|
|
396
396
|
method: "DELETE",
|
|
397
397
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
398
398
|
? yield core.Supplier.get(this._options.apiKey)
|
|
399
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "
|
|
399
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.2.26", "User-Agent": "@airweave/sdk/0.2.26", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
400
400
|
contentType: "application/json",
|
|
401
401
|
requestType: "json",
|
|
402
402
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -471,7 +471,7 @@ class WhiteLabels {
|
|
|
471
471
|
method: "GET",
|
|
472
472
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
473
473
|
? yield core.Supplier.get(this._options.apiKey)
|
|
474
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "
|
|
474
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.2.26", "User-Agent": "@airweave/sdk/0.2.26", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
475
475
|
contentType: "application/json",
|
|
476
476
|
requestType: "json",
|
|
477
477
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -548,7 +548,7 @@ class WhiteLabels {
|
|
|
548
548
|
method: "POST",
|
|
549
549
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
550
550
|
? yield core.Supplier.get(this._options.apiKey)
|
|
551
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "
|
|
551
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.2.26", "User-Agent": "@airweave/sdk/0.2.26", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
552
552
|
contentType: "application/json",
|
|
553
553
|
requestType: "json",
|
|
554
554
|
body: serializers.whiteLabels.exchangeWhiteLabelOauth2Code.Request.jsonOrThrow(request, {
|
|
@@ -626,7 +626,7 @@ class WhiteLabels {
|
|
|
626
626
|
method: "GET",
|
|
627
627
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
628
628
|
? yield core.Supplier.get(this._options.apiKey)
|
|
629
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "
|
|
629
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.2.26", "User-Agent": "@airweave/sdk/0.2.26", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
630
630
|
contentType: "application/json",
|
|
631
631
|
requestType: "json",
|
|
632
632
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
package/api/types/ApiKey.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import * as AirweaveSDK from "../index";
|
|
|
5
5
|
/**
|
|
6
6
|
* Schema for Destination with auth config.
|
|
7
7
|
*/
|
|
8
|
-
export interface
|
|
8
|
+
export interface DestinationWithConfigFields {
|
|
9
9
|
name: string;
|
|
10
10
|
description?: string;
|
|
11
11
|
shortName: string;
|
|
@@ -19,5 +19,5 @@ export interface DestinationWithAuthenticationFields {
|
|
|
19
19
|
id: string;
|
|
20
20
|
createdAt: Date;
|
|
21
21
|
modifiedAt: Date;
|
|
22
|
-
|
|
22
|
+
configFields?: AirweaveSDK.Fields;
|
|
23
23
|
}
|
|
@@ -5,7 +5,7 @@ import * as AirweaveSDK from "../index";
|
|
|
5
5
|
/**
|
|
6
6
|
* Schema for EmbeddingModel with auth config.
|
|
7
7
|
*/
|
|
8
|
-
export interface
|
|
8
|
+
export interface EmbeddingModelWithConfigFields {
|
|
9
9
|
name: string;
|
|
10
10
|
shortName: string;
|
|
11
11
|
description?: string;
|
|
@@ -17,5 +17,5 @@ export interface EmbeddingModelWithAuthenticationFields {
|
|
|
17
17
|
id: string;
|
|
18
18
|
createdAt: Date;
|
|
19
19
|
modifiedAt: Date;
|
|
20
|
-
|
|
20
|
+
configFields?: AirweaveSDK.Fields;
|
|
21
21
|
}
|
package/{dist/api/resources/entities/client/requests → api/types}/EntityDefinitionCreate.d.ts
RENAMED
|
@@ -1,16 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as AirweaveSDK from "
|
|
4
|
+
import * as AirweaveSDK from "../index";
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
7
|
-
* {
|
|
8
|
-
* name: "name",
|
|
9
|
-
* type: "file",
|
|
10
|
-
* entitySchema: ["entity_schema"],
|
|
11
|
-
* moduleName: "module_name",
|
|
12
|
-
* className: "class_name"
|
|
13
|
-
* }
|
|
6
|
+
* Schema for creating an entity definition.
|
|
14
7
|
*/
|
|
15
8
|
export interface EntityDefinitionCreate {
|
|
16
9
|
name: string;
|
|
@@ -2,12 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
6
|
-
* {
|
|
7
|
-
* name: "name",
|
|
8
|
-
* fromEntityId: "from_entity_id",
|
|
9
|
-
* toEntityId: "to_entity_id"
|
|
10
|
-
* }
|
|
5
|
+
* Schema for creating an entity relation.
|
|
11
6
|
*/
|
|
12
7
|
export interface EntityRelationCreate {
|
|
13
8
|
name: string;
|
package/{dist/api/types/SourceWithAuthenticationFields.d.ts → api/types/SourceWithConfigFields.d.ts}
RENAMED
|
@@ -5,7 +5,7 @@ import * as AirweaveSDK from "../index";
|
|
|
5
5
|
/**
|
|
6
6
|
* Schema for Source with auth config.
|
|
7
7
|
*/
|
|
8
|
-
export interface
|
|
8
|
+
export interface SourceWithConfigFields {
|
|
9
9
|
name: string;
|
|
10
10
|
description?: string;
|
|
11
11
|
authType?: AirweaveSDK.AuthType;
|
|
@@ -19,5 +19,5 @@ export interface SourceWithAuthenticationFields {
|
|
|
19
19
|
id: string;
|
|
20
20
|
createdAt: Date;
|
|
21
21
|
modifiedAt: Date;
|
|
22
|
-
|
|
22
|
+
configFields?: AirweaveSDK.Fields;
|
|
23
23
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as AirweaveSDK from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* Schema for creating a sync DAG definition.
|
|
7
|
+
*/
|
|
8
|
+
export interface SyncDagCreate {
|
|
9
|
+
name: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
syncId: string;
|
|
12
|
+
nodes: AirweaveSDK.DagNodeCreate[];
|
|
13
|
+
edges: AirweaveSDK.DagEdgeCreate[];
|
|
14
|
+
}
|
|
@@ -1,18 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as AirweaveSDK from "
|
|
4
|
+
import * as AirweaveSDK from "../index";
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
7
|
-
* {
|
|
8
|
-
* name: "name",
|
|
9
|
-
* syncDagUpdateSyncId: "sync_id"
|
|
10
|
-
* }
|
|
6
|
+
* Schema for updating a sync DAG definition.
|
|
11
7
|
*/
|
|
12
8
|
export interface SyncDagUpdate {
|
|
13
9
|
name: string;
|
|
14
10
|
description?: string;
|
|
15
|
-
|
|
11
|
+
syncId: string;
|
|
16
12
|
nodes?: AirweaveSDK.DagNodeCreate[];
|
|
17
13
|
edges?: AirweaveSDK.DagEdgeCreate[];
|
|
18
14
|
}
|
package/api/types/SyncJob.d.ts
CHANGED
|
@@ -8,14 +8,10 @@ import * as AirweaveSDK from "../index";
|
|
|
8
8
|
export interface SyncJob {
|
|
9
9
|
syncId: string;
|
|
10
10
|
status?: AirweaveSDK.SyncJobStatus;
|
|
11
|
+
entitiesDetected?: number;
|
|
11
12
|
entitiesInserted?: number;
|
|
12
|
-
entitiesUpdated?: number;
|
|
13
13
|
entitiesDeleted?: number;
|
|
14
|
-
entitiesKept?: number;
|
|
15
14
|
entitiesSkipped?: number;
|
|
16
|
-
startedAt?: Date;
|
|
17
|
-
completedAt?: Date;
|
|
18
|
-
failedAt?: Date;
|
|
19
15
|
error?: string;
|
|
20
16
|
id: string;
|
|
21
17
|
organizationId: string;
|
|
@@ -23,6 +19,9 @@ export interface SyncJob {
|
|
|
23
19
|
modifiedByEmail: string;
|
|
24
20
|
createdAt: Date;
|
|
25
21
|
modifiedAt: Date;
|
|
22
|
+
startedAt?: Date;
|
|
23
|
+
completedAt?: Date;
|
|
24
|
+
failedAt?: Date;
|
|
26
25
|
/** Name of the sync, populated from join query */
|
|
27
26
|
syncName?: string;
|
|
28
27
|
}
|
package/{dist/api/resources/transformers/client/requests → api/types}/TransformerCreate.d.ts
RENAMED
|
@@ -2,14 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
6
|
-
* {
|
|
7
|
-
* name: "name",
|
|
8
|
-
* methodName: "method_name",
|
|
9
|
-
* moduleName: "module_name",
|
|
10
|
-
* inputEntityDefinitionIds: ["input_entity_definition_ids"],
|
|
11
|
-
* outputEntityDefinitionIds: ["output_entity_definition_ids"]
|
|
12
|
-
* }
|
|
5
|
+
* Schema for creating a transformer.
|
|
13
6
|
*/
|
|
14
7
|
export interface TransformerCreate {
|
|
15
8
|
name: string;
|
package/api/types/User.d.ts
CHANGED
package/api/types/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export * from "./AuthType";
|
|
|
4
4
|
export * from "./BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost";
|
|
5
5
|
export * from "./BodySendOauth2CodeConnectionsOauth2SourceCodePost";
|
|
6
6
|
export * from "./Chat";
|
|
7
|
+
export * from "./ChatCreate";
|
|
7
8
|
export * from "./ChatMessage";
|
|
8
9
|
export * from "./ChatMessageCreate";
|
|
9
10
|
export * from "./ChatUpdate";
|
|
@@ -15,35 +16,37 @@ export * from "./DagEdgeCreate";
|
|
|
15
16
|
export * from "./DagNode";
|
|
16
17
|
export * from "./DagNodeCreate";
|
|
17
18
|
export * from "./Destination";
|
|
18
|
-
export * from "./
|
|
19
|
+
export * from "./DestinationWithConfigFields";
|
|
19
20
|
export * from "./EmbeddingModel";
|
|
20
|
-
export * from "./
|
|
21
|
-
export * from "./EntityCount";
|
|
21
|
+
export * from "./EmbeddingModelWithConfigFields";
|
|
22
22
|
export * from "./EntityDefinitionEntitySchema";
|
|
23
23
|
export * from "./EntityDefinition";
|
|
24
|
+
export * from "./EntityDefinitionCreateEntitySchema";
|
|
25
|
+
export * from "./EntityDefinitionCreate";
|
|
24
26
|
export * from "./EntityDefinitionUpdateEntitySchema";
|
|
25
27
|
export * from "./EntityDefinitionUpdate";
|
|
26
28
|
export * from "./EntityRelation";
|
|
29
|
+
export * from "./EntityRelationCreate";
|
|
27
30
|
export * from "./EntityRelationUpdate";
|
|
28
31
|
export * from "./EntityType";
|
|
29
32
|
export * from "./Fields";
|
|
30
33
|
export * from "./HttpValidationError";
|
|
31
34
|
export * from "./IntegrationType";
|
|
32
35
|
export * from "./NodeType";
|
|
33
|
-
export * from "./Organization";
|
|
34
|
-
export * from "./ResponseType";
|
|
35
36
|
export * from "./Source";
|
|
36
|
-
export * from "./
|
|
37
|
+
export * from "./SourceWithConfigFields";
|
|
37
38
|
export * from "./Sync";
|
|
38
39
|
export * from "./SyncDag";
|
|
40
|
+
export * from "./SyncDagCreate";
|
|
41
|
+
export * from "./SyncDagUpdate";
|
|
39
42
|
export * from "./SyncJob";
|
|
40
43
|
export * from "./SyncJobStatus";
|
|
41
44
|
export * from "./SyncStatus";
|
|
42
45
|
export * from "./SyncWithSourceConnection";
|
|
43
46
|
export * from "./Transformer";
|
|
47
|
+
export * from "./TransformerCreate";
|
|
44
48
|
export * from "./TransformerUpdate";
|
|
45
49
|
export * from "./User";
|
|
46
|
-
export * from "./UserCreate";
|
|
47
50
|
export * from "./ValidationErrorLocItem";
|
|
48
51
|
export * from "./ValidationError";
|
|
49
52
|
export * from "./WhiteLabel";
|
package/api/types/index.js
CHANGED
|
@@ -20,6 +20,7 @@ __exportStar(require("./AuthType"), exports);
|
|
|
20
20
|
__exportStar(require("./BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost"), exports);
|
|
21
21
|
__exportStar(require("./BodySendOauth2CodeConnectionsOauth2SourceCodePost"), exports);
|
|
22
22
|
__exportStar(require("./Chat"), exports);
|
|
23
|
+
__exportStar(require("./ChatCreate"), exports);
|
|
23
24
|
__exportStar(require("./ChatMessage"), exports);
|
|
24
25
|
__exportStar(require("./ChatMessageCreate"), exports);
|
|
25
26
|
__exportStar(require("./ChatUpdate"), exports);
|
|
@@ -31,35 +32,37 @@ __exportStar(require("./DagEdgeCreate"), exports);
|
|
|
31
32
|
__exportStar(require("./DagNode"), exports);
|
|
32
33
|
__exportStar(require("./DagNodeCreate"), exports);
|
|
33
34
|
__exportStar(require("./Destination"), exports);
|
|
34
|
-
__exportStar(require("./
|
|
35
|
+
__exportStar(require("./DestinationWithConfigFields"), exports);
|
|
35
36
|
__exportStar(require("./EmbeddingModel"), exports);
|
|
36
|
-
__exportStar(require("./
|
|
37
|
-
__exportStar(require("./EntityCount"), exports);
|
|
37
|
+
__exportStar(require("./EmbeddingModelWithConfigFields"), exports);
|
|
38
38
|
__exportStar(require("./EntityDefinitionEntitySchema"), exports);
|
|
39
39
|
__exportStar(require("./EntityDefinition"), exports);
|
|
40
|
+
__exportStar(require("./EntityDefinitionCreateEntitySchema"), exports);
|
|
41
|
+
__exportStar(require("./EntityDefinitionCreate"), exports);
|
|
40
42
|
__exportStar(require("./EntityDefinitionUpdateEntitySchema"), exports);
|
|
41
43
|
__exportStar(require("./EntityDefinitionUpdate"), exports);
|
|
42
44
|
__exportStar(require("./EntityRelation"), exports);
|
|
45
|
+
__exportStar(require("./EntityRelationCreate"), exports);
|
|
43
46
|
__exportStar(require("./EntityRelationUpdate"), exports);
|
|
44
47
|
__exportStar(require("./EntityType"), exports);
|
|
45
48
|
__exportStar(require("./Fields"), exports);
|
|
46
49
|
__exportStar(require("./HttpValidationError"), exports);
|
|
47
50
|
__exportStar(require("./IntegrationType"), exports);
|
|
48
51
|
__exportStar(require("./NodeType"), exports);
|
|
49
|
-
__exportStar(require("./Organization"), exports);
|
|
50
|
-
__exportStar(require("./ResponseType"), exports);
|
|
51
52
|
__exportStar(require("./Source"), exports);
|
|
52
|
-
__exportStar(require("./
|
|
53
|
+
__exportStar(require("./SourceWithConfigFields"), exports);
|
|
53
54
|
__exportStar(require("./Sync"), exports);
|
|
54
55
|
__exportStar(require("./SyncDag"), exports);
|
|
56
|
+
__exportStar(require("./SyncDagCreate"), exports);
|
|
57
|
+
__exportStar(require("./SyncDagUpdate"), exports);
|
|
55
58
|
__exportStar(require("./SyncJob"), exports);
|
|
56
59
|
__exportStar(require("./SyncJobStatus"), exports);
|
|
57
60
|
__exportStar(require("./SyncStatus"), exports);
|
|
58
61
|
__exportStar(require("./SyncWithSourceConnection"), exports);
|
|
59
62
|
__exportStar(require("./Transformer"), exports);
|
|
63
|
+
__exportStar(require("./TransformerCreate"), exports);
|
|
60
64
|
__exportStar(require("./TransformerUpdate"), exports);
|
|
61
65
|
__exportStar(require("./User"), exports);
|
|
62
|
-
__exportStar(require("./UserCreate"), exports);
|
|
63
66
|
__exportStar(require("./ValidationErrorLocItem"), exports);
|
|
64
67
|
__exportStar(require("./ValidationError"), exports);
|
|
65
68
|
__exportStar(require("./WhiteLabel"), exports);
|