lemma-sdk 0.2.44 → 0.2.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (308) hide show
  1. package/README.md +1 -1
  2. package/dist/assistant-events.d.ts +1 -0
  3. package/dist/assistant-events.js +37 -2
  4. package/dist/browser/lemma-client.js +312 -228
  5. package/dist/client.js +1 -1
  6. package/dist/config.d.ts +2 -2
  7. package/dist/config.js +2 -2
  8. package/dist/hey_client/client/client.gen.d.ts +2 -0
  9. package/dist/hey_client/client/client.gen.js +216 -0
  10. package/dist/hey_client/client/index.d.ts +10 -0
  11. package/dist/hey_client/client/index.js +6 -0
  12. package/dist/hey_client/client/types.gen.d.ts +120 -0
  13. package/dist/hey_client/client/types.gen.js +2 -0
  14. package/dist/hey_client/client/utils.gen.d.ts +37 -0
  15. package/dist/hey_client/client/utils.gen.js +228 -0
  16. package/dist/hey_client/client.gen.d.ts +12 -0
  17. package/dist/hey_client/client.gen.js +3 -0
  18. package/dist/hey_client/core/auth.gen.d.ts +25 -0
  19. package/dist/hey_client/core/auth.gen.js +14 -0
  20. package/dist/hey_client/core/bodySerializer.gen.d.ts +25 -0
  21. package/dist/hey_client/core/bodySerializer.gen.js +57 -0
  22. package/dist/hey_client/core/params.gen.d.ts +43 -0
  23. package/dist/hey_client/core/params.gen.js +100 -0
  24. package/dist/hey_client/core/pathSerializer.gen.d.ts +33 -0
  25. package/dist/hey_client/core/pathSerializer.gen.js +106 -0
  26. package/dist/hey_client/core/queryKeySerializer.gen.d.ts +18 -0
  27. package/dist/hey_client/core/queryKeySerializer.gen.js +92 -0
  28. package/dist/hey_client/core/serverSentEvents.gen.d.ts +71 -0
  29. package/dist/hey_client/core/serverSentEvents.gen.js +132 -0
  30. package/dist/hey_client/core/types.gen.d.ts +83 -0
  31. package/dist/hey_client/core/types.gen.js +2 -0
  32. package/dist/hey_client/core/utils.gen.d.ts +19 -0
  33. package/dist/hey_client/core/utils.gen.js +87 -0
  34. package/dist/hey_client/index.d.ts +2 -0
  35. package/dist/hey_client/index.js +2 -0
  36. package/dist/hey_client/sdk.gen.d.ts +1005 -0
  37. package/dist/hey_client/sdk.gen.js +1438 -0
  38. package/dist/hey_client/types.gen.d.ts +12992 -0
  39. package/dist/hey_client/types.gen.js +2 -0
  40. package/dist/namespaces/conversations.d.ts +2 -2
  41. package/dist/namespaces/files.d.ts +6 -24
  42. package/dist/namespaces/files.js +6 -16
  43. package/dist/namespaces/integrations.d.ts +2 -4
  44. package/dist/namespaces/integrations.js +6 -6
  45. package/dist/namespaces/pod-surfaces.d.ts +8 -3
  46. package/dist/namespaces/pod-surfaces.js +15 -6
  47. package/dist/namespaces/pods.d.ts +2 -3
  48. package/dist/namespaces/pods.js +1 -6
  49. package/dist/namespaces/records.d.ts +10 -16
  50. package/dist/namespaces/records.js +4 -33
  51. package/dist/namespaces/resource-access.d.ts +3 -3
  52. package/dist/namespaces/resource-access.js +6 -6
  53. package/dist/namespaces/schedules.d.ts +1 -0
  54. package/dist/namespaces/schedules.js +1 -1
  55. package/dist/namespaces/tables.d.ts +2 -2
  56. package/dist/namespaces/workflows.d.ts +12 -8
  57. package/dist/namespaces/workflows.js +9 -18
  58. package/dist/openapi_client/index.d.ts +23 -42
  59. package/dist/openapi_client/index.js +5 -11
  60. package/dist/openapi_client/models/AgentHarnessInfo.d.ts +2 -0
  61. package/dist/openapi_client/models/AgentNode.d.ts +1 -1
  62. package/dist/openapi_client/models/AgentNodeConfig.d.ts +1 -1
  63. package/dist/openapi_client/models/AgentResourcePermissionRequest.d.ts +1 -1
  64. package/dist/openapi_client/models/AgentResourcePermissionResponse.d.ts +1 -1
  65. package/dist/openapi_client/models/AgentRuntimeProfileResponse.d.ts +6 -0
  66. package/dist/openapi_client/models/AgentSurfaceResponse.d.ts +6 -17
  67. package/dist/openapi_client/models/AgentSurfaceStatus.d.ts +3 -1
  68. package/dist/openapi_client/models/AgentSurfaceStatus.js +2 -0
  69. package/dist/openapi_client/models/AgentToolset.d.ts +2 -1
  70. package/dist/openapi_client/models/AgentToolset.js +1 -0
  71. package/dist/openapi_client/models/AppTriggerResponseSchema.d.ts +2 -0
  72. package/dist/openapi_client/models/ApplicationSkillResponse.d.ts +6 -0
  73. package/dist/openapi_client/models/ApprovalDecisionResponse.d.ts +6 -0
  74. package/dist/openapi_client/models/AuthProvider.d.ts +4 -0
  75. package/dist/openapi_client/models/AuthProvider.js +9 -0
  76. package/dist/openapi_client/models/ConnectedAccountSummary.d.ts +7 -0
  77. package/dist/openapi_client/models/CreateFunctionRequest.d.ts +0 -1
  78. package/dist/openapi_client/models/CreateScheduleRequest.d.ts +4 -0
  79. package/dist/openapi_client/models/CreateSurfaceRequest.d.ts +3 -10
  80. package/dist/openapi_client/models/CreateUserDaemonRuntimeProfileRequest.d.ts +2 -0
  81. package/dist/openapi_client/models/DataStoreFlowStartInput.d.ts +1 -1
  82. package/dist/openapi_client/models/DataStoreFlowStartOutput.d.ts +1 -1
  83. package/dist/openapi_client/models/DatastoreCountResponse.d.ts +6 -0
  84. package/dist/openapi_client/models/DecisionNode.d.ts +2 -1
  85. package/dist/openapi_client/models/DecisionRule.d.ts +3 -0
  86. package/dist/openapi_client/models/EndNode.d.ts +1 -1
  87. package/dist/openapi_client/models/ExpressionInputBinding.d.ts +6 -2
  88. package/dist/openapi_client/models/FileListResponse.d.ts +1 -0
  89. package/dist/openapi_client/models/FileSearchResponse.d.ts +2 -2
  90. package/dist/openapi_client/models/FlowRunStatus.d.ts +5 -1
  91. package/dist/openapi_client/models/FlowRunStatus.js +5 -1
  92. package/dist/openapi_client/models/FormNode.d.ts +2 -1
  93. package/dist/openapi_client/models/FormNodeConfig.d.ts +1 -1
  94. package/dist/openapi_client/models/FunctionNode.d.ts +2 -1
  95. package/dist/openapi_client/models/FunctionResourcePermissionRequest.d.ts +1 -1
  96. package/dist/openapi_client/models/FunctionResourcePermissionResponse.d.ts +1 -1
  97. package/dist/openapi_client/models/InstalledAppSummary.d.ts +7 -0
  98. package/dist/openapi_client/models/IntegrationStatusResponse.d.ts +6 -0
  99. package/dist/openapi_client/models/LoopNode.d.ts +2 -1
  100. package/dist/openapi_client/models/LoopNodeConfig.d.ts +3 -3
  101. package/dist/openapi_client/models/MessageKind.d.ts +14 -0
  102. package/dist/openapi_client/models/MessageKind.js +19 -0
  103. package/dist/openapi_client/models/MessageResponse.d.ts +5 -6
  104. package/dist/openapi_client/models/PodMemberAddRequest.d.ts +1 -3
  105. package/dist/openapi_client/models/PodMemberDetailResponse.d.ts +0 -2
  106. package/dist/openapi_client/models/PodMemberResponse.d.ts +0 -2
  107. package/dist/openapi_client/models/PodMemberUpdateRoleRequest.d.ts +1 -3
  108. package/dist/openapi_client/models/PodRoleResourcePermissionRequest.d.ts +1 -1
  109. package/dist/openapi_client/models/PodRoleResourcePermissionResponse.d.ts +1 -1
  110. package/dist/openapi_client/models/ResourceAccessGrantResponse.d.ts +1 -1
  111. package/dist/openapi_client/models/ResourceAccessResponse.d.ts +1 -1
  112. package/dist/openapi_client/models/RuntimeProfileScope.d.ts +2 -1
  113. package/dist/openapi_client/models/RuntimeProfileScope.js +1 -0
  114. package/dist/openapi_client/models/ScheduleDetailResponse.d.ts +6 -0
  115. package/dist/openapi_client/models/ScheduleFireStatus.d.ts +8 -0
  116. package/dist/openapi_client/models/ScheduleFireStatus.js +13 -0
  117. package/dist/openapi_client/models/StepRecordResponse.d.ts +10 -0
  118. package/dist/openapi_client/models/StepStatus.d.ts +7 -0
  119. package/dist/openapi_client/models/StepStatus.js +12 -0
  120. package/dist/openapi_client/models/SurfaceBehaviorConfigInput.d.ts +4 -0
  121. package/dist/openapi_client/models/SurfaceChannelRouteInput.d.ts +6 -0
  122. package/dist/openapi_client/models/SurfaceChannelRouteResponse.d.ts +6 -0
  123. package/dist/openapi_client/models/SurfaceConfigResponse.d.ts +10 -0
  124. package/dist/openapi_client/models/SurfaceCredentialMode.d.ts +4 -0
  125. package/dist/openapi_client/models/SurfaceCredentialMode.js +9 -0
  126. package/dist/openapi_client/models/SurfaceIdentityConfigInput.d.ts +4 -0
  127. package/dist/openapi_client/models/SurfaceIdentityConfigResponse.d.ts +4 -0
  128. package/dist/openapi_client/models/SurfaceSetupStatusResponse.d.ts +10 -0
  129. package/dist/openapi_client/models/TableListResponse.d.ts +2 -0
  130. package/dist/openapi_client/models/ToggleSurfaceRequest.d.ts +1 -1
  131. package/dist/openapi_client/models/UpdateScheduleRequest.d.ts +1 -0
  132. package/dist/openapi_client/models/UpdateSurfaceChannelsRequest.d.ts +4 -0
  133. package/dist/openapi_client/models/UpdateSurfaceRequest.d.ts +4 -11
  134. package/dist/openapi_client/models/UpsertSurfaceRequest.d.ts +9 -0
  135. package/dist/openapi_client/models/UserProfileRequest.d.ts +1 -0
  136. package/dist/openapi_client/models/UserResponse.d.ts +1 -0
  137. package/dist/openapi_client/models/WaitUntilNode.d.ts +1 -1
  138. package/dist/openapi_client/models/WorkflowCreateRequest.d.ts +16 -0
  139. package/dist/openapi_client/models/WorkflowRunFormSubmitRequest.d.ts +13 -0
  140. package/dist/openapi_client/models/WorkflowRunResponse.d.ts +28 -0
  141. package/dist/openapi_client/models/WorkflowRunSummaryResponse.d.ts +2 -3
  142. package/dist/openapi_client/models/WorkflowRunWaitAssignment.d.ts +4 -4
  143. package/dist/openapi_client/models/{WorkflowRunWaitEntity.d.ts → WorkflowRunWaitResponse.d.ts} +4 -8
  144. package/dist/openapi_client/models/WorkflowRunWaitType.d.ts +1 -2
  145. package/dist/openapi_client/models/WorkflowRunWaitType.js +0 -1
  146. package/dist/openapi_client/models/WorkspaceAppAccessRequest.d.ts +0 -3
  147. package/dist/openapi_client/models/WorkspaceMeSandbox.d.ts +1 -4
  148. package/dist/openapi_client/services/AgentConversationsService.d.ts +5 -5
  149. package/dist/openapi_client/services/AgentConversationsService.js +3 -3
  150. package/dist/openapi_client/services/AgentSurfacesService.d.ts +39 -10
  151. package/dist/openapi_client/services/AgentSurfacesService.js +86 -20
  152. package/dist/openapi_client/services/ApplicationsService.d.ts +29 -19
  153. package/dist/openapi_client/services/ApplicationsService.js +63 -36
  154. package/dist/openapi_client/services/FilesService.d.ts +2 -3
  155. package/dist/openapi_client/services/FilesService.js +1 -1
  156. package/dist/openapi_client/services/FunctionsService.d.ts +1 -1
  157. package/dist/openapi_client/services/FunctionsService.js +1 -1
  158. package/dist/openapi_client/services/IntegrationsService.d.ts +12 -4
  159. package/dist/openapi_client/services/IntegrationsService.js +22 -4
  160. package/dist/openapi_client/services/PodResourceAccessService.d.ts +6 -6
  161. package/dist/openapi_client/services/PodResourceAccessService.js +12 -12
  162. package/dist/openapi_client/services/RecordsService.d.ts +22 -25
  163. package/dist/openapi_client/services/RecordsService.js +14 -18
  164. package/dist/openapi_client/services/SchedulesService.d.ts +2 -1
  165. package/dist/openapi_client/services/SchedulesService.js +3 -1
  166. package/dist/openapi_client/services/TablesService.d.ts +4 -5
  167. package/dist/openapi_client/services/TablesService.js +2 -2
  168. package/dist/openapi_client/services/WorkflowsService.d.ts +35 -26
  169. package/dist/openapi_client/services/WorkflowsService.js +57 -39
  170. package/dist/react/assistant-output.d.ts +6 -0
  171. package/dist/react/assistant-output.js +16 -0
  172. package/dist/react/useAddPodMember.js +1 -1
  173. package/dist/react/useAssistantController.d.ts +9 -1
  174. package/dist/react/useAssistantController.js +92 -251
  175. package/dist/react/useAssistantRuntime.js +6 -17
  176. package/dist/react/useAssistantSession.d.ts +5 -2
  177. package/dist/react/useAssistantSession.js +47 -7
  178. package/dist/react/useBulkRecords.d.ts +5 -5
  179. package/dist/react/useBulkRecords.js +5 -5
  180. package/dist/react/useConversationMessages.d.ts +2 -2
  181. package/dist/react/useConversationMessages.js +3 -5
  182. package/dist/react/useCreateFolder.d.ts +2 -4
  183. package/dist/react/useCreateFolder.js +2 -3
  184. package/dist/react/useCreateRecord.d.ts +2 -2
  185. package/dist/react/useCreateRecord.js +1 -1
  186. package/dist/react/useDeleteFile.d.ts +1 -4
  187. package/dist/react/useDeleteFile.js +3 -3
  188. package/dist/react/useDeleteRecord.d.ts +1 -2
  189. package/dist/react/useDeleteRecord.js +3 -3
  190. package/dist/react/useFile.d.ts +2 -4
  191. package/dist/react/useFile.js +3 -3
  192. package/dist/react/useFilePreview.d.ts +1 -4
  193. package/dist/react/useFilePreview.js +4 -5
  194. package/dist/react/useFileSearch.d.ts +5 -1
  195. package/dist/react/useFileSearch.js +6 -4
  196. package/dist/react/useFileTree.d.ts +2 -4
  197. package/dist/react/useFileTree.js +2 -3
  198. package/dist/react/useFiles.d.ts +2 -4
  199. package/dist/react/useFiles.js +3 -5
  200. package/dist/react/useFlowSession.d.ts +3 -1
  201. package/dist/react/useFlowSession.js +24 -17
  202. package/dist/react/useGlobalSearch.js +1 -1
  203. package/dist/react/useRecord.d.ts +2 -2
  204. package/dist/react/useRecord.js +1 -1
  205. package/dist/react/useRecordForm.d.ts +2 -2
  206. package/dist/react/useRecordForm.js +2 -2
  207. package/dist/react/useRecords.d.ts +1 -1
  208. package/dist/react/useRecords.js +2 -13
  209. package/dist/react/useReferencingRecords.d.ts +4 -6
  210. package/dist/react/useReferencingRecords.js +5 -5
  211. package/dist/react/useReverseRelatedRecords.d.ts +3 -4
  212. package/dist/react/useReverseRelatedRecords.js +6 -6
  213. package/dist/react/useUpdateFile.d.ts +2 -4
  214. package/dist/react/useUpdateFile.js +2 -3
  215. package/dist/react/useUpdateRecord.d.ts +2 -2
  216. package/dist/react/useUpdateRecord.js +1 -1
  217. package/dist/react/useUploadFile.d.ts +2 -4
  218. package/dist/react/useUploadFile.js +2 -3
  219. package/dist/react/useWorkflowResume.d.ts +1 -0
  220. package/dist/react/useWorkflowResume.js +10 -1
  221. package/dist/react/useWorkflowRun.js +1 -3
  222. package/dist/react/useWorkflowStart.js +11 -26
  223. package/dist/react/utils.js +2 -0
  224. package/dist/types.d.ts +15 -9
  225. package/package.json +7 -2
  226. package/dist/openapi_client/models/BillingHistoryResponse.d.ts +0 -8
  227. package/dist/openapi_client/models/BillingInterval.d.ts +0 -7
  228. package/dist/openapi_client/models/BillingInterval.js +0 -12
  229. package/dist/openapi_client/models/BillingInvoiceResponse.d.ts +0 -27
  230. package/dist/openapi_client/models/BillingInvoiceStatus.d.ts +0 -10
  231. package/dist/openapi_client/models/BillingInvoiceStatus.js +0 -15
  232. package/dist/openapi_client/models/CancelSubscriptionResponse.d.ts +0 -10
  233. package/dist/openapi_client/models/CreateInvoicePaymentUrlRequest.d.ts +0 -7
  234. package/dist/openapi_client/models/CreateInvoicePaymentUrlResponse.d.ts +0 -8
  235. package/dist/openapi_client/models/DatastoreMessageResponse.d.ts +0 -6
  236. package/dist/openapi_client/models/DeskServingConfigResponse.d.ts +0 -11
  237. package/dist/openapi_client/models/DeskServingConfigResponse.js +0 -8
  238. package/dist/openapi_client/models/FlowRunEntity.d.ts +0 -36
  239. package/dist/openapi_client/models/GmailSurfaceConfig.d.ts +0 -7
  240. package/dist/openapi_client/models/NotificationContent.d.ts +0 -4
  241. package/dist/openapi_client/models/OutlookSurfaceConfig.d.ts +0 -7
  242. package/dist/openapi_client/models/PlanListResponse.d.ts +0 -8
  243. package/dist/openapi_client/models/PlanResponse.d.ts +0 -18
  244. package/dist/openapi_client/models/PlanType.d.ts +0 -7
  245. package/dist/openapi_client/models/PlanType.js +0 -12
  246. package/dist/openapi_client/models/RecordResponse.d.ts +0 -9
  247. package/dist/openapi_client/models/SeatInfoResponse.d.ts +0 -10
  248. package/dist/openapi_client/models/SlackSurfaceConfig.d.ts +0 -7
  249. package/dist/openapi_client/models/StackFrame.d.ts +0 -11
  250. package/dist/openapi_client/models/StartSubscriptionRequest.d.ts +0 -14
  251. package/dist/openapi_client/models/StartSubscriptionResponse.d.ts +0 -9
  252. package/dist/openapi_client/models/StartTeamBillingRequest.d.ts +0 -6
  253. package/dist/openapi_client/models/StartTeamBillingRequest.js +0 -1
  254. package/dist/openapi_client/models/StepExecution.d.ts +0 -13
  255. package/dist/openapi_client/models/StepExecution.js +0 -1
  256. package/dist/openapi_client/models/SubscriptionResponse.d.ts +0 -22
  257. package/dist/openapi_client/models/SubscriptionResponse.js +0 -1
  258. package/dist/openapi_client/models/SubscriptionStatus.d.ts +0 -10
  259. package/dist/openapi_client/models/SubscriptionStatus.js +0 -15
  260. package/dist/openapi_client/models/SubscriptionStatusResponse.d.ts +0 -10
  261. package/dist/openapi_client/models/SubscriptionStatusResponse.js +0 -1
  262. package/dist/openapi_client/models/SubscriptionWithPlanResponse.d.ts +0 -22
  263. package/dist/openapi_client/models/SubscriptionWithPlanResponse.js +0 -1
  264. package/dist/openapi_client/models/SurfaceEventMode.d.ts +0 -6
  265. package/dist/openapi_client/models/SurfaceEventMode.js +0 -11
  266. package/dist/openapi_client/models/SurfaceMode.d.ts +0 -5
  267. package/dist/openapi_client/models/SurfaceMode.js +0 -10
  268. package/dist/openapi_client/models/SurfaceRoutingScope.d.ts +0 -4
  269. package/dist/openapi_client/models/SurfaceRoutingScope.js +0 -9
  270. package/dist/openapi_client/models/TeamsSurfaceConfig.d.ts +0 -7
  271. package/dist/openapi_client/models/TeamsSurfaceConfig.js +0 -1
  272. package/dist/openapi_client/models/TelegramSurfaceConfig.d.ts +0 -7
  273. package/dist/openapi_client/models/TelegramSurfaceConfig.js +0 -1
  274. package/dist/openapi_client/models/TextContent.d.ts +0 -4
  275. package/dist/openapi_client/models/TextContent.js +0 -1
  276. package/dist/openapi_client/models/ThinkingContent.d.ts +0 -4
  277. package/dist/openapi_client/models/ThinkingContent.js +0 -1
  278. package/dist/openapi_client/models/ToolCallContent.d.ts +0 -6
  279. package/dist/openapi_client/models/ToolCallContent.js +0 -1
  280. package/dist/openapi_client/models/ToolReturnContent.d.ts +0 -6
  281. package/dist/openapi_client/models/ToolReturnContent.js +0 -1
  282. package/dist/openapi_client/models/WhatsAppSurfaceConfig.d.ts +0 -7
  283. package/dist/openapi_client/models/WhatsAppSurfaceConfig.js +0 -1
  284. package/dist/openapi_client/models/WorkflowRunWaitEntity.js +0 -1
  285. package/dist/openapi_client/services/BillingSubscriptionsService.d.ts +0 -117
  286. package/dist/openapi_client/services/BillingSubscriptionsService.js +0 -230
  287. package/dist/openapi_client/services/BillingWebhooksService.d.ts +0 -12
  288. package/dist/openapi_client/services/BillingWebhooksService.js +0 -25
  289. package/dist/openapi_client/services/PublicDesksService.d.ts +0 -10
  290. package/dist/openapi_client/services/PublicDesksService.js +0 -15
  291. /package/dist/openapi_client/models/{BillingHistoryResponse.js → ApplicationSkillResponse.js} +0 -0
  292. /package/dist/openapi_client/models/{BillingInvoiceResponse.js → ApprovalDecisionResponse.js} +0 -0
  293. /package/dist/openapi_client/models/{CancelSubscriptionResponse.js → ConnectedAccountSummary.js} +0 -0
  294. /package/dist/openapi_client/models/{CreateInvoicePaymentUrlRequest.js → DatastoreCountResponse.js} +0 -0
  295. /package/dist/openapi_client/models/{CreateInvoicePaymentUrlResponse.js → InstalledAppSummary.js} +0 -0
  296. /package/dist/openapi_client/models/{DatastoreMessageResponse.js → IntegrationStatusResponse.js} +0 -0
  297. /package/dist/openapi_client/models/{FlowRunEntity.js → StepRecordResponse.js} +0 -0
  298. /package/dist/openapi_client/models/{GmailSurfaceConfig.js → SurfaceChannelRouteInput.js} +0 -0
  299. /package/dist/openapi_client/models/{NotificationContent.js → SurfaceChannelRouteResponse.js} +0 -0
  300. /package/dist/openapi_client/models/{OutlookSurfaceConfig.js → SurfaceConfigResponse.js} +0 -0
  301. /package/dist/openapi_client/models/{PlanListResponse.js → SurfaceIdentityConfigInput.js} +0 -0
  302. /package/dist/openapi_client/models/{PlanResponse.js → SurfaceIdentityConfigResponse.js} +0 -0
  303. /package/dist/openapi_client/models/{RecordResponse.js → SurfaceSetupStatusResponse.js} +0 -0
  304. /package/dist/openapi_client/models/{SeatInfoResponse.js → UpdateSurfaceChannelsRequest.js} +0 -0
  305. /package/dist/openapi_client/models/{SlackSurfaceConfig.js → UpsertSurfaceRequest.js} +0 -0
  306. /package/dist/openapi_client/models/{StackFrame.js → WorkflowRunFormSubmitRequest.js} +0 -0
  307. /package/dist/openapi_client/models/{StartSubscriptionRequest.js → WorkflowRunResponse.js} +0 -0
  308. /package/dist/openapi_client/models/{StartSubscriptionResponse.js → WorkflowRunWaitResponse.js} +0 -0
