@keystrokehq/swaggerhub 0.1.0

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 (386) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/add-access-control-for-teams.cjs +37 -0
  7. package/dist/actions/add-access-control-for-teams.cjs.map +1 -0
  8. package/dist/actions/add-access-control-for-teams.d.cts +9 -0
  9. package/dist/actions/add-access-control-for-teams.d.cts.map +1 -0
  10. package/dist/actions/add-access-control-for-teams.d.mts +9 -0
  11. package/dist/actions/add-access-control-for-teams.d.mts.map +1 -0
  12. package/dist/actions/add-access-control-for-teams.mjs +36 -0
  13. package/dist/actions/add-access-control-for-teams.mjs.map +1 -0
  14. package/dist/actions/add-access-control-for-users.cjs +41 -0
  15. package/dist/actions/add-access-control-for-users.cjs.map +1 -0
  16. package/dist/actions/add-access-control-for-users.d.cts +9 -0
  17. package/dist/actions/add-access-control-for-users.d.cts.map +1 -0
  18. package/dist/actions/add-access-control-for-users.d.mts +9 -0
  19. package/dist/actions/add-access-control-for-users.d.mts.map +1 -0
  20. package/dist/actions/add-access-control-for-users.mjs +40 -0
  21. package/dist/actions/add-access-control-for-users.mjs.map +1 -0
  22. package/dist/actions/delete-table-of-contents-entry.cjs +19 -0
  23. package/dist/actions/delete-table-of-contents-entry.cjs.map +1 -0
  24. package/dist/actions/delete-table-of-contents-entry.d.cts +9 -0
  25. package/dist/actions/delete-table-of-contents-entry.d.cts.map +1 -0
  26. package/dist/actions/delete-table-of-contents-entry.d.mts +9 -0
  27. package/dist/actions/delete-table-of-contents-entry.d.mts.map +1 -0
  28. package/dist/actions/delete-table-of-contents-entry.mjs +16 -0
  29. package/dist/actions/delete-table-of-contents-entry.mjs.map +1 -0
  30. package/dist/actions/get-access-control-users.cjs +47 -0
  31. package/dist/actions/get-access-control-users.cjs.map +1 -0
  32. package/dist/actions/get-access-control-users.d.cts +9 -0
  33. package/dist/actions/get-access-control-users.d.cts.map +1 -0
  34. package/dist/actions/get-access-control-users.d.mts +9 -0
  35. package/dist/actions/get-access-control-users.d.mts.map +1 -0
  36. package/dist/actions/get-access-control-users.mjs +46 -0
  37. package/dist/actions/get-access-control-users.mjs.map +1 -0
  38. package/dist/actions/get-api-default-version.cjs +19 -0
  39. package/dist/actions/get-api-default-version.cjs.map +1 -0
  40. package/dist/actions/get-api-default-version.d.cts +9 -0
  41. package/dist/actions/get-api-default-version.d.cts.map +1 -0
  42. package/dist/actions/get-api-default-version.d.mts +9 -0
  43. package/dist/actions/get-api-default-version.d.mts.map +1 -0
  44. package/dist/actions/get-api-default-version.mjs +16 -0
  45. package/dist/actions/get-api-default-version.mjs.map +1 -0
  46. package/dist/actions/get-api-versions.cjs +36 -0
  47. package/dist/actions/get-api-versions.cjs.map +1 -0
  48. package/dist/actions/get-api-versions.d.cts +9 -0
  49. package/dist/actions/get-api-versions.d.cts.map +1 -0
  50. package/dist/actions/get-api-versions.d.mts +9 -0
  51. package/dist/actions/get-api-versions.d.mts.map +1 -0
  52. package/dist/actions/get-api-versions.mjs +35 -0
  53. package/dist/actions/get-api-versions.mjs.map +1 -0
  54. package/dist/actions/get-consumer-products.cjs +46 -0
  55. package/dist/actions/get-consumer-products.cjs.map +1 -0
  56. package/dist/actions/get-consumer-products.d.cts +9 -0
  57. package/dist/actions/get-consumer-products.d.cts.map +1 -0
  58. package/dist/actions/get-consumer-products.d.mts +9 -0
  59. package/dist/actions/get-consumer-products.d.mts.map +1 -0
  60. package/dist/actions/get-consumer-products.mjs +45 -0
  61. package/dist/actions/get-consumer-products.mjs.map +1 -0
  62. package/dist/actions/get-definition.cjs +55 -0
  63. package/dist/actions/get-definition.cjs.map +1 -0
  64. package/dist/actions/get-definition.d.cts +9 -0
  65. package/dist/actions/get-definition.d.cts.map +1 -0
  66. package/dist/actions/get-definition.d.mts +9 -0
  67. package/dist/actions/get-definition.d.mts.map +1 -0
  68. package/dist/actions/get-definition.mjs +54 -0
  69. package/dist/actions/get-definition.mjs.map +1 -0
  70. package/dist/actions/get-domain-default-version.cjs +19 -0
  71. package/dist/actions/get-domain-default-version.cjs.map +1 -0
  72. package/dist/actions/get-domain-default-version.d.cts +9 -0
  73. package/dist/actions/get-domain-default-version.d.cts.map +1 -0
  74. package/dist/actions/get-domain-default-version.d.mts +9 -0
  75. package/dist/actions/get-domain-default-version.d.mts.map +1 -0
  76. package/dist/actions/get-domain-default-version.mjs +16 -0
  77. package/dist/actions/get-domain-default-version.mjs.map +1 -0
  78. package/dist/actions/get-domain-definition.cjs +46 -0
  79. package/dist/actions/get-domain-definition.cjs.map +1 -0
  80. package/dist/actions/get-domain-definition.d.cts +9 -0
  81. package/dist/actions/get-domain-definition.d.cts.map +1 -0
  82. package/dist/actions/get-domain-definition.d.mts +9 -0
  83. package/dist/actions/get-domain-definition.d.mts.map +1 -0
  84. package/dist/actions/get-domain-definition.mjs +45 -0
  85. package/dist/actions/get-domain-definition.mjs.map +1 -0
  86. package/dist/actions/get-domain-json-definition.cjs +35 -0
  87. package/dist/actions/get-domain-json-definition.cjs.map +1 -0
  88. package/dist/actions/get-domain-json-definition.d.cts +9 -0
  89. package/dist/actions/get-domain-json-definition.d.cts.map +1 -0
  90. package/dist/actions/get-domain-json-definition.d.mts +9 -0
  91. package/dist/actions/get-domain-json-definition.d.mts.map +1 -0
  92. package/dist/actions/get-domain-json-definition.mjs +34 -0
  93. package/dist/actions/get-domain-json-definition.mjs.map +1 -0
  94. package/dist/actions/get-domain-lifecycle-settings.cjs +20 -0
  95. package/dist/actions/get-domain-lifecycle-settings.cjs.map +1 -0
  96. package/dist/actions/get-domain-lifecycle-settings.d.cts +9 -0
  97. package/dist/actions/get-domain-lifecycle-settings.d.cts.map +1 -0
  98. package/dist/actions/get-domain-lifecycle-settings.d.mts +9 -0
  99. package/dist/actions/get-domain-lifecycle-settings.d.mts.map +1 -0
  100. package/dist/actions/get-domain-lifecycle-settings.mjs +17 -0
  101. package/dist/actions/get-domain-lifecycle-settings.mjs.map +1 -0
  102. package/dist/actions/get-domain-private-settings.cjs +20 -0
  103. package/dist/actions/get-domain-private-settings.cjs.map +1 -0
  104. package/dist/actions/get-domain-private-settings.d.cts +9 -0
  105. package/dist/actions/get-domain-private-settings.d.cts.map +1 -0
  106. package/dist/actions/get-domain-private-settings.d.mts +9 -0
  107. package/dist/actions/get-domain-private-settings.d.mts.map +1 -0
  108. package/dist/actions/get-domain-private-settings.mjs +17 -0
  109. package/dist/actions/get-domain-private-settings.mjs.map +1 -0
  110. package/dist/actions/get-domain-versions.cjs +37 -0
  111. package/dist/actions/get-domain-versions.cjs.map +1 -0
  112. package/dist/actions/get-domain-versions.d.cts +9 -0
  113. package/dist/actions/get-domain-versions.d.cts.map +1 -0
  114. package/dist/actions/get-domain-versions.d.mts +9 -0
  115. package/dist/actions/get-domain-versions.d.mts.map +1 -0
  116. package/dist/actions/get-domain-versions.mjs +36 -0
  117. package/dist/actions/get-domain-versions.mjs.map +1 -0
  118. package/dist/actions/get-domain-yaml-definition.cjs +25 -0
  119. package/dist/actions/get-domain-yaml-definition.cjs.map +1 -0
  120. package/dist/actions/get-domain-yaml-definition.d.cts +9 -0
  121. package/dist/actions/get-domain-yaml-definition.d.cts.map +1 -0
  122. package/dist/actions/get-domain-yaml-definition.d.mts +9 -0
  123. package/dist/actions/get-domain-yaml-definition.d.mts.map +1 -0
  124. package/dist/actions/get-domain-yaml-definition.mjs +22 -0
  125. package/dist/actions/get-domain-yaml-definition.mjs.map +1 -0
  126. package/dist/actions/get-lifecycle-settings.cjs +20 -0
  127. package/dist/actions/get-lifecycle-settings.cjs.map +1 -0
  128. package/dist/actions/get-lifecycle-settings.d.cts +9 -0
  129. package/dist/actions/get-lifecycle-settings.d.cts.map +1 -0
  130. package/dist/actions/get-lifecycle-settings.d.mts +9 -0
  131. package/dist/actions/get-lifecycle-settings.d.mts.map +1 -0
  132. package/dist/actions/get-lifecycle-settings.mjs +17 -0
  133. package/dist/actions/get-lifecycle-settings.mjs.map +1 -0
  134. package/dist/actions/get-org-projects-v2.cjs +42 -0
  135. package/dist/actions/get-org-projects-v2.cjs.map +1 -0
  136. package/dist/actions/get-org-projects-v2.d.cts +9 -0
  137. package/dist/actions/get-org-projects-v2.d.cts.map +1 -0
  138. package/dist/actions/get-org-projects-v2.d.mts +9 -0
  139. package/dist/actions/get-org-projects-v2.d.mts.map +1 -0
  140. package/dist/actions/get-org-projects-v2.mjs +41 -0
  141. package/dist/actions/get-org-projects-v2.mjs.map +1 -0
  142. package/dist/actions/get-organization-members.cjs +43 -0
  143. package/dist/actions/get-organization-members.cjs.map +1 -0
  144. package/dist/actions/get-organization-members.d.cts +9 -0
  145. package/dist/actions/get-organization-members.d.cts.map +1 -0
  146. package/dist/actions/get-organization-members.d.mts +9 -0
  147. package/dist/actions/get-organization-members.d.mts.map +1 -0
  148. package/dist/actions/get-organization-members.mjs +42 -0
  149. package/dist/actions/get-organization-members.mjs.map +1 -0
  150. package/dist/actions/get-organizations.cjs +35 -0
  151. package/dist/actions/get-organizations.cjs.map +1 -0
  152. package/dist/actions/get-organizations.d.cts +9 -0
  153. package/dist/actions/get-organizations.d.cts.map +1 -0
  154. package/dist/actions/get-organizations.d.mts +9 -0
  155. package/dist/actions/get-organizations.d.mts.map +1 -0
  156. package/dist/actions/get-organizations.mjs +34 -0
  157. package/dist/actions/get-organizations.mjs.map +1 -0
  158. package/dist/actions/get-owner-apis.cjs +46 -0
  159. package/dist/actions/get-owner-apis.cjs.map +1 -0
  160. package/dist/actions/get-owner-apis.d.cts +9 -0
  161. package/dist/actions/get-owner-apis.d.cts.map +1 -0
  162. package/dist/actions/get-owner-apis.d.mts +9 -0
  163. package/dist/actions/get-owner-apis.d.mts.map +1 -0
  164. package/dist/actions/get-owner-apis.mjs +45 -0
  165. package/dist/actions/get-owner-apis.mjs.map +1 -0
  166. package/dist/actions/get-owner-domains.cjs +43 -0
  167. package/dist/actions/get-owner-domains.cjs.map +1 -0
  168. package/dist/actions/get-owner-domains.d.cts +9 -0
  169. package/dist/actions/get-owner-domains.d.cts.map +1 -0
  170. package/dist/actions/get-owner-domains.d.mts +9 -0
  171. package/dist/actions/get-owner-domains.d.mts.map +1 -0
  172. package/dist/actions/get-owner-domains.mjs +42 -0
  173. package/dist/actions/get-owner-domains.mjs.map +1 -0
  174. package/dist/actions/get-portal-access-requests.cjs +54 -0
  175. package/dist/actions/get-portal-access-requests.cjs.map +1 -0
  176. package/dist/actions/get-portal-access-requests.d.cts +9 -0
  177. package/dist/actions/get-portal-access-requests.d.cts.map +1 -0
  178. package/dist/actions/get-portal-access-requests.d.mts +9 -0
  179. package/dist/actions/get-portal-access-requests.d.mts.map +1 -0
  180. package/dist/actions/get-portal-access-requests.mjs +53 -0
  181. package/dist/actions/get-portal-access-requests.mjs.map +1 -0
  182. package/dist/actions/get-portal-attachment.cjs +22 -0
  183. package/dist/actions/get-portal-attachment.cjs.map +1 -0
  184. package/dist/actions/get-portal-attachment.d.cts +9 -0
  185. package/dist/actions/get-portal-attachment.d.cts.map +1 -0
  186. package/dist/actions/get-portal-attachment.d.mts +9 -0
  187. package/dist/actions/get-portal-attachment.d.mts.map +1 -0
  188. package/dist/actions/get-portal-attachment.mjs +19 -0
  189. package/dist/actions/get-portal-attachment.mjs.map +1 -0
  190. package/dist/actions/get-portal-product.cjs +35 -0
  191. package/dist/actions/get-portal-product.cjs.map +1 -0
  192. package/dist/actions/get-portal-product.d.cts +9 -0
  193. package/dist/actions/get-portal-product.d.cts.map +1 -0
  194. package/dist/actions/get-portal-product.d.mts +9 -0
  195. package/dist/actions/get-portal-product.d.mts.map +1 -0
  196. package/dist/actions/get-portal-product.mjs +34 -0
  197. package/dist/actions/get-portal-product.mjs.map +1 -0
  198. package/dist/actions/get-portal-products.cjs +49 -0
  199. package/dist/actions/get-portal-products.cjs.map +1 -0
  200. package/dist/actions/get-portal-products.d.cts +9 -0
  201. package/dist/actions/get-portal-products.d.cts.map +1 -0
  202. package/dist/actions/get-portal-products.d.mts +9 -0
  203. package/dist/actions/get-portal-products.d.mts.map +1 -0
  204. package/dist/actions/get-portal-products.mjs +48 -0
  205. package/dist/actions/get-portal-products.mjs.map +1 -0
  206. package/dist/actions/get-portal-templates.cjs +44 -0
  207. package/dist/actions/get-portal-templates.cjs.map +1 -0
  208. package/dist/actions/get-portal-templates.d.cts +9 -0
  209. package/dist/actions/get-portal-templates.d.cts.map +1 -0
  210. package/dist/actions/get-portal-templates.d.mts +9 -0
  211. package/dist/actions/get-portal-templates.d.mts.map +1 -0
  212. package/dist/actions/get-portal-templates.mjs +43 -0
  213. package/dist/actions/get-portal-templates.mjs.map +1 -0
  214. package/dist/actions/get-portal.cjs +63 -0
  215. package/dist/actions/get-portal.cjs.map +1 -0
  216. package/dist/actions/get-portal.d.cts +9 -0
  217. package/dist/actions/get-portal.d.cts.map +1 -0
  218. package/dist/actions/get-portal.d.mts +9 -0
  219. package/dist/actions/get-portal.d.mts.map +1 -0
  220. package/dist/actions/get-portal.mjs +62 -0
  221. package/dist/actions/get-portal.mjs.map +1 -0
  222. package/dist/actions/get-portals.cjs +48 -0
  223. package/dist/actions/get-portals.cjs.map +1 -0
  224. package/dist/actions/get-portals.d.cts +9 -0
  225. package/dist/actions/get-portals.d.cts.map +1 -0
  226. package/dist/actions/get-portals.d.mts +9 -0
  227. package/dist/actions/get-portals.d.mts.map +1 -0
  228. package/dist/actions/get-portals.mjs +47 -0
  229. package/dist/actions/get-portals.mjs.map +1 -0
  230. package/dist/actions/get-private-settings.cjs +20 -0
  231. package/dist/actions/get-private-settings.cjs.map +1 -0
  232. package/dist/actions/get-private-settings.d.cts +9 -0
  233. package/dist/actions/get-private-settings.d.cts.map +1 -0
  234. package/dist/actions/get-private-settings.d.mts +9 -0
  235. package/dist/actions/get-private-settings.d.mts.map +1 -0
  236. package/dist/actions/get-private-settings.mjs +17 -0
  237. package/dist/actions/get-private-settings.mjs.map +1 -0
  238. package/dist/actions/get-resource-types.cjs +23 -0
  239. package/dist/actions/get-resource-types.cjs.map +1 -0
  240. package/dist/actions/get-resource-types.d.cts +9 -0
  241. package/dist/actions/get-resource-types.d.cts.map +1 -0
  242. package/dist/actions/get-resource-types.d.mts +9 -0
  243. package/dist/actions/get-resource-types.d.mts.map +1 -0
  244. package/dist/actions/get-resource-types.mjs +20 -0
  245. package/dist/actions/get-resource-types.mjs.map +1 -0
  246. package/dist/actions/get-templates.cjs +23 -0
  247. package/dist/actions/get-templates.cjs.map +1 -0
  248. package/dist/actions/get-templates.d.cts +9 -0
  249. package/dist/actions/get-templates.d.cts.map +1 -0
  250. package/dist/actions/get-templates.d.mts +9 -0
  251. package/dist/actions/get-templates.d.mts.map +1 -0
  252. package/dist/actions/get-templates.mjs +22 -0
  253. package/dist/actions/get-templates.mjs.map +1 -0
  254. package/dist/actions/get-user-roles.cjs +40 -0
  255. package/dist/actions/get-user-roles.cjs.map +1 -0
  256. package/dist/actions/get-user-roles.d.cts +9 -0
  257. package/dist/actions/get-user-roles.d.cts.map +1 -0
  258. package/dist/actions/get-user-roles.d.mts +9 -0
  259. package/dist/actions/get-user-roles.d.mts.map +1 -0
  260. package/dist/actions/get-user-roles.mjs +39 -0
  261. package/dist/actions/get-user-roles.mjs.map +1 -0
  262. package/dist/actions/get-yaml-definition.cjs +25 -0
  263. package/dist/actions/get-yaml-definition.cjs.map +1 -0
  264. package/dist/actions/get-yaml-definition.d.cts +9 -0
  265. package/dist/actions/get-yaml-definition.d.cts.map +1 -0
  266. package/dist/actions/get-yaml-definition.d.mts +9 -0
  267. package/dist/actions/get-yaml-definition.d.mts.map +1 -0
  268. package/dist/actions/get-yaml-definition.mjs +22 -0
  269. package/dist/actions/get-yaml-definition.mjs.map +1 -0
  270. package/dist/actions/index.cjs +89 -0
  271. package/dist/actions/index.d.cts +45 -0
  272. package/dist/actions/index.d.mts +45 -0
  273. package/dist/actions/index.mjs +45 -0
  274. package/dist/actions/list-attachments.cjs +26 -0
  275. package/dist/actions/list-attachments.cjs.map +1 -0
  276. package/dist/actions/list-attachments.d.cts +9 -0
  277. package/dist/actions/list-attachments.d.cts.map +1 -0
  278. package/dist/actions/list-attachments.d.mts +9 -0
  279. package/dist/actions/list-attachments.d.mts.map +1 -0
  280. package/dist/actions/list-attachments.mjs +25 -0
  281. package/dist/actions/list-attachments.mjs.map +1 -0
  282. package/dist/actions/remove-access-control-for-teams.cjs +30 -0
  283. package/dist/actions/remove-access-control-for-teams.cjs.map +1 -0
  284. package/dist/actions/remove-access-control-for-teams.d.cts +9 -0
  285. package/dist/actions/remove-access-control-for-teams.d.cts.map +1 -0
  286. package/dist/actions/remove-access-control-for-teams.d.mts +9 -0
  287. package/dist/actions/remove-access-control-for-teams.d.mts.map +1 -0
  288. package/dist/actions/remove-access-control-for-teams.mjs +29 -0
  289. package/dist/actions/remove-access-control-for-teams.mjs.map +1 -0
  290. package/dist/actions/remove-access-control-for-users.cjs +32 -0
  291. package/dist/actions/remove-access-control-for-users.cjs.map +1 -0
  292. package/dist/actions/remove-access-control-for-users.d.cts +9 -0
  293. package/dist/actions/remove-access-control-for-users.d.cts.map +1 -0
  294. package/dist/actions/remove-access-control-for-users.d.mts +9 -0
  295. package/dist/actions/remove-access-control-for-users.d.mts.map +1 -0
  296. package/dist/actions/remove-access-control-for-users.mjs +31 -0
  297. package/dist/actions/remove-access-control-for-users.mjs.map +1 -0
  298. package/dist/actions/remove-members.cjs +28 -0
  299. package/dist/actions/remove-members.cjs.map +1 -0
  300. package/dist/actions/remove-members.d.cts +9 -0
  301. package/dist/actions/remove-members.d.cts.map +1 -0
  302. package/dist/actions/remove-members.d.mts +9 -0
  303. package/dist/actions/remove-members.d.mts.map +1 -0
  304. package/dist/actions/remove-members.mjs +27 -0
  305. package/dist/actions/remove-members.mjs.map +1 -0
  306. package/dist/actions/search-apis-and-domains.cjs +67 -0
  307. package/dist/actions/search-apis-and-domains.cjs.map +1 -0
  308. package/dist/actions/search-apis-and-domains.d.cts +9 -0
  309. package/dist/actions/search-apis-and-domains.d.cts.map +1 -0
  310. package/dist/actions/search-apis-and-domains.d.mts +9 -0
  311. package/dist/actions/search-apis-and-domains.d.mts.map +1 -0
  312. package/dist/actions/search-apis-and-domains.mjs +66 -0
  313. package/dist/actions/search-apis-and-domains.mjs.map +1 -0
  314. package/dist/actions/search-apis.cjs +55 -0
  315. package/dist/actions/search-apis.cjs.map +1 -0
  316. package/dist/actions/search-apis.d.cts +9 -0
  317. package/dist/actions/search-apis.d.cts.map +1 -0
  318. package/dist/actions/search-apis.d.mts +9 -0
  319. package/dist/actions/search-apis.d.mts.map +1 -0
  320. package/dist/actions/search-apis.mjs +54 -0
  321. package/dist/actions/search-apis.mjs.map +1 -0
  322. package/dist/actions/search-domains.cjs +51 -0
  323. package/dist/actions/search-domains.cjs.map +1 -0
  324. package/dist/actions/search-domains.d.cts +9 -0
  325. package/dist/actions/search-domains.d.cts.map +1 -0
  326. package/dist/actions/search-domains.d.mts +9 -0
  327. package/dist/actions/search-domains.d.mts.map +1 -0
  328. package/dist/actions/search-domains.mjs +50 -0
  329. package/dist/actions/search-domains.mjs.map +1 -0
  330. package/dist/actions/search-published-portal.cjs +80 -0
  331. package/dist/actions/search-published-portal.cjs.map +1 -0
  332. package/dist/actions/search-published-portal.d.cts +9 -0
  333. package/dist/actions/search-published-portal.d.cts.map +1 -0
  334. package/dist/actions/search-published-portal.d.mts +9 -0
  335. package/dist/actions/search-published-portal.d.mts.map +1 -0
  336. package/dist/actions/search-published-portal.mjs +79 -0
  337. package/dist/actions/search-published-portal.mjs.map +1 -0
  338. package/dist/actions/update-access-control-for-teams.cjs +33 -0
  339. package/dist/actions/update-access-control-for-teams.cjs.map +1 -0
  340. package/dist/actions/update-access-control-for-teams.d.cts +9 -0
  341. package/dist/actions/update-access-control-for-teams.d.cts.map +1 -0
  342. package/dist/actions/update-access-control-for-teams.d.mts +9 -0
  343. package/dist/actions/update-access-control-for-teams.d.mts.map +1 -0
  344. package/dist/actions/update-access-control-for-teams.mjs +32 -0
  345. package/dist/actions/update-access-control-for-teams.mjs.map +1 -0
  346. package/dist/actions/update-access-control-for-users.cjs +41 -0
  347. package/dist/actions/update-access-control-for-users.cjs.map +1 -0
  348. package/dist/actions/update-access-control-for-users.d.cts +9 -0
  349. package/dist/actions/update-access-control-for-users.d.cts.map +1 -0
  350. package/dist/actions/update-access-control-for-users.d.mts +9 -0
  351. package/dist/actions/update-access-control-for-users.d.mts.map +1 -0
  352. package/dist/actions/update-access-control-for-users.mjs +40 -0
  353. package/dist/actions/update-access-control-for-users.mjs.map +1 -0
  354. package/dist/actions/update-portal.cjs +113 -0
  355. package/dist/actions/update-portal.cjs.map +1 -0
  356. package/dist/actions/update-portal.d.cts +9 -0
  357. package/dist/actions/update-portal.d.cts.map +1 -0
  358. package/dist/actions/update-portal.d.mts +9 -0
  359. package/dist/actions/update-portal.d.mts.map +1 -0
  360. package/dist/actions/update-portal.mjs +112 -0
  361. package/dist/actions/update-portal.mjs.map +1 -0
  362. package/dist/app.cjs +9 -0
  363. package/dist/app.cjs.map +1 -0
  364. package/dist/app.d.cts +5 -0
  365. package/dist/app.d.cts.map +1 -0
  366. package/dist/app.d.mts +5 -0
  367. package/dist/app.d.mts.map +1 -0
  368. package/dist/app.mjs +10 -0
  369. package/dist/app.mjs.map +1 -0
  370. package/dist/catalog.cjs +15 -0
  371. package/dist/catalog.cjs.map +1 -0
  372. package/dist/catalog.d.cts +14 -0
  373. package/dist/catalog.d.cts.map +1 -0
  374. package/dist/catalog.d.mts +14 -0
  375. package/dist/catalog.d.mts.map +1 -0
  376. package/dist/catalog.mjs +15 -0
  377. package/dist/catalog.mjs.map +1 -0
  378. package/dist/execute.cjs +18 -0
  379. package/dist/execute.cjs.map +1 -0
  380. package/dist/execute.mjs +18 -0
  381. package/dist/execute.mjs.map +1 -0
  382. package/dist/index.cjs +94 -0
  383. package/dist/index.d.cts +47 -0
  384. package/dist/index.d.mts +47 -0
  385. package/dist/index.mjs +48 -0
  386. package/package.json +49 -0
