@keystrokehq/fly 0.1.1 → 0.1.3

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 (313) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-wire-guard-peer.cjs +6 -6
  4. package/dist/actions/add-wire-guard-peer.cjs.map +1 -1
  5. package/dist/actions/add-wire-guard-peer.d.cts +7 -13
  6. package/dist/actions/add-wire-guard-peer.d.mts +7 -13
  7. package/dist/actions/add-wire-guard-peer.mjs +6 -6
  8. package/dist/actions/add-wire-guard-peer.mjs.map +1 -1
  9. package/dist/actions/check-app-name-availability.cjs +4 -4
  10. package/dist/actions/check-app-name-availability.cjs.map +1 -1
  11. package/dist/actions/check-app-name-availability.d.cts +5 -10
  12. package/dist/actions/check-app-name-availability.d.cts.map +1 -1
  13. package/dist/actions/check-app-name-availability.d.mts +5 -10
  14. package/dist/actions/check-app-name-availability.d.mts.map +1 -1
  15. package/dist/actions/check-app-name-availability.mjs +4 -4
  16. package/dist/actions/check-app-name-availability.mjs.map +1 -1
  17. package/dist/actions/check-jobs.cjs +3 -3
  18. package/dist/actions/check-jobs.cjs.map +1 -1
  19. package/dist/actions/check-jobs.d.cts +4 -7
  20. package/dist/actions/check-jobs.d.cts.map +1 -1
  21. package/dist/actions/check-jobs.d.mts +4 -7
  22. package/dist/actions/check-jobs.d.mts.map +1 -1
  23. package/dist/actions/check-jobs.mjs +3 -3
  24. package/dist/actions/check-jobs.mjs.map +1 -1
  25. package/dist/actions/check-user-only-token.cjs +2 -2
  26. package/dist/actions/check-user-only-token.cjs.map +1 -1
  27. package/dist/actions/check-user-only-token.d.cts +4 -8
  28. package/dist/actions/check-user-only-token.d.cts.map +1 -1
  29. package/dist/actions/check-user-only-token.d.mts +4 -8
  30. package/dist/actions/check-user-only-token.d.mts.map +1 -1
  31. package/dist/actions/check-user-only-token.mjs +2 -2
  32. package/dist/actions/check-user-only-token.mjs.map +1 -1
  33. package/dist/actions/create-check-job-run.cjs +10 -10
  34. package/dist/actions/create-check-job-run.cjs.map +1 -1
  35. package/dist/actions/create-check-job-run.d.cts +11 -21
  36. package/dist/actions/create-check-job-run.d.mts +11 -21
  37. package/dist/actions/create-check-job-run.mjs +10 -10
  38. package/dist/actions/create-check-job-run.mjs.map +1 -1
  39. package/dist/actions/create-check-job.cjs +4 -4
  40. package/dist/actions/create-check-job.cjs.map +1 -1
  41. package/dist/actions/create-check-job.d.cts +5 -13
  42. package/dist/actions/create-check-job.d.mts +5 -13
  43. package/dist/actions/create-check-job.mjs +4 -4
  44. package/dist/actions/create-check-job.mjs.map +1 -1
  45. package/dist/actions/create-delegated-wire-guard-token.cjs +2 -2
  46. package/dist/actions/create-delegated-wire-guard-token.cjs.map +1 -1
  47. package/dist/actions/create-delegated-wire-guard-token.d.cts +3 -6
  48. package/dist/actions/create-delegated-wire-guard-token.d.mts +3 -6
  49. package/dist/actions/create-delegated-wire-guard-token.mjs +2 -2
  50. package/dist/actions/create-delegated-wire-guard-token.mjs.map +1 -1
  51. package/dist/actions/create-third-party-configuration.cjs +15 -15
  52. package/dist/actions/create-third-party-configuration.cjs.map +1 -1
  53. package/dist/actions/create-third-party-configuration.d.cts +16 -31
  54. package/dist/actions/create-third-party-configuration.d.mts +16 -31
  55. package/dist/actions/create-third-party-configuration.mjs +15 -15
  56. package/dist/actions/create-third-party-configuration.mjs.map +1 -1
  57. package/dist/actions/delete-delegated-wire-guard-token.cjs +3 -3
  58. package/dist/actions/delete-delegated-wire-guard-token.cjs.map +1 -1
  59. package/dist/actions/delete-delegated-wire-guard-token.d.cts +4 -7
  60. package/dist/actions/delete-delegated-wire-guard-token.d.mts +4 -7
  61. package/dist/actions/delete-delegated-wire-guard-token.mjs +3 -3
  62. package/dist/actions/delete-delegated-wire-guard-token.mjs.map +1 -1
  63. package/dist/actions/delete-organization.cjs +7 -7
  64. package/dist/actions/delete-organization.cjs.map +1 -1
  65. package/dist/actions/delete-organization.d.cts +8 -18
  66. package/dist/actions/delete-organization.d.cts.map +1 -1
  67. package/dist/actions/delete-organization.d.mts +8 -18
  68. package/dist/actions/delete-organization.d.mts.map +1 -1
  69. package/dist/actions/delete-organization.mjs +7 -7
  70. package/dist/actions/delete-organization.mjs.map +1 -1
  71. package/dist/actions/delete-remote-builder.cjs +5 -5
  72. package/dist/actions/delete-remote-builder.cjs.map +1 -1
  73. package/dist/actions/delete-remote-builder.d.cts +7 -13
  74. package/dist/actions/delete-remote-builder.d.mts +7 -13
  75. package/dist/actions/delete-remote-builder.mjs +5 -5
  76. package/dist/actions/delete-remote-builder.mjs.map +1 -1
  77. package/dist/actions/delete-third-party-configuration.cjs +3 -3
  78. package/dist/actions/delete-third-party-configuration.cjs.map +1 -1
  79. package/dist/actions/delete-third-party-configuration.d.cts +4 -7
  80. package/dist/actions/delete-third-party-configuration.d.mts +4 -7
  81. package/dist/actions/delete-third-party-configuration.mjs +3 -3
  82. package/dist/actions/delete-third-party-configuration.mjs.map +1 -1
  83. package/dist/actions/detach-postgres-cluster.cjs +7 -7
  84. package/dist/actions/detach-postgres-cluster.cjs.map +1 -1
  85. package/dist/actions/detach-postgres-cluster.d.cts +8 -18
  86. package/dist/actions/detach-postgres-cluster.d.cts.map +1 -1
  87. package/dist/actions/detach-postgres-cluster.d.mts +8 -18
  88. package/dist/actions/detach-postgres-cluster.d.mts.map +1 -1
  89. package/dist/actions/detach-postgres-cluster.mjs +7 -7
  90. package/dist/actions/detach-postgres-cluster.mjs.map +1 -1
  91. package/dist/actions/establish-ssh-key.cjs +3 -3
  92. package/dist/actions/establish-ssh-key.cjs.map +1 -1
  93. package/dist/actions/establish-ssh-key.d.cts +4 -7
  94. package/dist/actions/establish-ssh-key.d.mts +4 -7
  95. package/dist/actions/establish-ssh-key.mjs +3 -3
  96. package/dist/actions/establish-ssh-key.mjs.map +1 -1
  97. package/dist/actions/fetch-nodes-by-ids.cjs +3 -3
  98. package/dist/actions/fetch-nodes-by-ids.cjs.map +1 -1
  99. package/dist/actions/fetch-nodes-by-ids.d.cts +4 -7
  100. package/dist/actions/fetch-nodes-by-ids.d.cts.map +1 -1
  101. package/dist/actions/fetch-nodes-by-ids.d.mts +4 -7
  102. package/dist/actions/fetch-nodes-by-ids.d.mts.map +1 -1
  103. package/dist/actions/fetch-nodes-by-ids.mjs +3 -3
  104. package/dist/actions/fetch-nodes-by-ids.mjs.map +1 -1
  105. package/dist/actions/get-add-on-provider.cjs +17 -17
  106. package/dist/actions/get-add-on-provider.cjs.map +1 -1
  107. package/dist/actions/get-add-on-provider.d.cts +18 -35
  108. package/dist/actions/get-add-on-provider.d.mts +18 -35
  109. package/dist/actions/get-add-on-provider.mjs +17 -17
  110. package/dist/actions/get-add-on-provider.mjs.map +1 -1
  111. package/dist/actions/get-add-on.cjs +19 -19
  112. package/dist/actions/get-add-on.cjs.map +1 -1
  113. package/dist/actions/get-add-on.d.cts +21 -41
  114. package/dist/actions/get-add-on.d.cts.map +1 -1
  115. package/dist/actions/get-add-on.d.mts +21 -41
  116. package/dist/actions/get-add-on.d.mts.map +1 -1
  117. package/dist/actions/get-add-on.mjs +19 -19
  118. package/dist/actions/get-add-on.mjs.map +1 -1
  119. package/dist/actions/get-app-details.cjs +11 -11
  120. package/dist/actions/get-app-details.cjs.map +1 -1
  121. package/dist/actions/get-app-details.d.cts +15 -29
  122. package/dist/actions/get-app-details.d.mts +15 -29
  123. package/dist/actions/get-app-details.mjs +11 -11
  124. package/dist/actions/get-app-details.mjs.map +1 -1
  125. package/dist/actions/get-certificate.cjs +22 -22
  126. package/dist/actions/get-certificate.cjs.map +1 -1
  127. package/dist/actions/get-certificate.d.cts +24 -50
  128. package/dist/actions/get-certificate.d.cts.map +1 -1
  129. package/dist/actions/get-certificate.d.mts +24 -50
  130. package/dist/actions/get-certificate.d.mts.map +1 -1
  131. package/dist/actions/get-certificate.mjs +22 -22
  132. package/dist/actions/get-certificate.mjs.map +1 -1
  133. package/dist/actions/get-current-token-info.cjs +9 -9
  134. package/dist/actions/get-current-token-info.cjs.map +1 -1
  135. package/dist/actions/get-current-token-info.d.cts +11 -21
  136. package/dist/actions/get-current-token-info.d.cts.map +1 -1
  137. package/dist/actions/get-current-token-info.d.mts +11 -21
  138. package/dist/actions/get-current-token-info.d.mts.map +1 -1
  139. package/dist/actions/get-current-token-info.mjs +9 -9
  140. package/dist/actions/get-current-token-info.mjs.map +1 -1
  141. package/dist/actions/get-latest-image-details.cjs +2 -2
  142. package/dist/actions/get-latest-image-details.cjs.map +1 -1
  143. package/dist/actions/get-latest-image-details.d.cts +3 -9
  144. package/dist/actions/get-latest-image-details.d.mts +3 -9
  145. package/dist/actions/get-latest-image-details.mjs +2 -2
  146. package/dist/actions/get-latest-image-details.mjs.map +1 -1
  147. package/dist/actions/get-latest-image-tag.cjs +1 -1
  148. package/dist/actions/get-latest-image-tag.cjs.map +1 -1
  149. package/dist/actions/get-latest-image-tag.d.cts +3 -5
  150. package/dist/actions/get-latest-image-tag.d.mts +3 -5
  151. package/dist/actions/get-latest-image-tag.mjs +1 -1
  152. package/dist/actions/get-latest-image-tag.mjs.map +1 -1
  153. package/dist/actions/get-machine.cjs +18 -18
  154. package/dist/actions/get-machine.cjs.map +1 -1
  155. package/dist/actions/get-machine.d.cts +20 -42
  156. package/dist/actions/get-machine.d.cts.map +1 -1
  157. package/dist/actions/get-machine.d.mts +20 -42
  158. package/dist/actions/get-machine.d.mts.map +1 -1
  159. package/dist/actions/get-machine.mjs +18 -18
  160. package/dist/actions/get-machine.mjs.map +1 -1
  161. package/dist/actions/get-nearest-region.cjs +3 -3
  162. package/dist/actions/get-nearest-region.cjs.map +1 -1
  163. package/dist/actions/get-nearest-region.d.cts +4 -7
  164. package/dist/actions/get-nearest-region.d.cts.map +1 -1
  165. package/dist/actions/get-nearest-region.d.mts +4 -7
  166. package/dist/actions/get-nearest-region.d.mts.map +1 -1
  167. package/dist/actions/get-nearest-region.mjs +3 -3
  168. package/dist/actions/get-nearest-region.mjs.map +1 -1
  169. package/dist/actions/get-node.cjs +9 -9
  170. package/dist/actions/get-node.cjs.map +1 -1
  171. package/dist/actions/get-node.d.cts +11 -26
  172. package/dist/actions/get-node.d.mts +11 -26
  173. package/dist/actions/get-node.mjs +9 -9
  174. package/dist/actions/get-node.mjs.map +1 -1
  175. package/dist/actions/get-organization.cjs +7 -7
  176. package/dist/actions/get-organization.cjs.map +1 -1
  177. package/dist/actions/get-organization.d.cts +8 -18
  178. package/dist/actions/get-organization.d.cts.map +1 -1
  179. package/dist/actions/get-organization.d.mts +8 -18
  180. package/dist/actions/get-organization.d.mts.map +1 -1
  181. package/dist/actions/get-organization.mjs +7 -7
  182. package/dist/actions/get-organization.mjs.map +1 -1
  183. package/dist/actions/get-personal-organization.cjs +4 -4
  184. package/dist/actions/get-personal-organization.cjs.map +1 -1
  185. package/dist/actions/get-personal-organization.d.cts +5 -18
  186. package/dist/actions/get-personal-organization.d.cts.map +1 -1
  187. package/dist/actions/get-personal-organization.d.mts +5 -18
  188. package/dist/actions/get-personal-organization.d.mts.map +1 -1
  189. package/dist/actions/get-personal-organization.mjs +4 -4
  190. package/dist/actions/get-personal-organization.mjs.map +1 -1
  191. package/dist/actions/get-placements.cjs +3 -3
  192. package/dist/actions/get-placements.cjs.map +1 -1
  193. package/dist/actions/get-placements.d.cts +5 -11
  194. package/dist/actions/get-placements.d.mts +5 -11
  195. package/dist/actions/get-placements.mjs +3 -3
  196. package/dist/actions/get-placements.mjs.map +1 -1
  197. package/dist/actions/get-platform-info.cjs +15 -15
  198. package/dist/actions/get-platform-info.cjs.map +1 -1
  199. package/dist/actions/get-platform-info.d.cts +16 -31
  200. package/dist/actions/get-platform-info.d.cts.map +1 -1
  201. package/dist/actions/get-platform-info.d.mts +16 -31
  202. package/dist/actions/get-platform-info.d.mts.map +1 -1
  203. package/dist/actions/get-platform-info.mjs +15 -15
  204. package/dist/actions/get-platform-info.mjs.map +1 -1
  205. package/dist/actions/get-products.cjs +9 -9
  206. package/dist/actions/get-products.cjs.map +1 -1
  207. package/dist/actions/get-products.d.cts +10 -20
  208. package/dist/actions/get-products.d.cts.map +1 -1
  209. package/dist/actions/get-products.d.mts +10 -20
  210. package/dist/actions/get-products.d.mts.map +1 -1
  211. package/dist/actions/get-products.mjs +9 -9
  212. package/dist/actions/get-products.mjs.map +1 -1
  213. package/dist/actions/get-regions.cjs +13 -13
  214. package/dist/actions/get-regions.cjs.map +1 -1
  215. package/dist/actions/get-regions.d.cts +14 -27
  216. package/dist/actions/get-regions.d.mts +14 -27
  217. package/dist/actions/get-regions.mjs +13 -13
  218. package/dist/actions/get-regions.mjs.map +1 -1
  219. package/dist/actions/get-viewer-info.cjs +7 -7
  220. package/dist/actions/get-viewer-info.cjs.map +1 -1
  221. package/dist/actions/get-viewer-info.d.cts +8 -17
  222. package/dist/actions/get-viewer-info.d.mts +8 -17
  223. package/dist/actions/get-viewer-info.mjs +7 -7
  224. package/dist/actions/get-viewer-info.mjs.map +1 -1
  225. package/dist/actions/issue-certificate.cjs +3 -3
  226. package/dist/actions/issue-certificate.cjs.map +1 -1
  227. package/dist/actions/issue-certificate.d.cts +4 -7
  228. package/dist/actions/issue-certificate.d.mts +4 -7
  229. package/dist/actions/issue-certificate.mjs +3 -3
  230. package/dist/actions/issue-certificate.mjs.map +1 -1
  231. package/dist/actions/list-add-on-plans.cjs +25 -25
  232. package/dist/actions/list-add-on-plans.cjs.map +1 -1
  233. package/dist/actions/list-add-on-plans.d.cts +38 -77
  234. package/dist/actions/list-add-on-plans.d.mts +38 -77
  235. package/dist/actions/list-add-on-plans.mjs +25 -25
  236. package/dist/actions/list-add-on-plans.mjs.map +1 -1
  237. package/dist/actions/list-add-ons.cjs +28 -28
  238. package/dist/actions/list-add-ons.cjs.map +1 -1
  239. package/dist/actions/list-add-ons.d.cts +4 -161
  240. package/dist/actions/list-add-ons.d.cts.map +1 -1
  241. package/dist/actions/list-add-ons.d.mts +4 -161
  242. package/dist/actions/list-add-ons.d.mts.map +1 -1
  243. package/dist/actions/list-add-ons.mjs +28 -28
  244. package/dist/actions/list-add-ons.mjs.map +1 -1
  245. package/dist/actions/list-apps-graphql.cjs +26 -26
  246. package/dist/actions/list-apps-graphql.cjs.map +1 -1
  247. package/dist/actions/list-apps-graphql.d.cts +31 -61
  248. package/dist/actions/list-apps-graphql.d.cts.map +1 -1
  249. package/dist/actions/list-apps-graphql.d.mts +31 -61
  250. package/dist/actions/list-apps-graphql.d.mts.map +1 -1
  251. package/dist/actions/list-apps-graphql.mjs +26 -26
  252. package/dist/actions/list-apps-graphql.mjs.map +1 -1
  253. package/dist/actions/list-apps.cjs +16 -16
  254. package/dist/actions/list-apps.cjs.map +1 -1
  255. package/dist/actions/list-apps.d.cts +17 -33
  256. package/dist/actions/list-apps.d.mts +17 -33
  257. package/dist/actions/list-apps.mjs +16 -16
  258. package/dist/actions/list-apps.mjs.map +1 -1
  259. package/dist/actions/list-check-locations.cjs +5 -5
  260. package/dist/actions/list-check-locations.cjs.map +1 -1
  261. package/dist/actions/list-check-locations.d.cts +6 -16
  262. package/dist/actions/list-check-locations.d.cts.map +1 -1
  263. package/dist/actions/list-check-locations.d.mts +6 -16
  264. package/dist/actions/list-check-locations.d.mts.map +1 -1
  265. package/dist/actions/list-check-locations.mjs +5 -5
  266. package/dist/actions/list-check-locations.mjs.map +1 -1
  267. package/dist/actions/list-machines.cjs +3 -3
  268. package/dist/actions/list-machines.cjs.map +1 -1
  269. package/dist/actions/list-machines.d.cts +4 -7
  270. package/dist/actions/list-machines.d.cts.map +1 -1
  271. package/dist/actions/list-machines.d.mts +4 -7
  272. package/dist/actions/list-machines.d.mts.map +1 -1
  273. package/dist/actions/list-machines.mjs +3 -3
  274. package/dist/actions/list-machines.mjs.map +1 -1
  275. package/dist/actions/list-org-machines.cjs +16 -16
  276. package/dist/actions/list-org-machines.cjs.map +1 -1
  277. package/dist/actions/list-org-machines.d.cts +17 -33
  278. package/dist/actions/list-org-machines.d.mts +17 -33
  279. package/dist/actions/list-org-machines.mjs +16 -16
  280. package/dist/actions/list-org-machines.mjs.map +1 -1
  281. package/dist/actions/remove-wire-guard-peer.cjs +4 -4
  282. package/dist/actions/remove-wire-guard-peer.cjs.map +1 -1
  283. package/dist/actions/remove-wire-guard-peer.d.cts +6 -11
  284. package/dist/actions/remove-wire-guard-peer.d.mts +6 -11
  285. package/dist/actions/remove-wire-guard-peer.mjs +4 -4
  286. package/dist/actions/remove-wire-guard-peer.mjs.map +1 -1
  287. package/dist/actions/set-apps-v2-default-on.cjs +6 -6
  288. package/dist/actions/set-apps-v2-default-on.cjs.map +1 -1
  289. package/dist/actions/set-apps-v2-default-on.d.cts +9 -17
  290. package/dist/actions/set-apps-v2-default-on.d.mts +9 -17
  291. package/dist/actions/set-apps-v2-default-on.mjs +6 -6
  292. package/dist/actions/set-apps-v2-default-on.mjs.map +1 -1
  293. package/dist/actions/update-third-party-configuration.cjs +15 -15
  294. package/dist/actions/update-third-party-configuration.cjs.map +1 -1
  295. package/dist/actions/update-third-party-configuration.d.cts +16 -31
  296. package/dist/actions/update-third-party-configuration.d.mts +16 -31
  297. package/dist/actions/update-third-party-configuration.mjs +15 -15
  298. package/dist/actions/update-third-party-configuration.mjs.map +1 -1
  299. package/dist/actions/validate-config.cjs +6 -6
  300. package/dist/actions/validate-config.cjs.map +1 -1
  301. package/dist/actions/validate-config.d.cts +8 -15
  302. package/dist/actions/validate-config.d.cts.map +1 -1
  303. package/dist/actions/validate-config.d.mts +8 -15
  304. package/dist/actions/validate-config.d.mts.map +1 -1
  305. package/dist/actions/validate-config.mjs +6 -6
  306. package/dist/actions/validate-config.mjs.map +1 -1
  307. package/dist/actions/validate-wire-guard-peers.cjs +1 -1
  308. package/dist/actions/validate-wire-guard-peers.cjs.map +1 -1
  309. package/dist/actions/validate-wire-guard-peers.d.cts +3 -5
  310. package/dist/actions/validate-wire-guard-peers.d.mts +3 -5
  311. package/dist/actions/validate-wire-guard-peers.mjs +1 -1
  312. package/dist/actions/validate-wire-guard-peers.mjs.map +1 -1
  313. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"list-apps.mjs","names":[],"sources":["../../src/actions/list-apps.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyListAppsInput = z.object({\n app_role: z.string().describe(\"Filter apps by role\").optional(),\n org_slug: z.string().describe(\"The organization slug, or 'personal', to filter apps\"),\n}).describe(\"Request model for listing Fly apps in an organization.\");\nconst FlyListApps_OrganizationSchema = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Organization ID\").optional()),\n name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Organization name\").optional()),\n slug: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Organization slug\").optional()),\n}).describe(\"Organization details for a Fly app.\");\nconst FlyListApps_AppSchema = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Unique app ID\").optional()),\n name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"App name\").optional()),\n status: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Current status of the app\").optional()),\n network: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Network configuration\").optional()),\n organization: z.preprocess((value) => (value === null ? undefined : value), FlyListApps_OrganizationSchema.optional()),\n volume_count: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Number of volumes attached to the app\").optional()),\n machine_count: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Number of machines in the app\").optional()),\n internal_numeric_id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Internal numeric identifier\").optional()),\n}).describe(\"Fly app object with metadata.\");\nexport const FlyListAppsOutput = z.object({\n apps: z.preprocess((value) => (value === null ? undefined : value), z.array(FlyListApps_AppSchema).describe(\"List of apps in the organization\").optional()),\n total_apps: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Total number of apps in the organization\").optional()),\n}).describe(\"Response model for listing Fly apps.\");\n\nexport const flyListApps = action(\"FLY_LIST_APPS\", {\n slug: \"fly-list-apps\",\n name: \"List Apps\",\n description: \"Tool to list all Fly Apps in an organization. Use when you need to retrieve apps for a specific organization using its slug.\",\n input: FlyListAppsInput,\n output: FlyListAppsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mBAAmB,EAAE,OAAO;CACvC,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC9D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;AACtF,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,iCAAiC,EAAE,OAAO;CAC9C,IAAI,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC;CACnH,MAAM,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC;CACvH,MAAM,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC;AACzH,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,wBAAwB,EAAE,OAAO;CACrC,IAAI,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC;CACjH,MAAM,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS,CAAC;CAC9G,QAAQ,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC;CACjI,SAAS,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC;CAC9H,cAAc,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,+BAA+B,SAAS,CAAC;CACrH,cAAc,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC;CACzJ,eAAe,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC;CAClJ,qBAAqB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC;AACxJ,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAM3C,MAAa,cAAc,OAAO,iBAAiB;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV+B,EAAE,OAAO;EACxC,MAAM,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,MAAM,qBAAqB,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC;EAC1J,YAAY,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC;CAC5J,CAAC,CAAC,CAAC,SAAS,sCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-apps.mjs","names":[],"sources":["../../src/actions/list-apps.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyListAppsInput = z.object({\n app_role: z.string().describe(\"Filter apps by role\").optional(),\n org_slug: z.string().describe(\"The organization slug, or 'personal', to filter apps\"),\n}).describe(\"Request model for listing Fly apps in an organization.\");\nconst FlyListApps_OrganizationSchema = z.object({\n id: z.string().describe(\"Organization ID\").nullable().optional(),\n name: z.string().describe(\"Organization name\").nullable().optional(),\n slug: z.string().describe(\"Organization slug\").nullable().optional(),\n}).passthrough().describe(\"Organization details for a Fly app.\");\nconst FlyListApps_AppSchema = z.object({\n id: z.string().describe(\"Unique app ID\").nullable().optional(),\n name: z.string().describe(\"App name\").nullable().optional(),\n status: z.string().describe(\"Current status of the app\").nullable().optional(),\n network: z.string().describe(\"Network configuration\").nullable().optional(),\n organization: FlyListApps_OrganizationSchema.nullable().optional(),\n volume_count: z.number().int().describe(\"Number of volumes attached to the app\").nullable().optional(),\n machine_count: z.number().int().describe(\"Number of machines in the app\").nullable().optional(),\n internal_numeric_id: z.number().int().describe(\"Internal numeric identifier\").nullable().optional(),\n}).passthrough().describe(\"Fly app object with metadata.\");\nexport const FlyListAppsOutput = z.object({\n apps: z.array(FlyListApps_AppSchema).describe(\"List of apps in the organization\").nullable().optional(),\n total_apps: z.number().int().describe(\"Total number of apps in the organization\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing Fly apps.\");\n\nexport const flyListApps = action(\"FLY_LIST_APPS\", {\n slug: \"fly-list-apps\",\n name: \"List Apps\",\n description: \"Tool to list all Fly Apps in an organization. Use when you need to retrieve apps for a specific organization using its slug.\",\n input: FlyListAppsInput,\n output: FlyListAppsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mBAAmB,EAAE,OAAO;CACvC,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC9D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;AACtF,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,iCAAiC,EAAE,OAAO;CAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAM,wBAAwB,EAAE,OAAO;CACrC,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,cAAc,+BAA+B,SAAS,CAAC,CAAC,SAAS;CACjE,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AAMzD,MAAa,cAAc,OAAO,iBAAiB;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV+B,EAAE,OAAO;EACxC,MAAM,EAAE,MAAM,qBAAqB,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAOhB;AACV,CAAC"}
@@ -4,13 +4,13 @@ let zod = require("zod");
4
4
  const FlyListCheckLocationsInput = zod.z.object({}).describe("Request model for listing available Fly.io health check locations.");
5
5
  const FlyListCheckLocations_CheckLocationItemSchema = zod.z.object({
6
6
  name: zod.z.string().describe("Unique identifier code for the check location (e.g., 'ams', 'atl', 'cdg').").nullable(),
7
- state: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("State or province within the country, if applicable.").optional()),
7
+ state: zod.z.string().describe("State or province within the country, if applicable.").nullable().optional(),
8
8
  title: zod.z.string().describe("Human-readable name/title of the check location (e.g., 'Amsterdam, Netherlands').").nullable(),
9
9
  country: zod.z.string().describe("Country code or name where the check location is situated.").nullable(),
10
- locality: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("City or locality name for the check location.").optional())
11
- }).describe("Represents a single check location for Fly.io health checks.");
12
- const FlyListCheckLocations_ListCheckLocationsResponseDataSchema = zod.z.object({ checkLocations: zod.z.array(FlyListCheckLocations_CheckLocationItemSchema).describe("Array of all available check locations for Fly.io health checks.") }).describe("Data envelope containing the list of check locations.");
13
- const FlyListCheckLocationsOutput = zod.z.object({ data: FlyListCheckLocations_ListCheckLocationsResponseDataSchema.nullable() }).describe("Response model for the checkLocations GraphQL query.");
10
+ locality: zod.z.string().describe("City or locality name for the check location.").nullable().optional()
11
+ }).passthrough().describe("Represents a single check location for Fly.io health checks.");
12
+ const FlyListCheckLocations_ListCheckLocationsResponseDataSchema = zod.z.object({ checkLocations: zod.z.array(FlyListCheckLocations_CheckLocationItemSchema).describe("Array of all available check locations for Fly.io health checks.") }).passthrough().describe("Data envelope containing the list of check locations.");
13
+ const FlyListCheckLocationsOutput = zod.z.object({ data: FlyListCheckLocations_ListCheckLocationsResponseDataSchema.nullable() }).passthrough().describe("Response model for the checkLocations GraphQL query.");
14
14
  const flyListCheckLocations = require_action.action("FLY_LIST_CHECK_LOCATIONS", {
15
15
  slug: "fly-list-check-locations",
16
16
  name: "Check Locations",
@@ -1 +1 @@
1
- {"version":3,"file":"list-check-locations.cjs","names":["z","action"],"sources":["../../src/actions/list-check-locations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyListCheckLocationsInput = z.object({}).describe(\"Request model for listing available Fly.io health check locations.\");\nconst FlyListCheckLocations_CheckLocationItemSchema = z.object({\n name: z.string().describe(\"Unique identifier code for the check location (e.g., 'ams', 'atl', 'cdg').\").nullable(),\n state: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"State or province within the country, if applicable.\").optional()),\n title: z.string().describe(\"Human-readable name/title of the check location (e.g., 'Amsterdam, Netherlands').\").nullable(),\n country: z.string().describe(\"Country code or name where the check location is situated.\").nullable(),\n locality: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"City or locality name for the check location.\").optional()),\n}).describe(\"Represents a single check location for Fly.io health checks.\");\nconst FlyListCheckLocations_ListCheckLocationsResponseDataSchema = z.object({\n checkLocations: z.array(FlyListCheckLocations_CheckLocationItemSchema).describe(\"Array of all available check locations for Fly.io health checks.\"),\n}).describe(\"Data envelope containing the list of check locations.\");\nexport const FlyListCheckLocationsOutput = z.object({\n data: FlyListCheckLocations_ListCheckLocationsResponseDataSchema.nullable(),\n}).describe(\"Response model for the checkLocations GraphQL query.\");\n\nexport const flyListCheckLocations = action(\"FLY_LIST_CHECK_LOCATIONS\", {\n slug: \"fly-list-check-locations\",\n name: \"Check Locations\",\n description: \"Retrieve all available Fly.io health check locations. Returns a comprehensive list of global locations where health checks can be performed, including geographic details and coordinates. Use when you need to determine available monitoring points for setting up health checks.\",\n input: FlyListCheckLocationsInput,\n output: FlyListCheckLocationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE;AACpI,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACjH,OAAOA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC;CAC3J,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CACzH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACpG,UAAUA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC;AACzJ,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,6DAA6DA,IAAAA,EAAE,OAAO,EAC1E,gBAAgBA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,kEAAkE,EACpJ,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,MAAM,2DAA2D,SAAS,EAC5E,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-check-locations.cjs","names":["z","action"],"sources":["../../src/actions/list-check-locations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyListCheckLocationsInput = z.object({}).describe(\"Request model for listing available Fly.io health check locations.\");\nconst FlyListCheckLocations_CheckLocationItemSchema = z.object({\n name: z.string().describe(\"Unique identifier code for the check location (e.g., 'ams', 'atl', 'cdg').\").nullable(),\n state: z.string().describe(\"State or province within the country, if applicable.\").nullable().optional(),\n title: z.string().describe(\"Human-readable name/title of the check location (e.g., 'Amsterdam, Netherlands').\").nullable(),\n country: z.string().describe(\"Country code or name where the check location is situated.\").nullable(),\n locality: z.string().describe(\"City or locality name for the check location.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single check location for Fly.io health checks.\");\nconst FlyListCheckLocations_ListCheckLocationsResponseDataSchema = z.object({\n checkLocations: z.array(FlyListCheckLocations_CheckLocationItemSchema).describe(\"Array of all available check locations for Fly.io health checks.\"),\n}).passthrough().describe(\"Data envelope containing the list of check locations.\");\nexport const FlyListCheckLocationsOutput = z.object({\n data: FlyListCheckLocations_ListCheckLocationsResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response model for the checkLocations GraphQL query.\");\n\nexport const flyListCheckLocations = action(\"FLY_LIST_CHECK_LOCATIONS\", {\n slug: \"fly-list-check-locations\",\n name: \"Check Locations\",\n description: \"Retrieve all available Fly.io health check locations. Returns a comprehensive list of global locations where health checks can be performed, including geographic details and coordinates. Use when you need to determine available monitoring points for setting up health checks.\",\n input: FlyListCheckLocationsInput,\n output: FlyListCheckLocationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE;AACpI,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACjH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CACzH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACpG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AACxF,MAAM,6DAA6DA,IAAAA,EAAE,OAAO,EAC1E,gBAAgBA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,kEAAkE,EACpJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AACjF,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,MAAM,2DAA2D,SAAS,EAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -6,24 +6,14 @@ declare const FlyListCheckLocationsOutput: z.ZodObject<{
6
6
  data: z.ZodNullable<z.ZodObject<{
7
7
  checkLocations: z.ZodArray<z.ZodObject<{
8
8
  name: z.ZodNullable<z.ZodString>;
9
- state: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
9
+ state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
10
  title: z.ZodNullable<z.ZodString>;
11
11
  country: z.ZodNullable<z.ZodString>;
12
- locality: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
13
- }, z.core.$strip>>;
14
- }, z.core.$strip>>;
15
- }, z.core.$strip>;
16
- declare const flyListCheckLocations: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, {
17
- data: {
18
- checkLocations: {
19
- name: string | null;
20
- title: string | null;
21
- country: string | null;
22
- state?: string | undefined;
23
- locality?: string | undefined;
24
- }[];
25
- } | null;
26
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
12
+ locality: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ }, z.core.$loose>>;
14
+ }, z.core.$loose>>;
15
+ }, z.core.$loose>;
16
+ declare const flyListCheckLocations: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
27
17
  //#endregion
28
18
  export { flyListCheckLocations };
29
19
  //# sourceMappingURL=list-check-locations.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-check-locations.d.cts","names":[],"sources":["../../src/actions/list-check-locations.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAW1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA,CAAA,MAAA"}
1
+ {"version":3,"file":"list-check-locations.d.cts","names":[],"sources":["../../src/actions/list-check-locations.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAW1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -6,24 +6,14 @@ declare const FlyListCheckLocationsOutput: z.ZodObject<{
6
6
  data: z.ZodNullable<z.ZodObject<{
7
7
  checkLocations: z.ZodArray<z.ZodObject<{
8
8
  name: z.ZodNullable<z.ZodString>;
9
- state: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
9
+ state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
10
  title: z.ZodNullable<z.ZodString>;
11
11
  country: z.ZodNullable<z.ZodString>;
12
- locality: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
13
- }, z.core.$strip>>;
14
- }, z.core.$strip>>;
15
- }, z.core.$strip>;
16
- declare const flyListCheckLocations: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, {
17
- data: {
18
- checkLocations: {
19
- name: string | null;
20
- title: string | null;
21
- country: string | null;
22
- state?: string | undefined;
23
- locality?: string | undefined;
24
- }[];
25
- } | null;
26
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
12
+ locality: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ }, z.core.$loose>>;
14
+ }, z.core.$loose>>;
15
+ }, z.core.$loose>;
16
+ declare const flyListCheckLocations: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
27
17
  //#endregion
28
18
  export { flyListCheckLocations };
29
19
  //# sourceMappingURL=list-check-locations.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-check-locations.d.mts","names":[],"sources":["../../src/actions/list-check-locations.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAW1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA,CAAA,MAAA"}
1
+ {"version":3,"file":"list-check-locations.d.mts","names":[],"sources":["../../src/actions/list-check-locations.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAW1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -4,18 +4,18 @@ import { z } from "zod";
4
4
  const FlyListCheckLocationsInput = z.object({}).describe("Request model for listing available Fly.io health check locations.");
5
5
  const FlyListCheckLocations_CheckLocationItemSchema = z.object({
6
6
  name: z.string().describe("Unique identifier code for the check location (e.g., 'ams', 'atl', 'cdg').").nullable(),
7
- state: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("State or province within the country, if applicable.").optional()),
7
+ state: z.string().describe("State or province within the country, if applicable.").nullable().optional(),
8
8
  title: z.string().describe("Human-readable name/title of the check location (e.g., 'Amsterdam, Netherlands').").nullable(),
9
9
  country: z.string().describe("Country code or name where the check location is situated.").nullable(),
10
- locality: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("City or locality name for the check location.").optional())
11
- }).describe("Represents a single check location for Fly.io health checks.");
12
- const FlyListCheckLocations_ListCheckLocationsResponseDataSchema = z.object({ checkLocations: z.array(FlyListCheckLocations_CheckLocationItemSchema).describe("Array of all available check locations for Fly.io health checks.") }).describe("Data envelope containing the list of check locations.");
10
+ locality: z.string().describe("City or locality name for the check location.").nullable().optional()
11
+ }).passthrough().describe("Represents a single check location for Fly.io health checks.");
12
+ const FlyListCheckLocations_ListCheckLocationsResponseDataSchema = z.object({ checkLocations: z.array(FlyListCheckLocations_CheckLocationItemSchema).describe("Array of all available check locations for Fly.io health checks.") }).passthrough().describe("Data envelope containing the list of check locations.");
13
13
  const flyListCheckLocations = action("FLY_LIST_CHECK_LOCATIONS", {
14
14
  slug: "fly-list-check-locations",
15
15
  name: "Check Locations",
16
16
  description: "Retrieve all available Fly.io health check locations. Returns a comprehensive list of global locations where health checks can be performed, including geographic details and coordinates. Use when you need to determine available monitoring points for setting up health checks.",
17
17
  input: FlyListCheckLocationsInput,
18
- output: z.object({ data: FlyListCheckLocations_ListCheckLocationsResponseDataSchema.nullable() }).describe("Response model for the checkLocations GraphQL query.")
18
+ output: z.object({ data: FlyListCheckLocations_ListCheckLocationsResponseDataSchema.nullable() }).passthrough().describe("Response model for the checkLocations GraphQL query.")
19
19
  });
