@fetch-hive/sdk 0.2.8 → 0.2.9

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 (230) hide show
  1. package/README.md +1 -1
  2. package/dist/client.d.ts +5 -0
  3. package/dist/client.d.ts.map +1 -1
  4. package/dist/client.js +9 -0
  5. package/dist/client.js.map +1 -1
  6. package/dist/generated/src/apis/AgentChatMessagesApi.d.ts +1 -1
  7. package/dist/generated/src/apis/AgentChatMessagesApi.js +1 -1
  8. package/dist/generated/src/apis/AgentChatsApi.d.ts +1 -1
  9. package/dist/generated/src/apis/AgentChatsApi.js +1 -1
  10. package/dist/generated/src/apis/AgentsApi.d.ts +117 -1
  11. package/dist/generated/src/apis/AgentsApi.d.ts.map +1 -1
  12. package/dist/generated/src/apis/AgentsApi.js +129 -1
  13. package/dist/generated/src/apis/AgentsApi.js.map +1 -1
  14. package/dist/generated/src/apis/AssetsApi.d.ts +1 -1
  15. package/dist/generated/src/apis/AssetsApi.js +1 -1
  16. package/dist/generated/src/apis/HiveAgentsApi.d.ts +1 -1
  17. package/dist/generated/src/apis/HiveAgentsApi.js +1 -1
  18. package/dist/generated/src/apis/KnowledgeBaseItemsApi.d.ts +1 -1
  19. package/dist/generated/src/apis/KnowledgeBaseItemsApi.js +1 -1
  20. package/dist/generated/src/apis/KnowledgeBasesApi.d.ts +1 -1
  21. package/dist/generated/src/apis/KnowledgeBasesApi.js +1 -1
  22. package/dist/generated/src/apis/ModelsApi.d.ts +1 -1
  23. package/dist/generated/src/apis/ModelsApi.js +1 -1
  24. package/dist/generated/src/apis/PromptsApi.d.ts +1 -1
  25. package/dist/generated/src/apis/PromptsApi.js +1 -1
  26. package/dist/generated/src/apis/RequestsApi.d.ts +1 -1
  27. package/dist/generated/src/apis/RequestsApi.js +1 -1
  28. package/dist/generated/src/apis/SearchServicesApi.d.ts +1 -1
  29. package/dist/generated/src/apis/SearchServicesApi.js +1 -1
  30. package/dist/generated/src/apis/WorkflowsApi.d.ts +1 -1
  31. package/dist/generated/src/apis/WorkflowsApi.js +1 -1
  32. package/dist/generated/src/models/AgentAttachment.d.ts +1 -1
  33. package/dist/generated/src/models/AgentAttachment.js +1 -1
  34. package/dist/generated/src/models/AgentAttachmentOneOf.d.ts +1 -1
  35. package/dist/generated/src/models/AgentAttachmentOneOf.js +1 -1
  36. package/dist/generated/src/models/AgentDelegation.d.ts +124 -0
  37. package/dist/generated/src/models/AgentDelegation.d.ts.map +1 -0
  38. package/dist/generated/src/models/AgentDelegation.js +103 -0
  39. package/dist/generated/src/models/AgentDelegation.js.map +1 -0
  40. package/dist/generated/src/models/AgentInvokeAsyncConfig.d.ts +49 -0
  41. package/dist/generated/src/models/AgentInvokeAsyncConfig.d.ts.map +1 -0
  42. package/dist/generated/src/models/AgentInvokeAsyncConfig.js +51 -0
  43. package/dist/generated/src/models/AgentInvokeAsyncConfig.js.map +1 -0
  44. package/dist/generated/src/models/AgentMessage.d.ts +1 -1
  45. package/dist/generated/src/models/AgentMessage.js +1 -1
  46. package/dist/generated/src/models/AssetObject.d.ts +1 -1
  47. package/dist/generated/src/models/AssetObject.js +1 -1
  48. package/dist/generated/src/models/AssetObjectTranscription.d.ts +1 -1
  49. package/dist/generated/src/models/AssetObjectTranscription.js +1 -1
  50. package/dist/generated/src/models/AsyncConfig.d.ts +1 -1
  51. package/dist/generated/src/models/AsyncConfig.js +1 -1
  52. package/dist/generated/src/models/DeletePublicWorkspacesAgents200Response.d.ts +1 -1
  53. package/dist/generated/src/models/DeletePublicWorkspacesAgents200Response.js +1 -1
  54. package/dist/generated/src/models/DeletePublicWorkspacesAgentsChats200Response.d.ts +1 -1
  55. package/dist/generated/src/models/DeletePublicWorkspacesAgentsChats200Response.js +1 -1
  56. package/dist/generated/src/models/DeletePublicWorkspacesAgentsChats404Response.d.ts +1 -1
  57. package/dist/generated/src/models/DeletePublicWorkspacesAgentsChats404Response.js +1 -1
  58. package/dist/generated/src/models/DeletePublicWorkspacesKnowledgeBases200Response.d.ts +1 -1
  59. package/dist/generated/src/models/DeletePublicWorkspacesKnowledgeBases200Response.js +1 -1
  60. package/dist/generated/src/models/DeletePublicWorkspacesKnowledgeBasesItems200Response.d.ts +1 -1
  61. package/dist/generated/src/models/DeletePublicWorkspacesKnowledgeBasesItems200Response.js +1 -1
  62. package/dist/generated/src/models/ErrorResponse.d.ts +1 -1
  63. package/dist/generated/src/models/ErrorResponse.js +1 -1
  64. package/dist/generated/src/models/GeneratedArtifact.d.ts +1 -1
  65. package/dist/generated/src/models/GeneratedArtifact.js +1 -1
  66. package/dist/generated/src/models/GetPublicModels200ResponseInner.d.ts +1 -1
  67. package/dist/generated/src/models/GetPublicModels200ResponseInner.js +1 -1
  68. package/dist/generated/src/models/GetPublicRequests200Response.d.ts +1 -1
  69. package/dist/generated/src/models/GetPublicRequests200Response.js +1 -1
  70. package/dist/generated/src/models/GetPublicRequests404Response.d.ts +1 -1
  71. package/dist/generated/src/models/GetPublicRequests404Response.js +1 -1
  72. package/dist/generated/src/models/GetPublicSearchServicesCountries200Response.d.ts +1 -1
  73. package/dist/generated/src/models/GetPublicSearchServicesCountries200Response.js +1 -1
  74. package/dist/generated/src/models/GetPublicSearchServicesCountries200ResponseServicesInner.d.ts +1 -1
  75. package/dist/generated/src/models/GetPublicSearchServicesCountries200ResponseServicesInner.js +1 -1
  76. package/dist/generated/src/models/GetPublicSearchServicesCountries200ResponseServicesInnerCountriesInner.d.ts +1 -1
  77. package/dist/generated/src/models/GetPublicSearchServicesCountries200ResponseServicesInnerCountriesInner.js +1 -1
  78. package/dist/generated/src/models/GetPublicSearchServicesCountries2404Response.d.ts +1 -1
  79. package/dist/generated/src/models/GetPublicSearchServicesCountries2404Response.js +1 -1
  80. package/dist/generated/src/models/GetPublicWorkspacesAgents200Response.d.ts +1 -1
  81. package/dist/generated/src/models/GetPublicWorkspacesAgents200Response.js +1 -1
  82. package/dist/generated/src/models/GetPublicWorkspacesAgents2200Response.d.ts +1 -1
  83. package/dist/generated/src/models/GetPublicWorkspacesAgents2200Response.js +1 -1
  84. package/dist/generated/src/models/GetPublicWorkspacesAgentsChats200Response.d.ts +1 -1
  85. package/dist/generated/src/models/GetPublicWorkspacesAgentsChats200Response.js +1 -1
  86. package/dist/generated/src/models/GetPublicWorkspacesAgentsChatsMessages200Response.d.ts +1 -1
  87. package/dist/generated/src/models/GetPublicWorkspacesAgentsChatsMessages200Response.js +1 -1
  88. package/dist/generated/src/models/GetPublicWorkspacesAgentsChatsMessages200ResponseMessagesInner.d.ts +1 -1
  89. package/dist/generated/src/models/GetPublicWorkspacesAgentsChatsMessages200ResponseMessagesInner.js +1 -1
  90. package/dist/generated/src/models/GetPublicWorkspacesAgentsChatsMessages422Response.d.ts +1 -1
  91. package/dist/generated/src/models/GetPublicWorkspacesAgentsChatsMessages422Response.js +1 -1
  92. package/dist/generated/src/models/GetPublicWorkspacesAssets200Response.d.ts +1 -1
  93. package/dist/generated/src/models/GetPublicWorkspacesAssets200Response.js +1 -1
  94. package/dist/generated/src/models/GetPublicWorkspacesKnowledgeBases200Response.d.ts +1 -1
  95. package/dist/generated/src/models/GetPublicWorkspacesKnowledgeBases200Response.js +1 -1
  96. package/dist/generated/src/models/GetPublicWorkspacesKnowledgeBases2200Response.d.ts +1 -1
  97. package/dist/generated/src/models/GetPublicWorkspacesKnowledgeBases2200Response.js +1 -1
  98. package/dist/generated/src/models/GetPublicWorkspacesKnowledgeBases2422Response.d.ts +1 -1
  99. package/dist/generated/src/models/GetPublicWorkspacesKnowledgeBases2422Response.js +1 -1
  100. package/dist/generated/src/models/GetPublicWorkspacesKnowledgeBasesItems200Response.d.ts +1 -1
  101. package/dist/generated/src/models/GetPublicWorkspacesKnowledgeBasesItems200Response.js +1 -1
  102. package/dist/generated/src/models/GetPublicWorkspacesKnowledgeBasesItems200ResponseKnowledgeBaseItemsInner.d.ts +1 -1
  103. package/dist/generated/src/models/GetPublicWorkspacesKnowledgeBasesItems200ResponseKnowledgeBaseItemsInner.js +1 -1
  104. package/dist/generated/src/models/GetPublicWorkspacesKnowledgeBasesItems2200Response.d.ts +1 -1
  105. package/dist/generated/src/models/GetPublicWorkspacesKnowledgeBasesItems2200Response.js +1 -1
  106. package/dist/generated/src/models/GetPublicWorkspacesKnowledgeBasesItems2422Response.d.ts +1 -1
  107. package/dist/generated/src/models/GetPublicWorkspacesKnowledgeBasesItems2422Response.js +1 -1
  108. package/dist/generated/src/models/HiveAgentAsyncConfig.d.ts +1 -1
  109. package/dist/generated/src/models/HiveAgentAsyncConfig.js +1 -1
  110. package/dist/generated/src/models/HiveAgentSources.d.ts +1 -1
  111. package/dist/generated/src/models/HiveAgentSources.js +1 -1
  112. package/dist/generated/src/models/InvokeAgentRequest.d.ts +8 -1
  113. package/dist/generated/src/models/InvokeAgentRequest.d.ts.map +1 -1
  114. package/dist/generated/src/models/InvokeAgentRequest.js +4 -1
  115. package/dist/generated/src/models/InvokeAgentRequest.js.map +1 -1
  116. package/dist/generated/src/models/InvokeAgentResponse.d.ts +10 -1
  117. package/dist/generated/src/models/InvokeAgentResponse.d.ts.map +1 -1
  118. package/dist/generated/src/models/InvokeAgentResponse.js +4 -1
  119. package/dist/generated/src/models/InvokeAgentResponse.js.map +1 -1
  120. package/dist/generated/src/models/InvokeHiveAgentRequest.d.ts +21 -1
  121. package/dist/generated/src/models/InvokeHiveAgentRequest.d.ts.map +1 -1
  122. package/dist/generated/src/models/InvokeHiveAgentRequest.js +13 -1
  123. package/dist/generated/src/models/InvokeHiveAgentRequest.js.map +1 -1
  124. package/dist/generated/src/models/InvokeHiveAgentResponse.d.ts +1 -1
  125. package/dist/generated/src/models/InvokeHiveAgentResponse.js +1 -1
  126. package/dist/generated/src/models/InvokePromptRequest.d.ts +1 -1
  127. package/dist/generated/src/models/InvokePromptRequest.js +1 -1
  128. package/dist/generated/src/models/InvokePromptResponse.d.ts +1 -1
  129. package/dist/generated/src/models/InvokePromptResponse.js +1 -1
  130. package/dist/generated/src/models/InvokeWorkflowAsyncResponse.d.ts +1 -1
  131. package/dist/generated/src/models/InvokeWorkflowAsyncResponse.js +1 -1
  132. package/dist/generated/src/models/InvokeWorkflowRequest.d.ts +1 -1
  133. package/dist/generated/src/models/InvokeWorkflowRequest.js +1 -1
  134. package/dist/generated/src/models/InvokeWorkflowResponse.d.ts +1 -1
  135. package/dist/generated/src/models/InvokeWorkflowResponse.js +1 -1
  136. package/dist/generated/src/models/KnowledgeBaseObject.d.ts +1 -1
  137. package/dist/generated/src/models/KnowledgeBaseObject.js +1 -1
  138. package/dist/generated/src/models/ListThreadAgentDelegations200Response.d.ts +34 -0
  139. package/dist/generated/src/models/ListThreadAgentDelegations200Response.d.ts.map +1 -0
  140. package/dist/generated/src/models/ListThreadAgentDelegations200Response.js +52 -0
  141. package/dist/generated/src/models/ListThreadAgentDelegations200Response.js.map +1 -0
  142. package/dist/generated/src/models/MetadataValue.d.ts +1 -1
  143. package/dist/generated/src/models/MetadataValue.js +1 -1
  144. package/dist/generated/src/models/PatchPublicWorkspacesAgents200Response.d.ts +1 -1
  145. package/dist/generated/src/models/PatchPublicWorkspacesAgents200Response.js +1 -1
  146. package/dist/generated/src/models/PatchPublicWorkspacesAgentsChats200Response.d.ts +1 -1
  147. package/dist/generated/src/models/PatchPublicWorkspacesAgentsChats200Response.js +1 -1
  148. package/dist/generated/src/models/PatchPublicWorkspacesAgentsChatsClearMessages200Response.d.ts +1 -1
  149. package/dist/generated/src/models/PatchPublicWorkspacesAgentsChatsClearMessages200Response.js +1 -1
  150. package/dist/generated/src/models/PatchPublicWorkspacesAgentsChatsRequest.d.ts +1 -1
  151. package/dist/generated/src/models/PatchPublicWorkspacesAgentsChatsRequest.js +1 -1
  152. package/dist/generated/src/models/PatchPublicWorkspacesAgentsChatsRequestChat.d.ts +1 -1
  153. package/dist/generated/src/models/PatchPublicWorkspacesAgentsChatsRequestChat.js +1 -1
  154. package/dist/generated/src/models/PatchPublicWorkspacesAgentsRequest.d.ts +1 -1
  155. package/dist/generated/src/models/PatchPublicWorkspacesAgentsRequest.js +1 -1
  156. package/dist/generated/src/models/PatchPublicWorkspacesAgentsRequestAgent.d.ts +1 -1
  157. package/dist/generated/src/models/PatchPublicWorkspacesAgentsRequestAgent.js +1 -1
  158. package/dist/generated/src/models/PatchPublicWorkspacesKnowledgeBases200Response.d.ts +1 -1
  159. package/dist/generated/src/models/PatchPublicWorkspacesKnowledgeBases200Response.js +1 -1
  160. package/dist/generated/src/models/PatchPublicWorkspacesKnowledgeBasesItems200Response.d.ts +1 -1
  161. package/dist/generated/src/models/PatchPublicWorkspacesKnowledgeBasesItems200Response.js +1 -1
  162. package/dist/generated/src/models/PatchPublicWorkspacesKnowledgeBasesItemsRequest.d.ts +1 -1
  163. package/dist/generated/src/models/PatchPublicWorkspacesKnowledgeBasesItemsRequest.js +1 -1
  164. package/dist/generated/src/models/PatchPublicWorkspacesKnowledgeBasesItemsRequestKnowledgeBaseItem.d.ts +1 -1
  165. package/dist/generated/src/models/PatchPublicWorkspacesKnowledgeBasesItemsRequestKnowledgeBaseItem.js +1 -1
  166. package/dist/generated/src/models/PatchPublicWorkspacesKnowledgeBasesRequest.d.ts +1 -1
  167. package/dist/generated/src/models/PatchPublicWorkspacesKnowledgeBasesRequest.js +1 -1
  168. package/dist/generated/src/models/PatchPublicWorkspacesKnowledgeBasesRequestKnowledgeBase.d.ts +1 -1
  169. package/dist/generated/src/models/PatchPublicWorkspacesKnowledgeBasesRequestKnowledgeBase.js +1 -1
  170. package/dist/generated/src/models/PendingDelegation.d.ts +60 -0
  171. package/dist/generated/src/models/PendingDelegation.d.ts.map +1 -0
  172. package/dist/generated/src/models/PendingDelegation.js +66 -0
  173. package/dist/generated/src/models/PendingDelegation.js.map +1 -0
  174. package/dist/generated/src/models/PostPublicWorkspacesAgents200Response.d.ts +1 -1
  175. package/dist/generated/src/models/PostPublicWorkspacesAgents200Response.js +1 -1
  176. package/dist/generated/src/models/PostPublicWorkspacesAgents422Response.d.ts +1 -1
  177. package/dist/generated/src/models/PostPublicWorkspacesAgents422Response.js +1 -1
  178. package/dist/generated/src/models/PostPublicWorkspacesAgentsChats200Response.d.ts +1 -1
  179. package/dist/generated/src/models/PostPublicWorkspacesAgentsChats200Response.js +1 -1
  180. package/dist/generated/src/models/PostPublicWorkspacesAgentsChats200ResponseChat.d.ts +1 -1
  181. package/dist/generated/src/models/PostPublicWorkspacesAgentsChats200ResponseChat.js +1 -1
  182. package/dist/generated/src/models/PostPublicWorkspacesAgentsChats422Response.d.ts +1 -1
  183. package/dist/generated/src/models/PostPublicWorkspacesAgentsChats422Response.js +1 -1
  184. package/dist/generated/src/models/PostPublicWorkspacesAgentsChatsRequest.d.ts +1 -1
  185. package/dist/generated/src/models/PostPublicWorkspacesAgentsChatsRequest.js +1 -1
  186. package/dist/generated/src/models/PostPublicWorkspacesAgentsChatsRequestChat.d.ts +1 -1
  187. package/dist/generated/src/models/PostPublicWorkspacesAgentsChatsRequestChat.js +1 -1
  188. package/dist/generated/src/models/PostPublicWorkspacesAgentsRequest.d.ts +1 -1
  189. package/dist/generated/src/models/PostPublicWorkspacesAgentsRequest.js +1 -1
  190. package/dist/generated/src/models/PostPublicWorkspacesAgentsRequestAgent.d.ts +1 -1
  191. package/dist/generated/src/models/PostPublicWorkspacesAgentsRequestAgent.js +1 -1
  192. package/dist/generated/src/models/PostPublicWorkspacesAssets200Response.d.ts +1 -1
  193. package/dist/generated/src/models/PostPublicWorkspacesAssets200Response.js +1 -1
  194. package/dist/generated/src/models/PostPublicWorkspacesAssets422Response.d.ts +1 -1
  195. package/dist/generated/src/models/PostPublicWorkspacesAssets422Response.js +1 -1
  196. package/dist/generated/src/models/PostPublicWorkspacesKnowledgeBases200Response.d.ts +1 -1
  197. package/dist/generated/src/models/PostPublicWorkspacesKnowledgeBases200Response.js +1 -1
  198. package/dist/generated/src/models/PostPublicWorkspacesKnowledgeBasesItems200Response.d.ts +1 -1
  199. package/dist/generated/src/models/PostPublicWorkspacesKnowledgeBasesItems200Response.js +1 -1
  200. package/dist/generated/src/models/PostPublicWorkspacesKnowledgeBasesItems422Response.d.ts +1 -1
  201. package/dist/generated/src/models/PostPublicWorkspacesKnowledgeBasesItems422Response.js +1 -1
  202. package/dist/generated/src/models/PostPublicWorkspacesKnowledgeBasesItemsRegenerate200Response.d.ts +1 -1
  203. package/dist/generated/src/models/PostPublicWorkspacesKnowledgeBasesItemsRegenerate200Response.js +1 -1
  204. package/dist/generated/src/models/PostPublicWorkspacesKnowledgeBasesItemsRequest.d.ts +1 -1
  205. package/dist/generated/src/models/PostPublicWorkspacesKnowledgeBasesItemsRequest.js +1 -1
  206. package/dist/generated/src/models/PostPublicWorkspacesKnowledgeBasesItemsRequestKnowledgeBaseItem.d.ts +1 -1
  207. package/dist/generated/src/models/PostPublicWorkspacesKnowledgeBasesItemsRequestKnowledgeBaseItem.js +1 -1
  208. package/dist/generated/src/models/PostPublicWorkspacesKnowledgeBasesRequest.d.ts +1 -1
  209. package/dist/generated/src/models/PostPublicWorkspacesKnowledgeBasesRequest.js +1 -1
  210. package/dist/generated/src/models/PostPublicWorkspacesKnowledgeBasesRequestKnowledgeBase.d.ts +1 -1
  211. package/dist/generated/src/models/PostPublicWorkspacesKnowledgeBasesRequestKnowledgeBase.js +1 -1
  212. package/dist/generated/src/models/PostPublicWorkspacesKnowledgeBasesSearch200Response.d.ts +1 -1
  213. package/dist/generated/src/models/PostPublicWorkspacesKnowledgeBasesSearch200Response.js +1 -1
  214. package/dist/generated/src/models/PostPublicWorkspacesKnowledgeBasesSearch422Response.d.ts +1 -1
  215. package/dist/generated/src/models/PostPublicWorkspacesKnowledgeBasesSearch422Response.js +1 -1
  216. package/dist/generated/src/models/PostPublicWorkspacesKnowledgeBasesSearchRequest.d.ts +1 -1
  217. package/dist/generated/src/models/PostPublicWorkspacesKnowledgeBasesSearchRequest.js +1 -1
  218. package/dist/generated/src/models/SseChunk.d.ts +1 -1
  219. package/dist/generated/src/models/SseChunk.js +1 -1
  220. package/dist/generated/src/models/TokenUsage.d.ts +1 -1
  221. package/dist/generated/src/models/TokenUsage.js +1 -1
  222. package/dist/generated/src/models/ToolInvocation.d.ts +1 -1
  223. package/dist/generated/src/models/ToolInvocation.js +1 -1
  224. package/dist/generated/src/models/index.d.ts +4 -0
  225. package/dist/generated/src/models/index.d.ts.map +1 -1
  226. package/dist/generated/src/models/index.js +4 -0
  227. package/dist/generated/src/models/index.js.map +1 -1
  228. package/dist/generated/src/runtime.d.ts +1 -1
  229. package/dist/generated/src/runtime.js +1 -1
  230. package/package.json +1 -1
