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,1438 @@
1
+ // This file is auto-generated by @hey-api/openapi-ts
2
+ import { formDataBodySerializer } from './client';
3
+ import { client } from './client.gen';
4
+ /**
5
+ * List Available Agent Harnesses
6
+ */
7
+ export const agentRuntimeHarnessesList = (options) => (options?.client ?? client).get({ url: '/agent-runtime/harnesses', ...options });
8
+ /**
9
+ * Verify access token
10
+ *
11
+ * Validate the current bearer token and return the resolved user context.
12
+ */
13
+ export const authVerifyToken = (options) => (options?.client ?? client).get({ url: '/auth/verify-token', ...options });
14
+ /**
15
+ * Health Check
16
+ */
17
+ export const healthCheckHealthGet = (options) => (options?.client ?? client).get({ url: '/health', ...options });
18
+ /**
19
+ * Upload Icon
20
+ *
21
+ * Upload an image asset and receive a public icon URL.
22
+ */
23
+ export const iconUpload = (options) => (options.client ?? client).post({
24
+ ...formDataBodySerializer,
25
+ url: '/icons/upload',
26
+ ...options,
27
+ headers: {
28
+ 'Content-Type': null,
29
+ ...options.headers
30
+ }
31
+ });
32
+ /**
33
+ * List Applications
34
+ *
35
+ * Get all active applications available for integration
36
+ */
37
+ export const applicationList = (options) => (options?.client ?? client).get({ url: '/integrations/applications', ...options });
38
+ /**
39
+ * List Triggers
40
+ *
41
+ * Get all triggers. Optionally filter by application_id and search in description
42
+ */
43
+ export const applicationTriggerList = (options) => (options?.client ?? client).get({ url: '/integrations/applications/triggers', ...options });
44
+ /**
45
+ * Get Trigger
46
+ *
47
+ * Get a specific trigger by ID
48
+ */
49
+ export const applicationTriggerGet = (options) => (options.client ?? client).get({ url: '/integrations/applications/triggers/{trigger_id}', ...options });
50
+ /**
51
+ * Get Application
52
+ *
53
+ * Get a specific application by ID along with its operation catalog
54
+ */
55
+ export const applicationGet = (options) => (options.client ?? client).get({ url: '/integrations/applications/{application_id}', ...options });
56
+ /**
57
+ * Get Application Skill
58
+ *
59
+ * Get the skill guide markdown for an application. Pass `provider=lemma` or `provider=composio` to get provider-specific instructions when the app supports both. Falls back to the generic doc if no provider-specific file exists. Returns 404 if no skill doc has been generated yet.
60
+ */
61
+ export const applicationSkillGet = (options) => (options.client ?? client).get({ url: '/integrations/applications/{application_id}/skill', ...options });
62
+ /**
63
+ * OAuth Callback
64
+ *
65
+ * Handle OAuth callback and complete account connection. This endpoint is public and uses state parameter for security.
66
+ */
67
+ export const integrationOauthCallback = (options) => (options?.client ?? client).get({ url: '/integrations/connect-requests/oauth/callback', ...options });
68
+ /**
69
+ * List My Organizations
70
+ *
71
+ * Get all organizations the current user belongs to
72
+ */
73
+ export const orgList = (options) => (options?.client ?? client).get({ url: '/organizations', ...options });
74
+ /**
75
+ * Create Organization
76
+ *
77
+ * Create a new organization
78
+ */
79
+ export const orgCreate = (options) => (options.client ?? client).post({
80
+ url: '/organizations',
81
+ ...options,
82
+ headers: {
83
+ 'Content-Type': 'application/json',
84
+ ...options.headers
85
+ }
86
+ });
87
+ /**
88
+ * List My Invitations
89
+ *
90
+ * Get all pending invitations for the current user
91
+ */
92
+ export const orgInvitationListMine = (options) => (options?.client ?? client).get({ url: '/organizations/invitations', ...options });
93
+ /**
94
+ * Revoke Invitation
95
+ *
96
+ * Revoke an organization invitation
97
+ */
98
+ export const orgInvitationRevoke = (options) => (options.client ?? client).delete({ url: '/organizations/invitations/{invitation_id}', ...options });
99
+ /**
100
+ * Get Organization Invitation
101
+ *
102
+ * Get an invitation by id
103
+ */
104
+ export const orgInvitationGet = (options) => (options.client ?? client).get({ url: '/organizations/invitations/{invitation_id}', ...options });
105
+ /**
106
+ * Accept Invitation
107
+ *
108
+ * Accept an organization invitation
109
+ */
110
+ export const orgInvitationAccept = (options) => (options.client ?? client).post({ url: '/organizations/invitations/{invitation_id}/accept', ...options });
111
+ /**
112
+ * Check Organization Slug Availability
113
+ *
114
+ * Check whether an organization slug is available
115
+ */
116
+ export const orgSlugAvailability = (options) => (options.client ?? client).get({ url: '/organizations/slug-availability', ...options });
117
+ /**
118
+ * Get Suggested Organizations
119
+ *
120
+ * Get auto-join organizations matching the current user's email domain
121
+ */
122
+ export const orgSuggested = (options) => (options?.client ?? client).get({ url: '/organizations/suggested', ...options });
123
+ /**
124
+ * Get Organization
125
+ *
126
+ * Get organization details
127
+ */
128
+ export const orgGet = (options) => (options.client ?? client).get({ url: '/organizations/{org_id}', ...options });
129
+ /**
130
+ * List Available Agent Runtime Profiles
131
+ */
132
+ export const agentRuntimeProfilesList = (options) => (options.client ?? client).get({ url: '/organizations/{org_id}/agent-runtime/profiles', ...options });
133
+ /**
134
+ * Create Agent Runtime Profile
135
+ */
136
+ export const agentRuntimeProfilesCreate = (options) => (options.client ?? client).post({
137
+ url: '/organizations/{org_id}/agent-runtime/profiles',
138
+ ...options,
139
+ headers: {
140
+ 'Content-Type': 'application/json',
141
+ ...options.headers
142
+ }
143
+ });
144
+ /**
145
+ * List Organization Invitations
146
+ *
147
+ * Get all pending invitations for an organization
148
+ */
149
+ export const orgInvitationList = (options) => (options.client ?? client).get({ url: '/organizations/{org_id}/invitations', ...options });
150
+ /**
151
+ * Invite Member
152
+ *
153
+ * Invite a user to join the organization
154
+ */
155
+ export const orgInvitationInvite = (options) => (options.client ?? client).post({
156
+ url: '/organizations/{org_id}/invitations',
157
+ ...options,
158
+ headers: {
159
+ 'Content-Type': 'application/json',
160
+ ...options.headers
161
+ }
162
+ });
163
+ /**
164
+ * Join Auto-Join Organization
165
+ *
166
+ * Join an organization when the current user's email domain is allowed to auto-join
167
+ */
168
+ export const orgJoinAutoJoin = (options) => (options.client ?? client).post({ url: '/organizations/{org_id}/join', ...options });
169
+ /**
170
+ * List Organization Members
171
+ *
172
+ * Get all members of an organization
173
+ */
174
+ export const orgMemberList = (options) => (options.client ?? client).get({ url: '/organizations/{org_id}/members', ...options });
175
+ /**
176
+ * Remove Member
177
+ *
178
+ * Remove a member from the organization
179
+ */
180
+ export const orgMemberRemove = (options) => (options.client ?? client).delete({ url: '/organizations/{org_id}/members/{member_id}', ...options });
181
+ /**
182
+ * Update Member Role
183
+ *
184
+ * Update a member's role in the organization
185
+ */
186
+ export const orgMemberUpdateRole = (options) => (options.client ?? client).patch({
187
+ url: '/organizations/{org_id}/members/{member_id}/role',
188
+ ...options,
189
+ headers: {
190
+ 'Content-Type': 'application/json',
191
+ ...options.headers
192
+ }
193
+ });
194
+ /**
195
+ * List Accounts
196
+ *
197
+ * Get all connected accounts for the current user. Optionally filter by application_id or application_name
198
+ */
199
+ export const integrationAccountList = (options) => (options.client ?? client).get({ url: '/organizations/{organization_id}/integrations/accounts', ...options });
200
+ /**
201
+ * Create Account
202
+ *
203
+ * Directly connect a credential-managed native account for an org auth config.
204
+ */
205
+ export const integrationAccountCreate = (options) => (options.client ?? client).post({
206
+ url: '/organizations/{organization_id}/integrations/accounts',
207
+ ...options,
208
+ headers: {
209
+ 'Content-Type': 'application/json',
210
+ ...options.headers
211
+ }
212
+ });
213
+ /**
214
+ * Delete Account
215
+ *
216
+ * Delete a connected account and revoke the connection
217
+ */
218
+ export const integrationAccountDelete = (options) => (options.client ?? client).delete({ url: '/organizations/{organization_id}/integrations/accounts/{account_id}', ...options });
219
+ /**
220
+ * Get Account
221
+ *
222
+ * Get a specific account by ID
223
+ */
224
+ export const integrationAccountGet = (options) => (options.client ?? client).get({ url: '/organizations/{organization_id}/integrations/accounts/{account_id}', ...options });
225
+ /**
226
+ * Get Credentials
227
+ *
228
+ * Get the credentials for a specific account
229
+ */
230
+ export const integrationAccountCredentialsGet = (options) => (options.client ?? client).get({ url: '/organizations/{organization_id}/integrations/accounts/{account_id}/credentials', ...options });
231
+ /**
232
+ * List Auth Configs
233
+ */
234
+ export const integrationAuthConfigList = (options) => (options.client ?? client).get({ url: '/organizations/{organization_id}/integrations/auth-configs', ...options });
235
+ /**
236
+ * Create Auth Config
237
+ */
238
+ export const integrationAuthConfigCreate = (options) => (options.client ?? client).post({
239
+ url: '/organizations/{organization_id}/integrations/auth-configs',
240
+ ...options,
241
+ headers: {
242
+ 'Content-Type': 'application/json',
243
+ ...options.headers
244
+ }
245
+ });
246
+ /**
247
+ * Delete Auth Config
248
+ */
249
+ export const integrationAuthConfigDelete = (options) => (options.client ?? client).delete({ url: '/organizations/{organization_id}/integrations/auth-configs/{auth_config_name}', ...options });
250
+ /**
251
+ * Get Auth Config
252
+ */
253
+ export const integrationAuthConfigGet = (options) => (options.client ?? client).get({ url: '/organizations/{organization_id}/integrations/auth-configs/{auth_config_name}', ...options });
254
+ /**
255
+ * Initiate Connect Request
256
+ *
257
+ * Initiate an OAuth connection request for an application
258
+ */
259
+ export const integrationConnectRequestCreate = (options) => (options.client ?? client).post({
260
+ url: '/organizations/{organization_id}/integrations/connect-requests',
261
+ ...options,
262
+ headers: {
263
+ 'Content-Type': 'application/json',
264
+ ...options.headers
265
+ }
266
+ });
267
+ /**
268
+ * Get Integration Status
269
+ */
270
+ export const integrationStatusGet = (options) => (options.client ?? client).get({ url: '/organizations/{organization_id}/integrations/status', ...options });
271
+ /**
272
+ * Discover Application Operations
273
+ */
274
+ export const applicationOperationDiscover = (options) => (options.client ?? client).get({ url: '/organizations/{organization_id}/integrations/{auth_config_name}/operations', ...options });
275
+ /**
276
+ * Get Application Operation Details In Batch
277
+ */
278
+ export const applicationOperationDetailsBatch = (options) => (options.client ?? client).post({
279
+ url: '/organizations/{organization_id}/integrations/{auth_config_name}/operations/details',
280
+ ...options,
281
+ headers: {
282
+ 'Content-Type': 'application/json',
283
+ ...options.headers
284
+ }
285
+ });
286
+ /**
287
+ * Get Application Operation Details
288
+ */
289
+ export const applicationOperationDetail = (options) => (options.client ?? client).get({ url: '/organizations/{organization_id}/integrations/{auth_config_name}/operations/{operation_name}', ...options });
290
+ /**
291
+ * Execute Application Operation
292
+ */
293
+ export const applicationOperationExecute = (options) => (options.client ?? client).post({
294
+ url: '/organizations/{organization_id}/integrations/{auth_config_name}/operations/{operation_name}/execute',
295
+ ...options,
296
+ headers: {
297
+ 'Content-Type': 'application/json',
298
+ ...options.headers
299
+ }
300
+ });
301
+ /**
302
+ * Create Pod
303
+ *
304
+ * Create a new pod
305
+ */
306
+ export const podCreate = (options) => (options.client ?? client).post({
307
+ url: '/pods',
308
+ ...options,
309
+ headers: {
310
+ 'Content-Type': 'application/json',
311
+ ...options.headers
312
+ }
313
+ });
314
+ /**
315
+ * List PodS by Organization
316
+ *
317
+ * List all pods in an organization
318
+ */
319
+ export const podList = (options) => (options.client ?? client).get({ url: '/pods/organization/{organization_id}', ...options });
320
+ /**
321
+ * Delete Pod
322
+ *
323
+ * Delete a pod
324
+ */
325
+ export const podDelete = (options) => (options.client ?? client).delete({ url: '/pods/{pod_id}', ...options });
326
+ /**
327
+ * Get Pod
328
+ *
329
+ * Get pod details
330
+ */
331
+ export const podGet = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}', ...options });
332
+ /**
333
+ * Update Pod
334
+ *
335
+ * Update pod details
336
+ */
337
+ export const podUpdate = (options) => (options.client ?? client).put({
338
+ url: '/pods/{pod_id}',
339
+ ...options,
340
+ headers: {
341
+ 'Content-Type': 'application/json',
342
+ ...options.headers
343
+ }
344
+ });
345
+ /**
346
+ * List Agents
347
+ *
348
+ * List pod-owned agent definitions visible to the current user.
349
+ */
350
+ export const agentList = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/agents', ...options });
351
+ /**
352
+ * Create Agent
353
+ *
354
+ * Create a pod-owned agent definition with runtime, toolsets, and schemas.
355
+ */
356
+ export const agentCreate = (options) => (options.client ?? client).post({
357
+ url: '/pods/{pod_id}/agents',
358
+ ...options,
359
+ headers: {
360
+ 'Content-Type': 'application/json',
361
+ ...options.headers
362
+ }
363
+ });
364
+ /**
365
+ * Delete Agent
366
+ *
367
+ * Delete a pod-owned agent definition by name.
368
+ */
369
+ export const agentDelete = (options) => (options.client ?? client).delete({ url: '/pods/{pod_id}/agents/{agent_name}', ...options });
370
+ /**
371
+ * Get Agent
372
+ *
373
+ * Get one pod-owned agent definition by its stable name.
374
+ */
375
+ export const agentGet = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/agents/{agent_name}', ...options });
376
+ /**
377
+ * Update Agent
378
+ *
379
+ * Update an agent definition, including prompt instruction, runtime, toolsets, and schemas.
380
+ */
381
+ export const agentUpdate = (options) => (options.client ?? client).patch({
382
+ url: '/pods/{pod_id}/agents/{agent_name}',
383
+ ...options,
384
+ headers: {
385
+ 'Content-Type': 'application/json',
386
+ ...options.headers
387
+ }
388
+ });
389
+ /**
390
+ * Get Agent Resource Permissions
391
+ *
392
+ * Get explicit resource grants assigned to an agent.
393
+ */
394
+ export const agentPermissionsGet = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/agents/{agent_name}/permissions', ...options });
395
+ /**
396
+ * Replace Agent Resource Permissions
397
+ *
398
+ * Replace explicit resource grants assigned to an agent.
399
+ */
400
+ export const agentPermissionsReplace = (options) => (options.client ?? client).put({
401
+ url: '/pods/{pod_id}/agents/{agent_name}/permissions',
402
+ ...options,
403
+ headers: {
404
+ 'Content-Type': 'application/json',
405
+ ...options.headers
406
+ }
407
+ });
408
+ /**
409
+ * Get Pod Config
410
+ *
411
+ * Get pod configuration requirements (apps, flows) and user status
412
+ */
413
+ export const podConfigGet = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/config', ...options });
414
+ /**
415
+ * List Pod Agent Conversations
416
+ *
417
+ * List root conversations for the current user in a pod. Use agent_name to list conversations for a specific pod agent; omit it to list default pod assistant conversations. Child conversations are omitted from this root list.
418
+ */
419
+ export const agentConversationList = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/conversations', ...options });
420
+ /**
421
+ * Create Pod Agent Conversation
422
+ *
423
+ * Create a new pod-scoped conversation. When agent_name is omitted, the conversation uses the default pod assistant. Workflow and sub-agent executions also use conversations as their external execution handle.
424
+ */
425
+ export const agentConversationCreate = (options) => (options.client ?? client).post({
426
+ url: '/pods/{pod_id}/conversations',
427
+ ...options,
428
+ headers: {
429
+ 'Content-Type': 'application/json',
430
+ ...options.headers
431
+ }
432
+ });
433
+ /**
434
+ * Get Pod Conversation
435
+ *
436
+ * Get a single pod-scoped assistant or agent conversation by id.
437
+ */
438
+ export const agentConversationGet = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/conversations/{conversation_id}', ...options });
439
+ /**
440
+ * Update Pod Conversation
441
+ *
442
+ * Update mutable conversation settings for a pod-scoped conversation. The conversation runtime is used by future runs; message sends do not carry per-request runtime overrides.
443
+ */
444
+ export const agentConversationUpdate = (options) => (options.client ?? client).patch({
445
+ url: '/pods/{pod_id}/conversations/{conversation_id}',
446
+ ...options,
447
+ headers: {
448
+ 'Content-Type': 'application/json',
449
+ ...options.headers
450
+ }
451
+ });
452
+ /**
453
+ * List Agent Run Approvals
454
+ *
455
+ * List pending user_approval tool calls in a conversation.
456
+ */
457
+ export const agentConversationApprovalList = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/conversations/{conversation_id}/approvals', ...options });
458
+ /**
459
+ * Resolve User Approval
460
+ *
461
+ * Append a user_approval tool result and resume the live local turn.
462
+ */
463
+ export const agentConversationApprovalResolve = (options) => (options.client ?? client).post({
464
+ url: '/pods/{pod_id}/conversations/{conversation_id}/approvals/{approval_id}/decision',
465
+ ...options,
466
+ headers: {
467
+ 'Content-Type': 'application/json',
468
+ ...options.headers
469
+ }
470
+ });
471
+ /**
472
+ * List Pod Conversation Messages
473
+ *
474
+ * List the latest persisted messages in chronological order. Pass next_page_token as page_token to fetch the next older page above the current page.
475
+ */
476
+ export const agentConversationMessageList = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/conversations/{conversation_id}/messages', ...options });
477
+ /**
478
+ * Send Pod Conversation Message
479
+ *
480
+ * Append a user message to a pod-scoped conversation and stream runtime events over Server-Sent Events until the active run completes. User messages can also be appended while a run is already active; the next harness step sees the new message in persisted history.
481
+ */
482
+ export const agentConversationMessageSend = (options) => (options.client ?? client).post({
483
+ url: '/pods/{pod_id}/conversations/{conversation_id}/messages',
484
+ ...options,
485
+ headers: {
486
+ 'Content-Type': 'application/json',
487
+ ...options.headers
488
+ }
489
+ });
490
+ /**
491
+ * Stop Pod Conversation
492
+ *
493
+ * Request cancellation of the active internal run for a conversation.
494
+ */
495
+ export const agentConversationStop = (options) => (options.client ?? client).post({ url: '/pods/{pod_id}/conversations/{conversation_id}/stop', ...options });
496
+ /**
497
+ * Stream Pod Conversation
498
+ *
499
+ * Subscribe to Server-Sent Events for an existing pod-scoped conversation. The stream closes immediately when the conversation has no active run. Optionally filter to a specific internal run id for reconnects.
500
+ */
501
+ export const agentConversationStream = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/conversations/{conversation_id}/stream', ...options });
502
+ /**
503
+ * List Files
504
+ */
505
+ export const fileList = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/datastore/files', ...options });
506
+ /**
507
+ * Upload File
508
+ */
509
+ export const fileUpload = (options) => (options.client ?? client).post({
510
+ ...formDataBodySerializer,
511
+ url: '/pods/{pod_id}/datastore/files',
512
+ ...options,
513
+ headers: {
514
+ 'Content-Type': null,
515
+ ...options.headers
516
+ }
517
+ });
518
+ /**
519
+ * Delete File Or Folder
520
+ */
521
+ export const fileDelete = (options) => (options.client ?? client).delete({ url: '/pods/{pod_id}/datastore/files/by-path', ...options });
522
+ /**
523
+ * Get File
524
+ */
525
+ export const fileGet = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/datastore/files/by-path', ...options });
526
+ /**
527
+ * Update File
528
+ */
529
+ export const fileUpdate = (options) => (options.client ?? client).patch({
530
+ ...formDataBodySerializer,
531
+ url: '/pods/{pod_id}/datastore/files/by-path',
532
+ ...options,
533
+ headers: {
534
+ 'Content-Type': null,
535
+ ...options.headers
536
+ }
537
+ });
538
+ /**
539
+ * Download Converted File Archive
540
+ */
541
+ export const fileConvertedArchive = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/datastore/files/converted/archive', ...options });
542
+ /**
543
+ * Get Converted File Metadata
544
+ */
545
+ export const fileConvertedGet = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/datastore/files/converted/by-path', ...options });
546
+ /**
547
+ * Download Converted File Artifact
548
+ */
549
+ export const fileConvertedDownload = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/datastore/files/converted/download', ...options });
550
+ /**
551
+ * Render Converted File As HTML
552
+ */
553
+ export const fileConvertedRender = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/datastore/files/converted/render', ...options });
554
+ /**
555
+ * Download File
556
+ */
557
+ export const fileDownload = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/datastore/files/download', ...options });
558
+ /**
559
+ * Create Folder
560
+ */
561
+ export const fileFolderCreate = (options) => (options.client ?? client).post({
562
+ url: '/pods/{pod_id}/datastore/files/folders',
563
+ ...options,
564
+ headers: {
565
+ 'Content-Type': 'application/json',
566
+ ...options.headers
567
+ }
568
+ });
569
+ /**
570
+ * Search Files
571
+ */
572
+ export const fileSearch = (options) => (options.client ?? client).post({
573
+ url: '/pods/{pod_id}/datastore/files/search',
574
+ ...options,
575
+ headers: {
576
+ 'Content-Type': 'application/json',
577
+ ...options.headers
578
+ }
579
+ });
580
+ /**
581
+ * Get Directory Tree
582
+ */
583
+ export const fileTree = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/datastore/files/tree', ...options });
584
+ /**
585
+ * Execute Query
586
+ *
587
+ * Execute a read-only SQL query inside the datastore schema. Joins, aggregates, subqueries, and cross-table reads are allowed as long as the statement is read only.
588
+ */
589
+ export const queryExecute = (options) => (options.client ?? client).post({
590
+ url: '/pods/{pod_id}/datastore/query',
591
+ ...options,
592
+ headers: {
593
+ 'Content-Type': 'application/json',
594
+ ...options.headers
595
+ }
596
+ });
597
+ /**
598
+ * List Tables
599
+ *
600
+ * List tables in a datastore.
601
+ */
602
+ export const tableList = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/datastore/tables', ...options });
603
+ /**
604
+ * Create Table
605
+ *
606
+ * Create a table in a datastore. Define primary key, column schema, and optional RLS behavior.
607
+ */
608
+ export const tableCreate = (options) => (options.client ?? client).post({
609
+ url: '/pods/{pod_id}/datastore/tables',
610
+ ...options,
611
+ headers: {
612
+ 'Content-Type': 'application/json',
613
+ ...options.headers
614
+ }
615
+ });
616
+ /**
617
+ * Delete Table
618
+ *
619
+ * Delete a table and all records in it.
620
+ */
621
+ export const tableDelete = (options) => (options.client ?? client).delete({ url: '/pods/{pod_id}/datastore/tables/{table_name}', ...options });
622
+ /**
623
+ * Get Table
624
+ *
625
+ * Get table schema metadata by table name.
626
+ */
627
+ export const tableGet = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/datastore/tables/{table_name}', ...options });
628
+ /**
629
+ * Update Table
630
+ *
631
+ * Update table metadata/configuration payload.
632
+ */
633
+ export const tableUpdate = (options) => (options.client ?? client).patch({
634
+ url: '/pods/{pod_id}/datastore/tables/{table_name}',
635
+ ...options,
636
+ headers: {
637
+ 'Content-Type': 'application/json',
638
+ ...options.headers
639
+ }
640
+ });
641
+ /**
642
+ * Add Column
643
+ *
644
+ * Add a new column to a table. Column names must be unique and compatible with existing table schema rules.
645
+ */
646
+ export const tableColumnAdd = (options) => (options.client ?? client).post({
647
+ url: '/pods/{pod_id}/datastore/tables/{table_name}/columns',
648
+ ...options,
649
+ headers: {
650
+ 'Content-Type': 'application/json',
651
+ ...options.headers
652
+ }
653
+ });
654
+ /**
655
+ * Remove Column
656
+ *
657
+ * Remove a non-primary, non-system column from a table. System columns and the primary key cannot be removed.
658
+ */
659
+ export const tableColumnRemove = (options) => (options.client ?? client).delete({ url: '/pods/{pod_id}/datastore/tables/{table_name}/columns/{column_name}', ...options });
660
+ /**
661
+ * List Records
662
+ *
663
+ * List table records with token pagination only. Use the datastore query endpoint for joins, aggregates, or custom read-only SQL.
664
+ */
665
+ export const recordList = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/datastore/tables/{table_name}/records', ...options });
666
+ /**
667
+ * Create Record
668
+ *
669
+ * Insert a record into a table. Reserved tables (`reserved_*`) are system-managed and cannot be mutated through record write endpoints.
670
+ */
671
+ export const recordCreate = (options) => (options.client ?? client).post({
672
+ url: '/pods/{pod_id}/datastore/tables/{table_name}/records',
673
+ ...options,
674
+ headers: {
675
+ 'Content-Type': 'application/json',
676
+ ...options.headers
677
+ }
678
+ });
679
+ /**
680
+ * Bulk Create
681
+ *
682
+ * Insert multiple records in one request.
683
+ */
684
+ export const recordBulkCreate = (options) => (options.client ?? client).post({
685
+ url: '/pods/{pod_id}/datastore/tables/{table_name}/records/bulk/create',
686
+ ...options,
687
+ headers: {
688
+ 'Content-Type': 'application/json',
689
+ ...options.headers
690
+ }
691
+ });
692
+ /**
693
+ * Bulk Delete
694
+ *
695
+ * Delete multiple records by primary key values.
696
+ */
697
+ export const recordBulkDelete = (options) => (options.client ?? client).post({
698
+ url: '/pods/{pod_id}/datastore/tables/{table_name}/records/bulk/delete',
699
+ ...options,
700
+ headers: {
701
+ 'Content-Type': 'application/json',
702
+ ...options.headers
703
+ }
704
+ });
705
+ /**
706
+ * Bulk Update
707
+ *
708
+ * Update multiple records in one request (each item needs primary key).
709
+ */
710
+ export const recordBulkUpdate = (options) => (options.client ?? client).post({
711
+ url: '/pods/{pod_id}/datastore/tables/{table_name}/records/bulk/update',
712
+ ...options,
713
+ headers: {
714
+ 'Content-Type': 'application/json',
715
+ ...options.headers
716
+ }
717
+ });
718
+ /**
719
+ * Delete Record
720
+ *
721
+ * Delete a record by primary key.
722
+ */
723
+ export const recordDelete = (options) => (options.client ?? client).delete({ url: '/pods/{pod_id}/datastore/tables/{table_name}/records/{record_id}', ...options });
724
+ /**
725
+ * Get Record
726
+ *
727
+ * Fetch one record by primary key value. The `record_id` path segment is the table's primary key value as stored in the table, not necessarily a UUID.
728
+ */
729
+ export const recordGet = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/datastore/tables/{table_name}/records/{record_id}', ...options });
730
+ /**
731
+ * Update Record
732
+ *
733
+ * Patch a record by primary key.
734
+ */
735
+ export const recordUpdate = (options) => (options.client ?? client).patch({
736
+ url: '/pods/{pod_id}/datastore/tables/{table_name}/records/{record_id}',
737
+ ...options,
738
+ headers: {
739
+ 'Content-Type': 'application/json',
740
+ ...options.headers
741
+ }
742
+ });
743
+ /**
744
+ * List Desks
745
+ */
746
+ export const deskList = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/desks', ...options });
747
+ /**
748
+ * Create Desk
749
+ */
750
+ export const deskCreate = (options) => (options.client ?? client).post({
751
+ url: '/pods/{pod_id}/desks',
752
+ ...options,
753
+ headers: {
754
+ 'Content-Type': 'application/json',
755
+ ...options.headers
756
+ }
757
+ });
758
+ /**
759
+ * Delete Desk
760
+ */
761
+ export const deskDelete = (options) => (options.client ?? client).delete({ url: '/pods/{pod_id}/desks/{desk_name}', ...options });
762
+ /**
763
+ * Get Desk
764
+ */
765
+ export const deskGet = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/desks/{desk_name}', ...options });
766
+ /**
767
+ * Update Desk
768
+ */
769
+ export const deskUpdate = (options) => (options.client ?? client).patch({
770
+ url: '/pods/{pod_id}/desks/{desk_name}',
771
+ ...options,
772
+ headers: {
773
+ 'Content-Type': 'application/json',
774
+ ...options.headers
775
+ }
776
+ });
777
+ /**
778
+ * Get Desk Root Asset
779
+ */
780
+ export const deskAssetRootGet = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/desks/{desk_name}/assets', ...options });
781
+ /**
782
+ * Get Desk Asset
783
+ */
784
+ export const deskAssetGet = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/desks/{desk_name}/assets/{asset_path}', ...options });
785
+ /**
786
+ * Upload Desk Bundle
787
+ */
788
+ export const deskBundleUpload = (options) => (options.client ?? client).post({
789
+ ...formDataBodySerializer,
790
+ url: '/pods/{pod_id}/desks/{desk_name}/bundle',
791
+ ...options,
792
+ headers: {
793
+ 'Content-Type': null,
794
+ ...options.headers
795
+ }
796
+ });
797
+ /**
798
+ * Download Desk Dist Archive
799
+ */
800
+ export const deskDistArchiveGet = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/desks/{desk_name}/dist/archive', ...options });
801
+ /**
802
+ * Download Desk Source Archive
803
+ */
804
+ export const deskSourceArchiveGet = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/desks/{desk_name}/source/archive', ...options });
805
+ /**
806
+ * List Functions
807
+ *
808
+ * List all functions in a pod
809
+ */
810
+ export const functionList = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/functions', ...options });
811
+ /**
812
+ * Create Function
813
+ *
814
+ * Create a new function in a pod. Do not send input_schema, output_schema, or config_schema; the platform derives those schemas from the function code and returns them in the response.
815
+ */
816
+ export const functionCreate = (options) => (options.client ?? client).post({
817
+ url: '/pods/{pod_id}/functions',
818
+ ...options,
819
+ headers: {
820
+ 'Content-Type': 'application/json',
821
+ ...options.headers
822
+ }
823
+ });
824
+ /**
825
+ * Delete Function
826
+ *
827
+ * Delete a function
828
+ */
829
+ export const functionDelete = (options) => (options.client ?? client).delete({ url: '/pods/{pod_id}/functions/{function_name}', ...options });
830
+ /**
831
+ * Get Function
832
+ *
833
+ * Get a function by name
834
+ */
835
+ export const functionGet = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/functions/{function_name}', ...options });
836
+ /**
837
+ * Update Function
838
+ *
839
+ * Update a function. When code is supplied, the platform re-derives the function input_schema and output_schema and returns the refreshed function.
840
+ */
841
+ export const functionUpdate = (options) => (options.client ?? client).patch({
842
+ url: '/pods/{pod_id}/functions/{function_name}',
843
+ ...options,
844
+ headers: {
845
+ 'Content-Type': 'application/json',
846
+ ...options.headers
847
+ }
848
+ });
849
+ /**
850
+ * Get Function Resource Permissions
851
+ *
852
+ * Get explicit resource grants assigned to a function.
853
+ */
854
+ export const functionPermissionsGet = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/functions/{function_name}/permissions', ...options });
855
+ /**
856
+ * Replace Function Resource Permissions
857
+ *
858
+ * Replace explicit resource grants assigned to a function.
859
+ */
860
+ export const functionPermissionsReplace = (options) => (options.client ?? client).put({
861
+ url: '/pods/{pod_id}/functions/{function_name}/permissions',
862
+ ...options,
863
+ headers: {
864
+ 'Content-Type': 'application/json',
865
+ ...options.headers
866
+ }
867
+ });
868
+ /**
869
+ * List Runs
870
+ *
871
+ * List runs for a function
872
+ */
873
+ export const functionRunList = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/functions/{function_name}/runs', ...options });
874
+ /**
875
+ * Execute Function
876
+ *
877
+ * Execute a function
878
+ */
879
+ export const functionRun = (options) => (options.client ?? client).post({
880
+ url: '/pods/{pod_id}/functions/{function_name}/runs',
881
+ ...options,
882
+ headers: {
883
+ 'Content-Type': 'application/json',
884
+ ...options.headers
885
+ }
886
+ });
887
+ /**
888
+ * Get Run
889
+ *
890
+ * Get a specific function run
891
+ */
892
+ export const functionRunGet = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/functions/{function_name}/runs/{run_id}', ...options });
893
+ /**
894
+ * List Pod Join Requests
895
+ *
896
+ * List join requests for a pod
897
+ */
898
+ export const podJoinRequestList = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/join-requests', ...options });
899
+ /**
900
+ * Create Pod Join Request
901
+ *
902
+ * Create a join request for the current user to access this pod
903
+ */
904
+ export const podJoinRequestCreate = (options) => (options.client ?? client).post({ url: '/pods/{pod_id}/join-requests', ...options });
905
+ /**
906
+ * Get My Pod Join Request
907
+ *
908
+ * Get the current user's pending join request for this pod
909
+ */
910
+ export const podJoinRequestMe = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/join-requests/me', ...options });
911
+ /**
912
+ * Approve Pod Join Request
913
+ *
914
+ * Approve a pending pod join request and add user to org/pod
915
+ */
916
+ export const podJoinRequestApprove = (options) => (options.client ?? client).post({
917
+ url: '/pods/{pod_id}/join-requests/{join_request_id}/approve',
918
+ ...options,
919
+ headers: {
920
+ 'Content-Type': 'application/json',
921
+ ...options.headers
922
+ }
923
+ });
924
+ /**
925
+ * List Pod Members
926
+ *
927
+ * List all members of a pod
928
+ */
929
+ export const podMemberList = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/members', ...options });
930
+ /**
931
+ * Add Pod Member
932
+ *
933
+ * Add a member to a pod
934
+ */
935
+ export const podMemberAdd = (options) => (options.client ?? client).post({
936
+ url: '/pods/{pod_id}/members',
937
+ ...options,
938
+ headers: {
939
+ 'Content-Type': 'application/json',
940
+ ...options.headers
941
+ }
942
+ });
943
+ /**
944
+ * Lookup Pod Member By Email
945
+ *
946
+ * Resolve a pod member by email
947
+ */
948
+ export const podMemberLookupByEmail = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/members/lookup/by-email', ...options });
949
+ /**
950
+ * Lookup Pod Member By User ID
951
+ *
952
+ * Resolve a pod member by user id
953
+ */
954
+ export const podMemberLookupByUserId = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/members/lookup/by-user-id/{user_id}', ...options });
955
+ /**
956
+ * Remove Pod Member
957
+ *
958
+ * Remove a member from a pod
959
+ */
960
+ export const podMemberRemove = (options) => (options.client ?? client).delete({ url: '/pods/{pod_id}/members/{pod_member_id}', ...options });
961
+ /**
962
+ * Get Pod Member
963
+ *
964
+ * Get a pod member by pod member id
965
+ */
966
+ export const podMemberGet = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/members/{pod_member_id}', ...options });
967
+ /**
968
+ * Update Member Roles
969
+ *
970
+ * Update a pod member's roles
971
+ */
972
+ export const podMemberUpdateRoles = (options) => (options.client ?? client).patch({
973
+ url: '/pods/{pod_id}/members/{pod_member_id}/roles',
974
+ ...options,
975
+ headers: {
976
+ 'Content-Type': 'application/json',
977
+ ...options.headers
978
+ }
979
+ });
980
+ /**
981
+ * Get Pod Permission Catalog
982
+ */
983
+ export const podPermissionsCatalog = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/permissions/catalog', ...options });
984
+ /**
985
+ * Get My Pod Permissions
986
+ */
987
+ export const podPermissionsMe = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/permissions/me', ...options });
988
+ /**
989
+ * Get Resource Access
990
+ */
991
+ export const podResourceAccessGet = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/resources/{resource_type}/{resource_name}/access', ...options });
992
+ /**
993
+ * Delete Resource Access Grant
994
+ */
995
+ export const podResourceAccessGrantDelete = (options) => (options.client ?? client).delete({ url: '/pods/{pod_id}/resources/{resource_type}/{resource_name}/access/grantees/{grantee_type}/{grantee_id}', ...options });
996
+ /**
997
+ * Replace Resource Access Grant
998
+ */
999
+ export const podResourceAccessGrantReplace = (options) => (options.client ?? client).put({
1000
+ url: '/pods/{pod_id}/resources/{resource_type}/{resource_name}/access/grantees/{grantee_type}/{grantee_id}',
1001
+ ...options,
1002
+ headers: {
1003
+ 'Content-Type': 'application/json',
1004
+ ...options.headers
1005
+ }
1006
+ });
1007
+ /**
1008
+ * List Pod Roles
1009
+ */
1010
+ export const podRolesList = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/roles', ...options });
1011
+ /**
1012
+ * Create Pod Role
1013
+ */
1014
+ export const podRolesCreate = (options) => (options.client ?? client).post({
1015
+ url: '/pods/{pod_id}/roles',
1016
+ ...options,
1017
+ headers: {
1018
+ 'Content-Type': 'application/json',
1019
+ ...options.headers
1020
+ }
1021
+ });
1022
+ /**
1023
+ * Delete Pod Role
1024
+ */
1025
+ export const podRolesDelete = (options) => (options.client ?? client).delete({ url: '/pods/{pod_id}/roles/{role_name}', ...options });
1026
+ /**
1027
+ * Update Pod Role
1028
+ */
1029
+ export const podRolesUpdate = (options) => (options.client ?? client).patch({
1030
+ url: '/pods/{pod_id}/roles/{role_name}',
1031
+ ...options,
1032
+ headers: {
1033
+ 'Content-Type': 'application/json',
1034
+ ...options.headers
1035
+ }
1036
+ });
1037
+ /**
1038
+ * Get Pod Role Permissions
1039
+ */
1040
+ export const podRolePermissionsGet = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/roles/{role_name}/permissions', ...options });
1041
+ /**
1042
+ * Replace Pod Role Permissions
1043
+ */
1044
+ export const podRolePermissionsReplace = (options) => (options.client ?? client).put({
1045
+ url: '/pods/{pod_id}/roles/{role_name}/permissions',
1046
+ ...options,
1047
+ headers: {
1048
+ 'Content-Type': 'application/json',
1049
+ ...options.headers
1050
+ }
1051
+ });
1052
+ /**
1053
+ * List Schedules
1054
+ *
1055
+ * List pod schedules.
1056
+ */
1057
+ export const scheduleList = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/schedules', ...options });
1058
+ /**
1059
+ * Create Schedule
1060
+ *
1061
+ * Create a new pod schedule.
1062
+ */
1063
+ export const scheduleCreate = (options) => (options.client ?? client).post({
1064
+ url: '/pods/{pod_id}/schedules',
1065
+ ...options,
1066
+ headers: {
1067
+ 'Content-Type': 'application/json',
1068
+ ...options.headers
1069
+ }
1070
+ });
1071
+ /**
1072
+ * Delete Schedule
1073
+ *
1074
+ * Delete a schedule.
1075
+ */
1076
+ export const scheduleDelete = (options) => (options.client ?? client).delete({ url: '/pods/{pod_id}/schedules/{schedule_id}', ...options });
1077
+ /**
1078
+ * Get Schedule
1079
+ *
1080
+ * Get a schedule by ID.
1081
+ */
1082
+ export const scheduleGet = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/schedules/{schedule_id}', ...options });
1083
+ /**
1084
+ * Update Schedule
1085
+ *
1086
+ * Update a schedule.
1087
+ */
1088
+ export const scheduleUpdate = (options) => (options.client ?? client).patch({
1089
+ url: '/pods/{pod_id}/schedules/{schedule_id}',
1090
+ ...options,
1091
+ headers: {
1092
+ 'Content-Type': 'application/json',
1093
+ ...options.headers
1094
+ }
1095
+ });
1096
+ /**
1097
+ * List Surfaces
1098
+ */
1099
+ export const agentSurfaceList = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/surfaces', ...options });
1100
+ /**
1101
+ * Create Surface
1102
+ */
1103
+ export const agentSurfaceCreate = (options) => (options.client ?? client).post({
1104
+ url: '/pods/{pod_id}/surfaces',
1105
+ ...options,
1106
+ headers: {
1107
+ 'Content-Type': 'application/json',
1108
+ ...options.headers
1109
+ }
1110
+ });
1111
+ /**
1112
+ * Get Surface Platform Checklist
1113
+ */
1114
+ export const agentSurfacePlatformChecklist = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/surfaces/platforms/{platform}/checklist', ...options });
1115
+ /**
1116
+ * Upsert Surface By Platform
1117
+ */
1118
+ export const agentSurfaceUpsertByPlatform = (options) => (options.client ?? client).put({
1119
+ url: '/pods/{pod_id}/surfaces/{platform}',
1120
+ ...options,
1121
+ headers: {
1122
+ 'Content-Type': 'application/json',
1123
+ ...options.headers
1124
+ }
1125
+ });
1126
+ /**
1127
+ * Delete Surface
1128
+ */
1129
+ export const agentSurfaceDelete = (options) => (options.client ?? client).delete({ url: '/pods/{pod_id}/surfaces/{surface_ref}', ...options });
1130
+ /**
1131
+ * Get Surface
1132
+ */
1133
+ export const agentSurfaceGet = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/surfaces/{surface_ref}', ...options });
1134
+ /**
1135
+ * Update Surface
1136
+ */
1137
+ export const agentSurfaceUpdate = (options) => (options.client ?? client).patch({
1138
+ url: '/pods/{pod_id}/surfaces/{surface_ref}',
1139
+ ...options,
1140
+ headers: {
1141
+ 'Content-Type': 'application/json',
1142
+ ...options.headers
1143
+ }
1144
+ });
1145
+ /**
1146
+ * Get Admin Consent Info
1147
+ */
1148
+ export const agentSurfaceAdminConsentInfo = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/surfaces/{surface_ref}/admin-consent', ...options });
1149
+ /**
1150
+ * Update Surface Channels
1151
+ */
1152
+ export const agentSurfaceUpdateChannels = (options) => (options.client ?? client).put({
1153
+ url: '/pods/{pod_id}/surfaces/{surface_ref}/channels',
1154
+ ...options,
1155
+ headers: {
1156
+ 'Content-Type': 'application/json',
1157
+ ...options.headers
1158
+ }
1159
+ });
1160
+ /**
1161
+ * Get Surface Setup Status
1162
+ */
1163
+ export const agentSurfaceSetupStatus = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/surfaces/{surface_ref}/setup', ...options });
1164
+ /**
1165
+ * Toggle Surface
1166
+ */
1167
+ export const agentSurfaceToggle = (options) => (options.client ?? client).patch({
1168
+ url: '/pods/{pod_id}/surfaces/{surface_ref}/toggle',
1169
+ ...options,
1170
+ headers: {
1171
+ 'Content-Type': 'application/json',
1172
+ ...options.headers
1173
+ }
1174
+ });
1175
+ /**
1176
+ * List Workflow Runs Waiting For Current User
1177
+ *
1178
+ * List active human form waits assigned to the current pod member.
1179
+ */
1180
+ export const workflowRunWaitingAssignedToMe = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/workflow-runs/waiting/assigned-to-me', ...options });
1181
+ /**
1182
+ * Get Workflow Run
1183
+ *
1184
+ * Get current state, context, and step history of a workflow run.
1185
+ */
1186
+ export const workflowRunGet = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/workflow-runs/{run_id}', ...options });
1187
+ /**
1188
+ * Resume Workflow Run
1189
+ *
1190
+ * Resume a run in WAITING or EXECUTING state. The payload is written back into the current waiting node output and execution continues.
1191
+ */
1192
+ export const workflowRunResume = (options) => (options.client ?? client).post({
1193
+ url: '/pods/{pod_id}/workflow-runs/{run_id}/resume',
1194
+ ...options,
1195
+ headers: {
1196
+ 'Content-Type': 'application/json',
1197
+ ...options.headers
1198
+ }
1199
+ });
1200
+ /**
1201
+ * Visualize Workflow Run
1202
+ *
1203
+ * Render an HTML view of a run overlaid on its workflow graph.
1204
+ */
1205
+ export const workflowRunVisualize = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/workflow-runs/{run_id}/visualize', ...options });
1206
+ /**
1207
+ * List Workflow Runs
1208
+ *
1209
+ * List recent runs for a given workflow.
1210
+ */
1211
+ export const workflowRunList = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/workflow-runs/{workflow_name}/runs', ...options });
1212
+ /**
1213
+ * List Workflows
1214
+ *
1215
+ * List all workflows in a pod.
1216
+ */
1217
+ export const workflowList = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/workflows', ...options });
1218
+ /**
1219
+ * Create Workflow
1220
+ *
1221
+ * Create a workflow definition. Use this before uploading graph nodes/edges with `workflow.graph.update`.
1222
+ */
1223
+ export const workflowCreate = (options) => (options.client ?? client).post({
1224
+ url: '/pods/{pod_id}/workflows',
1225
+ ...options,
1226
+ headers: {
1227
+ 'Content-Type': 'application/json',
1228
+ ...options.headers
1229
+ }
1230
+ });
1231
+ /**
1232
+ * Delete Workflow
1233
+ *
1234
+ * Delete a workflow definition.
1235
+ */
1236
+ export const workflowDelete = (options) => (options.client ?? client).delete({ url: '/pods/{pod_id}/workflows/{workflow_name}', ...options });
1237
+ /**
1238
+ * Get Workflow
1239
+ *
1240
+ * Get a single workflow definition including graph and start configuration.
1241
+ */
1242
+ export const workflowGet = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/workflows/{workflow_name}', ...options });
1243
+ /**
1244
+ * Update Workflow Metadata
1245
+ *
1246
+ * Update workflow-level metadata such as description and schedule mode. Workflow names are immutable after creation. Use `workflow.graph.update` for nodes and edges.
1247
+ */
1248
+ export const workflowUpdate = (options) => (options.client ?? client).patch({
1249
+ url: '/pods/{pod_id}/workflows/{workflow_name}',
1250
+ ...options,
1251
+ headers: {
1252
+ 'Content-Type': 'application/json',
1253
+ ...options.headers
1254
+ }
1255
+ });
1256
+ /**
1257
+ * Update Workflow Graph
1258
+ *
1259
+ * Replace the workflow graph. Agent/function node `input_mapping` entries must use explicit typed bindings. Use `{type: "expression", value: "start.payload.issue.key"}` for context lookups and `{type: "literal", value: "abc"}` for fixed JSON values.
1260
+ */
1261
+ export const workflowGraphUpdate = (options) => (options.client ?? client).put({
1262
+ url: '/pods/{pod_id}/workflows/{workflow_name}/graph',
1263
+ ...options,
1264
+ headers: {
1265
+ 'Content-Type': 'application/json',
1266
+ ...options.headers
1267
+ }
1268
+ });
1269
+ /**
1270
+ * Start Workflow
1271
+ *
1272
+ * Start a new workflow run. For event/scheduled/datastore starts, the request body is treated as initial trigger payload and merged into execution context.
1273
+ */
1274
+ export const workflowStart = (options) => (options.client ?? client).post({
1275
+ url: '/pods/{pod_id}/workflows/{workflow_name}/start',
1276
+ ...options,
1277
+ headers: {
1278
+ 'Content-Type': 'application/json',
1279
+ ...options.headers
1280
+ }
1281
+ });
1282
+ /**
1283
+ * Visualize Workflow
1284
+ *
1285
+ * Render an HTML visualization for debugging workflow graph structure.
1286
+ */
1287
+ export const workflowVisualize = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/workflows/{workflow_name}/visualize', ...options });
1288
+ /**
1289
+ * Get Public Icon
1290
+ *
1291
+ * Fetch a previously uploaded public icon asset.
1292
+ */
1293
+ export const iconPublicGet = (options) => (options.client ?? client).get({ url: '/public/icons/{icon_path}', ...options });
1294
+ /**
1295
+ * Teams Admin Consent Callback
1296
+ */
1297
+ export const agentSurfaceTeamsAdminConsentCallback = (options) => (options?.client ?? client).get({ url: '/surfaces/teams/admin-consent/callback', ...options });
1298
+ /**
1299
+ * Verify surface webhook using the platform callback URL
1300
+ *
1301
+ * Webhook verification endpoint for platforms that require it.
1302
+ */
1303
+ export const surfaceWebhookVerify = (options) => (options.client ?? client).get({ url: '/surfaces/webhooks/{platform}', ...options });
1304
+ /**
1305
+ * Handle platform-level surface webhook
1306
+ *
1307
+ * Handle platform-level webhook callbacks.
1308
+ */
1309
+ export const surfaceWebhookHandlePlatform = (options) => (options.client ?? client).post({ url: '/surfaces/webhooks/{platform}', ...options });
1310
+ /**
1311
+ * Verify surface webhook using a surface-level callback URL
1312
+ *
1313
+ * Webhook verification endpoint for platforms that require it.
1314
+ */
1315
+ export const surfaceWebhookVerifySurface = (options) => (options.client ?? client).get({ url: '/surfaces/{surface_id}/webhook', ...options });
1316
+ /**
1317
+ * Handle surface-level webhook
1318
+ *
1319
+ * Handle webhooks addressed to one concrete surface.
1320
+ */
1321
+ export const surfaceWebhookHandleSurface = (options) => (options.client ?? client).post({ url: '/surfaces/{surface_id}/webhook', ...options });
1322
+ /**
1323
+ * Agent Integration Helper Agent
1324
+ *
1325
+ * Plan how to use one or more integration applications for a goal and return recommended operations.
1326
+ */
1327
+ export const agentToolIntegrationHelperAgent = (options) => (options.client ?? client).post({
1328
+ url: '/tools/integration-helper-agent',
1329
+ ...options,
1330
+ headers: {
1331
+ 'Content-Type': 'application/json',
1332
+ ...options.headers
1333
+ }
1334
+ });
1335
+ /**
1336
+ * Agent Report Feedback
1337
+ *
1338
+ * Record a maintainer-facing feedback report about system issues, skill issues, incorrect knowledge, or other unexpected behavior.
1339
+ */
1340
+ export const agentToolReportFeedback = (options) => (options.client ?? client).post({
1341
+ url: '/tools/report-feedback',
1342
+ ...options,
1343
+ headers: {
1344
+ 'Content-Type': 'application/json',
1345
+ ...options.headers
1346
+ }
1347
+ });
1348
+ /**
1349
+ * Agent Web Search
1350
+ *
1351
+ * Run a raw web search and return structured results.
1352
+ */
1353
+ export const agentToolWebSearch = (options) => (options.client ?? client).post({
1354
+ url: '/tools/web-search',
1355
+ ...options,
1356
+ headers: {
1357
+ 'Content-Type': 'application/json',
1358
+ ...options.headers
1359
+ }
1360
+ });
1361
+ /**
1362
+ * List Usage Events
1363
+ */
1364
+ export const usageOrganizationEventsList = (options) => (options.client ?? client).get({ url: '/usage/organizations/{organization_id}/events', ...options });
1365
+ /**
1366
+ * Get Usage Limits
1367
+ */
1368
+ export const usageOrganizationLimitsGet = (options) => (options.client ?? client).get({ url: '/usage/organizations/{organization_id}/limits', ...options });
1369
+ /**
1370
+ * Get My Usage
1371
+ */
1372
+ export const usageOrganizationMeSummaryGet = (options) => (options.client ?? client).get({ url: '/usage/organizations/{organization_id}/me', ...options });
1373
+ /**
1374
+ * Get Usage Stats
1375
+ */
1376
+ export const usageOrganizationStatsGet = (options) => (options.client ?? client).get({ url: '/usage/organizations/{organization_id}/stats', ...options });
1377
+ /**
1378
+ * Get Organization Usage Summary
1379
+ */
1380
+ export const usageOrganizationSummaryGet = (options) => (options.client ?? client).get({ url: '/usage/organizations/{organization_id}/summary', ...options });
1381
+ /**
1382
+ * Get Current User
1383
+ *
1384
+ * Get the current authenticated user's information
1385
+ */
1386
+ export const userCurrentGet = (options) => (options?.client ?? client).get({ url: '/users/me', ...options });
1387
+ /**
1388
+ * Get User Profile
1389
+ *
1390
+ * Get the current user's profile
1391
+ */
1392
+ export const userProfileGet = (options) => (options?.client ?? client).get({ url: '/users/me/profile', ...options });
1393
+ /**
1394
+ * Create or Update Profile
1395
+ *
1396
+ * Create or update the current user's profile
1397
+ */
1398
+ export const userProfileUpsert = (options) => (options.client ?? client).post({
1399
+ url: '/users/me/profile',
1400
+ ...options,
1401
+ headers: {
1402
+ 'Content-Type': 'application/json',
1403
+ ...options.headers
1404
+ }
1405
+ });
1406
+ /**
1407
+ * Handle Specific Schedule Webhook
1408
+ *
1409
+ * Receive webhook for a specific schedule ID
1410
+ */
1411
+ export const webhookScheduleHandle = (options) => (options.client ?? client).post({ url: '/webhooks/schedules/{schedule_id}', ...options });
1412
+ /**
1413
+ * Handle Webhook
1414
+ *
1415
+ * Receive webhooks from various sources (slack, composio, jira, email, etc.)
1416
+ */
1417
+ export const webhookHandle = (options) => (options.client ?? client).post({ url: '/webhooks/{source}', ...options });
1418
+ /**
1419
+ * Verify Webhook
1420
+ *
1421
+ * Webhook verification endpoint for platforms that require it
1422
+ */
1423
+ export const webhookVerify = (options) => (options.client ?? client).get({ url: '/webhooks/{source}/verify', ...options });
1424
+ /**
1425
+ * Create workspace browser access URL
1426
+ */
1427
+ export const workspaceBrowserAccess = (options) => (options.client ?? client).post({
1428
+ url: '/workspace/apps/browser/access',
1429
+ ...options,
1430
+ headers: {
1431
+ 'Content-Type': 'application/json',
1432
+ ...options.headers
1433
+ }
1434
+ });
1435
+ /**
1436
+ * Get current workspace state
1437
+ */
1438
+ export const workspaceMe = (options) => (options?.client ?? client).get({ url: '/workspace/me', ...options });