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.
Files changed (205) hide show
  1. package/README.md +1 -1
  2. package/dist/browser/lemma-client.js +674 -1004
  3. package/dist/client.d.ts +0 -2
  4. package/dist/client.js +0 -3
  5. package/dist/index.d.ts +0 -1
  6. package/dist/namespaces/files.d.ts +8 -8
  7. package/dist/namespaces/files.js +16 -16
  8. package/dist/namespaces/records.d.ts +10 -10
  9. package/dist/namespaces/records.js +24 -24
  10. package/dist/namespaces/tables.d.ts +7 -7
  11. package/dist/namespaces/tables.js +13 -13
  12. package/dist/namespaces/workflows.d.ts +4 -4
  13. package/dist/openapi_client/index.d.ts +16 -15
  14. package/dist/openapi_client/index.js +4 -2
  15. package/dist/openapi_client/models/AccountCredentialsResponseSchema.d.ts +1 -1
  16. package/dist/openapi_client/models/AccountResponseSchema.d.ts +6 -6
  17. package/dist/openapi_client/models/{AgentNode_Input.d.ts → AgentNode.d.ts} +2 -2
  18. package/dist/openapi_client/models/{AgentNode_Output.d.ts → AgentNodeResponse.d.ts} +2 -5
  19. package/dist/openapi_client/models/AgentResponse.d.ts +10 -8
  20. package/dist/openapi_client/models/AppTriggerResponseSchema.d.ts +4 -4
  21. package/dist/openapi_client/models/ApplicationAccessConfig.d.ts +4 -4
  22. package/dist/openapi_client/models/ApplicationDetailResponseSchema.d.ts +6 -6
  23. package/dist/openapi_client/models/ApplicationResponseSchema.d.ts +5 -5
  24. package/dist/openapi_client/models/AssistantResponse.d.ts +9 -7
  25. package/dist/openapi_client/models/AssistantSurfaceResponse.d.ts +3 -3
  26. package/dist/openapi_client/models/CancelSubscriptionResponse.d.ts +3 -3
  27. package/dist/openapi_client/models/ColumnSchema.d.ts +22 -22
  28. package/dist/openapi_client/models/ConnectRequestResponseSchema.d.ts +4 -4
  29. package/dist/openapi_client/models/ConversationMessageResponse.d.ts +2 -2
  30. package/dist/openapi_client/models/ConversationResponse.d.ts +8 -8
  31. package/dist/openapi_client/models/CreateAgentRequest.d.ts +6 -4
  32. package/dist/openapi_client/models/CreateAssistantRequest.d.ts +5 -3
  33. package/dist/openapi_client/models/CreateConversationRequest.d.ts +3 -3
  34. package/dist/openapi_client/models/CreateDeskRequest.d.ts +2 -3
  35. package/dist/openapi_client/models/CreateFolderRequest.d.ts +6 -1
  36. package/dist/openapi_client/models/CreateFunctionRequest.d.ts +8 -6
  37. package/dist/openapi_client/models/CreateTableRequest.d.ts +8 -8
  38. package/dist/openapi_client/models/CreateTriggerRequest.d.ts +3 -3
  39. package/dist/openapi_client/models/DataStoreFlowStart.d.ts +6 -6
  40. package/dist/openapi_client/models/DatastoreFileUploadRequest.d.ts +3 -1
  41. package/dist/openapi_client/models/{DecisionNode_Input.d.ts → DecisionNode.d.ts} +2 -2
  42. package/dist/openapi_client/models/{DecisionNode_Output.d.ts → DecisionNodeResponse.d.ts} +2 -5
  43. package/dist/openapi_client/models/DeskBundleUploadRequest.d.ts +1 -1
  44. package/dist/openapi_client/models/DeskBundleUploadResponse.d.ts +1 -1
  45. package/dist/openapi_client/models/DeskResponse.d.ts +6 -7
  46. package/dist/openapi_client/models/EmailSurfaceConfigCreate.d.ts +1 -1
  47. package/dist/openapi_client/models/EndNode.d.ts +1 -1
  48. package/dist/openapi_client/models/EndNodeResponse.d.ts +8 -0
  49. package/dist/openapi_client/models/EventFlowStart.d.ts +5 -5
  50. package/dist/openapi_client/models/FileInfo.d.ts +3 -3
  51. package/dist/openapi_client/models/FileResponse.d.ts +13 -9
  52. package/dist/openapi_client/models/FileSearchRequest.d.ts +2 -2
  53. package/dist/openapi_client/models/FileSearchResponse.d.ts +1 -1
  54. package/dist/openapi_client/models/FileSearchResultSchema.d.ts +1 -1
  55. package/dist/openapi_client/models/FileUploadResponse.d.ts +2 -2
  56. package/dist/openapi_client/models/FileVisibility.d.ts +4 -0
  57. package/dist/openapi_client/models/FileVisibility.js +9 -0
  58. package/dist/openapi_client/models/FlowInstallEntity.d.ts +5 -5
  59. package/dist/openapi_client/models/FlowResponse.d.ts +23 -0
  60. package/dist/openapi_client/models/FlowRunEntity.d.ts +10 -10
  61. package/dist/openapi_client/models/FlowStart.d.ts +4 -4
  62. package/dist/openapi_client/models/FormNode.d.ts +1 -1
  63. package/dist/openapi_client/models/FormNodeResponse.d.ts +8 -0
  64. package/dist/openapi_client/models/{FunctionNode_Input.d.ts → FunctionNode.d.ts} +2 -2
  65. package/dist/openapi_client/models/{FunctionNode_Output.d.ts → FunctionNodeResponse.d.ts} +2 -5
  66. package/dist/openapi_client/models/FunctionResponse.d.ts +13 -11
  67. package/dist/openapi_client/models/FunctionRunResponse.d.ts +7 -7
  68. package/dist/openapi_client/models/IconUploadResponse.d.ts +1 -1
  69. package/dist/openapi_client/models/LoopNode.d.ts +1 -1
  70. package/dist/openapi_client/models/LoopNodeConfig.d.ts +4 -4
  71. package/dist/openapi_client/models/LoopNodeResponse.d.ts +8 -0
  72. package/dist/openapi_client/models/NotificationContent.d.ts +1 -1
  73. package/dist/openapi_client/models/OperationDetail.d.ts +1 -1
  74. package/dist/openapi_client/models/OperationExecutionRequest.d.ts +1 -1
  75. package/dist/openapi_client/models/OperationSummary.d.ts +1 -1
  76. package/dist/openapi_client/models/OrganizationInvitationResponse.d.ts +5 -5
  77. package/dist/openapi_client/models/OrganizationMemberResponse.d.ts +3 -3
  78. package/dist/openapi_client/models/OrganizationResponse.d.ts +1 -1
  79. package/dist/openapi_client/models/PlanResponse.d.ts +6 -6
  80. package/dist/openapi_client/models/PodAppConfigItem.d.ts +3 -3
  81. package/dist/openapi_client/models/PodCreateRequest.d.ts +3 -3
  82. package/dist/openapi_client/models/PodFlowConfigItem.d.ts +3 -3
  83. package/dist/openapi_client/models/PodListResponse.d.ts +1 -1
  84. package/dist/openapi_client/models/PodMemberListResponse.d.ts +1 -1
  85. package/dist/openapi_client/models/PodMemberResponse.d.ts +2 -2
  86. package/dist/openapi_client/models/PodPermissionsResponse.d.ts +1 -1
  87. package/dist/openapi_client/models/PodResponse.d.ts +6 -6
  88. package/dist/openapi_client/models/PodUpdateRequest.d.ts +2 -2
  89. package/dist/openapi_client/models/RecentUsageResponse.d.ts +1 -1
  90. package/dist/openapi_client/models/RecordListResponse.d.ts +1 -1
  91. package/dist/openapi_client/models/RecordQueryRequest.d.ts +4 -4
  92. package/dist/openapi_client/models/RecordSort.d.ts +4 -4
  93. package/dist/openapi_client/models/SearchResult.d.ts +3 -3
  94. package/dist/openapi_client/models/SeatInfoResponse.d.ts +2 -2
  95. package/dist/openapi_client/models/SlackSurfaceConfigCreate.d.ts +1 -1
  96. package/dist/openapi_client/models/StackFrame.d.ts +3 -3
  97. package/dist/openapi_client/models/StartSubscriptionRequest.d.ts +4 -4
  98. package/dist/openapi_client/models/StepExecution.d.ts +4 -4
  99. package/dist/openapi_client/models/SubscriptionStatusResponse.d.ts +1 -1
  100. package/dist/openapi_client/models/SubscriptionWithPlanResponse.d.ts +7 -7
  101. package/dist/openapi_client/models/TableAccessEntry.d.ts +5 -0
  102. package/dist/openapi_client/models/TableAccessMode.d.ts +7 -0
  103. package/dist/openapi_client/models/TableAccessMode.js +12 -0
  104. package/dist/openapi_client/models/TableResponse.d.ts +5 -5
  105. package/dist/openapi_client/models/TaskMessageResponse.d.ts +2 -2
  106. package/dist/openapi_client/models/TaskResponse.d.ts +5 -5
  107. package/dist/openapi_client/models/TeamsSurfaceConfigCreate.d.ts +1 -1
  108. package/dist/openapi_client/models/TextContent.d.ts +1 -1
  109. package/dist/openapi_client/models/ThinkingContent.d.ts +1 -1
  110. package/dist/openapi_client/models/ToolCallRequest.d.ts +2 -2
  111. package/dist/openapi_client/models/ToolCallResponse.d.ts +1 -1
  112. package/dist/openapi_client/models/TriggerResponse.d.ts +6 -6
  113. package/dist/openapi_client/models/UpdateAgentRequest.d.ts +5 -3
  114. package/dist/openapi_client/models/UpdateAssistantRequest.d.ts +4 -2
  115. package/dist/openapi_client/models/UpdateConversationRequest.d.ts +1 -1
  116. package/dist/openapi_client/models/UpdateDeskRequest.d.ts +1 -1
  117. package/dist/openapi_client/models/UpdateFunctionRequest.d.ts +6 -4
  118. package/dist/openapi_client/models/UsageRecordResponse.d.ts +11 -11
  119. package/dist/openapi_client/models/UsageSummaryResponse.d.ts +5 -5
  120. package/dist/openapi_client/models/UserProfileRequest.d.ts +2 -2
  121. package/dist/openapi_client/models/UserResponse.d.ts +6 -6
  122. package/dist/openapi_client/models/ValidationError.d.ts +2 -2
  123. package/dist/openapi_client/models/VerifyTokenResponse.d.ts +1 -1
  124. package/dist/openapi_client/models/WaitUntilNode.d.ts +1 -1
  125. package/dist/openapi_client/models/WaitUntilNodeResponse.d.ts +8 -0
  126. package/dist/openapi_client/models/WebSearchAgentResponse.d.ts +8 -8
  127. package/dist/openapi_client/models/WebSearchRequest.d.ts +4 -4
  128. package/dist/openapi_client/models/WebSearchResponse.d.ts +8 -8
  129. package/dist/openapi_client/models/WhatsAppSurfaceConfigCreate.d.ts +1 -1
  130. package/dist/openapi_client/models/WorkflowCreateRequest.d.ts +6 -6
  131. package/dist/openapi_client/models/WorkflowEdge.d.ts +1 -1
  132. package/dist/openapi_client/models/WorkflowGraphUpdateRequest.d.ts +7 -7
  133. package/dist/openapi_client/models/WorkflowListResponse.d.ts +2 -2
  134. package/dist/openapi_client/models/update.d.ts +3 -1
  135. package/dist/openapi_client/services/AgentFilesService.d.ts +46 -0
  136. package/dist/openapi_client/services/AgentFilesService.js +103 -0
  137. package/dist/openapi_client/services/AgentsService.d.ts +15 -15
  138. package/dist/openapi_client/services/AgentsService.js +33 -33
  139. package/dist/openapi_client/services/ApplicationsService.d.ts +7 -7
  140. package/dist/openapi_client/services/ApplicationsService.js +16 -16
  141. package/dist/openapi_client/services/AssistantSurfacesService.d.ts +9 -9
  142. package/dist/openapi_client/services/AssistantSurfacesService.js +19 -19
  143. package/dist/openapi_client/services/AssistantsService.d.ts +13 -13
  144. package/dist/openapi_client/services/AssistantsService.js +31 -31
  145. package/dist/openapi_client/services/BillingSubscriptionsService.d.ts +15 -15
  146. package/dist/openapi_client/services/BillingSubscriptionsService.js +22 -22
  147. package/dist/openapi_client/services/BillingUsageService.d.ts +7 -7
  148. package/dist/openapi_client/services/BillingUsageService.js +10 -10
  149. package/dist/openapi_client/services/ConversationsService.d.ts +13 -13
  150. package/dist/openapi_client/services/ConversationsService.js +27 -27
  151. package/dist/openapi_client/services/DesksService.d.ts +13 -13
  152. package/dist/openapi_client/services/DesksService.js +31 -31
  153. package/dist/openapi_client/services/FilesService.d.ts +21 -72
  154. package/dist/openapi_client/services/FilesService.js +39 -154
  155. package/dist/openapi_client/services/FunctionsService.d.ts +21 -21
  156. package/dist/openapi_client/services/FunctionsService.js +45 -45
  157. package/dist/openapi_client/services/IntegrationsService.d.ts +24 -24
  158. package/dist/openapi_client/services/IntegrationsService.js +47 -47
  159. package/dist/openapi_client/services/OrganizationsService.d.ts +46 -46
  160. package/dist/openapi_client/services/OrganizationsService.js +88 -88
  161. package/dist/openapi_client/services/PodMembersService.d.ts +13 -13
  162. package/dist/openapi_client/services/PodMembersService.js +29 -29
  163. package/dist/openapi_client/services/PodsService.d.ts +18 -18
  164. package/dist/openapi_client/services/PodsService.js +34 -34
  165. package/dist/openapi_client/services/PublicDesksService.d.ts +10 -0
  166. package/dist/openapi_client/services/PublicDesksService.js +22 -0
  167. package/dist/openapi_client/services/RecordsService.d.ts +39 -48
  168. package/dist/openapi_client/services/RecordsService.js +71 -89
  169. package/dist/openapi_client/services/TablesService.d.ts +18 -25
  170. package/dist/openapi_client/services/TablesService.js +39 -53
  171. package/dist/openapi_client/services/TasksService.d.ts +19 -19
  172. package/dist/openapi_client/services/TasksService.js +39 -39
  173. package/dist/openapi_client/services/TriggersService.d.ts +16 -16
  174. package/dist/openapi_client/services/TriggersService.js +35 -35
  175. package/dist/openapi_client/services/WebhooksService.d.ts +8 -8
  176. package/dist/openapi_client/services/WebhooksService.js +18 -18
  177. package/dist/openapi_client/services/WorkflowsService.d.ts +59 -59
  178. package/dist/openapi_client/services/WorkflowsService.js +115 -115
  179. package/package.json +1 -1
  180. package/dist/namespaces/datastores.d.ts +0 -18
  181. package/dist/namespaces/datastores.js +0 -28
  182. package/dist/openapi_client/models/CreateDatastoreRequest.d.ts +0 -21
  183. package/dist/openapi_client/models/DatastoreListResponse.d.ts +0 -9
  184. package/dist/openapi_client/models/DatastoreQueryRequest.d.ts +0 -9
  185. package/dist/openapi_client/models/DatastoreResponse.d.ts +0 -15
  186. package/dist/openapi_client/models/FlowEntity.d.ts +0 -26
  187. package/dist/openapi_client/models/RecordQueryResponse.d.ts +0 -13
  188. package/dist/openapi_client/models/UpdateDatastoreRequest.d.ts +0 -17
  189. package/dist/openapi_client/models/UpdateDatastoreRequest.js +0 -1
  190. package/dist/openapi_client/services/DatastoreService.d.ts +0 -67
  191. package/dist/openapi_client/services/DatastoreService.js +0 -141
  192. package/dist/openapi_client/services/PublicSdkService.d.ts +0 -17
  193. package/dist/openapi_client/services/PublicSdkService.js +0 -35
  194. /package/dist/openapi_client/models/{AgentNode_Input.js → AgentNode.js} +0 -0
  195. /package/dist/openapi_client/models/{AgentNode_Output.js → AgentNodeResponse.js} +0 -0
  196. /package/dist/openapi_client/models/{CreateDatastoreRequest.js → DecisionNode.js} +0 -0
  197. /package/dist/openapi_client/models/{DatastoreListResponse.js → DecisionNodeResponse.js} +0 -0
  198. /package/dist/openapi_client/models/{DatastoreQueryRequest.js → EndNodeResponse.js} +0 -0
  199. /package/dist/openapi_client/models/{DatastoreResponse.js → FlowResponse.js} +0 -0
  200. /package/dist/openapi_client/models/{DecisionNode_Input.js → FormNodeResponse.js} +0 -0
  201. /package/dist/openapi_client/models/{DecisionNode_Output.js → FunctionNode.js} +0 -0
  202. /package/dist/openapi_client/models/{FlowEntity.js → FunctionNodeResponse.js} +0 -0
  203. /package/dist/openapi_client/models/{FunctionNode_Input.js → LoopNodeResponse.js} +0 -0
  204. /package/dist/openapi_client/models/{FunctionNode_Output.js → TableAccessEntry.js} +0 -0
  205. /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 webhooks from various sources (slack, composio, jira, email, etc.)