@@ -1,6 +1,6 @@
1
- import type { FlowRunEntity } from './FlowRunEntity.js';
2
- import type { WorkflowRunWaitEntity } from './WorkflowRunWaitEntity.js';
1
+ import type { WorkflowRunSummaryResponse } from './WorkflowRunSummaryResponse.js';
2
+ import type { WorkflowRunWaitResponse } from './WorkflowRunWaitResponse.js';
3
3
  export type WorkflowRunWaitAssignment = {
4
- run: FlowRunEntity;
5
- wait: WorkflowRunWaitEntity;
4
+ run: WorkflowRunSummaryResponse;
5
+ wait: WorkflowRunWaitResponse;
6
6
  };
@@ -1,20 +1,16 @@
1
1
  import type { WorkflowRunWaitStatus } from './WorkflowRunWaitStatus.js';
2
2
  import type { WorkflowRunWaitType } from './WorkflowRunWaitType.js';
3
- /**
4
- * A queryable wait owned by a workflow run.
5
- */
6
- export type WorkflowRunWaitEntity = {
3
+ export type WorkflowRunWaitResponse = {
7
4
  assigned_pod_member_id?: (string | null);
8
5
  completed_at?: (string | null);
9
- created_at?: string;
6
+ created_at?: (string | null);
10
7
  external_ref?: (string | null);
11
8
  flow_id: string;
12
- id?: string;
9
+ id: string;
13
10
  node_id: string;
14
11
  payload?: Record<string, any>;
15
12
  pod_id: string;
16
13
  run_id: string;
17
- status?: WorkflowRunWaitStatus;
18
- updated_at?: string;
14
+ status: WorkflowRunWaitStatus;
19
15
  wait_type: WorkflowRunWaitType;
20
16
  };
@@ -2,6 +2,5 @@ export declare enum WorkflowRunWaitType {
2
2
  HUMAN = "HUMAN",
3
3
  AGENT = "AGENT",
4
4
  FUNCTION = "FUNCTION",
5
- TIME = "TIME",
6
- SCHEDULE = "SCHEDULE"
5
+ TIME = "TIME"
7
6
  }
@@ -8,5 +8,4 @@ export var WorkflowRunWaitType;
8
8
  WorkflowRunWaitType["AGENT"] = "AGENT";
9
9
  WorkflowRunWaitType["FUNCTION"] = "FUNCTION";
10
10
  WorkflowRunWaitType["TIME"] = "TIME";
11
- WorkflowRunWaitType["SCHEDULE"] = "SCHEDULE";
12
11
  })(WorkflowRunWaitType || (WorkflowRunWaitType = {}));
