@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
@@ -30,39 +30,39 @@ declare const FlyCreateThirdPartyConfigurationInput: z.ZodObject<{
30
30
  clientMutationId: z.ZodOptional<z.ZodString>;
31
31
  }, z.core.$strip>;
32
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<{
33
+ clientMutationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ thirdPartyConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
35
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
+ location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ uiexLevel: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
39
39
  DISABLED: "DISABLED";
40
40
  OPT_IN: "OPT_IN";
41
41
  MEMBER_OPT_OUT: "MEMBER_OPT_OUT";
42
42
  ADMIN_OPT_OUT: "ADMIN_OPT_OUT";
43
43
  REQUIRED: "REQUIRED";
44
44
  }>>>;
45
- customLevel: z.ZodPreprocess<z.ZodOptional<z.ZodEnum<{
45
+ customLevel: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
46
46
  DISABLED: "DISABLED";
47
47
  OPT_IN: "OPT_IN";
48
48
  MEMBER_OPT_OUT: "MEMBER_OPT_OUT";
49
49
  ADMIN_OPT_OUT: "ADMIN_OPT_OUT";
50
50
  REQUIRED: "REQUIRED";
51
51
  }>>>;
52
- flyctlLevel: z.ZodPreprocess<z.ZodOptional<z.ZodEnum<{
52
+ flyctlLevel: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
53
53
  DISABLED: "DISABLED";
54
54
  OPT_IN: "OPT_IN";
55
55
  MEMBER_OPT_OUT: "MEMBER_OPT_OUT";
56
56
  ADMIN_OPT_OUT: "ADMIN_OPT_OUT";
57
57
  REQUIRED: "REQUIRED";
58
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>;
59
+ organization: z.ZodOptional<z.ZodNullable<z.ZodObject<{
60
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
+ slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
+ }, z.core.$loose>>>;
64
+ }, z.core.$loose>>>;
65
+ }, z.core.$loose>;
66
66
  declare const flyCreateThirdPartyConfiguration: import("@keystrokehq/action").WorkflowActionDefinition<{
67
67
  name: string;
68
68
  location: string;
@@ -72,22 +72,7 @@ declare const flyCreateThirdPartyConfiguration: import("@keystrokehq/action").Wo
72
72
  organizationId: string;
73
73
  caveats?: string | undefined;
74
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]>;
75
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
91
76
  //#endregion
92
77
  export { flyCreateThirdPartyConfiguration };
93
78
  //# sourceMappingURL=create-third-party-configuration.d.mts.map
@@ -37,28 +37,28 @@ 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.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
- }).describe("Organization details.");
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()
43
+ }).passthrough().describe("Organization details.");
44
44
  const FlyCreateThirdPartyConfiguration_ThirdPartyConfigurationSchema = z.object({
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
- }).describe("Third-party service configuration for discharging macaroon caveats.");
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()
52
+ }).passthrough().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",
55
55
  name: "Create Third-Party Configuration",
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.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
- }).describe("Response containing the created third-party configuration.")
59
+ clientMutationId: z.string().describe("The client mutation identifier if provided in request").nullable().optional(),
60
+ thirdPartyConfiguration: FlyCreateThirdPartyConfiguration_ThirdPartyConfigurationSchema.nullable().optional()
61
+ }).passthrough().describe("Response containing the created third-party configuration.")
62
62
  });
63
63
  //#endregion
64
64
  export { flyCreateThirdPartyConfiguration };
@@ -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.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"}
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.string().describe(\"Organization ID\").nullable().optional(),\n name: z.string().describe(\"Organization name\").nullable().optional(),\n slug: z.string().describe(\"Organization slug\").nullable().optional(),\n}).passthrough().describe(\"Organization details.\");\nconst FlyCreateThirdPartyConfiguration_ThirdPartyConfigurationSchema = 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}).passthrough().describe(\"Third-party service configuration for discharging macaroon caveats.\");\nexport const FlyCreateThirdPartyConfigurationOutput = z.object({\n clientMutationId: z.string().describe(\"The client mutation identifier if provided in request\").nullable().optional(),\n thirdPartyConfiguration: FlyCreateThirdPartyConfiguration_ThirdPartyConfigurationSchema.nullable().optional(),\n}).passthrough().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,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uBAAuB;AACjD,MAAM,iEAAiE,EAAE,OAAO;CAC9E,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,YAAY,CAAC,CAAC,SAAS,qEAAqE;AAM/F,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVoD,EAAE,OAAO;EAC7D,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,YAAY,CAAC,CAAC,SAAS,4DAOhB;AACV,CAAC"}
@@ -8,9 +8,9 @@ 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.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
- }).describe("Response model for deleting a delegated WireGuard token.");
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()
13
+ }).passthrough().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",
16
16
  name: "Delete Delegated WireGuard 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.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