@@ -5,7 +5,7 @@
5
5
  * Fetch Hive Public API
6
6
  * The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
7
7
  *
8
- * The version of the OpenAPI document: 0.2.8
8
+ * The version of the OpenAPI document: 0.2.9
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Fetch Hive Public API
3
3
  * The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
4
4
  *
5
- * The version of the OpenAPI document: 0.2.8
5
+ * The version of the OpenAPI document: 0.2.9
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Fetch Hive Public API
6
6
  * The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
7
7
  *
8
- * The version of the OpenAPI document: 0.2.8
8
+ * The version of the OpenAPI document: 0.2.9
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Fetch Hive Public API
3
3
  * The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
4
4
  *
5
- * The version of the OpenAPI document: 0.2.8
5
+ * The version of the OpenAPI document: 0.2.9
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Fetch Hive Public API
6
6
  * The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
7
7
  *
8
- * The version of the OpenAPI document: 0.2.8
8
+ * The version of the OpenAPI document: 0.2.9
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Fetch Hive Public API
3
3
  * The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
4
4
  *
5
- * The version of the OpenAPI document: 0.2.8
5
+ * The version of the OpenAPI document: 0.2.9
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Fetch Hive Public API
6
6
  * The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
7
7
  *
8
- * The version of the OpenAPI document: 0.2.8
8
+ * The version of the OpenAPI document: 0.2.9
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Fetch Hive Public API
3
3
  * The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
