@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,39 +3,39 @@ import { z } from "zod";
3
3
  //#region src/actions/get-certificate.ts
4
4
  const FlyGetCertificateInput = z.object({ certificate_id: z.string().describe("The unique identifier of the certificate to retrieve. This is the certificate ID in Fly.io system.") });
5
5
  const FlyGetCertificate_CertificateDataSchema = z.object({
6
- id: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("The unique identifier of the certificate.").optional()),
7
- domain: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("The domain name for the certificate.").optional()),
8
- isApex: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Whether the certificate is for an apex domain.").optional()),
9
- source: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Source of the certificate.").optional()),
10
- hostname: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("The hostname associated with this certificate.").optional()),
11
- createdAt: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("ISO 8601 timestamp indicating when the certificate was created.").optional()),
12
- isWildcard: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Whether the certificate is a wildcard certificate.").optional()),
13
- dnsProvider: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("DNS provider for the certificate.").optional()),
14
- clientStatus: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Current client status of the certificate.").optional()),
15
- dnsValidationTarget: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Target for DNS validation.").optional()),
16
- certificateAuthority: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("The certificate authority that issued the certificate.").optional()),
17
- dnsValidationHostname: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Hostname for DNS validation.").optional())
18
- });
19
- const FlyGetCertificate_GetCertificateResponseDataSchema = z.object({ certificate: z.preprocess((value) => value === null ? void 0 : value, FlyGetCertificate_CertificateDataSchema.optional()) });
6
+ id: z.string().describe("The unique identifier of the certificate.").nullable().optional(),
7
+ domain: z.string().describe("The domain name for the certificate.").nullable().optional(),
8
+ isApex: z.boolean().describe("Whether the certificate is for an apex domain.").nullable().optional(),
9
+ source: z.string().describe("Source of the certificate.").nullable().optional(),
10
+ hostname: z.string().describe("The hostname associated with this certificate.").nullable().optional(),
11
+ createdAt: z.string().describe("ISO 8601 timestamp indicating when the certificate was created.").nullable().optional(),
12
+ isWildcard: z.boolean().describe("Whether the certificate is a wildcard certificate.").nullable().optional(),
13
+ dnsProvider: z.string().describe("DNS provider for the certificate.").nullable().optional(),
14
+ clientStatus: z.string().describe("Current client status of the certificate.").nullable().optional(),
15
+ dnsValidationTarget: z.string().describe("Target for DNS validation.").nullable().optional(),
16
+ certificateAuthority: z.string().describe("The certificate authority that issued the certificate.").nullable().optional(),
17
+ dnsValidationHostname: z.string().describe("Hostname for DNS validation.").nullable().optional()
18
+ }).passthrough();
19
+ const FlyGetCertificate_GetCertificateResponseDataSchema = z.object({ certificate: FlyGetCertificate_CertificateDataSchema.nullable().optional() }).passthrough();
20
20
  const FlyGetCertificate_GraphQLErrorLocationSchema = z.object({
21
21
  line: z.number().int().describe("Line number in the query where the error occurred.").nullable(),
22
22
  column: z.number().int().describe("Column number in the query where the error occurred.").nullable()
23
- });
23
+ }).passthrough();
24
24
  const FlyGetCertificate_GraphQLErrorSchema = z.object({
25
- path: z.preprocess((value) => value === null ? void 0 : value, z.array(z.union([z.string(), z.number().int()])).describe("Path to the field that caused the error, represented as an array of strings and integers.").optional()),
25
+ path: z.array(z.union([z.string(), z.number().int()])).describe("Path to the field that caused the error, represented as an array of strings and integers.").nullable().optional(),
26
26
  message: z.string().describe("Human-readable error message describing what went wrong.").nullable(),
27
- locations: z.preprocess((value) => value === null ? void 0 : value, z.array(FlyGetCertificate_GraphQLErrorLocationSchema).describe("Array indicating where in the query document the error occurred.").optional()),
28
- extensions: z.preprocess((value) => value === null ? void 0 : value, z.record(z.string(), z.unknown()).describe("Additional error-specific information provided by the GraphQL server.").optional())
29
- });
27
+ locations: z.array(FlyGetCertificate_GraphQLErrorLocationSchema).describe("Array indicating where in the query document the error occurred.").nullable().optional(),
28
+ extensions: z.record(z.string(), z.unknown()).describe("Additional error-specific information provided by the GraphQL server.").nullable().optional()
29
+ }).passthrough();
30
30
  const flyGetCertificate = action("FLY_GET_CERTIFICATE", {
31
31
  slug: "fly-get-certificate",
32
32
  name: "Get Certificate",
33
33
  description: "Tool to retrieve a certificate by its ID from Fly.io. Use when you need to get details about a specific certificate including hostname, creation date, and configuration status.",
34
34
  input: FlyGetCertificateInput,
35
35
  output: z.object({
36
- data: z.preprocess((value) => value === null ? void 0 : value, FlyGetCertificate_GetCertificateResponseDataSchema.optional()),
37
- errors: z.preprocess((value) => value === null ? void 0 : value, z.array(FlyGetCertificate_GraphQLErrorSchema).describe("Array of error objects if any errors occurred during query execution. Present only when errors are encountered.").optional())
38
- })
36
+ data: FlyGetCertificate_GetCertificateResponseDataSchema.nullable().optional(),
37
+ errors: z.array(FlyGetCertificate_GraphQLErrorSchema).describe("Array of error objects if any errors occurred during query execution. Present only when errors are encountered.").nullable().optional()
38
+ }).passthrough()
39
39
  });
40
40
  //#endregion
41
41
  export { flyGetCertificate };