+ {"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.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}).passthrough().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,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,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAEpF,MAAa,mCAAmCC,eAAAA,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -8,18 +8,15 @@ declare const FlyDeleteDelegatedWireGuardTokenInput: z.ZodObject<{
8
8
  client_mutation_id: z.ZodOptional<z.ZodString>;
9
9
  }, z.core.$strip>;
10
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>;
11
+ token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ client_mutation_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ }, z.core.$loose>;
14
14
  declare const flyDeleteDelegatedWireGuardToken: import("@keystrokehq/action").WorkflowActionDefinition<{
15
15
  organization_id: string;
16
16
  name?: string | undefined;
17
17
  token?: string | undefined;
18
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]>;
19
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
23
20
  //#endregion
24
21
  export { flyDeleteDelegatedWireGuardToken };
25
22
  //# sourceMappingURL=delete-delegated-wire-guard-token.d.cts.map
@@ -8,18 +8,15 @@ declare const FlyDeleteDelegatedWireGuardTokenInput: z.ZodObject<{
8
8
  client_mutation_id: z.ZodOptional<z.ZodString>;
9
9
  }, z.core.$strip>;
10
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>;
11
+ token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ client_mutation_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ }, z.core.$loose>;
14
14
  declare const flyDeleteDelegatedWireGuardToken: import("@keystrokehq/action").WorkflowActionDefinition<{
15
15
  organization_id: string;
16
16
  name?: string | undefined;
17
17
  token?: string | undefined;
18
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]>;
19
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
23
20
  //#endregion
24
21
  export { flyDeleteDelegatedWireGuardToken };
25
22
  //# sourceMappingURL=delete-delegated-wire-guard-token.d.mts.map
@@ -11,9 +11,9 @@ 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.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
- }).describe("Response model for deleting a delegated WireGuard token.")
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()
16
+ }).passthrough().describe("Response model for deleting a delegated WireGuard token.")
17
17
  });
18
18
  //#endregion
19
19
  export { flyDeleteDelegatedWireGuardToken };
@@ -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.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"}
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.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}).passthrough().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,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,YAAY,CAAC,CAAC,SAAS,0DAOhB;AACV,CAAC"}
@@ -8,16 +8,16 @@ const FlyDeleteOrganizationInput = zod.z.object({
8
8
  const FlyDeleteOrganization_GraphQLErrorLocationSchema = zod.z.object({
9
9
  line: zod.z.number().int().describe("Line number in the query where the error occurred").nullable(),
10
10
  column: zod.z.number().int().describe("Column number in the query where the error occurred").nullable()
11
- }).describe("Location in the GraphQL query where an error occurred.");
11
+ }).passthrough().describe("Location in the GraphQL query where an error occurred.");
12
12
  const FlyDeleteOrganization_GraphQLErrorSchema = zod.z.object({
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()),
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
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
- }).describe("GraphQL error object.");
15
+ locations: zod.z.array(FlyDeleteOrganization_GraphQLErrorLocationSchema).describe("Locations in the query where the error occurred").nullable().optional()
16
+ }).passthrough().describe("GraphQL error object.");
17
17
  const FlyDeleteOrganizationOutput = zod.z.object({
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
- }).describe("Response model for the delete organization mutation.");
18
+ data: zod.z.record(zod.z.string(), zod.z.unknown()).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()
20
+ }).passthrough().describe("Response model for the delete organization mutation.");
21
21
  const flyDeleteOrganization = require_action.action("FLY_DELETE_ORGANIZATION", {
22
22
  slug: "fly-delete-organization",
23
23
  name: "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.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
+ {"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}).passthrough().describe(\"Location in the GraphQL query where an error occurred.\");\nconst FlyDeleteOrganization_GraphQLErrorSchema = 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\").nullable(),\n locations: z.array(FlyDeleteOrganization_GraphQLErrorLocationSchema).describe(\"Locations in the query where the error occurred\").nullable().optional(),\n}).passthrough().describe(\"GraphQL error object.\");\nexport const FlyDeleteOrganizationOutput = z.object({\n data: z.record(z.string(), z.unknown()).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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAClF,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,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,CAAC,CAAC,SAAS;CAClF,WAAWA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uBAAuB;AACjD,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,QAAQA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -6,30 +6,20 @@ declare const FlyDeleteOrganizationInput: z.ZodObject<{
6
6
  clientMutationId: z.ZodOptional<z.ZodString>;
7
7
  }, z.core.$strip>;
8
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]>>>>;
9
+ data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
10
+ errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
11
+ path: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>>;
12
12
  message: z.ZodNullable<z.ZodString>;
13
- locations: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
13
+ locations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
14
14
  line: z.ZodNullable<z.ZodNumber>;
15
15
  column: z.ZodNullable<z.ZodNumber>;
16
- }, z.core.$strip>>>>;
17
- }, z.core.$strip>>>>;
18
- }, z.core.$strip>;
16
+ }, z.core.$loose>>>>;
17
+ }, z.core.$loose>>>>;
18
+ }, z.core.$loose>;
19
19
  declare const flyDeleteOrganization: import("@keystrokehq/action").WorkflowActionDefinition<{
20
20
  organizationId: string;
21
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]>;
22
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
33
23
  //#endregion
