@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,41 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/update-access-control-for-users.ts
4
+ const SwaggerhubUpdateAccessControlForUsersInput = zod.z.object({
5
+ owner: zod.z.string().describe("Organization identifier"),
6
+ users: zod.z.array(zod.z.object({
7
+ role: zod.z.enum([
8
+ "owner",
9
+ "designer",
10
+ "consumer"
11
+ ]).describe("The access control role to assign to the user (owner, designer, or consumer)"),
12
+ uuid: zod.z.string().describe("User's unique identifier (UUID). Optional field for identifying the user.").optional(),
13
+ email: zod.z.string().describe("Email address of the user to assign access control role to"),
14
+ blocked: zod.z.boolean().describe("Whether the user is blocked. Optional field to indicate user's blocked status.").optional()
15
+ }).describe("User with role assignment for access control update.")).describe("List of users with their assigned roles to update access control"),
16
+ resourceName: zod.z.string().describe("Name of the organizational resource to update user access for"),
17
+ resourceType: zod.z.enum([
18
+ "API",
19
+ "DOMAIN",
20
+ "PROJECT",
21
+ "ORGANIZATION",
22
+ "TEAM",
23
+ "PORTAL_PRODUCT"
24
+ ]).describe("Type of the organizational resource (API, DOMAIN, PROJECT, ORGANIZATION, TEAM, or PORTAL_PRODUCT)")
25
+ }).describe("Request model for updating access control roles for users.");
26
+ const SwaggerhubUpdateAccessControlForUsers_UserStatusSchema = zod.z.object({
27
+ email: zod.z.string().describe("Email address of the user"),
28
+ status: zod.z.string().describe("Status of the access control update operation for this user")
29
+ }).describe("User status result in the response.");
30
+ const SwaggerhubUpdateAccessControlForUsersOutput = zod.z.object({ users: zod.z.array(SwaggerhubUpdateAccessControlForUsers_UserStatusSchema).describe("List of users with their access control update status") }).describe("Response model containing list of users with operation status.");
31
+ const swaggerhubUpdateAccessControlForUsers = require_action.action("SWAGGERHUB_UPDATE_ACCESS_CONTROL_FOR_USERS", {
32
+ slug: "swaggerhub-update-access-control-for-users",
33
+ name: "Update Access Control for Users",
34
+ description: "Tool to update access control roles for users on a SwaggerHub resource. Use when you need to assign or change user permissions (owner, designer, consumer) for APIs, domains, projects, organizations, teams, or portal products.",
35
+ input: SwaggerhubUpdateAccessControlForUsersInput,
36
+ output: SwaggerhubUpdateAccessControlForUsersOutput
37
+ });
38
+ //#endregion
39
+ exports.swaggerhubUpdateAccessControlForUsers = swaggerhubUpdateAccessControlForUsers;
40
+
41
+ //# sourceMappingURL=update-access-control-for-users.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-access-control-for-users.cjs","names":["z","action"],"sources":["../../src/actions/update-access-control-for-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SwaggerhubUpdateAccessControlForUsersInput: z.ZodTypeAny = z.object({\n owner: z.string().describe(\"Organization identifier\"),\n users: z.array(z.object({\n role: z.enum([\"owner\", \"designer\", \"consumer\"]).describe(\"The access control role to assign to the user (owner, designer, or consumer)\"),\n uuid: z.string().describe(\"User's unique identifier (UUID). Optional field for identifying the user.\").optional(),\n email: z.string().describe(\"Email address of the user to assign access control role to\"),\n blocked: z.boolean().describe(\"Whether the user is blocked. Optional field to indicate user's blocked status.\").optional(),\n}).describe(\"User with role assignment for access control update.\")).describe(\"List of users with their assigned roles to update access control\"),\n resourceName: z.string().describe(\"Name of the organizational resource to update user access for\"),\n resourceType: z.enum([\"API\", \"DOMAIN\", \"PROJECT\", \"ORGANIZATION\", \"TEAM\", \"PORTAL_PRODUCT\"]).describe(\"Type of the organizational resource (API, DOMAIN, PROJECT, ORGANIZATION, TEAM, or PORTAL_PRODUCT)\"),\n}).describe(\"Request model for updating access control roles for users.\");\nconst SwaggerhubUpdateAccessControlForUsers_UserStatusSchema: z.ZodTypeAny = z.object({\n email: z.string().describe(\"Email address of the user\"),\n status: z.string().describe(\"Status of the access control update operation for this user\"),\n}).describe(\"User status result in the response.\");\nexport const SwaggerhubUpdateAccessControlForUsersOutput: z.ZodTypeAny = z.object({\n users: z.array(SwaggerhubUpdateAccessControlForUsers_UserStatusSchema).describe(\"List of users with their access control update status\"),\n}).describe(\"Response model containing list of users with operation status.\");\n\nexport const swaggerhubUpdateAccessControlForUsers = action(\"SWAGGERHUB_UPDATE_ACCESS_CONTROL_FOR_USERS\", {\n slug: \"swaggerhub-update-access-control-for-users\",\n name: \"Update Access Control for Users\",\n description: \"Tool to update access control roles for users on a SwaggerHub resource. Use when you need to assign or change user permissions (owner, designer, consumer) for APIs, domains, projects, organizations, teams, or portal products.\",\n input: SwaggerhubUpdateAccessControlForUsersInput,\n output: SwaggerhubUpdateAccessControlForUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA2DA,IAAAA,EAAE,OAAO;CAC/E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACpD,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACxB,MAAMA,IAAAA,EAAE,KAAK;GAAC;GAAS;GAAY;EAAU,CAAC,CAAC,CAAC,SAAS,8EAA8E;EACvI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EAChH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;EACvF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CAC3H,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,CAAC,SAAS,kEAAkE;CAC9I,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CACjG,cAAcA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAU;EAAW;EAAgB;EAAQ;CAAgB,CAAC,CAAC,CAAC,SAAS,mGAAmG;AAC3M,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,yDAAuEA,IAAAA,EAAE,OAAO;CACpF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACtD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;AAC3F,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAa,8CAA4DA,IAAAA,EAAE,OAAO,EAChF,OAAOA,IAAAA,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,uDAAuD,EACzI,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAE5E,MAAa,wCAAwCC,eAAAA,OAAO,8CAA8C;CACxG,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/update-access-control-for-users.d.ts
4
+ declare const SwaggerhubUpdateAccessControlForUsersInput: z.ZodTypeAny;
5
+ declare const SwaggerhubUpdateAccessControlForUsersOutput: z.ZodTypeAny;
6
+ declare const swaggerhubUpdateAccessControlForUsers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { swaggerhubUpdateAccessControlForUsers };
9
+ //# sourceMappingURL=update-access-control-for-users.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-access-control-for-users.d.cts","names":[],"sources":["../../src/actions/update-access-control-for-users.ts"],"mappings":";;;cAIa,0CAAA,EAA4C,CAAA,CAAE,UAUc;AAAA,cAK5D,2CAAA,EAA6C,CAAA,CAAE,UAEiB;AAAA,cAEhE,qCAAA,gCAAqC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/update-access-control-for-users.d.ts
4
+ declare const SwaggerhubUpdateAccessControlForUsersInput: z.ZodTypeAny;
5
+ declare const SwaggerhubUpdateAccessControlForUsersOutput: z.ZodTypeAny;
6
+ declare const swaggerhubUpdateAccessControlForUsers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { swaggerhubUpdateAccessControlForUsers };
9
+ //# sourceMappingURL=update-access-control-for-users.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-access-control-for-users.d.mts","names":[],"sources":["../../src/actions/update-access-control-for-users.ts"],"mappings":";;;cAIa,0CAAA,EAA4C,CAAA,CAAE,UAUc;AAAA,cAK5D,2CAAA,EAA6C,CAAA,CAAE,UAEiB;AAAA,cAEhE,qCAAA,gCAAqC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,40 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/update-access-control-for-users.ts
4
+ const SwaggerhubUpdateAccessControlForUsersInput = z.object({
5
+ owner: z.string().describe("Organization identifier"),
6
+ users: z.array(z.object({
7
+ role: z.enum([
8
+ "owner",
9
+ "designer",
10
+ "consumer"
11
+ ]).describe("The access control role to assign to the user (owner, designer, or consumer)"),
12
+ uuid: z.string().describe("User's unique identifier (UUID). Optional field for identifying the user.").optional(),
13
+ email: z.string().describe("Email address of the user to assign access control role to"),
14
+ blocked: z.boolean().describe("Whether the user is blocked. Optional field to indicate user's blocked status.").optional()
15
+ }).describe("User with role assignment for access control update.")).describe("List of users with their assigned roles to update access control"),
16
+ resourceName: z.string().describe("Name of the organizational resource to update user access for"),
17
+ resourceType: z.enum([
18
+ "API",
19
+ "DOMAIN",
20
+ "PROJECT",
21
+ "ORGANIZATION",
22
+ "TEAM",
23
+ "PORTAL_PRODUCT"
24
+ ]).describe("Type of the organizational resource (API, DOMAIN, PROJECT, ORGANIZATION, TEAM, or PORTAL_PRODUCT)")
25
+ }).describe("Request model for updating access control roles for users.");
26
+ const SwaggerhubUpdateAccessControlForUsers_UserStatusSchema = z.object({
27
+ email: z.string().describe("Email address of the user"),
28
+ status: z.string().describe("Status of the access control update operation for this user")
29
+ }).describe("User status result in the response.");
30
+ const swaggerhubUpdateAccessControlForUsers = action("SWAGGERHUB_UPDATE_ACCESS_CONTROL_FOR_USERS", {
31
+ slug: "swaggerhub-update-access-control-for-users",
32
+ name: "Update Access Control for Users",
33
+ description: "Tool to update access control roles for users on a SwaggerHub resource. Use when you need to assign or change user permissions (owner, designer, consumer) for APIs, domains, projects, organizations, teams, or portal products.",
34
+ input: SwaggerhubUpdateAccessControlForUsersInput,
35
+ output: z.object({ users: z.array(SwaggerhubUpdateAccessControlForUsers_UserStatusSchema).describe("List of users with their access control update status") }).describe("Response model containing list of users with operation status.")
36
+ });
37
+ //#endregion
38
+ export { swaggerhubUpdateAccessControlForUsers };
39
+
40
+ //# sourceMappingURL=update-access-control-for-users.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-access-control-for-users.mjs","names":[],"sources":["../../src/actions/update-access-control-for-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SwaggerhubUpdateAccessControlForUsersInput: z.ZodTypeAny = z.object({\n owner: z.string().describe(\"Organization identifier\"),\n users: z.array(z.object({\n role: z.enum([\"owner\", \"designer\", \"consumer\"]).describe(\"The access control role to assign to the user (owner, designer, or consumer)\"),\n uuid: z.string().describe(\"User's unique identifier (UUID). Optional field for identifying the user.\").optional(),\n email: z.string().describe(\"Email address of the user to assign access control role to\"),\n blocked: z.boolean().describe(\"Whether the user is blocked. Optional field to indicate user's blocked status.\").optional(),\n}).describe(\"User with role assignment for access control update.\")).describe(\"List of users with their assigned roles to update access control\"),\n resourceName: z.string().describe(\"Name of the organizational resource to update user access for\"),\n resourceType: z.enum([\"API\", \"DOMAIN\", \"PROJECT\", \"ORGANIZATION\", \"TEAM\", \"PORTAL_PRODUCT\"]).describe(\"Type of the organizational resource (API, DOMAIN, PROJECT, ORGANIZATION, TEAM, or PORTAL_PRODUCT)\"),\n}).describe(\"Request model for updating access control roles for users.\");\nconst SwaggerhubUpdateAccessControlForUsers_UserStatusSchema: z.ZodTypeAny = z.object({\n email: z.string().describe(\"Email address of the user\"),\n status: z.string().describe(\"Status of the access control update operation for this user\"),\n}).describe(\"User status result in the response.\");\nexport const SwaggerhubUpdateAccessControlForUsersOutput: z.ZodTypeAny = z.object({\n users: z.array(SwaggerhubUpdateAccessControlForUsers_UserStatusSchema).describe(\"List of users with their access control update status\"),\n}).describe(\"Response model containing list of users with operation status.\");\n\nexport const swaggerhubUpdateAccessControlForUsers = action(\"SWAGGERHUB_UPDATE_ACCESS_CONTROL_FOR_USERS\", {\n slug: \"swaggerhub-update-access-control-for-users\",\n name: \"Update Access Control for Users\",\n description: \"Tool to update access control roles for users on a SwaggerHub resource. Use when you need to assign or change user permissions (owner, designer, consumer) for APIs, domains, projects, organizations, teams, or portal products.\",\n input: SwaggerhubUpdateAccessControlForUsersInput,\n output: SwaggerhubUpdateAccessControlForUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA2D,EAAE,OAAO;CAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACpD,OAAO,EAAE,MAAM,EAAE,OAAO;EACxB,MAAM,EAAE,KAAK;GAAC;GAAS;GAAY;EAAU,CAAC,CAAC,CAAC,SAAS,8EAA8E;EACvI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EAChH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;EACvF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CAC3H,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,CAAC,SAAS,kEAAkE;CAC9I,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CACjG,cAAc,EAAE,KAAK;EAAC;EAAO;EAAU;EAAW;EAAgB;EAAQ;CAAgB,CAAC,CAAC,CAAC,SAAS,mGAAmG;AAC3M,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,yDAAuE,EAAE,OAAO;CACpF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACtD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;AAC3F,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAKjD,MAAa,wCAAwC,OAAO,8CAA8C;CACxG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuE,EAAE,OAAO,EAChF,OAAO,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,uDAAuD,EACzI,CAAC,CAAC,CAAC,SAAS,gEAOF;AACV,CAAC"}
@@ -0,0 +1,113 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/update-portal.ts
4
+ const SwaggerhubUpdatePortalInput = zod.z.object({
5
+ name: zod.z.string().describe("The name for this portal").optional(),
6
+ footer: zod.z.object({
7
+ text: zod.z.string().describe("The footer text. Maximum 75 characters. Set to null to remove.").optional(),
8
+ links: zod.z.array(zod.z.object({
9
+ url: zod.z.string().describe("The link URL.").optional(),
10
+ text: zod.z.string().describe("The link text.").optional()
11
+ }).describe("Footer link configuration.")).describe("The list of links to display in the footer. Maximum 6 links. Set to null to remove.").optional(),
12
+ imageId: zod.z.string().describe("The identifier of the footer image. Set to null to remove.").optional(),
13
+ visible: zod.z.boolean().describe("Indicates if the footer is visible.").optional(),
14
+ imageDarkModeId: zod.z.string().describe("The identifier of the footer image in dark mode. Set to null to remove.").optional()
15
+ }).describe("Footer configuration for the portal.").optional(),
16
+ gtmKey: zod.z.string().describe("The Google Tag Manager key for this portal. Set to null to remove.").optional(),
17
+ offline: zod.z.boolean().describe("If set to true, the portal is not visible to customers.").optional(),
18
+ routing: zod.z.enum(["browser", "proxy"]).describe("Routing strategy options.").optional(),
19
+ branding: zod.z.object({
20
+ logoId: zod.z.string().describe("The UUID of the new attachment for the logo. Set to null to remove.").optional(),
21
+ fontName: zod.z.enum([
22
+ "Inter",
23
+ "Open Sans",
24
+ "Montserrat",
25
+ "Roboto",
26
+ "Playfair Display",
27
+ "Lato",
28
+ "Merriweather"
29
+ ]).describe("Font options for portal typography.").optional(),
30
+ faviconId: zod.z.string().describe("The UUID of the new attachment for favicon. Set to null to remove.").optional(),
31
+ accentColor: zod.z.string().describe("The hexadecimal color code used to dictate the accent color of elements in the portal user interface.").optional(),
32
+ logoDarkModeId: zod.z.string().describe("The UUID of the new attachment for the logo in dark mode. Set to null to remove.").optional(),
33
+ faviconDarkModeId: zod.z.string().describe("The UUID of the new attachment for the favicon in dark mode. Set to null to remove.").optional(),
34
+ accentColorDarkMode: zod.z.string().describe("The hexadecimal color code used as the accent color in dark mode.").optional()
35
+ }).describe("Branding configuration for the portal.").optional(),
36
+ portalId: zod.z.string().describe("Portal UUID or subdomain"),
37
+ subdomain: zod.z.string().describe("Subdomain for this portal. Must be unique.").optional(),
38
+ landingPage: zod.z.object({
39
+ heroImageId: zod.z.string().describe("The UUID of the new attachment for the hero image. Set to null to remove.").optional(),
40
+ pageDescription: zod.z.string().describe("A description for the portal landing page. Maximum 500 characters. Set to null to remove.").optional(),
41
+ heroImageDarkModeId: zod.z.string().describe("The UUID of the new attachment for the hero image in dark mode. Set to null to remove.").optional(),
42
+ illustrationImageId: zod.z.string().describe("The UUID of the new attachment for the illustration image. Set to null to remove.").optional(),
43
+ illustrationImageDarkModeId: zod.z.string().describe("The UUID of the new attachment for the illustration image in dark mode. Set to null to remove.").optional()
44
+ }).describe("Landing page configuration for the portal.").optional(),
45
+ customDomain: zod.z.string().describe("Custom domain for this portal. Must be unique. If the value is explicitly set to null, the custom domain will be removed.").optional(),
46
+ openapiRenderer: zod.z.enum([
47
+ "SWAGGER_UI",
48
+ "ELEMENTS",
49
+ "TOGGLE"
50
+ ]).describe("OpenAPI renderer options.").optional(),
51
+ pageContentFormat: zod.z.enum([
52
+ "BOTH",
53
+ "HTML",
54
+ "MARKDOWN"
55
+ ]).describe("Page content format options.").optional(),
56
+ credentialsEnabled: zod.z.boolean().describe("Indicates if credentials are enabled for the portal.").optional()
57
+ }).describe("Request model for updating portal information.");
58
+ const SwaggerhubUpdatePortal_FooterLinkSchema = zod.z.object({
59
+ url: zod.z.string().describe("The link URL.").nullable().optional(),
60
+ text: zod.z.string().describe("The link text.").nullable().optional()
61
+ }).describe("Footer link configuration.");
62
+ const SwaggerhubUpdatePortal_FooterResponseSchema = zod.z.object({
63
+ text: zod.z.string().describe("The footer text.").nullable().optional(),
64
+ links: zod.z.array(SwaggerhubUpdatePortal_FooterLinkSchema).describe("The list of links to display in the footer.").nullable().optional(),
65
+ imageId: zod.z.string().describe("The identifier of the footer image.").nullable().optional(),
66
+ visible: zod.z.boolean().describe("Indicates if the footer is visible.").nullable().optional(),
67
+ imageDarkModeId: zod.z.string().describe("The identifier of the footer image in dark mode.").nullable().optional()
68
+ }).describe("Footer configuration in the response.");
69
+ const SwaggerhubUpdatePortal_BrandingResponseSchema = zod.z.object({
70
+ logoId: zod.z.string().describe("The identifier of the logo.").nullable().optional(),
71
+ fontName: zod.z.string().describe("The font name used to dictate the topography of the portal.").nullable().optional(),
72
+ faviconId: zod.z.string().describe("The identifier of the favicon.").nullable().optional(),
73
+ accentColor: zod.z.string().describe("The hexadecimal color code used to dictate the accent color of elements in the portal user interface.").nullable().optional(),
74
+ logoDarkModeId: zod.z.string().describe("The identifier of the logo in dark mode.").nullable().optional(),
75
+ faviconDarkModeId: zod.z.string().describe("The identifier of the favicon in dark mode.").nullable().optional(),
76
+ accentColorDarkMode: zod.z.string().describe("The hexadecimal color code used as the accent color in dark mode.").nullable().optional()
77
+ }).describe("Branding configuration in the response.");
78
+ const SwaggerhubUpdatePortal_LandingPageResponseSchema = zod.z.object({
79
+ heroImageId: zod.z.string().describe("The identifier of the hero image.").nullable().optional(),
80
+ pageDescription: zod.z.string().describe("The textual description to display on the portal landing page.").nullable().optional(),
81
+ heroImageDarkModeId: zod.z.string().describe("The identifier of the hero image in dark mode.").nullable().optional(),
82
+ illustrationImageId: zod.z.string().describe("The identifier of the illustration image.").nullable().optional(),
83
+ illustrationImageDarkModeId: zod.z.string().describe("The identifier of the illustration image in dark mode.").nullable().optional()
84
+ }).describe("Landing page configuration in the response.");
85
+ const SwaggerhubUpdatePortalOutput = zod.z.object({
86
+ id: zod.z.string().describe("Portal ID.").nullable().optional(),
87
+ name: zod.z.string().describe("Portal's name.").nullable().optional(),
88
+ footer: SwaggerhubUpdatePortal_FooterResponseSchema.nullable().optional(),
89
+ gtmKey: zod.z.string().describe("The Google Tag Manager key for this portal.").nullable().optional(),
90
+ offline: zod.z.boolean().describe("If set to true the portal will not be visible to customers.").nullable().optional(),
91
+ routing: zod.z.string().describe("Determines the routing strategy ('browser' or 'proxy').").nullable().optional(),
92
+ branding: SwaggerhubUpdatePortal_BrandingResponseSchema.nullable().optional(),
93
+ createdAt: zod.z.string().describe("The time that the portal was created at.").nullable().optional(),
94
+ subdomain: zod.z.string().describe("Subdomain component for this portal."),
95
+ updatedAt: zod.z.string().describe("The time of the last update of the portal.").nullable().optional(),
96
+ landingPage: SwaggerhubUpdatePortal_LandingPageResponseSchema.nullable().optional(),
97
+ customDomain: zod.z.string().describe("Custom domain for this portal.").nullable().optional(),
98
+ openapiRenderer: zod.z.string().describe("Portal level setting for the OpenAPI renderer.").nullable().optional(),
99
+ pageContentFormat: zod.z.string().describe("Determines the format of the page content.").nullable().optional(),
100
+ credentialsEnabled: zod.z.boolean().describe("Indicates if credentials are enabled for the portal.").nullable().optional(),
101
+ swaggerHubOrganizationId: zod.z.string().describe("The corresponding Swagger Studio organization.").nullable().optional()
102
+ }).describe("Response model for updated portal information.");
103
+ const swaggerhubUpdatePortal = require_action.action("SWAGGERHUB_UPDATE_PORTAL", {
104
+ slug: "swaggerhub-update-portal",
105
+ name: "Update Portal",
106
+ description: "Tool to update specific portal information in SwaggerHub. Use when you need to modify portal settings such as name, branding, subdomain, or other configuration options.",
107
+ input: SwaggerhubUpdatePortalInput,
108
+ output: SwaggerhubUpdatePortalOutput
109
+ });
110
+ //#endregion
111
+ exports.swaggerhubUpdatePortal = swaggerhubUpdatePortal;
112
+
113
+ //# sourceMappingURL=update-portal.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-portal.cjs","names":["z","action"],"sources":["../../src/actions/update-portal.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SwaggerhubUpdatePortalInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name for this portal\").optional(),\n footer: z.object({\n text: z.string().describe(\"The footer text. Maximum 75 characters. Set to null to remove.\").optional(),\n links: z.array(z.object({\n url: z.string().describe(\"The link URL.\").optional(),\n text: z.string().describe(\"The link text.\").optional(),\n}).describe(\"Footer link configuration.\")).describe(\"The list of links to display in the footer. Maximum 6 links. Set to null to remove.\").optional(),\n imageId: z.string().describe(\"The identifier of the footer image. Set to null to remove.\").optional(),\n visible: z.boolean().describe(\"Indicates if the footer is visible.\").optional(),\n imageDarkModeId: z.string().describe(\"The identifier of the footer image in dark mode. Set to null to remove.\").optional(),\n}).describe(\"Footer configuration for the portal.\").optional(),\n gtmKey: z.string().describe(\"The Google Tag Manager key for this portal. Set to null to remove.\").optional(),\n offline: z.boolean().describe(\"If set to true, the portal is not visible to customers.\").optional(),\n routing: z.enum([\"browser\", \"proxy\"]).describe(\"Routing strategy options.\").optional(),\n branding: z.object({\n logoId: z.string().describe(\"The UUID of the new attachment for the logo. Set to null to remove.\").optional(),\n fontName: z.enum([\"Inter\", \"Open Sans\", \"Montserrat\", \"Roboto\", \"Playfair Display\", \"Lato\", \"Merriweather\"]).describe(\"Font options for portal typography.\").optional(),\n faviconId: z.string().describe(\"The UUID of the new attachment for favicon. Set to null to remove.\").optional(),\n accentColor: z.string().describe(\"The hexadecimal color code used to dictate the accent color of elements in the portal user interface.\").optional(),\n logoDarkModeId: z.string().describe(\"The UUID of the new attachment for the logo in dark mode. Set to null to remove.\").optional(),\n faviconDarkModeId: z.string().describe(\"The UUID of the new attachment for the favicon in dark mode. Set to null to remove.\").optional(),\n accentColorDarkMode: z.string().describe(\"The hexadecimal color code used as the accent color in dark mode.\").optional(),\n}).describe(\"Branding configuration for the portal.\").optional(),\n portalId: z.string().describe(\"Portal UUID or subdomain\"),\n subdomain: z.string().describe(\"Subdomain for this portal. Must be unique.\").optional(),\n landingPage: z.object({\n heroImageId: z.string().describe(\"The UUID of the new attachment for the hero image. Set to null to remove.\").optional(),\n pageDescription: z.string().describe(\"A description for the portal landing page. Maximum 500 characters. Set to null to remove.\").optional(),\n heroImageDarkModeId: z.string().describe(\"The UUID of the new attachment for the hero image in dark mode. Set to null to remove.\").optional(),\n illustrationImageId: z.string().describe(\"The UUID of the new attachment for the illustration image. Set to null to remove.\").optional(),\n illustrationImageDarkModeId: z.string().describe(\"The UUID of the new attachment for the illustration image in dark mode. Set to null to remove.\").optional(),\n}).describe(\"Landing page configuration for the portal.\").optional(),\n customDomain: z.string().describe(\"Custom domain for this portal. Must be unique. If the value is explicitly set to null, the custom domain will be removed.\").optional(),\n openapiRenderer: z.enum([\"SWAGGER_UI\", \"ELEMENTS\", \"TOGGLE\"]).describe(\"OpenAPI renderer options.\").optional(),\n pageContentFormat: z.enum([\"BOTH\", \"HTML\", \"MARKDOWN\"]).describe(\"Page content format options.\").optional(),\n credentialsEnabled: z.boolean().describe(\"Indicates if credentials are enabled for the portal.\").optional(),\n}).describe(\"Request model for updating portal information.\");\nconst SwaggerhubUpdatePortal_FooterLinkSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The link URL.\").nullable().optional(),\n text: z.string().describe(\"The link text.\").nullable().optional(),\n}).describe(\"Footer link configuration.\");\nconst SwaggerhubUpdatePortal_FooterResponseSchema: z.ZodTypeAny = z.object({\n text: z.string().describe(\"The footer text.\").nullable().optional(),\n links: z.array(SwaggerhubUpdatePortal_FooterLinkSchema).describe(\"The list of links to display in the footer.\").nullable().optional(),\n imageId: z.string().describe(\"The identifier of the footer image.\").nullable().optional(),\n visible: z.boolean().describe(\"Indicates if the footer is visible.\").nullable().optional(),\n imageDarkModeId: z.string().describe(\"The identifier of the footer image in dark mode.\").nullable().optional(),\n}).describe(\"Footer configuration in the response.\");\nconst SwaggerhubUpdatePortal_BrandingResponseSchema: z.ZodTypeAny = z.object({\n logoId: z.string().describe(\"The identifier of the logo.\").nullable().optional(),\n fontName: z.string().describe(\"The font name used to dictate the topography of the portal.\").nullable().optional(),\n faviconId: z.string().describe(\"The identifier of the favicon.\").nullable().optional(),\n accentColor: z.string().describe(\"The hexadecimal color code used to dictate the accent color of elements in the portal user interface.\").nullable().optional(),\n logoDarkModeId: z.string().describe(\"The identifier of the logo in dark mode.\").nullable().optional(),\n faviconDarkModeId: z.string().describe(\"The identifier of the favicon in dark mode.\").nullable().optional(),\n accentColorDarkMode: z.string().describe(\"The hexadecimal color code used as the accent color in dark mode.\").nullable().optional(),\n}).describe(\"Branding configuration in the response.\");\nconst SwaggerhubUpdatePortal_LandingPageResponseSchema: z.ZodTypeAny = z.object({\n heroImageId: z.string().describe(\"The identifier of the hero image.\").nullable().optional(),\n pageDescription: z.string().describe(\"The textual description to display on the portal landing page.\").nullable().optional(),\n heroImageDarkModeId: z.string().describe(\"The identifier of the hero image in dark mode.\").nullable().optional(),\n illustrationImageId: z.string().describe(\"The identifier of the illustration image.\").nullable().optional(),\n illustrationImageDarkModeId: z.string().describe(\"The identifier of the illustration image in dark mode.\").nullable().optional(),\n}).describe(\"Landing page configuration in the response.\");\nexport const SwaggerhubUpdatePortalOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Portal ID.\").nullable().optional(),\n name: z.string().describe(\"Portal's name.\").nullable().optional(),\n footer: SwaggerhubUpdatePortal_FooterResponseSchema.nullable().optional(),\n gtmKey: z.string().describe(\"The Google Tag Manager key for this portal.\").nullable().optional(),\n offline: z.boolean().describe(\"If set to true the portal will not be visible to customers.\").nullable().optional(),\n routing: z.string().describe(\"Determines the routing strategy ('browser' or 'proxy').\").nullable().optional(),\n branding: SwaggerhubUpdatePortal_BrandingResponseSchema.nullable().optional(),\n createdAt: z.string().describe(\"The time that the portal was created at.\").nullable().optional(),\n subdomain: z.string().describe(\"Subdomain component for this portal.\"),\n updatedAt: z.string().describe(\"The time of the last update of the portal.\").nullable().optional(),\n landingPage: SwaggerhubUpdatePortal_LandingPageResponseSchema.nullable().optional(),\n customDomain: z.string().describe(\"Custom domain for this portal.\").nullable().optional(),\n openapiRenderer: z.string().describe(\"Portal level setting for the OpenAPI renderer.\").nullable().optional(),\n pageContentFormat: z.string().describe(\"Determines the format of the page content.\").nullable().optional(),\n credentialsEnabled: z.boolean().describe(\"Indicates if credentials are enabled for the portal.\").nullable().optional(),\n swaggerHubOrganizationId: z.string().describe(\"The corresponding Swagger Studio organization.\").nullable().optional(),\n}).describe(\"Response model for updated portal information.\");\n\nexport const swaggerhubUpdatePortal = action(\"SWAGGERHUB_UPDATE_PORTAL\", {\n slug: \"swaggerhub-update-portal\",\n name: \"Update Portal\",\n description: \"Tool to update specific portal information in SwaggerHub. Use when you need to modify portal settings such as name, branding, subdomain, or other configuration options.\",\n input: SwaggerhubUpdatePortalInput,\n output: SwaggerhubUpdatePortalOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,QAAQA,IAAAA,EAAE,OAAO;EACjB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EACrG,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;GACxB,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;GACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;EACvD,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC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hubUpdatePortalOutput: z.ZodTypeAny;
6
+ declare const swaggerhubUpdatePortal: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { swaggerhubUpdatePortal };
9
+ //# sourceMappingURL=update-portal.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-portal.d.cts","names":[],"sources":["../../src/actions/update-portal.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAqCiB;AAAA,cA4BhD,4BAAA,EAA8B,CAAA,CAAE,UAiBgB;AAAA,cAEhD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/update-portal.d.ts
4
+ declare const SwaggerhubUpdatePortalInput: z.ZodTypeAny;
5
+ declare const SwaggerhubUpdatePortalOutput: z.ZodTypeAny;
6
+ declare const swaggerhubUpdatePortal: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { swaggerhubUpdatePortal };
9
+ //# sourceMappingURL=update-portal.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-portal.d.mts","names":[],"sources":["../../src/actions/update-portal.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAqCiB;AAAA,cA4BhD,4BAAA,EAA8B,CAAA,CAAE,UAiBgB;AAAA,cAEhD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,112 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/update-portal.ts
4
+ const SwaggerhubUpdatePortalInput = z.object({
5
+ name: z.string().describe("The name for this portal").optional(),
6
+ footer: z.object({
7
+ text: z.string().describe("The footer text. Maximum 75 characters. Set to null to remove.").optional(),
8
+ links: z.array(z.object({
9
+ url: z.string().describe("The link URL.").optional(),
10
+ text: z.string().describe("The link text.").optional()
11
+ }).describe("Footer link configuration.")).describe("The list of links to display in the footer. Maximum 6 links. Set to null to remove.").optional(),
12
+ imageId: z.string().describe("The identifier of the footer image. Set to null to remove.").optional(),
13
+ visible: z.boolean().describe("Indicates if the footer is visible.").optional(),
14
+ imageDarkModeId: z.string().describe("The identifier of the footer image in dark mode. Set to null to remove.").optional()
15
+ }).describe("Footer configuration for the portal.").optional(),
16
+ gtmKey: z.string().describe("The Google Tag Manager key for this portal. Set to null to remove.").optional(),
17
+ offline: z.boolean().describe("If set to true, the portal is not visible to customers.").optional(),
18
+ routing: z.enum(["browser", "proxy"]).describe("Routing strategy options.").optional(),
19
+ branding: z.object({
20
+ logoId: z.string().describe("The UUID of the new attachment for the logo. Set to null to remove.").optional(),
21
+ fontName: z.enum([
22
+ "Inter",
23
+ "Open Sans",
24
+ "Montserrat",
25
+ "Roboto",
26
+ "Playfair Display",
27
+ "Lato",
28
+ "Merriweather"
29
+ ]).describe("Font options for portal typography.").optional(),
30
+ faviconId: z.string().describe("The UUID of the new attachment for favicon. Set to null to remove.").optional(),
31
+ accentColor: z.string().describe("The hexadecimal color code used to dictate the accent color of elements in the portal user interface.").optional(),
32
+ logoDarkModeId: z.string().describe("The UUID of the new attachment for the logo in dark mode. Set to null to remove.").optional(),
33
+ faviconDarkModeId: z.string().describe("The UUID of the new attachment for the favicon in dark mode. Set to null to remove.").optional(),
34
+ accentColorDarkMode: z.string().describe("The hexadecimal color code used as the accent color in dark mode.").optional()
35
+ }).describe("Branding configuration for the portal.").optional(),
36
+ portalId: z.string().describe("Portal UUID or subdomain"),
37
+ subdomain: z.string().describe("Subdomain for this portal. Must be unique.").optional(),
38
+ landingPage: z.object({
39
+ heroImageId: z.string().describe("The UUID of the new attachment for the hero image. Set to null to remove.").optional(),
40
+ pageDescription: z.string().describe("A description for the portal landing page. Maximum 500 characters. Set to null to remove.").optional(),
41
+ heroImageDarkModeId: z.string().describe("The UUID of the new attachment for the hero image in dark mode. Set to null to remove.").optional(),
42
+ illustrationImageId: z.string().describe("The UUID of the new attachment for the illustration image. Set to null to remove.").optional(),
43
+ illustrationImageDarkModeId: z.string().describe("The UUID of the new attachment for the illustration image in dark mode. Set to null to remove.").optional()
44
+ }).describe("Landing page configuration for the portal.").optional(),
45
+ customDomain: z.string().describe("Custom domain for this portal. Must be unique. If the value is explicitly set to null, the custom domain will be removed.").optional(),
46
+ openapiRenderer: z.enum([
47
+ "SWAGGER_UI",
48
+ "ELEMENTS",
49
+ "TOGGLE"
50
+ ]).describe("OpenAPI renderer options.").optional(),
51
+ pageContentFormat: z.enum([
52
+ "BOTH",
53
+ "HTML",
54
+ "MARKDOWN"
55
+ ]).describe("Page content format options.").optional(),
56
+ credentialsEnabled: z.boolean().describe("Indicates if credentials are enabled for the portal.").optional()
57
+ }).describe("Request model for updating portal information.");
58
+ const SwaggerhubUpdatePortal_FooterLinkSchema = z.object({
59
+ url: z.string().describe("The link URL.").nullable().optional(),
60
+ text: z.string().describe("The link text.").nullable().optional()
61
+ }).describe("Footer link configuration.");
62
+ const SwaggerhubUpdatePortal_FooterResponseSchema = z.object({
63
+ text: z.string().describe("The footer text.").nullable().optional(),
64
+ links: z.array(SwaggerhubUpdatePortal_FooterLinkSchema).describe("The list of links to display in the footer.").nullable().optional(),
65
+ imageId: z.string().describe("The identifier of the footer image.").nullable().optional(),
66
+ visible: z.boolean().describe("Indicates if the footer is visible.").nullable().optional(),
67
+ imageDarkModeId: z.string().describe("The identifier of the footer image in dark mode.").nullable().optional()
68
+ }).describe("Footer configuration in the response.");
69
+ const SwaggerhubUpdatePortal_BrandingResponseSchema = z.object({
70
+ logoId: z.string().describe("The identifier of the logo.").nullable().optional(),
71
+ fontName: z.string().describe("The font name used to dictate the topography of the portal.").nullable().optional(),
72
+ faviconId: z.string().describe("The identifier of the favicon.").nullable().optional(),
73
+ accentColor: z.string().describe("The hexadecimal color code used to dictate the accent color of elements in the portal user interface.").nullable().optional(),
74
+ logoDarkModeId: z.string().describe("The identifier of the logo in dark mode.").nullable().optional(),
75
+ faviconDarkModeId: z.string().describe("The identifier of the favicon in dark mode.").nullable().optional(),
76
+ accentColorDarkMode: z.string().describe("The hexadecimal color code used as the accent color in dark mode.").nullable().optional()
77
+ }).describe("Branding configuration in the response.");
78
+ const SwaggerhubUpdatePortal_LandingPageResponseSchema = z.object({
79
+ heroImageId: z.string().describe("The identifier of the hero image.").nullable().optional(),
80
+ pageDescription: z.string().describe("The textual description to display on the portal landing page.").nullable().optional(),
81
+ heroImageDarkModeId: z.string().describe("The identifier of the hero image in dark mode.").nullable().optional(),
82
+ illustrationImageId: z.string().describe("The identifier of the illustration image.").nullable().optional(),
83
+ illustrationImageDarkModeId: z.string().describe("The identifier of the illustration image in dark mode.").nullable().optional()
84
+ }).describe("Landing page configuration in the response.");
85
+ const swaggerhubUpdatePortal = action("SWAGGERHUB_UPDATE_PORTAL", {
86
+ slug: "swaggerhub-update-portal",
87
+ name: "Update Portal",
88
+ description: "Tool to update specific portal information in SwaggerHub. Use when you need to modify portal settings such as name, branding, subdomain, or other configuration options.",
89
+ input: SwaggerhubUpdatePortalInput,
90
+ output: z.object({
91
+ id: z.string().describe("Portal ID.").nullable().optional(),
92
+ name: z.string().describe("Portal's name.").nullable().optional(),
93
+ footer: SwaggerhubUpdatePortal_FooterResponseSchema.nullable().optional(),
94
+ gtmKey: z.string().describe("The Google Tag Manager key for this portal.").nullable().optional(),
95
+ offline: z.boolean().describe("If set to true the portal will not be visible to customers.").nullable().optional(),
96
+ routing: z.string().describe("Determines the routing strategy ('browser' or 'proxy').").nullable().optional(),
97
+ branding: SwaggerhubUpdatePortal_BrandingResponseSchema.nullable().optional(),
98
+ createdAt: z.string().describe("The time that the portal was created at.").nullable().optional(),
99
+ subdomain: z.string().describe("Subdomain component for this portal."),
100
+ updatedAt: z.string().describe("The time of the last update of the portal.").nullable().optional(),
101
+ landingPage: SwaggerhubUpdatePortal_LandingPageResponseSchema.nullable().optional(),
102
+ customDomain: z.string().describe("Custom domain for this portal.").nullable().optional(),
103
+ openapiRenderer: z.string().describe("Portal level setting for the OpenAPI renderer.").nullable().optional(),
104
+ pageContentFormat: z.string().describe("Determines the format of the page content.").nullable().optional(),
105
+ credentialsEnabled: z.boolean().describe("Indicates if credentials are enabled for the portal.").nullable().optional(),
106
+ swaggerHubOrganizationId: z.string().describe("The corresponding Swagger Studio organization.").nullable().optional()
107
+ }).describe("Response model for updated portal information.")
108
+ });
109
+ //#endregion
110
+ export { swaggerhubUpdatePortal };
111
+
112
+ //# sourceMappingURL=update-portal.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-portal.mjs","names":[],"sources":["../../src/actions/update-portal.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SwaggerhubUpdatePortalInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name for this portal\").optional(),\n footer: z.object({\n text: z.string().describe(\"The footer text. Maximum 75 characters. Set to null to remove.\").optional(),\n links: z.array(z.object({\n url: z.string().describe(\"The link URL.\").optional(),\n text: z.string().describe(\"The link text.\").optional(),\n}).describe(\"Footer link configuration.\")).describe(\"The list of links to display in the footer. Maximum 6 links. Set to null to remove.\").optional(),\n imageId: z.string().describe(\"The identifier of the footer image. Set to null to remove.\").optional(),\n visible: z.boolean().describe(\"Indicates if the footer is visible.\").optional(),\n imageDarkModeId: z.string().describe(\"The identifier of the footer image in dark mode. Set to null to remove.\").optional(),\n}).describe(\"Footer configuration for the portal.\").optional(),\n gtmKey: z.string().describe(\"The Google Tag Manager key for this portal. Set to null to remove.\").optional(),\n offline: z.boolean().describe(\"If set to true, the portal is not visible to customers.\").optional(),\n routing: z.enum([\"browser\", \"proxy\"]).describe(\"Routing strategy options.\").optional(),\n branding: z.object({\n logoId: z.string().describe(\"The UUID of the new attachment for the logo. Set to null to remove.\").optional(),\n fontName: z.enum([\"Inter\", \"Open Sans\", \"Montserrat\", \"Roboto\", \"Playfair Display\", \"Lato\", \"Merriweather\"]).describe(\"Font options for portal typography.\").optional(),\n faviconId: z.string().describe(\"The UUID of the new attachment for favicon. Set to null to remove.\").optional(),\n accentColor: z.string().describe(\"The hexadecimal color code used to dictate the accent color of elements in the portal user interface.\").optional(),\n logoDarkModeId: z.string().describe(\"The UUID of the new attachment for the logo in dark mode. Set to null to remove.\").optional(),\n faviconDarkModeId: z.string().describe(\"The UUID of the new attachment for the favicon in dark mode. Set to null to remove.\").optional(),\n accentColorDarkMode: z.string().describe(\"The hexadecimal color code used as the accent color in dark mode.\").optional(),\n}).describe(\"Branding configuration for the portal.\").optional(),\n portalId: z.string().describe(\"Portal UUID or subdomain\"),\n subdomain: z.string().describe(\"Subdomain for this portal. Must be unique.\").optional(),\n landingPage: z.object({\n heroImageId: z.string().describe(\"The UUID of the new attachment for the hero image. Set to null to remove.\").optional(),\n pageDescription: z.string().describe(\"A description for the portal landing page. Maximum 500 characters. Set to null to remove.\").optional(),\n heroImageDarkModeId: z.string().describe(\"The UUID of the new attachment for the hero image in dark mode. Set to null to remove.\").optional(),\n illustrationImageId: z.string().describe(\"The UUID of the new attachment for the illustration image. Set to null to remove.\").optional(),\n illustrationImageDarkModeId: z.string().describe(\"The UUID of the new attachment for the illustration image in dark mode. Set to null to remove.\").optional(),\n}).describe(\"Landing page configuration for the portal.\").optional(),\n customDomain: z.string().describe(\"Custom domain for this portal. Must be unique. If the value is explicitly set to null, the custom domain will be removed.\").optional(),\n openapiRenderer: z.enum([\"SWAGGER_UI\", \"ELEMENTS\", \"TOGGLE\"]).describe(\"OpenAPI renderer options.\").optional(),\n pageContentFormat: z.enum([\"BOTH\", \"HTML\", \"MARKDOWN\"]).describe(\"Page content format options.\").optional(),\n credentialsEnabled: z.boolean().describe(\"Indicates if credentials are enabled for the portal.\").optional(),\n}).describe(\"Request model for updating portal information.\");\nconst SwaggerhubUpdatePortal_FooterLinkSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The link URL.\").nullable().optional(),\n text: z.string().describe(\"The link text.\").nullable().optional(),\n}).describe(\"Footer link configuration.\");\nconst SwaggerhubUpdatePortal_FooterResponseSchema: z.ZodTypeAny = z.object({\n text: z.string().describe(\"The footer text.\").nullable().optional(),\n links: z.array(SwaggerhubUpdatePortal_FooterLinkSchema).describe(\"The list of links to display in the footer.\").nullable().optional(),\n imageId: z.string().describe(\"The identifier of the footer image.\").nullable().optional(),\n visible: z.boolean().describe(\"Indicates if the footer is visible.\").nullable().optional(),\n imageDarkModeId: z.string().describe(\"The identifier of the footer image in dark mode.\").nullable().optional(),\n}).describe(\"Footer configuration in the response.\");\nconst SwaggerhubUpdatePortal_BrandingResponseSchema: z.ZodTypeAny = z.object({\n logoId: z.string().describe(\"The identifier of the logo.\").nullable().optional(),\n fontName: z.string().describe(\"The font name used to dictate the topography of the portal.\").nullable().optional(),\n faviconId: z.string().describe(\"The identifier of the favicon.\").nullable().optional(),\n accentColor: z.string().describe(\"The hexadecimal color code used to dictate the accent color of elements in the portal user interface.\").nullable().optional(),\n logoDarkModeId: z.string().describe(\"The identifier of the logo in dark mode.\").nullable().optional(),\n faviconDarkModeId: z.string().describe(\"The identifier of the favicon in dark mode.\").nullable().optional(),\n accentColorDarkMode: z.string().describe(\"The hexadecimal color code used as the accent color in dark mode.\").nullable().optional(),\n}).describe(\"Branding configuration in the response.\");\nconst SwaggerhubUpdatePortal_LandingPageResponseSchema: z.ZodTypeAny = z.object({\n heroImageId: z.string().describe(\"The identifier of the hero image.\").nullable().optional(),\n pageDescription: z.string().describe(\"The textual description to display on the portal landing page.\").nullable().optional(),\n heroImageDarkModeId: z.string().describe(\"The identifier of the hero image in dark mode.\").nullable().optional(),\n illustrationImageId: z.string().describe(\"The identifier of the illustration image.\").nullable().optional(),\n illustrationImageDarkModeId: z.string().describe(\"The identifier of the illustration image in dark mode.\").nullable().optional(),\n}).describe(\"Landing page configuration in the response.\");\nexport const SwaggerhubUpdatePortalOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Portal ID.\").nullable().optional(),\n name: z.string().describe(\"Portal's name.\").nullable().optional(),\n footer: SwaggerhubUpdatePortal_FooterResponseSchema.nullable().optional(),\n gtmKey: z.string().describe(\"The Google Tag Manager key for this portal.\").nullable().optional(),\n offline: z.boolean().describe(\"If set to true the portal will not be visible to customers.\").nullable().optional(),\n routing: z.string().describe(\"Determines the routing strategy ('browser' or 'proxy').\").nullable().optional(),\n branding: SwaggerhubUpdatePortal_BrandingResponseSchema.nullable().optional(),\n createdAt: z.string().describe(\"The time that the portal was created at.\").nullable().optional(),\n subdomain: z.string().describe(\"Subdomain component for this portal.\"),\n updatedAt: z.string().describe(\"The time of the last update of the portal.\").nullable().optional(),\n landingPage: SwaggerhubUpdatePortal_LandingPageResponseSchema.nullable().optional(),\n customDomain: z.string().describe(\"Custom domain for this portal.\").nullable().optional(),\n openapiRenderer: z.string().describe(\"Portal level setting for the OpenAPI renderer.\").nullable().optional(),\n pageContentFormat: z.string().describe(\"Determines the format of the page content.\").nullable().optional(),\n credentialsEnabled: z.boolean().describe(\"Indicates if credentials are enabled for the portal.\").nullable().optional(),\n swaggerHubOrganizationId: z.string().describe(\"The corresponding Swagger Studio organization.\").nullable().optional(),\n}).describe(\"Response model for updated portal information.\");\n\nexport const swaggerhubUpdatePortal = action(\"SWAGGERHUB_UPDATE_PORTAL\", {\n slug: \"swaggerhub-update-portal\",\n name: \"Update Portal\",\n description: \"Tool to update specific portal information in SwaggerHub. Use when you need to modify portal settings such as name, branding, subdomain, or other configuration options.\",\n input: SwaggerhubUpdatePortalInput,\n output: SwaggerhubUpdatePortalOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4C,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,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AE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,UAAU,8CAA8C,SAAS,CAAC,CAAC,SAAS;EAC5E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;EACrE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,aAAa,iDAAiD,SAAS,CAAC,CAAC,SAAS;EAClF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
package/dist/app.cjs ADDED
@@ -0,0 +1,9 @@
1
+ //#region src/app.ts
2
+ const swaggerhub = (0, require("@keystrokehq/keystroke/app").defineApp)({
3
+ slug: "swaggerhub",
4
+ auth: "keystroke"
5
+ });
6
+ //#endregion
7
+ exports.swaggerhub = swaggerhub;
8
+
9
+ //# sourceMappingURL=app.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const swaggerhub = defineApp({\n slug: \"swaggerhub\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,cAAA,uCAAA,CAAA,CAAA,UAAA,CAAuB;CAClC,MAAM;CACN,MAAM;AACR,CAAC"}
package/dist/app.d.cts ADDED
@@ -0,0 +1,5 @@
1
+ //#region src/app.d.ts
2
+ declare const swaggerhub: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
3
+ //#endregion
4
+ export { swaggerhub };
5
+ //# sourceMappingURL=app.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,UAAA,6BAAU,GAAA,+BAAA,UAAA"}
package/dist/app.d.mts ADDED
@@ -0,0 +1,5 @@
1
+ //#region src/app.d.ts
2
+ declare const swaggerhub: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
3
+ //#endregion
4
+ export { swaggerhub };
5
+ //# sourceMappingURL=app.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,UAAA,6BAAU,GAAA,+BAAA,UAAA"}
package/dist/app.mjs ADDED
@@ -0,0 +1,10 @@
1
+ import { defineApp } from "@keystrokehq/keystroke/app";
2
+ //#region src/app.ts
3
+ const swaggerhub = defineApp({
4
+ slug: "swaggerhub",
5
+ auth: "keystroke"
6
+ });
7
+ //#endregion
8
+ export { swaggerhub };
9
+
10
+ //# sourceMappingURL=app.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const swaggerhub = defineApp({\n slug: \"swaggerhub\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,aAAa,UAAU;CAClC,MAAM;CACN,MAAM;AACR,CAAC"}
@@ -0,0 +1,15 @@
1
+ //#region src/catalog.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ const swaggerhubCatalog = {
4
+ "slug": "swaggerhub",
5
+ "name": "Swaggerhub",
6
+ "description": "Accelerating API delivery and quality through standards and collaboration, built on OpenAPI",
7
+ "category": "Developer Tools",
8
+ "logo": "https://logos.composio.dev/api/swaggerhub",
9
+ "authKind": "keystroke",
10
+ "oauthScopes": []
11
+ };
12
+ //#endregion
13
+ exports.swaggerhubCatalog = swaggerhubCatalog;
14
+
15
+ //# sourceMappingURL=catalog.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const swaggerhubCatalog = {\n \"slug\": \"swaggerhub\",\n \"name\": \"Swaggerhub\",\n \"description\": \"Accelerating API delivery and quality through standards and collaboration, built on OpenAPI\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://logos.composio.dev/api/swaggerhub\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,oBAAoB;CAC/B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
@@ -0,0 +1,14 @@
1
+ //#region src/catalog.d.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ declare const swaggerhubCatalog: {
4
+ readonly slug: "swaggerhub";
5
+ readonly name: "Swaggerhub";
6
+ readonly description: "Accelerating API delivery and quality through standards and collaboration, built on OpenAPI";
7
+ readonly category: "Developer Tools";
8
+ readonly logo: "https://logos.composio.dev/api/swaggerhub";
9
+ readonly authKind: "keystroke";
10
+ readonly oauthScopes: readonly [];
11
+ };
12
+ //#endregion
13
+ export { swaggerhubCatalog };
14
+ //# sourceMappingURL=catalog.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.d.cts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,iBAAA;EAAA"}
@@ -0,0 +1,14 @@
1
+ //#region src/catalog.d.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ declare const swaggerhubCatalog: {
4
+ readonly slug: "swaggerhub";
5
+ readonly name: "Swaggerhub";
6
+ readonly description: "Accelerating API delivery and quality through standards and collaboration, built on OpenAPI";
7
+ readonly category: "Developer Tools";
8
+ readonly logo: "https://logos.composio.dev/api/swaggerhub";
9
+ readonly authKind: "keystroke";
10
+ readonly oauthScopes: readonly [];
11
+ };
12
+ //#endregion
13
+ export { swaggerhubCatalog };
14
+ //# sourceMappingURL=catalog.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.d.mts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,iBAAA;EAAA"}
@@ -0,0 +1,15 @@
1
+ //#region src/catalog.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ const swaggerhubCatalog = {
4
+ "slug": "swaggerhub",
5
+ "name": "Swaggerhub",
6
+ "description": "Accelerating API delivery and quality through standards and collaboration, built on OpenAPI",
7
+ "category": "Developer Tools",
8
+ "logo": "https://logos.composio.dev/api/swaggerhub",
9
+ "authKind": "keystroke",
10
+ "oauthScopes": []
11
+ };
12
+ //#endregion
13
+ export { swaggerhubCatalog };
14
+
15
+ //# sourceMappingURL=catalog.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const swaggerhubCatalog = {\n \"slug\": \"swaggerhub\",\n \"name\": \"Swaggerhub\",\n \"description\": \"Accelerating API delivery and quality through standards and collaboration, built on OpenAPI\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://logos.composio.dev/api/swaggerhub\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,oBAAoB;CAC/B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}