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
@@ -1,9 +1,6 @@
1
1
  export type SlackSurfaceConfig = {
2
- account_id?: (string | null);
3
- allow_dm?: boolean;
4
- allowed_channel_ids?: Array<string>;
5
- bot_user_id?: (string | null);
6
2
  created_at?: string;
3
+ dm_conversation_reset_after_hours?: number;
7
4
  id?: string;
8
5
  type?: string;
9
6
  updated_at?: string;
@@ -1,11 +1,11 @@
1
- import type { BillingScope } from './BillingScope.js';
1
+ import type { BillingInterval } from './BillingInterval.js';
2
2
  import type { PlanResponse } from './PlanResponse.js';
3
3
  import type { SubscriptionStatus } from './SubscriptionStatus.js';
4
4
  /**
5
5
  * Response schema for a subscription.
6
6
  */
7
7
  export type SubscriptionResponse = {
8
- billing_scope: BillingScope;
8
+ billing_interval: BillingInterval;
9
9
  cancel_at_period_end: boolean;
10
10
  created_at: string;
11
11
  current_period_end: (string | null);
@@ -1,11 +1,11 @@
1
- import type { BillingScope } from './BillingScope.js';
1
+ import type { BillingInterval } from './BillingInterval.js';
2
2
  import type { PlanResponse } from './PlanResponse.js';
3
3
  import type { SubscriptionStatus } from './SubscriptionStatus.js';
4
4
  /**
5
5
  * Subscription response with plan details.
6
6
  */
7
7
  export type SubscriptionWithPlanResponse = {
8
- billing_scope: BillingScope;
8
+ billing_interval: BillingInterval;
9
9
  cancel_at_period_end: boolean;
10
10
  created_at: string;
11
11
  current_period_end: (string | null);
@@ -0,0 +1,3 @@
1
+ export type SurfaceBehaviorConfigInput = {
2
+ dm_conversation_reset_after_hours?: number;
3
+ };
@@ -0,0 +1,6 @@
1
+ export declare enum SurfaceEventMode {
2
+ WEBHOOK = "WEBHOOK",
3
+ POLLING = "POLLING",
4
+ SOCKET = "SOCKET",
5
+ SCHEDULE = "SCHEDULE"
6
+ }
@@ -0,0 +1,11 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export var SurfaceEventMode;
6
+ (function (SurfaceEventMode) {
7
+ SurfaceEventMode["WEBHOOK"] = "WEBHOOK";
8
+ SurfaceEventMode["POLLING"] = "POLLING";
9
+ SurfaceEventMode["SOCKET"] = "SOCKET";
10
+ SurfaceEventMode["SCHEDULE"] = "SCHEDULE";
11
+ })(SurfaceEventMode || (SurfaceEventMode = {}));
@@ -0,0 +1,5 @@
1
+ export declare enum SurfaceMode {
2
+ DM = "DM",
3
+ CHANNEL = "CHANNEL",
4
+ EMAIL = "EMAIL"
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 SurfaceMode;
6
+ (function (SurfaceMode) {
7
+ SurfaceMode["DM"] = "DM";
8
+ SurfaceMode["CHANNEL"] = "CHANNEL";
9
+ SurfaceMode["EMAIL"] = "EMAIL";
10
+ })(SurfaceMode || (SurfaceMode = {}));
@@ -1,5 +1,4 @@
1
1
  export declare enum SurfaceSetupMode {
2
- NATIVE = "NATIVE",
3
- USER_PROVIDED = "USER_PROVIDED",
4
- CONNECTED_ACCOUNT = "CONNECTED_ACCOUNT"
2
+ CONNECTED_ACCOUNT = "CONNECTED_ACCOUNT",
3
+ PLATFORM_BUILT_IN = "PLATFORM_BUILT_IN"
5
4
  }
@@ -4,7 +4,6 @@
4
4
  /* eslint-disable */
5
5
  export var SurfaceSetupMode;
6
6
  (function (SurfaceSetupMode) {
7
- SurfaceSetupMode["NATIVE"] = "NATIVE";
8
- SurfaceSetupMode["USER_PROVIDED"] = "USER_PROVIDED";
9
7
  SurfaceSetupMode["CONNECTED_ACCOUNT"] = "CONNECTED_ACCOUNT";
8
+ SurfaceSetupMode["PLATFORM_BUILT_IN"] = "PLATFORM_BUILT_IN";
10
9
  })(SurfaceSetupMode || (SurfaceSetupMode = {}));
@@ -1,8 +1,9 @@
1
1
  import type { ColumnSchema } from './ColumnSchema.js';
2
2
  /**
3
- * Schema for table response.
3
+ * Schema for table detail response.
4
4
  */
5
- export type TableResponse = {
5
+ export type TableDetailResponse = {
6
+ allowed_actions?: Array<string>;
6
7
  columns: Array<ColumnSchema>;
7
8
  config: (Record<string, any> | null);
8
9
  created_at: string;
@@ -13,5 +14,4 @@ export type TableResponse = {
13
14
  primary_key_column: string;
14
15
  updated_at: string;
15
16
  visibility?: string;
16
- visibility_roles?: Array<string>;
17
17
  };
@@ -0,0 +1 @@
1
+ export {};
@@ -1,8 +1,8 @@
1
- import type { TableResponse } from './TableResponse.js';
1
+ import type { TableDetailResponse } from './TableDetailResponse.js';
2
2
  /**
3
3
  * Schema for table list response.
4
4
  */
5
5
  export type TableListResponse = {
6
- items: Array<TableResponse>;
6
+ items: Array<TableDetailResponse>;
7
7
  next_page_token?: (string | null);
8
8
  };
@@ -1,8 +1,6 @@
1
1
  export type TeamsSurfaceConfig = {
2
- account_id?: (string | null);
3
- allow_dm?: boolean;
4
- allowed_channel_ids?: Array<string>;
5
2
  created_at?: string;
3
+ dm_conversation_reset_after_hours?: number;
6
4
  id?: string;
7
5
  type?: string;
8
6
  updated_at?: string;
@@ -1,5 +1,6 @@
1
1
  export type TelegramSurfaceConfig = {
2
2
  created_at?: string;
3
+ dm_conversation_reset_after_hours?: number;
3
4
  id?: string;
4
5
  type?: string;
5
6
  updated_at?: string;
@@ -1,22 +1,14 @@
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 UpdateAgentRequest = {
7
- accessible_applications?: (Array<ApplicationAccessConfig> | null);
8
- accessible_folders?: (Array<string> | null);
9
- accessible_tables?: (Array<TableAccessEntry> | null);
10
- agent_names?: (Array<string> | null);
5
+ agent_runtime?: (AgentRuntimeConfig | null);
11
6
  description?: (string | null);
12
- function_names?: (Array<string> | null);
13
- harness_kind?: (HarnessKind | null);
14
7
  icon_url?: (string | null);
15
8
  input_schema?: (Record<string, any> | null);
16
9
  instruction?: (string | null);
17
10
  metadata?: (Record<string, any> | null);
18
- model_name?: (AgentModelName | null);
19
11
  output_schema?: (Record<string, any> | null);
20
12
  toolsets?: (Array<AgentToolset> | null);
21
- visibility_roles?: (Array<string> | null);
13
+ visibility?: (ResourceVisibility | null);
22
14
  };
@@ -1,7 +1,7 @@
1
- import type { AgentModelName } from './AgentModelName.js';
1
+ import type { AgentRuntimeConfig } from './AgentRuntimeConfig.js';
2
2
  export type UpdateConversationRequest = {
3
+ agent_runtime?: (AgentRuntimeConfig | null);
3
4
  instructions?: (string | null);
4
5
  metadata?: (Record<string, any> | null);
5
- model_name?: (AgentModelName | null);
6
6
  title?: (string | null);
7
7
  };
@@ -2,5 +2,4 @@ export type UpdateDeskRequest = {
2
2
  description?: (string | null);
3
3
  public_slug?: (string | null);
4
4
  visibility?: (string | null);
5
- visibility_roles?: (Array<string> | null);
6
5
  };
@@ -1,13 +1,9 @@
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 update a function.
6
5
  */
7
6
  export type UpdateFunctionRequest = {
8
- accessible_applications?: (Array<ApplicationAccessConfig> | null);
9
- accessible_folders?: (Array<string> | null);
10
- accessible_tables?: (Array<FunctionTableAccessEntry> | null);
11
7
  /**
12
8
  * Updated Python source for the function. When provided, the platform re-analyzes the code and refreshes input_schema, output_schema, and config_schema on the returned function.
13
9
  */
@@ -16,5 +12,5 @@ export type UpdateFunctionRequest = {
16
12
  description?: (string | null);
17
13
  icon_url?: (string | null);
18
14
  type?: (FunctionType | null);
19
- visibility_roles?: (Array<string> | null);
15
+ visibility?: (ResourceVisibility | null);
20
16
  };
@@ -7,6 +7,6 @@ export type UpdateScheduleRequest = {
7
7
  filter_instruction?: (string | null);
8
8
  filter_output_schema?: (Record<string, any> | null);
9
9
  is_active?: (boolean | null);
10
- visibility_roles?: (Array<string> | null);
10
+ visibility?: (string | null);
11
11
  workflow_name?: (string | null);
12
12
  };
@@ -1,19 +1,16 @@
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';
6
4
  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
5
  export type UpdateSurfaceRequest = {
14
- config?: ((SlackSurfaceConfigInput | TeamsSurfaceConfigInput | WhatsAppSurfaceConfigInput | TelegramSurfaceConfigInput | GmailSurfaceConfigInput | OutlookSurfaceConfigInput) | null);
15
- credential_mode?: (SurfaceCredentialMode | null);
16
- credentials?: ((SlackCredentialsInput | TeamsCredentialsInput | WhatsAppCredentialsInput | TelegramCredentialsInput) | null);
6
+ account_id?: (string | null);
7
+ agent_name?: (string | null);
8
+ config?: (SurfaceBehaviorConfigInput | null);
9
+ event_mode?: (SurfaceEventMode | null);
10
+ external_channel_id?: (string | null);
11
+ external_tenant_id?: (string | null);
12
+ external_workspace_id?: (string | null);
17
13
  is_active?: (boolean | null);
14
+ mode?: (SurfaceMode | null);
18
15
  routing_scope?: (SurfaceRoutingScope | null);
19
16
  };
@@ -6,5 +6,5 @@ export type UpdateTableRequest = {
6
6
  * Replacement metadata/config payload for the table.
7
7
  */
8
8
  config?: (Record<string, any> | null);
9
- visibility_roles?: (Array<string> | null);
9
+ visibility?: (string | null);
10
10
  };
@@ -1,10 +1,9 @@
1
- /**
2
- * One usage limit scope.
3
- */
4
1
  export type UsageLimitScopeResponse = {
5
2
  allowed: boolean;
6
3
  limit_usd?: (number | null);
7
4
  remaining_usd?: (number | null);
5
+ reserved_usd: number;
8
6
  reset_at: string;
9
7
  used_usd: number;
8
+ window_start: string;
10
9
  };
@@ -1,11 +1,8 @@
1
1
  import type { UsageLimitScopeResponse } from './UsageLimitScopeResponse.js';
2
- /**
3
- * Current usage limit state for an organization/user.
4
- */
5
2
  export type UsageLimitsResponse = {
6
3
  allowed: boolean;
7
4
  org_monthly: UsageLimitScopeResponse;
8
- organization_id: string;
5
+ organization_id: (string | null);
9
6
  user_id: string;
10
7
  user_weekly: UsageLimitScopeResponse;
11
8
  };
@@ -1,7 +1,4 @@
1
1
  import type { UsageRecordResponse } from './UsageRecordResponse.js';
2
- /**
3
- * Response schema for list of usage records.
4
- */
5
2
  export type UsageListResponse = {
6
3
  end_date: string;
7
4
  items: Array<UsageRecordResponse>;
@@ -1,28 +1,24 @@
1
- /**
2
- * Response schema for a usage record.
3
- */
4
1
  export type UsageRecordResponse = {
5
2
  agent_id?: (string | null);
6
- agent_run_id: string;
7
- conversation_id: string;
3
+ agent_run_id?: (string | null);
4
+ conversation_id?: (string | null);
5
+ cost_usd?: (number | null);
8
6
  created_at: string;
9
- duration_seconds: number;
10
7
  id: string;
11
- input_cost_usd: number;
12
8
  input_tokens: number;
13
9
  metadata: Record<string, any>;
14
10
  model_name: string;
15
11
  occurred_at: string;
16
- organization_id: (string | null);
17
- output_cost_usd: number;
12
+ organization_id?: (string | null);
18
13
  output_tokens: number;
19
- pod_id: (string | null);
20
- request_count: number;
14
+ parent_agent_run_id?: (string | null);
15
+ pod_id?: (string | null);
16
+ profile_id: string;
17
+ profile_scope: string;
18
+ source_id?: (string | null);
19
+ source_type: string;
21
20
  status?: (string | null);
22
- tool_call_count: number;
23
- total_cost_usd: number;
24
21
  total_tokens: number;
25
- unit_cost_usd: number;
26
22
  units: number;
27
23
  usage_kind: string;
28
24
  user_id: string;
@@ -1,12 +1,9 @@
1
- /**
2
- * One usage statistics bucket.
3
- */
4
1
  export type UsageStatsBucketResponse = {
5
2
  bucket: string;
6
3
  group?: (string | null);
7
4
  input_tokens: number;
8
5
  output_tokens: number;
9
- total_cost_usd: number;
6
+ system_cost_usd: number;
10
7
  total_tokens: number;
11
8
  units: number;
12
9
  };
@@ -1,7 +1,4 @@
1
1
  import type { UsageStatsBucketResponse } from './UsageStatsBucketResponse.js';
2
- /**
3
- * Response schema for usage statistics.
4
- */
5
2
  export type UsageStatsResponse = {
6
3
  end_date: string;
7
4
  granularity: string;
@@ -1,6 +1,3 @@
1
- /**
2
- * Response schema for usage summary.
3
- */
4
1
  export type UsageSummaryResponse = {
5
2
  agent_id?: (string | null);
6
3
  end_date: string;
@@ -8,9 +5,10 @@ export type UsageSummaryResponse = {
8
5
  period_days: number;
9
6
  pod_id?: (string | null);
10
7
  start_date: string;
11
- total_by_kind: Record<string, Record<string, number>>;
12
- total_by_model: Record<string, Record<string, number>>;
13
- total_cost_usd: number;
8
+ system_cost_usd: number;
9
+ total_by_kind: Record<string, Record<string, any>>;
10
+ total_by_model: Record<string, Record<string, any>>;
11
+ total_by_profile: Record<string, Record<string, any>>;
14
12
  total_input_tokens: number;
15
13
  total_output_tokens: number;
16
14
  total_tokens: number;
@@ -0,0 +1,4 @@
1
+ import type { MessageResponse } from './MessageResponse.js';
2
+ export type UserApprovalListResponse = {
3
+ items: Array<MessageResponse>;
4
+ };
@@ -1,4 +1,9 @@
1
1
  export type VerifyTokenResponse = {
2
2
  email: string;
3
+ function_id?: (string | null);
4
+ function_name?: (string | null);
5
+ organization_id?: (string | null);
6
+ pod_id?: (string | null);
7
+ scopes?: Array<string>;
3
8
  user_id: string;
4
9
  };
@@ -1,5 +1,6 @@
1
1
  export type WhatsAppSurfaceConfig = {
2
2
  created_at?: string;
3
+ dm_conversation_reset_after_hours?: number;
3
4
  id?: string;
4
5
  type?: string;
5
6
  updated_at?: string;
@@ -1,6 +1,7 @@
1
1
  import type { DataStoreWorkflowStartInput } from './DataStoreWorkflowStartInput.js';
2
2
  import type { EventWorkflowStartInput } from './EventWorkflowStartInput.js';
3
3
  import type { ManualWorkflowStartInput } from './ManualWorkflowStartInput.js';
4
+ import type { ResourceVisibility } from './ResourceVisibility.js';
4
5
  import type { ScheduledWorkflowStartInput } from './ScheduledWorkflowStartInput.js';
5
6
  import type { WorkflowMode } from './WorkflowMode.js';
6
7
  export type WorkflowCreateRequest = {
@@ -24,5 +25,5 @@ export type WorkflowCreateRequest = {
24
25
  * Start configuration. If omitted, the workflow can be started manually via `workflow.start`.
25
26
  */
26
27
  start?: ((ManualWorkflowStartInput | ScheduledWorkflowStartInput | EventWorkflowStartInput | DataStoreWorkflowStartInput) | null);
27
- visibility_roles?: (Array<string> | null);
28
+ visibility?: ResourceVisibility;
28
29
  };
@@ -1,6 +1,6 @@
1
- import type { FlowResponse } from './FlowResponse.js';
1
+ import type { FlowDetailResponse } from './FlowDetailResponse.js';
2
2
  export type WorkflowListResponse = {
3
- items: Array<FlowResponse>;
3
+ items: Array<FlowDetailResponse>;
4
4
  limit: number;
5
5
  next_page_token?: (string | null);
6
6
  };
@@ -1,6 +1,6 @@
1
- import type { FlowRunEntity } from './FlowRunEntity.js';
1
+ import type { WorkflowRunSummaryResponse } from './WorkflowRunSummaryResponse.js';
2
2
  export type WorkflowRunListResponse = {
3
- items: Array<FlowRunEntity>;
3
+ items: Array<WorkflowRunSummaryResponse>;
4
4
  limit: number;
5
5
  next_page_token?: (string | null);
6
6
  };
@@ -0,0 +1,18 @@
1
+ import type { FlowRunStatus } from './FlowRunStatus.js';
2
+ export type WorkflowRunSummaryResponse = {
3
+ completed_at?: (string | null);
4
+ created_at?: (string | null);
5
+ current_node_id?: (string | null);
6
+ flow_id: string;
7
+ id: string;
8
+ pod_id: string;
9
+ schedule_event_id?: (string | null);
10
+ start_type?: string;
11
+ started_at?: (string | null);
12
+ status?: FlowRunStatus;
13
+ updated_at?: (string | null);
14
+ user_id: string;
15
+ waiting_agent_conversation_id?: (string | null);
16
+ waiting_function_run_id?: (string | null);
17
+ waiting_timer_id?: (string | null);
18
+ };
@@ -1,6 +1,7 @@
1
1
  import type { DataStoreWorkflowStartInput } from './DataStoreWorkflowStartInput.js';
2
2
  import type { EventWorkflowStartInput } from './EventWorkflowStartInput.js';
3
3
  import type { ManualWorkflowStartInput } from './ManualWorkflowStartInput.js';
4
+ import type { ResourceVisibility } from './ResourceVisibility.js';
4
5
  import type { ScheduledWorkflowStartInput } from './ScheduledWorkflowStartInput.js';
5
6
  import type { WorkflowMode } from './WorkflowMode.js';
6
7
  export type WorkflowUpdateRequest = {
@@ -20,5 +21,5 @@ export type WorkflowUpdateRequest = {
20
21
  * Updated start trigger configuration.
21
22
  */
22
23
  start?: ((ManualWorkflowStartInput | ScheduledWorkflowStartInput | EventWorkflowStartInput | DataStoreWorkflowStartInput) | null);
23
- visibility_roles?: (Array<string> | null);
24
+ visibility?: (ResourceVisibility | null);
24
25
  };
@@ -0,0 +1,6 @@
1
+ export type WorkspaceAppAccessRequest = {
2
+ pod_id?: (string | null);
3
+ ttl_seconds?: number;
4
+ workload_id?: (string | null);
5
+ workload_type?: (string | null);
6
+ };
@@ -0,0 +1,5 @@
1
+ export type WorkspaceAppAccessResponse = {
2
+ app: string;
3
+ expires_at: string;
4
+ url: string;
5
+ };
@@ -0,0 +1,5 @@
1
+ export type WorkspaceMeApp = {
2
+ app: string;
3
+ expires_at: string;
4
+ url: string;
5
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,9 @@
1
+ import type { WorkspaceMeApp } from './WorkspaceMeApp.js';
2
+ import type { WorkspaceMeSandbox } from './WorkspaceMeSandbox.js';
3
+ import type { WorkspaceMeSession } from './WorkspaceMeSession.js';
4
+ export type WorkspaceMeResponse = {
5
+ active_session?: (WorkspaceMeSession | null);
6
+ apps: Record<string, WorkspaceMeApp>;
7
+ sandbox: WorkspaceMeSandbox;
8
+ user_id: string;
9
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,10 @@
1
+ export type WorkspaceMeSandbox = {
2
+ namespace?: (string | null);
3
+ phase?: (string | null);
4
+ pod_name?: (string | null);
5
+ ready: boolean;
6
+ runtime: string;
7
+ sandbox_id: string;
8
+ status: string;
9
+ updated_at?: (string | null);
10
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,6 @@
1
+ export type WorkspaceMeSession = {
2
+ last_used_at: string;
3
+ pod_id?: (string | null);
4
+ runtime: string;
5
+ session_id: string;
6
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -4,5 +4,5 @@ export type update = {
4
4
  new_path?: (string | null);
5
5
  path: string;
6
6
  search_enabled?: (boolean | null);
7
- visibility_roles?: (string | null);
7
+ visibility?: (string | null);
8
8
  };