34
24
  export { flyDeleteOrganization };
35
25
  //# 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,EAA0B,CAAA,CAAA,SAAA;;;;cAa1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;cAK3B,qBAAA,gCAAqB,wBAAA;;;;SAMhC,MAAA"}
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"}
@@ -6,30 +6,20 @@ declare const FlyDeleteOrganizationInput: z.ZodObject<{
6
6
  clientMutationId: z.ZodOptional<z.ZodString>;
7
7
  }, z.core.$strip>;
8
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]>>>>;
9
+ data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
10
+ errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
11
+ path: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>>;
12
12
  message: z.ZodNullable<z.ZodString>;
13
- locations: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
13
+ locations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
14
14
  line: z.ZodNullable<z.ZodNumber>;
15
15
  column: z.ZodNullable<z.ZodNumber>;
16
- }, z.core.$strip>>>>;
17
- }, z.core.$strip>>>>;
18
- }, z.core.$strip>;
16
+ }, z.core.$loose>>>>;
17
+ }, z.core.$loose>>>>;
18
+ }, z.core.$loose>;
19
19
  declare const flyDeleteOrganization: import("@keystrokehq/action").WorkflowActionDefinition<{
20
20
  organizationId: string;
21
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]>;
22
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
33
23
  //#endregion
34
24
  export { flyDeleteOrganization };
35
25
  //# 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,EAA0B,CAAA,CAAA,SAAA;;;;cAa1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;cAK3B,qBAAA,gCAAqB,wBAAA;;;;SAMhC,MAAA"}
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"}
@@ -8,21 +8,21 @@ const FlyDeleteOrganizationInput = z.object({
8
8
  const FlyDeleteOrganization_GraphQLErrorLocationSchema = z.object({
9
9
  line: z.number().int().describe("Line number in the query where the error occurred").nullable(),
10
10
  column: z.number().int().describe("Column number in the query where the error occurred").nullable()
11
- }).describe("Location in the GraphQL query where an error occurred.");
11
+ }).passthrough().describe("Location in the GraphQL query where an error occurred.");
12
12
  const FlyDeleteOrganization_GraphQLErrorSchema = z.object({
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()),
13
+ path: z.array(z.union([z.string(), z.number().int()])).describe("Path to the field that caused the error").nullable().optional(),
14
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
- }).describe("GraphQL error object.");
15
+ locations: z.array(FlyDeleteOrganization_GraphQLErrorLocationSchema).describe("Locations in the query where the error occurred").nullable().optional()
16
+ }).passthrough().describe("GraphQL error object.");
17
17
  const flyDeleteOrganization = action("FLY_DELETE_ORGANIZATION", {
18
18
  slug: "fly-delete-organization",
19
19
  name: "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.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
- }).describe("Response model for the delete organization mutation.")
23
+ data: z.record(z.string(), z.unknown()).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()
25
+ }).passthrough().describe("Response model for the delete organization mutation.")
26
26
  });
27
27
  //#endregion
28
28
  export { flyDeleteOrganization };