4
4
  *
5
- * The version of the OpenAPI document: 0.2.8
5
+ * The version of the OpenAPI document: 0.2.9
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Fetch Hive Public API
6
6
  * The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
7
7
  *
8
- * The version of the OpenAPI document: 0.2.8
8
+ * The version of the OpenAPI document: 0.2.9
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Fetch Hive Public API
3
3
  * The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
4
4
  *
5
- * The version of the OpenAPI document: 0.2.8
5
+ * The version of the OpenAPI document: 0.2.9
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Fetch Hive Public API
6
6
  * The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
7
7
  *
8
- * The version of the OpenAPI document: 0.2.8
8
+ * The version of the OpenAPI document: 0.2.9
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Fetch Hive Public API
3
3
  * The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
4
4
  *
5
- * The version of the OpenAPI document: 0.2.8
5
+ * The version of the OpenAPI document: 0.2.9
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Fetch Hive Public API
6
6
  * The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
7
7
  *
8
- * The version of the OpenAPI document: 0.2.8
8
+ * The version of the OpenAPI document: 0.2.9
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Fetch Hive Public API
3
3
  * The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
4
4
  *
5
- * The version of the OpenAPI document: 0.2.8
5
+ * The version of the OpenAPI document: 0.2.9
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Fetch Hive Public API
6
6
  * The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
