@airweave/sdk 0.2.26 → 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 -13
- package/Client.js +13 -23
- 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/{dist/api/resources/apiKeys → api/resources/collections}/client/Client.js +133 -94
- package/api/resources/collections/client/requests/CollectionCreate.d.ts +15 -0
- package/{dist/api/resources/sync/client/requests/DeleteSyncSyncSyncIdDeleteRequest.d.ts → api/resources/collections/client/requests/DeleteCollectionCollectionsReadableIdDeleteRequest.d.ts} +1 -1
- package/{dist/api/resources/sync/client/requests/ListAllJobsSyncJobsGetRequest.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 -9
- package/api/resources/index.js +5 -10
- package/api/resources/sourceConnections/client/Client.d.ts +191 -0
- package/{dist/api/resources/sync → api/resources/sourceConnections}/client/Client.js +121 -412
- 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/ListSyncsSyncGetRequest.d.ts → sourceConnections/client/requests/ListSourceConnectionsSourceConnectionsGetRequest.d.ts} +5 -2
- 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 +4 -2
- package/api/resources/sources/client/Client.js +11 -6
- package/api/resources/whiteLabels/client/Client.d.ts +3 -47
- package/api/resources/whiteLabels/client/Client.js +20 -170
- package/api/types/ApiKey.d.ts +3 -3
- package/api/{resources/apiKeys/client/requests → types}/ApiKeyCreate.d.ts +2 -2
- package/{dist/api/resources/connections/client/requests → api/types}/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.d.ts +1 -9
- package/api/types/BodyCreateSourceConnectionFromOauthConnectionsCreateSourceConnectionFromOauthPost.d.ts +8 -0
- package/api/types/BodySendOauth2CodeConnectionsOauth2SourceCodePost.d.ts +2 -0
- 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/{dist/api/types/DestinationWithConfigFields.d.ts → api/types/DestinationWithAuthenticationFields.d.ts} +2 -2
- package/{dist/api/types/EmbeddingModelWithConfigFields.d.ts → api/types/EmbeddingModelWithAuthenticationFields.d.ts} +2 -2
- package/api/types/EntityCount.d.ts +9 -0
- package/api/types/Organization.d.ts +13 -0
- package/api/types/ResponseType.d.ts +11 -0
- package/api/types/ResponseType.js +10 -0
- 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/types/{SourceWithConfigFields.d.ts → SourceWithAuthenticationFields.d.ts} +2 -2
- package/{dist/api/resources/sync/client/requests → api/types}/SyncCreate.d.ts +2 -7
- package/api/types/SyncJob.d.ts +6 -4
- package/api/{resources/sync/client/requests → types}/SyncUpdate.d.ts +2 -3
- package/api/types/User.d.ts +1 -1
- package/api/types/UserCreate.d.ts +11 -0
- package/api/types/index.d.ts +24 -4
- package/api/types/index.js +24 -4
- 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 -13
- package/dist/Client.js +13 -23
- 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/{api/resources/apiKeys → dist/api/resources/collections}/client/Client.js +133 -94
- package/dist/api/resources/collections/client/requests/CollectionCreate.d.ts +15 -0
- package/{api/resources/sync/client/requests/DeleteSyncSyncSyncIdDeleteRequest.d.ts → dist/api/resources/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 -9
- package/dist/api/resources/index.js +5 -10
- package/dist/api/resources/sourceConnections/client/Client.d.ts +191 -0
- package/{api/resources/sync → dist/api/resources/sourceConnections}/client/Client.js +121 -412
- package/dist/api/resources/sourceConnections/client/requests/DeleteSourceConnectionSourceConnectionsSourceConnectionIdDeleteRequest.d.ts +10 -0
- package/dist/api/resources/sourceConnections/client/requests/DeleteSourceConnectionSourceConnectionsSourceConnectionIdDeleteRequest.js +5 -0
- package/dist/api/resources/sourceConnections/client/requests/GetSourceConnectionSourceConnectionsSourceConnectionIdGetRequest.d.ts +10 -0
- package/dist/api/resources/sourceConnections/client/requests/GetSourceConnectionSourceConnectionsSourceConnectionIdGetRequest.js +5 -0
- package/{api/resources/sync/client/requests/ListAllJobsSyncJobsGetRequest.d.ts → dist/api/resources/sourceConnections/client/requests/ListSourceConnectionsSourceConnectionsGetRequest.d.ts} +5 -1
- package/dist/api/resources/sourceConnections/client/requests/ListSourceConnectionsSourceConnectionsGetRequest.js +5 -0
- package/dist/api/resources/sourceConnections/client/requests/SourceConnectionUpdate.d.ts +17 -0
- package/dist/api/resources/sourceConnections/client/requests/SourceConnectionUpdate.js +5 -0
- package/dist/api/resources/sourceConnections/client/requests/index.d.ts +4 -0
- package/dist/api/resources/sources/client/Client.d.ts +4 -2
- package/dist/api/resources/sources/client/Client.js +11 -6
- package/dist/api/resources/whiteLabels/client/Client.d.ts +3 -47
- package/dist/api/resources/whiteLabels/client/Client.js +20 -170
- package/dist/api/types/ApiKey.d.ts +3 -3
- package/dist/api/{resources/apiKeys/client/requests → types}/ApiKeyCreate.d.ts +2 -2
- package/dist/api/types/ApiKeyCreate.js +5 -0
- package/{api/resources/connections/client/requests → dist/api/types}/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.d.ts +1 -9
- package/dist/api/types/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.js +5 -0
- package/dist/api/types/BodyCreateSourceConnectionFromOauthConnectionsCreateSourceConnectionFromOauthPost.d.ts +8 -0
- package/dist/api/types/BodyCreateSourceConnectionFromOauthConnectionsCreateSourceConnectionFromOauthPost.js +5 -0
- package/dist/api/types/BodySendOauth2CodeConnectionsOauth2SourceCodePost.d.ts +2 -0
- package/dist/api/types/Collection.d.ts +19 -0
- package/dist/api/types/Collection.js +5 -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/CollectionUpdate.js +5 -0
- package/dist/api/types/ConfigValues.d.ts +9 -0
- package/dist/api/types/ConfigValues.js +5 -0
- package/{api/types/DestinationWithConfigFields.d.ts → dist/api/types/DestinationWithAuthenticationFields.d.ts} +2 -2
- package/dist/api/types/DestinationWithAuthenticationFields.js +5 -0
- package/{api/types/EmbeddingModelWithConfigFields.d.ts → dist/api/types/EmbeddingModelWithAuthenticationFields.d.ts} +2 -2
- package/dist/api/types/EmbeddingModelWithAuthenticationFields.js +5 -0
- package/dist/api/types/EntityCount.d.ts +9 -0
- package/dist/api/types/EntityCount.js +5 -0
- package/dist/api/types/Organization.d.ts +13 -0
- package/dist/api/types/Organization.js +5 -0
- package/dist/api/types/ResponseType.d.ts +11 -0
- package/dist/api/types/ResponseType.js +10 -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/types/{SourceWithConfigFields.d.ts → SourceWithAuthenticationFields.d.ts} +2 -2
- package/dist/api/types/SourceWithAuthenticationFields.js +5 -0
- package/{api/resources/sync/client/requests → dist/api/types}/SyncCreate.d.ts +2 -7
- package/dist/api/types/SyncCreate.js +5 -0
- package/dist/api/types/SyncJob.d.ts +6 -4
- package/dist/api/{resources/sync/client/requests → types}/SyncUpdate.d.ts +2 -3
- package/dist/api/types/SyncUpdate.js +5 -0
- package/dist/api/types/User.d.ts +1 -1
- package/dist/api/types/UserCreate.d.ts +11 -0
- package/dist/api/types/UserCreate.js +5 -0
- package/dist/api/types/index.d.ts +24 -4
- package/dist/api/types/index.js +24 -4
- 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/{apiKeys → collections}/client/index.js +3 -2
- package/dist/serialization/resources/{apiKeys/client/readApiKeys.d.ts → collections/client/listCollections.d.ts} +3 -3
- package/{serialization/resources/connections/client/listConnectedIntegrations.js → dist/serialization/resources/collections/client/listCollections.js} +2 -2
- package/dist/serialization/resources/{embeddingModels/client/readEmbeddingModels.d.ts → collections/client/refreshAllSourceConnections.d.ts} +3 -3
- package/dist/serialization/resources/{apiKeys/client/readApiKeys.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 -8
- package/dist/serialization/resources/index.js +5 -9
- package/dist/serialization/resources/sourceConnections/client/index.d.ts +3 -0
- package/{serialization/resources/sync → dist/serialization/resources/sourceConnections}/client/index.js +3 -3
- package/dist/serialization/resources/{connections/client/listConnectedIntegrations.d.ts → sourceConnections/client/listSourceConnectionJobs.d.ts} +3 -3
- package/dist/serialization/resources/{connections/client/getConnectionCredentials.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 +2 -2
- package/dist/serialization/types/ApiKey.js +2 -2
- 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 +2 -2
- package/dist/serialization/types/BodyCreateSourceConnectionFromOauthConnectionsCreateSourceConnectionFromOauthPost.d.ts +14 -0
- package/dist/serialization/types/BodyCreateSourceConnectionFromOauthConnectionsCreateSourceConnectionFromOauthPost.js +45 -0
- package/dist/serialization/types/BodySendOauth2CodeConnectionsOauth2SourceCodePost.d.ts +2 -0
- package/dist/serialization/types/BodySendOauth2CodeConnectionsOauth2SourceCodePost.js +2 -0
- 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/types/{DestinationWithConfigFields.d.ts → DestinationWithAuthenticationFields.d.ts} +3 -3
- package/dist/serialization/types/{DestinationWithConfigFields.js → DestinationWithAuthenticationFields.js} +3 -3
- package/{serialization/types/EmbeddingModelWithConfigFields.d.ts → dist/serialization/types/EmbeddingModelWithAuthenticationFields.d.ts} +3 -3
- package/{serialization/types/EmbeddingModelWithConfigFields.js → dist/serialization/types/EmbeddingModelWithAuthenticationFields.js} +3 -3
- package/dist/serialization/types/EntityCount.d.ts +12 -0
- package/dist/serialization/{resources/connections/client/sendOauth2WhiteLabelCode.js → types/EntityCount.js} +5 -3
- package/dist/serialization/types/Organization.d.ts +16 -0
- package/dist/serialization/types/Organization.js +47 -0
- package/dist/serialization/types/ResponseType.d.ts +10 -0
- package/dist/serialization/{resources/connections/client/getOauth2WhiteLabelAuthUrl.js → types/ResponseType.js} +3 -3
- 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/types/SearchStatus.js +41 -0
- 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/types/SourceConnectionStatus.js +41 -0
- package/dist/serialization/types/{SourceWithConfigFields.d.ts → SourceWithAuthenticationFields.d.ts} +3 -3
- package/dist/serialization/types/{SourceWithConfigFields.js → SourceWithAuthenticationFields.js} +3 -3
- package/{serialization/resources/sync/client/requests → dist/serialization/types}/SyncCreate.d.ts +5 -5
- package/dist/serialization/{resources/sync/client/requests → types}/SyncCreate.js +2 -2
- package/dist/serialization/types/SyncJob.d.ts +6 -4
- package/dist/serialization/types/SyncJob.js +6 -4
- package/dist/serialization/{resources/sync/client/requests → types}/SyncUpdate.d.ts +5 -5
- package/{serialization/resources/sync/client/requests → dist/serialization/types}/SyncUpdate.js +2 -2
- package/dist/serialization/types/User.d.ts +1 -1
- package/dist/serialization/types/User.js +1 -1
- package/dist/serialization/types/UserCreate.d.ts +14 -0
- package/dist/serialization/types/UserCreate.js +45 -0
- package/dist/serialization/types/index.d.ts +24 -4
- package/dist/serialization/types/index.js +24 -4
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -2
- package/reference.md +257 -1437
- package/serialization/index.d.ts +1 -1
- package/serialization/index.js +1 -1
- package/serialization/resources/collections/client/index.d.ts +3 -0
- package/serialization/resources/{apiKeys → collections}/client/index.js +3 -2
- package/{dist/serialization/resources/sync/client/listSyncJobs.d.ts → serialization/resources/collections/client/listCollections.d.ts} +3 -3
- package/{dist/serialization/resources/connections/client/listConnectedIntegrations.js → serialization/resources/collections/client/listCollections.js} +2 -2
- package/{dist/serialization/resources/sync/client/listAllJobs.d.ts → serialization/resources/collections/client/refreshAllSourceConnections.d.ts} +3 -3
- package/serialization/resources/collections/client/refreshAllSourceConnections.js +42 -0
- 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 -8
- package/serialization/resources/index.js +5 -9
- package/serialization/resources/sourceConnections/client/index.d.ts +3 -0
- package/{dist/serialization/resources/sync → serialization/resources/sourceConnections}/client/index.js +3 -3
- package/serialization/resources/sourceConnections/client/listSourceConnectionJobs.d.ts +11 -0
- package/serialization/resources/sourceConnections/client/listSourceConnectionJobs.js +42 -0
- 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 +2 -2
- package/serialization/types/ApiKey.js +2 -2
- 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 +2 -2
- package/serialization/types/BodyCreateSourceConnectionFromOauthConnectionsCreateSourceConnectionFromOauthPost.d.ts +14 -0
- package/serialization/types/BodyCreateSourceConnectionFromOauthConnectionsCreateSourceConnectionFromOauthPost.js +45 -0
- package/serialization/types/BodySendOauth2CodeConnectionsOauth2SourceCodePost.d.ts +2 -0
- package/serialization/types/BodySendOauth2CodeConnectionsOauth2SourceCodePost.js +2 -0
- 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/types/{DestinationWithConfigFields.d.ts → DestinationWithAuthenticationFields.d.ts} +3 -3
- package/serialization/types/{DestinationWithConfigFields.js → DestinationWithAuthenticationFields.js} +3 -3
- package/{dist/serialization/types/EmbeddingModelWithConfigFields.d.ts → serialization/types/EmbeddingModelWithAuthenticationFields.d.ts} +3 -3
- package/{dist/serialization/types/EmbeddingModelWithConfigFields.js → serialization/types/EmbeddingModelWithAuthenticationFields.js} +3 -3
- package/serialization/types/EntityCount.d.ts +12 -0
- package/{dist/serialization/resources/whiteLabels/client/getWhiteLabelOauth2AuthUrl.js → serialization/types/EntityCount.js} +5 -3
- package/serialization/types/Organization.d.ts +16 -0
- package/serialization/types/Organization.js +47 -0
- package/serialization/types/ResponseType.d.ts +10 -0
- package/{dist/serialization/resources/whiteLabels/client/exchangeWhiteLabelOauth2Code.js → serialization/types/ResponseType.js} +3 -3
- package/serialization/types/SearchResponse.d.ts +17 -0
- package/serialization/types/SearchResponse.js +48 -0
- package/serialization/types/SearchStatus.d.ts +10 -0
- package/serialization/types/SearchStatus.js +41 -0
- 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/types/{SourceWithConfigFields.d.ts → SourceWithAuthenticationFields.d.ts} +3 -3
- package/serialization/types/{SourceWithConfigFields.js → SourceWithAuthenticationFields.js} +3 -3
- package/{dist/serialization/resources/sync/client/requests → serialization/types}/SyncCreate.d.ts +5 -5
- package/serialization/{resources/sync/client/requests → types}/SyncCreate.js +2 -2
- package/serialization/types/SyncJob.d.ts +6 -4
- package/serialization/types/SyncJob.js +6 -4
- package/serialization/{resources/sync/client/requests → types}/SyncUpdate.d.ts +5 -5
- package/{dist/serialization/resources/sync/client/requests → serialization/types}/SyncUpdate.js +2 -2
- package/serialization/types/User.d.ts +1 -1
- package/serialization/types/User.js +1 -1
- package/serialization/types/UserCreate.d.ts +14 -0
- package/serialization/types/UserCreate.js +45 -0
- package/serialization/types/index.d.ts +24 -4
- package/serialization/types/index.js +24 -4
- 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/requests/DeleteApiKeyApiKeysDeleteRequest.d.ts +0 -12
- package/api/resources/apiKeys/client/requests/index.d.ts +0 -3
- package/api/resources/connections/client/requests/index.d.ts +0 -1
- 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/search/client/Client.d.ts +0 -55
- package/api/resources/search/client/Client.js +0 -147
- package/api/resources/search/client/requests/SearchSearchGetRequest.d.ts +0 -20
- package/api/resources/search/client/requests/index.d.ts +0 -1
- package/api/resources/sync/client/Client.d.ts +0 -275
- 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/types/ApiKeyWithPlainKey.d.ts +0 -18
- package/dist/api/resources/apiKeys/client/Client.d.ts +0 -131
- 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/connections/client/requests/index.d.ts +0 -1
- package/dist/api/resources/connections/client/requests/index.js +0 -2
- 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/search/client/Client.d.ts +0 -55
- package/dist/api/resources/search/client/Client.js +0 -147
- 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 -20
- 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/sync/client/Client.d.ts +0 -275
- 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/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/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/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/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.js +0 -42
- 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/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/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/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/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/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/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/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/{search → sourceConnections}/client/index.d.ts +0 -0
- /package/api/resources/{search → sourceConnections}/client/index.js +0 -0
- /package/api/resources/{connections/client/requests/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.js → sourceConnections/client/requests/DeleteSourceConnectionSourceConnectionsSourceConnectionIdDeleteRequest.js} +0 -0
- /package/api/resources/{search/client/requests/SearchSearchGetRequest.js → sourceConnections/client/requests/GetSourceConnectionSourceConnectionsSourceConnectionIdGetRequest.js} +0 -0
- /package/api/resources/{sync/client/requests/DeleteSyncSyncSyncIdDeleteRequest.js → sourceConnections/client/requests/ListSourceConnectionsSourceConnectionsGetRequest.js} +0 -0
- /package/api/resources/{sync/client/requests/ListAllJobsSyncJobsGetRequest.js → sourceConnections/client/requests/SourceConnectionUpdate.js} +0 -0
- /package/api/resources/{connections → sourceConnections}/client/requests/index.js +0 -0
- /package/api/resources/{embeddingModels → sourceConnections}/index.d.ts +0 -0
- /package/api/resources/{embeddingModels → 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/sync/client/requests/ListSyncsSyncGetRequest.js → types/BodyCreateSourceConnectionFromOauthConnectionsCreateSourceConnectionFromOauthPost.js} +0 -0
- /package/api/{resources/sync/client/requests/SyncCreate.js → types/Collection.js} +0 -0
- /package/api/{resources/sync/client/requests/SyncUpdate.js → types/CollectionUpdate.js} +0 -0
- /package/api/{resources/sync/types/ListSyncsSyncGetResponse.js → types/ConfigValues.js} +0 -0
- /package/api/types/{ApiKeyWithPlainKey.js → DestinationWithAuthenticationFields.js} +0 -0
- /package/api/types/{DestinationWithConfigFields.js → EmbeddingModelWithAuthenticationFields.js} +0 -0
- /package/api/types/{EmbeddingModelWithConfigFields.js → EntityCount.js} +0 -0
- /package/api/types/{SourceWithConfigFields.js → Organization.js} +0 -0
- /package/{dist/api/resources/apiKeys/client/requests/DeleteApiKeyApiKeysDeleteRequest.js → api/types/SearchResponse.js} +0 -0
- /package/{dist/api/resources/apiKeys/client/requests/ReadApiKeysApiKeysGetRequest.js → api/types/SourceConnection.js} +0 -0
- /package/{dist/api/resources/search/client/requests/SearchSearchGetRequest.js → api/types/SourceConnectionAuthFields.js} +0 -0
- /package/{dist/api/resources/sync/client/requests/DeleteSyncSyncSyncIdDeleteRequest.js → api/types/SourceConnectionCreate.js} +0 -0
- /package/{dist/api/resources/sync/client/requests/ListAllJobsSyncJobsGetRequest.js → api/types/SourceConnectionJob.js} +0 -0
- /package/{dist/api/resources/sync/client/requests/ListSyncsSyncGetRequest.js → api/types/SourceConnectionListItem.js} +0 -0
- /package/{dist/api/resources/sync/client/requests/SyncCreate.js → api/types/SourceWithAuthenticationFields.js} +0 -0
- /package/{dist/api/resources/sync/client/requests/SyncUpdate.js → api/types/SyncCreate.js} +0 -0
- /package/{dist/api/resources/sync/types/ListSyncsSyncGetResponse.js → api/types/SyncUpdate.js} +0 -0
- /package/{dist/api/types/ApiKeyWithPlainKey.js → api/types/UserCreate.js} +0 -0
- /package/{api/resources/sync → dist/api/resources/collections}/client/index.d.ts +0 -0
- /package/{api/resources/sync → dist/api/resources/collections}/client/index.js +0 -0
- /package/dist/api/{types/DestinationWithConfigFields.js → resources/collections/client/requests/CollectionCreate.js} +0 -0
- /package/dist/api/{types/EmbeddingModelWithConfigFields.js → resources/collections/client/requests/DeleteCollectionCollectionsReadableIdDeleteRequest.js} +0 -0
- /package/dist/api/{types/SourceWithConfigFields.js → resources/collections/client/requests/ListCollectionsCollectionsGetRequest.js} +0 -0
- /package/{api/resources/embeddingModels/client → dist/api/resources/collections/client/requests}/index.js +0 -0
- /package/{api/resources/search → dist/api/resources/collections}/index.d.ts +0 -0
- /package/{api/resources/search → dist/api/resources/collections}/index.js +0 -0
- /package/dist/api/resources/{apiKeys → sourceConnections}/client/index.d.ts +0 -0
- /package/dist/api/resources/{apiKeys → sourceConnections}/client/index.js +0 -0
- /package/{api/resources/search → dist/api/resources/sourceConnections}/client/requests/index.js +0 -0
- /package/dist/api/resources/{apiKeys → sourceConnections}/index.d.ts +0 -0
- /package/dist/api/resources/{apiKeys → sourceConnections}/index.js +0 -0
- /package/dist/{api/resources/embeddingModels → serialization/resources/collections}/index.d.ts +0 -0
- /package/dist/{api/resources/embeddingModels → serialization/resources/collections}/index.js +0 -0
- /package/dist/{api/resources/search → serialization/resources/sourceConnections}/index.d.ts +0 -0
- /package/dist/{api/resources/search → serialization/resources/sourceConnections}/index.js +0 -0
- /package/{dist/serialization/resources/apiKeys → serialization/resources/collections}/index.d.ts +0 -0
- /package/{dist/serialization/resources/apiKeys → serialization/resources/collections}/index.js +0 -0
- /package/{dist/serialization/resources/embeddingModels → serialization/resources/sourceConnections}/index.d.ts +0 -0
- /package/{dist/serialization/resources/embeddingModels → serialization/resources/sourceConnections}/index.js +0 -0
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./requests"), exports);
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* @example
|
|
6
|
-
* {
|
|
7
|
-
* syncId: "sync_id",
|
|
8
|
-
* query: "query"
|
|
9
|
-
* }
|
|
10
|
-
*/
|
|
11
|
-
export interface SearchSearchGetRequest {
|
|
12
|
-
/**
|
|
13
|
-
* The ID of the sync to search within
|
|
14
|
-
*/
|
|
15
|
-
syncId: string;
|
|
16
|
-
/**
|
|
17
|
-
* Search query text
|
|
18
|
-
*/
|
|
19
|
-
query: string;
|
|
20
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { type SearchSearchGetRequest } from "./SearchSearchGetRequest";
|
|
@@ -1,275 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as environments from "../../../../environments";
|
|
5
|
-
import * as core from "../../../../core";
|
|
6
|
-
import * as AirweaveSDK from "../../../index";
|
|
7
|
-
export declare namespace Sync {
|
|
8
|
-
interface Options {
|
|
9
|
-
environment?: core.Supplier<environments.AirweaveSDKEnvironment | string>;
|
|
10
|
-
/** Override the x-api-key header */
|
|
11
|
-
apiKey?: core.Supplier<string | undefined>;
|
|
12
|
-
}
|
|
13
|
-
interface RequestOptions {
|
|
14
|
-
/** The maximum time to wait for a response in seconds. */
|
|
15
|
-
timeoutInSeconds?: number;
|
|
16
|
-
/** The number of times to retry the request. Defaults to 2. */
|
|
17
|
-
maxRetries?: number;
|
|
18
|
-
/** A hook to abort the request. */
|
|
19
|
-
abortSignal?: AbortSignal;
|
|
20
|
-
/** Override the x-api-key header */
|
|
21
|
-
apiKey?: string | undefined;
|
|
22
|
-
/** Additional headers to include in the request. */
|
|
23
|
-
headers?: Record<string, string>;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
export declare class Sync {
|
|
27
|
-
protected readonly _options: Sync.Options;
|
|
28
|
-
constructor(_options?: Sync.Options);
|
|
29
|
-
/**
|
|
30
|
-
* List all syncs for the current user.
|
|
31
|
-
*
|
|
32
|
-
* Args:
|
|
33
|
-
* -----
|
|
34
|
-
* db: The database session
|
|
35
|
-
* skip: The number of syncs to skip
|
|
36
|
-
* limit: The number of syncs to return
|
|
37
|
-
* with_source_connection: Whether to include the source connection in the response
|
|
38
|
-
* user: The current user
|
|
39
|
-
*
|
|
40
|
-
* Returns:
|
|
41
|
-
* --------
|
|
42
|
-
* list[schemas.Sync] | list[schemas.SyncWithSourceConnection]: A list of syncs
|
|
43
|
-
*
|
|
44
|
-
* @param {AirweaveSDK.ListSyncsSyncGetRequest} request
|
|
45
|
-
* @param {Sync.RequestOptions} requestOptions - Request-specific configuration.
|
|
46
|
-
*
|
|
47
|
-
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
48
|
-
*
|
|
49
|
-
* @example
|
|
50
|
-
* await client.sync.listSyncs()
|
|
51
|
-
*/
|
|
52
|
-
listSyncs(request?: AirweaveSDK.ListSyncsSyncGetRequest, requestOptions?: Sync.RequestOptions): Promise<AirweaveSDK.ListSyncsSyncGetResponse>;
|
|
53
|
-
/**
|
|
54
|
-
* Create a new sync configuration.
|
|
55
|
-
*
|
|
56
|
-
* Args:
|
|
57
|
-
* -----
|
|
58
|
-
* db: The database session
|
|
59
|
-
* sync_in: The sync to create
|
|
60
|
-
* user: The current user
|
|
61
|
-
* background_tasks: The background tasks
|
|
62
|
-
*
|
|
63
|
-
* Returns:
|
|
64
|
-
* --------
|
|
65
|
-
* sync (schemas.Sync): The created sync
|
|
66
|
-
*
|
|
67
|
-
* @param {AirweaveSDK.SyncCreate} request
|
|
68
|
-
* @param {Sync.RequestOptions} requestOptions - Request-specific configuration.
|
|
69
|
-
*
|
|
70
|
-
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
71
|
-
*
|
|
72
|
-
* @example
|
|
73
|
-
* await client.sync.createSync({
|
|
74
|
-
* name: "name",
|
|
75
|
-
* sourceConnectionId: "source_connection_id",
|
|
76
|
-
* destinationConnectionIds: ["destination_connection_ids"]
|
|
77
|
-
* })
|
|
78
|
-
*/
|
|
79
|
-
createSync(request: AirweaveSDK.SyncCreate, requestOptions?: Sync.RequestOptions): Promise<AirweaveSDK.Sync>;
|
|
80
|
-
/**
|
|
81
|
-
* List all sync jobs across all syncs.
|
|
82
|
-
*
|
|
83
|
-
* Args:
|
|
84
|
-
* -----
|
|
85
|
-
* db: The database session
|
|
86
|
-
* skip: The number of jobs to skip
|
|
87
|
-
* limit: The number of jobs to return
|
|
88
|
-
* user: The current user
|
|
89
|
-
*
|
|
90
|
-
* Returns:
|
|
91
|
-
* --------
|
|
92
|
-
* list[schemas.SyncJob]: A list of all sync jobs
|
|
93
|
-
*
|
|
94
|
-
* @param {AirweaveSDK.ListAllJobsSyncJobsGetRequest} request
|
|
95
|
-
* @param {Sync.RequestOptions} requestOptions - Request-specific configuration.
|
|
96
|
-
*
|
|
97
|
-
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
98
|
-
*
|
|
99
|
-
* @example
|
|
100
|
-
* await client.sync.listAllJobs()
|
|
101
|
-
*/
|
|
102
|
-
listAllJobs(request?: AirweaveSDK.ListAllJobsSyncJobsGetRequest, requestOptions?: Sync.RequestOptions): Promise<AirweaveSDK.SyncJob[]>;
|
|
103
|
-
/**
|
|
104
|
-
* Get a specific sync by ID.
|
|
105
|
-
*
|
|
106
|
-
* Args:
|
|
107
|
-
* -----
|
|
108
|
-
* db: The database session
|
|
109
|
-
* sync_id: The ID of the sync to get
|
|
110
|
-
* user: The current user
|
|
111
|
-
*
|
|
112
|
-
* Returns:
|
|
113
|
-
* --------
|
|
114
|
-
* sync (schemas.Sync): The sync
|
|
115
|
-
*
|
|
116
|
-
* @param {string} syncId
|
|
117
|
-
* @param {Sync.RequestOptions} requestOptions - Request-specific configuration.
|
|
118
|
-
*
|
|
119
|
-
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
120
|
-
*
|
|
121
|
-
* @example
|
|
122
|
-
* await client.sync.getSync("sync_id")
|
|
123
|
-
*/
|
|
124
|
-
getSync(syncId: string, requestOptions?: Sync.RequestOptions): Promise<AirweaveSDK.Sync>;
|
|
125
|
-
/**
|
|
126
|
-
* Delete a sync configuration and optionally its associated data.
|
|
127
|
-
*
|
|
128
|
-
* Args:
|
|
129
|
-
* -----
|
|
130
|
-
* db: The database session
|
|
131
|
-
* sync_id: The ID of the sync to delete
|
|
132
|
-
* delete_data: Whether to delete the data associated with the sync
|
|
133
|
-
* user: The current user
|
|
134
|
-
*
|
|
135
|
-
* Returns:
|
|
136
|
-
* --------
|
|
137
|
-
* sync (schemas.Sync): The deleted sync
|
|
138
|
-
*
|
|
139
|
-
* @param {string} syncId
|
|
140
|
-
* @param {AirweaveSDK.DeleteSyncSyncSyncIdDeleteRequest} request
|
|
141
|
-
* @param {Sync.RequestOptions} requestOptions - Request-specific configuration.
|
|
142
|
-
*
|
|
143
|
-
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
144
|
-
*
|
|
145
|
-
* @example
|
|
146
|
-
* await client.sync.deleteSync("sync_id")
|
|
147
|
-
*/
|
|
148
|
-
deleteSync(syncId: string, request?: AirweaveSDK.DeleteSyncSyncSyncIdDeleteRequest, requestOptions?: Sync.RequestOptions): Promise<AirweaveSDK.Sync>;
|
|
149
|
-
/**
|
|
150
|
-
* Update a sync configuration.
|
|
151
|
-
*
|
|
152
|
-
* Args:
|
|
153
|
-
* -----
|
|
154
|
-
* db: The database session
|
|
155
|
-
* sync_id: The ID of the sync to update
|
|
156
|
-
* sync_update: The sync update data
|
|
157
|
-
* user: The current user
|
|
158
|
-
*
|
|
159
|
-
* Returns:
|
|
160
|
-
* --------
|
|
161
|
-
* sync (schemas.Sync): The updated sync
|
|
162
|
-
*
|
|
163
|
-
* @param {string} syncId
|
|
164
|
-
* @param {AirweaveSDK.SyncUpdate} request
|
|
165
|
-
* @param {Sync.RequestOptions} requestOptions - Request-specific configuration.
|
|
166
|
-
*
|
|
167
|
-
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
168
|
-
*
|
|
169
|
-
* @example
|
|
170
|
-
* await client.sync.updateSync("sync_id")
|
|
171
|
-
*/
|
|
172
|
-
updateSync(syncId: string, request?: AirweaveSDK.SyncUpdate, requestOptions?: Sync.RequestOptions): Promise<AirweaveSDK.Sync>;
|
|
173
|
-
/**
|
|
174
|
-
* Trigger a sync run.
|
|
175
|
-
*
|
|
176
|
-
* Args:
|
|
177
|
-
* -----
|
|
178
|
-
* db: The database session
|
|
179
|
-
* sync_id: The ID of the sync to run
|
|
180
|
-
* user: The current user
|
|
181
|
-
* background_tasks: The background tasks
|
|
182
|
-
*
|
|
183
|
-
* Returns:
|
|
184
|
-
* --------
|
|
185
|
-
* sync_job (schemas.SyncJob): The sync job
|
|
186
|
-
*
|
|
187
|
-
* @param {string} syncId
|
|
188
|
-
* @param {Sync.RequestOptions} requestOptions - Request-specific configuration.
|
|
189
|
-
*
|
|
190
|
-
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
191
|
-
*
|
|
192
|
-
* @example
|
|
193
|
-
* await client.sync.runSync("sync_id")
|
|
194
|
-
*/
|
|
195
|
-
runSync(syncId: string, requestOptions?: Sync.RequestOptions): Promise<AirweaveSDK.SyncJob>;
|
|
196
|
-
/**
|
|
197
|
-
* List all jobs for a specific sync.
|
|
198
|
-
*
|
|
199
|
-
* Args:
|
|
200
|
-
* -----
|
|
201
|
-
* db: The database session
|
|
202
|
-
* sync_id: The ID of the sync to list jobs for
|
|
203
|
-
* user: The current user
|
|
204
|
-
*
|
|
205
|
-
* Returns:
|
|
206
|
-
* --------
|
|
207
|
-
* list[schemas.SyncJob]: A list of sync jobs
|
|
208
|
-
*
|
|
209
|
-
* @param {string} syncId
|
|
210
|
-
* @param {Sync.RequestOptions} requestOptions - Request-specific configuration.
|
|
211
|
-
*
|
|
212
|
-
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
213
|
-
*
|
|
214
|
-
* @example
|
|
215
|
-
* await client.sync.listSyncJobs("sync_id")
|
|
216
|
-
*/
|
|
217
|
-
listSyncJobs(syncId: string, requestOptions?: Sync.RequestOptions): Promise<AirweaveSDK.SyncJob[]>;
|
|
218
|
-
/**
|
|
219
|
-
* Get details of a specific sync job.
|
|
220
|
-
*
|
|
221
|
-
* Args:
|
|
222
|
-
* -----
|
|
223
|
-
* db: The database session
|
|
224
|
-
* sync_id: The ID of the sync to list jobs for
|
|
225
|
-
* job_id: The ID of the job to get
|
|
226
|
-
* user: The current user
|
|
227
|
-
*
|
|
228
|
-
* Returns:
|
|
229
|
-
* --------
|
|
230
|
-
* sync_job (schemas.SyncJob): The sync job
|
|
231
|
-
*
|
|
232
|
-
* @param {string} syncId
|
|
233
|
-
* @param {string} jobId
|
|
234
|
-
* @param {Sync.RequestOptions} requestOptions - Request-specific configuration.
|
|
235
|
-
*
|
|
236
|
-
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
237
|
-
*
|
|
238
|
-
* @example
|
|
239
|
-
* await client.sync.getSyncJob("sync_id", "job_id")
|
|
240
|
-
*/
|
|
241
|
-
getSyncJob(syncId: string, jobId: string, requestOptions?: Sync.RequestOptions): Promise<AirweaveSDK.SyncJob>;
|
|
242
|
-
/**
|
|
243
|
-
* Server-Sent Events (SSE) endpoint to subscribe to a sync job's progress.
|
|
244
|
-
*
|
|
245
|
-
* Args:
|
|
246
|
-
* -----
|
|
247
|
-
* job_id: The ID of the job to subscribe to
|
|
248
|
-
* user: The current user
|
|
249
|
-
*
|
|
250
|
-
* Returns:
|
|
251
|
-
* --------
|
|
252
|
-
* StreamingResponse: The streaming response
|
|
253
|
-
*
|
|
254
|
-
* @param {string} jobId
|
|
255
|
-
* @param {Sync.RequestOptions} requestOptions - Request-specific configuration.
|
|
256
|
-
*
|
|
257
|
-
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
258
|
-
*
|
|
259
|
-
* @example
|
|
260
|
-
* await client.sync.subscribeSyncJob("job_id")
|
|
261
|
-
*/
|
|
262
|
-
subscribeSyncJob(jobId: string, requestOptions?: Sync.RequestOptions): Promise<unknown>;
|
|
263
|
-
/**
|
|
264
|
-
* Get the DAG for a specific sync.
|
|
265
|
-
*
|
|
266
|
-
* @param {string} syncId
|
|
267
|
-
* @param {Sync.RequestOptions} requestOptions - Request-specific configuration.
|
|
268
|
-
*
|
|
269
|
-
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
270
|
-
*
|
|
271
|
-
* @example
|
|
272
|
-
* await client.sync.getSyncDag("sync_id")
|
|
273
|
-
*/
|
|
274
|
-
getSyncDag(syncId: string, requestOptions?: Sync.RequestOptions): Promise<AirweaveSDK.SyncDag>;
|
|
275
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./requests";
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./requests"), exports);
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { type ListSyncsSyncGetRequest } from "./ListSyncsSyncGetRequest";
|
|
2
|
-
export { type SyncCreate } from "./SyncCreate";
|
|
3
|
-
export { type ListAllJobsSyncJobsGetRequest } from "./ListAllJobsSyncJobsGetRequest";
|
|
4
|
-
export { type DeleteSyncSyncSyncIdDeleteRequest } from "./DeleteSyncSyncSyncIdDeleteRequest";
|
|
5
|
-
export { type SyncUpdate } from "./SyncUpdate";
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./types"), exports);
|
|
18
|
-
__exportStar(require("./client"), exports);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./ListSyncsSyncGetResponse";
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./ListSyncsSyncGetResponse"), exports);
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Schema for APIKey with plain key.
|
|
6
|
-
*/
|
|
7
|
-
export interface ApiKeyWithPlainKey {
|
|
8
|
-
id: string;
|
|
9
|
-
keyPrefix: string;
|
|
10
|
-
organization?: string;
|
|
11
|
-
createdAt: Date;
|
|
12
|
-
modifiedAt: Date;
|
|
13
|
-
lastUsedDate?: Date;
|
|
14
|
-
expirationDate: Date;
|
|
15
|
-
createdByEmail: string;
|
|
16
|
-
modifiedByEmail: string;
|
|
17
|
-
plainKey: string;
|
|
18
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { ApiKeyCreate } from "./ApiKeyCreate";
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ApiKeyCreate = void 0;
|
|
4
|
-
var ApiKeyCreate_1 = require("./ApiKeyCreate");
|
|
5
|
-
Object.defineProperty(exports, "ApiKeyCreate", { enumerable: true, get: function () { return ApiKeyCreate_1.ApiKeyCreate; } });
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "../../../index";
|
|
5
|
-
import * as core from "../../../../core";
|
|
6
|
-
export declare const Response: core.serialization.Schema<serializers.connections.getConnectionCredentials.Response.Raw, Record<string, unknown>>;
|
|
7
|
-
export declare namespace Response {
|
|
8
|
-
type Raw = Record<string, unknown>;
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "../../../index";
|
|
5
|
-
import * as core from "../../../../core";
|
|
6
|
-
export declare const Response: core.serialization.Schema<serializers.connections.getOauth2WhiteLabelAuthUrl.Response.Raw, string>;
|
|
7
|
-
export declare namespace Response {
|
|
8
|
-
type Raw = string;
|
|
9
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "../../../../index";
|
|
5
|
-
import * as AirweaveSDK from "../../../../../api/index";
|
|
6
|
-
import * as core from "../../../../../core";
|
|
7
|
-
export declare const BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost: core.serialization.Schema<serializers.BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.Raw, AirweaveSDK.BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost>;
|
|
8
|
-
export declare namespace BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost {
|
|
9
|
-
interface Raw {
|
|
10
|
-
name?: string | null;
|
|
11
|
-
config_fields: Record<string, unknown>;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost } from "./BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost";
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost = void 0;
|
|
4
|
-
var BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost_1 = require("./BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost");
|
|
5
|
-
Object.defineProperty(exports, "BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost", { enumerable: true, get: function () { return BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost_1.BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost; } });
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "../../../index";
|
|
5
|
-
import * as core from "../../../../core";
|
|
6
|
-
export declare const Request: core.serialization.Schema<serializers.connections.sendOauth2WhiteLabelCode.Request.Raw, string>;
|
|
7
|
-
export declare namespace Request {
|
|
8
|
-
type Raw = string;
|
|
9
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * as readEmbeddingModels from "./readEmbeddingModels";
|
|
@@ -1,37 +0,0 @@
|
|
|
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.readEmbeddingModels = void 0;
|
|
37
|
-
exports.readEmbeddingModels = __importStar(require("./readEmbeddingModels"));
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
-
var ownKeys = function(o) {
|
|
23
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
-
var ar = [];
|
|
25
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
-
return ar;
|
|
27
|
-
};
|
|
28
|
-
return ownKeys(o);
|
|
29
|
-
};
|
|
30
|
-
return function (mod) {
|
|
31
|
-
if (mod && mod.__esModule) return mod;
|
|
32
|
-
var result = {};
|
|
33
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
-
__setModuleDefault(result, mod);
|
|
35
|
-
return result;
|
|
36
|
-
};
|
|
37
|
-
})();
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.Response = void 0;
|
|
40
|
-
const core = __importStar(require("../../../../core"));
|
|
41
|
-
const EmbeddingModel_1 = require("../../../types/EmbeddingModel");
|
|
42
|
-
exports.Response = core.serialization.list(EmbeddingModel_1.EmbeddingModel);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * as search from "./search";
|
|
@@ -1,37 +0,0 @@
|
|
|
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.search = void 0;
|
|
37
|
-
exports.search = __importStar(require("./search"));
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "../../../index";
|
|
5
|
-
import * as core from "../../../../core";
|
|
6
|
-
export declare const Response: core.serialization.Schema<serializers.search.search.Response.Raw, Record<string, unknown>[]>;
|
|
7
|
-
export declare namespace Response {
|
|
8
|
-
type Raw = Record<string, unknown>[];
|
|
9
|
-
}
|