@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
@@ -3,24 +3,24 @@ let zod = require("zod");
3
3
  //#region src/actions/get-platform-info.ts
4
4
  const FlyGetPlatformInfoInput = zod.z.object({}).describe("Request parameters for retrieving Fly.io platform information.");
5
5
  const FlyGetPlatformInfo_FlyctlReleaseSchema = zod.z.object({
6
- version: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("The version string of the latest flyctl release.").optional()),
7
- timestamp: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("ISO8601 timestamp of the flyctl release.").optional())
8
- }).describe("Latest flyctl release information.");
6
+ version: zod.z.string().describe("The version string of the latest flyctl release.").nullable().optional(),
7
+ timestamp: zod.z.string().describe("ISO8601 timestamp of the flyctl release.").nullable().optional()
8
+ }).passthrough().describe("Latest flyctl release information.");
9
9
  const FlyGetPlatformInfo_RegionSchema = zod.z.object({
10
- code: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Short code identifier for the region (e.g., 'iad', 'lhr').").optional()),
11
- name: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Human-readable name of the region.").optional())
12
- }).describe("Fly.io geographic region information.");
10
+ code: zod.z.string().describe("Short code identifier for the region (e.g., 'iad', 'lhr').").nullable().optional(),
11
+ name: zod.z.string().describe("Human-readable name of the region.").nullable().optional()
12
+ }).passthrough().describe("Fly.io geographic region information.");
13
13
  const FlyGetPlatformInfo_VMSizeSchema = zod.z.object({
14
- name: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Name of the VM size configuration.").optional()),
15
- cpuCores: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Number of CPU cores allocated to this VM size.").optional()),
16
- memoryGb: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().describe("Amount of memory in gigabytes allocated to this VM size.").optional())
17
- }).describe("Virtual machine size configuration.");
14
+ name: zod.z.string().describe("Name of the VM size configuration.").nullable().optional(),
15
+ cpuCores: zod.z.number().int().describe("Number of CPU cores allocated to this VM size.").nullable().optional(),
16
+ memoryGb: zod.z.number().describe("Amount of memory in gigabytes allocated to this VM size.").nullable().optional()
17
+ }).passthrough().describe("Virtual machine size configuration.");
18
18
  const FlyGetPlatformInfoOutput = zod.z.object({
19
- flyctl: zod.z.preprocess((value) => value === null ? void 0 : value, FlyGetPlatformInfo_FlyctlReleaseSchema.optional()),
20
- regions: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(FlyGetPlatformInfo_RegionSchema).describe("List of all available Fly.io global regions.").optional()),
21
- vmSizes: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(FlyGetPlatformInfo_VMSizeSchema).describe("List of available virtual machine sizes and their configurations.").optional()),
22
- requestRegion: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("The region code from which the current request originated.").optional())
23
- }).describe("Response containing Fly.io platform information.");
19
+ flyctl: FlyGetPlatformInfo_FlyctlReleaseSchema.nullable().optional(),
20
+ regions: zod.z.array(FlyGetPlatformInfo_RegionSchema).describe("List of all available Fly.io global regions.").nullable().optional(),
21
+ vmSizes: zod.z.array(FlyGetPlatformInfo_VMSizeSchema).describe("List of available virtual machine sizes and their configurations.").nullable().optional(),
22
+ requestRegion: zod.z.string().describe("The region code from which the current request originated.").nullable().optional()
23
+ }).passthrough().describe("Response containing Fly.io platform information.");
24
24
  const flyGetPlatformInfo = require_action.action("FLY_GET_PLATFORM_INFO", {
25
25
  slug: "fly-get-platform-info",
26
26
  name: "Get Platform Information",
@@ -1 +1 @@
1
- {"version":3,"file":"get-platform-info.cjs","names":["z","action"],"sources":["../../src/actions/get-platform-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetPlatformInfoInput = z.object({}).describe(\"Request parameters for retrieving Fly.io platform information.\");\nconst FlyGetPlatformInfo_FlyctlReleaseSchema = z.object({\n version: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The version string of the latest flyctl release.\").optional()),\n timestamp: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"ISO8601 timestamp of the flyctl release.\").optional()),\n}).describe(\"Latest flyctl release information.\");\nconst FlyGetPlatformInfo_RegionSchema = z.object({\n code: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Short code identifier for the region (e.g., 'iad', 'lhr').\").optional()),\n name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Human-readable name of the region.\").optional()),\n}).describe(\"Fly.io geographic region information.\");\nconst FlyGetPlatformInfo_VMSizeSchema = z.object({\n name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Name of the VM size configuration.\").optional()),\n cpuCores: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Number of CPU cores allocated to this VM size.\").optional()),\n memoryGb: z.preprocess((value) => (value === null ? undefined : value), z.number().describe(\"Amount of memory in gigabytes allocated to this VM size.\").optional()),\n}).describe(\"Virtual machine size configuration.\");\nexport const FlyGetPlatformInfoOutput = z.object({\n flyctl: z.preprocess((value) => (value === null ? undefined : value), FlyGetPlatformInfo_FlyctlReleaseSchema.optional()),\n regions: z.preprocess((value) => (value === null ? undefined : value), z.array(FlyGetPlatformInfo_RegionSchema).describe(\"List of all available Fly.io global regions.\").optional()),\n vmSizes: z.preprocess((value) => (value === null ? undefined : value), z.array(FlyGetPlatformInfo_VMSizeSchema).describe(\"List of available virtual machine sizes and their configurations.\").optional()),\n requestRegion: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The region code from which the current request originated.\").optional()),\n}).describe(\"Response containing Fly.io platform information.\");\n\nexport const flyGetPlatformInfo = action(\"FLY_GET_PLATFORM_INFO\", {\n slug: \"fly-get-platform-info\",\n name: \"Get Platform Information\",\n description: \"Tool to retrieve Fly.io platform information including available regions, VM sizes, and flyctl version. Use when you need infrastructure-level details about the Fly.io platform.\",\n input: FlyGetPlatformInfoInput,\n output: FlyGetPlatformInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,O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,qCAAqC;AACjD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,QAAQA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,uCAAuC,SAAS,CAAC;CACvH,SAASA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC;CACnL,SAASA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC;CACxM,eAAeA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC;AAC3K,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-platform-info.cjs","names":["z","action"],"sources":["../../src/actions/get-platform-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetPlatformInfoInput = z.object({}).describe(\"Request parameters for retrieving Fly.io platform information.\");\nconst FlyGetPlatformInfo_FlyctlReleaseSchema = z.object({\n version: z.string().describe(\"The version string of the latest flyctl release.\").nullable().optional(),\n timestamp: z.string().describe(\"ISO8601 timestamp of the flyctl release.\").nullable().optional(),\n}).passthrough().describe(\"Latest flyctl release information.\");\nconst FlyGetPlatformInfo_RegionSchema = z.object({\n code: z.string().describe(\"Short code identifier for the region (e.g., 'iad', 'lhr').\").nullable().optional(),\n name: z.string().describe(\"Human-readable name of the region.\").nullable().optional(),\n}).passthrough().describe(\"Fly.io geographic region information.\");\nconst FlyGetPlatformInfo_VMSizeSchema = z.object({\n name: z.string().describe(\"Name of the VM size configuration.\").nullable().optional(),\n cpuCores: z.number().int().describe(\"Number of CPU cores allocated to this VM size.\").nullable().optional(),\n memoryGb: z.number().describe(\"Amount of memory in gigabytes allocated to this VM size.\").nullable().optional(),\n}).passthrough().describe(\"Virtual machine size configuration.\");\nexport const FlyGetPlatformInfoOutput = z.object({\n flyctl: FlyGetPlatformInfo_FlyctlReleaseSchema.nullable().optional(),\n regions: z.array(FlyGetPlatformInfo_RegionSchema).describe(\"List of all available Fly.io global regions.\").nullable().optional(),\n vmSizes: z.array(FlyGetPlatformInfo_VMSizeSchema).describe(\"List of available virtual machine sizes and their configurations.\").nullable().optional(),\n requestRegion: z.string().describe(\"The region code from which the current request originated.\").nullable().optional(),\n}).passthrough().describe(\"Response containing Fly.io platform information.\");\n\nexport const flyGetPlatformInfo = action(\"FLY_GET_PLATFORM_INFO\", {\n slug: \"fly-get-platform-info\",\n name: \"Get Platform Information\",\n description: \"Tool to retrieve Fly.io platform information including available regions, VM sizes, and flyctl version. Use when you need infrastructure-level details about the Fly.io platform.\",\n input: FlyGetPlatformInfoInput,\n output: FlyGetPlatformInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC7H,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAC9D,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS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Object<{}, z.core.$strip>;
5
5
  declare const FlyGetPlatformInfoOutput: z.ZodObject<{
6
- flyctl: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
7
- version: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
8
- timestamp: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
9
- }, z.core.$strip>>>;
10
- regions: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
11
- code: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
12
- name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
13
- }, z.core.$strip>>>>;
14
- vmSizes: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
15
- name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
16
- cpuCores: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
17
- memoryGb: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
18
- }, z.core.$strip>>>>;
19
- requestRegion: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
20
- }, z.core.$strip>;
21
- declare const flyGetPlatformInfo: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, {
22
- flyctl?: {
23
- version?: string | undefined;
24
- timestamp?: string | undefined;
25
- } | undefined;
26
- regions?: {
27
- code?: string | undefined;
28
- name?: string | undefined;
29
- }[] | undefined;
30
- vmSizes?: {
31
- name?: string | undefined;
32
- cpuCores?: number | undefined;
33
- memoryGb?: number | undefined;
34
- }[] | undefined;
35
- requestRegion?: string | undefined;
36
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
6
+ flyctl: z.ZodOptional<z.ZodNullable<z.ZodObject<{
7
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
+ timestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ }, z.core.$loose>>>;
10
+ regions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
11
+ code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ }, z.core.$loose>>>>;
14
+ vmSizes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
15
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ cpuCores: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
+ memoryGb: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
+ }, z.core.$loose>>>>;
19
+ requestRegion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ }, z.core.$loose>;
21
+ declare const flyGetPlatformInfo: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
37
22
  //#endregion