7
7
  *
8
- * The version of the OpenAPI document: 0.2.8
8
+ * The version of the OpenAPI document: 0.2.9
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Fetch Hive Public API
3
3
  * The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
4
4
  *
5
- * The version of the OpenAPI document: 0.2.8
5
+ * The version of the OpenAPI document: 0.2.9
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Fetch Hive Public API
6
6
  * The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
7
7
  *
8
- * The version of the OpenAPI document: 0.2.8
8
+ * The version of the OpenAPI document: 0.2.9
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Fetch Hive Public API
3
3
  * The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
4
4
  *
5
- * The version of the OpenAPI document: 0.2.8
5
+ * The version of the OpenAPI document: 0.2.9
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Fetch Hive Public API
6
6
  * The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
7
7
  *
8
- * The version of the OpenAPI document: 0.2.8
8
+ * The version of the OpenAPI document: 0.2.9
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Fetch Hive Public API
3
3
  * The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
4
4
  *
5
- * The version of the OpenAPI document: 0.2.8
5
+ * The version of the OpenAPI document: 0.2.9
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Fetch Hive Public API
6
6
  * The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
7
7
  *
8
- * The version of the OpenAPI document: 0.2.8
8
+ * The version of the OpenAPI document: 0.2.9
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Fetch Hive Public API
3
3
  * The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
