@keystrokehq/fly 0.1.0 → 0.1.1

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 (369) 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 +5 -5
  4. package/dist/actions/add-wire-guard-peer.cjs.map +1 -1
  5. package/dist/actions/add-wire-guard-peer.d.cts +27 -3
  6. package/dist/actions/add-wire-guard-peer.d.cts.map +1 -1
  7. package/dist/actions/add-wire-guard-peer.d.mts +27 -3
  8. package/dist/actions/add-wire-guard-peer.d.mts.map +1 -1
  9. package/dist/actions/add-wire-guard-peer.mjs +5 -5
  10. package/dist/actions/add-wire-guard-peer.mjs.map +1 -1
  11. package/dist/actions/check-app-name-availability.cjs +3 -3
  12. package/dist/actions/check-app-name-availability.cjs.map +1 -1
  13. package/dist/actions/check-app-name-availability.d.cts +17 -3
  14. package/dist/actions/check-app-name-availability.d.cts.map +1 -1
  15. package/dist/actions/check-app-name-availability.d.mts +17 -3
  16. package/dist/actions/check-app-name-availability.d.mts.map +1 -1
  17. package/dist/actions/check-app-name-availability.mjs +3 -3
  18. package/dist/actions/check-app-name-availability.mjs.map +1 -1
  19. package/dist/actions/check-jobs.cjs +2 -2
  20. package/dist/actions/check-jobs.cjs.map +1 -1
  21. package/dist/actions/check-jobs.d.cts +15 -3
  22. package/dist/actions/check-jobs.d.cts.map +1 -1
  23. package/dist/actions/check-jobs.d.mts +15 -3
  24. package/dist/actions/check-jobs.d.mts.map +1 -1
  25. package/dist/actions/check-jobs.mjs +2 -2
  26. package/dist/actions/check-jobs.mjs.map +1 -1
  27. package/dist/actions/check-user-only-token.cjs +2 -2
  28. package/dist/actions/check-user-only-token.cjs.map +1 -1
  29. package/dist/actions/check-user-only-token.d.cts +11 -3
  30. package/dist/actions/check-user-only-token.d.cts.map +1 -1
  31. package/dist/actions/check-user-only-token.d.mts +11 -3
  32. package/dist/actions/check-user-only-token.d.mts.map +1 -1
  33. package/dist/actions/check-user-only-token.mjs +2 -2
  34. package/dist/actions/check-user-only-token.mjs.map +1 -1
  35. package/dist/actions/create-check-job-run.cjs +7 -7
  36. package/dist/actions/create-check-job-run.cjs.map +1 -1
  37. package/dist/actions/create-check-job-run.d.cts +27 -3
  38. package/dist/actions/create-check-job-run.d.cts.map +1 -1
  39. package/dist/actions/create-check-job-run.d.mts +27 -3
  40. package/dist/actions/create-check-job-run.d.mts.map +1 -1
  41. package/dist/actions/create-check-job-run.mjs +7 -7
  42. package/dist/actions/create-check-job-run.mjs.map +1 -1
  43. package/dist/actions/create-check-job.cjs +4 -4
  44. package/dist/actions/create-check-job.cjs.map +1 -1
  45. package/dist/actions/create-check-job.d.cts +38 -3
  46. package/dist/actions/create-check-job.d.cts.map +1 -1
  47. package/dist/actions/create-check-job.d.mts +38 -3
  48. package/dist/actions/create-check-job.d.mts.map +1 -1
  49. package/dist/actions/create-check-job.mjs +4 -4
  50. package/dist/actions/create-check-job.mjs.map +1 -1
  51. package/dist/actions/create-delegated-wire-guard-token.cjs +2 -2
  52. package/dist/actions/create-delegated-wire-guard-token.cjs.map +1 -1
  53. package/dist/actions/create-delegated-wire-guard-token.d.cts +17 -3
  54. package/dist/actions/create-delegated-wire-guard-token.d.cts.map +1 -1
  55. package/dist/actions/create-delegated-wire-guard-token.d.mts +17 -3
  56. package/dist/actions/create-delegated-wire-guard-token.d.mts.map +1 -1
  57. package/dist/actions/create-delegated-wire-guard-token.mjs +2 -2
  58. package/dist/actions/create-delegated-wire-guard-token.mjs.map +1 -1
  59. package/dist/actions/create-third-party-configuration.cjs +12 -12
  60. package/dist/actions/create-third-party-configuration.cjs.map +1 -1
  61. package/dist/actions/create-third-party-configuration.d.cts +87 -3
  62. package/dist/actions/create-third-party-configuration.d.cts.map +1 -1
  63. package/dist/actions/create-third-party-configuration.d.mts +87 -3
  64. package/dist/actions/create-third-party-configuration.d.mts.map +1 -1
  65. package/dist/actions/create-third-party-configuration.mjs +12 -12
  66. package/dist/actions/create-third-party-configuration.mjs.map +1 -1
  67. package/dist/actions/delete-delegated-wire-guard-token.cjs +2 -2
  68. package/dist/actions/delete-delegated-wire-guard-token.cjs.map +1 -1
  69. package/dist/actions/delete-delegated-wire-guard-token.d.cts +19 -3
  70. package/dist/actions/delete-delegated-wire-guard-token.d.cts.map +1 -1
  71. package/dist/actions/delete-delegated-wire-guard-token.d.mts +19 -3
  72. package/dist/actions/delete-delegated-wire-guard-token.d.mts.map +1 -1
  73. package/dist/actions/delete-delegated-wire-guard-token.mjs +2 -2
  74. package/dist/actions/delete-delegated-wire-guard-token.mjs.map +1 -1
  75. package/dist/actions/delete-organization.cjs +7 -7
  76. package/dist/actions/delete-organization.cjs.map +1 -1
  77. package/dist/actions/delete-organization.d.cts +29 -3
  78. package/dist/actions/delete-organization.d.cts.map +1 -1
  79. package/dist/actions/delete-organization.d.mts +29 -3
  80. package/dist/actions/delete-organization.d.mts.map +1 -1
  81. package/dist/actions/delete-organization.mjs +7 -7
  82. package/dist/actions/delete-organization.mjs.map +1 -1
  83. package/dist/actions/delete-remote-builder.cjs +4 -4
  84. package/dist/actions/delete-remote-builder.cjs.map +1 -1
  85. package/dist/actions/delete-remote-builder.d.cts +21 -3
  86. package/dist/actions/delete-remote-builder.d.cts.map +1 -1
  87. package/dist/actions/delete-remote-builder.d.mts +21 -3
  88. package/dist/actions/delete-remote-builder.d.mts.map +1 -1
  89. package/dist/actions/delete-remote-builder.mjs +4 -4
  90. package/dist/actions/delete-remote-builder.mjs.map +1 -1
  91. package/dist/actions/delete-third-party-configuration.cjs +2 -2
  92. package/dist/actions/delete-third-party-configuration.cjs.map +1 -1
  93. package/dist/actions/delete-third-party-configuration.d.cts +15 -3
  94. package/dist/actions/delete-third-party-configuration.d.cts.map +1 -1
  95. package/dist/actions/delete-third-party-configuration.d.mts +15 -3
  96. package/dist/actions/delete-third-party-configuration.d.mts.map +1 -1
  97. package/dist/actions/delete-third-party-configuration.mjs +2 -2
  98. package/dist/actions/delete-third-party-configuration.mjs.map +1 -1
  99. package/dist/actions/detach-postgres-cluster.cjs +7 -7
  100. package/dist/actions/detach-postgres-cluster.cjs.map +1 -1
  101. package/dist/actions/detach-postgres-cluster.d.cts +33 -3
  102. package/dist/actions/detach-postgres-cluster.d.cts.map +1 -1
  103. package/dist/actions/detach-postgres-cluster.d.mts +33 -3
  104. package/dist/actions/detach-postgres-cluster.d.mts.map +1 -1
  105. package/dist/actions/detach-postgres-cluster.mjs +7 -7
  106. package/dist/actions/detach-postgres-cluster.mjs.map +1 -1
  107. package/dist/actions/establish-ssh-key.cjs +2 -2
  108. package/dist/actions/establish-ssh-key.cjs.map +1 -1
  109. package/dist/actions/establish-ssh-key.d.cts +17 -3
  110. package/dist/actions/establish-ssh-key.d.cts.map +1 -1
  111. package/dist/actions/establish-ssh-key.d.mts +17 -3
  112. package/dist/actions/establish-ssh-key.d.mts.map +1 -1
  113. package/dist/actions/establish-ssh-key.mjs +2 -2
  114. package/dist/actions/establish-ssh-key.mjs.map +1 -1
  115. package/dist/actions/fetch-nodes-by-ids.cjs +2 -2
  116. package/dist/actions/fetch-nodes-by-ids.cjs.map +1 -1
  117. package/dist/actions/fetch-nodes-by-ids.d.cts +15 -3
  118. package/dist/actions/fetch-nodes-by-ids.d.cts.map +1 -1
  119. package/dist/actions/fetch-nodes-by-ids.d.mts +15 -3
  120. package/dist/actions/fetch-nodes-by-ids.d.mts.map +1 -1
  121. package/dist/actions/fetch-nodes-by-ids.mjs +2 -2
  122. package/dist/actions/fetch-nodes-by-ids.mjs.map +1 -1
  123. package/dist/actions/get-add-on-provider.cjs +16 -16
  124. package/dist/actions/get-add-on-provider.cjs.map +1 -1
  125. package/dist/actions/get-add-on-provider.d.cts +41 -3
  126. package/dist/actions/get-add-on-provider.d.cts.map +1 -1
  127. package/dist/actions/get-add-on-provider.d.mts +41 -3
  128. package/dist/actions/get-add-on-provider.d.mts.map +1 -1
  129. package/dist/actions/get-add-on-provider.mjs +16 -16
  130. package/dist/actions/get-add-on-provider.mjs.map +1 -1
  131. package/dist/actions/get-add-on.cjs +16 -16
  132. package/dist/actions/get-add-on.cjs.map +1 -1
  133. package/dist/actions/get-add-on.d.cts +51 -3
  134. package/dist/actions/get-add-on.d.cts.map +1 -1
  135. package/dist/actions/get-add-on.d.mts +51 -3
  136. package/dist/actions/get-add-on.d.mts.map +1 -1
  137. package/dist/actions/get-add-on.mjs +16 -16
  138. package/dist/actions/get-add-on.mjs.map +1 -1
  139. package/dist/actions/get-app-details.cjs +9 -9
  140. package/dist/actions/get-app-details.cjs.map +1 -1
  141. package/dist/actions/get-app-details.d.cts +35 -3
  142. package/dist/actions/get-app-details.d.cts.map +1 -1
  143. package/dist/actions/get-app-details.d.mts +35 -3
  144. package/dist/actions/get-app-details.d.mts.map +1 -1
  145. package/dist/actions/get-app-details.mjs +9 -9
  146. package/dist/actions/get-app-details.mjs.map +1 -1
  147. package/dist/actions/get-certificate.cjs +21 -21
  148. package/dist/actions/get-certificate.cjs.map +1 -1
  149. package/dist/actions/get-certificate.d.cts +59 -3
  150. package/dist/actions/get-certificate.d.cts.map +1 -1
  151. package/dist/actions/get-certificate.d.mts +59 -3
  152. package/dist/actions/get-certificate.d.mts.map +1 -1
  153. package/dist/actions/get-certificate.mjs +21 -21
  154. package/dist/actions/get-certificate.mjs.map +1 -1
  155. package/dist/actions/get-current-token-info.cjs +8 -8
  156. package/dist/actions/get-current-token-info.cjs.map +1 -1
  157. package/dist/actions/get-current-token-info.d.cts +23 -3
  158. package/dist/actions/get-current-token-info.d.cts.map +1 -1
  159. package/dist/actions/get-current-token-info.d.mts +23 -3
  160. package/dist/actions/get-current-token-info.d.mts.map +1 -1
  161. package/dist/actions/get-current-token-info.mjs +8 -8
  162. package/dist/actions/get-current-token-info.mjs.map +1 -1
  163. package/dist/actions/get-latest-image-details.cjs +5 -5
  164. package/dist/actions/get-latest-image-details.cjs.map +1 -1
  165. package/dist/actions/get-latest-image-details.d.cts +21 -3
  166. package/dist/actions/get-latest-image-details.d.cts.map +1 -1
  167. package/dist/actions/get-latest-image-details.d.mts +21 -3
  168. package/dist/actions/get-latest-image-details.d.mts.map +1 -1
  169. package/dist/actions/get-latest-image-details.mjs +5 -5
  170. package/dist/actions/get-latest-image-details.mjs.map +1 -1
  171. package/dist/actions/get-latest-image-tag.cjs +1 -1
  172. package/dist/actions/get-latest-image-tag.cjs.map +1 -1
  173. package/dist/actions/get-latest-image-tag.d.cts +11 -3
  174. package/dist/actions/get-latest-image-tag.d.cts.map +1 -1
  175. package/dist/actions/get-latest-image-tag.d.mts +11 -3
  176. package/dist/actions/get-latest-image-tag.d.mts.map +1 -1
  177. package/dist/actions/get-latest-image-tag.mjs +1 -1
  178. package/dist/actions/get-latest-image-tag.mjs.map +1 -1
  179. package/dist/actions/get-machine.cjs +17 -17
  180. package/dist/actions/get-machine.cjs.map +1 -1
  181. package/dist/actions/get-machine.d.cts +51 -3
  182. package/dist/actions/get-machine.d.cts.map +1 -1
  183. package/dist/actions/get-machine.d.mts +51 -3
  184. package/dist/actions/get-machine.d.mts.map +1 -1
  185. package/dist/actions/get-machine.mjs +17 -17
  186. package/dist/actions/get-machine.mjs.map +1 -1
  187. package/dist/actions/get-nearest-region.cjs +2 -2
  188. package/dist/actions/get-nearest-region.cjs.map +1 -1
  189. package/dist/actions/get-nearest-region.d.cts +9 -3
  190. package/dist/actions/get-nearest-region.d.cts.map +1 -1
  191. package/dist/actions/get-nearest-region.d.mts +9 -3
  192. package/dist/actions/get-nearest-region.d.mts.map +1 -1
  193. package/dist/actions/get-nearest-region.mjs +2 -2
  194. package/dist/actions/get-nearest-region.mjs.map +1 -1
  195. package/dist/actions/get-node.cjs +10 -10
  196. package/dist/actions/get-node.cjs.map +1 -1
  197. package/dist/actions/get-node.d.cts +37 -3
  198. package/dist/actions/get-node.d.cts.map +1 -1
  199. package/dist/actions/get-node.d.mts +37 -3
  200. package/dist/actions/get-node.d.mts.map +1 -1
  201. package/dist/actions/get-node.mjs +10 -10
  202. package/dist/actions/get-node.mjs.map +1 -1
  203. package/dist/actions/get-organization.cjs +7 -7
  204. package/dist/actions/get-organization.cjs.map +1 -1
  205. package/dist/actions/get-organization.d.cts +27 -3
  206. package/dist/actions/get-organization.d.cts.map +1 -1
  207. package/dist/actions/get-organization.d.mts +27 -3
  208. package/dist/actions/get-organization.d.mts.map +1 -1
  209. package/dist/actions/get-organization.mjs +7 -7
  210. package/dist/actions/get-organization.mjs.map +1 -1
  211. package/dist/actions/get-personal-organization.cjs +6 -6
  212. package/dist/actions/get-personal-organization.cjs.map +1 -1
  213. package/dist/actions/get-personal-organization.d.cts +29 -3
  214. package/dist/actions/get-personal-organization.d.cts.map +1 -1
  215. package/dist/actions/get-personal-organization.d.mts +29 -3
  216. package/dist/actions/get-personal-organization.d.mts.map +1 -1
  217. package/dist/actions/get-personal-organization.mjs +6 -6
  218. package/dist/actions/get-personal-organization.mjs.map +1 -1
  219. package/dist/actions/get-placements.cjs +3 -3
  220. package/dist/actions/get-placements.cjs.map +1 -1
  221. package/dist/actions/get-placements.d.cts +49 -3
  222. package/dist/actions/get-placements.d.cts.map +1 -1
  223. package/dist/actions/get-placements.d.mts +49 -3
  224. package/dist/actions/get-placements.d.mts.map +1 -1
  225. package/dist/actions/get-placements.mjs +3 -3
  226. package/dist/actions/get-placements.mjs.map +1 -1
  227. package/dist/actions/get-platform-info.cjs +11 -11
  228. package/dist/actions/get-platform-info.cjs.map +1 -1
  229. package/dist/actions/get-platform-info.d.cts +33 -3
  230. package/dist/actions/get-platform-info.d.cts.map +1 -1
  231. package/dist/actions/get-platform-info.d.mts +33 -3
  232. package/dist/actions/get-platform-info.d.mts.map +1 -1
  233. package/dist/actions/get-platform-info.mjs +11 -11
  234. package/dist/actions/get-platform-info.mjs.map +1 -1
  235. package/dist/actions/get-products.cjs +6 -6
  236. package/dist/actions/get-products.cjs.map +1 -1
  237. package/dist/actions/get-products.d.cts +23 -3
  238. package/dist/actions/get-products.d.cts.map +1 -1
  239. package/dist/actions/get-products.d.mts +23 -3
  240. package/dist/actions/get-products.d.mts.map +1 -1
  241. package/dist/actions/get-products.mjs +6 -6
  242. package/dist/actions/get-products.mjs.map +1 -1
  243. package/dist/actions/get-regions.cjs +11 -11
  244. package/dist/actions/get-regions.cjs.map +1 -1
  245. package/dist/actions/get-regions.d.cts +43 -3
  246. package/dist/actions/get-regions.d.cts.map +1 -1
  247. package/dist/actions/get-regions.d.mts +43 -3
  248. package/dist/actions/get-regions.d.mts.map +1 -1
  249. package/dist/actions/get-regions.mjs +11 -11
  250. package/dist/actions/get-regions.mjs.map +1 -1
  251. package/dist/actions/get-viewer-info.cjs +4 -4
  252. package/dist/actions/get-viewer-info.cjs.map +1 -1
  253. package/dist/actions/get-viewer-info.d.cts +25 -3
  254. package/dist/actions/get-viewer-info.d.cts.map +1 -1
  255. package/dist/actions/get-viewer-info.d.mts +25 -3
  256. package/dist/actions/get-viewer-info.d.mts.map +1 -1
  257. package/dist/actions/get-viewer-info.mjs +4 -4
  258. package/dist/actions/get-viewer-info.mjs.map +1 -1
  259. package/dist/actions/issue-certificate.cjs +2 -2
  260. package/dist/actions/issue-certificate.cjs.map +1 -1
  261. package/dist/actions/issue-certificate.d.cts +23 -3
  262. package/dist/actions/issue-certificate.d.cts.map +1 -1
  263. package/dist/actions/issue-certificate.d.mts +23 -3
  264. package/dist/actions/issue-certificate.d.mts.map +1 -1
  265. package/dist/actions/issue-certificate.mjs +2 -2
  266. package/dist/actions/issue-certificate.mjs.map +1 -1
  267. package/dist/actions/list-add-on-plans.cjs +22 -22
  268. package/dist/actions/list-add-on-plans.cjs.map +1 -1
  269. package/dist/actions/list-add-on-plans.d.cts +91 -3
  270. package/dist/actions/list-add-on-plans.d.cts.map +1 -1
  271. package/dist/actions/list-add-on-plans.d.mts +91 -3
  272. package/dist/actions/list-add-on-plans.d.mts.map +1 -1
  273. package/dist/actions/list-add-on-plans.mjs +22 -22
  274. package/dist/actions/list-add-on-plans.mjs.map +1 -1
  275. package/dist/actions/list-add-ons.cjs +23 -23
  276. package/dist/actions/list-add-ons.cjs.map +1 -1
  277. package/dist/actions/list-add-ons.d.cts +169 -3
  278. package/dist/actions/list-add-ons.d.cts.map +1 -1
  279. package/dist/actions/list-add-ons.d.mts +169 -3
  280. package/dist/actions/list-add-ons.d.mts.map +1 -1
  281. package/dist/actions/list-add-ons.mjs +23 -23
  282. package/dist/actions/list-add-ons.mjs.map +1 -1
  283. package/dist/actions/list-apps-graphql.cjs +20 -20
  284. package/dist/actions/list-apps-graphql.cjs.map +1 -1
  285. package/dist/actions/list-apps-graphql.d.cts +79 -3
  286. package/dist/actions/list-apps-graphql.d.cts.map +1 -1
  287. package/dist/actions/list-apps-graphql.d.mts +79 -3
  288. package/dist/actions/list-apps-graphql.d.mts.map +1 -1
  289. package/dist/actions/list-apps-graphql.mjs +20 -20
  290. package/dist/actions/list-apps-graphql.mjs.map +1 -1
  291. package/dist/actions/list-apps.cjs +13 -13
  292. package/dist/actions/list-apps.cjs.map +1 -1
  293. package/dist/actions/list-apps.d.cts +41 -3
  294. package/dist/actions/list-apps.d.cts.map +1 -1
  295. package/dist/actions/list-apps.d.mts +41 -3
  296. package/dist/actions/list-apps.d.mts.map +1 -1
  297. package/dist/actions/list-apps.mjs +13 -13
  298. package/dist/actions/list-apps.mjs.map +1 -1
  299. package/dist/actions/list-check-locations.cjs +5 -5
  300. package/dist/actions/list-check-locations.cjs.map +1 -1
  301. package/dist/actions/list-check-locations.d.cts +23 -3
  302. package/dist/actions/list-check-locations.d.cts.map +1 -1
  303. package/dist/actions/list-check-locations.d.mts +23 -3
  304. package/dist/actions/list-check-locations.d.mts.map +1 -1
  305. package/dist/actions/list-check-locations.mjs +5 -5
  306. package/dist/actions/list-check-locations.mjs.map +1 -1
  307. package/dist/actions/list-machines.cjs +1 -1
  308. package/dist/actions/list-machines.cjs.map +1 -1
  309. package/dist/actions/list-machines.d.cts +19 -3
  310. package/dist/actions/list-machines.d.cts.map +1 -1
  311. package/dist/actions/list-machines.d.mts +19 -3
  312. package/dist/actions/list-machines.d.mts.map +1 -1
  313. package/dist/actions/list-machines.mjs +1 -1
  314. package/dist/actions/list-machines.mjs.map +1 -1
  315. package/dist/actions/list-org-machines.cjs +14 -14
  316. package/dist/actions/list-org-machines.cjs.map +1 -1
  317. package/dist/actions/list-org-machines.d.cts +51 -3
  318. package/dist/actions/list-org-machines.d.cts.map +1 -1
  319. package/dist/actions/list-org-machines.d.mts +51 -3
  320. package/dist/actions/list-org-machines.d.mts.map +1 -1
  321. package/dist/actions/list-org-machines.mjs +14 -14
  322. package/dist/actions/list-org-machines.mjs.map +1 -1
  323. package/dist/actions/remove-wire-guard-peer.cjs +3 -3
  324. package/dist/actions/remove-wire-guard-peer.cjs.map +1 -1
  325. package/dist/actions/remove-wire-guard-peer.d.cts +19 -3
  326. package/dist/actions/remove-wire-guard-peer.d.cts.map +1 -1
  327. package/dist/actions/remove-wire-guard-peer.d.mts +19 -3
  328. package/dist/actions/remove-wire-guard-peer.d.mts.map +1 -1
  329. package/dist/actions/remove-wire-guard-peer.mjs +3 -3
  330. package/dist/actions/remove-wire-guard-peer.mjs.map +1 -1
  331. package/dist/actions/set-apps-v2-default-on.cjs +5 -5
  332. package/dist/actions/set-apps-v2-default-on.cjs.map +1 -1
  333. package/dist/actions/set-apps-v2-default-on.d.cts +25 -3
  334. package/dist/actions/set-apps-v2-default-on.d.cts.map +1 -1
  335. package/dist/actions/set-apps-v2-default-on.d.mts +25 -3
  336. package/dist/actions/set-apps-v2-default-on.d.mts.map +1 -1
  337. package/dist/actions/set-apps-v2-default-on.mjs +5 -5
  338. package/dist/actions/set-apps-v2-default-on.mjs.map +1 -1
  339. package/dist/actions/update-third-party-configuration.cjs +12 -12
  340. package/dist/actions/update-third-party-configuration.cjs.map +1 -1
  341. package/dist/actions/update-third-party-configuration.d.cts +87 -3
  342. package/dist/actions/update-third-party-configuration.d.cts.map +1 -1
  343. package/dist/actions/update-third-party-configuration.d.mts +87 -3
  344. package/dist/actions/update-third-party-configuration.d.mts.map +1 -1
  345. package/dist/actions/update-third-party-configuration.mjs +12 -12
  346. package/dist/actions/update-third-party-configuration.mjs.map +1 -1
  347. package/dist/actions/validate-config.cjs +5 -5
  348. package/dist/actions/validate-config.cjs.map +1 -1
  349. package/dist/actions/validate-config.d.cts +21 -3
  350. package/dist/actions/validate-config.d.cts.map +1 -1
  351. package/dist/actions/validate-config.d.mts +21 -3
  352. package/dist/actions/validate-config.d.mts.map +1 -1
  353. package/dist/actions/validate-config.mjs +5 -5
  354. package/dist/actions/validate-config.mjs.map +1 -1
  355. package/dist/actions/validate-wire-guard-peers.cjs +1 -1
  356. package/dist/actions/validate-wire-guard-peers.cjs.map +1 -1
  357. package/dist/actions/validate-wire-guard-peers.d.cts +11 -3
  358. package/dist/actions/validate-wire-guard-peers.d.cts.map +1 -1
  359. package/dist/actions/validate-wire-guard-peers.d.mts +11 -3
  360. package/dist/actions/validate-wire-guard-peers.d.mts.map +1 -1
  361. package/dist/actions/validate-wire-guard-peers.mjs +1 -1
  362. package/dist/actions/validate-wire-guard-peers.mjs.map +1 -1
  363. package/dist/catalog.cjs +14 -1
  364. package/dist/catalog.cjs.map +1 -1
  365. package/dist/catalog.d.cts +13 -0
  366. package/dist/catalog.d.mts +13 -0
  367. package/dist/catalog.mjs +14 -1
  368. package/dist/catalog.mjs.map +1 -1
  369. package/package.json +2 -2
