lemma-sdk 0.2.43 → 0.2.44

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 (340) hide show
  1. package/README.md +2 -5
  2. package/dist/assistant-events.d.ts +1 -0
  3. package/dist/assistant-events.js +25 -3
  4. package/dist/browser/lemma-client.js +1082 -296
  5. package/dist/client.d.ts +8 -0
  6. package/dist/client.js +13 -1
  7. package/dist/index.d.ts +4 -0
  8. package/dist/namespaces/agent-runtime.d.ts +28 -0
  9. package/dist/namespaces/agent-runtime.js +34 -0
  10. package/dist/namespaces/agents.d.ts +8 -3
  11. package/dist/namespaces/agents.js +4 -0
  12. package/dist/namespaces/conversations.d.ts +35 -7
  13. package/dist/namespaces/conversations.js +103 -22
  14. package/dist/namespaces/desks.d.ts +3 -3
  15. package/dist/namespaces/files.d.ts +12 -5
  16. package/dist/namespaces/files.js +12 -3
  17. package/dist/namespaces/functions.d.ts +8 -3
  18. package/dist/namespaces/functions.js +4 -0
  19. package/dist/namespaces/integrations.d.ts +54 -12
  20. package/dist/namespaces/integrations.js +52 -16
  21. package/dist/namespaces/pod-members.d.ts +1 -0
  22. package/dist/namespaces/pod-members.js +4 -1
  23. package/dist/namespaces/pod-permissions.d.ts +14 -0
  24. package/dist/namespaces/pod-permissions.js +18 -0
  25. package/dist/namespaces/pod-roles.d.ts +16 -0
  26. package/dist/namespaces/pod-roles.js +25 -0
  27. package/dist/namespaces/resource-access.d.ts +11 -0
  28. package/dist/namespaces/resource-access.js +18 -0
  29. package/dist/namespaces/schedules.d.ts +3 -3
  30. package/dist/namespaces/tables.d.ts +4 -4
  31. package/dist/namespaces/workflows.d.ts +4 -4
  32. package/dist/openapi_client/index.d.ts +76 -30
  33. package/dist/openapi_client/index.js +20 -7
  34. package/dist/openapi_client/models/AccountCreateSchema.d.ts +18 -0
  35. package/dist/openapi_client/models/AccountResponseSchema.d.ts +3 -0
  36. package/dist/openapi_client/models/AgentActionResponse.d.ts +20 -0
  37. package/dist/openapi_client/models/AgentDetailResponse.d.ts +22 -0
  38. package/dist/openapi_client/models/AgentHarnessInfo.d.ts +9 -0
  39. package/dist/openapi_client/models/AgentHarnessListResponse.d.ts +4 -0
  40. package/dist/openapi_client/models/AgentListResponse.d.ts +2 -2
  41. package/dist/openapi_client/models/AgentPermissionsReplaceRequest.d.ts +4 -0
  42. package/dist/openapi_client/models/AgentPermissionsResponse.d.ts +6 -0
  43. package/dist/openapi_client/models/AgentResourcePermissionRequest.d.ts +6 -0
  44. package/dist/openapi_client/models/AgentResourcePermissionResponse.d.ts +6 -0
  45. package/dist/openapi_client/models/AgentRunApprovalDecision.d.ts +8 -0
  46. package/dist/openapi_client/models/AgentRunApprovalDecision.js +13 -0
  47. package/dist/openapi_client/models/AgentRuntimeConfig.d.ts +7 -0
  48. package/dist/openapi_client/models/AgentRuntimeProfileListResponse.d.ts +6 -0
  49. package/dist/openapi_client/models/AgentRuntimeProfileResponse.d.ts +22 -0
  50. package/dist/openapi_client/models/AgentSurfaceResponse.d.ts +11 -4
  51. package/dist/openapi_client/models/ApplicationDetailResponseSchema.d.ts +3 -3
  52. package/dist/openapi_client/models/ApplicationResponseSchema.d.ts +3 -3
  53. package/dist/openapi_client/models/AuthConfigCreateSchema.d.ts +7 -0
  54. package/dist/openapi_client/models/AuthConfigListResponseSchema.d.ts +6 -0
  55. package/dist/openapi_client/models/AuthConfigResponseSchema.d.ts +13 -0
  56. package/dist/openapi_client/models/AuthScheme.d.ts +5 -0
  57. package/dist/openapi_client/models/AuthScheme.js +10 -0
  58. package/dist/openapi_client/models/BillingInterval.d.ts +2 -2
  59. package/dist/openapi_client/models/BillingInterval.js +2 -2
  60. package/dist/openapi_client/models/BillingInvoiceResponse.d.ts +0 -2
  61. package/dist/openapi_client/models/ComposioProviderCapabilityResponseSchema.d.ts +9 -0
  62. package/dist/openapi_client/models/ConnectRequestInitiateSchema.d.ts +5 -1
  63. package/dist/openapi_client/models/ConnectRequestResponseSchema.d.ts +2 -0
  64. package/dist/openapi_client/models/ConversationResponse.d.ts +2 -2
  65. package/dist/openapi_client/models/ConvertedArtifactResponse.d.ts +1 -0
  66. package/dist/openapi_client/models/ConvertedFileResponse.d.ts +4 -0
  67. package/dist/openapi_client/models/ConvertedPageResponse.d.ts +8 -0
  68. package/dist/openapi_client/models/CreateAgentRequest.d.ts +4 -12
  69. package/dist/openapi_client/models/CreateAnthropicCompatibleRuntimeProfileRequest.d.ts +11 -0
  70. package/dist/openapi_client/models/CreateConversationRequest.d.ts +2 -2
  71. package/dist/openapi_client/models/CreateDeskRequest.d.ts +1 -1
  72. package/dist/openapi_client/models/CreateFolderRequest.d.ts +1 -1
  73. package/dist/openapi_client/models/CreateFunctionRequest.d.ts +2 -6
  74. package/dist/openapi_client/models/CreateOpenAICompatibleRuntimeProfileRequest.d.ts +11 -0
  75. package/dist/openapi_client/models/CreateScheduleRequest.d.ts +13 -1
  76. package/dist/openapi_client/models/CreateSurfaceRequest.d.ts +12 -14
  77. package/dist/openapi_client/models/CreateTableRequest.d.ts +1 -1
  78. package/dist/openapi_client/models/CreateUserDaemonRuntimeProfileRequest.d.ts +9 -0
  79. package/dist/openapi_client/models/DatastoreFileUploadRequest.d.ts +1 -1
  80. package/dist/openapi_client/models/DeskBundleUploadResponse.d.ts +2 -2
  81. package/dist/openapi_client/models/{DeskResponse.d.ts → DeskDetailResponse.d.ts} +2 -2
  82. package/dist/openapi_client/models/DeskListResponse.d.ts +2 -2
  83. package/dist/openapi_client/models/DeskServingConfigResponse.d.ts +11 -0
  84. package/dist/openapi_client/models/DeskServingConfigResponse.js +8 -0
  85. package/dist/openapi_client/models/EventFlowStartInput.d.ts +0 -8
  86. package/dist/openapi_client/models/EventFlowStartOutput.d.ts +0 -8
  87. package/dist/openapi_client/models/{FileResponse.d.ts → FileDetailResponse.d.ts} +2 -2
  88. package/dist/openapi_client/models/FileListResponse.d.ts +2 -2
  89. package/dist/openapi_client/models/{FlowResponse.d.ts → FlowDetailResponse.d.ts} +2 -2
  90. package/dist/openapi_client/models/{FunctionResponse.d.ts → FunctionActionResponse.d.ts} +3 -10
  91. package/dist/openapi_client/models/FunctionActionResponse.js +1 -0
  92. package/dist/openapi_client/models/FunctionDetailResponse.d.ts +34 -0
  93. package/dist/openapi_client/models/FunctionDetailResponse.js +1 -0
  94. package/dist/openapi_client/models/FunctionListResponse.d.ts +2 -2
  95. package/dist/openapi_client/models/FunctionPermissionsReplaceRequest.d.ts +4 -0
  96. package/dist/openapi_client/models/FunctionPermissionsReplaceRequest.js +1 -0
  97. package/dist/openapi_client/models/FunctionPermissionsResponse.d.ts +6 -0
  98. package/dist/openapi_client/models/FunctionPermissionsResponse.js +1 -0
  99. package/dist/openapi_client/models/FunctionResourcePermissionRequest.d.ts +6 -0
  100. package/dist/openapi_client/models/FunctionResourcePermissionRequest.js +1 -0
  101. package/dist/openapi_client/models/FunctionResourcePermissionResponse.d.ts +6 -0
  102. package/dist/openapi_client/models/FunctionResourcePermissionResponse.js +1 -0
  103. package/dist/openapi_client/models/FunctionRunListResponse.d.ts +2 -2
  104. package/dist/openapi_client/models/FunctionRunSummaryResponse.d.ts +13 -0
  105. package/dist/openapi_client/models/FunctionRunSummaryResponse.js +1 -0
  106. package/dist/openapi_client/models/GmailSurfaceConfig.d.ts +1 -1
  107. package/dist/openapi_client/models/HarnessKind.d.ts +4 -2
  108. package/dist/openapi_client/models/HarnessKind.js +4 -2
  109. package/dist/openapi_client/models/LemmaProviderCapabilityResponseSchema.d.ts +12 -0
  110. package/dist/openapi_client/models/LemmaProviderCapabilityResponseSchema.js +1 -0
  111. package/dist/openapi_client/models/OAuth2DefaultsResponseSchema.d.ts +10 -0
  112. package/dist/openapi_client/models/OAuth2DefaultsResponseSchema.js +1 -0
  113. package/dist/openapi_client/models/OperationSummary.d.ts +4 -0
  114. package/dist/openapi_client/models/OutlookSurfaceConfig.d.ts +1 -1
  115. package/dist/openapi_client/models/PlanResponse.d.ts +3 -2
  116. package/dist/openapi_client/models/PlanType.d.ts +7 -0
  117. package/dist/openapi_client/models/PlanType.js +12 -0
  118. package/dist/openapi_client/models/PodConfig.d.ts +6 -0
  119. package/dist/openapi_client/models/PodConfig.js +1 -0
  120. package/dist/openapi_client/models/PodCreateRequest.d.ts +2 -0
  121. package/dist/openapi_client/models/PodEffectivePermissionsResponse.d.ts +4 -0
  122. package/dist/openapi_client/models/PodEffectivePermissionsResponse.js +1 -0
  123. package/dist/openapi_client/models/PodPermissionCatalogResponse.d.ts +4 -0
  124. package/dist/openapi_client/models/PodPermissionCatalogResponse.js +1 -0
  125. package/dist/openapi_client/models/PodPermissionResponse.d.ts +7 -0
  126. package/dist/openapi_client/models/PodPermissionResponse.js +1 -0
  127. package/dist/openapi_client/models/PodResponse.d.ts +2 -0
  128. package/dist/openapi_client/models/PodRoleCreateRequest.d.ts +2 -0
  129. package/dist/openapi_client/models/PodRolePermissionsReplaceRequest.d.ts +4 -0
  130. package/dist/openapi_client/models/PodRolePermissionsReplaceRequest.js +1 -0
  131. package/dist/openapi_client/models/PodRolePermissionsResponse.d.ts +6 -0
  132. package/dist/openapi_client/models/PodRolePermissionsResponse.js +1 -0
  133. package/dist/openapi_client/models/PodRoleResourcePermissionRequest.d.ts +6 -0
  134. package/dist/openapi_client/models/PodRoleResourcePermissionRequest.js +1 -0
  135. package/dist/openapi_client/models/PodRoleResourcePermissionResponse.d.ts +6 -0
  136. package/dist/openapi_client/models/PodRoleResourcePermissionResponse.js +1 -0
  137. package/dist/openapi_client/models/PodRoleResponse.d.ts +3 -0
  138. package/dist/openapi_client/models/PodUpdateRequest.d.ts +2 -0
  139. package/dist/openapi_client/models/ResolveUserApprovalRequest.d.ts +5 -0
  140. package/dist/openapi_client/models/ResolveUserApprovalRequest.js +1 -0
  141. package/dist/openapi_client/models/ResourceAccessGrantRequest.d.ts +3 -0
  142. package/dist/openapi_client/models/ResourceAccessGrantRequest.js +1 -0
  143. package/dist/openapi_client/models/ResourceAccessGrantResponse.d.ts +12 -0
  144. package/dist/openapi_client/models/ResourceAccessGrantResponse.js +1 -0
  145. package/dist/openapi_client/models/ResourceAccessResponse.d.ts +7 -0
  146. package/dist/openapi_client/models/ResourceAccessResponse.js +1 -0
  147. package/dist/openapi_client/models/ResourceType.d.ts +19 -0
  148. package/dist/openapi_client/models/ResourceType.js +24 -0
  149. package/dist/openapi_client/models/ResourceVisibility.d.ts +6 -0
  150. package/dist/openapi_client/models/ResourceVisibility.js +11 -0
  151. package/dist/openapi_client/models/RuntimeModelCapability.d.ts +8 -0
  152. package/dist/openapi_client/models/RuntimeModelCapability.js +13 -0
  153. package/dist/openapi_client/models/RuntimeModelCatalogEntry.d.ts +9 -0
  154. package/dist/openapi_client/models/RuntimeModelCatalogEntry.js +1 -0
  155. package/dist/openapi_client/models/RuntimeProfileKind.d.ts +4 -0
  156. package/dist/openapi_client/models/RuntimeProfileKind.js +9 -0
  157. package/dist/openapi_client/models/RuntimeProfileProtocol.d.ts +9 -0
  158. package/dist/openapi_client/models/RuntimeProfileProtocol.js +14 -0
  159. package/dist/openapi_client/models/RuntimeProfileScope.d.ts +4 -0
  160. package/dist/openapi_client/models/RuntimeProfileScope.js +9 -0
  161. package/dist/openapi_client/models/RuntimeProfileStatus.d.ts +5 -0
  162. package/dist/openapi_client/models/RuntimeProfileStatus.js +10 -0
  163. package/dist/openapi_client/models/{ScheduleResponse.d.ts → ScheduleDetailResponse.d.ts} +3 -3
  164. package/dist/openapi_client/models/ScheduleDetailResponse.js +1 -0
  165. package/dist/openapi_client/models/ScheduleListResponse.d.ts +2 -2
  166. package/dist/openapi_client/models/SlackSurfaceConfig.d.ts +1 -4
  167. package/dist/openapi_client/models/SubscriptionResponse.d.ts +2 -2
  168. package/dist/openapi_client/models/SubscriptionWithPlanResponse.d.ts +2 -2
  169. package/dist/openapi_client/models/SurfaceBehaviorConfigInput.d.ts +3 -0
  170. package/dist/openapi_client/models/SurfaceBehaviorConfigInput.js +1 -0
  171. package/dist/openapi_client/models/SurfaceEventMode.d.ts +6 -0
  172. package/dist/openapi_client/models/SurfaceEventMode.js +11 -0
  173. package/dist/openapi_client/models/SurfaceMode.d.ts +5 -0
  174. package/dist/openapi_client/models/SurfaceMode.js +10 -0
  175. package/dist/openapi_client/models/SurfaceSetupMode.d.ts +2 -3
  176. package/dist/openapi_client/models/SurfaceSetupMode.js +1 -2
  177. package/dist/openapi_client/models/{TableResponse.d.ts → TableDetailResponse.d.ts} +3 -3
  178. package/dist/openapi_client/models/TableDetailResponse.js +1 -0
  179. package/dist/openapi_client/models/TableListResponse.d.ts +2 -2
  180. package/dist/openapi_client/models/TeamsSurfaceConfig.d.ts +1 -3
  181. package/dist/openapi_client/models/TelegramSurfaceConfig.d.ts +1 -0
  182. package/dist/openapi_client/models/UpdateAgentRequest.d.ts +4 -12
  183. package/dist/openapi_client/models/UpdateConversationRequest.d.ts +2 -2
  184. package/dist/openapi_client/models/UpdateDeskRequest.d.ts +0 -1
  185. package/dist/openapi_client/models/UpdateFunctionRequest.d.ts +2 -6
  186. package/dist/openapi_client/models/UpdateScheduleRequest.d.ts +1 -1
  187. package/dist/openapi_client/models/UpdateSurfaceRequest.d.ts +11 -14
  188. package/dist/openapi_client/models/UpdateTableRequest.d.ts +1 -1
  189. package/dist/openapi_client/models/UsageLimitScopeResponse.d.ts +2 -3
  190. package/dist/openapi_client/models/UsageLimitsResponse.d.ts +1 -4
  191. package/dist/openapi_client/models/UsageListResponse.d.ts +0 -3
  192. package/dist/openapi_client/models/UsageRecordResponse.d.ts +10 -14
  193. package/dist/openapi_client/models/UsageStatsBucketResponse.d.ts +1 -4
  194. package/dist/openapi_client/models/UsageStatsResponse.d.ts +0 -3
  195. package/dist/openapi_client/models/UsageSummaryResponse.d.ts +4 -6
  196. package/dist/openapi_client/models/UserApprovalListResponse.d.ts +4 -0
  197. package/dist/openapi_client/models/UserApprovalListResponse.js +1 -0
  198. package/dist/openapi_client/models/VerifyTokenResponse.d.ts +5 -0
  199. package/dist/openapi_client/models/WhatsAppSurfaceConfig.d.ts +1 -0
  200. package/dist/openapi_client/models/WorkflowCreateRequest.d.ts +2 -1
  201. package/dist/openapi_client/models/WorkflowListResponse.d.ts +2 -2
  202. package/dist/openapi_client/models/WorkflowRunListResponse.d.ts +2 -2
  203. package/dist/openapi_client/models/WorkflowRunSummaryResponse.d.ts +18 -0
  204. package/dist/openapi_client/models/WorkflowRunSummaryResponse.js +1 -0
  205. package/dist/openapi_client/models/WorkflowUpdateRequest.d.ts +2 -1
  206. package/dist/openapi_client/models/WorkspaceAppAccessRequest.d.ts +6 -0
  207. package/dist/openapi_client/models/WorkspaceAppAccessRequest.js +1 -0
  208. package/dist/openapi_client/models/WorkspaceAppAccessResponse.d.ts +5 -0
  209. package/dist/openapi_client/models/WorkspaceAppAccessResponse.js +1 -0
  210. package/dist/openapi_client/models/WorkspaceMeApp.d.ts +5 -0
  211. package/dist/openapi_client/models/WorkspaceMeApp.js +1 -0
  212. package/dist/openapi_client/models/WorkspaceMeResponse.d.ts +9 -0
  213. package/dist/openapi_client/models/WorkspaceMeResponse.js +1 -0
  214. package/dist/openapi_client/models/WorkspaceMeSandbox.d.ts +10 -0
  215. package/dist/openapi_client/models/WorkspaceMeSandbox.js +1 -0
  216. package/dist/openapi_client/models/WorkspaceMeSession.d.ts +6 -0
  217. package/dist/openapi_client/models/WorkspaceMeSession.js +1 -0
  218. package/dist/openapi_client/models/update.d.ts +1 -1
  219. package/dist/openapi_client/services/AgentConversationsService.d.ts +28 -3
  220. package/dist/openapi_client/services/AgentConversationsService.js +54 -3
  221. package/dist/openapi_client/services/AgentRuntimeService.d.ts +30 -0
  222. package/dist/openapi_client/services/AgentRuntimeService.js +54 -0
  223. package/dist/openapi_client/services/AgentSurfacesIngressService.d.ts +15 -20
  224. package/dist/openapi_client/services/AgentSurfacesIngressService.js +23 -28
  225. package/dist/openapi_client/services/AgentSurfacesService.d.ts +8 -8
  226. package/dist/openapi_client/services/AgentSurfacesService.js +20 -20
  227. package/dist/openapi_client/services/AgentToolsService.d.ts +0 -10
  228. package/dist/openapi_client/services/AgentToolsService.js +0 -18
  229. package/dist/openapi_client/services/AgentsService.d.ts +31 -9
  230. package/dist/openapi_client/services/AgentsService.js +50 -5
  231. package/dist/openapi_client/services/ApplicationsService.d.ts +12 -8
  232. package/dist/openapi_client/services/ApplicationsService.js +24 -16
  233. package/dist/openapi_client/services/BillingSubscriptionsService.d.ts +3 -2
  234. package/dist/openapi_client/services/BillingSubscriptionsService.js +3 -3
  235. package/dist/openapi_client/services/DesksService.d.ts +7 -7
  236. package/dist/openapi_client/services/DesksService.js +3 -3
  237. package/dist/openapi_client/services/FilesService.d.ts +18 -9
  238. package/dist/openapi_client/services/FilesService.js +28 -4
  239. package/dist/openapi_client/services/FunctionsService.d.ts +29 -7
  240. package/dist/openapi_client/services/FunctionsService.js +48 -3
  241. package/dist/openapi_client/services/IntegrationsService.d.ts +65 -14
  242. package/dist/openapi_client/services/IntegrationsService.js +144 -23
  243. package/dist/openapi_client/services/OrganizationsService.d.ts +8 -0
  244. package/dist/openapi_client/services/OrganizationsService.js +19 -0
  245. package/dist/openapi_client/services/PodMembersService.d.ts +0 -10
  246. package/dist/openapi_client/services/PodMembersService.js +0 -24
  247. package/dist/openapi_client/services/PodPermissionsService.d.ts +19 -0
  248. package/dist/openapi_client/services/PodPermissionsService.js +40 -0
  249. package/dist/openapi_client/services/PodResourceAccessService.d.ts +38 -0
  250. package/dist/openapi_client/services/PodResourceAccessService.js +81 -0
  251. package/dist/openapi_client/services/PodRolesService.d.ts +28 -0
  252. package/dist/openapi_client/services/PodRolesService.js +66 -0
  253. package/dist/openapi_client/services/PublicDesksService.d.ts +10 -0
  254. package/dist/openapi_client/services/PublicDesksService.js +15 -0
  255. package/dist/openapi_client/services/SchedulesService.d.ts +7 -7
  256. package/dist/openapi_client/services/SchedulesService.js +3 -3
  257. package/dist/openapi_client/services/TablesService.d.ts +9 -9
  258. package/dist/openapi_client/services/TablesService.js +4 -4
  259. package/dist/openapi_client/services/UsageService.d.ts +96 -0
  260. package/dist/openapi_client/services/UsageService.js +210 -0
  261. package/dist/openapi_client/services/WorkflowsService.d.ts +9 -9
  262. package/dist/openapi_client/services/WorkflowsService.js +4 -4
  263. package/dist/openapi_client/services/WorkspaceAppsService.d.ts +12 -0
  264. package/dist/openapi_client/services/WorkspaceAppsService.js +21 -0
  265. package/dist/openapi_client/services/WorkspaceService.d.ts +10 -0
  266. package/dist/openapi_client/services/WorkspaceService.js +15 -0
  267. package/dist/react/AuthGuard.d.ts +16 -2
  268. package/dist/react/AuthGuard.js +169 -130
  269. package/dist/react/index.d.ts +1 -1
  270. package/dist/react/useAssistantController.d.ts +26 -3
  271. package/dist/react/useAssistantController.js +187 -69
  272. package/dist/react/useAssistantSession.d.ts +10 -7
  273. package/dist/react/useAssistantSession.js +106 -5
  274. package/dist/react/useConversations.d.ts +1 -7
  275. package/dist/react/useConversations.js +4 -10
  276. package/dist/react/useFlowRunHistory.d.ts +4 -4
  277. package/dist/react/useFlowRunHistory.js +9 -4
  278. package/dist/react/useFlowSession.d.ts +2 -2
  279. package/dist/react/useFunctionRun.d.ts +2 -2
  280. package/dist/react/useFunctionRuns.d.ts +5 -5
  281. package/dist/react/useFunctionSession.d.ts +2 -2
  282. package/dist/react/useWorkflowRun.d.ts +2 -2
  283. package/dist/react/useWorkflowRuns.d.ts +5 -5
  284. package/dist/react/useWorkflowStart.d.ts +2 -2
  285. package/dist/types.d.ts +45 -8
  286. package/package.json +2 -2
  287. package/dist/openapi_client/models/AgentModelName.d.ts +0 -13
  288. package/dist/openapi_client/models/AgentModelName.js +0 -18
  289. package/dist/openapi_client/models/AgentResponse.d.ts +0 -29
  290. package/dist/openapi_client/models/ApplicationAccessConfig.d.ts +0 -18
  291. package/dist/openapi_client/models/ApplicationMode.d.ts +0 -7
  292. package/dist/openapi_client/models/ApplicationMode.js +0 -12
  293. package/dist/openapi_client/models/BillingScope.d.ts +0 -7
  294. package/dist/openapi_client/models/BillingScope.js +0 -12
  295. package/dist/openapi_client/models/FunctionTableAccessEntry.d.ts +0 -5
  296. package/dist/openapi_client/models/GmailSurfaceConfigInput.d.ts +0 -4
  297. package/dist/openapi_client/models/OutlookSurfaceConfigInput.d.ts +0 -4
  298. package/dist/openapi_client/models/RecentUsageResponse.d.ts +0 -9
  299. package/dist/openapi_client/models/SlackCredentialsInput.d.ts +0 -5
  300. package/dist/openapi_client/models/SlackSurfaceConfigInput.d.ts +0 -6
  301. package/dist/openapi_client/models/SurfaceCredentialMode.d.ts +0 -4
  302. package/dist/openapi_client/models/SurfaceCredentialMode.js +0 -9
  303. package/dist/openapi_client/models/SurfaceWebhookMode.d.ts +0 -4
  304. package/dist/openapi_client/models/SurfaceWebhookMode.js +0 -9
  305. package/dist/openapi_client/models/TableAccessEntry.d.ts +0 -8
  306. package/dist/openapi_client/models/TableAccessMode.d.ts +0 -7
  307. package/dist/openapi_client/models/TableAccessMode.js +0 -12
  308. package/dist/openapi_client/models/TeamsCredentialsInput.d.ts +0 -6
  309. package/dist/openapi_client/models/TeamsSurfaceConfigInput.d.ts +0 -6
  310. package/dist/openapi_client/models/TelegramCredentialsInput.d.ts +0 -5
  311. package/dist/openapi_client/models/TelegramSurfaceConfigInput.d.ts +0 -6
  312. package/dist/openapi_client/models/WebSearchAgentRequest.d.ts +0 -9
  313. package/dist/openapi_client/models/WebSearchAgentResponse.d.ts +0 -25
  314. package/dist/openapi_client/models/WhatsAppCredentialsInput.d.ts +0 -8
  315. package/dist/openapi_client/models/WhatsAppSurfaceConfigInput.d.ts +0 -6
  316. package/dist/openapi_client/services/BillingUsageService.d.ts +0 -138
  317. package/dist/openapi_client/services/BillingUsageService.js +0 -302
  318. /package/dist/openapi_client/models/{AgentResponse.js → AccountCreateSchema.js} +0 -0
  319. /package/dist/openapi_client/models/{ApplicationAccessConfig.js → AgentActionResponse.js} +0 -0
  320. /package/dist/openapi_client/models/{DeskResponse.js → AgentDetailResponse.js} +0 -0
  321. /package/dist/openapi_client/models/{FileResponse.js → AgentHarnessInfo.js} +0 -0
  322. /package/dist/openapi_client/models/{FlowResponse.js → AgentHarnessListResponse.js} +0 -0
  323. /package/dist/openapi_client/models/{FunctionResponse.js → AgentPermissionsReplaceRequest.js} +0 -0
  324. /package/dist/openapi_client/models/{FunctionTableAccessEntry.js → AgentPermissionsResponse.js} +0 -0
  325. /package/dist/openapi_client/models/{GmailSurfaceConfigInput.js → AgentResourcePermissionRequest.js} +0 -0
  326. /package/dist/openapi_client/models/{OutlookSurfaceConfigInput.js → AgentResourcePermissionResponse.js} +0 -0
  327. /package/dist/openapi_client/models/{RecentUsageResponse.js → AgentRuntimeConfig.js} +0 -0
  328. /package/dist/openapi_client/models/{ScheduleResponse.js → AgentRuntimeProfileListResponse.js} +0 -0
  329. /package/dist/openapi_client/models/{SlackCredentialsInput.js → AgentRuntimeProfileResponse.js} +0 -0
  330. /package/dist/openapi_client/models/{SlackSurfaceConfigInput.js → AuthConfigCreateSchema.js} +0 -0
  331. /package/dist/openapi_client/models/{TableAccessEntry.js → AuthConfigListResponseSchema.js} +0 -0
  332. /package/dist/openapi_client/models/{TableResponse.js → AuthConfigResponseSchema.js} +0 -0
  333. /package/dist/openapi_client/models/{TeamsCredentialsInput.js → ComposioProviderCapabilityResponseSchema.js} +0 -0
  334. /package/dist/openapi_client/models/{TeamsSurfaceConfigInput.js → ConvertedPageResponse.js} +0 -0
  335. /package/dist/openapi_client/models/{TelegramCredentialsInput.js → CreateAnthropicCompatibleRuntimeProfileRequest.js} +0 -0
  336. /package/dist/openapi_client/models/{TelegramSurfaceConfigInput.js → CreateOpenAICompatibleRuntimeProfileRequest.js} +0 -0
  337. /package/dist/openapi_client/models/{WebSearchAgentRequest.js → CreateUserDaemonRuntimeProfileRequest.js} +0 -0
  338. /package/dist/openapi_client/models/{WebSearchAgentResponse.js → DeskDetailResponse.js} +0 -0
  339. /package/dist/openapi_client/models/{WhatsAppCredentialsInput.js → FileDetailResponse.js} +0 -0
  340. /package/dist/openapi_client/models/{WhatsAppSurfaceConfigInput.js → FlowDetailResponse.js} +0 -0
