lemma-sdk 0.2.33 → 0.2.35
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 +71 -98
- package/dist/browser/lemma-client.js +70 -15
- package/dist/index.d.ts +3 -1
- package/dist/index.js +2 -1
- package/dist/namespaces/pod-surfaces.js +1 -1
- package/dist/namespaces/workflows.d.ts +1 -1
- package/dist/openapi_client/index.d.ts +50 -12
- package/dist/openapi_client/index.js +10 -2
- package/dist/openapi_client/models/AdminConsentInfoResponse.d.ts +6 -0
- package/dist/openapi_client/models/AssistantSurfaceResponse.d.ts +16 -1
- package/dist/openapi_client/models/AssistantSurfaceStatus.d.ts +5 -0
- package/dist/openapi_client/models/AssistantSurfaceStatus.js +10 -0
- package/dist/openapi_client/models/ConversationMessageResponse.d.ts +4 -0
- package/dist/openapi_client/models/ConversationResponse.d.ts +3 -0
- package/dist/openapi_client/models/ConversationType.d.ts +8 -0
- package/dist/openapi_client/models/ConversationType.js +13 -0
- package/dist/openapi_client/models/CreateSurfaceRequest.d.ts +16 -5
- package/dist/openapi_client/models/{DataStoreFlowStart.d.ts → DataStoreFlowStartInput.d.ts} +1 -1
- package/dist/openapi_client/models/DataStoreFlowStartOutput.d.ts +11 -0
- package/dist/openapi_client/models/DataStoreWorkflowStartInput.d.ts +11 -0
- package/dist/openapi_client/models/DataStoreWorkflowStartOutput.d.ts +11 -0
- package/dist/openapi_client/models/DatastoreDataType.d.ts +2 -0
- package/dist/openapi_client/models/DatastoreDataType.js +2 -0
- package/dist/openapi_client/models/{EventFlowStart.d.ts → EventFlowStartInput.d.ts} +1 -1
- package/dist/openapi_client/models/EventFlowStartOutput.d.ts +19 -0
- package/dist/openapi_client/models/EventWorkflowStartInput.d.ts +11 -0
- package/dist/openapi_client/models/EventWorkflowStartOutput.d.ts +11 -0
- package/dist/openapi_client/models/FlowInstallResponse.d.ts +15 -0
- package/dist/openapi_client/models/FlowResponse.d.ts +5 -2
- package/dist/openapi_client/models/GmailSurfaceConfig.d.ts +7 -0
- package/dist/openapi_client/models/GmailSurfaceConfig.js +1 -0
- package/dist/openapi_client/models/GmailSurfaceConfigInput.d.ts +4 -0
- package/dist/openapi_client/models/GmailSurfaceConfigInput.js +1 -0
- package/dist/openapi_client/models/GrantPermissionRequest.d.ts +6 -0
- package/dist/openapi_client/models/GrantPermissionRequest.js +1 -0
- package/dist/openapi_client/models/ManualWorkflowStartInput.d.ts +10 -0
- package/dist/openapi_client/models/ManualWorkflowStartInput.js +1 -0
- package/dist/openapi_client/models/ManualWorkflowStartOutput.d.ts +10 -0
- package/dist/openapi_client/models/ManualWorkflowStartOutput.js +1 -0
- package/dist/openapi_client/models/OrganizationInvitationRequest.d.ts +2 -0
- package/dist/openapi_client/models/OrganizationInvitationResponse.d.ts +2 -0
- package/dist/openapi_client/models/OutlookSurfaceConfig.d.ts +7 -0
- package/dist/openapi_client/models/OutlookSurfaceConfig.js +1 -0
- package/dist/openapi_client/models/OutlookSurfaceConfigInput.d.ts +4 -0
- package/dist/openapi_client/models/OutlookSurfaceConfigInput.js +1 -0
- package/dist/openapi_client/models/ResourcePermissionListResponse.d.ts +4 -0
- package/dist/openapi_client/models/ResourcePermissionListResponse.js +1 -0
- package/dist/openapi_client/models/ResourcePermissionResponse.d.ts +12 -0
- package/dist/openapi_client/models/ResourcePermissionResponse.js +1 -0
- package/dist/openapi_client/models/{ScheduledFlowStart.d.ts → ScheduledFlowStartInput.d.ts} +1 -1
- package/dist/openapi_client/models/ScheduledFlowStartInput.js +1 -0
- package/dist/openapi_client/models/ScheduledFlowStartOutput.d.ts +7 -0
- package/dist/openapi_client/models/ScheduledFlowStartOutput.js +1 -0
- package/dist/openapi_client/models/ScheduledWorkflowStartInput.d.ts +11 -0
- package/dist/openapi_client/models/ScheduledWorkflowStartInput.js +1 -0
- package/dist/openapi_client/models/ScheduledWorkflowStartOutput.d.ts +11 -0
- package/dist/openapi_client/models/ScheduledWorkflowStartOutput.js +1 -0
- package/dist/openapi_client/models/SetVisibilityRequest.d.ts +3 -0
- package/dist/openapi_client/models/SetVisibilityRequest.js +1 -0
- package/dist/openapi_client/models/SlackCredentialsInput.d.ts +5 -0
- package/dist/openapi_client/models/SlackCredentialsInput.js +1 -0
- package/dist/openapi_client/models/SlackSurfaceConfig.d.ts +10 -0
- package/dist/openapi_client/models/SlackSurfaceConfig.js +1 -0
- package/dist/openapi_client/models/{SlackSurfaceConfigCreate.d.ts → SlackSurfaceConfigInput.d.ts} +1 -1
- package/dist/openapi_client/models/SlackSurfaceConfigInput.js +1 -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/SurfaceIntegrationSetupGuide.d.ts +13 -0
- package/dist/openapi_client/models/SurfaceIntegrationSetupGuide.js +1 -0
- package/dist/openapi_client/models/SurfacePlatform.d.ts +8 -0
- package/dist/openapi_client/models/SurfacePlatform.js +13 -0
- package/dist/openapi_client/models/SurfacePlatformSetupGuideResponse.d.ts +9 -0
- package/dist/openapi_client/models/SurfacePlatformSetupGuideResponse.js +1 -0
- package/dist/openapi_client/models/SurfaceRoutingScope.d.ts +4 -0
- package/dist/openapi_client/models/SurfaceRoutingScope.js +9 -0
- package/dist/openapi_client/models/SurfaceSetupField.d.ts +10 -0
- package/dist/openapi_client/models/SurfaceSetupField.js +1 -0
- package/dist/openapi_client/models/SurfaceSetupFieldSource.d.ts +4 -0
- package/dist/openapi_client/models/SurfaceSetupFieldSource.js +9 -0
- package/dist/openapi_client/models/SurfaceSetupMode.d.ts +5 -0
- package/dist/openapi_client/models/SurfaceSetupMode.js +10 -0
- package/dist/openapi_client/models/SurfaceSetupPhase.d.ts +6 -0
- package/dist/openapi_client/models/SurfaceSetupPhase.js +11 -0
- package/dist/openapi_client/models/SurfaceSetupStep.d.ts +6 -0
- package/dist/openapi_client/models/SurfaceSetupStep.js +1 -0
- package/dist/openapi_client/models/SurfaceWebhookMode.d.ts +4 -0
- package/dist/openapi_client/models/SurfaceWebhookMode.js +9 -0
- package/dist/openapi_client/models/TeamsCredentialsInput.d.ts +6 -0
- package/dist/openapi_client/models/TeamsCredentialsInput.js +1 -0
- package/dist/openapi_client/models/TeamsSurfaceConfig.d.ts +9 -0
- package/dist/openapi_client/models/TeamsSurfaceConfig.js +1 -0
- package/dist/openapi_client/models/{TeamsSurfaceConfigCreate.d.ts → TeamsSurfaceConfigInput.d.ts} +1 -1
- package/dist/openapi_client/models/TeamsSurfaceConfigInput.js +1 -0
- package/dist/openapi_client/models/TelegramCredentialsInput.d.ts +5 -0
- package/dist/openapi_client/models/TelegramCredentialsInput.js +1 -0
- package/dist/openapi_client/models/TelegramSurfaceConfig.d.ts +6 -0
- package/dist/openapi_client/models/TelegramSurfaceConfig.js +1 -0
- package/dist/openapi_client/models/TelegramSurfaceConfigInput.d.ts +6 -0
- package/dist/openapi_client/models/TelegramSurfaceConfigInput.js +1 -0
- package/dist/openapi_client/models/UpdateSurfaceRequest.d.ts +17 -5
- package/dist/openapi_client/models/WhatsAppCredentialsInput.d.ts +8 -0
- package/dist/openapi_client/models/WhatsAppCredentialsInput.js +1 -0
- package/dist/openapi_client/models/WhatsAppSurfaceConfig.d.ts +6 -0
- package/dist/openapi_client/models/WhatsAppSurfaceConfig.js +1 -0
- package/dist/openapi_client/models/WhatsAppSurfaceConfigInput.d.ts +6 -0
- package/dist/openapi_client/models/WhatsAppSurfaceConfigInput.js +1 -0
- package/dist/openapi_client/models/WorkflowCreateRequest.d.ts +5 -2
- package/dist/openapi_client/models/WorkflowGraphUpdateRequest.d.ts +5 -2
- package/dist/openapi_client/models/WorkflowUpdateRequest.d.ts +5 -2
- package/dist/openapi_client/services/AssistantSurfacesIngressService.d.ts +51 -0
- package/dist/openapi_client/services/AssistantSurfacesIngressService.js +111 -0
- package/dist/openapi_client/services/AssistantSurfacesService.d.ts +27 -6
- package/dist/openapi_client/services/AssistantSurfacesService.js +62 -7
- package/dist/openapi_client/services/AuthorizationService.d.ts +47 -0
- package/dist/openapi_client/services/AuthorizationService.js +100 -0
- package/dist/openapi_client/services/DesksService.d.ts +4 -4
- package/dist/openapi_client/services/DesksService.js +6 -6
- package/dist/openapi_client/services/WorkflowsService.d.ts +3 -3
- package/dist/openapi_client/services/WorkflowsService.js +1 -1
- package/dist/react/index.d.ts +20 -0
- package/dist/react/index.js +10 -0
- package/dist/react/sql-utils.d.ts +8 -0
- package/dist/react/sql-utils.js +62 -0
- package/dist/react/useAddPodMember.d.ts +22 -0
- package/dist/react/useAddPodMember.js +51 -0
- package/dist/react/useCreateFolder.d.ts +22 -0
- package/dist/react/useCreateFolder.js +47 -0
- package/dist/react/useDatastoreQuery.d.ts +22 -0
- package/dist/react/useDatastoreQuery.js +67 -0
- package/dist/react/useDeleteFile.d.ts +19 -0
- package/dist/react/useDeleteFile.js +51 -0
- package/dist/react/useGlobalSearch.d.ts +62 -0
- package/dist/react/useGlobalSearch.js +170 -0
- package/dist/react/useRecordAggregates.d.ts +35 -0
- package/dist/react/useRecordAggregates.js +126 -0
- package/dist/react/useRemovePodMember.d.ts +19 -0
- package/dist/react/useRemovePodMember.js +50 -0
- package/dist/react/useTaskSession.js +3 -2
- package/dist/react/useUpdateFile.d.ts +29 -0
- package/dist/react/useUpdateFile.js +51 -0
- package/dist/react/useUpdatePodMemberRole.d.ts +20 -0
- package/dist/react/useUpdatePodMemberRole.js +50 -0
- package/dist/react/useUploadFile.d.ts +24 -0
- package/dist/react/useUploadFile.js +46 -0
- package/dist/react/useWorkflowStart.d.ts +2 -2
- package/dist/record-display.d.ts +20 -0
- package/dist/record-display.js +78 -0
- package/dist/record-form.d.ts +4 -0
- package/dist/record-form.js +16 -0
- package/dist/types.d.ts +2 -0
- package/package.json +1 -1
- package/dist/openapi_client/models/EmailSurfaceConfigCreate.d.ts +0 -5
- package/dist/openapi_client/models/FlowInstallEntity.d.ts +0 -16
- package/dist/openapi_client/models/FlowStartType.d.ts +0 -6
- package/dist/openapi_client/models/FlowStartType.js +0 -11
- package/dist/openapi_client/models/FlowStart_Input.d.ts +0 -14
- package/dist/openapi_client/models/FlowStart_Output.d.ts +0 -14
- package/dist/openapi_client/models/WhatsAppSurfaceConfigCreate.d.ts +0 -5
- package/dist/openapi_client/services/PublicDesksService.d.ts +0 -10
- package/dist/openapi_client/services/PublicDesksService.js +0 -22
- /package/dist/openapi_client/models/{DataStoreFlowStart.js → AdminConsentInfoResponse.js} +0 -0
- /package/dist/openapi_client/models/{EmailSurfaceConfigCreate.js → DataStoreFlowStartInput.js} +0 -0
- /package/dist/openapi_client/models/{EventFlowStart.js → DataStoreFlowStartOutput.js} +0 -0
- /package/dist/openapi_client/models/{FlowInstallEntity.js → DataStoreWorkflowStartInput.js} +0 -0
- /package/dist/openapi_client/models/{FlowStart_Input.js → DataStoreWorkflowStartOutput.js} +0 -0
- /package/dist/openapi_client/models/{FlowStart_Output.js → EventFlowStartInput.js} +0 -0
- /package/dist/openapi_client/models/{ScheduledFlowStart.js → EventFlowStartOutput.js} +0 -0
- /package/dist/openapi_client/models/{SlackSurfaceConfigCreate.js → EventWorkflowStartInput.js} +0 -0
- /package/dist/openapi_client/models/{TeamsSurfaceConfigCreate.js → EventWorkflowStartOutput.js} +0 -0
- /package/dist/openapi_client/models/{WhatsAppSurfaceConfigCreate.js → FlowInstallResponse.js} +0 -0
|
@@ -7,6 +7,7 @@ export type { AccountListResponseSchema } from './models/AccountListResponseSche
|
|
|
7
7
|
export type { AccountResponseSchema } from './models/AccountResponseSchema.js';
|
|
8
8
|
export type { AddColumnRequest } from './models/AddColumnRequest.js';
|
|
9
9
|
export type { AddMessageRequest } from './models/AddMessageRequest.js';
|
|
10
|
+
export type { AdminConsentInfoResponse } from './models/AdminConsentInfoResponse.js';
|
|
10
11
|
export type { AgentListResponse } from './models/AgentListResponse.js';
|
|
11
12
|
export type { AgentMessageResponse } from './models/AgentMessageResponse.js';
|
|
12
13
|
export type { AgentNode } from './models/AgentNode.js';
|
|
@@ -26,6 +27,7 @@ export type { AssistantListResponse } from './models/AssistantListResponse.js';
|
|
|
26
27
|
export type { AssistantResponse } from './models/AssistantResponse.js';
|
|
27
28
|
export type { AssistantSurfaceListResponse } from './models/AssistantSurfaceListResponse.js';
|
|
28
29
|
export type { AssistantSurfaceResponse } from './models/AssistantSurfaceResponse.js';
|
|
30
|
+
export { AssistantSurfaceStatus } from './models/AssistantSurfaceStatus.js';
|
|
29
31
|
export type { AvailableModelInfo } from './models/AvailableModelInfo.js';
|
|
30
32
|
export { AvailableModels } from './models/AvailableModels.js';
|
|
31
33
|
export type { AvailableModelsListResponse } from './models/AvailableModelsListResponse.js';
|
|
@@ -43,6 +45,7 @@ export type { ConversationMessageListResponse } from './models/ConversationMessa
|
|
|
43
45
|
export type { ConversationMessageResponse } from './models/ConversationMessageResponse.js';
|
|
44
46
|
export type { ConversationResponse } from './models/ConversationResponse.js';
|
|
45
47
|
export { ConversationStatus } from './models/ConversationStatus.js';
|
|
48
|
+
export { ConversationType } from './models/ConversationType.js';
|
|
46
49
|
export type { ConvertedArtifactResponse } from './models/ConvertedArtifactResponse.js';
|
|
47
50
|
export type { ConvertedFileResponse } from './models/ConvertedFileResponse.js';
|
|
48
51
|
export type { CreateAgentRequest } from './models/CreateAgentRequest.js';
|
|
@@ -60,11 +63,14 @@ export type { CreateTriggerRequest } from './models/CreateTriggerRequest.js';
|
|
|
60
63
|
export { CredentialTypes } from './models/CredentialTypes.js';
|
|
61
64
|
export { DatastoreDataType } from './models/DatastoreDataType.js';
|
|
62
65
|
export type { DatastoreFileUploadRequest } from './models/DatastoreFileUploadRequest.js';
|
|
63
|
-
export type {
|
|
66
|
+
export type { DataStoreFlowStartInput } from './models/DataStoreFlowStartInput.js';
|
|
67
|
+
export type { DataStoreFlowStartOutput } from './models/DataStoreFlowStartOutput.js';
|
|
64
68
|
export type { DatastoreMessageResponse } from './models/DatastoreMessageResponse.js';
|
|
65
69
|
export { DatastoreOperation } from './models/DatastoreOperation.js';
|
|
66
70
|
export type { DatastoreQueryRequest } from './models/DatastoreQueryRequest.js';
|
|
67
71
|
export type { DatastoreQueryResponse } from './models/DatastoreQueryResponse.js';
|
|
72
|
+
export type { DataStoreWorkflowStartInput } from './models/DataStoreWorkflowStartInput.js';
|
|
73
|
+
export type { DataStoreWorkflowStartOutput } from './models/DataStoreWorkflowStartOutput.js';
|
|
68
74
|
export type { DecisionNode } from './models/DecisionNode.js';
|
|
69
75
|
export type { DecisionNodeConfig } from './models/DecisionNodeConfig.js';
|
|
70
76
|
export type { DecisionNodeResponse } from './models/DecisionNodeResponse.js';
|
|
@@ -77,11 +83,13 @@ export type { DeskResponse } from './models/DeskResponse.js';
|
|
|
77
83
|
export { DeskStatus } from './models/DeskStatus.js';
|
|
78
84
|
export type { DirectoryTreeNode } from './models/DirectoryTreeNode.js';
|
|
79
85
|
export type { DirectoryTreeResponse } from './models/DirectoryTreeResponse.js';
|
|
80
|
-
export type { EmailSurfaceConfigCreate } from './models/EmailSurfaceConfigCreate.js';
|
|
81
86
|
export type { EndNode } from './models/EndNode.js';
|
|
82
87
|
export type { EndNodeConfig } from './models/EndNodeConfig.js';
|
|
83
88
|
export type { EndNodeResponse } from './models/EndNodeResponse.js';
|
|
84
|
-
export type {
|
|
89
|
+
export type { EventFlowStartInput } from './models/EventFlowStartInput.js';
|
|
90
|
+
export type { EventFlowStartOutput } from './models/EventFlowStartOutput.js';
|
|
91
|
+
export type { EventWorkflowStartInput } from './models/EventWorkflowStartInput.js';
|
|
92
|
+
export type { EventWorkflowStartOutput } from './models/EventWorkflowStartOutput.js';
|
|
85
93
|
export type { ExecuteFunctionRequest } from './models/ExecuteFunctionRequest.js';
|
|
86
94
|
export type { ExpressionInputBinding } from './models/ExpressionInputBinding.js';
|
|
87
95
|
export { FileInfo } from './models/FileInfo.js';
|
|
@@ -93,13 +101,10 @@ export type { FileSearchResultSchema } from './models/FileSearchResultSchema.js'
|
|
|
93
101
|
export { FileSearchScopeMode } from './models/FileSearchScopeMode.js';
|
|
94
102
|
export type { FileUploadResponse } from './models/FileUploadResponse.js';
|
|
95
103
|
export { FileVisibility } from './models/FileVisibility.js';
|
|
96
|
-
export type {
|
|
104
|
+
export type { FlowInstallResponse } from './models/FlowInstallResponse.js';
|
|
97
105
|
export type { FlowResponse } from './models/FlowResponse.js';
|
|
98
106
|
export type { FlowRunEntity } from './models/FlowRunEntity.js';
|
|
99
107
|
export { FlowRunStatus } from './models/FlowRunStatus.js';
|
|
100
|
-
export type { FlowStart_Input } from './models/FlowStart_Input.js';
|
|
101
|
-
export type { FlowStart_Output } from './models/FlowStart_Output.js';
|
|
102
|
-
export { FlowStartType } from './models/FlowStartType.js';
|
|
103
108
|
export type { ForeignKeySpec } from './models/ForeignKeySpec.js';
|
|
104
109
|
export type { FormNode } from './models/FormNode.js';
|
|
105
110
|
export type { FormNodeConfig } from './models/FormNodeConfig.js';
|
|
@@ -115,6 +120,9 @@ export type { FunctionRunResponse } from './models/FunctionRunResponse.js';
|
|
|
115
120
|
export { FunctionRunStatus } from './models/FunctionRunStatus.js';
|
|
116
121
|
export { FunctionStatus } from './models/FunctionStatus.js';
|
|
117
122
|
export { FunctionType } from './models/FunctionType.js';
|
|
123
|
+
export type { GmailSurfaceConfig } from './models/GmailSurfaceConfig.js';
|
|
124
|
+
export type { GmailSurfaceConfigInput } from './models/GmailSurfaceConfigInput.js';
|
|
125
|
+
export type { GrantPermissionRequest } from './models/GrantPermissionRequest.js';
|
|
118
126
|
export type { HTTPValidationError } from './models/HTTPValidationError.js';
|
|
119
127
|
export type { IconUploadRequest } from './models/IconUploadRequest.js';
|
|
120
128
|
export type { IconUploadResponse } from './models/IconUploadResponse.js';
|
|
@@ -122,6 +130,8 @@ export type { LiteralInputBinding } from './models/LiteralInputBinding.js';
|
|
|
122
130
|
export type { LoopNode } from './models/LoopNode.js';
|
|
123
131
|
export type { LoopNodeConfig } from './models/LoopNodeConfig.js';
|
|
124
132
|
export type { LoopNodeResponse } from './models/LoopNodeResponse.js';
|
|
133
|
+
export type { ManualWorkflowStartInput } from './models/ManualWorkflowStartInput.js';
|
|
134
|
+
export type { ManualWorkflowStartOutput } from './models/ManualWorkflowStartOutput.js';
|
|
125
135
|
export type { MessageResponseSchema } from './models/MessageResponseSchema.js';
|
|
126
136
|
export type { NotificationContent } from './models/NotificationContent.js';
|
|
127
137
|
export type { OauthCredentialsResponseSchema } from './models/OauthCredentialsResponseSchema.js';
|
|
@@ -141,6 +151,8 @@ export type { OrganizationMemberResponse } from './models/OrganizationMemberResp
|
|
|
141
151
|
export type { OrganizationMessageResponse } from './models/OrganizationMessageResponse.js';
|
|
142
152
|
export type { OrganizationResponse } from './models/OrganizationResponse.js';
|
|
143
153
|
export { OrganizationRole } from './models/OrganizationRole.js';
|
|
154
|
+
export type { OutlookSurfaceConfig } from './models/OutlookSurfaceConfig.js';
|
|
155
|
+
export type { OutlookSurfaceConfigInput } from './models/OutlookSurfaceConfigInput.js';
|
|
144
156
|
export type { PlanListResponse } from './models/PlanListResponse.js';
|
|
145
157
|
export type { PlanResponse } from './models/PlanResponse.js';
|
|
146
158
|
export type { PodAppConfigItem } from './models/PodAppConfigItem.js';
|
|
@@ -166,13 +178,21 @@ export type { RecentUsageResponse } from './models/RecentUsageResponse.js';
|
|
|
166
178
|
export type { RecordListResponse } from './models/RecordListResponse.js';
|
|
167
179
|
export type { RecordResponse } from './models/RecordResponse.js';
|
|
168
180
|
export type { ResourceFileListResponse } from './models/ResourceFileListResponse.js';
|
|
181
|
+
export type { ResourcePermissionListResponse } from './models/ResourcePermissionListResponse.js';
|
|
182
|
+
export type { ResourcePermissionResponse } from './models/ResourcePermissionResponse.js';
|
|
169
183
|
export { ResourceType } from './models/ResourceType.js';
|
|
170
|
-
export type {
|
|
184
|
+
export type { ScheduledFlowStartInput } from './models/ScheduledFlowStartInput.js';
|
|
185
|
+
export type { ScheduledFlowStartOutput } from './models/ScheduledFlowStartOutput.js';
|
|
171
186
|
export { ScheduledFlowStartType } from './models/ScheduledFlowStartType.js';
|
|
187
|
+
export type { ScheduledWorkflowStartInput } from './models/ScheduledWorkflowStartInput.js';
|
|
188
|
+
export type { ScheduledWorkflowStartOutput } from './models/ScheduledWorkflowStartOutput.js';
|
|
172
189
|
export { SearchMethod } from './models/SearchMethod.js';
|
|
173
190
|
export type { SearchResult } from './models/SearchResult.js';
|
|
174
191
|
export type { SeatInfoResponse } from './models/SeatInfoResponse.js';
|
|
175
|
-
export type {
|
|
192
|
+
export type { SetVisibilityRequest } from './models/SetVisibilityRequest.js';
|
|
193
|
+
export type { SlackCredentialsInput } from './models/SlackCredentialsInput.js';
|
|
194
|
+
export type { SlackSurfaceConfig } from './models/SlackSurfaceConfig.js';
|
|
195
|
+
export type { SlackSurfaceConfigInput } from './models/SlackSurfaceConfigInput.js';
|
|
176
196
|
export type { StackFrame } from './models/StackFrame.js';
|
|
177
197
|
export type { StartSubscriptionRequest } from './models/StartSubscriptionRequest.js';
|
|
178
198
|
export type { StartSubscriptionResponse } from './models/StartSubscriptionResponse.js';
|
|
@@ -180,6 +200,17 @@ export type { StepExecution } from './models/StepExecution.js';
|
|
|
180
200
|
export { SubscriptionStatus } from './models/SubscriptionStatus.js';
|
|
181
201
|
export type { SubscriptionStatusResponse } from './models/SubscriptionStatusResponse.js';
|
|
182
202
|
export type { SubscriptionWithPlanResponse } from './models/SubscriptionWithPlanResponse.js';
|
|
203
|
+
export { SurfaceCredentialMode } from './models/SurfaceCredentialMode.js';
|
|
204
|
+
export type { SurfaceIntegrationSetupGuide } from './models/SurfaceIntegrationSetupGuide.js';
|
|
205
|
+
export { SurfacePlatform } from './models/SurfacePlatform.js';
|
|
206
|
+
export type { SurfacePlatformSetupGuideResponse } from './models/SurfacePlatformSetupGuideResponse.js';
|
|
207
|
+
export { SurfaceRoutingScope } from './models/SurfaceRoutingScope.js';
|
|
208
|
+
export type { SurfaceSetupField } from './models/SurfaceSetupField.js';
|
|
209
|
+
export { SurfaceSetupFieldSource } from './models/SurfaceSetupFieldSource.js';
|
|
210
|
+
export { SurfaceSetupMode } from './models/SurfaceSetupMode.js';
|
|
211
|
+
export { SurfaceSetupPhase } from './models/SurfaceSetupPhase.js';
|
|
212
|
+
export type { SurfaceSetupStep } from './models/SurfaceSetupStep.js';
|
|
213
|
+
export { SurfaceWebhookMode } from './models/SurfaceWebhookMode.js';
|
|
183
214
|
export type { TableAccessEntry } from './models/TableAccessEntry.js';
|
|
184
215
|
export { TableAccessMode } from './models/TableAccessMode.js';
|
|
185
216
|
export type { TableListResponse } from './models/TableListResponse.js';
|
|
@@ -189,7 +220,12 @@ export type { TaskMessageListResponse } from './models/TaskMessageListResponse.j
|
|
|
189
220
|
export type { TaskMessageResponse } from './models/TaskMessageResponse.js';
|
|
190
221
|
export type { TaskResponse } from './models/TaskResponse.js';
|
|
191
222
|
export { TaskStatus } from './models/TaskStatus.js';
|
|
192
|
-
export type {
|
|
223
|
+
export type { TeamsCredentialsInput } from './models/TeamsCredentialsInput.js';
|
|
224
|
+
export type { TeamsSurfaceConfig } from './models/TeamsSurfaceConfig.js';
|
|
225
|
+
export type { TeamsSurfaceConfigInput } from './models/TeamsSurfaceConfigInput.js';
|
|
226
|
+
export type { TelegramCredentialsInput } from './models/TelegramCredentialsInput.js';
|
|
227
|
+
export type { TelegramSurfaceConfig } from './models/TelegramSurfaceConfig.js';
|
|
228
|
+
export type { TelegramSurfaceConfigInput } from './models/TelegramSurfaceConfigInput.js';
|
|
193
229
|
export type { TextContent } from './models/TextContent.js';
|
|
194
230
|
export type { ThinkingContent } from './models/ThinkingContent.js';
|
|
195
231
|
export type { ToggleSurfaceRequest } from './models/ToggleSurfaceRequest.js';
|
|
@@ -223,7 +259,9 @@ export type { WebSearchAgentRequest } from './models/WebSearchAgentRequest.js';
|
|
|
223
259
|
export type { WebSearchAgentResponse } from './models/WebSearchAgentResponse.js';
|
|
224
260
|
export type { WebSearchRequest } from './models/WebSearchRequest.js';
|
|
225
261
|
export type { WebSearchResponse } from './models/WebSearchResponse.js';
|
|
226
|
-
export type {
|
|
262
|
+
export type { WhatsAppCredentialsInput } from './models/WhatsAppCredentialsInput.js';
|
|
263
|
+
export type { WhatsAppSurfaceConfig } from './models/WhatsAppSurfaceConfig.js';
|
|
264
|
+
export type { WhatsAppSurfaceConfigInput } from './models/WhatsAppSurfaceConfigInput.js';
|
|
227
265
|
export type { WorkflowCreateRequest } from './models/WorkflowCreateRequest.js';
|
|
228
266
|
export type { WorkflowEdge } from './models/WorkflowEdge.js';
|
|
229
267
|
export type { WorkflowGraphUpdateRequest } from './models/WorkflowGraphUpdateRequest.js';
|
|
@@ -239,6 +277,7 @@ export { AgentToolsService } from './services/AgentToolsService.js';
|
|
|
239
277
|
export { ApplicationsService } from './services/ApplicationsService.js';
|
|
240
278
|
export { AssistantsService } from './services/AssistantsService.js';
|
|
241
279
|
export { AssistantSurfacesService } from './services/AssistantSurfacesService.js';
|
|
280
|
+
export { AssistantSurfacesIngressService } from './services/AssistantSurfacesIngressService.js';
|
|
242
281
|
export { AuthService } from './services/AuthService.js';
|
|
243
282
|
export { AuthorizationService } from './services/AuthorizationService.js';
|
|
244
283
|
export { BillingSubscriptionsService } from './services/BillingSubscriptionsService.js';
|
|
@@ -255,7 +294,6 @@ export { OrganizationsService } from './services/OrganizationsService.js';
|
|
|
255
294
|
export { PodJoinRequestsService } from './services/PodJoinRequestsService.js';
|
|
256
295
|
export { PodMembersService } from './services/PodMembersService.js';
|
|
257
296
|
export { PodsService } from './services/PodsService.js';
|
|
258
|
-
export { PublicDesksService } from './services/PublicDesksService.js';
|
|
259
297
|
export { QueryService } from './services/QueryService.js';
|
|
260
298
|
export { RecordsService } from './services/RecordsService.js';
|
|
261
299
|
export { TablesService } from './services/TablesService.js';
|
|
@@ -6,9 +6,11 @@ export { ApiError } from './core/ApiError.js';
|
|
|
6
6
|
export { CancelablePromise, CancelError } from './core/CancelablePromise.js';
|
|
7
7
|
export { OpenAPI } from './core/OpenAPI.js';
|
|
8
8
|
export { ApplicationMode } from './models/ApplicationMode.js';
|
|
9
|
+
export { AssistantSurfaceStatus } from './models/AssistantSurfaceStatus.js';
|
|
9
10
|
export { AvailableModels } from './models/AvailableModels.js';
|
|
10
11
|
export { BillingInterval } from './models/BillingInterval.js';
|
|
11
12
|
export { ConversationStatus } from './models/ConversationStatus.js';
|
|
13
|
+
export { ConversationType } from './models/ConversationType.js';
|
|
12
14
|
export { CredentialTypes } from './models/CredentialTypes.js';
|
|
13
15
|
export { DatastoreDataType } from './models/DatastoreDataType.js';
|
|
14
16
|
export { DatastoreOperation } from './models/DatastoreOperation.js';
|
|
@@ -17,7 +19,6 @@ export { FileInfo } from './models/FileInfo.js';
|
|
|
17
19
|
export { FileSearchScopeMode } from './models/FileSearchScopeMode.js';
|
|
18
20
|
export { FileVisibility } from './models/FileVisibility.js';
|
|
19
21
|
export { FlowRunStatus } from './models/FlowRunStatus.js';
|
|
20
|
-
export { FlowStartType } from './models/FlowStartType.js';
|
|
21
22
|
export { FunctionRunStatus } from './models/FunctionRunStatus.js';
|
|
22
23
|
export { FunctionStatus } from './models/FunctionStatus.js';
|
|
23
24
|
export { FunctionType } from './models/FunctionType.js';
|
|
@@ -30,6 +31,13 @@ export { ResourceType } from './models/ResourceType.js';
|
|
|
30
31
|
export { ScheduledFlowStartType } from './models/ScheduledFlowStartType.js';
|
|
31
32
|
export { SearchMethod } from './models/SearchMethod.js';
|
|
32
33
|
export { SubscriptionStatus } from './models/SubscriptionStatus.js';
|
|
34
|
+
export { SurfaceCredentialMode } from './models/SurfaceCredentialMode.js';
|
|
35
|
+
export { SurfacePlatform } from './models/SurfacePlatform.js';
|
|
36
|
+
export { SurfaceRoutingScope } from './models/SurfaceRoutingScope.js';
|
|
37
|
+
export { SurfaceSetupFieldSource } from './models/SurfaceSetupFieldSource.js';
|
|
38
|
+
export { SurfaceSetupMode } from './models/SurfaceSetupMode.js';
|
|
39
|
+
export { SurfaceSetupPhase } from './models/SurfaceSetupPhase.js';
|
|
40
|
+
export { SurfaceWebhookMode } from './models/SurfaceWebhookMode.js';
|
|
33
41
|
export { TableAccessMode } from './models/TableAccessMode.js';
|
|
34
42
|
export { TaskStatus } from './models/TaskStatus.js';
|
|
35
43
|
export { ToolSet } from './models/ToolSet.js';
|
|
@@ -41,6 +49,7 @@ export { AgentToolsService } from './services/AgentToolsService.js';
|
|
|
41
49
|
export { ApplicationsService } from './services/ApplicationsService.js';
|
|
42
50
|
export { AssistantsService } from './services/AssistantsService.js';
|
|
43
51
|
export { AssistantSurfacesService } from './services/AssistantSurfacesService.js';
|
|
52
|
+
export { AssistantSurfacesIngressService } from './services/AssistantSurfacesIngressService.js';
|
|
44
53
|
export { AuthService } from './services/AuthService.js';
|
|
45
54
|
export { AuthorizationService } from './services/AuthorizationService.js';
|
|
46
55
|
export { BillingSubscriptionsService } from './services/BillingSubscriptionsService.js';
|
|
@@ -57,7 +66,6 @@ export { OrganizationsService } from './services/OrganizationsService.js';
|
|
|
57
66
|
export { PodJoinRequestsService } from './services/PodJoinRequestsService.js';
|
|
58
67
|
export { PodMembersService } from './services/PodMembersService.js';
|
|
59
68
|
export { PodsService } from './services/PodsService.js';
|
|
60
|
-
export { PublicDesksService } from './services/PublicDesksService.js';
|
|
61
69
|
export { QueryService } from './services/QueryService.js';
|
|
62
70
|
export { RecordsService } from './services/RecordsService.js';
|
|
63
71
|
export { TablesService } from './services/TablesService.js';
|
|
@@ -1,9 +1,24 @@
|
|
|
1
|
+
import type { AssistantSurfaceStatus } from './AssistantSurfaceStatus.js';
|
|
2
|
+
import type { GmailSurfaceConfig } from './GmailSurfaceConfig.js';
|
|
3
|
+
import type { OutlookSurfaceConfig } from './OutlookSurfaceConfig.js';
|
|
4
|
+
import type { SlackSurfaceConfig } from './SlackSurfaceConfig.js';
|
|
5
|
+
import type { SurfaceCredentialMode } from './SurfaceCredentialMode.js';
|
|
6
|
+
import type { SurfaceRoutingScope } from './SurfaceRoutingScope.js';
|
|
7
|
+
import type { SurfaceWebhookMode } from './SurfaceWebhookMode.js';
|
|
8
|
+
import type { TeamsSurfaceConfig } from './TeamsSurfaceConfig.js';
|
|
9
|
+
import type { TelegramSurfaceConfig } from './TelegramSurfaceConfig.js';
|
|
10
|
+
import type { WhatsAppSurfaceConfig } from './WhatsAppSurfaceConfig.js';
|
|
1
11
|
export type AssistantSurfaceResponse = {
|
|
2
12
|
assistant_id: string;
|
|
3
13
|
assistant_name?: (string | null);
|
|
4
|
-
config:
|
|
14
|
+
config: (SlackSurfaceConfig | TeamsSurfaceConfig | WhatsAppSurfaceConfig | TelegramSurfaceConfig | GmailSurfaceConfig | OutlookSurfaceConfig);
|
|
15
|
+
credential_mode?: SurfaceCredentialMode;
|
|
5
16
|
id: string;
|
|
6
17
|
is_active: boolean;
|
|
7
18
|
pod_id: string;
|
|
19
|
+
routing_scope?: SurfaceRoutingScope;
|
|
20
|
+
status?: AssistantSurfaceStatus;
|
|
8
21
|
surface_type: string;
|
|
22
|
+
webhook_mode?: SurfaceWebhookMode;
|
|
23
|
+
webhook_url?: (string | null);
|
|
9
24
|
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export var AssistantSurfaceStatus;
|
|
6
|
+
(function (AssistantSurfaceStatus) {
|
|
7
|
+
AssistantSurfaceStatus["ACTIVE"] = "ACTIVE";
|
|
8
|
+
AssistantSurfaceStatus["PENDING_ADMIN_CONSENT"] = "PENDING_ADMIN_CONSENT";
|
|
9
|
+
AssistantSurfaceStatus["INACTIVE"] = "INACTIVE";
|
|
10
|
+
})(AssistantSurfaceStatus || (AssistantSurfaceStatus = {}));
|
|
@@ -8,8 +8,12 @@ import type { ToolCallResponse } from './ToolCallResponse.js';
|
|
|
8
8
|
*/
|
|
9
9
|
export type ConversationMessageResponse = {
|
|
10
10
|
content: (NotificationContent | TextContent | ThinkingContent | ToolCallRequest | ToolCallResponse);
|
|
11
|
+
conversation_id?: (string | null);
|
|
11
12
|
created_at: string;
|
|
13
|
+
external_message_id?: (string | null);
|
|
14
|
+
external_user_id?: (string | null);
|
|
12
15
|
id: string;
|
|
13
16
|
metadata?: (Record<string, any> | null);
|
|
14
17
|
role: string;
|
|
18
|
+
user_id?: (string | null);
|
|
15
19
|
};
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import type { AvailableModels } from './AvailableModels.js';
|
|
2
2
|
import type { ConversationStatus } from './ConversationStatus.js';
|
|
3
|
+
import type { ConversationType } from './ConversationType.js';
|
|
3
4
|
/**
|
|
4
5
|
* Response for conversation.
|
|
5
6
|
*/
|
|
6
7
|
export type ConversationResponse = {
|
|
7
8
|
assistant_id: (string | null);
|
|
8
9
|
assistant_name?: (string | null);
|
|
10
|
+
conversation_type?: ConversationType;
|
|
9
11
|
created_at: any;
|
|
10
12
|
external_channel_id?: (string | null);
|
|
11
13
|
external_thread_id?: (string | null);
|
|
@@ -15,6 +17,7 @@ export type ConversationResponse = {
|
|
|
15
17
|
organization_id?: (string | null);
|
|
16
18
|
pod_id: (string | null);
|
|
17
19
|
status: ConversationStatus;
|
|
20
|
+
surface_installation_id?: (string | null);
|
|
18
21
|
surface_type?: (string | null);
|
|
19
22
|
title: (string | null);
|
|
20
23
|
updated_at: any;
|
|
@@ -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
|
+
* Conversation channel/source classification.
|
|
7
|
+
*/
|
|
8
|
+
export var ConversationType;
|
|
9
|
+
(function (ConversationType) {
|
|
10
|
+
ConversationType["INTERNAL"] = "INTERNAL";
|
|
11
|
+
ConversationType["EXTERNAL_DM"] = "EXTERNAL_DM";
|
|
12
|
+
ConversationType["EXTERNAL_GROUP"] = "EXTERNAL_GROUP";
|
|
13
|
+
})(ConversationType || (ConversationType = {}));
|
|
@@ -1,8 +1,19 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
import type {
|
|
4
|
-
import type {
|
|
1
|
+
import type { GmailSurfaceConfigInput } from './GmailSurfaceConfigInput.js';
|
|
2
|
+
import type { OutlookSurfaceConfigInput } from './OutlookSurfaceConfigInput.js';
|
|
3
|
+
import type { SlackCredentialsInput } from './SlackCredentialsInput.js';
|
|
4
|
+
import type { SlackSurfaceConfigInput } from './SlackSurfaceConfigInput.js';
|
|
5
|
+
import type { SurfaceCredentialMode } from './SurfaceCredentialMode.js';
|
|
6
|
+
import type { SurfaceRoutingScope } from './SurfaceRoutingScope.js';
|
|
7
|
+
import type { TeamsCredentialsInput } from './TeamsCredentialsInput.js';
|
|
8
|
+
import type { TeamsSurfaceConfigInput } from './TeamsSurfaceConfigInput.js';
|
|
9
|
+
import type { TelegramCredentialsInput } from './TelegramCredentialsInput.js';
|
|
10
|
+
import type { TelegramSurfaceConfigInput } from './TelegramSurfaceConfigInput.js';
|
|
11
|
+
import type { WhatsAppCredentialsInput } from './WhatsAppCredentialsInput.js';
|
|
12
|
+
import type { WhatsAppSurfaceConfigInput } from './WhatsAppSurfaceConfigInput.js';
|
|
5
13
|
export type CreateSurfaceRequest = {
|
|
6
14
|
assistant_name: string;
|
|
7
|
-
config: (
|
|
15
|
+
config: (SlackSurfaceConfigInput | TeamsSurfaceConfigInput | WhatsAppSurfaceConfigInput | TelegramSurfaceConfigInput | GmailSurfaceConfigInput | OutlookSurfaceConfigInput);
|
|
16
|
+
credential_mode?: SurfaceCredentialMode;
|
|
17
|
+
credentials?: ((SlackCredentialsInput | TeamsCredentialsInput | WhatsAppCredentialsInput | TelegramCredentialsInput) | null);
|
|
18
|
+
routing_scope?: SurfaceRoutingScope;
|
|
8
19
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DatastoreOperation } from './DatastoreOperation.js';
|
|
2
|
-
export type
|
|
2
|
+
export type DataStoreFlowStartInput = {
|
|
3
3
|
/**
|
|
4
4
|
* Datastore operations that should trigger this flow. Accepted values: INSERT, UPDATE, DELETE (aliases: WRITE, CREATE). Empty means all mutations for the selected table.
|
|
5
5
|
*/
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { DatastoreOperation } from './DatastoreOperation.js';
|
|
2
|
+
export type DataStoreFlowStartOutput = {
|
|
3
|
+
/**
|
|
4
|
+
* Datastore operations that should trigger this flow. Accepted values: INSERT, UPDATE, DELETE (aliases: WRITE, CREATE). Empty means all mutations for the selected table.
|
|
5
|
+
*/
|
|
6
|
+
operations?: Array<DatastoreOperation>;
|
|
7
|
+
/**
|
|
8
|
+
* Table name inside the datastore to subscribe to.
|
|
9
|
+
*/
|
|
10
|
+
table_name: string;
|
|
11
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { DataStoreFlowStartInput } from './DataStoreFlowStartInput.js';
|
|
2
|
+
export type DataStoreWorkflowStartInput = {
|
|
3
|
+
/**
|
|
4
|
+
* Datastore trigger configuration for this workflow.
|
|
5
|
+
*/
|
|
6
|
+
config: DataStoreFlowStartInput;
|
|
7
|
+
/**
|
|
8
|
+
* Datastore-event workflow start.
|
|
9
|
+
*/
|
|
10
|
+
type?: string;
|
|
11
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { DataStoreFlowStartOutput } from './DataStoreFlowStartOutput.js';
|
|
2
|
+
export type DataStoreWorkflowStartOutput = {
|
|
3
|
+
/**
|
|
4
|
+
* Datastore trigger configuration for this workflow.
|
|
5
|
+
*/
|
|
6
|
+
config: DataStoreFlowStartOutput;
|
|
7
|
+
/**
|
|
8
|
+
* Datastore-event workflow start.
|
|
9
|
+
*/
|
|
10
|
+
type?: string;
|
|
11
|
+
};
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export declare enum DatastoreDataType {
|
|
5
5
|
TEXT = "TEXT",
|
|
6
|
+
FILE_PATH = "FILE_PATH",
|
|
6
7
|
INTEGER = "INTEGER",
|
|
7
8
|
FLOAT = "FLOAT",
|
|
8
9
|
BOOLEAN = "BOOLEAN",
|
|
@@ -10,6 +11,7 @@ export declare enum DatastoreDataType {
|
|
|
10
11
|
DATE = "DATE",
|
|
11
12
|
DATETIME = "DATETIME",
|
|
12
13
|
UUID = "UUID",
|
|
14
|
+
USER = "USER",
|
|
13
15
|
VECTOR = "VECTOR",
|
|
14
16
|
SERIAL = "SERIAL",
|
|
15
17
|
ENUM = "ENUM"
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
export var DatastoreDataType;
|
|
9
9
|
(function (DatastoreDataType) {
|
|
10
10
|
DatastoreDataType["TEXT"] = "TEXT";
|
|
11
|
+
DatastoreDataType["FILE_PATH"] = "FILE_PATH";
|
|
11
12
|
DatastoreDataType["INTEGER"] = "INTEGER";
|
|
12
13
|
DatastoreDataType["FLOAT"] = "FLOAT";
|
|
13
14
|
DatastoreDataType["BOOLEAN"] = "BOOLEAN";
|
|
@@ -15,6 +16,7 @@ export var DatastoreDataType;
|
|
|
15
16
|
DatastoreDataType["DATE"] = "DATE";
|
|
16
17
|
DatastoreDataType["DATETIME"] = "DATETIME";
|
|
17
18
|
DatastoreDataType["UUID"] = "UUID";
|
|
19
|
+
DatastoreDataType["USER"] = "USER";
|
|
18
20
|
DatastoreDataType["VECTOR"] = "VECTOR";
|
|
19
21
|
DatastoreDataType["SERIAL"] = "SERIAL";
|
|
20
22
|
DatastoreDataType["ENUM"] = "ENUM";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export type EventFlowStartOutput = {
|
|
2
|
+
/**
|
|
3
|
+
* Integration application identifier.
|
|
4
|
+
*/
|
|
5
|
+
application_id: string;
|
|
6
|
+
/**
|
|
7
|
+
* Integration trigger identifier to subscribe to.
|
|
8
|
+
*/
|
|
9
|
+
application_trigger_id: string;
|
|
10
|
+
/**
|
|
11
|
+
* Optional LLM filter instruction executed before flow continuation.
|
|
12
|
+
*/
|
|
13
|
+
filter_instruction?: (string | null);
|
|
14
|
+
/**
|
|
15
|
+
* Optional expected schema for filter output.
|
|
16
|
+
*/
|
|
17
|
+
filter_output_schema?: (Record<string, any> | null);
|
|
18
|
+
trigger_config?: Record<string, any>;
|
|
19
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { EventFlowStartInput } from './EventFlowStartInput.js';
|
|
2
|
+
export type EventWorkflowStartInput = {
|
|
3
|
+
/**
|
|
4
|
+
* Integration trigger configuration for this workflow.
|
|
5
|
+
*/
|
|
6
|
+
config: EventFlowStartInput;
|
|
7
|
+
/**
|
|
8
|
+
* Event-triggered workflow start.
|
|
9
|
+
*/
|
|
10
|
+
type?: string;
|
|
11
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { EventFlowStartOutput } from './EventFlowStartOutput.js';
|
|
2
|
+
export type EventWorkflowStartOutput = {
|
|
3
|
+
/**
|
|
4
|
+
* Integration trigger configuration for this workflow.
|
|
5
|
+
*/
|
|
6
|
+
config: EventFlowStartOutput;
|
|
7
|
+
/**
|
|
8
|
+
* Event-triggered workflow start.
|
|
9
|
+
*/
|
|
10
|
+
type?: string;
|
|
11
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { DataStoreWorkflowStartOutput } from './DataStoreWorkflowStartOutput.js';
|
|
2
|
+
import type { EventWorkflowStartOutput } from './EventWorkflowStartOutput.js';
|
|
3
|
+
import type { ManualWorkflowStartOutput } from './ManualWorkflowStartOutput.js';
|
|
4
|
+
import type { ScheduledWorkflowStartOutput } from './ScheduledWorkflowStartOutput.js';
|
|
5
|
+
export type FlowInstallResponse = {
|
|
6
|
+
created_at: string;
|
|
7
|
+
flow_id: string;
|
|
8
|
+
flow_start: (ManualWorkflowStartOutput | ScheduledWorkflowStartOutput | EventWorkflowStartOutput | DataStoreWorkflowStartOutput);
|
|
9
|
+
id: string;
|
|
10
|
+
is_active?: boolean;
|
|
11
|
+
pod_id: string;
|
|
12
|
+
trigger_id?: (string | null);
|
|
13
|
+
updated_at: string;
|
|
14
|
+
user_id: string;
|
|
15
|
+
};
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import type { AgentNodeResponse } from './AgentNodeResponse.js';
|
|
2
|
+
import type { DataStoreWorkflowStartOutput } from './DataStoreWorkflowStartOutput.js';
|
|
2
3
|
import type { DecisionNodeResponse } from './DecisionNodeResponse.js';
|
|
3
4
|
import type { EndNodeResponse } from './EndNodeResponse.js';
|
|
4
|
-
import type {
|
|
5
|
+
import type { EventWorkflowStartOutput } from './EventWorkflowStartOutput.js';
|
|
5
6
|
import type { FormNodeResponse } from './FormNodeResponse.js';
|
|
6
7
|
import type { FunctionNodeResponse } from './FunctionNodeResponse.js';
|
|
7
8
|
import type { LoopNodeResponse } from './LoopNodeResponse.js';
|
|
9
|
+
import type { ManualWorkflowStartOutput } from './ManualWorkflowStartOutput.js';
|
|
10
|
+
import type { ScheduledWorkflowStartOutput } from './ScheduledWorkflowStartOutput.js';
|
|
8
11
|
import type { WaitUntilNodeResponse } from './WaitUntilNodeResponse.js';
|
|
9
12
|
import type { WorkflowEdge } from './WorkflowEdge.js';
|
|
10
13
|
import type { WorkflowInstallMode } from './WorkflowInstallMode.js';
|
|
@@ -19,6 +22,6 @@ export type FlowResponse = {
|
|
|
19
22
|
name: string;
|
|
20
23
|
nodes?: Array<(FormNodeResponse | AgentNodeResponse | FunctionNodeResponse | DecisionNodeResponse | LoopNodeResponse | WaitUntilNodeResponse | EndNodeResponse)>;
|
|
21
24
|
pod_id: string;
|
|
22
|
-
start?: (
|
|
25
|
+
start?: ((ManualWorkflowStartOutput | ScheduledWorkflowStartOutput | EventWorkflowStartOutput | DataStoreWorkflowStartOutput) | null);
|
|
23
26
|
updated_at?: (string | null);
|
|
24
27
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -10,6 +10,8 @@ export type OrganizationInvitationResponse = {
|
|
|
10
10
|
expires_at: string;
|
|
11
11
|
id: string;
|
|
12
12
|
organization_id: string;
|
|
13
|
+
pod_id?: (string | null);
|
|
14
|
+
pod_role?: (string | null);
|
|
13
15
|
revoked_at?: (string | null);
|
|
14
16
|
role: OrganizationRole;
|
|
15
17
|
status: OrganizationInvitationStatus;
|