lemma-sdk 0.2.43 → 0.2.45

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 (502) hide show
  1. package/README.md +2 -5
  2. package/dist/assistant-events.d.ts +2 -0
  3. package/dist/assistant-events.js +50 -3
  4. package/dist/browser/lemma-client.js +1333 -435
  5. package/dist/client.d.ts +8 -0
  6. package/dist/client.js +13 -1
  7. package/dist/config.d.ts +2 -2
  8. package/dist/config.js +2 -2
  9. package/dist/hey_client/client/client.gen.d.ts +2 -0
  10. package/dist/hey_client/client/client.gen.js +216 -0
  11. package/dist/hey_client/client/index.d.ts +10 -0
  12. package/dist/hey_client/client/index.js +6 -0
  13. package/dist/hey_client/client/types.gen.d.ts +120 -0
  14. package/dist/hey_client/client/types.gen.js +2 -0
  15. package/dist/hey_client/client/utils.gen.d.ts +37 -0
  16. package/dist/hey_client/client/utils.gen.js +228 -0
  17. package/dist/hey_client/client.gen.d.ts +12 -0
  18. package/dist/hey_client/client.gen.js +3 -0
  19. package/dist/hey_client/core/auth.gen.d.ts +25 -0
  20. package/dist/hey_client/core/auth.gen.js +14 -0
  21. package/dist/hey_client/core/bodySerializer.gen.d.ts +25 -0
  22. package/dist/hey_client/core/bodySerializer.gen.js +57 -0
  23. package/dist/hey_client/core/params.gen.d.ts +43 -0
  24. package/dist/hey_client/core/params.gen.js +100 -0
  25. package/dist/hey_client/core/pathSerializer.gen.d.ts +33 -0
  26. package/dist/hey_client/core/pathSerializer.gen.js +106 -0
  27. package/dist/hey_client/core/queryKeySerializer.gen.d.ts +18 -0
  28. package/dist/hey_client/core/queryKeySerializer.gen.js +92 -0
  29. package/dist/hey_client/core/serverSentEvents.gen.d.ts +71 -0
  30. package/dist/hey_client/core/serverSentEvents.gen.js +132 -0
  31. package/dist/hey_client/core/types.gen.d.ts +83 -0
  32. package/dist/hey_client/core/types.gen.js +2 -0
  33. package/dist/hey_client/core/utils.gen.d.ts +19 -0
  34. package/dist/hey_client/core/utils.gen.js +87 -0
  35. package/dist/hey_client/index.d.ts +2 -0
  36. package/dist/hey_client/index.js +2 -0
  37. package/dist/hey_client/sdk.gen.d.ts +1005 -0
  38. package/dist/hey_client/sdk.gen.js +1438 -0
  39. package/dist/hey_client/types.gen.d.ts +13004 -0
  40. package/dist/hey_client/types.gen.js +2 -0
  41. package/dist/index.d.ts +4 -0
  42. package/dist/namespaces/agent-runtime.d.ts +28 -0
  43. package/dist/namespaces/agent-runtime.js +34 -0
  44. package/dist/namespaces/agents.d.ts +8 -3
  45. package/dist/namespaces/agents.js +4 -0
  46. package/dist/namespaces/conversations.d.ts +35 -7
  47. package/dist/namespaces/conversations.js +103 -22
  48. package/dist/namespaces/desks.d.ts +3 -3
  49. package/dist/namespaces/files.d.ts +17 -28
  50. package/dist/namespaces/files.js +10 -11
  51. package/dist/namespaces/functions.d.ts +8 -3
  52. package/dist/namespaces/functions.js +4 -0
  53. package/dist/namespaces/integrations.d.ts +54 -12
  54. package/dist/namespaces/integrations.js +52 -16
  55. package/dist/namespaces/pod-members.d.ts +1 -0
  56. package/dist/namespaces/pod-members.js +4 -1
  57. package/dist/namespaces/pod-permissions.d.ts +14 -0
  58. package/dist/namespaces/pod-permissions.js +18 -0
  59. package/dist/namespaces/pod-roles.d.ts +16 -0
  60. package/dist/namespaces/pod-roles.js +25 -0
  61. package/dist/namespaces/pod-surfaces.d.ts +8 -3
  62. package/dist/namespaces/pod-surfaces.js +15 -6
  63. package/dist/namespaces/pods.d.ts +2 -3
  64. package/dist/namespaces/pods.js +1 -6
  65. package/dist/namespaces/records.d.ts +7 -7
  66. package/dist/namespaces/resource-access.d.ts +11 -0
  67. package/dist/namespaces/resource-access.js +18 -0
  68. package/dist/namespaces/schedules.d.ts +4 -3
  69. package/dist/namespaces/schedules.js +1 -1
  70. package/dist/namespaces/tables.d.ts +6 -6
  71. package/dist/namespaces/workflows.d.ts +16 -12
  72. package/dist/namespaces/workflows.js +9 -18
  73. package/dist/openapi_client/index.d.ts +90 -61
  74. package/dist/openapi_client/index.js +17 -12
  75. package/dist/openapi_client/models/AccountCreateSchema.d.ts +18 -0
  76. package/dist/openapi_client/models/AccountResponseSchema.d.ts +3 -0
  77. package/dist/openapi_client/models/AgentActionResponse.d.ts +20 -0
  78. package/dist/openapi_client/models/AgentDetailResponse.d.ts +22 -0
  79. package/dist/openapi_client/models/AgentHarnessInfo.d.ts +11 -0
  80. package/dist/openapi_client/models/AgentHarnessListResponse.d.ts +4 -0
  81. package/dist/openapi_client/models/AgentListResponse.d.ts +2 -2
  82. package/dist/openapi_client/models/AgentNode.d.ts +1 -1
  83. package/dist/openapi_client/models/AgentNodeConfig.d.ts +1 -1
  84. package/dist/openapi_client/models/AgentPermissionsReplaceRequest.d.ts +4 -0
  85. package/dist/openapi_client/models/AgentPermissionsResponse.d.ts +6 -0
  86. package/dist/openapi_client/models/AgentResourcePermissionRequest.d.ts +6 -0
  87. package/dist/openapi_client/models/AgentResourcePermissionResponse.d.ts +6 -0
  88. package/dist/openapi_client/models/AgentRunApprovalDecision.d.ts +8 -0
  89. package/dist/openapi_client/models/AgentRunApprovalDecision.js +13 -0
  90. package/dist/openapi_client/models/AgentRuntimeConfig.d.ts +7 -0
  91. package/dist/openapi_client/models/AgentRuntimeProfileListResponse.d.ts +6 -0
  92. package/dist/openapi_client/models/AgentRuntimeProfileResponse.d.ts +28 -0
  93. package/dist/openapi_client/models/AgentSurfaceResponse.d.ts +8 -12
  94. package/dist/openapi_client/models/AgentSurfaceStatus.d.ts +3 -1
  95. package/dist/openapi_client/models/AgentSurfaceStatus.js +2 -0
  96. package/dist/openapi_client/models/ApplicationDetailResponseSchema.d.ts +3 -3
  97. package/dist/openapi_client/models/ApplicationResponseSchema.d.ts +3 -3
  98. package/dist/openapi_client/models/ApplicationSkillResponse.d.ts +6 -0
  99. package/dist/openapi_client/models/AuthConfigCreateSchema.d.ts +7 -0
  100. package/dist/openapi_client/models/AuthConfigListResponseSchema.d.ts +6 -0
  101. package/dist/openapi_client/models/AuthConfigResponseSchema.d.ts +13 -0
  102. package/dist/openapi_client/models/AuthScheme.d.ts +5 -0
  103. package/dist/openapi_client/models/AuthScheme.js +10 -0
  104. package/dist/openapi_client/models/ComposioProviderCapabilityResponseSchema.d.ts +9 -0
  105. package/dist/openapi_client/models/ConnectRequestInitiateSchema.d.ts +5 -1
  106. package/dist/openapi_client/models/ConnectRequestResponseSchema.d.ts +2 -0
  107. package/dist/openapi_client/models/ConnectedAccountSummary.d.ts +7 -0
  108. package/dist/openapi_client/models/ConversationResponse.d.ts +2 -2
  109. package/dist/openapi_client/models/ConvertedArtifactResponse.d.ts +1 -0
  110. package/dist/openapi_client/models/ConvertedFileResponse.d.ts +4 -0
  111. package/dist/openapi_client/models/ConvertedPageResponse.d.ts +8 -0
  112. package/dist/openapi_client/models/CreateAgentRequest.d.ts +4 -12
  113. package/dist/openapi_client/models/CreateAnthropicCompatibleRuntimeProfileRequest.d.ts +11 -0
  114. package/dist/openapi_client/models/CreateConversationRequest.d.ts +2 -2
  115. package/dist/openapi_client/models/CreateDeskRequest.d.ts +1 -1
  116. package/dist/openapi_client/models/CreateFolderRequest.d.ts +1 -1
  117. package/dist/openapi_client/models/CreateFunctionRequest.d.ts +2 -7
  118. package/dist/openapi_client/models/CreateOpenAICompatibleRuntimeProfileRequest.d.ts +11 -0
  119. package/dist/openapi_client/models/CreateScheduleRequest.d.ts +17 -1
  120. package/dist/openapi_client/models/CreateSurfaceRequest.d.ts +6 -15
  121. package/dist/openapi_client/models/CreateTableRequest.d.ts +1 -1
  122. package/dist/openapi_client/models/CreateUserDaemonRuntimeProfileRequest.d.ts +11 -0
  123. package/dist/openapi_client/models/DataStoreFlowStartInput.d.ts +1 -1
  124. package/dist/openapi_client/models/DataStoreFlowStartOutput.d.ts +1 -1
  125. package/dist/openapi_client/models/DatastoreCountResponse.d.ts +6 -0
  126. package/dist/openapi_client/models/DatastoreFileUploadRequest.d.ts +1 -1
  127. package/dist/openapi_client/models/DecisionNode.d.ts +2 -1
  128. package/dist/openapi_client/models/DecisionRule.d.ts +3 -0
  129. package/dist/openapi_client/models/DeskBundleUploadResponse.d.ts +2 -2
  130. package/dist/openapi_client/models/{DeskResponse.d.ts → DeskDetailResponse.d.ts} +2 -2
  131. package/dist/openapi_client/models/DeskListResponse.d.ts +2 -2
  132. package/dist/openapi_client/models/EndNode.d.ts +1 -1
  133. package/dist/openapi_client/models/EventFlowStartInput.d.ts +0 -8
  134. package/dist/openapi_client/models/EventFlowStartOutput.d.ts +0 -8
  135. package/dist/openapi_client/models/ExpressionInputBinding.d.ts +6 -2
  136. package/dist/openapi_client/models/{FileResponse.d.ts → FileDetailResponse.d.ts} +2 -2
  137. package/dist/openapi_client/models/FileListResponse.d.ts +3 -2
  138. package/dist/openapi_client/models/FileSearchResponse.d.ts +2 -2
  139. package/dist/openapi_client/models/{FlowResponse.d.ts → FlowDetailResponse.d.ts} +2 -2
  140. package/dist/openapi_client/models/FlowRunStatus.d.ts +4 -1
  141. package/dist/openapi_client/models/FlowRunStatus.js +4 -1
  142. package/dist/openapi_client/models/FormNode.d.ts +2 -1
  143. package/dist/openapi_client/models/FormNodeConfig.d.ts +1 -1
  144. package/dist/openapi_client/models/{FunctionResponse.d.ts → FunctionActionResponse.d.ts} +3 -10
  145. package/dist/openapi_client/models/FunctionDetailResponse.d.ts +34 -0
  146. package/dist/openapi_client/models/FunctionListResponse.d.ts +2 -2
  147. package/dist/openapi_client/models/FunctionNode.d.ts +2 -1
  148. package/dist/openapi_client/models/FunctionPermissionsReplaceRequest.d.ts +4 -0
  149. package/dist/openapi_client/models/FunctionPermissionsResponse.d.ts +6 -0
  150. package/dist/openapi_client/models/FunctionResourcePermissionRequest.d.ts +6 -0
  151. package/dist/openapi_client/models/FunctionResourcePermissionResponse.d.ts +6 -0
  152. package/dist/openapi_client/models/FunctionRunListResponse.d.ts +2 -2
  153. package/dist/openapi_client/models/FunctionRunSummaryResponse.d.ts +13 -0
  154. package/dist/openapi_client/models/HarnessKind.d.ts +4 -2
  155. package/dist/openapi_client/models/HarnessKind.js +4 -2
  156. package/dist/openapi_client/models/InstalledAppSummary.d.ts +7 -0
  157. package/dist/openapi_client/models/IntegrationStatusResponse.d.ts +6 -0
  158. package/dist/openapi_client/models/LemmaProviderCapabilityResponseSchema.d.ts +12 -0
  159. package/dist/openapi_client/models/LoopNode.d.ts +2 -1
  160. package/dist/openapi_client/models/LoopNodeConfig.d.ts +3 -3
  161. package/dist/openapi_client/models/OAuth2DefaultsResponseSchema.d.ts +10 -0
  162. package/dist/openapi_client/models/OperationSummary.d.ts +4 -0
  163. package/dist/openapi_client/models/PodConfig.d.ts +6 -0
  164. package/dist/openapi_client/models/PodCreateRequest.d.ts +2 -0
  165. package/dist/openapi_client/models/PodEffectivePermissionsResponse.d.ts +4 -0
  166. package/dist/openapi_client/models/PodMemberAddRequest.d.ts +1 -3
  167. package/dist/openapi_client/models/PodMemberDetailResponse.d.ts +0 -2
  168. package/dist/openapi_client/models/PodMemberResponse.d.ts +0 -2
  169. package/dist/openapi_client/models/PodMemberUpdateRoleRequest.d.ts +1 -3
  170. package/dist/openapi_client/models/PodPermissionCatalogResponse.d.ts +4 -0
  171. package/dist/openapi_client/models/PodPermissionResponse.d.ts +7 -0
  172. package/dist/openapi_client/models/PodResponse.d.ts +2 -0
  173. package/dist/openapi_client/models/PodRoleCreateRequest.d.ts +2 -0
  174. package/dist/openapi_client/models/PodRolePermissionsReplaceRequest.d.ts +4 -0
  175. package/dist/openapi_client/models/PodRolePermissionsResponse.d.ts +6 -0
  176. package/dist/openapi_client/models/PodRoleResourcePermissionRequest.d.ts +6 -0
  177. package/dist/openapi_client/models/PodRoleResourcePermissionResponse.d.ts +6 -0
  178. package/dist/openapi_client/models/PodRoleResponse.d.ts +3 -0
  179. package/dist/openapi_client/models/PodUpdateRequest.d.ts +2 -0
  180. package/dist/openapi_client/models/ResolveUserApprovalRequest.d.ts +5 -0
  181. package/dist/openapi_client/models/ResourceAccessGrantRequest.d.ts +3 -0
  182. package/dist/openapi_client/models/ResourceAccessGrantResponse.d.ts +12 -0
  183. package/dist/openapi_client/models/ResourceAccessResponse.d.ts +7 -0
  184. package/dist/openapi_client/models/ResourceType.d.ts +19 -0
  185. package/dist/openapi_client/models/ResourceType.js +24 -0
  186. package/dist/openapi_client/models/ResourceVisibility.d.ts +6 -0
  187. package/dist/openapi_client/models/ResourceVisibility.js +11 -0
  188. package/dist/openapi_client/models/RuntimeModelCapability.d.ts +8 -0
  189. package/dist/openapi_client/models/RuntimeModelCapability.js +13 -0
  190. package/dist/openapi_client/models/RuntimeModelCatalogEntry.d.ts +9 -0
  191. package/dist/openapi_client/models/RuntimeModelCatalogEntry.js +1 -0
  192. package/dist/openapi_client/models/RuntimeProfileKind.d.ts +4 -0
  193. package/dist/openapi_client/models/RuntimeProfileKind.js +9 -0
  194. package/dist/openapi_client/models/RuntimeProfileProtocol.d.ts +9 -0
  195. package/dist/openapi_client/models/RuntimeProfileProtocol.js +14 -0
  196. package/dist/openapi_client/models/RuntimeProfileScope.d.ts +5 -0
  197. package/dist/openapi_client/models/RuntimeProfileScope.js +10 -0
  198. package/dist/openapi_client/models/RuntimeProfileStatus.d.ts +5 -0
  199. package/dist/openapi_client/models/RuntimeProfileStatus.js +10 -0
  200. package/dist/openapi_client/models/{ScheduleResponse.d.ts → ScheduleDetailResponse.d.ts} +9 -3
  201. package/dist/openapi_client/models/ScheduleDetailResponse.js +1 -0
  202. package/dist/openapi_client/models/ScheduleFireStatus.d.ts +8 -0
  203. package/dist/openapi_client/models/ScheduleFireStatus.js +13 -0
  204. package/dist/openapi_client/models/ScheduleListResponse.d.ts +2 -2
  205. package/dist/openapi_client/models/StepRecordResponse.d.ts +10 -0
  206. package/dist/openapi_client/models/StepRecordResponse.js +1 -0
  207. package/dist/openapi_client/models/StepStatus.d.ts +7 -0
  208. package/dist/openapi_client/models/StepStatus.js +12 -0
  209. package/dist/openapi_client/models/SurfaceBehaviorConfigInput.d.ts +7 -0
  210. package/dist/openapi_client/models/SurfaceBehaviorConfigInput.js +1 -0
  211. package/dist/openapi_client/models/SurfaceChannelRouteInput.d.ts +6 -0
  212. package/dist/openapi_client/models/SurfaceChannelRouteInput.js +1 -0
  213. package/dist/openapi_client/models/SurfaceChannelRouteResponse.d.ts +6 -0
  214. package/dist/openapi_client/models/SurfaceChannelRouteResponse.js +1 -0
  215. package/dist/openapi_client/models/SurfaceConfigResponse.d.ts +10 -0
  216. package/dist/openapi_client/models/SurfaceConfigResponse.js +1 -0
  217. package/dist/openapi_client/models/SurfaceCredentialMode.d.ts +2 -2
  218. package/dist/openapi_client/models/SurfaceCredentialMode.js +2 -2
  219. package/dist/openapi_client/models/SurfaceIdentityConfigInput.d.ts +4 -0
  220. package/dist/openapi_client/models/SurfaceIdentityConfigInput.js +1 -0
  221. package/dist/openapi_client/models/SurfaceIdentityConfigResponse.d.ts +4 -0
  222. package/dist/openapi_client/models/SurfaceIdentityConfigResponse.js +1 -0
  223. package/dist/openapi_client/models/SurfaceSetupMode.d.ts +2 -3
  224. package/dist/openapi_client/models/SurfaceSetupMode.js +1 -2
  225. package/dist/openapi_client/models/SurfaceSetupStatusResponse.d.ts +10 -0
  226. package/dist/openapi_client/models/SurfaceSetupStatusResponse.js +1 -0
  227. package/dist/openapi_client/models/{TableResponse.d.ts → TableDetailResponse.d.ts} +3 -3
  228. package/dist/openapi_client/models/TableDetailResponse.js +1 -0
  229. package/dist/openapi_client/models/TableListResponse.d.ts +4 -2
  230. package/dist/openapi_client/models/ToggleSurfaceRequest.d.ts +1 -1
  231. package/dist/openapi_client/models/UpdateAgentRequest.d.ts +4 -12
  232. package/dist/openapi_client/models/UpdateConversationRequest.d.ts +2 -2
  233. package/dist/openapi_client/models/UpdateDeskRequest.d.ts +0 -1
  234. package/dist/openapi_client/models/UpdateFunctionRequest.d.ts +2 -6
  235. package/dist/openapi_client/models/UpdateScheduleRequest.d.ts +2 -1
  236. package/dist/openapi_client/models/UpdateSurfaceChannelsRequest.d.ts +4 -0
  237. package/dist/openapi_client/models/UpdateSurfaceChannelsRequest.js +1 -0
  238. package/dist/openapi_client/models/UpdateSurfaceRequest.d.ts +5 -15
  239. package/dist/openapi_client/models/UpdateTableRequest.d.ts +1 -1
  240. package/dist/openapi_client/models/UpsertSurfaceRequest.d.ts +9 -0
  241. package/dist/openapi_client/models/UpsertSurfaceRequest.js +1 -0
  242. package/dist/openapi_client/models/UsageLimitScopeResponse.d.ts +2 -3
  243. package/dist/openapi_client/models/UsageLimitsResponse.d.ts +1 -4
  244. package/dist/openapi_client/models/UsageListResponse.d.ts +0 -3
  245. package/dist/openapi_client/models/UsageRecordResponse.d.ts +10 -14
  246. package/dist/openapi_client/models/UsageStatsBucketResponse.d.ts +1 -4
  247. package/dist/openapi_client/models/UsageStatsResponse.d.ts +0 -3
  248. package/dist/openapi_client/models/UsageSummaryResponse.d.ts +4 -6
  249. package/dist/openapi_client/models/UserApprovalListResponse.d.ts +4 -0
  250. package/dist/openapi_client/models/UserApprovalListResponse.js +1 -0
  251. package/dist/openapi_client/models/UserProfileRequest.d.ts +1 -0
  252. package/dist/openapi_client/models/UserResponse.d.ts +1 -0
  253. package/dist/openapi_client/models/VerifyTokenResponse.d.ts +5 -0
  254. package/dist/openapi_client/models/WaitUntilNode.d.ts +1 -1
  255. package/dist/openapi_client/models/WorkflowCreateRequest.d.ts +18 -1
  256. package/dist/openapi_client/models/WorkflowListResponse.d.ts +2 -2
  257. package/dist/openapi_client/models/WorkflowRunFormSubmitRequest.d.ts +13 -0
  258. package/dist/openapi_client/models/WorkflowRunFormSubmitRequest.js +1 -0
  259. package/dist/openapi_client/models/WorkflowRunListResponse.d.ts +2 -2
  260. package/dist/openapi_client/models/WorkflowRunResponse.d.ts +28 -0
  261. package/dist/openapi_client/models/WorkflowRunResponse.js +1 -0
  262. package/dist/openapi_client/models/WorkflowRunSummaryResponse.d.ts +17 -0
  263. package/dist/openapi_client/models/WorkflowRunSummaryResponse.js +1 -0
  264. package/dist/openapi_client/models/WorkflowRunWaitAssignment.d.ts +4 -4
  265. package/dist/openapi_client/models/{WorkflowRunWaitEntity.d.ts → WorkflowRunWaitResponse.d.ts} +4 -8
  266. package/dist/openapi_client/models/WorkflowRunWaitResponse.js +1 -0
  267. package/dist/openapi_client/models/WorkflowRunWaitType.d.ts +1 -2
  268. package/dist/openapi_client/models/WorkflowRunWaitType.js +0 -1
  269. package/dist/openapi_client/models/WorkflowUpdateRequest.d.ts +2 -1
  270. package/dist/openapi_client/models/WorkspaceAppAccessRequest.d.ts +3 -0
  271. package/dist/openapi_client/models/WorkspaceAppAccessRequest.js +1 -0
  272. package/dist/openapi_client/models/WorkspaceAppAccessResponse.d.ts +5 -0
  273. package/dist/openapi_client/models/WorkspaceAppAccessResponse.js +1 -0
  274. package/dist/openapi_client/models/WorkspaceMeApp.d.ts +5 -0
  275. package/dist/openapi_client/models/WorkspaceMeApp.js +1 -0
  276. package/dist/openapi_client/models/WorkspaceMeResponse.d.ts +9 -0
  277. package/dist/openapi_client/models/WorkspaceMeResponse.js +1 -0
  278. package/dist/openapi_client/models/WorkspaceMeSandbox.d.ts +7 -0
  279. package/dist/openapi_client/models/WorkspaceMeSandbox.js +1 -0
  280. package/dist/openapi_client/models/WorkspaceMeSession.d.ts +6 -0
  281. package/dist/openapi_client/models/WorkspaceMeSession.js +1 -0
  282. package/dist/openapi_client/models/update.d.ts +1 -1
  283. package/dist/openapi_client/services/AgentConversationsService.d.ts +28 -3
  284. package/dist/openapi_client/services/AgentConversationsService.js +54 -3
  285. package/dist/openapi_client/services/AgentRuntimeService.d.ts +30 -0
  286. package/dist/openapi_client/services/AgentRuntimeService.js +54 -0
  287. package/dist/openapi_client/services/AgentSurfacesIngressService.d.ts +15 -20
  288. package/dist/openapi_client/services/AgentSurfacesIngressService.js +23 -28
  289. package/dist/openapi_client/services/AgentSurfacesService.d.ts +41 -12
  290. package/dist/openapi_client/services/AgentSurfacesService.js +90 -24
  291. package/dist/openapi_client/services/AgentToolsService.d.ts +0 -10
  292. package/dist/openapi_client/services/AgentToolsService.js +0 -18
  293. package/dist/openapi_client/services/AgentsService.d.ts +31 -9
  294. package/dist/openapi_client/services/AgentsService.js +50 -5
  295. package/dist/openapi_client/services/ApplicationsService.d.ts +22 -8
  296. package/dist/openapi_client/services/ApplicationsService.js +47 -16
  297. package/dist/openapi_client/services/DesksService.d.ts +7 -7
  298. package/dist/openapi_client/services/DesksService.js +3 -3
  299. package/dist/openapi_client/services/FilesService.d.ts +20 -12
  300. package/dist/openapi_client/services/FilesService.js +29 -5
  301. package/dist/openapi_client/services/FunctionsService.d.ts +30 -8
  302. package/dist/openapi_client/services/FunctionsService.js +49 -4
  303. package/dist/openapi_client/services/IntegrationsService.d.ts +70 -11
  304. package/dist/openapi_client/services/IntegrationsService.js +159 -20
  305. package/dist/openapi_client/services/OrganizationsService.d.ts +8 -0
  306. package/dist/openapi_client/services/OrganizationsService.js +19 -0
  307. package/dist/openapi_client/services/PodMembersService.d.ts +0 -10
  308. package/dist/openapi_client/services/PodMembersService.js +0 -24
  309. package/dist/openapi_client/services/PodPermissionsService.d.ts +19 -0
  310. package/dist/openapi_client/services/PodPermissionsService.js +40 -0
  311. package/dist/openapi_client/services/PodResourceAccessService.d.ts +38 -0
  312. package/dist/openapi_client/services/PodResourceAccessService.js +81 -0
  313. package/dist/openapi_client/services/PodRolesService.d.ts +28 -0
  314. package/dist/openapi_client/services/PodRolesService.js +66 -0
  315. package/dist/openapi_client/services/RecordsService.d.ts +21 -22
  316. package/dist/openapi_client/services/RecordsService.js +13 -13
  317. package/dist/openapi_client/services/SchedulesService.d.ts +9 -8
  318. package/dist/openapi_client/services/SchedulesService.js +6 -4
  319. package/dist/openapi_client/services/TablesService.d.ts +13 -14
  320. package/dist/openapi_client/services/TablesService.js +6 -6
  321. package/dist/openapi_client/services/UsageService.d.ts +96 -0
  322. package/dist/openapi_client/services/UsageService.js +210 -0
  323. package/dist/openapi_client/services/WorkflowsService.d.ts +44 -35
  324. package/dist/openapi_client/services/WorkflowsService.js +61 -43
  325. package/dist/openapi_client/services/WorkspaceAppsService.d.ts +12 -0
  326. package/dist/openapi_client/services/WorkspaceAppsService.js +21 -0
  327. package/dist/openapi_client/services/WorkspaceService.d.ts +10 -0
  328. package/dist/openapi_client/services/WorkspaceService.js +15 -0
  329. package/dist/react/AuthGuard.d.ts +16 -2
  330. package/dist/react/AuthGuard.js +169 -130
  331. package/dist/react/index.d.ts +1 -1
  332. package/dist/react/useAddPodMember.js +1 -1
  333. package/dist/react/useAssistantController.d.ts +27 -3
  334. package/dist/react/useAssistantController.js +192 -70
  335. package/dist/react/useAssistantSession.d.ts +10 -6
  336. package/dist/react/useAssistantSession.js +146 -4
  337. package/dist/react/useBulkRecords.d.ts +5 -5
  338. package/dist/react/useBulkRecords.js +5 -5
  339. package/dist/react/useConversations.d.ts +1 -7
  340. package/dist/react/useConversations.js +4 -10
  341. package/dist/react/useCreateFolder.d.ts +2 -4
  342. package/dist/react/useCreateFolder.js +2 -3
  343. package/dist/react/useCreateRecord.d.ts +2 -2
  344. package/dist/react/useCreateRecord.js +1 -1
  345. package/dist/react/useDeleteFile.d.ts +1 -4
  346. package/dist/react/useDeleteFile.js +3 -3
  347. package/dist/react/useDeleteRecord.d.ts +1 -2
  348. package/dist/react/useDeleteRecord.js +3 -3
  349. package/dist/react/useFile.d.ts +2 -4
  350. package/dist/react/useFile.js +3 -3
  351. package/dist/react/useFilePreview.d.ts +1 -4
  352. package/dist/react/useFilePreview.js +4 -5
  353. package/dist/react/useFileSearch.d.ts +5 -1
  354. package/dist/react/useFileSearch.js +6 -4
  355. package/dist/react/useFileTree.d.ts +2 -4
  356. package/dist/react/useFileTree.js +2 -3
  357. package/dist/react/useFiles.d.ts +2 -4
  358. package/dist/react/useFiles.js +3 -5
  359. package/dist/react/useFlowRunHistory.d.ts +4 -4
  360. package/dist/react/useFlowRunHistory.js +9 -4
  361. package/dist/react/useFlowSession.d.ts +5 -3
  362. package/dist/react/useFlowSession.js +24 -17
  363. package/dist/react/useFunctionRun.d.ts +2 -2
  364. package/dist/react/useFunctionRuns.d.ts +5 -5
  365. package/dist/react/useFunctionSession.d.ts +2 -2
  366. package/dist/react/useGlobalSearch.js +1 -1
  367. package/dist/react/useRecord.d.ts +2 -2
  368. package/dist/react/useRecord.js +1 -1
  369. package/dist/react/useRecordForm.d.ts +2 -2
  370. package/dist/react/useRecordForm.js +2 -2
  371. package/dist/react/useReverseRelatedRecords.js +1 -1
  372. package/dist/react/useUpdateFile.d.ts +2 -4
  373. package/dist/react/useUpdateFile.js +2 -3
  374. package/dist/react/useUpdateRecord.d.ts +2 -2
  375. package/dist/react/useUpdateRecord.js +1 -1
  376. package/dist/react/useUploadFile.d.ts +2 -4
  377. package/dist/react/useUploadFile.js +2 -3
  378. package/dist/react/useWorkflowResume.d.ts +1 -0
  379. package/dist/react/useWorkflowResume.js +10 -1
  380. package/dist/react/useWorkflowRun.d.ts +2 -2
  381. package/dist/react/useWorkflowRun.js +1 -3
  382. package/dist/react/useWorkflowRuns.d.ts +5 -5
  383. package/dist/react/useWorkflowStart.d.ts +2 -2
  384. package/dist/react/useWorkflowStart.js +11 -26
  385. package/dist/react/utils.js +2 -0
  386. package/dist/types.d.ts +47 -10
  387. package/package.json +8 -3
  388. package/dist/openapi_client/models/AgentModelName.d.ts +0 -13
  389. package/dist/openapi_client/models/AgentModelName.js +0 -18
  390. package/dist/openapi_client/models/AgentResponse.d.ts +0 -29
  391. package/dist/openapi_client/models/ApplicationAccessConfig.d.ts +0 -18
  392. package/dist/openapi_client/models/ApplicationMode.d.ts +0 -7
  393. package/dist/openapi_client/models/ApplicationMode.js +0 -12
  394. package/dist/openapi_client/models/BillingHistoryResponse.d.ts +0 -8
  395. package/dist/openapi_client/models/BillingInterval.d.ts +0 -7
  396. package/dist/openapi_client/models/BillingInterval.js +0 -12
  397. package/dist/openapi_client/models/BillingInvoiceResponse.d.ts +0 -29
  398. package/dist/openapi_client/models/BillingInvoiceStatus.d.ts +0 -10
  399. package/dist/openapi_client/models/BillingInvoiceStatus.js +0 -15
  400. package/dist/openapi_client/models/BillingScope.d.ts +0 -7
  401. package/dist/openapi_client/models/BillingScope.js +0 -12
  402. package/dist/openapi_client/models/CancelSubscriptionResponse.d.ts +0 -10
  403. package/dist/openapi_client/models/CreateInvoicePaymentUrlRequest.d.ts +0 -7
  404. package/dist/openapi_client/models/CreateInvoicePaymentUrlResponse.d.ts +0 -8
  405. package/dist/openapi_client/models/DatastoreMessageResponse.d.ts +0 -6
  406. package/dist/openapi_client/models/FlowRunEntity.d.ts +0 -36
  407. package/dist/openapi_client/models/FunctionTableAccessEntry.d.ts +0 -5
  408. package/dist/openapi_client/models/GmailSurfaceConfig.d.ts +0 -7
  409. package/dist/openapi_client/models/GmailSurfaceConfigInput.d.ts +0 -4
  410. package/dist/openapi_client/models/OutlookSurfaceConfig.d.ts +0 -7
  411. package/dist/openapi_client/models/OutlookSurfaceConfigInput.d.ts +0 -4
  412. package/dist/openapi_client/models/PlanListResponse.d.ts +0 -8
  413. package/dist/openapi_client/models/PlanResponse.d.ts +0 -17
  414. package/dist/openapi_client/models/RecentUsageResponse.d.ts +0 -9
  415. package/dist/openapi_client/models/RecordResponse.d.ts +0 -9
  416. package/dist/openapi_client/models/SeatInfoResponse.d.ts +0 -10
  417. package/dist/openapi_client/models/SlackCredentialsInput.d.ts +0 -5
  418. package/dist/openapi_client/models/SlackSurfaceConfig.d.ts +0 -10
  419. package/dist/openapi_client/models/SlackSurfaceConfigInput.d.ts +0 -6
  420. package/dist/openapi_client/models/StackFrame.d.ts +0 -11
  421. package/dist/openapi_client/models/StartSubscriptionRequest.d.ts +0 -14
  422. package/dist/openapi_client/models/StartSubscriptionResponse.d.ts +0 -9
  423. package/dist/openapi_client/models/StartTeamBillingRequest.d.ts +0 -6
  424. package/dist/openapi_client/models/StepExecution.d.ts +0 -13
  425. package/dist/openapi_client/models/SubscriptionResponse.d.ts +0 -22
  426. package/dist/openapi_client/models/SubscriptionStatus.d.ts +0 -10
  427. package/dist/openapi_client/models/SubscriptionStatus.js +0 -15
  428. package/dist/openapi_client/models/SubscriptionStatusResponse.d.ts +0 -10
  429. package/dist/openapi_client/models/SubscriptionWithPlanResponse.d.ts +0 -22
  430. package/dist/openapi_client/models/SurfaceRoutingScope.d.ts +0 -4
  431. package/dist/openapi_client/models/SurfaceRoutingScope.js +0 -9
  432. package/dist/openapi_client/models/SurfaceWebhookMode.d.ts +0 -4
  433. package/dist/openapi_client/models/SurfaceWebhookMode.js +0 -9
  434. package/dist/openapi_client/models/TableAccessEntry.d.ts +0 -8
  435. package/dist/openapi_client/models/TableAccessMode.d.ts +0 -7
  436. package/dist/openapi_client/models/TableAccessMode.js +0 -12
  437. package/dist/openapi_client/models/TeamsCredentialsInput.d.ts +0 -6
  438. package/dist/openapi_client/models/TeamsSurfaceConfig.d.ts +0 -9
  439. package/dist/openapi_client/models/TeamsSurfaceConfigInput.d.ts +0 -6
  440. package/dist/openapi_client/models/TelegramCredentialsInput.d.ts +0 -5
  441. package/dist/openapi_client/models/TelegramSurfaceConfig.d.ts +0 -6
  442. package/dist/openapi_client/models/TelegramSurfaceConfigInput.d.ts +0 -6
  443. package/dist/openapi_client/models/WebSearchAgentRequest.d.ts +0 -9
  444. package/dist/openapi_client/models/WebSearchAgentResponse.d.ts +0 -25
  445. package/dist/openapi_client/models/WhatsAppCredentialsInput.d.ts +0 -8
  446. package/dist/openapi_client/models/WhatsAppSurfaceConfig.d.ts +0 -6
  447. package/dist/openapi_client/models/WhatsAppSurfaceConfigInput.d.ts +0 -6
  448. package/dist/openapi_client/services/BillingSubscriptionsService.d.ts +0 -116
  449. package/dist/openapi_client/services/BillingSubscriptionsService.js +0 -230
  450. package/dist/openapi_client/services/BillingUsageService.d.ts +0 -138
  451. package/dist/openapi_client/services/BillingUsageService.js +0 -302
  452. package/dist/openapi_client/services/BillingWebhooksService.d.ts +0 -12
  453. package/dist/openapi_client/services/BillingWebhooksService.js +0 -25
  454. /package/dist/openapi_client/models/{AgentResponse.js → AccountCreateSchema.js} +0 -0
  455. /package/dist/openapi_client/models/{ApplicationAccessConfig.js → AgentActionResponse.js} +0 -0
  456. /package/dist/openapi_client/models/{BillingHistoryResponse.js → AgentDetailResponse.js} +0 -0
  457. /package/dist/openapi_client/models/{BillingInvoiceResponse.js → AgentHarnessInfo.js} +0 -0
  458. /package/dist/openapi_client/models/{CancelSubscriptionResponse.js → AgentHarnessListResponse.js} +0 -0
  459. /package/dist/openapi_client/models/{CreateInvoicePaymentUrlRequest.js → AgentPermissionsReplaceRequest.js} +0 -0
  460. /package/dist/openapi_client/models/{CreateInvoicePaymentUrlResponse.js → AgentPermissionsResponse.js} +0 -0
  461. /package/dist/openapi_client/models/{DatastoreMessageResponse.js → AgentResourcePermissionRequest.js} +0 -0
  462. /package/dist/openapi_client/models/{DeskResponse.js → AgentResourcePermissionResponse.js} +0 -0
  463. /package/dist/openapi_client/models/{FileResponse.js → AgentRuntimeConfig.js} +0 -0
  464. /package/dist/openapi_client/models/{FlowResponse.js → AgentRuntimeProfileListResponse.js} +0 -0
  465. /package/dist/openapi_client/models/{FlowRunEntity.js → AgentRuntimeProfileResponse.js} +0 -0
  466. /package/dist/openapi_client/models/{FunctionResponse.js → ApplicationSkillResponse.js} +0 -0
  467. /package/dist/openapi_client/models/{FunctionTableAccessEntry.js → AuthConfigCreateSchema.js} +0 -0
  468. /package/dist/openapi_client/models/{GmailSurfaceConfig.js → AuthConfigListResponseSchema.js} +0 -0
  469. /package/dist/openapi_client/models/{GmailSurfaceConfigInput.js → AuthConfigResponseSchema.js} +0 -0
  470. /package/dist/openapi_client/models/{OutlookSurfaceConfig.js → ComposioProviderCapabilityResponseSchema.js} +0 -0
  471. /package/dist/openapi_client/models/{OutlookSurfaceConfigInput.js → ConnectedAccountSummary.js} +0 -0
  472. /package/dist/openapi_client/models/{PlanListResponse.js → ConvertedPageResponse.js} +0 -0
  473. /package/dist/openapi_client/models/{PlanResponse.js → CreateAnthropicCompatibleRuntimeProfileRequest.js} +0 -0
  474. /package/dist/openapi_client/models/{RecentUsageResponse.js → CreateOpenAICompatibleRuntimeProfileRequest.js} +0 -0
  475. /package/dist/openapi_client/models/{RecordResponse.js → CreateUserDaemonRuntimeProfileRequest.js} +0 -0
  476. /package/dist/openapi_client/models/{ScheduleResponse.js → DatastoreCountResponse.js} +0 -0
  477. /package/dist/openapi_client/models/{SeatInfoResponse.js → DeskDetailResponse.js} +0 -0
  478. /package/dist/openapi_client/models/{SlackCredentialsInput.js → FileDetailResponse.js} +0 -0
  479. /package/dist/openapi_client/models/{SlackSurfaceConfig.js → FlowDetailResponse.js} +0 -0
  480. /package/dist/openapi_client/models/{SlackSurfaceConfigInput.js → FunctionActionResponse.js} +0 -0
  481. /package/dist/openapi_client/models/{StackFrame.js → FunctionDetailResponse.js} +0 -0
  482. /package/dist/openapi_client/models/{StartSubscriptionRequest.js → FunctionPermissionsReplaceRequest.js} +0 -0
  483. /package/dist/openapi_client/models/{StartSubscriptionResponse.js → FunctionPermissionsResponse.js} +0 -0
  484. /package/dist/openapi_client/models/{StartTeamBillingRequest.js → FunctionResourcePermissionRequest.js} +0 -0
  485. /package/dist/openapi_client/models/{StepExecution.js → FunctionResourcePermissionResponse.js} +0 -0
  486. /package/dist/openapi_client/models/{SubscriptionResponse.js → FunctionRunSummaryResponse.js} +0 -0
  487. /package/dist/openapi_client/models/{SubscriptionStatusResponse.js → InstalledAppSummary.js} +0 -0
  488. /package/dist/openapi_client/models/{SubscriptionWithPlanResponse.js → IntegrationStatusResponse.js} +0 -0
  489. /package/dist/openapi_client/models/{TableAccessEntry.js → LemmaProviderCapabilityResponseSchema.js} +0 -0
  490. /package/dist/openapi_client/models/{TableResponse.js → OAuth2DefaultsResponseSchema.js} +0 -0
  491. /package/dist/openapi_client/models/{TeamsCredentialsInput.js → PodConfig.js} +0 -0
  492. /package/dist/openapi_client/models/{TeamsSurfaceConfig.js → PodEffectivePermissionsResponse.js} +0 -0
  493. /package/dist/openapi_client/models/{TeamsSurfaceConfigInput.js → PodPermissionCatalogResponse.js} +0 -0
  494. /package/dist/openapi_client/models/{TelegramCredentialsInput.js → PodPermissionResponse.js} +0 -0
  495. /package/dist/openapi_client/models/{TelegramSurfaceConfig.js → PodRolePermissionsReplaceRequest.js} +0 -0
  496. /package/dist/openapi_client/models/{TelegramSurfaceConfigInput.js → PodRolePermissionsResponse.js} +0 -0
  497. /package/dist/openapi_client/models/{WebSearchAgentRequest.js → PodRoleResourcePermissionRequest.js} +0 -0
  498. /package/dist/openapi_client/models/{WebSearchAgentResponse.js → PodRoleResourcePermissionResponse.js} +0 -0
  499. /package/dist/openapi_client/models/{WhatsAppCredentialsInput.js → ResolveUserApprovalRequest.js} +0 -0
  500. /package/dist/openapi_client/models/{WhatsAppSurfaceConfig.js → ResourceAccessGrantRequest.js} +0 -0
  501. /package/dist/openapi_client/models/{WhatsAppSurfaceConfigInput.js → ResourceAccessGrantResponse.js} +0 -0
  502. /package/dist/openapi_client/models/{WorkflowRunWaitEntity.js → ResourceAccessResponse.js} +0 -0