@@ -1,6 +1,3 @@
1
1
  export type WorkspaceAppAccessRequest = {
2
- pod_id?: (string | null);
3
2
  ttl_seconds?: number;
4
- workload_id?: (string | null);
5
- workload_type?: (string | null);
6
3
  };
@@ -1,10 +1,7 @@
1
1
  export type WorkspaceMeSandbox = {
2
- namespace?: (string | null);
3
- phase?: (string | null);
4
- pod_name?: (string | null);
2
+ id: string;
5
3
  ready: boolean;
6
4
  runtime: string;
7
- sandbox_id: string;
8
5
  status: string;
9
6
  updated_at?: (string | null);
10
7
  };
@@ -1,10 +1,10 @@
1
+ import type { ApprovalDecisionResponse } from '../models/ApprovalDecisionResponse.js';
1
2
  import type { ConversationListResponse } from '../models/ConversationListResponse.js';
2
3
  import type { ConversationResponse } from '../models/ConversationResponse.js';
3
4
  import type { ConversationStatus } from '../models/ConversationStatus.js';
4
5
  import type { ConversationType } from '../models/ConversationType.js';
5
6
  import type { CreateConversationRequest } from '../models/CreateConversationRequest.js';
6
7
  import type { MessageListResponse } from '../models/MessageListResponse.js';
