@bubblelab/bubble-core 0.1.9 → 0.1.11

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 (355) hide show
  1. package/dist/bubble-bundle.d.ts +633 -1658
  2. package/dist/bubble-factory.d.ts.map +1 -1
  3. package/dist/bubble-factory.js +165 -43
  4. package/dist/bubble-factory.js.map +1 -1
  5. package/dist/bubble-flow/bubble-flow-class.d.ts +22 -1
  6. package/dist/bubble-flow/bubble-flow-class.d.ts.map +1 -1
  7. package/dist/bubble-flow/bubble-flow-class.js +36 -0
  8. package/dist/bubble-flow/bubble-flow-class.js.map +1 -1
  9. package/dist/bubble-flow/sample/data-analyst-flow.d.ts +1 -1
  10. package/dist/bubble-flow/sample/data-analyst-flow.d.ts.map +1 -1
  11. package/dist/bubble-flow/sample/error-ts.d.ts +1 -1
  12. package/dist/bubble-flow/sample/error-ts.d.ts.map +1 -1
  13. package/dist/bubble-flow/sample/sanitytest.d.ts +1 -1
  14. package/dist/bubble-flow/sample/sanitytest.d.ts.map +1 -1
  15. package/dist/bubble-flow/sample/simple-webhook-2.d.ts +1 -1
  16. package/dist/bubble-flow/sample/simple-webhook-2.d.ts.map +1 -1
  17. package/dist/bubble-flow/sample/simple-webhook.d.ts +1 -1
  18. package/dist/bubble-flow/sample/simple-webhook.d.ts.map +1 -1
  19. package/dist/bubble-flow/sample/simplified-data-analysis.flow.d.ts +1 -1
  20. package/dist/bubble-flow/sample/simplified-data-analysis.flow.d.ts.map +1 -1
  21. package/dist/bubble-flow/sample/simplified-data-analysis.flow.js +6 -3
  22. package/dist/bubble-flow/sample/simplified-data-analysis.flow.js.map +1 -1
  23. package/dist/bubble-flow/sample/slack-v0.1.d.ts +1 -1
  24. package/dist/bubble-flow/sample/slack-v0.1.d.ts.map +1 -1
  25. package/dist/bubble-flow/sample/slackagenttest.d.ts +1 -1
  26. package/dist/bubble-flow/sample/slackagenttest.d.ts.map +1 -1
  27. package/dist/bubbles/service-bubble/agi-inc.d.ts +1121 -0
  28. package/dist/bubbles/service-bubble/agi-inc.d.ts.map +1 -0
  29. package/dist/bubbles/service-bubble/agi-inc.js +730 -0
  30. package/dist/bubbles/service-bubble/agi-inc.js.map +1 -0
  31. package/dist/bubbles/service-bubble/ai-agent.d.ts +297 -85
  32. package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
  33. package/dist/bubbles/service-bubble/ai-agent.js +535 -399
  34. package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
  35. package/dist/bubbles/service-bubble/airtable.d.ts +1753 -0
  36. package/dist/bubbles/service-bubble/airtable.d.ts.map +1 -0
  37. package/dist/bubbles/service-bubble/airtable.js +1173 -0
  38. package/dist/bubbles/service-bubble/airtable.js.map +1 -0
  39. package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.d.ts +240 -0
  40. package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.d.ts.map +1 -0
  41. package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.js +119 -0
  42. package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.js.map +1 -0
  43. package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +38 -38
  44. package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +56 -56
  45. package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.d.ts +137 -0
  46. package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.d.ts.map +1 -0
  47. package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.js +81 -0
  48. package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.js.map +1 -0
  49. package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +27 -27
  50. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +38 -38
  51. package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +488 -0
  52. package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts.map +1 -0
  53. package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.js +463 -0
  54. package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.js.map +1 -0
  55. package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +262 -0
  56. package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts.map +1 -0
  57. package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.js +291 -0
  58. package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.js.map +1 -0
  59. package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +184 -0
  60. package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts.map +1 -0
  61. package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.js +145 -0
  62. package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.js.map +1 -0
  63. package/dist/bubbles/service-bubble/apify/actors/youtube-transcript-scraper.d.ts +52 -0
  64. package/dist/bubbles/service-bubble/apify/actors/youtube-transcript-scraper.d.ts.map +1 -0
  65. package/dist/bubbles/service-bubble/apify/actors/youtube-transcript-scraper.js +29 -0
  66. package/dist/bubbles/service-bubble/apify/actors/youtube-transcript-scraper.js.map +1 -0
  67. package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +1483 -123
  68. package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts.map +1 -1
  69. package/dist/bubbles/service-bubble/apify/apify-scraper.schema.js +48 -0
  70. package/dist/bubbles/service-bubble/apify/apify-scraper.schema.js.map +1 -1
  71. package/dist/bubbles/service-bubble/apify/apify.d.ts +156 -11
  72. package/dist/bubbles/service-bubble/apify/apify.d.ts.map +1 -1
  73. package/dist/bubbles/service-bubble/apify/apify.js +205 -32
  74. package/dist/bubbles/service-bubble/apify/apify.js.map +1 -1
  75. package/dist/bubbles/service-bubble/apify/index.d.ts +2 -0
  76. package/dist/bubbles/service-bubble/apify/index.d.ts.map +1 -1
  77. package/dist/bubbles/service-bubble/apify/index.js +3 -0
  78. package/dist/bubbles/service-bubble/apify/index.js.map +1 -1
  79. package/dist/bubbles/service-bubble/apify/types.js +1 -2
  80. package/dist/bubbles/service-bubble/apify/types.js.map +1 -1
  81. package/dist/bubbles/service-bubble/eleven-labs.d.ts +421 -0
  82. package/dist/bubbles/service-bubble/eleven-labs.d.ts.map +1 -0
  83. package/dist/bubbles/service-bubble/eleven-labs.js +479 -0
  84. package/dist/bubbles/service-bubble/eleven-labs.js.map +1 -0
  85. package/dist/bubbles/service-bubble/firecrawl.d.ts +37748 -0
  86. package/dist/bubbles/service-bubble/firecrawl.d.ts.map +1 -0
  87. package/dist/bubbles/service-bubble/firecrawl.js +1489 -0
  88. package/dist/bubbles/service-bubble/firecrawl.js.map +1 -0
  89. package/dist/bubbles/service-bubble/followupboss.d.ts +6822 -0
  90. package/dist/bubbles/service-bubble/followupboss.d.ts.map +1 -0
  91. package/dist/bubbles/service-bubble/followupboss.js +1394 -0
  92. package/dist/bubbles/service-bubble/followupboss.js.map +1 -0
  93. package/dist/bubbles/service-bubble/github.d.ts +2399 -0
  94. package/dist/bubbles/service-bubble/github.d.ts.map +1 -0
  95. package/dist/bubbles/service-bubble/github.js +1052 -0
  96. package/dist/bubbles/service-bubble/github.js.map +1 -0
  97. package/dist/bubbles/service-bubble/gmail.d.ts +726 -232
  98. package/dist/bubbles/service-bubble/gmail.d.ts.map +1 -1
  99. package/dist/bubbles/service-bubble/gmail.js +435 -7
  100. package/dist/bubbles/service-bubble/gmail.js.map +1 -1
  101. package/dist/bubbles/service-bubble/google-calendar.d.ts +8 -8
  102. package/dist/bubbles/service-bubble/google-drive.d.ts +270 -40
  103. package/dist/bubbles/service-bubble/google-drive.d.ts.map +1 -1
  104. package/dist/bubbles/service-bubble/google-drive.js +100 -78
  105. package/dist/bubbles/service-bubble/google-drive.js.map +1 -1
  106. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +943 -0
  107. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts.map +1 -0
  108. package/dist/bubbles/service-bubble/google-sheets/google-sheets.integration.flow.d.ts +31 -0
  109. package/dist/bubbles/service-bubble/google-sheets/google-sheets.integration.flow.d.ts.map +1 -0
  110. package/dist/bubbles/service-bubble/google-sheets/google-sheets.integration.flow.js +184 -0
  111. package/dist/bubbles/service-bubble/google-sheets/google-sheets.integration.flow.js.map +1 -0
  112. package/dist/bubbles/service-bubble/google-sheets/google-sheets.js +401 -0
  113. package/dist/bubbles/service-bubble/google-sheets/google-sheets.js.map +1 -0
  114. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +1024 -0
  115. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts.map +1 -0
  116. package/dist/bubbles/service-bubble/{google-sheets.js → google-sheets/google-sheets.schema.js} +45 -409
  117. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.js.map +1 -0
  118. package/dist/bubbles/service-bubble/google-sheets/google-sheets.utils.d.ts +38 -0
  119. package/dist/bubbles/service-bubble/google-sheets/google-sheets.utils.d.ts.map +1 -0
  120. package/dist/bubbles/service-bubble/google-sheets/google-sheets.utils.js +183 -0
  121. package/dist/bubbles/service-bubble/google-sheets/google-sheets.utils.js.map +1 -0
  122. package/dist/bubbles/service-bubble/google-sheets/index.d.ts +4 -0
  123. package/dist/bubbles/service-bubble/google-sheets/index.d.ts.map +1 -0
  124. package/dist/bubbles/service-bubble/google-sheets/index.js +4 -0
  125. package/dist/bubbles/service-bubble/google-sheets/index.js.map +1 -0
  126. package/dist/bubbles/service-bubble/hello-world.js +2 -2
  127. package/dist/bubbles/service-bubble/hello-world.js.map +1 -1
  128. package/dist/bubbles/service-bubble/http.d.ts +6 -6
  129. package/dist/bubbles/service-bubble/http.d.ts.map +1 -1
  130. package/dist/bubbles/service-bubble/http.js +7 -1
  131. package/dist/bubbles/service-bubble/http.js.map +1 -1
  132. package/dist/bubbles/service-bubble/insforge-db.d.ts +140 -0
  133. package/dist/bubbles/service-bubble/insforge-db.d.ts.map +1 -0
  134. package/dist/bubbles/service-bubble/insforge-db.js +260 -0
  135. package/dist/bubbles/service-bubble/insforge-db.js.map +1 -0
  136. package/dist/bubbles/service-bubble/notion/index.d.ts +3 -0
  137. package/dist/bubbles/service-bubble/notion/index.d.ts.map +1 -0
  138. package/dist/bubbles/service-bubble/notion/index.js +3 -0
  139. package/dist/bubbles/service-bubble/notion/index.js.map +1 -0
  140. package/dist/bubbles/service-bubble/notion/notion.d.ts +35405 -0
  141. package/dist/bubbles/service-bubble/notion/notion.d.ts.map +1 -0
  142. package/dist/bubbles/service-bubble/notion/notion.js +1492 -0
  143. package/dist/bubbles/service-bubble/notion/notion.js.map +1 -0
  144. package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +1148 -0
  145. package/dist/bubbles/service-bubble/notion/property-schemas.d.ts.map +1 -0
  146. package/dist/bubbles/service-bubble/notion/property-schemas.js +341 -0
  147. package/dist/bubbles/service-bubble/notion/property-schemas.js.map +1 -0
  148. package/dist/bubbles/service-bubble/postgresql.d.ts +8 -8
  149. package/dist/bubbles/service-bubble/resend.d.ts +30 -9
  150. package/dist/bubbles/service-bubble/resend.d.ts.map +1 -1
  151. package/dist/bubbles/service-bubble/resend.js +133 -2
  152. package/dist/bubbles/service-bubble/resend.js.map +1 -1
  153. package/dist/bubbles/service-bubble/slack.d.ts +525 -525
  154. package/dist/bubbles/service-bubble/slack.d.ts.map +1 -1
  155. package/dist/bubbles/service-bubble/slack.js +2 -2
  156. package/dist/bubbles/service-bubble/slack.js.map +1 -1
  157. package/dist/bubbles/service-bubble/storage.d.ts +21 -17
  158. package/dist/bubbles/service-bubble/storage.d.ts.map +1 -1
  159. package/dist/bubbles/service-bubble/storage.js +59 -7
  160. package/dist/bubbles/service-bubble/storage.js.map +1 -1
  161. package/dist/bubbles/service-bubble/telegram.d.ts +7742 -0
  162. package/dist/bubbles/service-bubble/telegram.d.ts.map +1 -0
  163. package/dist/bubbles/service-bubble/telegram.js +1132 -0
  164. package/dist/bubbles/service-bubble/telegram.js.map +1 -0
  165. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +60 -4
  166. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts.map +1 -1
  167. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.js +12 -0
  168. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.js.map +1 -1
  169. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +4 -4
  170. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +188 -0
  171. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts.map +1 -0
  172. package/dist/bubbles/tool-bubble/code-edit-tool.js +321 -0
  173. package/dist/bubbles/tool-bubble/code-edit-tool.js.map +1 -0
  174. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +8 -4
  175. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts.map +1 -1
  176. package/dist/bubbles/tool-bubble/get-bubble-details-tool.js +132 -19
  177. package/dist/bubbles/tool-bubble/get-bubble-details-tool.js.map +1 -1
  178. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +455 -0
  179. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts.map +1 -0
  180. package/dist/bubbles/tool-bubble/google-maps-tool.js +205 -0
  181. package/dist/bubbles/tool-bubble/google-maps-tool.js.map +1 -0
  182. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +90 -90
  183. package/dist/bubbles/tool-bubble/instagram-tool.d.ts.map +1 -1
  184. package/dist/bubbles/tool-bubble/instagram-tool.js +2 -2
  185. package/dist/bubbles/tool-bubble/instagram-tool.js.map +1 -1
  186. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +808 -431
  187. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts.map +1 -1
  188. package/dist/bubbles/tool-bubble/linkedin-tool.js +232 -12
  189. package/dist/bubbles/tool-bubble/linkedin-tool.js.map +1 -1
  190. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
  191. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +21 -16
  192. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts.map +1 -1
  193. package/dist/bubbles/tool-bubble/reddit-scrape-tool.js +97 -22
  194. package/dist/bubbles/tool-bubble/reddit-scrape-tool.js.map +1 -1
  195. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +17 -16
  196. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts.map +1 -1
  197. package/dist/bubbles/tool-bubble/research-agent-tool.js +27 -17
  198. package/dist/bubbles/tool-bubble/research-agent-tool.js.map +1 -1
  199. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +4 -4
  200. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +485 -0
  201. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts.map +1 -0
  202. package/dist/bubbles/tool-bubble/tiktok-tool.js +226 -0
  203. package/dist/bubbles/tool-bubble/tiktok-tool.js.map +1 -0
  204. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +947 -0
  205. package/dist/bubbles/tool-bubble/twitter-tool.d.ts.map +1 -0
  206. package/dist/bubbles/tool-bubble/twitter-tool.js +494 -0
  207. package/dist/bubbles/tool-bubble/twitter-tool.js.map +1 -0
  208. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +32 -26
  209. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts.map +1 -1
  210. package/dist/bubbles/tool-bubble/web-crawl-tool.js +58 -59
  211. package/dist/bubbles/tool-bubble/web-crawl-tool.js.map +1 -1
  212. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +4 -4
  213. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts.map +1 -1
  214. package/dist/bubbles/tool-bubble/web-extract-tool.js +17 -17
  215. package/dist/bubbles/tool-bubble/web-extract-tool.js.map +1 -1
  216. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +23 -115
  217. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts.map +1 -1
  218. package/dist/bubbles/tool-bubble/web-scrape-tool.js +51 -72
  219. package/dist/bubbles/tool-bubble/web-scrape-tool.js.map +1 -1
  220. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +18 -6
  221. package/dist/bubbles/tool-bubble/web-search-tool.d.ts.map +1 -1
  222. package/dist/bubbles/tool-bubble/web-search-tool.js +46 -32
  223. package/dist/bubbles/tool-bubble/web-search-tool.js.map +1 -1
  224. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +394 -0
  225. package/dist/bubbles/tool-bubble/youtube-tool.d.ts.map +1 -0
  226. package/dist/bubbles/tool-bubble/youtube-tool.js +352 -0
  227. package/dist/bubbles/tool-bubble/youtube-tool.js.map +1 -0
  228. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +78 -78
  229. package/dist/bubbles/workflow-bubble/generate-document.workflow.js +1 -1
  230. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +62 -62
  231. package/dist/bubbles/workflow-bubble/parse-document.workflow.js +1 -1
  232. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +80 -80
  233. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts.map +1 -1
  234. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.js +4 -4
  235. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.js.map +1 -1
  236. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +52 -52
  237. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts.map +1 -1
  238. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.js +2 -2
  239. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.js.map +1 -1
  240. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +32 -32
  241. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts.map +1 -1
  242. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.js +6 -6
  243. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.js.map +1 -1
  244. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +46 -46
  245. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts.map +1 -1
  246. package/dist/bubbles/workflow-bubble/slack-formatter-agent.js +24 -4
  247. package/dist/bubbles/workflow-bubble/slack-formatter-agent.js.map +1 -1
  248. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +27 -27
  249. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts.map +1 -1
  250. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.js +8 -8
  251. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.js.map +1 -1
  252. package/dist/bubbles.json +251 -88
  253. package/dist/index.d.ts +27 -6
  254. package/dist/index.d.ts.map +1 -1
  255. package/dist/index.js +18 -4
  256. package/dist/index.js.map +1 -1
  257. package/dist/logging/BubbleLogger.d.ts +45 -16
  258. package/dist/logging/BubbleLogger.d.ts.map +1 -1
  259. package/dist/logging/BubbleLogger.js +197 -89
  260. package/dist/logging/BubbleLogger.js.map +1 -1
  261. package/dist/logging/StreamingBubbleLogger.d.ts +13 -1
  262. package/dist/logging/StreamingBubbleLogger.d.ts.map +1 -1
  263. package/dist/logging/StreamingBubbleLogger.js +56 -13
  264. package/dist/logging/StreamingBubbleLogger.js.map +1 -1
  265. package/dist/logging/WebhookStreamLogger.d.ts +66 -0
  266. package/dist/logging/WebhookStreamLogger.d.ts.map +1 -0
  267. package/dist/logging/WebhookStreamLogger.js +291 -0
  268. package/dist/logging/WebhookStreamLogger.js.map +1 -0
  269. package/dist/types/available-tools.d.ts +1 -1
  270. package/dist/types/available-tools.d.ts.map +1 -1
  271. package/dist/types/available-tools.js +1 -0
  272. package/dist/types/available-tools.js.map +1 -1
  273. package/dist/types/base-bubble-class.d.ts +7 -5
  274. package/dist/types/base-bubble-class.d.ts.map +1 -1
  275. package/dist/types/base-bubble-class.js +63 -40
  276. package/dist/types/base-bubble-class.js.map +1 -1
  277. package/dist/types/bubble.d.ts +3 -10
  278. package/dist/types/bubble.d.ts.map +1 -1
  279. package/dist/types/bubble.js +1 -1
  280. package/dist/types/bubble.js.map +1 -1
  281. package/dist/types/service-bubble-class.d.ts +2 -2
  282. package/dist/types/service-bubble-class.d.ts.map +1 -1
  283. package/dist/types/service-bubble-class.js +2 -2
  284. package/dist/types/service-bubble-class.js.map +1 -1
  285. package/dist/types/tool-bubble-class.d.ts +2 -2
  286. package/dist/types/tool-bubble-class.d.ts.map +1 -1
  287. package/dist/types/tool-bubble-class.js +2 -4
  288. package/dist/types/tool-bubble-class.js.map +1 -1
  289. package/dist/types/workflow-bubble-class.d.ts +2 -2
  290. package/dist/types/workflow-bubble-class.d.ts.map +1 -1
  291. package/dist/types/workflow-bubble-class.js +2 -2
  292. package/dist/types/workflow-bubble-class.js.map +1 -1
  293. package/dist/utils/agent-formatter.d.ts +14 -2
  294. package/dist/utils/agent-formatter.d.ts.map +1 -1
  295. package/dist/utils/agent-formatter.js +176 -28
  296. package/dist/utils/agent-formatter.js.map +1 -1
  297. package/dist/utils/bubbleflow-validation.d.ts +7 -0
  298. package/dist/utils/bubbleflow-validation.d.ts.map +1 -1
  299. package/dist/utils/bubbleflow-validation.js +257 -35
  300. package/dist/utils/bubbleflow-validation.js.map +1 -1
  301. package/dist/utils/error-sanitizer.d.ts +12 -0
  302. package/dist/utils/error-sanitizer.d.ts.map +1 -0
  303. package/dist/utils/error-sanitizer.js +77 -0
  304. package/dist/utils/error-sanitizer.js.map +1 -0
  305. package/dist/utils/json-parsing.d.ts.map +1 -1
  306. package/dist/utils/json-parsing.js +146 -0
  307. package/dist/utils/json-parsing.js.map +1 -1
  308. package/dist/utils/safe-gemini-chat.d.ts +31 -0
  309. package/dist/utils/safe-gemini-chat.d.ts.map +1 -0
  310. package/dist/utils/safe-gemini-chat.js +93 -0
  311. package/dist/utils/safe-gemini-chat.js.map +1 -0
  312. package/dist/utils/schema-comparison.d.ts +92 -0
  313. package/dist/utils/schema-comparison.d.ts.map +1 -0
  314. package/dist/utils/schema-comparison.js +716 -0
  315. package/dist/utils/schema-comparison.js.map +1 -0
  316. package/dist/utils/zod-schema.d.ts +24 -0
  317. package/dist/utils/zod-schema.d.ts.map +1 -0
  318. package/dist/utils/zod-schema.js +56 -0
  319. package/dist/utils/zod-schema.js.map +1 -0
  320. package/package.json +7 -6
  321. package/dist/bubble-trigger/index.d.ts +0 -2
  322. package/dist/bubble-trigger/index.d.ts.map +0 -1
  323. package/dist/bubble-trigger/index.js +0 -2
  324. package/dist/bubble-trigger/index.js.map +0 -1
  325. package/dist/bubble-trigger/types.d.ts +0 -87
  326. package/dist/bubble-trigger/types.d.ts.map +0 -1
  327. package/dist/bubble-trigger/types.js +0 -14
  328. package/dist/bubble-trigger/types.js.map +0 -1
  329. package/dist/bubbles/service-bubble/apify/api-scraper.schema.d.ts +0 -370
  330. package/dist/bubbles/service-bubble/apify/api-scraper.schema.d.ts.map +0 -1
  331. package/dist/bubbles/service-bubble/apify/api-scraper.schema.js +0 -14
  332. package/dist/bubbles/service-bubble/apify/api-scraper.schema.js.map +0 -1
  333. package/dist/bubbles/service-bubble/apify.d.ts +0 -136
  334. package/dist/bubbles/service-bubble/apify.d.ts.map +0 -1
  335. package/dist/bubbles/service-bubble/apify.js +0 -282
  336. package/dist/bubbles/service-bubble/apify.js.map +0 -1
  337. package/dist/bubbles/service-bubble/google-sheets.d.ts +0 -1811
  338. package/dist/bubbles/service-bubble/google-sheets.d.ts.map +0 -1
  339. package/dist/bubbles/service-bubble/google-sheets.js.map +0 -1
  340. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.d.ts +0 -114
  341. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.d.ts.map +0 -1
  342. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.js +0 -782
  343. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.js.map +0 -1
  344. package/dist/types/ai-models.d.ts +0 -4
  345. package/dist/types/ai-models.d.ts.map +0 -1
  346. package/dist/types/ai-models.js +0 -20
  347. package/dist/types/ai-models.js.map +0 -1
  348. package/dist/types/api-scraper.schema.d.ts +0 -453
  349. package/dist/types/api-scraper.schema.d.ts.map +0 -1
  350. package/dist/types/api-scraper.schema.js +0 -160
  351. package/dist/types/api-scraper.schema.js.map +0 -1
  352. package/dist/utils/param-helper.d.ts +0 -2
  353. package/dist/utils/param-helper.d.ts.map +0 -1
  354. package/dist/utils/param-helper.js +0 -5
  355. package/dist/utils/param-helper.js.map +0 -1