38
23
  export { flyGetPlatformInfo };
39
24
  //# sourceMappingURL=get-platform-info.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-platform-info.d.cts","names":[],"sources":["../../src/actions/get-platform-info.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAcvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAOxB,kBAAA,gCAAkB,wBAAA,CAAA,MAAA"}
1
+ {"version":3,"file":"get-platform-info.d.cts","names":[],"sources":["../../src/actions/get-platform-info.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAcvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAOxB,kBAAA,gCAAkB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -3,37 +3,22 @@ import { z } from "zod";
3
3
  //#region src/actions/get-platform-info.d.ts
4
4
  declare const FlyGetPlatformInfoInput: z.ZodObject<{}, z.core.$strip>;
5
5
  declare const FlyGetPlatformInfoOutput: z.ZodObject<{
6
- flyctl: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
7
- version: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
8
- timestamp: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
9
- }, z.core.$strip>>>;
10
- regions: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
11
- code: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
12
- name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
13
- }, z.core.$strip>>>>;
14
- vmSizes: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
15
- name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
16
- cpuCores: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
17
- memoryGb: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
18
- }, z.core.$strip>>>>;
19
- requestRegion: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
20
- }, z.core.$strip>;
21
- declare const flyGetPlatformInfo: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, {
22
- flyctl?: {
23
- version?: string | undefined;
24
- timestamp?: string | undefined;
25
- } | undefined;
26
- regions?: {
27
- code?: string | undefined;
28
- name?: string | undefined;
29
- }[] | undefined;
30
- vmSizes?: {
31
- name?: string | undefined;
32
- cpuCores?: number | undefined;
33
- memoryGb?: number | undefined;
34
- }[] | undefined;
35
- requestRegion?: string | undefined;
36
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
6
+ flyctl: z.ZodOptional<z.ZodNullable<z.ZodObject<{
7
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
+ timestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ }, z.core.$loose>>>;
10
+ regions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
11
+ code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ }, z.core.$loose>>>>;
14
+ vmSizes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
15
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ cpuCores: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
+ memoryGb: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
+ }, z.core.$loose>>>>;
19
+ requestRegion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ }, z.core.$loose>;
21
+ declare const flyGetPlatformInfo: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
37
22
  //#endregion
38
23
  export { flyGetPlatformInfo };
39
24
  //# sourceMappingURL=get-platform-info.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-platform-info.d.mts","names":[],"sources":["../../src/actions/get-platform-info.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAcvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAOxB,kBAAA,gCAAkB,wBAAA,CAAA,MAAA"}
