@rnsk/toolkits 0.0.10 → 0.0.12

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 (730) hide show
  1. package/README.md +23 -3
  2. package/dist/index.d.ts +21 -1
  3. package/dist/index.js +41 -1
  4. package/dist/toolkits/accuweather/icon.d.ts +5 -0
  5. package/dist/toolkits/accuweather/icon.js +6 -0
  6. package/dist/toolkits/accuweather/manifest.d.ts +3 -0
  7. package/dist/toolkits/accuweather/manifest.js +35 -0
  8. package/dist/toolkits/accuweather/tools/alerts-alarms.d.ts +13 -0
  9. package/dist/toolkits/accuweather/tools/alerts-alarms.js +25 -0
  10. package/dist/toolkits/accuweather/tools/client.d.ts +17 -0
  11. package/dist/toolkits/accuweather/tools/client.js +50 -0
  12. package/dist/toolkits/accuweather/tools/current-conditions.d.ts +21 -0
  13. package/dist/toolkits/accuweather/tools/current-conditions.js +46 -0
  14. package/dist/toolkits/accuweather/tools/forecasts.d.ts +17 -0
  15. package/dist/toolkits/accuweather/tools/forecasts.js +41 -0
  16. package/dist/toolkits/accuweather/tools/imagery.d.ts +7 -0
  17. package/dist/toolkits/accuweather/tools/imagery.js +21 -0
  18. package/dist/toolkits/accuweather/tools/index.d.ts +21 -0
  19. package/dist/toolkits/accuweather/tools/index.js +60 -0
  20. package/dist/toolkits/accuweather/tools/indices.d.ts +29 -0
  21. package/dist/toolkits/accuweather/tools/indices.js +66 -0
  22. package/dist/toolkits/accuweather/tools/lightning.d.ts +11 -0
  23. package/dist/toolkits/accuweather/tools/lightning.js +35 -0
  24. package/dist/toolkits/accuweather/tools/locations.d.ts +101 -0
  25. package/dist/toolkits/accuweather/tools/locations.js +280 -0
  26. package/dist/toolkits/accuweather/tools/minutecast.d.ts +11 -0
  27. package/dist/toolkits/accuweather/tools/minutecast.js +28 -0
  28. package/dist/toolkits/accuweather/tools/translations.d.ts +20 -0
  29. package/dist/toolkits/accuweather/tools/translations.js +49 -0
  30. package/dist/toolkits/accuweather/tools/tropical.d.ts +49 -0
  31. package/dist/toolkits/accuweather/tools/tropical.js +108 -0
  32. package/dist/toolkits/aws/tools/cloudwatch/filter-log-events.d.ts +2 -2
  33. package/dist/toolkits/aws/tools/cloudwatch/get-metric-data.d.ts +2 -2
  34. package/dist/toolkits/aws/tools/index.d.ts +4 -4
  35. package/dist/toolkits/bitbucket/tools/commits.d.ts +3 -3
  36. package/dist/toolkits/bitbucket/tools/index.d.ts +9 -9
  37. package/dist/toolkits/bitbucket/tools/pull-requests.d.ts +1 -1
  38. package/dist/toolkits/bitbucket/tools/reports.d.ts +5 -5
  39. package/dist/toolkits/bitbucket/tools/repositories.d.ts +1 -1
  40. package/dist/toolkits/cloudflare/tools/create-dns-record.d.ts +2 -2
  41. package/dist/toolkits/cloudflare/tools/create-list.d.ts +1 -1
  42. package/dist/toolkits/cloudflare/tools/create-zone.d.ts +2 -2
  43. package/dist/toolkits/cloudflare/tools/index.d.ts +13 -13
  44. package/dist/toolkits/cloudflare/tools/list-accounts.d.ts +1 -1
  45. package/dist/toolkits/cloudflare/tools/list-dns-records.d.ts +1 -1
  46. package/dist/toolkits/cloudflare/tools/list-pools.d.ts +1 -1
  47. package/dist/toolkits/cloudflare/tools/list-tunnels.d.ts +1 -1
  48. package/dist/toolkits/cloudflare/tools/list-zones.d.ts +2 -2
  49. package/dist/toolkits/cloudflare/tools/update-dns-record.d.ts +1 -1
  50. package/dist/toolkits/cloudflare/tools/update-zone.d.ts +1 -1
  51. package/dist/toolkits/convex/icon.d.ts +5 -0
  52. package/dist/toolkits/convex/icon.js +10 -0
  53. package/dist/toolkits/convex/manifest.d.ts +3 -0
  54. package/dist/toolkits/convex/manifest.js +33 -0
  55. package/dist/toolkits/convex/tools/client.d.ts +28 -0
  56. package/dist/toolkits/convex/tools/client.js +85 -0
  57. package/dist/toolkits/convex/tools/deploy-keys.d.ts +10 -0
  58. package/dist/toolkits/convex/tools/deploy-keys.js +46 -0
  59. package/dist/toolkits/convex/tools/deployments.d.ts +35 -0
  60. package/dist/toolkits/convex/tools/deployments.js +126 -0
  61. package/dist/toolkits/convex/tools/domains.d.ts +7 -0
  62. package/dist/toolkits/convex/tools/domains.js +29 -0
  63. package/dist/toolkits/convex/tools/functions.d.ts +14 -0
  64. package/dist/toolkits/convex/tools/functions.js +49 -0
  65. package/dist/toolkits/convex/tools/index.d.ts +176 -0
  66. package/dist/toolkits/convex/tools/index.js +145 -0
  67. package/dist/toolkits/convex/tools/logging.d.ts +5 -0
  68. package/dist/toolkits/convex/tools/logging.js +25 -0
  69. package/dist/toolkits/convex/tools/projects.d.ts +31 -0
  70. package/dist/toolkits/convex/tools/projects.js +111 -0
  71. package/dist/toolkits/convex/tools/teams.d.ts +12 -0
  72. package/dist/toolkits/convex/tools/teams.js +62 -0
  73. package/dist/toolkits/datadog/icon.d.ts +5 -0
  74. package/dist/toolkits/datadog/icon.js +6 -0
  75. package/dist/toolkits/datadog/manifest.d.ts +3 -0
  76. package/dist/toolkits/datadog/manifest.js +44 -0
  77. package/dist/toolkits/datadog/tools/api-keys.d.ts +21 -0
  78. package/dist/toolkits/datadog/tools/api-keys.js +42 -0
  79. package/dist/toolkits/datadog/tools/apm.d.ts +51 -0
  80. package/dist/toolkits/datadog/tools/apm.js +106 -0
  81. package/dist/toolkits/datadog/tools/client.d.ts +19 -0
  82. package/dist/toolkits/datadog/tools/client.js +81 -0
  83. package/dist/toolkits/datadog/tools/dashboards.d.ts +93 -0
  84. package/dist/toolkits/datadog/tools/dashboards.js +127 -0
  85. package/dist/toolkits/datadog/tools/events.d.ts +35 -0
  86. package/dist/toolkits/datadog/tools/events.js +56 -0
  87. package/dist/toolkits/datadog/tools/hosts.d.ts +49 -0
  88. package/dist/toolkits/datadog/tools/hosts.js +87 -0
  89. package/dist/toolkits/datadog/tools/incidents.d.ts +18 -0
  90. package/dist/toolkits/datadog/tools/incidents.js +34 -0
  91. package/dist/toolkits/datadog/tools/index.d.ts +999 -0
  92. package/dist/toolkits/datadog/tools/index.js +450 -0
  93. package/dist/toolkits/datadog/tools/integrations.d.ts +32 -0
  94. package/dist/toolkits/datadog/tools/integrations.js +47 -0
  95. package/dist/toolkits/datadog/tools/logs.d.ts +39 -0
  96. package/dist/toolkits/datadog/tools/logs.js +121 -0
  97. package/dist/toolkits/datadog/tools/metrics.d.ts +27 -0
  98. package/dist/toolkits/datadog/tools/metrics.js +83 -0
  99. package/dist/toolkits/datadog/tools/monitors.d.ts +95 -0
  100. package/dist/toolkits/datadog/tools/monitors.js +190 -0
  101. package/dist/toolkits/datadog/tools/oncall-notifications.d.ts +61 -0
  102. package/dist/toolkits/datadog/tools/oncall-notifications.js +155 -0
  103. package/dist/toolkits/datadog/tools/oncall-policies.d.ts +28 -0
  104. package/dist/toolkits/datadog/tools/oncall-policies.js +72 -0
  105. package/dist/toolkits/datadog/tools/oncall-schedules.d.ts +31 -0
  106. package/dist/toolkits/datadog/tools/oncall-schedules.js +87 -0
  107. package/dist/toolkits/datadog/tools/oncall-teams.d.ts +14 -0
  108. package/dist/toolkits/datadog/tools/oncall-teams.js +54 -0
  109. package/dist/toolkits/datadog/tools/slos.d.ts +43 -0
  110. package/dist/toolkits/datadog/tools/slos.js +62 -0
  111. package/dist/toolkits/datadog/tools/synthetics.d.ts +58 -0
  112. package/dist/toolkits/datadog/tools/synthetics.js +90 -0
  113. package/dist/toolkits/datadog/tools/usage.d.ts +7 -0
  114. package/dist/toolkits/datadog/tools/usage.js +25 -0
  115. package/dist/toolkits/datadog/tools/users.d.ts +35 -0
  116. package/dist/toolkits/datadog/tools/users.js +66 -0
  117. package/dist/toolkits/dev-to/icon.d.ts +5 -0
  118. package/dist/toolkits/dev-to/icon.js +10 -0
  119. package/dist/toolkits/dev-to/manifest.d.ts +3 -0
  120. package/dist/toolkits/dev-to/manifest.js +34 -0
  121. package/dist/toolkits/dev-to/tools/articles.d.ts +78 -0
  122. package/dist/toolkits/dev-to/tools/articles.js +262 -0
  123. package/dist/toolkits/dev-to/tools/client.d.ts +25 -0
  124. package/dist/toolkits/dev-to/tools/client.js +65 -0
  125. package/dist/toolkits/dev-to/tools/community.d.ts +61 -0
  126. package/dist/toolkits/dev-to/tools/community.js +244 -0
  127. package/dist/toolkits/dev-to/tools/index.d.ts +202 -0
  128. package/dist/toolkits/dev-to/tools/index.js +37 -0
  129. package/dist/toolkits/dev-to/tools/listings.d.ts +26 -0
  130. package/dist/toolkits/dev-to/tools/listings.js +92 -0
  131. package/dist/toolkits/discord/tools/applications.d.ts +6 -6
  132. package/dist/toolkits/discord/tools/index.d.ts +6 -6
  133. package/dist/toolkits/figma/tools/create-dev-resources.d.ts +1 -1
  134. package/dist/toolkits/figma/tools/create-modify-delete-variables.d.ts +1 -1
  135. package/dist/toolkits/figma/tools/get-activity-logs.d.ts +2 -2
  136. package/dist/toolkits/figma/tools/get-file-json.d.ts +1 -1
  137. package/dist/toolkits/figma/tools/get-file-nodes.d.ts +1 -1
  138. package/dist/toolkits/figma/tools/get-team-component-sets.d.ts +1 -1
  139. package/dist/toolkits/figma/tools/get-team-components.d.ts +1 -1
  140. package/dist/toolkits/figma/tools/get-team-styles.d.ts +1 -1
  141. package/dist/toolkits/figma/tools/get-versions-of-a-file.d.ts +1 -1
  142. package/dist/toolkits/figma/tools/index.d.ts +10 -10
  143. package/dist/toolkits/figma/tools/render-images-of-file-nodes.d.ts +1 -1
  144. package/dist/toolkits/figma/tools/update-dev-resources.d.ts +1 -1
  145. package/dist/toolkits/github/tools/Checks/create-check-run.d.ts +1 -1
  146. package/dist/toolkits/github/tools/Collaborators/add-collaborator.d.ts +1 -1
  147. package/dist/toolkits/github/tools/Collaborators/check-collaborator.d.ts +1 -1
  148. package/dist/toolkits/github/tools/Collaborators/remove-collaborator.d.ts +1 -1
  149. package/dist/toolkits/github/tools/Dependabot/list-alerts.d.ts +2 -2
  150. package/dist/toolkits/github/tools/Organizations/list-org-repositories.d.ts +1 -1
  151. package/dist/toolkits/github/tools/Organizations/update-organization.d.ts +1 -1
  152. package/dist/toolkits/github/tools/Projects/update-project.d.ts +1 -1
  153. package/dist/toolkits/github/tools/Releases/create-release.d.ts +1 -1
  154. package/dist/toolkits/github/tools/Releases/update-release.d.ts +1 -1
  155. package/dist/toolkits/github/tools/SecurityAdvisories/create-repository-advisory.d.ts +2 -2
  156. package/dist/toolkits/github/tools/SecurityAdvisories/get-repository-advisory.d.ts +1 -1
  157. package/dist/toolkits/github/tools/SecurityAdvisories/list-global-advisories.d.ts +1 -1
  158. package/dist/toolkits/github/tools/SecurityAdvisories/list-repository-advisories.d.ts +1 -1
  159. package/dist/toolkits/github/tools/Teams/update-team.d.ts +1 -1
  160. package/dist/toolkits/github/tools/Users/follow-user.d.ts +1 -1
  161. package/dist/toolkits/github/tools/Users/update-authenticated-user.d.ts +1 -1
  162. package/dist/toolkits/github/tools/Webhooks/create-repo-webhook.d.ts +1 -1
  163. package/dist/toolkits/github/tools/Workflows/list-workflows.d.ts +1 -1
  164. package/dist/toolkits/github/tools/index.d.ts +21 -21
  165. package/dist/toolkits/gitlab/tools/index.d.ts +2 -2
  166. package/dist/toolkits/gitlab/tools/pipelines.d.ts +1 -1
  167. package/dist/toolkits/gitlab/tools/projects.d.ts +1 -1
  168. package/dist/toolkits/gmail/manifest.js +204 -1
  169. package/dist/toolkits/gmail/tools/create-label.d.ts +2 -2
  170. package/dist/toolkits/gmail/tools/index.d.ts +5 -0
  171. package/dist/toolkits/gmail/tools/index.js +5 -0
  172. package/dist/toolkits/gmail/tools/labels-threads.d.ts +47 -0
  173. package/dist/toolkits/gmail/tools/labels-threads.js +110 -0
  174. package/dist/toolkits/gmail/tools/list-drafts.d.ts +1 -1
  175. package/dist/toolkits/gmail/tools/list-threads.d.ts +1 -1
  176. package/dist/toolkits/gmail/tools/mailbox.d.ts +46 -0
  177. package/dist/toolkits/gmail/tools/mailbox.js +142 -0
  178. package/dist/toolkits/gmail/tools/messages-extra.d.ts +34 -0
  179. package/dist/toolkits/gmail/tools/messages-extra.js +176 -0
  180. package/dist/toolkits/gmail/tools/people-extra.d.ts +18 -0
  181. package/dist/toolkits/gmail/tools/people-extra.js +67 -0
  182. package/dist/toolkits/gmail/tools/settings.d.ts +100 -0
  183. package/dist/toolkits/gmail/tools/settings.js +210 -0
  184. package/dist/toolkits/google-analytics/tools/admin.d.ts +3 -3
  185. package/dist/toolkits/google-analytics/tools/custom-definitions.d.ts +2 -2
  186. package/dist/toolkits/google-analytics/tools/reports.d.ts +9 -9
  187. package/dist/toolkits/google-classroom/tools/announcement-addons.d.ts +4 -4
  188. package/dist/toolkits/google-classroom/tools/coursework-addons.d.ts +2 -2
  189. package/dist/toolkits/google-classroom/tools/coursework.d.ts +1 -1
  190. package/dist/toolkits/google-classroom/tools/index.d.ts +14 -14
  191. package/dist/toolkits/google-classroom/tools/invitations.d.ts +2 -2
  192. package/dist/toolkits/google-classroom/tools/materials-addons.d.ts +2 -2
  193. package/dist/toolkits/google-classroom/tools/misc.d.ts +1 -1
  194. package/dist/toolkits/google-classroom/tools/posts-addons.d.ts +1 -1
  195. package/dist/toolkits/google-classroom/tools/roster.d.ts +5 -5
  196. package/dist/toolkits/google-contacts/tools/contacts.d.ts +5 -5
  197. package/dist/toolkits/google-contacts/tools/directory.d.ts +3 -3
  198. package/dist/toolkits/google-contacts/tools/groups.d.ts +1 -1
  199. package/dist/toolkits/google-contacts/tools/index.d.ts +9 -9
  200. package/dist/toolkits/google-drive/tools/index.d.ts +3 -3
  201. package/dist/toolkits/google-drive/tools/search-files.d.ts +1 -1
  202. package/dist/toolkits/google-drive/tools/upload-file.d.ts +2 -2
  203. package/dist/toolkits/google-maps/tools/index.d.ts +4 -4
  204. package/dist/toolkits/google-maps/tools/places.d.ts +4 -4
  205. package/dist/toolkits/google-search-console/tools/index.d.ts +2 -2
  206. package/dist/toolkits/google-search-console/tools/search-analytics-query.d.ts +2 -2
  207. package/dist/toolkits/google-sheets/tools/index.d.ts +1 -1
  208. package/dist/toolkits/google-sheets/tools/list-spreadsheets.d.ts +1 -1
  209. package/dist/toolkits/google-tasks/tools/batch-execute.d.ts +1 -1
  210. package/dist/toolkits/google-tasks/tools/index.d.ts +2 -2
  211. package/dist/toolkits/google-tasks/tools/update-task-full.d.ts +1 -1
  212. package/dist/toolkits/groww/tools/index.d.ts +8 -8
  213. package/dist/toolkits/groww/tools/margin.d.ts +1 -1
  214. package/dist/toolkits/groww/tools/orders.d.ts +2 -2
  215. package/dist/toolkits/groww/tools/smart-orders.d.ts +5 -5
  216. package/dist/toolkits/gumroad/icon.d.ts +5 -0
  217. package/dist/toolkits/gumroad/icon.js +6 -0
  218. package/dist/toolkits/gumroad/manifest.d.ts +3 -0
  219. package/dist/toolkits/gumroad/manifest.js +41 -0
  220. package/dist/toolkits/gumroad/tools/client.d.ts +16 -0
  221. package/dist/toolkits/gumroad/tools/client.js +53 -0
  222. package/dist/toolkits/gumroad/tools/index.d.ts +12 -0
  223. package/dist/toolkits/gumroad/tools/index.js +17 -0
  224. package/dist/toolkits/gumroad/tools/sales.d.ts +34 -0
  225. package/dist/toolkits/gumroad/tools/sales.js +68 -0
  226. package/dist/toolkits/hostinger/tools/hosting.d.ts +2 -2
  227. package/dist/toolkits/hostinger/tools/index.d.ts +4 -4
  228. package/dist/toolkits/hostinger/tools/whois.d.ts +2 -2
  229. package/dist/toolkits/hugging-face/tools/datasets-viewer.d.ts +1 -1
  230. package/dist/toolkits/hugging-face/tools/datasets.d.ts +2 -2
  231. package/dist/toolkits/hugging-face/tools/index.d.ts +3 -3
  232. package/dist/toolkits/hugging-face/tools/models.d.ts +1 -1
  233. package/dist/toolkits/hugging-face/tools/papers.d.ts +1 -1
  234. package/dist/toolkits/hugging-face/tools/repos.d.ts +1 -1
  235. package/dist/toolkits/hugging-face/tools/spaces.d.ts +1 -1
  236. package/dist/toolkits/jira/tools/boards.d.ts +1 -1
  237. package/dist/toolkits/jira/tools/index.d.ts +8 -8
  238. package/dist/toolkits/jira/tools/meta.d.ts +3 -3
  239. package/dist/toolkits/jira/tools/projects.d.ts +1 -1
  240. package/dist/toolkits/jira/tools/users.d.ts +4 -4
  241. package/dist/toolkits/kaggle/icon.d.ts +5 -0
  242. package/dist/toolkits/kaggle/icon.js +6 -0
  243. package/dist/toolkits/kaggle/manifest.d.ts +3 -0
  244. package/dist/toolkits/kaggle/manifest.js +32 -0
  245. package/dist/toolkits/kaggle/tools/client.d.ts +10 -0
  246. package/dist/toolkits/kaggle/tools/client.js +94 -0
  247. package/dist/toolkits/kaggle/tools/competitions.d.ts +48 -0
  248. package/dist/toolkits/kaggle/tools/competitions.js +109 -0
  249. package/dist/toolkits/kaggle/tools/config.d.ts +110 -0
  250. package/dist/toolkits/kaggle/tools/config.js +256 -0
  251. package/dist/toolkits/kaggle/tools/datasets.d.ts +88 -0
  252. package/dist/toolkits/kaggle/tools/datasets.js +161 -0
  253. package/dist/toolkits/kaggle/tools/index.d.ts +482 -0
  254. package/dist/toolkits/kaggle/tools/index.js +53 -0
  255. package/dist/toolkits/kaggle/tools/kernels.d.ts +62 -0
  256. package/dist/toolkits/kaggle/tools/kernels.js +121 -0
  257. package/dist/toolkits/kaggle/tools/model_instance_files.d.ts +11 -0
  258. package/dist/toolkits/kaggle/tools/model_instance_files.js +23 -0
  259. package/dist/toolkits/kaggle/tools/model_instances.d.ts +8 -0
  260. package/dist/toolkits/kaggle/tools/model_instances.js +20 -0
  261. package/dist/toolkits/kaggle/tools/models.d.ts +14 -0
  262. package/dist/toolkits/kaggle/tools/models.js +33 -0
  263. package/dist/toolkits/nasa/icon.d.ts +5 -0
  264. package/dist/toolkits/nasa/icon.js +56 -0
  265. package/dist/toolkits/nasa/manifest.d.ts +3 -0
  266. package/dist/toolkits/nasa/manifest.js +49 -0
  267. package/dist/toolkits/nasa/tools/agage.d.ts +60 -0
  268. package/dist/toolkits/nasa/tools/agage.js +176 -0
  269. package/dist/toolkits/nasa/tools/client.d.ts +95 -0
  270. package/dist/toolkits/nasa/tools/client.js +337 -0
  271. package/dist/toolkits/nasa/tools/cmr.d.ts +268 -0
  272. package/dist/toolkits/nasa/tools/cmr.js +984 -0
  273. package/dist/toolkits/nasa/tools/donki.d.ts +63 -0
  274. package/dist/toolkits/nasa/tools/donki.js +301 -0
  275. package/dist/toolkits/nasa/tools/eonet.d.ts +74 -0
  276. package/dist/toolkits/nasa/tools/eonet.js +279 -0
  277. package/dist/toolkits/nasa/tools/icesat2.d.ts +25 -0
  278. package/dist/toolkits/nasa/tools/icesat2.js +97 -0
  279. package/dist/toolkits/nasa/tools/imagery.d.ts +36 -0
  280. package/dist/toolkits/nasa/tools/imagery.js +138 -0
  281. package/dist/toolkits/nasa/tools/index.d.ts +1063 -0
  282. package/dist/toolkits/nasa/tools/index.js +865 -0
  283. package/dist/toolkits/nasa/tools/neo.d.ts +15 -0
  284. package/dist/toolkits/nasa/tools/neo.js +75 -0
  285. package/dist/toolkits/nasa/tools/ntrs.d.ts +152 -0
  286. package/dist/toolkits/nasa/tools/ntrs.js +292 -0
  287. package/dist/toolkits/nasa/tools/osdr.d.ts +72 -0
  288. package/dist/toolkits/nasa/tools/osdr.js +290 -0
  289. package/dist/toolkits/nasa/tools/planetary.d.ts +58 -0
  290. package/dist/toolkits/nasa/tools/planetary.js +312 -0
  291. package/dist/toolkits/nasa/tools/power.d.ts +52 -0
  292. package/dist/toolkits/nasa/tools/power.js +213 -0
  293. package/dist/toolkits/nasa/tools/ssc.d.ts +44 -0
  294. package/dist/toolkits/nasa/tools/ssc.js +92 -0
  295. package/dist/toolkits/nasa/tools/tolnet.d.ts +84 -0
  296. package/dist/toolkits/nasa/tools/tolnet.js +254 -0
  297. package/dist/toolkits/neo4j/tools/analytics.d.ts +1 -1
  298. package/dist/toolkits/neo4j/tools/index.d.ts +3 -3
  299. package/dist/toolkits/neo4j/tools/instances.d.ts +2 -2
  300. package/dist/toolkits/neon/tools/auth.d.ts +5 -5
  301. package/dist/toolkits/neon/tools/dataapi.d.ts +1 -1
  302. package/dist/toolkits/neon/tools/index.d.ts +8 -8
  303. package/dist/toolkits/neon/tools/projects.d.ts +2 -2
  304. package/dist/toolkits/new-relic/icon.d.ts +5 -0
  305. package/dist/toolkits/new-relic/icon.js +6 -0
  306. package/dist/toolkits/new-relic/manifest.d.ts +3 -0
  307. package/dist/toolkits/new-relic/manifest.js +41 -0
  308. package/dist/toolkits/new-relic/tools/admin.d.ts +310 -0
  309. package/dist/toolkits/new-relic/tools/admin.js +282 -0
  310. package/dist/toolkits/new-relic/tools/alert-policies.d.ts +74 -0
  311. package/dist/toolkits/new-relic/tools/alert-policies.js +136 -0
  312. package/dist/toolkits/new-relic/tools/apm.d.ts +129 -0
  313. package/dist/toolkits/new-relic/tools/apm.js +228 -0
  314. package/dist/toolkits/new-relic/tools/client.d.ts +62 -0
  315. package/dist/toolkits/new-relic/tools/client.js +167 -0
  316. package/dist/toolkits/new-relic/tools/conditions.d.ts +190 -0
  317. package/dist/toolkits/new-relic/tools/conditions.js +265 -0
  318. package/dist/toolkits/new-relic/tools/config.d.ts +73 -0
  319. package/dist/toolkits/new-relic/tools/config.js +131 -0
  320. package/dist/toolkits/new-relic/tools/dashboards.d.ts +204 -0
  321. package/dist/toolkits/new-relic/tools/dashboards.js +159 -0
  322. package/dist/toolkits/new-relic/tools/entities.d.ts +160 -0
  323. package/dist/toolkits/new-relic/tools/entities.js +218 -0
  324. package/dist/toolkits/new-relic/tools/index.d.ts +23 -0
  325. package/dist/toolkits/new-relic/tools/index.js +179 -0
  326. package/dist/toolkits/new-relic/tools/ingest.d.ts +31 -0
  327. package/dist/toolkits/new-relic/tools/ingest.js +80 -0
  328. package/dist/toolkits/new-relic/tools/notifications.d.ts +186 -0
  329. package/dist/toolkits/new-relic/tools/notifications.js +232 -0
  330. package/dist/toolkits/new-relic/tools/nrql-conditions.d.ts +105 -0
  331. package/dist/toolkits/new-relic/tools/nrql-conditions.js +136 -0
  332. package/dist/toolkits/new-relic/tools/nrql.d.ts +38 -0
  333. package/dist/toolkits/new-relic/tools/nrql.js +99 -0
  334. package/dist/toolkits/new-relic/tools/synthetics.d.ts +176 -0
  335. package/dist/toolkits/new-relic/tools/synthetics.js +246 -0
  336. package/dist/toolkits/notebook-lm/icon.d.ts +5 -0
  337. package/dist/toolkits/notebook-lm/icon.js +6 -0
  338. package/dist/toolkits/notebook-lm/manifest.d.ts +3 -0
  339. package/dist/toolkits/notebook-lm/manifest.js +44 -0
  340. package/dist/toolkits/notebook-lm/tools/add-text-sources.d.ts +36 -0
  341. package/dist/toolkits/notebook-lm/tools/add-text-sources.js +51 -0
  342. package/dist/toolkits/notebook-lm/tools/create-audio-overview.d.ts +47 -0
  343. package/dist/toolkits/notebook-lm/tools/create-audio-overview.js +55 -0
  344. package/dist/toolkits/notebook-lm/tools/create-notebook.d.ts +52 -0
  345. package/dist/toolkits/notebook-lm/tools/create-notebook.js +49 -0
  346. package/dist/toolkits/notebook-lm/tools/delete-audio-overview.d.ts +33 -0
  347. package/dist/toolkits/notebook-lm/tools/delete-audio-overview.js +46 -0
  348. package/dist/toolkits/notebook-lm/tools/delete-notebooks.d.ts +32 -0
  349. package/dist/toolkits/notebook-lm/tools/delete-notebooks.js +46 -0
  350. package/dist/toolkits/notebook-lm/tools/delete-sources.d.ts +33 -0
  351. package/dist/toolkits/notebook-lm/tools/delete-sources.js +47 -0
  352. package/dist/toolkits/notebook-lm/tools/get-notebook.d.ts +52 -0
  353. package/dist/toolkits/notebook-lm/tools/get-notebook.js +45 -0
  354. package/dist/toolkits/notebook-lm/tools/get-source.d.ts +53 -0
  355. package/dist/toolkits/notebook-lm/tools/get-source.js +47 -0
  356. package/dist/toolkits/notebook-lm/tools/index.d.ts +516 -0
  357. package/dist/toolkits/notebook-lm/tools/index.js +93 -0
  358. package/dist/toolkits/notebook-lm/tools/list-recent-notebooks.d.ts +32 -0
  359. package/dist/toolkits/notebook-lm/tools/list-recent-notebooks.js +41 -0
  360. package/dist/toolkits/notebook-lm/tools/share-notebook.d.ts +48 -0
  361. package/dist/toolkits/notebook-lm/tools/share-notebook.js +57 -0
  362. package/dist/toolkits/notebook-lm/tools/upload-source-file.d.ts +40 -0
  363. package/dist/toolkits/notebook-lm/tools/upload-source-file.js +62 -0
  364. package/dist/toolkits/notebook-lm/tools/utils.d.ts +15 -0
  365. package/dist/toolkits/notebook-lm/tools/utils.js +46 -0
  366. package/dist/toolkits/npm/icon.d.ts +5 -0
  367. package/dist/toolkits/npm/icon.js +11 -0
  368. package/dist/toolkits/npm/manifest.d.ts +3 -0
  369. package/dist/toolkits/npm/manifest.js +35 -0
  370. package/dist/toolkits/npm/tools/client.d.ts +19 -0
  371. package/dist/toolkits/npm/tools/client.js +64 -0
  372. package/dist/toolkits/npm/tools/downloads.d.ts +19 -0
  373. package/dist/toolkits/npm/tools/downloads.js +39 -0
  374. package/dist/toolkits/npm/tools/index.d.ts +14 -0
  375. package/dist/toolkits/npm/tools/index.js +24 -0
  376. package/dist/toolkits/npm/tools/registry.d.ts +24 -0
  377. package/dist/toolkits/npm/tools/registry.js +58 -0
  378. package/dist/toolkits/npm/tools/security.d.ts +9 -0
  379. package/dist/toolkits/npm/tools/security.js +29 -0
  380. package/dist/toolkits/postman/icon.d.ts +5 -0
  381. package/dist/toolkits/postman/icon.js +14 -0
  382. package/dist/toolkits/postman/manifest.d.ts +3 -0
  383. package/dist/toolkits/postman/manifest.js +35 -0
  384. package/dist/toolkits/postman/tools/client.d.ts +23 -0
  385. package/dist/toolkits/postman/tools/client.js +59 -0
  386. package/dist/toolkits/postman/tools/collections.d.ts +93 -0
  387. package/dist/toolkits/postman/tools/collections.js +358 -0
  388. package/dist/toolkits/postman/tools/comments.d.ts +113 -0
  389. package/dist/toolkits/postman/tools/comments.js +387 -0
  390. package/dist/toolkits/postman/tools/designs_and_apis.d.ts +106 -0
  391. package/dist/toolkits/postman/tools/designs_and_apis.js +385 -0
  392. package/dist/toolkits/postman/tools/environments.d.ts +63 -0
  393. package/dist/toolkits/postman/tools/environments.js +208 -0
  394. package/dist/toolkits/postman/tools/index.d.ts +1204 -0
  395. package/dist/toolkits/postman/tools/index.js +143 -0
  396. package/dist/toolkits/postman/tools/items.d.ts +90 -0
  397. package/dist/toolkits/postman/tools/items.js +286 -0
  398. package/dist/toolkits/postman/tools/mocks_and_tests.d.ts +100 -0
  399. package/dist/toolkits/postman/tools/mocks_and_tests.js +363 -0
  400. package/dist/toolkits/postman/tools/pull_requests.d.ts +26 -0
  401. package/dist/toolkits/postman/tools/pull_requests.js +108 -0
  402. package/dist/toolkits/postman/tools/scim_users_teams.d.ts +31 -0
  403. package/dist/toolkits/postman/tools/scim_users_teams.js +156 -0
  404. package/dist/toolkits/postman/tools/specs.d.ts +100 -0
  405. package/dist/toolkits/postman/tools/specs.js +380 -0
  406. package/dist/toolkits/postman/tools/webhooks.d.ts +8 -0
  407. package/dist/toolkits/postman/tools/webhooks.js +40 -0
  408. package/dist/toolkits/postman/tools/workspaces.d.ts +50 -0
  409. package/dist/toolkits/postman/tools/workspaces.js +198 -0
  410. package/dist/toolkits/prometheus/icon.d.ts +5 -0
  411. package/dist/toolkits/prometheus/icon.js +52 -0
  412. package/dist/toolkits/prometheus/manifest.d.ts +3 -0
  413. package/dist/toolkits/prometheus/manifest.js +32 -0
  414. package/dist/toolkits/prometheus/tools/admin.d.ts +19 -0
  415. package/dist/toolkits/prometheus/tools/admin.js +90 -0
  416. package/dist/toolkits/prometheus/tools/client.d.ts +22 -0
  417. package/dist/toolkits/prometheus/tools/client.js +91 -0
  418. package/dist/toolkits/prometheus/tools/discovery.d.ts +82 -0
  419. package/dist/toolkits/prometheus/tools/discovery.js +182 -0
  420. package/dist/toolkits/prometheus/tools/index.d.ts +16 -0
  421. package/dist/toolkits/prometheus/tools/index.js +51 -0
  422. package/dist/toolkits/prometheus/tools/query.d.ts +33 -0
  423. package/dist/toolkits/prometheus/tools/query.js +101 -0
  424. package/dist/toolkits/prometheus/tools/status.d.ts +66 -0
  425. package/dist/toolkits/prometheus/tools/status.js +248 -0
  426. package/dist/toolkits/prometheus/tools/targets.d.ts +31 -0
  427. package/dist/toolkits/prometheus/tools/targets.js +117 -0
  428. package/dist/toolkits/razorpay/icon.d.ts +5 -0
  429. package/dist/toolkits/razorpay/icon.js +33 -0
  430. package/dist/toolkits/razorpay/manifest.d.ts +3 -0
  431. package/dist/toolkits/razorpay/manifest.js +32 -0
  432. package/dist/toolkits/razorpay/tools/client.d.ts +24 -0
  433. package/dist/toolkits/razorpay/tools/client.js +73 -0
  434. package/dist/toolkits/razorpay/tools/customers.d.ts +29 -0
  435. package/dist/toolkits/razorpay/tools/customers.js +53 -0
  436. package/dist/toolkits/razorpay/tools/index.d.ts +16 -0
  437. package/dist/toolkits/razorpay/tools/index.js +56 -0
  438. package/dist/toolkits/razorpay/tools/invoices.d.ts +169 -0
  439. package/dist/toolkits/razorpay/tools/invoices.js +143 -0
  440. package/dist/toolkits/razorpay/tools/items-links.d.ts +98 -0
  441. package/dist/toolkits/razorpay/tools/items-links.js +131 -0
  442. package/dist/toolkits/razorpay/tools/orders.d.ts +63 -0
  443. package/dist/toolkits/razorpay/tools/orders.js +99 -0
  444. package/dist/toolkits/razorpay/tools/payouts.d.ts +58 -0
  445. package/dist/toolkits/razorpay/tools/payouts.js +91 -0
  446. package/dist/toolkits/servicenow/icon.d.ts +5 -0
  447. package/dist/toolkits/servicenow/icon.js +6 -0
  448. package/dist/toolkits/servicenow/manifest.d.ts +3 -0
  449. package/dist/toolkits/servicenow/manifest.js +33 -0
  450. package/dist/toolkits/servicenow/tools/attachments.d.ts +35 -0
  451. package/dist/toolkits/servicenow/tools/attachments.js +120 -0
  452. package/dist/toolkits/servicenow/tools/catalog.d.ts +122 -0
  453. package/dist/toolkits/servicenow/tools/catalog.js +333 -0
  454. package/dist/toolkits/servicenow/tools/changes.d.ts +374 -0
  455. package/dist/toolkits/servicenow/tools/changes.js +609 -0
  456. package/dist/toolkits/servicenow/tools/cicd.d.ts +109 -0
  457. package/dist/toolkits/servicenow/tools/cicd.js +316 -0
  458. package/dist/toolkits/servicenow/tools/client.d.ts +42 -0
  459. package/dist/toolkits/servicenow/tools/client.js +168 -0
  460. package/dist/toolkits/servicenow/tools/cmdb.d.ts +224 -0
  461. package/dist/toolkits/servicenow/tools/cmdb.js +460 -0
  462. package/dist/toolkits/servicenow/tools/imports.d.ts +13 -0
  463. package/dist/toolkits/servicenow/tools/imports.js +36 -0
  464. package/dist/toolkits/servicenow/tools/incidents.d.ts +94 -0
  465. package/dist/toolkits/servicenow/tools/incidents.js +226 -0
  466. package/dist/toolkits/servicenow/tools/index.d.ts +1566 -0
  467. package/dist/toolkits/servicenow/tools/index.js +169 -0
  468. package/dist/toolkits/servicenow/tools/platform.d.ts +124 -0
  469. package/dist/toolkits/servicenow/tools/platform.js +298 -0
  470. package/dist/toolkits/servicenow/tools/records.d.ts +73 -0
  471. package/dist/toolkits/servicenow/tools/records.js +185 -0
  472. package/dist/toolkits/servicenow/tools/sdon.d.ts +48 -0
  473. package/dist/toolkits/servicenow/tools/sdon.js +81 -0
  474. package/dist/toolkits/slack/tools/admin-conversations.d.ts +2 -2
  475. package/dist/toolkits/slack/tools/admin-users.d.ts +1 -1
  476. package/dist/toolkits/slack/tools/emoji.d.ts +1 -1
  477. package/dist/toolkits/slack/tools/messages.d.ts +2 -2
  478. package/dist/toolkits/slack/tools/reactions-stars-pins.d.ts +2 -2
  479. package/dist/toolkits/slack/tools/search.d.ts +3 -3
  480. package/dist/toolkits/slack/tools/slack-lists.d.ts +3 -3
  481. package/dist/toolkits/slack/tools/users.d.ts +1 -1
  482. package/dist/toolkits/snowflake/icon.d.ts +5 -0
  483. package/dist/toolkits/snowflake/icon.js +6 -0
  484. package/dist/toolkits/snowflake/manifest.d.ts +3 -0
  485. package/dist/toolkits/snowflake/manifest.js +32 -0
  486. package/dist/toolkits/snowflake/tools/catalog.d.ts +56 -0
  487. package/dist/toolkits/snowflake/tools/catalog.js +123 -0
  488. package/dist/toolkits/snowflake/tools/client.d.ts +53 -0
  489. package/dist/toolkits/snowflake/tools/client.js +145 -0
  490. package/dist/toolkits/snowflake/tools/index.d.ts +14 -0
  491. package/dist/toolkits/snowflake/tools/index.js +28 -0
  492. package/dist/toolkits/snowflake/tools/statements.d.ts +27 -0
  493. package/dist/toolkits/snowflake/tools/statements.js +84 -0
  494. package/dist/toolkits/snowflake/tools/status.d.ts +22 -0
  495. package/dist/toolkits/snowflake/tools/status.js +54 -0
  496. package/dist/toolkits/telegram/icon.d.ts +5 -0
  497. package/dist/toolkits/telegram/icon.js +6 -0
  498. package/dist/toolkits/telegram/manifest.d.ts +3 -0
  499. package/dist/toolkits/telegram/manifest.js +34 -0
  500. package/dist/toolkits/telegram/tools/bot.d.ts +13 -0
  501. package/dist/toolkits/telegram/tools/bot.js +23 -0
  502. package/dist/toolkits/telegram/tools/chats.d.ts +22 -0
  503. package/dist/toolkits/telegram/tools/chats.js +46 -0
  504. package/dist/toolkits/telegram/tools/client.d.ts +12 -0
  505. package/dist/toolkits/telegram/tools/client.js +46 -0
  506. package/dist/toolkits/telegram/tools/index.d.ts +15 -0
  507. package/dist/toolkits/telegram/tools/index.js +31 -0
  508. package/dist/toolkits/telegram/tools/messages.d.ts +86 -0
  509. package/dist/toolkits/telegram/tools/messages.js +134 -0
  510. package/dist/toolkits/telegram/tools/updates.d.ts +23 -0
  511. package/dist/toolkits/telegram/tools/updates.js +54 -0
  512. package/dist/toolkits/vercel/icon.d.ts +5 -0
  513. package/dist/toolkits/vercel/icon.js +6 -0
  514. package/dist/toolkits/vercel/manifest.d.ts +3 -0
  515. package/dist/toolkits/vercel/manifest.js +35 -0
  516. package/dist/toolkits/vercel/tools/aliases.d.ts +47 -0
  517. package/dist/toolkits/vercel/tools/aliases.js +141 -0
  518. package/dist/toolkits/vercel/tools/auth.d.ts +23 -0
  519. package/dist/toolkits/vercel/tools/auth.js +117 -0
  520. package/dist/toolkits/vercel/tools/cache-artifacts.d.ts +57 -0
  521. package/dist/toolkits/vercel/tools/cache-artifacts.js +205 -0
  522. package/dist/toolkits/vercel/tools/certs.d.ts +9 -0
  523. package/dist/toolkits/vercel/tools/certs.js +31 -0
  524. package/dist/toolkits/vercel/tools/client.d.ts +17 -0
  525. package/dist/toolkits/vercel/tools/client.js +53 -0
  526. package/dist/toolkits/vercel/tools/deployments.d.ts +169 -0
  527. package/dist/toolkits/vercel/tools/deployments.js +443 -0
  528. package/dist/toolkits/vercel/tools/domains.d.ts +229 -0
  529. package/dist/toolkits/vercel/tools/domains.js +719 -0
  530. package/dist/toolkits/vercel/tools/edge-config.d.ts +110 -0
  531. package/dist/toolkits/vercel/tools/edge-config.js +402 -0
  532. package/dist/toolkits/vercel/tools/environment-variables.d.ts +137 -0
  533. package/dist/toolkits/vercel/tools/environment-variables.js +411 -0
  534. package/dist/toolkits/vercel/tools/firewall.d.ts +57 -0
  535. package/dist/toolkits/vercel/tools/firewall.js +187 -0
  536. package/dist/toolkits/vercel/tools/index.d.ts +1944 -0
  537. package/dist/toolkits/vercel/tools/index.js +312 -0
  538. package/dist/toolkits/vercel/tools/logs.d.ts +35 -0
  539. package/dist/toolkits/vercel/tools/logs.js +129 -0
  540. package/dist/toolkits/vercel/tools/misc.d.ts +140 -0
  541. package/dist/toolkits/vercel/tools/misc.js +486 -0
  542. package/dist/toolkits/vercel/tools/projects.d.ts +194 -0
  543. package/dist/toolkits/vercel/tools/projects.js +468 -0
  544. package/dist/toolkits/vercel/tools/teams.d.ts +50 -0
  545. package/dist/toolkits/vercel/tools/teams.js +144 -0
  546. package/dist/toolkits/vercel/tools/webhooks.d.ts +27 -0
  547. package/dist/toolkits/vercel/tools/webhooks.js +103 -0
  548. package/dist/toolkits/wise/icon.d.ts +5 -0
  549. package/dist/toolkits/wise/icon.js +15 -0
  550. package/dist/toolkits/wise/manifest.d.ts +3 -0
  551. package/dist/toolkits/wise/manifest.js +30 -0
  552. package/dist/toolkits/wise/tools/create-quote.d.ts +86 -0
  553. package/dist/toolkits/wise/tools/create-quote.js +64 -0
  554. package/dist/toolkits/wise/tools/get-exchange-rate.d.ts +42 -0
  555. package/dist/toolkits/wise/tools/get-exchange-rate.js +44 -0
  556. package/dist/toolkits/wise/tools/get-quote.d.ts +82 -0
  557. package/dist/toolkits/wise/tools/get-quote.js +46 -0
  558. package/dist/toolkits/wise/tools/index.d.ts +475 -0
  559. package/dist/toolkits/wise/tools/index.js +77 -0
  560. package/dist/toolkits/wise/tools/list-activities.d.ts +43 -0
  561. package/dist/toolkits/wise/tools/list-activities.js +49 -0
  562. package/dist/toolkits/wise/tools/list-balances.d.ts +30 -0
  563. package/dist/toolkits/wise/tools/list-balances.js +34 -0
  564. package/dist/toolkits/wise/tools/list-currencies.d.ts +29 -0
  565. package/dist/toolkits/wise/tools/list-currencies.js +31 -0
  566. package/dist/toolkits/wise/tools/list-profiles.d.ts +28 -0
  567. package/dist/toolkits/wise/tools/list-profiles.js +29 -0
  568. package/dist/toolkits/wise/tools/list-recipients.d.ts +43 -0
  569. package/dist/toolkits/wise/tools/list-recipients.js +54 -0
  570. package/dist/toolkits/wise/tools/list-transfers.d.ts +44 -0
  571. package/dist/toolkits/wise/tools/list-transfers.js +52 -0
  572. package/dist/toolkits/wise/tools/utils.d.ts +18 -0
  573. package/dist/toolkits/wise/tools/utils.js +39 -0
  574. package/dist/toolkits/wordpress/icon.d.ts +5 -0
  575. package/dist/toolkits/wordpress/icon.js +6 -0
  576. package/dist/toolkits/wordpress/manifest.d.ts +3 -0
  577. package/dist/toolkits/wordpress/manifest.js +36 -0
  578. package/dist/toolkits/wordpress/tools/create-draft-post.d.ts +47 -0
  579. package/dist/toolkits/wordpress/tools/create-draft-post.js +68 -0
  580. package/dist/toolkits/wordpress/tools/delete-draft-post.d.ts +38 -0
  581. package/dist/toolkits/wordpress/tools/delete-draft-post.js +51 -0
  582. package/dist/toolkits/wordpress/tools/get-post.d.ts +41 -0
  583. package/dist/toolkits/wordpress/tools/get-post.js +48 -0
  584. package/dist/toolkits/wordpress/tools/get-site-overview.d.ts +67 -0
  585. package/dist/toolkits/wordpress/tools/get-site-overview.js +91 -0
  586. package/dist/toolkits/wordpress/tools/index.d.ts +489 -0
  587. package/dist/toolkits/wordpress/tools/index.js +85 -0
  588. package/dist/toolkits/wordpress/tools/list-blogging-prompts.d.ts +48 -0
  589. package/dist/toolkits/wordpress/tools/list-blogging-prompts.js +55 -0
  590. package/dist/toolkits/wordpress/tools/list-cms-resources.d.ts +45 -0
  591. package/dist/toolkits/wordpress/tools/list-cms-resources.js +77 -0
  592. package/dist/toolkits/wordpress/tools/list-content.d.ts +49 -0
  593. package/dist/toolkits/wordpress/tools/list-content.js +71 -0
  594. package/dist/toolkits/wordpress/tools/list-reader-subscriptions.d.ts +24 -0
  595. package/dist/toolkits/wordpress/tools/list-reader-subscriptions.js +39 -0
  596. package/dist/toolkits/wordpress/tools/list-sites.d.ts +26 -0
  597. package/dist/toolkits/wordpress/tools/list-sites.js +69 -0
  598. package/dist/toolkits/wordpress/tools/update-draft-post.d.ts +51 -0
  599. package/dist/toolkits/wordpress/tools/update-draft-post.js +93 -0
  600. package/dist/toolkits/wordpress/tools/utils.d.ts +18 -0
  601. package/dist/toolkits/wordpress/tools/utils.js +33 -0
  602. package/dist/toolkits/youtube/tools/get-channel-activities.d.ts +1 -1
  603. package/dist/toolkits/youtube/tools/index.d.ts +5 -5
  604. package/dist/toolkits/youtube/tools/list-channel-sections.d.ts +1 -1
  605. package/dist/toolkits/youtube/tools/post-comment.d.ts +1 -1
  606. package/dist/toolkits/youtube/tools/subscribe-channel.d.ts +1 -1
  607. package/dist/toolkits/youtube/tools/unsubscribe-channel.d.ts +1 -1
  608. package/dist/toolkits/zoho/icon.d.ts +5 -0
  609. package/dist/toolkits/zoho/icon.js +125 -0
  610. package/dist/toolkits/zoho/manifest.d.ts +3 -0
  611. package/dist/toolkits/zoho/manifest.js +54 -0
  612. package/dist/toolkits/zoho/tools/convert-zoho-lead.d.ts +11 -0
  613. package/dist/toolkits/zoho/tools/convert-zoho-lead.js +47 -0
  614. package/dist/toolkits/zoho/tools/create-contact.d.ts +36 -0
  615. package/dist/toolkits/zoho/tools/create-contact.js +58 -0
  616. package/dist/toolkits/zoho/tools/create-deal.d.ts +17 -0
  617. package/dist/toolkits/zoho/tools/create-deal.js +39 -0
  618. package/dist/toolkits/zoho/tools/create-email-draft.d.ts +7 -0
  619. package/dist/toolkits/zoho/tools/create-email-draft.js +30 -0
  620. package/dist/toolkits/zoho/tools/create-event.d.ts +18 -0
  621. package/dist/toolkits/zoho/tools/create-event.js +40 -0
  622. package/dist/toolkits/zoho/tools/create-lead.d.ts +31 -0
  623. package/dist/toolkits/zoho/tools/create-lead.js +53 -0
  624. package/dist/toolkits/zoho/tools/create-note.d.ts +8 -0
  625. package/dist/toolkits/zoho/tools/create-note.js +31 -0
  626. package/dist/toolkits/zoho/tools/create-zoho-record.d.ts +8 -0
  627. package/dist/toolkits/zoho/tools/create-zoho-record.js +35 -0
  628. package/dist/toolkits/zoho/tools/create-zoho-tag.d.ts +7 -0
  629. package/dist/toolkits/zoho/tools/create-zoho-tag.js +30 -0
  630. package/dist/toolkits/zoho/tools/delete-account.d.ts +6 -0
  631. package/dist/toolkits/zoho/tools/delete-account.js +29 -0
  632. package/dist/toolkits/zoho/tools/delete-contact.d.ts +6 -0
  633. package/dist/toolkits/zoho/tools/delete-contact.js +29 -0
  634. package/dist/toolkits/zoho/tools/delete-deal.d.ts +6 -0
  635. package/dist/toolkits/zoho/tools/delete-deal.js +29 -0
  636. package/dist/toolkits/zoho/tools/get-account.d.ts +6 -0
  637. package/dist/toolkits/zoho/tools/get-account.js +34 -0
  638. package/dist/toolkits/zoho/tools/get-call.d.ts +6 -0
  639. package/dist/toolkits/zoho/tools/get-call.js +34 -0
  640. package/dist/toolkits/zoho/tools/get-contact.d.ts +5 -0
  641. package/dist/toolkits/zoho/tools/get-contact.js +33 -0
  642. package/dist/toolkits/zoho/tools/get-email-drafts.d.ts +6 -0
  643. package/dist/toolkits/zoho/tools/get-email-drafts.js +34 -0
  644. package/dist/toolkits/zoho/tools/get-event.d.ts +5 -0
  645. package/dist/toolkits/zoho/tools/get-event.js +33 -0
  646. package/dist/toolkits/zoho/tools/get-from-addresses.d.ts +4 -0
  647. package/dist/toolkits/zoho/tools/get-from-addresses.js +32 -0
  648. package/dist/toolkits/zoho/tools/get-module-fields.d.ts +8 -0
  649. package/dist/toolkits/zoho/tools/get-module-fields.js +36 -0
  650. package/dist/toolkits/zoho/tools/get-note.d.ts +6 -0
  651. package/dist/toolkits/zoho/tools/get-note.js +34 -0
  652. package/dist/toolkits/zoho/tools/get-record-emails.d.ts +9 -0
  653. package/dist/toolkits/zoho/tools/get-record-emails.js +37 -0
  654. package/dist/toolkits/zoho/tools/get-related-lists.d.ts +6 -0
  655. package/dist/toolkits/zoho/tools/get-related-lists.js +29 -0
  656. package/dist/toolkits/zoho/tools/get-related-records.d.ts +15 -0
  657. package/dist/toolkits/zoho/tools/get-related-records.js +38 -0
  658. package/dist/toolkits/zoho/tools/get-task.d.ts +6 -0
  659. package/dist/toolkits/zoho/tools/get-task.js +34 -0
  660. package/dist/toolkits/zoho/tools/get-user.d.ts +5 -0
  661. package/dist/toolkits/zoho/tools/get-user.js +33 -0
  662. package/dist/toolkits/zoho/tools/get-zoho-records.d.ts +13 -0
  663. package/dist/toolkits/zoho/tools/get-zoho-records.js +59 -0
  664. package/dist/toolkits/zoho/tools/get-zoho-users.d.ts +9 -0
  665. package/dist/toolkits/zoho/tools/get-zoho-users.js +32 -0
  666. package/dist/toolkits/zoho/tools/index.d.ts +789 -0
  667. package/dist/toolkits/zoho/tools/index.js +175 -0
  668. package/dist/toolkits/zoho/tools/list-accounts.d.ts +14 -0
  669. package/dist/toolkits/zoho/tools/list-accounts.js +60 -0
  670. package/dist/toolkits/zoho/tools/list-calls.d.ts +12 -0
  671. package/dist/toolkits/zoho/tools/list-calls.js +58 -0
  672. package/dist/toolkits/zoho/tools/list-contacts.d.ts +12 -0
  673. package/dist/toolkits/zoho/tools/list-contacts.js +58 -0
  674. package/dist/toolkits/zoho/tools/list-deals.d.ts +15 -0
  675. package/dist/toolkits/zoho/tools/list-deals.js +61 -0
  676. package/dist/toolkits/zoho/tools/list-events.d.ts +12 -0
  677. package/dist/toolkits/zoho/tools/list-events.js +58 -0
  678. package/dist/toolkits/zoho/tools/list-leads.d.ts +13 -0
  679. package/dist/toolkits/zoho/tools/list-leads.js +59 -0
  680. package/dist/toolkits/zoho/tools/list-modules.d.ts +4 -0
  681. package/dist/toolkits/zoho/tools/list-modules.js +50 -0
  682. package/dist/toolkits/zoho/tools/list-notes.d.ts +7 -0
  683. package/dist/toolkits/zoho/tools/list-notes.js +53 -0
  684. package/dist/toolkits/zoho/tools/list-record-attachments.d.ts +9 -0
  685. package/dist/toolkits/zoho/tools/list-record-attachments.js +55 -0
  686. package/dist/toolkits/zoho/tools/list-tasks.d.ts +12 -0
  687. package/dist/toolkits/zoho/tools/list-tasks.js +58 -0
  688. package/dist/toolkits/zoho/tools/search-accounts.d.ts +11 -0
  689. package/dist/toolkits/zoho/tools/search-accounts.js +49 -0
  690. package/dist/toolkits/zoho/tools/search-calls.d.ts +11 -0
  691. package/dist/toolkits/zoho/tools/search-calls.js +49 -0
  692. package/dist/toolkits/zoho/tools/search-contacts.d.ts +11 -0
  693. package/dist/toolkits/zoho/tools/search-contacts.js +49 -0
  694. package/dist/toolkits/zoho/tools/search-deals.d.ts +11 -0
  695. package/dist/toolkits/zoho/tools/search-deals.js +49 -0
  696. package/dist/toolkits/zoho/tools/search-events.d.ts +11 -0
  697. package/dist/toolkits/zoho/tools/search-events.js +49 -0
  698. package/dist/toolkits/zoho/tools/search-leads.d.ts +13 -0
  699. package/dist/toolkits/zoho/tools/search-leads.js +51 -0
  700. package/dist/toolkits/zoho/tools/search-notes.d.ts +11 -0
  701. package/dist/toolkits/zoho/tools/search-notes.js +49 -0
  702. package/dist/toolkits/zoho/tools/search-tasks.d.ts +11 -0
  703. package/dist/toolkits/zoho/tools/search-tasks.js +49 -0
  704. package/dist/toolkits/zoho/tools/search-zoho-records.d.ts +12 -0
  705. package/dist/toolkits/zoho/tools/search-zoho-records.js +50 -0
  706. package/dist/toolkits/zoho/tools/update-account.d.ts +32 -0
  707. package/dist/toolkits/zoho/tools/update-account.js +55 -0
  708. package/dist/toolkits/zoho/tools/update-call.d.ts +8 -0
  709. package/dist/toolkits/zoho/tools/update-call.js +33 -0
  710. package/dist/toolkits/zoho/tools/update-deal.d.ts +9 -0
  711. package/dist/toolkits/zoho/tools/update-deal.js +34 -0
  712. package/dist/toolkits/zoho/tools/update-email-draft.d.ts +17 -0
  713. package/dist/toolkits/zoho/tools/update-email-draft.js +42 -0
  714. package/dist/toolkits/zoho/tools/update-event.d.ts +6 -0
  715. package/dist/toolkits/zoho/tools/update-event.js +31 -0
  716. package/dist/toolkits/zoho/tools/update-lead.d.ts +9 -0
  717. package/dist/toolkits/zoho/tools/update-lead.js +34 -0
  718. package/dist/toolkits/zoho/tools/update-note.d.ts +8 -0
  719. package/dist/toolkits/zoho/tools/update-note.js +33 -0
  720. package/dist/toolkits/zoho/tools/update-related-records.d.ts +8 -0
  721. package/dist/toolkits/zoho/tools/update-related-records.js +33 -0
  722. package/dist/toolkits/zoho/tools/update-zoho-record.d.ts +10 -0
  723. package/dist/toolkits/zoho/tools/update-zoho-record.js +35 -0
  724. package/dist/toolkits/zoho/tools/upload-attachment.d.ts +9 -0
  725. package/dist/toolkits/zoho/tools/upload-attachment.js +34 -0
  726. package/dist/toolkits/zoho/tools/utils.d.ts +24 -0
  727. package/dist/toolkits/zoho/tools/utils.js +49 -0
  728. package/dist/toolkits/zoho/tools/validate-credential.d.ts +4 -0
  729. package/dist/toolkits/zoho/tools/validate-credential.js +27 -0
  730. package/package.json +2 -3