7
- import type { MessageResponse } from '../models/MessageResponse.js';
8
8
  import type { ResolveUserApprovalRequest } from '../models/ResolveUserApprovalRequest.js';
9
9
  import type { SendMessageRequest } from '../models/SendMessageRequest.js';
10
10
  import type { UpdateConversationRequest } from '../models/UpdateConversationRequest.js';
@@ -54,7 +54,7 @@ export declare class AgentConversationsService {
54
54
  static agentConversationUpdate(podId: string, conversationId: string, requestBody: UpdateConversationRequest): CancelablePromise<ConversationResponse>;
55
55
  /**
56
56
  * List Agent Run Approvals
57
- * List pending user_approval tool calls in a conversation.
57
+ * List pending request_approval tool calls in a conversation.
58
58
  * @param podId
59
59
  * @param conversationId
60
60
  * @returns UserApprovalListResponse Successful Response
@@ -63,15 +63,15 @@ export declare class AgentConversationsService {
63
63
  static agentConversationApprovalList(podId: string, conversationId: string): CancelablePromise<UserApprovalListResponse>;
64
64
  /**
65
65
  * Resolve User Approval
66
- * Append a user_approval tool result and resume the live local turn.
66
+ * Record the user's decision on a request_approval call and wake the paused agent run, which then executes the approved tool as the user.
67
67
  * @param podId
68
68
  * @param conversationId
69
69
  * @param approvalId
70
70
  * @param requestBody
71
- * @returns MessageResponse Successful Response
71
+ * @returns ApprovalDecisionResponse Successful Response
72
72
  * @throws ApiError
73
73
  */
74
- static agentConversationApprovalResolve(podId: string, conversationId: string, approvalId: string, requestBody: ResolveUserApprovalRequest): CancelablePromise<MessageResponse>;
74
+ static agentConversationApprovalResolve(podId: string, conversationId: string, approvalId: string, requestBody: ResolveUserApprovalRequest): CancelablePromise<ApprovalDecisionResponse>;
75
75
  /**
76
76
  * List Pod Conversation Messages
77
77
  * List the latest persisted messages in chronological order. Pass next_page_token as page_token to fetch the next older page above the current page.
@@ -101,7 +101,7 @@ export class AgentConversationsService {
101
101
  }
102
102
  /**
103
103
  * List Agent Run Approvals
104
- * List pending user_approval tool calls in a conversation.
104
+ * List pending request_approval tool calls in a conversation.
105
105
  * @param podId
106
106
  * @param conversationId
107
107
  * @returns UserApprovalListResponse Successful Response
@@ -122,12 +122,12 @@ export class AgentConversationsService {
122
122
  }
123
123
  /**
124
124
  * Resolve User Approval
125
- * Append a user_approval tool result and resume the live local turn.
125
+ * Record the user's decision on a request_approval call and wake the paused agent run, which then executes the approved tool as the user.
126
126
  * @param podId
127
127
  * @param conversationId
128
128
  * @param approvalId
129
129
  * @param requestBody
130
- * @returns MessageResponse Successful Response
130
+ * @returns ApprovalDecisionResponse Successful Response
131
131
  * @throws ApiError
132
132
  */
133
133
  static agentConversationApprovalResolve(podId, conversationId, approvalId, requestBody) {
@@ -2,8 +2,11 @@ import type { AdminConsentInfoResponse } from '../models/AdminConsentInfoRespons
2
2
  import type { AgentSurfaceListResponse } from '../models/AgentSurfaceListResponse.js';
3
3
  import type { CreateSurfaceRequest } from '../models/CreateSurfaceRequest.js';
4
4
  import type { SurfacePlatformSetupGuideResponse } from '../models/SurfacePlatformSetupGuideResponse.js';
5
+ import type { SurfaceSetupStatusResponse } from '../models/SurfaceSetupStatusResponse.js';
5
6
  import type { ToggleSurfaceRequest } from '../models/ToggleSurfaceRequest.js';
7
+ import type { UpdateSurfaceChannelsRequest } from '../models/UpdateSurfaceChannelsRequest.js';
6
8
  import type { UpdateSurfaceRequest } from '../models/UpdateSurfaceRequest.js';
9
+ import type { UpsertSurfaceRequest } from '../models/UpsertSurfaceRequest.js';
7
10
  import type { CancelablePromise } from '../core/CancelablePromise.js';
8
11
  export declare class AgentSurfacesService {
9
12
  /**
@@ -31,46 +34,72 @@ export declare class AgentSurfacesService {
31
34
  * @throws ApiError
32
35
  */
33
36
  static agentSurfacePlatformChecklist(podId: string, platform: string): CancelablePromise<SurfacePlatformSetupGuideResponse>;
37
+ /**
38
+ * Upsert Surface By Platform
39
+ * @param podId
40
+ * @param platform
41
+ * @param requestBody
42
+ * @returns any Successful Response
43
+ * @throws ApiError
44
+ */
45
+ static agentSurfaceUpsertByPlatform(podId: string, platform: string, requestBody: UpsertSurfaceRequest): CancelablePromise<any>;
34
46
  /**
35
47
  * Delete Surface
36
48
  * @param podId
37
- * @param surfaceId
49
+ * @param surfaceRef
38
50
  * @returns void
39
51
  * @throws ApiError
40
52
  */
41
- static agentSurfaceDelete(podId: string, surfaceId: string): CancelablePromise<void>;
53
+ static agentSurfaceDelete(podId: string, surfaceRef: string): CancelablePromise<void>;
42
54
  /**
43
55
  * Get Surface
44
56
  * @param podId
45
- * @param surfaceId
57
+ * @param surfaceRef
46
58
  * @returns any Successful Response
47
59
  * @throws ApiError
48
60
  */
49
- static agentSurfaceGet(podId: string, surfaceId: string): CancelablePromise<any>;
61
+ static agentSurfaceGet(podId: string, surfaceRef: string): CancelablePromise<any>;
50
62
  /**
51
63
  * Update Surface
52
64
  * @param podId
53
- * @param surfaceId
65
+ * @param surfaceRef
54
66
  * @param requestBody
55
67
  * @returns any Successful Response
56
68
  * @throws ApiError
57
69
  */
58
- static agentSurfaceUpdate(podId: string, surfaceId: string, requestBody: UpdateSurfaceRequest): CancelablePromise<any>;
70
+ static agentSurfaceUpdate(podId: string, surfaceRef: string, requestBody: UpdateSurfaceRequest): CancelablePromise<any>;
59
71
  /**
60
72
  * Get Admin Consent Info
61
73
  * @param podId
62
- * @param surfaceId
74
+ * @param surfaceRef
63
75
  * @returns AdminConsentInfoResponse Successful Response
64
76
  * @throws ApiError
65
77
  */
66
- static agentSurfaceAdminConsentInfo(podId: string, surfaceId: string): CancelablePromise<AdminConsentInfoResponse>;
78
+ static agentSurfaceAdminConsentInfo(podId: string, surfaceRef: string): CancelablePromise<AdminConsentInfoResponse>;
79
+ /**
80
+ * Update Surface Channels
81
+ * @param podId
82
+ * @param surfaceRef
83
+ * @param requestBody
84
+ * @returns any Successful Response
85
+ * @throws ApiError
86
+ */
87
+ static agentSurfaceUpdateChannels(podId: string, surfaceRef: string, requestBody: UpdateSurfaceChannelsRequest): CancelablePromise<any>;
88
+ /**
89
+ * Get Surface Setup Status
90
+ * @param podId
91
+ * @param surfaceRef
92
+ * @returns SurfaceSetupStatusResponse Successful Response
93
+ * @throws ApiError
94
+ */
95
+ static agentSurfaceSetupStatus(podId: string, surfaceRef: string): CancelablePromise<SurfaceSetupStatusResponse>;
67
96
  /**
68
97
  * Toggle Surface
69
98
  * @param podId
70
- * @param surfaceId
99
+ * @param surfaceRef
71
100
  * @param requestBody
72
101
  * @returns any Successful Response
73
102
  * @throws ApiError
74
103
  */
75
- static agentSurfaceToggle(podId: string, surfaceId: string, requestBody: ToggleSurfaceRequest): CancelablePromise<any>;
104
+ static agentSurfaceToggle(podId: string, surfaceRef: string, requestBody: ToggleSurfaceRequest): CancelablePromise<any>;
76
105
  }
@@ -66,20 +66,43 @@ export class AgentSurfacesService {
66
66
  },
67
67
  });