@@ -0,0 +1,36 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-domain-versions.ts
4
+ const SwaggerhubGetDomainVersionsInput = z.object({
5
+ owner: z.string().describe("Domain owner (organization or user, case-sensitive). This is the account name that owns the domain in SwaggerHub."),
6
+ domain: z.string().describe("Domain name (case-sensitive). This is the name of the domain definition in SwaggerHub.")
7
+ }).describe("Request model for getting domain versions.");
8
+ const SwaggerhubGetDomainVersions_ApiReferenceTagSchema = z.object({ name: z.string().describe("Name of the tag.").nullable().optional() }).describe("Model for a tag in an API reference.");
9
+ const SwaggerhubGetDomainVersions_ApiReferencePropertySchema = z.object({
10
+ url: z.string().describe("URL associated with the property.").nullable().optional(),
11
+ type: z.string().describe("Type of the property.").nullable().optional()
12
+ }).describe("Model for a property in an API reference.");
13
+ const SwaggerhubGetDomainVersions_ApiReferenceSchema = z.object({
14
+ name: z.string().describe("Name of the API that references this domain.").nullable().optional(),
15
+ tags: z.array(SwaggerhubGetDomainVersions_ApiReferenceTagSchema).describe("Tags associated with the API reference.").nullable().optional(),
16
+ properties: z.array(SwaggerhubGetDomainVersions_ApiReferencePropertySchema).describe("Additional properties associated with the API reference.").nullable().optional(),
17
+ description: z.string().describe("Description of the API that references this domain.").nullable().optional()
18
+ }).describe("Model for an API reference in the domain.");
19
+ const swaggerhubGetDomainVersions = action("SWAGGERHUB_GET_DOMAIN_VERSIONS", {
20
+ slug: "swaggerhub-get-domain-versions",
21
+ name: "Get Domain Versions",
22
+ description: "Tool to get a list of domain versions from SwaggerHub. Use when you need to retrieve all versions of a domain definition and see which APIs reference it. The domain must exist and be accessible with the provided authentication. Returns domain information in APIs.json format including referencing APIs.",
23
+ input: SwaggerhubGetDomainVersionsInput,
24
+ output: z.object({
25
+ url: z.string().describe("URL of the domain resource.").nullable().optional(),
26
+ apis: z.array(SwaggerhubGetDomainVersions_ApiReferenceSchema).describe("List of APIs that reference this domain. Each entry contains information about an API using this domain definition.").nullable().optional(),
27
+ name: z.string().describe("Name of the domain listing.").nullable().optional(),
28
+ offset: z.number().int().describe("Pagination offset for the results.").nullable().optional(),
29
+ totalCount: z.number().int().describe("Total number of API references for this domain.").nullable().optional(),
30
+ description: z.string().describe("Description of the domain.").nullable().optional()
31
+ }).describe("Response model for getting domain versions.")
32
+ });
33
+ //#endregion
34
+ export { swaggerhubGetDomainVersions };
35
+
36
+ //# sourceMappingURL=get-domain-versions.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-domain-versions.mjs","names":[],"sources":["../../src/actions/get-domain-versions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SwaggerhubGetDomainVersionsInput: z.ZodTypeAny = z.object({\n owner: z.string().describe(\"Domain owner (organization or user, case-sensitive). This is the account name that owns the domain in SwaggerHub.\"),\n domain: z.string().describe(\"Domain name (case-sensitive). This is the name of the domain definition in SwaggerHub.\"),\n}).describe(\"Request model for getting domain versions.\");\nconst SwaggerhubGetDomainVersions_ApiReferenceTagSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the tag.\").nullable().optional(),\n}).describe(\"Model for a tag in an API reference.\");\nconst SwaggerhubGetDomainVersions_ApiReferencePropertySchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL associated with the property.\").nullable().optional(),\n type: z.string().describe(\"Type of the property.\").nullable().optional(),\n}).describe(\"Model for a property in an API reference.\");\nconst SwaggerhubGetDomainVersions_ApiReferenceSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the API that references this domain.\").nullable().optional(),\n tags: z.array(SwaggerhubGetDomainVersions_ApiReferenceTagSchema).describe(\"Tags associated with the API reference.\").nullable().optional(),\n properties: z.array(SwaggerhubGetDomainVersions_ApiReferencePropertySchema).describe(\"Additional properties associated with the API reference.\").nullable().optional(),\n description: z.string().describe(\"Description of the API that references this domain.\").nullable().optional(),\n}).describe(\"Model for an API reference in the domain.\");\nexport const SwaggerhubGetDomainVersionsOutput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the domain resource.\").nullable().optional(),\n apis: z.array(SwaggerhubGetDomainVersions_ApiReferenceSchema).describe(\"List of APIs that reference this domain. Each entry contains information about an API using this domain definition.\").nullable().optional(),\n name: z.string().describe(\"Name of the domain listing.\").nullable().optional(),\n offset: z.number().int().describe(\"Pagination offset for the results.\").nullable().optional(),\n totalCount: z.number().int().describe(\"Total number of API references for this domain.\").nullable().optional(),\n description: z.string().describe(\"Description of the domain.\").nullable().optional(),\n}).describe(\"Response model for getting domain versions.\");\n\nexport const swaggerhubGetDomainVersions = action(\"SWAGGERHUB_GET_DOMAIN_VERSIONS\", {\n slug: \"swaggerhub-get-domain-versions\",\n name: \"Get Domain Versions\",\n description: \"Tool to get a list of domain versions from SwaggerHub. Use when you need to retrieve all versions of a domain definition and see which APIs reference it. The domain must exist and be accessible with the provided authentication. Returns domain information in APIs.json format including referencing APIs.\",\n input: SwaggerhubGetDomainVersionsInput,\n output: SwaggerhubGetDomainVersionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiD,EAAE,OAAO;CACrE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH;CAC9I,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF;AACtH,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,oDAAkE,EAAE,OAAO,EAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpE,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,yDAAuE,EAAE,OAAO;CACpF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC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("zod");
3
+ //#region src/actions/get-domain-yaml-definition.ts
4
+ const SwaggerhubGetDomainYamlDefinitionInput = zod.z.object({
5
+ owner: zod.z.string().describe("Domain owner (organization or user, case-sensitive)"),
6
+ domain: zod.z.string().describe("Domain name (case-sensitive)"),
7
+ version: zod.z.string().describe("Version identifier")
8
+ }).describe("Request model for retrieving a domain's OpenAPI definition in YAML format.");
9
+ const SwaggerhubGetDomainYamlDefinitionOutput = zod.z.object({
10
+ owner: zod.z.string().describe("Domain owner"),
11
+ domain: zod.z.string().describe("Domain name"),
12
+ version: zod.z.string().describe("Version identifier"),
13
+ yaml_content: zod.z.string().describe("The OpenAPI definition for the specified domain version in YAML format")
14
+ }).describe("Response model containing the domain's OpenAPI definition in YAML format.");
15
+ const swaggerhubGetDomainYamlDefinition = require_action.action("SWAGGERHUB_GET_DOMAIN_YAML_DEFINITION", {
16
+ slug: "swaggerhub-get-domain-yaml-definition",
17
+ name: "Get Domain YAML Definition",
18
+ description: "Tool to retrieve the OpenAPI definition for a specified domain version in YAML format from SwaggerHub. Use when you need to fetch domain schemas or API specifications in YAML format.",
19
+ input: SwaggerhubGetDomainYamlDefinitionInput,
20
+ output: SwaggerhubGetDomainYamlDefinitionOutput
21
+ });
22
+ //#endregion
23
+ exports.swaggerhubGetDomainYamlDefinition = swaggerhubGetDomainYamlDefinition;
24
+
25
+ //# sourceMappingURL=get-domain-yaml-definition.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-domain-yaml-definition.cjs","names":["z","action"],"sources":["../../src/actions/get-domain-yaml-definition.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SwaggerhubGetDomainYamlDefinitionInput: z.ZodTypeAny = z.object({\n owner: z.string().describe(\"Domain owner (organization or user, case-sensitive)\"),\n domain: z.string().describe(\"Domain name (case-sensitive)\"),\n version: z.string().describe(\"Version identifier\"),\n}).describe(\"Request model for retrieving a domain's OpenAPI definition in YAML format.\");\nexport const SwaggerhubGetDomainYamlDefinitionOutput: z.ZodTypeAny = z.object({\n owner: z.string().describe(\"Domain owner\"),\n domain: z.string().describe(\"Domain name\"),\n version: z.string().describe(\"Version identifier\"),\n yaml_content: z.string().describe(\"The OpenAPI definition for the specified domain version in YAML format\"),\n}).describe(\"Response model containing the domain's OpenAPI definition in YAML format.\");\n\nexport const swaggerhubGetDomainYamlDefinition = action(\"SWAGGERHUB_GET_DOMAIN_YAML_DEFINITION\", {\n slug: \"swaggerhub-get-domain-yaml-definition\",\n name: \"Get Domain YAML Definition\",\n description: \"Tool to retrieve the OpenAPI definition for a specified domain version in YAML format from SwaggerHub. Use when you need to fetch domain schemas or API specifications in YAML format.\",\n input: SwaggerhubGetDomainYamlDefinitionInput,\n output: SwaggerhubGetDomainYamlDefinitionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAuDA,IAAAA,EAAE,OAAO;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CAChF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC1D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;AACnD,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAa,0CAAwDA,IAAAA,EAAE,OAAO;CAC5E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;CACzC,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;CACzC,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;CACjD,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;AAC5G,CAAC,CAAC,CAAC,SAAS,2EAA2E;AAEvF,MAAa,oCAAoCC,eAAAA,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-domain-yaml-definition.d.ts
4
+ declare const SwaggerhubGetDomainYamlDefinitionInput: z.ZodTypeAny;
5
+ declare const SwaggerhubGetDomainYamlDefinitionOutput: z.ZodTypeAny;
6
+ declare const swaggerhubGetDomainYamlDefinition: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { swaggerhubGetDomainYamlDefinition };
9
+ //# sourceMappingURL=get-domain-yaml-definition.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-domain-yaml-definition.d.cts","names":[],"sources":["../../src/actions/get-domain-yaml-definition.ts"],"mappings":";;;cAIa,sCAAA,EAAwC,CAAA,CAAE,UAIkC;AAAA,cAC5E,uCAAA,EAAyC,CAAA,CAAE,UAKgC;AAAA,cAE3E,iCAAA,gCAAiC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-domain-yaml-definition.d.ts
4
+ declare const SwaggerhubGetDomainYamlDefinitionInput: z.ZodTypeAny;
5
+ declare const SwaggerhubGetDomainYamlDefinitionOutput: z.ZodTypeAny;
6
+ declare const swaggerhubGetDomainYamlDefinition: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { swaggerhubGetDomainYamlDefinition };
9
+ //# sourceMappingURL=get-domain-yaml-definition.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-domain-yaml-definition.d.mts","names":[],"sources":["../../src/actions/get-domain-yaml-definition.ts"],"mappings":";;;cAIa,sCAAA,EAAwC,CAAA,CAAE,UAIkC;AAAA,cAC5E,uCAAA,EAAyC,CAAA,CAAE,UAKgC;AAAA,cAE3E,iCAAA,gCAAiC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,22 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const swaggerhubGetDomainYamlDefinition = action("SWAGGERHUB_GET_DOMAIN_YAML_DEFINITION", {
4
+ slug: "swaggerhub-get-domain-yaml-definition",
5
+ name: "Get Domain YAML Definition",
6
+ description: "Tool to retrieve the OpenAPI definition for a specified domain version in YAML format from SwaggerHub. Use when you need to fetch domain schemas or API specifications in YAML format.",
7
+ input: z.object({
8
+ owner: z.string().describe("Domain owner (organization or user, case-sensitive)"),
9
+ domain: z.string().describe("Domain name (case-sensitive)"),
10
+ version: z.string().describe("Version identifier")
11
+ }).describe("Request model for retrieving a domain's OpenAPI definition in YAML format."),
12
+ output: z.object({
13
+ owner: z.string().describe("Domain owner"),
14
+ domain: z.string().describe("Domain name"),
15
+ version: z.string().describe("Version identifier"),
16
+ yaml_content: z.string().describe("The OpenAPI definition for the specified domain version in YAML format")
17
+ }).describe("Response model containing the domain's OpenAPI definition in YAML format.")
18
+ });
19
+ //#endregion
20
+ export { swaggerhubGetDomainYamlDefinition };
21
+
22
+ //# sourceMappingURL=get-domain-yaml-definition.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-domain-yaml-definition.mjs","names":[],"sources":["../../src/actions/get-domain-yaml-definition.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SwaggerhubGetDomainYamlDefinitionInput: z.ZodTypeAny = z.object({\n owner: z.string().describe(\"Domain owner (organization or user, case-sensitive)\"),\n domain: z.string().describe(\"Domain name (case-sensitive)\"),\n version: z.string().describe(\"Version identifier\"),\n}).describe(\"Request model for retrieving a domain's OpenAPI definition in YAML format.\");\nexport const SwaggerhubGetDomainYamlDefinitionOutput: z.ZodTypeAny = z.object({\n owner: z.string().describe(\"Domain owner\"),\n domain: z.string().describe(\"Domain name\"),\n version: z.string().describe(\"Version identifier\"),\n yaml_content: z.string().describe(\"The OpenAPI definition for the specified domain version in YAML format\"),\n}).describe(\"Response model containing the domain's OpenAPI definition in YAML format.\");\n\nexport const swaggerhubGetDomainYamlDefinition = action(\"SWAGGERHUB_GET_DOMAIN_YAML_DEFINITION\", {\n slug: \"swaggerhub-get-domain-yaml-definition\",\n name: \"Get Domain YAML Definition\",\n description: \"Tool to retrieve the OpenAPI definition for a specified domain version in YAML format from SwaggerHub. Use when you need to fetch domain schemas or API specifications in YAML format.\",\n input: SwaggerhubGetDomainYamlDefinitionInput,\n output: SwaggerhubGetDomainYamlDefinitionOutput,\n});\n"],"mappings":";;AAgBA,MAAa,oCAAoC,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBkE,EAAE,OAAO;EAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;EAChF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;EAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;CACnD,CAAC,CAAC,CAAC,SAAS,4EAYH;CACP,QAZmE,EAAE,OAAO;EAC5E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;EACzC,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;EACzC,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;EACjD,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CAC5G,CAAC,CAAC,CAAC,SAAS,2EAOF;AACV,CAAC"}
@@ -0,0 +1,20 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-lifecycle-settings.ts
4
+ const SwaggerhubGetLifecycleSettingsInput = zod.z.object({
5
+ api: zod.z.string().describe("API name (case-sensitive)"),
6
+ owner: zod.z.string().describe("API owner (organization or user, case-sensitive)"),
7
+ version: zod.z.string().describe("Version identifier")
8
+ }).describe("Defines the parameters for retrieving the published status of a specific API version.");
9
+ const SwaggerhubGetLifecycleSettingsOutput = zod.z.object({ published: zod.z.boolean().describe("Whether the definition is published (`true`) or unpublished (`false`)").nullable().optional() }).describe("Represents the published status of a specific API version.");
10
+ const swaggerhubGetLifecycleSettings = require_action.action("SWAGGERHUB_GET_LIFECYCLE_SETTINGS", {
11
+ slug: "swaggerhub-get-lifecycle-settings",
12
+ name: "Get lifecycle settings",
13
+ description: "Tool to get the published status for the specified API and version. Use when you need to check if an API version is published or unpublished.",
14
+ input: SwaggerhubGetLifecycleSettingsInput,
15
+ output: SwaggerhubGetLifecycleSettingsOutput
16
+ });
17
+ //#endregion
18
+ exports.swaggerhubGetLifecycleSettings = swaggerhubGetLifecycleSettings;
19
+
20
+ //# sourceMappingURL=get-lifecycle-settings.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-lifecycle-settings.cjs","names":["z","action"],"sources":["../../src/actions/get-lifecycle-settings.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SwaggerhubGetLifecycleSettingsInput: z.ZodTypeAny = z.object({\n api: z.string().describe(\"API name (case-sensitive)\"),\n owner: z.string().describe(\"API owner (organization or user, case-sensitive)\"),\n version: z.string().describe(\"Version identifier\"),\n}).describe(\"Defines the parameters for retrieving the published status of a specific API version.\");\nexport const SwaggerhubGetLifecycleSettingsOutput: z.ZodTypeAny = z.object({\n published: z.boolean().describe(\"Whether the definition is published (`true`) or unpublished (`false`)\").nullable().optional(),\n}).describe(\"Represents the published status of a specific API version.\");\n\nexport const swaggerhubGetLifecycleSettings = action(\"SWAGGERHUB_GET_LIFECYCLE_SETTINGS\", {\n slug: \"swaggerhub-get-lifecycle-settings\",\n name: \"Get lifecycle settings\",\n description: \"Tool to get the published status for the specified API and version. Use when you need to check if an API version is published or unpublished.\",\n input: SwaggerhubGetLifecycleSettingsInput,\n output: SwaggerhubGetLifecycleSettingsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoDA,IAAAA,EAAE,OAAO;CACxE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAC7E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;AACnD,CAAC,CAAC,CAAC,SAAS,uFAAuF;AACnG,MAAa,uCAAqDA,IAAAA,EAAE,OAAO,EACzE,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/H,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAExE,MAAa,iCAAiCC,eAAAA,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-lifecycle-settings.d.ts
4
+ declare const SwaggerhubGetLifecycleSettingsInput: z.ZodTypeAny;
5
+ declare const SwaggerhubGetLifecycleSettingsOutput: z.ZodTypeAny;
6
+ declare const swaggerhubGetLifecycleSettings: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { swaggerhubGetLifecycleSettings };
9
+ //# sourceMappingURL=get-lifecycle-settings.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-lifecycle-settings.d.cts","names":[],"sources":["../../src/actions/get-lifecycle-settings.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAIgD;AAAA,cACvF,oCAAA,EAAsC,CAAA,CAAE,UAEoB;AAAA,cAE5D,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-lifecycle-settings.d.ts
4
+ declare const SwaggerhubGetLifecycleSettingsInput: z.ZodTypeAny;
5
+ declare const SwaggerhubGetLifecycleSettingsOutput: z.ZodTypeAny;
6
+ declare const swaggerhubGetLifecycleSettings: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { swaggerhubGetLifecycleSettings };
9
+ //# sourceMappingURL=get-lifecycle-settings.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-lifecycle-settings.d.mts","names":[],"sources":["../../src/actions/get-lifecycle-settings.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAIgD;AAAA,cACvF,oCAAA,EAAsC,CAAA,CAAE,UAEoB;AAAA,cAE5D,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,17 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const swaggerhubGetLifecycleSettings = action("SWAGGERHUB_GET_LIFECYCLE_SETTINGS", {
4
+ slug: "swaggerhub-get-lifecycle-settings",
5
+ name: "Get lifecycle settings",
6
+ description: "Tool to get the published status for the specified API and version. Use when you need to check if an API version is published or unpublished.",
7
+ input: z.object({
8
+ api: z.string().describe("API name (case-sensitive)"),
9
+ owner: z.string().describe("API owner (organization or user, case-sensitive)"),
10
+ version: z.string().describe("Version identifier")
11
+ }).describe("Defines the parameters for retrieving the published status of a specific API version."),
12
+ output: z.object({ published: z.boolean().describe("Whether the definition is published (`true`) or unpublished (`false`)").nullable().optional() }).describe("Represents the published status of a specific API version.")
13
+ });
14
+ //#endregion
15
+ export { swaggerhubGetLifecycleSettings };
16
+
17
+ //# sourceMappingURL=get-lifecycle-settings.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-lifecycle-settings.mjs","names":[],"sources":["../../src/actions/get-lifecycle-settings.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SwaggerhubGetLifecycleSettingsInput: z.ZodTypeAny = z.object({\n api: z.string().describe(\"API name (case-sensitive)\"),\n owner: z.string().describe(\"API owner (organization or user, case-sensitive)\"),\n version: z.string().describe(\"Version identifier\"),\n}).describe(\"Defines the parameters for retrieving the published status of a specific API version.\");\nexport const SwaggerhubGetLifecycleSettingsOutput: z.ZodTypeAny = z.object({\n published: z.boolean().describe(\"Whether the definition is published (`true`) or unpublished (`false`)\").nullable().optional(),\n}).describe(\"Represents the published status of a specific API version.\");\n\nexport const swaggerhubGetLifecycleSettings = action(\"SWAGGERHUB_GET_LIFECYCLE_SETTINGS\", {\n slug: \"swaggerhub-get-lifecycle-settings\",\n name: \"Get lifecycle settings\",\n description: \"Tool to get the published status for the specified API and version. Use when you need to check if an API version is published or unpublished.\",\n input: SwaggerhubGetLifecycleSettingsInput,\n output: SwaggerhubGetLifecycleSettingsOutput,\n});\n"],"mappings":";;AAaA,MAAa,iCAAiC,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb+D,EAAE,OAAO;EACxE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;EAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;CACnD,CAAC,CAAC,CAAC,SAAS,uFASH;CACP,QATgE,EAAE,OAAO,EACzE,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/H,CAAC,CAAC,CAAC,SAAS,4DAOF;AACV,CAAC"}
@@ -0,0 +1,42 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-org-projects-v2.ts
4
+ const SwaggerhubGetOrgProjectsV2Input = zod.z.object({
5
+ page: zod.z.number().int().default(0).describe("Page to return (zero-indexed). Use for pagination through results.").optional(),
6
+ limit: zod.z.number().int().default(10).describe("Number of results per page. Must be between 1 and 100.").optional(),
7
+ order: zod.z.enum(["ASC", "DESC"]).default("ASC").describe("Sort order for the result set.").optional(),
8
+ owner: zod.z.string().describe("Organization name (case-sensitive). This is the organization identifier in SwaggerHub."),
9
+ nameOnly: zod.z.boolean().describe("Return the project information excluding APIs and domains. Set to true to get only project names and descriptions.").optional()
10
+ }).describe("Request parameters for getting all projects of an organization.");
11
+ const SwaggerhubGetOrgProjectsV2_ApiReferenceSchema = zod.z.object({
12
+ name: zod.z.string().describe("Name of the API").nullable().optional(),
13
+ owner: zod.z.string().describe("Owner of the API").nullable().optional(),
14
+ version: zod.z.string().describe("Version of the API").nullable().optional()
15
+ }).describe("Reference to an API in a project.");
16
+ const SwaggerhubGetOrgProjectsV2_DomainReferenceSchema = zod.z.object({
17
+ name: zod.z.string().describe("Name of the domain").nullable().optional(),
18
+ owner: zod.z.string().describe("Owner of the domain").nullable().optional(),
19
+ version: zod.z.string().describe("Version of the domain").nullable().optional()
20
+ }).describe("Reference to a domain in a project.");
21
+ const SwaggerhubGetOrgProjectsV2_ProjectInfoSchema = zod.z.object({
22
+ apis: zod.z.array(SwaggerhubGetOrgProjectsV2_ApiReferenceSchema).describe("List of APIs in the project").nullable().optional(),
23
+ name: zod.z.string().describe("Project name").nullable().optional(),
24
+ domains: zod.z.array(SwaggerhubGetOrgProjectsV2_DomainReferenceSchema).describe("List of domains in the project").nullable().optional(),
25
+ description: zod.z.string().describe("Project description").nullable().optional()
26
+ }).describe("Information about a single project.");
27
+ const SwaggerhubGetOrgProjectsV2Output = zod.z.object({
28
+ offset: zod.z.number().int().describe("Offset of the current result set (for pagination)").nullable().optional(),
29
+ projects: zod.z.array(SwaggerhubGetOrgProjectsV2_ProjectInfoSchema).describe("List of projects belonging to the organization").nullable().optional(),
30
+ totalCount: zod.z.number().int().describe("Total number of projects available for this organization").nullable().optional()
31
+ }).describe("Response containing all projects of an organization.");
32
+ const swaggerhubGetOrgProjectsV2 = require_action.action("SWAGGERHUB_GET_ORG_PROJECTS_V2", {
33
+ slug: "swaggerhub-get-org-projects-v2",
34
+ name: "Get Organization Projects V2",
35
+ description: "Tool to get all projects of an organization in SwaggerHub. Use when you need to retrieve projects belonging to a specific organization. Projects organize APIs and domains into logical groups. Returns 403 if projects are not available in the organization's plan, or 404 if the organization is not found.",
36
+ input: SwaggerhubGetOrgProjectsV2Input,
37
+ output: SwaggerhubGetOrgProjectsV2Output
38
+ });
39
+ //#endregion
40
+ exports.swaggerhubGetOrgProjectsV2 = swaggerhubGetOrgProjectsV2;
41
+
42
+ //# sourceMappingURL=get-org-projects-v2.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-org-projects-v2.cjs","names":["z","action"],"sources":["../../src/actions/get-org-projects-v2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SwaggerhubGetOrgProjectsV2Input: z.ZodTypeAny = z.object({\n page: z.number().int().default(0).describe(\"Page to return (zero-indexed). Use for pagination through results.\").optional(),\n limit: z.number().int().default(10).describe(\"Number of results per page. Must be between 1 and 100.\").optional(),\n order: z.enum([\"ASC\", \"DESC\"]).default(\"ASC\").describe(\"Sort order for the result set.\").optional(),\n owner: z.string().describe(\"Organization name (case-sensitive). This is the organization identifier in SwaggerHub.\"),\n nameOnly: z.boolean().describe(\"Return the project information excluding APIs and domains. Set to true to get only project names and descriptions.\").optional(),\n}).describe(\"Request parameters for getting all projects of an organization.\");\nconst SwaggerhubGetOrgProjectsV2_ApiReferenceSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the API\").nullable().optional(),\n owner: z.string().describe(\"Owner of the API\").nullable().optional(),\n version: z.string().describe(\"Version of the API\").nullable().optional(),\n}).describe(\"Reference to an API in a project.\");\nconst SwaggerhubGetOrgProjectsV2_DomainReferenceSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the domain\").nullable().optional(),\n owner: z.string().describe(\"Owner of the domain\").nullable().optional(),\n version: z.string().describe(\"Version of the domain\").nullable().optional(),\n}).describe(\"Reference to a domain in a project.\");\nconst SwaggerhubGetOrgProjectsV2_ProjectInfoSchema: z.ZodTypeAny = z.object({\n apis: z.array(SwaggerhubGetOrgProjectsV2_ApiReferenceSchema).describe(\"List of APIs in the project\").nullable().optional(),\n name: z.string().describe(\"Project name\").nullable().optional(),\n domains: z.array(SwaggerhubGetOrgProjectsV2_DomainReferenceSchema).describe(\"List of domains in the project\").nullable().optional(),\n description: z.string().describe(\"Project description\").nullable().optional(),\n}).describe(\"Information about a single project.\");\nexport const SwaggerhubGetOrgProjectsV2Output: z.ZodTypeAny = z.object({\n offset: z.number().int().describe(\"Offset of the current result set (for pagination)\").nullable().optional(),\n projects: z.array(SwaggerhubGetOrgProjectsV2_ProjectInfoSchema).describe(\"List of projects belonging to the organization\").nullable().optional(),\n totalCount: z.number().int().describe(\"Total number of projects available for this organization\").nullable().optional(),\n}).describe(\"Response containing all projects of an organization.\");\n\nexport const swaggerhubGetOrgProjectsV2 = action(\"SWAGGERHUB_GET_ORG_PROJECTS_V2\", {\n slug: \"swaggerhub-get-org-projects-v2\",\n name: \"Get Organization Projects V2\",\n description: \"Tool to get all projects of an organization in SwaggerHub. Use when you need to retrieve projects belonging to a specific organization. Projects organize APIs and domains into logical groups. Returns 403 if projects are not available in the organization's plan, or 404 if the organization is not found.\",\n input: SwaggerhubGetOrgProjectsV2Input,\n output: SwaggerhubGetOrgProjectsV2Output,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC1H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC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,CAAC,SAAS;CACzH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,SAASA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,UAAUA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-org-projects-v2.d.ts
4
+ declare const SwaggerhubGetOrgProjectsV2Input: z.ZodTypeAny;
5
+ declare const SwaggerhubGetOrgProjectsV2Output: z.ZodTypeAny;
6
+ declare const swaggerhubGetOrgProjectsV2: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { swaggerhubGetOrgProjectsV2 };
9
+ //# sourceMappingURL=get-org-projects-v2.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-org-projects-v2.d.cts","names":[],"sources":["../../src/actions/get-org-projects-v2.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAM8B;AAAA,cAiBjE,gCAAA,EAAkC,CAAA,CAAE,UAIkB;AAAA,cAEtD,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-org-projects-v2.d.ts
4
+ declare const SwaggerhubGetOrgProjectsV2Input: z.ZodTypeAny;
5
+ declare const SwaggerhubGetOrgProjectsV2Output: z.ZodTypeAny;
6
+ declare const swaggerhubGetOrgProjectsV2: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { swaggerhubGetOrgProjectsV2 };
9
+ //# sourceMappingURL=get-org-projects-v2.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-org-projects-v2.d.mts","names":[],"sources":["../../src/actions/get-org-projects-v2.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAM8B;AAAA,cAiBjE,gCAAA,EAAkC,CAAA,CAAE,UAIkB;AAAA,cAEtD,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,41 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-org-projects-v2.ts
4
+ const SwaggerhubGetOrgProjectsV2Input = z.object({
5
+ page: z.number().int().default(0).describe("Page to return (zero-indexed). Use for pagination through results.").optional(),
6
+ limit: z.number().int().default(10).describe("Number of results per page. Must be between 1 and 100.").optional(),
7
+ order: z.enum(["ASC", "DESC"]).default("ASC").describe("Sort order for the result set.").optional(),
8
+ owner: z.string().describe("Organization name (case-sensitive). This is the organization identifier in SwaggerHub."),
9
+ nameOnly: z.boolean().describe("Return the project information excluding APIs and domains. Set to true to get only project names and descriptions.").optional()
10
+ }).describe("Request parameters for getting all projects of an organization.");
11
+ const SwaggerhubGetOrgProjectsV2_ApiReferenceSchema = z.object({
12
+ name: z.string().describe("Name of the API").nullable().optional(),
13
+ owner: z.string().describe("Owner of the API").nullable().optional(),
14
+ version: z.string().describe("Version of the API").nullable().optional()
15
+ }).describe("Reference to an API in a project.");
16
+ const SwaggerhubGetOrgProjectsV2_DomainReferenceSchema = z.object({
17
+ name: z.string().describe("Name of the domain").nullable().optional(),
18
+ owner: z.string().describe("Owner of the domain").nullable().optional(),
19
+ version: z.string().describe("Version of the domain").nullable().optional()
20
+ }).describe("Reference to a domain in a project.");
21
+ const SwaggerhubGetOrgProjectsV2_ProjectInfoSchema = z.object({
22
+ apis: z.array(SwaggerhubGetOrgProjectsV2_ApiReferenceSchema).describe("List of APIs in the project").nullable().optional(),
23
+ name: z.string().describe("Project name").nullable().optional(),
24
+ domains: z.array(SwaggerhubGetOrgProjectsV2_DomainReferenceSchema).describe("List of domains in the project").nullable().optional(),
25
+ description: z.string().describe("Project description").nullable().optional()
26
+ }).describe("Information about a single project.");
27
+ const swaggerhubGetOrgProjectsV2 = action("SWAGGERHUB_GET_ORG_PROJECTS_V2", {
28
+ slug: "swaggerhub-get-org-projects-v2",
29
+ name: "Get Organization Projects V2",
30
+ description: "Tool to get all projects of an organization in SwaggerHub. Use when you need to retrieve projects belonging to a specific organization. Projects organize APIs and domains into logical groups. Returns 403 if projects are not available in the organization's plan, or 404 if the organization is not found.",
31
+ input: SwaggerhubGetOrgProjectsV2Input,
32
+ output: z.object({
33
+ offset: z.number().int().describe("Offset of the current result set (for pagination)").nullable().optional(),
34
+ projects: z.array(SwaggerhubGetOrgProjectsV2_ProjectInfoSchema).describe("List of projects belonging to the organization").nullable().optional(),
35
+ totalCount: z.number().int().describe("Total number of projects available for this organization").nullable().optional()
36
+ }).describe("Response containing all projects of an organization.")
37
+ });
38
+ //#endregion
39
+ export { swaggerhubGetOrgProjectsV2 };
40
+
41
+ //# sourceMappingURL=get-org-projects-v2.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-org-projects-v2.mjs","names":[],"sources":["../../src/actions/get-org-projects-v2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SwaggerhubGetOrgProjectsV2Input: z.ZodTypeAny = z.object({\n page: z.number().int().default(0).describe(\"Page to return (zero-indexed). Use for pagination through results.\").optional(),\n limit: z.number().int().default(10).describe(\"Number of results per page. Must be between 1 and 100.\").optional(),\n order: z.enum([\"ASC\", \"DESC\"]).default(\"ASC\").describe(\"Sort order for the result set.\").optional(),\n owner: z.string().describe(\"Organization name (case-sensitive). This is the organization identifier in SwaggerHub.\"),\n nameOnly: z.boolean().describe(\"Return the project information excluding APIs and domains. Set to true to get only project names and descriptions.\").optional(),\n}).describe(\"Request parameters for getting all projects of an organization.\");\nconst SwaggerhubGetOrgProjectsV2_ApiReferenceSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the API\").nullable().optional(),\n owner: z.string().describe(\"Owner of the API\").nullable().optional(),\n version: z.string().describe(\"Version of the API\").nullable().optional(),\n}).describe(\"Reference to an API in a project.\");\nconst SwaggerhubGetOrgProjectsV2_DomainReferenceSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the domain\").nullable().optional(),\n owner: z.string().describe(\"Owner of the domain\").nullable().optional(),\n version: z.string().describe(\"Version of the domain\").nullable().optional(),\n}).describe(\"Reference to a domain in a project.\");\nconst SwaggerhubGetOrgProjectsV2_ProjectInfoSchema: z.ZodTypeAny = z.object({\n apis: z.array(SwaggerhubGetOrgProjectsV2_ApiReferenceSchema).describe(\"List of APIs in the project\").nullable().optional(),\n name: z.string().describe(\"Project name\").nullable().optional(),\n domains: z.array(SwaggerhubGetOrgProjectsV2_DomainReferenceSchema).describe(\"List of domains in the project\").nullable().optional(),\n description: z.string().describe(\"Project description\").nullable().optional(),\n}).describe(\"Information about a single project.\");\nexport const SwaggerhubGetOrgProjectsV2Output: z.ZodTypeAny = z.object({\n offset: z.number().int().describe(\"Offset of the current result set (for pagination)\").nullable().optional(),\n projects: z.array(SwaggerhubGetOrgProjectsV2_ProjectInfoSchema).describe(\"List of projects belonging to the organization\").nullable().optional(),\n totalCount: z.number().int().describe(\"Total number of projects available for this organization\").nullable().optional(),\n}).describe(\"Response containing all projects of an organization.\");\n\nexport const swaggerhubGetOrgProjectsV2 = action(\"SWAGGERHUB_GET_ORG_PROJECTS_V2\", {\n slug: \"swaggerhub-get-org-projects-v2\",\n name: \"Get Organization Projects V2\",\n description: \"Tool to get all projects of an organization in SwaggerHub. Use when you need to retrieve projects belonging to a specific organization. Projects organize APIs and domains into logical groups. Returns 403 if projects are not available in the organization's plan, or 404 if the organization is not found.\",\n input: SwaggerhubGetOrgProjectsV2Input,\n output: SwaggerhubGetOrgProjectsV2Output,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgD,EAAE,OAAO;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC1H,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAChH,OAAO,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAClG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF;CACnH,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;AAChK,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MA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AC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,UAAU,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/I,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
@@ -0,0 +1,43 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-organization-members.ts
4
+ const SwaggerhubGetOrganizationMembersInput = zod.z.object({
5
+ q: zod.z.string().describe("Search query to filter members by first name, last name, or email address. Use this to narrow down the member list.").optional(),
6
+ page: zod.z.number().int().default(0).describe("0-based index of the page to return. Use with pageSize to navigate through results.").optional(),
7
+ order: zod.z.enum(["ASC", "DESC"]).default("ASC").describe("Sort order for results.").optional(),
8
+ owner: zod.z.string().describe("Organization identifier (owner name). This is the organization name in SwaggerHub."),
9
+ sortBy: zod.z.enum([
10
+ "NAME",
11
+ "EMAIL",
12
+ "START_TIME"
13
+ ]).default("NAME").describe("Sort criteria for organization members.").optional(),
14
+ pageSize: zod.z.number().int().default(50).describe("Number of results per page to return. Default is 50.").optional()
15
+ }).describe("Request model for getting organization members from SwaggerHub.");
16
+ const SwaggerhubGetOrganizationMembers_OrganizationMemberSchema = zod.z.object({
17
+ role: zod.z.string().describe("Role of the member in the organization (e.g., 'DESIGNER', 'OWNER', 'CONSUMER').").nullable().optional(),
18
+ email: zod.z.string().describe("Email address of the organization member.").nullable().optional(),
19
+ status: zod.z.string().describe("Current status of the member (e.g., 'ACTIVE', 'PENDING', 'INACTIVE').").nullable().optional(),
20
+ userId: zod.z.string().describe("Unique identifier for the user.").nullable().optional(),
21
+ username: zod.z.string().describe("Username of the organization member.").nullable().optional(),
22
+ startTime: zod.z.string().describe("ISO8601 timestamp when the user joined the organization.").nullable().optional(),
23
+ inviteTime: zod.z.string().describe("ISO8601 timestamp when the user was invited to the organization.").nullable().optional(),
24
+ lastActive: zod.z.string().describe("ISO8601 timestamp of the user's last activity in the organization.").nullable().optional(),
25
+ lastActivePlace: zod.z.string().describe("Location or context of the user's last activity (e.g., 'SWAGGERHUB').").nullable().optional()
26
+ }).describe("Representation of a single organization member.");
27
+ const SwaggerhubGetOrganizationMembersOutput = zod.z.object({
28
+ page: zod.z.number().int().describe("Current page number (0-indexed).").nullable().optional(),
29
+ items: zod.z.array(SwaggerhubGetOrganizationMembers_OrganizationMemberSchema).describe("List of organization members with their details.").nullable().optional(),
30
+ pageSize: zod.z.number().int().describe("Number of results per page.").nullable().optional(),
31
+ totalCount: zod.z.number().int().describe("Total number of members in the organization matching the query.").nullable().optional()
32
+ }).describe("Response model containing organization members and pagination details.");
33
+ const swaggerhubGetOrganizationMembers = require_action.action("SWAGGERHUB_GET_ORGANIZATION_MEMBERS", {
34
+ slug: "swaggerhub-get-organization-members",
35
+ name: "Get Organization Members",
36
+ description: "Tool to retrieve a list of organization members and their roles from SwaggerHub. Use when you need to view member details including email addresses, roles, and last activity. The authenticating user must be the organization owner.",
37
+ input: SwaggerhubGetOrganizationMembersInput,
38
+ output: SwaggerhubGetOrganizationMembersOutput
39
+ });
40
+ //#endregion
41
+ exports.swaggerhubGetOrganizationMembers = swaggerhubGetOrganizationMembers;
42
+
43
+ //# sourceMappingURL=get-organization-members.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-organization-members.cjs","names":["z","action"],"sources":["../../src/actions/get-organization-members.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SwaggerhubGetOrganizationMembersInput: z.ZodTypeAny = z.object({\n q: z.string().describe(\"Search query to filter members by first name, last name, or email address. Use this to narrow down the member list.\").optional(),\n page: z.number().int().default(0).describe(\"0-based index of the page to return. Use with pageSize to navigate through results.\").optional(),\n order: z.enum([\"ASC\", \"DESC\"]).default(\"ASC\").describe(\"Sort order for results.\").optional(),\n owner: z.string().describe(\"Organization identifier (owner name). This is the organization name in SwaggerHub.\"),\n sortBy: z.enum([\"NAME\", \"EMAIL\", \"START_TIME\"]).default(\"NAME\").describe(\"Sort criteria for organization members.\").optional(),\n pageSize: z.number().int().default(50).describe(\"Number of results per page to return. Default is 50.\").optional(),\n}).describe(\"Request model for getting organization members from SwaggerHub.\");\nconst SwaggerhubGetOrganizationMembers_OrganizationMemberSchema: z.ZodTypeAny = z.object({\n role: z.string().describe(\"Role of the member in the organization (e.g., 'DESIGNER', 'OWNER', 'CONSUMER').\").nullable().optional(),\n email: z.string().describe(\"Email address of the organization member.\").nullable().optional(),\n status: z.string().describe(\"Current status of the member (e.g., 'ACTIVE', 'PENDING', 'INACTIVE').\").nullable().optional(),\n userId: z.string().describe(\"Unique identifier for the user.\").nullable().optional(),\n username: z.string().describe(\"Username of the organization member.\").nullable().optional(),\n startTime: z.string().describe(\"ISO8601 timestamp when the user joined the organization.\").nullable().optional(),\n inviteTime: z.string().describe(\"ISO8601 timestamp when the user was invited to the organization.\").nullable().optional(),\n lastActive: z.string().describe(\"ISO8601 timestamp of the user's last activity in the organization.\").nullable().optional(),\n lastActivePlace: z.string().describe(\"Location or context of the user's last activity (e.g., 'SWAGGERHUB').\").nullable().optional(),\n}).describe(\"Representation of a single organization member.\");\nexport const SwaggerhubGetOrganizationMembersOutput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Current page number (0-indexed).\").nullable().optional(),\n items: z.array(SwaggerhubGetOrganizationMembers_OrganizationMemberSchema).describe(\"List of organization members with their details.\").nullable().optional(),\n pageSize: z.number().int().describe(\"Number of results per page.\").nullable().optional(),\n totalCount: z.number().int().describe(\"Total number of members in the organization matching the query.\").nullable().optional(),\n}).describe(\"Response model containing organization members and pagination details.\");\n\nexport const swaggerhubGetOrganizationMembers = action(\"SWAGGERHUB_GET_ORGANIZATION_MEMBERS\", {\n slug: \"swaggerhub-get-organization-members\",\n name: \"Get Organization Members\",\n description: \"Tool to retrieve a list of organization members and their roles from SwaggerHub. Use when you need to view member details including email addresses, roles, and last activity. The authenticating user must be the organization owner.\",\n input: SwaggerhubGetOrganizationMembersInput,\n output: SwaggerhubGetOrganizationMembersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsDA,IAAAA,EAAE,OAAO;CAC1E,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CACvJ,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC3I,OAAOA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC3F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF;CAC/G,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAS;CAAY,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC7H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,4DAA0EA,IAAAA,EAAE,OAAO;CACvF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,C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aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-organization-members.d.ts
4
+ declare const SwaggerhubGetOrganizationMembersInput: z.ZodTypeAny;
5
+ declare const SwaggerhubGetOrganizationMembersOutput: z.ZodTypeAny;
6
+ declare const swaggerhubGetOrganizationMembers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { swaggerhubGetOrganizationMembers };
9
+ //# sourceMappingURL=get-organization-members.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-organization-members.d.cts","names":[],"sources":["../../src/actions/get-organization-members.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAOwB;AAAA,cAYjE,sCAAA,EAAwC,CAAA,CAAE,UAK8B;AAAA,cAExE,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-organization-members.d.ts
4
+ declare const SwaggerhubGetOrganizationMembersInput: z.ZodTypeAny;
5
+ declare const SwaggerhubGetOrganizationMembersOutput: z.ZodTypeAny;
6
+ declare const swaggerhubGetOrganizationMembers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { swaggerhubGetOrganizationMembers };
9
+ //# sourceMappingURL=get-organization-members.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-organization-members.d.mts","names":[],"sources":["../../src/actions/get-organization-members.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAOwB;AAAA,cAYjE,sCAAA,EAAwC,CAAA,CAAE,UAK8B;AAAA,cAExE,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,42 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-organization-members.ts
4
+ const SwaggerhubGetOrganizationMembersInput = z.object({
5
+ q: z.string().describe("Search query to filter members by first name, last name, or email address. Use this to narrow down the member list.").optional(),
6
+ page: z.number().int().default(0).describe("0-based index of the page to return. Use with pageSize to navigate through results.").optional(),
7
+ order: z.enum(["ASC", "DESC"]).default("ASC").describe("Sort order for results.").optional(),
8
+ owner: z.string().describe("Organization identifier (owner name). This is the organization name in SwaggerHub."),
9
+ sortBy: z.enum([
10
+ "NAME",
11
+ "EMAIL",
12
+ "START_TIME"
13
+ ]).default("NAME").describe("Sort criteria for organization members.").optional(),
14
+ pageSize: z.number().int().default(50).describe("Number of results per page to return. Default is 50.").optional()
15
+ }).describe("Request model for getting organization members from SwaggerHub.");
16
+ const SwaggerhubGetOrganizationMembers_OrganizationMemberSchema = z.object({
17
+ role: z.string().describe("Role of the member in the organization (e.g., 'DESIGNER', 'OWNER', 'CONSUMER').").nullable().optional(),
18
+ email: z.string().describe("Email address of the organization member.").nullable().optional(),
19
+ status: z.string().describe("Current status of the member (e.g., 'ACTIVE', 'PENDING', 'INACTIVE').").nullable().optional(),
20
+ userId: z.string().describe("Unique identifier for the user.").nullable().optional(),
21
+ username: z.string().describe("Username of the organization member.").nullable().optional(),
22
+ startTime: z.string().describe("ISO8601 timestamp when the user joined the organization.").nullable().optional(),
23
+ inviteTime: z.string().describe("ISO8601 timestamp when the user was invited to the organization.").nullable().optional(),
24
+ lastActive: z.string().describe("ISO8601 timestamp of the user's last activity in the organization.").nullable().optional(),
25
+ lastActivePlace: z.string().describe("Location or context of the user's last activity (e.g., 'SWAGGERHUB').").nullable().optional()
26
+ }).describe("Representation of a single organization member.");
27
+ const swaggerhubGetOrganizationMembers = action("SWAGGERHUB_GET_ORGANIZATION_MEMBERS", {
28
+ slug: "swaggerhub-get-organization-members",
29
+ name: "Get Organization Members",
30
+ description: "Tool to retrieve a list of organization members and their roles from SwaggerHub. Use when you need to view member details including email addresses, roles, and last activity. The authenticating user must be the organization owner.",
31
+ input: SwaggerhubGetOrganizationMembersInput,
32
+ output: z.object({
33
+ page: z.number().int().describe("Current page number (0-indexed).").nullable().optional(),
34
+ items: z.array(SwaggerhubGetOrganizationMembers_OrganizationMemberSchema).describe("List of organization members with their details.").nullable().optional(),
35
+ pageSize: z.number().int().describe("Number of results per page.").nullable().optional(),
36
+ totalCount: z.number().int().describe("Total number of members in the organization matching the query.").nullable().optional()
37
+ }).describe("Response model containing organization members and pagination details.")
38
+ });
39
+ //#endregion
40
+ export { swaggerhubGetOrganizationMembers };
41
+
42
+ //# sourceMappingURL=get-organization-members.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-organization-members.mjs","names":[],"sources":["../../src/actions/get-organization-members.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SwaggerhubGetOrganizationMembersInput: z.ZodTypeAny = z.object({\n q: z.string().describe(\"Search query to filter members by first name, last name, or email address. Use this to narrow down the member list.\").optional(),\n page: z.number().int().default(0).describe(\"0-based index of the page to return. Use with pageSize to navigate through results.\").optional(),\n order: z.enum([\"ASC\", \"DESC\"]).default(\"ASC\").describe(\"Sort order for results.\").optional(),\n owner: z.string().describe(\"Organization identifier (owner name). This is the organization name in SwaggerHub.\"),\n sortBy: z.enum([\"NAME\", \"EMAIL\", \"START_TIME\"]).default(\"NAME\").describe(\"Sort criteria for organization members.\").optional(),\n pageSize: z.number().int().default(50).describe(\"Number of results per page to return. Default is 50.\").optional(),\n}).describe(\"Request model for getting organization members from SwaggerHub.\");\nconst SwaggerhubGetOrganizationMembers_OrganizationMemberSchema: z.ZodTypeAny = z.object({\n role: z.string().describe(\"Role of the member in the organization (e.g., 'DESIGNER', 'OWNER', 'CONSUMER').\").nullable().optional(),\n email: z.string().describe(\"Email address of the organization member.\").nullable().optional(),\n status: z.string().describe(\"Current status of the member (e.g., 'ACTIVE', 'PENDING', 'INACTIVE').\").nullable().optional(),\n userId: z.string().describe(\"Unique identifier for the user.\").nullable().optional(),\n username: z.string().describe(\"Username of the organization member.\").nullable().optional(),\n startTime: z.string().describe(\"ISO8601 timestamp when the user joined the organization.\").nullable().optional(),\n inviteTime: z.string().describe(\"ISO8601 timestamp when the user was invited to the organization.\").nullable().optional(),\n lastActive: z.string().describe(\"ISO8601 timestamp of the user's last activity in the organization.\").nullable().optional(),\n lastActivePlace: z.string().describe(\"Location or context of the user's last activity (e.g., 'SWAGGERHUB').\").nullable().optional(),\n}).describe(\"Representation of a single organization member.\");\nexport const SwaggerhubGetOrganizationMembersOutput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Current page number (0-indexed).\").nullable().optional(),\n items: z.array(SwaggerhubGetOrganizationMembers_OrganizationMemberSchema).describe(\"List of organization members with their details.\").nullable().optional(),\n pageSize: z.number().int().describe(\"Number of results per page.\").nullable().optional(),\n totalCount: z.number().int().describe(\"Total number of members in the organization matching the query.\").nullable().optional(),\n}).describe(\"Response model containing organization members and pagination details.\");\n\nexport const swaggerhubGetOrganizationMembers = action(\"SWAGGERHUB_GET_ORGANIZATION_MEMBERS\", {\n slug: \"swaggerhub-get-organization-members\",\n name: \"Get Organization Members\",\n description: \"Tool to retrieve a list of organization members and their roles from SwaggerHub. Use when you need to view member details including email addresses, roles, and last activity. The authenticating user must be the organization owner.\",\n input: SwaggerhubGetOrganizationMembersInput,\n output: SwaggerhubGetOrganizationMembersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsD,EAAE,OAAO;CAC1E,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CACvJ,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,qF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O,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAQ7D,MAAa,mCAAmC,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZkE,EAAE,OAAO;EAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,OAAO,EAAE,MAAM,yDAAyD,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3J,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,CAAC,CAAC,CAAC,SAAS,wEAOF;AACV,CAAC"}
@@ -0,0 +1,35 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-organizations.ts
4
+ const SwaggerhubGetOrganizationsInput = zod.z.object({
5
+ q: zod.z.string().describe("Search organizations by partial or full name (case-insensitive). Use to filter results by organization name.").optional(),
6
+ page: zod.z.number().int().describe("Page number to return (zero-indexed). Use for pagination through results.").optional(),
7
+ order: zod.z.enum(["ASC", "DESC"]).describe("Enum for sort order.").optional(),
8
+ sortBy: zod.z.enum(["NAME", "EMAIL"]).describe("Enum for organization sorting criteria.").optional(),
9
+ pageSize: zod.z.number().int().describe("Number of results per page. Must be between 0 and 100. Use for pagination through results.").optional()
10
+ }).describe("Request parameters for getting the list of organizations that the authenticating user is a member of.");
11
+ const SwaggerhubGetOrganizations_OrganizationSchema = zod.z.object({
12
+ id: zod.z.string().describe("The UUID of the organization"),
13
+ url: zod.z.string().describe("The website of the organization").nullable().optional(),
14
+ name: zod.z.string().describe("Organization name"),
15
+ email: zod.z.string().describe("The email address of the organization").nullable().optional(),
16
+ description: zod.z.string().describe("A description of the organization").nullable().optional(),
17
+ memberCount: zod.z.number().int().describe("Total number of members in the organization. If the caller is the organization owner or On-Premise admin, this number also includes pending member invites").nullable().optional()
18
+ }).describe("Represents a single organization in SwaggerHub.");
19
+ const SwaggerhubGetOrganizationsOutput = zod.z.object({
20
+ page: zod.z.number().int().describe("0-based index of the current page of results").nullable().optional(),
21
+ items: zod.z.array(SwaggerhubGetOrganizations_OrganizationSchema).describe("List of organizations that the user is a member of").nullable().optional(),
22
+ pageSize: zod.z.number().int().describe("The requested number of results per page").nullable().optional(),
23
+ totalCount: zod.z.number().int().describe("The total number of organizations available").nullable().optional()
24
+ }).describe("Response containing the list of organizations that the authenticating user is a member of.");
25
+ const swaggerhubGetOrganizations = require_action.action("SWAGGERHUB_GET_ORGANIZATIONS", {
26
+ slug: "swaggerhub-get-organizations",
27
+ name: "Get User Organizations",
28
+ description: "Tool to get organizations for a user. Use when you need to retrieve all organizations that the authenticating user is a member of. Results can be filtered by name using the q parameter, sorted by name or email, and paginated using page and pageSize parameters.",
29
+ input: SwaggerhubGetOrganizationsInput,
30
+ output: SwaggerhubGetOrganizationsOutput
31
+ });
32
+ //#endregion
33
+ exports.swaggerhubGetOrganizations = swaggerhubGetOrganizations;
34
+
35
+ //# sourceMappingURL=get-organizations.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-organizations.cjs","names":["z","action"],"sources":["../../src/actions/get-organizations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SwaggerhubGetOrganizationsInput: z.ZodTypeAny = z.object({\n q: z.string().describe(\"Search organizations by partial or full name (case-insensitive). Use to filter results by organization name.\").optional(),\n page: z.number().int().describe(\"Page number to return (zero-indexed). Use for pagination through results.\").optional(),\n order: z.enum([\"ASC\", \"DESC\"]).describe(\"Enum for sort order.\").optional(),\n sortBy: z.enum([\"NAME\", \"EMAIL\"]).describe(\"Enum for organization sorting criteria.\").optional(),\n pageSize: z.number().int().describe(\"Number of results per page. Must be between 0 and 100. Use for pagination through results.\").optional(),\n}).describe(\"Request parameters for getting the list of organizations that the authenticating user is a member of.\");\nconst SwaggerhubGetOrganizations_OrganizationSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The UUID of the organization\"),\n url: z.string().describe(\"The website of the organization\").nullable().optional(),\n name: z.string().describe(\"Organization name\"),\n email: z.string().describe(\"The email address of the organization\").nullable().optional(),\n description: z.string().describe(\"A description of the organization\").nullable().optional(),\n memberCount: z.number().int().describe(\"Total number of members in the organization. If the caller is the organization owner or On-Premise admin, this number also includes pending member invites\").nullable().optional(),\n}).describe(\"Represents a single organization in SwaggerHub.\");\nexport const SwaggerhubGetOrganizationsOutput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"0-based index of the current page of results\").nullable().optional(),\n items: z.array(SwaggerhubGetOrganizations_OrganizationSchema).describe(\"List of organizations that the user is a member of\").nullable().optional(),\n pageSize: z.number().int().describe(\"The requested number of results per page\").nullable().optional(),\n totalCount: z.number().int().describe(\"The total number of organizations available\").nullable().optional(),\n}).describe(\"Response containing the list of organizations that the authenticating user is a member of.\");\n\nexport const swaggerhubGetOrganizations = action(\"SWAGGERHUB_GET_ORGANIZATIONS\", {\n slug: \"swaggerhub-get-organizations\",\n name: \"Get User Organizations\",\n description: \"Tool to get organizations for a user. Use when you need to retrieve all organizations that the authenticating user is a member of. Results can be filtered by name using the q parameter, sorted by name or email, and paginated using page and pageSize parameters.\",\n input: SwaggerhubGetOrganizationsInput,\n output: SwaggerhubGetOrganizationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CAChJ,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,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AAC,CAAC,SAAS;CACjJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,4FAA4F;AAExG,MAAa,6BAA6BC,eAAAA,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-organizations.d.ts
4
+ declare const SwaggerhubGetOrganizationsInput: z.ZodTypeAny;
5
+ declare const SwaggerhubGetOrganizationsOutput: z.ZodTypeAny;
6
+ declare const swaggerhubGetOrganizations: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { swaggerhubGetOrganizations };
9
+ //# sourceMappingURL=get-organizations.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-organizations.d.cts","names":[],"sources":["../../src/actions/get-organizations.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAMoE;AAAA,cASvG,gCAAA,EAAkC,CAAA,CAAE,UAKwD;AAAA,cAE5F,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}