1
+ {"version":3,"file":"get-platform-info.d.mts","names":[],"sources":["../../src/actions/get-platform-info.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAcvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAOxB,kBAAA,gCAAkB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -3,29 +3,29 @@ import { z } from "zod";
3
3
  //#region src/actions/get-platform-info.ts
4
4
  const FlyGetPlatformInfoInput = z.object({}).describe("Request parameters for retrieving Fly.io platform information.");
5
5
  const FlyGetPlatformInfo_FlyctlReleaseSchema = z.object({
6
- version: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("The version string of the latest flyctl release.").optional()),
7
- timestamp: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("ISO8601 timestamp of the flyctl release.").optional())
8
- }).describe("Latest flyctl release information.");
6
+ version: z.string().describe("The version string of the latest flyctl release.").nullable().optional(),
7
+ timestamp: z.string().describe("ISO8601 timestamp of the flyctl release.").nullable().optional()
8
+ }).passthrough().describe("Latest flyctl release information.");
9
9
  const FlyGetPlatformInfo_RegionSchema = z.object({
10
- code: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Short code identifier for the region (e.g., 'iad', 'lhr').").optional()),
11
- name: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Human-readable name of the region.").optional())
12
- }).describe("Fly.io geographic region information.");
10
+ code: z.string().describe("Short code identifier for the region (e.g., 'iad', 'lhr').").nullable().optional(),
11
+ name: z.string().describe("Human-readable name of the region.").nullable().optional()
12
+ }).passthrough().describe("Fly.io geographic region information.");
13
13
  const FlyGetPlatformInfo_VMSizeSchema = z.object({
14
- name: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Name of the VM size configuration.").optional()),
15
- cpuCores: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Number of CPU cores allocated to this VM size.").optional()),
16
- memoryGb: z.preprocess((value) => value === null ? void 0 : value, z.number().describe("Amount of memory in gigabytes allocated to this VM size.").optional())
17
- }).describe("Virtual machine size configuration.");
14
+ name: z.string().describe("Name of the VM size configuration.").nullable().optional(),
15
+ cpuCores: z.number().int().describe("Number of CPU cores allocated to this VM size.").nullable().optional(),
16
+ memoryGb: z.number().describe("Amount of memory in gigabytes allocated to this VM size.").nullable().optional()
17
+ }).passthrough().describe("Virtual machine size configuration.");
18
18
  const flyGetPlatformInfo = action("FLY_GET_PLATFORM_INFO", {
19
19
  slug: "fly-get-platform-info",
20
20
  name: "Get Platform Information",
21
21
  description: "Tool to retrieve Fly.io platform information including available regions, VM sizes, and flyctl version. Use when you need infrastructure-level details about the Fly.io platform.",
22
22
  input: FlyGetPlatformInfoInput,
23
23
  output: z.object({
24
- flyctl: z.preprocess((value) => value === null ? void 0 : value, FlyGetPlatformInfo_FlyctlReleaseSchema.optional()),
25
- regions: z.preprocess((value) => value === null ? void 0 : value, z.array(FlyGetPlatformInfo_RegionSchema).describe("List of all available Fly.io global regions.").optional()),
26
- vmSizes: z.preprocess((value) => value === null ? void 0 : value, z.array(FlyGetPlatformInfo_VMSizeSchema).describe("List of available virtual machine sizes and their configurations.").optional()),
27
- requestRegion: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("The region code from which the current request originated.").optional())
28
- }).describe("Response containing Fly.io platform information.")
24
+ flyctl: FlyGetPlatformInfo_FlyctlReleaseSchema.nullable().optional(),
25
+ regions: z.array(FlyGetPlatformInfo_RegionSchema).describe("List of all available Fly.io global regions.").nullable().optional(),
26
+ vmSizes: z.array(FlyGetPlatformInfo_VMSizeSchema).describe("List of available virtual machine sizes and their configurations.").nullable().optional(),
27
+ requestRegion: z.string().describe("The region code from which the current request originated.").nullable().optional()
28
+ }).passthrough().describe("Response containing Fly.io platform information.")
29
29
  });
30
30
  //#endregion
31
31
  export { flyGetPlatformInfo };
