@airweave/sdk 0.2.25 → 0.2.27
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 +8 -28
- package/Client.js +13 -48
- package/README.md +10 -8
- package/api/index.d.ts +1 -1
- package/api/index.js +1 -1
- package/api/resources/collections/client/Client.d.ts +112 -0
- package/api/resources/{entities → collections}/client/Client.js +91 -141
- package/api/resources/collections/client/requests/CollectionCreate.d.ts +15 -0
- package/api/resources/{sync/client/requests/DeleteSyncSyncSyncIdDeleteRequest.d.ts → collections/client/requests/DeleteCollectionCollectionsReadableIdDeleteRequest.d.ts} +1 -1
- package/{dist/api/resources/chat/client/requests/ListChatsChatGetRequest.d.ts → api/resources/collections/client/requests/ListCollectionsCollectionsGetRequest.d.ts} +1 -1
- package/api/resources/collections/client/requests/index.d.ts +3 -0
- package/api/resources/connections/client/Client.d.ts +3 -177
- package/api/resources/connections/client/Client.js +7 -553
- package/api/resources/connections/client/index.d.ts +1 -1
- package/api/resources/connections/client/index.js +0 -15
- package/api/resources/index.d.ts +4 -19
- package/api/resources/index.js +5 -20
- package/api/resources/sourceConnections/client/Client.d.ts +191 -0
- package/api/resources/{sync → sourceConnections}/client/Client.js +121 -422
- package/api/resources/sourceConnections/client/requests/DeleteSourceConnectionSourceConnectionsSourceConnectionIdDeleteRequest.d.ts +10 -0
- package/api/resources/sourceConnections/client/requests/GetSourceConnectionSourceConnectionsSourceConnectionIdGetRequest.d.ts +10 -0
- package/api/resources/{sync/client/requests/ListAllJobsSyncJobsGetRequest.d.ts → sourceConnections/client/requests/ListSourceConnectionsSourceConnectionsGetRequest.d.ts} +5 -5
- package/api/resources/sourceConnections/client/requests/SourceConnectionUpdate.d.ts +17 -0
- package/api/resources/sourceConnections/client/requests/index.d.ts +4 -0
- package/api/resources/sources/client/Client.d.ts +3 -1
- package/api/resources/sources/client/Client.js +10 -5
- package/api/resources/whiteLabels/client/Client.d.ts +3 -47
- package/api/resources/whiteLabels/client/Client.js +18 -168
- package/api/types/ApiKey.d.ts +2 -2
- package/api/{resources/apiKeys/client/requests → types}/ApiKeyCreate.d.ts +1 -2
- package/{dist/api/resources/connections/client/requests → api/types}/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.d.ts +0 -8
- package/api/types/BodyCreateSourceConnectionFromOauthConnectionsCreateSourceConnectionFromOauthPost.d.ts +8 -0
- package/{dist/api/resources/chat/client/requests → api/types}/ChatCreate.d.ts +1 -5
- package/api/types/Collection.d.ts +19 -0
- package/api/types/CollectionStatus.d.ts +13 -0
- package/api/types/CollectionStatus.js +12 -0
- package/api/types/CollectionUpdate.d.ts +10 -0
- package/api/types/ConfigValues.d.ts +9 -0
- package/api/{resources/entities/client/requests → types}/EntityDefinitionCreate.d.ts +2 -9
- package/api/{resources/entities/client/requests → types}/EntityRelationCreate.d.ts +1 -6
- package/api/types/SearchResponse.d.ts +13 -0
- package/api/types/SearchStatus.d.ts +12 -0
- package/api/types/SearchStatus.js +11 -0
- package/api/types/SourceConnection.d.ts +31 -0
- package/api/types/SourceConnectionAuthFields.d.ts +5 -0
- package/api/types/SourceConnectionCreate.d.ts +21 -0
- package/api/types/SourceConnectionJob.d.ts +30 -0
- package/api/types/SourceConnectionListItem.d.ts +21 -0
- package/api/types/SourceConnectionStatus.d.ts +12 -0
- package/api/types/SourceConnectionStatus.js +11 -0
- package/api/{resources/sync/client/requests → types}/SyncCreate.d.ts +2 -7
- package/api/types/SyncDagCreate.d.ts +14 -0
- package/api/{resources/dag/client/requests → types}/SyncDagUpdate.d.ts +3 -7
- package/api/types/SyncJob.d.ts +1 -0
- package/api/{resources/sync/client/requests → types}/SyncUpdate.d.ts +2 -3
- package/api/{resources/transformers/client/requests → types}/TransformerCreate.d.ts +1 -8
- package/api/types/index.d.ts +24 -1
- package/api/types/index.js +24 -1
- package/core/auth/BasicAuth.d.ts +8 -0
- package/core/auth/BasicAuth.js +26 -0
- package/core/auth/BearerToken.d.ts +5 -0
- package/core/auth/BearerToken.js +15 -0
- package/core/auth/index.d.ts +2 -0
- package/core/auth/index.js +7 -0
- package/core/index.d.ts +1 -0
- package/core/index.js +1 -0
- package/dist/Client.d.ts +8 -28
- package/dist/Client.js +13 -48
- package/dist/api/index.d.ts +1 -1
- package/dist/api/index.js +1 -1
- package/dist/api/resources/collections/client/Client.d.ts +112 -0
- package/dist/api/resources/{entities → collections}/client/Client.js +91 -141
- package/dist/api/resources/collections/client/requests/CollectionCreate.d.ts +15 -0
- package/dist/api/resources/{sync/client/requests/DeleteSyncSyncSyncIdDeleteRequest.d.ts → collections/client/requests/DeleteCollectionCollectionsReadableIdDeleteRequest.d.ts} +1 -1
- package/{api/resources/apiKeys/client/requests/ReadApiKeysApiKeysGetRequest.d.ts → dist/api/resources/collections/client/requests/ListCollectionsCollectionsGetRequest.d.ts} +1 -1
- package/dist/api/resources/collections/client/requests/index.d.ts +3 -0
- package/dist/api/resources/connections/client/Client.d.ts +3 -177
- package/dist/api/resources/connections/client/Client.js +7 -553
- package/dist/api/resources/connections/client/index.d.ts +1 -1
- package/dist/api/resources/connections/client/index.js +0 -15
- package/dist/api/resources/index.d.ts +4 -19
- package/dist/api/resources/index.js +5 -20
- package/dist/api/resources/sourceConnections/client/Client.d.ts +191 -0
- package/dist/api/resources/{sync → sourceConnections}/client/Client.js +121 -422
- package/dist/api/resources/sourceConnections/client/requests/DeleteSourceConnectionSourceConnectionsSourceConnectionIdDeleteRequest.d.ts +10 -0
- package/dist/api/resources/sourceConnections/client/requests/GetSourceConnectionSourceConnectionsSourceConnectionIdGetRequest.d.ts +10 -0
- package/dist/api/resources/{sync/client/requests/ListAllJobsSyncJobsGetRequest.d.ts → sourceConnections/client/requests/ListSourceConnectionsSourceConnectionsGetRequest.d.ts} +5 -5
- package/dist/api/resources/sourceConnections/client/requests/SourceConnectionUpdate.d.ts +17 -0
- package/dist/api/resources/sourceConnections/client/requests/index.d.ts +4 -0
- package/dist/api/resources/sources/client/Client.d.ts +3 -1
- package/dist/api/resources/sources/client/Client.js +10 -5
- package/dist/api/resources/whiteLabels/client/Client.d.ts +3 -47
- package/dist/api/resources/whiteLabels/client/Client.js +18 -168
- package/dist/api/types/ApiKey.d.ts +2 -2
- package/dist/api/{resources/apiKeys/client/requests → types}/ApiKeyCreate.d.ts +1 -2
- package/{api/resources/connections/client/requests → dist/api/types}/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.d.ts +0 -8
- package/dist/api/types/BodyCreateSourceConnectionFromOauthConnectionsCreateSourceConnectionFromOauthPost.d.ts +8 -0
- package/{api/resources/chat/client/requests → dist/api/types}/ChatCreate.d.ts +1 -5
- package/dist/api/types/Collection.d.ts +19 -0
- package/dist/api/types/CollectionStatus.d.ts +13 -0
- package/dist/api/types/CollectionStatus.js +12 -0
- package/dist/api/types/CollectionUpdate.d.ts +10 -0
- package/dist/api/types/ConfigValues.d.ts +9 -0
- package/dist/api/{resources/entities/client/requests → types}/EntityDefinitionCreate.d.ts +2 -9
- package/dist/api/types/EntityDefinitionCreate.js +5 -0
- package/dist/api/types/EntityDefinitionCreateEntitySchema.js +5 -0
- package/dist/api/{resources/entities/client/requests → types}/EntityRelationCreate.d.ts +1 -6
- package/dist/api/types/EntityRelationCreate.js +5 -0
- package/dist/api/types/SearchResponse.d.ts +13 -0
- package/dist/api/types/SearchResponse.js +5 -0
- package/dist/api/types/SearchStatus.d.ts +12 -0
- package/dist/api/types/SearchStatus.js +11 -0
- package/dist/api/types/SourceConnection.d.ts +31 -0
- package/dist/api/types/SourceConnection.js +5 -0
- package/dist/api/types/SourceConnectionAuthFields.d.ts +5 -0
- package/dist/api/types/SourceConnectionAuthFields.js +5 -0
- package/dist/api/types/SourceConnectionCreate.d.ts +21 -0
- package/dist/api/types/SourceConnectionCreate.js +5 -0
- package/dist/api/types/SourceConnectionJob.d.ts +30 -0
- package/dist/api/types/SourceConnectionJob.js +5 -0
- package/dist/api/types/SourceConnectionListItem.d.ts +21 -0
- package/dist/api/types/SourceConnectionListItem.js +5 -0
- package/dist/api/types/SourceConnectionStatus.d.ts +12 -0
- package/dist/api/types/SourceConnectionStatus.js +11 -0
- package/dist/api/{resources/sync/client/requests → types}/SyncCreate.d.ts +2 -7
- package/dist/api/types/SyncCreate.js +5 -0
- package/dist/api/types/SyncDagCreate.d.ts +14 -0
- package/dist/api/types/SyncDagCreate.js +5 -0
- package/dist/api/{resources/dag/client/requests → types}/SyncDagUpdate.d.ts +3 -7
- package/dist/api/types/SyncDagUpdate.js +5 -0
- package/dist/api/types/SyncJob.d.ts +1 -0
- package/dist/api/{resources/sync/client/requests → types}/SyncUpdate.d.ts +2 -3
- package/dist/api/types/SyncUpdate.js +5 -0
- package/dist/api/{resources/transformers/client/requests → types}/TransformerCreate.d.ts +1 -8
- package/dist/api/types/TransformerCreate.js +5 -0
- package/dist/api/types/index.d.ts +24 -1
- package/dist/api/types/index.js +24 -1
- package/dist/core/auth/BasicAuth.d.ts +8 -0
- package/dist/core/auth/BasicAuth.js +26 -0
- package/dist/core/auth/BearerToken.d.ts +5 -0
- package/dist/core/auth/BearerToken.js +15 -0
- package/dist/core/auth/index.d.ts +2 -0
- package/dist/core/auth/index.js +7 -0
- package/dist/core/index.d.ts +1 -0
- package/dist/core/index.js +1 -0
- package/dist/serialization/index.d.ts +1 -1
- package/dist/serialization/index.js +1 -1
- package/dist/serialization/resources/collections/client/index.d.ts +3 -0
- package/dist/serialization/resources/{sync → collections}/client/index.js +3 -3
- package/dist/serialization/resources/{apiKeys/client/readApiKeys.d.ts → collections/client/listCollections.d.ts} +3 -3
- package/dist/serialization/resources/{connections/client/listConnectedIntegrations.js → collections/client/listCollections.js} +2 -2
- package/dist/serialization/resources/{connections/client/listConnectedIntegrations.d.ts → collections/client/refreshAllSourceConnections.d.ts} +3 -3
- package/dist/serialization/resources/{chat/client/listChats.js → collections/client/refreshAllSourceConnections.js} +2 -2
- package/dist/serialization/resources/{apiKeys/client/requests/ApiKeyCreate.d.ts → collections/client/requests/CollectionCreate.d.ts} +4 -3
- package/dist/serialization/resources/collections/client/requests/CollectionCreate.js +44 -0
- package/dist/serialization/resources/collections/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/collections/client/requests/index.js +5 -0
- package/dist/serialization/resources/connections/client/index.d.ts +0 -5
- package/dist/serialization/resources/connections/client/index.js +1 -9
- package/dist/serialization/resources/index.d.ts +4 -17
- package/dist/serialization/resources/index.js +5 -18
- package/dist/serialization/resources/sourceConnections/client/index.d.ts +3 -0
- package/dist/serialization/resources/{apiKeys → sourceConnections}/client/index.js +3 -2
- package/dist/serialization/resources/sourceConnections/client/listSourceConnectionJobs.d.ts +11 -0
- package/dist/serialization/resources/{connections/client/getOauth2WhiteLabelAuthUrl.js → sourceConnections/client/listSourceConnectionJobs.js} +2 -1
- package/dist/serialization/resources/sourceConnections/client/listSourceConnections.d.ts +11 -0
- package/dist/serialization/resources/sourceConnections/client/listSourceConnections.js +42 -0
- package/dist/serialization/resources/sourceConnections/client/requests/SourceConnectionUpdate.d.ts +18 -0
- package/dist/serialization/resources/sourceConnections/client/requests/SourceConnectionUpdate.js +49 -0
- package/dist/serialization/resources/sourceConnections/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/sourceConnections/client/requests/index.js +5 -0
- package/dist/serialization/resources/whiteLabels/client/index.d.ts +0 -2
- package/dist/serialization/resources/whiteLabels/client/index.js +1 -3
- package/dist/serialization/types/ApiKey.d.ts +1 -1
- package/dist/serialization/types/ApiKey.js +1 -1
- package/dist/serialization/types/ApiKeyCreate.d.ts +12 -0
- package/{serialization/resources/apiKeys/client/requests → dist/serialization/types}/ApiKeyCreate.js +1 -1
- package/dist/serialization/types/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.d.ts +13 -0
- package/dist/serialization/{resources/connections/client/requests → types}/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.js +1 -1
- package/dist/serialization/types/BodyCreateSourceConnectionFromOauthConnectionsCreateSourceConnectionFromOauthPost.d.ts +14 -0
- package/dist/serialization/types/BodyCreateSourceConnectionFromOauthConnectionsCreateSourceConnectionFromOauthPost.js +45 -0
- 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/{ApiKeyWithPlainKey.d.ts → Collection.d.ts} +7 -7
- package/{serialization/types/ApiKeyWithPlainKey.js → dist/serialization/types/Collection.js} +7 -7
- package/dist/serialization/types/CollectionStatus.d.ts +10 -0
- package/dist/serialization/types/CollectionStatus.js +41 -0
- package/dist/serialization/types/CollectionUpdate.d.ts +12 -0
- package/dist/serialization/types/CollectionUpdate.js +43 -0
- package/dist/serialization/types/ConfigValues.d.ts +10 -0
- package/dist/serialization/types/ConfigValues.js +41 -0
- package/dist/serialization/{resources/entities/client/requests → types}/EntityDefinitionCreate.d.ts +6 -6
- package/dist/serialization/{resources/entities/client/requests → 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/SearchResponse.d.ts +17 -0
- package/dist/serialization/types/SearchResponse.js +48 -0
- package/dist/serialization/types/SearchStatus.d.ts +10 -0
- package/dist/serialization/{resources/whiteLabels/client/getWhiteLabelOauth2AuthUrl.js → types/SearchStatus.js} +3 -3
- package/dist/serialization/types/SourceConnection.d.ts +36 -0
- package/dist/serialization/types/SourceConnection.js +67 -0
- package/dist/serialization/types/SourceConnectionAuthFields.d.ts +11 -0
- package/dist/serialization/types/SourceConnectionAuthFields.js +42 -0
- package/dist/serialization/types/SourceConnectionCreate.d.ts +20 -0
- package/dist/serialization/types/SourceConnectionCreate.js +51 -0
- package/dist/serialization/types/SourceConnectionJob.d.ts +30 -0
- package/dist/serialization/types/SourceConnectionJob.js +61 -0
- package/dist/serialization/types/SourceConnectionListItem.d.ts +21 -0
- package/dist/serialization/types/SourceConnectionListItem.js +52 -0
- package/dist/serialization/types/SourceConnectionStatus.d.ts +10 -0
- package/dist/serialization/{resources/connections/client/sendOauth2WhiteLabelCode.js → types/SourceConnectionStatus.js} +3 -3
- package/dist/serialization/{resources/sync/client/requests → types}/SyncCreate.d.ts +5 -5
- package/dist/serialization/{resources/sync/client/requests → types}/SyncCreate.js +2 -2
- package/dist/serialization/types/SyncDagCreate.d.ts +18 -0
- package/dist/serialization/{resources/dag/client/requests → 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 +1 -0
- package/dist/serialization/types/SyncJob.js +1 -0
- package/dist/serialization/{resources/sync/client/requests → types}/SyncUpdate.d.ts +5 -5
- package/dist/serialization/{resources/sync/client/requests → types}/SyncUpdate.js +2 -2
- 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/index.d.ts +24 -1
- package/dist/serialization/types/index.js +24 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -2
- package/reference.md +311 -2446
- package/serialization/index.d.ts +1 -1
- package/serialization/index.js +1 -1
- package/serialization/resources/collections/client/index.d.ts +3 -0
- package/{dist/serialization/resources/chat → serialization/resources/collections}/client/index.js +3 -2
- package/{dist/serialization/resources/chat/client/listChats.d.ts → serialization/resources/collections/client/listCollections.d.ts} +3 -3
- package/serialization/resources/{connections/client/listConnectedIntegrations.js → collections/client/listCollections.js} +2 -2
- package/{dist/serialization/resources/embeddingModels/client/readEmbeddingModels.d.ts → serialization/resources/collections/client/refreshAllSourceConnections.d.ts} +3 -3
- package/{dist/serialization/resources/connections/client/getConnectionCredentials.js → serialization/resources/collections/client/refreshAllSourceConnections.js} +2 -1
- package/serialization/resources/{apiKeys/client/requests/ApiKeyCreate.d.ts → collections/client/requests/CollectionCreate.d.ts} +4 -3
- package/serialization/resources/collections/client/requests/CollectionCreate.js +44 -0
- package/serialization/resources/collections/client/requests/index.d.ts +1 -0
- package/serialization/resources/collections/client/requests/index.js +5 -0
- package/serialization/resources/connections/client/index.d.ts +0 -5
- package/serialization/resources/connections/client/index.js +1 -9
- package/serialization/resources/index.d.ts +4 -17
- package/serialization/resources/index.js +5 -18
- package/serialization/resources/sourceConnections/client/index.d.ts +3 -0
- package/{dist/serialization/resources/transformers → serialization/resources/sourceConnections}/client/index.js +3 -2
- package/serialization/resources/sourceConnections/client/listSourceConnectionJobs.d.ts +11 -0
- package/{dist/serialization/resources/apiKeys/client/readApiKeys.js → serialization/resources/sourceConnections/client/listSourceConnectionJobs.js} +2 -2
- package/serialization/resources/sourceConnections/client/listSourceConnections.d.ts +11 -0
- package/serialization/resources/sourceConnections/client/listSourceConnections.js +42 -0
- package/serialization/resources/sourceConnections/client/requests/SourceConnectionUpdate.d.ts +18 -0
- package/serialization/resources/sourceConnections/client/requests/SourceConnectionUpdate.js +49 -0
- package/serialization/resources/sourceConnections/client/requests/index.d.ts +1 -0
- package/serialization/resources/sourceConnections/client/requests/index.js +5 -0
- package/serialization/resources/whiteLabels/client/index.d.ts +0 -2
- package/serialization/resources/whiteLabels/client/index.js +1 -3
- package/serialization/types/ApiKey.d.ts +1 -1
- package/serialization/types/ApiKey.js +1 -1
- package/serialization/types/ApiKeyCreate.d.ts +12 -0
- package/{dist/serialization/resources/apiKeys/client/requests → serialization/types}/ApiKeyCreate.js +1 -1
- package/serialization/types/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.d.ts +13 -0
- package/serialization/{resources/connections/client/requests → types}/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.js +1 -1
- package/serialization/types/BodyCreateSourceConnectionFromOauthConnectionsCreateSourceConnectionFromOauthPost.d.ts +14 -0
- package/serialization/types/BodyCreateSourceConnectionFromOauthConnectionsCreateSourceConnectionFromOauthPost.js +45 -0
- 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/{ApiKeyWithPlainKey.d.ts → Collection.d.ts} +7 -7
- package/{dist/serialization/types/ApiKeyWithPlainKey.js → serialization/types/Collection.js} +7 -7
- package/serialization/types/CollectionStatus.d.ts +10 -0
- package/serialization/types/CollectionStatus.js +41 -0
- package/serialization/types/CollectionUpdate.d.ts +12 -0
- package/serialization/types/CollectionUpdate.js +43 -0
- package/serialization/types/ConfigValues.d.ts +10 -0
- package/serialization/types/ConfigValues.js +41 -0
- package/serialization/{resources/entities/client/requests → types}/EntityDefinitionCreate.d.ts +6 -6
- package/serialization/{resources/entities/client/requests → 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/SearchResponse.d.ts +17 -0
- package/serialization/types/SearchResponse.js +48 -0
- package/serialization/types/SearchStatus.d.ts +10 -0
- package/{dist/serialization/resources/whiteLabels/client/exchangeWhiteLabelOauth2Code.js → serialization/types/SearchStatus.js} +3 -3
- package/serialization/types/SourceConnection.d.ts +36 -0
- package/serialization/types/SourceConnection.js +67 -0
- package/serialization/types/SourceConnectionAuthFields.d.ts +11 -0
- package/serialization/types/SourceConnectionAuthFields.js +42 -0
- package/serialization/types/SourceConnectionCreate.d.ts +20 -0
- package/serialization/types/SourceConnectionCreate.js +51 -0
- package/serialization/types/SourceConnectionJob.d.ts +30 -0
- package/serialization/types/SourceConnectionJob.js +61 -0
- package/serialization/types/SourceConnectionListItem.d.ts +21 -0
- package/serialization/types/SourceConnectionListItem.js +52 -0
- package/serialization/types/SourceConnectionStatus.d.ts +10 -0
- package/serialization/types/SourceConnectionStatus.js +41 -0
- package/serialization/{resources/sync/client/requests → types}/SyncCreate.d.ts +5 -5
- package/serialization/{resources/sync/client/requests → types}/SyncCreate.js +2 -2
- package/serialization/types/SyncDagCreate.d.ts +18 -0
- package/serialization/{resources/dag/client/requests → 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 +1 -0
- package/serialization/types/SyncJob.js +1 -0
- package/serialization/{resources/sync/client/requests → types}/SyncUpdate.d.ts +5 -5
- package/serialization/{resources/sync/client/requests → types}/SyncUpdate.js +2 -2
- 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/index.d.ts +24 -1
- package/serialization/types/index.js +24 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/apiKeys/client/Client.d.ts +0 -131
- package/api/resources/apiKeys/client/Client.js +0 -391
- package/api/resources/apiKeys/client/requests/DeleteApiKeyApiKeysDeleteRequest.d.ts +0 -12
- package/api/resources/apiKeys/client/requests/index.d.ts +0 -3
- package/api/resources/chat/client/Client.d.ts +0 -77
- package/api/resources/chat/client/Client.js +0 -227
- 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/connections/client/requests/index.d.ts +0 -1
- package/api/resources/dag/client/Client.d.ts +0 -81
- package/api/resources/dag/client/Client.js +0 -276
- 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/embeddingModels/client/Client.d.ts +0 -71
- package/api/resources/embeddingModels/client/Client.js +0 -211
- package/api/resources/embeddingModels/client/index.d.ts +0 -1
- package/api/resources/embeddingModels/client/index.js +0 -2
- package/api/resources/entities/client/Client.d.ts +0 -119
- 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/search/client/Client.d.ts +0 -56
- package/api/resources/search/client/Client.js +0 -151
- package/api/resources/search/client/index.d.ts +0 -1
- package/api/resources/search/client/index.js +0 -17
- package/api/resources/search/client/requests/SearchSearchGetRequest.d.ts +0 -25
- package/api/resources/search/client/requests/index.d.ts +0 -1
- package/api/resources/search/client/requests/index.js +0 -2
- package/api/resources/sync/client/Client.d.ts +0 -277
- package/api/resources/sync/client/index.d.ts +0 -1
- package/api/resources/sync/client/index.js +0 -17
- package/api/resources/sync/client/requests/ListSyncsSyncGetRequest.d.ts +0 -12
- package/api/resources/sync/client/requests/index.d.ts +0 -5
- package/api/resources/sync/client/requests/index.js +0 -2
- package/api/resources/sync/index.d.ts +0 -2
- package/api/resources/sync/index.js +0 -18
- package/api/resources/sync/types/ListSyncsSyncGetResponse.d.ts +0 -5
- package/api/resources/sync/types/index.d.ts +0 -1
- package/api/resources/sync/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/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/types/ApiKeyWithPlainKey.d.ts +0 -18
- package/dist/api/resources/apiKeys/client/Client.d.ts +0 -131
- package/dist/api/resources/apiKeys/client/Client.js +0 -391
- package/dist/api/resources/apiKeys/client/index.d.ts +0 -1
- package/dist/api/resources/apiKeys/client/index.js +0 -17
- package/dist/api/resources/apiKeys/client/requests/DeleteApiKeyApiKeysDeleteRequest.d.ts +0 -12
- package/dist/api/resources/apiKeys/client/requests/ReadApiKeysApiKeysGetRequest.d.ts +0 -11
- package/dist/api/resources/apiKeys/client/requests/index.d.ts +0 -3
- package/dist/api/resources/apiKeys/client/requests/index.js +0 -2
- 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/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/connections/client/requests/index.d.ts +0 -1
- package/dist/api/resources/connections/client/requests/index.js +0 -2
- 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/embeddingModels/client/Client.d.ts +0 -71
- package/dist/api/resources/embeddingModels/client/Client.js +0 -211
- package/dist/api/resources/embeddingModels/client/index.d.ts +0 -1
- package/dist/api/resources/embeddingModels/client/index.js +0 -2
- package/dist/api/resources/embeddingModels/index.d.ts +0 -1
- package/dist/api/resources/embeddingModels/index.js +0 -17
- package/dist/api/resources/entities/client/Client.d.ts +0 -119
- 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/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/search/client/Client.d.ts +0 -56
- package/dist/api/resources/search/client/Client.js +0 -151
- package/dist/api/resources/search/client/index.d.ts +0 -1
- package/dist/api/resources/search/client/index.js +0 -17
- package/dist/api/resources/search/client/requests/SearchSearchGetRequest.d.ts +0 -25
- package/dist/api/resources/search/client/requests/index.d.ts +0 -1
- package/dist/api/resources/search/client/requests/index.js +0 -2
- package/dist/api/resources/search/index.d.ts +0 -1
- package/dist/api/resources/search/index.js +0 -17
- package/dist/api/resources/sync/client/Client.d.ts +0 -277
- package/dist/api/resources/sync/client/index.d.ts +0 -1
- package/dist/api/resources/sync/client/index.js +0 -17
- package/dist/api/resources/sync/client/requests/ListSyncsSyncGetRequest.d.ts +0 -12
- package/dist/api/resources/sync/client/requests/index.d.ts +0 -5
- package/dist/api/resources/sync/client/requests/index.js +0 -2
- package/dist/api/resources/sync/index.d.ts +0 -2
- package/dist/api/resources/sync/index.js +0 -18
- package/dist/api/resources/sync/types/ListSyncsSyncGetResponse.d.ts +0 -5
- package/dist/api/resources/sync/types/index.d.ts +0 -1
- package/dist/api/resources/sync/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/ApiKeyWithPlainKey.d.ts +0 -18
- package/dist/serialization/resources/apiKeys/client/index.d.ts +0 -2
- package/dist/serialization/resources/apiKeys/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/apiKeys/client/requests/index.js +0 -5
- package/dist/serialization/resources/apiKeys/index.d.ts +0 -1
- package/dist/serialization/resources/apiKeys/index.js +0 -17
- package/dist/serialization/resources/chat/client/index.d.ts +0 -2
- 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/connections/client/getConnectionCredentials.d.ts +0 -9
- package/dist/serialization/resources/connections/client/getOauth2WhiteLabelAuthUrl.d.ts +0 -9
- package/dist/serialization/resources/connections/client/requests/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.d.ts +0 -13
- package/dist/serialization/resources/connections/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/connections/client/requests/index.js +0 -5
- package/dist/serialization/resources/connections/client/sendOauth2WhiteLabelCode.d.ts +0 -9
- 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/embeddingModels/client/index.d.ts +0 -1
- package/dist/serialization/resources/embeddingModels/client/index.js +0 -37
- package/dist/serialization/resources/embeddingModels/client/readEmbeddingModels.js +0 -42
- package/dist/serialization/resources/embeddingModels/index.d.ts +0 -1
- package/dist/serialization/resources/embeddingModels/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/search/client/index.d.ts +0 -1
- package/dist/serialization/resources/search/client/index.js +0 -37
- package/dist/serialization/resources/search/client/search.d.ts +0 -9
- package/dist/serialization/resources/search/client/search.js +0 -41
- package/dist/serialization/resources/search/index.d.ts +0 -1
- package/dist/serialization/resources/search/index.js +0 -17
- package/dist/serialization/resources/sync/client/index.d.ts +0 -3
- package/dist/serialization/resources/sync/client/listAllJobs.d.ts +0 -11
- package/dist/serialization/resources/sync/client/listAllJobs.js +0 -42
- package/dist/serialization/resources/sync/client/listSyncJobs.d.ts +0 -11
- package/dist/serialization/resources/sync/client/listSyncJobs.js +0 -42
- package/dist/serialization/resources/sync/client/requests/index.d.ts +0 -2
- package/dist/serialization/resources/sync/client/requests/index.js +0 -7
- package/dist/serialization/resources/sync/index.d.ts +0 -2
- package/dist/serialization/resources/sync/index.js +0 -18
- package/dist/serialization/resources/sync/types/ListSyncsSyncGetResponse.d.ts +0 -12
- package/dist/serialization/resources/sync/types/ListSyncsSyncGetResponse.js +0 -46
- package/dist/serialization/resources/sync/types/index.d.ts +0 -1
- package/dist/serialization/resources/sync/types/index.js +0 -17
- package/dist/serialization/resources/transformers/client/index.d.ts +0 -2
- 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/resources/whiteLabels/client/exchangeWhiteLabelOauth2Code.d.ts +0 -9
- package/dist/serialization/resources/whiteLabels/client/getWhiteLabelOauth2AuthUrl.d.ts +0 -9
- package/serialization/resources/apiKeys/client/index.d.ts +0 -2
- package/serialization/resources/apiKeys/client/index.js +0 -41
- package/serialization/resources/apiKeys/client/readApiKeys.d.ts +0 -11
- package/serialization/resources/apiKeys/client/readApiKeys.js +0 -42
- package/serialization/resources/apiKeys/client/requests/index.d.ts +0 -1
- package/serialization/resources/apiKeys/client/requests/index.js +0 -5
- package/serialization/resources/apiKeys/index.d.ts +0 -1
- package/serialization/resources/apiKeys/index.js +0 -17
- 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/connections/client/getConnectionCredentials.d.ts +0 -9
- package/serialization/resources/connections/client/getConnectionCredentials.js +0 -41
- package/serialization/resources/connections/client/getOauth2WhiteLabelAuthUrl.d.ts +0 -9
- package/serialization/resources/connections/client/getOauth2WhiteLabelAuthUrl.js +0 -41
- package/serialization/resources/connections/client/listConnectedIntegrations.d.ts +0 -11
- package/serialization/resources/connections/client/requests/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.d.ts +0 -13
- package/serialization/resources/connections/client/requests/index.d.ts +0 -1
- package/serialization/resources/connections/client/requests/index.js +0 -5
- package/serialization/resources/connections/client/sendOauth2WhiteLabelCode.d.ts +0 -9
- package/serialization/resources/connections/client/sendOauth2WhiteLabelCode.js +0 -41
- 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/embeddingModels/client/index.d.ts +0 -1
- package/serialization/resources/embeddingModels/client/index.js +0 -37
- package/serialization/resources/embeddingModels/client/readEmbeddingModels.d.ts +0 -11
- package/serialization/resources/embeddingModels/client/readEmbeddingModels.js +0 -42
- package/serialization/resources/embeddingModels/index.d.ts +0 -1
- package/serialization/resources/embeddingModels/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/search/client/index.d.ts +0 -1
- package/serialization/resources/search/client/index.js +0 -37
- package/serialization/resources/search/client/search.d.ts +0 -9
- package/serialization/resources/search/client/search.js +0 -41
- package/serialization/resources/search/index.d.ts +0 -1
- package/serialization/resources/search/index.js +0 -17
- package/serialization/resources/sync/client/index.d.ts +0 -3
- package/serialization/resources/sync/client/index.js +0 -42
- package/serialization/resources/sync/client/listAllJobs.d.ts +0 -11
- package/serialization/resources/sync/client/listAllJobs.js +0 -42
- package/serialization/resources/sync/client/listSyncJobs.d.ts +0 -11
- package/serialization/resources/sync/client/listSyncJobs.js +0 -42
- package/serialization/resources/sync/client/requests/index.d.ts +0 -2
- package/serialization/resources/sync/client/requests/index.js +0 -7
- package/serialization/resources/sync/index.d.ts +0 -2
- package/serialization/resources/sync/index.js +0 -18
- package/serialization/resources/sync/types/ListSyncsSyncGetResponse.d.ts +0 -12
- package/serialization/resources/sync/types/ListSyncsSyncGetResponse.js +0 -46
- package/serialization/resources/sync/types/index.d.ts +0 -1
- package/serialization/resources/sync/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/resources/whiteLabels/client/exchangeWhiteLabelOauth2Code.d.ts +0 -9
- package/serialization/resources/whiteLabels/client/exchangeWhiteLabelOauth2Code.js +0 -41
- package/serialization/resources/whiteLabels/client/getWhiteLabelOauth2AuthUrl.d.ts +0 -9
- package/serialization/resources/whiteLabels/client/getWhiteLabelOauth2AuthUrl.js +0 -41
- /package/api/resources/{apiKeys → collections}/client/index.d.ts +0 -0
- /package/api/resources/{apiKeys → collections}/client/index.js +0 -0
- /package/api/resources/{apiKeys/client/requests/ApiKeyCreate.js → collections/client/requests/CollectionCreate.js} +0 -0
- /package/api/resources/{apiKeys/client/requests/DeleteApiKeyApiKeysDeleteRequest.js → collections/client/requests/DeleteCollectionCollectionsReadableIdDeleteRequest.js} +0 -0
- /package/api/resources/{apiKeys/client/requests/ReadApiKeysApiKeysGetRequest.js → collections/client/requests/ListCollectionsCollectionsGetRequest.js} +0 -0
- /package/api/resources/{apiKeys → collections}/client/requests/index.js +0 -0
- /package/api/resources/{apiKeys → collections}/index.d.ts +0 -0
- /package/api/resources/{apiKeys → collections}/index.js +0 -0
- /package/api/resources/{chat → sourceConnections}/client/index.d.ts +0 -0
- /package/api/resources/{chat → sourceConnections}/client/index.js +0 -0
- /package/api/resources/{chat/client/requests/ChatCreate.js → sourceConnections/client/requests/DeleteSourceConnectionSourceConnectionsSourceConnectionIdDeleteRequest.js} +0 -0
- /package/api/resources/{chat/client/requests/ListChatsChatGetRequest.js → sourceConnections/client/requests/GetSourceConnectionSourceConnectionsSourceConnectionIdGetRequest.js} +0 -0
- /package/api/resources/{connections/client/requests/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.js → sourceConnections/client/requests/ListSourceConnectionsSourceConnectionsGetRequest.js} +0 -0
- /package/api/resources/{dag/client/requests/SyncDagCreate.js → sourceConnections/client/requests/SourceConnectionUpdate.js} +0 -0
- /package/api/resources/{chat → sourceConnections}/client/requests/index.js +0 -0
- /package/api/resources/{chat → sourceConnections}/index.d.ts +0 -0
- /package/api/resources/{chat → sourceConnections}/index.js +0 -0
- /package/{dist/api/resources/apiKeys/client/requests → api/types}/ApiKeyCreate.js +0 -0
- /package/{dist/api/resources/connections/client/requests → api/types}/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.js +0 -0
- /package/api/{resources/dag/client/requests/SyncDagUpdate.js → types/BodyCreateSourceConnectionFromOauthConnectionsCreateSourceConnectionFromOauthPost.js} +0 -0
- /package/{dist/api/resources/chat/client/requests → api/types}/ChatCreate.js +0 -0
- /package/api/{resources/entities/client/requests/EntityDefinitionCreate.js → types/Collection.js} +0 -0
- /package/api/{resources/entities/client/requests/EntityRelationCreate.js → types/CollectionUpdate.js} +0 -0
- /package/api/{resources/entities/client/requests/GetEntityDefinitionsBySourceShortNameEntitiesDefinitionsBySourceGetRequest.js → types/ConfigValues.js} +0 -0
- /package/{dist/api/resources/entities/client/requests → api/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/{dist/api/resources/entities/client/requests → api/types}/EntityRelationCreate.js +0 -0
- /package/api/{resources/search/client/requests/SearchSearchGetRequest.js → types/SearchResponse.js} +0 -0
- /package/api/{resources/sync/client/requests/DeleteSyncSyncSyncIdDeleteRequest.js → types/SourceConnection.js} +0 -0
- /package/api/{resources/sync/client/requests/ListAllJobsSyncJobsGetRequest.js → types/SourceConnectionAuthFields.js} +0 -0
- /package/api/{resources/sync/client/requests/ListSyncsSyncGetRequest.js → types/SourceConnectionCreate.js} +0 -0
- /package/api/{resources/sync/client/requests/SyncCreate.js → types/SourceConnectionJob.js} +0 -0
- /package/api/{resources/sync/client/requests/SyncUpdate.js → types/SourceConnectionListItem.js} +0 -0
- /package/{dist/api/resources/sync/client/requests → api/types}/SyncCreate.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/{dist/api/resources/sync/client/requests → api/types}/SyncUpdate.js +0 -0
- /package/api/{resources/transformers/client/requests → types}/TransformerCreate.js +0 -0
- /package/{api/resources/dag → dist/api/resources/collections}/client/index.d.ts +0 -0
- /package/{api/resources/dag → dist/api/resources/collections}/client/index.js +0 -0
- /package/{api/resources/sync/types/ListSyncsSyncGetResponse.js → dist/api/resources/collections/client/requests/CollectionCreate.js} +0 -0
- /package/{api/types/ApiKeyWithPlainKey.js → dist/api/resources/collections/client/requests/DeleteCollectionCollectionsReadableIdDeleteRequest.js} +0 -0
- /package/dist/api/resources/{apiKeys/client/requests/DeleteApiKeyApiKeysDeleteRequest.js → collections/client/requests/ListCollectionsCollectionsGetRequest.js} +0 -0
- /package/{api/resources/connections → dist/api/resources/collections}/client/requests/index.js +0 -0
- /package/{api/resources/dag → dist/api/resources/collections}/index.d.ts +0 -0
- /package/{api/resources/dag → dist/api/resources/collections}/index.js +0 -0
- /package/{api/resources/entities → dist/api/resources/sourceConnections}/client/index.d.ts +0 -0
- /package/{api/resources/entities → dist/api/resources/sourceConnections}/client/index.js +0 -0
- /package/dist/api/resources/{apiKeys/client/requests/ReadApiKeysApiKeysGetRequest.js → sourceConnections/client/requests/DeleteSourceConnectionSourceConnectionsSourceConnectionIdDeleteRequest.js} +0 -0
- /package/dist/api/resources/{chat/client/requests/ListChatsChatGetRequest.js → sourceConnections/client/requests/GetSourceConnectionSourceConnectionsSourceConnectionIdGetRequest.js} +0 -0
- /package/dist/api/resources/{entities/client/requests/GetEntityDefinitionsBySourceShortNameEntitiesDefinitionsBySourceGetRequest.js → sourceConnections/client/requests/ListSourceConnectionsSourceConnectionsGetRequest.js} +0 -0
- /package/dist/api/resources/{entities/types/EntityDefinitionCreateEntitySchema.js → sourceConnections/client/requests/SourceConnectionUpdate.js} +0 -0
- /package/{api/resources/dag → dist/api/resources/sourceConnections}/client/requests/index.js +0 -0
- /package/{api/resources/embeddingModels → dist/api/resources/sourceConnections}/index.d.ts +0 -0
- /package/{api/resources/embeddingModels → dist/api/resources/sourceConnections}/index.js +0 -0
- /package/dist/api/{resources/search/client/requests/SearchSearchGetRequest.js → types/ApiKeyCreate.js} +0 -0
- /package/dist/api/{resources/sync/client/requests/DeleteSyncSyncSyncIdDeleteRequest.js → types/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.js} +0 -0
- /package/dist/api/{resources/sync/client/requests/ListAllJobsSyncJobsGetRequest.js → types/BodyCreateSourceConnectionFromOauthConnectionsCreateSourceConnectionFromOauthPost.js} +0 -0
- /package/dist/api/{resources/sync/client/requests/ListSyncsSyncGetRequest.js → types/ChatCreate.js} +0 -0
- /package/dist/api/{resources/sync/types/ListSyncsSyncGetResponse.js → types/Collection.js} +0 -0
- /package/dist/api/{resources/transformers/client/requests/TransformerCreate.js → types/CollectionUpdate.js} +0 -0
- /package/dist/api/types/{ApiKeyWithPlainKey.js → ConfigValues.js} +0 -0
- /package/dist/api/{resources/entities/types → types}/EntityDefinitionCreateEntitySchema.d.ts +0 -0
- /package/{api/resources/search → dist/serialization/resources/collections}/index.d.ts +0 -0
- /package/{api/resources/search → dist/serialization/resources/collections}/index.js +0 -0
- /package/{api/resources/transformers → dist/serialization/resources/sourceConnections}/index.d.ts +0 -0
- /package/{api/resources/transformers → dist/serialization/resources/sourceConnections}/index.js +0 -0
- /package/{api/resources/users → serialization/resources/collections}/index.d.ts +0 -0
- /package/{api/resources/users → serialization/resources/collections}/index.js +0 -0
- /package/{dist/api/resources/apiKeys → serialization/resources/sourceConnections}/index.d.ts +0 -0
- /package/{dist/api/resources/apiKeys → serialization/resources/sourceConnections}/index.js +0 -0
|
@@ -56,7 +56,7 @@ const url_join_1 = __importDefault(require("url-join"));
|
|
|
56
56
|
const serializers = __importStar(require("../../../../serialization/index"));
|
|
57
57
|
const errors = __importStar(require("../../../../errors/index"));
|
|
58
58
|
class Connections {
|
|
59
|
-
constructor(_options
|
|
59
|
+
constructor(_options) {
|
|
60
60
|
this._options = _options;
|
|
61
61
|
}
|
|
62
62
|
/**
|
|
@@ -86,9 +86,9 @@ class Connections {
|
|
|
86
86
|
const _response = yield core.fetcher({
|
|
87
87
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, `connections/detail/${encodeURIComponent(connectionId)}`),
|
|
88
88
|
method: "GET",
|
|
89
|
-
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
89
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
90
90
|
? yield core.Supplier.get(this._options.apiKey)
|
|
91
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "
|
|
91
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.2.27", "User-Agent": "@airweave/sdk/0.2.27", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
92
92
|
contentType: "application/json",
|
|
93
93
|
requestType: "json",
|
|
94
94
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -159,9 +159,9 @@ class Connections {
|
|
|
159
159
|
const _response = yield core.fetcher({
|
|
160
160
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, "connections/list"),
|
|
161
161
|
method: "GET",
|
|
162
|
-
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
162
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
163
163
|
? yield core.Supplier.get(this._options.apiKey)
|
|
164
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "
|
|
164
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.2.27", "User-Agent": "@airweave/sdk/0.2.27", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
165
165
|
contentType: "application/json",
|
|
166
166
|
requestType: "json",
|
|
167
167
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -207,555 +207,9 @@ class Connections {
|
|
|
207
207
|
}
|
|
208
208
|
});
|
|
209
209
|
}
|
|
210
|
-
|
|
211
|
-
* Get all integrations of specified type connected to the current user.
|
|
212
|
-
*
|
|
213
|
-
* Args:
|
|
214
|
-
* -----
|
|
215
|
-
* integration_type (IntegrationType): The type of integration to get connections for.
|
|
216
|
-
* db (AsyncSession): The database session.
|
|
217
|
-
* user (schemas.User): The current user.
|
|
218
|
-
*
|
|
219
|
-
* Returns:
|
|
220
|
-
* -------
|
|
221
|
-
* list[schemas.Connection]: The list of connections.
|
|
222
|
-
*
|
|
223
|
-
* @param {AirweaveSDK.IntegrationType} integrationType
|
|
224
|
-
* @param {Connections.RequestOptions} requestOptions - Request-specific configuration.
|
|
225
|
-
*
|
|
226
|
-
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
227
|
-
*
|
|
228
|
-
* @example
|
|
229
|
-
* await client.connections.listConnectedIntegrations("source")
|
|
230
|
-
*/
|
|
231
|
-
listConnectedIntegrations(integrationType, requestOptions) {
|
|
232
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
233
|
-
var _a;
|
|
234
|
-
const _response = yield core.fetcher({
|
|
235
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, `connections/list/${encodeURIComponent(serializers.IntegrationType.jsonOrThrow(integrationType))}`),
|
|
236
|
-
method: "GET",
|
|
237
|
-
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
238
|
-
? yield core.Supplier.get(this._options.apiKey)
|
|
239
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.25", "User-Agent": "@airweave/sdk/v0.2.25", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
240
|
-
contentType: "application/json",
|
|
241
|
-
requestType: "json",
|
|
242
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
243
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
244
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
245
|
-
});
|
|
246
|
-
if (_response.ok) {
|
|
247
|
-
return serializers.connections.listConnectedIntegrations.Response.parseOrThrow(_response.body, {
|
|
248
|
-
unrecognizedObjectKeys: "passthrough",
|
|
249
|
-
allowUnrecognizedUnionMembers: true,
|
|
250
|
-
allowUnrecognizedEnumValues: true,
|
|
251
|
-
breadcrumbsPrefix: ["response"],
|
|
252
|
-
});
|
|
253
|
-
}
|
|
254
|
-
if (_response.error.reason === "status-code") {
|
|
255
|
-
switch (_response.error.statusCode) {
|
|
256
|
-
case 422:
|
|
257
|
-
throw new AirweaveSDK.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
258
|
-
unrecognizedObjectKeys: "passthrough",
|
|
259
|
-
allowUnrecognizedUnionMembers: true,
|
|
260
|
-
allowUnrecognizedEnumValues: true,
|
|
261
|
-
breadcrumbsPrefix: ["response"],
|
|
262
|
-
}));
|
|
263
|
-
default:
|
|
264
|
-
throw new errors.AirweaveSDKError({
|
|
265
|
-
statusCode: _response.error.statusCode,
|
|
266
|
-
body: _response.error.body,
|
|
267
|
-
});
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
switch (_response.error.reason) {
|
|
271
|
-
case "non-json":
|
|
272
|
-
throw new errors.AirweaveSDKError({
|
|
273
|
-
statusCode: _response.error.statusCode,
|
|
274
|
-
body: _response.error.rawBody,
|
|
275
|
-
});
|
|
276
|
-
case "timeout":
|
|
277
|
-
throw new errors.AirweaveSDKTimeoutError("Timeout exceeded when calling GET /connections/list/{integration_type}.");
|
|
278
|
-
case "unknown":
|
|
279
|
-
throw new errors.AirweaveSDKError({
|
|
280
|
-
message: _response.error.errorMessage,
|
|
281
|
-
});
|
|
282
|
-
}
|
|
283
|
-
});
|
|
284
|
-
}
|
|
285
|
-
/**
|
|
286
|
-
* Connect to a source, destination, or embedding model.
|
|
287
|
-
*
|
|
288
|
-
* Expects a POST body with:
|
|
289
|
-
* ```json
|
|
290
|
-
* {
|
|
291
|
-
* "name": "required connection name",
|
|
292
|
-
* ... other config fields specific to the integration type ...
|
|
293
|
-
* }
|
|
294
|
-
* ```
|
|
295
|
-
*
|
|
296
|
-
* Args:
|
|
297
|
-
* -----
|
|
298
|
-
* db: The database session.
|
|
299
|
-
* integration_type: The type of integration to connect to.
|
|
300
|
-
* short_name: The short name of the integration to connect to.
|
|
301
|
-
* name: The name of the connection.
|
|
302
|
-
* auth_fields: The config fields for the integration.
|
|
303
|
-
* user: The current user.
|
|
304
|
-
*
|
|
305
|
-
* Returns:
|
|
306
|
-
* -------
|
|
307
|
-
* schemas.Connection: The connection.
|
|
308
|
-
*
|
|
309
|
-
* @param {AirweaveSDK.IntegrationType} integrationType
|
|
310
|
-
* @param {string} shortName
|
|
311
|
-
* @param {AirweaveSDK.BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost} request
|
|
312
|
-
* @param {Connections.RequestOptions} requestOptions - Request-specific configuration.
|
|
313
|
-
*
|
|
314
|
-
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
315
|
-
*
|
|
316
|
-
* @example
|
|
317
|
-
* await client.connections.connectIntegration("source", "short_name", {
|
|
318
|
-
* authFields: {
|
|
319
|
-
* "key": "value"
|
|
320
|
-
* }
|
|
321
|
-
* })
|
|
322
|
-
*/
|
|
323
|
-
connectIntegration(integrationType, shortName, request, requestOptions) {
|
|
324
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
325
|
-
var _a;
|
|
326
|
-
const _response = yield core.fetcher({
|
|
327
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, `connections/connect/${encodeURIComponent(serializers.IntegrationType.jsonOrThrow(integrationType))}/${encodeURIComponent(shortName)}`),
|
|
328
|
-
method: "POST",
|
|
329
|
-
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
330
|
-
? yield core.Supplier.get(this._options.apiKey)
|
|
331
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.25", "User-Agent": "@airweave/sdk/v0.2.25", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
332
|
-
contentType: "application/json",
|
|
333
|
-
requestType: "json",
|
|
334
|
-
body: serializers.BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
335
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
336
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
337
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
338
|
-
});
|
|
339
|
-
if (_response.ok) {
|
|
340
|
-
return serializers.Connection.parseOrThrow(_response.body, {
|
|
341
|
-
unrecognizedObjectKeys: "passthrough",
|
|
342
|
-
allowUnrecognizedUnionMembers: true,
|
|
343
|
-
allowUnrecognizedEnumValues: true,
|
|
344
|
-
breadcrumbsPrefix: ["response"],
|
|
345
|
-
});
|
|
346
|
-
}
|
|
347
|
-
if (_response.error.reason === "status-code") {
|
|
348
|
-
switch (_response.error.statusCode) {
|
|
349
|
-
case 422:
|
|
350
|
-
throw new AirweaveSDK.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
351
|
-
unrecognizedObjectKeys: "passthrough",
|
|
352
|
-
allowUnrecognizedUnionMembers: true,
|
|
353
|
-
allowUnrecognizedEnumValues: true,
|
|
354
|
-
breadcrumbsPrefix: ["response"],
|
|
355
|
-
}));
|
|
356
|
-
default:
|
|
357
|
-
throw new errors.AirweaveSDKError({
|
|
358
|
-
statusCode: _response.error.statusCode,
|
|
359
|
-
body: _response.error.body,
|
|
360
|
-
});
|
|
361
|
-
}
|
|
362
|
-
}
|
|
363
|
-
switch (_response.error.reason) {
|
|
364
|
-
case "non-json":
|
|
365
|
-
throw new errors.AirweaveSDKError({
|
|
366
|
-
statusCode: _response.error.statusCode,
|
|
367
|
-
body: _response.error.rawBody,
|
|
368
|
-
});
|
|
369
|
-
case "timeout":
|
|
370
|
-
throw new errors.AirweaveSDKTimeoutError("Timeout exceeded when calling POST /connections/connect/{integration_type}/{short_name}.");
|
|
371
|
-
case "unknown":
|
|
372
|
-
throw new errors.AirweaveSDKError({
|
|
373
|
-
message: _response.error.errorMessage,
|
|
374
|
-
});
|
|
375
|
-
}
|
|
376
|
-
});
|
|
377
|
-
}
|
|
378
|
-
/**
|
|
379
|
-
* Get the credentials for a connection.
|
|
380
|
-
*
|
|
381
|
-
* Args:
|
|
382
|
-
* -----
|
|
383
|
-
* connection_id (UUID): The ID of the connection to get credentials for
|
|
384
|
-
* db (AsyncSession): The database session
|
|
385
|
-
* user (schemas.User): The current user
|
|
386
|
-
*
|
|
387
|
-
* Returns:
|
|
388
|
-
* -------
|
|
389
|
-
* decrypted_credentials (dict): The credentials for the connection
|
|
390
|
-
*
|
|
391
|
-
* @param {string} connectionId
|
|
392
|
-
* @param {Connections.RequestOptions} requestOptions - Request-specific configuration.
|
|
393
|
-
*
|
|
394
|
-
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
395
|
-
*
|
|
396
|
-
* @example
|
|
397
|
-
* await client.connections.getConnectionCredentials("connection_id")
|
|
398
|
-
*/
|
|
399
|
-
getConnectionCredentials(connectionId, requestOptions) {
|
|
400
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
401
|
-
var _a;
|
|
402
|
-
const _response = yield core.fetcher({
|
|
403
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, `connections/credentials/${encodeURIComponent(connectionId)}`),
|
|
404
|
-
method: "GET",
|
|
405
|
-
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
406
|
-
? yield core.Supplier.get(this._options.apiKey)
|
|
407
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.25", "User-Agent": "@airweave/sdk/v0.2.25", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
408
|
-
contentType: "application/json",
|
|
409
|
-
requestType: "json",
|
|
410
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
411
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
412
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
413
|
-
});
|
|
414
|
-
if (_response.ok) {
|
|
415
|
-
return serializers.connections.getConnectionCredentials.Response.parseOrThrow(_response.body, {
|
|
416
|
-
unrecognizedObjectKeys: "passthrough",
|
|
417
|
-
allowUnrecognizedUnionMembers: true,
|
|
418
|
-
allowUnrecognizedEnumValues: true,
|
|
419
|
-
breadcrumbsPrefix: ["response"],
|
|
420
|
-
});
|
|
421
|
-
}
|
|
422
|
-
if (_response.error.reason === "status-code") {
|
|
423
|
-
switch (_response.error.statusCode) {
|
|
424
|
-
case 422:
|
|
425
|
-
throw new AirweaveSDK.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
426
|
-
unrecognizedObjectKeys: "passthrough",
|
|
427
|
-
allowUnrecognizedUnionMembers: true,
|
|
428
|
-
allowUnrecognizedEnumValues: true,
|
|
429
|
-
breadcrumbsPrefix: ["response"],
|
|
430
|
-
}));
|
|
431
|
-
default:
|
|
432
|
-
throw new errors.AirweaveSDKError({
|
|
433
|
-
statusCode: _response.error.statusCode,
|
|
434
|
-
body: _response.error.body,
|
|
435
|
-
});
|
|
436
|
-
}
|
|
437
|
-
}
|
|
438
|
-
switch (_response.error.reason) {
|
|
439
|
-
case "non-json":
|
|
440
|
-
throw new errors.AirweaveSDKError({
|
|
441
|
-
statusCode: _response.error.statusCode,
|
|
442
|
-
body: _response.error.rawBody,
|
|
443
|
-
});
|
|
444
|
-
case "timeout":
|
|
445
|
-
throw new errors.AirweaveSDKTimeoutError("Timeout exceeded when calling GET /connections/credentials/{connection_id}.");
|
|
446
|
-
case "unknown":
|
|
447
|
-
throw new errors.AirweaveSDKError({
|
|
448
|
-
message: _response.error.errorMessage,
|
|
449
|
-
});
|
|
450
|
-
}
|
|
451
|
-
});
|
|
452
|
-
}
|
|
453
|
-
/**
|
|
454
|
-
* Delete a connection.
|
|
455
|
-
*
|
|
456
|
-
* Deletes the connection and integration credential.
|
|
457
|
-
*
|
|
458
|
-
* Args:
|
|
459
|
-
* -----
|
|
460
|
-
* db (AsyncSession): The database session
|
|
461
|
-
* connection_id (UUID): The ID of the connection to delete
|
|
462
|
-
* user (schemas.User): The current user
|
|
463
|
-
*
|
|
464
|
-
* Returns:
|
|
465
|
-
* --------
|
|
466
|
-
* connection (schemas.Connection): The deleted connection
|
|
467
|
-
*
|
|
468
|
-
* @param {string} connectionId
|
|
469
|
-
* @param {Connections.RequestOptions} requestOptions - Request-specific configuration.
|
|
470
|
-
*
|
|
471
|
-
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
472
|
-
*
|
|
473
|
-
* @example
|
|
474
|
-
* await client.connections.deleteConnection("connection_id")
|
|
475
|
-
*/
|
|
476
|
-
deleteConnection(connectionId, requestOptions) {
|
|
477
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
478
|
-
var _a;
|
|
479
|
-
const _response = yield core.fetcher({
|
|
480
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, `connections/delete/source/${encodeURIComponent(connectionId)}`),
|
|
481
|
-
method: "DELETE",
|
|
482
|
-
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
483
|
-
? yield core.Supplier.get(this._options.apiKey)
|
|
484
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.25", "User-Agent": "@airweave/sdk/v0.2.25", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
485
|
-
contentType: "application/json",
|
|
486
|
-
requestType: "json",
|
|
487
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
488
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
489
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
490
|
-
});
|
|
491
|
-
if (_response.ok) {
|
|
492
|
-
return serializers.Connection.parseOrThrow(_response.body, {
|
|
493
|
-
unrecognizedObjectKeys: "passthrough",
|
|
494
|
-
allowUnrecognizedUnionMembers: true,
|
|
495
|
-
allowUnrecognizedEnumValues: true,
|
|
496
|
-
breadcrumbsPrefix: ["response"],
|
|
497
|
-
});
|
|
498
|
-
}
|
|
499
|
-
if (_response.error.reason === "status-code") {
|
|
500
|
-
switch (_response.error.statusCode) {
|
|
501
|
-
case 422:
|
|
502
|
-
throw new AirweaveSDK.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
503
|
-
unrecognizedObjectKeys: "passthrough",
|
|
504
|
-
allowUnrecognizedUnionMembers: true,
|
|
505
|
-
allowUnrecognizedEnumValues: true,
|
|
506
|
-
breadcrumbsPrefix: ["response"],
|
|
507
|
-
}));
|
|
508
|
-
default:
|
|
509
|
-
throw new errors.AirweaveSDKError({
|
|
510
|
-
statusCode: _response.error.statusCode,
|
|
511
|
-
body: _response.error.body,
|
|
512
|
-
});
|
|
513
|
-
}
|
|
514
|
-
}
|
|
515
|
-
switch (_response.error.reason) {
|
|
516
|
-
case "non-json":
|
|
517
|
-
throw new errors.AirweaveSDKError({
|
|
518
|
-
statusCode: _response.error.statusCode,
|
|
519
|
-
body: _response.error.rawBody,
|
|
520
|
-
});
|
|
521
|
-
case "timeout":
|
|
522
|
-
throw new errors.AirweaveSDKTimeoutError("Timeout exceeded when calling DELETE /connections/delete/source/{connection_id}.");
|
|
523
|
-
case "unknown":
|
|
524
|
-
throw new errors.AirweaveSDKError({
|
|
525
|
-
message: _response.error.errorMessage,
|
|
526
|
-
});
|
|
527
|
-
}
|
|
528
|
-
});
|
|
529
|
-
}
|
|
530
|
-
/**
|
|
531
|
-
* Disconnect from a source connection.
|
|
532
|
-
*
|
|
533
|
-
* Args:
|
|
534
|
-
* -----
|
|
535
|
-
* db (AsyncSession): The database session
|
|
536
|
-
* connection_id (UUID): The ID of the connection to disconnect
|
|
537
|
-
* user (schemas.User): The current user
|
|
538
|
-
*
|
|
539
|
-
* Returns:
|
|
540
|
-
* --------
|
|
541
|
-
* connection (schemas.Connection): The disconnected connection
|
|
542
|
-
*
|
|
543
|
-
* @param {string} connectionId
|
|
544
|
-
* @param {Connections.RequestOptions} requestOptions - Request-specific configuration.
|
|
545
|
-
*
|
|
546
|
-
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
547
|
-
*
|
|
548
|
-
* @example
|
|
549
|
-
* await client.connections.disconnectSourceConnection("connection_id")
|
|
550
|
-
*/
|
|
551
|
-
disconnectSourceConnection(connectionId, requestOptions) {
|
|
552
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
553
|
-
var _a;
|
|
554
|
-
const _response = yield core.fetcher({
|
|
555
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, `connections/disconnect/source/${encodeURIComponent(connectionId)}`),
|
|
556
|
-
method: "PUT",
|
|
557
|
-
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
558
|
-
? yield core.Supplier.get(this._options.apiKey)
|
|
559
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.25", "User-Agent": "@airweave/sdk/v0.2.25", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
560
|
-
contentType: "application/json",
|
|
561
|
-
requestType: "json",
|
|
562
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
563
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
564
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
565
|
-
});
|
|
566
|
-
if (_response.ok) {
|
|
567
|
-
return serializers.Connection.parseOrThrow(_response.body, {
|
|
568
|
-
unrecognizedObjectKeys: "passthrough",
|
|
569
|
-
allowUnrecognizedUnionMembers: true,
|
|
570
|
-
allowUnrecognizedEnumValues: true,
|
|
571
|
-
breadcrumbsPrefix: ["response"],
|
|
572
|
-
});
|
|
573
|
-
}
|
|
574
|
-
if (_response.error.reason === "status-code") {
|
|
575
|
-
switch (_response.error.statusCode) {
|
|
576
|
-
case 422:
|
|
577
|
-
throw new AirweaveSDK.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
578
|
-
unrecognizedObjectKeys: "passthrough",
|
|
579
|
-
allowUnrecognizedUnionMembers: true,
|
|
580
|
-
allowUnrecognizedEnumValues: true,
|
|
581
|
-
breadcrumbsPrefix: ["response"],
|
|
582
|
-
}));
|
|
583
|
-
default:
|
|
584
|
-
throw new errors.AirweaveSDKError({
|
|
585
|
-
statusCode: _response.error.statusCode,
|
|
586
|
-
body: _response.error.body,
|
|
587
|
-
});
|
|
588
|
-
}
|
|
589
|
-
}
|
|
590
|
-
switch (_response.error.reason) {
|
|
591
|
-
case "non-json":
|
|
592
|
-
throw new errors.AirweaveSDKError({
|
|
593
|
-
statusCode: _response.error.statusCode,
|
|
594
|
-
body: _response.error.rawBody,
|
|
595
|
-
});
|
|
596
|
-
case "timeout":
|
|
597
|
-
throw new errors.AirweaveSDKTimeoutError("Timeout exceeded when calling PUT /connections/disconnect/source/{connection_id}.");
|
|
598
|
-
case "unknown":
|
|
599
|
-
throw new errors.AirweaveSDKError({
|
|
600
|
-
message: _response.error.errorMessage,
|
|
601
|
-
});
|
|
602
|
-
}
|
|
603
|
-
});
|
|
604
|
-
}
|
|
605
|
-
/**
|
|
606
|
-
* Exchange the OAuth2 authorization code for a white label integration.
|
|
607
|
-
*
|
|
608
|
-
* Args:
|
|
609
|
-
* -----
|
|
610
|
-
* db: The database session
|
|
611
|
-
* white_label_id: The ID of the white label integration
|
|
612
|
-
* code: The authorization code
|
|
613
|
-
* user: The current user
|
|
614
|
-
* background_tasks: The background tasks
|
|
615
|
-
*
|
|
616
|
-
* Returns:
|
|
617
|
-
* --------
|
|
618
|
-
* connection (schemas.Connection): The created connection
|
|
619
|
-
*
|
|
620
|
-
* @param {string} whiteLabelId
|
|
621
|
-
* @param {string} request
|
|
622
|
-
* @param {Connections.RequestOptions} requestOptions - Request-specific configuration.
|
|
623
|
-
*
|
|
624
|
-
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
625
|
-
*
|
|
626
|
-
* @example
|
|
627
|
-
* await client.connections.sendOauth2WhiteLabelCode("white_label_id", "string")
|
|
628
|
-
*/
|
|
629
|
-
sendOauth2WhiteLabelCode(whiteLabelId, request, requestOptions) {
|
|
210
|
+
_getAuthorizationHeader() {
|
|
630
211
|
return __awaiter(this, void 0, void 0, function* () {
|
|
631
|
-
|
|
632
|
-
const _response = yield core.fetcher({
|
|
633
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, `connections/oauth2/white-label/${encodeURIComponent(whiteLabelId)}/code`),
|
|
634
|
-
method: "POST",
|
|
635
|
-
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
636
|
-
? yield core.Supplier.get(this._options.apiKey)
|
|
637
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.25", "User-Agent": "@airweave/sdk/v0.2.25", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
638
|
-
contentType: "application/json",
|
|
639
|
-
requestType: "json",
|
|
640
|
-
body: serializers.connections.sendOauth2WhiteLabelCode.Request.jsonOrThrow(request, {
|
|
641
|
-
unrecognizedObjectKeys: "strip",
|
|
642
|
-
}),
|
|
643
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
644
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
645
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
646
|
-
});
|
|
647
|
-
if (_response.ok) {
|
|
648
|
-
return serializers.Connection.parseOrThrow(_response.body, {
|
|
649
|
-
unrecognizedObjectKeys: "passthrough",
|
|
650
|
-
allowUnrecognizedUnionMembers: true,
|
|
651
|
-
allowUnrecognizedEnumValues: true,
|
|
652
|
-
breadcrumbsPrefix: ["response"],
|
|
653
|
-
});
|
|
654
|
-
}
|
|
655
|
-
if (_response.error.reason === "status-code") {
|
|
656
|
-
switch (_response.error.statusCode) {
|
|
657
|
-
case 422:
|
|
658
|
-
throw new AirweaveSDK.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
659
|
-
unrecognizedObjectKeys: "passthrough",
|
|
660
|
-
allowUnrecognizedUnionMembers: true,
|
|
661
|
-
allowUnrecognizedEnumValues: true,
|
|
662
|
-
breadcrumbsPrefix: ["response"],
|
|
663
|
-
}));
|
|
664
|
-
default:
|
|
665
|
-
throw new errors.AirweaveSDKError({
|
|
666
|
-
statusCode: _response.error.statusCode,
|
|
667
|
-
body: _response.error.body,
|
|
668
|
-
});
|
|
669
|
-
}
|
|
670
|
-
}
|
|
671
|
-
switch (_response.error.reason) {
|
|
672
|
-
case "non-json":
|
|
673
|
-
throw new errors.AirweaveSDKError({
|
|
674
|
-
statusCode: _response.error.statusCode,
|
|
675
|
-
body: _response.error.rawBody,
|
|
676
|
-
});
|
|
677
|
-
case "timeout":
|
|
678
|
-
throw new errors.AirweaveSDKTimeoutError("Timeout exceeded when calling POST /connections/oauth2/white-label/{white_label_id}/code.");
|
|
679
|
-
case "unknown":
|
|
680
|
-
throw new errors.AirweaveSDKError({
|
|
681
|
-
message: _response.error.errorMessage,
|
|
682
|
-
});
|
|
683
|
-
}
|
|
684
|
-
});
|
|
685
|
-
}
|
|
686
|
-
/**
|
|
687
|
-
* Get the OAuth2 authorization URL for a white label integration.
|
|
688
|
-
*
|
|
689
|
-
* Args:
|
|
690
|
-
* -----
|
|
691
|
-
* db: The database session
|
|
692
|
-
* white_label_id: The ID of the white label integration
|
|
693
|
-
* user: The current user
|
|
694
|
-
*
|
|
695
|
-
* Returns:
|
|
696
|
-
* --------
|
|
697
|
-
* str: The OAuth2 authorization URL
|
|
698
|
-
*
|
|
699
|
-
* @param {string} whiteLabelId
|
|
700
|
-
* @param {Connections.RequestOptions} requestOptions - Request-specific configuration.
|
|
701
|
-
*
|
|
702
|
-
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
703
|
-
*
|
|
704
|
-
* @example
|
|
705
|
-
* await client.connections.getOauth2WhiteLabelAuthUrl("white_label_id")
|
|
706
|
-
*/
|
|
707
|
-
getOauth2WhiteLabelAuthUrl(whiteLabelId, requestOptions) {
|
|
708
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
709
|
-
var _a;
|
|
710
|
-
const _response = yield core.fetcher({
|
|
711
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, `connections/oauth2/white-label/${encodeURIComponent(whiteLabelId)}/auth_url`),
|
|
712
|
-
method: "GET",
|
|
713
|
-
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
714
|
-
? yield core.Supplier.get(this._options.apiKey)
|
|
715
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.25", "User-Agent": "@airweave/sdk/v0.2.25", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
716
|
-
contentType: "application/json",
|
|
717
|
-
requestType: "json",
|
|
718
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
719
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
720
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
721
|
-
});
|
|
722
|
-
if (_response.ok) {
|
|
723
|
-
return serializers.connections.getOauth2WhiteLabelAuthUrl.Response.parseOrThrow(_response.body, {
|
|
724
|
-
unrecognizedObjectKeys: "passthrough",
|
|
725
|
-
allowUnrecognizedUnionMembers: true,
|
|
726
|
-
allowUnrecognizedEnumValues: true,
|
|
727
|
-
breadcrumbsPrefix: ["response"],
|
|
728
|
-
});
|
|
729
|
-
}
|
|
730
|
-
if (_response.error.reason === "status-code") {
|
|
731
|
-
switch (_response.error.statusCode) {
|
|
732
|
-
case 422:
|
|
733
|
-
throw new AirweaveSDK.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
734
|
-
unrecognizedObjectKeys: "passthrough",
|
|
735
|
-
allowUnrecognizedUnionMembers: true,
|
|
736
|
-
allowUnrecognizedEnumValues: true,
|
|
737
|
-
breadcrumbsPrefix: ["response"],
|
|
738
|
-
}));
|
|
739
|
-
default:
|
|
740
|
-
throw new errors.AirweaveSDKError({
|
|
741
|
-
statusCode: _response.error.statusCode,
|
|
742
|
-
body: _response.error.body,
|
|
743
|
-
});
|
|
744
|
-
}
|
|
745
|
-
}
|
|
746
|
-
switch (_response.error.reason) {
|
|
747
|
-
case "non-json":
|
|
748
|
-
throw new errors.AirweaveSDKError({
|
|
749
|
-
statusCode: _response.error.statusCode,
|
|
750
|
-
body: _response.error.rawBody,
|
|
751
|
-
});
|
|
752
|
-
case "timeout":
|
|
753
|
-
throw new errors.AirweaveSDKTimeoutError("Timeout exceeded when calling GET /connections/oauth2/white-label/{white_label_id}/auth_url.");
|
|
754
|
-
case "unknown":
|
|
755
|
-
throw new errors.AirweaveSDKError({
|
|
756
|
-
message: _response.error.errorMessage,
|
|
757
|
-
});
|
|
758
|
-
}
|
|
212
|
+
return `Bearer ${yield core.Supplier.get(this._options.token)}`;
|
|
759
213
|
});
|
|
760
214
|
}
|
|
761
215
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export {};
|
|
@@ -1,17 +1,2 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./requests"), exports);
|
|
@@ -1,23 +1,8 @@
|
|
|
1
|
-
export * as sync from "./sync";
|
|
2
|
-
export * from "./sync/types";
|
|
3
|
-
export * as entities from "./entities";
|
|
4
|
-
export * from "./entities/types";
|
|
5
|
-
export * as apiKeys from "./apiKeys";
|
|
6
|
-
export * as users from "./users";
|
|
7
1
|
export * as sources from "./sources";
|
|
8
|
-
export * as
|
|
2
|
+
export * as collections from "./collections";
|
|
9
3
|
export * as connections from "./connections";
|
|
10
|
-
export * as
|
|
4
|
+
export * as sourceConnections from "./sourceConnections";
|
|
11
5
|
export * as whiteLabels from "./whiteLabels";
|
|
12
|
-
export *
|
|
13
|
-
export *
|
|
14
|
-
export * as transformers from "./transformers";
|
|
15
|
-
export * from "./apiKeys/client/requests";
|
|
16
|
-
export * from "./connections/client/requests";
|
|
17
|
-
export * from "./sync/client/requests";
|
|
18
|
-
export * from "./search/client/requests";
|
|
6
|
+
export * from "./collections/client/requests";
|
|
7
|
+
export * from "./sourceConnections/client/requests";
|
|
19
8
|
export * from "./whiteLabels/client/requests";
|
|
20
|
-
export * from "./chat/client/requests";
|
|
21
|
-
export * from "./dag/client/requests";
|
|
22
|
-
export * from "./entities/client/requests";
|
|
23
|
-
export * from "./transformers/client/requests";
|