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
@@ -2,24 +2,31 @@ import type { AgentSurfaceStatus } from './AgentSurfaceStatus.js';
2
2
  import type { GmailSurfaceConfig } from './GmailSurfaceConfig.js';
3
3
  import type { OutlookSurfaceConfig } from './OutlookSurfaceConfig.js';
4
4
  import type { SlackSurfaceConfig } from './SlackSurfaceConfig.js';
5
- import type { SurfaceCredentialMode } from './SurfaceCredentialMode.js';
5
+ import type { SurfaceEventMode } from './SurfaceEventMode.js';
6
+ import type { SurfaceMode } from './SurfaceMode.js';
7
+ import type { SurfacePlatform } from './SurfacePlatform.js';
6
8
  import type { SurfaceRoutingScope } from './SurfaceRoutingScope.js';
7
- import type { SurfaceWebhookMode } from './SurfaceWebhookMode.js';
8
9
  import type { TeamsSurfaceConfig } from './TeamsSurfaceConfig.js';
9
10
  import type { TelegramSurfaceConfig } from './TelegramSurfaceConfig.js';
10
11
  import type { WhatsAppSurfaceConfig } from './WhatsAppSurfaceConfig.js';
11
12
  export type AgentSurfaceResponse = {
13
+ account_id?: (string | null);
12
14
  agent_id?: (string | null);
13
15
  agent_name?: (string | null);
14
16
  config: (SlackSurfaceConfig | TeamsSurfaceConfig | WhatsAppSurfaceConfig | TelegramSurfaceConfig | GmailSurfaceConfig | OutlookSurfaceConfig);
15
- credential_mode?: SurfaceCredentialMode;
17
+ event_mode: SurfaceEventMode;
18
+ external_channel_id?: (string | null);
19
+ external_tenant_id?: (string | null);
20
+ external_workspace_id?: (string | null);
16
21
  id: string;
17
22
  is_active: boolean;
23
+ mode: SurfaceMode;
24
+ platform: SurfacePlatform;
18
25
  pod_id: string;
19
26
  routing_scope?: SurfaceRoutingScope;
20
27
  status?: AgentSurfaceStatus;
28
+ surface_identity_id?: (string | null);
21
29
  surface_type: string;
22
30
  uses_default_agent?: boolean;
23
- webhook_mode?: SurfaceWebhookMode;
24
31
  webhook_url?: (string | null);
25
32
  };
@@ -1,17 +1,17 @@
1
+ import type { ComposioProviderCapabilityResponseSchema } from './ComposioProviderCapabilityResponseSchema.js';
2
+ import type { LemmaProviderCapabilityResponseSchema } from './LemmaProviderCapabilityResponseSchema.js';
1
3
  import type { OperationSummary } from './OperationSummary.js';
2
4
  /**
3
5
  * Schema for application details including operation catalog.
4
6
  */
5
7
  export type ApplicationDetailResponseSchema = {
6
- auth_method: string;
7
- auth_provider: string;
8
8
  created_at: string;
9
9
  description: (string | null);
10
10
  icon: (string | null);
11
11
  id: string;
12
12
  is_active: boolean;
13
- operation_executor: string;
14
13
  operations?: Record<string, OperationSummary>;
14
+ provider_capabilities?: Array<(LemmaProviderCapabilityResponseSchema | ComposioProviderCapabilityResponseSchema)>;
15
15
  title?: (string | null);
16
16
  updated_at: string;
17
17
  };
@@ -1,15 +1,15 @@
1
+ import type { ComposioProviderCapabilityResponseSchema } from './ComposioProviderCapabilityResponseSchema.js';
2
+ import type { LemmaProviderCapabilityResponseSchema } from './LemmaProviderCapabilityResponseSchema.js';
1
3
  /**
2
4
  * Schema for application response.
3
5
  */