@@ -1,9 +1,93 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-third-party-configuration.d.ts
4
- declare const FlyCreateThirdPartyConfigurationInput: z.ZodTypeAny;
5
- declare const FlyCreateThirdPartyConfigurationOutput: z.ZodTypeAny;
6
- declare const flyCreateThirdPartyConfiguration: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const FlyCreateThirdPartyConfigurationInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ caveats: z.ZodOptional<z.ZodString>;
7
+ location: z.ZodString;
8
+ uiexLevel: z.ZodEnum<{
9
+ DISABLED: "DISABLED";
10
+ OPT_IN: "OPT_IN";
11
+ MEMBER_OPT_OUT: "MEMBER_OPT_OUT";
12
+ ADMIN_OPT_OUT: "ADMIN_OPT_OUT";
13
+ REQUIRED: "REQUIRED";
14
+ }>;
15
+ customLevel: z.ZodEnum<{
16
+ DISABLED: "DISABLED";
17
+ OPT_IN: "OPT_IN";
18
+ MEMBER_OPT_OUT: "MEMBER_OPT_OUT";
19
+ ADMIN_OPT_OUT: "ADMIN_OPT_OUT";
20
+ REQUIRED: "REQUIRED";
21
+ }>;
22
+ flyctlLevel: z.ZodEnum<{
23
+ DISABLED: "DISABLED";
24
+ OPT_IN: "OPT_IN";
25
+ MEMBER_OPT_OUT: "MEMBER_OPT_OUT";
26
+ ADMIN_OPT_OUT: "ADMIN_OPT_OUT";
27
+ REQUIRED: "REQUIRED";
28
+ }>;
29
+ organizationId: z.ZodString;
30
+ clientMutationId: z.ZodOptional<z.ZodString>;
31
+ }, z.core.$strip>;
32
+ declare const FlyCreateThirdPartyConfigurationOutput: z.ZodObject<{
33
+ clientMutationId: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
34
+ thirdPartyConfiguration: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
35
+ id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
36
+ name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
37
+ location: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
38
+ uiexLevel: z.ZodPreprocess<z.ZodOptional<z.ZodEnum<{
39
+ DISABLED: "DISABLED";
40
+ OPT_IN: "OPT_IN";
41
+ MEMBER_OPT_OUT: "MEMBER_OPT_OUT";
42
+ ADMIN_OPT_OUT: "ADMIN_OPT_OUT";
43
+ REQUIRED: "REQUIRED";
44
+ }>>>;
45
+ customLevel: z.ZodPreprocess<z.ZodOptional<z.ZodEnum<{
46
+ DISABLED: "DISABLED";
47
+ OPT_IN: "OPT_IN";
48
+ MEMBER_OPT_OUT: "MEMBER_OPT_OUT";
49
+ ADMIN_OPT_OUT: "ADMIN_OPT_OUT";
50
+ REQUIRED: "REQUIRED";
51
+ }>>>;
52
+ flyctlLevel: z.ZodPreprocess<z.ZodOptional<z.ZodEnum<{
53
+ DISABLED: "DISABLED";
54
+ OPT_IN: "OPT_IN";
55
+ MEMBER_OPT_OUT: "MEMBER_OPT_OUT";
56
+ ADMIN_OPT_OUT: "ADMIN_OPT_OUT";
57
+ REQUIRED: "REQUIRED";
58
+ }>>>;
59
+ organization: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
60
+ id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
61
+ name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
62
+ slug: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
63
+ }, z.core.$strip>>>;
64
+ }, z.core.$strip>>>;
65
+ }, z.core.$strip>;
66
+ declare const flyCreateThirdPartyConfiguration: import("@keystrokehq/action").WorkflowActionDefinition<{
67
+ name: string;
68
+ location: string;
69
+ uiexLevel: "DISABLED" | "OPT_IN" | "MEMBER_OPT_OUT" | "ADMIN_OPT_OUT" | "REQUIRED";
70
+ customLevel: "DISABLED" | "OPT_IN" | "MEMBER_OPT_OUT" | "ADMIN_OPT_OUT" | "REQUIRED";
71
+ flyctlLevel: "DISABLED" | "OPT_IN" | "MEMBER_OPT_OUT" | "ADMIN_OPT_OUT" | "REQUIRED";
72
+ organizationId: string;
73
+ caveats?: string | undefined;
74
+ clientMutationId?: string | undefined;
75
+ }, {
76
+ clientMutationId?: string | undefined;
77
+ thirdPartyConfiguration?: {
78
+ id?: string | undefined;
79
+ name?: string | undefined;
80
+ location?: string | undefined;
81
+ uiexLevel?: "DISABLED" | "OPT_IN" | "MEMBER_OPT_OUT" | "ADMIN_OPT_OUT" | "REQUIRED" | undefined;
82
+ customLevel?: "DISABLED" | "OPT_IN" | "MEMBER_OPT_OUT" | "ADMIN_OPT_OUT" | "REQUIRED" | undefined;
83
+ flyctlLevel?: "DISABLED" | "OPT_IN" | "MEMBER_OPT_OUT" | "ADMIN_OPT_OUT" | "REQUIRED" | undefined;
84
+ organization?: {
85
+ id?: string | undefined;
86
+ name?: string | undefined;
87
+ slug?: string | undefined;
88
+ } | undefined;
89
+ } | undefined;
90
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
91
  //#endregion
8
92
  export { flyCreateThirdPartyConfiguration };
9
93
  //# sourceMappingURL=create-third-party-configuration.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-third-party-configuration.d.cts","names":[],"sources":["../../src/actions/create-third-party-configuration.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAS6B;AAAA,cAgBtE,sCAAA,EAAwC,CAAA,CAAE,UAGkB;AAAA,cAE5D,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-third-party-configuration.d.cts","names":[],"sources":["../../src/actions/create-third-party-configuration.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAyBrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKtC,gCAAA,gCAAgC,wBAAA"}
@@ -1,9 +1,93 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-third-party-configuration.d.ts
4
- declare const FlyCreateThirdPartyConfigurationInput: z.ZodTypeAny;
5
- declare const FlyCreateThirdPartyConfigurationOutput: z.ZodTypeAny;
6
- declare const flyCreateThirdPartyConfiguration: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const FlyCreateThirdPartyConfigurationInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ caveats: z.ZodOptional<z.ZodString>;
7
+ location: z.ZodString;
8
+ uiexLevel: z.ZodEnum<{
9
+ DISABLED: "DISABLED";
10
+ OPT_IN: "OPT_IN";
11
+ MEMBER_OPT_OUT: "MEMBER_OPT_OUT";
12
+ ADMIN_OPT_OUT: "ADMIN_OPT_OUT";
13
+ REQUIRED: "REQUIRED";
14
+ }>;
15
+ customLevel: z.ZodEnum<{
16
+ DISABLED: "DISABLED";
17
+ OPT_IN: "OPT_IN";
18
+ MEMBER_OPT_OUT: "MEMBER_OPT_OUT";
19
+ ADMIN_OPT_OUT: "ADMIN_OPT_OUT";
20
+ REQUIRED: "REQUIRED";
21
+ }>;
22
+ flyctlLevel: z.ZodEnum<{
23
+ DISABLED: "DISABLED";
24
+ OPT_IN: "OPT_IN";
25
+ MEMBER_OPT_OUT: "MEMBER_OPT_OUT";
26
+ ADMIN_OPT_OUT: "ADMIN_OPT_OUT";
27
+ REQUIRED: "REQUIRED";
28
+ }>;
29
+ organizationId: z.ZodString;
30
+ clientMutationId: z.ZodOptional<z.ZodString>;
31
+ }, z.core.$strip>;
32
+ declare const FlyCreateThirdPartyConfigurationOutput: z.ZodObject<{
33
+ clientMutationId: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
34
+ thirdPartyConfiguration: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
35
+ id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
36
+ name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
37
+ location: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
38
+ uiexLevel: z.ZodPreprocess<z.ZodOptional<z.ZodEnum<{
39
+ DISABLED: "DISABLED";
40
+ OPT_IN: "OPT_IN";
41
+ MEMBER_OPT_OUT: "MEMBER_OPT_OUT";
42
+ ADMIN_OPT_OUT: "ADMIN_OPT_OUT";
43
+ REQUIRED: "REQUIRED";
44
+ }>>>;
45
+ customLevel: z.ZodPreprocess<z.ZodOptional<z.ZodEnum<{
46
+ DISABLED: "DISABLED";
47
+ OPT_IN: "OPT_IN";
48
+ MEMBER_OPT_OUT: "MEMBER_OPT_OUT";
49
+ ADMIN_OPT_OUT: "ADMIN_OPT_OUT";
50
+ REQUIRED: "REQUIRED";
51
+ }>>>;
52
+ flyctlLevel: z.ZodPreprocess<z.ZodOptional<z.ZodEnum<{
53
+ DISABLED: "DISABLED";
54
+ OPT_IN: "OPT_IN";
55
+ MEMBER_OPT_OUT: "MEMBER_OPT_OUT";
56
+ ADMIN_OPT_OUT: "ADMIN_OPT_OUT";
57
+ REQUIRED: "REQUIRED";
58
+ }>>>;
59
+ organization: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
60
+ id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
61
+ name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
62
+ slug: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
63
+ }, z.core.$strip>>>;
64
+ }, z.core.$strip>>>;
65
+ }, z.core.$strip>;
66
+ declare const flyCreateThirdPartyConfiguration: import("@keystrokehq/action").WorkflowActionDefinition<{
67
+ name: string;
68
+ location: string;
69
+ uiexLevel: "DISABLED" | "OPT_IN" | "MEMBER_OPT_OUT" | "ADMIN_OPT_OUT" | "REQUIRED";
70
+ customLevel: "DISABLED" | "OPT_IN" | "MEMBER_OPT_OUT" | "ADMIN_OPT_OUT" | "REQUIRED";
71
+ flyctlLevel: "DISABLED" | "OPT_IN" | "MEMBER_OPT_OUT" | "ADMIN_OPT_OUT" | "REQUIRED";
72
+ organizationId: string;
73
+ caveats?: string | undefined;
74
+ clientMutationId?: string | undefined;
75
+ }, {
76
+ clientMutationId?: string | undefined;
77
+ thirdPartyConfiguration?: {
78
+ id?: string | undefined;
79
+ name?: string | undefined;
80
+ location?: string | undefined;
81
+ uiexLevel?: "DISABLED" | "OPT_IN" | "MEMBER_OPT_OUT" | "ADMIN_OPT_OUT" | "REQUIRED" | undefined;
82
+ customLevel?: "DISABLED" | "OPT_IN" | "MEMBER_OPT_OUT" | "ADMIN_OPT_OUT" | "REQUIRED" | undefined;
83
+ flyctlLevel?: "DISABLED" | "OPT_IN" | "MEMBER_OPT_OUT" | "ADMIN_OPT_OUT" | "REQUIRED" | undefined;
84
+ organization?: {
85
+ id?: string | undefined;
86
+ name?: string | undefined;
87
+ slug?: string | undefined;
88
+ } | undefined;
89
+ } | undefined;
90
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
91
  //#endregion
8
92
  export { flyCreateThirdPartyConfiguration };
9
93
  //# sourceMappingURL=create-third-party-configuration.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-third-party-configuration.d.mts","names":[],"sources":["../../src/actions/create-third-party-configuration.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAS6B;AAAA,cAgBtE,sCAAA,EAAwC,CAAA,CAAE,UAGkB;AAAA,cAE5D,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-third-party-configuration.d.mts","names":[],"sources":["../../src/actions/create-third-party-configuration.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAyBrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKtC,gCAAA,gCAAgC,wBAAA"}
@@ -37,18 +37,18 @@ const FlyCreateThirdPartyConfiguration_ThirdPartyConfigurationLevelSchema = z.en
37
37
  "REQUIRED"
38
38
  ]).describe("Authorization level for third-party caveat configuration.");