4
4
  *
5
- * The version of the OpenAPI document: 0.2.8
5
+ * The version of the OpenAPI document: 0.2.9
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Fetch Hive Public API
6
6
  * The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
7
7
  *
8
- * The version of the OpenAPI document: 0.2.8
8
+ * The version of the OpenAPI document: 0.2.9
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Fetch Hive Public API
3
3
  * The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
4
4
  *
5
- * The version of the OpenAPI document: 0.2.8
5
+ * The version of the OpenAPI document: 0.2.9
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Fetch Hive Public API
6
6
  * The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
7
7
  *
8
- * The version of the OpenAPI document: 0.2.8
8
+ * The version of the OpenAPI document: 0.2.9
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Fetch Hive Public API
3
3
  * The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
4
4
  *
5
- * The version of the OpenAPI document: 0.2.8
5
+ * The version of the OpenAPI document: 0.2.9
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Fetch Hive Public API
6
6
  * The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
7
7
  *
8
- * The version of the OpenAPI document: 0.2.8
8
+ * The version of the OpenAPI document: 0.2.9
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,60 @@
1
+ /**
2
+ * Fetch Hive Public API
3
+ * The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
4
+ *
5
+ * The version of the OpenAPI document: 0.2.9
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface PendingDelegation
16
+ */
17
+ export interface PendingDelegation {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof PendingDelegation
22
+ */
23
+ id: string;
24
+ /**
25
+ *
26
+ * @type {PendingDelegationKindEnum}
27
+ * @memberof PendingDelegation
28
+ */
29
+ kind: PendingDelegationKindEnum;
30
+ /**
31
+ *
32
+ * @type {{ [key: string]: any; }}
33
+ * @memberof PendingDelegation
34
+ */
35
+ target?: {
36
+ [key: string]: any;
37
+ };
38
+ /**
39
+ *
40
+ * @type {Date}
41
+ * @memberof PendingDelegation
42
+ */
43
+ expectedBy?: Date;
44
+ }
45
+ /**
46
+ * @export
47
+ */
48
+ export declare const PendingDelegationKindEnum: {
49
+ readonly WORKFLOW: "workflow";
50
+ };
51
+ export type PendingDelegationKindEnum = typeof PendingDelegationKindEnum[keyof typeof PendingDelegationKindEnum];
52
+ /**
53
+ * Check if a given object implements the PendingDelegation interface.
54
+ */
55
+ export declare function instanceOfPendingDelegation(value: object): value is PendingDelegation;
56
+ export declare function PendingDelegationFromJSON(json: any): PendingDelegation;
57
+ export declare function PendingDelegationFromJSONTyped(json: any, ignoreDiscriminator: boolean): PendingDelegation;
58
+ export declare function PendingDelegationToJSON(json: any): PendingDelegation;
59
+ export declare function PendingDelegationToJSONTyped(value?: PendingDelegation | null, ignoreDiscriminator?: boolean): any;
60
+ //# sourceMappingURL=PendingDelegation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PendingDelegation.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/models/PendingDelegation.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,IAAI,EAAE,yBAAyB,CAAC;IAChC;;;;OAIG;IACH,MAAM,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC;IACjC;;;;OAIG;IACH,UAAU,CAAC,EAAE,IAAI,CAAC;CACrB;AAGD;;GAEG;AACH,eAAO,MAAM,yBAAyB;;CAE5B,CAAC;AACX,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC,MAAM,OAAO,yBAAyB,CAAC,CAAC;AAGjH;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,iBAAiB,CAIrF;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,CAEtE;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,iBAAiB,CAWzG;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,CAEpE;AAED,wBAAgB,4BAA4B,CAAC,KAAK,CAAC,EAAE,iBAAiB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAYxH"}
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Fetch Hive Public API
6
+ * The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
7
+ *
8
+ * The version of the OpenAPI document: 0.2.9
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.PendingDelegationKindEnum = void 0;
17
+ exports.instanceOfPendingDelegation = instanceOfPendingDelegation;
18
+ exports.PendingDelegationFromJSON = PendingDelegationFromJSON;
19
+ exports.PendingDelegationFromJSONTyped = PendingDelegationFromJSONTyped;
20
+ exports.PendingDelegationToJSON = PendingDelegationToJSON;
21
+ exports.PendingDelegationToJSONTyped = PendingDelegationToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.PendingDelegationKindEnum = {
26
+ WORKFLOW: 'workflow'
27
+ };
28
+ /**
29
+ * Check if a given object implements the PendingDelegation interface.
30
+ */
31
+ function instanceOfPendingDelegation(value) {
32
+ if (!('id' in value) || value['id'] === undefined)
33
+ return false;
34
+ if (!('kind' in value) || value['kind'] === undefined)
35
+ return false;
36
+ return true;
37
+ }
38
+ function PendingDelegationFromJSON(json) {
39
+ return PendingDelegationFromJSONTyped(json, false);
40
+ }
41
+ function PendingDelegationFromJSONTyped(json, ignoreDiscriminator) {
42
+ if (json == null) {
43
+ return json;
44
+ }
45
+ return {
46
+ 'id': json['id'],
47
+ 'kind': json['kind'],
48
+ 'target': json['target'] == null ? undefined : json['target'],
49
+ 'expectedBy': json['expected_by'] == null ? undefined : (new Date(json['expected_by'])),
50
+ };
51
+ }
52
+ function PendingDelegationToJSON(json) {
53
+ return PendingDelegationToJSONTyped(json, false);
54
+ }
55
+ function PendingDelegationToJSONTyped(value, ignoreDiscriminator = false) {
56
+ if (value == null) {
57
+ return value;
58
+ }
59
+ return {
60
+ 'id': value['id'],
61
+ 'kind': value['kind'],
62
+ 'target': value['target'],
63
+ 'expected_by': value['expectedBy'] == null ? value['expectedBy'] : value['expectedBy'].toISOString(),
64
+ };
65
+ }
66
+ //# sourceMappingURL=PendingDelegation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PendingDelegation.js","sourceRoot":"","sources":["../../../../src/generated/src/models/PendingDelegation.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAgDH,kEAIC;AAED,8DAEC;AAED,wEAWC;AAED,0DAEC;AAED,oEAYC;AAnDD;;GAEG;AACU,QAAA,yBAAyB,GAAG;IACrC,QAAQ,EAAE,UAAU;CACd,CAAC;AAIX;;GAEG;AACH,SAAgB,2BAA2B,CAAC,KAAa;IACrD,IAAI,CAAC,CAAC,IAAI,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChE,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,yBAAyB,CAAC,IAAS;IAC/C,OAAO,8BAA8B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACvD,CAAC;AAED,SAAgB,8BAA8B,CAAC,IAAS,EAAE,mBAA4B;IAClF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;QAChB,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;QACpB,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC;QAC7D,YAAY,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC;KAC1F,CAAC;AACN,CAAC;AAED,SAAgB,uBAAuB,CAAC,IAAS;IAC7C,OAAO,4BAA4B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACrD,CAAC;AAED,SAAgB,4BAA4B,CAAC,KAAgC,EAAE,sBAA+B,KAAK;IAC/G,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC;QACjB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC;QACzB,aAAa,EAAE,KAAK,CAAC,YAAY,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,WAAW,EAAE;KACvG,CAAC;AACN,CAAC"}
@@ -2,7 +2,7 @@
2
2
  * Fetch Hive Public API