4
6
  export type ApplicationResponseSchema = {
5
- auth_method: string;
6
- auth_provider: string;
7
7
  created_at: string;
8
8
  description: (string | null);
9
9
  icon: (string | null);
10
10
  id: string;
11
11
  is_active: boolean;
12
- operation_executor: string;
12
+ provider_capabilities?: Array<(LemmaProviderCapabilityResponseSchema | ComposioProviderCapabilityResponseSchema)>;
13
13
  title?: (string | null);
14
14
  updated_at: string;
15
15
  };
@@ -0,0 +1,7 @@
1
+ export type AuthConfigCreateSchema = {
2
+ application_id: string;
3
+ config_source?: string;
4
+ credential_config?: (Record<string, any> | null);
5
+ name?: (string | null);
6
+ provider?: string;
7
+ };
@@ -0,0 +1,6 @@
1
+ import type { AuthConfigResponseSchema } from './AuthConfigResponseSchema.js';
2
+ export type AuthConfigListResponseSchema = {
3
+ items: Array<AuthConfigResponseSchema>;
4
+ limit: number;
5
+ next_page_token?: (string | null);
6
+ };
@@ -0,0 +1,13 @@
1
+ export type AuthConfigResponseSchema = {
2
+ application_id: string;
3
+ config_source: string;
4
+ created_at: string;
5
+ credential_config?: (Record<string, any> | null);
6
+ id: string;
7
+ metadata?: (Record<string, any> | null);
8
+ name: string;
9
+ organization_id: string;
10
+ provider: string;
11
+ status: string;
12
+ updated_at: string;
13
+ };
@@ -0,0 +1,5 @@
1
+ export declare enum AuthScheme {
2
+ OAUTH2 = "OAUTH2",
3
+ API_KEY = "API_KEY",
4
+ NOAUTH = "NOAUTH"
5
+ }
@@ -0,0 +1,10 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export var AuthScheme;
6
+ (function (AuthScheme) {
7
+ AuthScheme["OAUTH2"] = "OAUTH2";
8
+ AuthScheme["API_KEY"] = "API_KEY";
9
+ AuthScheme["NOAUTH"] = "NOAUTH";
10
+ })(AuthScheme || (AuthScheme = {}));
@@ -2,6 +2,6 @@
2
2
  * Billing interval enum.
3
3
  */
4
4
  export declare enum BillingInterval {
5
- MONTHLY = "monthly",
6
- YEARLY = "yearly"
5
+ MONTHLY = "MONTHLY",
6
+ YEARLY = "YEARLY"
7
7
  }
@@ -7,6 +7,6 @@
7
7
  */
8
8
  export var BillingInterval;
9
9
  (function (BillingInterval) {
10
- BillingInterval["MONTHLY"] = "monthly";
11
- BillingInterval["YEARLY"] = "yearly";
10
+ BillingInterval["MONTHLY"] = "MONTHLY";
11
+ BillingInterval["YEARLY"] = "YEARLY";
12
12
  })(BillingInterval || (BillingInterval = {}));
@@ -1,11 +1,9 @@
1
1
  import type { BillingInvoiceStatus } from './BillingInvoiceStatus.js';
2
- import type { BillingScope } from './BillingScope.js';
3
2
  /**
4
3
  * Response schema for a billing invoice.
5
4
  */
