lemma-sdk 0.2.44 → 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 +1 -1
- package/dist/assistant-events.d.ts +1 -0
- package/dist/assistant-events.js +25 -0
- package/dist/browser/lemma-client.js +264 -152
- 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/namespaces/files.d.ts +6 -24
- package/dist/namespaces/files.js +6 -16
- package/dist/namespaces/integrations.js +4 -4
- 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 +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 +20 -37
- package/dist/openapi_client/index.js +3 -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/ApplicationSkillResponse.d.ts +6 -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 +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/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/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/AgentSurfacesService.d.ts +39 -10
- package/dist/openapi_client/services/AgentSurfacesService.js +86 -20
- package/dist/openapi_client/services/ApplicationsService.d.ts +10 -0
- package/dist/openapi_client/services/ApplicationsService.js +23 -0
- 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 +21 -22
- package/dist/openapi_client/services/RecordsService.js +13 -13
- 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/useAddPodMember.js +1 -1
- package/dist/react/useAssistantController.d.ts +1 -0
- package/dist/react/useAssistantController.js +5 -1
- package/dist/react/useAssistantSession.d.ts +1 -0
- package/dist/react/useAssistantSession.js +41 -0
- package/dist/react/useBulkRecords.d.ts +5 -5
- package/dist/react/useBulkRecords.js +5 -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/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.js +1 -3
- package/dist/react/useWorkflowStart.js +11 -26
- package/dist/react/utils.js +2 -0
- package/dist/types.d.ts +3 -3
- 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/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/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 → ConnectedAccountSummary.js} +0 -0
- /package/dist/openapi_client/models/{CancelSubscriptionResponse.js → DatastoreCountResponse.js} +0 -0
- /package/dist/openapi_client/models/{CreateInvoicePaymentUrlRequest.js → InstalledAppSummary.js} +0 -0
- /package/dist/openapi_client/models/{CreateInvoicePaymentUrlResponse.js → IntegrationStatusResponse.js} +0 -0
- /package/dist/openapi_client/models/{DatastoreMessageResponse.js → StepRecordResponse.js} +0 -0
- /package/dist/openapi_client/models/{FlowRunEntity.js → SurfaceChannelRouteInput.js} +0 -0
- /package/dist/openapi_client/models/{GmailSurfaceConfig.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
|
@@ -9,14 +9,11 @@ export { AgentRunApprovalDecision } from './models/AgentRunApprovalDecision.js';
|
|
|
9
9
|
export { AgentSurfaceStatus } from './models/AgentSurfaceStatus.js';
|
|
10
10
|
export { AgentToolset } from './models/AgentToolset.js';
|
|
11
11
|
export { AuthScheme } from './models/AuthScheme.js';
|
|
12
|
-
export { BillingInterval } from './models/BillingInterval.js';
|
|
13
|
-
export { BillingInvoiceStatus } from './models/BillingInvoiceStatus.js';
|
|
14
12
|
export { ConversationStatus } from './models/ConversationStatus.js';
|
|
15
13
|
export { ConversationType } from './models/ConversationType.js';
|
|
16
14
|
export { CredentialTypes } from './models/CredentialTypes.js';
|
|
17
15
|
export { DatastoreDataType } from './models/DatastoreDataType.js';
|
|
18
16
|
export { DatastoreOperation } from './models/DatastoreOperation.js';
|
|
19
|
-
export { DeskServingConfigResponse } from './models/DeskServingConfigResponse.js';
|
|
20
17
|
export { DeskStatus } from './models/DeskStatus.js';
|
|
21
18
|
export { FeedbackCategory } from './models/FeedbackCategory.js';
|
|
22
19
|
export { FileSearchScopeMode } from './models/FileSearchScopeMode.js';
|
|
@@ -27,7 +24,6 @@ export { FunctionType } from './models/FunctionType.js';
|
|
|
27
24
|
export { HarnessKind } from './models/HarnessKind.js';
|
|
28
25
|
export { OrganizationInvitationStatus } from './models/OrganizationInvitationStatus.js';
|
|
29
26
|
export { OrganizationRole } from './models/OrganizationRole.js';
|
|
30
|
-
export { PlanType } from './models/PlanType.js';
|
|
31
27
|
export { PodAppMode } from './models/PodAppMode.js';
|
|
32
28
|
export { PodJoinRequestStatus } from './models/PodJoinRequestStatus.js';
|
|
33
29
|
export { PodRole } from './models/PodRole.js';
|
|
@@ -39,13 +35,12 @@ export { RuntimeProfileProtocol } from './models/RuntimeProfileProtocol.js';
|
|
|
39
35
|
export { RuntimeProfileScope } from './models/RuntimeProfileScope.js';
|
|
40
36
|
export { RuntimeProfileStatus } from './models/RuntimeProfileStatus.js';
|
|
41
37
|
export { ScheduledFlowStartType } from './models/ScheduledFlowStartType.js';
|
|
38
|
+
export { ScheduleFireStatus } from './models/ScheduleFireStatus.js';
|
|
42
39
|
export { ScheduleType } from './models/ScheduleType.js';
|
|
43
40
|
export { SearchMethod } from './models/SearchMethod.js';
|
|
44
|
-
export {
|
|
45
|
-
export {
|
|
46
|
-
export { SurfaceMode } from './models/SurfaceMode.js';
|
|
41
|
+
export { StepStatus } from './models/StepStatus.js';
|
|
42
|
+
export { SurfaceCredentialMode } from './models/SurfaceCredentialMode.js';
|
|
47
43
|
export { SurfacePlatform } from './models/SurfacePlatform.js';
|
|
48
|
-
export { SurfaceRoutingScope } from './models/SurfaceRoutingScope.js';
|
|
49
44
|
export { SurfaceSetupFieldSource } from './models/SurfaceSetupFieldSource.js';
|
|
50
45
|
export { SurfaceSetupMode } from './models/SurfaceSetupMode.js';
|
|
51
46
|
export { SurfaceSetupPhase } from './models/SurfaceSetupPhase.js';
|
|
@@ -60,8 +55,6 @@ export { AgentSurfacesIngressService } from './services/AgentSurfacesIngressServ
|
|
|
60
55
|
export { AgentToolsService } from './services/AgentToolsService.js';
|
|
61
56
|
export { ApplicationsService } from './services/ApplicationsService.js';
|
|
62
57
|
export { AuthService } from './services/AuthService.js';
|
|
63
|
-
export { BillingSubscriptionsService } from './services/BillingSubscriptionsService.js';
|
|
64
|
-
export { BillingWebhooksService } from './services/BillingWebhooksService.js';
|
|
65
58
|
export { DefaultService } from './services/DefaultService.js';
|
|
66
59
|
export { DesksService } from './services/DesksService.js';
|
|
67
60
|
export { FilesService } from './services/FilesService.js';
|
|
@@ -75,7 +68,6 @@ export { PodPermissionsService } from './services/PodPermissionsService.js';
|
|
|
75
68
|
export { PodResourceAccessService } from './services/PodResourceAccessService.js';
|
|
76
69
|
export { PodRolesService } from './services/PodRolesService.js';
|
|
77
70
|
export { PodsService } from './services/PodsService.js';
|
|
78
|
-
export { PublicDesksService } from './services/PublicDesksService.js';
|
|
79
71
|
export { QueryService } from './services/QueryService.js';
|
|
80
72
|
export { RecordsService } from './services/RecordsService.js';
|
|
81
73
|
export { SchedulesService } from './services/SchedulesService.js';
|
|
@@ -9,7 +9,7 @@ export type AgentNodeConfig = {
|
|
|
9
9
|
*/
|
|
10
10
|
agent_name: string;
|
|
11
11
|
/**
|
|
12
|
-
* Explicit mapping from
|
|
12
|
+
* Explicit mapping from agent input key to either an expression or a literal JSON value. Strings are never auto-interpreted.
|
|
13
13
|
*/
|
|
14
14
|
input_mapping?: Record<string, (ExpressionInputBinding | LiteralInputBinding)>;
|
|
15
15
|
};
|
|
@@ -5,7 +5,12 @@ import type { RuntimeProfileProtocol } from './RuntimeProfileProtocol.js';
|
|
|
5
5
|
import type { RuntimeProfileScope } from './RuntimeProfileScope.js';
|
|
6
6
|
import type { RuntimeProfileStatus } from './RuntimeProfileStatus.js';
|
|
7
7
|
export type AgentRuntimeProfileResponse = {
|
|
8
|
+
availability_status?: (string | null);
|
|
8
9
|
config?: Record<string, any>;
|
|
10
|
+
daemon_display_name?: (string | null);
|
|
11
|
+
daemon_harness_available?: (boolean | null);
|
|
12
|
+
daemon_id?: (string | null);
|
|
13
|
+
daemon_status?: (string | null);
|
|
9
14
|
default_model_name?: (string | null);
|
|
10
15
|
derived_harness_kind: HarnessKind;
|
|
11
16
|
description?: (string | null);
|
|
@@ -19,4 +24,5 @@ export type AgentRuntimeProfileResponse = {
|
|
|
19
24
|
protocol: RuntimeProfileProtocol;
|
|
20
25
|
scope: RuntimeProfileScope;
|
|
21
26
|
status: RuntimeProfileStatus;
|
|
27
|
+
user_id?: (string | null);
|
|
22
28
|
};
|
|
@@ -1,31 +1,20 @@
|
|
|
1
1
|
import type { AgentSurfaceStatus } from './AgentSurfaceStatus.js';
|
|
2
|
-
import type {
|
|
3
|
-
import type {
|
|
4
|
-
import type { SlackSurfaceConfig } from './SlackSurfaceConfig.js';
|
|
5
|
-
import type { SurfaceEventMode } from './SurfaceEventMode.js';
|
|
6
|
-
import type { SurfaceMode } from './SurfaceMode.js';
|
|
2
|
+
import type { SurfaceConfigResponse } from './SurfaceConfigResponse.js';
|
|
3
|
+
import type { SurfaceCredentialMode } from './SurfaceCredentialMode.js';
|
|
7
4
|
import type { SurfacePlatform } from './SurfacePlatform.js';
|
|
8
|
-
import type { SurfaceRoutingScope } from './SurfaceRoutingScope.js';
|
|
9
|
-
import type { TeamsSurfaceConfig } from './TeamsSurfaceConfig.js';
|
|
10
|
-
import type { TelegramSurfaceConfig } from './TelegramSurfaceConfig.js';
|
|
11
|
-
import type { WhatsAppSurfaceConfig } from './WhatsAppSurfaceConfig.js';
|
|
12
5
|
export type AgentSurfaceResponse = {
|
|
13
6
|
account_id?: (string | null);
|
|
14
7
|
agent_id?: (string | null);
|
|
15
8
|
agent_name?: (string | null);
|
|
16
|
-
config:
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
external_tenant_id?: (string | null);
|
|
20
|
-
external_workspace_id?: (string | null);
|
|
9
|
+
config: SurfaceConfigResponse;
|
|
10
|
+
credential_mode?: SurfaceCredentialMode;
|
|
11
|
+
default_agent_id?: (string | null);
|
|
21
12
|
id: string;
|
|
22
|
-
is_active: boolean;
|
|
23
|
-
mode: SurfaceMode;
|
|
24
13
|
platform: SurfacePlatform;
|
|
25
14
|
pod_id: string;
|
|
26
|
-
routing_scope?: SurfaceRoutingScope;
|
|
27
15
|
status?: AgentSurfaceStatus;
|
|
28
16
|
surface_identity_id?: (string | null);
|
|
17
|
+
surface_identity_username?: (string | null);
|
|
29
18
|
surface_type: string;
|
|
30
19
|
uses_default_agent?: boolean;
|
|
31
20
|
webhook_url?: (string | null);
|
|
@@ -7,4 +7,6 @@ export var AgentSurfaceStatus;
|
|
|
7
7
|
AgentSurfaceStatus["ACTIVE"] = "ACTIVE";
|
|
8
8
|
AgentSurfaceStatus["PENDING_ADMIN_CONSENT"] = "PENDING_ADMIN_CONSENT";
|
|
9
9
|
AgentSurfaceStatus["INACTIVE"] = "INACTIVE";
|
|
10
|
+
AgentSurfaceStatus["NEEDS_SETUP"] = "NEEDS_SETUP";
|
|
11
|
+
AgentSurfaceStatus["ERROR"] = "ERROR";
|
|
10
12
|
})(AgentSurfaceStatus || (AgentSurfaceStatus = {}));
|
|
@@ -21,6 +21,10 @@ export type CreateScheduleRequest = {
|
|
|
21
21
|
* Optional schema for the schedule-level filter output. Filters belong to the schedule, not the workflow start.
|
|
22
22
|
*/
|
|
23
23
|
filter_output_schema?: (Record<string, any> | null);
|
|
24
|
+
/**
|
|
25
|
+
* Stable pod-scoped schedule name used for import/export upserts.
|
|
26
|
+
*/
|
|
27
|
+
name?: (string | null);
|
|
24
28
|
schedule_type: ScheduleType;
|
|
25
29
|
visibility?: (string | null);
|
|
26
30
|
workflow_name?: (string | null);
|
|
@@ -1,17 +1,10 @@
|
|
|
1
1
|
import type { SurfaceBehaviorConfigInput } from './SurfaceBehaviorConfigInput.js';
|
|
2
|
-
import type {
|
|
3
|
-
import type { SurfaceMode } from './SurfaceMode.js';
|
|
2
|
+
import type { SurfaceCredentialMode } from './SurfaceCredentialMode.js';
|
|
4
3
|
import type { SurfacePlatform } from './SurfacePlatform.js';
|
|
5
|
-
import type { SurfaceRoutingScope } from './SurfaceRoutingScope.js';
|
|
6
4
|
export type CreateSurfaceRequest = {
|
|
7
5
|
account_id?: (string | null);
|
|
8
|
-
agent_name?: (string | null);
|
|
9
6
|
config?: SurfaceBehaviorConfigInput;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
external_tenant_id?: (string | null);
|
|
13
|
-
external_workspace_id?: (string | null);
|
|
14
|
-
mode: SurfaceMode;
|
|
7
|
+
credential_mode?: SurfaceCredentialMode;
|
|
8
|
+
default_agent_name?: (string | null);
|
|
15
9
|
platform: SurfacePlatform;
|
|
16
|
-
routing_scope?: SurfaceRoutingScope;
|
|
17
10
|
};
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import type { HarnessKind } from './HarnessKind.js';
|
|
2
|
+
import type { RuntimeProfileScope } from './RuntimeProfileScope.js';
|
|
2
3
|
export type CreateUserDaemonRuntimeProfileRequest = {
|
|
3
4
|
daemon_id: string;
|
|
4
5
|
default_model_name?: (string | null);
|
|
5
6
|
description?: (string | null);
|
|
6
7
|
harness_kind: HarnessKind;
|
|
7
8
|
name: string;
|
|
9
|
+
scope?: RuntimeProfileScope;
|
|
8
10
|
source?: string;
|
|
9
11
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { DatastoreOperation } from './DatastoreOperation.js';
|
|
2
2
|
export type DataStoreFlowStartInput = {
|
|
3
3
|
/**
|
|
4
|
-
* Datastore operations that should trigger this flow.
|
|
4
|
+
* Datastore operations that should trigger this flow. One or more of INSERT, UPDATE, DELETE.
|
|
5
5
|
*/
|
|
6
6
|
operations?: Array<DatastoreOperation>;
|
|
7
7
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { DatastoreOperation } from './DatastoreOperation.js';
|
|
2
2
|
export type DataStoreFlowStartOutput = {
|
|
3
3
|
/**
|
|
4
|
-
* Datastore operations that should trigger this flow.
|
|
4
|
+
* Datastore operations that should trigger this flow. One or more of INSERT, UPDATE, DELETE.
|
|
5
5
|
*/
|
|
6
6
|
operations?: Array<DatastoreOperation>;
|
|
7
7
|
/**
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { DecisionNodeConfig } from './DecisionNodeConfig.js';
|
|
2
2
|
/**
|
|
3
|
-
* Decision node.
|
|
3
|
+
* Decision node. Routes to the first rule whose condition is truthy;
|
|
4
|
+
* falls through to the default outgoing edge when no rule matches.
|
|
4
5
|
*/
|
|
5
6
|
export type DecisionNode = {
|
|
6
7
|
config: DecisionNodeConfig;
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Resolve a
|
|
2
|
+
* Resolve a value from the run context using a JMESPath expression.
|
|
3
3
|
*/
|
|
4
4
|
export type ExpressionInputBinding = {
|
|
5
|
+
/**
|
|
6
|
+
* When true, an expression that resolves to nothing yields null instead of failing the run.
|
|
7
|
+
*/
|
|
8
|
+
optional?: boolean;
|
|
5
9
|
type?: string;
|
|
6
10
|
/**
|
|
7
|
-
*
|
|
11
|
+
* JMESPath expression evaluated against the run context. Example: `start.payload.issue.key` or `collect_input.amount`. Expressions that resolve to nothing fail the run unless `optional` is set.
|
|
8
12
|
*/
|
|
9
13
|
value: string;
|
|
10
14
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { FileSearchResultSchema } from './FileSearchResultSchema.js';
|
|
2
2
|
import type { SearchMethod } from './SearchMethod.js';
|
|
3
3
|
export type FileSearchResponse = {
|
|
4
|
+
items: Array<FileSearchResultSchema>;
|
|
4
5
|
query: string;
|
|
5
|
-
results: Array<FileSearchResultSchema>;
|
|
6
6
|
search_method: SearchMethod;
|
|
7
|
-
|
|
7
|
+
total: number;
|
|
8
8
|
};
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Status of a flow run.
|
|
3
|
+
*
|
|
4
|
+
* PENDING exists only in memory before the first advance; persisted runs
|
|
5
|
+
* are RUNNING, WAITING, or terminal. What a WAITING run waits on is the
|
|
6
|
+
* active wait row's wait_type.
|
|
3
7
|
*/
|
|
4
8
|
export declare enum FlowRunStatus {
|
|
5
9
|
PENDING = "PENDING",
|
|
6
10
|
RUNNING = "RUNNING",
|
|
7
11
|
WAITING = "WAITING",
|
|
8
|
-
EXECUTING = "EXECUTING",
|
|
9
12
|
COMPLETED = "COMPLETED",
|
|
10
13
|
FAILED = "FAILED",
|
|
11
14
|
CANCELLED = "CANCELLED"
|
|
@@ -4,13 +4,16 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
/**
|
|
6
6
|
* Status of a flow run.
|
|
7
|
+
*
|
|
8
|
+
* PENDING exists only in memory before the first advance; persisted runs
|
|
9
|
+
* are RUNNING, WAITING, or terminal. What a WAITING run waits on is the
|
|
10
|
+
* active wait row's wait_type.
|
|
7
11
|
*/
|
|
8
12
|
export var FlowRunStatus;
|
|
9
13
|
(function (FlowRunStatus) {
|
|
10
14
|
FlowRunStatus["PENDING"] = "PENDING";
|
|
11
15
|
FlowRunStatus["RUNNING"] = "RUNNING";
|
|
12
16
|
FlowRunStatus["WAITING"] = "WAITING";
|
|
13
|
-
FlowRunStatus["EXECUTING"] = "EXECUTING";
|
|
14
17
|
FlowRunStatus["COMPLETED"] = "COMPLETED";
|
|
15
18
|
FlowRunStatus["FAILED"] = "FAILED";
|
|
16
19
|
FlowRunStatus["CANCELLED"] = "CANCELLED";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { FunctionNodeConfig } from './FunctionNodeConfig.js';
|
|
2
2
|
/**
|
|
3
|
-
* Function node.
|
|
3
|
+
* Function node. Completes inline for synchronous functions or waits on
|
|
4
|
+
* the function run for asynchronous ones.
|
|
4
5
|
*/
|
|
5
6
|
export type FunctionNode = {
|
|
6
7
|
config: FunctionNodeConfig;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ConnectedAccountSummary } from './ConnectedAccountSummary.js';
|
|
2
|
+
import type { InstalledAppSummary } from './InstalledAppSummary.js';
|
|
3
|
+
export type IntegrationStatusResponse = {
|
|
4
|
+
accounts: Array<ConnectedAccountSummary>;
|
|
5
|
+
installed: Array<InstalledAppSummary>;
|
|
6
|
+
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { LoopNodeConfig } from './LoopNodeConfig.js';
|
|
2
2
|
/**
|
|
3
|
-
* Loop node.
|
|
3
|
+
* Loop node. Iterates the body chain once per item; the aggregated
|
|
4
|
+
* output is `{results: [...], count: n}` under the loop node id.
|
|
4
5
|
*/
|
|
5
6
|
export type LoopNode = {
|
|
6
7
|
config: LoopNodeConfig;
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export type LoopNodeConfig = {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Id of the first node of the loop body executed per item.
|
|
7
7
|
*/
|
|
8
8
|
child_node_id: string;
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Alias for the current item inside the loop body, available as `loop.<item_var_name>` (the item is always available as `loop.item`).
|
|
11
11
|
*/
|
|
12
12
|
item_var_name?: string;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* JMESPath to an array in the run context to iterate over.
|
|
15
15
|
*/
|
|
16
16
|
items_path: string;
|
|
17
17
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { PodRole } from './PodRole.js';
|
|
2
1
|
import type { UserResponse } from './UserResponse.js';
|
|
3
2
|
/**
|
|
4
3
|
* Pod member detail response schema.
|
|
@@ -7,7 +6,6 @@ export type PodMemberDetailResponse = {
|
|
|
7
6
|
created_at: string;
|
|
8
7
|
email: string;
|
|
9
8
|
pod_member_id: string;
|
|
10
|
-
role: PodRole;
|
|
11
9
|
roles?: Array<string>;
|
|
12
10
|
updated_at: string;
|
|
13
11
|
user?: (UserResponse | null);
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { PodRole } from './PodRole.js';
|
|
2
1
|
/**
|
|
3
2
|
* Pod member response schema.
|
|
4
3
|
*/
|
|
@@ -6,7 +5,6 @@ export type PodMemberResponse = {
|
|
|
6
5
|
created_at: string;
|
|
7
6
|
email: string;
|
|
8
7
|
pod_member_id: string;
|
|
9
|
-
role: PodRole;
|
|
10
8
|
roles?: Array<string>;
|
|
11
9
|
updated_at: string;
|
|
12
10
|
user_email: string;
|
|
@@ -2,6 +2,6 @@ import type { ResourceAccessGrantResponse } from './ResourceAccessGrantResponse.
|
|
|
2
2
|
import type { ResourceType } from './ResourceType.js';
|
|
3
3
|
export type ResourceAccessResponse = {
|
|
4
4
|
grants?: Array<ResourceAccessGrantResponse>;
|
|
5
|
-
|
|
5
|
+
resource_name: string;
|
|
6
6
|
resource_type: ResourceType;
|
|
7
7
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ScheduleFireStatus } from './ScheduleFireStatus.js';
|
|
1
2
|
import type { ScheduleType } from './ScheduleType.js';
|
|
2
3
|
/**
|
|
3
4
|
* Schedule detail response.
|
|
@@ -15,6 +16,11 @@ export type ScheduleDetailResponse = {
|
|
|
15
16
|
id: string;
|
|
16
17
|
is_active: boolean;
|
|
17
18
|
is_internal: boolean;
|
|
19
|
+
last_error?: (string | null);
|
|
20
|
+
last_fire_status?: (ScheduleFireStatus | null);
|
|
21
|
+
last_fired_at?: (string | null);
|
|
22
|
+
last_run_id?: (string | null);
|
|
23
|
+
name: (string | null);
|
|
18
24
|
pod_id: (string | null);
|
|
19
25
|
schedule_type: ScheduleType;
|
|
20
26
|
updated_at: string;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* Outcome of the most recent fire attempt, recorded for debuggability.
|
|
7
|
+
*/
|
|
8
|
+
export var ScheduleFireStatus;
|
|
9
|
+
(function (ScheduleFireStatus) {
|
|
10
|
+
ScheduleFireStatus["TRIGGERED"] = "TRIGGERED";
|
|
11
|
+
ScheduleFireStatus["FILTERED"] = "FILTERED";
|
|
12
|
+
ScheduleFireStatus["ERROR"] = "ERROR";
|
|
13
|
+
})(ScheduleFireStatus || (ScheduleFireStatus = {}));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { StepStatus } from './StepStatus.js';
|
|
2
|
+
export type StepRecordResponse = {
|
|
3
|
+
completed_at?: (string | null);
|
|
4
|
+
error?: (string | null);
|
|
5
|
+
node_id: string;
|
|
6
|
+
output_data?: null;
|
|
7
|
+
started_at: string;
|
|
8
|
+
status: StepStatus;
|
|
9
|
+
step_index: number;
|
|
10
|
+
};
|