lemma-sdk 0.2.6 → 0.2.7
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/browser/lemma-client.js +674 -1004
- package/dist/client.d.ts +0 -2
- package/dist/client.js +0 -3
- package/dist/index.d.ts +0 -1
- package/dist/namespaces/files.d.ts +8 -8
- package/dist/namespaces/files.js +16 -16
- package/dist/namespaces/records.d.ts +10 -10
- package/dist/namespaces/records.js +24 -24
- package/dist/namespaces/tables.d.ts +7 -7
- package/dist/namespaces/tables.js +13 -13
- package/dist/namespaces/workflows.d.ts +4 -4
- package/dist/openapi_client/index.d.ts +16 -15
- package/dist/openapi_client/index.js +4 -2
- package/dist/openapi_client/models/AccountCredentialsResponseSchema.d.ts +1 -1
- package/dist/openapi_client/models/AccountResponseSchema.d.ts +6 -6
- package/dist/openapi_client/models/{AgentNode_Input.d.ts → AgentNode.d.ts} +2 -2
- package/dist/openapi_client/models/{AgentNode_Output.d.ts → AgentNodeResponse.d.ts} +2 -5
- package/dist/openapi_client/models/AgentResponse.d.ts +10 -8
- package/dist/openapi_client/models/AppTriggerResponseSchema.d.ts +4 -4
- package/dist/openapi_client/models/ApplicationAccessConfig.d.ts +4 -4
- package/dist/openapi_client/models/ApplicationDetailResponseSchema.d.ts +6 -6
- package/dist/openapi_client/models/ApplicationResponseSchema.d.ts +5 -5
- package/dist/openapi_client/models/AssistantResponse.d.ts +9 -7
- package/dist/openapi_client/models/AssistantSurfaceResponse.d.ts +3 -3
- package/dist/openapi_client/models/CancelSubscriptionResponse.d.ts +3 -3
- package/dist/openapi_client/models/ColumnSchema.d.ts +22 -22
- package/dist/openapi_client/models/ConnectRequestResponseSchema.d.ts +4 -4
- package/dist/openapi_client/models/ConversationMessageResponse.d.ts +2 -2
- package/dist/openapi_client/models/ConversationResponse.d.ts +8 -8
- package/dist/openapi_client/models/CreateAgentRequest.d.ts +6 -4
- package/dist/openapi_client/models/CreateAssistantRequest.d.ts +5 -3
- package/dist/openapi_client/models/CreateConversationRequest.d.ts +3 -3
- package/dist/openapi_client/models/CreateDeskRequest.d.ts +2 -3
- package/dist/openapi_client/models/CreateFolderRequest.d.ts +6 -1
- package/dist/openapi_client/models/CreateFunctionRequest.d.ts +8 -6
- package/dist/openapi_client/models/CreateTableRequest.d.ts +8 -8
- package/dist/openapi_client/models/CreateTriggerRequest.d.ts +3 -3
- package/dist/openapi_client/models/DataStoreFlowStart.d.ts +6 -6
- package/dist/openapi_client/models/DatastoreFileUploadRequest.d.ts +3 -1
- package/dist/openapi_client/models/{DecisionNode_Input.d.ts → DecisionNode.d.ts} +2 -2
- package/dist/openapi_client/models/{DecisionNode_Output.d.ts → DecisionNodeResponse.d.ts} +2 -5
- package/dist/openapi_client/models/DeskBundleUploadRequest.d.ts +1 -1
- package/dist/openapi_client/models/DeskBundleUploadResponse.d.ts +1 -1
- package/dist/openapi_client/models/DeskResponse.d.ts +6 -7
- package/dist/openapi_client/models/EmailSurfaceConfigCreate.d.ts +1 -1
- package/dist/openapi_client/models/EndNode.d.ts +1 -1
- package/dist/openapi_client/models/EndNodeResponse.d.ts +8 -0
- package/dist/openapi_client/models/EventFlowStart.d.ts +5 -5
- package/dist/openapi_client/models/FileInfo.d.ts +3 -3
- package/dist/openapi_client/models/FileResponse.d.ts +13 -9
- package/dist/openapi_client/models/FileSearchRequest.d.ts +2 -2
- package/dist/openapi_client/models/FileSearchResponse.d.ts +1 -1
- package/dist/openapi_client/models/FileSearchResultSchema.d.ts +1 -1
- package/dist/openapi_client/models/FileUploadResponse.d.ts +2 -2
- package/dist/openapi_client/models/FileVisibility.d.ts +4 -0
- package/dist/openapi_client/models/FileVisibility.js +9 -0
- package/dist/openapi_client/models/FlowInstallEntity.d.ts +5 -5
- package/dist/openapi_client/models/FlowResponse.d.ts +23 -0
- package/dist/openapi_client/models/FlowRunEntity.d.ts +10 -10
- package/dist/openapi_client/models/FlowStart.d.ts +4 -4
- package/dist/openapi_client/models/FormNode.d.ts +1 -1
- package/dist/openapi_client/models/FormNodeResponse.d.ts +8 -0
- package/dist/openapi_client/models/{FunctionNode_Input.d.ts → FunctionNode.d.ts} +2 -2
- package/dist/openapi_client/models/{FunctionNode_Output.d.ts → FunctionNodeResponse.d.ts} +2 -5
- package/dist/openapi_client/models/FunctionResponse.d.ts +13 -11
- package/dist/openapi_client/models/FunctionRunResponse.d.ts +7 -7
- package/dist/openapi_client/models/IconUploadResponse.d.ts +1 -1
- package/dist/openapi_client/models/LoopNode.d.ts +1 -1
- package/dist/openapi_client/models/LoopNodeConfig.d.ts +4 -4
- package/dist/openapi_client/models/LoopNodeResponse.d.ts +8 -0
- package/dist/openapi_client/models/NotificationContent.d.ts +1 -1
- package/dist/openapi_client/models/OperationDetail.d.ts +1 -1
- package/dist/openapi_client/models/OperationExecutionRequest.d.ts +1 -1
- package/dist/openapi_client/models/OperationSummary.d.ts +1 -1
- package/dist/openapi_client/models/OrganizationInvitationResponse.d.ts +5 -5
- package/dist/openapi_client/models/OrganizationMemberResponse.d.ts +3 -3
- package/dist/openapi_client/models/OrganizationResponse.d.ts +1 -1
- package/dist/openapi_client/models/PlanResponse.d.ts +6 -6
- package/dist/openapi_client/models/PodAppConfigItem.d.ts +3 -3
- package/dist/openapi_client/models/PodCreateRequest.d.ts +3 -3
- package/dist/openapi_client/models/PodFlowConfigItem.d.ts +3 -3
- package/dist/openapi_client/models/PodListResponse.d.ts +1 -1
- package/dist/openapi_client/models/PodMemberListResponse.d.ts +1 -1
- package/dist/openapi_client/models/PodMemberResponse.d.ts +2 -2
- package/dist/openapi_client/models/PodPermissionsResponse.d.ts +1 -1
- package/dist/openapi_client/models/PodResponse.d.ts +6 -6
- package/dist/openapi_client/models/PodUpdateRequest.d.ts +2 -2
- package/dist/openapi_client/models/RecentUsageResponse.d.ts +1 -1
- package/dist/openapi_client/models/RecordListResponse.d.ts +1 -1
- package/dist/openapi_client/models/RecordQueryRequest.d.ts +4 -4
- package/dist/openapi_client/models/RecordSort.d.ts +4 -4
- package/dist/openapi_client/models/SearchResult.d.ts +3 -3
- package/dist/openapi_client/models/SeatInfoResponse.d.ts +2 -2
- package/dist/openapi_client/models/SlackSurfaceConfigCreate.d.ts +1 -1
- package/dist/openapi_client/models/StackFrame.d.ts +3 -3
- package/dist/openapi_client/models/StartSubscriptionRequest.d.ts +4 -4
- package/dist/openapi_client/models/StepExecution.d.ts +4 -4
- package/dist/openapi_client/models/SubscriptionStatusResponse.d.ts +1 -1
- package/dist/openapi_client/models/SubscriptionWithPlanResponse.d.ts +7 -7
- package/dist/openapi_client/models/TableAccessEntry.d.ts +5 -0
- package/dist/openapi_client/models/TableAccessMode.d.ts +7 -0
- package/dist/openapi_client/models/TableAccessMode.js +12 -0
- package/dist/openapi_client/models/TableResponse.d.ts +5 -5
- package/dist/openapi_client/models/TaskMessageResponse.d.ts +2 -2
- package/dist/openapi_client/models/TaskResponse.d.ts +5 -5
- package/dist/openapi_client/models/TeamsSurfaceConfigCreate.d.ts +1 -1
- package/dist/openapi_client/models/TextContent.d.ts +1 -1
- package/dist/openapi_client/models/ThinkingContent.d.ts +1 -1
- package/dist/openapi_client/models/ToolCallRequest.d.ts +2 -2
- package/dist/openapi_client/models/ToolCallResponse.d.ts +1 -1
- package/dist/openapi_client/models/TriggerResponse.d.ts +6 -6
- package/dist/openapi_client/models/UpdateAgentRequest.d.ts +5 -3
- package/dist/openapi_client/models/UpdateAssistantRequest.d.ts +4 -2
- package/dist/openapi_client/models/UpdateConversationRequest.d.ts +1 -1
- package/dist/openapi_client/models/UpdateDeskRequest.d.ts +1 -1
- package/dist/openapi_client/models/UpdateFunctionRequest.d.ts +6 -4
- package/dist/openapi_client/models/UsageRecordResponse.d.ts +11 -11
- package/dist/openapi_client/models/UsageSummaryResponse.d.ts +5 -5
- package/dist/openapi_client/models/UserProfileRequest.d.ts +2 -2
- package/dist/openapi_client/models/UserResponse.d.ts +6 -6
- package/dist/openapi_client/models/ValidationError.d.ts +2 -2
- package/dist/openapi_client/models/VerifyTokenResponse.d.ts +1 -1
- package/dist/openapi_client/models/WaitUntilNode.d.ts +1 -1
- package/dist/openapi_client/models/WaitUntilNodeResponse.d.ts +8 -0
- package/dist/openapi_client/models/WebSearchAgentResponse.d.ts +8 -8
- package/dist/openapi_client/models/WebSearchRequest.d.ts +4 -4
- package/dist/openapi_client/models/WebSearchResponse.d.ts +8 -8
- package/dist/openapi_client/models/WhatsAppSurfaceConfigCreate.d.ts +1 -1
- package/dist/openapi_client/models/WorkflowCreateRequest.d.ts +6 -6
- package/dist/openapi_client/models/WorkflowEdge.d.ts +1 -1
- package/dist/openapi_client/models/WorkflowGraphUpdateRequest.d.ts +7 -7
- package/dist/openapi_client/models/WorkflowListResponse.d.ts +2 -2
- package/dist/openapi_client/models/update.d.ts +3 -1
- package/dist/openapi_client/services/AgentFilesService.d.ts +46 -0
- package/dist/openapi_client/services/AgentFilesService.js +103 -0
- package/dist/openapi_client/services/AgentsService.d.ts +15 -15
- package/dist/openapi_client/services/AgentsService.js +33 -33
- package/dist/openapi_client/services/ApplicationsService.d.ts +7 -7
- package/dist/openapi_client/services/ApplicationsService.js +16 -16
- package/dist/openapi_client/services/AssistantSurfacesService.d.ts +9 -9
- package/dist/openapi_client/services/AssistantSurfacesService.js +19 -19
- package/dist/openapi_client/services/AssistantsService.d.ts +13 -13
- package/dist/openapi_client/services/AssistantsService.js +31 -31
- package/dist/openapi_client/services/BillingSubscriptionsService.d.ts +15 -15
- package/dist/openapi_client/services/BillingSubscriptionsService.js +22 -22
- package/dist/openapi_client/services/BillingUsageService.d.ts +7 -7
- package/dist/openapi_client/services/BillingUsageService.js +10 -10
- package/dist/openapi_client/services/ConversationsService.d.ts +13 -13
- package/dist/openapi_client/services/ConversationsService.js +27 -27
- package/dist/openapi_client/services/DesksService.d.ts +13 -13
- package/dist/openapi_client/services/DesksService.js +31 -31
- package/dist/openapi_client/services/FilesService.d.ts +21 -72
- package/dist/openapi_client/services/FilesService.js +39 -154
- package/dist/openapi_client/services/FunctionsService.d.ts +21 -21
- package/dist/openapi_client/services/FunctionsService.js +45 -45
- package/dist/openapi_client/services/IntegrationsService.d.ts +24 -24
- package/dist/openapi_client/services/IntegrationsService.js +47 -47
- package/dist/openapi_client/services/OrganizationsService.d.ts +46 -46
- package/dist/openapi_client/services/OrganizationsService.js +88 -88
- package/dist/openapi_client/services/PodMembersService.d.ts +13 -13
- package/dist/openapi_client/services/PodMembersService.js +29 -29
- package/dist/openapi_client/services/PodsService.d.ts +18 -18
- package/dist/openapi_client/services/PodsService.js +34 -34
- package/dist/openapi_client/services/PublicDesksService.d.ts +10 -0
- package/dist/openapi_client/services/PublicDesksService.js +22 -0
- package/dist/openapi_client/services/RecordsService.d.ts +39 -48
- package/dist/openapi_client/services/RecordsService.js +71 -89
- package/dist/openapi_client/services/TablesService.d.ts +18 -25
- package/dist/openapi_client/services/TablesService.js +39 -53
- package/dist/openapi_client/services/TasksService.d.ts +19 -19
- package/dist/openapi_client/services/TasksService.js +39 -39
- package/dist/openapi_client/services/TriggersService.d.ts +16 -16
- package/dist/openapi_client/services/TriggersService.js +35 -35
- package/dist/openapi_client/services/WebhooksService.d.ts +8 -8
- package/dist/openapi_client/services/WebhooksService.js +18 -18
- package/dist/openapi_client/services/WorkflowsService.d.ts +59 -59
- package/dist/openapi_client/services/WorkflowsService.js +115 -115
- package/package.json +1 -1
- package/dist/namespaces/datastores.d.ts +0 -18
- package/dist/namespaces/datastores.js +0 -28
- package/dist/openapi_client/models/CreateDatastoreRequest.d.ts +0 -21
- package/dist/openapi_client/models/DatastoreListResponse.d.ts +0 -9
- package/dist/openapi_client/models/DatastoreQueryRequest.d.ts +0 -9
- package/dist/openapi_client/models/DatastoreResponse.d.ts +0 -15
- package/dist/openapi_client/models/FlowEntity.d.ts +0 -26
- package/dist/openapi_client/models/RecordQueryResponse.d.ts +0 -13
- package/dist/openapi_client/models/UpdateDatastoreRequest.d.ts +0 -17
- package/dist/openapi_client/models/UpdateDatastoreRequest.js +0 -1
- package/dist/openapi_client/services/DatastoreService.d.ts +0 -67
- package/dist/openapi_client/services/DatastoreService.js +0 -141
- package/dist/openapi_client/services/PublicSdkService.d.ts +0 -17
- package/dist/openapi_client/services/PublicSdkService.js +0 -35
- /package/dist/openapi_client/models/{AgentNode_Input.js → AgentNode.js} +0 -0
- /package/dist/openapi_client/models/{AgentNode_Output.js → AgentNodeResponse.js} +0 -0
- /package/dist/openapi_client/models/{CreateDatastoreRequest.js → DecisionNode.js} +0 -0
- /package/dist/openapi_client/models/{DatastoreListResponse.js → DecisionNodeResponse.js} +0 -0
- /package/dist/openapi_client/models/{DatastoreQueryRequest.js → EndNodeResponse.js} +0 -0
- /package/dist/openapi_client/models/{DatastoreResponse.js → FlowResponse.js} +0 -0
- /package/dist/openapi_client/models/{DecisionNode_Input.js → FormNodeResponse.js} +0 -0
- /package/dist/openapi_client/models/{DecisionNode_Output.js → FunctionNode.js} +0 -0
- /package/dist/openapi_client/models/{FlowEntity.js → FunctionNodeResponse.js} +0 -0
- /package/dist/openapi_client/models/{FunctionNode_Input.js → LoopNodeResponse.js} +0 -0
- /package/dist/openapi_client/models/{FunctionNode_Output.js → TableAccessEntry.js} +0 -0
- /package/dist/openapi_client/models/{RecordQueryResponse.js → WaitUntilNodeResponse.js} +0 -0
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
2
2
|
export declare class WebhooksService {
|
|
3
|
+
/**
|
|
4
|
+
* Handle Specific Trigger Webhook
|
|
5
|
+
* Receive webhook for a specific trigger ID
|
|
6
|
+
* @param triggerId
|
|
7
|
+
* @returns any Successful Response
|
|
8
|
+
* @throws ApiError
|
|
9
|
+
*/
|
|
10
|
+
static webhookTriggerHandle(triggerId: string): CancelablePromise<Record<string, any>>;
|
|
3
11
|
/**
|
|
4
12
|
* Handle Webhook
|
|
5
13
|
* Receive webhooks from various sources (slack, composio, jira, email, etc.)
|
|
@@ -16,12 +24,4 @@ export declare class WebhooksService {
|
|
|
16
24
|
* @throws ApiError
|
|
17
25
|
*/
|
|
18
26
|
static webhookVerify(source: string): CancelablePromise<any>;
|
|
19
|
-
/**
|
|
20
|
-
* Handle Specific Trigger Webhook
|
|
21
|
-
* Receive webhook for a specific trigger ID
|
|
22
|
-
* @param triggerId
|
|
23
|
-
* @returns any Successful Response
|
|
24
|
-
* @throws ApiError
|
|
25
|
-
*/
|
|
26
|
-
static webhookTriggerHandle(triggerId: string): CancelablePromise<Record<string, any>>;
|
|
27
27
|
}
|
|
@@ -2,18 +2,18 @@ import { OpenAPI } from '../core/OpenAPI.js';
|
|
|
2
2
|
import { request as __request } from '../core/request.js';
|
|
3
3
|
export class WebhooksService {
|
|
4
4
|
/**
|
|
5
|
-
* Handle Webhook
|
|
6
|
-
* Receive
|
|
7
|
-
* @param
|
|
5
|
+
* Handle Specific Trigger Webhook
|
|
6
|
+
* Receive webhook for a specific trigger ID
|
|
7
|
+
* @param triggerId
|
|
8
8
|
* @returns any Successful Response
|
|
9
9
|
* @throws ApiError
|
|
10
10
|
*/
|
|
11
|
-
static
|
|
11
|
+
static webhookTriggerHandle(triggerId) {
|
|
12
12
|
return __request(OpenAPI, {
|
|
13
13
|
method: 'POST',
|
|
14
|
-
url: '/webhooks/{
|
|
14
|
+
url: '/webhooks/trigger/{trigger_id}',
|
|
15
15
|
path: {
|
|
16
|
-
'
|
|
16
|
+
'trigger_id': triggerId,
|
|
17
17
|
},
|
|
18
18
|
errors: {
|
|
19
19
|
422: `Validation Error`,
|
|
@@ -21,16 +21,16 @@ export class WebhooksService {
|
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
25
|
-
*
|
|
24
|
+
* Handle Webhook
|
|
25
|
+
* Receive webhooks from various sources (slack, composio, jira, email, etc.)
|
|
26
26
|
* @param source
|
|
27
27
|
* @returns any Successful Response
|
|
28
28
|
* @throws ApiError
|
|
29
29
|
*/
|
|
30
|
-
static
|
|
30
|
+
static webhookHandle(source) {
|
|
31
31
|
return __request(OpenAPI, {
|
|
32
|
-
method: '
|
|
33
|
-
url: '/webhooks/{source}
|
|
32
|
+
method: 'POST',
|
|
33
|
+
url: '/webhooks/{source}',
|
|
34
34
|
path: {
|
|
35
35
|
'source': source,
|
|
36
36
|
},
|
|
@@ -40,18 +40,18 @@ export class WebhooksService {
|
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
* @param
|
|
43
|
+
* Verify Webhook
|
|
44
|
+
* Webhook verification endpoint for platforms that require it
|
|
45
|
+
* @param source
|
|
46
46
|
* @returns any Successful Response
|
|
47
47
|
* @throws ApiError
|
|
48
48
|
*/
|
|
49
|
-
static
|
|
49
|
+
static webhookVerify(source) {
|
|
50
50
|
return __request(OpenAPI, {
|
|
51
|
-
method: '
|
|
52
|
-
url: '/webhooks/
|
|
51
|
+
method: 'GET',
|
|
52
|
+
url: '/webhooks/{source}/verify',
|
|
53
53
|
path: {
|
|
54
|
-
'
|
|
54
|
+
'source': source,
|
|
55
55
|
},
|
|
56
56
|
errors: {
|
|
57
57
|
422: `Validation Error`,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { FlowEntity } from '../models/FlowEntity.js';
|
|
2
1
|
import type { FlowInstallEntity } from '../models/FlowInstallEntity.js';
|
|
2
|
+
import type { FlowResponse } from '../models/FlowResponse.js';
|
|
3
3
|
import type { FlowRunEntity } from '../models/FlowRunEntity.js';
|
|
4
4
|
import type { WorkflowCreateRequest } from '../models/WorkflowCreateRequest.js';
|
|
5
5
|
import type { WorkflowGraphUpdateRequest } from '../models/WorkflowGraphUpdateRequest.js';
|
|
@@ -10,14 +10,44 @@ import type { WorkflowUpdateRequest } from '../models/WorkflowUpdateRequest.js';
|
|
|
10
10
|
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
11
11
|
export declare class WorkflowsService {
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
14
|
-
*
|
|
13
|
+
* Get Workflow Run
|
|
14
|
+
* Get current state, context, and step history of a workflow run.
|
|
15
|
+
* @param podId
|
|
16
|
+
* @param runId
|
|
17
|
+
* @returns FlowRunEntity Successful Response
|
|
18
|
+
* @throws ApiError
|
|
19
|
+
*/
|
|
20
|
+
static workflowRunGet(podId: string, runId: string): CancelablePromise<FlowRunEntity>;
|
|
21
|
+
/**
|
|
22
|
+
* Resume Workflow Run
|
|
23
|
+
* Resume a run in WAITING or EXECUTING state. The payload is written back into the current waiting node output and execution continues.
|
|
15
24
|
* @param podId
|
|
25
|
+
* @param runId
|
|
16
26
|
* @param requestBody
|
|
17
|
-
* @returns
|
|
27
|
+
* @returns FlowRunEntity Successful Response
|
|
28
|
+
* @throws ApiError
|
|
29
|
+
*/
|
|
30
|
+
static workflowRunResume(podId: string, runId: string, requestBody: Record<string, any>): CancelablePromise<FlowRunEntity>;
|
|
31
|
+
/**
|
|
32
|
+
* Visualize Workflow Run
|
|
33
|
+
* Render an HTML view of a run overlaid on its workflow graph.
|
|
34
|
+
* @param podId
|
|
35
|
+
* @param runId
|
|
36
|
+
* @returns string Successful Response
|
|
37
|
+
* @throws ApiError
|
|
38
|
+
*/
|
|
39
|
+
static workflowRunVisualize(podId: string, runId: string): CancelablePromise<string>;
|
|
40
|
+
/**
|
|
41
|
+
* List Workflow Runs
|
|
42
|
+
* List recent runs for a given workflow.
|
|
43
|
+
* @param podId
|
|
44
|
+
* @param workflowName
|
|
45
|
+
* @param limit
|
|
46
|
+
* @param pageToken
|
|
47
|
+
* @returns WorkflowRunListResponse Successful Response
|
|
18
48
|
* @throws ApiError
|
|
19
49
|
*/
|
|
20
|
-
static
|
|
50
|
+
static workflowRunList(podId: string, workflowName: string, limit?: number, pageToken?: (string | null)): CancelablePromise<WorkflowRunListResponse>;
|
|
21
51
|
/**
|
|
22
52
|
* List Workflows
|
|
23
53
|
* List all workflows in a pod.
|
|
@@ -29,43 +59,52 @@ export declare class WorkflowsService {
|
|
|
29
59
|
*/
|
|
30
60
|
static workflowList(podId: string, limit?: number, pageToken?: (string | null)): CancelablePromise<WorkflowListResponse>;
|
|
31
61
|
/**
|
|
32
|
-
*
|
|
33
|
-
*
|
|
62
|
+
* Create Workflow
|
|
63
|
+
* Create a workflow definition. Use this before uploading graph nodes/edges with `workflow.graph.update`.
|
|
64
|
+
* @param podId
|
|
65
|
+
* @param requestBody
|
|
66
|
+
* @returns FlowResponse Successful Response
|
|
67
|
+
* @throws ApiError
|
|
68
|
+
*/
|
|
69
|
+
static workflowCreate(podId: string, requestBody: WorkflowCreateRequest): CancelablePromise<FlowResponse>;
|
|
70
|
+
/**
|
|
71
|
+
* Delete Workflow
|
|
72
|
+
* Delete a workflow definition.
|
|
34
73
|
* @param podId
|
|
35
74
|
* @param workflowName
|
|
36
|
-
* @returns
|
|
75
|
+
* @returns void
|
|
37
76
|
* @throws ApiError
|
|
38
77
|
*/
|
|
39
|
-
static
|
|
78
|
+
static workflowDelete(podId: string, workflowName: string): CancelablePromise<void>;
|
|
40
79
|
/**
|
|
41
|
-
*
|
|
42
|
-
*
|
|
80
|
+
* Get Workflow
|
|
81
|
+
* Get a single workflow definition including graph and start configuration.
|
|
43
82
|
* @param podId
|
|
44
83
|
* @param workflowName
|
|
45
|
-
* @
|
|
46
|
-
* @returns FlowEntity Successful Response
|
|
84
|
+
* @returns FlowResponse Successful Response
|
|
47
85
|
* @throws ApiError
|
|
48
86
|
*/
|
|
49
|
-
static
|
|
87
|
+
static workflowGet(podId: string, workflowName: string): CancelablePromise<FlowResponse>;
|
|
50
88
|
/**
|
|
51
|
-
*
|
|
52
|
-
*
|
|
89
|
+
* Update Workflow Metadata
|
|
90
|
+
* Update workflow-level metadata such as description/install requirements. Workflow names are immutable after creation. Use `workflow.graph.update` for nodes and edges.
|
|
53
91
|
* @param podId
|
|
54
92
|
* @param workflowName
|
|
55
|
-
* @
|
|
93
|
+
* @param requestBody
|
|
94
|
+
* @returns FlowResponse Successful Response
|
|
56
95
|
* @throws ApiError
|
|
57
96
|
*/
|
|
58
|
-
static
|
|
97
|
+
static workflowUpdate(podId: string, workflowName: string, requestBody: WorkflowUpdateRequest): CancelablePromise<FlowResponse>;
|
|
59
98
|
/**
|
|
60
99
|
* Update Workflow Graph
|
|
61
100
|
* Replace the workflow graph. Agent/function node `input_mapping` entries must use explicit typed bindings. Use `{type: "expression", value: "start.payload.issue.key"}` for context lookups and `{type: "literal", value: "abc"}` for fixed JSON values.
|
|
62
101
|
* @param podId
|
|
63
102
|
* @param workflowName
|
|
64
103
|
* @param requestBody
|
|
65
|
-
* @returns
|
|
104
|
+
* @returns FlowResponse Successful Response
|
|
66
105
|
* @throws ApiError
|
|
67
106
|
*/
|
|
68
|
-
static workflowGraphUpdate(podId: string, workflowName: string, requestBody: WorkflowGraphUpdateRequest): CancelablePromise<
|
|
107
|
+
static workflowGraphUpdate(podId: string, workflowName: string, requestBody: WorkflowGraphUpdateRequest): CancelablePromise<FlowResponse>;
|
|
69
108
|
/**
|
|
70
109
|
* Install Workflow
|
|
71
110
|
* Install a workflow for runtime execution. Provide `account_id` when the workflow needs an integration account binding.
|
|
@@ -105,43 +144,4 @@ export declare class WorkflowsService {
|
|
|
105
144
|
* @throws ApiError
|
|
106
145
|
*/
|
|
107
146
|
static workflowVisualize(podId: string, workflowName: string): CancelablePromise<string>;
|
|
108
|
-
/**
|
|
109
|
-
* Resume Workflow Run
|
|
110
|
-
* Resume a run in WAITING or EXECUTING state. The payload is written back into the current waiting node output and execution continues.
|
|
111
|
-
* @param podId
|
|
112
|
-
* @param runId
|
|
113
|
-
* @param requestBody
|
|
114
|
-
* @returns FlowRunEntity Successful Response
|
|
115
|
-
* @throws ApiError
|
|
116
|
-
*/
|
|
117
|
-
static workflowRunResume(podId: string, runId: string, requestBody: Record<string, any>): CancelablePromise<FlowRunEntity>;
|
|
118
|
-
/**
|
|
119
|
-
* Get Workflow Run
|
|
120
|
-
* Get current state, context, and step history of a workflow run.
|
|
121
|
-
* @param podId
|
|
122
|
-
* @param runId
|
|
123
|
-
* @returns FlowRunEntity Successful Response
|
|
124
|
-
* @throws ApiError
|
|
125
|
-
*/
|
|
126
|
-
static workflowRunGet(podId: string, runId: string): CancelablePromise<FlowRunEntity>;
|
|
127
|
-
/**
|
|
128
|
-
* List Workflow Runs
|
|
129
|
-
* List recent runs for a given workflow.
|
|
130
|
-
* @param podId
|
|
131
|
-
* @param workflowName
|
|
132
|
-
* @param limit
|
|
133
|
-
* @param pageToken
|
|
134
|
-
* @returns WorkflowRunListResponse Successful Response
|
|
135
|
-
* @throws ApiError
|
|
136
|
-
*/
|
|
137
|
-
static workflowRunList(podId: string, workflowName: string, limit?: number, pageToken?: (string | null)): CancelablePromise<WorkflowRunListResponse>;
|
|
138
|
-
/**
|
|
139
|
-
* Visualize Workflow Run
|
|
140
|
-
* Render an HTML view of a run overlaid on its workflow graph.
|
|
141
|
-
* @param podId
|
|
142
|
-
* @param runId
|
|
143
|
-
* @returns string Successful Response
|
|
144
|
-
* @throws ApiError
|
|
145
|
-
*/
|
|
146
|
-
static workflowRunVisualize(podId: string, runId: string): CancelablePromise<string>;
|
|
147
147
|
}
|