@airweave/sdk 0.9.42 → 0.9.44
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/dist/cjs/Client.js +2 -2
- package/dist/cjs/api/resources/collections/client/Client.d.ts +53 -0
- package/dist/cjs/api/resources/collections/client/Client.js +261 -0
- package/dist/cjs/api/{types → resources/collections/client/requests}/ClassicSearchRequest.d.ts +5 -2
- package/dist/cjs/api/{types → resources/collections/client/requests}/InstantSearchRequest.d.ts +5 -2
- package/dist/cjs/api/resources/collections/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/types/AgenticSearchDoneEvent.d.ts +25 -0
- package/dist/cjs/api/types/AgenticSearchErrorEvent.d.ts +8 -0
- package/dist/cjs/api/types/AgenticSearchEvent.d.ts +25 -0
- package/dist/cjs/api/types/AgenticSearchRerankingEvent.d.ts +16 -0
- package/dist/cjs/api/types/AgenticSearchStartedEvent.d.ts +12 -0
- package/dist/cjs/api/types/AgenticSearchThinkingEvent.d.ts +18 -0
- package/dist/cjs/api/types/AgenticSearchToolCallEvent.d.ts +38 -0
- package/dist/cjs/api/types/AgenticSearchToolCallEvent.js +21 -0
- package/dist/cjs/api/types/CollectToolStats.d.ts +15 -0
- package/dist/cjs/api/types/CountToolStats.d.ts +10 -0
- package/dist/cjs/api/types/EntitySummary.d.ts +5 -0
- package/dist/cjs/api/types/ErrorToolStats.d.ts +9 -0
- package/dist/cjs/api/types/FinishToolStats.d.ts +13 -0
- package/dist/cjs/api/types/NavigateToolStats.d.ts +13 -0
- package/dist/cjs/api/types/ReadToolStats.d.ts +15 -0
- package/dist/cjs/api/types/RetrievalStrategy.d.ts +4 -4
- package/dist/cjs/api/types/RetrievalStrategy.js +2 -2
- package/dist/cjs/api/types/ReviewToolStats.d.ts +12 -0
- package/dist/cjs/api/types/SearchToolStats.d.ts +14 -0
- package/dist/cjs/api/types/index.d.ts +15 -68
- package/dist/cjs/api/types/index.js +15 -68
- package/dist/cjs/core/index.d.ts +1 -0
- package/dist/cjs/core/index.js +1 -0
- package/dist/cjs/core/stream/Stream.d.ts +46 -0
- package/dist/cjs/core/stream/Stream.js +169 -0
- package/dist/cjs/core/stream/index.d.ts +1 -0
- package/dist/cjs/core/stream/index.js +5 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.mjs +2 -2
- package/dist/esm/api/resources/collections/client/Client.d.mts +53 -0
- package/dist/esm/api/resources/collections/client/Client.mjs +261 -0
- package/dist/esm/api/{types → resources/collections/client/requests}/ClassicSearchRequest.d.mts +5 -2
- package/dist/esm/api/{types → resources/collections/client/requests}/InstantSearchRequest.d.mts +5 -2
- package/dist/esm/api/resources/collections/client/requests/index.d.mts +2 -0
- package/dist/esm/api/types/AgenticSearchDoneEvent.d.mts +25 -0
- package/dist/esm/api/types/AgenticSearchErrorEvent.d.mts +8 -0
- package/dist/esm/api/types/AgenticSearchEvent.d.mts +25 -0
- package/dist/esm/api/types/AgenticSearchRerankingEvent.d.mts +16 -0
- package/dist/esm/api/types/AgenticSearchStartedEvent.d.mts +12 -0
- package/dist/esm/api/types/AgenticSearchThinkingEvent.d.mts +18 -0
- package/dist/esm/api/types/AgenticSearchToolCallEvent.d.mts +38 -0
- package/dist/esm/api/types/AgenticSearchToolCallEvent.mjs +18 -0
- package/dist/esm/api/types/CollectToolStats.d.mts +15 -0
- package/dist/esm/api/types/CountToolStats.d.mts +10 -0
- package/dist/esm/api/types/EntitySummary.d.mts +5 -0
- package/dist/esm/api/types/ErrorToolStats.d.mts +9 -0
- package/dist/esm/api/types/FinishToolStats.d.mts +13 -0
- package/dist/esm/api/types/NavigateToolStats.d.mts +13 -0
- package/dist/esm/api/types/ReadToolStats.d.mts +15 -0
- package/dist/esm/api/types/RetrievalStrategy.d.mts +4 -4
- package/dist/esm/api/types/RetrievalStrategy.mjs +2 -2
- package/dist/esm/api/types/ReviewToolStats.d.mts +12 -0
- package/dist/esm/api/types/SearchToolStats.d.mts +14 -0
- package/dist/esm/api/types/index.d.mts +15 -68
- package/dist/esm/api/types/index.mjs +15 -68
- package/dist/esm/core/index.d.mts +1 -0
- package/dist/esm/core/index.mjs +1 -0
- package/dist/esm/core/stream/Stream.d.mts +46 -0
- package/dist/esm/core/stream/Stream.mjs +164 -0
- package/dist/esm/core/stream/index.d.mts +1 -0
- package/dist/esm/core/stream/index.mjs +1 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +295 -0
- package/dist/cjs/api/types/ActionCheckRequest.d.ts +0 -10
- package/dist/cjs/api/types/ActionCheckResponse.d.ts +0 -10
- package/dist/cjs/api/types/AdminSearchDestination.d.ts +0 -7
- package/dist/cjs/api/types/AdminSyncInfo.d.ts +0 -36
- package/dist/cjs/api/types/ApiKey.d.ts +0 -17
- package/dist/cjs/api/types/ApiKeyCreate.d.ts +0 -10
- package/dist/cjs/api/types/AuthProviderConnection.d.ts +0 -23
- package/dist/cjs/api/types/AuthProviderConnectionCreate.d.ts +0 -19
- package/dist/cjs/api/types/AuthProviderConnectionUpdate.d.ts +0 -15
- package/dist/cjs/api/types/AuthProviderMetadata.d.ts +0 -17
- package/dist/cjs/api/types/BillingPeriod.d.ts +0 -30
- package/dist/cjs/api/types/BillingPeriodStatus.d.ts +0 -14
- package/dist/cjs/api/types/BillingPeriodStatus.js +0 -13
- package/dist/cjs/api/types/BillingPeriodUsage.d.ts +0 -27
- package/dist/cjs/api/types/BillingPlan.d.ts +0 -14
- package/dist/cjs/api/types/BillingPlan.js +0 -13
- package/dist/cjs/api/types/BillingStatus.d.ts +0 -16
- package/dist/cjs/api/types/BillingStatus.js +0 -15
- package/dist/cjs/api/types/BillingTransition.d.ts +0 -15
- package/dist/cjs/api/types/BillingTransition.js +0 -14
- package/dist/cjs/api/types/BodyChangeMemberRoleOrganizationsOrganizationIdMembersUserIdPatch.d.ts +0 -6
- package/dist/cjs/api/types/BodyResyncWithExecutionConfigAdminResyncSyncIdPost.d.ts +0 -10
- package/dist/cjs/api/types/BrowseNode.d.ts +0 -15
- package/dist/cjs/api/types/BrowseNode.js +0 -5
- package/dist/cjs/api/types/BrowseTreeResponse.d.ts +0 -12
- package/dist/cjs/api/types/BrowseTreeResponse.js +0 -5
- package/dist/cjs/api/types/CheckStatus.d.ts +0 -12
- package/dist/cjs/api/types/CheckStatus.js +0 -11
- package/dist/cjs/api/types/CheckoutSessionRequest.d.ts +0 -14
- package/dist/cjs/api/types/CheckoutSessionRequest.js +0 -5
- package/dist/cjs/api/types/CheckoutSessionResponse.d.ts +0 -10
- package/dist/cjs/api/types/CheckoutSessionResponse.js +0 -5
- package/dist/cjs/api/types/ConfigValues.d.ts +0 -9
- package/dist/cjs/api/types/ConfigValues.js +0 -5
- package/dist/cjs/api/types/ConnectSessionContext.d.ts +0 -26
- package/dist/cjs/api/types/ConnectSessionContext.js +0 -5
- package/dist/cjs/api/types/ConnectSessionCreate.d.ts +0 -20
- package/dist/cjs/api/types/ConnectSessionCreate.js +0 -5
- package/dist/cjs/api/types/ConnectSessionMode.d.ts +0 -18
- package/dist/cjs/api/types/ConnectSessionMode.js +0 -12
- package/dist/cjs/api/types/ConnectSessionResponse.d.ts +0 -16
- package/dist/cjs/api/types/ConnectSessionResponse.js +0 -5
- package/dist/cjs/api/types/CustomerPortalRequest.d.ts +0 -10
- package/dist/cjs/api/types/CustomerPortalRequest.js +0 -5
- package/dist/cjs/api/types/CustomerPortalResponse.d.ts +0 -10
- package/dist/cjs/api/types/CustomerPortalResponse.js +0 -5
- package/dist/cjs/api/types/DependencyCheck.d.ts +0 -12
- package/dist/cjs/api/types/DependencyCheck.js +0 -5
- package/dist/cjs/api/types/EntityCountWithDefinition.d.ts +0 -17
- package/dist/cjs/api/types/EntityCountWithDefinition.js +0 -5
- package/dist/cjs/api/types/EntityDefinitionMetadata.d.ts +0 -15
- package/dist/cjs/api/types/EntityDefinitionMetadata.js +0 -5
- package/dist/cjs/api/types/FeatureFlag.d.ts +0 -17
- package/dist/cjs/api/types/FeatureFlag.js +0 -14
- package/dist/cjs/api/types/InternalAgenticSearchRequest.d.ts +0 -19
- package/dist/cjs/api/types/InternalAgenticSearchRequest.js +0 -5
- package/dist/cjs/api/types/InvitationCreate.d.ts +0 -10
- package/dist/cjs/api/types/InvitationCreate.js +0 -5
- package/dist/cjs/api/types/InvitationResponse.d.ts +0 -13
- package/dist/cjs/api/types/InvitationResponse.js +0 -5
- package/dist/cjs/api/types/LivenessResponse.d.ts +0 -9
- package/dist/cjs/api/types/LivenessResponse.js +0 -5
- package/dist/cjs/api/types/MemberResponse.d.ts +0 -15
- package/dist/cjs/api/types/MemberResponse.js +0 -5
- package/dist/cjs/api/types/MessageResponse.d.ts +0 -10
- package/dist/cjs/api/types/MessageResponse.js +0 -5
- package/dist/cjs/api/types/NodeSelectionData.d.ts +0 -12
- package/dist/cjs/api/types/NodeSelectionData.js +0 -5
- package/dist/cjs/api/types/NodeSelectionRequest.d.ts +0 -10
- package/dist/cjs/api/types/NodeSelectionRequest.js +0 -5
- package/dist/cjs/api/types/NodeSelectionResponse.d.ts +0 -14
- package/dist/cjs/api/types/NodeSelectionResponse.js +0 -5
- package/dist/cjs/api/types/Organization.d.ts +0 -29
- package/dist/cjs/api/types/Organization.js +0 -5
- package/dist/cjs/api/types/OrganizationBilling.d.ts +0 -44
- package/dist/cjs/api/types/OrganizationBilling.js +0 -5
- package/dist/cjs/api/types/OrganizationCreate.d.ts +0 -16
- package/dist/cjs/api/types/OrganizationCreate.js +0 -5
- package/dist/cjs/api/types/OrganizationMetrics.d.ts +0 -47
- package/dist/cjs/api/types/OrganizationMetrics.js +0 -5
- package/dist/cjs/api/types/OrganizationWithRole.d.ts +0 -22
- package/dist/cjs/api/types/OrganizationWithRole.js +0 -5
- package/dist/cjs/api/types/ReadinessResponse.d.ts +0 -18
- package/dist/cjs/api/types/ReadinessResponse.js +0 -13
- package/dist/cjs/api/types/SearchRequest.d.ts +0 -34
- package/dist/cjs/api/types/SearchRequest.js +0 -5
- package/dist/cjs/api/types/SearchResponse.d.ts +0 -15
- package/dist/cjs/api/types/SearchResponse.js +0 -5
- package/dist/cjs/api/types/SingleActionCheckResponse.d.ts +0 -23
- package/dist/cjs/api/types/SingleActionCheckResponse.js +0 -13
- package/dist/cjs/api/types/SourceRateLimit.d.ts +0 -18
- package/dist/cjs/api/types/SourceRateLimit.js +0 -5
- package/dist/cjs/api/types/SourceRateLimitResponse.d.ts +0 -17
- package/dist/cjs/api/types/SourceRateLimitResponse.js +0 -5
- package/dist/cjs/api/types/SourceRateLimitUpdateRequest.d.ts +0 -12
- package/dist/cjs/api/types/SourceRateLimitUpdateRequest.js +0 -5
- package/dist/cjs/api/types/SubscriptionInfo.d.ts +0 -52
- package/dist/cjs/api/types/SubscriptionInfo.js +0 -5
- package/dist/cjs/api/types/SyncJob.d.ts +0 -33
- package/dist/cjs/api/types/SyncJob.js +0 -5
- package/dist/cjs/api/types/SyncStatus.d.ts +0 -12
- package/dist/cjs/api/types/SyncStatus.js +0 -11
- package/dist/cjs/api/types/UpdatePlanRequest.d.ts +0 -12
- package/dist/cjs/api/types/UpdatePlanRequest.js +0 -5
- package/dist/cjs/api/types/UsageDashboard.d.ts +0 -23
- package/dist/cjs/api/types/UsageDashboard.js +0 -5
- package/dist/cjs/api/types/UsageSnapshot.d.ts +0 -32
- package/dist/cjs/api/types/UsageSnapshot.js +0 -5
- package/dist/cjs/api/types/UsageTrend.d.ts +0 -14
- package/dist/cjs/api/types/UsageTrend.js +0 -5
- package/dist/cjs/api/types/User.d.ts +0 -18
- package/dist/cjs/api/types/User.js +0 -5
- package/dist/cjs/api/types/UserCreate.d.ts +0 -11
- package/dist/cjs/api/types/UserCreate.js +0 -5
- package/dist/cjs/api/types/UserOrganization.d.ts +0 -14
- package/dist/cjs/api/types/UserOrganization.js +0 -5
- package/dist/cjs/api/types/VerifyOAuthRequest.d.ts +0 -10
- package/dist/cjs/api/types/VerifyOAuthRequest.js +0 -5
- package/dist/esm/api/types/ActionCheckRequest.d.mts +0 -10
- package/dist/esm/api/types/ActionCheckResponse.d.mts +0 -10
- package/dist/esm/api/types/AdminSearchDestination.d.mts +0 -7
- package/dist/esm/api/types/AdminSyncInfo.d.mts +0 -36
- package/dist/esm/api/types/ApiKey.d.mts +0 -17
- package/dist/esm/api/types/ApiKeyCreate.d.mts +0 -10
- package/dist/esm/api/types/AuthProviderConnection.d.mts +0 -23
- package/dist/esm/api/types/AuthProviderConnectionCreate.d.mts +0 -19
- package/dist/esm/api/types/AuthProviderConnectionUpdate.d.mts +0 -15
- package/dist/esm/api/types/AuthProviderMetadata.d.mts +0 -17
- package/dist/esm/api/types/BillingPeriod.d.mts +0 -30
- package/dist/esm/api/types/BillingPeriodStatus.d.mts +0 -14
- package/dist/esm/api/types/BillingPeriodStatus.mjs +0 -10
- package/dist/esm/api/types/BillingPeriodUsage.d.mts +0 -27
- package/dist/esm/api/types/BillingPlan.d.mts +0 -14
- package/dist/esm/api/types/BillingPlan.mjs +0 -10
- package/dist/esm/api/types/BillingStatus.d.mts +0 -16
- package/dist/esm/api/types/BillingStatus.mjs +0 -12
- package/dist/esm/api/types/BillingTransition.d.mts +0 -15
- package/dist/esm/api/types/BillingTransition.mjs +0 -11
- package/dist/esm/api/types/BodyChangeMemberRoleOrganizationsOrganizationIdMembersUserIdPatch.d.mts +0 -6
- package/dist/esm/api/types/BodyResyncWithExecutionConfigAdminResyncSyncIdPost.d.mts +0 -10
- package/dist/esm/api/types/BrowseNode.d.mts +0 -15
- package/dist/esm/api/types/BrowseNode.mjs +0 -4
- package/dist/esm/api/types/BrowseTreeResponse.d.mts +0 -12
- package/dist/esm/api/types/BrowseTreeResponse.mjs +0 -4
- package/dist/esm/api/types/CheckStatus.d.mts +0 -12
- package/dist/esm/api/types/CheckStatus.mjs +0 -8
- package/dist/esm/api/types/CheckoutSessionRequest.d.mts +0 -14
- package/dist/esm/api/types/CheckoutSessionRequest.mjs +0 -4
- package/dist/esm/api/types/CheckoutSessionResponse.d.mts +0 -10
- package/dist/esm/api/types/CheckoutSessionResponse.mjs +0 -4
- package/dist/esm/api/types/ConfigValues.d.mts +0 -9
- package/dist/esm/api/types/ConfigValues.mjs +0 -4
- package/dist/esm/api/types/ConnectSessionContext.d.mts +0 -26
- package/dist/esm/api/types/ConnectSessionContext.mjs +0 -4
- package/dist/esm/api/types/ConnectSessionCreate.d.mts +0 -20
- package/dist/esm/api/types/ConnectSessionCreate.mjs +0 -4
- package/dist/esm/api/types/ConnectSessionMode.d.mts +0 -18
- package/dist/esm/api/types/ConnectSessionMode.mjs +0 -9
- package/dist/esm/api/types/ConnectSessionResponse.d.mts +0 -16
- package/dist/esm/api/types/ConnectSessionResponse.mjs +0 -4
- package/dist/esm/api/types/CustomerPortalRequest.d.mts +0 -10
- package/dist/esm/api/types/CustomerPortalRequest.mjs +0 -4
- package/dist/esm/api/types/CustomerPortalResponse.d.mts +0 -10
- package/dist/esm/api/types/CustomerPortalResponse.mjs +0 -4
- package/dist/esm/api/types/DependencyCheck.d.mts +0 -12
- package/dist/esm/api/types/DependencyCheck.mjs +0 -4
- package/dist/esm/api/types/EntityCountWithDefinition.d.mts +0 -17
- package/dist/esm/api/types/EntityCountWithDefinition.mjs +0 -4
- package/dist/esm/api/types/EntityDefinitionMetadata.d.mts +0 -15
- package/dist/esm/api/types/EntityDefinitionMetadata.mjs +0 -4
- package/dist/esm/api/types/FeatureFlag.d.mts +0 -17
- package/dist/esm/api/types/FeatureFlag.mjs +0 -11
- package/dist/esm/api/types/InternalAgenticSearchRequest.d.mts +0 -19
- package/dist/esm/api/types/InternalAgenticSearchRequest.mjs +0 -4
- package/dist/esm/api/types/InvitationCreate.d.mts +0 -10
- package/dist/esm/api/types/InvitationCreate.mjs +0 -4
- package/dist/esm/api/types/InvitationResponse.d.mts +0 -13
- package/dist/esm/api/types/InvitationResponse.mjs +0 -4
- package/dist/esm/api/types/LivenessResponse.d.mts +0 -9
- package/dist/esm/api/types/LivenessResponse.mjs +0 -4
- package/dist/esm/api/types/MemberResponse.d.mts +0 -15
- package/dist/esm/api/types/MemberResponse.mjs +0 -4
- package/dist/esm/api/types/MessageResponse.d.mts +0 -10
- package/dist/esm/api/types/MessageResponse.mjs +0 -4
- package/dist/esm/api/types/NodeSelectionData.d.mts +0 -12
- package/dist/esm/api/types/NodeSelectionData.mjs +0 -4
- package/dist/esm/api/types/NodeSelectionRequest.d.mts +0 -10
- package/dist/esm/api/types/NodeSelectionRequest.mjs +0 -4
- package/dist/esm/api/types/NodeSelectionResponse.d.mts +0 -14
- package/dist/esm/api/types/NodeSelectionResponse.mjs +0 -4
- package/dist/esm/api/types/Organization.d.mts +0 -29
- package/dist/esm/api/types/Organization.mjs +0 -4
- package/dist/esm/api/types/OrganizationBilling.d.mts +0 -44
- package/dist/esm/api/types/OrganizationBilling.mjs +0 -4
- package/dist/esm/api/types/OrganizationCreate.d.mts +0 -16
- package/dist/esm/api/types/OrganizationCreate.mjs +0 -4
- package/dist/esm/api/types/OrganizationMetrics.d.mts +0 -47
- package/dist/esm/api/types/OrganizationMetrics.mjs +0 -4
- package/dist/esm/api/types/OrganizationWithRole.d.mts +0 -22
- package/dist/esm/api/types/OrganizationWithRole.mjs +0 -4
- package/dist/esm/api/types/ReadinessResponse.d.mts +0 -18
- package/dist/esm/api/types/ReadinessResponse.mjs +0 -10
- package/dist/esm/api/types/SearchRequest.d.mts +0 -34
- package/dist/esm/api/types/SearchRequest.mjs +0 -4
- package/dist/esm/api/types/SearchResponse.d.mts +0 -15
- package/dist/esm/api/types/SearchResponse.mjs +0 -4
- package/dist/esm/api/types/SingleActionCheckResponse.d.mts +0 -23
- package/dist/esm/api/types/SingleActionCheckResponse.mjs +0 -10
- package/dist/esm/api/types/SourceRateLimit.d.mts +0 -18
- package/dist/esm/api/types/SourceRateLimit.mjs +0 -4
- package/dist/esm/api/types/SourceRateLimitResponse.d.mts +0 -17
- package/dist/esm/api/types/SourceRateLimitResponse.mjs +0 -4
- package/dist/esm/api/types/SourceRateLimitUpdateRequest.d.mts +0 -12
- package/dist/esm/api/types/SourceRateLimitUpdateRequest.mjs +0 -4
- package/dist/esm/api/types/SubscriptionInfo.d.mts +0 -52
- package/dist/esm/api/types/SubscriptionInfo.mjs +0 -4
- package/dist/esm/api/types/SyncJob.d.mts +0 -33
- package/dist/esm/api/types/SyncJob.mjs +0 -4
- package/dist/esm/api/types/SyncStatus.d.mts +0 -12
- package/dist/esm/api/types/SyncStatus.mjs +0 -8
- package/dist/esm/api/types/UpdatePlanRequest.d.mts +0 -12
- package/dist/esm/api/types/UpdatePlanRequest.mjs +0 -4
- package/dist/esm/api/types/UsageDashboard.d.mts +0 -23
- package/dist/esm/api/types/UsageDashboard.mjs +0 -4
- package/dist/esm/api/types/UsageSnapshot.d.mts +0 -32
- package/dist/esm/api/types/UsageSnapshot.mjs +0 -4
- package/dist/esm/api/types/UsageTrend.d.mts +0 -14
- package/dist/esm/api/types/UsageTrend.mjs +0 -4
- package/dist/esm/api/types/User.d.mts +0 -18
- package/dist/esm/api/types/User.mjs +0 -4
- package/dist/esm/api/types/UserCreate.d.mts +0 -11
- package/dist/esm/api/types/UserCreate.mjs +0 -4
- package/dist/esm/api/types/UserOrganization.d.mts +0 -14
- package/dist/esm/api/types/UserOrganization.mjs +0 -4
- package/dist/esm/api/types/VerifyOAuthRequest.d.mts +0 -10
- package/dist/esm/api/types/VerifyOAuthRequest.mjs +0 -4
- /package/dist/cjs/api/{types → resources/collections/client/requests}/ClassicSearchRequest.js +0 -0
- /package/dist/cjs/api/{types → resources/collections/client/requests}/InstantSearchRequest.js +0 -0
- /package/dist/cjs/api/types/{ActionCheckRequest.js → AgenticSearchDoneEvent.js} +0 -0
- /package/dist/cjs/api/types/{ActionCheckResponse.js → AgenticSearchErrorEvent.js} +0 -0
- /package/dist/cjs/api/types/{AdminSearchDestination.js → AgenticSearchEvent.js} +0 -0
- /package/dist/cjs/api/types/{AdminSyncInfo.js → AgenticSearchRerankingEvent.js} +0 -0
- /package/dist/cjs/api/types/{ApiKey.js → AgenticSearchStartedEvent.js} +0 -0
- /package/dist/cjs/api/types/{ApiKeyCreate.js → AgenticSearchThinkingEvent.js} +0 -0
- /package/dist/cjs/api/types/{AuthProviderConnection.js → CollectToolStats.js} +0 -0
- /package/dist/cjs/api/types/{AuthProviderConnectionCreate.js → CountToolStats.js} +0 -0
- /package/dist/cjs/api/types/{AuthProviderConnectionUpdate.js → ErrorToolStats.js} +0 -0
- /package/dist/cjs/api/types/{AuthProviderMetadata.js → FinishToolStats.js} +0 -0
- /package/dist/cjs/api/types/{BillingPeriod.js → NavigateToolStats.js} +0 -0
- /package/dist/cjs/api/types/{BillingPeriodUsage.js → ReadToolStats.js} +0 -0
- /package/dist/cjs/api/types/{BodyChangeMemberRoleOrganizationsOrganizationIdMembersUserIdPatch.js → ReviewToolStats.js} +0 -0
- /package/dist/cjs/api/types/{BodyResyncWithExecutionConfigAdminResyncSyncIdPost.js → SearchToolStats.js} +0 -0
- /package/dist/esm/api/{types → resources/collections/client/requests}/ClassicSearchRequest.mjs +0 -0
- /package/dist/esm/api/{types → resources/collections/client/requests}/InstantSearchRequest.mjs +0 -0
- /package/dist/esm/api/types/{ActionCheckRequest.mjs → AgenticSearchDoneEvent.mjs} +0 -0
- /package/dist/esm/api/types/{ActionCheckResponse.mjs → AgenticSearchErrorEvent.mjs} +0 -0
- /package/dist/esm/api/types/{AdminSearchDestination.mjs → AgenticSearchEvent.mjs} +0 -0
- /package/dist/esm/api/types/{AdminSyncInfo.mjs → AgenticSearchRerankingEvent.mjs} +0 -0
- /package/dist/esm/api/types/{ApiKey.mjs → AgenticSearchStartedEvent.mjs} +0 -0
- /package/dist/esm/api/types/{ApiKeyCreate.mjs → AgenticSearchThinkingEvent.mjs} +0 -0
- /package/dist/esm/api/types/{AuthProviderConnection.mjs → CollectToolStats.mjs} +0 -0
- /package/dist/esm/api/types/{AuthProviderConnectionCreate.mjs → CountToolStats.mjs} +0 -0
- /package/dist/esm/api/types/{AuthProviderConnectionUpdate.mjs → ErrorToolStats.mjs} +0 -0
- /package/dist/esm/api/types/{AuthProviderMetadata.mjs → FinishToolStats.mjs} +0 -0
- /package/dist/esm/api/types/{BillingPeriod.mjs → NavigateToolStats.mjs} +0 -0
- /package/dist/esm/api/types/{BillingPeriodUsage.mjs → ReadToolStats.mjs} +0 -0
- /package/dist/esm/api/types/{BodyChangeMemberRoleOrganizationsOrganizationIdMembersUserIdPatch.mjs → ReviewToolStats.mjs} +0 -0
- /package/dist/esm/api/types/{BodyResyncWithExecutionConfigAdminResyncSyncIdPost.mjs → SearchToolStats.mjs} +0 -0
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Source-agnostic browse tree node returned by source.get_browse_children().
|
|
6
|
-
*/
|
|
7
|
-
export interface BrowseNode {
|
|
8
|
-
source_node_id: string;
|
|
9
|
-
node_type: string;
|
|
10
|
-
title: string;
|
|
11
|
-
description?: string;
|
|
12
|
-
item_count?: number;
|
|
13
|
-
has_children?: boolean;
|
|
14
|
-
node_metadata?: Record<string, unknown>;
|
|
15
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as AirweaveSDK from "../index.js";
|
|
5
|
-
/**
|
|
6
|
-
* API response for browse tree.
|
|
7
|
-
*/
|
|
8
|
-
export interface BrowseTreeResponse {
|
|
9
|
-
nodes: AirweaveSDK.BrowseNode[];
|
|
10
|
-
parent_node_id?: string;
|
|
11
|
-
total: number;
|
|
12
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Status of an individual dependency check.
|
|
6
|
-
*/
|
|
7
|
-
export type CheckStatus = "up" | "down" | "skipped";
|
|
8
|
-
export declare const CheckStatus: {
|
|
9
|
-
readonly Up: "up";
|
|
10
|
-
readonly Down: "down";
|
|
11
|
-
readonly Skipped: "skipped";
|
|
12
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
-
*/
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.CheckStatus = void 0;
|
|
7
|
-
exports.CheckStatus = {
|
|
8
|
-
Up: "up",
|
|
9
|
-
Down: "down",
|
|
10
|
-
Skipped: "skipped",
|
|
11
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Request to create a checkout session.
|
|
6
|
-
*/
|
|
7
|
-
export interface CheckoutSessionRequest {
|
|
8
|
-
/** Plan to subscribe to (developer, startup) */
|
|
9
|
-
plan: string;
|
|
10
|
-
/** URL to redirect on successful payment */
|
|
11
|
-
success_url: string;
|
|
12
|
-
/** URL to redirect on cancellation */
|
|
13
|
-
cancel_url: string;
|
|
14
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as AirweaveSDK from "../index.js";
|
|
5
|
-
/**
|
|
6
|
-
* Decoded session context from a validated token.
|
|
7
|
-
*
|
|
8
|
-
* This is returned by GET /connect/sessions and used internally
|
|
9
|
-
* for authorization in session-authenticated endpoints.
|
|
10
|
-
*/
|
|
11
|
-
export interface ConnectSessionContext {
|
|
12
|
-
/** Unique identifier for this session */
|
|
13
|
-
session_id: string;
|
|
14
|
-
/** Organization that owns this session */
|
|
15
|
-
organization_id: string;
|
|
16
|
-
/** Readable collection ID this session grants access to */
|
|
17
|
-
collection_id: string;
|
|
18
|
-
/** List of allowed integration short_names, or None for all */
|
|
19
|
-
allowed_integrations?: string[];
|
|
20
|
-
/** Session mode determining allowed operations */
|
|
21
|
-
mode: AirweaveSDK.ConnectSessionMode;
|
|
22
|
-
/** End user identifier from your system, if provided during session creation */
|
|
23
|
-
end_user_id?: string;
|
|
24
|
-
/** Timestamp when this session expires */
|
|
25
|
-
expires_at: string;
|
|
26
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as AirweaveSDK from "../index.js";
|
|
5
|
-
/**
|
|
6
|
-
* Schema for creating a new connect session.
|
|
7
|
-
*
|
|
8
|
-
* The session token grants temporary access to manage source connections
|
|
9
|
-
* within a specific collection.
|
|
10
|
-
*/
|
|
11
|
-
export interface ConnectSessionCreate {
|
|
12
|
-
/** The readable ID of the collection to grant access to */
|
|
13
|
-
readable_collection_id: string;
|
|
14
|
-
/** Optional list of source short_names to restrict which integrations can be connected. If not provided, all integrations are allowed. */
|
|
15
|
-
allowed_integrations?: string[];
|
|
16
|
-
/** Session mode determining allowed operations */
|
|
17
|
-
mode?: AirweaveSDK.ConnectSessionMode;
|
|
18
|
-
/** Optional identifier for the end user in your system. This is included in the session token and can be used for audit tracking and filtering. */
|
|
19
|
-
end_user_id?: string;
|
|
20
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Mode for connect session determining allowed operations.
|
|
6
|
-
*
|
|
7
|
-
* - ALL: Can perform all operations (connect, manage, reauth)
|
|
8
|
-
* - CONNECT: Can only add new connections
|
|
9
|
-
* - MANAGE: Can only view/delete existing connections
|
|
10
|
-
* - REAUTH: Can only re-authenticate existing connections
|
|
11
|
-
*/
|
|
12
|
-
export type ConnectSessionMode = "all" | "connect" | "manage" | "reauth";
|
|
13
|
-
export declare const ConnectSessionMode: {
|
|
14
|
-
readonly All: "all";
|
|
15
|
-
readonly Connect: "connect";
|
|
16
|
-
readonly Manage: "manage";
|
|
17
|
-
readonly Reauth: "reauth";
|
|
18
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
-
*/
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.ConnectSessionMode = void 0;
|
|
7
|
-
exports.ConnectSessionMode = {
|
|
8
|
-
All: "all",
|
|
9
|
-
Connect: "connect",
|
|
10
|
-
Manage: "manage",
|
|
11
|
-
Reauth: "reauth",
|
|
12
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Response returned when creating a connect session.
|
|
6
|
-
*
|
|
7
|
-
* Contains the session token that should be passed to the frontend SDK.
|
|
8
|
-
*/
|
|
9
|
-
export interface ConnectSessionResponse {
|
|
10
|
-
/** Unique identifier for this session */
|
|
11
|
-
session_id: string;
|
|
12
|
-
/** HMAC-signed token to use for authentication in subsequent requests */
|
|
13
|
-
session_token: string;
|
|
14
|
-
/** Timestamp when this session expires (typically 10 minutes) */
|
|
15
|
-
expires_at: string;
|
|
16
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as AirweaveSDK from "../index.js";
|
|
5
|
-
/**
|
|
6
|
-
* Result of a single dependency health check.
|
|
7
|
-
*/
|
|
8
|
-
export interface DependencyCheck {
|
|
9
|
-
status: AirweaveSDK.CheckStatus;
|
|
10
|
-
latency_ms?: number;
|
|
11
|
-
error?: string;
|
|
12
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Entity count with entity definition details.
|
|
6
|
-
*
|
|
7
|
-
* After the entity_definition table elimination, name/type/description
|
|
8
|
-
* are populated from the in-memory registry or derived from the short_name.
|
|
9
|
-
*/
|
|
10
|
-
export interface EntityCountWithDefinition {
|
|
11
|
-
count: number;
|
|
12
|
-
entity_definition_short_name: string;
|
|
13
|
-
entity_definition_name: string;
|
|
14
|
-
entity_definition_type: string;
|
|
15
|
-
entity_definition_description?: string;
|
|
16
|
-
modified_at: string;
|
|
17
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* API response model for entity definitions — excludes internal fields.
|
|
6
|
-
*/
|
|
7
|
-
export interface EntityDefinitionMetadata {
|
|
8
|
-
short_name: string;
|
|
9
|
-
name: string;
|
|
10
|
-
description?: string;
|
|
11
|
-
class_name: string;
|
|
12
|
-
module_name: string;
|
|
13
|
-
entity_type: string;
|
|
14
|
-
entity_schema: Record<string, unknown>;
|
|
15
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Available feature flags in Airweave.
|
|
6
|
-
*
|
|
7
|
-
* Add new flags here to enable feature gating at the organization level.
|
|
8
|
-
*/
|
|
9
|
-
export type FeatureFlag = "priority_support" | "source_rate_limiting" | "zephyr_scale" | "sharepoint_2019_v2" | "api_key_admin_sync" | "connect";
|
|
10
|
-
export declare const FeatureFlag: {
|
|
11
|
-
readonly PrioritySupport: "priority_support";
|
|
12
|
-
readonly SourceRateLimiting: "source_rate_limiting";
|
|
13
|
-
readonly ZephyrScale: "zephyr_scale";
|
|
14
|
-
readonly Sharepoint2019V2: "sharepoint_2019_v2";
|
|
15
|
-
readonly ApiKeyAdminSync: "api_key_admin_sync";
|
|
16
|
-
readonly Connect: "connect";
|
|
17
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
-
*/
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.FeatureFlag = void 0;
|
|
7
|
-
exports.FeatureFlag = {
|
|
8
|
-
PrioritySupport: "priority_support",
|
|
9
|
-
SourceRateLimiting: "source_rate_limiting",
|
|
10
|
-
ZephyrScale: "zephyr_scale",
|
|
11
|
-
Sharepoint2019V2: "sharepoint_2019_v2",
|
|
12
|
-
ApiKeyAdminSync: "api_key_admin_sync",
|
|
13
|
-
Connect: "connect",
|
|
14
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as AirweaveSDK from "../index.js";
|
|
5
|
-
/**
|
|
6
|
-
* Admin-only agentic search request with model override for evals.
|
|
7
|
-
*/
|
|
8
|
-
export interface InternalAgenticSearchRequest {
|
|
9
|
-
/** Search query text. */
|
|
10
|
-
query: string;
|
|
11
|
-
/** Enable extended thinking / chain-of-thought. */
|
|
12
|
-
thinking?: boolean;
|
|
13
|
-
/** Filter groups (combined with OR). */
|
|
14
|
-
filter?: AirweaveSDK.FilterGroup[];
|
|
15
|
-
/** Max results. None means agent decides. */
|
|
16
|
-
limit?: number;
|
|
17
|
-
/** LLM model override. Format: 'provider/model' e.g. 'together/zai-glm-5-thinking'. When not set, uses the default model from config. */
|
|
18
|
-
model?: string;
|
|
19
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Schema for invitation responses.
|
|
6
|
-
*/
|
|
7
|
-
export interface InvitationResponse {
|
|
8
|
-
id: string;
|
|
9
|
-
email: string;
|
|
10
|
-
role: string;
|
|
11
|
-
status: string;
|
|
12
|
-
invited_at?: string;
|
|
13
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Schema for organization member responses.
|
|
6
|
-
*/
|
|
7
|
-
export interface MemberResponse {
|
|
8
|
-
id: string;
|
|
9
|
-
email: string;
|
|
10
|
-
name: string;
|
|
11
|
-
role: string;
|
|
12
|
-
status?: string;
|
|
13
|
-
is_primary?: boolean;
|
|
14
|
-
auth0_id?: string;
|
|
15
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Typed representation of a node selection loaded for targeted sync.
|
|
6
|
-
*/
|
|
7
|
-
export interface NodeSelectionData {
|
|
8
|
-
source_node_id: string;
|
|
9
|
-
node_type: string;
|
|
10
|
-
node_title?: string;
|
|
11
|
-
node_metadata?: Record<string, unknown>;
|
|
12
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Response after submitting node selections and triggering sync.
|
|
6
|
-
*/
|
|
7
|
-
export interface NodeSelectionResponse {
|
|
8
|
-
/** Source connection ID */
|
|
9
|
-
source_connection_id: string;
|
|
10
|
-
selections_count: number;
|
|
11
|
-
/** ID of the triggered sync job */
|
|
12
|
-
sync_job_id: string;
|
|
13
|
-
message?: string;
|
|
14
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as AirweaveSDK from "../index.js";
|
|
5
|
-
/**
|
|
6
|
-
* Organization schema with billing and feature information.
|
|
7
|
-
*
|
|
8
|
-
* This is the primary organization schema used in API contexts, enriched with
|
|
9
|
-
* billing (including current period) and feature flags for efficient access
|
|
10
|
-
* without additional database queries.
|
|
11
|
-
*
|
|
12
|
-
* Access billing info compositionally:
|
|
13
|
-
* - organization.billing.plan
|
|
14
|
-
* - organization.billing.status
|
|
15
|
-
* - organization.billing.current_period
|
|
16
|
-
*/
|
|
17
|
-
export interface Organization {
|
|
18
|
-
name: string;
|
|
19
|
-
description?: string;
|
|
20
|
-
auth0_org_id?: string;
|
|
21
|
-
id: string;
|
|
22
|
-
created_at: string;
|
|
23
|
-
modified_at: string;
|
|
24
|
-
org_metadata?: Record<string, unknown>;
|
|
25
|
-
/** List of enabled feature flags for this organization */
|
|
26
|
-
enabled_features?: AirweaveSDK.FeatureFlag[];
|
|
27
|
-
/** Complete billing information including current period */
|
|
28
|
-
billing?: AirweaveSDK.OrganizationBilling;
|
|
29
|
-
}
|