7
- * @param source
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 webhookHandle(source) {
11
+ static webhookTriggerHandle(triggerId) {
12
12
  return __request(OpenAPI, {
13
13
  method: 'POST',
14
- url: '/webhooks/{source}',
14
+ url: '/webhooks/trigger/{trigger_id}',
15
15
  path: {
16
- 'source': source,
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
- * Verify Webhook
25
- * Webhook verification endpoint for platforms that require it
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 webhookVerify(source) {
30
+ static webhookHandle(source) {
31
31
  return __request(OpenAPI, {
32
- method: 'GET',
33
- url: '/webhooks/{source}/verify',
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
- * Handle Specific Trigger Webhook
44
- * Receive webhook for a specific trigger ID
45
- * @param triggerId
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 webhookTriggerHandle(triggerId) {
49
+ static webhookVerify(source) {
50
50
  return __request(OpenAPI, {
51
- method: 'POST',
52
- url: '/webhooks/trigger/{trigger_id}',
51
+ method: 'GET',
52
+ url: '/webhooks/{source}/verify',
53
53
  path: {
54
- 'trigger_id': triggerId,
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
- * Create Workflow
14
- * Create a workflow definition. Use this before uploading graph nodes/edges with `workflow.graph.update`.
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 FlowEntity Successful Response
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 workflowCreate(podId: string, requestBody: WorkflowCreateRequest): CancelablePromise<FlowEntity>;
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
- * Get Workflow
33
- * Get a single workflow definition including graph and start configuration.
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 FlowEntity Successful Response
75
+ * @returns void
37
76
  * @throws ApiError
38
77
  */
39
- static workflowGet(podId: string, workflowName: string): CancelablePromise<FlowEntity>;
78
+ static workflowDelete(podId: string, workflowName: string): CancelablePromise<void>;
40
79
  /**
41
- * Update Workflow Metadata
42
- * Update workflow-level metadata such as description/install requirements. Workflow names are immutable after creation. Use `workflow.graph.update` for nodes and edges.
80
+ * Get Workflow
81
+ * Get a single workflow definition including graph and start configuration.
43
82
  * @param podId
44
83
  * @param workflowName
45
- * @param requestBody
46
- * @returns FlowEntity Successful Response
84
+ * @returns FlowResponse Successful Response
47
85
  * @throws ApiError
48
86
  */
49
- static workflowUpdate(podId: string, workflowName: string, requestBody: WorkflowUpdateRequest): CancelablePromise<FlowEntity>;
87
+ static workflowGet(podId: string, workflowName: string): CancelablePromise<FlowResponse>;
50
88
  /**
51
- * Delete Workflow
52
- * Delete a workflow definition.
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
- * @returns void
93
+ * @param requestBody
94
+ * @returns FlowResponse Successful Response
56
95
  * @throws ApiError
57
96
  */
58
- static workflowDelete(podId: string, workflowName: string): CancelablePromise<void>;
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 FlowEntity Successful Response
104
+ * @returns FlowResponse Successful Response
66
105
  * @throws ApiError
67
106
  */
68
- static workflowGraphUpdate(podId: string, workflowName: string, requestBody: WorkflowGraphUpdateRequest): CancelablePromise<FlowEntity>;
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
  }