68
68
  }
69
+ /**
70
+ * Upsert Surface By Platform
71
+ * @param podId
72
+ * @param platform
73
+ * @param requestBody
74
+ * @returns any Successful Response
75
+ * @throws ApiError
76
+ */
77
+ static agentSurfaceUpsertByPlatform(podId, platform, requestBody) {
78
+ return __request(OpenAPI, {
79
+ method: 'PUT',
80
+ url: '/pods/{pod_id}/surfaces/{platform}',
81
+ path: {
82
+ 'pod_id': podId,
83
+ 'platform': platform,
84
+ },
85
+ body: requestBody,
86
+ mediaType: 'application/json',
87
+ errors: {
88
+ 422: `Validation Error`,
89
+ },
90
+ });
91
+ }
69
92
  /**
70
93
  * Delete Surface
71
94
  * @param podId
72
- * @param surfaceId
95
+ * @param surfaceRef
73
96
  * @returns void
74
97
  * @throws ApiError
75
98
  */
76
- static agentSurfaceDelete(podId, surfaceId) {
99
+ static agentSurfaceDelete(podId, surfaceRef) {
77
100
  return __request(OpenAPI, {
78
101
  method: 'DELETE',
79
- url: '/pods/{pod_id}/surfaces/{surface_id}',
102
+ url: '/pods/{pod_id}/surfaces/{surface_ref}',
80
103
  path: {
81
104
  'pod_id': podId,
82
- 'surface_id': surfaceId,
105
+ 'surface_ref': surfaceRef,
83
106
  },
84
107
  errors: {
85
108
  422: `Validation Error`,
@@ -89,17 +112,17 @@ export class AgentSurfacesService {
89
112
  /**
90
113
  * Get Surface
91
114
  * @param podId
92
- * @param surfaceId
115
+ * @param surfaceRef
93
116
  * @returns any Successful Response
94
117
  * @throws ApiError
95
118
  */
96
- static agentSurfaceGet(podId, surfaceId) {
119
+ static agentSurfaceGet(podId, surfaceRef) {
97
120
  return __request(OpenAPI, {
98
121
  method: 'GET',
99
- url: '/pods/{pod_id}/surfaces/{surface_id}',
122
+ url: '/pods/{pod_id}/surfaces/{surface_ref}',
100
123
  path: {
101
124
  'pod_id': podId,
102
- 'surface_id': surfaceId,
125
+ 'surface_ref': surfaceRef,
103
126
  },
104
127
  errors: {
105
128
  422: `Validation Error`,
@@ -109,18 +132,18 @@ export class AgentSurfacesService {
109
132
  /**
110
133
  * Update Surface
111
134
  * @param podId
112
- * @param surfaceId
135
+ * @param surfaceRef
113
136
  * @param requestBody
114
137
  * @returns any Successful Response
115
138
  * @throws ApiError
116
139
  */
117
- static agentSurfaceUpdate(podId, surfaceId, requestBody) {
140
+ static agentSurfaceUpdate(podId, surfaceRef, requestBody) {
118
141
  return __request(OpenAPI, {
119
142
  method: 'PATCH',
120
- url: '/pods/{pod_id}/surfaces/{surface_id}',
143
+ url: '/pods/{pod_id}/surfaces/{surface_ref}',
121
144
  path: {
122
145
  'pod_id': podId,
123
- 'surface_id': surfaceId,
146
+ 'surface_ref': surfaceRef,
124
147
  },
125
148
  body: requestBody,
126
149
  mediaType: 'application/json',
@@ -132,17 +155,60 @@ export class AgentSurfacesService {
132
155
  /**
133
156
  * Get Admin Consent Info
134
157
  * @param podId
135
- * @param surfaceId
158
+ * @param surfaceRef
136
159
  * @returns AdminConsentInfoResponse Successful Response
137
160
  * @throws ApiError
138
161
  */
139
- static agentSurfaceAdminConsentInfo(podId, surfaceId) {
162
+ static agentSurfaceAdminConsentInfo(podId, surfaceRef) {
163
+ return __request(OpenAPI, {
164
+ method: 'GET',
165
+ url: '/pods/{pod_id}/surfaces/{surface_ref}/admin-consent',
166
+ path: {
167
+ 'pod_id': podId,
168
+ 'surface_ref': surfaceRef,
169
+ },
170
+ errors: {
171
+ 422: `Validation Error`,
172
+ },
173
+ });
174
+ }
175
+ /**
176
+ * Update Surface Channels
177
+ * @param podId
178
+ * @param surfaceRef
179
+ * @param requestBody
180
+ * @returns any Successful Response
181
+ * @throws ApiError
182
+ */
183
+ static agentSurfaceUpdateChannels(podId, surfaceRef, requestBody) {
184
+ return __request(OpenAPI, {
185
+ method: 'PUT',
186
+ url: '/pods/{pod_id}/surfaces/{surface_ref}/channels',
187
+ path: {
188
+ 'pod_id': podId,
189
+ 'surface_ref': surfaceRef,
190
+ },
191
+ body: requestBody,
192
+ mediaType: 'application/json',
193
+ errors: {
194
+ 422: `Validation Error`,
195
+ },
196
+ });
197
+ }
198
+ /**
199
+ * Get Surface Setup Status
200
+ * @param podId
201
+ * @param surfaceRef
202
+ * @returns SurfaceSetupStatusResponse Successful Response
203
+ * @throws ApiError
204
+ */
205
+ static agentSurfaceSetupStatus(podId, surfaceRef) {
140
206
  return __request(OpenAPI, {
141
207
  method: 'GET',
142
- url: '/pods/{pod_id}/surfaces/{surface_id}/admin-consent',
208
+ url: '/pods/{pod_id}/surfaces/{surface_ref}/setup',
143
209
  path: {
144
210
  'pod_id': podId,
145
- 'surface_id': surfaceId,
211
+ 'surface_ref': surfaceRef,
146
212
  },
147
213
  errors: {
148
214
  422: `Validation Error`,
@@ -152,18 +218,18 @@ export class AgentSurfacesService {
152
218
  /**
153
219
  * Toggle Surface
154
220
  * @param podId
155
- * @param surfaceId
221
+ * @param surfaceRef
156
222
  * @param requestBody
157
223
  * @returns any Successful Response
158
224
  * @throws ApiError
159
225
  */
160
- static agentSurfaceToggle(podId, surfaceId, requestBody) {
226
+ static agentSurfaceToggle(podId, surfaceRef, requestBody) {
161
227
  return __request(OpenAPI, {
162
228
  method: 'PATCH',
163
- url: '/pods/{pod_id}/surfaces/{surface_id}/toggle',
229
+ url: '/pods/{pod_id}/surfaces/{surface_ref}/toggle',
164
230
  path: {
165
231
  'pod_id': podId,
166
- 'surface_id': surfaceId,
232
+ 'surface_ref': surfaceRef,
167
233
  },
168
234
  body: requestBody,
169
235
  mediaType: 'application/json',
@@ -1,5 +1,6 @@
1
1
  import type { ApplicationDetailResponseSchema } from '../models/ApplicationDetailResponseSchema.js';
2
2
  import type { ApplicationListResponseSchema } from '../models/ApplicationListResponseSchema.js';
3
+ import type { ApplicationSkillResponse } from '../models/ApplicationSkillResponse.js';
3
4
  import type { AppTriggerListResponseSchema } from '../models/AppTriggerListResponseSchema.js';
4
5
  import type { AppTriggerResponseSchema } from '../models/AppTriggerResponseSchema.js';
5
6
  import type { OperationDetail } from '../models/OperationDetail.js';
@@ -19,25 +20,6 @@ export declare class ApplicationsService {
19
20
  * @throws ApiError
20
21
  */
21
22
  static applicationList(limit?: number, pageToken?: (string | null)): CancelablePromise<ApplicationListResponseSchema>;
22
- /**
23
- * List Triggers
24
- * Get all triggers. Optionally filter by application_id and search in description
25
- * @param applicationId
26
- * @param search
27
- * @param limit
28
- * @param pageToken
29
- * @returns AppTriggerListResponseSchema Successful Response
30
- * @throws ApiError
31
- */
32
- static applicationTriggerList(applicationId?: (string | null), search?: (string | null), limit?: number, pageToken?: (string | null)): CancelablePromise<AppTriggerListResponseSchema>;
33
- /**
34
- * Get Trigger
35
- * Get a specific trigger by ID
36
- * @param triggerId
37
- * @returns AppTriggerResponseSchema Successful Response
38
- * @throws ApiError
39
- */
40
- static applicationTriggerGet(triggerId: string): CancelablePromise<AppTriggerResponseSchema>;
41
23
  /**
42
24
  * Get Application
43
25
  * Get a specific application by ID along with its operation catalog
@@ -46,6 +28,15 @@ export declare class ApplicationsService {
46
28
  * @throws ApiError
47
29
  */
48
30
  static applicationGet(applicationId: string): CancelablePromise<ApplicationDetailResponseSchema>;
31
+ /**
32
+ * Get Application Skill
33
+ * Get the skill guide markdown for an application. Pass `provider=lemma` or `provider=composio` to get provider-specific instructions when the app supports both. Falls back to the generic doc if no provider-specific file exists. Returns 404 if no skill doc has been generated yet.
34
+ * @param applicationId
35
+ * @param provider Provider override: lemma or composio
36
+ * @returns ApplicationSkillResponse Successful Response
37
+ * @throws ApiError
38
+ */
39
+ static applicationSkillGet(applicationId: string, provider?: (string | null)): CancelablePromise<ApplicationSkillResponse>;
49
40
  /**
50
41
  * Discover Application Operations
51
42
  * @param organizationId
@@ -84,4 +75,23 @@ export declare class ApplicationsService {
84
75
  * @throws ApiError
85
76
  */
86
77
  static applicationOperationExecute(organizationId: string, authConfigName: string, operationName: string, requestBody: OperationExecutionRequest): CancelablePromise<OperationExecutionResponse>;
78
+ /**
79
+ * List Application Triggers
80
+ * @param organizationId
81
+ * @param authConfigName
82
+ * @param search
83
+ * @param limit
84
+ * @returns AppTriggerListResponseSchema Successful Response
85
+ * @throws ApiError
86
+ */
87
+ static applicationTriggerList(organizationId: string, authConfigName: string, search?: (string | null), limit?: number): CancelablePromise<AppTriggerListResponseSchema>;
88
+ /**
89
+ * Get Application Trigger
90
+ * @param organizationId
91
+ * @param authConfigName
92
+ * @param triggerName
93
+ * @returns AppTriggerResponseSchema Successful Response
94
+ * @throws ApiError
95
+ */
96
+ static applicationTriggerGet(organizationId: string, authConfigName: string, triggerName: string): CancelablePromise<AppTriggerResponseSchema>;
87
97
  }
@@ -23,43 +23,18 @@ export class ApplicationsService {
23
23
  });
24
24
  }
25
25
  /**
26
- * List Triggers
27
- * Get all triggers. Optionally filter by application_id and search in description
26
+ * Get Application
27
+ * Get a specific application by ID along with its operation catalog
28
28
  * @param applicationId
29
- * @param search
30
- * @param limit
31
- * @param pageToken
32
- * @returns AppTriggerListResponseSchema Successful Response
33
- * @throws ApiError
34
- */
35
- static applicationTriggerList(applicationId, search, limit = 100, pageToken) {
36
- return __request(OpenAPI, {
37
- method: 'GET',
38
- url: '/integrations/applications/triggers',
39
- query: {
40
- 'application_id': applicationId,
41
- 'search': search,
42
- 'limit': limit,
43
- 'page_token': pageToken,
44
- },
45
- errors: {
46
- 422: `Validation Error`,
47
- },
48
- });
49
- }
50
- /**
51
- * Get Trigger
52
- * Get a specific trigger by ID
53
- * @param triggerId
54
- * @returns AppTriggerResponseSchema Successful Response
29
+ * @returns ApplicationDetailResponseSchema Successful Response
55
30
  * @throws ApiError
56
31
  */
57
- static applicationTriggerGet(triggerId) {
32
+ static applicationGet(applicationId) {
58
33
  return __request(OpenAPI, {
59
34
  method: 'GET',
60
- url: '/integrations/applications/triggers/{trigger_id}',
35
+ url: '/integrations/applications/{application_id}',
61
36
  path: {
62
- 'trigger_id': triggerId,
37
+ 'application_id': applicationId,
63
38
  },
64
39
  errors: {
65
40
  422: `Validation Error`,
@@ -67,19 +42,23 @@ export class ApplicationsService {
67
42
  });
68
43
  }
69
44
  /**
70
- * Get Application
71
- * Get a specific application by ID along with its operation catalog
45
+ * Get Application Skill
46
+ * Get the skill guide markdown for an application. Pass `provider=lemma` or `provider=composio` to get provider-specific instructions when the app supports both. Falls back to the generic doc if no provider-specific file exists. Returns 404 if no skill doc has been generated yet.
72
47
  * @param applicationId
73
- * @returns ApplicationDetailResponseSchema Successful Response
48
+ * @param provider Provider override: lemma or composio
49
+ * @returns ApplicationSkillResponse Successful Response
74
50
  * @throws ApiError
75
51
  */
76
- static applicationGet(applicationId) {
52
+ static applicationSkillGet(applicationId, provider) {
77
53
  return __request(OpenAPI, {
78
54
  method: 'GET',
79
- url: '/integrations/applications/{application_id}',
55
+ url: '/integrations/applications/{application_id}/skill',
80
56
  path: {
81
57
  'application_id': applicationId,
82
58
  },
59
+ query: {
60
+ 'provider': provider,
61
+ },
83
62
  errors: {
84
63
  422: `Validation Error`,
85
64
  },
@@ -181,4 +160,52 @@ export class ApplicationsService {
181
160
  },
182
161
  });
183
162
  }
163
+ /**
164
+ * List Application Triggers
165
+ * @param organizationId
166
+ * @param authConfigName
167
+ * @param search
168
+ * @param limit
169
+ * @returns AppTriggerListResponseSchema Successful Response
170
+ * @throws ApiError
171
+ */
172
+ static applicationTriggerList(organizationId, authConfigName, search, limit = 100) {
173
+ return __request(OpenAPI, {
174
+ method: 'GET',
175
+ url: '/organizations/{organization_id}/integrations/{auth_config_name}/triggers',
176
+ path: {
177
+ 'organization_id': organizationId,
178
+ 'auth_config_name': authConfigName,
179
+ },
180
+ query: {
181
+ 'search': search,
182
+ 'limit': limit,
183
+ },
184
+ errors: {
185
+ 422: `Validation Error`,
186
+ },
187
+ });
188
+ }
189
+ /**
190
+ * Get Application Trigger
191
+ * @param organizationId
192
+ * @param authConfigName
193
+ * @param triggerName
194
+ * @returns AppTriggerResponseSchema Successful Response
195
+ * @throws ApiError
196
+ */
197
+ static applicationTriggerGet(organizationId, authConfigName, triggerName) {
198
+ return __request(OpenAPI, {
199
+ method: 'GET',
200
+ url: '/organizations/{organization_id}/integrations/{auth_config_name}/triggers/{trigger_name}',
201
+ path: {
202
+ 'organization_id': organizationId,
203
+ 'auth_config_name': authConfigName,
204
+ 'trigger_name': triggerName,
205
+ },
206
+ errors: {
207
+ 422: `Validation Error`,
208
+ },
209
+ });
210
+ }
184
211
  }
@@ -1,7 +1,6 @@
1
1
  import type { ConvertedFileResponse } from '../models/ConvertedFileResponse.js';
2
2
  import type { CreateFolderRequest } from '../models/CreateFolderRequest.js';
3
3
  import type { DatastoreFileUploadRequest } from '../models/DatastoreFileUploadRequest.js';
4
- import type { DatastoreMessageResponse } from '../models/DatastoreMessageResponse.js';
5
4
  import type { DirectoryTreeResponse } from '../models/DirectoryTreeResponse.js';
6
5
  import type { FileDetailResponse } from '../models/FileDetailResponse.js';
7
6
  import type { FileListResponse } from '../models/FileListResponse.js';
@@ -32,10 +31,10 @@ export declare class FilesService {
32
31
  * Delete File Or Folder
33
32
  * @param podId
34
33
  * @param path
35
- * @returns DatastoreMessageResponse Successful Response
34
+ * @returns void
36
35
  * @throws ApiError
37
36
  */
38
- static fileDelete(podId: string, path: string): CancelablePromise<DatastoreMessageResponse>;
37
+ static fileDelete(podId: string, path: string): CancelablePromise<void>;
39
38
  /**
40
39
  * Get File
41
40
  * @param podId
@@ -52,7 +52,7 @@ export class FilesService {
52
52
  * Delete File Or Folder
53
53
  * @param podId
54
54
  * @param path
55
- * @returns DatastoreMessageResponse Successful Response
55
+ * @returns void
56
56
  * @throws ApiError
57
57
  */
58
58
  static fileDelete(podId, path) {
@@ -23,7 +23,7 @@ export declare class FunctionsService {
23
23
  static functionList(podId: string, limit?: number, pageToken?: (string | null)): CancelablePromise<FunctionListResponse>;
24
24
  /**
25
25
  * Create Function
26
- * Create a new function in a pod. Do not send input_schema or output_schema; the platform derives those schemas from the function code and returns them in the response.
26
+ * Create a new function in a pod. Do not send input_schema, output_schema, or config_schema; the platform derives those schemas from the function code and returns them in the response.
27
27
  * @param podId
28
28
  * @param requestBody
29
29
  * @returns FunctionActionResponse Successful Response