39
39
  const FlyCreateThirdPartyConfiguration_OrganizationSchema = z.object({
40
- id: z.string().describe("Organization ID").nullable().optional(),
41
- name: z.string().describe("Organization name").nullable().optional(),
42
- slug: z.string().describe("Organization slug").nullable().optional()
40
+ id: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Organization ID").optional()),
41
+ name: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Organization name").optional()),
42
+ slug: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Organization slug").optional())
43
43
  }).describe("Organization details.");
44
44
  const FlyCreateThirdPartyConfiguration_ThirdPartyConfigurationSchema = z.object({
45
- id: z.string().describe("Unique identifier for the configuration").nullable().optional(),
46
- name: z.string().describe("Friendly name for this configuration").nullable().optional(),
47
- location: z.string().describe("Location URL of the third-party service capable of discharging").nullable().optional(),
48
- uiexLevel: FlyCreateThirdPartyConfiguration_ThirdPartyConfigurationLevelSchema.nullable().optional(),
49
- customLevel: FlyCreateThirdPartyConfiguration_ThirdPartyConfigurationLevelSchema.nullable().optional(),
50
- flyctlLevel: FlyCreateThirdPartyConfiguration_ThirdPartyConfigurationLevelSchema.nullable().optional(),
51
- organization: FlyCreateThirdPartyConfiguration_OrganizationSchema.nullable().optional()
45
+ id: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Unique identifier for the configuration").optional()),
46
+ name: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Friendly name for this configuration").optional()),
47
+ location: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Location URL of the third-party service capable of discharging").optional()),
48
+ uiexLevel: z.preprocess((value) => value === null ? void 0 : value, FlyCreateThirdPartyConfiguration_ThirdPartyConfigurationLevelSchema.optional()),
49
+ customLevel: z.preprocess((value) => value === null ? void 0 : value, FlyCreateThirdPartyConfiguration_ThirdPartyConfigurationLevelSchema.optional()),
50
+ flyctlLevel: z.preprocess((value) => value === null ? void 0 : value, FlyCreateThirdPartyConfiguration_ThirdPartyConfigurationLevelSchema.optional()),
51
+ organization: z.preprocess((value) => value === null ? void 0 : value, FlyCreateThirdPartyConfiguration_OrganizationSchema.optional())
52
52
  }).describe("Third-party service configuration for discharging macaroon caveats.");