@@ -1 +1 @@
1
- {"version":3,"file":"get-certificate.mjs","names":[],"sources":["../../src/actions/get-certificate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetCertificateInput = z.object({\n certificate_id: z.string().describe(\"The unique identifier of the certificate to retrieve. This is the certificate ID in Fly.io system.\"),\n});\nconst FlyGetCertificate_CertificateDataSchema = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The unique identifier of the certificate.\").optional()),\n domain: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The domain name for the certificate.\").optional()),\n isApex: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the certificate is for an apex domain.\").optional()),\n source: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Source of the certificate.\").optional()),\n hostname: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The hostname associated with this certificate.\").optional()),\n createdAt: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"ISO 8601 timestamp indicating when the certificate was created.\").optional()),\n isWildcard: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the certificate is a wildcard certificate.\").optional()),\n dnsProvider: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"DNS provider for the certificate.\").optional()),\n clientStatus: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Current client status of the certificate.\").optional()),\n dnsValidationTarget: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Target for DNS validation.\").optional()),\n certificateAuthority: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The certificate authority that issued the certificate.\").optional()),\n dnsValidationHostname: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Hostname for DNS validation.\").optional()),\n});\nconst FlyGetCertificate_GetCertificateResponseDataSchema = z.object({\n certificate: z.preprocess((value) => (value === null ? undefined : value), FlyGetCertificate_CertificateDataSchema.optional()),\n});\nconst FlyGetCertificate_GraphQLErrorLocationSchema = z.object({\n line: z.number().int().describe(\"Line number in the query where the error occurred.\").nullable(),\n column: z.number().int().describe(\"Column number in the query where the error occurred.\").nullable(),\n});\nconst FlyGetCertificate_GraphQLErrorSchema = z.object({\n path: z.preprocess((value) => (value === null ? undefined : value), z.array(z.union([z.string(), z.number().int()])).describe(\"Path to the field that caused the error, represented as an array of strings and integers.\").optional()),\n message: z.string().describe(\"Human-readable error message describing what went wrong.\").nullable(),\n locations: z.preprocess((value) => (value === null ? undefined : value), z.array(FlyGetCertificate_GraphQLErrorLocationSchema).describe(\"Array indicating where in the query document the error occurred.\").optional()),\n extensions: z.preprocess((value) => (value === null ? undefined : value), z.record(z.string(), z.unknown()).describe(\"Additional error-specific information provided by the GraphQL server.\").optional()),\n});\nexport const FlyGetCertificateOutput = z.object({\n data: z.preprocess((value) => (value === null ? undefined : value), FlyGetCertificate_GetCertificateResponseDataSchema.optional()),\n errors: z.preprocess((value) => (value === null ? undefined : value), z.array(FlyGetCertificate_GraphQLErrorSchema).describe(\"Array of error objects if any errors occurred during query execution. Present only when errors are encountered.\").optional()),\n});\n\nexport const flyGetCertificate = action(\"FLY_GET_CERTIFICATE\", {\n slug: \"fly-get-certificate\",\n name: \"Get Certificate\",\n description: \"Tool to retrieve a certificate by its ID from Fly.io. Use when you need to get details about a specific certificate including hostname, creation date, and configuration status.\",\n input: FlyGetCertificateInput,\n output: FlyGetCertificateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO,EAC7C,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,EAC1I,CAAC;AACD,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC;CAC7I,QAAQ,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC;CAC5I,QAAQ,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC;CACvJ,QAAQ,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC;CAClI,UAAU,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC;CACxJ,WAAW,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC;CAC1K,YAAY,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC;CAC/J,aAAa,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC;CAC9I,cAAc,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC;CACvJ,qBAAqB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC;CAC/I,sBAAsB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC;CAC5K,uBAAuB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC;AACrJ,CAAC;AACD,MAAM,qDAAqD,EAAE,OAAO,EAClE,aAAa,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,wCAAwC,SAAS,CAAC,EAC/H,CAAC;AACD,MAAM,+CAA+C,EAAE,OAAO;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC/F,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACrG,CAAC;AACD,MAAM,uCAAuC,EAAE,OAAO;CACpD,MAAM,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC;CACrO,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAClG,WAAW,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC;CACtN,YAAY,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC;AAC1M,CAAC;AAMD,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVqC,EAAE,OAAO;EAC9C,MAAM,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,mDAAmD,SAAS,CAAC;EACjI,QAAQ,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS,CAAC;CAC5P,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"get-certificate.mjs","names":[],"sources":["../../src/actions/get-certificate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetCertificateInput = z.object({\n certificate_id: z.string().describe(\"The unique identifier of the certificate to retrieve. This is the certificate ID in Fly.io system.\"),\n});\nconst FlyGetCertificate_CertificateDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the certificate.\").nullable().optional(),\n domain: z.string().describe(\"The domain name for the certificate.\").nullable().optional(),\n isApex: z.boolean().describe(\"Whether the certificate is for an apex domain.\").nullable().optional(),\n source: z.string().describe(\"Source of the certificate.\").nullable().optional(),\n hostname: z.string().describe(\"The hostname associated with this certificate.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp indicating when the certificate was created.\").nullable().optional(),\n isWildcard: z.boolean().describe(\"Whether the certificate is a wildcard certificate.\").nullable().optional(),\n dnsProvider: z.string().describe(\"DNS provider for the certificate.\").nullable().optional(),\n clientStatus: z.string().describe(\"Current client status of the certificate.\").nullable().optional(),\n dnsValidationTarget: z.string().describe(\"Target for DNS validation.\").nullable().optional(),\n certificateAuthority: z.string().describe(\"The certificate authority that issued the certificate.\").nullable().optional(),\n dnsValidationHostname: z.string().describe(\"Hostname for DNS validation.\").nullable().optional(),\n}).passthrough();\nconst FlyGetCertificate_GetCertificateResponseDataSchema = z.object({\n certificate: FlyGetCertificate_CertificateDataSchema.nullable().optional(),\n}).passthrough();\nconst FlyGetCertificate_GraphQLErrorLocationSchema = z.object({\n line: z.number().int().describe(\"Line number in the query where the error occurred.\").nullable(),\n column: z.number().int().describe(\"Column number in the query where the error occurred.\").nullable(),\n}).passthrough();\nconst FlyGetCertificate_GraphQLErrorSchema = z.object({\n path: z.array(z.union([z.string(), z.number().int()])).describe(\"Path to the field that caused the error, represented as an array of strings and integers.\").nullable().optional(),\n message: z.string().describe(\"Human-readable error message describing what went wrong.\").nullable(),\n locations: z.array(FlyGetCertificate_GraphQLErrorLocationSchema).describe(\"Array indicating where in the query document the error occurred.\").nullable().optional(),\n extensions: z.record(z.string(), z.unknown()).describe(\"Additional error-specific information provided by the GraphQL server.\").nullable().optional(),\n}).passthrough();\nexport const FlyGetCertificateOutput = z.object({\n data: FlyGetCertificate_GetCertificateResponseDataSchema.nullable().optional(),\n errors: z.array(FlyGetCertificate_GraphQLErrorSchema).describe(\"Array of error objects if any errors occurred during query execution. Present only when errors are encountered.\").nullable().optional(),\n}).passthrough();\n\nexport const flyGetCertificate = action(\"FLY_GET_CERTIFICATE\", {\n slug: \"fly-get-certificate\",\n name: \"Get Certificate\",\n description: \"Tool to retrieve a certificate by its ID from Fly.io. Use when you need to get details about a specific certificate including hostname, creation date, and configuration status.\",\n input: FlyGetCertificateInput,\n output: FlyGetCertificateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO,EAC7C,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,EAC1I,CAAC;AACD,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,qDAAqD,EAAE,OAAO,EAClE,aAAa,wCAAwC,SAAS,CAAC,CAAC,SAAS,EAC3E,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,+CAA+C,EAAE,OAAO;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC/F,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,uCAAuC,EAAE,OAAO;CACpD,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjL,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAClG,WAAW,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClK,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,YAAY;AAMf,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVqC,EAAE,OAAO;EAC9C,MAAM,mDAAmD,SAAS,CAAC,CAAC,SAAS;EAC7E,QAAQ,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxM,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -3,15 +3,15 @@ let zod = require("zod");
3
3
  //#region src/actions/get-current-token-info.ts
4
4
  const FlyGetCurrentTokenInfoInput = zod.z.object({}).describe("Request model for getting current token information.");
5
5
  const FlyGetCurrentTokenInfo_TokenInfoSchema = zod.z.object({
6
- apps: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(zod.z.string()).describe("List of apps the token has access to").optional()),
7
- user: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("User associated with the token").optional()),
8
- org_slug: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Organization slug associated with the token").optional()),
9
- token_id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Unique identifier for the token").optional()),
10
- organization: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Organization name associated with the token").optional()),
11
- source_machine_id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("ID of the machine that created the token, if applicable").optional()),
12
- restricted_to_machine: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Machine ID that this token is restricted to, if applicable").optional())
13
- }).describe("Information about a token.");
14
- const FlyGetCurrentTokenInfoOutput = zod.z.object({ tokens: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(FlyGetCurrentTokenInfo_TokenInfoSchema).describe("List of token information objects for the current authentication token").optional()) }).describe("Response model for getting current token information.");
6
+ apps: zod.z.array(zod.z.string()).describe("List of apps the token has access to").nullable().optional(),
7
+ user: zod.z.string().describe("User associated with the token").nullable().optional(),
8
+ org_slug: zod.z.string().describe("Organization slug associated with the token").nullable().optional(),
9
+ token_id: zod.z.string().describe("Unique identifier for the token").nullable().optional(),
10
+ organization: zod.z.string().describe("Organization name associated with the token").nullable().optional(),
11
+ source_machine_id: zod.z.string().describe("ID of the machine that created the token, if applicable").nullable().optional(),
12
+ restricted_to_machine: zod.z.string().describe("Machine ID that this token is restricted to, if applicable").nullable().optional()
13
+ }).passthrough().describe("Information about a token.");
14
+ const FlyGetCurrentTokenInfoOutput = zod.z.object({ tokens: zod.z.array(FlyGetCurrentTokenInfo_TokenInfoSchema).describe("List of token information objects for the current authentication token").nullable().optional() }).passthrough().describe("Response model for getting current token information.");
15
15
  const flyGetCurrentTokenInfo = require_action.action("FLY_GET_CURRENT_TOKEN_INFO", {
16
16
  slug: "fly-get-current-token-info",
17
17
  name: "Get Current Token Info",
@@ -1 +1 @@
1
- {"version":3,"file":"get-current-token-info.cjs","names":["z","action"],"sources":["../../src/actions/get-current-token-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetCurrentTokenInfoInput = z.object({}).describe(\"Request model for getting current token information.\");\nconst FlyGetCurrentTokenInfo_TokenInfoSchema = z.object({\n apps: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"List of apps the token has access to\").optional()),\n user: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"User associated with the token\").optional()),\n org_slug: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Organization slug associated with the token\").optional()),\n token_id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Unique identifier for the token\").optional()),\n organization: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Organization name associated with the token\").optional()),\n source_machine_id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"ID of the machine that created the token, if applicable\").optional()),\n restricted_to_machine: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Machine ID that this token is restricted to, if applicable\").optional()),\n}).describe(\"Information about a token.\");\nexport const FlyGetCurrentTokenInfoOutput = z.object({\n tokens: z.preprocess((value) => (value === null ? undefined : value), z.array(FlyGetCurrentTokenInfo_TokenInfoSchema).describe(\"List of token information objects for the current authentication token\").optional()),\n}).describe(\"Response model for getting current token information.\");\n\nexport const flyGetCurrentTokenInfo = action(\"FLY_GET_CURRENT_TOKEN_INFO\", {\n slug: \"fly-get-current-token-info\",\n name: \"Get Current Token Info\",\n description: \"Tool to get information about the current authentication token. Use when you need to retrieve details about the token being used for API authentication, including organizations, apps, and whether the token is from a user or machine.\",\n input: FlyGetCurrentTokenInfoInput,\n output: FlyGetCurrentTokenInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sDAAsD;AACvH,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC;CACnJ,MAAMA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC;CACpI,UAAUA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC;CACrJ,UAAUA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC;CACzI,cAAcA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC;CACzJ,mBAAmBA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC;CAC1K,uBAAuBA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC;AACnL,CAAC,CAAC,CAAC,SAAS,4BAA4B;AACxC,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,QAAQA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,EACrN,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAEnE,MAAa,yBAAyBC,eAAAA,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-current-token-info.cjs","names":["z","action"],"sources":["../../src/actions/get-current-token-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetCurrentTokenInfoInput = z.object({}).describe(\"Request model for getting current token information.\");\nconst FlyGetCurrentTokenInfo_TokenInfoSchema = z.object({\n apps: z.array(z.string()).describe(\"List of apps the token has access to\").nullable().optional(),\n user: z.string().describe(\"User associated with the token\").nullable().optional(),\n org_slug: z.string().describe(\"Organization slug associated with the token\").nullable().optional(),\n token_id: z.string().describe(\"Unique identifier for the token\").nullable().optional(),\n organization: z.string().describe(\"Organization name associated with the token\").nullable().optional(),\n source_machine_id: z.string().describe(\"ID of the machine that created the token, if applicable\").nullable().optional(),\n restricted_to_machine: z.string().describe(\"Machine ID that this token is restricted to, if applicable\").nullable().optional(),\n}).passthrough().describe(\"Information about a token.\");\nexport const FlyGetCurrentTokenInfoOutput = z.object({\n tokens: z.array(FlyGetCurrentTokenInfo_TokenInfoSchema).describe(\"List of token information objects for the current authentication token\").nullable().optional(),\n}).passthrough().describe(\"Response model for getting current token information.\");\n\nexport const flyGetCurrentTokenInfo = action(\"FLY_GET_CURRENT_TOKEN_INFO\", {\n slug: \"fly-get-current-token-info\",\n name: \"Get Current Token Info\",\n description: \"Tool to get information about the current authentication token. Use when you need to retrieve details about the token being used for API authentication, including organizations, apps, and whether the token is from a user or machine.\",\n input: FlyGetCurrentTokenInfoInput,\n output: FlyGetCurrentTokenInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sDAAsD;AACvH,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AACtD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,QAAQA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,yBAAyBC,eAAAA,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -3,27 +3,17 @@ import { z } from "zod";
3
3
  //#region src/actions/get-current-token-info.d.ts
4
4
  declare const FlyGetCurrentTokenInfoInput: z.ZodObject<{}, z.core.$strip>;
5
5
  declare const FlyGetCurrentTokenInfoOutput: z.ZodObject<{
6
- tokens: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
7
- apps: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
8
- user: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
9
- org_slug: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
10
- token_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
11
- organization: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
12
- source_machine_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
13
- restricted_to_machine: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
14
- }, z.core.$strip>>>>;
15
- }, z.core.$strip>;
16
- declare const flyGetCurrentTokenInfo: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, {
17
- tokens?: {
18
- apps?: string[] | undefined;
19
- user?: string | undefined;
20
- org_slug?: string | undefined;
21
- token_id?: string | undefined;
22
- organization?: string | undefined;
23
- source_machine_id?: string | undefined;
24
- restricted_to_machine?: string | undefined;
25
- }[] | undefined;
26
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
6
+ tokens: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
7
+ apps: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
8
+ user: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ org_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ token_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ organization: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ source_machine_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ restricted_to_machine: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ }, z.core.$loose>>>>;
15
+ }, z.core.$loose>;
16
+ declare const flyGetCurrentTokenInfo: 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 { flyGetCurrentTokenInfo };
29
19
  //# sourceMappingURL=get-current-token-info.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-current-token-info.d.cts","names":[],"sources":["../../src/actions/get-current-token-info.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;cAI5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA"}
1
+ {"version":3,"file":"get-current-token-info.d.cts","names":[],"sources":["../../src/actions/get-current-token-info.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;cAI5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -3,27 +3,17 @@ import { z } from "zod";
3
3
  //#region src/actions/get-current-token-info.d.ts
4
4
  declare const FlyGetCurrentTokenInfoInput: z.ZodObject<{}, z.core.$strip>;
5
5
  declare const FlyGetCurrentTokenInfoOutput: z.ZodObject<{
6
- tokens: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
7
- apps: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
8
- user: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
9
- org_slug: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
10
- token_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
11
- organization: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
12
- source_machine_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
13
- restricted_to_machine: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
14
- }, z.core.$strip>>>>;
15
- }, z.core.$strip>;
16
- declare const flyGetCurrentTokenInfo: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, {
17
- tokens?: {
18
- apps?: string[] | undefined;
19
- user?: string | undefined;
20
- org_slug?: string | undefined;
21
- token_id?: string | undefined;
22
- organization?: string | undefined;
23
- source_machine_id?: string | undefined;
24
- restricted_to_machine?: string | undefined;
25
- }[] | undefined;
26
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
6
+ tokens: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
7
+ apps: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
8
+ user: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ org_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ token_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ organization: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ source_machine_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ restricted_to_machine: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ }, z.core.$loose>>>>;
15
+ }, z.core.$loose>;
16
+ declare const flyGetCurrentTokenInfo: 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 { flyGetCurrentTokenInfo };
29
19
  //# sourceMappingURL=get-current-token-info.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-current-token-info.d.mts","names":[],"sources":["../../src/actions/get-current-token-info.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;cAI5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA"}
1
+ {"version":3,"file":"get-current-token-info.d.mts","names":[],"sources":["../../src/actions/get-current-token-info.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;cAI5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -3,20 +3,20 @@ import { z } from "zod";
3
3
  //#region src/actions/get-current-token-info.ts
4
4
  const FlyGetCurrentTokenInfoInput = z.object({}).describe("Request model for getting current token information.");
5
5
  const FlyGetCurrentTokenInfo_TokenInfoSchema = z.object({
6
- apps: z.preprocess((value) => value === null ? void 0 : value, z.array(z.string()).describe("List of apps the token has access to").optional()),
7
- user: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("User associated with the token").optional()),
8
- org_slug: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Organization slug associated with the token").optional()),
9
- token_id: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Unique identifier for the token").optional()),
10
- organization: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Organization name associated with the token").optional()),
11
- source_machine_id: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("ID of the machine that created the token, if applicable").optional()),
12
- restricted_to_machine: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Machine ID that this token is restricted to, if applicable").optional())
13
- }).describe("Information about a token.");
6
+ apps: z.array(z.string()).describe("List of apps the token has access to").nullable().optional(),
7
+ user: z.string().describe("User associated with the token").nullable().optional(),
8
+ org_slug: z.string().describe("Organization slug associated with the token").nullable().optional(),
9
+ token_id: z.string().describe("Unique identifier for the token").nullable().optional(),
10
+ organization: z.string().describe("Organization name associated with the token").nullable().optional(),
11
+ source_machine_id: z.string().describe("ID of the machine that created the token, if applicable").nullable().optional(),
12
+ restricted_to_machine: z.string().describe("Machine ID that this token is restricted to, if applicable").nullable().optional()
13
+ }).passthrough().describe("Information about a token.");
14
14
  const flyGetCurrentTokenInfo = action("FLY_GET_CURRENT_TOKEN_INFO", {
15
15
  slug: "fly-get-current-token-info",
16
16
  name: "Get Current Token Info",
17
17
  description: "Tool to get information about the current authentication token. Use when you need to retrieve details about the token being used for API authentication, including organizations, apps, and whether the token is from a user or machine.",
18
18
  input: FlyGetCurrentTokenInfoInput,
19
- output: z.object({ tokens: z.preprocess((value) => value === null ? void 0 : value, z.array(FlyGetCurrentTokenInfo_TokenInfoSchema).describe("List of token information objects for the current authentication token").optional()) }).describe("Response model for getting current token information.")
19
+ output: z.object({ tokens: z.array(FlyGetCurrentTokenInfo_TokenInfoSchema).describe("List of token information objects for the current authentication token").nullable().optional() }).passthrough().describe("Response model for getting current token information.")
20
20
  });
21
21
  //#endregion
22
22
  export { flyGetCurrentTokenInfo };
@@ -1 +1 @@
1
- {"version":3,"file":"get-current-token-info.mjs","names":[],"sources":["../../src/actions/get-current-token-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetCurrentTokenInfoInput = z.object({}).describe(\"Request model for getting current token information.\");\nconst FlyGetCurrentTokenInfo_TokenInfoSchema = z.object({\n apps: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"List of apps the token has access to\").optional()),\n user: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"User associated with the token\").optional()),\n org_slug: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Organization slug associated with the token\").optional()),\n token_id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Unique identifier for the token\").optional()),\n organization: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Organization name associated with the token\").optional()),\n source_machine_id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"ID of the machine that created the token, if applicable\").optional()),\n restricted_to_machine: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Machine ID that this token is restricted to, if applicable\").optional()),\n}).describe(\"Information about a token.\");\nexport const FlyGetCurrentTokenInfoOutput = z.object({\n tokens: z.preprocess((value) => (value === null ? undefined : value), z.array(FlyGetCurrentTokenInfo_TokenInfoSchema).describe(\"List of token information objects for the current authentication token\").optional()),\n}).describe(\"Response model for getting current token information.\");\n\nexport const flyGetCurrentTokenInfo = action(\"FLY_GET_CURRENT_TOKEN_INFO\", {\n slug: \"fly-get-current-token-info\",\n name: \"Get Current Token Info\",\n description: \"Tool to get information about the current authentication token. Use when you need to retrieve details about the token being used for API authentication, including organizations, apps, and whether the token is from a user or machine.\",\n input: FlyGetCurrentTokenInfoInput,\n output: FlyGetCurrentTokenInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sDAAsD;AACvH,MAAM,yCAAyC,EAAE,OAAO;CACtD,MAAM,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC;CACnJ,MAAM,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC;CACpI,UAAU,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC;CACrJ,UAAU,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC;CACzI,cAAc,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC;CACzJ,mBAAmB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC;CAC1K,uBAAuB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC;AACnL,CAAC,CAAC,CAAC,SAAS,4BAA4B;AAKxC,MAAa,yBAAyB,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0C,EAAE,OAAO,EACnD,QAAQ,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,EACrN,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-current-token-info.mjs","names":[],"sources":["../../src/actions/get-current-token-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetCurrentTokenInfoInput = z.object({}).describe(\"Request model for getting current token information.\");\nconst FlyGetCurrentTokenInfo_TokenInfoSchema = z.object({\n apps: z.array(z.string()).describe(\"List of apps the token has access to\").nullable().optional(),\n user: z.string().describe(\"User associated with the token\").nullable().optional(),\n org_slug: z.string().describe(\"Organization slug associated with the token\").nullable().optional(),\n token_id: z.string().describe(\"Unique identifier for the token\").nullable().optional(),\n organization: z.string().describe(\"Organization name associated with the token\").nullable().optional(),\n source_machine_id: z.string().describe(\"ID of the machine that created the token, if applicable\").nullable().optional(),\n restricted_to_machine: z.string().describe(\"Machine ID that this token is restricted to, if applicable\").nullable().optional(),\n}).passthrough().describe(\"Information about a token.\");\nexport const FlyGetCurrentTokenInfoOutput = z.object({\n tokens: z.array(FlyGetCurrentTokenInfo_TokenInfoSchema).describe(\"List of token information objects for the current authentication token\").nullable().optional(),\n}).passthrough().describe(\"Response model for getting current token information.\");\n\nexport const flyGetCurrentTokenInfo = action(\"FLY_GET_CURRENT_TOKEN_INFO\", {\n slug: \"fly-get-current-token-info\",\n name: \"Get Current Token Info\",\n description: \"Tool to get information about the current authentication token. Use when you need to retrieve details about the token being used for API authentication, including organizations, apps, and whether the token is from a user or machine.\",\n input: FlyGetCurrentTokenInfoInput,\n output: FlyGetCurrentTokenInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sDAAsD;AACvH,MAAM,yCAAyC,EAAE,OAAO;CACtD,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AAKtD,MAAa,yBAAyB,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0C,EAAE,OAAO,EACnD,QAAQ,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAOhB;AACV,CAAC"}
@@ -8,10 +8,10 @@ const FlyGetLatestImageDetailsInput = zod.z.object({
8
8
  const FlyGetLatestImageDetailsOutput = zod.z.object({
9
9
  tag: zod.z.string().describe("Image tag (e.g., '15', 'latest').").nullable(),
10
10
  digest: zod.z.string().describe("Image digest hash (SHA256 hash of the image manifest).").nullable(),
11
- version: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Version string if available, typically matches the tag or provides additional version information.").optional()),
11
+ version: zod.z.string().describe("Version string if available, typically matches the tag or provides additional version information.").nullable().optional(),
12
12
  registry: zod.z.string().describe("Registry URL where the image is hosted (e.g., 'registry.fly.io').").nullable(),
13
13
  repository: zod.z.string().describe("Repository name for the image (e.g., 'flyio/postgres').").nullable()
14
- });
14
+ }).passthrough();
15
15
  const flyGetLatestImageDetails = require_action.action("FLY_GET_LATEST_IMAGE_DETAILS", {
16
16
  slug: "fly-get-latest-image-details",
17
17
  name: "Get Latest Image Details",
@@ -1 +1 @@
1
- {"version":3,"file":"get-latest-image-details.cjs","names":["z","action"],"sources":["../../src/actions/get-latest-image-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetLatestImageDetailsInput = z.object({\n image: z.string().describe(\"Image reference in repository/name:tag format (e.g., 'flyio/postgres:15' or 'registry.fly.io/myapp:latest'). Use images from Fly.io's registry for best results.\"),\n fly_version: z.string().describe(\"Fly version to use for tag resolution. Optional parameter to specify a particular Fly.io version for resolving the image tag.\").optional(),\n});\nexport const FlyGetLatestImageDetailsOutput = z.object({\n tag: z.string().describe(\"Image tag (e.g., '15', 'latest').\").nullable(),\n digest: z.string().describe(\"Image digest hash (SHA256 hash of the image manifest).\").nullable(),\n version: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Version string if available, typically matches the tag or provides additional version information.\").optional()),\n registry: z.string().describe(\"Registry URL where the image is hosted (e.g., 'registry.fly.io').\").nullable(),\n repository: z.string().describe(\"Repository name for the image (e.g., 'flyio/postgres').\").nullable(),\n});\n\nexport const flyGetLatestImageDetails = action(\"FLY_GET_LATEST_IMAGE_DETAILS\", {\n slug: \"fly-get-latest-image-details\",\n name: \"Get Latest Image Details\",\n description: \"Tool to retrieve the latest available tag details for a given image repository from Fly.io's registry. Use when you need to get digest, registry, repository, tag, and version information for a container image.\",\n input: FlyGetLatestImageDetailsInput,\n output: FlyGetLatestImageDetailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kKAAkK;CAC7L,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;AAC7K,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC/F,SAASA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS,CAAC;CAC3M,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC5G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AACtG,CAAC;AAED,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-latest-image-details.cjs","names":["z","action"],"sources":["../../src/actions/get-latest-image-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetLatestImageDetailsInput = z.object({\n image: z.string().describe(\"Image reference in repository/name:tag format (e.g., 'flyio/postgres:15' or 'registry.fly.io/myapp:latest'). Use images from Fly.io's registry for best results.\"),\n fly_version: z.string().describe(\"Fly version to use for tag resolution. Optional parameter to specify a particular Fly.io version for resolving the image tag.\").optional(),\n});\nexport const FlyGetLatestImageDetailsOutput = z.object({\n tag: z.string().describe(\"Image tag (e.g., '15', 'latest').\").nullable(),\n digest: z.string().describe(\"Image digest hash (SHA256 hash of the image manifest).\").nullable(),\n version: z.string().describe(\"Version string if available, typically matches the tag or provides additional version information.\").nullable().optional(),\n registry: z.string().describe(\"Registry URL where the image is hosted (e.g., 'registry.fly.io').\").nullable(),\n repository: z.string().describe(\"Repository name for the image (e.g., 'flyio/postgres').\").nullable(),\n}).passthrough();\n\nexport const flyGetLatestImageDetails = action(\"FLY_GET_LATEST_IMAGE_DETAILS\", {\n slug: \"fly-get-latest-image-details\",\n name: \"Get Latest Image Details\",\n description: \"Tool to retrieve the latest available tag details for a given image repository from Fly.io's registry. Use when you need to get digest, registry, repository, tag, and version information for a container image.\",\n input: FlyGetLatestImageDetailsInput,\n output: FlyGetLatestImageDetailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kKAAkK;CAC7L,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;AAC7K,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC/F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC5G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -8,20 +8,14 @@ declare const FlyGetLatestImageDetailsInput: z.ZodObject<{
8
8
  declare const FlyGetLatestImageDetailsOutput: z.ZodObject<{
9
9
  tag: z.ZodNullable<z.ZodString>;
10
10
  digest: z.ZodNullable<z.ZodString>;
11
- version: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
11
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
12
  registry: z.ZodNullable<z.ZodString>;
13
13
  repository: z.ZodNullable<z.ZodString>;
14
- }, z.core.$strip>;
14
+ }, z.core.$loose>;
15
15
  declare const flyGetLatestImageDetails: import("@keystrokehq/action").WorkflowActionDefinition<{
16
16
  image: string;
17
17
  fly_version?: string | undefined;
18
- }, {
19
- tag: string | null;
20
- digest: string | null;
21
- registry: string | null;
22
- repository: string | null;
23
- version?: string | undefined;
24
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
25
19
  //#endregion
26
20
  export { flyGetLatestImageDetails };
27
21
  //# sourceMappingURL=get-latest-image-details.d.cts.map
@@ -8,20 +8,14 @@ declare const FlyGetLatestImageDetailsInput: z.ZodObject<{
8
8
  declare const FlyGetLatestImageDetailsOutput: z.ZodObject<{
9
9
  tag: z.ZodNullable<z.ZodString>;
10
10
  digest: z.ZodNullable<z.ZodString>;
11
- version: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
11
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
12
  registry: z.ZodNullable<z.ZodString>;
13
13
  repository: z.ZodNullable<z.ZodString>;
14
- }, z.core.$strip>;
14
+ }, z.core.$loose>;
15
15
  declare const flyGetLatestImageDetails: import("@keystrokehq/action").WorkflowActionDefinition<{
16
16
  image: string;
17
17
  fly_version?: string | undefined;
18
- }, {
19
- tag: string | null;
20
- digest: string | null;
21
- registry: string | null;
22
- repository: string | null;
23
- version?: string | undefined;
24
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
25
19
  //#endregion
26
20
  export { flyGetLatestImageDetails };
27
21
  //# sourceMappingURL=get-latest-image-details.d.mts.map
@@ -11,10 +11,10 @@ const flyGetLatestImageDetails = action("FLY_GET_LATEST_IMAGE_DETAILS", {
11
11
  output: z.object({
12
12
  tag: z.string().describe("Image tag (e.g., '15', 'latest').").nullable(),
13
13
  digest: z.string().describe("Image digest hash (SHA256 hash of the image manifest).").nullable(),
14
- version: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Version string if available, typically matches the tag or provides additional version information.").optional()),
14
+ version: z.string().describe("Version string if available, typically matches the tag or provides additional version information.").nullable().optional(),
15
15
  registry: z.string().describe("Registry URL where the image is hosted (e.g., 'registry.fly.io').").nullable(),
16
16
  repository: z.string().describe("Repository name for the image (e.g., 'flyio/postgres').").nullable()
17
- })
17
+ }).passthrough()
18
18
  });
19
19
  //#endregion
20
20
  export { flyGetLatestImageDetails };
@@ -1 +1 @@
1
- {"version":3,"file":"get-latest-image-details.mjs","names":[],"sources":["../../src/actions/get-latest-image-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetLatestImageDetailsInput = z.object({\n image: z.string().describe(\"Image reference in repository/name:tag format (e.g., 'flyio/postgres:15' or 'registry.fly.io/myapp:latest'). Use images from Fly.io's registry for best results.\"),\n fly_version: z.string().describe(\"Fly version to use for tag resolution. Optional parameter to specify a particular Fly.io version for resolving the image tag.\").optional(),\n});\nexport const FlyGetLatestImageDetailsOutput = z.object({\n tag: z.string().describe(\"Image tag (e.g., '15', 'latest').\").nullable(),\n digest: z.string().describe(\"Image digest hash (SHA256 hash of the image manifest).\").nullable(),\n version: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Version string if available, typically matches the tag or provides additional version information.\").optional()),\n registry: z.string().describe(\"Registry URL where the image is hosted (e.g., 'registry.fly.io').\").nullable(),\n repository: z.string().describe(\"Repository name for the image (e.g., 'flyio/postgres').\").nullable(),\n});\n\nexport const flyGetLatestImageDetails = action(\"FLY_GET_LATEST_IMAGE_DETAILS\", {\n slug: \"fly-get-latest-image-details\",\n name: \"Get Latest Image Details\",\n description: \"Tool to retrieve the latest available tag details for a given image repository from Fly.io's registry. Use when you need to get digest, registry, repository, tag, and version information for a container image.\",\n input: FlyGetLatestImageDetailsInput,\n output: FlyGetLatestImageDetailsOutput,\n});\n"],"mappings":";;AAgBA,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB2C,EAAE,OAAO;EACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kKAAkK;EAC7L,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CAC7K,CAaS;CACP,QAb4C,EAAE,OAAO;EACrD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EAC/F,SAAS,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS,CAAC;EAC3M,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EAC5G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACtG,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"get-latest-image-details.mjs","names":[],"sources":["../../src/actions/get-latest-image-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetLatestImageDetailsInput = z.object({\n image: z.string().describe(\"Image reference in repository/name:tag format (e.g., 'flyio/postgres:15' or 'registry.fly.io/myapp:latest'). Use images from Fly.io's registry for best results.\"),\n fly_version: z.string().describe(\"Fly version to use for tag resolution. Optional parameter to specify a particular Fly.io version for resolving the image tag.\").optional(),\n});\nexport const FlyGetLatestImageDetailsOutput = z.object({\n tag: z.string().describe(\"Image tag (e.g., '15', 'latest').\").nullable(),\n digest: z.string().describe(\"Image digest hash (SHA256 hash of the image manifest).\").nullable(),\n version: z.string().describe(\"Version string if available, typically matches the tag or provides additional version information.\").nullable().optional(),\n registry: z.string().describe(\"Registry URL where the image is hosted (e.g., 'registry.fly.io').\").nullable(),\n repository: z.string().describe(\"Repository name for the image (e.g., 'flyio/postgres').\").nullable(),\n}).passthrough();\n\nexport const flyGetLatestImageDetails = action(\"FLY_GET_LATEST_IMAGE_DETAILS\", {\n slug: \"fly-get-latest-image-details\",\n name: \"Get Latest Image Details\",\n description: \"Tool to retrieve the latest available tag details for a given image repository from Fly.io's registry. Use when you need to get digest, registry, repository, tag, and version information for a container image.\",\n input: FlyGetLatestImageDetailsInput,\n output: FlyGetLatestImageDetailsOutput,\n});\n"],"mappings":";;AAgBA,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB2C,EAAE,OAAO;EACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kKAAkK;EAC7L,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CAC7K,CAaS;CACP,QAb4C,EAAE,OAAO;EACrD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EAC/F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EAC5G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/get-latest-image-tag.ts
4
4
  const FlyGetLatestImageTagInput = zod.z.object({ repository: zod.z.string().describe("The Docker image repository name (e.g., 'flyio/postgres', 'flyio/hellofly'). This should be the full repository path.") }).describe("Request model for getting the latest image tag.");
5
- const FlyGetLatestImageTagOutput = zod.z.object({ latest_image_tag: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("The latest available tag for the image repository with full repository path and SHA256 digest (e.g., 'flyio/postgres:14.6@sha256:...'). Returns None if the repository is not found or no tags are available.").optional()) }).describe("Response model for getting the latest image tag.");
5
+ const FlyGetLatestImageTagOutput = zod.z.object({ latest_image_tag: zod.z.string().describe("The latest available tag for the image repository with full repository path and SHA256 digest (e.g., 'flyio/postgres:14.6@sha256:...'). Returns None if the repository is not found or no tags are available.").nullable().optional() }).passthrough().describe("Response model for getting the latest image tag.");
6
6
  const flyGetLatestImageTag = require_action.action("FLY_GET_LATEST_IMAGE_TAG", {
7
7
  slug: "fly-get-latest-image-tag",
8
8
  name: "Get Latest Image Tag",
@@ -1 +1 @@
1
- {"version":3,"file":"get-latest-image-tag.cjs","names":["z","action"],"sources":["../../src/actions/get-latest-image-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetLatestImageTagInput = z.object({\n repository: z.string().describe(\"The Docker image repository name (e.g., 'flyio/postgres', 'flyio/hellofly'). This should be the full repository path.\"),\n}).describe(\"Request model for getting the latest image tag.\");\nexport const FlyGetLatestImageTagOutput = z.object({\n latest_image_tag: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The latest available tag for the image repository with full repository path and SHA256 digest (e.g., 'flyio/postgres:14.6@sha256:...'). Returns None if the repository is not found or no tags are available.\").optional()),\n}).describe(\"Response model for getting the latest image tag.\");\n\nexport const flyGetLatestImageTag = action(\"FLY_GET_LATEST_IMAGE_TAG\", {\n slug: \"fly-get-latest-image-tag\",\n name: \"Get Latest Image Tag\",\n description: \"Tool to retrieve the latest available image tag for a Fly.io Docker repository. Use when you need to find the most recent version of a Fly.io image.\",\n input: FlyGetLatestImageTagInput,\n output: FlyGetLatestImageTagOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,EACzJ,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,kBAAkBA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+MAA+M,CAAC,CAAC,SAAS,CAAC,EACjU,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,MAAa,uBAAuBC,eAAAA,OAAO,4BAA4B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-latest-image-tag.cjs","names":["z","action"],"sources":["../../src/actions/get-latest-image-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetLatestImageTagInput = z.object({\n repository: z.string().describe(\"The Docker image repository name (e.g., 'flyio/postgres', 'flyio/hellofly'). This should be the full repository path.\"),\n}).describe(\"Request model for getting the latest image tag.\");\nexport const FlyGetLatestImageTagOutput = z.object({\n latest_image_tag: z.string().describe(\"The latest available tag for the image repository with full repository path and SHA256 digest (e.g., 'flyio/postgres:14.6@sha256:...'). Returns None if the repository is not found or no tags are available.\").nullable().optional(),\n}).passthrough().describe(\"Response model for getting the latest image tag.\");\n\nexport const flyGetLatestImageTag = action(\"FLY_GET_LATEST_IMAGE_TAG\", {\n slug: \"fly-get-latest-image-tag\",\n name: \"Get Latest Image Tag\",\n description: \"Tool to retrieve the latest available image tag for a Fly.io Docker repository. Use when you need to find the most recent version of a Fly.io image.\",\n input: FlyGetLatestImageTagInput,\n output: FlyGetLatestImageTagOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,EACzJ,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+MAA+M,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7Q,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,uBAAuBC,eAAAA,OAAO,4BAA4B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -5,13 +5,11 @@ declare const FlyGetLatestImageTagInput: z.ZodObject<{
5
5
  repository: z.ZodString;
6
6
  }, z.core.$strip>;
7
7
  declare const FlyGetLatestImageTagOutput: z.ZodObject<{
8
- latest_image_tag: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
9
- }, z.core.$strip>;
8
+ latest_image_tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ }, z.core.$loose>;
10
10
  declare const flyGetLatestImageTag: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  repository: string;
12
- }, {
13
- latest_image_tag?: string | undefined;
14
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
15
13
  //#endregion
16
14
  export { flyGetLatestImageTag };
17
15
  //# sourceMappingURL=get-latest-image-tag.d.cts.map
@@ -5,13 +5,11 @@ declare const FlyGetLatestImageTagInput: z.ZodObject<{
5
5
  repository: z.ZodString;
6
6
  }, z.core.$strip>;
7
7
  declare const FlyGetLatestImageTagOutput: z.ZodObject<{
8
- latest_image_tag: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
9
- }, z.core.$strip>;
8
+ latest_image_tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ }, z.core.$loose>;
10
10
  declare const flyGetLatestImageTag: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  repository: string;
12
- }, {
13
- latest_image_tag?: string | undefined;
14
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
15
13
  //#endregion
16
14
  export { flyGetLatestImageTag };
17
15
  //# sourceMappingURL=get-latest-image-tag.d.mts.map
@@ -5,7 +5,7 @@ const flyGetLatestImageTag = action("FLY_GET_LATEST_IMAGE_TAG", {
5
5
  name: "Get Latest Image Tag",
6
6
  description: "Tool to retrieve the latest available image tag for a Fly.io Docker repository. Use when you need to find the most recent version of a Fly.io image.",
7
7
  input: z.object({ repository: z.string().describe("The Docker image repository name (e.g., 'flyio/postgres', 'flyio/hellofly'). This should be the full repository path.") }).describe("Request model for getting the latest image tag."),
8
- output: z.object({ latest_image_tag: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("The latest available tag for the image repository with full repository path and SHA256 digest (e.g., 'flyio/postgres:14.6@sha256:...'). Returns None if the repository is not found or no tags are available.").optional()) }).describe("Response model for getting the latest image tag.")
8
+ output: z.object({ latest_image_tag: z.string().describe("The latest available tag for the image repository with full repository path and SHA256 digest (e.g., 'flyio/postgres:14.6@sha256:...'). Returns None if the repository is not found or no tags are available.").nullable().optional() }).passthrough().describe("Response model for getting the latest image tag.")
9
9
  });
10
10
  //#endregion
11
11
  export { flyGetLatestImageTag };
@@ -1 +1 @@
1
- {"version":3,"file":"get-latest-image-tag.mjs","names":[],"sources":["../../src/actions/get-latest-image-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetLatestImageTagInput = z.object({\n repository: z.string().describe(\"The Docker image repository name (e.g., 'flyio/postgres', 'flyio/hellofly'). This should be the full repository path.\"),\n}).describe(\"Request model for getting the latest image tag.\");\nexport const FlyGetLatestImageTagOutput = z.object({\n latest_image_tag: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The latest available tag for the image repository with full repository path and SHA256 digest (e.g., 'flyio/postgres:14.6@sha256:...'). Returns None if the repository is not found or no tags are available.\").optional()),\n}).describe(\"Response model for getting the latest image tag.\");\n\nexport const flyGetLatestImageTag = action(\"FLY_GET_LATEST_IMAGE_TAG\", {\n slug: \"fly-get-latest-image-tag\",\n name: \"Get Latest Image Tag\",\n description: \"Tool to retrieve the latest available image tag for a Fly.io Docker repository. Use when you need to find the most recent version of a Fly.io image.\",\n input: FlyGetLatestImageTagInput,\n output: FlyGetLatestImageTagOutput,\n});\n"],"mappings":";;AAWA,MAAa,uBAAuB,OAAO,4BAA4B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXuC,EAAE,OAAO,EAChD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,EACzJ,CAAC,CAAC,CAAC,SAAS,iDASH;CACP,QATwC,EAAE,OAAO,EACjD,kBAAkB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+MAA+M,CAAC,CAAC,SAAS,CAAC,EACjU,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-latest-image-tag.mjs","names":[],"sources":["../../src/actions/get-latest-image-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetLatestImageTagInput = z.object({\n repository: z.string().describe(\"The Docker image repository name (e.g., 'flyio/postgres', 'flyio/hellofly'). This should be the full repository path.\"),\n}).describe(\"Request model for getting the latest image tag.\");\nexport const FlyGetLatestImageTagOutput = z.object({\n latest_image_tag: z.string().describe(\"The latest available tag for the image repository with full repository path and SHA256 digest (e.g., 'flyio/postgres:14.6@sha256:...'). Returns None if the repository is not found or no tags are available.\").nullable().optional(),\n}).passthrough().describe(\"Response model for getting the latest image tag.\");\n\nexport const flyGetLatestImageTag = action(\"FLY_GET_LATEST_IMAGE_TAG\", {\n slug: \"fly-get-latest-image-tag\",\n name: \"Get Latest Image Tag\",\n description: \"Tool to retrieve the latest available image tag for a Fly.io Docker repository. Use when you need to find the most recent version of a Fly.io image.\",\n input: FlyGetLatestImageTagInput,\n output: FlyGetLatestImageTagOutput,\n});\n"],"mappings":";;AAWA,MAAa,uBAAuB,OAAO,4BAA4B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXuC,EAAE,OAAO,EAChD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,EACzJ,CAAC,CAAC,CAAC,SAAS,iDASH;CACP,QATwC,EAAE,OAAO,EACjD,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,+MAA+M,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7Q,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
@@ -3,30 +3,30 @@ let zod = require("zod");
3
3
  //#region src/actions/get-machine.ts
4
4
  const FlyGetMachineInput = zod.z.object({ machineId: zod.z.string().describe("The unique identifier of the machine to retrieve.") }).describe("Request parameters for retrieving a machine by ID.");
5
5
  const FlyGetMachine_MachineDataSchema = zod.z.object({
6
- id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Unique identifier of the machine.").optional()),
7
- name: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Name of the machine.").optional()),
8
- state: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Current state of the machine (e.g., started, stopped, destroyed).").optional()),
9
- config: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.record(zod.z.string(), zod.z.unknown()).describe("Configuration object for the machine.").optional()),
10
- region: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Region where the machine is deployed.").optional()),
11
- createdAt: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Timestamp when the machine was created (ISO 8601 format).").optional()),
12
- updatedAt: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Timestamp when the machine was last updated (ISO 8601 format).").optional()),
13
- instanceId: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Instance identifier for the machine.").optional())
14
- }).describe("Machine information returned by the Fly.io API.");
15
- const FlyGetMachine_GetMachineResponseDataSchema = zod.z.object({ machine: zod.z.preprocess((value) => value === null ? void 0 : value, FlyGetMachine_MachineDataSchema.optional()) }).describe("Data section of the GraphQL response.");
6
+ id: zod.z.string().describe("Unique identifier of the machine.").nullable().optional(),
7
+ name: zod.z.string().describe("Name of the machine.").nullable().optional(),
8
+ state: zod.z.string().describe("Current state of the machine (e.g., started, stopped, destroyed).").nullable().optional(),
9
+ config: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Configuration object for the machine.").nullable().optional(),
10
+ region: zod.z.string().describe("Region where the machine is deployed.").nullable().optional(),
11
+ createdAt: zod.z.string().describe("Timestamp when the machine was created (ISO 8601 format).").nullable().optional(),
12
+ updatedAt: zod.z.string().describe("Timestamp when the machine was last updated (ISO 8601 format).").nullable().optional(),
13
+ instanceId: zod.z.string().describe("Instance identifier for the machine.").nullable().optional()
14
+ }).passthrough().describe("Machine information returned by the Fly.io API.");
15
+ const FlyGetMachine_GetMachineResponseDataSchema = zod.z.object({ machine: FlyGetMachine_MachineDataSchema.nullable().optional() }).passthrough().describe("Data section of the GraphQL response.");
16
16
  const FlyGetMachine_GraphQLErrorLocationSchema = zod.z.object({
17
17
  line: zod.z.number().int().describe("Line number in the GraphQL document where the error occurred (1-indexed).").nullable(),
18
18
  column: zod.z.number().int().describe("Column number in the GraphQL document where the error occurred (1-indexed).").nullable()
19
- }).describe("Location of a GraphQL error in the query document.");
19
+ }).passthrough().describe("Location of a GraphQL error in the query document.");
20
20
  const FlyGetMachine_GraphQLErrorSchema = zod.z.object({
21
- path: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(zod.z.string()).describe("Path to the field that caused the error.").optional()),
21
+ path: zod.z.array(zod.z.string()).describe("Path to the field that caused the error.").nullable().optional(),
22
22
  message: zod.z.string().describe("Description of the error that occurred during query execution.").nullable(),
23
- locations: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(FlyGetMachine_GraphQLErrorLocationSchema).describe("List of locations in the GraphQL document where the error originated.").optional()),
24
- extensions: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional error metadata.").optional())
25
- }).describe("Detailed information about a GraphQL execution error.");
23
+ locations: zod.z.array(FlyGetMachine_GraphQLErrorLocationSchema).describe("List of locations in the GraphQL document where the error originated.").nullable().optional(),
24
+ extensions: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional error metadata.").nullable().optional()
25
+ }).passthrough().describe("Detailed information about a GraphQL execution error.");
26
26
  const FlyGetMachineOutput = zod.z.object({
27
- data: zod.z.preprocess((value) => value === null ? void 0 : value, FlyGetMachine_GetMachineResponseDataSchema.optional()),
28
- errors: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(FlyGetMachine_GraphQLErrorSchema).describe("List of errors encountered during query execution. Present when query fails.").optional())
29
- }).describe("Response from the Fly.io GraphQL API for machine query.");
27
+ data: FlyGetMachine_GetMachineResponseDataSchema.nullable().optional(),
28
+ errors: zod.z.array(FlyGetMachine_GraphQLErrorSchema).describe("List of errors encountered during query execution. Present when query fails.").nullable().optional()
29
+ }).passthrough().describe("Response from the Fly.io GraphQL API for machine query.");
30
30
  const flyGetMachine = require_action.action("FLY_GET_MACHINE", {
31
31
  slug: "fly-get-machine",
32
32
  name: "Get Machine",