20
20
  //#endregion
21
21
  export { flyListCheckLocations };
@@ -1 +1 @@
1
- {"version":3,"file":"list-check-locations.mjs","names":[],"sources":["../../src/actions/list-check-locations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyListCheckLocationsInput = z.object({}).describe(\"Request model for listing available Fly.io health check locations.\");\nconst FlyListCheckLocations_CheckLocationItemSchema = z.object({\n name: z.string().describe(\"Unique identifier code for the check location (e.g., 'ams', 'atl', 'cdg').\").nullable(),\n state: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"State or province within the country, if applicable.\").optional()),\n title: z.string().describe(\"Human-readable name/title of the check location (e.g., 'Amsterdam, Netherlands').\").nullable(),\n country: z.string().describe(\"Country code or name where the check location is situated.\").nullable(),\n locality: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"City or locality name for the check location.\").optional()),\n}).describe(\"Represents a single check location for Fly.io health checks.\");\nconst FlyListCheckLocations_ListCheckLocationsResponseDataSchema = z.object({\n checkLocations: z.array(FlyListCheckLocations_CheckLocationItemSchema).describe(\"Array of all available check locations for Fly.io health checks.\"),\n}).describe(\"Data envelope containing the list of check locations.\");\nexport const FlyListCheckLocationsOutput = z.object({\n data: FlyListCheckLocations_ListCheckLocationsResponseDataSchema.nullable(),\n}).describe(\"Response model for the checkLocations GraphQL query.\");\n\nexport const flyListCheckLocations = action(\"FLY_LIST_CHECK_LOCATIONS\", {\n slug: \"fly-list-check-locations\",\n name: \"Check Locations\",\n description: \"Retrieve all available Fly.io health check locations. Returns a comprehensive list of global locations where health checks can be performed, including geographic details and coordinates. Use when you need to determine available monitoring points for setting up health checks.\",\n input: FlyListCheckLocationsInput,\n output: FlyListCheckLocationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE;AACpI,MAAM,gDAAgD,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACjH,OAAO,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC;CAC3J,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CACzH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACpG,UAAU,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC;AACzJ,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,6DAA6D,EAAE,OAAO,EAC1E,gBAAgB,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,kEAAkE,EACpJ,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAKnE,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyC,EAAE,OAAO,EAClD,MAAM,2DAA2D,SAAS,EAC5E,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-check-locations.mjs","names":[],"sources":["../../src/actions/list-check-locations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyListCheckLocationsInput = z.object({}).describe(\"Request model for listing available Fly.io health check locations.\");\nconst FlyListCheckLocations_CheckLocationItemSchema = z.object({\n name: z.string().describe(\"Unique identifier code for the check location (e.g., 'ams', 'atl', 'cdg').\").nullable(),\n state: z.string().describe(\"State or province within the country, if applicable.\").nullable().optional(),\n title: z.string().describe(\"Human-readable name/title of the check location (e.g., 'Amsterdam, Netherlands').\").nullable(),\n country: z.string().describe(\"Country code or name where the check location is situated.\").nullable(),\n locality: z.string().describe(\"City or locality name for the check location.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single check location for Fly.io health checks.\");\nconst FlyListCheckLocations_ListCheckLocationsResponseDataSchema = z.object({\n checkLocations: z.array(FlyListCheckLocations_CheckLocationItemSchema).describe(\"Array of all available check locations for Fly.io health checks.\"),\n}).passthrough().describe(\"Data envelope containing the list of check locations.\");\nexport const FlyListCheckLocationsOutput = z.object({\n data: FlyListCheckLocations_ListCheckLocationsResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response model for the checkLocations GraphQL query.\");\n\nexport const flyListCheckLocations = action(\"FLY_LIST_CHECK_LOCATIONS\", {\n slug: \"fly-list-check-locations\",\n name: \"Check Locations\",\n description: \"Retrieve all available Fly.io health check locations. Returns a comprehensive list of global locations where health checks can be performed, including geographic details and coordinates. Use when you need to determine available monitoring points for setting up health checks.\",\n input: FlyListCheckLocationsInput,\n output: FlyListCheckLocationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE;AACpI,MAAM,gDAAgD,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACjH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CACzH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACpG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AACxF,MAAM,6DAA6D,EAAE,OAAO,EAC1E,gBAAgB,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,kEAAkE,EACpJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAKjF,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyC,EAAE,OAAO,EAClD,MAAM,2DAA2D,SAAS,EAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
@@ -8,9 +8,9 @@ const FlyListMachinesInput = zod.z.object({
8
8
  before: zod.z.string().describe("Cursor for backward pagination - returns machines before this cursor. Use with 'last'.").optional()
9
9
  }).describe("Request parameters for listing machines via GraphQL.");
10
10
  const FlyListMachinesOutput = zod.z.object({
11
- data: zod.z.object({}).describe("GraphQL response data containing the machines query results"),
12
- errors: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("GraphQL errors if any occurred during query execution").optional())
13
- }).describe("Response from the machines GraphQL query.");
11
+ data: zod.z.record(zod.z.string(), zod.z.unknown()).describe("GraphQL response data containing the machines query results"),
12
+ errors: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("GraphQL errors if any occurred during query execution").nullable().optional()
13
+ }).passthrough().describe("Response from the machines GraphQL query.");
14
14
  const flyListMachines = require_action.action("FLY_LIST_MACHINES", {
15
15
  slug: "fly-list-machines",
16
16
  name: "List Machines",
@@ -1 +1 @@
1
- {"version":3,"file":"list-machines.cjs","names":["z","action"],"sources":["../../src/actions/list-machines.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyListMachinesInput = z.object({\n last: z.number().int().describe(\"Returns the last n machines (backward pagination). Cannot be used with 'first'.\").optional(),\n after: z.string().describe(\"Cursor for forward pagination - returns machines after this cursor. Use with 'first'.\").optional(),\n first: z.number().int().describe(\"Returns the first n machines (forward pagination). Cannot be used with 'last'.\").optional(),\n before: z.string().describe(\"Cursor for backward pagination - returns machines before this cursor. Use with 'last'.\").optional(),\n}).describe(\"Request parameters for listing machines via GraphQL.\");\nexport const FlyListMachinesOutput = z.object({\n data: z.object({}).describe(\"GraphQL response data containing the machines query results\"),\n errors: z.preprocess((value) => (value === null ? undefined : value), z.array(z.record(z.string(), z.unknown())).describe(\"GraphQL errors if any occurred during query execution\").optional()),\n}).describe(\"Response from the machines GraphQL query.\");\n\nexport const flyListMachines = action(\"FLY_LIST_MACHINES\", {\n slug: \"fly-list-machines\",\n name: \"List Machines\",\n description: \"Tool to list Fly.io machines using GraphQL API with pagination support. Use when you need to retrieve information about deployed machines including their state, region, and creation time.\",\n input: FlyListMachinesInput,\n output: FlyListMachinesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC5H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAC7H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CAC5H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;AACjI,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D;CACzF,QAAQA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC;AAC/L,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-machines.cjs","names":["z","action"],"sources":["../../src/actions/list-machines.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyListMachinesInput = z.object({\n last: z.number().int().describe(\"Returns the last n machines (backward pagination). Cannot be used with 'first'.\").optional(),\n after: z.string().describe(\"Cursor for forward pagination - returns machines after this cursor. Use with 'first'.\").optional(),\n first: z.number().int().describe(\"Returns the first n machines (forward pagination). Cannot be used with 'last'.\").optional(),\n before: z.string().describe(\"Cursor for backward pagination - returns machines before this cursor. Use with 'last'.\").optional(),\n}).describe(\"Request parameters for listing machines via GraphQL.\");\nexport const FlyListMachinesOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"GraphQL response data containing the machines query results\"),\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"GraphQL errors if any occurred during query execution\").nullable().optional(),\n}).passthrough().describe(\"Response from the machines GraphQL query.\");\n\nexport const flyListMachines = action(\"FLY_LIST_MACHINES\", {\n slug: \"fly-list-machines\",\n name: \"List Machines\",\n description: \"Tool to list Fly.io machines using GraphQL API with pagination support. Use when you need to retrieve information about deployed machines including their state, region, and creation time.\",\n input: FlyListMachinesInput,\n output: FlyListMachinesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC5H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAC7H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CAC5H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;AACjI,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6DAA6D;CAC9G,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -8,18 +8,15 @@ declare const FlyListMachinesInput: z.ZodObject<{
8
8
  before: z.ZodOptional<z.ZodString>;
9
9
  }, z.core.$strip>;
10
10
  declare const FlyListMachinesOutput: z.ZodObject<{
11
- data: z.ZodObject<{}, z.core.$strip>;
12
- errors: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
13
- }, z.core.$strip>;
11
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
12
+ errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
13
+ }, z.core.$loose>;
14
14
  declare const flyListMachines: import("@keystrokehq/action").WorkflowActionDefinition<{
15
15
  last?: number | undefined;
16
16
  after?: string | undefined;
17
17
  first?: number | undefined;
18
18
  before?: string | undefined;
19
- }, {
20
- data: Record<string, never>;
21
- errors?: Record<string, unknown>[] | undefined;
22
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
23
20
  //#endregion
24
21
  export { flyListMachines };
25
22
  //# sourceMappingURL=list-machines.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-machines.d.cts","names":[],"sources":["../../src/actions/list-machines.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;cAMpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;cAKrB,eAAA,gCAAe,wBAAA;;;;;;QAM1B,MAAA;WAAA,MAAA;AAAA"}
1
+ {"version":3,"file":"list-machines.d.cts","names":[],"sources":["../../src/actions/list-machines.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;cAMpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;cAKrB,eAAA,gCAAe,wBAAA"}
@@ -8,18 +8,15 @@ declare const FlyListMachinesInput: z.ZodObject<{
8
8
  before: z.ZodOptional<z.ZodString>;
9
9
  }, z.core.$strip>;
10
10
  declare const FlyListMachinesOutput: z.ZodObject<{
11
- data: z.ZodObject<{}, z.core.$strip>;
12
- errors: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
13
- }, z.core.$strip>;
11
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
12
+ errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
13
+ }, z.core.$loose>;
14
14
  declare const flyListMachines: import("@keystrokehq/action").WorkflowActionDefinition<{
15
15
  last?: number | undefined;
16
16
  after?: string | undefined;
17
17
  first?: number | undefined;
18
18
  before?: string | undefined;
19
- }, {
20
- data: Record<string, never>;
21
- errors?: Record<string, unknown>[] | undefined;
22
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
23
20
  //#endregion
24
21
  export { flyListMachines };
25
22
  //# sourceMappingURL=list-machines.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-machines.d.mts","names":[],"sources":["../../src/actions/list-machines.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;cAMpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;cAKrB,eAAA,gCAAe,wBAAA;;;;;;QAM1B,MAAA;WAAA,MAAA;AAAA"}
1
+ {"version":3,"file":"list-machines.d.mts","names":[],"sources":["../../src/actions/list-machines.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;cAMpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;cAKrB,eAAA,gCAAe,wBAAA"}
@@ -11,9 +11,9 @@ const flyListMachines = action("FLY_LIST_MACHINES", {
11
11
  before: z.string().describe("Cursor for backward pagination - returns machines before this cursor. Use with 'last'.").optional()
12
12
  }).describe("Request parameters for listing machines via GraphQL."),
13
13
  output: z.object({
14
- data: z.object({}).describe("GraphQL response data containing the machines query results"),
15
- errors: z.preprocess((value) => value === null ? void 0 : value, z.array(z.record(z.string(), z.unknown())).describe("GraphQL errors if any occurred during query execution").optional())
16
- }).describe("Response from the machines GraphQL query.")
14
+ data: z.record(z.string(), z.unknown()).describe("GraphQL response data containing the machines query results"),
15
+ errors: z.array(z.record(z.string(), z.unknown())).describe("GraphQL errors if any occurred during query execution").nullable().optional()
16
+ }).passthrough().describe("Response from the machines GraphQL query.")
17
17
  });
18
18
  //#endregion
19
19
  export { flyListMachines };
@@ -1 +1 @@
1
- {"version":3,"file":"list-machines.mjs","names":[],"sources":["../../src/actions/list-machines.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyListMachinesInput = z.object({\n last: z.number().int().describe(\"Returns the last n machines (backward pagination). Cannot be used with 'first'.\").optional(),\n after: z.string().describe(\"Cursor for forward pagination - returns machines after this cursor. Use with 'first'.\").optional(),\n first: z.number().int().describe(\"Returns the first n machines (forward pagination). Cannot be used with 'last'.\").optional(),\n before: z.string().describe(\"Cursor for backward pagination - returns machines before this cursor. Use with 'last'.\").optional(),\n}).describe(\"Request parameters for listing machines via GraphQL.\");\nexport const FlyListMachinesOutput = z.object({\n data: z.object({}).describe(\"GraphQL response data containing the machines query results\"),\n errors: z.preprocess((value) => (value === null ? undefined : value), z.array(z.record(z.string(), z.unknown())).describe(\"GraphQL errors if any occurred during query execution\").optional()),\n}).describe(\"Response from the machines GraphQL query.\");\n\nexport const flyListMachines = action(\"FLY_LIST_MACHINES\", {\n slug: \"fly-list-machines\",\n name: \"List Machines\",\n description: \"Tool to list Fly.io machines using GraphQL API with pagination support. Use when you need to retrieve information about deployed machines including their state, region, and creation time.\",\n input: FlyListMachinesInput,\n output: FlyListMachinesOutput,\n});\n"],"mappings":";;AAeA,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfkC,EAAE,OAAO;EAC3C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EAC5H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;EAC7H,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;EAC5H,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CACjI,CAAC,CAAC,CAAC,SAAS,sDAUH;CACP,QAVmC,EAAE,OAAO;EAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D;EACzF,QAAQ,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC;CAC/L,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-machines.mjs","names":[],"sources":["../../src/actions/list-machines.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyListMachinesInput = z.object({\n last: z.number().int().describe(\"Returns the last n machines (backward pagination). Cannot be used with 'first'.\").optional(),\n after: z.string().describe(\"Cursor for forward pagination - returns machines after this cursor. Use with 'first'.\").optional(),\n first: z.number().int().describe(\"Returns the first n machines (forward pagination). Cannot be used with 'last'.\").optional(),\n before: z.string().describe(\"Cursor for backward pagination - returns machines before this cursor. Use with 'last'.\").optional(),\n}).describe(\"Request parameters for listing machines via GraphQL.\");\nexport const FlyListMachinesOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"GraphQL response data containing the machines query results\"),\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"GraphQL errors if any occurred during query execution\").nullable().optional(),\n}).passthrough().describe(\"Response from the machines GraphQL query.\");\n\nexport const flyListMachines = action(\"FLY_LIST_MACHINES\", {\n slug: \"fly-list-machines\",\n name: \"List Machines\",\n description: \"Tool to list Fly.io machines using GraphQL API with pagination support. Use when you need to retrieve information about deployed machines including their state, region, and creation time.\",\n input: FlyListMachinesInput,\n output: FlyListMachinesOutput,\n});\n"],"mappings":";;AAeA,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfkC,EAAE,OAAO;EAC3C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EAC5H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;EAC7H,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;EAC5H,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CACjI,CAAC,CAAC,CAAC,SAAS,sDAUH;CACP,QAVmC,EAAE,OAAO;EAC5C,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6DAA6D;EAC9G,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
@@ -11,23 +11,23 @@ const FlyListOrgMachinesInput = zod.z.object({
11
11
  include_deleted: zod.z.boolean().describe("Include deleted machines in the response").optional()
12
12
  }).describe("Request model for listing all machines across all apps in an organization.");
13
13
  const FlyListOrgMachines_MachineSchema = zod.z.object({
14
- id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Unique machine identifier").optional()),
15
- name: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Machine name").optional()),
16
- state: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Current state of the machine (created, started, stopped, suspended)").optional()),
17
- app_id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Application ID the machine belongs to").optional()),
18
- region: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Region where the machine is located").optional()),
19
- app_name: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Application name the machine belongs to").optional()),
20
- created_at: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Timestamp when the machine was created").optional()),
21
- private_ip: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Private IP address of the machine").optional()),
22
- updated_at: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Timestamp when the machine was last updated").optional()),
23
- instance_id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Instance identifier").optional())
24
- }).describe("Machine object representing a Fly machine.");
14
+ id: zod.z.string().describe("Unique machine identifier").nullable().optional(),
15
+ name: zod.z.string().describe("Machine name").nullable().optional(),
16
+ state: zod.z.string().describe("Current state of the machine (created, started, stopped, suspended)").nullable().optional(),
17
+ app_id: zod.z.number().int().describe("Application ID the machine belongs to").nullable().optional(),
18
+ region: zod.z.string().describe("Region where the machine is located").nullable().optional(),
19
+ app_name: zod.z.string().describe("Application name the machine belongs to").nullable().optional(),
20
+ created_at: zod.z.string().describe("Timestamp when the machine was created").nullable().optional(),
21
+ private_ip: zod.z.string().describe("Private IP address of the machine").nullable().optional(),
22
+ updated_at: zod.z.string().describe("Timestamp when the machine was last updated").nullable().optional(),
23
+ instance_id: zod.z.string().describe("Instance identifier").nullable().optional()
24
+ }).passthrough().describe("Machine object representing a Fly machine.");
25
25
  const FlyListOrgMachinesOutput = zod.z.object({
26
- machines: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(FlyListOrgMachines_MachineSchema).describe("List of machines in the organization").optional()),
27
- next_cursor: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Cursor for pagination. Use this value in the cursor parameter of the next request to fetch more machines").optional()),
28
- last_machine_id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("ID of the last machine in the current response").optional()),
29
- last_updated_at: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Timestamp of the last updated machine in the current response").optional())
30
- }).describe("Response model for listing organization machines.");
26
+ machines: zod.z.array(FlyListOrgMachines_MachineSchema).describe("List of machines in the organization").nullable().optional(),
27
+ next_cursor: zod.z.string().describe("Cursor for pagination. Use this value in the cursor parameter of the next request to fetch more machines").nullable().optional(),
28
+ last_machine_id: zod.z.string().describe("ID of the last machine in the current response").nullable().optional(),
29
+ last_updated_at: zod.z.string().describe("Timestamp of the last updated machine in the current response").nullable().optional()
30
+ }).passthrough().describe("Response model for listing organization machines.");
31
31
  const flyListOrgMachines = require_action.action("FLY_LIST_ORG_MACHINES", {
32
32
  slug: "fly-list-org-machines",
33
33
  name: "List Organization Machines",
@@ -1 +1 @@
1
- {"version":3,"file":"list-org-machines.cjs","names":["z","action"],"sources":["../../src/actions/list-org-machines.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyListOrgMachinesInput = z.object({\n limit: z.number().int().describe(\"The number of machines to fetch (max of 1000). If omitted, this is set to 500 by default\").optional(),\n state: z.string().describe(\"Comma separated list of states to filter. Valid states: created, started, stopped, suspended\").optional(),\n cursor: z.string().describe(\"Pagination cursor from previous response (takes precedence over updated_after)\").optional(),\n region: z.string().describe(\"Filter machines by region\").optional(),\n org_slug: z.string().describe(\"Fly Organization Slug\"),\n updated_after: z.string().describe(\"Only return machines updated after this time. Timestamp must be in the RFC 3339 format\").optional(),\n include_deleted: z.boolean().describe(\"Include deleted machines in the response\").optional(),\n}).describe(\"Request model for listing all machines across all apps in an organization.\");\nconst FlyListOrgMachines_MachineSchema = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Unique machine identifier\").optional()),\n name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Machine name\").optional()),\n state: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Current state of the machine (created, started, stopped, suspended)\").optional()),\n app_id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Application ID the machine belongs to\").optional()),\n region: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Region where the machine is located\").optional()),\n app_name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Application name the machine belongs to\").optional()),\n created_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp when the machine was created\").optional()),\n private_ip: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Private IP address of the machine\").optional()),\n updated_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp when the machine was last updated\").optional()),\n instance_id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Instance identifier\").optional()),\n}).describe(\"Machine object representing a Fly machine.\");\nexport const FlyListOrgMachinesOutput = z.object({\n machines: z.preprocess((value) => (value === null ? undefined : value), z.array(FlyListOrgMachines_MachineSchema).describe(\"List of machines in the organization\").optional()),\n next_cursor: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Cursor for pagination. Use this value in the cursor parameter of the next request to fetch more machines\").optional()),\n last_machine_id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"ID of the last machine in the current response\").optional()),\n last_updated_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp of the last updated machine in the current response\").optional()),\n}).describe(\"Response model for listing organization machines.\");\n\nexport const flyListOrgMachines = action(\"FLY_LIST_ORG_MACHINES\", {\n slug: \"fly-list-org-machines\",\n name: \"List Organization Machines\",\n description: \"Tool to list all Machines across all apps in a Fly organization. Use when you need to retrieve machines for monitoring, management, or inventory purposes. Supports filtering by region, state, and time ranges with pagination for large result sets.\",\n input: FlyListOrgMachinesInput,\n output: FlyListOrgMachinesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACtI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CACpI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACvH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACrD,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CACtI,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC;CAC7H,MAAMA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC;CAClH,OAAOA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC;CAC1K,QAAQA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC;CACnJ,QAAQA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC;CAC3I,UAAUA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC;CACjJ,YAAYA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC;CAClJ,YAAYA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC;CAC7I,YAAYA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC;CACvJ,aAAaA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC;AAClI,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,UAAUA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC;CAC7K,aAAaA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS,CAAC;CACrN,iBAAiBA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC;CAC/J,iBAAiBA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC;AAChL,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAE/D,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-org-machines.cjs","names":["z","action"],"sources":["../../src/actions/list-org-machines.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyListOrgMachinesInput = z.object({\n limit: z.number().int().describe(\"The number of machines to fetch (max of 1000). If omitted, this is set to 500 by default\").optional(),\n state: z.string().describe(\"Comma separated list of states to filter. Valid states: created, started, stopped, suspended\").optional(),\n cursor: z.string().describe(\"Pagination cursor from previous response (takes precedence over updated_after)\").optional(),\n region: z.string().describe(\"Filter machines by region\").optional(),\n org_slug: z.string().describe(\"Fly Organization Slug\"),\n updated_after: z.string().describe(\"Only return machines updated after this time. Timestamp must be in the RFC 3339 format\").optional(),\n include_deleted: z.boolean().describe(\"Include deleted machines in the response\").optional(),\n}).describe(\"Request model for listing all machines across all apps in an organization.\");\nconst FlyListOrgMachines_MachineSchema = z.object({\n id: z.string().describe(\"Unique machine identifier\").nullable().optional(),\n name: z.string().describe(\"Machine name\").nullable().optional(),\n state: z.string().describe(\"Current state of the machine (created, started, stopped, suspended)\").nullable().optional(),\n app_id: z.number().int().describe(\"Application ID the machine belongs to\").nullable().optional(),\n region: z.string().describe(\"Region where the machine is located\").nullable().optional(),\n app_name: z.string().describe(\"Application name the machine belongs to\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the machine was created\").nullable().optional(),\n private_ip: z.string().describe(\"Private IP address of the machine\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the machine was last updated\").nullable().optional(),\n instance_id: z.string().describe(\"Instance identifier\").nullable().optional(),\n}).passthrough().describe(\"Machine object representing a Fly machine.\");\nexport const FlyListOrgMachinesOutput = z.object({\n machines: z.array(FlyListOrgMachines_MachineSchema).describe(\"List of machines in the organization\").nullable().optional(),\n next_cursor: z.string().describe(\"Cursor for pagination. Use this value in the cursor parameter of the next request to fetch more machines\").nullable().optional(),\n last_machine_id: z.string().describe(\"ID of the last machine in the current response\").nullable().optional(),\n last_updated_at: z.string().describe(\"Timestamp of the last updated machine in the current response\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing organization machines.\");\n\nexport const flyListOrgMachines = action(\"FLY_LIST_ORG_MACHINES\", {\n slug: \"fly-list-org-machines\",\n name: \"List Organization Machines\",\n description: \"Tool to list all Machines across all apps in a Fly organization. Use when you need to retrieve machines for monitoring, management, or inventory purposes. Supports filtering by region, state, and time ranges with pagination for large result sets.\",\n input: FlyListOrgMachinesInput,\n output: FlyListOrgMachinesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACtI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CACpI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACvH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACrD,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CACtI,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,UAAUA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjK,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -11,22 +11,22 @@ declare const FlyListOrgMachinesInput: z.ZodObject<{
11
11
  include_deleted: z.ZodOptional<z.ZodBoolean>;
12
12
  }, z.core.$strip>;
13
13
  declare const FlyListOrgMachinesOutput: z.ZodObject<{
14
- machines: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
15
- id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
16
- name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
17
- state: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
18
- app_id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
19
- region: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
20
- app_name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
21
- created_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
22
- private_ip: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
23
- updated_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
24
- instance_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
25
- }, z.core.$strip>>>>;
26
- next_cursor: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
27
- last_machine_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
28
- last_updated_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
29
- }, z.core.$strip>;
14
+ machines: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
15
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ app_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ app_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ private_ip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ instance_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ }, z.core.$loose>>>>;
26
+ next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ last_machine_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ last_updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ }, z.core.$loose>;
30
30
  declare const flyListOrgMachines: import("@keystrokehq/action").WorkflowActionDefinition<{
31
31
  org_slug: string;
32
32
  limit?: number | undefined;
@@ -35,23 +35,7 @@ declare const flyListOrgMachines: import("@keystrokehq/action").WorkflowActionDe
35
35
  region?: string | undefined;
36
36
  updated_after?: string | undefined;
37
37
  include_deleted?: boolean | undefined;
38
- }, {
39
- machines?: {
40
- id?: string | undefined;
41
- name?: string | undefined;
42
- state?: string | undefined;
43
- app_id?: number | undefined;
44
- region?: string | undefined;
45
- app_name?: string | undefined;
46
- created_at?: string | undefined;
47
- private_ip?: string | undefined;
48
- updated_at?: string | undefined;
49
- instance_id?: string | undefined;
50
- }[] | undefined;
51
- next_cursor?: string | undefined;
52
- last_machine_id?: string | undefined;
53
- last_updated_at?: string | undefined;
54
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
38
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
55
39
  //#endregion
56
40
  export { flyListOrgMachines };
57
41
  //# sourceMappingURL=list-org-machines.d.cts.map
@@ -11,22 +11,22 @@ declare const FlyListOrgMachinesInput: z.ZodObject<{
11
11
  include_deleted: z.ZodOptional<z.ZodBoolean>;
12
12
  }, z.core.$strip>;
13
13
  declare const FlyListOrgMachinesOutput: z.ZodObject<{
14
- machines: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
15
- id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
16
- name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
17
- state: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
18
- app_id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
19
- region: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
20
- app_name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
21
- created_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
22
- private_ip: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
23
- updated_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
24
- instance_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
25
- }, z.core.$strip>>>>;
26
- next_cursor: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
27
- last_machine_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
28
- last_updated_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
29
- }, z.core.$strip>;
14
+ machines: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
15
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ app_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ app_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ private_ip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ instance_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ }, z.core.$loose>>>>;
26
+ next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ last_machine_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ last_updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ }, z.core.$loose>;
30
30
  declare const flyListOrgMachines: import("@keystrokehq/action").WorkflowActionDefinition<{
31
31
  org_slug: string;
32
32
  limit?: number | undefined;
@@ -35,23 +35,7 @@ declare const flyListOrgMachines: import("@keystrokehq/action").WorkflowActionDe
35
35
  region?: string | undefined;
36
36
  updated_after?: string | undefined;
37
37
  include_deleted?: boolean | undefined;
38
- }, {
39
- machines?: {
40
- id?: string | undefined;
41
- name?: string | undefined;
42
- state?: string | undefined;
43
- app_id?: number | undefined;
44
- region?: string | undefined;
45
- app_name?: string | undefined;
46
- created_at?: string | undefined;
47
- private_ip?: string | undefined;
48
- updated_at?: string | undefined;
49
- instance_id?: string | undefined;
50
- }[] | undefined;
51
- next_cursor?: string | undefined;
52
- last_machine_id?: string | undefined;
53
- last_updated_at?: string | undefined;
54
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
38
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
55
39
  //#endregion
56
40
  export { flyListOrgMachines };
57
41
  //# sourceMappingURL=list-org-machines.d.mts.map
@@ -11,28 +11,28 @@ const FlyListOrgMachinesInput = z.object({
11
11
  include_deleted: z.boolean().describe("Include deleted machines in the response").optional()
12
12
  }).describe("Request model for listing all machines across all apps in an organization.");
13
13
  const FlyListOrgMachines_MachineSchema = z.object({
14
- id: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Unique machine identifier").optional()),
15
- name: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Machine name").optional()),
16
- state: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Current state of the machine (created, started, stopped, suspended)").optional()),
17
- app_id: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Application ID the machine belongs to").optional()),
18
- region: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Region where the machine is located").optional()),
19
- app_name: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Application name the machine belongs to").optional()),
20
- created_at: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Timestamp when the machine was created").optional()),
21
- private_ip: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Private IP address of the machine").optional()),
22
- updated_at: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Timestamp when the machine was last updated").optional()),
23
- instance_id: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Instance identifier").optional())
24
- }).describe("Machine object representing a Fly machine.");
14
+ id: z.string().describe("Unique machine identifier").nullable().optional(),
15
+ name: z.string().describe("Machine name").nullable().optional(),
16
+ state: z.string().describe("Current state of the machine (created, started, stopped, suspended)").nullable().optional(),
17
+ app_id: z.number().int().describe("Application ID the machine belongs to").nullable().optional(),
18
+ region: z.string().describe("Region where the machine is located").nullable().optional(),
19
+ app_name: z.string().describe("Application name the machine belongs to").nullable().optional(),
20
+ created_at: z.string().describe("Timestamp when the machine was created").nullable().optional(),
21
+ private_ip: z.string().describe("Private IP address of the machine").nullable().optional(),
22
+ updated_at: z.string().describe("Timestamp when the machine was last updated").nullable().optional(),
23
+ instance_id: z.string().describe("Instance identifier").nullable().optional()
24
+ }).passthrough().describe("Machine object representing a Fly machine.");
25
25
  const flyListOrgMachines = action("FLY_LIST_ORG_MACHINES", {
26
26
  slug: "fly-list-org-machines",
27
27
  name: "List Organization Machines",
28
28
  description: "Tool to list all Machines across all apps in a Fly organization. Use when you need to retrieve machines for monitoring, management, or inventory purposes. Supports filtering by region, state, and time ranges with pagination for large result sets.",
29
29
  input: FlyListOrgMachinesInput,
30
30
  output: z.object({
31
- machines: z.preprocess((value) => value === null ? void 0 : value, z.array(FlyListOrgMachines_MachineSchema).describe("List of machines in the organization").optional()),
32
- next_cursor: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Cursor for pagination. Use this value in the cursor parameter of the next request to fetch more machines").optional()),
33
- last_machine_id: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("ID of the last machine in the current response").optional()),
34
- last_updated_at: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Timestamp of the last updated machine in the current response").optional())
35
- }).describe("Response model for listing organization machines.")
31
+ machines: z.array(FlyListOrgMachines_MachineSchema).describe("List of machines in the organization").nullable().optional(),
32
+ next_cursor: z.string().describe("Cursor for pagination. Use this value in the cursor parameter of the next request to fetch more machines").nullable().optional(),
33
+ last_machine_id: z.string().describe("ID of the last machine in the current response").nullable().optional(),
34
+ last_updated_at: z.string().describe("Timestamp of the last updated machine in the current response").nullable().optional()
35
+ }).passthrough().describe("Response model for listing organization machines.")
36
36
  });
37
37
  //#endregion
38
38
  export { flyListOrgMachines };