@@ -0,0 +1,2399 @@
1
+ import { z } from 'zod';
2
+ import { ServiceBubble } from '../../types/service-bubble-class.js';
3
+ import type { BubbleContext } from '../../types/bubble.js';
4
+ import { CredentialType } from '@bubblelab/shared-schemas';
5
+ declare const GithubParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
6
+ operation: z.ZodLiteral<"get_file">;
7
+ owner: z.ZodString;
8
+ repo: z.ZodString;
9
+ path: z.ZodString;
10
+ ref: z.ZodOptional<z.ZodString>;
11
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
12
+ }, "strip", z.ZodTypeAny, {
13
+ path: string;
14
+ operation: "get_file";
15
+ owner: string;
16
+ repo: string;
17
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
18
+ ref?: string | undefined;
19
+ }, {
20
+ path: string;
21
+ operation: "get_file";
22
+ owner: string;
23
+ repo: string;
24
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
25
+ ref?: string | undefined;
26
+ }>, z.ZodObject<{
27
+ operation: z.ZodLiteral<"get_directory">;
28
+ owner: z.ZodString;
29
+ repo: z.ZodString;
30
+ path: z.ZodDefault<z.ZodOptional<z.ZodString>>;
31
+ ref: z.ZodOptional<z.ZodString>;
32
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
33
+ }, "strip", z.ZodTypeAny, {
34
+ path: string;
35
+ operation: "get_directory";
36
+ owner: string;
37
+ repo: string;
38
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
39
+ ref?: string | undefined;
40
+ }, {
41
+ operation: "get_directory";
42
+ owner: string;
43
+ repo: string;
44
+ path?: string | undefined;
45
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
46
+ ref?: string | undefined;
47
+ }>, z.ZodObject<{
48
+ operation: z.ZodLiteral<"list_pull_requests">;
49
+ owner: z.ZodString;
50
+ repo: z.ZodString;
51
+ state: z.ZodDefault<z.ZodOptional<z.ZodEnum<["open", "closed", "all"]>>>;
52
+ sort: z.ZodDefault<z.ZodOptional<z.ZodEnum<["created", "updated", "popularity", "long-running"]>>>;
53
+ direction: z.ZodDefault<z.ZodOptional<z.ZodEnum<["asc", "desc"]>>>;
54
+ per_page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
55
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
56
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
57
+ }, "strip", z.ZodTypeAny, {
58
+ sort: "created" | "updated" | "popularity" | "long-running";
59
+ operation: "list_pull_requests";
60
+ owner: string;
61
+ page: number;
62
+ state: "all" | "open" | "closed";
63
+ repo: string;
64
+ direction: "asc" | "desc";
65
+ per_page: number;
66
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
67
+ }, {
68
+ operation: "list_pull_requests";
69
+ owner: string;
70
+ repo: string;
71
+ sort?: "created" | "updated" | "popularity" | "long-running" | undefined;
72
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
73
+ page?: number | undefined;
74
+ state?: "all" | "open" | "closed" | undefined;
75
+ direction?: "asc" | "desc" | undefined;
76
+ per_page?: number | undefined;
77
+ }>, z.ZodObject<{
78
+ operation: z.ZodLiteral<"get_pull_request">;
79
+ owner: z.ZodString;
80
+ repo: z.ZodString;
81
+ pull_number: z.ZodNumber;
82
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
83
+ }, "strip", z.ZodTypeAny, {
84
+ operation: "get_pull_request";
85
+ owner: string;
86
+ repo: string;
87
+ pull_number: number;
88
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
89
+ }, {
90
+ operation: "get_pull_request";
91
+ owner: string;
92
+ repo: string;
93
+ pull_number: number;
94
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
95
+ }>, z.ZodObject<{
96
+ operation: z.ZodLiteral<"create_pr_comment">;
97
+ owner: z.ZodString;
98
+ repo: z.ZodString;
99
+ pull_number: z.ZodNumber;
100
+ body: z.ZodString;
101
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
102
+ }, "strip", z.ZodTypeAny, {
103
+ operation: "create_pr_comment";
104
+ body: string;
105
+ owner: string;
106
+ repo: string;
107
+ pull_number: number;
108
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
109
+ }, {
110
+ operation: "create_pr_comment";
111
+ body: string;
112
+ owner: string;
113
+ repo: string;
114
+ pull_number: number;
115
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
116
+ }>, z.ZodObject<{
117
+ operation: z.ZodLiteral<"list_repositories">;
118
+ visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<["all", "public", "private"]>>>;
119
+ affiliation: z.ZodDefault<z.ZodOptional<z.ZodEnum<["owner", "collaborator", "organization_member"]>>>;
120
+ sort: z.ZodDefault<z.ZodOptional<z.ZodEnum<["created", "updated", "pushed", "full_name"]>>>;
121
+ direction: z.ZodDefault<z.ZodOptional<z.ZodEnum<["asc", "desc"]>>>;
122
+ per_page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
123
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
124
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
125
+ }, "strip", z.ZodTypeAny, {
126
+ sort: "created" | "updated" | "full_name" | "pushed";
127
+ operation: "list_repositories";
128
+ page: number;
129
+ visibility: "public" | "private" | "all";
130
+ direction: "asc" | "desc";
131
+ per_page: number;
132
+ affiliation: "owner" | "collaborator" | "organization_member";
133
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
134
+ }, {
135
+ operation: "list_repositories";
136
+ sort?: "created" | "updated" | "full_name" | "pushed" | undefined;
137
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
138
+ page?: number | undefined;
139
+ visibility?: "public" | "private" | "all" | undefined;
140
+ direction?: "asc" | "desc" | undefined;
141
+ per_page?: number | undefined;
142
+ affiliation?: "owner" | "collaborator" | "organization_member" | undefined;
143
+ }>, z.ZodObject<{
144
+ operation: z.ZodLiteral<"get_repository">;
145
+ owner: z.ZodString;
146
+ repo: z.ZodString;
147
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
148
+ }, "strip", z.ZodTypeAny, {
149
+ operation: "get_repository";
150
+ owner: string;
151
+ repo: string;
152
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
153
+ }, {
154
+ operation: "get_repository";
155
+ owner: string;
156
+ repo: string;
157
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
158
+ }>, z.ZodObject<{
159
+ operation: z.ZodLiteral<"create_issue_comment">;
160
+ owner: z.ZodString;
161
+ repo: z.ZodString;
162
+ issue_number: z.ZodNumber;
163
+ body: z.ZodString;
164
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
165
+ }, "strip", z.ZodTypeAny, {
166
+ operation: "create_issue_comment";
167
+ body: string;
168
+ owner: string;
169
+ repo: string;
170
+ issue_number: number;
171
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
172
+ }, {
173
+ operation: "create_issue_comment";
174
+ body: string;
175
+ owner: string;
176
+ repo: string;
177
+ issue_number: number;
178
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
179
+ }>, z.ZodObject<{
180
+ operation: z.ZodLiteral<"list_issues">;
181
+ owner: z.ZodString;
182
+ repo: z.ZodString;
183
+ state: z.ZodDefault<z.ZodOptional<z.ZodEnum<["open", "closed", "all"]>>>;
184
+ labels: z.ZodOptional<z.ZodString>;
185
+ sort: z.ZodDefault<z.ZodOptional<z.ZodEnum<["created", "updated", "comments"]>>>;
186
+ direction: z.ZodDefault<z.ZodOptional<z.ZodEnum<["asc", "desc"]>>>;
187
+ per_page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
188
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
189
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
190
+ }, "strip", z.ZodTypeAny, {
191
+ sort: "created" | "updated" | "comments";
192
+ operation: "list_issues";
193
+ owner: string;
194
+ page: number;
195
+ state: "all" | "open" | "closed";
196
+ repo: string;
197
+ direction: "asc" | "desc";
198
+ per_page: number;
199
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
200
+ labels?: string | undefined;
201
+ }, {
202
+ operation: "list_issues";
203
+ owner: string;
204
+ repo: string;
205
+ sort?: "created" | "updated" | "comments" | undefined;
206
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
207
+ labels?: string | undefined;
208
+ page?: number | undefined;
209
+ state?: "all" | "open" | "closed" | undefined;
210
+ direction?: "asc" | "desc" | undefined;
211
+ per_page?: number | undefined;
212
+ }>]>;
213
+ declare const GithubResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
214
+ operation: z.ZodLiteral<"get_file">;
215
+ success: z.ZodBoolean;
216
+ error: z.ZodString;
217
+ } & {
218
+ name: z.ZodOptional<z.ZodString>;
219
+ path: z.ZodOptional<z.ZodString>;
220
+ sha: z.ZodOptional<z.ZodString>;
221
+ size: z.ZodOptional<z.ZodNumber>;
222
+ url: z.ZodOptional<z.ZodString>;
223
+ html_url: z.ZodOptional<z.ZodString>;
224
+ git_url: z.ZodOptional<z.ZodString>;
225
+ download_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
226
+ type: z.ZodOptional<z.ZodEnum<["file", "dir", "symlink", "submodule"]>>;
227
+ content: z.ZodOptional<z.ZodOptional<z.ZodString>>;
228
+ encoding: z.ZodOptional<z.ZodOptional<z.ZodString>>;
229
+ }, "strip", z.ZodTypeAny, {
230
+ error: string;
231
+ success: boolean;
232
+ operation: "get_file";
233
+ path?: string | undefined;
234
+ type?: "file" | "dir" | "symlink" | "submodule" | undefined;
235
+ name?: string | undefined;
236
+ content?: string | undefined;
237
+ url?: string | undefined;
238
+ size?: number | undefined;
239
+ sha?: string | undefined;
240
+ html_url?: string | undefined;
241
+ git_url?: string | undefined;
242
+ download_url?: string | null | undefined;
243
+ encoding?: string | undefined;
244
+ }, {
245
+ error: string;
246
+ success: boolean;
247
+ operation: "get_file";
248
+ path?: string | undefined;
249
+ type?: "file" | "dir" | "symlink" | "submodule" | undefined;
250
+ name?: string | undefined;
251
+ content?: string | undefined;
252
+ url?: string | undefined;
253
+ size?: number | undefined;
254
+ sha?: string | undefined;
255
+ html_url?: string | undefined;
256
+ git_url?: string | undefined;
257
+ download_url?: string | null | undefined;
258
+ encoding?: string | undefined;
259
+ }>, z.ZodObject<{
260
+ operation: z.ZodLiteral<"get_directory">;
261
+ success: z.ZodBoolean;
262
+ error: z.ZodString;
263
+ contents: z.ZodOptional<z.ZodArray<z.ZodObject<{
264
+ name: z.ZodString;
265
+ path: z.ZodString;
266
+ sha: z.ZodString;
267
+ size: z.ZodNumber;
268
+ url: z.ZodString;
269
+ html_url: z.ZodString;
270
+ git_url: z.ZodString;
271
+ download_url: z.ZodNullable<z.ZodString>;
272
+ type: z.ZodEnum<["file", "dir", "symlink", "submodule"]>;
273
+ content: z.ZodOptional<z.ZodString>;
274
+ encoding: z.ZodOptional<z.ZodString>;
275
+ }, "strip", z.ZodTypeAny, {
276
+ path: string;
277
+ type: "file" | "dir" | "symlink" | "submodule";
278
+ name: string;
279
+ url: string;
280
+ size: number;
281
+ sha: string;
282
+ html_url: string;
283
+ git_url: string;
284
+ download_url: string | null;
285
+ content?: string | undefined;
286
+ encoding?: string | undefined;
287
+ }, {
288
+ path: string;
289
+ type: "file" | "dir" | "symlink" | "submodule";
290
+ name: string;
291
+ url: string;
292
+ size: number;
293
+ sha: string;
294
+ html_url: string;
295
+ git_url: string;
296
+ download_url: string | null;
297
+ content?: string | undefined;
298
+ encoding?: string | undefined;
299
+ }>, "many">>;
300
+ }, "strip", z.ZodTypeAny, {
301
+ error: string;
302
+ success: boolean;
303
+ operation: "get_directory";
304
+ contents?: {
305
+ path: string;
306
+ type: "file" | "dir" | "symlink" | "submodule";
307
+ name: string;
308
+ url: string;
309
+ size: number;
310
+ sha: string;
311
+ html_url: string;
312
+ git_url: string;
313
+ download_url: string | null;
314
+ content?: string | undefined;
315
+ encoding?: string | undefined;
316
+ }[] | undefined;
317
+ }, {
318
+ error: string;
319
+ success: boolean;
320
+ operation: "get_directory";
321
+ contents?: {
322
+ path: string;
323
+ type: "file" | "dir" | "symlink" | "submodule";
324
+ name: string;
325
+ url: string;
326
+ size: number;
327
+ sha: string;
328
+ html_url: string;
329
+ git_url: string;
330
+ download_url: string | null;
331
+ content?: string | undefined;
332
+ encoding?: string | undefined;
333
+ }[] | undefined;
334
+ }>, z.ZodObject<{
335
+ operation: z.ZodLiteral<"list_pull_requests">;
336
+ success: z.ZodBoolean;
337
+ error: z.ZodString;
338
+ pull_requests: z.ZodOptional<z.ZodArray<z.ZodObject<{
339
+ id: z.ZodNumber;
340
+ node_id: z.ZodString;
341
+ number: z.ZodNumber;
342
+ state: z.ZodEnum<["open", "closed"]>;
343
+ title: z.ZodString;
344
+ body: z.ZodNullable<z.ZodString>;
345
+ created_at: z.ZodString;
346
+ updated_at: z.ZodString;
347
+ closed_at: z.ZodNullable<z.ZodString>;
348
+ merged_at: z.ZodNullable<z.ZodString>;
349
+ user: z.ZodObject<{
350
+ login: z.ZodString;
351
+ id: z.ZodNumber;
352
+ avatar_url: z.ZodString;
353
+ }, "strip", z.ZodTypeAny, {
354
+ id: number;
355
+ login: string;
356
+ avatar_url: string;
357
+ }, {
358
+ id: number;
359
+ login: string;
360
+ avatar_url: string;
361
+ }>;
362
+ html_url: z.ZodString;
363
+ draft: z.ZodBoolean;
364
+ head: z.ZodObject<{
365
+ ref: z.ZodString;
366
+ sha: z.ZodString;
367
+ }, "strip", z.ZodTypeAny, {
368
+ sha: string;
369
+ ref: string;
370
+ }, {
371
+ sha: string;
372
+ ref: string;
373
+ }>;
374
+ base: z.ZodObject<{
375
+ ref: z.ZodString;
376
+ sha: z.ZodString;
377
+ }, "strip", z.ZodTypeAny, {
378
+ sha: string;
379
+ ref: string;
380
+ }, {
381
+ sha: string;
382
+ ref: string;
383
+ }>;
384
+ merged: z.ZodOptional<z.ZodBoolean>;
385
+ mergeable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
386
+ mergeable_state: z.ZodOptional<z.ZodString>;
387
+ comments: z.ZodOptional<z.ZodNumber>;
388
+ review_comments: z.ZodOptional<z.ZodNumber>;
389
+ commits: z.ZodOptional<z.ZodNumber>;
390
+ additions: z.ZodOptional<z.ZodNumber>;
391
+ deletions: z.ZodOptional<z.ZodNumber>;
392
+ changed_files: z.ZodOptional<z.ZodNumber>;
393
+ }, "strip", z.ZodTypeAny, {
394
+ number: number;
395
+ title: string;
396
+ id: number;
397
+ user: {
398
+ id: number;
399
+ login: string;
400
+ avatar_url: string;
401
+ };
402
+ body: string | null;
403
+ created_at: string;
404
+ draft: boolean;
405
+ state: "open" | "closed";
406
+ html_url: string;
407
+ node_id: string;
408
+ updated_at: string;
409
+ closed_at: string | null;
410
+ merged_at: string | null;
411
+ head: {
412
+ sha: string;
413
+ ref: string;
414
+ };
415
+ base: {
416
+ sha: string;
417
+ ref: string;
418
+ };
419
+ comments?: number | undefined;
420
+ merged?: boolean | undefined;
421
+ mergeable?: boolean | null | undefined;
422
+ mergeable_state?: string | undefined;
423
+ review_comments?: number | undefined;
424
+ commits?: number | undefined;
425
+ additions?: number | undefined;
426
+ deletions?: number | undefined;
427
+ changed_files?: number | undefined;
428
+ }, {
429
+ number: number;
430
+ title: string;
431
+ id: number;
432
+ user: {
433
+ id: number;
434
+ login: string;
435
+ avatar_url: string;
436
+ };
437
+ body: string | null;
438
+ created_at: string;
439
+ draft: boolean;
440
+ state: "open" | "closed";
441
+ html_url: string;
442
+ node_id: string;
443
+ updated_at: string;
444
+ closed_at: string | null;
445
+ merged_at: string | null;
446
+ head: {
447
+ sha: string;
448
+ ref: string;
449
+ };
450
+ base: {
451
+ sha: string;
452
+ ref: string;
453
+ };
454
+ comments?: number | undefined;
455
+ merged?: boolean | undefined;
456
+ mergeable?: boolean | null | undefined;
457
+ mergeable_state?: string | undefined;
458
+ review_comments?: number | undefined;
459
+ commits?: number | undefined;
460
+ additions?: number | undefined;
461
+ deletions?: number | undefined;
462
+ changed_files?: number | undefined;
463
+ }>, "many">>;
464
+ }, "strip", z.ZodTypeAny, {
465
+ error: string;
466
+ success: boolean;
467
+ operation: "list_pull_requests";
468
+ pull_requests?: {
469
+ number: number;
470
+ title: string;
471
+ id: number;
472
+ user: {
473
+ id: number;
474
+ login: string;
475
+ avatar_url: string;
476
+ };
477
+ body: string | null;
478
+ created_at: string;
479
+ draft: boolean;
480
+ state: "open" | "closed";
481
+ html_url: string;
482
+ node_id: string;
483
+ updated_at: string;
484
+ closed_at: string | null;
485
+ merged_at: string | null;
486
+ head: {
487
+ sha: string;
488
+ ref: string;
489
+ };
490
+ base: {
491
+ sha: string;
492
+ ref: string;
493
+ };
494
+ comments?: number | undefined;
495
+ merged?: boolean | undefined;
496
+ mergeable?: boolean | null | undefined;
497
+ mergeable_state?: string | undefined;
498
+ review_comments?: number | undefined;
499
+ commits?: number | undefined;
500
+ additions?: number | undefined;
501
+ deletions?: number | undefined;
502
+ changed_files?: number | undefined;
503
+ }[] | undefined;
504
+ }, {
505
+ error: string;
506
+ success: boolean;
507
+ operation: "list_pull_requests";
508
+ pull_requests?: {
509
+ number: number;
510
+ title: string;
511
+ id: number;
512
+ user: {
513
+ id: number;
514
+ login: string;
515
+ avatar_url: string;
516
+ };
517
+ body: string | null;
518
+ created_at: string;
519
+ draft: boolean;
520
+ state: "open" | "closed";
521
+ html_url: string;
522
+ node_id: string;
523
+ updated_at: string;
524
+ closed_at: string | null;
525
+ merged_at: string | null;
526
+ head: {
527
+ sha: string;
528
+ ref: string;
529
+ };
530
+ base: {
531
+ sha: string;
532
+ ref: string;
533
+ };
534
+ comments?: number | undefined;
535
+ merged?: boolean | undefined;
536
+ mergeable?: boolean | null | undefined;
537
+ mergeable_state?: string | undefined;
538
+ review_comments?: number | undefined;
539
+ commits?: number | undefined;
540
+ additions?: number | undefined;
541
+ deletions?: number | undefined;
542
+ changed_files?: number | undefined;
543
+ }[] | undefined;
544
+ }>, z.ZodObject<{
545
+ operation: z.ZodLiteral<"get_pull_request">;
546
+ success: z.ZodBoolean;
547
+ error: z.ZodString;
548
+ } & {
549
+ id: z.ZodOptional<z.ZodNumber>;
550
+ node_id: z.ZodOptional<z.ZodString>;
551
+ number: z.ZodOptional<z.ZodNumber>;
552
+ state: z.ZodOptional<z.ZodEnum<["open", "closed"]>>;
553
+ title: z.ZodOptional<z.ZodString>;
554
+ body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
555
+ created_at: z.ZodOptional<z.ZodString>;
556
+ updated_at: z.ZodOptional<z.ZodString>;
557
+ closed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
558
+ merged_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
559
+ user: z.ZodOptional<z.ZodObject<{
560
+ login: z.ZodString;
561
+ id: z.ZodNumber;
562
+ avatar_url: z.ZodString;
563
+ }, "strip", z.ZodTypeAny, {
564
+ id: number;
565
+ login: string;
566
+ avatar_url: string;
567
+ }, {
568
+ id: number;
569
+ login: string;
570
+ avatar_url: string;
571
+ }>>;
572
+ html_url: z.ZodOptional<z.ZodString>;
573
+ draft: z.ZodOptional<z.ZodBoolean>;
574
+ head: z.ZodOptional<z.ZodObject<{
575
+ ref: z.ZodString;
576
+ sha: z.ZodString;
577
+ }, "strip", z.ZodTypeAny, {
578
+ sha: string;
579
+ ref: string;
580
+ }, {
581
+ sha: string;
582
+ ref: string;
583
+ }>>;
584
+ base: z.ZodOptional<z.ZodObject<{
585
+ ref: z.ZodString;
586
+ sha: z.ZodString;
587
+ }, "strip", z.ZodTypeAny, {
588
+ sha: string;
589
+ ref: string;
590
+ }, {
591
+ sha: string;
592
+ ref: string;
593
+ }>>;
594
+ merged: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
595
+ mergeable: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>;
596
+ mergeable_state: z.ZodOptional<z.ZodOptional<z.ZodString>>;
597
+ comments: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
598
+ review_comments: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
599
+ commits: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
600
+ additions: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
601
+ deletions: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
602
+ changed_files: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
603
+ }, "strip", z.ZodTypeAny, {
604
+ error: string;
605
+ success: boolean;
606
+ operation: "get_pull_request";
607
+ number?: number | undefined;
608
+ title?: string | undefined;
609
+ id?: number | undefined;
610
+ user?: {
611
+ id: number;
612
+ login: string;
613
+ avatar_url: string;
614
+ } | undefined;
615
+ body?: string | null | undefined;
616
+ created_at?: string | undefined;
617
+ draft?: boolean | undefined;
618
+ comments?: number | undefined;
619
+ state?: "open" | "closed" | undefined;
620
+ html_url?: string | undefined;
621
+ node_id?: string | undefined;
622
+ updated_at?: string | undefined;
623
+ closed_at?: string | null | undefined;
624
+ merged_at?: string | null | undefined;
625
+ head?: {
626
+ sha: string;
627
+ ref: string;
628
+ } | undefined;
629
+ base?: {
630
+ sha: string;
631
+ ref: string;
632
+ } | undefined;
633
+ merged?: boolean | undefined;
634
+ mergeable?: boolean | null | undefined;
635
+ mergeable_state?: string | undefined;
636
+ review_comments?: number | undefined;
637
+ commits?: number | undefined;
638
+ additions?: number | undefined;
639
+ deletions?: number | undefined;
640
+ changed_files?: number | undefined;
641
+ }, {
642
+ error: string;
643
+ success: boolean;
644
+ operation: "get_pull_request";
645
+ number?: number | undefined;
646
+ title?: string | undefined;
647
+ id?: number | undefined;
648
+ user?: {
649
+ id: number;
650
+ login: string;
651
+ avatar_url: string;
652
+ } | undefined;
653
+ body?: string | null | undefined;
654
+ created_at?: string | undefined;
655
+ draft?: boolean | undefined;
656
+ comments?: number | undefined;
657
+ state?: "open" | "closed" | undefined;
658
+ html_url?: string | undefined;
659
+ node_id?: string | undefined;
660
+ updated_at?: string | undefined;
661
+ closed_at?: string | null | undefined;
662
+ merged_at?: string | null | undefined;
663
+ head?: {
664
+ sha: string;
665
+ ref: string;
666
+ } | undefined;
667
+ base?: {
668
+ sha: string;
669
+ ref: string;
670
+ } | undefined;
671
+ merged?: boolean | undefined;
672
+ mergeable?: boolean | null | undefined;
673
+ mergeable_state?: string | undefined;
674
+ review_comments?: number | undefined;
675
+ commits?: number | undefined;
676
+ additions?: number | undefined;
677
+ deletions?: number | undefined;
678
+ changed_files?: number | undefined;
679
+ }>, z.ZodObject<{
680
+ operation: z.ZodLiteral<"create_pr_comment">;
681
+ success: z.ZodBoolean;
682
+ error: z.ZodString;
683
+ } & {
684
+ id: z.ZodOptional<z.ZodNumber>;
685
+ node_id: z.ZodOptional<z.ZodString>;
686
+ body: z.ZodOptional<z.ZodString>;
687
+ user: z.ZodOptional<z.ZodObject<{
688
+ login: z.ZodString;
689
+ id: z.ZodNumber;
690
+ }, "strip", z.ZodTypeAny, {
691
+ id: number;
692
+ login: string;
693
+ }, {
694
+ id: number;
695
+ login: string;
696
+ }>>;
697
+ created_at: z.ZodOptional<z.ZodString>;
698
+ updated_at: z.ZodOptional<z.ZodString>;
699
+ html_url: z.ZodOptional<z.ZodString>;
700
+ }, "strip", z.ZodTypeAny, {
701
+ error: string;
702
+ success: boolean;
703
+ operation: "create_pr_comment";
704
+ id?: number | undefined;
705
+ user?: {
706
+ id: number;
707
+ login: string;
708
+ } | undefined;
709
+ body?: string | undefined;
710
+ created_at?: string | undefined;
711
+ html_url?: string | undefined;
712
+ node_id?: string | undefined;
713
+ updated_at?: string | undefined;
714
+ }, {
715
+ error: string;
716
+ success: boolean;
717
+ operation: "create_pr_comment";
718
+ id?: number | undefined;
719
+ user?: {
720
+ id: number;
721
+ login: string;
722
+ } | undefined;
723
+ body?: string | undefined;
724
+ created_at?: string | undefined;
725
+ html_url?: string | undefined;
726
+ node_id?: string | undefined;
727
+ updated_at?: string | undefined;
728
+ }>, z.ZodObject<{
729
+ operation: z.ZodLiteral<"list_repositories">;
730
+ success: z.ZodBoolean;
731
+ error: z.ZodString;
732
+ repositories: z.ZodOptional<z.ZodArray<z.ZodObject<{
733
+ id: z.ZodNumber;
734
+ node_id: z.ZodString;
735
+ name: z.ZodString;
736
+ full_name: z.ZodString;
737
+ private: z.ZodBoolean;
738
+ owner: z.ZodObject<{
739
+ login: z.ZodString;
740
+ id: z.ZodNumber;
741
+ avatar_url: z.ZodString;
742
+ html_url: z.ZodString;
743
+ }, "strip", z.ZodTypeAny, {
744
+ id: number;
745
+ html_url: string;
746
+ login: string;
747
+ avatar_url: string;
748
+ }, {
749
+ id: number;
750
+ html_url: string;
751
+ login: string;
752
+ avatar_url: string;
753
+ }>;
754
+ html_url: z.ZodString;
755
+ description: z.ZodNullable<z.ZodString>;
756
+ fork: z.ZodBoolean;
757
+ created_at: z.ZodString;
758
+ updated_at: z.ZodString;
759
+ pushed_at: z.ZodString;
760
+ size: z.ZodNumber;
761
+ stargazers_count: z.ZodNumber;
762
+ watchers_count: z.ZodNumber;
763
+ language: z.ZodNullable<z.ZodString>;
764
+ forks_count: z.ZodNumber;
765
+ open_issues_count: z.ZodNumber;
766
+ default_branch: z.ZodString;
767
+ visibility: z.ZodOptional<z.ZodString>;
768
+ }, "strip", z.ZodTypeAny, {
769
+ description: string | null;
770
+ name: string;
771
+ id: number;
772
+ size: number;
773
+ private: boolean;
774
+ created_at: string;
775
+ owner: {
776
+ id: number;
777
+ html_url: string;
778
+ login: string;
779
+ avatar_url: string;
780
+ };
781
+ full_name: string;
782
+ language: string | null;
783
+ html_url: string;
784
+ node_id: string;
785
+ fork: boolean;
786
+ updated_at: string;
787
+ pushed_at: string;
788
+ stargazers_count: number;
789
+ watchers_count: number;
790
+ forks_count: number;
791
+ open_issues_count: number;
792
+ default_branch: string;
793
+ visibility?: string | undefined;
794
+ }, {
795
+ description: string | null;
796
+ name: string;
797
+ id: number;
798
+ size: number;
799
+ private: boolean;
800
+ created_at: string;
801
+ owner: {
802
+ id: number;
803
+ html_url: string;
804
+ login: string;
805
+ avatar_url: string;
806
+ };
807
+ full_name: string;
808
+ language: string | null;
809
+ html_url: string;
810
+ node_id: string;
811
+ fork: boolean;
812
+ updated_at: string;
813
+ pushed_at: string;
814
+ stargazers_count: number;
815
+ watchers_count: number;
816
+ forks_count: number;
817
+ open_issues_count: number;
818
+ default_branch: string;
819
+ visibility?: string | undefined;
820
+ }>, "many">>;
821
+ }, "strip", z.ZodTypeAny, {
822
+ error: string;
823
+ success: boolean;
824
+ operation: "list_repositories";
825
+ repositories?: {
826
+ description: string | null;
827
+ name: string;
828
+ id: number;
829
+ size: number;
830
+ private: boolean;
831
+ created_at: string;
832
+ owner: {
833
+ id: number;
834
+ html_url: string;
835
+ login: string;
836
+ avatar_url: string;
837
+ };
838
+ full_name: string;
839
+ language: string | null;
840
+ html_url: string;
841
+ node_id: string;
842
+ fork: boolean;
843
+ updated_at: string;
844
+ pushed_at: string;
845
+ stargazers_count: number;
846
+ watchers_count: number;
847
+ forks_count: number;
848
+ open_issues_count: number;
849
+ default_branch: string;
850
+ visibility?: string | undefined;
851
+ }[] | undefined;
852
+ }, {
853
+ error: string;
854
+ success: boolean;
855
+ operation: "list_repositories";
856
+ repositories?: {
857
+ description: string | null;
858
+ name: string;
859
+ id: number;
860
+ size: number;
861
+ private: boolean;
862
+ created_at: string;
863
+ owner: {
864
+ id: number;
865
+ html_url: string;
866
+ login: string;
867
+ avatar_url: string;
868
+ };
869
+ full_name: string;
870
+ language: string | null;
871
+ html_url: string;
872
+ node_id: string;
873
+ fork: boolean;
874
+ updated_at: string;
875
+ pushed_at: string;
876
+ stargazers_count: number;
877
+ watchers_count: number;
878
+ forks_count: number;
879
+ open_issues_count: number;
880
+ default_branch: string;
881
+ visibility?: string | undefined;
882
+ }[] | undefined;
883
+ }>, z.ZodObject<{
884
+ operation: z.ZodLiteral<"get_repository">;
885
+ success: z.ZodBoolean;
886
+ error: z.ZodString;
887
+ } & {
888
+ id: z.ZodOptional<z.ZodNumber>;
889
+ node_id: z.ZodOptional<z.ZodString>;
890
+ name: z.ZodOptional<z.ZodString>;
891
+ full_name: z.ZodOptional<z.ZodString>;
892
+ private: z.ZodOptional<z.ZodBoolean>;
893
+ owner: z.ZodOptional<z.ZodObject<{
894
+ login: z.ZodString;
895
+ id: z.ZodNumber;
896
+ avatar_url: z.ZodString;
897
+ html_url: z.ZodString;
898
+ }, "strip", z.ZodTypeAny, {
899
+ id: number;
900
+ html_url: string;
901
+ login: string;
902
+ avatar_url: string;
903
+ }, {
904
+ id: number;
905
+ html_url: string;
906
+ login: string;
907
+ avatar_url: string;
908
+ }>>;
909
+ html_url: z.ZodOptional<z.ZodString>;
910
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
911
+ fork: z.ZodOptional<z.ZodBoolean>;
912
+ created_at: z.ZodOptional<z.ZodString>;
913
+ updated_at: z.ZodOptional<z.ZodString>;
914
+ pushed_at: z.ZodOptional<z.ZodString>;
915
+ size: z.ZodOptional<z.ZodNumber>;
916
+ stargazers_count: z.ZodOptional<z.ZodNumber>;
917
+ watchers_count: z.ZodOptional<z.ZodNumber>;
918
+ language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
919
+ forks_count: z.ZodOptional<z.ZodNumber>;
920
+ open_issues_count: z.ZodOptional<z.ZodNumber>;
921
+ default_branch: z.ZodOptional<z.ZodString>;
922
+ visibility: z.ZodOptional<z.ZodOptional<z.ZodString>>;
923
+ }, "strip", z.ZodTypeAny, {
924
+ error: string;
925
+ success: boolean;
926
+ operation: "get_repository";
927
+ description?: string | null | undefined;
928
+ name?: string | undefined;
929
+ id?: number | undefined;
930
+ size?: number | undefined;
931
+ private?: boolean | undefined;
932
+ created_at?: string | undefined;
933
+ owner?: {
934
+ id: number;
935
+ html_url: string;
936
+ login: string;
937
+ avatar_url: string;
938
+ } | undefined;
939
+ full_name?: string | undefined;
940
+ language?: string | null | undefined;
941
+ html_url?: string | undefined;
942
+ node_id?: string | undefined;
943
+ fork?: boolean | undefined;
944
+ updated_at?: string | undefined;
945
+ pushed_at?: string | undefined;
946
+ stargazers_count?: number | undefined;
947
+ watchers_count?: number | undefined;
948
+ forks_count?: number | undefined;
949
+ open_issues_count?: number | undefined;
950
+ default_branch?: string | undefined;
951
+ visibility?: string | undefined;
952
+ }, {
953
+ error: string;
954
+ success: boolean;
955
+ operation: "get_repository";
956
+ description?: string | null | undefined;
957
+ name?: string | undefined;
958
+ id?: number | undefined;
959
+ size?: number | undefined;
960
+ private?: boolean | undefined;
961
+ created_at?: string | undefined;
962
+ owner?: {
963
+ id: number;
964
+ html_url: string;
965
+ login: string;
966
+ avatar_url: string;
967
+ } | undefined;
968
+ full_name?: string | undefined;
969
+ language?: string | null | undefined;
970
+ html_url?: string | undefined;
971
+ node_id?: string | undefined;
972
+ fork?: boolean | undefined;
973
+ updated_at?: string | undefined;
974
+ pushed_at?: string | undefined;
975
+ stargazers_count?: number | undefined;
976
+ watchers_count?: number | undefined;
977
+ forks_count?: number | undefined;
978
+ open_issues_count?: number | undefined;
979
+ default_branch?: string | undefined;
980
+ visibility?: string | undefined;
981
+ }>, z.ZodObject<{
982
+ operation: z.ZodLiteral<"create_issue_comment">;
983
+ success: z.ZodBoolean;
984
+ error: z.ZodString;
985
+ } & {
986
+ id: z.ZodOptional<z.ZodNumber>;
987
+ node_id: z.ZodOptional<z.ZodString>;
988
+ body: z.ZodOptional<z.ZodString>;
989
+ user: z.ZodOptional<z.ZodObject<{
990
+ login: z.ZodString;
991
+ id: z.ZodNumber;
992
+ }, "strip", z.ZodTypeAny, {
993
+ id: number;
994
+ login: string;
995
+ }, {
996
+ id: number;
997
+ login: string;
998
+ }>>;
999
+ created_at: z.ZodOptional<z.ZodString>;
1000
+ updated_at: z.ZodOptional<z.ZodString>;
1001
+ html_url: z.ZodOptional<z.ZodString>;
1002
+ }, "strip", z.ZodTypeAny, {
1003
+ error: string;
1004
+ success: boolean;
1005
+ operation: "create_issue_comment";
1006
+ id?: number | undefined;
1007
+ user?: {
1008
+ id: number;
1009
+ login: string;
1010
+ } | undefined;
1011
+ body?: string | undefined;
1012
+ created_at?: string | undefined;
1013
+ html_url?: string | undefined;
1014
+ node_id?: string | undefined;
1015
+ updated_at?: string | undefined;
1016
+ }, {
1017
+ error: string;
1018
+ success: boolean;
1019
+ operation: "create_issue_comment";
1020
+ id?: number | undefined;
1021
+ user?: {
1022
+ id: number;
1023
+ login: string;
1024
+ } | undefined;
1025
+ body?: string | undefined;
1026
+ created_at?: string | undefined;
1027
+ html_url?: string | undefined;
1028
+ node_id?: string | undefined;
1029
+ updated_at?: string | undefined;
1030
+ }>, z.ZodObject<{
1031
+ operation: z.ZodLiteral<"list_issues">;
1032
+ success: z.ZodBoolean;
1033
+ error: z.ZodString;
1034
+ issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
1035
+ id: z.ZodNumber;
1036
+ node_id: z.ZodString;
1037
+ number: z.ZodNumber;
1038
+ state: z.ZodEnum<["open", "closed"]>;
1039
+ title: z.ZodString;
1040
+ body: z.ZodNullable<z.ZodString>;
1041
+ user: z.ZodObject<{
1042
+ login: z.ZodString;
1043
+ id: z.ZodNumber;
1044
+ }, "strip", z.ZodTypeAny, {
1045
+ id: number;
1046
+ login: string;
1047
+ }, {
1048
+ id: number;
1049
+ login: string;
1050
+ }>;
1051
+ labels: z.ZodArray<z.ZodObject<{
1052
+ id: z.ZodNumber;
1053
+ name: z.ZodString;
1054
+ color: z.ZodString;
1055
+ description: z.ZodNullable<z.ZodString>;
1056
+ }, "strip", z.ZodTypeAny, {
1057
+ description: string | null;
1058
+ name: string;
1059
+ id: number;
1060
+ color: string;
1061
+ }, {
1062
+ description: string | null;
1063
+ name: string;
1064
+ id: number;
1065
+ color: string;
1066
+ }>, "many">;
1067
+ created_at: z.ZodString;
1068
+ updated_at: z.ZodString;
1069
+ closed_at: z.ZodNullable<z.ZodString>;
1070
+ html_url: z.ZodString;
1071
+ comments: z.ZodNumber;
1072
+ }, "strip", z.ZodTypeAny, {
1073
+ number: number;
1074
+ title: string;
1075
+ id: number;
1076
+ user: {
1077
+ id: number;
1078
+ login: string;
1079
+ };
1080
+ body: string | null;
1081
+ created_at: string;
1082
+ labels: {
1083
+ description: string | null;
1084
+ name: string;
1085
+ id: number;
1086
+ color: string;
1087
+ }[];
1088
+ comments: number;
1089
+ state: "open" | "closed";
1090
+ html_url: string;
1091
+ node_id: string;
1092
+ updated_at: string;
1093
+ closed_at: string | null;
1094
+ }, {
1095
+ number: number;
1096
+ title: string;
1097
+ id: number;
1098
+ user: {
1099
+ id: number;
1100
+ login: string;
1101
+ };
1102
+ body: string | null;
1103
+ created_at: string;
1104
+ labels: {
1105
+ description: string | null;
1106
+ name: string;
1107
+ id: number;
1108
+ color: string;
1109
+ }[];
1110
+ comments: number;
1111
+ state: "open" | "closed";
1112
+ html_url: string;
1113
+ node_id: string;
1114
+ updated_at: string;
1115
+ closed_at: string | null;
1116
+ }>, "many">>;
1117
+ }, "strip", z.ZodTypeAny, {
1118
+ error: string;
1119
+ success: boolean;
1120
+ operation: "list_issues";
1121
+ issues?: {
1122
+ number: number;
1123
+ title: string;
1124
+ id: number;
1125
+ user: {
1126
+ id: number;
1127
+ login: string;
1128
+ };
1129
+ body: string | null;
1130
+ created_at: string;
1131
+ labels: {
1132
+ description: string | null;
1133
+ name: string;
1134
+ id: number;
1135
+ color: string;
1136
+ }[];
1137
+ comments: number;
1138
+ state: "open" | "closed";
1139
+ html_url: string;
1140
+ node_id: string;
1141
+ updated_at: string;
1142
+ closed_at: string | null;
1143
+ }[] | undefined;
1144
+ }, {
1145
+ error: string;
1146
+ success: boolean;
1147
+ operation: "list_issues";
1148
+ issues?: {
1149
+ number: number;
1150
+ title: string;
1151
+ id: number;
1152
+ user: {
1153
+ id: number;
1154
+ login: string;
1155
+ };
1156
+ body: string | null;
1157
+ created_at: string;
1158
+ labels: {
1159
+ description: string | null;
1160
+ name: string;
1161
+ id: number;
1162
+ color: string;
1163
+ }[];
1164
+ comments: number;
1165
+ state: "open" | "closed";
1166
+ html_url: string;
1167
+ node_id: string;
1168
+ updated_at: string;
1169
+ closed_at: string | null;
1170
+ }[] | undefined;
1171
+ }>]>;
1172
+ export type GithubParamsInput = z.input<typeof GithubParamsSchema>;
1173
+ type GithubParams = z.input<typeof GithubParamsSchema>;
1174
+ type GithubResult = z.output<typeof GithubResultSchema>;
1175
+ export type GithubGetFileParams = Extract<GithubParams, {
1176
+ operation: 'get_file';
1177
+ }>;
1178
+ export type GithubGetDirectoryParams = Extract<GithubParams, {
1179
+ operation: 'get_directory';
1180
+ }>;
1181
+ export type GithubListPullRequestsParams = Extract<GithubParams, {
1182
+ operation: 'list_pull_requests';
1183
+ }>;
1184
+ export type GithubGetPullRequestParams = Extract<GithubParams, {
1185
+ operation: 'get_pull_request';
1186
+ }>;
1187
+ export type GithubCreatePrCommentParams = Extract<GithubParams, {
1188
+ operation: 'create_pr_comment';
1189
+ }>;
1190
+ export type GithubListRepositoriesParams = Extract<GithubParams, {
1191
+ operation: 'list_repositories';
1192
+ }>;
1193
+ export type GithubGetRepositoryParams = Extract<GithubParams, {
1194
+ operation: 'get_repository';
1195
+ }>;
1196
+ export type GithubCreateIssueCommentParams = Extract<GithubParams, {
1197
+ operation: 'create_issue_comment';
1198
+ }>;
1199
+ export type GithubListIssuesParams = Extract<GithubParams, {
1200
+ operation: 'list_issues';
1201
+ }>;
1202
+ export type GithubOperationResult<T extends GithubParams['operation']> = Extract<GithubResult, {
1203
+ operation: T;
1204
+ }>;
1205
+ export declare class GithubBubble<T extends GithubParams = GithubParams> extends ServiceBubble<T, Extract<GithubResult, {
1206
+ operation: T['operation'];
1207
+ }>> {
1208
+ static readonly type: "service";
1209
+ static readonly service = "github";
1210
+ static readonly authType: "apikey";
1211
+ static readonly bubbleName = "github";
1212
+ static readonly schema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
1213
+ operation: z.ZodLiteral<"get_file">;
1214
+ owner: z.ZodString;
1215
+ repo: z.ZodString;
1216
+ path: z.ZodString;
1217
+ ref: z.ZodOptional<z.ZodString>;
1218
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1219
+ }, "strip", z.ZodTypeAny, {
1220
+ path: string;
1221
+ operation: "get_file";
1222
+ owner: string;
1223
+ repo: string;
1224
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1225
+ ref?: string | undefined;
1226
+ }, {
1227
+ path: string;
1228
+ operation: "get_file";
1229
+ owner: string;
1230
+ repo: string;
1231
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1232
+ ref?: string | undefined;
1233
+ }>, z.ZodObject<{
1234
+ operation: z.ZodLiteral<"get_directory">;
1235
+ owner: z.ZodString;
1236
+ repo: z.ZodString;
1237
+ path: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1238
+ ref: z.ZodOptional<z.ZodString>;
1239
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1240
+ }, "strip", z.ZodTypeAny, {
1241
+ path: string;
1242
+ operation: "get_directory";
1243
+ owner: string;
1244
+ repo: string;
1245
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1246
+ ref?: string | undefined;
1247
+ }, {
1248
+ operation: "get_directory";
1249
+ owner: string;
1250
+ repo: string;
1251
+ path?: string | undefined;
1252
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1253
+ ref?: string | undefined;
1254
+ }>, z.ZodObject<{
1255
+ operation: z.ZodLiteral<"list_pull_requests">;
1256
+ owner: z.ZodString;
1257
+ repo: z.ZodString;
1258
+ state: z.ZodDefault<z.ZodOptional<z.ZodEnum<["open", "closed", "all"]>>>;
1259
+ sort: z.ZodDefault<z.ZodOptional<z.ZodEnum<["created", "updated", "popularity", "long-running"]>>>;
1260
+ direction: z.ZodDefault<z.ZodOptional<z.ZodEnum<["asc", "desc"]>>>;
1261
+ per_page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1262
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1263
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1264
+ }, "strip", z.ZodTypeAny, {
1265
+ sort: "created" | "updated" | "popularity" | "long-running";
1266
+ operation: "list_pull_requests";
1267
+ owner: string;
1268
+ page: number;
1269
+ state: "all" | "open" | "closed";
1270
+ repo: string;
1271
+ direction: "asc" | "desc";
1272
+ per_page: number;
1273
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1274
+ }, {
1275
+ operation: "list_pull_requests";
1276
+ owner: string;
1277
+ repo: string;
1278
+ sort?: "created" | "updated" | "popularity" | "long-running" | undefined;
1279
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1280
+ page?: number | undefined;
1281
+ state?: "all" | "open" | "closed" | undefined;
1282
+ direction?: "asc" | "desc" | undefined;
1283
+ per_page?: number | undefined;
1284
+ }>, z.ZodObject<{
1285
+ operation: z.ZodLiteral<"get_pull_request">;
1286
+ owner: z.ZodString;
1287
+ repo: z.ZodString;
1288
+ pull_number: z.ZodNumber;
1289
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1290
+ }, "strip", z.ZodTypeAny, {
1291
+ operation: "get_pull_request";
1292
+ owner: string;
1293
+ repo: string;
1294
+ pull_number: number;
1295
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1296
+ }, {
1297
+ operation: "get_pull_request";
1298
+ owner: string;
1299
+ repo: string;
1300
+ pull_number: number;
1301
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1302
+ }>, z.ZodObject<{
1303
+ operation: z.ZodLiteral<"create_pr_comment">;
1304
+ owner: z.ZodString;
1305
+ repo: z.ZodString;
1306
+ pull_number: z.ZodNumber;
1307
+ body: z.ZodString;
1308
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1309
+ }, "strip", z.ZodTypeAny, {
1310
+ operation: "create_pr_comment";
1311
+ body: string;
1312
+ owner: string;
1313
+ repo: string;
1314
+ pull_number: number;
1315
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1316
+ }, {
1317
+ operation: "create_pr_comment";
1318
+ body: string;
1319
+ owner: string;
1320
+ repo: string;
1321
+ pull_number: number;
1322
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1323
+ }>, z.ZodObject<{
1324
+ operation: z.ZodLiteral<"list_repositories">;
1325
+ visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<["all", "public", "private"]>>>;
1326
+ affiliation: z.ZodDefault<z.ZodOptional<z.ZodEnum<["owner", "collaborator", "organization_member"]>>>;
1327
+ sort: z.ZodDefault<z.ZodOptional<z.ZodEnum<["created", "updated", "pushed", "full_name"]>>>;
1328
+ direction: z.ZodDefault<z.ZodOptional<z.ZodEnum<["asc", "desc"]>>>;
1329
+ per_page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1330
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1331
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1332
+ }, "strip", z.ZodTypeAny, {
1333
+ sort: "created" | "updated" | "full_name" | "pushed";
1334
+ operation: "list_repositories";
1335
+ page: number;
1336
+ visibility: "public" | "private" | "all";
1337
+ direction: "asc" | "desc";
1338
+ per_page: number;
1339
+ affiliation: "owner" | "collaborator" | "organization_member";
1340
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1341
+ }, {
1342
+ operation: "list_repositories";
1343
+ sort?: "created" | "updated" | "full_name" | "pushed" | undefined;
1344
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1345
+ page?: number | undefined;
1346
+ visibility?: "public" | "private" | "all" | undefined;
1347
+ direction?: "asc" | "desc" | undefined;
1348
+ per_page?: number | undefined;
1349
+ affiliation?: "owner" | "collaborator" | "organization_member" | undefined;
1350
+ }>, z.ZodObject<{
1351
+ operation: z.ZodLiteral<"get_repository">;
1352
+ owner: z.ZodString;
1353
+ repo: z.ZodString;
1354
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1355
+ }, "strip", z.ZodTypeAny, {
1356
+ operation: "get_repository";
1357
+ owner: string;
1358
+ repo: string;
1359
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1360
+ }, {
1361
+ operation: "get_repository";
1362
+ owner: string;
1363
+ repo: string;
1364
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1365
+ }>, z.ZodObject<{
1366
+ operation: z.ZodLiteral<"create_issue_comment">;
1367
+ owner: z.ZodString;
1368
+ repo: z.ZodString;
1369
+ issue_number: z.ZodNumber;
1370
+ body: z.ZodString;
1371
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1372
+ }, "strip", z.ZodTypeAny, {
1373
+ operation: "create_issue_comment";
1374
+ body: string;
1375
+ owner: string;
1376
+ repo: string;
1377
+ issue_number: number;
1378
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1379
+ }, {
1380
+ operation: "create_issue_comment";
1381
+ body: string;
1382
+ owner: string;
1383
+ repo: string;
1384
+ issue_number: number;
1385
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1386
+ }>, z.ZodObject<{
1387
+ operation: z.ZodLiteral<"list_issues">;
1388
+ owner: z.ZodString;
1389
+ repo: z.ZodString;
1390
+ state: z.ZodDefault<z.ZodOptional<z.ZodEnum<["open", "closed", "all"]>>>;
1391
+ labels: z.ZodOptional<z.ZodString>;
1392
+ sort: z.ZodDefault<z.ZodOptional<z.ZodEnum<["created", "updated", "comments"]>>>;
1393
+ direction: z.ZodDefault<z.ZodOptional<z.ZodEnum<["asc", "desc"]>>>;
1394
+ per_page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1395
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1396
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1397
+ }, "strip", z.ZodTypeAny, {
1398
+ sort: "created" | "updated" | "comments";
1399
+ operation: "list_issues";
1400
+ owner: string;
1401
+ page: number;
1402
+ state: "all" | "open" | "closed";
1403
+ repo: string;
1404
+ direction: "asc" | "desc";
1405
+ per_page: number;
1406
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1407
+ labels?: string | undefined;
1408
+ }, {
1409
+ operation: "list_issues";
1410
+ owner: string;
1411
+ repo: string;
1412
+ sort?: "created" | "updated" | "comments" | undefined;
1413
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1414
+ labels?: string | undefined;
1415
+ page?: number | undefined;
1416
+ state?: "all" | "open" | "closed" | undefined;
1417
+ direction?: "asc" | "desc" | undefined;
1418
+ per_page?: number | undefined;
1419
+ }>]>;
1420
+ static readonly resultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
1421
+ operation: z.ZodLiteral<"get_file">;
1422
+ success: z.ZodBoolean;
1423
+ error: z.ZodString;
1424
+ } & {
1425
+ name: z.ZodOptional<z.ZodString>;
1426
+ path: z.ZodOptional<z.ZodString>;
1427
+ sha: z.ZodOptional<z.ZodString>;
1428
+ size: z.ZodOptional<z.ZodNumber>;
1429
+ url: z.ZodOptional<z.ZodString>;
1430
+ html_url: z.ZodOptional<z.ZodString>;
1431
+ git_url: z.ZodOptional<z.ZodString>;
1432
+ download_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1433
+ type: z.ZodOptional<z.ZodEnum<["file", "dir", "symlink", "submodule"]>>;
1434
+ content: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1435
+ encoding: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1436
+ }, "strip", z.ZodTypeAny, {
1437
+ error: string;
1438
+ success: boolean;
1439
+ operation: "get_file";
1440
+ path?: string | undefined;
1441
+ type?: "file" | "dir" | "symlink" | "submodule" | undefined;
1442
+ name?: string | undefined;
1443
+ content?: string | undefined;
1444
+ url?: string | undefined;
1445
+ size?: number | undefined;
1446
+ sha?: string | undefined;
1447
+ html_url?: string | undefined;
1448
+ git_url?: string | undefined;
1449
+ download_url?: string | null | undefined;
1450
+ encoding?: string | undefined;
1451
+ }, {
1452
+ error: string;
1453
+ success: boolean;
1454
+ operation: "get_file";
1455
+ path?: string | undefined;
1456
+ type?: "file" | "dir" | "symlink" | "submodule" | undefined;
1457
+ name?: string | undefined;
1458
+ content?: string | undefined;
1459
+ url?: string | undefined;
1460
+ size?: number | undefined;
1461
+ sha?: string | undefined;
1462
+ html_url?: string | undefined;
1463
+ git_url?: string | undefined;
1464
+ download_url?: string | null | undefined;
1465
+ encoding?: string | undefined;
1466
+ }>, z.ZodObject<{
1467
+ operation: z.ZodLiteral<"get_directory">;
1468
+ success: z.ZodBoolean;
1469
+ error: z.ZodString;
1470
+ contents: z.ZodOptional<z.ZodArray<z.ZodObject<{
1471
+ name: z.ZodString;
1472
+ path: z.ZodString;
1473
+ sha: z.ZodString;
1474
+ size: z.ZodNumber;
1475
+ url: z.ZodString;
1476
+ html_url: z.ZodString;
1477
+ git_url: z.ZodString;
1478
+ download_url: z.ZodNullable<z.ZodString>;
1479
+ type: z.ZodEnum<["file", "dir", "symlink", "submodule"]>;
1480
+ content: z.ZodOptional<z.ZodString>;
1481
+ encoding: z.ZodOptional<z.ZodString>;
1482
+ }, "strip", z.ZodTypeAny, {
1483
+ path: string;
1484
+ type: "file" | "dir" | "symlink" | "submodule";
1485
+ name: string;
1486
+ url: string;
1487
+ size: number;
1488
+ sha: string;
1489
+ html_url: string;
1490
+ git_url: string;
1491
+ download_url: string | null;
1492
+ content?: string | undefined;
1493
+ encoding?: string | undefined;
1494
+ }, {
1495
+ path: string;
1496
+ type: "file" | "dir" | "symlink" | "submodule";
1497
+ name: string;
1498
+ url: string;
1499
+ size: number;
1500
+ sha: string;
1501
+ html_url: string;
1502
+ git_url: string;
1503
+ download_url: string | null;
1504
+ content?: string | undefined;
1505
+ encoding?: string | undefined;
1506
+ }>, "many">>;
1507
+ }, "strip", z.ZodTypeAny, {
1508
+ error: string;
1509
+ success: boolean;
1510
+ operation: "get_directory";
1511
+ contents?: {
1512
+ path: string;
1513
+ type: "file" | "dir" | "symlink" | "submodule";
1514
+ name: string;
1515
+ url: string;
1516
+ size: number;
1517
+ sha: string;
1518
+ html_url: string;
1519
+ git_url: string;
1520
+ download_url: string | null;
1521
+ content?: string | undefined;
1522
+ encoding?: string | undefined;
1523
+ }[] | undefined;
1524
+ }, {
1525
+ error: string;
1526
+ success: boolean;
1527
+ operation: "get_directory";
1528
+ contents?: {
1529
+ path: string;
1530
+ type: "file" | "dir" | "symlink" | "submodule";
1531
+ name: string;
1532
+ url: string;
1533
+ size: number;
1534
+ sha: string;
1535
+ html_url: string;
1536
+ git_url: string;
1537
+ download_url: string | null;
1538
+ content?: string | undefined;
1539
+ encoding?: string | undefined;
1540
+ }[] | undefined;
1541
+ }>, z.ZodObject<{
1542
+ operation: z.ZodLiteral<"list_pull_requests">;
1543
+ success: z.ZodBoolean;
1544
+ error: z.ZodString;
1545
+ pull_requests: z.ZodOptional<z.ZodArray<z.ZodObject<{
1546
+ id: z.ZodNumber;
1547
+ node_id: z.ZodString;
1548
+ number: z.ZodNumber;
1549
+ state: z.ZodEnum<["open", "closed"]>;
1550
+ title: z.ZodString;
1551
+ body: z.ZodNullable<z.ZodString>;
1552
+ created_at: z.ZodString;
1553
+ updated_at: z.ZodString;
1554
+ closed_at: z.ZodNullable<z.ZodString>;
1555
+ merged_at: z.ZodNullable<z.ZodString>;
1556
+ user: z.ZodObject<{
1557
+ login: z.ZodString;
1558
+ id: z.ZodNumber;
1559
+ avatar_url: z.ZodString;
1560
+ }, "strip", z.ZodTypeAny, {
1561
+ id: number;
1562
+ login: string;
1563
+ avatar_url: string;
1564
+ }, {
1565
+ id: number;
1566
+ login: string;
1567
+ avatar_url: string;
1568
+ }>;
1569
+ html_url: z.ZodString;
1570
+ draft: z.ZodBoolean;
1571
+ head: z.ZodObject<{
1572
+ ref: z.ZodString;
1573
+ sha: z.ZodString;
1574
+ }, "strip", z.ZodTypeAny, {
1575
+ sha: string;
1576
+ ref: string;
1577
+ }, {
1578
+ sha: string;
1579
+ ref: string;
1580
+ }>;
1581
+ base: z.ZodObject<{
1582
+ ref: z.ZodString;
1583
+ sha: z.ZodString;
1584
+ }, "strip", z.ZodTypeAny, {
1585
+ sha: string;
1586
+ ref: string;
1587
+ }, {
1588
+ sha: string;
1589
+ ref: string;
1590
+ }>;
1591
+ merged: z.ZodOptional<z.ZodBoolean>;
1592
+ mergeable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1593
+ mergeable_state: z.ZodOptional<z.ZodString>;
1594
+ comments: z.ZodOptional<z.ZodNumber>;
1595
+ review_comments: z.ZodOptional<z.ZodNumber>;
1596
+ commits: z.ZodOptional<z.ZodNumber>;
1597
+ additions: z.ZodOptional<z.ZodNumber>;
1598
+ deletions: z.ZodOptional<z.ZodNumber>;
1599
+ changed_files: z.ZodOptional<z.ZodNumber>;
1600
+ }, "strip", z.ZodTypeAny, {
1601
+ number: number;
1602
+ title: string;
1603
+ id: number;
1604
+ user: {
1605
+ id: number;
1606
+ login: string;
1607
+ avatar_url: string;
1608
+ };
1609
+ body: string | null;
1610
+ created_at: string;
1611
+ draft: boolean;
1612
+ state: "open" | "closed";
1613
+ html_url: string;
1614
+ node_id: string;
1615
+ updated_at: string;
1616
+ closed_at: string | null;
1617
+ merged_at: string | null;
1618
+ head: {
1619
+ sha: string;
1620
+ ref: string;
1621
+ };
1622
+ base: {
1623
+ sha: string;
1624
+ ref: string;
1625
+ };
1626
+ comments?: number | undefined;
1627
+ merged?: boolean | undefined;
1628
+ mergeable?: boolean | null | undefined;
1629
+ mergeable_state?: string | undefined;
1630
+ review_comments?: number | undefined;
1631
+ commits?: number | undefined;
1632
+ additions?: number | undefined;
1633
+ deletions?: number | undefined;
1634
+ changed_files?: number | undefined;
1635
+ }, {
1636
+ number: number;
1637
+ title: string;
1638
+ id: number;
1639
+ user: {
1640
+ id: number;
1641
+ login: string;
1642
+ avatar_url: string;
1643
+ };
1644
+ body: string | null;
1645
+ created_at: string;
1646
+ draft: boolean;
1647
+ state: "open" | "closed";
1648
+ html_url: string;
1649
+ node_id: string;
1650
+ updated_at: string;
1651
+ closed_at: string | null;
1652
+ merged_at: string | null;
1653
+ head: {
1654
+ sha: string;
1655
+ ref: string;
1656
+ };
1657
+ base: {
1658
+ sha: string;
1659
+ ref: string;
1660
+ };
1661
+ comments?: number | undefined;
1662
+ merged?: boolean | undefined;
1663
+ mergeable?: boolean | null | undefined;
1664
+ mergeable_state?: string | undefined;
1665
+ review_comments?: number | undefined;
1666
+ commits?: number | undefined;
1667
+ additions?: number | undefined;
1668
+ deletions?: number | undefined;
1669
+ changed_files?: number | undefined;
1670
+ }>, "many">>;
1671
+ }, "strip", z.ZodTypeAny, {
1672
+ error: string;
1673
+ success: boolean;
1674
+ operation: "list_pull_requests";
1675
+ pull_requests?: {
1676
+ number: number;
1677
+ title: string;
1678
+ id: number;
1679
+ user: {
1680
+ id: number;
1681
+ login: string;
1682
+ avatar_url: string;
1683
+ };
1684
+ body: string | null;
1685
+ created_at: string;
1686
+ draft: boolean;
1687
+ state: "open" | "closed";
1688
+ html_url: string;
1689
+ node_id: string;
1690
+ updated_at: string;
1691
+ closed_at: string | null;
1692
+ merged_at: string | null;
1693
+ head: {
1694
+ sha: string;
1695
+ ref: string;
1696
+ };
1697
+ base: {
1698
+ sha: string;
1699
+ ref: string;
1700
+ };
1701
+ comments?: number | undefined;
1702
+ merged?: boolean | undefined;
1703
+ mergeable?: boolean | null | undefined;
1704
+ mergeable_state?: string | undefined;
1705
+ review_comments?: number | undefined;
1706
+ commits?: number | undefined;
1707
+ additions?: number | undefined;
1708
+ deletions?: number | undefined;
1709
+ changed_files?: number | undefined;
1710
+ }[] | undefined;
1711
+ }, {
1712
+ error: string;
1713
+ success: boolean;
1714
+ operation: "list_pull_requests";
1715
+ pull_requests?: {
1716
+ number: number;
1717
+ title: string;
1718
+ id: number;
1719
+ user: {
1720
+ id: number;
1721
+ login: string;
1722
+ avatar_url: string;
1723
+ };
1724
+ body: string | null;
1725
+ created_at: string;
1726
+ draft: boolean;
1727
+ state: "open" | "closed";
1728
+ html_url: string;
1729
+ node_id: string;
1730
+ updated_at: string;
1731
+ closed_at: string | null;
1732
+ merged_at: string | null;
1733
+ head: {
1734
+ sha: string;
1735
+ ref: string;
1736
+ };
1737
+ base: {
1738
+ sha: string;
1739
+ ref: string;
1740
+ };
1741
+ comments?: number | undefined;
1742
+ merged?: boolean | undefined;
1743
+ mergeable?: boolean | null | undefined;
1744
+ mergeable_state?: string | undefined;
1745
+ review_comments?: number | undefined;
1746
+ commits?: number | undefined;
1747
+ additions?: number | undefined;
1748
+ deletions?: number | undefined;
1749
+ changed_files?: number | undefined;
1750
+ }[] | undefined;
1751
+ }>, z.ZodObject<{
1752
+ operation: z.ZodLiteral<"get_pull_request">;
1753
+ success: z.ZodBoolean;
1754
+ error: z.ZodString;
1755
+ } & {
1756
+ id: z.ZodOptional<z.ZodNumber>;
1757
+ node_id: z.ZodOptional<z.ZodString>;
1758
+ number: z.ZodOptional<z.ZodNumber>;
1759
+ state: z.ZodOptional<z.ZodEnum<["open", "closed"]>>;
1760
+ title: z.ZodOptional<z.ZodString>;
1761
+ body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1762
+ created_at: z.ZodOptional<z.ZodString>;
1763
+ updated_at: z.ZodOptional<z.ZodString>;
1764
+ closed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1765
+ merged_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1766
+ user: z.ZodOptional<z.ZodObject<{
1767
+ login: z.ZodString;
1768
+ id: z.ZodNumber;
1769
+ avatar_url: z.ZodString;
1770
+ }, "strip", z.ZodTypeAny, {
1771
+ id: number;
1772
+ login: string;
1773
+ avatar_url: string;
1774
+ }, {
1775
+ id: number;
1776
+ login: string;
1777
+ avatar_url: string;
1778
+ }>>;
1779
+ html_url: z.ZodOptional<z.ZodString>;
1780
+ draft: z.ZodOptional<z.ZodBoolean>;
1781
+ head: z.ZodOptional<z.ZodObject<{
1782
+ ref: z.ZodString;
1783
+ sha: z.ZodString;
1784
+ }, "strip", z.ZodTypeAny, {
1785
+ sha: string;
1786
+ ref: string;
1787
+ }, {
1788
+ sha: string;
1789
+ ref: string;
1790
+ }>>;
1791
+ base: z.ZodOptional<z.ZodObject<{
1792
+ ref: z.ZodString;
1793
+ sha: z.ZodString;
1794
+ }, "strip", z.ZodTypeAny, {
1795
+ sha: string;
1796
+ ref: string;
1797
+ }, {
1798
+ sha: string;
1799
+ ref: string;
1800
+ }>>;
1801
+ merged: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1802
+ mergeable: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>;
1803
+ mergeable_state: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1804
+ comments: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1805
+ review_comments: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1806
+ commits: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1807
+ additions: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1808
+ deletions: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1809
+ changed_files: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1810
+ }, "strip", z.ZodTypeAny, {
1811
+ error: string;
1812
+ success: boolean;
1813
+ operation: "get_pull_request";
1814
+ number?: number | undefined;
1815
+ title?: string | undefined;
1816
+ id?: number | undefined;
1817
+ user?: {
1818
+ id: number;
1819
+ login: string;
1820
+ avatar_url: string;
1821
+ } | undefined;
1822
+ body?: string | null | undefined;
1823
+ created_at?: string | undefined;
1824
+ draft?: boolean | undefined;
1825
+ comments?: number | undefined;
1826
+ state?: "open" | "closed" | undefined;
1827
+ html_url?: string | undefined;
1828
+ node_id?: string | undefined;
1829
+ updated_at?: string | undefined;
1830
+ closed_at?: string | null | undefined;
1831
+ merged_at?: string | null | undefined;
1832
+ head?: {
1833
+ sha: string;
1834
+ ref: string;
1835
+ } | undefined;
1836
+ base?: {
1837
+ sha: string;
1838
+ ref: string;
1839
+ } | undefined;
1840
+ merged?: boolean | undefined;
1841
+ mergeable?: boolean | null | undefined;
1842
+ mergeable_state?: string | undefined;
1843
+ review_comments?: number | undefined;
1844
+ commits?: number | undefined;
1845
+ additions?: number | undefined;
1846
+ deletions?: number | undefined;
1847
+ changed_files?: number | undefined;
1848
+ }, {
1849
+ error: string;
1850
+ success: boolean;
1851
+ operation: "get_pull_request";
1852
+ number?: number | undefined;
1853
+ title?: string | undefined;
1854
+ id?: number | undefined;
1855
+ user?: {
1856
+ id: number;
1857
+ login: string;
1858
+ avatar_url: string;
1859
+ } | undefined;
1860
+ body?: string | null | undefined;
1861
+ created_at?: string | undefined;
1862
+ draft?: boolean | undefined;
1863
+ comments?: number | undefined;
1864
+ state?: "open" | "closed" | undefined;
1865
+ html_url?: string | undefined;
1866
+ node_id?: string | undefined;
1867
+ updated_at?: string | undefined;
1868
+ closed_at?: string | null | undefined;
1869
+ merged_at?: string | null | undefined;
1870
+ head?: {
1871
+ sha: string;
1872
+ ref: string;
1873
+ } | undefined;
1874
+ base?: {
1875
+ sha: string;
1876
+ ref: string;
1877
+ } | undefined;
1878
+ merged?: boolean | undefined;
1879
+ mergeable?: boolean | null | undefined;
1880
+ mergeable_state?: string | undefined;
1881
+ review_comments?: number | undefined;
1882
+ commits?: number | undefined;
1883
+ additions?: number | undefined;
1884
+ deletions?: number | undefined;
1885
+ changed_files?: number | undefined;
1886
+ }>, z.ZodObject<{
1887
+ operation: z.ZodLiteral<"create_pr_comment">;
1888
+ success: z.ZodBoolean;
1889
+ error: z.ZodString;
1890
+ } & {
1891
+ id: z.ZodOptional<z.ZodNumber>;
1892
+ node_id: z.ZodOptional<z.ZodString>;
1893
+ body: z.ZodOptional<z.ZodString>;
1894
+ user: z.ZodOptional<z.ZodObject<{
1895
+ login: z.ZodString;
1896
+ id: z.ZodNumber;
1897
+ }, "strip", z.ZodTypeAny, {
1898
+ id: number;
1899
+ login: string;
1900
+ }, {
1901
+ id: number;
1902
+ login: string;
1903
+ }>>;
1904
+ created_at: z.ZodOptional<z.ZodString>;
1905
+ updated_at: z.ZodOptional<z.ZodString>;
1906
+ html_url: z.ZodOptional<z.ZodString>;
1907
+ }, "strip", z.ZodTypeAny, {
1908
+ error: string;
1909
+ success: boolean;
1910
+ operation: "create_pr_comment";
1911
+ id?: number | undefined;
1912
+ user?: {
1913
+ id: number;
1914
+ login: string;
1915
+ } | undefined;
1916
+ body?: string | undefined;
1917
+ created_at?: string | undefined;
1918
+ html_url?: string | undefined;
1919
+ node_id?: string | undefined;
1920
+ updated_at?: string | undefined;
1921
+ }, {
1922
+ error: string;
1923
+ success: boolean;
1924
+ operation: "create_pr_comment";
1925
+ id?: number | undefined;
1926
+ user?: {
1927
+ id: number;
1928
+ login: string;
1929
+ } | undefined;
1930
+ body?: string | undefined;
1931
+ created_at?: string | undefined;
1932
+ html_url?: string | undefined;
1933
+ node_id?: string | undefined;
1934
+ updated_at?: string | undefined;
1935
+ }>, z.ZodObject<{
1936
+ operation: z.ZodLiteral<"list_repositories">;
1937
+ success: z.ZodBoolean;
1938
+ error: z.ZodString;
1939
+ repositories: z.ZodOptional<z.ZodArray<z.ZodObject<{
1940
+ id: z.ZodNumber;
1941
+ node_id: z.ZodString;
1942
+ name: z.ZodString;
1943
+ full_name: z.ZodString;
1944
+ private: z.ZodBoolean;
1945
+ owner: z.ZodObject<{
1946
+ login: z.ZodString;
1947
+ id: z.ZodNumber;
1948
+ avatar_url: z.ZodString;
1949
+ html_url: z.ZodString;
1950
+ }, "strip", z.ZodTypeAny, {
1951
+ id: number;
1952
+ html_url: string;
1953
+ login: string;
1954
+ avatar_url: string;
1955
+ }, {
1956
+ id: number;
1957
+ html_url: string;
1958
+ login: string;
1959
+ avatar_url: string;
1960
+ }>;
1961
+ html_url: z.ZodString;
1962
+ description: z.ZodNullable<z.ZodString>;
1963
+ fork: z.ZodBoolean;
1964
+ created_at: z.ZodString;
1965
+ updated_at: z.ZodString;
1966
+ pushed_at: z.ZodString;
1967
+ size: z.ZodNumber;
1968
+ stargazers_count: z.ZodNumber;
1969
+ watchers_count: z.ZodNumber;
1970
+ language: z.ZodNullable<z.ZodString>;
1971
+ forks_count: z.ZodNumber;
1972
+ open_issues_count: z.ZodNumber;
1973
+ default_branch: z.ZodString;
1974
+ visibility: z.ZodOptional<z.ZodString>;
1975
+ }, "strip", z.ZodTypeAny, {
1976
+ description: string | null;
1977
+ name: string;
1978
+ id: number;
1979
+ size: number;
1980
+ private: boolean;
1981
+ created_at: string;
1982
+ owner: {
1983
+ id: number;
1984
+ html_url: string;
1985
+ login: string;
1986
+ avatar_url: string;
1987
+ };
1988
+ full_name: string;
1989
+ language: string | null;
1990
+ html_url: string;
1991
+ node_id: string;
1992
+ fork: boolean;
1993
+ updated_at: string;
1994
+ pushed_at: string;
1995
+ stargazers_count: number;
1996
+ watchers_count: number;
1997
+ forks_count: number;
1998
+ open_issues_count: number;
1999
+ default_branch: string;
2000
+ visibility?: string | undefined;
2001
+ }, {
2002
+ description: string | null;
2003
+ name: string;
2004
+ id: number;
2005
+ size: number;
2006
+ private: boolean;
2007
+ created_at: string;
2008
+ owner: {
2009
+ id: number;
2010
+ html_url: string;
2011
+ login: string;
2012
+ avatar_url: string;
2013
+ };
2014
+ full_name: string;
2015
+ language: string | null;
2016
+ html_url: string;
2017
+ node_id: string;
2018
+ fork: boolean;
2019
+ updated_at: string;
2020
+ pushed_at: string;
2021
+ stargazers_count: number;
2022
+ watchers_count: number;
2023
+ forks_count: number;
2024
+ open_issues_count: number;
2025
+ default_branch: string;
2026
+ visibility?: string | undefined;
2027
+ }>, "many">>;
2028
+ }, "strip", z.ZodTypeAny, {
2029
+ error: string;
2030
+ success: boolean;
2031
+ operation: "list_repositories";
2032
+ repositories?: {
2033
+ description: string | null;
2034
+ name: string;
2035
+ id: number;
2036
+ size: number;
2037
+ private: boolean;
2038
+ created_at: string;
2039
+ owner: {
2040
+ id: number;
2041
+ html_url: string;
2042
+ login: string;
2043
+ avatar_url: string;
2044
+ };
2045
+ full_name: string;
2046
+ language: string | null;
2047
+ html_url: string;
2048
+ node_id: string;
2049
+ fork: boolean;
2050
+ updated_at: string;
2051
+ pushed_at: string;
2052
+ stargazers_count: number;
2053
+ watchers_count: number;
2054
+ forks_count: number;
2055
+ open_issues_count: number;
2056
+ default_branch: string;
2057
+ visibility?: string | undefined;
2058
+ }[] | undefined;
2059
+ }, {
2060
+ error: string;
2061
+ success: boolean;
2062
+ operation: "list_repositories";
2063
+ repositories?: {
2064
+ description: string | null;
2065
+ name: string;
2066
+ id: number;
2067
+ size: number;
2068
+ private: boolean;
2069
+ created_at: string;
2070
+ owner: {
2071
+ id: number;
2072
+ html_url: string;
2073
+ login: string;
2074
+ avatar_url: string;
2075
+ };
2076
+ full_name: string;
2077
+ language: string | null;
2078
+ html_url: string;
2079
+ node_id: string;
2080
+ fork: boolean;
2081
+ updated_at: string;
2082
+ pushed_at: string;
2083
+ stargazers_count: number;
2084
+ watchers_count: number;
2085
+ forks_count: number;
2086
+ open_issues_count: number;
2087
+ default_branch: string;
2088
+ visibility?: string | undefined;
2089
+ }[] | undefined;
2090
+ }>, z.ZodObject<{
2091
+ operation: z.ZodLiteral<"get_repository">;
2092
+ success: z.ZodBoolean;
2093
+ error: z.ZodString;
2094
+ } & {
2095
+ id: z.ZodOptional<z.ZodNumber>;
2096
+ node_id: z.ZodOptional<z.ZodString>;
2097
+ name: z.ZodOptional<z.ZodString>;
2098
+ full_name: z.ZodOptional<z.ZodString>;
2099
+ private: z.ZodOptional<z.ZodBoolean>;
2100
+ owner: z.ZodOptional<z.ZodObject<{
2101
+ login: z.ZodString;
2102
+ id: z.ZodNumber;
2103
+ avatar_url: z.ZodString;
2104
+ html_url: z.ZodString;
2105
+ }, "strip", z.ZodTypeAny, {
2106
+ id: number;
2107
+ html_url: string;
2108
+ login: string;
2109
+ avatar_url: string;
2110
+ }, {
2111
+ id: number;
2112
+ html_url: string;
2113
+ login: string;
2114
+ avatar_url: string;
2115
+ }>>;
2116
+ html_url: z.ZodOptional<z.ZodString>;
2117
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2118
+ fork: z.ZodOptional<z.ZodBoolean>;
2119
+ created_at: z.ZodOptional<z.ZodString>;
2120
+ updated_at: z.ZodOptional<z.ZodString>;
2121
+ pushed_at: z.ZodOptional<z.ZodString>;
2122
+ size: z.ZodOptional<z.ZodNumber>;
2123
+ stargazers_count: z.ZodOptional<z.ZodNumber>;
2124
+ watchers_count: z.ZodOptional<z.ZodNumber>;
2125
+ language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2126
+ forks_count: z.ZodOptional<z.ZodNumber>;
2127
+ open_issues_count: z.ZodOptional<z.ZodNumber>;
2128
+ default_branch: z.ZodOptional<z.ZodString>;
2129
+ visibility: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2130
+ }, "strip", z.ZodTypeAny, {
2131
+ error: string;
2132
+ success: boolean;
2133
+ operation: "get_repository";
2134
+ description?: string | null | undefined;
2135
+ name?: string | undefined;
2136
+ id?: number | undefined;
2137
+ size?: number | undefined;
2138
+ private?: boolean | undefined;
2139
+ created_at?: string | undefined;
2140
+ owner?: {
2141
+ id: number;
2142
+ html_url: string;
2143
+ login: string;
2144
+ avatar_url: string;
2145
+ } | undefined;
2146
+ full_name?: string | undefined;
2147
+ language?: string | null | undefined;
2148
+ html_url?: string | undefined;
2149
+ node_id?: string | undefined;
2150
+ fork?: boolean | undefined;
2151
+ updated_at?: string | undefined;
2152
+ pushed_at?: string | undefined;
2153
+ stargazers_count?: number | undefined;
2154
+ watchers_count?: number | undefined;
2155
+ forks_count?: number | undefined;
2156
+ open_issues_count?: number | undefined;
2157
+ default_branch?: string | undefined;
2158
+ visibility?: string | undefined;
2159
+ }, {
2160
+ error: string;
2161
+ success: boolean;
2162
+ operation: "get_repository";
2163
+ description?: string | null | undefined;
2164
+ name?: string | undefined;
2165
+ id?: number | undefined;
2166
+ size?: number | undefined;
2167
+ private?: boolean | undefined;
2168
+ created_at?: string | undefined;
2169
+ owner?: {
2170
+ id: number;
2171
+ html_url: string;
2172
+ login: string;
2173
+ avatar_url: string;
2174
+ } | undefined;
2175
+ full_name?: string | undefined;
2176
+ language?: string | null | undefined;
2177
+ html_url?: string | undefined;
2178
+ node_id?: string | undefined;
2179
+ fork?: boolean | undefined;
2180
+ updated_at?: string | undefined;
2181
+ pushed_at?: string | undefined;
2182
+ stargazers_count?: number | undefined;
2183
+ watchers_count?: number | undefined;
2184
+ forks_count?: number | undefined;
2185
+ open_issues_count?: number | undefined;
2186
+ default_branch?: string | undefined;
2187
+ visibility?: string | undefined;
2188
+ }>, z.ZodObject<{
2189
+ operation: z.ZodLiteral<"create_issue_comment">;
2190
+ success: z.ZodBoolean;
2191
+ error: z.ZodString;
2192
+ } & {
2193
+ id: z.ZodOptional<z.ZodNumber>;
2194
+ node_id: z.ZodOptional<z.ZodString>;
2195
+ body: z.ZodOptional<z.ZodString>;
2196
+ user: z.ZodOptional<z.ZodObject<{
2197
+ login: z.ZodString;
2198
+ id: z.ZodNumber;
2199
+ }, "strip", z.ZodTypeAny, {
2200
+ id: number;
2201
+ login: string;
2202
+ }, {
2203
+ id: number;
2204
+ login: string;
2205
+ }>>;
2206
+ created_at: z.ZodOptional<z.ZodString>;
2207
+ updated_at: z.ZodOptional<z.ZodString>;
2208
+ html_url: z.ZodOptional<z.ZodString>;
2209
+ }, "strip", z.ZodTypeAny, {
2210
+ error: string;
2211
+ success: boolean;
2212
+ operation: "create_issue_comment";
2213
+ id?: number | undefined;
2214
+ user?: {
2215
+ id: number;
2216
+ login: string;
2217
+ } | undefined;
2218
+ body?: string | undefined;
2219
+ created_at?: string | undefined;
2220
+ html_url?: string | undefined;
2221
+ node_id?: string | undefined;
2222
+ updated_at?: string | undefined;
2223
+ }, {
2224
+ error: string;
2225
+ success: boolean;
2226
+ operation: "create_issue_comment";
2227
+ id?: number | undefined;
2228
+ user?: {
2229
+ id: number;
2230
+ login: string;
2231
+ } | undefined;
2232
+ body?: string | undefined;
2233
+ created_at?: string | undefined;
2234
+ html_url?: string | undefined;
2235
+ node_id?: string | undefined;
2236
+ updated_at?: string | undefined;
2237
+ }>, z.ZodObject<{
2238
+ operation: z.ZodLiteral<"list_issues">;
2239
+ success: z.ZodBoolean;
2240
+ error: z.ZodString;
2241
+ issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
2242
+ id: z.ZodNumber;
2243
+ node_id: z.ZodString;
2244
+ number: z.ZodNumber;
2245
+ state: z.ZodEnum<["open", "closed"]>;
2246
+ title: z.ZodString;
2247
+ body: z.ZodNullable<z.ZodString>;
2248
+ user: z.ZodObject<{
2249
+ login: z.ZodString;
2250
+ id: z.ZodNumber;
2251
+ }, "strip", z.ZodTypeAny, {
2252
+ id: number;
2253
+ login: string;
2254
+ }, {
2255
+ id: number;
2256
+ login: string;
2257
+ }>;
2258
+ labels: z.ZodArray<z.ZodObject<{
2259
+ id: z.ZodNumber;
2260
+ name: z.ZodString;
2261
+ color: z.ZodString;
2262
+ description: z.ZodNullable<z.ZodString>;
2263
+ }, "strip", z.ZodTypeAny, {
2264
+ description: string | null;
2265
+ name: string;
2266
+ id: number;
2267
+ color: string;
2268
+ }, {
2269
+ description: string | null;
2270
+ name: string;
2271
+ id: number;
2272
+ color: string;
2273
+ }>, "many">;
2274
+ created_at: z.ZodString;
2275
+ updated_at: z.ZodString;
2276
+ closed_at: z.ZodNullable<z.ZodString>;
2277
+ html_url: z.ZodString;
2278
+ comments: z.ZodNumber;
2279
+ }, "strip", z.ZodTypeAny, {
2280
+ number: number;
2281
+ title: string;
2282
+ id: number;
2283
+ user: {
2284
+ id: number;
2285
+ login: string;
2286
+ };
2287
+ body: string | null;
2288
+ created_at: string;
2289
+ labels: {
2290
+ description: string | null;
2291
+ name: string;
2292
+ id: number;
2293
+ color: string;
2294
+ }[];
2295
+ comments: number;
2296
+ state: "open" | "closed";
2297
+ html_url: string;
2298
+ node_id: string;
2299
+ updated_at: string;
2300
+ closed_at: string | null;
2301
+ }, {
2302
+ number: number;
2303
+ title: string;
2304
+ id: number;
2305
+ user: {
2306
+ id: number;
2307
+ login: string;
2308
+ };
2309
+ body: string | null;
2310
+ created_at: string;
2311
+ labels: {
2312
+ description: string | null;
2313
+ name: string;
2314
+ id: number;
2315
+ color: string;
2316
+ }[];
2317
+ comments: number;
2318
+ state: "open" | "closed";
2319
+ html_url: string;
2320
+ node_id: string;
2321
+ updated_at: string;
2322
+ closed_at: string | null;
2323
+ }>, "many">>;
2324
+ }, "strip", z.ZodTypeAny, {
2325
+ error: string;
2326
+ success: boolean;
2327
+ operation: "list_issues";
2328
+ issues?: {
2329
+ number: number;
2330
+ title: string;
2331
+ id: number;
2332
+ user: {
2333
+ id: number;
2334
+ login: string;
2335
+ };
2336
+ body: string | null;
2337
+ created_at: string;
2338
+ labels: {
2339
+ description: string | null;
2340
+ name: string;
2341
+ id: number;
2342
+ color: string;
2343
+ }[];
2344
+ comments: number;
2345
+ state: "open" | "closed";
2346
+ html_url: string;
2347
+ node_id: string;
2348
+ updated_at: string;
2349
+ closed_at: string | null;
2350
+ }[] | undefined;
2351
+ }, {
2352
+ error: string;
2353
+ success: boolean;
2354
+ operation: "list_issues";
2355
+ issues?: {
2356
+ number: number;
2357
+ title: string;
2358
+ id: number;
2359
+ user: {
2360
+ id: number;
2361
+ login: string;
2362
+ };
2363
+ body: string | null;
2364
+ created_at: string;
2365
+ labels: {
2366
+ description: string | null;
2367
+ name: string;
2368
+ id: number;
2369
+ color: string;
2370
+ }[];
2371
+ comments: number;
2372
+ state: "open" | "closed";
2373
+ html_url: string;
2374
+ node_id: string;
2375
+ updated_at: string;
2376
+ closed_at: string | null;
2377
+ }[] | undefined;
2378
+ }>]>;
2379
+ static readonly shortDescription = "GitHub API integration for repository operations";
2380
+ static readonly longDescription = "\n GitHub API integration for accessing repositories, pull requests, issues, and files.\n \n Features:\n - Get file contents from repositories\n - List and browse directory contents\n - Manage pull requests (list, get details, comment)\n - Manage issues (list, comment)\n - List and get repository information\n - Non-sensitive read and comment operations only\n \n Use cases:\n - Code review automation and PR management\n - Repository file access and content retrieval\n - Issue and PR comment automation\n - Repository exploration and documentation\n - CI/CD integration and status checks\n \n Security Features:\n - Personal access token authentication (GitHub PAT)\n - Read-only operations with safe comment capabilities\n - No file deletion or destructive operations\n - Respects repository permissions\n ";
2381
+ static readonly alias = "gh";
2382
+ constructor(params?: T, context?: BubbleContext);
2383
+ testCredential(): Promise<boolean>;
2384
+ protected chooseCredential(): string | undefined;
2385
+ protected performAction(context?: BubbleContext): Promise<Extract<GithubResult, {
2386
+ operation: T['operation'];
2387
+ }>>;
2388
+ private handleGetFile;
2389
+ private handleGetDirectory;
2390
+ private handleListPullRequests;
2391
+ private handleGetPullRequest;
2392
+ private handleCreatePrComment;
2393
+ private handleListRepositories;
2394
+ private handleGetRepository;
2395
+ private handleCreateIssueComment;
2396
+ private handleListIssues;
2397
+ }
2398
+ export {};
2399
+ //# sourceMappingURL=github.d.ts.map