@@ -4,8 +4,11 @@ import type { ConversationStatus } from '../models/ConversationStatus.js';
4
4
  import type { ConversationType } from '../models/ConversationType.js';
5
5
  import type { CreateConversationRequest } from '../models/CreateConversationRequest.js';
6
6
  import type { MessageListResponse } from '../models/MessageListResponse.js';
7
+ import type { MessageResponse } from '../models/MessageResponse.js';
8
+ import type { ResolveUserApprovalRequest } from '../models/ResolveUserApprovalRequest.js';
7
9
  import type { SendMessageRequest } from '../models/SendMessageRequest.js';
8
10
  import type { UpdateConversationRequest } from '../models/UpdateConversationRequest.js';
11
+ import type { UserApprovalListResponse } from '../models/UserApprovalListResponse.js';
9
12
  import type { CancelablePromise } from '../core/CancelablePromise.js';
10
13
  export declare class AgentConversationsService {
11
14
  /**
@@ -41,7 +44,7 @@ export declare class AgentConversationsService {
41
44
  static agentConversationGet(podId: string, conversationId: string): CancelablePromise<ConversationResponse>;
42
45
  /**
43
46
  * Update Pod Conversation
44
- * Update mutable conversation settings for a pod-scoped conversation. The conversation model is used by future runs; message sends do not carry per-request model overrides.
47
+ * Update mutable conversation settings for a pod-scoped conversation. The conversation runtime is used by future runs; message sends do not carry per-request runtime overrides.
45
48
  * @param podId
46
49
  * @param conversationId
47
50
  * @param requestBody
@@ -49,17 +52,39 @@ export declare class AgentConversationsService {
49
52
  * @throws ApiError
50
53
  */
51
54
  static agentConversationUpdate(podId: string, conversationId: string, requestBody: UpdateConversationRequest): CancelablePromise<ConversationResponse>;
55
+ /**
56
+ * List Agent Run Approvals
57
+ * List pending user_approval tool calls in a conversation.
58
+ * @param podId
59
+ * @param conversationId
60
+ * @returns UserApprovalListResponse Successful Response
61
+ * @throws ApiError
62
+ */
63
+ static agentConversationApprovalList(podId: string, conversationId: string): CancelablePromise<UserApprovalListResponse>;
64
+ /**
65
+ * Resolve User Approval
66
+ * Append a user_approval tool result and resume the live local turn.
67
+ * @param podId
68
+ * @param conversationId
69
+ * @param approvalId
70
+ * @param requestBody
71
+ * @returns MessageResponse Successful Response
72
+ * @throws ApiError
73
+ */
74
+ static agentConversationApprovalResolve(podId: string, conversationId: string, approvalId: string, requestBody: ResolveUserApprovalRequest): CancelablePromise<MessageResponse>;
52
75
  /**
53
76
  * List Pod Conversation Messages
54
- * List persisted messages in a pod-scoped conversation in sequence order.
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.
55
78
  * @param podId
56
79
  * @param conversationId
80
+ * @param pageToken
81
+ * @param beforeSequence
57
82
  * @param afterSequence
58
83
  * @param limit
59
84
  * @returns MessageListResponse Successful Response
60
85
  * @throws ApiError
61
86
  */
62
- static agentConversationMessageList(podId: string, conversationId: string, afterSequence?: (number | null), limit?: number): CancelablePromise<MessageListResponse>;
87
+ static agentConversationMessageList(podId: string, conversationId: string, pageToken?: (string | null), beforeSequence?: (number | null), afterSequence?: (number | null), limit?: number): CancelablePromise<MessageListResponse>;
63
88
  /**
64
89
  * Send Pod Conversation Message
65
90
  * Append a user message to a pod-scoped conversation and stream runtime events over Server-Sent Events until the active turn completes. User messages can also be appended while work is already active; the next harness step sees the new message in persisted history.
@@ -77,7 +77,7 @@ export class AgentConversationsService {
77
77
  }
78
78
  /**
79
79
  * Update Pod Conversation
80
- * Update mutable conversation settings for a pod-scoped conversation. The conversation model is used by future runs; message sends do not carry per-request model overrides.
80
+ * Update mutable conversation settings for a pod-scoped conversation. The conversation runtime is used by future runs; message sends do not carry per-request runtime overrides.
81
81
  * @param podId
82
82
  * @param conversationId
83
83
  * @param requestBody
@@ -99,17 +99,66 @@ export class AgentConversationsService {
99
99
  },
100
100
  });
101
101
  }
102
+ /**
103
+ * List Agent Run Approvals
104
+ * List pending user_approval tool calls in a conversation.
105
+ * @param podId
106
+ * @param conversationId
107
+ * @returns UserApprovalListResponse Successful Response
108
+ * @throws ApiError
109
+ */
110
+ static agentConversationApprovalList(podId, conversationId) {
111
+ return __request(OpenAPI, {
112
+ method: 'GET',
113
+ url: '/pods/{pod_id}/conversations/{conversation_id}/approvals',
114
+ path: {
115
+ 'pod_id': podId,
116
+ 'conversation_id': conversationId,
117
+ },
118
+ errors: {
119
+ 422: `Validation Error`,
120
+ },
121
+ });
122
+ }
123
+ /**
124
+ * Resolve User Approval
125
+ * Append a user_approval tool result and resume the live local turn.
126
+ * @param podId
127
+ * @param conversationId
128
+ * @param approvalId
129
+ * @param requestBody
130
+ * @returns MessageResponse Successful Response
131
+ * @throws ApiError
132
+ */
133
+ static agentConversationApprovalResolve(podId, conversationId, approvalId, requestBody) {
134
+ return __request(OpenAPI, {
135
+ method: 'POST',
136
+ url: '/pods/{pod_id}/conversations/{conversation_id}/approvals/{approval_id}/decision',
137
+ path: {
138
+ 'pod_id': podId,
139
+ 'conversation_id': conversationId,
140
+ 'approval_id': approvalId,
141
+ },
142
+ body: requestBody,
143
+ mediaType: 'application/json',
144
+ errors: {
145
+ 422: `Validation Error`,
146
+ },
147
+ });
148
+ }
102
149
  /**
103
150
  * List Pod Conversation Messages
104
- * List persisted messages in a pod-scoped conversation in sequence order.
151
+ * 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.
105
152
  * @param podId
106
153
  * @param conversationId
154
+ * @param pageToken
155
+ * @param beforeSequence
107
156
  * @param afterSequence
108
157
  * @param limit
109
158
  * @returns MessageListResponse Successful Response
110
159
  * @throws ApiError
111
160
  */
112
- static agentConversationMessageList(podId, conversationId, afterSequence, limit = 100) {
161
+ static agentConversationMessageList(podId, conversationId, pageToken, beforeSequence, afterSequence, limit = 100) {
113
162
  return __request(OpenAPI, {
114
163
  method: 'GET',
115
164
  url: '/pods/{pod_id}/conversations/{conversation_id}/messages',
@@ -118,6 +167,8 @@ export class AgentConversationsService {
118
167
  'conversation_id': conversationId,
119
168
  },
120
169
  query: {
170
+ 'page_token': pageToken,
171
+ 'before_sequence': beforeSequence,
121
172
  'after_sequence': afterSequence,
122
173
  'limit': limit,
123
174
  },
@@ -0,0 +1,30 @@
1
+ import type { AgentHarnessListResponse } from '../models/AgentHarnessListResponse.js';
2
+ import type { AgentRuntimeProfileListResponse } from '../models/AgentRuntimeProfileListResponse.js';
3
+ import type { AgentRuntimeProfileResponse } from '../models/AgentRuntimeProfileResponse.js';
4
+ import type { CreateAnthropicCompatibleRuntimeProfileRequest } from '../models/CreateAnthropicCompatibleRuntimeProfileRequest.js';
5
+ import type { CreateOpenAICompatibleRuntimeProfileRequest } from '../models/CreateOpenAICompatibleRuntimeProfileRequest.js';
6
+ import type { CreateUserDaemonRuntimeProfileRequest } from '../models/CreateUserDaemonRuntimeProfileRequest.js';
7
+ import type { CancelablePromise } from '../core/CancelablePromise.js';
8
+ export declare class AgentRuntimeService {
9
+ /**
10
+ * List Available Agent Harnesses
11
+ * @returns AgentHarnessListResponse Successful Response
12
+ * @throws ApiError
13
+ */
14
+ static agentRuntimeHarnessesList(): CancelablePromise<AgentHarnessListResponse>;
15
+ /**
16
+ * List Available Agent Runtime Profiles
17
+ * @param orgId
18
+ * @returns AgentRuntimeProfileListResponse Successful Response
19
+ * @throws ApiError
20
+ */
21
+ static agentRuntimeProfilesList(orgId: string): CancelablePromise<AgentRuntimeProfileListResponse>;
22
+ /**
23
+ * Create Agent Runtime Profile
24
+ * @param orgId
25
+ * @param requestBody
26
+ * @returns AgentRuntimeProfileResponse Successful Response
27
+ * @throws ApiError
28
+ */
29
+ static agentRuntimeProfilesCreate(orgId: string, requestBody: (CreateUserDaemonRuntimeProfileRequest | CreateOpenAICompatibleRuntimeProfileRequest | CreateAnthropicCompatibleRuntimeProfileRequest)): CancelablePromise<AgentRuntimeProfileResponse>;
30
+ }
@@ -0,0 +1,54 @@
1
+ import { OpenAPI } from '../core/OpenAPI.js';
2
+ import { request as __request } from '../core/request.js';
3
+ export class AgentRuntimeService {
4
+ /**
5
+ * List Available Agent Harnesses
6
+ * @returns AgentHarnessListResponse Successful Response
7
+ * @throws ApiError
8
+ */
9
+ static agentRuntimeHarnessesList() {
10
+ return __request(OpenAPI, {
11
+ method: 'GET',
12
+ url: '/agent-runtime/harnesses',
13
+ });
14
+ }
15
+ /**
16
+ * List Available Agent Runtime Profiles
17
+ * @param orgId
18
+ * @returns AgentRuntimeProfileListResponse Successful Response
19
+ * @throws ApiError
20
+ */
21
+ static agentRuntimeProfilesList(orgId) {
22
+ return __request(OpenAPI, {
23
+ method: 'GET',
24
+ url: '/organizations/{org_id}/agent-runtime/profiles',
25
+ path: {
26
+ 'org_id': orgId,
27
+ },
28
+ errors: {
29
+ 422: `Validation Error`,
30
+ },
31
+ });
32
+ }
33
+ /**
34
+ * Create Agent Runtime Profile
35
+ * @param orgId
36
+ * @param requestBody
37
+ * @returns AgentRuntimeProfileResponse Successful Response
38
+ * @throws ApiError
39
+ */
40
+ static agentRuntimeProfilesCreate(orgId, requestBody) {
41
+ return __request(OpenAPI, {
42
+ method: 'POST',
43
+ url: '/organizations/{org_id}/agent-runtime/profiles',
44
+ path: {
45
+ 'org_id': orgId,
46
+ },
47
+ body: requestBody,
48
+ mediaType: 'application/json',
49
+ errors: {
50
+ 422: `Validation Error`,
51
+ },
52
+ });
53
+ }
54
+ }
@@ -12,40 +12,35 @@ export declare class AgentSurfacesIngressService {
12
12
  */
13
13
  static agentSurfaceTeamsAdminConsentCallback(tenant?: (string | null), adminConsent?: (string | null), state?: (string | null), error?: (string | null), errorDescription?: (string | null)): CancelablePromise<any>;
14
14
  /**
15
- * Handle per-surface webhook verification
16
- * @param surfaceId
15
+ * Verify surface webhook using the platform callback URL
16
+ * Webhook verification endpoint for platforms that require it.
17
+ * @param platform
17
18
  * @returns any Successful Response
18
19
  * @throws ApiError
19
20
  */
20
- static surfaceWebhookHandleSurfaceVerify(surfaceId: string): CancelablePromise<any>;
21
+ static surfaceWebhookVerify(platform: string): CancelablePromise<any>;
21
22
  /**
22
- * Handle per-surface webhook
23
- * Handle webhooks directed at a specific surface.
24
- *
25
- * Per-surface webhooks (e.g. /surfaces/webhooks/surface/{uuid}) are used
26
- * when users provide their own bot credentials (USER_PROVIDED credential mode).
27
- * @param surfaceId
23
+ * Handle platform-level surface webhook
24
+ * Handle platform-level webhook callbacks.
25
+ * @param platform
28
26
  * @returns any Successful Response
29
27
  * @throws ApiError
30
28
  */
31
- static surfaceWebhookHandleSurface(surfaceId: string): CancelablePromise<any>;
29
+ static surfaceWebhookHandlePlatform(platform: string): CancelablePromise<any>;
32
30
  /**
33
- * Verify surface webhook using the platform callback URL
31
+ * Verify surface webhook using a surface-level callback URL
34
32
  * Webhook verification endpoint for platforms that require it.
35
- * @param platform
33
+ * @param surfaceId
36
34
  * @returns any Successful Response
37
35
  * @throws ApiError
38
36
  */
39
- static surfaceWebhookVerify(platform: string): CancelablePromise<any>;
37
+ static surfaceWebhookVerifySurface(surfaceId: string): CancelablePromise<any>;
40
38
  /**
41
- * Handle platform-level surface webhook
42
- * Handle webhooks from platform-level native integration URLs.
43
- *
44
- * Platform webhooks (e.g. /surfaces/webhooks/slack) are used when
45
- * Lemma's own app handles the integration (NATIVE credential mode).
46
- * @param platform
39
+ * Handle surface-level webhook
40
+ * Handle webhooks addressed to one concrete surface.
41
+ * @param surfaceId
47
42
  * @returns any Successful Response
48
43
  * @throws ApiError
49
44
  */
50
- static surfaceWebhookHandlePlatform(platform: string): CancelablePromise<any>;
45
+ static surfaceWebhookHandleSurface(surfaceId: string): CancelablePromise<any>;
51
46
  }
@@ -28,17 +28,18 @@ export class AgentSurfacesIngressService {
28
28
  });
29
29
  }
30
30
  /**
31
- * Handle per-surface webhook verification
32
- * @param surfaceId
31
+ * Verify surface webhook using the platform callback URL
32
+ * Webhook verification endpoint for platforms that require it.
33
+ * @param platform
33
34
  * @returns any Successful Response
34
35
  * @throws ApiError
35
36
  */
36
- static surfaceWebhookHandleSurfaceVerify(surfaceId) {
37
+ static surfaceWebhookVerify(platform) {
37
38
  return __request(OpenAPI, {
38
39
  method: 'GET',
39
- url: '/surfaces/webhooks/surface/{surface_id}',
40
+ url: '/surfaces/webhooks/{platform}',
40
41
  path: {
41
- 'surface_id': surfaceId,
42
+ 'platform': platform,
42
43
  },
43
44
  errors: {
44
45
  422: `Validation Error`,
@@ -46,21 +47,18 @@ export class AgentSurfacesIngressService {
46
47
  });
47
48
  }
48
49
  /**
49
- * Handle per-surface webhook
50
- * Handle webhooks directed at a specific surface.
51
- *
52
- * Per-surface webhooks (e.g. /surfaces/webhooks/surface/{uuid}) are used
53
- * when users provide their own bot credentials (USER_PROVIDED credential mode).
54
- * @param surfaceId
50
+ * Handle platform-level surface webhook
51
+ * Handle platform-level webhook callbacks.
52
+ * @param platform
55
53
  * @returns any Successful Response
56
54
  * @throws ApiError
57
55
  */
58
- static surfaceWebhookHandleSurface(surfaceId) {
56
+ static surfaceWebhookHandlePlatform(platform) {
59
57
  return __request(OpenAPI, {
60
58
  method: 'POST',
61
- url: '/surfaces/webhooks/surface/{surface_id}',
59
+ url: '/surfaces/webhooks/{platform}',
62
60
  path: {
63
- 'surface_id': surfaceId,
61
+ 'platform': platform,
64
62
  },
65
63
  errors: {
66
64
  422: `Validation Error`,
@@ -68,18 +66,18 @@ export class AgentSurfacesIngressService {
68
66
  });
69
67
  }
70
68
  /**
71
- * Verify surface webhook using the platform callback URL
69
+ * Verify surface webhook using a surface-level callback URL
72
70
  * Webhook verification endpoint for platforms that require it.
73
- * @param platform
71
+ * @param surfaceId
74
72
  * @returns any Successful Response
75
73
  * @throws ApiError
76
74
  */
77
- static surfaceWebhookVerify(platform) {
75
+ static surfaceWebhookVerifySurface(surfaceId) {
78
76
  return __request(OpenAPI, {
79
77
  method: 'GET',
80
- url: '/surfaces/webhooks/{platform}',
78
+ url: '/surfaces/{surface_id}/webhook',
81
79
  path: {
82
- 'platform': platform,
80
+ 'surface_id': surfaceId,
83
81
  },
84
82
  errors: {
85
83
  422: `Validation Error`,
@@ -87,21 +85,18 @@ export class AgentSurfacesIngressService {
87
85
  });
88
86
  }
89
87
  /**
90
- * Handle platform-level surface webhook
91
- * Handle webhooks from platform-level native integration URLs.
92
- *
93
- * Platform webhooks (e.g. /surfaces/webhooks/slack) are used when
94
- * Lemma's own app handles the integration (NATIVE credential mode).
95
- * @param platform
88
+ * Handle surface-level webhook
89
+ * Handle webhooks addressed to one concrete surface.
90
+ * @param surfaceId
96
91
  * @returns any Successful Response
97
92
  * @throws ApiError
98
93
  */
99
- static surfaceWebhookHandlePlatform(platform) {
94
+ static surfaceWebhookHandleSurface(surfaceId) {
100
95
  return __request(OpenAPI, {
101
96
  method: 'POST',
102
- url: '/surfaces/webhooks/{platform}',
97
+ url: '/surfaces/{surface_id}/webhook',
103
98
  path: {
104
- 'platform': platform,
99
+ 'surface_id': surfaceId,
105
100
  },
106
101
  errors: {
107
102
  422: `Validation Error`,
@@ -31,6 +31,14 @@ export declare class AgentSurfacesService {
31
31
  * @throws ApiError
32
32
  */
33
33
  static agentSurfacePlatformChecklist(podId: string, platform: string): CancelablePromise<SurfacePlatformSetupGuideResponse>;
34
+ /**
35
+ * Delete Surface
36
+ * @param podId
37
+ * @param surfaceId
38
+ * @returns void
39
+ * @throws ApiError
40
+ */
41
+ static agentSurfaceDelete(podId: string, surfaceId: string): CancelablePromise<void>;
34
42
  /**
35
43
  * Get Surface
36
44
  * @param podId
@@ -65,12 +73,4 @@ export declare class AgentSurfacesService {
65
73
  * @throws ApiError
66
74
  */
67
75
  static agentSurfaceToggle(podId: string, surfaceId: string, requestBody: ToggleSurfaceRequest): CancelablePromise<any>;
68
- /**
69
- * Get Webhook Url
70
- * @param podId
71
- * @param surfaceId
72
- * @returns any Successful Response
73
- * @throws ApiError
74
- */
75
- static agentSurfaceWebhookUrl(podId: string, surfaceId: string): CancelablePromise<any>;
76
76
  }
@@ -66,6 +66,26 @@ export class AgentSurfacesService {
66
66
  },
67
67
  });
68
68
  }
69
+ /**
70
+ * Delete Surface
71
+ * @param podId
72
+ * @param surfaceId
73
+ * @returns void
74
+ * @throws ApiError
75
+ */
76
+ static agentSurfaceDelete(podId, surfaceId) {
77
+ return __request(OpenAPI, {
78
+ method: 'DELETE',
79
+ url: '/pods/{pod_id}/surfaces/{surface_id}',
80
+ path: {
81
+ 'pod_id': podId,
82
+ 'surface_id': surfaceId,
83
+ },
84
+ errors: {
85
+ 422: `Validation Error`,
86
+ },
87
+ });
88
+ }
69
89
  /**
70
90
  * Get Surface
71
91
  * @param podId
@@ -152,24 +172,4 @@ export class AgentSurfacesService {
152
172
  },
153
173
  });
154
174
  }
155
- /**
156
- * Get Webhook Url
157
- * @param podId
158
- * @param surfaceId
159
- * @returns any Successful Response
160
- * @throws ApiError
161
- */
162
- static agentSurfaceWebhookUrl(podId, surfaceId) {
163
- return __request(OpenAPI, {
164
- method: 'GET',
165
- url: '/pods/{pod_id}/surfaces/{surface_id}/webhook-url',
166
- path: {
167
- 'pod_id': podId,
168
- 'surface_id': surfaceId,
169
- },
170
- errors: {
171
- 422: `Validation Error`,
172
- },
173
- });
174
- }
175
175
  }
@@ -2,8 +2,6 @@ import type { IntegrationHelperAgentRequest } from '../models/IntegrationHelperA
2
2
  import type { IntegrationHelperAgentResponse } from '../models/IntegrationHelperAgentResponse.js';
3
3
  import type { ReportFeedbackRequest } from '../models/ReportFeedbackRequest.js';
4
4
  import type { ReportFeedbackResponse } from '../models/ReportFeedbackResponse.js';
5
- import type { WebSearchAgentRequest } from '../models/WebSearchAgentRequest.js';
6
- import type { WebSearchAgentResponse } from '../models/WebSearchAgentResponse.js';
7
5
  import type { WebSearchRequest } from '../models/WebSearchRequest.js';
8
6
  import type { WebSearchResponse } from '../models/WebSearchResponse.js';
9
7
  import type { CancelablePromise } from '../core/CancelablePromise.js';
@@ -32,12 +30,4 @@ export declare class AgentToolsService {
32
30
  * @throws ApiError
33
31
  */
34
32
  static agentToolWebSearch(requestBody: WebSearchRequest): CancelablePromise<WebSearchResponse>;
35
- /**
36
- * Agent Web Search Agent
37
- * Run the multi-step web search agent and return a synthesized answer.
38
- * @param requestBody
39
- * @returns WebSearchAgentResponse Successful Response
40
- * @throws ApiError
41
- */
42
- static agentToolWebSearchAgent(requestBody: WebSearchAgentRequest): CancelablePromise<WebSearchAgentResponse>;
43
33
  }
@@ -55,22 +55,4 @@ export class AgentToolsService {
55
55
  },
56
56
  });
57
57
  }
58
- /**
59
- * Agent Web Search Agent
60
- * Run the multi-step web search agent and return a synthesized answer.
61
- * @param requestBody
62
- * @returns WebSearchAgentResponse Successful Response
63
- * @throws ApiError
64
- */
65
- static agentToolWebSearchAgent(requestBody) {
66
- return __request(OpenAPI, {
67
- method: 'POST',
68
- url: '/tools/web-search-agent',
69
- body: requestBody,
70
- mediaType: 'application/json',
71
- errors: {
72
- 422: `Validation Error`,
73
- },
74
- });
75
- }
76
58
  }
@@ -1,6 +1,9 @@
1
+ import type { AgentActionResponse } from '../models/AgentActionResponse.js';
2
+ import type { AgentDetailResponse } from '../models/AgentDetailResponse.js';
1
3
  import type { AgentListResponse } from '../models/AgentListResponse.js';
2
4
  import type { AgentMessageResponse } from '../models/AgentMessageResponse.js';
3
- import type { AgentResponse } from '../models/AgentResponse.js';
5
+ import type { AgentPermissionsReplaceRequest } from '../models/AgentPermissionsReplaceRequest.js';
6
+ import type { AgentPermissionsResponse } from '../models/AgentPermissionsResponse.js';
4
7
  import type { CreateAgentRequest } from '../models/CreateAgentRequest.js';
5
8
  import type { UpdateAgentRequest } from '../models/UpdateAgentRequest.js';
6
9
  import type { CancelablePromise } from '../core/CancelablePromise.js';
@@ -17,13 +20,13 @@ export declare class AgentsService {
17
20
  static agentList(podId: string, pageToken?: (string | null), limit?: number): CancelablePromise<AgentListResponse>;
18
21
  /**
19
22
  * Create Agent
20
- * Create a pod-owned agent definition with model, harness, toolsets, resource access grants, callable functions, and callable child agents.
23
+ * Create a pod-owned agent definition with runtime, toolsets, and schemas.
21
24
  * @param podId
22
25
  * @param requestBody
23
- * @returns AgentResponse Successful Response
26
+ * @returns AgentActionResponse Successful Response
24
27
  * @throws ApiError
25
28
  */
26
- static agentCreate(podId: string, requestBody: CreateAgentRequest): CancelablePromise<AgentResponse>;
29
+ static agentCreate(podId: string, requestBody: CreateAgentRequest): CancelablePromise<AgentActionResponse>;
27
30
  /**
28
31
  * Delete Agent
29
32
  * Delete a pod-owned agent definition by name.
@@ -38,18 +41,37 @@ export declare class AgentsService {
38
41
  * Get one pod-owned agent definition by its stable name.
39
42
  * @param podId
40
43
  * @param agentName
41
- * @returns AgentResponse Successful Response
44
+ * @returns AgentDetailResponse Successful Response
42
45
  * @throws ApiError
43
46
  */
44
- static agentGet(podId: string, agentName: string): CancelablePromise<AgentResponse>;
47
+ static agentGet(podId: string, agentName: string): CancelablePromise<AgentDetailResponse>;
45
48
  /**
46
49
  * Update Agent
47
- * Update an agent definition, including prompt instruction, model, toolsets, schemas, and resource/tool grants.
50
+ * Update an agent definition, including prompt instruction, runtime, toolsets, and schemas.
48
51
  * @param podId
49
52
  * @param agentName
50
53
  * @param requestBody
51
- * @returns AgentResponse Successful Response
54
+ * @returns AgentActionResponse Successful Response
52
55
  * @throws ApiError
53
56
  */
54
- static agentUpdate(podId: string, agentName: string, requestBody: UpdateAgentRequest): CancelablePromise<AgentResponse>;
57
+ static agentUpdate(podId: string, agentName: string, requestBody: UpdateAgentRequest): CancelablePromise<AgentActionResponse>;
58
+ /**
59
+ * Get Agent Resource Permissions
60
+ * Get explicit resource grants assigned to an agent.
61
+ * @param podId
62
+ * @param agentName
63
+ * @returns AgentPermissionsResponse Successful Response
64
+ * @throws ApiError
65
+ */
66
+ static agentPermissionsGet(podId: string, agentName: string): CancelablePromise<AgentPermissionsResponse>;
67
+ /**
68
+ * Replace Agent Resource Permissions
69
+ * Replace explicit resource grants assigned to an agent.
70
+ * @param podId
71
+ * @param agentName
72
+ * @param requestBody
73
+ * @returns AgentPermissionsResponse Successful Response
74
+ * @throws ApiError
75
+ */
76
+ static agentPermissionsReplace(podId: string, agentName: string, requestBody: AgentPermissionsReplaceRequest): CancelablePromise<AgentPermissionsResponse>;
55
77
  }