53
53
  const flyCreateThirdPartyConfiguration = action("FLY_CREATE_THIRD_PARTY_CONFIGURATION", {
54
54
  slug: "fly-create-third-party-configuration",
@@ -56,8 +56,8 @@ const flyCreateThirdPartyConfiguration = action("FLY_CREATE_THIRD_PARTY_CONFIGUR
56
56
  description: "Tool to create a third-party service configuration for discharging macaroon caveats. Use when you need to configure external authorization services for Fly.io token validation.",
57
57
  input: FlyCreateThirdPartyConfigurationInput,
58
58
  output: z.object({
59
- clientMutationId: z.string().describe("The client mutation identifier if provided in request").nullable().optional(),
60
- thirdPartyConfiguration: FlyCreateThirdPartyConfiguration_ThirdPartyConfigurationSchema.nullable().optional()
59
+ clientMutationId: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("The client mutation identifier if provided in request").optional()),
60
+ thirdPartyConfiguration: z.preprocess((value) => value === null ? void 0 : value, FlyCreateThirdPartyConfiguration_ThirdPartyConfigurationSchema.optional())
61
61
  }).describe("Response containing the created third-party configuration.")
62
62
  });
63
63
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"create-third-party-configuration.mjs","names":[],"sources":["../../src/actions/create-third-party-configuration.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyCreateThirdPartyConfigurationInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Friendly name for the configuration\"),\n caveats: z.string().describe(\"Base64 messagepack encoded macaroon caveats for additional restrictions\").optional(),\n location: z.string().describe(\"Location URL of the third-party service capable of discharging\"),\n uiexLevel: z.enum([\"DISABLED\", \"OPT_IN\", \"MEMBER_OPT_OUT\", \"ADMIN_OPT_OUT\", \"REQUIRED\"]).describe(\"Third-party caveat level for UI session tokens\"),\n customLevel: z.enum([\"DISABLED\", \"OPT_IN\", \"MEMBER_OPT_OUT\", \"ADMIN_OPT_OUT\", \"REQUIRED\"]).describe(\"Third-party caveat level for custom token creation\"),\n flyctlLevel: z.enum([\"DISABLED\", \"OPT_IN\", \"MEMBER_OPT_OUT\", \"ADMIN_OPT_OUT\", \"REQUIRED\"]).describe(\"Third-party caveat level for flyctl session tokens\"),\n organizationId: z.string().describe(\"The organization's node ID\"),\n clientMutationId: z.string().describe(\"A unique identifier for the client performing the mutation\").optional(),\n}).describe(\"Request parameters for creating a third-party service configuration.\");\nconst FlyCreateThirdPartyConfiguration_ThirdPartyConfigurationLevelSchema: z.ZodTypeAny = z.enum([\"DISABLED\", \"OPT_IN\", \"MEMBER_OPT_OUT\", \"ADMIN_OPT_OUT\", \"REQUIRED\"]).describe(\"Authorization level for third-party caveat configuration.\");\nconst FlyCreateThirdPartyConfiguration_OrganizationSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Organization ID\").nullable().optional(),\n name: z.string().describe(\"Organization name\").nullable().optional(),\n slug: z.string().describe(\"Organization slug\").nullable().optional(),\n}).describe(\"Organization details.\");\nconst FlyCreateThirdPartyConfiguration_ThirdPartyConfigurationSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the configuration\").nullable().optional(),\n name: z.string().describe(\"Friendly name for this configuration\").nullable().optional(),\n location: z.string().describe(\"Location URL of the third-party service capable of discharging\").nullable().optional(),\n uiexLevel: FlyCreateThirdPartyConfiguration_ThirdPartyConfigurationLevelSchema.nullable().optional(),\n customLevel: FlyCreateThirdPartyConfiguration_ThirdPartyConfigurationLevelSchema.nullable().optional(),\n flyctlLevel: FlyCreateThirdPartyConfiguration_ThirdPartyConfigurationLevelSchema.nullable().optional(),\n organization: FlyCreateThirdPartyConfiguration_OrganizationSchema.nullable().optional(),\n}).describe(\"Third-party service configuration for discharging macaroon caveats.\");\nexport const FlyCreateThirdPartyConfigurationOutput: z.ZodTypeAny = z.object({\n clientMutationId: z.string().describe(\"The client mutation identifier if provided in request\").nullable().optional(),\n thirdPartyConfiguration: FlyCreateThirdPartyConfiguration_ThirdPartyConfigurationSchema.nullable().optional(),\n}).describe(\"Response containing the created third-party configuration.\");\n\nexport const flyCreateThirdPartyConfiguration = action(\"FLY_CREATE_THIRD_PARTY_CONFIGURATION\", {\n slug: \"fly-create-third-party-configuration\",\n name: \"Create Third-Party Configuration\",\n description: \"Tool to create a third-party service configuration for discharging macaroon caveats. Use when you need to configure external authorization services for Fly.io token validation.\",\n input: FlyCreateThirdPartyConfigurationInput,\n output: FlyCreateThirdPartyConfigurationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsD,EAAE,OAAO;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC/D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACjH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CAC9F,WAAW,EAAE,KAAK;EAAC;EAAY;EAAU;EAAkB;EAAiB;CAAU,CAAC,CAAC,CAAC,SAAS,gDAAgD;CAClJ,aAAa,EAAE,KAAK;EAAC;EAAY;EAAU;EAAkB;EAAiB;CAAU,CAAC,CAAC,CAAC,SAAS,oDAAoD;CACxJ,aAAa,EAAE,KAAK;EAAC;EAAY;EAAU;EAAkB;EAAiB;CAAU,CAAC,CAAC,CAAC,SAAS,oDAAoD;CACxJ,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CAChE,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,sEAAoF,EAAE,KAAK;CAAC;CAAY;CAAU;CAAkB;CAAiB;AAAU,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAC5O,MAAM,sDAAoE,EAAE,OAAO;CACjF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrE,CAAC,CAAC,CAAC,SAAS,uBAAuB;AACnC,MAAM,iEAA+E,EAAE,OAAO;CAC5F,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,WAAW,oEAAoE,SAAS,CAAC,CAAC,SAAS;CACnG,aAAa,oEAAoE,SAAS,CAAC,CAAC,SAAS;CACrG,aAAa,oEAAoE,SAAS,CAAC,CAAC,SAAS;CACrG,cAAc,oDAAoD,SAAS,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,SAAS,qEAAqE;AAMjF,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVkE,EAAE,OAAO;EAC3E,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,yBAAyB,+DAA+D,SAAS,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,SAAS,4DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-third-party-configuration.mjs","names":[],"sources":["../../src/actions/create-third-party-configuration.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyCreateThirdPartyConfigurationInput = z.object({\n name: z.string().describe(\"Friendly name for the configuration\"),\n caveats: z.string().describe(\"Base64 messagepack encoded macaroon caveats for additional restrictions\").optional(),\n location: z.string().describe(\"Location URL of the third-party service capable of discharging\"),\n uiexLevel: z.enum([\"DISABLED\", \"OPT_IN\", \"MEMBER_OPT_OUT\", \"ADMIN_OPT_OUT\", \"REQUIRED\"]).describe(\"Third-party caveat level for UI session tokens\"),\n customLevel: z.enum([\"DISABLED\", \"OPT_IN\", \"MEMBER_OPT_OUT\", \"ADMIN_OPT_OUT\", \"REQUIRED\"]).describe(\"Third-party caveat level for custom token creation\"),\n flyctlLevel: z.enum([\"DISABLED\", \"OPT_IN\", \"MEMBER_OPT_OUT\", \"ADMIN_OPT_OUT\", \"REQUIRED\"]).describe(\"Third-party caveat level for flyctl session tokens\"),\n organizationId: z.string().describe(\"The organization's node ID\"),\n clientMutationId: z.string().describe(\"A unique identifier for the client performing the mutation\").optional(),\n}).describe(\"Request parameters for creating a third-party service configuration.\");\nconst FlyCreateThirdPartyConfiguration_ThirdPartyConfigurationLevelSchema = z.enum([\"DISABLED\", \"OPT_IN\", \"MEMBER_OPT_OUT\", \"ADMIN_OPT_OUT\", \"REQUIRED\"]).describe(\"Authorization level for third-party caveat configuration.\");\nconst FlyCreateThirdPartyConfiguration_OrganizationSchema = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Organization ID\").optional()),\n name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Organization name\").optional()),\n slug: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Organization slug\").optional()),\n}).describe(\"Organization details.\");\nconst FlyCreateThirdPartyConfiguration_ThirdPartyConfigurationSchema = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Unique identifier for the configuration\").optional()),\n name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Friendly name for this configuration\").optional()),\n location: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Location URL of the third-party service capable of discharging\").optional()),\n uiexLevel: z.preprocess((value) => (value === null ? undefined : value), FlyCreateThirdPartyConfiguration_ThirdPartyConfigurationLevelSchema.optional()),\n customLevel: z.preprocess((value) => (value === null ? undefined : value), FlyCreateThirdPartyConfiguration_ThirdPartyConfigurationLevelSchema.optional()),\n flyctlLevel: z.preprocess((value) => (value === null ? undefined : value), FlyCreateThirdPartyConfiguration_ThirdPartyConfigurationLevelSchema.optional()),\n organization: z.preprocess((value) => (value === null ? undefined : value), FlyCreateThirdPartyConfiguration_OrganizationSchema.optional()),\n}).describe(\"Third-party service configuration for discharging macaroon caveats.\");\nexport const FlyCreateThirdPartyConfigurationOutput = z.object({\n clientMutationId: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The client mutation identifier if provided in request\").optional()),\n thirdPartyConfiguration: z.preprocess((value) => (value === null ? undefined : value), FlyCreateThirdPartyConfiguration_ThirdPartyConfigurationSchema.optional()),\n}).describe(\"Response containing the created third-party configuration.\");\n\nexport const flyCreateThirdPartyConfiguration = action(\"FLY_CREATE_THIRD_PARTY_CONFIGURATION\", {\n slug: \"fly-create-third-party-configuration\",\n name: \"Create Third-Party Configuration\",\n description: \"Tool to create a third-party service configuration for discharging macaroon caveats. Use when you need to configure external authorization services for Fly.io token validation.\",\n input: FlyCreateThirdPartyConfigurationInput,\n output: FlyCreateThirdPartyConfigurationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwC,EAAE,OAAO;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC/D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACjH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CAC9F,WAAW,EAAE,KAAK;EAAC;EAAY;EAAU;EAAkB;EAAiB;CAAU,CAAC,CAAC,CAAC,SAAS,gDAAgD;CAClJ,aAAa,EAAE,KAAK;EAAC;EAAY;EAAU;EAAkB;EAAiB;CAAU,CAAC,CAAC,CAAC,SAAS,oDAAoD;CACxJ,aAAa,EAAE,KAAK;EAAC;EAAY;EAAU;EAAkB;EAAiB;CAAU,CAAC,CAAC,CAAC,SAAS,oDAAoD;CACxJ,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CAChE,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,sEAAsE,EAAE,KAAK;CAAC;CAAY;CAAU;CAAkB;CAAiB;AAAU,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAC9N,MAAM,sDAAsD,EAAE,OAAO;CACnE,IAAI,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC;CACnH,MAAM,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC;CACvH,MAAM,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC;AACzH,CAAC,CAAC,CAAC,SAAS,uBAAuB;AACnC,MAAM,iEAAiE,EAAE,OAAO;CAC9E,IAAI,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC;CAC3I,MAAM,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC;CAC1I,UAAU,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC;CACxK,WAAW,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,oEAAoE,SAAS,CAAC;CACvJ,aAAa,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,oEAAoE,SAAS,CAAC;CACzJ,aAAa,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,oEAAoE,SAAS,CAAC;CACzJ,cAAc,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,oDAAoD,SAAS,CAAC;AAC5I,CAAC,CAAC,CAAC,SAAS,qEAAqE;AAMjF,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVoD,EAAE,OAAO;EAC7D,kBAAkB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC;EACvK,yBAAyB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,+DAA+D,SAAS,CAAC;CAClK,CAAC,CAAC,CAAC,SAAS,4DAOF;AACV,CAAC"}
@@ -8,8 +8,8 @@ const FlyDeleteDelegatedWireGuardTokenInput = zod.z.object({
8
8
  client_mutation_id: zod.z.string().describe("A unique identifier for the client performing the mutation. Optional field for tracking purposes.").optional()
9
9
  }).describe("Request model for deleting a delegated WireGuard token.");
10
10
  const FlyDeleteDelegatedWireGuardTokenOutput = zod.z.object({
11
- token: zod.z.string().describe("The deleted WireGuard token value, if returned by the API").nullable().optional(),
12
- client_mutation_id: zod.z.string().describe("Client mutation ID if provided in the request").nullable().optional()
11
+ token: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("The deleted WireGuard token value, if returned by the API").optional()),
12
+ client_mutation_id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Client mutation ID if provided in the request").optional())
13
13
  }).describe("Response model for deleting a delegated WireGuard token.");
