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
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Response schema for usage summary.
|
|
3
|
-
*/
|
|
4
1
|
export type UsageSummaryResponse = {
|
|
5
2
|
agent_id?: (string | null);
|
|
6
3
|
end_date: string;
|
|
@@ -8,9 +5,10 @@ export type UsageSummaryResponse = {
|
|
|
8
5
|
period_days: number;
|
|
9
6
|
pod_id?: (string | null);
|
|
10
7
|
start_date: string;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
system_cost_usd: number;
|
|
9
|
+
total_by_kind: Record<string, Record<string, any>>;
|
|
10
|
+
total_by_model: Record<string, Record<string, any>>;
|
|
11
|
+
total_by_profile: Record<string, Record<string, any>>;
|
|
14
12
|
total_input_tokens: number;
|
|
15
13
|
total_output_tokens: number;
|
|
16
14
|
total_tokens: number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,13 +1,26 @@
|
|
|
1
|
+
import type { AgentNode } from './AgentNode.js';
|
|
1
2
|
import type { DataStoreWorkflowStartInput } from './DataStoreWorkflowStartInput.js';
|
|
3
|
+
import type { DecisionNode } from './DecisionNode.js';
|
|
4
|
+
import type { EndNode } from './EndNode.js';
|
|
2
5
|
import type { EventWorkflowStartInput } from './EventWorkflowStartInput.js';
|
|
6
|
+
import type { FormNode } from './FormNode.js';
|
|
7
|
+
import type { FunctionNode } from './FunctionNode.js';
|
|
8
|
+
import type { LoopNode } from './LoopNode.js';
|
|
3
9
|
import type { ManualWorkflowStartInput } from './ManualWorkflowStartInput.js';
|
|
10
|
+
import type { ResourceVisibility } from './ResourceVisibility.js';
|
|
4
11
|
import type { ScheduledWorkflowStartInput } from './ScheduledWorkflowStartInput.js';
|
|
12
|
+
import type { WaitUntilNode } from './WaitUntilNode.js';
|
|
13
|
+
import type { WorkflowEdge } from './WorkflowEdge.js';
|
|
5
14
|
import type { WorkflowMode } from './WorkflowMode.js';
|
|
6
15
|
export type WorkflowCreateRequest = {
|
|
7
16
|
/**
|
|
8
17
|
* Optional workflow description.
|
|
9
18
|
*/
|
|
10
19
|
description?: (string | null);
|
|
20
|
+
/**
|
|
21
|
+
* Optional initial graph edges connecting the provided nodes.
|
|
22
|
+
*/
|
|
23
|
+
edges?: Array<WorkflowEdge>;
|
|
11
24
|
/**
|
|
12
25
|
* Optional public icon URL for the workflow.
|
|
13
26
|
*/
|
|
@@ -20,9 +33,13 @@ export type WorkflowCreateRequest = {
|
|
|
20
33
|
* Workflow name.
|
|
21
34
|
*/
|
|
22
35
|
name: string;
|
|
36
|
+
/**
|
|
37
|
+
* Optional initial graph nodes. When provided, the graph is stored at creation time so a separate `workflow.graph.update` call is not required. Omit (or pass an empty list) to create a shell and upload the graph later. Node `input_mapping` entries must use explicit typed bindings like `{"type": "expression", "value": "start.payload.x"}`.
|
|
38
|
+
*/
|
|
39
|
+
nodes?: Array<(FormNode | AgentNode | FunctionNode | DecisionNode | LoopNode | WaitUntilNode | EndNode)>;
|
|
23
40
|
/**
|
|
24
41
|
* Start configuration. If omitted, the workflow can be started manually via `workflow.start`.
|
|
25
42
|
*/
|
|
26
43
|
start?: ((ManualWorkflowStartInput | ScheduledWorkflowStartInput | EventWorkflowStartInput | DataStoreWorkflowStartInput) | null);
|
|
27
|
-
|
|
44
|
+
visibility?: ResourceVisibility;
|
|
28
45
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { FlowDetailResponse } from './FlowDetailResponse.js';
|
|
2
2
|
export type WorkflowListResponse = {
|
|
3
|
-
items: Array<
|
|
3
|
+
items: Array<FlowDetailResponse>;
|
|
4
4
|
limit: number;
|
|
5
5
|
next_page_token?: (string | null);
|
|
6
6
|
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Canonical form submission payload — identical across web, SDKs, CLI.
|
|
3
|
+
*/
|
|
4
|
+
export type WorkflowRunFormSubmitRequest = {
|
|
5
|
+
/**
|
|
6
|
+
* Form field values keyed by field name.
|
|
7
|
+
*/
|
|
8
|
+
inputs?: Record<string, any>;
|
|
9
|
+
/**
|
|
10
|
+
* Id of the FORM node being submitted. Must match the run's active wait; mismatches return 422.
|
|
11
|
+
*/
|
|
12
|
+
node_id: string;
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { WorkflowRunSummaryResponse } from './WorkflowRunSummaryResponse.js';
|
|
2
2
|
export type WorkflowRunListResponse = {
|
|
3
|
-
items: Array<
|
|
3
|
+
items: Array<WorkflowRunSummaryResponse>;
|
|
4
4
|
limit: number;
|
|
5
5
|
next_page_token?: (string | null);
|
|
6
6
|
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { FlowRunStatus } from './FlowRunStatus.js';
|
|
2
|
+
import type { StepRecordResponse } from './StepRecordResponse.js';
|
|
3
|
+
import type { WorkflowRunWaitResponse } from './WorkflowRunWaitResponse.js';
|
|
4
|
+
/**
|
|
5
|
+
* Full run state. `execution_context` is the same flat view that
|
|
6
|
+
* workflow expressions resolve against (`<node_id>.<field>`, `start.*`,
|
|
7
|
+
* `loop.*`). `active_wait` is set whenever the run is WAITING — including
|
|
8
|
+
* form waits, so UIs can render the form straight from this response.
|
|
9
|
+
*/
|
|
10
|
+
export type WorkflowRunResponse = {
|
|
11
|
+
active_wait?: (WorkflowRunWaitResponse | null);
|
|
12
|
+
completed_at?: (string | null);
|
|
13
|
+
created_at?: (string | null);
|
|
14
|
+
current_node_id?: (string | null);
|
|
15
|
+
error?: (string | null);
|
|
16
|
+
execution_context?: Record<string, any>;
|
|
17
|
+
failed_node_id?: (string | null);
|
|
18
|
+
flow_id: string;
|
|
19
|
+
id: string;
|
|
20
|
+
pod_id: string;
|
|
21
|
+
schedule_event_id?: (string | null);
|
|
22
|
+
start_type?: string;
|
|
23
|
+
started_at?: (string | null);
|
|
24
|
+
status?: FlowRunStatus;
|
|
25
|
+
step_history?: Array<StepRecordResponse>;
|
|
26
|
+
updated_at?: (string | null);
|
|
27
|
+
user_id: string;
|
|
28
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { FlowRunStatus } from './FlowRunStatus.js';
|
|
2
|
+
export type WorkflowRunSummaryResponse = {
|
|
3
|
+
completed_at?: (string | null);
|
|
4
|
+
created_at?: (string | null);
|
|
5
|
+
current_node_id?: (string | null);
|
|
6
|
+
error?: (string | null);
|
|
7
|
+
failed_node_id?: (string | null);
|
|
8
|
+
flow_id: string;
|
|
9
|
+
id: string;
|
|
10
|
+
pod_id: string;
|
|
11
|
+
schedule_event_id?: (string | null);
|
|
12
|
+
start_type?: string;
|
|
13
|
+
started_at?: (string | null);
|
|
14
|
+
status?: FlowRunStatus;
|
|
15
|
+
updated_at?: (string | null);
|
|
16
|
+
user_id: string;
|
|
17
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
1
|
+
import type { WorkflowRunSummaryResponse } from './WorkflowRunSummaryResponse.js';
|
|
2
|
+
import type { WorkflowRunWaitResponse } from './WorkflowRunWaitResponse.js';
|
|
3
3
|
export type WorkflowRunWaitAssignment = {
|
|
4
|
-
run:
|
|
5
|
-
wait:
|
|
4
|
+
run: WorkflowRunSummaryResponse;
|
|
5
|
+
wait: WorkflowRunWaitResponse;
|
|
6
6
|
};
|
package/dist/openapi_client/models/{WorkflowRunWaitEntity.d.ts → WorkflowRunWaitResponse.d.ts}
RENAMED
|
@@ -1,20 +1,16 @@
|
|
|
1
1
|
import type { WorkflowRunWaitStatus } from './WorkflowRunWaitStatus.js';
|
|
2
2
|
import type { WorkflowRunWaitType } from './WorkflowRunWaitType.js';
|
|
3
|
-
|
|
4
|
-
* A queryable wait owned by a workflow run.
|
|
5
|
-
*/
|
|
6
|
-
export type WorkflowRunWaitEntity = {
|
|
3
|
+
export type WorkflowRunWaitResponse = {
|
|
7
4
|
assigned_pod_member_id?: (string | null);
|
|
8
5
|
completed_at?: (string | null);
|
|
9
|
-
created_at?: string;
|
|
6
|
+
created_at?: (string | null);
|
|
10
7
|
external_ref?: (string | null);
|
|
11
8
|
flow_id: string;
|
|
12
|
-
id
|
|
9
|
+
id: string;
|
|
13
10
|
node_id: string;
|
|
14
11
|
payload?: Record<string, any>;
|
|
15
12
|
pod_id: string;
|
|
16
13
|
run_id: string;
|
|
17
|
-
status
|
|
18
|
-
updated_at?: string;
|
|
14
|
+
status: WorkflowRunWaitStatus;
|
|
19
15
|
wait_type: WorkflowRunWaitType;
|
|
20
16
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { DataStoreWorkflowStartInput } from './DataStoreWorkflowStartInput.js';
|
|
2
2
|
import type { EventWorkflowStartInput } from './EventWorkflowStartInput.js';
|
|
3
3
|
import type { ManualWorkflowStartInput } from './ManualWorkflowStartInput.js';
|
|
4
|
+
import type { ResourceVisibility } from './ResourceVisibility.js';
|
|
4
5
|
import type { ScheduledWorkflowStartInput } from './ScheduledWorkflowStartInput.js';
|
|
5
6
|
import type { WorkflowMode } from './WorkflowMode.js';
|
|
6
7
|
export type WorkflowUpdateRequest = {
|
|
@@ -20,5 +21,5 @@ export type WorkflowUpdateRequest = {
|
|
|
20
21
|
* Updated start trigger configuration.
|
|
21
22
|
*/
|
|
22
23
|
start?: ((ManualWorkflowStartInput | ScheduledWorkflowStartInput | EventWorkflowStartInput | DataStoreWorkflowStartInput) | null);
|
|
23
|
-
|
|
24
|
+
visibility?: (ResourceVisibility | null);
|
|
24
25
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { WorkspaceMeApp } from './WorkspaceMeApp.js';
|
|
2
|
+
import type { WorkspaceMeSandbox } from './WorkspaceMeSandbox.js';
|
|
3
|
+
import type { WorkspaceMeSession } from './WorkspaceMeSession.js';
|
|
4
|
+
export type WorkspaceMeResponse = {
|
|
5
|
+
active_session?: (WorkspaceMeSession | null);
|
|
6
|
+
apps: Record<string, WorkspaceMeApp>;
|
|
7
|
+
sandbox: WorkspaceMeSandbox;
|
|
8
|
+
user_id: string;
|
|
9
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -4,8 +4,11 @@ import type { ConversationStatus } from '../models/ConversationStatus.js';
|
|
|
4
4
|
import type { ConversationType } from '../models/ConversationType.js';
|
|
5
5
|
import type { CreateConversationRequest } from '../models/CreateConversationRequest.js';
|
|
6
6
|
import type { MessageListResponse } from '../models/MessageListResponse.js';
|
|
7
|
+
import type { MessageResponse } from '../models/MessageResponse.js';
|
|
8
|
+
import type { ResolveUserApprovalRequest } from '../models/ResolveUserApprovalRequest.js';
|
|
7
9
|
import type { SendMessageRequest } from '../models/SendMessageRequest.js';
|
|
8
10
|
import type { UpdateConversationRequest } from '../models/UpdateConversationRequest.js';
|
|
11
|
+
import type { UserApprovalListResponse } from '../models/UserApprovalListResponse.js';
|
|
9
12
|
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
10
13
|
export declare class AgentConversationsService {
|
|
11
14
|
/**
|
|
@@ -41,7 +44,7 @@ export declare class AgentConversationsService {
|
|
|
41
44
|
static agentConversationGet(podId: string, conversationId: string): CancelablePromise<ConversationResponse>;
|
|
42
45
|
/**
|
|
43
46
|
* Update Pod Conversation
|
|
44
|
-
* Update mutable conversation settings for a pod-scoped conversation. The conversation
|
|
47
|
+
* Update mutable conversation settings for a pod-scoped conversation. The conversation runtime is used by future runs; message sends do not carry per-request runtime overrides.
|
|
45
48
|
* @param podId
|
|
46
49
|
* @param conversationId
|
|
47
50
|
* @param requestBody
|
|
@@ -49,17 +52,39 @@ export declare class AgentConversationsService {
|
|
|
49
52
|
* @throws ApiError
|
|
50
53
|
*/
|
|
51
54
|
static agentConversationUpdate(podId: string, conversationId: string, requestBody: UpdateConversationRequest): CancelablePromise<ConversationResponse>;
|
|
55
|
+
/**
|
|
56
|
+
* List Agent Run Approvals
|
|
57
|
+
* List pending user_approval tool calls in a conversation.
|
|
58
|
+
* @param podId
|
|
59
|
+
* @param conversationId
|
|
60
|
+
* @returns UserApprovalListResponse Successful Response
|
|
61
|
+
* @throws ApiError
|
|
62
|
+
*/
|
|
63
|
+
static agentConversationApprovalList(podId: string, conversationId: string): CancelablePromise<UserApprovalListResponse>;
|
|
64
|
+
/**
|
|
65
|
+
* Resolve User Approval
|
|
66
|
+
* Append a user_approval tool result and resume the live local turn.
|
|
67
|
+
* @param podId
|
|
68
|
+
* @param conversationId
|
|
69
|
+
* @param approvalId
|
|
70
|
+
* @param requestBody
|
|
71
|
+
* @returns MessageResponse Successful Response
|
|
72
|
+
* @throws ApiError
|
|
73
|
+
*/
|
|
74
|
+
static agentConversationApprovalResolve(podId: string, conversationId: string, approvalId: string, requestBody: ResolveUserApprovalRequest): CancelablePromise<MessageResponse>;
|
|
52
75
|
/**
|
|
53
76
|
* List Pod Conversation Messages
|
|
54
|
-
* List persisted messages in
|
|
77
|
+
* List the latest persisted messages in chronological order. Pass next_page_token as page_token to fetch the next older page above the current page.
|
|
55
78
|
* @param podId
|
|
56
79
|
* @param conversationId
|
|
80
|
+
* @param pageToken
|
|
81
|
+
* @param beforeSequence
|
|
57
82
|
* @param afterSequence
|
|
58
83
|
* @param limit
|
|
59
84
|
* @returns MessageListResponse Successful Response
|
|
60
85
|
* @throws ApiError
|
|
61
86
|
*/
|
|
62
|
-
static agentConversationMessageList(podId: string, conversationId: string, afterSequence?: (number | null), limit?: number): CancelablePromise<MessageListResponse>;
|
|
87
|
+
static agentConversationMessageList(podId: string, conversationId: string, pageToken?: (string | null), beforeSequence?: (number | null), afterSequence?: (number | null), limit?: number): CancelablePromise<MessageListResponse>;
|
|
63
88
|
/**
|
|
64
89
|
* Send Pod Conversation Message
|
|
65
90
|
* Append a user message to a pod-scoped conversation and stream runtime events over Server-Sent Events until the active turn completes. User messages can also be appended while work is already active; the next harness step sees the new message in persisted history.
|
|
@@ -77,7 +77,7 @@ export class AgentConversationsService {
|
|
|
77
77
|
}
|
|
78
78
|
/**
|
|
79
79
|
* Update Pod Conversation
|
|
80
|
-
* Update mutable conversation settings for a pod-scoped conversation. The conversation
|
|
80
|
+
* Update mutable conversation settings for a pod-scoped conversation. The conversation runtime is used by future runs; message sends do not carry per-request runtime overrides.
|
|
81
81
|
* @param podId
|
|
82
82
|
* @param conversationId
|
|
83
83
|
* @param requestBody
|
|
@@ -99,17 +99,66 @@ export class AgentConversationsService {
|
|
|
99
99
|
},
|
|
100
100
|
});
|
|
101
101
|
}
|
|
102
|
+
/**
|
|
103
|
+
* List Agent Run Approvals
|
|
104
|
+
* List pending user_approval tool calls in a conversation.
|
|
105
|
+
* @param podId
|
|
106
|
+
* @param conversationId
|
|
107
|
+
* @returns UserApprovalListResponse Successful Response
|
|
108
|
+
* @throws ApiError
|
|
109
|
+
*/
|
|
110
|
+
static agentConversationApprovalList(podId, conversationId) {
|
|
111
|
+
return __request(OpenAPI, {
|
|
112
|
+
method: 'GET',
|
|
113
|
+
url: '/pods/{pod_id}/conversations/{conversation_id}/approvals',
|
|
114
|
+
path: {
|
|
115
|
+
'pod_id': podId,
|
|
116
|
+
'conversation_id': conversationId,
|
|
117
|
+
},
|
|
118
|
+
errors: {
|
|
119
|
+
422: `Validation Error`,
|
|
120
|
+
},
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Resolve User Approval
|
|
125
|
+
* Append a user_approval tool result and resume the live local turn.
|
|
126
|
+
* @param podId
|
|
127
|
+
* @param conversationId
|
|
128
|
+
* @param approvalId
|
|
129
|
+
* @param requestBody
|
|
130
|
+
* @returns MessageResponse Successful Response
|
|
131
|
+
* @throws ApiError
|
|
132
|
+
*/
|
|
133
|
+
static agentConversationApprovalResolve(podId, conversationId, approvalId, requestBody) {
|
|
134
|
+
return __request(OpenAPI, {
|
|
135
|
+
method: 'POST',
|
|
136
|
+
url: '/pods/{pod_id}/conversations/{conversation_id}/approvals/{approval_id}/decision',
|
|
137
|
+
path: {
|
|
138
|
+
'pod_id': podId,
|
|
139
|
+
'conversation_id': conversationId,
|
|
140
|
+
'approval_id': approvalId,
|
|
141
|
+
},
|
|
142
|
+
body: requestBody,
|
|
143
|
+
mediaType: 'application/json',
|
|
144
|
+
errors: {
|
|
145
|
+
422: `Validation Error`,
|
|
146
|
+
},
|
|
147
|
+
});
|
|
148
|
+
}
|
|
102
149
|
/**
|
|
103
150
|
* List Pod Conversation Messages
|
|
104
|
-
* List persisted messages in
|
|
151
|
+
* List the latest persisted messages in chronological order. Pass next_page_token as page_token to fetch the next older page above the current page.
|
|
105
152
|
* @param podId
|
|
106
153
|
* @param conversationId
|
|
154
|
+
* @param pageToken
|
|
155
|
+
* @param beforeSequence
|
|
107
156
|
* @param afterSequence
|
|
108
157
|
* @param limit
|
|
109
158
|
* @returns MessageListResponse Successful Response
|
|
110
159
|
* @throws ApiError
|
|
111
160
|
*/
|
|
112
|
-
static agentConversationMessageList(podId, conversationId, afterSequence, limit = 100) {
|
|
161
|
+
static agentConversationMessageList(podId, conversationId, pageToken, beforeSequence, afterSequence, limit = 100) {
|
|
113
162
|
return __request(OpenAPI, {
|
|
114
163
|
method: 'GET',
|
|
115
164
|
url: '/pods/{pod_id}/conversations/{conversation_id}/messages',
|
|
@@ -118,6 +167,8 @@ export class AgentConversationsService {
|
|
|
118
167
|
'conversation_id': conversationId,
|
|
119
168
|
},
|
|
120
169
|
query: {
|
|
170
|
+
'page_token': pageToken,
|
|
171
|
+
'before_sequence': beforeSequence,
|
|
121
172
|
'after_sequence': afterSequence,
|
|
122
173
|
'limit': limit,
|
|
123
174
|
},
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { AgentHarnessListResponse } from '../models/AgentHarnessListResponse.js';
|
|
2
|
+
import type { AgentRuntimeProfileListResponse } from '../models/AgentRuntimeProfileListResponse.js';
|
|
3
|
+
import type { AgentRuntimeProfileResponse } from '../models/AgentRuntimeProfileResponse.js';
|
|
4
|
+
import type { CreateAnthropicCompatibleRuntimeProfileRequest } from '../models/CreateAnthropicCompatibleRuntimeProfileRequest.js';
|
|
5
|
+
import type { CreateOpenAICompatibleRuntimeProfileRequest } from '../models/CreateOpenAICompatibleRuntimeProfileRequest.js';
|
|
6
|
+
import type { CreateUserDaemonRuntimeProfileRequest } from '../models/CreateUserDaemonRuntimeProfileRequest.js';
|
|
7
|
+
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
8
|
+
export declare class AgentRuntimeService {
|
|
9
|
+
/**
|
|
10
|
+
* List Available Agent Harnesses
|
|
11
|
+
* @returns AgentHarnessListResponse Successful Response
|
|
12
|
+
* @throws ApiError
|
|
13
|
+
*/
|
|
14
|
+
static agentRuntimeHarnessesList(): CancelablePromise<AgentHarnessListResponse>;
|
|
15
|
+
/**
|
|
16
|
+
* List Available Agent Runtime Profiles
|
|
17
|
+
* @param orgId
|
|
18
|
+
* @returns AgentRuntimeProfileListResponse Successful Response
|
|
19
|
+
* @throws ApiError
|
|
20
|
+
*/
|
|
21
|
+
static agentRuntimeProfilesList(orgId: string): CancelablePromise<AgentRuntimeProfileListResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* Create Agent Runtime Profile
|
|
24
|
+
* @param orgId
|
|
25
|
+
* @param requestBody
|
|
26
|
+
* @returns AgentRuntimeProfileResponse Successful Response
|
|
27
|
+
* @throws ApiError
|
|
28
|
+
*/
|
|
29
|
+
static agentRuntimeProfilesCreate(orgId: string, requestBody: (CreateUserDaemonRuntimeProfileRequest | CreateOpenAICompatibleRuntimeProfileRequest | CreateAnthropicCompatibleRuntimeProfileRequest)): CancelablePromise<AgentRuntimeProfileResponse>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { OpenAPI } from '../core/OpenAPI.js';
|
|
2
|
+
import { request as __request } from '../core/request.js';
|
|
3
|
+
export class AgentRuntimeService {
|
|
4
|
+
/**
|
|
5
|
+
* List Available Agent Harnesses
|
|
6
|
+
* @returns AgentHarnessListResponse Successful Response
|
|
7
|
+
* @throws ApiError
|
|
8
|
+
*/
|
|
9
|
+
static agentRuntimeHarnessesList() {
|
|
10
|
+
return __request(OpenAPI, {
|
|
11
|
+
method: 'GET',
|
|
12
|
+
url: '/agent-runtime/harnesses',
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* List Available Agent Runtime Profiles
|
|
17
|
+
* @param orgId
|
|
18
|
+
* @returns AgentRuntimeProfileListResponse Successful Response
|
|
19
|
+
* @throws ApiError
|
|
20
|
+
*/
|
|
21
|
+
static agentRuntimeProfilesList(orgId) {
|
|
22
|
+
return __request(OpenAPI, {
|
|
23
|
+
method: 'GET',
|
|
24
|
+
url: '/organizations/{org_id}/agent-runtime/profiles',
|
|
25
|
+
path: {
|
|
26
|
+
'org_id': orgId,
|
|
27
|
+
},
|
|
28
|
+
errors: {
|
|
29
|
+
422: `Validation Error`,
|
|
30
|
+
},
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Create Agent Runtime Profile
|
|
35
|
+
* @param orgId
|
|
36
|
+
* @param requestBody
|
|
37
|
+
* @returns AgentRuntimeProfileResponse Successful Response
|
|
38
|
+
* @throws ApiError
|
|
39
|
+
*/
|
|
40
|
+
static agentRuntimeProfilesCreate(orgId, requestBody) {
|
|
41
|
+
return __request(OpenAPI, {
|
|
42
|
+
method: 'POST',
|
|
43
|
+
url: '/organizations/{org_id}/agent-runtime/profiles',
|
|
44
|
+
path: {
|
|
45
|
+
'org_id': orgId,
|
|
46
|
+
},
|
|
47
|
+
body: requestBody,
|
|
48
|
+
mediaType: 'application/json',
|
|
49
|
+
errors: {
|
|
50
|
+
422: `Validation Error`,
|
|
51
|
+
},
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
}
|
|
@@ -12,40 +12,35 @@ export declare class AgentSurfacesIngressService {
|
|
|
12
12
|
*/
|
|
13
13
|
static agentSurfaceTeamsAdminConsentCallback(tenant?: (string | null), adminConsent?: (string | null), state?: (string | null), error?: (string | null), errorDescription?: (string | null)): CancelablePromise<any>;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
16
|
-
*
|
|
15
|
+
* Verify surface webhook using the platform callback URL
|
|
16
|
+
* Webhook verification endpoint for platforms that require it.
|
|
17
|
+
* @param platform
|
|
17
18
|
* @returns any Successful Response
|
|
18
19
|
* @throws ApiError
|
|
19
20
|
*/
|
|
20
|
-
static
|
|
21
|
+
static surfaceWebhookVerify(platform: string): CancelablePromise<any>;
|
|
21
22
|
/**
|
|
22
|
-
* Handle
|
|
23
|
-
* Handle
|
|
24
|
-
*
|
|
25
|
-
* Per-surface webhooks (e.g. /surfaces/webhooks/surface/{uuid}) are used
|
|
26
|
-
* when users provide their own bot credentials (USER_PROVIDED credential mode).
|
|
27
|
-
* @param surfaceId
|
|
23
|
+
* Handle platform-level surface webhook
|
|
24
|
+
* Handle platform-level webhook callbacks.
|
|
25
|
+
* @param platform
|
|
28
26
|
* @returns any Successful Response
|
|
29
27
|
* @throws ApiError
|
|
30
28
|
*/
|
|
31
|
-
static
|
|
29
|
+
static surfaceWebhookHandlePlatform(platform: string): CancelablePromise<any>;
|
|
32
30
|
/**
|
|
33
|
-
* Verify surface webhook using
|
|
31
|
+
* Verify surface webhook using a surface-level callback URL
|
|
34
32
|
* Webhook verification endpoint for platforms that require it.
|
|
35
|
-
* @param
|
|
33
|
+
* @param surfaceId
|
|
36
34
|
* @returns any Successful Response
|
|
37
35
|
* @throws ApiError
|
|
38
36
|
*/
|
|
39
|
-
static
|
|
37
|
+
static surfaceWebhookVerifySurface(surfaceId: string): CancelablePromise<any>;
|
|
40
38
|
/**
|
|
41
|
-
* Handle
|
|
42
|
-
* Handle webhooks
|
|
43
|
-
*
|
|
44
|
-
* Platform webhooks (e.g. /surfaces/webhooks/slack) are used when
|
|
45
|
-
* Lemma's own app handles the integration (NATIVE credential mode).
|
|
46
|
-
* @param platform
|
|
39
|
+
* Handle surface-level webhook
|
|
40
|
+
* Handle webhooks addressed to one concrete surface.
|
|
41
|
+
* @param surfaceId
|
|
47
42
|
* @returns any Successful Response
|
|
48
43
|
* @throws ApiError
|
|
49
44
|
*/
|
|
50
|
-
static
|
|
45
|
+
static surfaceWebhookHandleSurface(surfaceId: string): CancelablePromise<any>;
|
|
51
46
|
}
|