3
3
  * The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
4
4
  *
5
- * The version of the OpenAPI document: 0.2.8
5
+ * The version of the OpenAPI document: 0.2.9
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Fetch Hive Public API
6
6
  * The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
7
7
  *
8
- * The version of the OpenAPI document: 0.2.8
8
+ * The version of the OpenAPI document: 0.2.9
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Fetch Hive Public API
3
3
  * The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
4
4
  *
5
- * The version of the OpenAPI document: 0.2.8
5
+ * The version of the OpenAPI document: 0.2.9
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Fetch Hive Public API
6
6
  * The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
7
7
  *
8
- * The version of the OpenAPI document: 0.2.8
8
+ * The version of the OpenAPI document: 0.2.9
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Fetch Hive Public API
3
3
  * The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
4
4
  *
5
- * The version of the OpenAPI document: 0.2.8
5
+ * The version of the OpenAPI document: 0.2.9
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Fetch Hive Public API
6
6
  * The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
7
7
  *
8
- * The version of the OpenAPI document: 0.2.8
8
+ * The version of the OpenAPI document: 0.2.9
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Fetch Hive Public API
3
3
  * The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
4
4
  *
5
- * The version of the OpenAPI document: 0.2.8
5
+ * The version of the OpenAPI document: 0.2.9
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Fetch Hive Public API
6
6
  * The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