14
14
  const flyDeleteDelegatedWireGuardToken = require_action.action("FLY_DELETE_DELEGATED_WIRE_GUARD_TOKEN", {
15
15
  slug: "fly-delete-delegated-wire-guard-token",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-delegated-wire-guard-token.cjs","names":["z","action"],"sources":["../../src/actions/delete-delegated-wire-guard-token.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyDeleteDelegatedWireGuardTokenInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name with which to refer to the token. Either this or token must be provided to identify which token to delete.\").optional(),\n token: z.string().describe(\"The raw WireGuard token to delete. Either this or name must be provided to identify which token to delete.\").optional(),\n organization_id: z.string().describe(\"The node ID of the organization. This is the unique identifier for the Fly.io organization that owns the token.\"),\n client_mutation_id: z.string().describe(\"A unique identifier for the client performing the mutation. Optional field for tracking purposes.\").optional(),\n}).describe(\"Request model for deleting a delegated WireGuard token.\");\nexport const FlyDeleteDelegatedWireGuardTokenOutput: z.ZodTypeAny = z.object({\n token: z.string().describe(\"The deleted WireGuard token value, if returned by the API\").nullable().optional(),\n client_mutation_id: z.string().describe(\"Client mutation ID if provided in the request\").nullable().optional(),\n}).describe(\"Response model for deleting a delegated WireGuard token.\");\n\nexport const flyDeleteDelegatedWireGuardToken = action(\"FLY_DELETE_DELEGATED_WIRE_GUARD_TOKEN\", {\n slug: \"fly-delete-delegated-wire-guard-token\",\n name: \"Delete Delegated WireGuard Token\",\n description: \"Tool to delete a delegated WireGuard token from a Fly.io organization. Use when you need to revoke or remove an existing WireGuard token that was previously created. Either token or name must be provided to identify which token to delete.\",\n input: FlyDeleteDelegatedWireGuardTokenInput,\n output: FlyDeleteDelegatedWireGuardTokenOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsDA,IAAAA,EAAE,OAAO;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CAC1J,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CAClJ,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH;CACtJ,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;AACxJ,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,yCAAuDA,IAAAA,EAAE,OAAO;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAEtE,MAAa,mCAAmCC,eAAAA,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-delegated-wire-guard-token.cjs","names":["z","action"],"sources":["../../src/actions/delete-delegated-wire-guard-token.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyDeleteDelegatedWireGuardTokenInput = z.object({\n name: z.string().describe(\"The name with which to refer to the token. Either this or token must be provided to identify which token to delete.\").optional(),\n token: z.string().describe(\"The raw WireGuard token to delete. Either this or name must be provided to identify which token to delete.\").optional(),\n organization_id: z.string().describe(\"The node ID of the organization. This is the unique identifier for the Fly.io organization that owns the token.\"),\n client_mutation_id: z.string().describe(\"A unique identifier for the client performing the mutation. Optional field for tracking purposes.\").optional(),\n}).describe(\"Request model for deleting a delegated WireGuard token.\");\nexport const FlyDeleteDelegatedWireGuardTokenOutput = z.object({\n token: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The deleted WireGuard token value, if returned by the API\").optional()),\n client_mutation_id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Client mutation ID if provided in the request\").optional()),\n}).describe(\"Response model for deleting a delegated WireGuard token.\");\n\nexport const flyDeleteDelegatedWireGuardToken = action(\"FLY_DELETE_DELEGATED_WIRE_GUARD_TOKEN\", {\n slug: \"fly-delete-delegated-wire-guard-token\",\n name: \"Delete Delegated WireGuard Token\",\n description: \"Tool to delete a delegated WireGuard token from a Fly.io organization. Use when you need to revoke or remove an existing WireGuard token that was previously created. Either token or name must be provided to identify which token to delete.\",\n input: FlyDeleteDelegatedWireGuardTokenInput,\n output: FlyDeleteDelegatedWireGuardTokenOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CAC1J,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CAClJ,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH;CACtJ,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;AACxJ,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,OAAOA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC;CAChK,oBAAoBA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC;AACnK,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAEtE,MAAa,mCAAmCC,eAAAA,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,25 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-delegated-wire-guard-token.d.ts
4
- declare const FlyDeleteDelegatedWireGuardTokenInput: z.ZodTypeAny;
5
- declare const FlyDeleteDelegatedWireGuardTokenOutput: z.ZodTypeAny;
6
- declare const flyDeleteDelegatedWireGuardToken: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const FlyDeleteDelegatedWireGuardTokenInput: z.ZodObject<{
5
+ name: z.ZodOptional<z.ZodString>;
6
+ token: z.ZodOptional<z.ZodString>;
7
+ organization_id: z.ZodString;
8
+ client_mutation_id: z.ZodOptional<z.ZodString>;
9
+ }, z.core.$strip>;
10
+ declare const FlyDeleteDelegatedWireGuardTokenOutput: z.ZodObject<{
11
+ token: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
12
+ client_mutation_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
13
+ }, z.core.$strip>;
14
+ declare const flyDeleteDelegatedWireGuardToken: import("@keystrokehq/action").WorkflowActionDefinition<{
15
+ organization_id: string;
16
+ name?: string | undefined;
17
+ token?: string | undefined;
18
+ client_mutation_id?: string | undefined;
19
+ }, {
20
+ token?: string | undefined;
21
+ client_mutation_id?: string | undefined;
22
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
23
  //#endregion
8
24
  export { flyDeleteDelegatedWireGuardToken };
9
25
  //# sourceMappingURL=delete-delegated-wire-guard-token.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-delegated-wire-guard-token.d.cts","names":[],"sources":["../../src/actions/delete-delegated-wire-guard-token.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAKgB;AAAA,cACzD,sCAAA,EAAwC,CAAA,CAAE,UAGgB;AAAA,cAE1D,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-delegated-wire-guard-token.d.cts","names":[],"sources":["../../src/actions/delete-delegated-wire-guard-token.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;cAMrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;cAKtC,gCAAA,gCAAgC,wBAAA"}
@@ -1,9 +1,25 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-delegated-wire-guard-token.d.ts
4
- declare const FlyDeleteDelegatedWireGuardTokenInput: z.ZodTypeAny;
5
- declare const FlyDeleteDelegatedWireGuardTokenOutput: z.ZodTypeAny;
6
- declare const flyDeleteDelegatedWireGuardToken: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const FlyDeleteDelegatedWireGuardTokenInput: z.ZodObject<{
5
+ name: z.ZodOptional<z.ZodString>;
6
+ token: z.ZodOptional<z.ZodString>;
7
+ organization_id: z.ZodString;
8
+ client_mutation_id: z.ZodOptional<z.ZodString>;
9
+ }, z.core.$strip>;
10
+ declare const FlyDeleteDelegatedWireGuardTokenOutput: z.ZodObject<{
11
+ token: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
12
+ client_mutation_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
13
+ }, z.core.$strip>;
14
+ declare const flyDeleteDelegatedWireGuardToken: import("@keystrokehq/action").WorkflowActionDefinition<{
15
+ organization_id: string;
16
+ name?: string | undefined;
17
+ token?: string | undefined;
18
+ client_mutation_id?: string | undefined;
19
+ }, {
20
+ token?: string | undefined;
21
+ client_mutation_id?: string | undefined;
22
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
23
  //#endregion
8
24
  export { flyDeleteDelegatedWireGuardToken };
9
25
  //# sourceMappingURL=delete-delegated-wire-guard-token.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-delegated-wire-guard-token.d.mts","names":[],"sources":["../../src/actions/delete-delegated-wire-guard-token.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAKgB;AAAA,cACzD,sCAAA,EAAwC,CAAA,CAAE,UAGgB;AAAA,cAE1D,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-delegated-wire-guard-token.d.mts","names":[],"sources":["../../src/actions/delete-delegated-wire-guard-token.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;cAMrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;cAKtC,gCAAA,gCAAgC,wBAAA"}
@@ -11,8 +11,8 @@ const flyDeleteDelegatedWireGuardToken = action("FLY_DELETE_DELEGATED_WIRE_GUARD
11
11
  client_mutation_id: z.string().describe("A unique identifier for the client performing the mutation. Optional field for tracking purposes.").optional()
12
12
  }).describe("Request model for deleting a delegated WireGuard token."),
13
13
  output: z.object({
14
- token: z.string().describe("The deleted WireGuard token value, if returned by the API").nullable().optional(),
15
- client_mutation_id: z.string().describe("Client mutation ID if provided in the request").nullable().optional()
14
+ token: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("The deleted WireGuard token value, if returned by the API").optional()),
15
+ client_mutation_id: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Client mutation ID if provided in the request").optional())
16
16
  }).describe("Response model for deleting a delegated WireGuard token.")
17
17
  });
18
18
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"delete-delegated-wire-guard-token.mjs","names":[],"sources":["../../src/actions/delete-delegated-wire-guard-token.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyDeleteDelegatedWireGuardTokenInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name with which to refer to the token. Either this or token must be provided to identify which token to delete.\").optional(),\n token: z.string().describe(\"The raw WireGuard token to delete. Either this or name must be provided to identify which token to delete.\").optional(),\n organization_id: z.string().describe(\"The node ID of the organization. This is the unique identifier for the Fly.io organization that owns the token.\"),\n client_mutation_id: z.string().describe(\"A unique identifier for the client performing the mutation. Optional field for tracking purposes.\").optional(),\n}).describe(\"Request model for deleting a delegated WireGuard token.\");\nexport const FlyDeleteDelegatedWireGuardTokenOutput: z.ZodTypeAny = z.object({\n token: z.string().describe(\"The deleted WireGuard token value, if returned by the API\").nullable().optional(),\n client_mutation_id: z.string().describe(\"Client mutation ID if provided in the request\").nullable().optional(),\n}).describe(\"Response model for deleting a delegated WireGuard token.\");\n\nexport const flyDeleteDelegatedWireGuardToken = action(\"FLY_DELETE_DELEGATED_WIRE_GUARD_TOKEN\", {\n slug: \"fly-delete-delegated-wire-guard-token\",\n name: \"Delete Delegated WireGuard Token\",\n description: \"Tool to delete a delegated WireGuard token from a Fly.io organization. Use when you need to revoke or remove an existing WireGuard token that was previously created. Either token or name must be provided to identify which token to delete.\",\n input: FlyDeleteDelegatedWireGuardTokenInput,\n output: FlyDeleteDelegatedWireGuardTokenOutput,\n});\n"],"mappings":";;AAeA,MAAa,mCAAmC,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfiE,EAAE,OAAO;EAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;EAC1J,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;EAClJ,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH;EACtJ,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CACxJ,CAAC,CAAC,CAAC,SAAS,yDAUH;CACP,QAVkE,EAAE,OAAO;EAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,SAAS,0DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-delegated-wire-guard-token.mjs","names":[],"sources":["../../src/actions/delete-delegated-wire-guard-token.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyDeleteDelegatedWireGuardTokenInput = z.object({\n name: z.string().describe(\"The name with which to refer to the token. Either this or token must be provided to identify which token to delete.\").optional(),\n token: z.string().describe(\"The raw WireGuard token to delete. Either this or name must be provided to identify which token to delete.\").optional(),\n organization_id: z.string().describe(\"The node ID of the organization. This is the unique identifier for the Fly.io organization that owns the token.\"),\n client_mutation_id: z.string().describe(\"A unique identifier for the client performing the mutation. Optional field for tracking purposes.\").optional(),\n}).describe(\"Request model for deleting a delegated WireGuard token.\");\nexport const FlyDeleteDelegatedWireGuardTokenOutput = z.object({\n token: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The deleted WireGuard token value, if returned by the API\").optional()),\n client_mutation_id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Client mutation ID if provided in the request\").optional()),\n}).describe(\"Response model for deleting a delegated WireGuard token.\");\n\nexport const flyDeleteDelegatedWireGuardToken = action(\"FLY_DELETE_DELEGATED_WIRE_GUARD_TOKEN\", {\n slug: \"fly-delete-delegated-wire-guard-token\",\n name: \"Delete Delegated WireGuard Token\",\n description: \"Tool to delete a delegated WireGuard token from a Fly.io organization. Use when you need to revoke or remove an existing WireGuard token that was previously created. Either token or name must be provided to identify which token to delete.\",\n input: FlyDeleteDelegatedWireGuardTokenInput,\n output: FlyDeleteDelegatedWireGuardTokenOutput,\n});\n"],"mappings":";;AAeA,MAAa,mCAAmC,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfmD,EAAE,OAAO;EAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;EAC1J,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;EAClJ,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH;EACtJ,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CACxJ,CAAC,CAAC,CAAC,SAAS,yDAUH;CACP,QAVoD,EAAE,OAAO;EAC7D,OAAO,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC;EAChK,oBAAoB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC;CACnK,CAAC,CAAC,CAAC,SAAS,0DAOF;AACV,CAAC"}
@@ -6,17 +6,17 @@ const FlyDeleteOrganizationInput = zod.z.object({
6
6
  clientMutationId: zod.z.string().describe("A unique identifier for the client performing the mutation. Used for tracking and idempotency.").optional()
7
7
  }).describe("Request model for deleting a Fly.io organization.");