6
5
  export type BillingInvoiceResponse = {
7
6
  amount_cents: number;
8
- billing_scope: BillingScope;
9
7
  checkout_url: (string | null);
10
8
  created_at: string;
11
9
  currency: string;
@@ -0,0 +1,9 @@
1
+ import type { AuthScheme } from './AuthScheme.js';
2
+ export type ComposioProviderCapabilityResponseSchema = {
3
+ auth_config_schema?: (Record<string, any> | null);
4
+ auth_scheme?: AuthScheme;
5
+ provider?: string;
6
+ supports_org_custom_auth_config?: boolean;
7
+ system_default_available?: boolean;
8
+ toolkit_slug: string;
9
+ };
@@ -5,5 +5,9 @@ export type ConnectRequestInitiateSchema = {
5
5
  /**
6
6
  * Application ID to connect
7
7
  */
8
- application_id: string;
8
+ application_id?: (string | null);
9
+ /**
10
+ * Auth config ID to connect
11
+ */
12
+ auth_config_id?: (string | null);
9
13
  };
@@ -4,9 +4,11 @@
4
4
  export type ConnectRequestResponseSchema = {
5
5
  application_id: string;
6
6
  attributes: (Record<string, any> | null);
7
+ auth_config_id: string;
7
8
  authorization_url: (string | null);
8
9
  created_at: string;
9
10
  id: string;
11
+ organization_id: string;
10
12
  status: string;
11
13
  updated_at: string;
12
14
  user_id: string;
@@ -1,13 +1,13 @@
1
- import type { AgentModelName } from './AgentModelName.js';
1
+ import type { AgentRuntimeConfig } from './AgentRuntimeConfig.js';
2
2
  import type { ConversationStatus } from './ConversationStatus.js';
3
3
  import type { ConversationType } from './ConversationType.js';
4
4
  export type ConversationResponse = {
5
5
  agent_id?: (string | null);
6
+ agent_runtime?: (AgentRuntimeConfig | null);
6
7
  created_at: string;
7
8
  id: string;
8
9
  instructions?: (string | null);
9
10
  metadata?: (Record<string, any> | null);
10
- model_name?: (AgentModelName | null);
11
11
  organization_id?: (string | null);
12
12
  output?: null;
13
13
  parent_id?: (string | null);
@@ -2,5 +2,6 @@ export type ConvertedArtifactResponse = {
2
2
  content_type: string;
3
3
  kind: string;
4
4
  name: string;
5
+ page_number?: (number | null);
5
6
  size_bytes: number;
6
7
  };
@@ -1,10 +1,14 @@
1
1
  import type { ConvertedArtifactResponse } from './ConvertedArtifactResponse.js';
2
+ import type { ConvertedPageResponse } from './ConvertedPageResponse.js';
2
3
  export type ConvertedFileResponse = {
3
4
  artifacts?: Array<ConvertedArtifactResponse>;
4
5
  detected_languages?: Array<string>;
5
6
  extraction_mode: string;
6
7
  generated_at: string;
8
+ page_count?: number;
9
+ pages?: Array<ConvertedPageResponse>;
7
10
  source_mime_type?: (string | null);
8
11
  source_name: string;
9
12
  source_path: string;
13
+ version?: number;
10
14
  };
@@ -0,0 +1,8 @@
1
+ export type ConvertedPageResponse = {
2
+ artifact?: (string | null);
3
+ image_count?: number;
4
+ is_blank?: (boolean | null);
5
+ page_number: number;
6
+ size_bytes?: number;
7
+ table_count?: number;
8
+ };
@@ -1,23 +1,15 @@
1
- import type { AgentModelName } from './AgentModelName.js';
1
+ import type { AgentRuntimeConfig } from './AgentRuntimeConfig.js';
2
2
  import type { AgentToolset } from './AgentToolset.js';
3
- import type { ApplicationAccessConfig } from './ApplicationAccessConfig.js';
4
- import type { HarnessKind } from './HarnessKind.js';
5
- import type { TableAccessEntry } from './TableAccessEntry.js';
3
+ import type { ResourceVisibility } from './ResourceVisibility.js';
6
4
  export type CreateAgentRequest = {
7
- accessible_applications?: Array<ApplicationAccessConfig>;
8
- accessible_folders?: Array<string>;
9
- accessible_tables?: Array<TableAccessEntry>;
10
- agent_names?: Array<string>;
5
+ agent_runtime?: (AgentRuntimeConfig | null);
11
6
  description?: (string | null);
12
- function_names?: Array<string>;
13
- harness_kind?: HarnessKind;
14
7
  icon_url?: (string | null);
15
8
  input_schema?: (Record<string, any> | null);
16
9
  instruction: string;
17
10
  metadata?: (Record<string, any> | null);
18
- model_name?: AgentModelName;
19
11
  name: string;
20
12
  output_schema?: (Record<string, any> | null);
21
13
  toolsets?: Array<AgentToolset>;
22
- visibility_roles?: (Array<string> | null);
14
+ visibility?: ResourceVisibility;
23
15
  };
@@ -0,0 +1,11 @@
1
+ export type CreateAnthropicCompatibleRuntimeProfileRequest = {
2
+ api_key: string;
3
+ base_url?: (string | null);
4
+ default_model_name?: (string | null);
5
+ description?: (string | null);
6
+ headers?: Record<string, string>;
7
+ model_names?: Array<string>;
8
+ model_settings?: Record<string, any>;
9
+ name: string;
10
+ source?: string;
11
+ };
@@ -1,10 +1,10 @@
1
- import type { AgentModelName } from './AgentModelName.js';
1
+ import type { AgentRuntimeConfig } from './AgentRuntimeConfig.js';
2
2
  import type { ConversationType } from './ConversationType.js';
3
3
  export type CreateConversationRequest = {
4
4
  agent_name?: (string | null);
5
+ agent_runtime?: (AgentRuntimeConfig | null);
5
6
  instructions?: (string | null);
6
7
  metadata?: (Record<string, any> | null);
7
- model_name?: (AgentModelName | null);
8
8
  parent_id?: (string | null);
9
9
  title?: (string | null);
10
10
  type?: ConversationType;
@@ -2,5 +2,5 @@ export type CreateDeskRequest = {
2
2
  description?: (string | null);
3
3
  name: string;
4
4
  public_slug?: (string | null);
5
- visibility_roles?: (Array<string> | null);
5
+ visibility?: (string | null);
6
6
  };
@@ -3,5 +3,5 @@ export type CreateFolderRequest = {
3
3
  name?: (string | null);
4
4
  parent_id?: (string | null);
5
5
  path?: (string | null);
6
- visibility_roles?: (Array<string> | null);
6
+ visibility?: (string | null);
7
7
  };
@@ -1,6 +1,5 @@
1
- import type { ApplicationAccessConfig } from './ApplicationAccessConfig.js';
2
- import type { FunctionTableAccessEntry } from './FunctionTableAccessEntry.js';
3
1
  import type { FunctionType } from './FunctionType.js';
2
+ import type { ResourceVisibility } from './ResourceVisibility.js';
4
3
  /**
5
4
  * Request to create a function.
6
5
  *
@@ -8,9 +7,6 @@ import type { FunctionType } from './FunctionType.js';
8
7
  * on the function response. They are not accepted in create requests.
9
8
  */
10
9
  export type CreateFunctionRequest = {
11
- accessible_applications?: Array<ApplicationAccessConfig>;
12
- accessible_folders?: Array<string>;
13
- accessible_tables?: Array<FunctionTableAccessEntry>;
14
10
  /**
15
11
  * Python source for the function. When provided, the platform analyzes the code and populates input_schema, output_schema, and config_schema on the returned function.
16
12
  */
@@ -21,5 +17,5 @@ export type CreateFunctionRequest = {
21
17
  icon_url?: (string | null);
22
18
  name: string;
23
19
  type?: FunctionType;
24
- visibility_roles?: (Array<string> | null);
20
+ visibility?: ResourceVisibility;
25
21
  };
@@ -0,0 +1,11 @@
1
+ export type CreateOpenAICompatibleRuntimeProfileRequest = {
2
+ api_key?: (string | null);
3
+ base_url: string;
4
+ default_model_name?: (string | null);
5
+ description?: (string | null);
6
+ headers?: Record<string, string>;
7
+ model_names?: Array<string>;
8
+ model_settings?: Record<string, any>;
9
+ name: string;
10
+ source?: string;
11
+ };
@@ -3,13 +3,25 @@ import type { ScheduleType } from './ScheduleType.js';
3
3
  * Request to create a pod schedule.
4
4
  */
5
5
  export type CreateScheduleRequest = {
6
+ /**
7
+ * Connected integration account used to provision provider-backed webhook schedules.
8
+ */
6
9
  account_id?: (string | null);
7
10
  agent_name?: (string | null);
11
+ /**
12
+ * Integration trigger id for agent WEBHOOK schedules. Do not provide this for workflow schedules; workflow WEBHOOK schedules derive it from the workflow start configuration.
13
+ */
8
14
  application_trigger_id?: (string | null);
9
15
  config?: Record<string, any>;
16
+ /**
17
+ * Optional schedule-level LLM filter instruction. Filters belong to the schedule, not the workflow start.
18
+ */
10
19
  filter_instruction?: (string | null);
20
+ /**
21
+ * Optional schema for the schedule-level filter output. Filters belong to the schedule, not the workflow start.
22
+ */
11
23
  filter_output_schema?: (Record<string, any> | null);
12
24
  schedule_type: ScheduleType;
13
- visibility_roles?: (Array<string> | null);
25
+ visibility?: (string | null);
14
26
  workflow_name?: (string | null);
15
27
  };
@@ -1,19 +1,17 @@
1
- import type { GmailSurfaceConfigInput } from './GmailSurfaceConfigInput.js';
2
- import type { OutlookSurfaceConfigInput } from './OutlookSurfaceConfigInput.js';
3
- import type { SlackCredentialsInput } from './SlackCredentialsInput.js';
4
- import type { SlackSurfaceConfigInput } from './SlackSurfaceConfigInput.js';
5
- import type { SurfaceCredentialMode } from './SurfaceCredentialMode.js';
1
+ import type { SurfaceBehaviorConfigInput } from './SurfaceBehaviorConfigInput.js';
2
+ import type { SurfaceEventMode } from './SurfaceEventMode.js';
3
+ import type { SurfaceMode } from './SurfaceMode.js';
4
+ import type { SurfacePlatform } from './SurfacePlatform.js';
6
5
  import type { SurfaceRoutingScope } from './SurfaceRoutingScope.js';
7
- import type { TeamsCredentialsInput } from './TeamsCredentialsInput.js';
8
- import type { TeamsSurfaceConfigInput } from './TeamsSurfaceConfigInput.js';
9
- import type { TelegramCredentialsInput } from './TelegramCredentialsInput.js';
10
- import type { TelegramSurfaceConfigInput } from './TelegramSurfaceConfigInput.js';
11
- import type { WhatsAppCredentialsInput } from './WhatsAppCredentialsInput.js';
12
- import type { WhatsAppSurfaceConfigInput } from './WhatsAppSurfaceConfigInput.js';
13
6
  export type CreateSurfaceRequest = {
7
+ account_id?: (string | null);
14
8
  agent_name?: (string | null);
15
- config: (SlackSurfaceConfigInput | TeamsSurfaceConfigInput | WhatsAppSurfaceConfigInput | TelegramSurfaceConfigInput | GmailSurfaceConfigInput | OutlookSurfaceConfigInput);
16
- credential_mode?: SurfaceCredentialMode;
17
- credentials?: ((SlackCredentialsInput | TeamsCredentialsInput | WhatsAppCredentialsInput | TelegramCredentialsInput) | null);
9
+ config?: SurfaceBehaviorConfigInput;
10
+ event_mode?: (SurfaceEventMode | null);
11
+ external_channel_id?: (string | null);
12
+ external_tenant_id?: (string | null);
13
+ external_workspace_id?: (string | null);
14
+ mode: SurfaceMode;
15
+ platform: SurfacePlatform;
18
16
  routing_scope?: SurfaceRoutingScope;
19
17
  };
@@ -23,5 +23,5 @@ export type CreateTableRequest = {
23
23
  * Primary key column name. If not `id`, it must also be declared in `columns`.
24
24
  */
25
25
  primary_key_column?: string;
26
- visibility_roles?: (Array<string> | null);
26
+ visibility?: (string | null);
27
27
  };
@@ -0,0 +1,9 @@
1
+ import type { HarnessKind } from './HarnessKind.js';
2
+ export type CreateUserDaemonRuntimeProfileRequest = {
3
+ daemon_id: string;
4
+ default_model_name?: (string | null);
5
+ description?: (string | null);
6
+ harness_kind: HarnessKind;
7
+ name: string;
8
+ source?: string;
9
+ };
@@ -4,5 +4,5 @@ export type DatastoreFileUploadRequest = {
4
4
  directory_path?: string;
5
5
  name?: (string | null);
6
6
  search_enabled?: boolean;
7
- visibility_roles?: (string | null);
7
+ visibility?: (string | null);
8
8
  };
@@ -1,5 +1,5 @@
1
- import type { DeskResponse } from './DeskResponse.js';
1
+ import type { DeskDetailResponse } from './DeskDetailResponse.js';
2
2
  export type DeskBundleUploadResponse = {
3
- desk: DeskResponse;
3
+ desk: DeskDetailResponse;
4
4
  message: string;
5
5
  };
@@ -1,5 +1,6 @@
1
1
  import type { DeskStatus } from './DeskStatus.js';
2
- export type DeskResponse = {
2
+ export type DeskDetailResponse = {
3
+ allowed_actions?: Array<string>;
3
4
  created_at: any;
4
5
  current_release_id?: (string | null);
5
6
  description?: (string | null);
@@ -13,5 +14,4 @@ export type DeskResponse = {
13
14
  readonly url: string;
14
15
  user_id: string;
15
16
  visibility?: string;
16
- visibility_roles?: Array<string>;
17
17
  };
@@ -1,6 +1,6 @@
1
- import type { DeskResponse } from './DeskResponse.js';
1
+ import type { DeskDetailResponse } from './DeskDetailResponse.js';
2
2
  export type DeskListResponse = {
3
- items: Array<DeskResponse>;
3
+ items: Array<DeskDetailResponse>;
4
4
  limit: number;
5
5
  next_page_token?: (string | null);
6
6
  };
@@ -0,0 +1,11 @@
1
+ export type DeskServingConfigResponse = {
2
+ base_domain: string;
3
+ mode: DeskServingConfigResponse.mode;
4
+ path_prefix: string;
5
+ };
6
+ export declare namespace DeskServingConfigResponse {
7
+ enum mode {
8
+ HOST = "HOST",
9
+ PATH = "PATH"
10
+ }
11
+ }
@@ -0,0 +1,8 @@
1
+ export var DeskServingConfigResponse;
2
+ (function (DeskServingConfigResponse) {
3
+ let mode;
4
+ (function (mode) {
5
+ mode["HOST"] = "HOST";
6
+ mode["PATH"] = "PATH";
7
+ })(mode = DeskServingConfigResponse.mode || (DeskServingConfigResponse.mode = {}));
8
+ })(DeskServingConfigResponse || (DeskServingConfigResponse = {}));
@@ -7,13 +7,5 @@ export type EventFlowStartInput = {
7
7
  * Integration trigger identifier to subscribe to.
8
8
  */
9
9
  application_trigger_id: string;
10
- /**
11
- * Optional LLM filter instruction executed before flow continuation.
12
- */
13
- filter_instruction?: (string | null);
14
- /**
15
- * Optional expected schema for filter output.
16
- */
17
- filter_output_schema?: (Record<string, any> | null);
18
10
  trigger_config?: Record<string, any>;
19
11
  };
@@ -7,13 +7,5 @@ export type EventFlowStartOutput = {
7
7
  * Integration trigger identifier to subscribe to.
8
8
  */
9
9
  application_trigger_id: string;
10
- /**
11
- * Optional LLM filter instruction executed before flow continuation.
12
- */
13
- filter_instruction?: (string | null);
14
- /**
15
- * Optional expected schema for filter output.
16
- */
17
- filter_output_schema?: (Record<string, any> | null);
18
10
  trigger_config?: Record<string, any>;
19
11
  };
@@ -1,4 +1,5 @@
1
- export type FileResponse = {
1
+ export type FileDetailResponse = {
2
+ allowed_actions?: Array<string>;
2
3
  created_at: string;
3
4
  description: (string | null);
4
5
  id: string;
@@ -16,5 +17,4 @@ export type FileResponse = {
16
17
  status: string;
17
18
  updated_at: string;
18
19
  visibility?: string;
19
- visibility_roles?: Array<string>;
20
20
  };
@@ -1,6 +1,6 @@
1
- import type { FileResponse } from './FileResponse.js';
1
+ import type { FileDetailResponse } from './FileDetailResponse.js';
2
2
  export type FileListResponse = {
3
- items: Array<FileResponse>;
3
+ items: Array<FileDetailResponse>;
4
4
  limit: number;
5
5
  next_page_token?: (string | null);
6
6
  };
@@ -11,7 +11,8 @@ import type { ScheduledWorkflowStartOutput } from './ScheduledWorkflowStartOutpu
11
11
  import type { WaitUntilNodeResponse } from './WaitUntilNodeResponse.js';
12
12
  import type { WorkflowEdge } from './WorkflowEdge.js';
13
13
  import type { WorkflowMode } from './WorkflowMode.js';
14
- export type FlowResponse = {
14
+ export type FlowDetailResponse = {
15
+ allowed_actions?: Array<string>;
15
16
  created_at?: (string | null);
16
17
  description?: (string | null);
17
18
  edges?: Array<WorkflowEdge>;
@@ -25,5 +26,4 @@ export type FlowResponse = {
25
26
  start?: ((ManualWorkflowStartOutput | ScheduledWorkflowStartOutput | EventWorkflowStartOutput | DataStoreWorkflowStartOutput) | null);
26
27
  updated_at?: (string | null);
27
28
  visibility?: string;
28
- visibility_roles?: Array<string>;
29
29
  };
@@ -1,15 +1,9 @@
1
- import type { ApplicationAccessConfig } from './ApplicationAccessConfig.js';
2
1
  import type { FunctionStatus } from './FunctionStatus.js';
3
- import type { FunctionTableAccessEntry } from './FunctionTableAccessEntry.js';
4
2
  import type { FunctionType } from './FunctionType.js';
5
- /**
6
- * Function response.
7
- */
8
- export type FunctionResponse = {
9
- accessible_applications: Array<ApplicationAccessConfig>;
10
- accessible_folders: Array<string>;
11
- accessible_tables: Array<FunctionTableAccessEntry>;
3
+ export type FunctionActionResponse = {
4
+ allowed_actions?: Array<string>;
12
5
  code?: (string | null);
6
+ code_hash?: (string | null);
13
7
  code_path?: (string | null);
14
8
  config?: (Record<string, any> | null);
15
9
  /**
@@ -35,5 +29,4 @@ export type FunctionResponse = {
35
29
  updated_at: any;
36
30
  user_id: string;
37
31
  visibility?: string;
38
- visibility_roles?: Array<string>;
39
32
  };
@@ -0,0 +1,34 @@
1
+ import type { FunctionPermissionsResponse } from './FunctionPermissionsResponse.js';
2
+ import type { FunctionStatus } from './FunctionStatus.js';
3
+ import type { FunctionType } from './FunctionType.js';
4
+ export type FunctionDetailResponse = {
5
+ allowed_actions?: Array<string>;
6
+ code?: (string | null);
7
+ code_hash?: (string | null);
8
+ code_path?: (string | null);
9
+ config?: (Record<string, any> | null);
10
+ /**
11
+ * Optional configuration schema derived from the function code.
12
+ */
13
+ config_schema?: (Record<string, any> | null);
14
+ created_at: any;
15
+ description?: (string | null);
16
+ icon_url?: (string | null);
17
+ id: string;
18
+ /**
19
+ * Input JSON schema derived from the function code.
20
+ */
21
+ input_schema: Record<string, any>;
22
+ name: string;
23
+ /**
24
+ * Output JSON schema derived from the function code.
25
+ */
26
+ output_schema: Record<string, any>;
27
+ permissions: FunctionPermissionsResponse;
28
+ pod_id: string;
29
+ status: FunctionStatus;
30
+ type: FunctionType;
31
+ updated_at: any;
32
+ user_id: string;
33
+ visibility?: string;
34
+ };