@@ -0,0 +1,13 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export var RuntimeModelCapability;
6
+ (function (RuntimeModelCapability) {
7
+ RuntimeModelCapability["TEXT"] = "TEXT";
8
+ RuntimeModelCapability["TOOLS"] = "TOOLS";
9
+ RuntimeModelCapability["VISION"] = "VISION";
10
+ RuntimeModelCapability["AUDIO"] = "AUDIO";
11
+ RuntimeModelCapability["STRUCTURED_OUTPUT"] = "STRUCTURED_OUTPUT";
12
+ RuntimeModelCapability["REASONING"] = "REASONING";
13
+ })(RuntimeModelCapability || (RuntimeModelCapability = {}));
@@ -0,0 +1,9 @@
1
+ import type { RuntimeModelCapability } from './RuntimeModelCapability.js';
2
+ export type RuntimeModelCatalogEntry = {
3
+ capabilities?: Array<RuntimeModelCapability>;
4
+ default_model_settings?: Record<string, any>;
5
+ display_name?: (string | null);
6
+ metadata?: Record<string, any>;
7
+ name: string;
8
+ provider_model_name: string;
9
+ };
@@ -0,0 +1,4 @@
1
+ export declare enum RuntimeProfileKind {
2
+ MODEL_PROVIDER = "MODEL_PROVIDER",
3
+ HARNESS = "HARNESS"
4
+ }
@@ -0,0 +1,9 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export var RuntimeProfileKind;
6
+ (function (RuntimeProfileKind) {
7
+ RuntimeProfileKind["MODEL_PROVIDER"] = "MODEL_PROVIDER";
8
+ RuntimeProfileKind["HARNESS"] = "HARNESS";
9
+ })(RuntimeProfileKind || (RuntimeProfileKind = {}));
@@ -0,0 +1,9 @@
1
+ export declare enum RuntimeProfileProtocol {
2
+ OPENAI_COMPATIBLE = "OPENAI_COMPATIBLE",
3
+ ANTHROPIC_COMPATIBLE = "ANTHROPIC_COMPATIBLE",
4
+ AZURE_OPENAI = "AZURE_OPENAI",
5
+ GOOGLE_VERTEX = "GOOGLE_VERTEX",
6
+ CODEX_APP_SERVER = "CODEX_APP_SERVER",
7
+ CLAUDE_CODE = "CLAUDE_CODE",
8
+ OPENCODE = "OPENCODE"
9
+ }
@@ -0,0 +1,14 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export var RuntimeProfileProtocol;
6
+ (function (RuntimeProfileProtocol) {
7
+ RuntimeProfileProtocol["OPENAI_COMPATIBLE"] = "OPENAI_COMPATIBLE";
8
+ RuntimeProfileProtocol["ANTHROPIC_COMPATIBLE"] = "ANTHROPIC_COMPATIBLE";
9
+ RuntimeProfileProtocol["AZURE_OPENAI"] = "AZURE_OPENAI";
10
+ RuntimeProfileProtocol["GOOGLE_VERTEX"] = "GOOGLE_VERTEX";
11
+ RuntimeProfileProtocol["CODEX_APP_SERVER"] = "CODEX_APP_SERVER";
12
+ RuntimeProfileProtocol["CLAUDE_CODE"] = "CLAUDE_CODE";
13
+ RuntimeProfileProtocol["OPENCODE"] = "OPENCODE";
14
+ })(RuntimeProfileProtocol || (RuntimeProfileProtocol = {}));
@@ -0,0 +1,5 @@
1
+ export declare enum RuntimeProfileScope {
2
+ SYSTEM = "SYSTEM",
3
+ ORGANIZATION = "ORGANIZATION",
4
+ PERSONAL = "PERSONAL"
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 RuntimeProfileScope;
6
+ (function (RuntimeProfileScope) {
7
+ RuntimeProfileScope["SYSTEM"] = "SYSTEM";
8
+ RuntimeProfileScope["ORGANIZATION"] = "ORGANIZATION";
9
+ RuntimeProfileScope["PERSONAL"] = "PERSONAL";
10
+ })(RuntimeProfileScope || (RuntimeProfileScope = {}));
@@ -0,0 +1,5 @@
1
+ export declare enum RuntimeProfileStatus {
2
+ ACTIVE = "ACTIVE",
3
+ DISABLED = "DISABLED",
4
+ REAUTH_REQUIRED = "REAUTH_REQUIRED"
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 RuntimeProfileStatus;
6
+ (function (RuntimeProfileStatus) {
7
+ RuntimeProfileStatus["ACTIVE"] = "ACTIVE";
8
+ RuntimeProfileStatus["DISABLED"] = "DISABLED";
9
+ RuntimeProfileStatus["REAUTH_REQUIRED"] = "REAUTH_REQUIRED";
10
+ })(RuntimeProfileStatus || (RuntimeProfileStatus = {}));
@@ -1,11 +1,13 @@
1
+ import type { ScheduleFireStatus } from './ScheduleFireStatus.js';
1
2
  import type { ScheduleType } from './ScheduleType.js';
2
3
  /**
3
- * Schedule response.
4
+ * Schedule detail response.
4
5
  */
5
- export type ScheduleResponse = {
6
+ export type ScheduleDetailResponse = {
6
7
  account_id: (string | null);
7
8
  agent_id: (string | null);
8
9
  agent_name?: (string | null);
10
+ allowed_actions?: Array<string>;
9
11
  application_trigger_id: (string | null);
10
12
  config: Record<string, any>;
11
13
  created_at: string;
@@ -14,12 +16,16 @@ export type ScheduleResponse = {
14
16
  id: string;
15
17
  is_active: boolean;
16
18
  is_internal: boolean;
19
+ last_error?: (string | null);
20
+ last_fire_status?: (ScheduleFireStatus | null);
21
+ last_fired_at?: (string | null);
22
+ last_run_id?: (string | null);
23
+ name: (string | null);
17
24
  pod_id: (string | null);
18
25
  schedule_type: ScheduleType;
19
26
  updated_at: string;
20
27
  user_id: string;
21
28
  visibility: string;
22
- visibility_roles?: Array<string>;
23
29
  workflow_id: (string | null);
24
30
  workflow_name?: (string | null);
25
31
  };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Outcome of the most recent fire attempt, recorded for debuggability.
3
+ */
4
+ export declare enum ScheduleFireStatus {
5
+ TRIGGERED = "TRIGGERED",
6
+ FILTERED = "FILTERED",
7
+ ERROR = "ERROR"
8
+ }
@@ -0,0 +1,13 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ /**
6
+ * Outcome of the most recent fire attempt, recorded for debuggability.
7
+ */
8
+ export var ScheduleFireStatus;
9
+ (function (ScheduleFireStatus) {
10
+ ScheduleFireStatus["TRIGGERED"] = "TRIGGERED";
11
+ ScheduleFireStatus["FILTERED"] = "FILTERED";
12
+ ScheduleFireStatus["ERROR"] = "ERROR";
13
+ })(ScheduleFireStatus || (ScheduleFireStatus = {}));
@@ -1,9 +1,9 @@
1
- import type { ScheduleResponse } from './ScheduleResponse.js';
1
+ import type { ScheduleDetailResponse } from './ScheduleDetailResponse.js';
2
2
  /**
3
3
  * Schedule list response.
4
4
  */
5
5
  export type ScheduleListResponse = {
6
- items: Array<ScheduleResponse>;
6
+ items: Array<ScheduleDetailResponse>;
7
7
  limit: number;
8
8
  next_page_token?: (string | null);
9
9
  };
@@ -0,0 +1,10 @@
1
+ import type { StepStatus } from './StepStatus.js';
2
+ export type StepRecordResponse = {
3
+ completed_at?: (string | null);
4
+ error?: (string | null);
5
+ node_id: string;
6
+ output_data?: null;
7
+ started_at: string;
8
+ status: StepStatus;
9
+ step_index: number;
10
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,7 @@
1
+ export declare enum StepStatus {
2
+ RUNNING = "RUNNING",
3
+ WAITING = "WAITING",
4
+ COMPLETED = "COMPLETED",
5
+ FAILED = "FAILED",
6
+ CANCELLED = "CANCELLED"
7
+ }
@@ -0,0 +1,12 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export var StepStatus;
6
+ (function (StepStatus) {
7
+ StepStatus["RUNNING"] = "RUNNING";
8
+ StepStatus["WAITING"] = "WAITING";
9
+ StepStatus["COMPLETED"] = "COMPLETED";
10
+ StepStatus["FAILED"] = "FAILED";
11
+ StepStatus["CANCELLED"] = "CANCELLED";
12
+ })(StepStatus || (StepStatus = {}));
@@ -0,0 +1,7 @@
1
+ import type { SurfaceChannelRouteInput } from './SurfaceChannelRouteInput.js';
2
+ import type { SurfaceIdentityConfigInput } from './SurfaceIdentityConfigInput.js';
3
+ export type SurfaceBehaviorConfigInput = {
4
+ channels?: Array<SurfaceChannelRouteInput>;
5
+ dm_conversation_reset_after_hours?: number;
6
+ identity?: SurfaceIdentityConfigInput;
7
+ };
@@ -0,0 +1,6 @@
1
+ export type SurfaceChannelRouteInput = {
2
+ agent_name?: (string | null);
3
+ channel_id?: (string | null);
4
+ channel_name?: (string | null);
5
+ requires_mention?: boolean;
6
+ };
@@ -0,0 +1,6 @@
1
+ export type SurfaceChannelRouteResponse = {
2
+ agent_name?: (string | null);
3
+ channel_id?: (string | null);
4
+ channel_name?: (string | null);
5
+ requires_mention?: boolean;
6
+ };
@@ -0,0 +1,10 @@
1
+ import type { SurfaceChannelRouteResponse } from './SurfaceChannelRouteResponse.js';
2
+ import type { SurfaceIdentityConfigResponse } from './SurfaceIdentityConfigResponse.js';
3
+ /**
4
+ * Mirrors SurfaceBehaviorConfigInput: what you send is what you get back.
5
+ */
6
+ export type SurfaceConfigResponse = {
7
+ channels?: Array<SurfaceChannelRouteResponse>;
8
+ dm_conversation_reset_after_hours?: number;
9
+ identity?: SurfaceIdentityConfigResponse;
10
+ };
@@ -1,4 +1,4 @@
1
1
  export declare enum SurfaceCredentialMode {
2
- NATIVE = "NATIVE",
3
- USER_PROVIDED = "USER_PROVIDED"
2
+ SYSTEM = "SYSTEM",
3
+ CUSTOM = "CUSTOM"
4
4
  }
@@ -4,6 +4,6 @@
4
4
  /* eslint-disable */
5
5
  export var SurfaceCredentialMode;
6
6
  (function (SurfaceCredentialMode) {
7
- SurfaceCredentialMode["NATIVE"] = "NATIVE";
8
- SurfaceCredentialMode["USER_PROVIDED"] = "USER_PROVIDED";
7
+ SurfaceCredentialMode["SYSTEM"] = "SYSTEM";
8
+ SurfaceCredentialMode["CUSTOM"] = "CUSTOM";
9
9
  })(SurfaceCredentialMode || (SurfaceCredentialMode = {}));
@@ -0,0 +1,4 @@
1
+ export type SurfaceIdentityConfigInput = {
2
+ allowed_domains?: Array<string>;
3
+ allowed_email_addresses?: Array<string>;
4
+ };
@@ -0,0 +1,4 @@
1
+ export type SurfaceIdentityConfigResponse = {
2
+ allowed_domains?: Array<string>;
3
+ allowed_email_addresses?: Array<string>;
4
+ };
@@ -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 = {}));
@@ -0,0 +1,10 @@
1
+ import type { AgentSurfaceStatus } from './AgentSurfaceStatus.js';
2
+ import type { SurfacePlatform } from './SurfacePlatform.js';
3
+ export type SurfaceSetupStatusResponse = {
4
+ automatic_setup_supported?: boolean;
5
+ manual_steps?: Array<Record<string, string>>;
6
+ platform: SurfacePlatform;
7
+ status: AgentSurfaceStatus;
8
+ webhook_configured?: boolean;
9
+ webhook_url?: (string | null);
10
+ };
@@ -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,10 @@
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
+ limit: number;
7
8
  next_page_token?: (string | null);
9
+ total?: (number | null);
8
10
  };
@@ -1,3 +1,3 @@
1
1
  export type ToggleSurfaceRequest = {
2
- is_active: boolean;
2
+ is_enabled: boolean;
3
3
  };
@@ -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,7 @@ 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
+ name?: (string | null);
11
+ visibility?: (string | null);
11
12
  workflow_name?: (string | null);
12
13
  };
@@ -0,0 +1,4 @@
1
+ import type { SurfaceChannelRouteInput } from './SurfaceChannelRouteInput.js';
2
+ export type UpdateSurfaceChannelsRequest = {
3
+ channels?: Array<SurfaceChannelRouteInput>;
4
+ };
@@ -1,19 +1,9 @@
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';
1
+ import type { SurfaceBehaviorConfigInput } from './SurfaceBehaviorConfigInput.js';
5
2
  import type { SurfaceCredentialMode } from './SurfaceCredentialMode.js';
6
- 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
3
  export type UpdateSurfaceRequest = {
14
- config?: ((SlackSurfaceConfigInput | TeamsSurfaceConfigInput | WhatsAppSurfaceConfigInput | TelegramSurfaceConfigInput | GmailSurfaceConfigInput | OutlookSurfaceConfigInput) | null);
4
+ account_id?: (string | null);
5
+ config?: (SurfaceBehaviorConfigInput | null);
15
6
  credential_mode?: (SurfaceCredentialMode | null);
16
- credentials?: ((SlackCredentialsInput | TeamsCredentialsInput | WhatsAppCredentialsInput | TelegramCredentialsInput) | null);
17
- is_active?: (boolean | null);
18
- routing_scope?: (SurfaceRoutingScope | null);
7
+ default_agent_name?: (string | null);
8
+ is_enabled?: (boolean | null);
19
9
  };
@@ -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
  };
@@ -0,0 +1,9 @@
1
+ import type { SurfaceBehaviorConfigInput } from './SurfaceBehaviorConfigInput.js';
2
+ import type { SurfaceCredentialMode } from './SurfaceCredentialMode.js';
3
+ export type UpsertSurfaceRequest = {
4
+ account_id?: (string | null);
5
+ config?: SurfaceBehaviorConfigInput;
6
+ credential_mode?: SurfaceCredentialMode;
7
+ default_agent_name?: (string | null);
8
+ is_enabled?: boolean;
9
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -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;