8
8
  const FlyDeleteOrganization_GraphQLErrorLocationSchema = zod.z.object({
9
- line: zod.z.number().int().describe("Line number in the query where the error occurred"),
10
- column: zod.z.number().int().describe("Column number in the query where the error occurred")
9
+ line: zod.z.number().int().describe("Line number in the query where the error occurred").nullable(),
10
+ column: zod.z.number().int().describe("Column number in the query where the error occurred").nullable()
11
11
  }).describe("Location in the GraphQL query where an error occurred.");
12
12
  const FlyDeleteOrganization_GraphQLErrorSchema = zod.z.object({
13
- path: zod.z.array(zod.z.union([zod.z.string(), zod.z.number().int()])).describe("Path to the field that caused the error").nullable().optional(),
14
- message: zod.z.string().describe("Error message describing what went wrong"),
15
- locations: zod.z.array(FlyDeleteOrganization_GraphQLErrorLocationSchema).describe("Locations in the query where the error occurred").nullable().optional()
13
+ path: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(zod.z.union([zod.z.string(), zod.z.number().int()])).describe("Path to the field that caused the error").optional()),
14
+ message: zod.z.string().describe("Error message describing what went wrong").nullable(),
15
+ locations: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(FlyDeleteOrganization_GraphQLErrorLocationSchema).describe("Locations in the query where the error occurred").optional())
16
16
  }).describe("GraphQL error object.");