@@ -1 +1 @@
1
- {"version":3,"file":"get-platform-info.mjs","names":[],"sources":["../../src/actions/get-platform-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetPlatformInfoInput = z.object({}).describe(\"Request parameters for retrieving Fly.io platform information.\");\nconst FlyGetPlatformInfo_FlyctlReleaseSchema = z.object({\n version: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The version string of the latest flyctl release.\").optional()),\n timestamp: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"ISO8601 timestamp of the flyctl release.\").optional()),\n}).describe(\"Latest flyctl release information.\");\nconst FlyGetPlatformInfo_RegionSchema = z.object({\n code: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Short code identifier for the region (e.g., 'iad', 'lhr').\").optional()),\n name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Human-readable name of the region.\").optional()),\n}).describe(\"Fly.io geographic region information.\");\nconst FlyGetPlatformInfo_VMSizeSchema = z.object({\n name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Name of the VM size configuration.\").optional()),\n cpuCores: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Number of CPU cores allocated to this VM size.\").optional()),\n memoryGb: z.preprocess((value) => (value === null ? undefined : value), z.number().describe(\"Amount of memory in gigabytes allocated to this VM size.\").optional()),\n}).describe(\"Virtual machine size configuration.\");\nexport const FlyGetPlatformInfoOutput = z.object({\n flyctl: z.preprocess((value) => (value === null ? undefined : value), FlyGetPlatformInfo_FlyctlReleaseSchema.optional()),\n regions: z.preprocess((value) => (value === null ? undefined : value), z.array(FlyGetPlatformInfo_RegionSchema).describe(\"List of all available Fly.io global regions.\").optional()),\n vmSizes: z.preprocess((value) => (value === null ? undefined : value), z.array(FlyGetPlatformInfo_VMSizeSchema).describe(\"List of available virtual machine sizes and their configurations.\").optional()),\n requestRegion: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The region code from which the current request originated.\").optional()),\n}).describe(\"Response containing Fly.io platform information.\");\n\nexport const flyGetPlatformInfo = action(\"FLY_GET_PLATFORM_INFO\", {\n slug: \"fly-get-platform-info\",\n name: \"Get Platform Information\",\n description: \"Tool to retrieve Fly.io platform information including available regions, VM sizes, and flyctl version. Use when you need infrastructure-level details about the Fly.io platform.\",\n input: FlyGetPlatformInfoInput,\n output: FlyGetPlatformInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gEAAgE;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uC,SAAS,CAAC;EACvH,SAAS,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC;EACnL,SAAS,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC;EACxM,eAAe,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC;CAC3K,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-platform-info.mjs","names":[],"sources":["../../src/actions/get-platform-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetPlatformInfoInput = z.object({}).describe(\"Request parameters for retrieving Fly.io platform information.\");\nconst FlyGetPlatformInfo_FlyctlReleaseSchema = z.object({\n version: z.string().describe(\"The version string of the latest flyctl release.\").nullable().optional(),\n timestamp: z.string().describe(\"ISO8601 timestamp of the flyctl release.\").nullable().optional(),\n}).passthrough().describe(\"Latest flyctl release information.\");\nconst FlyGetPlatformInfo_RegionSchema = z.object({\n code: z.string().describe(\"Short code identifier for the region (e.g., 'iad', 'lhr').\").nullable().optional(),\n name: z.string().describe(\"Human-readable name of the region.\").nullable().optional(),\n}).passthrough().describe(\"Fly.io geographic region information.\");\nconst FlyGetPlatformInfo_VMSizeSchema = z.object({\n name: z.string().describe(\"Name of the VM size configuration.\").nullable().optional(),\n cpuCores: z.number().int().describe(\"Number of CPU cores allocated to this VM size.\").nullable().optional(),\n memoryGb: z.number().describe(\"Amount of memory in gigabytes allocated to this VM size.\").nullable().optional(),\n}).passthrough().describe(\"Virtual machine size configuration.\");\nexport const FlyGetPlatformInfoOutput = z.object({\n flyctl: FlyGetPlatformInfo_FlyctlReleaseSchema.nullable().optional(),\n regions: z.array(FlyGetPlatformInfo_RegionSchema).describe(\"List of all available Fly.io global regions.\").nullable().optional(),\n vmSizes: z.array(FlyGetPlatformInfo_VMSizeSchema).describe(\"List of available virtual machine sizes and their configurations.\").nullable().optional(),\n requestRegion: z.string().describe(\"The region code from which the current request originated.\").nullable().optional(),\n}).passthrough().describe(\"Response containing Fly.io platform information.\");\n\nexport const flyGetPlatformInfo = action(\"FLY_GET_PLATFORM_INFO\", {\n slug: \"fly-get-platform-info\",\n name: \"Get Platform Information\",\n description: \"Tool to retrieve Fly.io platform information including available regions, VM sizes, and flyctl version. Use when you need infrastructure-level details about the Fly.io platform.\",\n input: FlyGetPlatformInfoInput,\n output: FlyGetPlatformInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC7H,MAAM,yCAAyC,EAAE,OAAO;CACtD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAC9D,MAAM,kCAAkC,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAM,kCAAkC,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAQ/D,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZsC,EAAE,OAAO;EAC/C,QAAQ,uCAAuC,SAAS,CAAC,CAAC,SAAS;EACnE,SAAS,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/H,SAAS,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpJ,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
@@ -3,16 +3,16 @@ let zod = require("zod");
3
3
  //#region src/actions/get-products.ts
4
4
  const FlyGetProductsInput = zod.z.object({}).describe("Request parameters for retrieving Fly.io product and pricing information.");
5
5
  const FlyGetProducts_PriceTierSchema = zod.z.object({
6
- upTo: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("The maximum quantity limit for this pricing tier. null means unlimited.").optional()),
7
- unitAmount: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("The price per unit in cents for this tier.").optional())
8
- }).describe("Represents a pricing tier with unit amount and quantity limit.");
6
+ upTo: zod.z.number().int().describe("The maximum quantity limit for this pricing tier. null means unlimited.").nullable().optional(),
7
+ unitAmount: zod.z.number().int().describe("The price per unit in cents for this tier.").nullable().optional()
8
+ }).passthrough().describe("Represents a pricing tier with unit amount and quantity limit.");
9
9
  const FlyGetProducts_ProductSchema = zod.z.object({
10
- name: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("The name of the product.").optional()),
11
- type: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("The type or category of the product.").optional()),
12
- tiers: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(FlyGetProducts_PriceTierSchema).describe("List of pricing tiers for this product. Each tier defines a price per unit and optional quantity limit.").optional()),
13
- unitLabel: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("The unit label for the product (e.g., 'GB', 'hour', 'request').").optional())
14
- }).describe("Represents a Fly.io product with pricing information.");
15
- const FlyGetProductsOutput = zod.z.object({ products: zod.z.array(FlyGetProducts_ProductSchema).describe("List of products with their pricing tiers.") }).describe("Response containing Fly.io product and pricing information.");
10
+ name: zod.z.string().describe("The name of the product.").nullable().optional(),
11
+ type: zod.z.string().describe("The type or category of the product.").nullable().optional(),
12
+ tiers: zod.z.array(FlyGetProducts_PriceTierSchema).describe("List of pricing tiers for this product. Each tier defines a price per unit and optional quantity limit.").nullable().optional(),
13
+ unitLabel: zod.z.string().describe("The unit label for the product (e.g., 'GB', 'hour', 'request').").nullable().optional()
14
+ }).passthrough().describe("Represents a Fly.io product with pricing information.");
15
+ const FlyGetProductsOutput = zod.z.object({ products: zod.z.array(FlyGetProducts_ProductSchema).describe("List of products with their pricing tiers.") }).passthrough().describe("Response containing Fly.io product and pricing information.");
16
16
  const flyGetProducts = require_action.action("FLY_GET_PRODUCTS", {
17
17
  slug: "fly-get-products",
18
18
  name: "Get Products and Pricing",
@@ -1 +1 @@
1
- {"version":3,"file":"get-products.cjs","names":["z","action"],"sources":["../../src/actions/get-products.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetProductsInput = z.object({}).describe(\"Request parameters for retrieving Fly.io product and pricing information.\");\nconst FlyGetProducts_PriceTierSchema = z.object({\n upTo: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"The maximum quantity limit for this pricing tier. null means unlimited.\").optional()),\n unitAmount: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"The price per unit in cents for this tier.\").optional()),\n}).describe(\"Represents a pricing tier with unit amount and quantity limit.\");\nconst FlyGetProducts_ProductSchema = z.object({\n name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The name of the product.\").optional()),\n type: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The type or category of the product.\").optional()),\n tiers: z.preprocess((value) => (value === null ? undefined : value), z.array(FlyGetProducts_PriceTierSchema).describe(\"List of pricing tiers for this product. Each tier defines a price per unit and optional quantity limit.\").optional()),\n unitLabel: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The unit label for the product (e.g., 'GB', 'hour', 'request').\").optional()),\n}).describe(\"Represents a Fly.io product with pricing information.\");\nexport const FlyGetProductsOutput = z.object({\n products: z.array(FlyGetProducts_ProductSchema).describe(\"List of products with their pricing tiers.\"),\n}).describe(\"Response containing Fly.io product and pricing information.\");\n\nexport const flyGetProducts = action(\"FLY_GET_PRODUCTS\", {\n slug: \"fly-get-products\",\n name: \"Get Products and Pricing\",\n description: \"Tool to retrieve Fly.io product and price information via GraphQL. Use when you need to fetch product catalog, pricing tiers, or billing information.\",\n input: FlyGetProductsInput,\n output: FlyGetProductsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACpI,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC;CACnL,YAAYA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC;AAC9J,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,+BAA+BA,IAAAA,EAAE,OAAO;CAC5C,MAAMA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC;CAC9H,MAAMA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC;CAC1I,OAAOA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS,CAAC;CAC3O,WAAWA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC;AAC5K,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,UAAUA,IAAAA,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,4CAA4C,EACvG,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAEzE,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-products.cjs","names":["z","action"],"sources":["../../src/actions/get-products.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetProductsInput = z.object({}).describe(\"Request parameters for retrieving Fly.io product and pricing information.\");\nconst FlyGetProducts_PriceTierSchema = z.object({\n upTo: z.number().int().describe(\"The maximum quantity limit for this pricing tier. null means unlimited.\").nullable().optional(),\n unitAmount: z.number().int().describe(\"The price per unit in cents for this tier.\").nullable().optional(),\n}).passthrough().describe(\"Represents a pricing tier with unit amount and quantity limit.\");\nconst FlyGetProducts_ProductSchema = z.object({\n name: z.string().describe(\"The name of the product.\").nullable().optional(),\n type: z.string().describe(\"The type or category of the product.\").nullable().optional(),\n tiers: z.array(FlyGetProducts_PriceTierSchema).describe(\"List of pricing tiers for this product. Each tier defines a price per unit and optional quantity limit.\").nullable().optional(),\n unitLabel: z.string().describe(\"The unit label for the product (e.g., 'GB', 'hour', 'request').\").nullable().optional(),\n}).passthrough().describe(\"Represents a Fly.io product with pricing information.\");\nexport const FlyGetProductsOutput = z.object({\n products: z.array(FlyGetProducts_ProductSchema).describe(\"List of products with their pricing tiers.\"),\n}).passthrough().describe(\"Response containing Fly.io product and pricing information.\");\n\nexport const flyGetProducts = action(\"FLY_GET_PRODUCTS\", {\n slug: \"fly-get-products\",\n name: \"Get Products and Pricing\",\n description: \"Tool to retrieve Fly.io product and price information via GraphQL. Use when you need to fetch product catalog, pricing tiers, or billing information.\",\n input: FlyGetProductsInput,\n output: FlyGetProductsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACpI,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAC1F,MAAM,+BAA+BA,IAAAA,EAAE,OAAO;CAC5C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,OAAOA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvL,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AACjF,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,UAAUA,IAAAA,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,4CAA4C,EACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAEvF,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -4,26 +4,16 @@ import { z } from "zod";
4
4
  declare const FlyGetProductsInput: z.ZodObject<{}, z.core.$strip>;
5
5
  declare const FlyGetProductsOutput: z.ZodObject<{
6
6
  products: z.ZodArray<z.ZodObject<{
7
- name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
8
- type: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
9
- tiers: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
10
- upTo: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
11
- unitAmount: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
12
- }, z.core.$strip>>>>;
13
- unitLabel: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
14
- }, z.core.$strip>>;
15
- }, z.core.$strip>;
16
- declare const flyGetProducts: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, {
17
- products: {
18
- name?: string | undefined;
19
- type?: string | undefined;
20
- tiers?: {
21
- upTo?: number | undefined;
22
- unitAmount?: number | undefined;
23
- }[] | undefined;
24
- unitLabel?: string | undefined;
25
- }[];
26
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ tiers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
10
+ upTo: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
+ unitAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
+ }, z.core.$loose>>>>;
13
+ unitLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ }, z.core.$loose>>;
15
+ }, z.core.$loose>;
16
+ declare const flyGetProducts: 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 { flyGetProducts };
29
19
  //# sourceMappingURL=get-products.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-products.d.cts","names":[],"sources":["../../src/actions/get-products.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAWnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;cAIpB,cAAA,gCAAc,wBAAA,CAAA,MAAA"}
1
+ {"version":3,"file":"get-products.d.cts","names":[],"sources":["../../src/actions/get-products.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAWnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;cAIpB,cAAA,gCAAc,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -4,26 +4,16 @@ import { z } from "zod";
4
4
  declare const FlyGetProductsInput: z.ZodObject<{}, z.core.$strip>;
5
5
  declare const FlyGetProductsOutput: z.ZodObject<{
6
6
  products: z.ZodArray<z.ZodObject<{
7
- name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
8
- type: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
9
- tiers: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
10
- upTo: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
11
- unitAmount: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
12
- }, z.core.$strip>>>>;
13
- unitLabel: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
14
- }, z.core.$strip>>;
15
- }, z.core.$strip>;
16
- declare const flyGetProducts: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, {
17
- products: {
18
- name?: string | undefined;
19
- type?: string | undefined;
20
- tiers?: {
21
- upTo?: number | undefined;
22
- unitAmount?: number | undefined;
23
- }[] | undefined;
24
- unitLabel?: string | undefined;
25
- }[];
26
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ tiers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
10
+ upTo: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
+ unitAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
+ }, z.core.$loose>>>>;
13
+ unitLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ }, z.core.$loose>>;
15
+ }, z.core.$loose>;
16
+ declare const flyGetProducts: 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 { flyGetProducts };
29
19
  //# sourceMappingURL=get-products.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-products.d.mts","names":[],"sources":["../../src/actions/get-products.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAWnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;cAIpB,cAAA,gCAAc,wBAAA,CAAA,MAAA"}
1
+ {"version":3,"file":"get-products.d.mts","names":[],"sources":["../../src/actions/get-products.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAWnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;cAIpB,cAAA,gCAAc,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -3,21 +3,21 @@ import { z } from "zod";
3
3
  //#region src/actions/get-products.ts
4
4
  const FlyGetProductsInput = z.object({}).describe("Request parameters for retrieving Fly.io product and pricing information.");
5
5
  const FlyGetProducts_PriceTierSchema = z.object({
6
- upTo: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("The maximum quantity limit for this pricing tier. null means unlimited.").optional()),
7
- unitAmount: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("The price per unit in cents for this tier.").optional())
8
- }).describe("Represents a pricing tier with unit amount and quantity limit.");
6
+ upTo: z.number().int().describe("The maximum quantity limit for this pricing tier. null means unlimited.").nullable().optional(),
7
+ unitAmount: z.number().int().describe("The price per unit in cents for this tier.").nullable().optional()
8
+ }).passthrough().describe("Represents a pricing tier with unit amount and quantity limit.");
9
9
  const FlyGetProducts_ProductSchema = z.object({
10
- name: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("The name of the product.").optional()),
11
- type: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("The type or category of the product.").optional()),
12
- tiers: z.preprocess((value) => value === null ? void 0 : value, z.array(FlyGetProducts_PriceTierSchema).describe("List of pricing tiers for this product. Each tier defines a price per unit and optional quantity limit.").optional()),
13
- unitLabel: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("The unit label for the product (e.g., 'GB', 'hour', 'request').").optional())
14
- }).describe("Represents a Fly.io product with pricing information.");
10
+ name: z.string().describe("The name of the product.").nullable().optional(),
11
+ type: z.string().describe("The type or category of the product.").nullable().optional(),
12
+ tiers: z.array(FlyGetProducts_PriceTierSchema).describe("List of pricing tiers for this product. Each tier defines a price per unit and optional quantity limit.").nullable().optional(),
13
+ unitLabel: z.string().describe("The unit label for the product (e.g., 'GB', 'hour', 'request').").nullable().optional()
14
+ }).passthrough().describe("Represents a Fly.io product with pricing information.");
15
15
  const flyGetProducts = action("FLY_GET_PRODUCTS", {
16
16
  slug: "fly-get-products",
17
17
  name: "Get Products and Pricing",
18
18
  description: "Tool to retrieve Fly.io product and price information via GraphQL. Use when you need to fetch product catalog, pricing tiers, or billing information.",
19
19
  input: FlyGetProductsInput,
20
- output: z.object({ products: z.array(FlyGetProducts_ProductSchema).describe("List of products with their pricing tiers.") }).describe("Response containing Fly.io product and pricing information.")
20
+ output: z.object({ products: z.array(FlyGetProducts_ProductSchema).describe("List of products with their pricing tiers.") }).passthrough().describe("Response containing Fly.io product and pricing information.")
21
21
  });