@@ -0,0 +1,156 @@
1
+ // @ts-nocheck
2
+ import { tool } from 'ai';
3
+ import { z } from 'zod';
4
+ import { postmanRequest, toPostmanError } from './client.js';
5
+ const authField = {
6
+ postmanApiKey: z.string().optional().describe('Injected by system; do not provide'),
7
+ };
8
+ function missingKey() {
9
+ return { error: 'Postman API key is required. Connect Postman first.' };
10
+ }
11
+ ;
12
+ // ---- Team users (GET /users) ----
13
+ export const postmanGetAllTeamUsers = tool({
14
+ description: 'Get information about all users on the Postman team. Use when you need to list all team members and their details including roles and join dates. Returns an array of user objects with their IDs, names, usernames, emails, roles, and join timestamps.',
15
+ inputSchema: z.object({
16
+ ...authField,
17
+ groupId: z.string().optional().describe('Filter users by group ID'),
18
+ }),
19
+ execute: async ({ postmanApiKey, groupId }) => {
20
+ try {
21
+ if (!postmanApiKey)
22
+ return missingKey();
23
+ return await postmanRequest(postmanApiKey, 'GET', '/users', {
24
+ query: { groupId },
25
+ });
26
+ }
27
+ catch (error) {
28
+ return toPostmanError(error, 'Failed to get team users');
29
+ }
30
+ },
31
+ });
32
+ export const postmanGetATeamUser = tool({
33
+ description: 'Get information about a user on the Postman team. Use when you need to retrieve details about a specific team member including their ID, name, email, roles, and join date.',
34
+ inputSchema: z.object({
35
+ ...authField,
36
+ userId: z.number().int().describe('The ID of the user to retrieve information about'),
37
+ }),
38
+ execute: async ({ postmanApiKey, userId }) => {
39
+ try {
40
+ if (!postmanApiKey)
41
+ return missingKey();
42
+ return await postmanRequest(postmanApiKey, 'GET', `/users/${encodeURIComponent(String(userId))}`);
43
+ }
44
+ catch (error) {
45
+ return toPostmanError(error, 'Failed to get team user');
46
+ }
47
+ },
48
+ });
49
+ export const postmanGetAuthenticatedUser = tool({
50
+ description: 'Get information about the authenticated user. Use when you need to retrieve details about the current authenticated user, including their user ID, username, and email address.',
51
+ inputSchema: z.object({
52
+ ...authField,
53
+ }),
54
+ execute: async ({ postmanApiKey }) => {
55
+ try {
56
+ if (!postmanApiKey)
57
+ return missingKey();
58
+ return await postmanRequest(postmanApiKey, 'GET', '/me');
59
+ }
60
+ catch (error) {
61
+ return toPostmanError(error, 'Failed to get authenticated user');
62
+ }
63
+ },
64
+ });
65
+ // ---- Groups (GET /groups) ----
66
+ export const postmanGetAllGroups = tool({
67
+ description: 'Get all user groups in a Postman team. Use when you need to list all groups and their details including member counts and timestamps. Returns an array of group objects with their IDs, names, team IDs, user counts, and creation/update timestamps.',
68
+ inputSchema: z.object({
69
+ ...authField,
70
+ limit: z.number().int().min(1).optional().describe('Maximum number of groups to return per page'),
71
+ cursor: z.string().optional().describe('Pagination cursor from a previous response'),
72
+ }),
73
+ execute: async ({ postmanApiKey, limit, cursor }) => {
74
+ try {
75
+ if (!postmanApiKey)
76
+ return missingKey();
77
+ return await postmanRequest(postmanApiKey, 'GET', '/groups', {
78
+ query: { limit, cursor },
79
+ });
80
+ }
81
+ catch (error) {
82
+ return toPostmanError(error, 'Failed to get groups');
83
+ }
84
+ },
85
+ });
86
+ // ---- SCIM (GET /scim/v2/...) ----
87
+ export const postmanGetResourceTypes = tool({
88
+ description: "Get all resource types supported by Postman's SCIM API. Use when you need to discover what resource types (e.g., User, Group) are available in the SCIM API and their corresponding endpoints and schemas.",
89
+ inputSchema: z.object({
90
+ ...authField,
91
+ }),
92
+ execute: async ({ postmanApiKey }) => {
93
+ try {
94
+ if (!postmanApiKey)
95
+ return missingKey();
96
+ return await postmanRequest(postmanApiKey, 'GET', '/scim/v2/ResourceTypes');
97
+ }
98
+ catch (error) {
99
+ return toPostmanError(error, 'Failed to get resource types');
100
+ }
101
+ },
102
+ });
103
+ export const postmanGetServiceProviderConfiguration = tool({
104
+ description: "Get Postman's SCIM API service provider configuration information. Use when you need to discover supported SCIM operations, capabilities, and authentication schemes. Returns configuration details including support for PATCH, bulk operations, filtering, sorting, and ETag handling.",
105
+ inputSchema: z.object({
106
+ ...authField,
107
+ }),
108
+ execute: async ({ postmanApiKey }) => {
109
+ try {
110
+ if (!postmanApiKey)
111
+ return missingKey();
112
+ return await postmanRequest(postmanApiKey, 'GET', '/scim/v2/ServiceProviderConfig');
113
+ }
114
+ catch (error) {
115
+ return toPostmanError(error, 'Failed to get service provider configuration');
116
+ }
117
+ },
118
+ });
119
+ // ---- Billing (GET /accounts) ----
120
+ export const postmanGetBillingAccountDetails = tool({
121
+ description: 'Retrieve Postman billing account details for the authenticated team. Use when you need to access account information such as account ID, team ID, account state, billing slots, sales channel, or billing email.',
122
+ inputSchema: z.object({
123
+ ...authField,
124
+ }),
125
+ execute: async ({ postmanApiKey }) => {
126
+ try {
127
+ if (!postmanApiKey)
128
+ return missingKey();
129
+ return await postmanRequest(postmanApiKey, 'GET', '/accounts');
130
+ }
131
+ catch (error) {
132
+ return toPostmanError(error, 'Failed to get billing accounts');
133
+ }
134
+ },
135
+ });
136
+ export const postmanListAccountInvoices = tool({
137
+ description: 'Get all invoices for a Postman billing account filtered by status. Use when you need to retrieve invoice history for an account. The account ID must first be obtained from the billing accounts endpoint.',
138
+ inputSchema: z.object({
139
+ ...authField,
140
+ accountId: z.string().describe('The billing account ID obtained from the billing accounts endpoint'),
141
+ status: z.string().optional().describe("Filter invoices by status, e.g. 'PAID'. If not provided, returns all invoices"),
142
+ }),
143
+ execute: async ({ postmanApiKey, accountId, status }) => {
144
+ try {
145
+ if (!postmanApiKey)
146
+ return missingKey();
147
+ return await postmanRequest(postmanApiKey, 'GET', `/accounts/${encodeURIComponent(accountId)}/invoices`, {
148
+ query: { status },
149
+ });
150
+ }
151
+ catch (error) {
152
+ return toPostmanError(error, 'Failed to list account invoices');
153
+ }
154
+ },
155
+ });
156
+ //# sourceMappingURL=scim_users_teams.js.map
@@ -0,0 +1,100 @@
1
+ export declare const postmanCreateASpec: import("ai").Tool<{
2
+ type: "OPENAPI:2.0" | "OPENAPI:3.0" | "OPENAPI:3.1" | "ASYNCAPI:2.0" | "ASYNCAPI:3.0" | "PROTOBUF:2" | "PROTOBUF:3" | "GRAPHQL" | "SMITHY:2.0";
3
+ name: string;
4
+ files: {
5
+ path: string;
6
+ content: string;
7
+ }[];
8
+ workspaceId: string;
9
+ postmanApiKey?: string | undefined;
10
+ }, any>;
11
+ export declare const postmanGetAllApiSpecifications: import("ai").Tool<{
12
+ workspaceId: string;
13
+ limit?: number | undefined;
14
+ cursor?: string | undefined;
15
+ postmanApiKey?: string | undefined;
16
+ }, any>;
17
+ export declare const postmanGetApiSpecification: import("ai").Tool<{
18
+ specId: string;
19
+ postmanApiKey?: string | undefined;
20
+ }, any>;
21
+ export declare const postmanDeleteASpec: import("ai").Tool<{
22
+ specId: string;
23
+ postmanApiKey?: string | undefined;
24
+ }, any>;
25
+ export declare const postmanUpdateSpecProperties: import("ai").Tool<{
26
+ specId: string;
27
+ name?: string | undefined;
28
+ postmanApiKey?: string | undefined;
29
+ }, any>;
30
+ export declare const postmanCreateSpecFile: import("ai").Tool<{
31
+ path: string;
32
+ content: string;
33
+ specId: string;
34
+ postmanApiKey?: string | undefined;
35
+ }, any>;
36
+ export declare const postmanGetSpecFileContents: import("ai").Tool<{
37
+ filePath: string;
38
+ specId: string;
39
+ postmanApiKey?: string | undefined;
40
+ }, any>;
41
+ export declare const postmanUpdateSpecFile: import("ai").Tool<{
42
+ content: string;
43
+ filePath: string;
44
+ specId: string;
45
+ postmanApiKey?: string | undefined;
46
+ }, any>;
47
+ export declare const postmanDeleteSpecFile: import("ai").Tool<{
48
+ filePath: string;
49
+ specId: string;
50
+ postmanApiKey?: string | undefined;
51
+ }, any>;
52
+ export declare const postmanGetSpecificationFiles: import("ai").Tool<{
53
+ specId: string;
54
+ postmanApiKey?: string | undefined;
55
+ }, any>;
56
+ export declare const postmanGetSpecDefinition: import("ai").Tool<{
57
+ specId: string;
58
+ postmanApiKey?: string | undefined;
59
+ }, any>;
60
+ export declare const postmanGetSpecsGeneratedCollections: import("ai").Tool<{
61
+ specId: string;
62
+ limit?: number | undefined;
63
+ cursor?: string | undefined;
64
+ postmanApiKey?: string | undefined;
65
+ }, any>;
66
+ export declare const postmanGenerateCollectionFromSpec: import("ai").Tool<{
67
+ name: string;
68
+ specId: string;
69
+ postmanApiKey?: string | undefined;
70
+ folderStrategy?: "Paths" | "Tags" | undefined;
71
+ requestNameSource?: "Fallback" | "URL" | undefined;
72
+ }, any>;
73
+ export declare const postmanGenerateSpecFromCollection: import("ai").Tool<{
74
+ type: "OPENAPI:2.0" | "OPENAPI:3.0" | "OPENAPI:3.1";
75
+ name: string;
76
+ format: string;
77
+ collectionUid: string;
78
+ postmanApiKey?: string | undefined;
79
+ }, any>;
80
+ export declare const postmanGetGeneratedSpec: import("ai").Tool<{
81
+ collectionUid: string;
82
+ postmanApiKey?: string | undefined;
83
+ }, any>;
84
+ export declare const postmanSyncCollectionWithSpec: import("ai").Tool<{
85
+ collectionUid: string;
86
+ specId: string;
87
+ postmanApiKey?: string | undefined;
88
+ }, any>;
89
+ export declare const postmanSyncSpecWithCollection: import("ai").Tool<{
90
+ collectionUid: string;
91
+ specId: string;
92
+ postmanApiKey?: string | undefined;
93
+ }, any>;
94
+ export declare const postmanImportOpenApiSpecification: import("ai").Tool<{
95
+ type: string;
96
+ input: string;
97
+ workspaceId: string;
98
+ postmanApiKey?: string | undefined;
99
+ }, any>;
100
+ //# sourceMappingURL=specs.d.ts.map
@@ -0,0 +1,380 @@
1
+ // @ts-nocheck
2
+ import { tool } from 'ai';
3
+ import { z } from 'zod';
4
+ import { postmanRequest, toPostmanError } from './client.js';
5
+ const authField = {
6
+ postmanApiKey: z.string().optional().describe('Injected by system; do not provide'),
7
+ };
8
+ function missingKey() {
9
+ return { error: 'Postman API key is required. Connect Postman first.' };
10
+ }
11
+ const specType = z
12
+ .enum(['OPENAPI:2.0', 'OPENAPI:3.0', 'OPENAPI:3.1', 'ASYNCAPI:2.0', 'ASYNCAPI:3.0', 'PROTOBUF:2', 'PROTOBUF:3', 'GRAPHQL', 'SMITHY:2.0'])
13
+ .describe('The type of specification');
14
+ const specFileInput = z
15
+ .object({
16
+ path: z.string().describe("The file path within the specification, e.g. 'index.yaml' or 'paths/users.yaml'"),
17
+ content: z.string().describe('The content of the file as a YAML or JSON string'),
18
+ })
19
+ .describe('File in the API specification');
20
+ export const postmanCreateASpec = tool({
21
+ description: "Create an API specification in Postman's Spec Hub. Use when you need to create single or multi-file specifications in a workspace. Supports various spec types including OpenAPI 3.0, OpenAPI 3.1, and AsyncAPI 2.0.",
22
+ inputSchema: z.object({
23
+ ...authField,
24
+ workspaceId: z.string().describe('The workspace ID where the spec will be created'),
25
+ name: z.string().describe('The name of the API specification to create'),
26
+ type: specType,
27
+ files: z
28
+ .array(specFileInput)
29
+ .min(1)
30
+ .describe('Array of files for the specification. For single-file specs provide one file; for multi-file specs provide multiple files'),
31
+ }),
32
+ execute: async ({ postmanApiKey, workspaceId, name, type, files }) => {
33
+ try {
34
+ if (!postmanApiKey)
35
+ return missingKey();
36
+ return await postmanRequest(postmanApiKey, 'POST', '/specs', {
37
+ query: { workspaceId },
38
+ body: { name, type, files },
39
+ });
40
+ }
41
+ catch (error) {
42
+ return toPostmanError(error, 'Failed to create spec');
43
+ }
44
+ },
45
+ });
46
+ export const postmanGetAllApiSpecifications = tool({
47
+ description: 'Get all API specifications in a workspace. Use when you need to list or retrieve API specs from a specific Postman workspace. Returns an array of spec objects with their IDs, names, types, and timestamps, along with pagination metadata.',
48
+ inputSchema: z.object({
49
+ ...authField,
50
+ workspaceId: z.string().describe('The workspace ID to fetch API specifications from'),
51
+ limit: z.number().int().min(1).optional().describe('Maximum number of specs to return per page'),
52
+ cursor: z.string().optional().describe('Pagination cursor from a previous response'),
53
+ }),
54
+ execute: async ({ postmanApiKey, workspaceId, limit, cursor }) => {
55
+ try {
56
+ if (!postmanApiKey)
57
+ return missingKey();
58
+ return await postmanRequest(postmanApiKey, 'GET', '/specs', {
59
+ query: { workspaceId, limit, cursor },
60
+ });
61
+ }
62
+ catch (error) {
63
+ return toPostmanError(error, 'Failed to get specs');
64
+ }
65
+ },
66
+ });
67
+ export const postmanGetApiSpecification = tool({
68
+ description: 'Retrieve information about an API specification in Postman. Use when you need to fetch spec details including name, type, and timestamps.',
69
+ inputSchema: z.object({
70
+ ...authField,
71
+ specId: z.string().describe('The unique identifier (UUID) of the API specification to retrieve'),
72
+ }),
73
+ execute: async ({ postmanApiKey, specId }) => {
74
+ try {
75
+ if (!postmanApiKey)
76
+ return missingKey();
77
+ return await postmanRequest(postmanApiKey, 'GET', `/specs/${encodeURIComponent(specId)}`);
78
+ }
79
+ catch (error) {
80
+ return toPostmanError(error, 'Failed to get spec');
81
+ }
82
+ },
83
+ });
84
+ export const postmanDeleteASpec = tool({
85
+ description: 'Delete an API specification from Postman. Use when you need to permanently remove a specification. On success, returns HTTP 204 No Content.',
86
+ inputSchema: z.object({
87
+ ...authField,
88
+ specId: z.string().describe('The ID of the API specification to delete'),
89
+ }),
90
+ execute: async ({ postmanApiKey, specId }) => {
91
+ try {
92
+ if (!postmanApiKey)
93
+ return missingKey();
94
+ return await postmanRequest(postmanApiKey, 'DELETE', `/specs/${encodeURIComponent(specId)}`);
95
+ }
96
+ catch (error) {
97
+ return toPostmanError(error, 'Failed to delete spec');
98
+ }
99
+ },
100
+ });
101
+ export const postmanUpdateSpecProperties = tool({
102
+ description: "Update an API specification's properties such as its name. Use when you need to modify metadata of an existing spec.",
103
+ inputSchema: z.object({
104
+ ...authField,
105
+ specId: z.string().describe('The unique identifier (UUID) of the API specification to update'),
106
+ name: z.string().optional().describe('The new name for the API specification'),
107
+ }),
108
+ execute: async ({ postmanApiKey, specId, name }) => {
109
+ try {
110
+ if (!postmanApiKey)
111
+ return missingKey();
112
+ return await postmanRequest(postmanApiKey, 'PATCH', `/specs/${encodeURIComponent(specId)}`, {
113
+ body: { ...(name !== undefined ? { name } : {}) },
114
+ });
115
+ }
116
+ catch (error) {
117
+ return toPostmanError(error, 'Failed to update spec properties');
118
+ }
119
+ },
120
+ });
121
+ export const postmanCreateSpecFile = tool({
122
+ description: 'Create a new file in an API specification. Use when you need to add a new file (such as schema definitions, path configurations, or components) to an existing spec.',
123
+ inputSchema: z.object({
124
+ ...authField,
125
+ specId: z.string().describe('The unique identifier of the API specification in which to create the file'),
126
+ path: z.string().describe("The file path within the spec, e.g. 'components/schemas.yaml' or 'openapi.yaml'"),
127
+ content: z.string().describe('The content of the file to create as a valid YAML or JSON string'),
128
+ }),
129
+ execute: async ({ postmanApiKey, specId, path, content }) => {
130
+ try {
131
+ if (!postmanApiKey)
132
+ return missingKey();
133
+ return await postmanRequest(postmanApiKey, 'POST', `/specs/${encodeURIComponent(specId)}/files`, {
134
+ body: { path, content },
135
+ });
136
+ }
137
+ catch (error) {
138
+ return toPostmanError(error, 'Failed to create spec file');
139
+ }
140
+ },
141
+ });
142
+ export const postmanGetSpecFileContents = tool({
143
+ description: "Get the contents of an API specification's file. Use when you need to retrieve the actual content and metadata of a specific file within a spec.",
144
+ inputSchema: z.object({
145
+ ...authField,
146
+ specId: z.string().describe('The ID of the API specification'),
147
+ filePath: z.string().describe("The path of the file within the spec, e.g. 'openapi.yaml' or 'components/schemas.yaml'"),
148
+ }),
149
+ execute: async ({ postmanApiKey, specId, filePath }) => {
150
+ try {
151
+ if (!postmanApiKey)
152
+ return missingKey();
153
+ return await postmanRequest(postmanApiKey, 'GET', `/specs/${encodeURIComponent(specId)}/files/${encodeURIComponent(filePath)}`);
154
+ }
155
+ catch (error) {
156
+ return toPostmanError(error, 'Failed to get spec file');
157
+ }
158
+ },
159
+ });
160
+ export const postmanUpdateSpecFile = tool({
161
+ description: "Update an API specification file's content. Use when you need to modify the contents of a specific file within a spec.",
162
+ inputSchema: z.object({
163
+ ...authField,
164
+ specId: z.string().describe('The unique identifier of the API specification'),
165
+ filePath: z.string().describe("The path of the file within the spec to update, e.g. 'openapi.yaml'"),
166
+ content: z.string().describe('The updated content of the spec file in YAML or JSON format'),
167
+ }),
168
+ execute: async ({ postmanApiKey, specId, filePath, content }) => {
169
+ try {
170
+ if (!postmanApiKey)
171
+ return missingKey();
172
+ return await postmanRequest(postmanApiKey, 'PATCH', `/specs/${encodeURIComponent(specId)}/files/${encodeURIComponent(filePath)}`, { body: { content } });
173
+ }
174
+ catch (error) {
175
+ return toPostmanError(error, 'Failed to update spec file');
176
+ }
177
+ },
178
+ });
179
+ export const postmanDeleteSpecFile = tool({
180
+ description: 'Delete a file from an API specification. Use when you need to remove a specific file from a multi-file specification.',
181
+ inputSchema: z.object({
182
+ ...authField,
183
+ specId: z.string().describe('The unique identifier of the API specification containing the file to delete'),
184
+ filePath: z.string().describe("The path of the file within the specification to delete, e.g. 'components/schemas.yaml'"),
185
+ }),
186
+ execute: async ({ postmanApiKey, specId, filePath }) => {
187
+ try {
188
+ if (!postmanApiKey)
189
+ return missingKey();
190
+ return await postmanRequest(postmanApiKey, 'DELETE', `/specs/${encodeURIComponent(specId)}/files/${encodeURIComponent(filePath)}`);
191
+ }
192
+ catch (error) {
193
+ return toPostmanError(error, 'Failed to delete spec file');
194
+ }
195
+ },
196
+ });
197
+ export const postmanGetSpecificationFiles = tool({
198
+ description: 'Retrieve all files in an API specification from Postman. Use when you need to list or view specification files for a specific spec ID. Returns file metadata including IDs, names, paths, types, and timestamps.',
199
+ inputSchema: z.object({
200
+ ...authField,
201
+ specId: z.string().describe('The ID of the API specification whose files you want to retrieve'),
202
+ }),
203
+ execute: async ({ postmanApiKey, specId }) => {
204
+ try {
205
+ if (!postmanApiKey)
206
+ return missingKey();
207
+ return await postmanRequest(postmanApiKey, 'GET', `/specs/${encodeURIComponent(specId)}/files`);
208
+ }
209
+ catch (error) {
210
+ return toPostmanError(error, 'Failed to get spec files');
211
+ }
212
+ },
213
+ });
214
+ export const postmanGetSpecDefinition = tool({
215
+ description: "Get the complete contents of an API specification's definition. Use when you need to retrieve the full OpenAPI/Swagger specification content for a spec. Returns the raw definition content as a string.",
216
+ inputSchema: z.object({
217
+ ...authField,
218
+ specId: z.string().describe('The unique identifier (UUID) of the API specification to retrieve the definition for'),
219
+ }),
220
+ execute: async ({ postmanApiKey, specId }) => {
221
+ try {
222
+ if (!postmanApiKey)
223
+ return missingKey();
224
+ return await postmanRequest(postmanApiKey, 'GET', `/specs/${encodeURIComponent(specId)}/definitions`);
225
+ }
226
+ catch (error) {
227
+ return toPostmanError(error, 'Failed to get spec definition');
228
+ }
229
+ },
230
+ });
231
+ export const postmanGetSpecsGeneratedCollections = tool({
232
+ description: "Retrieve all collections generated from an API specification in Postman. Use when you need to fetch collections that have been auto-generated from a spec. Returns metadata and an array of generated collections.",
233
+ inputSchema: z.object({
234
+ ...authField,
235
+ specId: z.string().describe('The unique identifier of the API specification'),
236
+ limit: z.number().int().min(1).optional().describe('Maximum number of collections to return per page'),
237
+ cursor: z.string().optional().describe('Pagination cursor from a previous response'),
238
+ }),
239
+ execute: async ({ postmanApiKey, specId, limit, cursor }) => {
240
+ try {
241
+ if (!postmanApiKey)
242
+ return missingKey();
243
+ return await postmanRequest(postmanApiKey, 'GET', `/specs/${encodeURIComponent(specId)}/generations/collection`, {
244
+ query: { limit, cursor },
245
+ });
246
+ }
247
+ catch (error) {
248
+ return toPostmanError(error, 'Failed to get generated collections');
249
+ }
250
+ },
251
+ });
252
+ export const postmanGenerateCollectionFromSpec = tool({
253
+ description: 'Generate a Postman collection from an OpenAPI 2.0, 3.0, or 3.1 specification. Use when you need to create a collection from an existing API spec. The operation is asynchronous and returns a task ID and polling URL to check the generation status.',
254
+ inputSchema: z.object({
255
+ ...authField,
256
+ specId: z.string().describe('The unique identifier of the API specification from which to generate the collection'),
257
+ name: z.string().describe('The name for the generated collection'),
258
+ folderStrategy: z.enum(['Paths', 'Tags']).optional().describe("How folders are organized: 'Paths' organizes by API paths, 'Tags' by OpenAPI tags"),
259
+ requestNameSource: z.enum(['Fallback', 'URL']).optional().describe("Source for request names: 'Fallback' uses operationId/summary/URL, 'URL' uses the endpoint URL"),
260
+ }),
261
+ execute: async ({ postmanApiKey, specId, name, folderStrategy, requestNameSource }) => {
262
+ try {
263
+ if (!postmanApiKey)
264
+ return missingKey();
265
+ const options = {};
266
+ if (folderStrategy !== undefined)
267
+ options.folderStrategy = folderStrategy;
268
+ if (requestNameSource !== undefined)
269
+ options.requestNameSource = requestNameSource;
270
+ return await postmanRequest(postmanApiKey, 'POST', `/specs/${encodeURIComponent(specId)}/generations/collection`, {
271
+ body: { name, ...(Object.keys(options).length > 0 ? { options } : {}) },
272
+ });
273
+ }
274
+ catch (error) {
275
+ return toPostmanError(error, 'Failed to generate collection from spec');
276
+ }
277
+ },
278
+ });
279
+ export const postmanGenerateSpecFromCollection = tool({
280
+ description: 'Generate an API specification from a Postman collection. Use when you need to create an OpenAPI 3.0 specification from an existing collection. The operation is asynchronous and returns a task ID and polling URL to check the generation status.',
281
+ inputSchema: z.object({
282
+ ...authField,
283
+ collectionUid: z.string().describe('The UID of the collection to generate the specification from'),
284
+ name: z.string().describe('The name for the generated API specification'),
285
+ type: z.enum(['OPENAPI:2.0', 'OPENAPI:3.0', 'OPENAPI:3.1']).describe('The specification type to generate'),
286
+ format: z.string().describe("The format of the generated specification file: 'JSON' or 'YAML'"),
287
+ }),
288
+ execute: async ({ postmanApiKey, collectionUid, name, type, format }) => {
289
+ try {
290
+ if (!postmanApiKey)
291
+ return missingKey();
292
+ return await postmanRequest(postmanApiKey, 'POST', `/collections/${encodeURIComponent(collectionUid)}/generations/spec`, {
293
+ body: { name, type, format },
294
+ });
295
+ }
296
+ catch (error) {
297
+ return toPostmanError(error, 'Failed to generate spec from collection');
298
+ }
299
+ },
300
+ });
301
+ export const postmanGetGeneratedSpec = tool({
302
+ description: 'Retrieve the API specification generated for a Postman collection. Use when you need to fetch OpenAPI/Swagger specs that have been auto-generated from a collection. Returns metadata and an array of generated specifications.',
303
+ inputSchema: z.object({
304
+ ...authField,
305
+ collectionUid: z.string().describe('The UID of the collection (with team/user prefix) to get generated specifications for'),
306
+ }),
307
+ execute: async ({ postmanApiKey, collectionUid }) => {
308
+ try {
309
+ if (!postmanApiKey)
310
+ return missingKey();
311
+ return await postmanRequest(postmanApiKey, 'GET', `/collections/${encodeURIComponent(collectionUid)}/generations/spec`);
312
+ }
313
+ catch (error) {
314
+ return toPostmanError(error, 'Failed to get generated spec');
315
+ }
316
+ },
317
+ });
318
+ export const postmanSyncCollectionWithSpec = tool({
319
+ description: 'Sync a collection generated from an API specification. This is an asynchronous operation that returns HTTP 202 Accepted. Use when you need to update a collection to match the latest version of its source API specification. The collection must have been generated from a spec.',
320
+ inputSchema: z.object({
321
+ ...authField,
322
+ collectionUid: z.string().describe('The UID of a collection generated from an API specification to synchronize'),
323
+ specId: z.string().describe('The ID of the source API specification to sync with'),
324
+ }),
325
+ execute: async ({ postmanApiKey, collectionUid, specId }) => {
326
+ try {
327
+ if (!postmanApiKey)
328
+ return missingKey();
329
+ return await postmanRequest(postmanApiKey, 'PUT', `/collections/${encodeURIComponent(collectionUid)}/synchronizations`, {
330
+ query: { specId },
331
+ });
332
+ }
333
+ catch (error) {
334
+ return toPostmanError(error, 'Failed to sync collection with spec');
335
+ }
336
+ },
337
+ });
338
+ export const postmanSyncSpecWithCollection = tool({
339
+ description: 'Sync an API specification with a linked collection. This is an asynchronous operation that returns HTTP 202 Accepted with task tracking information. Use when you need to synchronize changes from a spec to its generated collection. Prerequisites: the collection must be generated from the spec, and the spec must be single-file.',
340
+ inputSchema: z.object({
341
+ ...authField,
342
+ specId: z.string().describe('The UUID of the API specification to sync'),
343
+ collectionUid: z.string().describe('The UID of the collection generated from this spec to sync with'),
344
+ }),
345
+ execute: async ({ postmanApiKey, specId, collectionUid }) => {
346
+ try {
347
+ if (!postmanApiKey)
348
+ return missingKey();
349
+ return await postmanRequest(postmanApiKey, 'PUT', `/specs/${encodeURIComponent(specId)}/synchronizations`, {
350
+ query: { collectionUid },
351
+ });
352
+ }
353
+ catch (error) {
354
+ return toPostmanError(error, 'Failed to sync spec with collection');
355
+ }
356
+ },
357
+ });
358
+ export const postmanImportOpenApiSpecification = tool({
359
+ description: 'Import an OpenAPI specification into Postman as a new collection. Use when you need to convert an OpenAPI 3.0+ specification into a Postman collection within a specific workspace. The imported specification is automatically converted to a Postman collection with all endpoints, request parameters, and documentation.',
360
+ inputSchema: z.object({
361
+ ...authField,
362
+ workspaceId: z.string().describe('The workspace ID where the OpenAPI specification will be imported as a collection'),
363
+ type: z.string().describe("The type of import input. Use 'string' when providing the specification as a JSON/YAML string, or 'file' when uploading a file"),
364
+ input: z.string().describe("The OpenAPI specification content as a JSON or YAML string. Must be a valid OpenAPI 3.0+ specification with 'openapi', 'info', and 'paths'"),
365
+ }),
366
+ execute: async ({ postmanApiKey, workspaceId, type, input }) => {
367
+ try {
368
+ if (!postmanApiKey)
369
+ return missingKey();
370
+ return await postmanRequest(postmanApiKey, 'POST', '/import/openapi', {
371
+ query: { workspace: workspaceId },
372
+ body: { type, input },
373
+ });
374
+ }
375
+ catch (error) {
376
+ return toPostmanError(error, 'Failed to import OpenAPI specification');
377
+ }
378
+ },
379
+ });
380
+ //# sourceMappingURL=specs.js.map
@@ -0,0 +1,8 @@
1
+ export declare const postmanCreateAWebhook: import("ai").Tool<{
2
+ name: string;
3
+ collectionId: string;
4
+ workspaceId: string;
5
+ postmanApiKey?: string | undefined;
6
+ environmentId?: string | undefined;
7
+ }, any>;
8
+ //# sourceMappingURL=webhooks.d.ts.map