lemma-sdk 0.2.43 → 0.2.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/README.md +2 -5
- package/dist/assistant-events.d.ts +1 -0
- package/dist/assistant-events.js +25 -3
- package/dist/browser/lemma-client.js +1082 -296
- package/dist/client.d.ts +8 -0
- package/dist/client.js +13 -1
- package/dist/index.d.ts +4 -0
- package/dist/namespaces/agent-runtime.d.ts +28 -0
- package/dist/namespaces/agent-runtime.js +34 -0
- package/dist/namespaces/agents.d.ts +8 -3
- package/dist/namespaces/agents.js +4 -0
- package/dist/namespaces/conversations.d.ts +35 -7
- package/dist/namespaces/conversations.js +103 -22
- package/dist/namespaces/desks.d.ts +3 -3
- package/dist/namespaces/files.d.ts +12 -5
- package/dist/namespaces/files.js +12 -3
- package/dist/namespaces/functions.d.ts +8 -3
- package/dist/namespaces/functions.js +4 -0
- package/dist/namespaces/integrations.d.ts +54 -12
- package/dist/namespaces/integrations.js +52 -16
- package/dist/namespaces/pod-members.d.ts +1 -0
- package/dist/namespaces/pod-members.js +4 -1
- package/dist/namespaces/pod-permissions.d.ts +14 -0
- package/dist/namespaces/pod-permissions.js +18 -0
- package/dist/namespaces/pod-roles.d.ts +16 -0
- package/dist/namespaces/pod-roles.js +25 -0
- package/dist/namespaces/resource-access.d.ts +11 -0
- package/dist/namespaces/resource-access.js +18 -0
- package/dist/namespaces/schedules.d.ts +3 -3
- package/dist/namespaces/tables.d.ts +4 -4
- package/dist/namespaces/workflows.d.ts +4 -4
- package/dist/openapi_client/index.d.ts +76 -30
- package/dist/openapi_client/index.js +20 -7
- package/dist/openapi_client/models/AccountCreateSchema.d.ts +18 -0
- package/dist/openapi_client/models/AccountResponseSchema.d.ts +3 -0
- package/dist/openapi_client/models/AgentActionResponse.d.ts +20 -0
- package/dist/openapi_client/models/AgentDetailResponse.d.ts +22 -0
- package/dist/openapi_client/models/AgentHarnessInfo.d.ts +9 -0
- package/dist/openapi_client/models/AgentHarnessListResponse.d.ts +4 -0
- package/dist/openapi_client/models/AgentListResponse.d.ts +2 -2
- package/dist/openapi_client/models/AgentPermissionsReplaceRequest.d.ts +4 -0
- package/dist/openapi_client/models/AgentPermissionsResponse.d.ts +6 -0
- package/dist/openapi_client/models/AgentResourcePermissionRequest.d.ts +6 -0
- package/dist/openapi_client/models/AgentResourcePermissionResponse.d.ts +6 -0
- package/dist/openapi_client/models/AgentRunApprovalDecision.d.ts +8 -0
- package/dist/openapi_client/models/AgentRunApprovalDecision.js +13 -0
- package/dist/openapi_client/models/AgentRuntimeConfig.d.ts +7 -0
- package/dist/openapi_client/models/AgentRuntimeProfileListResponse.d.ts +6 -0
- package/dist/openapi_client/models/AgentRuntimeProfileResponse.d.ts +22 -0
- package/dist/openapi_client/models/AgentSurfaceResponse.d.ts +11 -4
- package/dist/openapi_client/models/ApplicationDetailResponseSchema.d.ts +3 -3
- package/dist/openapi_client/models/ApplicationResponseSchema.d.ts +3 -3
- package/dist/openapi_client/models/AuthConfigCreateSchema.d.ts +7 -0
- package/dist/openapi_client/models/AuthConfigListResponseSchema.d.ts +6 -0
- package/dist/openapi_client/models/AuthConfigResponseSchema.d.ts +13 -0
- package/dist/openapi_client/models/AuthScheme.d.ts +5 -0
- package/dist/openapi_client/models/AuthScheme.js +10 -0
- package/dist/openapi_client/models/BillingInterval.d.ts +2 -2
- package/dist/openapi_client/models/BillingInterval.js +2 -2
- package/dist/openapi_client/models/BillingInvoiceResponse.d.ts +0 -2
- package/dist/openapi_client/models/ComposioProviderCapabilityResponseSchema.d.ts +9 -0
- package/dist/openapi_client/models/ConnectRequestInitiateSchema.d.ts +5 -1
- package/dist/openapi_client/models/ConnectRequestResponseSchema.d.ts +2 -0
- package/dist/openapi_client/models/ConversationResponse.d.ts +2 -2
- package/dist/openapi_client/models/ConvertedArtifactResponse.d.ts +1 -0
- package/dist/openapi_client/models/ConvertedFileResponse.d.ts +4 -0
- package/dist/openapi_client/models/ConvertedPageResponse.d.ts +8 -0
- package/dist/openapi_client/models/CreateAgentRequest.d.ts +4 -12
- package/dist/openapi_client/models/CreateAnthropicCompatibleRuntimeProfileRequest.d.ts +11 -0
- package/dist/openapi_client/models/CreateConversationRequest.d.ts +2 -2
- package/dist/openapi_client/models/CreateDeskRequest.d.ts +1 -1
- package/dist/openapi_client/models/CreateFolderRequest.d.ts +1 -1
- package/dist/openapi_client/models/CreateFunctionRequest.d.ts +2 -6
- package/dist/openapi_client/models/CreateOpenAICompatibleRuntimeProfileRequest.d.ts +11 -0
- package/dist/openapi_client/models/CreateScheduleRequest.d.ts +13 -1
- package/dist/openapi_client/models/CreateSurfaceRequest.d.ts +12 -14
- package/dist/openapi_client/models/CreateTableRequest.d.ts +1 -1
- package/dist/openapi_client/models/CreateUserDaemonRuntimeProfileRequest.d.ts +9 -0
- package/dist/openapi_client/models/DatastoreFileUploadRequest.d.ts +1 -1
- package/dist/openapi_client/models/DeskBundleUploadResponse.d.ts +2 -2
- package/dist/openapi_client/models/{DeskResponse.d.ts → DeskDetailResponse.d.ts} +2 -2
- package/dist/openapi_client/models/DeskListResponse.d.ts +2 -2
- package/dist/openapi_client/models/DeskServingConfigResponse.d.ts +11 -0
- package/dist/openapi_client/models/DeskServingConfigResponse.js +8 -0
- package/dist/openapi_client/models/EventFlowStartInput.d.ts +0 -8
- package/dist/openapi_client/models/EventFlowStartOutput.d.ts +0 -8
- package/dist/openapi_client/models/{FileResponse.d.ts → FileDetailResponse.d.ts} +2 -2
- package/dist/openapi_client/models/FileListResponse.d.ts +2 -2
- package/dist/openapi_client/models/{FlowResponse.d.ts → FlowDetailResponse.d.ts} +2 -2
- package/dist/openapi_client/models/{FunctionResponse.d.ts → FunctionActionResponse.d.ts} +3 -10
- package/dist/openapi_client/models/FunctionActionResponse.js +1 -0
- package/dist/openapi_client/models/FunctionDetailResponse.d.ts +34 -0
- package/dist/openapi_client/models/FunctionDetailResponse.js +1 -0
- package/dist/openapi_client/models/FunctionListResponse.d.ts +2 -2
- package/dist/openapi_client/models/FunctionPermissionsReplaceRequest.d.ts +4 -0
- package/dist/openapi_client/models/FunctionPermissionsReplaceRequest.js +1 -0
- package/dist/openapi_client/models/FunctionPermissionsResponse.d.ts +6 -0
- package/dist/openapi_client/models/FunctionPermissionsResponse.js +1 -0
- package/dist/openapi_client/models/FunctionResourcePermissionRequest.d.ts +6 -0
- package/dist/openapi_client/models/FunctionResourcePermissionRequest.js +1 -0
- package/dist/openapi_client/models/FunctionResourcePermissionResponse.d.ts +6 -0
- package/dist/openapi_client/models/FunctionResourcePermissionResponse.js +1 -0
- package/dist/openapi_client/models/FunctionRunListResponse.d.ts +2 -2
- package/dist/openapi_client/models/FunctionRunSummaryResponse.d.ts +13 -0
- package/dist/openapi_client/models/FunctionRunSummaryResponse.js +1 -0
- package/dist/openapi_client/models/GmailSurfaceConfig.d.ts +1 -1
- package/dist/openapi_client/models/HarnessKind.d.ts +4 -2
- package/dist/openapi_client/models/HarnessKind.js +4 -2
- package/dist/openapi_client/models/LemmaProviderCapabilityResponseSchema.d.ts +12 -0
- package/dist/openapi_client/models/LemmaProviderCapabilityResponseSchema.js +1 -0
- package/dist/openapi_client/models/OAuth2DefaultsResponseSchema.d.ts +10 -0
- package/dist/openapi_client/models/OAuth2DefaultsResponseSchema.js +1 -0
- package/dist/openapi_client/models/OperationSummary.d.ts +4 -0
- package/dist/openapi_client/models/OutlookSurfaceConfig.d.ts +1 -1
- package/dist/openapi_client/models/PlanResponse.d.ts +3 -2
- package/dist/openapi_client/models/PlanType.d.ts +7 -0
- package/dist/openapi_client/models/PlanType.js +12 -0
- package/dist/openapi_client/models/PodConfig.d.ts +6 -0
- package/dist/openapi_client/models/PodConfig.js +1 -0
- package/dist/openapi_client/models/PodCreateRequest.d.ts +2 -0
- package/dist/openapi_client/models/PodEffectivePermissionsResponse.d.ts +4 -0
- package/dist/openapi_client/models/PodEffectivePermissionsResponse.js +1 -0
- package/dist/openapi_client/models/PodPermissionCatalogResponse.d.ts +4 -0
- package/dist/openapi_client/models/PodPermissionCatalogResponse.js +1 -0
- package/dist/openapi_client/models/PodPermissionResponse.d.ts +7 -0
- package/dist/openapi_client/models/PodPermissionResponse.js +1 -0
- package/dist/openapi_client/models/PodResponse.d.ts +2 -0
- package/dist/openapi_client/models/PodRoleCreateRequest.d.ts +2 -0
- package/dist/openapi_client/models/PodRolePermissionsReplaceRequest.d.ts +4 -0
- package/dist/openapi_client/models/PodRolePermissionsReplaceRequest.js +1 -0
- package/dist/openapi_client/models/PodRolePermissionsResponse.d.ts +6 -0
- package/dist/openapi_client/models/PodRolePermissionsResponse.js +1 -0
- package/dist/openapi_client/models/PodRoleResourcePermissionRequest.d.ts +6 -0
- package/dist/openapi_client/models/PodRoleResourcePermissionRequest.js +1 -0
- package/dist/openapi_client/models/PodRoleResourcePermissionResponse.d.ts +6 -0
- package/dist/openapi_client/models/PodRoleResourcePermissionResponse.js +1 -0
- package/dist/openapi_client/models/PodRoleResponse.d.ts +3 -0
- package/dist/openapi_client/models/PodUpdateRequest.d.ts +2 -0
- package/dist/openapi_client/models/ResolveUserApprovalRequest.d.ts +5 -0
- package/dist/openapi_client/models/ResolveUserApprovalRequest.js +1 -0
- package/dist/openapi_client/models/ResourceAccessGrantRequest.d.ts +3 -0
- package/dist/openapi_client/models/ResourceAccessGrantRequest.js +1 -0
- package/dist/openapi_client/models/ResourceAccessGrantResponse.d.ts +12 -0
- package/dist/openapi_client/models/ResourceAccessGrantResponse.js +1 -0
- package/dist/openapi_client/models/ResourceAccessResponse.d.ts +7 -0
- package/dist/openapi_client/models/ResourceAccessResponse.js +1 -0
- package/dist/openapi_client/models/ResourceType.d.ts +19 -0
- package/dist/openapi_client/models/ResourceType.js +24 -0
- package/dist/openapi_client/models/ResourceVisibility.d.ts +6 -0
- package/dist/openapi_client/models/ResourceVisibility.js +11 -0
- package/dist/openapi_client/models/RuntimeModelCapability.d.ts +8 -0
- package/dist/openapi_client/models/RuntimeModelCapability.js +13 -0
- package/dist/openapi_client/models/RuntimeModelCatalogEntry.d.ts +9 -0
- package/dist/openapi_client/models/RuntimeModelCatalogEntry.js +1 -0
- package/dist/openapi_client/models/RuntimeProfileKind.d.ts +4 -0
- package/dist/openapi_client/models/RuntimeProfileKind.js +9 -0
- package/dist/openapi_client/models/RuntimeProfileProtocol.d.ts +9 -0
- package/dist/openapi_client/models/RuntimeProfileProtocol.js +14 -0
- package/dist/openapi_client/models/RuntimeProfileScope.d.ts +4 -0
- package/dist/openapi_client/models/RuntimeProfileScope.js +9 -0
- package/dist/openapi_client/models/RuntimeProfileStatus.d.ts +5 -0
- package/dist/openapi_client/models/RuntimeProfileStatus.js +10 -0
- package/dist/openapi_client/models/{ScheduleResponse.d.ts → ScheduleDetailResponse.d.ts} +3 -3
- package/dist/openapi_client/models/ScheduleDetailResponse.js +1 -0
- package/dist/openapi_client/models/ScheduleListResponse.d.ts +2 -2
- package/dist/openapi_client/models/SlackSurfaceConfig.d.ts +1 -4
- package/dist/openapi_client/models/SubscriptionResponse.d.ts +2 -2
- package/dist/openapi_client/models/SubscriptionWithPlanResponse.d.ts +2 -2
- package/dist/openapi_client/models/SurfaceBehaviorConfigInput.d.ts +3 -0
- package/dist/openapi_client/models/SurfaceBehaviorConfigInput.js +1 -0
- package/dist/openapi_client/models/SurfaceEventMode.d.ts +6 -0
- package/dist/openapi_client/models/SurfaceEventMode.js +11 -0
- package/dist/openapi_client/models/SurfaceMode.d.ts +5 -0
- package/dist/openapi_client/models/SurfaceMode.js +10 -0
- package/dist/openapi_client/models/SurfaceSetupMode.d.ts +2 -3
- package/dist/openapi_client/models/SurfaceSetupMode.js +1 -2
- package/dist/openapi_client/models/{TableResponse.d.ts → TableDetailResponse.d.ts} +3 -3
- package/dist/openapi_client/models/TableDetailResponse.js +1 -0
- package/dist/openapi_client/models/TableListResponse.d.ts +2 -2
- package/dist/openapi_client/models/TeamsSurfaceConfig.d.ts +1 -3
- package/dist/openapi_client/models/TelegramSurfaceConfig.d.ts +1 -0
- package/dist/openapi_client/models/UpdateAgentRequest.d.ts +4 -12
- package/dist/openapi_client/models/UpdateConversationRequest.d.ts +2 -2
- package/dist/openapi_client/models/UpdateDeskRequest.d.ts +0 -1
- package/dist/openapi_client/models/UpdateFunctionRequest.d.ts +2 -6
- package/dist/openapi_client/models/UpdateScheduleRequest.d.ts +1 -1
- package/dist/openapi_client/models/UpdateSurfaceRequest.d.ts +11 -14
- package/dist/openapi_client/models/UpdateTableRequest.d.ts +1 -1
- package/dist/openapi_client/models/UsageLimitScopeResponse.d.ts +2 -3
- package/dist/openapi_client/models/UsageLimitsResponse.d.ts +1 -4
- package/dist/openapi_client/models/UsageListResponse.d.ts +0 -3
- package/dist/openapi_client/models/UsageRecordResponse.d.ts +10 -14
- package/dist/openapi_client/models/UsageStatsBucketResponse.d.ts +1 -4
- package/dist/openapi_client/models/UsageStatsResponse.d.ts +0 -3
- package/dist/openapi_client/models/UsageSummaryResponse.d.ts +4 -6
- package/dist/openapi_client/models/UserApprovalListResponse.d.ts +4 -0
- package/dist/openapi_client/models/UserApprovalListResponse.js +1 -0
- package/dist/openapi_client/models/VerifyTokenResponse.d.ts +5 -0
- package/dist/openapi_client/models/WhatsAppSurfaceConfig.d.ts +1 -0
- package/dist/openapi_client/models/WorkflowCreateRequest.d.ts +2 -1
- package/dist/openapi_client/models/WorkflowListResponse.d.ts +2 -2
- package/dist/openapi_client/models/WorkflowRunListResponse.d.ts +2 -2
- package/dist/openapi_client/models/WorkflowRunSummaryResponse.d.ts +18 -0
- package/dist/openapi_client/models/WorkflowRunSummaryResponse.js +1 -0
- package/dist/openapi_client/models/WorkflowUpdateRequest.d.ts +2 -1
- package/dist/openapi_client/models/WorkspaceAppAccessRequest.d.ts +6 -0
- package/dist/openapi_client/models/WorkspaceAppAccessRequest.js +1 -0
- package/dist/openapi_client/models/WorkspaceAppAccessResponse.d.ts +5 -0
- package/dist/openapi_client/models/WorkspaceAppAccessResponse.js +1 -0
- package/dist/openapi_client/models/WorkspaceMeApp.d.ts +5 -0
- package/dist/openapi_client/models/WorkspaceMeApp.js +1 -0
- package/dist/openapi_client/models/WorkspaceMeResponse.d.ts +9 -0
- package/dist/openapi_client/models/WorkspaceMeResponse.js +1 -0
- package/dist/openapi_client/models/WorkspaceMeSandbox.d.ts +10 -0
- package/dist/openapi_client/models/WorkspaceMeSandbox.js +1 -0
- package/dist/openapi_client/models/WorkspaceMeSession.d.ts +6 -0
- package/dist/openapi_client/models/WorkspaceMeSession.js +1 -0
- package/dist/openapi_client/models/update.d.ts +1 -1
- package/dist/openapi_client/services/AgentConversationsService.d.ts +28 -3
- package/dist/openapi_client/services/AgentConversationsService.js +54 -3
- package/dist/openapi_client/services/AgentRuntimeService.d.ts +30 -0
- package/dist/openapi_client/services/AgentRuntimeService.js +54 -0
- package/dist/openapi_client/services/AgentSurfacesIngressService.d.ts +15 -20
- package/dist/openapi_client/services/AgentSurfacesIngressService.js +23 -28
- package/dist/openapi_client/services/AgentSurfacesService.d.ts +8 -8
- package/dist/openapi_client/services/AgentSurfacesService.js +20 -20
- package/dist/openapi_client/services/AgentToolsService.d.ts +0 -10
- package/dist/openapi_client/services/AgentToolsService.js +0 -18
- package/dist/openapi_client/services/AgentsService.d.ts +31 -9
- package/dist/openapi_client/services/AgentsService.js +50 -5
- package/dist/openapi_client/services/ApplicationsService.d.ts +12 -8
- package/dist/openapi_client/services/ApplicationsService.js +24 -16
- package/dist/openapi_client/services/BillingSubscriptionsService.d.ts +3 -2
- package/dist/openapi_client/services/BillingSubscriptionsService.js +3 -3
- package/dist/openapi_client/services/DesksService.d.ts +7 -7
- package/dist/openapi_client/services/DesksService.js +3 -3
- package/dist/openapi_client/services/FilesService.d.ts +18 -9
- package/dist/openapi_client/services/FilesService.js +28 -4
- package/dist/openapi_client/services/FunctionsService.d.ts +29 -7
- package/dist/openapi_client/services/FunctionsService.js +48 -3
- package/dist/openapi_client/services/IntegrationsService.d.ts +65 -14
- package/dist/openapi_client/services/IntegrationsService.js +144 -23
- package/dist/openapi_client/services/OrganizationsService.d.ts +8 -0
- package/dist/openapi_client/services/OrganizationsService.js +19 -0
- package/dist/openapi_client/services/PodMembersService.d.ts +0 -10
- package/dist/openapi_client/services/PodMembersService.js +0 -24
- package/dist/openapi_client/services/PodPermissionsService.d.ts +19 -0
- package/dist/openapi_client/services/PodPermissionsService.js +40 -0
- package/dist/openapi_client/services/PodResourceAccessService.d.ts +38 -0
- package/dist/openapi_client/services/PodResourceAccessService.js +81 -0
- package/dist/openapi_client/services/PodRolesService.d.ts +28 -0
- package/dist/openapi_client/services/PodRolesService.js +66 -0
- package/dist/openapi_client/services/PublicDesksService.d.ts +10 -0
- package/dist/openapi_client/services/PublicDesksService.js +15 -0
- package/dist/openapi_client/services/SchedulesService.d.ts +7 -7
- package/dist/openapi_client/services/SchedulesService.js +3 -3
- package/dist/openapi_client/services/TablesService.d.ts +9 -9
- package/dist/openapi_client/services/TablesService.js +4 -4
- package/dist/openapi_client/services/UsageService.d.ts +96 -0
- package/dist/openapi_client/services/UsageService.js +210 -0
- package/dist/openapi_client/services/WorkflowsService.d.ts +9 -9
- package/dist/openapi_client/services/WorkflowsService.js +4 -4
- package/dist/openapi_client/services/WorkspaceAppsService.d.ts +12 -0
- package/dist/openapi_client/services/WorkspaceAppsService.js +21 -0
- package/dist/openapi_client/services/WorkspaceService.d.ts +10 -0
- package/dist/openapi_client/services/WorkspaceService.js +15 -0
- package/dist/react/AuthGuard.d.ts +16 -2
- package/dist/react/AuthGuard.js +169 -130
- package/dist/react/index.d.ts +1 -1
- package/dist/react/useAssistantController.d.ts +26 -3
- package/dist/react/useAssistantController.js +187 -69
- package/dist/react/useAssistantSession.d.ts +10 -7
- package/dist/react/useAssistantSession.js +106 -5
- package/dist/react/useConversations.d.ts +1 -7
- package/dist/react/useConversations.js +4 -10
- package/dist/react/useFlowRunHistory.d.ts +4 -4
- package/dist/react/useFlowRunHistory.js +9 -4
- package/dist/react/useFlowSession.d.ts +2 -2
- package/dist/react/useFunctionRun.d.ts +2 -2
- package/dist/react/useFunctionRuns.d.ts +5 -5
- package/dist/react/useFunctionSession.d.ts +2 -2
- package/dist/react/useWorkflowRun.d.ts +2 -2
- package/dist/react/useWorkflowRuns.d.ts +5 -5
- package/dist/react/useWorkflowStart.d.ts +2 -2
- package/dist/types.d.ts +45 -8
- package/package.json +2 -2
- package/dist/openapi_client/models/AgentModelName.d.ts +0 -13
- package/dist/openapi_client/models/AgentModelName.js +0 -18
- package/dist/openapi_client/models/AgentResponse.d.ts +0 -29
- package/dist/openapi_client/models/ApplicationAccessConfig.d.ts +0 -18
- package/dist/openapi_client/models/ApplicationMode.d.ts +0 -7
- package/dist/openapi_client/models/ApplicationMode.js +0 -12
- package/dist/openapi_client/models/BillingScope.d.ts +0 -7
- package/dist/openapi_client/models/BillingScope.js +0 -12
- package/dist/openapi_client/models/FunctionTableAccessEntry.d.ts +0 -5
- package/dist/openapi_client/models/GmailSurfaceConfigInput.d.ts +0 -4
- package/dist/openapi_client/models/OutlookSurfaceConfigInput.d.ts +0 -4
- package/dist/openapi_client/models/RecentUsageResponse.d.ts +0 -9
- package/dist/openapi_client/models/SlackCredentialsInput.d.ts +0 -5
- package/dist/openapi_client/models/SlackSurfaceConfigInput.d.ts +0 -6
- package/dist/openapi_client/models/SurfaceCredentialMode.d.ts +0 -4
- package/dist/openapi_client/models/SurfaceCredentialMode.js +0 -9
- package/dist/openapi_client/models/SurfaceWebhookMode.d.ts +0 -4
- package/dist/openapi_client/models/SurfaceWebhookMode.js +0 -9
- package/dist/openapi_client/models/TableAccessEntry.d.ts +0 -8
- package/dist/openapi_client/models/TableAccessMode.d.ts +0 -7
- package/dist/openapi_client/models/TableAccessMode.js +0 -12
- package/dist/openapi_client/models/TeamsCredentialsInput.d.ts +0 -6
- package/dist/openapi_client/models/TeamsSurfaceConfigInput.d.ts +0 -6
- package/dist/openapi_client/models/TelegramCredentialsInput.d.ts +0 -5
- package/dist/openapi_client/models/TelegramSurfaceConfigInput.d.ts +0 -6
- package/dist/openapi_client/models/WebSearchAgentRequest.d.ts +0 -9
- package/dist/openapi_client/models/WebSearchAgentResponse.d.ts +0 -25
- package/dist/openapi_client/models/WhatsAppCredentialsInput.d.ts +0 -8
- package/dist/openapi_client/models/WhatsAppSurfaceConfigInput.d.ts +0 -6
- package/dist/openapi_client/services/BillingUsageService.d.ts +0 -138
- package/dist/openapi_client/services/BillingUsageService.js +0 -302
- /package/dist/openapi_client/models/{AgentResponse.js → AccountCreateSchema.js} +0 -0
- /package/dist/openapi_client/models/{ApplicationAccessConfig.js → AgentActionResponse.js} +0 -0
- /package/dist/openapi_client/models/{DeskResponse.js → AgentDetailResponse.js} +0 -0
- /package/dist/openapi_client/models/{FileResponse.js → AgentHarnessInfo.js} +0 -0
- /package/dist/openapi_client/models/{FlowResponse.js → AgentHarnessListResponse.js} +0 -0
- /package/dist/openapi_client/models/{FunctionResponse.js → AgentPermissionsReplaceRequest.js} +0 -0
- /package/dist/openapi_client/models/{FunctionTableAccessEntry.js → AgentPermissionsResponse.js} +0 -0
- /package/dist/openapi_client/models/{GmailSurfaceConfigInput.js → AgentResourcePermissionRequest.js} +0 -0
- /package/dist/openapi_client/models/{OutlookSurfaceConfigInput.js → AgentResourcePermissionResponse.js} +0 -0
- /package/dist/openapi_client/models/{RecentUsageResponse.js → AgentRuntimeConfig.js} +0 -0
- /package/dist/openapi_client/models/{ScheduleResponse.js → AgentRuntimeProfileListResponse.js} +0 -0
- /package/dist/openapi_client/models/{SlackCredentialsInput.js → AgentRuntimeProfileResponse.js} +0 -0
- /package/dist/openapi_client/models/{SlackSurfaceConfigInput.js → AuthConfigCreateSchema.js} +0 -0
- /package/dist/openapi_client/models/{TableAccessEntry.js → AuthConfigListResponseSchema.js} +0 -0
- /package/dist/openapi_client/models/{TableResponse.js → AuthConfigResponseSchema.js} +0 -0
- /package/dist/openapi_client/models/{TeamsCredentialsInput.js → ComposioProviderCapabilityResponseSchema.js} +0 -0
- /package/dist/openapi_client/models/{TeamsSurfaceConfigInput.js → ConvertedPageResponse.js} +0 -0
- /package/dist/openapi_client/models/{TelegramCredentialsInput.js → CreateAnthropicCompatibleRuntimeProfileRequest.js} +0 -0
- /package/dist/openapi_client/models/{TelegramSurfaceConfigInput.js → CreateOpenAICompatibleRuntimeProfileRequest.js} +0 -0
- /package/dist/openapi_client/models/{WebSearchAgentRequest.js → CreateUserDaemonRuntimeProfileRequest.js} +0 -0
- /package/dist/openapi_client/models/{WebSearchAgentResponse.js → DeskDetailResponse.js} +0 -0
- /package/dist/openapi_client/models/{WhatsAppCredentialsInput.js → FileDetailResponse.js} +0 -0
- /package/dist/openapi_client/models/{WhatsAppSurfaceConfigInput.js → FlowDetailResponse.js} +0 -0
|
@@ -2,24 +2,31 @@ import type { AgentSurfaceStatus } from './AgentSurfaceStatus.js';
|
|
|
2
2
|
import type { GmailSurfaceConfig } from './GmailSurfaceConfig.js';
|
|
3
3
|
import type { OutlookSurfaceConfig } from './OutlookSurfaceConfig.js';
|
|
4
4
|
import type { SlackSurfaceConfig } from './SlackSurfaceConfig.js';
|
|
5
|
-
import type {
|
|
5
|
+
import type { SurfaceEventMode } from './SurfaceEventMode.js';
|
|
6
|
+
import type { SurfaceMode } from './SurfaceMode.js';
|
|
7
|
+
import type { SurfacePlatform } from './SurfacePlatform.js';
|
|
6
8
|
import type { SurfaceRoutingScope } from './SurfaceRoutingScope.js';
|
|
7
|
-
import type { SurfaceWebhookMode } from './SurfaceWebhookMode.js';
|
|
8
9
|
import type { TeamsSurfaceConfig } from './TeamsSurfaceConfig.js';
|
|
9
10
|
import type { TelegramSurfaceConfig } from './TelegramSurfaceConfig.js';
|
|
10
11
|
import type { WhatsAppSurfaceConfig } from './WhatsAppSurfaceConfig.js';
|
|
11
12
|
export type AgentSurfaceResponse = {
|
|
13
|
+
account_id?: (string | null);
|
|
12
14
|
agent_id?: (string | null);
|
|
13
15
|
agent_name?: (string | null);
|
|
14
16
|
config: (SlackSurfaceConfig | TeamsSurfaceConfig | WhatsAppSurfaceConfig | TelegramSurfaceConfig | GmailSurfaceConfig | OutlookSurfaceConfig);
|
|
15
|
-
|
|
17
|
+
event_mode: SurfaceEventMode;
|
|
18
|
+
external_channel_id?: (string | null);
|
|
19
|
+
external_tenant_id?: (string | null);
|
|
20
|
+
external_workspace_id?: (string | null);
|
|
16
21
|
id: string;
|
|
17
22
|
is_active: boolean;
|
|
23
|
+
mode: SurfaceMode;
|
|
24
|
+
platform: SurfacePlatform;
|
|
18
25
|
pod_id: string;
|
|
19
26
|
routing_scope?: SurfaceRoutingScope;
|
|
20
27
|
status?: AgentSurfaceStatus;
|
|
28
|
+
surface_identity_id?: (string | null);
|
|
21
29
|
surface_type: string;
|
|
22
30
|
uses_default_agent?: boolean;
|
|
23
|
-
webhook_mode?: SurfaceWebhookMode;
|
|
24
31
|
webhook_url?: (string | null);
|
|
25
32
|
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
+
import type { ComposioProviderCapabilityResponseSchema } from './ComposioProviderCapabilityResponseSchema.js';
|
|
2
|
+
import type { LemmaProviderCapabilityResponseSchema } from './LemmaProviderCapabilityResponseSchema.js';
|
|
1
3
|
import type { OperationSummary } from './OperationSummary.js';
|
|
2
4
|
/**
|
|
3
5
|
* Schema for application details including operation catalog.
|
|
4
6
|
*/
|
|
5
7
|
export type ApplicationDetailResponseSchema = {
|
|
6
|
-
auth_method: string;
|
|
7
|
-
auth_provider: string;
|
|
8
8
|
created_at: string;
|
|
9
9
|
description: (string | null);
|
|
10
10
|
icon: (string | null);
|
|
11
11
|
id: string;
|
|
12
12
|
is_active: boolean;
|
|
13
|
-
operation_executor: string;
|
|
14
13
|
operations?: Record<string, OperationSummary>;
|
|
14
|
+
provider_capabilities?: Array<(LemmaProviderCapabilityResponseSchema | ComposioProviderCapabilityResponseSchema)>;
|
|
15
15
|
title?: (string | null);
|
|
16
16
|
updated_at: string;
|
|
17
17
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
+
import type { ComposioProviderCapabilityResponseSchema } from './ComposioProviderCapabilityResponseSchema.js';
|
|
2
|
+
import type { LemmaProviderCapabilityResponseSchema } from './LemmaProviderCapabilityResponseSchema.js';
|
|
1
3
|
/**
|
|
2
4
|
* Schema for application response.
|
|
3
5
|
*/
|
|
4
6
|
export type ApplicationResponseSchema = {
|
|
5
|
-
auth_method: string;
|
|
6
|
-
auth_provider: string;
|
|
7
7
|
created_at: string;
|
|
8
8
|
description: (string | null);
|
|
9
9
|
icon: (string | null);
|
|
10
10
|
id: string;
|
|
11
11
|
is_active: boolean;
|
|
12
|
-
|
|
12
|
+
provider_capabilities?: Array<(LemmaProviderCapabilityResponseSchema | ComposioProviderCapabilityResponseSchema)>;
|
|
13
13
|
title?: (string | null);
|
|
14
14
|
updated_at: string;
|
|
15
15
|
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type AuthConfigResponseSchema = {
|
|
2
|
+
application_id: string;
|
|
3
|
+
config_source: string;
|
|
4
|
+
created_at: string;
|
|
5
|
+
credential_config?: (Record<string, any> | null);
|
|
6
|
+
id: string;
|
|
7
|
+
metadata?: (Record<string, any> | null);
|
|
8
|
+
name: string;
|
|
9
|
+
organization_id: string;
|
|
10
|
+
provider: string;
|
|
11
|
+
status: string;
|
|
12
|
+
updated_at: string;
|
|
13
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export var AuthScheme;
|
|
6
|
+
(function (AuthScheme) {
|
|
7
|
+
AuthScheme["OAUTH2"] = "OAUTH2";
|
|
8
|
+
AuthScheme["API_KEY"] = "API_KEY";
|
|
9
|
+
AuthScheme["NOAUTH"] = "NOAUTH";
|
|
10
|
+
})(AuthScheme || (AuthScheme = {}));
|
|
@@ -7,6 +7,6 @@
|
|
|
7
7
|
*/
|
|
8
8
|
export var BillingInterval;
|
|
9
9
|
(function (BillingInterval) {
|
|
10
|
-
BillingInterval["MONTHLY"] = "
|
|
11
|
-
BillingInterval["YEARLY"] = "
|
|
10
|
+
BillingInterval["MONTHLY"] = "MONTHLY";
|
|
11
|
+
BillingInterval["YEARLY"] = "YEARLY";
|
|
12
12
|
})(BillingInterval || (BillingInterval = {}));
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import type { BillingInvoiceStatus } from './BillingInvoiceStatus.js';
|
|
2
|
-
import type { BillingScope } from './BillingScope.js';
|
|
3
2
|
/**
|
|
4
3
|
* Response schema for a billing invoice.
|
|
5
4
|
*/
|
|
6
5
|
export type BillingInvoiceResponse = {
|
|
7
6
|
amount_cents: number;
|
|
8
|
-
billing_scope: BillingScope;
|
|
9
7
|
checkout_url: (string | null);
|
|
10
8
|
created_at: string;
|
|
11
9
|
currency: string;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { AuthScheme } from './AuthScheme.js';
|
|
2
|
+
export type ComposioProviderCapabilityResponseSchema = {
|
|
3
|
+
auth_config_schema?: (Record<string, any> | null);
|
|
4
|
+
auth_scheme?: AuthScheme;
|
|
5
|
+
provider?: string;
|
|
6
|
+
supports_org_custom_auth_config?: boolean;
|
|
7
|
+
system_default_available?: boolean;
|
|
8
|
+
toolkit_slug: string;
|
|
9
|
+
};
|
|
@@ -4,9 +4,11 @@
|
|
|
4
4
|
export type ConnectRequestResponseSchema = {
|
|
5
5
|
application_id: string;
|
|
6
6
|
attributes: (Record<string, any> | null);
|
|
7
|
+
auth_config_id: string;
|
|
7
8
|
authorization_url: (string | null);
|
|
8
9
|
created_at: string;
|
|
9
10
|
id: string;
|
|
11
|
+
organization_id: string;
|
|
10
12
|
status: string;
|
|
11
13
|
updated_at: string;
|
|
12
14
|
user_id: string;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { AgentRuntimeConfig } from './AgentRuntimeConfig.js';
|
|
2
2
|
import type { ConversationStatus } from './ConversationStatus.js';
|
|
3
3
|
import type { ConversationType } from './ConversationType.js';
|
|
4
4
|
export type ConversationResponse = {
|
|
5
5
|
agent_id?: (string | null);
|
|
6
|
+
agent_runtime?: (AgentRuntimeConfig | null);
|
|
6
7
|
created_at: string;
|
|
7
8
|
id: string;
|
|
8
9
|
instructions?: (string | null);
|
|
9
10
|
metadata?: (Record<string, any> | null);
|
|
10
|
-
model_name?: (AgentModelName | null);
|
|
11
11
|
organization_id?: (string | null);
|
|
12
12
|
output?: null;
|
|
13
13
|
parent_id?: (string | null);
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import type { ConvertedArtifactResponse } from './ConvertedArtifactResponse.js';
|
|
2
|
+
import type { ConvertedPageResponse } from './ConvertedPageResponse.js';
|
|
2
3
|
export type ConvertedFileResponse = {
|
|
3
4
|
artifacts?: Array<ConvertedArtifactResponse>;
|
|
4
5
|
detected_languages?: Array<string>;
|
|
5
6
|
extraction_mode: string;
|
|
6
7
|
generated_at: string;
|
|
8
|
+
page_count?: number;
|
|
9
|
+
pages?: Array<ConvertedPageResponse>;
|
|
7
10
|
source_mime_type?: (string | null);
|
|
8
11
|
source_name: string;
|
|
9
12
|
source_path: string;
|
|
13
|
+
version?: number;
|
|
10
14
|
};
|
|
@@ -1,23 +1,15 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { AgentRuntimeConfig } from './AgentRuntimeConfig.js';
|
|
2
2
|
import type { AgentToolset } from './AgentToolset.js';
|
|
3
|
-
import type {
|
|
4
|
-
import type { HarnessKind } from './HarnessKind.js';
|
|
5
|
-
import type { TableAccessEntry } from './TableAccessEntry.js';
|
|
3
|
+
import type { ResourceVisibility } from './ResourceVisibility.js';
|
|
6
4
|
export type CreateAgentRequest = {
|
|
7
|
-
|
|
8
|
-
accessible_folders?: Array<string>;
|
|
9
|
-
accessible_tables?: Array<TableAccessEntry>;
|
|
10
|
-
agent_names?: Array<string>;
|
|
5
|
+
agent_runtime?: (AgentRuntimeConfig | null);
|
|
11
6
|
description?: (string | null);
|
|
12
|
-
function_names?: Array<string>;
|
|
13
|
-
harness_kind?: HarnessKind;
|
|
14
7
|
icon_url?: (string | null);
|
|
15
8
|
input_schema?: (Record<string, any> | null);
|
|
16
9
|
instruction: string;
|
|
17
10
|
metadata?: (Record<string, any> | null);
|
|
18
|
-
model_name?: AgentModelName;
|
|
19
11
|
name: string;
|
|
20
12
|
output_schema?: (Record<string, any> | null);
|
|
21
13
|
toolsets?: Array<AgentToolset>;
|
|
22
|
-
|
|
14
|
+
visibility?: ResourceVisibility;
|
|
23
15
|
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type CreateAnthropicCompatibleRuntimeProfileRequest = {
|
|
2
|
+
api_key: string;
|
|
3
|
+
base_url?: (string | null);
|
|
4
|
+
default_model_name?: (string | null);
|
|
5
|
+
description?: (string | null);
|
|
6
|
+
headers?: Record<string, string>;
|
|
7
|
+
model_names?: Array<string>;
|
|
8
|
+
model_settings?: Record<string, any>;
|
|
9
|
+
name: string;
|
|
10
|
+
source?: string;
|
|
11
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { AgentRuntimeConfig } from './AgentRuntimeConfig.js';
|
|
2
2
|
import type { ConversationType } from './ConversationType.js';
|
|
3
3
|
export type CreateConversationRequest = {
|
|
4
4
|
agent_name?: (string | null);
|
|
5
|
+
agent_runtime?: (AgentRuntimeConfig | null);
|
|
5
6
|
instructions?: (string | null);
|
|
6
7
|
metadata?: (Record<string, any> | null);
|
|
7
|
-
model_name?: (AgentModelName | null);
|
|
8
8
|
parent_id?: (string | null);
|
|
9
9
|
title?: (string | null);
|
|
10
10
|
type?: ConversationType;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import type { ApplicationAccessConfig } from './ApplicationAccessConfig.js';
|
|
2
|
-
import type { FunctionTableAccessEntry } from './FunctionTableAccessEntry.js';
|
|
3
1
|
import type { FunctionType } from './FunctionType.js';
|
|
2
|
+
import type { ResourceVisibility } from './ResourceVisibility.js';
|
|
4
3
|
/**
|
|
5
4
|
* Request to create a function.
|
|
6
5
|
*
|
|
@@ -8,9 +7,6 @@ import type { FunctionType } from './FunctionType.js';
|
|
|
8
7
|
* on the function response. They are not accepted in create requests.
|
|
9
8
|
*/
|
|
10
9
|
export type CreateFunctionRequest = {
|
|
11
|
-
accessible_applications?: Array<ApplicationAccessConfig>;
|
|
12
|
-
accessible_folders?: Array<string>;
|
|
13
|
-
accessible_tables?: Array<FunctionTableAccessEntry>;
|
|
14
10
|
/**
|
|
15
11
|
* Python source for the function. When provided, the platform analyzes the code and populates input_schema, output_schema, and config_schema on the returned function.
|
|
16
12
|
*/
|
|
@@ -21,5 +17,5 @@ export type CreateFunctionRequest = {
|
|
|
21
17
|
icon_url?: (string | null);
|
|
22
18
|
name: string;
|
|
23
19
|
type?: FunctionType;
|
|
24
|
-
|
|
20
|
+
visibility?: ResourceVisibility;
|
|
25
21
|
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type CreateOpenAICompatibleRuntimeProfileRequest = {
|
|
2
|
+
api_key?: (string | null);
|
|
3
|
+
base_url: string;
|
|
4
|
+
default_model_name?: (string | null);
|
|
5
|
+
description?: (string | null);
|
|
6
|
+
headers?: Record<string, string>;
|
|
7
|
+
model_names?: Array<string>;
|
|
8
|
+
model_settings?: Record<string, any>;
|
|
9
|
+
name: string;
|
|
10
|
+
source?: string;
|
|
11
|
+
};
|
|
@@ -3,13 +3,25 @@ import type { ScheduleType } from './ScheduleType.js';
|
|
|
3
3
|
* Request to create a pod schedule.
|
|
4
4
|
*/
|
|
5
5
|
export type CreateScheduleRequest = {
|
|
6
|
+
/**
|
|
7
|
+
* Connected integration account used to provision provider-backed webhook schedules.
|
|
8
|
+
*/
|
|
6
9
|
account_id?: (string | null);
|
|
7
10
|
agent_name?: (string | null);
|
|
11
|
+
/**
|
|
12
|
+
* Integration trigger id for agent WEBHOOK schedules. Do not provide this for workflow schedules; workflow WEBHOOK schedules derive it from the workflow start configuration.
|
|
13
|
+
*/
|
|
8
14
|
application_trigger_id?: (string | null);
|
|
9
15
|
config?: Record<string, any>;
|
|
16
|
+
/**
|
|
17
|
+
* Optional schedule-level LLM filter instruction. Filters belong to the schedule, not the workflow start.
|
|
18
|
+
*/
|
|
10
19
|
filter_instruction?: (string | null);
|
|
20
|
+
/**
|
|
21
|
+
* Optional schema for the schedule-level filter output. Filters belong to the schedule, not the workflow start.
|
|
22
|
+
*/
|
|
11
23
|
filter_output_schema?: (Record<string, any> | null);
|
|
12
24
|
schedule_type: ScheduleType;
|
|
13
|
-
|
|
25
|
+
visibility?: (string | null);
|
|
14
26
|
workflow_name?: (string | null);
|
|
15
27
|
};
|
|
@@ -1,19 +1,17 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
import type {
|
|
4
|
-
import type {
|
|
5
|
-
import type { SurfaceCredentialMode } from './SurfaceCredentialMode.js';
|
|
1
|
+
import type { SurfaceBehaviorConfigInput } from './SurfaceBehaviorConfigInput.js';
|
|
2
|
+
import type { SurfaceEventMode } from './SurfaceEventMode.js';
|
|
3
|
+
import type { SurfaceMode } from './SurfaceMode.js';
|
|
4
|
+
import type { SurfacePlatform } from './SurfacePlatform.js';
|
|
6
5
|
import type { SurfaceRoutingScope } from './SurfaceRoutingScope.js';
|
|
7
|
-
import type { TeamsCredentialsInput } from './TeamsCredentialsInput.js';
|
|
8
|
-
import type { TeamsSurfaceConfigInput } from './TeamsSurfaceConfigInput.js';
|
|
9
|
-
import type { TelegramCredentialsInput } from './TelegramCredentialsInput.js';
|
|
10
|
-
import type { TelegramSurfaceConfigInput } from './TelegramSurfaceConfigInput.js';
|
|
11
|
-
import type { WhatsAppCredentialsInput } from './WhatsAppCredentialsInput.js';
|
|
12
|
-
import type { WhatsAppSurfaceConfigInput } from './WhatsAppSurfaceConfigInput.js';
|
|
13
6
|
export type CreateSurfaceRequest = {
|
|
7
|
+
account_id?: (string | null);
|
|
14
8
|
agent_name?: (string | null);
|
|
15
|
-
config
|
|
16
|
-
|
|
17
|
-
|
|
9
|
+
config?: SurfaceBehaviorConfigInput;
|
|
10
|
+
event_mode?: (SurfaceEventMode | null);
|
|
11
|
+
external_channel_id?: (string | null);
|
|
12
|
+
external_tenant_id?: (string | null);
|
|
13
|
+
external_workspace_id?: (string | null);
|
|
14
|
+
mode: SurfaceMode;
|
|
15
|
+
platform: SurfacePlatform;
|
|
18
16
|
routing_scope?: SurfaceRoutingScope;
|
|
19
17
|
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { HarnessKind } from './HarnessKind.js';
|
|
2
|
+
export type CreateUserDaemonRuntimeProfileRequest = {
|
|
3
|
+
daemon_id: string;
|
|
4
|
+
default_model_name?: (string | null);
|
|
5
|
+
description?: (string | null);
|
|
6
|
+
harness_kind: HarnessKind;
|
|
7
|
+
name: string;
|
|
8
|
+
source?: string;
|
|
9
|
+
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { DeskStatus } from './DeskStatus.js';
|
|
2
|
-
export type
|
|
2
|
+
export type DeskDetailResponse = {
|
|
3
|
+
allowed_actions?: Array<string>;
|
|
3
4
|
created_at: any;
|
|
4
5
|
current_release_id?: (string | null);
|
|
5
6
|
description?: (string | null);
|
|
@@ -13,5 +14,4 @@ export type DeskResponse = {
|
|
|
13
14
|
readonly url: string;
|
|
14
15
|
user_id: string;
|
|
15
16
|
visibility?: string;
|
|
16
|
-
visibility_roles?: Array<string>;
|
|
17
17
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { DeskDetailResponse } from './DeskDetailResponse.js';
|
|
2
2
|
export type DeskListResponse = {
|
|
3
|
-
items: Array<
|
|
3
|
+
items: Array<DeskDetailResponse>;
|
|
4
4
|
limit: number;
|
|
5
5
|
next_page_token?: (string | null);
|
|
6
6
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export var DeskServingConfigResponse;
|
|
2
|
+
(function (DeskServingConfigResponse) {
|
|
3
|
+
let mode;
|
|
4
|
+
(function (mode) {
|
|
5
|
+
mode["HOST"] = "HOST";
|
|
6
|
+
mode["PATH"] = "PATH";
|
|
7
|
+
})(mode = DeskServingConfigResponse.mode || (DeskServingConfigResponse.mode = {}));
|
|
8
|
+
})(DeskServingConfigResponse || (DeskServingConfigResponse = {}));
|
|
@@ -7,13 +7,5 @@ export type EventFlowStartInput = {
|
|
|
7
7
|
* Integration trigger identifier to subscribe to.
|
|
8
8
|
*/
|
|
9
9
|
application_trigger_id: string;
|
|
10
|
-
/**
|
|
11
|
-
* Optional LLM filter instruction executed before flow continuation.
|
|
12
|
-
*/
|
|
13
|
-
filter_instruction?: (string | null);
|
|
14
|
-
/**
|
|
15
|
-
* Optional expected schema for filter output.
|
|
16
|
-
*/
|
|
17
|
-
filter_output_schema?: (Record<string, any> | null);
|
|
18
10
|
trigger_config?: Record<string, any>;
|
|
19
11
|
};
|
|
@@ -7,13 +7,5 @@ export type EventFlowStartOutput = {
|
|
|
7
7
|
* Integration trigger identifier to subscribe to.
|
|
8
8
|
*/
|
|
9
9
|
application_trigger_id: string;
|
|
10
|
-
/**
|
|
11
|
-
* Optional LLM filter instruction executed before flow continuation.
|
|
12
|
-
*/
|
|
13
|
-
filter_instruction?: (string | null);
|
|
14
|
-
/**
|
|
15
|
-
* Optional expected schema for filter output.
|
|
16
|
-
*/
|
|
17
|
-
filter_output_schema?: (Record<string, any> | null);
|
|
18
10
|
trigger_config?: Record<string, any>;
|
|
19
11
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type FileDetailResponse = {
|
|
2
|
+
allowed_actions?: Array<string>;
|
|
2
3
|
created_at: string;
|
|
3
4
|
description: (string | null);
|
|
4
5
|
id: string;
|
|
@@ -16,5 +17,4 @@ export type FileResponse = {
|
|
|
16
17
|
status: string;
|
|
17
18
|
updated_at: string;
|
|
18
19
|
visibility?: string;
|
|
19
|
-
visibility_roles?: Array<string>;
|
|
20
20
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { FileDetailResponse } from './FileDetailResponse.js';
|
|
2
2
|
export type FileListResponse = {
|
|
3
|
-
items: Array<
|
|
3
|
+
items: Array<FileDetailResponse>;
|
|
4
4
|
limit: number;
|
|
5
5
|
next_page_token?: (string | null);
|
|
6
6
|
};
|
|
@@ -11,7 +11,8 @@ import type { ScheduledWorkflowStartOutput } from './ScheduledWorkflowStartOutpu
|
|
|
11
11
|
import type { WaitUntilNodeResponse } from './WaitUntilNodeResponse.js';
|
|
12
12
|
import type { WorkflowEdge } from './WorkflowEdge.js';
|
|
13
13
|
import type { WorkflowMode } from './WorkflowMode.js';
|
|
14
|
-
export type
|
|
14
|
+
export type FlowDetailResponse = {
|
|
15
|
+
allowed_actions?: Array<string>;
|
|
15
16
|
created_at?: (string | null);
|
|
16
17
|
description?: (string | null);
|
|
17
18
|
edges?: Array<WorkflowEdge>;
|
|
@@ -25,5 +26,4 @@ export type FlowResponse = {
|
|
|
25
26
|
start?: ((ManualWorkflowStartOutput | ScheduledWorkflowStartOutput | EventWorkflowStartOutput | DataStoreWorkflowStartOutput) | null);
|
|
26
27
|
updated_at?: (string | null);
|
|
27
28
|
visibility?: string;
|
|
28
|
-
visibility_roles?: Array<string>;
|
|
29
29
|
};
|
|
@@ -1,15 +1,9 @@
|
|
|
1
|
-
import type { ApplicationAccessConfig } from './ApplicationAccessConfig.js';
|
|
2
1
|
import type { FunctionStatus } from './FunctionStatus.js';
|
|
3
|
-
import type { FunctionTableAccessEntry } from './FunctionTableAccessEntry.js';
|
|
4
2
|
import type { FunctionType } from './FunctionType.js';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
*/
|
|
8
|
-
export type FunctionResponse = {
|
|
9
|
-
accessible_applications: Array<ApplicationAccessConfig>;
|
|
10
|
-
accessible_folders: Array<string>;
|
|
11
|
-
accessible_tables: Array<FunctionTableAccessEntry>;
|
|
3
|
+
export type FunctionActionResponse = {
|
|
4
|
+
allowed_actions?: Array<string>;
|
|
12
5
|
code?: (string | null);
|
|
6
|
+
code_hash?: (string | null);
|
|
13
7
|
code_path?: (string | null);
|
|
14
8
|
config?: (Record<string, any> | null);
|
|
15
9
|
/**
|
|
@@ -35,5 +29,4 @@ export type FunctionResponse = {
|
|
|
35
29
|
updated_at: any;
|
|
36
30
|
user_id: string;
|
|
37
31
|
visibility?: string;
|
|
38
|
-
visibility_roles?: Array<string>;
|
|
39
32
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { FunctionPermissionsResponse } from './FunctionPermissionsResponse.js';
|
|
2
|
+
import type { FunctionStatus } from './FunctionStatus.js';
|
|
3
|
+
import type { FunctionType } from './FunctionType.js';
|
|
4
|
+
export type FunctionDetailResponse = {
|
|
5
|
+
allowed_actions?: Array<string>;
|
|
6
|
+
code?: (string | null);
|
|
7
|
+
code_hash?: (string | null);
|
|
8
|
+
code_path?: (string | null);
|
|
9
|
+
config?: (Record<string, any> | null);
|
|
10
|
+
/**
|
|
11
|
+
* Optional configuration schema derived from the function code.
|
|
12
|
+
*/
|
|
13
|
+
config_schema?: (Record<string, any> | null);
|
|
14
|
+
created_at: any;
|
|
15
|
+
description?: (string | null);
|
|
16
|
+
icon_url?: (string | null);
|
|
17
|
+
id: string;
|
|
18
|
+
/**
|
|
19
|
+
* Input JSON schema derived from the function code.
|
|
20
|
+
*/
|
|
21
|
+
input_schema: Record<string, any>;
|
|
22
|
+
name: string;
|
|
23
|
+
/**
|
|
24
|
+
* Output JSON schema derived from the function code.
|
|
25
|
+
*/
|
|
26
|
+
output_schema: Record<string, any>;
|
|
27
|
+
permissions: FunctionPermissionsResponse;
|
|
28
|
+
pod_id: string;
|
|
29
|
+
status: FunctionStatus;
|
|
30
|
+
type: FunctionType;
|
|
31
|
+
updated_at: any;
|
|
32
|
+
user_id: string;
|
|
33
|
+
visibility?: string;
|
|
34
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|