22
22
  //#endregion
23
23
  export { flyGetProducts };
@@ -1 +1 @@
1
- {"version":3,"file":"get-products.mjs","names":[],"sources":["../../src/actions/get-products.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetProductsInput = z.object({}).describe(\"Request parameters for retrieving Fly.io product and pricing information.\");\nconst FlyGetProducts_PriceTierSchema = z.object({\n upTo: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"The maximum quantity limit for this pricing tier. null means unlimited.\").optional()),\n unitAmount: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"The price per unit in cents for this tier.\").optional()),\n}).describe(\"Represents a pricing tier with unit amount and quantity limit.\");\nconst FlyGetProducts_ProductSchema = z.object({\n name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The name of the product.\").optional()),\n type: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The type or category of the product.\").optional()),\n tiers: z.preprocess((value) => (value === null ? undefined : value), z.array(FlyGetProducts_PriceTierSchema).describe(\"List of pricing tiers for this product. Each tier defines a price per unit and optional quantity limit.\").optional()),\n unitLabel: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The unit label for the product (e.g., 'GB', 'hour', 'request').\").optional()),\n}).describe(\"Represents a Fly.io product with pricing information.\");\nexport const FlyGetProductsOutput = z.object({\n products: z.array(FlyGetProducts_ProductSchema).describe(\"List of products with their pricing tiers.\"),\n}).describe(\"Response containing Fly.io product and pricing information.\");\n\nexport const flyGetProducts = action(\"FLY_GET_PRODUCTS\", {\n slug: \"fly-get-products\",\n name: \"Get Products and Pricing\",\n description: \"Tool to retrieve Fly.io product and price information via GraphQL. Use when you need to fetch product catalog, pricing tiers, or billing information.\",\n input: FlyGetProductsInput,\n output: FlyGetProductsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACpI,MAAM,iCAAiC,EAAE,OAAO;CAC9C,MAAM,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC;CACnL,YAAY,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC;AAC9J,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,+BAA+B,EAAE,OAAO;CAC5C,MAAM,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC;CAC9H,MAAM,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC;CAC1I,OAAO,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS,CAAC;CAC3O,WAAW,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC;AAC5K,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAKnE,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkC,EAAE,OAAO,EAC3C,UAAU,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,4CAA4C,EACvG,CAAC,CAAC,CAAC,SAAS,6DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-products.mjs","names":[],"sources":["../../src/actions/get-products.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetProductsInput = z.object({}).describe(\"Request parameters for retrieving Fly.io product and pricing information.\");\nconst FlyGetProducts_PriceTierSchema = z.object({\n upTo: z.number().int().describe(\"The maximum quantity limit for this pricing tier. null means unlimited.\").nullable().optional(),\n unitAmount: z.number().int().describe(\"The price per unit in cents for this tier.\").nullable().optional(),\n}).passthrough().describe(\"Represents a pricing tier with unit amount and quantity limit.\");\nconst FlyGetProducts_ProductSchema = z.object({\n name: z.string().describe(\"The name of the product.\").nullable().optional(),\n type: z.string().describe(\"The type or category of the product.\").nullable().optional(),\n tiers: z.array(FlyGetProducts_PriceTierSchema).describe(\"List of pricing tiers for this product. Each tier defines a price per unit and optional quantity limit.\").nullable().optional(),\n unitLabel: z.string().describe(\"The unit label for the product (e.g., 'GB', 'hour', 'request').\").nullable().optional(),\n}).passthrough().describe(\"Represents a Fly.io product with pricing information.\");\nexport const FlyGetProductsOutput = z.object({\n products: z.array(FlyGetProducts_ProductSchema).describe(\"List of products with their pricing tiers.\"),\n}).passthrough().describe(\"Response containing Fly.io product and pricing information.\");\n\nexport const flyGetProducts = action(\"FLY_GET_PRODUCTS\", {\n slug: \"fly-get-products\",\n name: \"Get Products and Pricing\",\n description: \"Tool to retrieve Fly.io product and price information via GraphQL. Use when you need to fetch product catalog, pricing tiers, or billing information.\",\n input: FlyGetProductsInput,\n output: FlyGetProductsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACpI,MAAM,iCAAiC,EAAE,OAAO;CAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAC1F,MAAM,+BAA+B,EAAE,OAAO;CAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,OAAO,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvL,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAKjF,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkC,EAAE,OAAO,EAC3C,UAAU,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,4CAA4C,EACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAOhB;AACV,CAAC"}
@@ -10,20 +10,20 @@ const FlyGetRegionsInput = zod.z.object({
10
10
  memory_mb: zod.z.number().int().describe("Guest memory in megabytes. Filter regions by memory availability.").optional()
11
11
  }).describe("Request model for getting available Fly.io regions.");
12
12
  const FlyGetRegions_RegionInfoSchema = zod.z.object({
13
- code: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Short code identifier for the region (e.g., 'iad', 'lhr', 'fra').").optional()),
14
- name: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Human-readable name of the region (e.g., 'London, United Kingdom').").optional()),
15
- capacity: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Available capacity in the region. Higher values indicate more available resources.").optional()),
16
- latitude: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().describe("Geographic latitude coordinate of the region.").optional()),
17
- longitude: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().describe("Geographic longitude coordinate of the region.").optional()),
18
- deprecated: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Whether this region is deprecated and should not be used for new deployments.").optional()),
19
- geo_region: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Geographic region classification (e.g., 'Europe', 'North America').").optional()),
20
- gateway_available: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Whether the Fly.io gateway service is available in this region.").optional()),
21
- requires_paid_plan: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Whether this region requires a paid plan to deploy resources.").optional())
22
- }).describe("Information about a Fly.io region.");
13
+ code: zod.z.string().describe("Short code identifier for the region (e.g., 'iad', 'lhr', 'fra').").nullable().optional(),
14
+ name: zod.z.string().describe("Human-readable name of the region (e.g., 'London, United Kingdom').").nullable().optional(),
15
+ capacity: zod.z.number().int().describe("Available capacity in the region. Higher values indicate more available resources.").nullable().optional(),
16
+ latitude: zod.z.number().describe("Geographic latitude coordinate of the region.").nullable().optional(),
17
+ longitude: zod.z.number().describe("Geographic longitude coordinate of the region.").nullable().optional(),
18
+ deprecated: zod.z.boolean().describe("Whether this region is deprecated and should not be used for new deployments.").nullable().optional(),
19
+ geo_region: zod.z.string().describe("Geographic region classification (e.g., 'Europe', 'North America').").nullable().optional(),
20
+ gateway_available: zod.z.boolean().describe("Whether the Fly.io gateway service is available in this region.").nullable().optional(),
21
+ requires_paid_plan: zod.z.boolean().describe("Whether this region requires a paid plan to deploy resources.").nullable().optional()
22
+ }).passthrough().describe("Information about a Fly.io region.");
23
23
  const FlyGetRegionsOutput = zod.z.object({
24
- nearest: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Code of the nearest region to the API request origin.").optional()),
25
- regions: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(FlyGetRegions_RegionInfoSchema).describe("List of available Fly.io regions with their details.").optional())
26
- }).describe("Response model containing available Fly.io regions.");
24
+ nearest: zod.z.string().describe("Code of the nearest region to the API request origin.").nullable().optional(),
25
+ regions: zod.z.array(FlyGetRegions_RegionInfoSchema).describe("List of available Fly.io regions with their details.").nullable().optional()
26
+ }).passthrough().describe("Response model containing available Fly.io regions.");
27
27
  const flyGetRegions = require_action.action("FLY_GET_REGIONS", {
28
28
  slug: "fly-get-regions",
29
29
  name: "Get Regions",
@@ -1 +1 @@
1
- {"version":3,"file":"get-regions.cjs","names":["z","action"],"sources":["../../src/actions/get-regions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetRegionsInput = z.object({\n cpus: z.number().int().describe(\"Guest CPU count. Filter regions by CPU count availability.\").optional(),\n gpus: z.number().int().describe(\"Guest GPU count. Filter regions by GPU availability.\").optional(),\n size: z.string().describe(\"Guest machine size preset. Default is performance-1x. Use this to filter regions by machine size availability.\").optional(),\n cpu_kind: z.string().describe(\"Guest CPU kind (e.g., 'shared', 'performance'). Filter regions by CPU type availability.\").optional(),\n gpu_kind: z.string().describe(\"Guest GPU kind (e.g., 'a100-pcie-40gb', 'a100-sxm4-80gb'). Filter regions by GPU type availability.\").optional(),\n memory_mb: z.number().int().describe(\"Guest memory in megabytes. Filter regions by memory availability.\").optional(),\n}).describe(\"Request model for getting available Fly.io regions.\");\nconst FlyGetRegions_RegionInfoSchema = z.object({\n code: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Short code identifier for the region (e.g., 'iad', 'lhr', 'fra').\").optional()),\n name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Human-readable name of the region (e.g., 'London, United Kingdom').\").optional()),\n capacity: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Available capacity in the region. Higher values indicate more available resources.\").optional()),\n latitude: z.preprocess((value) => (value === null ? undefined : value), z.number().describe(\"Geographic latitude coordinate of the region.\").optional()),\n longitude: z.preprocess((value) => (value === null ? undefined : value), z.number().describe(\"Geographic longitude coordinate of the region.\").optional()),\n deprecated: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether this region is deprecated and should not be used for new deployments.\").optional()),\n geo_region: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Geographic region classification (e.g., 'Europe', 'North America').\").optional()),\n gateway_available: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the Fly.io gateway service is available in this region.\").optional()),\n requires_paid_plan: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether this region requires a paid plan to deploy resources.\").optional()),\n}).describe(\"Information about a Fly.io region.\");\nexport const FlyGetRegionsOutput = z.object({\n nearest: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Code of the nearest region to the API request origin.\").optional()),\n regions: z.preprocess((value) => (value === null ? undefined : value), z.array(FlyGetRegions_RegionInfoSchema).describe(\"List of available Fly.io regions with their details.\").optional()),\n}).describe(\"Response model containing available Fly.io regions.\");\n\nexport const flyGetRegions = action(\"FLY_GET_REGIONS\", {\n slug: \"fly-get-regions\",\n name: \"Get Regions\",\n description: \"Tool to get the list of available Fly.io regions with optional filtering. Use when you need to discover which regions are available for deploying machines, or to filter regions by specific resource requirements like CPU, memory, or GPU.\",\n input: FlyGetRegionsInput,\n output: FlyGetRegionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAqBA,IAAAA,EAAE,OAAO;CACzC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACvG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACjG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CACrJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACnI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC9I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC;CACvK,MAAMA,IAAAA,EAA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OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC;CAC9J,SAASA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC;AAC5L,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAEjE,MAAa,gBAAgBC,eAAAA,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-regions.cjs","names":["z","action"],"sources":["../../src/actions/get-regions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetRegionsInput = z.object({\n cpus: z.number().int().describe(\"Guest CPU count. Filter regions by CPU count availability.\").optional(),\n gpus: z.number().int().describe(\"Guest GPU count. Filter regions by GPU availability.\").optional(),\n size: z.string().describe(\"Guest machine size preset. Default is performance-1x. Use this to filter regions by machine size availability.\").optional(),\n cpu_kind: z.string().describe(\"Guest CPU kind (e.g., 'shared', 'performance'). Filter regions by CPU type availability.\").optional(),\n gpu_kind: z.string().describe(\"Guest GPU kind (e.g., 'a100-pcie-40gb', 'a100-sxm4-80gb'). Filter regions by GPU type availability.\").optional(),\n memory_mb: z.number().int().describe(\"Guest memory in megabytes. Filter regions by memory availability.\").optional(),\n}).describe(\"Request model for getting available Fly.io regions.\");\nconst FlyGetRegions_RegionInfoSchema = z.object({\n code: z.string().describe(\"Short code identifier for the region (e.g., 'iad', 'lhr', 'fra').\").nullable().optional(),\n name: z.string().describe(\"Human-readable name of the region (e.g., 'London, United Kingdom').\").nullable().optional(),\n capacity: z.number().int().describe(\"Available capacity in the region. Higher values indicate more available resources.\").nullable().optional(),\n latitude: z.number().describe(\"Geographic latitude coordinate of the region.\").nullable().optional(),\n longitude: z.number().describe(\"Geographic longitude coordinate of the region.\").nullable().optional(),\n deprecated: z.boolean().describe(\"Whether this region is deprecated and should not be used for new deployments.\").nullable().optional(),\n geo_region: z.string().describe(\"Geographic region classification (e.g., 'Europe', 'North America').\").nullable().optional(),\n gateway_available: z.boolean().describe(\"Whether the Fly.io gateway service is available in this region.\").nullable().optional(),\n requires_paid_plan: z.boolean().describe(\"Whether this region requires a paid plan to deploy resources.\").nullable().optional(),\n}).passthrough().describe(\"Information about a Fly.io region.\");\nexport const FlyGetRegionsOutput = z.object({\n nearest: z.string().describe(\"Code of the nearest region to the API request origin.\").nullable().optional(),\n regions: z.array(FlyGetRegions_RegionInfoSchema).describe(\"List of available Fly.io regions with their details.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing available Fly.io regions.\");\n\nexport const flyGetRegions = action(\"FLY_GET_REGIONS\", {\n slug: \"fly-get-regions\",\n name: \"Get Regions\",\n description: \"Tool to get the list of available Fly.io regions with optional filtering. Use when you need to discover which regions are available for deploying machines, or to filter regions by specific resource requirements like CPU, memory, or GPU.\",\n input: FlyGetRegionsInput,\n output: FlyGetRegionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAqBA,IAAAA,EAAE,OAAO;CACzC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACvG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACjG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CACrJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACnI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC9I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;AACrH,CAAC,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,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,gBAAgBC,eAAAA,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -10,19 +10,19 @@ declare const FlyGetRegionsInput: z.ZodObject<{
10
10
  memory_mb: z.ZodOptional<z.ZodNumber>;
11
11
  }, z.core.$strip>;
12
12
  declare const FlyGetRegionsOutput: z.ZodObject<{
13
- nearest: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
14
- regions: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
15
- code: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
16
- name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
17
- capacity: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
18
- latitude: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
19
- longitude: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
20
- deprecated: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
21
- geo_region: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
22
- gateway_available: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
23
- requires_paid_plan: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
24
- }, z.core.$strip>>>>;
25
- }, z.core.$strip>;
13
+ nearest: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ regions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
15
+ code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ capacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
+ latitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
+ longitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
20
+ deprecated: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
21
+ geo_region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ gateway_available: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
23
+ requires_paid_plan: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
24
+ }, z.core.$loose>>>>;
25
+ }, z.core.$loose>;
26
26
  declare const flyGetRegions: import("@keystrokehq/action").WorkflowActionDefinition<{
27
27
  cpus?: number | undefined;
28
28
  gpus?: number | undefined;
@@ -30,20 +30,7 @@ declare const flyGetRegions: import("@keystrokehq/action").WorkflowActionDefinit
30
30
  cpu_kind?: string | undefined;
31
31
  gpu_kind?: string | undefined;
32
32
  memory_mb?: number | undefined;
33
- }, {
34
- nearest?: string | undefined;
35
- regions?: {
36
- code?: string | undefined;
37
- name?: string | undefined;
38
- capacity?: number | undefined;
39
- latitude?: number | undefined;
40
- longitude?: number | undefined;
41
- deprecated?: boolean | undefined;
42
- geo_region?: string | undefined;
43
- gateway_available?: boolean | undefined;
44
- requires_paid_plan?: boolean | undefined;
45
- }[] | undefined;
46
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
33
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
47
34
  //#endregion
48
35
  export { flyGetRegions };
49
36
  //# sourceMappingURL=get-regions.d.cts.map