7
7
  *
8
- * The version of the OpenAPI document: 0.2.8
8
+ * The version of the OpenAPI document: 0.2.9
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Fetch Hive Public API
3
3
  * The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
4
4
  *
5
- * The version of the OpenAPI document: 0.2.8
5
+ * The version of the OpenAPI document: 0.2.9
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Fetch Hive Public API
6
6
  * The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
7
7
  *
8
- * The version of the OpenAPI document: 0.2.8
8
+ * The version of the OpenAPI document: 0.2.9
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Fetch Hive Public API
3
3
  * The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
4
4
  *
5
- * The version of the OpenAPI document: 0.2.8
5
+ * The version of the OpenAPI document: 0.2.9
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Fetch Hive Public API
6
6
  * The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
7
7
  *
8
- * The version of the OpenAPI document: 0.2.8
8
+ * The version of the OpenAPI document: 0.2.9
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Fetch Hive Public API
3
3
  * The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
4
4
  *
5
- * The version of the OpenAPI document: 0.2.8
5
+ * The version of the OpenAPI document: 0.2.9
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Fetch Hive Public API
6
6
  * The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
7
7
  *
8
- * The version of the OpenAPI document: 0.2.8
8
+ * The version of the OpenAPI document: 0.2.9
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Fetch Hive Public API
3
3
  * The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
4
4
  *
5
- * The version of the OpenAPI document: 0.2.8
5
+ * The version of the OpenAPI document: 0.2.9
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Fetch Hive Public API
6
6
  * The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
7
7
  *
8
- * The version of the OpenAPI document: 0.2.8
8
+ * The version of the OpenAPI document: 0.2.9
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Fetch Hive Public API
3
3
  * The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
4
4
  *
5
- * The version of the OpenAPI document: 0.2.8
5
+ * The version of the OpenAPI document: 0.2.9
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).