@@ -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.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"}
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}).passthrough().describe(\"Location in the GraphQL query where an error occurred.\");\nconst FlyDeleteOrganization_GraphQLErrorSchema = 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\").nullable(),\n locations: z.array(FlyDeleteOrganization_GraphQLErrorLocationSchema).describe(\"Locations in the query where the error occurred\").nullable().optional(),\n}).passthrough().describe(\"GraphQL error object.\");\nexport const FlyDeleteOrganizationOutput = z.object({\n data: z.record(z.string(), z.unknown()).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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAClF,MAAM,2CAA2C,EAAE,OAAO;CACxD,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,CAAC,CAAC,SAAS;CAClF,WAAW,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uBAAuB;AAMjD,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVyC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxI,QAAQ,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
@@ -6,11 +6,11 @@ const FlyDeleteRemoteBuilderInput = zod.z.object({
6
6
  client_mutation_id: zod.z.string().describe("A unique identifier for the client performing the mutation").optional()
7
7
  }).describe("Request model for deleting a remote builder configuration.");
8
8
  const FlyDeleteRemoteBuilder_OrganizationSchema = zod.z.object({
9
- id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Organization ID").optional()),
10
- name: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Organization name").optional()),
11
- slug: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Organization slug").optional())
12
- }).describe("Organization details returned from the mutation.");
13
- const FlyDeleteRemoteBuilderOutput = zod.z.object({ organization: zod.z.preprocess((value) => value === null ? void 0 : value, FlyDeleteRemoteBuilder_OrganizationSchema.optional()) }).describe("Response model for deleting a remote builder configuration.");
9
+ id: zod.z.string().describe("Organization ID").nullable().optional(),
10
+ name: zod.z.string().describe("Organization name").nullable().optional(),
11
+ slug: zod.z.string().describe("Organization slug").nullable().optional()
12
+ }).passthrough().describe("Organization details returned from the mutation.");
13
+ const FlyDeleteRemoteBuilderOutput = zod.z.object({ organization: FlyDeleteRemoteBuilder_OrganizationSchema.nullable().optional() }).passthrough().describe("Response model for deleting a remote builder configuration.");
14
14
  const flyDeleteRemoteBuilder = require_action.action("FLY_DELETE_REMOTE_BUILDER", {
15
15
  slug: "fly-delete-remote-builder",
16
16
  name: "Delete Remote Builder",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-remote-builder.cjs","names":["z","action"],"sources":["../../src/actions/delete-remote-builder.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyDeleteRemoteBuilderInput = z.object({\n organization_id: z.string().describe(\"The node ID of the organization whose remote builder configuration should be deleted\"),\n client_mutation_id: z.string().describe(\"A unique identifier for the client performing the mutation\").optional(),\n}).describe(\"Request model for deleting a remote builder configuration.\");\nconst FlyDeleteRemoteBuilder_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 returned from the mutation.\");\nexport const FlyDeleteRemoteBuilderOutput = z.object({\n organization: z.preprocess((value) => (value === null ? undefined : value), FlyDeleteRemoteBuilder_OrganizationSchema.optional()),\n}).describe(\"Response model for deleting a remote builder configuration.\");\n\nexport const flyDeleteRemoteBuilder = action(\"FLY_DELETE_REMOTE_BUILDER\", {\n slug: \"fly-delete-remote-builder\",\n name: \"Delete Remote Builder\",\n description: \"Tool to delete a remote builder configuration for a Fly.io organization. Use when you need to remove the remote builder setup from an organization.\",\n input: FlyDeleteRemoteBuilderInput,\n output: FlyDeleteRemoteBuilderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;CAC3H,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC;CACnH,MAAMA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC;CACvH,MAAMA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC;AACzH,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,cAAcA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,0CAA0C,SAAS,CAAC,EAClI,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAEzE,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-remote-builder.cjs","names":["z","action"],"sources":["../../src/actions/delete-remote-builder.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyDeleteRemoteBuilderInput = z.object({\n organization_id: z.string().describe(\"The node ID of the organization whose remote builder configuration should be deleted\"),\n client_mutation_id: z.string().describe(\"A unique identifier for the client performing the mutation\").optional(),\n}).describe(\"Request model for deleting a remote builder configuration.\");\nconst FlyDeleteRemoteBuilder_OrganizationSchema = z.object({\n id: z.string().describe(\"Organization ID\").nullable().optional(),\n name: z.string().describe(\"Organization name\").nullable().optional(),\n slug: z.string().describe(\"Organization slug\").nullable().optional(),\n}).passthrough().describe(\"Organization details returned from the mutation.\");\nexport const FlyDeleteRemoteBuilderOutput = z.object({\n organization: FlyDeleteRemoteBuilder_OrganizationSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for deleting a remote builder configuration.\");\n\nexport const flyDeleteRemoteBuilder = action(\"FLY_DELETE_REMOTE_BUILDER\", {\n slug: \"fly-delete-remote-builder\",\n name: \"Delete Remote Builder\",\n description: \"Tool to delete a remote builder configuration for a Fly.io organization. Use when you need to remove the remote builder setup from an organization.\",\n input: FlyDeleteRemoteBuilderInput,\n output: FlyDeleteRemoteBuilderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;CAC3H,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAC5E,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,cAAc,0CAA0C,SAAS,CAAC,CAAC,SAAS,EAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAEvF,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -6,22 +6,16 @@ declare const FlyDeleteRemoteBuilderInput: z.ZodObject<{
6
6
  client_mutation_id: z.ZodOptional<z.ZodString>;
7
7
  }, z.core.$strip>;
8
8
  declare const FlyDeleteRemoteBuilderOutput: z.ZodObject<{
9
- organization: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
10
- id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
11
- name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
12
- slug: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
13
- }, z.core.$strip>>>;
14
- }, z.core.$strip>;
9
+ organization: z.ZodOptional<z.ZodNullable<z.ZodObject<{
10
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ }, z.core.$loose>>>;
14
+ }, z.core.$loose>;
15
15
  declare const flyDeleteRemoteBuilder: import("@keystrokehq/action").WorkflowActionDefinition<{
16
16
  organization_id: string;
17
17
  client_mutation_id?: string | undefined;
18
- }, {
19
- organization?: {
20
- id?: string | undefined;
21
- name?: string | undefined;
22
- slug?: string | undefined;
23
- } | 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 { flyDeleteRemoteBuilder };
27
21
  //# sourceMappingURL=delete-remote-builder.d.cts.map
@@ -6,22 +6,16 @@ declare const FlyDeleteRemoteBuilderInput: z.ZodObject<{
6
6
  client_mutation_id: z.ZodOptional<z.ZodString>;
7
7
  }, z.core.$strip>;
8
8
  declare const FlyDeleteRemoteBuilderOutput: z.ZodObject<{
9
- organization: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
10
- id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
11
- name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
12
- slug: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
13
- }, z.core.$strip>>>;
14
- }, z.core.$strip>;
9
+ organization: z.ZodOptional<z.ZodNullable<z.ZodObject<{
10
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ }, z.core.$loose>>>;
14
+ }, z.core.$loose>;
15
15
  declare const flyDeleteRemoteBuilder: import("@keystrokehq/action").WorkflowActionDefinition<{
16
16
  organization_id: string;
17
17
  client_mutation_id?: string | undefined;
18
- }, {
19
- organization?: {
20
- id?: string | undefined;
21
- name?: string | undefined;
22
- slug?: string | undefined;
23
- } | 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 { flyDeleteRemoteBuilder };
27
21
  //# sourceMappingURL=delete-remote-builder.d.mts.map
@@ -6,16 +6,16 @@ const FlyDeleteRemoteBuilderInput = z.object({
6
6
  client_mutation_id: z.string().describe("A unique identifier for the client performing the mutation").optional()
7
7
  }).describe("Request model for deleting a remote builder configuration.");
8
8
  const FlyDeleteRemoteBuilder_OrganizationSchema = z.object({
9
- id: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Organization ID").optional()),
10
- name: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Organization name").optional()),
11
- slug: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Organization slug").optional())
12
- }).describe("Organization details returned from the mutation.");
9
+ id: z.string().describe("Organization ID").nullable().optional(),
10
+ name: z.string().describe("Organization name").nullable().optional(),
11
+ slug: z.string().describe("Organization slug").nullable().optional()
12
+ }).passthrough().describe("Organization details returned from the mutation.");
13
13
  const flyDeleteRemoteBuilder = action("FLY_DELETE_REMOTE_BUILDER", {
14
14
  slug: "fly-delete-remote-builder",
15
15
  name: "Delete Remote Builder",
16
16
  description: "Tool to delete a remote builder configuration for a Fly.io organization. Use when you need to remove the remote builder setup from an organization.",
17
17
  input: FlyDeleteRemoteBuilderInput,
18
- output: z.object({ organization: z.preprocess((value) => value === null ? void 0 : value, FlyDeleteRemoteBuilder_OrganizationSchema.optional()) }).describe("Response model for deleting a remote builder configuration.")
18
+ output: z.object({ organization: FlyDeleteRemoteBuilder_OrganizationSchema.nullable().optional() }).passthrough().describe("Response model for deleting a remote builder configuration.")
19
19
  });
20
20
  //#endregion
21
21
  export { flyDeleteRemoteBuilder };