lemma-sdk 0.2.43 → 0.2.45
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 +2 -0
- package/dist/assistant-events.js +50 -3
- package/dist/browser/lemma-client.js +1333 -435
- package/dist/client.d.ts +8 -0
- package/dist/client.js +13 -1
- package/dist/config.d.ts +2 -2
- package/dist/config.js +2 -2
- package/dist/hey_client/client/client.gen.d.ts +2 -0
- package/dist/hey_client/client/client.gen.js +216 -0
- package/dist/hey_client/client/index.d.ts +10 -0
- package/dist/hey_client/client/index.js +6 -0
- package/dist/hey_client/client/types.gen.d.ts +120 -0
- package/dist/hey_client/client/types.gen.js +2 -0
- package/dist/hey_client/client/utils.gen.d.ts +37 -0
- package/dist/hey_client/client/utils.gen.js +228 -0
- package/dist/hey_client/client.gen.d.ts +12 -0
- package/dist/hey_client/client.gen.js +3 -0
- package/dist/hey_client/core/auth.gen.d.ts +25 -0
- package/dist/hey_client/core/auth.gen.js +14 -0
- package/dist/hey_client/core/bodySerializer.gen.d.ts +25 -0
- package/dist/hey_client/core/bodySerializer.gen.js +57 -0
- package/dist/hey_client/core/params.gen.d.ts +43 -0
- package/dist/hey_client/core/params.gen.js +100 -0
- package/dist/hey_client/core/pathSerializer.gen.d.ts +33 -0
- package/dist/hey_client/core/pathSerializer.gen.js +106 -0
- package/dist/hey_client/core/queryKeySerializer.gen.d.ts +18 -0
- package/dist/hey_client/core/queryKeySerializer.gen.js +92 -0
- package/dist/hey_client/core/serverSentEvents.gen.d.ts +71 -0
- package/dist/hey_client/core/serverSentEvents.gen.js +132 -0
- package/dist/hey_client/core/types.gen.d.ts +83 -0
- package/dist/hey_client/core/types.gen.js +2 -0
- package/dist/hey_client/core/utils.gen.d.ts +19 -0
- package/dist/hey_client/core/utils.gen.js +87 -0
- package/dist/hey_client/index.d.ts +2 -0
- package/dist/hey_client/index.js +2 -0
- package/dist/hey_client/sdk.gen.d.ts +1005 -0
- package/dist/hey_client/sdk.gen.js +1438 -0
- package/dist/hey_client/types.gen.d.ts +13004 -0
- package/dist/hey_client/types.gen.js +2 -0
- 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 +17 -28
- package/dist/namespaces/files.js +10 -11
- 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/pod-surfaces.d.ts +8 -3
- package/dist/namespaces/pod-surfaces.js +15 -6
- package/dist/namespaces/pods.d.ts +2 -3
- package/dist/namespaces/pods.js +1 -6
- package/dist/namespaces/records.d.ts +7 -7
- package/dist/namespaces/resource-access.d.ts +11 -0
- package/dist/namespaces/resource-access.js +18 -0
- package/dist/namespaces/schedules.d.ts +4 -3
- package/dist/namespaces/schedules.js +1 -1
- package/dist/namespaces/tables.d.ts +6 -6
- package/dist/namespaces/workflows.d.ts +16 -12
- package/dist/namespaces/workflows.js +9 -18
- package/dist/openapi_client/index.d.ts +90 -61
- package/dist/openapi_client/index.js +17 -12
- 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 +11 -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/AgentNode.d.ts +1 -1
- package/dist/openapi_client/models/AgentNodeConfig.d.ts +1 -1
- 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 +28 -0
- package/dist/openapi_client/models/AgentSurfaceResponse.d.ts +8 -12
- package/dist/openapi_client/models/AgentSurfaceStatus.d.ts +3 -1
- package/dist/openapi_client/models/AgentSurfaceStatus.js +2 -0
- 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/ApplicationSkillResponse.d.ts +6 -0
- 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/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/ConnectedAccountSummary.d.ts +7 -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 -7
- package/dist/openapi_client/models/CreateOpenAICompatibleRuntimeProfileRequest.d.ts +11 -0
- package/dist/openapi_client/models/CreateScheduleRequest.d.ts +17 -1
- package/dist/openapi_client/models/CreateSurfaceRequest.d.ts +6 -15
- package/dist/openapi_client/models/CreateTableRequest.d.ts +1 -1
- package/dist/openapi_client/models/CreateUserDaemonRuntimeProfileRequest.d.ts +11 -0
- package/dist/openapi_client/models/DataStoreFlowStartInput.d.ts +1 -1
- package/dist/openapi_client/models/DataStoreFlowStartOutput.d.ts +1 -1
- package/dist/openapi_client/models/DatastoreCountResponse.d.ts +6 -0
- package/dist/openapi_client/models/DatastoreFileUploadRequest.d.ts +1 -1
- package/dist/openapi_client/models/DecisionNode.d.ts +2 -1
- package/dist/openapi_client/models/DecisionRule.d.ts +3 -0
- 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/EndNode.d.ts +1 -1
- 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/ExpressionInputBinding.d.ts +6 -2
- package/dist/openapi_client/models/{FileResponse.d.ts → FileDetailResponse.d.ts} +2 -2
- package/dist/openapi_client/models/FileListResponse.d.ts +3 -2
- package/dist/openapi_client/models/FileSearchResponse.d.ts +2 -2
- package/dist/openapi_client/models/{FlowResponse.d.ts → FlowDetailResponse.d.ts} +2 -2
- package/dist/openapi_client/models/FlowRunStatus.d.ts +4 -1
- package/dist/openapi_client/models/FlowRunStatus.js +4 -1
- package/dist/openapi_client/models/FormNode.d.ts +2 -1
- package/dist/openapi_client/models/FormNodeConfig.d.ts +1 -1
- package/dist/openapi_client/models/{FunctionResponse.d.ts → FunctionActionResponse.d.ts} +3 -10
- package/dist/openapi_client/models/FunctionDetailResponse.d.ts +34 -0
- package/dist/openapi_client/models/FunctionListResponse.d.ts +2 -2
- package/dist/openapi_client/models/FunctionNode.d.ts +2 -1
- package/dist/openapi_client/models/FunctionPermissionsReplaceRequest.d.ts +4 -0
- package/dist/openapi_client/models/FunctionPermissionsResponse.d.ts +6 -0
- package/dist/openapi_client/models/FunctionResourcePermissionRequest.d.ts +6 -0
- package/dist/openapi_client/models/FunctionResourcePermissionResponse.d.ts +6 -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/HarnessKind.d.ts +4 -2
- package/dist/openapi_client/models/HarnessKind.js +4 -2
- package/dist/openapi_client/models/InstalledAppSummary.d.ts +7 -0
- package/dist/openapi_client/models/IntegrationStatusResponse.d.ts +6 -0
- package/dist/openapi_client/models/LemmaProviderCapabilityResponseSchema.d.ts +12 -0
- package/dist/openapi_client/models/LoopNode.d.ts +2 -1
- package/dist/openapi_client/models/LoopNodeConfig.d.ts +3 -3
- package/dist/openapi_client/models/OAuth2DefaultsResponseSchema.d.ts +10 -0
- package/dist/openapi_client/models/OperationSummary.d.ts +4 -0
- package/dist/openapi_client/models/PodConfig.d.ts +6 -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/PodMemberAddRequest.d.ts +1 -3
- package/dist/openapi_client/models/PodMemberDetailResponse.d.ts +0 -2
- package/dist/openapi_client/models/PodMemberResponse.d.ts +0 -2
- package/dist/openapi_client/models/PodMemberUpdateRoleRequest.d.ts +1 -3
- package/dist/openapi_client/models/PodPermissionCatalogResponse.d.ts +4 -0
- package/dist/openapi_client/models/PodPermissionResponse.d.ts +7 -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/PodRolePermissionsResponse.d.ts +6 -0
- package/dist/openapi_client/models/PodRoleResourcePermissionRequest.d.ts +6 -0
- package/dist/openapi_client/models/PodRoleResourcePermissionResponse.d.ts +6 -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/ResourceAccessGrantRequest.d.ts +3 -0
- package/dist/openapi_client/models/ResourceAccessGrantResponse.d.ts +12 -0
- package/dist/openapi_client/models/ResourceAccessResponse.d.ts +7 -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 +5 -0
- package/dist/openapi_client/models/RuntimeProfileScope.js +10 -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} +9 -3
- package/dist/openapi_client/models/ScheduleDetailResponse.js +1 -0
- package/dist/openapi_client/models/ScheduleFireStatus.d.ts +8 -0
- package/dist/openapi_client/models/ScheduleFireStatus.js +13 -0
- package/dist/openapi_client/models/ScheduleListResponse.d.ts +2 -2
- package/dist/openapi_client/models/StepRecordResponse.d.ts +10 -0
- package/dist/openapi_client/models/StepRecordResponse.js +1 -0
- package/dist/openapi_client/models/StepStatus.d.ts +7 -0
- package/dist/openapi_client/models/StepStatus.js +12 -0
- package/dist/openapi_client/models/SurfaceBehaviorConfigInput.d.ts +7 -0
- package/dist/openapi_client/models/SurfaceBehaviorConfigInput.js +1 -0
- package/dist/openapi_client/models/SurfaceChannelRouteInput.d.ts +6 -0
- package/dist/openapi_client/models/SurfaceChannelRouteInput.js +1 -0
- package/dist/openapi_client/models/SurfaceChannelRouteResponse.d.ts +6 -0
- package/dist/openapi_client/models/SurfaceChannelRouteResponse.js +1 -0
- package/dist/openapi_client/models/SurfaceConfigResponse.d.ts +10 -0
- package/dist/openapi_client/models/SurfaceConfigResponse.js +1 -0
- package/dist/openapi_client/models/SurfaceCredentialMode.d.ts +2 -2
- package/dist/openapi_client/models/SurfaceCredentialMode.js +2 -2
- package/dist/openapi_client/models/SurfaceIdentityConfigInput.d.ts +4 -0
- package/dist/openapi_client/models/SurfaceIdentityConfigInput.js +1 -0
- package/dist/openapi_client/models/SurfaceIdentityConfigResponse.d.ts +4 -0
- package/dist/openapi_client/models/SurfaceIdentityConfigResponse.js +1 -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/SurfaceSetupStatusResponse.d.ts +10 -0
- package/dist/openapi_client/models/SurfaceSetupStatusResponse.js +1 -0
- 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 +4 -2
- package/dist/openapi_client/models/ToggleSurfaceRequest.d.ts +1 -1
- 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 +2 -1
- package/dist/openapi_client/models/UpdateSurfaceChannelsRequest.d.ts +4 -0
- package/dist/openapi_client/models/UpdateSurfaceChannelsRequest.js +1 -0
- package/dist/openapi_client/models/UpdateSurfaceRequest.d.ts +5 -15
- package/dist/openapi_client/models/UpdateTableRequest.d.ts +1 -1
- package/dist/openapi_client/models/UpsertSurfaceRequest.d.ts +9 -0
- package/dist/openapi_client/models/UpsertSurfaceRequest.js +1 -0
- 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/UserProfileRequest.d.ts +1 -0
- package/dist/openapi_client/models/UserResponse.d.ts +1 -0
- package/dist/openapi_client/models/VerifyTokenResponse.d.ts +5 -0
- package/dist/openapi_client/models/WaitUntilNode.d.ts +1 -1
- package/dist/openapi_client/models/WorkflowCreateRequest.d.ts +18 -1
- package/dist/openapi_client/models/WorkflowListResponse.d.ts +2 -2
- package/dist/openapi_client/models/WorkflowRunFormSubmitRequest.d.ts +13 -0
- package/dist/openapi_client/models/WorkflowRunFormSubmitRequest.js +1 -0
- package/dist/openapi_client/models/WorkflowRunListResponse.d.ts +2 -2
- package/dist/openapi_client/models/WorkflowRunResponse.d.ts +28 -0
- package/dist/openapi_client/models/WorkflowRunResponse.js +1 -0
- package/dist/openapi_client/models/WorkflowRunSummaryResponse.d.ts +17 -0
- package/dist/openapi_client/models/WorkflowRunSummaryResponse.js +1 -0
- package/dist/openapi_client/models/WorkflowRunWaitAssignment.d.ts +4 -4
- package/dist/openapi_client/models/{WorkflowRunWaitEntity.d.ts → WorkflowRunWaitResponse.d.ts} +4 -8
- package/dist/openapi_client/models/WorkflowRunWaitResponse.js +1 -0
- package/dist/openapi_client/models/WorkflowRunWaitType.d.ts +1 -2
- package/dist/openapi_client/models/WorkflowRunWaitType.js +0 -1
- package/dist/openapi_client/models/WorkflowUpdateRequest.d.ts +2 -1
- package/dist/openapi_client/models/WorkspaceAppAccessRequest.d.ts +3 -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 +7 -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 +41 -12
- package/dist/openapi_client/services/AgentSurfacesService.js +90 -24
- 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 +22 -8
- package/dist/openapi_client/services/ApplicationsService.js +47 -16
- 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 +20 -12
- package/dist/openapi_client/services/FilesService.js +29 -5
- package/dist/openapi_client/services/FunctionsService.d.ts +30 -8
- package/dist/openapi_client/services/FunctionsService.js +49 -4
- package/dist/openapi_client/services/IntegrationsService.d.ts +70 -11
- package/dist/openapi_client/services/IntegrationsService.js +159 -20
- 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/RecordsService.d.ts +21 -22
- package/dist/openapi_client/services/RecordsService.js +13 -13
- package/dist/openapi_client/services/SchedulesService.d.ts +9 -8
- package/dist/openapi_client/services/SchedulesService.js +6 -4
- package/dist/openapi_client/services/TablesService.d.ts +13 -14
- package/dist/openapi_client/services/TablesService.js +6 -6
- 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 +44 -35
- package/dist/openapi_client/services/WorkflowsService.js +61 -43
- 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/useAddPodMember.js +1 -1
- package/dist/react/useAssistantController.d.ts +27 -3
- package/dist/react/useAssistantController.js +192 -70
- package/dist/react/useAssistantSession.d.ts +10 -6
- package/dist/react/useAssistantSession.js +146 -4
- package/dist/react/useBulkRecords.d.ts +5 -5
- package/dist/react/useBulkRecords.js +5 -5
- package/dist/react/useConversations.d.ts +1 -7
- package/dist/react/useConversations.js +4 -10
- package/dist/react/useCreateFolder.d.ts +2 -4
- package/dist/react/useCreateFolder.js +2 -3
- package/dist/react/useCreateRecord.d.ts +2 -2
- package/dist/react/useCreateRecord.js +1 -1
- package/dist/react/useDeleteFile.d.ts +1 -4
- package/dist/react/useDeleteFile.js +3 -3
- package/dist/react/useDeleteRecord.d.ts +1 -2
- package/dist/react/useDeleteRecord.js +3 -3
- package/dist/react/useFile.d.ts +2 -4
- package/dist/react/useFile.js +3 -3
- package/dist/react/useFilePreview.d.ts +1 -4
- package/dist/react/useFilePreview.js +4 -5
- package/dist/react/useFileSearch.d.ts +5 -1
- package/dist/react/useFileSearch.js +6 -4
- package/dist/react/useFileTree.d.ts +2 -4
- package/dist/react/useFileTree.js +2 -3
- package/dist/react/useFiles.d.ts +2 -4
- package/dist/react/useFiles.js +3 -5
- package/dist/react/useFlowRunHistory.d.ts +4 -4
- package/dist/react/useFlowRunHistory.js +9 -4
- package/dist/react/useFlowSession.d.ts +5 -3
- package/dist/react/useFlowSession.js +24 -17
- 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/useGlobalSearch.js +1 -1
- package/dist/react/useRecord.d.ts +2 -2
- package/dist/react/useRecord.js +1 -1
- package/dist/react/useRecordForm.d.ts +2 -2
- package/dist/react/useRecordForm.js +2 -2
- package/dist/react/useReverseRelatedRecords.js +1 -1
- package/dist/react/useUpdateFile.d.ts +2 -4
- package/dist/react/useUpdateFile.js +2 -3
- package/dist/react/useUpdateRecord.d.ts +2 -2
- package/dist/react/useUpdateRecord.js +1 -1
- package/dist/react/useUploadFile.d.ts +2 -4
- package/dist/react/useUploadFile.js +2 -3
- package/dist/react/useWorkflowResume.d.ts +1 -0
- package/dist/react/useWorkflowResume.js +10 -1
- package/dist/react/useWorkflowRun.d.ts +2 -2
- package/dist/react/useWorkflowRun.js +1 -3
- package/dist/react/useWorkflowRuns.d.ts +5 -5
- package/dist/react/useWorkflowStart.d.ts +2 -2
- package/dist/react/useWorkflowStart.js +11 -26
- package/dist/react/utils.js +2 -0
- package/dist/types.d.ts +47 -10
- package/package.json +8 -3
- 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/BillingHistoryResponse.d.ts +0 -8
- package/dist/openapi_client/models/BillingInterval.d.ts +0 -7
- package/dist/openapi_client/models/BillingInterval.js +0 -12
- package/dist/openapi_client/models/BillingInvoiceResponse.d.ts +0 -29
- package/dist/openapi_client/models/BillingInvoiceStatus.d.ts +0 -10
- package/dist/openapi_client/models/BillingInvoiceStatus.js +0 -15
- package/dist/openapi_client/models/BillingScope.d.ts +0 -7
- package/dist/openapi_client/models/BillingScope.js +0 -12
- package/dist/openapi_client/models/CancelSubscriptionResponse.d.ts +0 -10
- package/dist/openapi_client/models/CreateInvoicePaymentUrlRequest.d.ts +0 -7
- package/dist/openapi_client/models/CreateInvoicePaymentUrlResponse.d.ts +0 -8
- package/dist/openapi_client/models/DatastoreMessageResponse.d.ts +0 -6
- package/dist/openapi_client/models/FlowRunEntity.d.ts +0 -36
- package/dist/openapi_client/models/FunctionTableAccessEntry.d.ts +0 -5
- package/dist/openapi_client/models/GmailSurfaceConfig.d.ts +0 -7
- package/dist/openapi_client/models/GmailSurfaceConfigInput.d.ts +0 -4
- package/dist/openapi_client/models/OutlookSurfaceConfig.d.ts +0 -7
- package/dist/openapi_client/models/OutlookSurfaceConfigInput.d.ts +0 -4
- package/dist/openapi_client/models/PlanListResponse.d.ts +0 -8
- package/dist/openapi_client/models/PlanResponse.d.ts +0 -17
- package/dist/openapi_client/models/RecentUsageResponse.d.ts +0 -9
- package/dist/openapi_client/models/RecordResponse.d.ts +0 -9
- package/dist/openapi_client/models/SeatInfoResponse.d.ts +0 -10
- package/dist/openapi_client/models/SlackCredentialsInput.d.ts +0 -5
- package/dist/openapi_client/models/SlackSurfaceConfig.d.ts +0 -10
- package/dist/openapi_client/models/SlackSurfaceConfigInput.d.ts +0 -6
- package/dist/openapi_client/models/StackFrame.d.ts +0 -11
- package/dist/openapi_client/models/StartSubscriptionRequest.d.ts +0 -14
- package/dist/openapi_client/models/StartSubscriptionResponse.d.ts +0 -9
- package/dist/openapi_client/models/StartTeamBillingRequest.d.ts +0 -6
- package/dist/openapi_client/models/StepExecution.d.ts +0 -13
- package/dist/openapi_client/models/SubscriptionResponse.d.ts +0 -22
- package/dist/openapi_client/models/SubscriptionStatus.d.ts +0 -10
- package/dist/openapi_client/models/SubscriptionStatus.js +0 -15
- package/dist/openapi_client/models/SubscriptionStatusResponse.d.ts +0 -10
- package/dist/openapi_client/models/SubscriptionWithPlanResponse.d.ts +0 -22
- package/dist/openapi_client/models/SurfaceRoutingScope.d.ts +0 -4
- package/dist/openapi_client/models/SurfaceRoutingScope.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/TeamsSurfaceConfig.d.ts +0 -9
- 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/TelegramSurfaceConfig.d.ts +0 -6
- 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/WhatsAppSurfaceConfig.d.ts +0 -6
- package/dist/openapi_client/models/WhatsAppSurfaceConfigInput.d.ts +0 -6
- package/dist/openapi_client/services/BillingSubscriptionsService.d.ts +0 -116
- package/dist/openapi_client/services/BillingSubscriptionsService.js +0 -230
- package/dist/openapi_client/services/BillingUsageService.d.ts +0 -138
- package/dist/openapi_client/services/BillingUsageService.js +0 -302
- package/dist/openapi_client/services/BillingWebhooksService.d.ts +0 -12
- package/dist/openapi_client/services/BillingWebhooksService.js +0 -25
- /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/{BillingHistoryResponse.js → AgentDetailResponse.js} +0 -0
- /package/dist/openapi_client/models/{BillingInvoiceResponse.js → AgentHarnessInfo.js} +0 -0
- /package/dist/openapi_client/models/{CancelSubscriptionResponse.js → AgentHarnessListResponse.js} +0 -0
- /package/dist/openapi_client/models/{CreateInvoicePaymentUrlRequest.js → AgentPermissionsReplaceRequest.js} +0 -0
- /package/dist/openapi_client/models/{CreateInvoicePaymentUrlResponse.js → AgentPermissionsResponse.js} +0 -0
- /package/dist/openapi_client/models/{DatastoreMessageResponse.js → AgentResourcePermissionRequest.js} +0 -0
- /package/dist/openapi_client/models/{DeskResponse.js → AgentResourcePermissionResponse.js} +0 -0
- /package/dist/openapi_client/models/{FileResponse.js → AgentRuntimeConfig.js} +0 -0
- /package/dist/openapi_client/models/{FlowResponse.js → AgentRuntimeProfileListResponse.js} +0 -0
- /package/dist/openapi_client/models/{FlowRunEntity.js → AgentRuntimeProfileResponse.js} +0 -0
- /package/dist/openapi_client/models/{FunctionResponse.js → ApplicationSkillResponse.js} +0 -0
- /package/dist/openapi_client/models/{FunctionTableAccessEntry.js → AuthConfigCreateSchema.js} +0 -0
- /package/dist/openapi_client/models/{GmailSurfaceConfig.js → AuthConfigListResponseSchema.js} +0 -0
- /package/dist/openapi_client/models/{GmailSurfaceConfigInput.js → AuthConfigResponseSchema.js} +0 -0
- /package/dist/openapi_client/models/{OutlookSurfaceConfig.js → ComposioProviderCapabilityResponseSchema.js} +0 -0
- /package/dist/openapi_client/models/{OutlookSurfaceConfigInput.js → ConnectedAccountSummary.js} +0 -0
- /package/dist/openapi_client/models/{PlanListResponse.js → ConvertedPageResponse.js} +0 -0
- /package/dist/openapi_client/models/{PlanResponse.js → CreateAnthropicCompatibleRuntimeProfileRequest.js} +0 -0
- /package/dist/openapi_client/models/{RecentUsageResponse.js → CreateOpenAICompatibleRuntimeProfileRequest.js} +0 -0
- /package/dist/openapi_client/models/{RecordResponse.js → CreateUserDaemonRuntimeProfileRequest.js} +0 -0
- /package/dist/openapi_client/models/{ScheduleResponse.js → DatastoreCountResponse.js} +0 -0
- /package/dist/openapi_client/models/{SeatInfoResponse.js → DeskDetailResponse.js} +0 -0
- /package/dist/openapi_client/models/{SlackCredentialsInput.js → FileDetailResponse.js} +0 -0
- /package/dist/openapi_client/models/{SlackSurfaceConfig.js → FlowDetailResponse.js} +0 -0
- /package/dist/openapi_client/models/{SlackSurfaceConfigInput.js → FunctionActionResponse.js} +0 -0
- /package/dist/openapi_client/models/{StackFrame.js → FunctionDetailResponse.js} +0 -0
- /package/dist/openapi_client/models/{StartSubscriptionRequest.js → FunctionPermissionsReplaceRequest.js} +0 -0
- /package/dist/openapi_client/models/{StartSubscriptionResponse.js → FunctionPermissionsResponse.js} +0 -0
- /package/dist/openapi_client/models/{StartTeamBillingRequest.js → FunctionResourcePermissionRequest.js} +0 -0
- /package/dist/openapi_client/models/{StepExecution.js → FunctionResourcePermissionResponse.js} +0 -0
- /package/dist/openapi_client/models/{SubscriptionResponse.js → FunctionRunSummaryResponse.js} +0 -0
- /package/dist/openapi_client/models/{SubscriptionStatusResponse.js → InstalledAppSummary.js} +0 -0
- /package/dist/openapi_client/models/{SubscriptionWithPlanResponse.js → IntegrationStatusResponse.js} +0 -0
- /package/dist/openapi_client/models/{TableAccessEntry.js → LemmaProviderCapabilityResponseSchema.js} +0 -0
- /package/dist/openapi_client/models/{TableResponse.js → OAuth2DefaultsResponseSchema.js} +0 -0
- /package/dist/openapi_client/models/{TeamsCredentialsInput.js → PodConfig.js} +0 -0
- /package/dist/openapi_client/models/{TeamsSurfaceConfig.js → PodEffectivePermissionsResponse.js} +0 -0
- /package/dist/openapi_client/models/{TeamsSurfaceConfigInput.js → PodPermissionCatalogResponse.js} +0 -0
- /package/dist/openapi_client/models/{TelegramCredentialsInput.js → PodPermissionResponse.js} +0 -0
- /package/dist/openapi_client/models/{TelegramSurfaceConfig.js → PodRolePermissionsReplaceRequest.js} +0 -0
- /package/dist/openapi_client/models/{TelegramSurfaceConfigInput.js → PodRolePermissionsResponse.js} +0 -0
- /package/dist/openapi_client/models/{WebSearchAgentRequest.js → PodRoleResourcePermissionRequest.js} +0 -0
- /package/dist/openapi_client/models/{WebSearchAgentResponse.js → PodRoleResourcePermissionResponse.js} +0 -0
- /package/dist/openapi_client/models/{WhatsAppCredentialsInput.js → ResolveUserApprovalRequest.js} +0 -0
- /package/dist/openapi_client/models/{WhatsAppSurfaceConfig.js → ResourceAccessGrantRequest.js} +0 -0
- /package/dist/openapi_client/models/{WhatsAppSurfaceConfigInput.js → ResourceAccessGrantResponse.js} +0 -0
- /package/dist/openapi_client/models/{WorkflowRunWaitEntity.js → ResourceAccessResponse.js} +0 -0
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { AgentRuntimeConfig } from './AgentRuntimeConfig.js';
|
|
2
|
+
import type { AgentRuntimeProfileResponse } from './AgentRuntimeProfileResponse.js';
|
|
3
|
+
export type AgentRuntimeProfileListResponse = {
|
|
4
|
+
default_runtime: AgentRuntimeConfig;
|
|
5
|
+
items: Array<AgentRuntimeProfileResponse>;
|
|
6
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { HarnessKind } from './HarnessKind.js';
|
|
2
|
+
import type { RuntimeModelCatalogEntry } from './RuntimeModelCatalogEntry.js';
|
|
3
|
+
import type { RuntimeProfileKind } from './RuntimeProfileKind.js';
|
|
4
|
+
import type { RuntimeProfileProtocol } from './RuntimeProfileProtocol.js';
|
|
5
|
+
import type { RuntimeProfileScope } from './RuntimeProfileScope.js';
|
|
6
|
+
import type { RuntimeProfileStatus } from './RuntimeProfileStatus.js';
|
|
7
|
+
export type AgentRuntimeProfileResponse = {
|
|
8
|
+
availability_status?: (string | null);
|
|
9
|
+
config?: Record<string, any>;
|
|
10
|
+
daemon_display_name?: (string | null);
|
|
11
|
+
daemon_harness_available?: (boolean | null);
|
|
12
|
+
daemon_id?: (string | null);
|
|
13
|
+
daemon_status?: (string | null);
|
|
14
|
+
default_model_name?: (string | null);
|
|
15
|
+
derived_harness_kind: HarnessKind;
|
|
16
|
+
description?: (string | null);
|
|
17
|
+
has_credentials?: boolean;
|
|
18
|
+
id: string;
|
|
19
|
+
kind: RuntimeProfileKind;
|
|
20
|
+
metadata?: Record<string, any>;
|
|
21
|
+
model_catalog?: Array<RuntimeModelCatalogEntry>;
|
|
22
|
+
name: string;
|
|
23
|
+
organization_id?: (string | null);
|
|
24
|
+
protocol: RuntimeProfileProtocol;
|
|
25
|
+
scope: RuntimeProfileScope;
|
|
26
|
+
status: RuntimeProfileStatus;
|
|
27
|
+
user_id?: (string | null);
|
|
28
|
+
};
|
|
@@ -1,25 +1,21 @@
|
|
|
1
1
|
import type { AgentSurfaceStatus } from './AgentSurfaceStatus.js';
|
|
2
|
-
import type {
|
|
3
|
-
import type { OutlookSurfaceConfig } from './OutlookSurfaceConfig.js';
|
|
4
|
-
import type { SlackSurfaceConfig } from './SlackSurfaceConfig.js';
|
|
2
|
+
import type { SurfaceConfigResponse } from './SurfaceConfigResponse.js';
|
|
5
3
|
import type { SurfaceCredentialMode } from './SurfaceCredentialMode.js';
|
|
6
|
-
import type {
|
|
7
|
-
import type { SurfaceWebhookMode } from './SurfaceWebhookMode.js';
|
|
8
|
-
import type { TeamsSurfaceConfig } from './TeamsSurfaceConfig.js';
|
|
9
|
-
import type { TelegramSurfaceConfig } from './TelegramSurfaceConfig.js';
|
|
10
|
-
import type { WhatsAppSurfaceConfig } from './WhatsAppSurfaceConfig.js';
|
|
4
|
+
import type { SurfacePlatform } from './SurfacePlatform.js';
|
|
11
5
|
export type AgentSurfaceResponse = {
|
|
6
|
+
account_id?: (string | null);
|
|
12
7
|
agent_id?: (string | null);
|
|
13
8
|
agent_name?: (string | null);
|
|
14
|
-
config:
|
|
9
|
+
config: SurfaceConfigResponse;
|
|
15
10
|
credential_mode?: SurfaceCredentialMode;
|
|
11
|
+
default_agent_id?: (string | null);
|
|
16
12
|
id: string;
|
|
17
|
-
|
|
13
|
+
platform: SurfacePlatform;
|
|
18
14
|
pod_id: string;
|
|
19
|
-
routing_scope?: SurfaceRoutingScope;
|
|
20
15
|
status?: AgentSurfaceStatus;
|
|
16
|
+
surface_identity_id?: (string | null);
|
|
17
|
+
surface_identity_username?: (string | null);
|
|
21
18
|
surface_type: string;
|
|
22
19
|
uses_default_agent?: boolean;
|
|
23
|
-
webhook_mode?: SurfaceWebhookMode;
|
|
24
20
|
webhook_url?: (string | null);
|
|
25
21
|
};
|
|
@@ -7,4 +7,6 @@ export var AgentSurfaceStatus;
|
|
|
7
7
|
AgentSurfaceStatus["ACTIVE"] = "ACTIVE";
|
|
8
8
|
AgentSurfaceStatus["PENDING_ADMIN_CONSENT"] = "PENDING_ADMIN_CONSENT";
|
|
9
9
|
AgentSurfaceStatus["INACTIVE"] = "INACTIVE";
|
|
10
|
+
AgentSurfaceStatus["NEEDS_SETUP"] = "NEEDS_SETUP";
|
|
11
|
+
AgentSurfaceStatus["ERROR"] = "ERROR";
|
|
10
12
|
})(AgentSurfaceStatus || (AgentSurfaceStatus = {}));
|
|
@@ -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 = {}));
|
|
@@ -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,18 +7,14 @@ 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
|
*/
|
|
17
13
|
code?: (string | null);
|
|
18
14
|
config?: (Record<string, any> | null);
|
|
19
|
-
config_schema?: (Record<string, any> | null);
|
|
20
15
|
description?: (string | null);
|
|
21
16
|
icon_url?: (string | null);
|
|
22
17
|
name: string;
|
|
23
18
|
type?: FunctionType;
|
|
24
|
-
|
|
19
|
+
visibility?: ResourceVisibility;
|
|
25
20
|
};
|
|
@@ -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,29 @@ 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);
|
|
24
|
+
/**
|
|
25
|
+
* Stable pod-scoped schedule name used for import/export upserts.
|
|
26
|
+
*/
|
|
27
|
+
name?: (string | null);
|
|
12
28
|
schedule_type: ScheduleType;
|
|
13
|
-
|
|
29
|
+
visibility?: (string | null);
|
|
14
30
|
workflow_name?: (string | null);
|
|
15
31
|
};
|
|
@@ -1,19 +1,10 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { OutlookSurfaceConfigInput } from './OutlookSurfaceConfigInput.js';
|
|
3
|
-
import type { SlackCredentialsInput } from './SlackCredentialsInput.js';
|
|
4
|
-
import type { SlackSurfaceConfigInput } from './SlackSurfaceConfigInput.js';
|
|
1
|
+
import type { SurfaceBehaviorConfigInput } from './SurfaceBehaviorConfigInput.js';
|
|
5
2
|
import type { SurfaceCredentialMode } from './SurfaceCredentialMode.js';
|
|
6
|
-
import type {
|
|
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';
|
|
3
|
+
import type { SurfacePlatform } from './SurfacePlatform.js';
|
|
13
4
|
export type CreateSurfaceRequest = {
|
|
14
|
-
|
|
15
|
-
config
|
|
5
|
+
account_id?: (string | null);
|
|
6
|
+
config?: SurfaceBehaviorConfigInput;
|
|
16
7
|
credential_mode?: SurfaceCredentialMode;
|
|
17
|
-
|
|
18
|
-
|
|
8
|
+
default_agent_name?: (string | null);
|
|
9
|
+
platform: SurfacePlatform;
|
|
19
10
|
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { HarnessKind } from './HarnessKind.js';
|
|
2
|
+
import type { RuntimeProfileScope } from './RuntimeProfileScope.js';
|
|
3
|
+
export type CreateUserDaemonRuntimeProfileRequest = {
|
|
4
|
+
daemon_id: string;
|
|
5
|
+
default_model_name?: (string | null);
|
|
6
|
+
description?: (string | null);
|
|
7
|
+
harness_kind: HarnessKind;
|
|
8
|
+
name: string;
|
|
9
|
+
scope?: RuntimeProfileScope;
|
|
10
|
+
source?: string;
|
|
11
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { DatastoreOperation } from './DatastoreOperation.js';
|
|
2
2
|
export type DataStoreFlowStartInput = {
|
|
3
3
|
/**
|
|
4
|
-
* Datastore operations that should trigger this flow.
|
|
4
|
+
* Datastore operations that should trigger this flow. One or more of INSERT, UPDATE, DELETE.
|
|
5
5
|
*/
|
|
6
6
|
operations?: Array<DatastoreOperation>;
|
|
7
7
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { DatastoreOperation } from './DatastoreOperation.js';
|
|
2
2
|
export type DataStoreFlowStartOutput = {
|
|
3
3
|
/**
|
|
4
|
-
* Datastore operations that should trigger this flow.
|
|
4
|
+
* Datastore operations that should trigger this flow. One or more of INSERT, UPDATE, DELETE.
|
|
5
5
|
*/
|
|
6
6
|
operations?: Array<DatastoreOperation>;
|
|
7
7
|
/**
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { DecisionNodeConfig } from './DecisionNodeConfig.js';
|
|
2
2
|
/**
|
|
3
|
-
* Decision node.
|
|
3
|
+
* Decision node. Routes to the first rule whose condition is truthy;
|
|
4
|
+
* falls through to the default outgoing edge when no rule matches.
|
|
4
5
|
*/
|
|
5
6
|
export type DecisionNode = {
|
|
6
7
|
config: DecisionNodeConfig;
|
|
@@ -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
|
};
|
|
@@ -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,10 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Resolve a
|
|
2
|
+
* Resolve a value from the run context using a JMESPath expression.
|
|
3
3
|
*/
|
|
4
4
|
export type ExpressionInputBinding = {
|
|
5
|
+
/**
|
|
6
|
+
* When true, an expression that resolves to nothing yields null instead of failing the run.
|
|
7
|
+
*/
|
|
8
|
+
optional?: boolean;
|
|
5
9
|
type?: string;
|
|
6
10
|
/**
|
|
7
|
-
*
|
|
11
|
+
* JMESPath expression evaluated against the run context. Example: `start.payload.issue.key` or `collect_input.amount`. Expressions that resolve to nothing fail the run unless `optional` is set.
|
|
8
12
|
*/
|
|
9
13
|
value: string;
|
|
10
14
|
};
|