17
17
  const FlyDeleteOrganizationOutput = zod.z.object({
18
- data: zod.z.object({}).describe("Contains the deletion result under the 'deleteOrganization' key").nullable().optional(),
19
- errors: zod.z.array(FlyDeleteOrganization_GraphQLErrorSchema).describe("Array of errors if the mutation failed").nullable().optional()
18
+ data: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.object({}).describe("Contains the deletion result under the 'deleteOrganization' key").optional()),
19
+ errors: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(FlyDeleteOrganization_GraphQLErrorSchema).describe("Array of errors if the mutation failed").optional())
20
20
  }).describe("Response model for the delete organization mutation.");
21
21
  const flyDeleteOrganization = require_action.action("FLY_DELETE_ORGANIZATION", {
22
22
  slug: "fly-delete-organization",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-organization.cjs","names":["z","action"],"sources":["../../src/actions/delete-organization.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyDeleteOrganizationInput: z.ZodTypeAny = z.object({\n organizationId: z.string().describe(\"The identifier of the organization to delete. This will permanently remove the organization and all associated resources.\"),\n clientMutationId: z.string().describe(\"A unique identifier for the client performing the mutation. Used for tracking and idempotency.\").optional(),\n}).describe(\"Request model for deleting a Fly.io organization.\");\nconst FlyDeleteOrganization_GraphQLErrorLocationSchema: z.ZodTypeAny = z.object({\n line: z.number().int().describe(\"Line number in the query where the error occurred\"),\n column: z.number().int().describe(\"Column number in the query where the error occurred\"),\n}).describe(\"Location in the GraphQL query where an error occurred.\");\nconst FlyDeleteOrganization_GraphQLErrorSchema: z.ZodTypeAny = z.object({\n path: z.array(z.union([z.string(), z.number().int()])).describe(\"Path to the field that caused the error\").nullable().optional(),\n message: z.string().describe(\"Error message describing what went wrong\"),\n locations: z.array(FlyDeleteOrganization_GraphQLErrorLocationSchema).describe(\"Locations in the query where the error occurred\").nullable().optional(),\n}).describe(\"GraphQL error object.\");\nexport const FlyDeleteOrganizationOutput: z.ZodTypeAny = z.object({\n data: z.object({}).describe(\"Contains the deletion result under the 'deleteOrganization' key\").nullable().optional(),\n errors: z.array(FlyDeleteOrganization_GraphQLErrorSchema).describe(\"Array of errors if the mutation failed\").nullable().optional(),\n}).describe(\"Response model for the delete organization mutation.\");\n\nexport const flyDeleteOrganization = action(\"FLY_DELETE_ORGANIZATION\", {\n slug: \"fly-delete-organization\",\n name: \"Delete Organization\",\n description: \"Tool to delete a Fly.io organization and all its associated resources using the GraphQL API. Use when you need to permanently remove an organization. This operation is irreversible.\",\n input: FlyDeleteOrganizationInput,\n output: FlyDeleteOrganizationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;CAC/J,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;AACnJ,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,mDAAiEA,IAAAA,EAAE,OAAO;CAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;AACzF,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,2CAAyDA,IAAAA,EAAE,OAAO;CACtE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACvE,WAAWA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,SAAS,uBAAuB;AACnC,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,QAAQA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-organization.cjs","names":["z","action"],"sources":["../../src/actions/delete-organization.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyDeleteOrganizationInput = z.object({\n organizationId: z.string().describe(\"The identifier of the organization to delete. This will permanently remove the organization and all associated resources.\"),\n clientMutationId: z.string().describe(\"A unique identifier for the client performing the mutation. Used for tracking and idempotency.\").optional(),\n}).describe(\"Request model for deleting a Fly.io organization.\");\nconst FlyDeleteOrganization_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}).describe(\"Location in the GraphQL query where an error occurred.\");\nconst FlyDeleteOrganization_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\").optional()),\n message: z.string().describe(\"Error message describing what went wrong\").nullable(),\n locations: z.preprocess((value) => (value === null ? undefined : value), z.array(FlyDeleteOrganization_GraphQLErrorLocationSchema).describe(\"Locations in the query where the error occurred\").optional()),\n}).describe(\"GraphQL error object.\");\nexport const FlyDeleteOrganizationOutput = z.object({\n data: z.preprocess((value) => (value === null ? undefined : value), z.object({}).describe(\"Contains the deletion result under the 'deleteOrganization' key\").optional()),\n errors: z.preprocess((value) => (value === null ? undefined : value), z.array(FlyDeleteOrganization_GraphQLErrorSchema).describe(\"Array of errors if the mutation failed\").optional()),\n}).describe(\"Response model for the delete organization mutation.\");\n\nexport const flyDeleteOrganization = action(\"FLY_DELETE_ORGANIZATION\", {\n slug: \"fly-delete-organization\",\n name: \"Delete Organization\",\n description: \"Tool to delete a Fly.io organization and all its associated resources using the GraphQL API. Use when you need to permanently remove an organization. This operation is irreversible.\",\n input: FlyDeleteOrganizationInput,\n output: FlyDeleteOrganizationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;CAC/J,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;AACnJ,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC;CACnL,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAClF,WAAWA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC;AAC3M,CAAC,CAAC,CAAC,SAAS,uBAAuB;AACnC,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC;CACvK,QAAQA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC;AACvL,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,35 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-organization.d.ts
4
- declare const FlyDeleteOrganizationInput: z.ZodTypeAny;
5
- declare const FlyDeleteOrganizationOutput: z.ZodTypeAny;
6
- declare const flyDeleteOrganization: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const FlyDeleteOrganizationInput: z.ZodObject<{
5
+ organizationId: z.ZodString;
6
+ clientMutationId: z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const FlyDeleteOrganizationOutput: z.ZodObject<{
9
+ data: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{}, z.core.$strip>>>;
10
+ errors: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
11
+ path: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>>;
12
+ message: z.ZodNullable<z.ZodString>;
13
+ locations: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
14
+ line: z.ZodNullable<z.ZodNumber>;
15
+ column: z.ZodNullable<z.ZodNumber>;
16
+ }, z.core.$strip>>>>;
17
+ }, z.core.$strip>>>>;
18
+ }, z.core.$strip>;
19
+ declare const flyDeleteOrganization: import("@keystrokehq/action").WorkflowActionDefinition<{
20
+ organizationId: string;
21
+ clientMutationId?: string | undefined;
22
+ }, {
23
+ data?: Record<string, never> | undefined;
24
+ errors?: {
25
+ message: string | null;
26
+ path?: (string | number)[] | undefined;
27
+ locations?: {
28
+ line: number | null;
29
+ column: number | null;
30
+ }[] | undefined;
31
+ }[] | undefined;
32
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
33
  //#endregion
8
34
  export { flyDeleteOrganization };
9
35
  //# sourceMappingURL=delete-organization.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-organization.d.cts","names":[],"sources":["../../src/actions/delete-organization.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAGqB;AAAA,cAUnD,2BAAA,EAA6B,CAAA,CAAE,UAGuB;AAAA,cAEtD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-organization.d.cts","names":[],"sources":["../../src/actions/delete-organization.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAa1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;cAK3B,qBAAA,gCAAqB,wBAAA;;;;SAMhC,MAAA"}
@@ -1,9 +1,35 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-organization.d.ts
4
- declare const FlyDeleteOrganizationInput: z.ZodTypeAny;
5
- declare const FlyDeleteOrganizationOutput: z.ZodTypeAny;
6
- declare const flyDeleteOrganization: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const FlyDeleteOrganizationInput: z.ZodObject<{
5
+ organizationId: z.ZodString;
6
+ clientMutationId: z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const FlyDeleteOrganizationOutput: z.ZodObject<{
9
+ data: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{}, z.core.$strip>>>;
10
+ errors: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
11
+ path: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>>;
12
+ message: z.ZodNullable<z.ZodString>;
13
+ locations: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
14
+ line: z.ZodNullable<z.ZodNumber>;
15
+ column: z.ZodNullable<z.ZodNumber>;
16
+ }, z.core.$strip>>>>;
17
+ }, z.core.$strip>>>>;
18
+ }, z.core.$strip>;
19
+ declare const flyDeleteOrganization: import("@keystrokehq/action").WorkflowActionDefinition<{
20
+ organizationId: string;
21
+ clientMutationId?: string | undefined;
22
+ }, {
23
+ data?: Record<string, never> | undefined;
24
+ errors?: {
25
+ message: string | null;
26
+ path?: (string | number)[] | undefined;
27
+ locations?: {
28
+ line: number | null;
29
+ column: number | null;
30
+ }[] | undefined;
31
+ }[] | undefined;
32
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
33
  //#endregion
8
34
  export { flyDeleteOrganization };
9
35
  //# sourceMappingURL=delete-organization.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-organization.d.mts","names":[],"sources":["../../src/actions/delete-organization.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAGqB;AAAA,cAUnD,2BAAA,EAA6B,CAAA,CAAE,UAGuB;AAAA,cAEtD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-organization.d.mts","names":[],"sources":["../../src/actions/delete-organization.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAa1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;cAK3B,qBAAA,gCAAqB,wBAAA;;;;SAMhC,MAAA"}
@@ -6,13 +6,13 @@ const FlyDeleteOrganizationInput = z.object({
6
6
  clientMutationId: z.string().describe("A unique identifier for the client performing the mutation. Used for tracking and idempotency.").optional()
7
7
  }).describe("Request model for deleting a Fly.io organization.");
8
8
  const FlyDeleteOrganization_GraphQLErrorLocationSchema = z.object({
9
- line: z.number().int().describe("Line number in the query where the error occurred"),
10
- column: z.number().int().describe("Column number in the query where the error occurred")
9
+ line: z.number().int().describe("Line number in the query where the error occurred").nullable(),
10
+ column: z.number().int().describe("Column number in the query where the error occurred").nullable()
11
11
  }).describe("Location in the GraphQL query where an error occurred.");
12
12
  const FlyDeleteOrganization_GraphQLErrorSchema = z.object({
13
- path: z.array(z.union([z.string(), z.number().int()])).describe("Path to the field that caused the error").nullable().optional(),
14
- message: z.string().describe("Error message describing what went wrong"),
15
- locations: z.array(FlyDeleteOrganization_GraphQLErrorLocationSchema).describe("Locations in the query where the error occurred").nullable().optional()
13
+ 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").optional()),
14
+ message: z.string().describe("Error message describing what went wrong").nullable(),
15
+ locations: z.preprocess((value) => value === null ? void 0 : value, z.array(FlyDeleteOrganization_GraphQLErrorLocationSchema).describe("Locations in the query where the error occurred").optional())
16
16
  }).describe("GraphQL error object.");
17
17
  const flyDeleteOrganization = action("FLY_DELETE_ORGANIZATION", {
18
18
  slug: "fly-delete-organization",
@@ -20,8 +20,8 @@ const flyDeleteOrganization = action("FLY_DELETE_ORGANIZATION", {
20
20
  description: "Tool to delete a Fly.io organization and all its associated resources using the GraphQL API. Use when you need to permanently remove an organization. This operation is irreversible.",
21
21
  input: FlyDeleteOrganizationInput,
22
22
  output: z.object({
23
- data: z.object({}).describe("Contains the deletion result under the 'deleteOrganization' key").nullable().optional(),
24
- errors: z.array(FlyDeleteOrganization_GraphQLErrorSchema).describe("Array of errors if the mutation failed").nullable().optional()
23
+ data: z.preprocess((value) => value === null ? void 0 : value, z.object({}).describe("Contains the deletion result under the 'deleteOrganization' key").optional()),
24
+ errors: z.preprocess((value) => value === null ? void 0 : value, z.array(FlyDeleteOrganization_GraphQLErrorSchema).describe("Array of errors if the mutation failed").optional())
25
25
  }).describe("Response model for the delete organization mutation.")
26
26
  });
27
27
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"delete-organization.mjs","names":[],"sources":["../../src/actions/delete-organization.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyDeleteOrganizationInput: z.ZodTypeAny = z.object({\n organizationId: z.string().describe(\"The identifier of the organization to delete. This will permanently remove the organization and all associated resources.\"),\n clientMutationId: z.string().describe(\"A unique identifier for the client performing the mutation. Used for tracking and idempotency.\").optional(),\n}).describe(\"Request model for deleting a Fly.io organization.\");\nconst FlyDeleteOrganization_GraphQLErrorLocationSchema: z.ZodTypeAny = z.object({\n line: z.number().int().describe(\"Line number in the query where the error occurred\"),\n column: z.number().int().describe(\"Column number in the query where the error occurred\"),\n}).describe(\"Location in the GraphQL query where an error occurred.\");\nconst FlyDeleteOrganization_GraphQLErrorSchema: z.ZodTypeAny = z.object({\n path: z.array(z.union([z.string(), z.number().int()])).describe(\"Path to the field that caused the error\").nullable().optional(),\n message: z.string().describe(\"Error message describing what went wrong\"),\n locations: z.array(FlyDeleteOrganization_GraphQLErrorLocationSchema).describe(\"Locations in the query where the error occurred\").nullable().optional(),\n}).describe(\"GraphQL error object.\");\nexport const FlyDeleteOrganizationOutput: z.ZodTypeAny = z.object({\n data: z.object({}).describe(\"Contains the deletion result under the 'deleteOrganization' key\").nullable().optional(),\n errors: z.array(FlyDeleteOrganization_GraphQLErrorSchema).describe(\"Array of errors if the mutation failed\").nullable().optional(),\n}).describe(\"Response model for the delete organization mutation.\");\n\nexport const flyDeleteOrganization = action(\"FLY_DELETE_ORGANIZATION\", {\n slug: \"fly-delete-organization\",\n name: \"Delete Organization\",\n description: \"Tool to delete a Fly.io organization and all its associated resources using the GraphQL API. Use when you need to permanently remove an organization. This operation is irreversible.\",\n input: FlyDeleteOrganizationInput,\n output: FlyDeleteOrganizationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2C,EAAE,OAAO;CAC/D,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;CAC/J,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;AACnJ,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,mDAAiE,EAAE,OAAO;CAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;AACzF,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,2CAAyD,EAAE,OAAO;CACtE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACvE,WAAW,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,SAAS,uBAAuB;AAMnC,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVuD,EAAE,OAAO;EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,QAAQ,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-organization.mjs","names":[],"sources":["../../src/actions/delete-organization.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyDeleteOrganizationInput = z.object({\n organizationId: z.string().describe(\"The identifier of the organization to delete. This will permanently remove the organization and all associated resources.\"),\n clientMutationId: z.string().describe(\"A unique identifier for the client performing the mutation. Used for tracking and idempotency.\").optional(),\n}).describe(\"Request model for deleting a Fly.io organization.\");\nconst FlyDeleteOrganization_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}).describe(\"Location in the GraphQL query where an error occurred.\");\nconst FlyDeleteOrganization_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\").optional()),\n message: z.string().describe(\"Error message describing what went wrong\").nullable(),\n locations: z.preprocess((value) => (value === null ? undefined : value), z.array(FlyDeleteOrganization_GraphQLErrorLocationSchema).describe(\"Locations in the query where the error occurred\").optional()),\n}).describe(\"GraphQL error object.\");\nexport const FlyDeleteOrganizationOutput = z.object({\n data: z.preprocess((value) => (value === null ? undefined : value), z.object({}).describe(\"Contains the deletion result under the 'deleteOrganization' key\").optional()),\n errors: z.preprocess((value) => (value === null ? undefined : value), z.array(FlyDeleteOrganization_GraphQLErrorSchema).describe(\"Array of errors if the mutation failed\").optional()),\n}).describe(\"Response model for the delete organization mutation.\");\n\nexport const flyDeleteOrganization = action(\"FLY_DELETE_ORGANIZATION\", {\n slug: \"fly-delete-organization\",\n name: \"Delete Organization\",\n description: \"Tool to delete a Fly.io organization and all its associated resources using the GraphQL API. Use when you need to permanently remove an organization. This operation is irreversible.\",\n input: FlyDeleteOrganizationInput,\n output: FlyDeleteOrganizationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;CAC/J,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;AACnJ,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,mDAAmD,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,2CAA2C,EAAE,OAAO;CACxD,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,yCAAyC,CAAC,CAAC,SAAS,CAAC;CACnL,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAClF,WAAW,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC;AAC3M,CAAC,CAAC,CAAC,SAAS,uBAAuB;AAMnC,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVyC,EAAE,OAAO;EAClD,MAAM,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC;EACvK,QAAQ,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC;CACvL,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}