lemma-sdk 0.2.44 → 0.2.46
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 +1 -1
- package/dist/assistant-events.d.ts +1 -0
- package/dist/assistant-events.js +37 -2
- package/dist/browser/lemma-client.js +312 -228
- package/dist/client.js +1 -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 +12992 -0
- package/dist/hey_client/types.gen.js +2 -0
- package/dist/namespaces/conversations.d.ts +2 -2
- package/dist/namespaces/files.d.ts +6 -24
- package/dist/namespaces/files.js +6 -16
- package/dist/namespaces/integrations.d.ts +2 -4
- package/dist/namespaces/integrations.js +6 -6
- 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 +10 -16
- package/dist/namespaces/records.js +4 -33
- package/dist/namespaces/resource-access.d.ts +3 -3
- package/dist/namespaces/resource-access.js +6 -6
- package/dist/namespaces/schedules.d.ts +1 -0
- package/dist/namespaces/schedules.js +1 -1
- package/dist/namespaces/tables.d.ts +2 -2
- package/dist/namespaces/workflows.d.ts +12 -8
- package/dist/namespaces/workflows.js +9 -18
- package/dist/openapi_client/index.d.ts +23 -42
- package/dist/openapi_client/index.js +5 -11
- package/dist/openapi_client/models/AgentHarnessInfo.d.ts +2 -0
- 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/AgentResourcePermissionRequest.d.ts +1 -1
- package/dist/openapi_client/models/AgentResourcePermissionResponse.d.ts +1 -1
- package/dist/openapi_client/models/AgentRuntimeProfileResponse.d.ts +6 -0
- package/dist/openapi_client/models/AgentSurfaceResponse.d.ts +6 -17
- package/dist/openapi_client/models/AgentSurfaceStatus.d.ts +3 -1
- package/dist/openapi_client/models/AgentSurfaceStatus.js +2 -0
- package/dist/openapi_client/models/AgentToolset.d.ts +2 -1
- package/dist/openapi_client/models/AgentToolset.js +1 -0
- package/dist/openapi_client/models/AppTriggerResponseSchema.d.ts +2 -0
- package/dist/openapi_client/models/ApplicationSkillResponse.d.ts +6 -0
- package/dist/openapi_client/models/ApprovalDecisionResponse.d.ts +6 -0
- package/dist/openapi_client/models/AuthProvider.d.ts +4 -0
- package/dist/openapi_client/models/AuthProvider.js +9 -0
- package/dist/openapi_client/models/ConnectedAccountSummary.d.ts +7 -0
- package/dist/openapi_client/models/CreateFunctionRequest.d.ts +0 -1
- package/dist/openapi_client/models/CreateScheduleRequest.d.ts +4 -0
- package/dist/openapi_client/models/CreateSurfaceRequest.d.ts +3 -10
- package/dist/openapi_client/models/CreateUserDaemonRuntimeProfileRequest.d.ts +2 -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/DecisionNode.d.ts +2 -1
- package/dist/openapi_client/models/DecisionRule.d.ts +3 -0
- package/dist/openapi_client/models/EndNode.d.ts +1 -1
- package/dist/openapi_client/models/ExpressionInputBinding.d.ts +6 -2
- package/dist/openapi_client/models/FileListResponse.d.ts +1 -0
- package/dist/openapi_client/models/FileSearchResponse.d.ts +2 -2
- package/dist/openapi_client/models/FlowRunStatus.d.ts +5 -1
- package/dist/openapi_client/models/FlowRunStatus.js +5 -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/FunctionNode.d.ts +2 -1
- package/dist/openapi_client/models/FunctionResourcePermissionRequest.d.ts +1 -1
- package/dist/openapi_client/models/FunctionResourcePermissionResponse.d.ts +1 -1
- 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/LoopNode.d.ts +2 -1
- package/dist/openapi_client/models/LoopNodeConfig.d.ts +3 -3
- package/dist/openapi_client/models/MessageKind.d.ts +14 -0
- package/dist/openapi_client/models/MessageKind.js +19 -0
- package/dist/openapi_client/models/MessageResponse.d.ts +5 -6
- 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/PodRoleResourcePermissionRequest.d.ts +1 -1
- package/dist/openapi_client/models/PodRoleResourcePermissionResponse.d.ts +1 -1
- package/dist/openapi_client/models/ResourceAccessGrantResponse.d.ts +1 -1
- package/dist/openapi_client/models/ResourceAccessResponse.d.ts +1 -1
- package/dist/openapi_client/models/RuntimeProfileScope.d.ts +2 -1
- package/dist/openapi_client/models/RuntimeProfileScope.js +1 -0
- package/dist/openapi_client/models/ScheduleDetailResponse.d.ts +6 -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/StepRecordResponse.d.ts +10 -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 +4 -0
- package/dist/openapi_client/models/SurfaceChannelRouteInput.d.ts +6 -0
- package/dist/openapi_client/models/SurfaceChannelRouteResponse.d.ts +6 -0
- package/dist/openapi_client/models/SurfaceConfigResponse.d.ts +10 -0
- package/dist/openapi_client/models/SurfaceCredentialMode.d.ts +4 -0
- package/dist/openapi_client/models/SurfaceCredentialMode.js +9 -0
- package/dist/openapi_client/models/SurfaceIdentityConfigInput.d.ts +4 -0
- package/dist/openapi_client/models/SurfaceIdentityConfigResponse.d.ts +4 -0
- package/dist/openapi_client/models/SurfaceSetupStatusResponse.d.ts +10 -0
- package/dist/openapi_client/models/TableListResponse.d.ts +2 -0
- package/dist/openapi_client/models/ToggleSurfaceRequest.d.ts +1 -1
- package/dist/openapi_client/models/UpdateScheduleRequest.d.ts +1 -0
- package/dist/openapi_client/models/UpdateSurfaceChannelsRequest.d.ts +4 -0
- package/dist/openapi_client/models/UpdateSurfaceRequest.d.ts +4 -11
- package/dist/openapi_client/models/UpsertSurfaceRequest.d.ts +9 -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/WaitUntilNode.d.ts +1 -1
- package/dist/openapi_client/models/WorkflowCreateRequest.d.ts +16 -0
- package/dist/openapi_client/models/WorkflowRunFormSubmitRequest.d.ts +13 -0
- package/dist/openapi_client/models/WorkflowRunResponse.d.ts +28 -0
- package/dist/openapi_client/models/WorkflowRunSummaryResponse.d.ts +2 -3
- 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/WorkflowRunWaitType.d.ts +1 -2
- package/dist/openapi_client/models/WorkflowRunWaitType.js +0 -1
- package/dist/openapi_client/models/WorkspaceAppAccessRequest.d.ts +0 -3
- package/dist/openapi_client/models/WorkspaceMeSandbox.d.ts +1 -4
- package/dist/openapi_client/services/AgentConversationsService.d.ts +5 -5
- package/dist/openapi_client/services/AgentConversationsService.js +3 -3
- package/dist/openapi_client/services/AgentSurfacesService.d.ts +39 -10
- package/dist/openapi_client/services/AgentSurfacesService.js +86 -20
- package/dist/openapi_client/services/ApplicationsService.d.ts +29 -19
- package/dist/openapi_client/services/ApplicationsService.js +63 -36
- package/dist/openapi_client/services/FilesService.d.ts +2 -3
- package/dist/openapi_client/services/FilesService.js +1 -1
- package/dist/openapi_client/services/FunctionsService.d.ts +1 -1
- package/dist/openapi_client/services/FunctionsService.js +1 -1
- package/dist/openapi_client/services/IntegrationsService.d.ts +12 -4
- package/dist/openapi_client/services/IntegrationsService.js +22 -4
- package/dist/openapi_client/services/PodResourceAccessService.d.ts +6 -6
- package/dist/openapi_client/services/PodResourceAccessService.js +12 -12
- package/dist/openapi_client/services/RecordsService.d.ts +22 -25
- package/dist/openapi_client/services/RecordsService.js +14 -18
- package/dist/openapi_client/services/SchedulesService.d.ts +2 -1
- package/dist/openapi_client/services/SchedulesService.js +3 -1
- package/dist/openapi_client/services/TablesService.d.ts +4 -5
- package/dist/openapi_client/services/TablesService.js +2 -2
- package/dist/openapi_client/services/WorkflowsService.d.ts +35 -26
- package/dist/openapi_client/services/WorkflowsService.js +57 -39
- package/dist/react/assistant-output.d.ts +6 -0
- package/dist/react/assistant-output.js +16 -0
- package/dist/react/useAddPodMember.js +1 -1
- package/dist/react/useAssistantController.d.ts +9 -1
- package/dist/react/useAssistantController.js +92 -251
- package/dist/react/useAssistantRuntime.js +6 -17
- package/dist/react/useAssistantSession.d.ts +5 -2
- package/dist/react/useAssistantSession.js +47 -7
- package/dist/react/useBulkRecords.d.ts +5 -5
- package/dist/react/useBulkRecords.js +5 -5
- package/dist/react/useConversationMessages.d.ts +2 -2
- package/dist/react/useConversationMessages.js +3 -5
- 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/useFlowSession.d.ts +3 -1
- package/dist/react/useFlowSession.js +24 -17
- 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/useRecords.d.ts +1 -1
- package/dist/react/useRecords.js +2 -13
- package/dist/react/useReferencingRecords.d.ts +4 -6
- package/dist/react/useReferencingRecords.js +5 -5
- package/dist/react/useReverseRelatedRecords.d.ts +3 -4
- package/dist/react/useReverseRelatedRecords.js +6 -6
- 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.js +1 -3
- package/dist/react/useWorkflowStart.js +11 -26
- package/dist/react/utils.js +2 -0
- package/dist/types.d.ts +15 -9
- package/package.json +7 -2
- 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 -27
- package/dist/openapi_client/models/BillingInvoiceStatus.d.ts +0 -10
- package/dist/openapi_client/models/BillingInvoiceStatus.js +0 -15
- 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/DeskServingConfigResponse.d.ts +0 -11
- package/dist/openapi_client/models/DeskServingConfigResponse.js +0 -8
- package/dist/openapi_client/models/FlowRunEntity.d.ts +0 -36
- package/dist/openapi_client/models/GmailSurfaceConfig.d.ts +0 -7
- package/dist/openapi_client/models/NotificationContent.d.ts +0 -4
- package/dist/openapi_client/models/OutlookSurfaceConfig.d.ts +0 -7
- package/dist/openapi_client/models/PlanListResponse.d.ts +0 -8
- package/dist/openapi_client/models/PlanResponse.d.ts +0 -18
- package/dist/openapi_client/models/PlanType.d.ts +0 -7
- package/dist/openapi_client/models/PlanType.js +0 -12
- 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/SlackSurfaceConfig.d.ts +0 -7
- 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/StartTeamBillingRequest.js +0 -1
- package/dist/openapi_client/models/StepExecution.d.ts +0 -13
- package/dist/openapi_client/models/StepExecution.js +0 -1
- package/dist/openapi_client/models/SubscriptionResponse.d.ts +0 -22
- package/dist/openapi_client/models/SubscriptionResponse.js +0 -1
- 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/SubscriptionStatusResponse.js +0 -1
- package/dist/openapi_client/models/SubscriptionWithPlanResponse.d.ts +0 -22
- package/dist/openapi_client/models/SubscriptionWithPlanResponse.js +0 -1
- package/dist/openapi_client/models/SurfaceEventMode.d.ts +0 -6
- package/dist/openapi_client/models/SurfaceEventMode.js +0 -11
- package/dist/openapi_client/models/SurfaceMode.d.ts +0 -5
- package/dist/openapi_client/models/SurfaceMode.js +0 -10
- package/dist/openapi_client/models/SurfaceRoutingScope.d.ts +0 -4
- package/dist/openapi_client/models/SurfaceRoutingScope.js +0 -9
- package/dist/openapi_client/models/TeamsSurfaceConfig.d.ts +0 -7
- package/dist/openapi_client/models/TeamsSurfaceConfig.js +0 -1
- package/dist/openapi_client/models/TelegramSurfaceConfig.d.ts +0 -7
- package/dist/openapi_client/models/TelegramSurfaceConfig.js +0 -1
- package/dist/openapi_client/models/TextContent.d.ts +0 -4
- package/dist/openapi_client/models/TextContent.js +0 -1
- package/dist/openapi_client/models/ThinkingContent.d.ts +0 -4
- package/dist/openapi_client/models/ThinkingContent.js +0 -1
- package/dist/openapi_client/models/ToolCallContent.d.ts +0 -6
- package/dist/openapi_client/models/ToolCallContent.js +0 -1
- package/dist/openapi_client/models/ToolReturnContent.d.ts +0 -6
- package/dist/openapi_client/models/ToolReturnContent.js +0 -1
- package/dist/openapi_client/models/WhatsAppSurfaceConfig.d.ts +0 -7
- package/dist/openapi_client/models/WhatsAppSurfaceConfig.js +0 -1
- package/dist/openapi_client/models/WorkflowRunWaitEntity.js +0 -1
- package/dist/openapi_client/services/BillingSubscriptionsService.d.ts +0 -117
- package/dist/openapi_client/services/BillingSubscriptionsService.js +0 -230
- package/dist/openapi_client/services/BillingWebhooksService.d.ts +0 -12
- package/dist/openapi_client/services/BillingWebhooksService.js +0 -25
- package/dist/openapi_client/services/PublicDesksService.d.ts +0 -10
- package/dist/openapi_client/services/PublicDesksService.js +0 -15
- /package/dist/openapi_client/models/{BillingHistoryResponse.js → ApplicationSkillResponse.js} +0 -0
- /package/dist/openapi_client/models/{BillingInvoiceResponse.js → ApprovalDecisionResponse.js} +0 -0
- /package/dist/openapi_client/models/{CancelSubscriptionResponse.js → ConnectedAccountSummary.js} +0 -0
- /package/dist/openapi_client/models/{CreateInvoicePaymentUrlRequest.js → DatastoreCountResponse.js} +0 -0
- /package/dist/openapi_client/models/{CreateInvoicePaymentUrlResponse.js → InstalledAppSummary.js} +0 -0
- /package/dist/openapi_client/models/{DatastoreMessageResponse.js → IntegrationStatusResponse.js} +0 -0
- /package/dist/openapi_client/models/{FlowRunEntity.js → StepRecordResponse.js} +0 -0
- /package/dist/openapi_client/models/{GmailSurfaceConfig.js → SurfaceChannelRouteInput.js} +0 -0
- /package/dist/openapi_client/models/{NotificationContent.js → SurfaceChannelRouteResponse.js} +0 -0
- /package/dist/openapi_client/models/{OutlookSurfaceConfig.js → SurfaceConfigResponse.js} +0 -0
- /package/dist/openapi_client/models/{PlanListResponse.js → SurfaceIdentityConfigInput.js} +0 -0
- /package/dist/openapi_client/models/{PlanResponse.js → SurfaceIdentityConfigResponse.js} +0 -0
- /package/dist/openapi_client/models/{RecordResponse.js → SurfaceSetupStatusResponse.js} +0 -0
- /package/dist/openapi_client/models/{SeatInfoResponse.js → UpdateSurfaceChannelsRequest.js} +0 -0
- /package/dist/openapi_client/models/{SlackSurfaceConfig.js → UpsertSurfaceRequest.js} +0 -0
- /package/dist/openapi_client/models/{StackFrame.js → WorkflowRunFormSubmitRequest.js} +0 -0
- /package/dist/openapi_client/models/{StartSubscriptionRequest.js → WorkflowRunResponse.js} +0 -0
- /package/dist/openapi_client/models/{StartSubscriptionResponse.js → WorkflowRunWaitResponse.js} +0 -0
|
@@ -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
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import type { ApprovalDecisionResponse } from '../models/ApprovalDecisionResponse.js';
|
|
1
2
|
import type { ConversationListResponse } from '../models/ConversationListResponse.js';
|
|
2
3
|
import type { ConversationResponse } from '../models/ConversationResponse.js';
|
|
3
4
|
import type { ConversationStatus } from '../models/ConversationStatus.js';
|
|
4
5
|
import type { ConversationType } from '../models/ConversationType.js';
|
|
5
6
|
import type { CreateConversationRequest } from '../models/CreateConversationRequest.js';
|
|
6
7
|
import type { MessageListResponse } from '../models/MessageListResponse.js';
|
|
7
|
-
import type { MessageResponse } from '../models/MessageResponse.js';
|
|
8
8
|
import type { ResolveUserApprovalRequest } from '../models/ResolveUserApprovalRequest.js';
|
|
9
9
|
import type { SendMessageRequest } from '../models/SendMessageRequest.js';
|
|
10
10
|
import type { UpdateConversationRequest } from '../models/UpdateConversationRequest.js';
|
|
@@ -54,7 +54,7 @@ export declare class AgentConversationsService {
|
|
|
54
54
|
static agentConversationUpdate(podId: string, conversationId: string, requestBody: UpdateConversationRequest): CancelablePromise<ConversationResponse>;
|
|
55
55
|
/**
|
|
56
56
|
* List Agent Run Approvals
|
|
57
|
-
* List pending
|
|
57
|
+
* List pending request_approval tool calls in a conversation.
|
|
58
58
|
* @param podId
|
|
59
59
|
* @param conversationId
|
|
60
60
|
* @returns UserApprovalListResponse Successful Response
|
|
@@ -63,15 +63,15 @@ export declare class AgentConversationsService {
|
|
|
63
63
|
static agentConversationApprovalList(podId: string, conversationId: string): CancelablePromise<UserApprovalListResponse>;
|
|
64
64
|
/**
|
|
65
65
|
* Resolve User Approval
|
|
66
|
-
*
|
|
66
|
+
* Record the user's decision on a request_approval call and wake the paused agent run, which then executes the approved tool as the user.
|
|
67
67
|
* @param podId
|
|
68
68
|
* @param conversationId
|
|
69
69
|
* @param approvalId
|
|
70
70
|
* @param requestBody
|
|
71
|
-
* @returns
|
|
71
|
+
* @returns ApprovalDecisionResponse Successful Response
|
|
72
72
|
* @throws ApiError
|
|
73
73
|
*/
|
|
74
|
-
static agentConversationApprovalResolve(podId: string, conversationId: string, approvalId: string, requestBody: ResolveUserApprovalRequest): CancelablePromise<
|
|
74
|
+
static agentConversationApprovalResolve(podId: string, conversationId: string, approvalId: string, requestBody: ResolveUserApprovalRequest): CancelablePromise<ApprovalDecisionResponse>;
|
|
75
75
|
/**
|
|
76
76
|
* List Pod Conversation Messages
|
|
77
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.
|
|
@@ -101,7 +101,7 @@ export class AgentConversationsService {
|
|
|
101
101
|
}
|
|
102
102
|
/**
|
|
103
103
|
* List Agent Run Approvals
|
|
104
|
-
* List pending
|
|
104
|
+
* List pending request_approval tool calls in a conversation.
|
|
105
105
|
* @param podId
|
|
106
106
|
* @param conversationId
|
|
107
107
|
* @returns UserApprovalListResponse Successful Response
|
|
@@ -122,12 +122,12 @@ export class AgentConversationsService {
|
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* Resolve User Approval
|
|
125
|
-
*
|
|
125
|
+
* Record the user's decision on a request_approval call and wake the paused agent run, which then executes the approved tool as the user.
|
|
126
126
|
* @param podId
|
|
127
127
|
* @param conversationId
|
|
128
128
|
* @param approvalId
|
|
129
129
|
* @param requestBody
|
|
130
|
-
* @returns
|
|
130
|
+
* @returns ApprovalDecisionResponse Successful Response
|
|
131
131
|
* @throws ApiError
|
|
132
132
|
*/
|
|
133
133
|
static agentConversationApprovalResolve(podId, conversationId, approvalId, requestBody) {
|
|
@@ -2,8 +2,11 @@ import type { AdminConsentInfoResponse } from '../models/AdminConsentInfoRespons
|
|
|
2
2
|
import type { AgentSurfaceListResponse } from '../models/AgentSurfaceListResponse.js';
|
|
3
3
|
import type { CreateSurfaceRequest } from '../models/CreateSurfaceRequest.js';
|
|
4
4
|
import type { SurfacePlatformSetupGuideResponse } from '../models/SurfacePlatformSetupGuideResponse.js';
|
|
5
|
+
import type { SurfaceSetupStatusResponse } from '../models/SurfaceSetupStatusResponse.js';
|
|
5
6
|
import type { ToggleSurfaceRequest } from '../models/ToggleSurfaceRequest.js';
|
|
7
|
+
import type { UpdateSurfaceChannelsRequest } from '../models/UpdateSurfaceChannelsRequest.js';
|
|
6
8
|
import type { UpdateSurfaceRequest } from '../models/UpdateSurfaceRequest.js';
|
|
9
|
+
import type { UpsertSurfaceRequest } from '../models/UpsertSurfaceRequest.js';
|
|
7
10
|
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
8
11
|
export declare class AgentSurfacesService {
|
|
9
12
|
/**
|
|
@@ -31,46 +34,72 @@ export declare class AgentSurfacesService {
|
|
|
31
34
|
* @throws ApiError
|
|
32
35
|
*/
|
|
33
36
|
static agentSurfacePlatformChecklist(podId: string, platform: string): CancelablePromise<SurfacePlatformSetupGuideResponse>;
|
|
37
|
+
/**
|
|
38
|
+
* Upsert Surface By Platform
|
|
39
|
+
* @param podId
|
|
40
|
+
* @param platform
|
|
41
|
+
* @param requestBody
|
|
42
|
+
* @returns any Successful Response
|
|
43
|
+
* @throws ApiError
|
|
44
|
+
*/
|
|
45
|
+
static agentSurfaceUpsertByPlatform(podId: string, platform: string, requestBody: UpsertSurfaceRequest): CancelablePromise<any>;
|
|
34
46
|
/**
|
|
35
47
|
* Delete Surface
|
|
36
48
|
* @param podId
|
|
37
|
-
* @param
|
|
49
|
+
* @param surfaceRef
|
|
38
50
|
* @returns void
|
|
39
51
|
* @throws ApiError
|
|
40
52
|
*/
|
|
41
|
-
static agentSurfaceDelete(podId: string,
|
|
53
|
+
static agentSurfaceDelete(podId: string, surfaceRef: string): CancelablePromise<void>;
|
|
42
54
|
/**
|
|
43
55
|
* Get Surface
|
|
44
56
|
* @param podId
|
|
45
|
-
* @param
|
|
57
|
+
* @param surfaceRef
|
|
46
58
|
* @returns any Successful Response
|
|
47
59
|
* @throws ApiError
|
|
48
60
|
*/
|
|
49
|
-
static agentSurfaceGet(podId: string,
|
|
61
|
+
static agentSurfaceGet(podId: string, surfaceRef: string): CancelablePromise<any>;
|
|
50
62
|
/**
|
|
51
63
|
* Update Surface
|
|
52
64
|
* @param podId
|
|
53
|
-
* @param
|
|
65
|
+
* @param surfaceRef
|
|
54
66
|
* @param requestBody
|
|
55
67
|
* @returns any Successful Response
|
|
56
68
|
* @throws ApiError
|
|
57
69
|
*/
|
|
58
|
-
static agentSurfaceUpdate(podId: string,
|
|
70
|
+
static agentSurfaceUpdate(podId: string, surfaceRef: string, requestBody: UpdateSurfaceRequest): CancelablePromise<any>;
|
|
59
71
|
/**
|
|
60
72
|
* Get Admin Consent Info
|
|
61
73
|
* @param podId
|
|
62
|
-
* @param
|
|
74
|
+
* @param surfaceRef
|
|
63
75
|
* @returns AdminConsentInfoResponse Successful Response
|
|
64
76
|
* @throws ApiError
|
|
65
77
|
*/
|
|
66
|
-
static agentSurfaceAdminConsentInfo(podId: string,
|
|
78
|
+
static agentSurfaceAdminConsentInfo(podId: string, surfaceRef: string): CancelablePromise<AdminConsentInfoResponse>;
|
|
79
|
+
/**
|
|
80
|
+
* Update Surface Channels
|
|
81
|
+
* @param podId
|
|
82
|
+
* @param surfaceRef
|
|
83
|
+
* @param requestBody
|
|
84
|
+
* @returns any Successful Response
|
|
85
|
+
* @throws ApiError
|
|
86
|
+
*/
|
|
87
|
+
static agentSurfaceUpdateChannels(podId: string, surfaceRef: string, requestBody: UpdateSurfaceChannelsRequest): CancelablePromise<any>;
|
|
88
|
+
/**
|
|
89
|
+
* Get Surface Setup Status
|
|
90
|
+
* @param podId
|
|
91
|
+
* @param surfaceRef
|
|
92
|
+
* @returns SurfaceSetupStatusResponse Successful Response
|
|
93
|
+
* @throws ApiError
|
|
94
|
+
*/
|
|
95
|
+
static agentSurfaceSetupStatus(podId: string, surfaceRef: string): CancelablePromise<SurfaceSetupStatusResponse>;
|
|
67
96
|
/**
|
|
68
97
|
* Toggle Surface
|
|
69
98
|
* @param podId
|
|
70
|
-
* @param
|
|
99
|
+
* @param surfaceRef
|
|
71
100
|
* @param requestBody
|
|
72
101
|
* @returns any Successful Response
|
|
73
102
|
* @throws ApiError
|
|
74
103
|
*/
|
|
75
|
-
static agentSurfaceToggle(podId: string,
|
|
104
|
+
static agentSurfaceToggle(podId: string, surfaceRef: string, requestBody: ToggleSurfaceRequest): CancelablePromise<any>;
|
|
76
105
|
}
|
|
@@ -66,20 +66,43 @@ export class AgentSurfacesService {
|
|
|
66
66
|
},
|
|
67
67
|
});
|
|
68
68
|
}
|
|
69
|
+
/**
|
|
70
|
+
* Upsert Surface By Platform
|
|
71
|
+
* @param podId
|
|
72
|
+
* @param platform
|
|
73
|
+
* @param requestBody
|
|
74
|
+
* @returns any Successful Response
|
|
75
|
+
* @throws ApiError
|
|
76
|
+
*/
|
|
77
|
+
static agentSurfaceUpsertByPlatform(podId, platform, requestBody) {
|
|
78
|
+
return __request(OpenAPI, {
|
|
79
|
+
method: 'PUT',
|
|
80
|
+
url: '/pods/{pod_id}/surfaces/{platform}',
|
|
81
|
+
path: {
|
|
82
|
+
'pod_id': podId,
|
|
83
|
+
'platform': platform,
|
|
84
|
+
},
|
|
85
|
+
body: requestBody,
|
|
86
|
+
mediaType: 'application/json',
|
|
87
|
+
errors: {
|
|
88
|
+
422: `Validation Error`,
|
|
89
|
+
},
|
|
90
|
+
});
|
|
91
|
+
}
|
|
69
92
|
/**
|
|
70
93
|
* Delete Surface
|
|
71
94
|
* @param podId
|
|
72
|
-
* @param
|
|
95
|
+
* @param surfaceRef
|
|
73
96
|
* @returns void
|
|
74
97
|
* @throws ApiError
|
|
75
98
|
*/
|
|
76
|
-
static agentSurfaceDelete(podId,
|
|
99
|
+
static agentSurfaceDelete(podId, surfaceRef) {
|
|
77
100
|
return __request(OpenAPI, {
|
|
78
101
|
method: 'DELETE',
|
|
79
|
-
url: '/pods/{pod_id}/surfaces/{
|
|
102
|
+
url: '/pods/{pod_id}/surfaces/{surface_ref}',
|
|
80
103
|
path: {
|
|
81
104
|
'pod_id': podId,
|
|
82
|
-
'
|
|
105
|
+
'surface_ref': surfaceRef,
|
|
83
106
|
},
|
|
84
107
|
errors: {
|
|
85
108
|
422: `Validation Error`,
|
|
@@ -89,17 +112,17 @@ export class AgentSurfacesService {
|
|
|
89
112
|
/**
|
|
90
113
|
* Get Surface
|
|
91
114
|
* @param podId
|
|
92
|
-
* @param
|
|
115
|
+
* @param surfaceRef
|
|
93
116
|
* @returns any Successful Response
|
|
94
117
|
* @throws ApiError
|
|
95
118
|
*/
|
|
96
|
-
static agentSurfaceGet(podId,
|
|
119
|
+
static agentSurfaceGet(podId, surfaceRef) {
|
|
97
120
|
return __request(OpenAPI, {
|
|
98
121
|
method: 'GET',
|
|
99
|
-
url: '/pods/{pod_id}/surfaces/{
|
|
122
|
+
url: '/pods/{pod_id}/surfaces/{surface_ref}',
|
|
100
123
|
path: {
|
|
101
124
|
'pod_id': podId,
|
|
102
|
-
'
|
|
125
|
+
'surface_ref': surfaceRef,
|
|
103
126
|
},
|
|
104
127
|
errors: {
|
|
105
128
|
422: `Validation Error`,
|
|
@@ -109,18 +132,18 @@ export class AgentSurfacesService {
|
|
|
109
132
|
/**
|
|
110
133
|
* Update Surface
|
|
111
134
|
* @param podId
|
|
112
|
-
* @param
|
|
135
|
+
* @param surfaceRef
|
|
113
136
|
* @param requestBody
|
|
114
137
|
* @returns any Successful Response
|
|
115
138
|
* @throws ApiError
|
|
116
139
|
*/
|
|
117
|
-
static agentSurfaceUpdate(podId,
|
|
140
|
+
static agentSurfaceUpdate(podId, surfaceRef, requestBody) {
|
|
118
141
|
return __request(OpenAPI, {
|
|
119
142
|
method: 'PATCH',
|
|
120
|
-
url: '/pods/{pod_id}/surfaces/{
|
|
143
|
+
url: '/pods/{pod_id}/surfaces/{surface_ref}',
|
|
121
144
|
path: {
|
|
122
145
|
'pod_id': podId,
|
|
123
|
-
'
|
|
146
|
+
'surface_ref': surfaceRef,
|
|
124
147
|
},
|
|
125
148
|
body: requestBody,
|
|
126
149
|
mediaType: 'application/json',
|
|
@@ -132,17 +155,60 @@ export class AgentSurfacesService {
|
|
|
132
155
|
/**
|
|
133
156
|
* Get Admin Consent Info
|
|
134
157
|
* @param podId
|
|
135
|
-
* @param
|
|
158
|
+
* @param surfaceRef
|
|
136
159
|
* @returns AdminConsentInfoResponse Successful Response
|
|
137
160
|
* @throws ApiError
|
|
138
161
|
*/
|
|
139
|
-
static agentSurfaceAdminConsentInfo(podId,
|
|
162
|
+
static agentSurfaceAdminConsentInfo(podId, surfaceRef) {
|
|
163
|
+
return __request(OpenAPI, {
|
|
164
|
+
method: 'GET',
|
|
165
|
+
url: '/pods/{pod_id}/surfaces/{surface_ref}/admin-consent',
|
|
166
|
+
path: {
|
|
167
|
+
'pod_id': podId,
|
|
168
|
+
'surface_ref': surfaceRef,
|
|
169
|
+
},
|
|
170
|
+
errors: {
|
|
171
|
+
422: `Validation Error`,
|
|
172
|
+
},
|
|
173
|
+
});
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* Update Surface Channels
|
|
177
|
+
* @param podId
|
|
178
|
+
* @param surfaceRef
|
|
179
|
+
* @param requestBody
|
|
180
|
+
* @returns any Successful Response
|
|
181
|
+
* @throws ApiError
|
|
182
|
+
*/
|
|
183
|
+
static agentSurfaceUpdateChannels(podId, surfaceRef, requestBody) {
|
|
184
|
+
return __request(OpenAPI, {
|
|
185
|
+
method: 'PUT',
|
|
186
|
+
url: '/pods/{pod_id}/surfaces/{surface_ref}/channels',
|
|
187
|
+
path: {
|
|
188
|
+
'pod_id': podId,
|
|
189
|
+
'surface_ref': surfaceRef,
|
|
190
|
+
},
|
|
191
|
+
body: requestBody,
|
|
192
|
+
mediaType: 'application/json',
|
|
193
|
+
errors: {
|
|
194
|
+
422: `Validation Error`,
|
|
195
|
+
},
|
|
196
|
+
});
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* Get Surface Setup Status
|
|
200
|
+
* @param podId
|
|
201
|
+
* @param surfaceRef
|
|
202
|
+
* @returns SurfaceSetupStatusResponse Successful Response
|
|
203
|
+
* @throws ApiError
|
|
204
|
+
*/
|
|
205
|
+
static agentSurfaceSetupStatus(podId, surfaceRef) {
|
|
140
206
|
return __request(OpenAPI, {
|
|
141
207
|
method: 'GET',
|
|
142
|
-
url: '/pods/{pod_id}/surfaces/{
|
|
208
|
+
url: '/pods/{pod_id}/surfaces/{surface_ref}/setup',
|
|
143
209
|
path: {
|
|
144
210
|
'pod_id': podId,
|
|
145
|
-
'
|
|
211
|
+
'surface_ref': surfaceRef,
|
|
146
212
|
},
|
|
147
213
|
errors: {
|
|
148
214
|
422: `Validation Error`,
|
|
@@ -152,18 +218,18 @@ export class AgentSurfacesService {
|
|
|
152
218
|
/**
|
|
153
219
|
* Toggle Surface
|
|
154
220
|
* @param podId
|
|
155
|
-
* @param
|
|
221
|
+
* @param surfaceRef
|
|
156
222
|
* @param requestBody
|
|
157
223
|
* @returns any Successful Response
|
|
158
224
|
* @throws ApiError
|
|
159
225
|
*/
|
|
160
|
-
static agentSurfaceToggle(podId,
|
|
226
|
+
static agentSurfaceToggle(podId, surfaceRef, requestBody) {
|
|
161
227
|
return __request(OpenAPI, {
|
|
162
228
|
method: 'PATCH',
|
|
163
|
-
url: '/pods/{pod_id}/surfaces/{
|
|
229
|
+
url: '/pods/{pod_id}/surfaces/{surface_ref}/toggle',
|
|
164
230
|
path: {
|
|
165
231
|
'pod_id': podId,
|
|
166
|
-
'
|
|
232
|
+
'surface_ref': surfaceRef,
|
|
167
233
|
},
|
|
168
234
|
body: requestBody,
|
|
169
235
|
mediaType: 'application/json',
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ApplicationDetailResponseSchema } from '../models/ApplicationDetailResponseSchema.js';
|
|
2
2
|
import type { ApplicationListResponseSchema } from '../models/ApplicationListResponseSchema.js';
|
|
3
|
+
import type { ApplicationSkillResponse } from '../models/ApplicationSkillResponse.js';
|
|
3
4
|
import type { AppTriggerListResponseSchema } from '../models/AppTriggerListResponseSchema.js';
|
|
4
5
|
import type { AppTriggerResponseSchema } from '../models/AppTriggerResponseSchema.js';
|
|
5
6
|
import type { OperationDetail } from '../models/OperationDetail.js';
|
|
@@ -19,25 +20,6 @@ export declare class ApplicationsService {
|
|
|
19
20
|
* @throws ApiError
|
|
20
21
|
*/
|
|
21
22
|
static applicationList(limit?: number, pageToken?: (string | null)): CancelablePromise<ApplicationListResponseSchema>;
|
|
22
|
-
/**
|
|
23
|
-
* List Triggers
|
|
24
|
-
* Get all triggers. Optionally filter by application_id and search in description
|
|
25
|
-
* @param applicationId
|
|
26
|
-
* @param search
|
|
27
|
-
* @param limit
|
|
28
|
-
* @param pageToken
|
|
29
|
-
* @returns AppTriggerListResponseSchema Successful Response
|
|
30
|
-
* @throws ApiError
|
|
31
|
-
*/
|
|
32
|
-
static applicationTriggerList(applicationId?: (string | null), search?: (string | null), limit?: number, pageToken?: (string | null)): CancelablePromise<AppTriggerListResponseSchema>;
|
|
33
|
-
/**
|
|
34
|
-
* Get Trigger
|
|
35
|
-
* Get a specific trigger by ID
|
|
36
|
-
* @param triggerId
|
|
37
|
-
* @returns AppTriggerResponseSchema Successful Response
|
|
38
|
-
* @throws ApiError
|
|
39
|
-
*/
|
|
40
|
-
static applicationTriggerGet(triggerId: string): CancelablePromise<AppTriggerResponseSchema>;
|
|
41
23
|
/**
|
|
42
24
|
* Get Application
|
|
43
25
|
* Get a specific application by ID along with its operation catalog
|
|
@@ -46,6 +28,15 @@ export declare class ApplicationsService {
|
|
|
46
28
|
* @throws ApiError
|
|
47
29
|
*/
|
|
48
30
|
static applicationGet(applicationId: string): CancelablePromise<ApplicationDetailResponseSchema>;
|
|
31
|
+
/**
|
|
32
|
+
* Get Application Skill
|
|
33
|
+
* Get the skill guide markdown for an application. Pass `provider=lemma` or `provider=composio` to get provider-specific instructions when the app supports both. Falls back to the generic doc if no provider-specific file exists. Returns 404 if no skill doc has been generated yet.
|
|
34
|
+
* @param applicationId
|
|
35
|
+
* @param provider Provider override: lemma or composio
|
|
36
|
+
* @returns ApplicationSkillResponse Successful Response
|
|
37
|
+
* @throws ApiError
|
|
38
|
+
*/
|
|
39
|
+
static applicationSkillGet(applicationId: string, provider?: (string | null)): CancelablePromise<ApplicationSkillResponse>;
|
|
49
40
|
/**
|
|
50
41
|
* Discover Application Operations
|
|
51
42
|
* @param organizationId
|
|
@@ -84,4 +75,23 @@ export declare class ApplicationsService {
|
|
|
84
75
|
* @throws ApiError
|
|
85
76
|
*/
|
|
86
77
|
static applicationOperationExecute(organizationId: string, authConfigName: string, operationName: string, requestBody: OperationExecutionRequest): CancelablePromise<OperationExecutionResponse>;
|
|
78
|
+
/**
|
|
79
|
+
* List Application Triggers
|
|
80
|
+
* @param organizationId
|
|
81
|
+
* @param authConfigName
|
|
82
|
+
* @param search
|
|
83
|
+
* @param limit
|
|
84
|
+
* @returns AppTriggerListResponseSchema Successful Response
|
|
85
|
+
* @throws ApiError
|
|
86
|
+
*/
|
|
87
|
+
static applicationTriggerList(organizationId: string, authConfigName: string, search?: (string | null), limit?: number): CancelablePromise<AppTriggerListResponseSchema>;
|
|
88
|
+
/**
|
|
89
|
+
* Get Application Trigger
|
|
90
|
+
* @param organizationId
|
|
91
|
+
* @param authConfigName
|
|
92
|
+
* @param triggerName
|
|
93
|
+
* @returns AppTriggerResponseSchema Successful Response
|
|
94
|
+
* @throws ApiError
|
|
95
|
+
*/
|
|
96
|
+
static applicationTriggerGet(organizationId: string, authConfigName: string, triggerName: string): CancelablePromise<AppTriggerResponseSchema>;
|
|
87
97
|
}
|
|
@@ -23,43 +23,18 @@ export class ApplicationsService {
|
|
|
23
23
|
});
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
27
|
-
* Get
|
|
26
|
+
* Get Application
|
|
27
|
+
* Get a specific application by ID along with its operation catalog
|
|
28
28
|
* @param applicationId
|
|
29
|
-
* @
|
|
30
|
-
* @param limit
|
|
31
|
-
* @param pageToken
|
|
32
|
-
* @returns AppTriggerListResponseSchema Successful Response
|
|
33
|
-
* @throws ApiError
|
|
34
|
-
*/
|
|
35
|
-
static applicationTriggerList(applicationId, search, limit = 100, pageToken) {
|
|
36
|
-
return __request(OpenAPI, {
|
|
37
|
-
method: 'GET',
|
|
38
|
-
url: '/integrations/applications/triggers',
|
|
39
|
-
query: {
|
|
40
|
-
'application_id': applicationId,
|
|
41
|
-
'search': search,
|
|
42
|
-
'limit': limit,
|
|
43
|
-
'page_token': pageToken,
|
|
44
|
-
},
|
|
45
|
-
errors: {
|
|
46
|
-
422: `Validation Error`,
|
|
47
|
-
},
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* Get Trigger
|
|
52
|
-
* Get a specific trigger by ID
|
|
53
|
-
* @param triggerId
|
|
54
|
-
* @returns AppTriggerResponseSchema Successful Response
|
|
29
|
+
* @returns ApplicationDetailResponseSchema Successful Response
|
|
55
30
|
* @throws ApiError
|
|
56
31
|
*/
|
|
57
|
-
static
|
|
32
|
+
static applicationGet(applicationId) {
|
|
58
33
|
return __request(OpenAPI, {
|
|
59
34
|
method: 'GET',
|
|
60
|
-
url: '/integrations/applications/
|
|
35
|
+
url: '/integrations/applications/{application_id}',
|
|
61
36
|
path: {
|
|
62
|
-
'
|
|
37
|
+
'application_id': applicationId,
|
|
63
38
|
},
|
|
64
39
|
errors: {
|
|
65
40
|
422: `Validation Error`,
|
|
@@ -67,19 +42,23 @@ export class ApplicationsService {
|
|
|
67
42
|
});
|
|
68
43
|
}
|
|
69
44
|
/**
|
|
70
|
-
* Get Application
|
|
71
|
-
* Get
|
|
45
|
+
* Get Application Skill
|
|
46
|
+
* Get the skill guide markdown for an application. Pass `provider=lemma` or `provider=composio` to get provider-specific instructions when the app supports both. Falls back to the generic doc if no provider-specific file exists. Returns 404 if no skill doc has been generated yet.
|
|
72
47
|
* @param applicationId
|
|
73
|
-
* @
|
|
48
|
+
* @param provider Provider override: lemma or composio
|
|
49
|
+
* @returns ApplicationSkillResponse Successful Response
|
|
74
50
|
* @throws ApiError
|
|
75
51
|
*/
|
|
76
|
-
static
|
|
52
|
+
static applicationSkillGet(applicationId, provider) {
|
|
77
53
|
return __request(OpenAPI, {
|
|
78
54
|
method: 'GET',
|
|
79
|
-
url: '/integrations/applications/{application_id}',
|
|
55
|
+
url: '/integrations/applications/{application_id}/skill',
|
|
80
56
|
path: {
|
|
81
57
|
'application_id': applicationId,
|
|
82
58
|
},
|
|
59
|
+
query: {
|
|
60
|
+
'provider': provider,
|
|
61
|
+
},
|
|
83
62
|
errors: {
|
|
84
63
|
422: `Validation Error`,
|
|
85
64
|
},
|
|
@@ -181,4 +160,52 @@ export class ApplicationsService {
|
|
|
181
160
|
},
|
|
182
161
|
});
|
|
183
162
|
}
|
|
163
|
+
/**
|
|
164
|
+
* List Application Triggers
|
|
165
|
+
* @param organizationId
|
|
166
|
+
* @param authConfigName
|
|
167
|
+
* @param search
|
|
168
|
+
* @param limit
|
|
169
|
+
* @returns AppTriggerListResponseSchema Successful Response
|
|
170
|
+
* @throws ApiError
|
|
171
|
+
*/
|
|
172
|
+
static applicationTriggerList(organizationId, authConfigName, search, limit = 100) {
|
|
173
|
+
return __request(OpenAPI, {
|
|
174
|
+
method: 'GET',
|
|
175
|
+
url: '/organizations/{organization_id}/integrations/{auth_config_name}/triggers',
|
|
176
|
+
path: {
|
|
177
|
+
'organization_id': organizationId,
|
|
178
|
+
'auth_config_name': authConfigName,
|
|
179
|
+
},
|
|
180
|
+
query: {
|
|
181
|
+
'search': search,
|
|
182
|
+
'limit': limit,
|
|
183
|
+
},
|
|
184
|
+
errors: {
|
|
185
|
+
422: `Validation Error`,
|
|
186
|
+
},
|
|
187
|
+
});
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* Get Application Trigger
|
|
191
|
+
* @param organizationId
|
|
192
|
+
* @param authConfigName
|
|
193
|
+
* @param triggerName
|
|
194
|
+
* @returns AppTriggerResponseSchema Successful Response
|
|
195
|
+
* @throws ApiError
|
|
196
|
+
*/
|
|
197
|
+
static applicationTriggerGet(organizationId, authConfigName, triggerName) {
|
|
198
|
+
return __request(OpenAPI, {
|
|
199
|
+
method: 'GET',
|
|
200
|
+
url: '/organizations/{organization_id}/integrations/{auth_config_name}/triggers/{trigger_name}',
|
|
201
|
+
path: {
|
|
202
|
+
'organization_id': organizationId,
|
|
203
|
+
'auth_config_name': authConfigName,
|
|
204
|
+
'trigger_name': triggerName,
|
|
205
|
+
},
|
|
206
|
+
errors: {
|
|
207
|
+
422: `Validation Error`,
|
|
208
|
+
},
|
|
209
|
+
});
|
|
210
|
+
}
|
|
184
211
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { ConvertedFileResponse } from '../models/ConvertedFileResponse.js';
|
|
2
2
|
import type { CreateFolderRequest } from '../models/CreateFolderRequest.js';
|
|
3
3
|
import type { DatastoreFileUploadRequest } from '../models/DatastoreFileUploadRequest.js';
|
|
4
|
-
import type { DatastoreMessageResponse } from '../models/DatastoreMessageResponse.js';
|
|
5
4
|
import type { DirectoryTreeResponse } from '../models/DirectoryTreeResponse.js';
|
|
6
5
|
import type { FileDetailResponse } from '../models/FileDetailResponse.js';
|
|
7
6
|
import type { FileListResponse } from '../models/FileListResponse.js';
|
|
@@ -32,10 +31,10 @@ export declare class FilesService {
|
|
|
32
31
|
* Delete File Or Folder
|
|
33
32
|
* @param podId
|
|
34
33
|
* @param path
|
|
35
|
-
* @returns
|
|
34
|
+
* @returns void
|
|
36
35
|
* @throws ApiError
|
|
37
36
|
*/
|
|
38
|
-
static fileDelete(podId: string, path: string): CancelablePromise<
|
|
37
|
+
static fileDelete(podId: string, path: string): CancelablePromise<void>;
|
|
39
38
|
/**
|
|
40
39
|
* Get File
|
|
41
40
|
* @param podId
|
|
@@ -23,7 +23,7 @@ export declare class FunctionsService {
|
|
|
23
23
|
static functionList(podId: string, limit?: number, pageToken?: (string | null)): CancelablePromise<FunctionListResponse>;
|
|
24
24
|
/**
|
|
25
25
|
* Create Function
|
|
26
|
-
* Create a new function in a pod. Do not send input_schema or
|
|
26
|
+
* Create a new function in a pod. Do not send input_schema, output_schema, or config_schema; the platform derives those schemas from the function code and returns them in the response.
|
|
27
27
|
* @param podId
|
|
28
28
|
* @param requestBody
|
|
29
29
|
* @returns FunctionActionResponse Successful Response
|