@keystrokehq/fly 0.1.1 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (313) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-wire-guard-peer.cjs +6 -6
  4. package/dist/actions/add-wire-guard-peer.cjs.map +1 -1
  5. package/dist/actions/add-wire-guard-peer.d.cts +7 -13
  6. package/dist/actions/add-wire-guard-peer.d.mts +7 -13
  7. package/dist/actions/add-wire-guard-peer.mjs +6 -6
  8. package/dist/actions/add-wire-guard-peer.mjs.map +1 -1
  9. package/dist/actions/check-app-name-availability.cjs +4 -4
  10. package/dist/actions/check-app-name-availability.cjs.map +1 -1
  11. package/dist/actions/check-app-name-availability.d.cts +5 -10
  12. package/dist/actions/check-app-name-availability.d.cts.map +1 -1
  13. package/dist/actions/check-app-name-availability.d.mts +5 -10
  14. package/dist/actions/check-app-name-availability.d.mts.map +1 -1
  15. package/dist/actions/check-app-name-availability.mjs +4 -4
  16. package/dist/actions/check-app-name-availability.mjs.map +1 -1
  17. package/dist/actions/check-jobs.cjs +3 -3
  18. package/dist/actions/check-jobs.cjs.map +1 -1
  19. package/dist/actions/check-jobs.d.cts +4 -7
  20. package/dist/actions/check-jobs.d.cts.map +1 -1
  21. package/dist/actions/check-jobs.d.mts +4 -7
  22. package/dist/actions/check-jobs.d.mts.map +1 -1
  23. package/dist/actions/check-jobs.mjs +3 -3
  24. package/dist/actions/check-jobs.mjs.map +1 -1
  25. package/dist/actions/check-user-only-token.cjs +2 -2
  26. package/dist/actions/check-user-only-token.cjs.map +1 -1
  27. package/dist/actions/check-user-only-token.d.cts +4 -8
  28. package/dist/actions/check-user-only-token.d.cts.map +1 -1
  29. package/dist/actions/check-user-only-token.d.mts +4 -8
  30. package/dist/actions/check-user-only-token.d.mts.map +1 -1
  31. package/dist/actions/check-user-only-token.mjs +2 -2
  32. package/dist/actions/check-user-only-token.mjs.map +1 -1
  33. package/dist/actions/create-check-job-run.cjs +10 -10
  34. package/dist/actions/create-check-job-run.cjs.map +1 -1
  35. package/dist/actions/create-check-job-run.d.cts +11 -21
  36. package/dist/actions/create-check-job-run.d.mts +11 -21
  37. package/dist/actions/create-check-job-run.mjs +10 -10
  38. package/dist/actions/create-check-job-run.mjs.map +1 -1
  39. package/dist/actions/create-check-job.cjs +4 -4
  40. package/dist/actions/create-check-job.cjs.map +1 -1
  41. package/dist/actions/create-check-job.d.cts +5 -13
  42. package/dist/actions/create-check-job.d.mts +5 -13
  43. package/dist/actions/create-check-job.mjs +4 -4
  44. package/dist/actions/create-check-job.mjs.map +1 -1
  45. package/dist/actions/create-delegated-wire-guard-token.cjs +2 -2
  46. package/dist/actions/create-delegated-wire-guard-token.cjs.map +1 -1
  47. package/dist/actions/create-delegated-wire-guard-token.d.cts +3 -6
  48. package/dist/actions/create-delegated-wire-guard-token.d.mts +3 -6
  49. package/dist/actions/create-delegated-wire-guard-token.mjs +2 -2
  50. package/dist/actions/create-delegated-wire-guard-token.mjs.map +1 -1
  51. package/dist/actions/create-third-party-configuration.cjs +15 -15
  52. package/dist/actions/create-third-party-configuration.cjs.map +1 -1
  53. package/dist/actions/create-third-party-configuration.d.cts +16 -31
  54. package/dist/actions/create-third-party-configuration.d.mts +16 -31
  55. package/dist/actions/create-third-party-configuration.mjs +15 -15
  56. package/dist/actions/create-third-party-configuration.mjs.map +1 -1
  57. package/dist/actions/delete-delegated-wire-guard-token.cjs +3 -3
  58. package/dist/actions/delete-delegated-wire-guard-token.cjs.map +1 -1
  59. package/dist/actions/delete-delegated-wire-guard-token.d.cts +4 -7
  60. package/dist/actions/delete-delegated-wire-guard-token.d.mts +4 -7
  61. package/dist/actions/delete-delegated-wire-guard-token.mjs +3 -3
  62. package/dist/actions/delete-delegated-wire-guard-token.mjs.map +1 -1
  63. package/dist/actions/delete-organization.cjs +7 -7
  64. package/dist/actions/delete-organization.cjs.map +1 -1
  65. package/dist/actions/delete-organization.d.cts +8 -18
  66. package/dist/actions/delete-organization.d.cts.map +1 -1
  67. package/dist/actions/delete-organization.d.mts +8 -18
  68. package/dist/actions/delete-organization.d.mts.map +1 -1
  69. package/dist/actions/delete-organization.mjs +7 -7
  70. package/dist/actions/delete-organization.mjs.map +1 -1
  71. package/dist/actions/delete-remote-builder.cjs +5 -5
  72. package/dist/actions/delete-remote-builder.cjs.map +1 -1
  73. package/dist/actions/delete-remote-builder.d.cts +7 -13
  74. package/dist/actions/delete-remote-builder.d.mts +7 -13
  75. package/dist/actions/delete-remote-builder.mjs +5 -5
  76. package/dist/actions/delete-remote-builder.mjs.map +1 -1
  77. package/dist/actions/delete-third-party-configuration.cjs +3 -3
  78. package/dist/actions/delete-third-party-configuration.cjs.map +1 -1
  79. package/dist/actions/delete-third-party-configuration.d.cts +4 -7
  80. package/dist/actions/delete-third-party-configuration.d.mts +4 -7
  81. package/dist/actions/delete-third-party-configuration.mjs +3 -3
  82. package/dist/actions/delete-third-party-configuration.mjs.map +1 -1
  83. package/dist/actions/detach-postgres-cluster.cjs +7 -7
  84. package/dist/actions/detach-postgres-cluster.cjs.map +1 -1
  85. package/dist/actions/detach-postgres-cluster.d.cts +8 -18
  86. package/dist/actions/detach-postgres-cluster.d.cts.map +1 -1
  87. package/dist/actions/detach-postgres-cluster.d.mts +8 -18
  88. package/dist/actions/detach-postgres-cluster.d.mts.map +1 -1
  89. package/dist/actions/detach-postgres-cluster.mjs +7 -7
  90. package/dist/actions/detach-postgres-cluster.mjs.map +1 -1
  91. package/dist/actions/establish-ssh-key.cjs +3 -3
  92. package/dist/actions/establish-ssh-key.cjs.map +1 -1
  93. package/dist/actions/establish-ssh-key.d.cts +4 -7
  94. package/dist/actions/establish-ssh-key.d.mts +4 -7
  95. package/dist/actions/establish-ssh-key.mjs +3 -3
  96. package/dist/actions/establish-ssh-key.mjs.map +1 -1
  97. package/dist/actions/fetch-nodes-by-ids.cjs +3 -3
  98. package/dist/actions/fetch-nodes-by-ids.cjs.map +1 -1
  99. package/dist/actions/fetch-nodes-by-ids.d.cts +4 -7
  100. package/dist/actions/fetch-nodes-by-ids.d.cts.map +1 -1
  101. package/dist/actions/fetch-nodes-by-ids.d.mts +4 -7
  102. package/dist/actions/fetch-nodes-by-ids.d.mts.map +1 -1
  103. package/dist/actions/fetch-nodes-by-ids.mjs +3 -3
  104. package/dist/actions/fetch-nodes-by-ids.mjs.map +1 -1
  105. package/dist/actions/get-add-on-provider.cjs +17 -17
  106. package/dist/actions/get-add-on-provider.cjs.map +1 -1
  107. package/dist/actions/get-add-on-provider.d.cts +18 -35
  108. package/dist/actions/get-add-on-provider.d.mts +18 -35
  109. package/dist/actions/get-add-on-provider.mjs +17 -17
  110. package/dist/actions/get-add-on-provider.mjs.map +1 -1
  111. package/dist/actions/get-add-on.cjs +19 -19
  112. package/dist/actions/get-add-on.cjs.map +1 -1
  113. package/dist/actions/get-add-on.d.cts +21 -41
  114. package/dist/actions/get-add-on.d.cts.map +1 -1
  115. package/dist/actions/get-add-on.d.mts +21 -41
  116. package/dist/actions/get-add-on.d.mts.map +1 -1
  117. package/dist/actions/get-add-on.mjs +19 -19
  118. package/dist/actions/get-add-on.mjs.map +1 -1
  119. package/dist/actions/get-app-details.cjs +11 -11
  120. package/dist/actions/get-app-details.cjs.map +1 -1
  121. package/dist/actions/get-app-details.d.cts +15 -29
  122. package/dist/actions/get-app-details.d.mts +15 -29
  123. package/dist/actions/get-app-details.mjs +11 -11
  124. package/dist/actions/get-app-details.mjs.map +1 -1
  125. package/dist/actions/get-certificate.cjs +22 -22
  126. package/dist/actions/get-certificate.cjs.map +1 -1
  127. package/dist/actions/get-certificate.d.cts +24 -50
  128. package/dist/actions/get-certificate.d.cts.map +1 -1
  129. package/dist/actions/get-certificate.d.mts +24 -50
  130. package/dist/actions/get-certificate.d.mts.map +1 -1
  131. package/dist/actions/get-certificate.mjs +22 -22
  132. package/dist/actions/get-certificate.mjs.map +1 -1
  133. package/dist/actions/get-current-token-info.cjs +9 -9
  134. package/dist/actions/get-current-token-info.cjs.map +1 -1
  135. package/dist/actions/get-current-token-info.d.cts +11 -21
  136. package/dist/actions/get-current-token-info.d.cts.map +1 -1
  137. package/dist/actions/get-current-token-info.d.mts +11 -21
  138. package/dist/actions/get-current-token-info.d.mts.map +1 -1
  139. package/dist/actions/get-current-token-info.mjs +9 -9
  140. package/dist/actions/get-current-token-info.mjs.map +1 -1
  141. package/dist/actions/get-latest-image-details.cjs +2 -2
  142. package/dist/actions/get-latest-image-details.cjs.map +1 -1
  143. package/dist/actions/get-latest-image-details.d.cts +3 -9
  144. package/dist/actions/get-latest-image-details.d.mts +3 -9
  145. package/dist/actions/get-latest-image-details.mjs +2 -2
  146. package/dist/actions/get-latest-image-details.mjs.map +1 -1
  147. package/dist/actions/get-latest-image-tag.cjs +1 -1
  148. package/dist/actions/get-latest-image-tag.cjs.map +1 -1
  149. package/dist/actions/get-latest-image-tag.d.cts +3 -5
  150. package/dist/actions/get-latest-image-tag.d.mts +3 -5
  151. package/dist/actions/get-latest-image-tag.mjs +1 -1
  152. package/dist/actions/get-latest-image-tag.mjs.map +1 -1
  153. package/dist/actions/get-machine.cjs +18 -18
  154. package/dist/actions/get-machine.cjs.map +1 -1
  155. package/dist/actions/get-machine.d.cts +20 -42
  156. package/dist/actions/get-machine.d.cts.map +1 -1
  157. package/dist/actions/get-machine.d.mts +20 -42
  158. package/dist/actions/get-machine.d.mts.map +1 -1
  159. package/dist/actions/get-machine.mjs +18 -18
  160. package/dist/actions/get-machine.mjs.map +1 -1
  161. package/dist/actions/get-nearest-region.cjs +3 -3
  162. package/dist/actions/get-nearest-region.cjs.map +1 -1
  163. package/dist/actions/get-nearest-region.d.cts +4 -7
  164. package/dist/actions/get-nearest-region.d.cts.map +1 -1
  165. package/dist/actions/get-nearest-region.d.mts +4 -7
  166. package/dist/actions/get-nearest-region.d.mts.map +1 -1
  167. package/dist/actions/get-nearest-region.mjs +3 -3
  168. package/dist/actions/get-nearest-region.mjs.map +1 -1
  169. package/dist/actions/get-node.cjs +9 -9
  170. package/dist/actions/get-node.cjs.map +1 -1
  171. package/dist/actions/get-node.d.cts +11 -26
  172. package/dist/actions/get-node.d.mts +11 -26
  173. package/dist/actions/get-node.mjs +9 -9
  174. package/dist/actions/get-node.mjs.map +1 -1
  175. package/dist/actions/get-organization.cjs +7 -7
  176. package/dist/actions/get-organization.cjs.map +1 -1
  177. package/dist/actions/get-organization.d.cts +8 -18
  178. package/dist/actions/get-organization.d.cts.map +1 -1
  179. package/dist/actions/get-organization.d.mts +8 -18
  180. package/dist/actions/get-organization.d.mts.map +1 -1
  181. package/dist/actions/get-organization.mjs +7 -7
  182. package/dist/actions/get-organization.mjs.map +1 -1
  183. package/dist/actions/get-personal-organization.cjs +4 -4
  184. package/dist/actions/get-personal-organization.cjs.map +1 -1
  185. package/dist/actions/get-personal-organization.d.cts +5 -18
  186. package/dist/actions/get-personal-organization.d.cts.map +1 -1
  187. package/dist/actions/get-personal-organization.d.mts +5 -18
  188. package/dist/actions/get-personal-organization.d.mts.map +1 -1
  189. package/dist/actions/get-personal-organization.mjs +4 -4
  190. package/dist/actions/get-personal-organization.mjs.map +1 -1
  191. package/dist/actions/get-placements.cjs +3 -3
  192. package/dist/actions/get-placements.cjs.map +1 -1
  193. package/dist/actions/get-placements.d.cts +5 -11
  194. package/dist/actions/get-placements.d.mts +5 -11
  195. package/dist/actions/get-placements.mjs +3 -3
  196. package/dist/actions/get-placements.mjs.map +1 -1
  197. package/dist/actions/get-platform-info.cjs +15 -15
  198. package/dist/actions/get-platform-info.cjs.map +1 -1
  199. package/dist/actions/get-platform-info.d.cts +16 -31
  200. package/dist/actions/get-platform-info.d.cts.map +1 -1
  201. package/dist/actions/get-platform-info.d.mts +16 -31
  202. package/dist/actions/get-platform-info.d.mts.map +1 -1
  203. package/dist/actions/get-platform-info.mjs +15 -15
  204. package/dist/actions/get-platform-info.mjs.map +1 -1
  205. package/dist/actions/get-products.cjs +9 -9
  206. package/dist/actions/get-products.cjs.map +1 -1
  207. package/dist/actions/get-products.d.cts +10 -20
  208. package/dist/actions/get-products.d.cts.map +1 -1
  209. package/dist/actions/get-products.d.mts +10 -20
  210. package/dist/actions/get-products.d.mts.map +1 -1
  211. package/dist/actions/get-products.mjs +9 -9
  212. package/dist/actions/get-products.mjs.map +1 -1
  213. package/dist/actions/get-regions.cjs +13 -13
  214. package/dist/actions/get-regions.cjs.map +1 -1
  215. package/dist/actions/get-regions.d.cts +14 -27
  216. package/dist/actions/get-regions.d.mts +14 -27
  217. package/dist/actions/get-regions.mjs +13 -13
  218. package/dist/actions/get-regions.mjs.map +1 -1
  219. package/dist/actions/get-viewer-info.cjs +7 -7
  220. package/dist/actions/get-viewer-info.cjs.map +1 -1
  221. package/dist/actions/get-viewer-info.d.cts +8 -17
  222. package/dist/actions/get-viewer-info.d.mts +8 -17
  223. package/dist/actions/get-viewer-info.mjs +7 -7
  224. package/dist/actions/get-viewer-info.mjs.map +1 -1
  225. package/dist/actions/issue-certificate.cjs +3 -3
  226. package/dist/actions/issue-certificate.cjs.map +1 -1
  227. package/dist/actions/issue-certificate.d.cts +4 -7
  228. package/dist/actions/issue-certificate.d.mts +4 -7
  229. package/dist/actions/issue-certificate.mjs +3 -3
  230. package/dist/actions/issue-certificate.mjs.map +1 -1
  231. package/dist/actions/list-add-on-plans.cjs +25 -25
  232. package/dist/actions/list-add-on-plans.cjs.map +1 -1
  233. package/dist/actions/list-add-on-plans.d.cts +38 -77
  234. package/dist/actions/list-add-on-plans.d.mts +38 -77
  235. package/dist/actions/list-add-on-plans.mjs +25 -25
  236. package/dist/actions/list-add-on-plans.mjs.map +1 -1
  237. package/dist/actions/list-add-ons.cjs +28 -28
  238. package/dist/actions/list-add-ons.cjs.map +1 -1
  239. package/dist/actions/list-add-ons.d.cts +4 -161
  240. package/dist/actions/list-add-ons.d.cts.map +1 -1
  241. package/dist/actions/list-add-ons.d.mts +4 -161
  242. package/dist/actions/list-add-ons.d.mts.map +1 -1
  243. package/dist/actions/list-add-ons.mjs +28 -28
  244. package/dist/actions/list-add-ons.mjs.map +1 -1
  245. package/dist/actions/list-apps-graphql.cjs +26 -26
  246. package/dist/actions/list-apps-graphql.cjs.map +1 -1
  247. package/dist/actions/list-apps-graphql.d.cts +31 -61
  248. package/dist/actions/list-apps-graphql.d.cts.map +1 -1
  249. package/dist/actions/list-apps-graphql.d.mts +31 -61
  250. package/dist/actions/list-apps-graphql.d.mts.map +1 -1
  251. package/dist/actions/list-apps-graphql.mjs +26 -26
  252. package/dist/actions/list-apps-graphql.mjs.map +1 -1
  253. package/dist/actions/list-apps.cjs +16 -16
  254. package/dist/actions/list-apps.cjs.map +1 -1
  255. package/dist/actions/list-apps.d.cts +17 -33
  256. package/dist/actions/list-apps.d.mts +17 -33
  257. package/dist/actions/list-apps.mjs +16 -16
  258. package/dist/actions/list-apps.mjs.map +1 -1
  259. package/dist/actions/list-check-locations.cjs +5 -5
  260. package/dist/actions/list-check-locations.cjs.map +1 -1
  261. package/dist/actions/list-check-locations.d.cts +6 -16
  262. package/dist/actions/list-check-locations.d.cts.map +1 -1
  263. package/dist/actions/list-check-locations.d.mts +6 -16
  264. package/dist/actions/list-check-locations.d.mts.map +1 -1
  265. package/dist/actions/list-check-locations.mjs +5 -5
  266. package/dist/actions/list-check-locations.mjs.map +1 -1
  267. package/dist/actions/list-machines.cjs +3 -3
  268. package/dist/actions/list-machines.cjs.map +1 -1
  269. package/dist/actions/list-machines.d.cts +4 -7
  270. package/dist/actions/list-machines.d.cts.map +1 -1
  271. package/dist/actions/list-machines.d.mts +4 -7
  272. package/dist/actions/list-machines.d.mts.map +1 -1
  273. package/dist/actions/list-machines.mjs +3 -3
  274. package/dist/actions/list-machines.mjs.map +1 -1
  275. package/dist/actions/list-org-machines.cjs +16 -16
  276. package/dist/actions/list-org-machines.cjs.map +1 -1
  277. package/dist/actions/list-org-machines.d.cts +17 -33
  278. package/dist/actions/list-org-machines.d.mts +17 -33
  279. package/dist/actions/list-org-machines.mjs +16 -16
  280. package/dist/actions/list-org-machines.mjs.map +1 -1
  281. package/dist/actions/remove-wire-guard-peer.cjs +4 -4
  282. package/dist/actions/remove-wire-guard-peer.cjs.map +1 -1
  283. package/dist/actions/remove-wire-guard-peer.d.cts +6 -11
  284. package/dist/actions/remove-wire-guard-peer.d.mts +6 -11
  285. package/dist/actions/remove-wire-guard-peer.mjs +4 -4
  286. package/dist/actions/remove-wire-guard-peer.mjs.map +1 -1
  287. package/dist/actions/set-apps-v2-default-on.cjs +6 -6
  288. package/dist/actions/set-apps-v2-default-on.cjs.map +1 -1
  289. package/dist/actions/set-apps-v2-default-on.d.cts +9 -17
  290. package/dist/actions/set-apps-v2-default-on.d.mts +9 -17
  291. package/dist/actions/set-apps-v2-default-on.mjs +6 -6
  292. package/dist/actions/set-apps-v2-default-on.mjs.map +1 -1
  293. package/dist/actions/update-third-party-configuration.cjs +15 -15
  294. package/dist/actions/update-third-party-configuration.cjs.map +1 -1
  295. package/dist/actions/update-third-party-configuration.d.cts +16 -31
  296. package/dist/actions/update-third-party-configuration.d.mts +16 -31
  297. package/dist/actions/update-third-party-configuration.mjs +15 -15
  298. package/dist/actions/update-third-party-configuration.mjs.map +1 -1
  299. package/dist/actions/validate-config.cjs +6 -6
  300. package/dist/actions/validate-config.cjs.map +1 -1
  301. package/dist/actions/validate-config.d.cts +8 -15
  302. package/dist/actions/validate-config.d.cts.map +1 -1
  303. package/dist/actions/validate-config.d.mts +8 -15
  304. package/dist/actions/validate-config.d.mts.map +1 -1
  305. package/dist/actions/validate-config.mjs +6 -6
  306. package/dist/actions/validate-config.mjs.map +1 -1
  307. package/dist/actions/validate-wire-guard-peers.cjs +1 -1
  308. package/dist/actions/validate-wire-guard-peers.cjs.map +1 -1
  309. package/dist/actions/validate-wire-guard-peers.d.cts +3 -5
  310. package/dist/actions/validate-wire-guard-peers.d.mts +3 -5
  311. package/dist/actions/validate-wire-guard-peers.mjs +1 -1
  312. package/dist/actions/validate-wire-guard-peers.mjs.map +1 -1
  313. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"list-org-machines.mjs","names":[],"sources":["../../src/actions/list-org-machines.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyListOrgMachinesInput = z.object({\n limit: z.number().int().describe(\"The number of machines to fetch (max of 1000). If omitted, this is set to 500 by default\").optional(),\n state: z.string().describe(\"Comma separated list of states to filter. Valid states: created, started, stopped, suspended\").optional(),\n cursor: z.string().describe(\"Pagination cursor from previous response (takes precedence over updated_after)\").optional(),\n region: z.string().describe(\"Filter machines by region\").optional(),\n org_slug: z.string().describe(\"Fly Organization Slug\"),\n updated_after: z.string().describe(\"Only return machines updated after this time. Timestamp must be in the RFC 3339 format\").optional(),\n include_deleted: z.boolean().describe(\"Include deleted machines in the response\").optional(),\n}).describe(\"Request model for listing all machines across all apps in an organization.\");\nconst FlyListOrgMachines_MachineSchema = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Unique machine identifier\").optional()),\n name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Machine name\").optional()),\n state: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Current state of the machine (created, started, stopped, suspended)\").optional()),\n app_id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Application ID the machine belongs to\").optional()),\n region: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Region where the machine is located\").optional()),\n app_name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Application name the machine belongs to\").optional()),\n created_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp when the machine was created\").optional()),\n private_ip: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Private IP address of the machine\").optional()),\n updated_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp when the machine was last updated\").optional()),\n instance_id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Instance identifier\").optional()),\n}).describe(\"Machine object representing a Fly machine.\");\nexport const FlyListOrgMachinesOutput = z.object({\n machines: z.preprocess((value) => (value === null ? undefined : value), z.array(FlyListOrgMachines_MachineSchema).describe(\"List of machines in the organization\").optional()),\n next_cursor: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Cursor for pagination. Use this value in the cursor parameter of the next request to fetch more machines\").optional()),\n last_machine_id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"ID of the last machine in the current response\").optional()),\n last_updated_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp of the last updated machine in the current response\").optional()),\n}).describe(\"Response model for listing organization machines.\");\n\nexport const flyListOrgMachines = action(\"FLY_LIST_ORG_MACHINES\", {\n slug: \"fly-list-org-machines\",\n name: \"List Organization Machines\",\n description: \"Tool to list all Machines across all apps in a Fly organization. Use when you need to retrieve machines for monitoring, management, or inventory purposes. Supports filtering by region, state, and time ranges with pagination for large result sets.\",\n input: FlyListOrgMachinesInput,\n output: FlyListOrgMachinesOutput,\n});\n"],"mappings":"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"}
1
+ {"version":3,"file":"list-org-machines.mjs","names":[],"sources":["../../src/actions/list-org-machines.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyListOrgMachinesInput = z.object({\n limit: z.number().int().describe(\"The number of machines to fetch (max of 1000). If omitted, this is set to 500 by default\").optional(),\n state: z.string().describe(\"Comma separated list of states to filter. Valid states: created, started, stopped, suspended\").optional(),\n cursor: z.string().describe(\"Pagination cursor from previous response (takes precedence over updated_after)\").optional(),\n region: z.string().describe(\"Filter machines by region\").optional(),\n org_slug: z.string().describe(\"Fly Organization Slug\"),\n updated_after: z.string().describe(\"Only return machines updated after this time. Timestamp must be in the RFC 3339 format\").optional(),\n include_deleted: z.boolean().describe(\"Include deleted machines in the response\").optional(),\n}).describe(\"Request model for listing all machines across all apps in an organization.\");\nconst FlyListOrgMachines_MachineSchema = z.object({\n id: z.string().describe(\"Unique machine identifier\").nullable().optional(),\n name: z.string().describe(\"Machine name\").nullable().optional(),\n state: z.string().describe(\"Current state of the machine (created, started, stopped, suspended)\").nullable().optional(),\n app_id: z.number().int().describe(\"Application ID the machine belongs to\").nullable().optional(),\n region: z.string().describe(\"Region where the machine is located\").nullable().optional(),\n app_name: z.string().describe(\"Application name the machine belongs to\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the machine was created\").nullable().optional(),\n private_ip: z.string().describe(\"Private IP address of the machine\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the machine was last updated\").nullable().optional(),\n instance_id: z.string().describe(\"Instance identifier\").nullable().optional(),\n}).passthrough().describe(\"Machine object representing a Fly machine.\");\nexport const FlyListOrgMachinesOutput = z.object({\n machines: z.array(FlyListOrgMachines_MachineSchema).describe(\"List of machines in the organization\").nullable().optional(),\n next_cursor: z.string().describe(\"Cursor for pagination. Use this value in the cursor parameter of the next request to fetch more machines\").nullable().optional(),\n last_machine_id: z.string().describe(\"ID of the last machine in the current response\").nullable().optional(),\n last_updated_at: z.string().describe(\"Timestamp of the last updated machine in the current response\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing organization machines.\");\n\nexport const flyListOrgMachines = action(\"FLY_LIST_ORG_MACHINES\", {\n slug: \"fly-list-org-machines\",\n name: \"List Organization Machines\",\n description: \"Tool to list all Machines across all apps in a Fly organization. Use when you need to retrieve machines for monitoring, management, or inventory purposes. Supports filtering by region, state, and time ranges with pagination for large result sets.\",\n input: FlyListOrgMachinesInput,\n output: FlyListOrgMachinesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACtI,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CACpI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACvH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAClE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACrD,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CACtI,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAQtE,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZsC,EAAE,OAAO;EAC/C,UAAU,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjK,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAOhB;AACV,CAAC"}
@@ -6,10 +6,10 @@ const FlyRemoveWireGuardPeerInput = zod.z.object({
6
6
  organization_id: zod.z.string().describe("The node ID of the organization to remove the WireGuard peer from")
7
7
  }).describe("Request model for removing a WireGuard peer from an organization.");
8
8
  const FlyRemoveWireGuardPeer_OrganizationInfoSchema = zod.z.object({
9
- id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("The unique identifier of the organization").optional()),
10
- slug: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("The slug/short name of the organization").optional())
11
- }).describe("Organization information returned from the mutation.");
12
- const FlyRemoveWireGuardPeerOutput = zod.z.object({ organization: zod.z.preprocess((value) => value === null ? void 0 : value, FlyRemoveWireGuardPeer_OrganizationInfoSchema.optional()) }).describe("Response model for removing a WireGuard peer.");
9
+ id: zod.z.string().describe("The unique identifier of the organization").nullable().optional(),
10
+ slug: zod.z.string().describe("The slug/short name of the organization").nullable().optional()
11
+ }).passthrough().describe("Organization information returned from the mutation.");
12
+ const FlyRemoveWireGuardPeerOutput = zod.z.object({ organization: FlyRemoveWireGuardPeer_OrganizationInfoSchema.nullable().optional() }).passthrough().describe("Response model for removing a WireGuard peer.");
13
13
  const flyRemoveWireGuardPeer = require_action.action("FLY_REMOVE_WIRE_GUARD_PEER", {
14
14
  slug: "fly-remove-wire-guard-peer",
15
15
  name: "Remove WireGuard Peer",
@@ -1 +1 @@
1
- {"version":3,"file":"remove-wire-guard-peer.cjs","names":["z","action"],"sources":["../../src/actions/remove-wire-guard-peer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyRemoveWireGuardPeerInput = z.object({\n name: z.string().describe(\"The name of the WireGuard peer to remove\"),\n organization_id: z.string().describe(\"The node ID of the organization to remove the WireGuard peer from\"),\n}).describe(\"Request model for removing a WireGuard peer from an organization.\");\nconst FlyRemoveWireGuardPeer_OrganizationInfoSchema = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The unique identifier of the organization\").optional()),\n slug: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The slug/short name of the organization\").optional()),\n}).describe(\"Organization information returned from the mutation.\");\nexport const FlyRemoveWireGuardPeerOutput = z.object({\n organization: z.preprocess((value) => (value === null ? undefined : value), FlyRemoveWireGuardPeer_OrganizationInfoSchema.optional()),\n}).describe(\"Response model for removing a WireGuard peer.\");\n\nexport const flyRemoveWireGuardPeer = action(\"FLY_REMOVE_WIRE_GUARD_PEER\", {\n slug: \"fly-remove-wire-guard-peer\",\n name: \"Remove WireGuard Peer\",\n description: \"Tool to remove a WireGuard peer connection from a Fly.io organization. Use when you need to delete or revoke an existing WireGuard peer from your organization's network.\",\n input: FlyRemoveWireGuardPeerInput,\n output: FlyRemoveWireGuardPeerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACpE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;AAC1G,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC;CAC7I,MAAMA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC;AAC/I,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,cAAcA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,8CAA8C,SAAS,CAAC,EACtI,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAE3D,MAAa,yBAAyBC,eAAAA,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"remove-wire-guard-peer.cjs","names":["z","action"],"sources":["../../src/actions/remove-wire-guard-peer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyRemoveWireGuardPeerInput = z.object({\n name: z.string().describe(\"The name of the WireGuard peer to remove\"),\n organization_id: z.string().describe(\"The node ID of the organization to remove the WireGuard peer from\"),\n}).describe(\"Request model for removing a WireGuard peer from an organization.\");\nconst FlyRemoveWireGuardPeer_OrganizationInfoSchema = z.object({\n id: z.string().describe(\"The unique identifier of the organization\").nullable().optional(),\n slug: z.string().describe(\"The slug/short name of the organization\").nullable().optional(),\n}).passthrough().describe(\"Organization information returned from the mutation.\");\nexport const FlyRemoveWireGuardPeerOutput = z.object({\n organization: FlyRemoveWireGuardPeer_OrganizationInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for removing a WireGuard peer.\");\n\nexport const flyRemoveWireGuardPeer = action(\"FLY_REMOVE_WIRE_GUARD_PEER\", {\n slug: \"fly-remove-wire-guard-peer\",\n name: \"Remove WireGuard Peer\",\n description: \"Tool to remove a WireGuard peer connection from a Fly.io organization. Use when you need to delete or revoke an existing WireGuard peer from your organization's network.\",\n input: FlyRemoveWireGuardPeerInput,\n output: FlyRemoveWireGuardPeerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACpE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;AAC1G,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,cAAc,8CAA8C,SAAS,CAAC,CAAC,SAAS,EAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,yBAAyBC,eAAAA,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -6,20 +6,15 @@ declare const FlyRemoveWireGuardPeerInput: z.ZodObject<{
6
6
  organization_id: z.ZodString;
7
7
  }, z.core.$strip>;
8
8
  declare const FlyRemoveWireGuardPeerOutput: z.ZodObject<{
9
- organization: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
10
- id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
11
- slug: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
12
- }, z.core.$strip>>>;
13
- }, z.core.$strip>;
9
+ organization: z.ZodOptional<z.ZodNullable<z.ZodObject<{
10
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ }, z.core.$loose>>>;
13
+ }, z.core.$loose>;
14
14
  declare const flyRemoveWireGuardPeer: import("@keystrokehq/action").WorkflowActionDefinition<{
15
15
  name: string;
16
16
  organization_id: string;
17
- }, {
18
- organization?: {
19
- id?: string | undefined;
20
- slug?: string | undefined;
21
- } | undefined;
22
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
23
18
  //#endregion
24
19
  export { flyRemoveWireGuardPeer };
25
20
  //# sourceMappingURL=remove-wire-guard-peer.d.cts.map
@@ -6,20 +6,15 @@ declare const FlyRemoveWireGuardPeerInput: z.ZodObject<{
6
6
  organization_id: z.ZodString;
7
7
  }, z.core.$strip>;
8
8
  declare const FlyRemoveWireGuardPeerOutput: z.ZodObject<{
9
- organization: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
10
- id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
11
- slug: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
12
- }, z.core.$strip>>>;
13
- }, z.core.$strip>;
9
+ organization: z.ZodOptional<z.ZodNullable<z.ZodObject<{
10
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ }, z.core.$loose>>>;
13
+ }, z.core.$loose>;
14
14
  declare const flyRemoveWireGuardPeer: import("@keystrokehq/action").WorkflowActionDefinition<{
15
15
  name: string;
16
16
  organization_id: string;
17
- }, {
18
- organization?: {
19
- id?: string | undefined;
20
- slug?: string | undefined;
21
- } | undefined;
22
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
23
18
  //#endregion
24
19
  export { flyRemoveWireGuardPeer };
25
20
  //# sourceMappingURL=remove-wire-guard-peer.d.mts.map
@@ -6,15 +6,15 @@ const FlyRemoveWireGuardPeerInput = z.object({
6
6
  organization_id: z.string().describe("The node ID of the organization to remove the WireGuard peer from")
7
7
  }).describe("Request model for removing a WireGuard peer from an organization.");
8
8
  const FlyRemoveWireGuardPeer_OrganizationInfoSchema = z.object({
9
- id: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("The unique identifier of the organization").optional()),
10
- slug: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("The slug/short name of the organization").optional())
11
- }).describe("Organization information returned from the mutation.");
9
+ id: z.string().describe("The unique identifier of the organization").nullable().optional(),
10
+ slug: z.string().describe("The slug/short name of the organization").nullable().optional()
11
+ }).passthrough().describe("Organization information returned from the mutation.");
12
12
  const flyRemoveWireGuardPeer = action("FLY_REMOVE_WIRE_GUARD_PEER", {
13
13
  slug: "fly-remove-wire-guard-peer",
14
14
  name: "Remove WireGuard Peer",
15
15
  description: "Tool to remove a WireGuard peer connection from a Fly.io organization. Use when you need to delete or revoke an existing WireGuard peer from your organization's network.",
16
16
  input: FlyRemoveWireGuardPeerInput,
17
- output: z.object({ organization: z.preprocess((value) => value === null ? void 0 : value, FlyRemoveWireGuardPeer_OrganizationInfoSchema.optional()) }).describe("Response model for removing a WireGuard peer.")
17
+ output: z.object({ organization: FlyRemoveWireGuardPeer_OrganizationInfoSchema.nullable().optional() }).passthrough().describe("Response model for removing a WireGuard peer.")
18
18
  });
19
19
  //#endregion
20
20
  export { flyRemoveWireGuardPeer };
@@ -1 +1 @@
1
- {"version":3,"file":"remove-wire-guard-peer.mjs","names":[],"sources":["../../src/actions/remove-wire-guard-peer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyRemoveWireGuardPeerInput = z.object({\n name: z.string().describe(\"The name of the WireGuard peer to remove\"),\n organization_id: z.string().describe(\"The node ID of the organization to remove the WireGuard peer from\"),\n}).describe(\"Request model for removing a WireGuard peer from an organization.\");\nconst FlyRemoveWireGuardPeer_OrganizationInfoSchema = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The unique identifier of the organization\").optional()),\n slug: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The slug/short name of the organization\").optional()),\n}).describe(\"Organization information returned from the mutation.\");\nexport const FlyRemoveWireGuardPeerOutput = z.object({\n organization: z.preprocess((value) => (value === null ? undefined : value), FlyRemoveWireGuardPeer_OrganizationInfoSchema.optional()),\n}).describe(\"Response model for removing a WireGuard peer.\");\n\nexport const flyRemoveWireGuardPeer = action(\"FLY_REMOVE_WIRE_GUARD_PEER\", {\n slug: \"fly-remove-wire-guard-peer\",\n name: \"Remove WireGuard Peer\",\n description: \"Tool to remove a WireGuard peer connection from a Fly.io organization. Use when you need to delete or revoke an existing WireGuard peer from your organization's network.\",\n input: FlyRemoveWireGuardPeerInput,\n output: FlyRemoveWireGuardPeerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACpE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;AAC1G,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,gDAAgD,EAAE,OAAO;CAC7D,IAAI,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC;CAC7I,MAAM,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC;AAC/I,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAKlE,MAAa,yBAAyB,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0C,EAAE,OAAO,EACnD,cAAc,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,8CAA8C,SAAS,CAAC,EACtI,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"remove-wire-guard-peer.mjs","names":[],"sources":["../../src/actions/remove-wire-guard-peer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyRemoveWireGuardPeerInput = z.object({\n name: z.string().describe(\"The name of the WireGuard peer to remove\"),\n organization_id: z.string().describe(\"The node ID of the organization to remove the WireGuard peer from\"),\n}).describe(\"Request model for removing a WireGuard peer from an organization.\");\nconst FlyRemoveWireGuardPeer_OrganizationInfoSchema = z.object({\n id: z.string().describe(\"The unique identifier of the organization\").nullable().optional(),\n slug: z.string().describe(\"The slug/short name of the organization\").nullable().optional(),\n}).passthrough().describe(\"Organization information returned from the mutation.\");\nexport const FlyRemoveWireGuardPeerOutput = z.object({\n organization: FlyRemoveWireGuardPeer_OrganizationInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for removing a WireGuard peer.\");\n\nexport const flyRemoveWireGuardPeer = action(\"FLY_REMOVE_WIRE_GUARD_PEER\", {\n slug: \"fly-remove-wire-guard-peer\",\n name: \"Remove WireGuard Peer\",\n description: \"Tool to remove a WireGuard peer connection from a Fly.io organization. Use when you need to delete or revoke an existing WireGuard peer from your organization's network.\",\n input: FlyRemoveWireGuardPeerInput,\n output: FlyRemoveWireGuardPeerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACpE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;AAC1G,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,gDAAgD,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAKhF,MAAa,yBAAyB,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0C,EAAE,OAAO,EACnD,cAAc,8CAA8C,SAAS,CAAC,CAAC,SAAS,EAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
@@ -6,12 +6,12 @@ const FlySetAppsV2DefaultOnInput = zod.z.object({
6
6
  organization_slug: zod.z.string().describe("The slug of the organization to configure")
7
7
  }).describe("Request model for setting Apps V2 as default for an organization.");
8
8
  const FlySetAppsV2DefaultOn_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 FlySetAppsV2DefaultOn_SetAppsV2DefaultOnDataSchema = zod.z.object({ organization: zod.z.preprocess((value) => value === null ? void 0 : value, FlySetAppsV2DefaultOn_OrganizationSchema.optional()) }).describe("Mutation result data containing the updated organization.");
14
- const FlySetAppsV2DefaultOnOutput = zod.z.object({ set_apps_v2_default_on: zod.z.preprocess((value) => value === null ? void 0 : value, FlySetAppsV2DefaultOn_SetAppsV2DefaultOnDataSchema.optional()) }).describe("Response model for the set Apps V2 default mutation.");
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 FlySetAppsV2DefaultOn_SetAppsV2DefaultOnDataSchema = zod.z.object({ organization: FlySetAppsV2DefaultOn_OrganizationSchema.nullable().optional() }).passthrough().describe("Mutation result data containing the updated organization.");
14
+ const FlySetAppsV2DefaultOnOutput = zod.z.object({ set_apps_v2_default_on: FlySetAppsV2DefaultOn_SetAppsV2DefaultOnDataSchema.nullable().optional() }).passthrough().describe("Response model for the set Apps V2 default mutation.");
15
15
  const flySetAppsV2DefaultOn = require_action.action("FLY_SET_APPS_V2_DEFAULT_ON", {
16
16
  slug: "fly-set-apps-v2-default-on",
17
17
  name: "Set Apps V2 Default",
@@ -1 +1 @@
1
- {"version":3,"file":"set-apps-v2-default-on.cjs","names":["z","action"],"sources":["../../src/actions/set-apps-v2-default-on.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlySetAppsV2DefaultOnInput = z.object({\n default_on: z.boolean().describe(\"Whether or not new apps in this org use Apps V2 by default\"),\n organization_slug: z.string().describe(\"The slug of the organization to configure\"),\n}).describe(\"Request model for setting Apps V2 as default for an organization.\");\nconst FlySetAppsV2DefaultOn_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.\");\nconst FlySetAppsV2DefaultOn_SetAppsV2DefaultOnDataSchema = z.object({\n organization: z.preprocess((value) => (value === null ? undefined : value), FlySetAppsV2DefaultOn_OrganizationSchema.optional()),\n}).describe(\"Mutation result data containing the updated organization.\");\nexport const FlySetAppsV2DefaultOnOutput = z.object({\n set_apps_v2_default_on: z.preprocess((value) => (value === null ? undefined : value), FlySetAppsV2DefaultOn_SetAppsV2DefaultOnDataSchema.optional()),\n}).describe(\"Response model for the set Apps V2 default mutation.\");\n\nexport const flySetAppsV2DefaultOn = action(\"FLY_SET_APPS_V2_DEFAULT_ON\", {\n slug: \"fly-set-apps-v2-default-on\",\n name: \"Set Apps V2 Default\",\n description: \"Tool to configure whether new apps in an organization use Apps V2 by default on Fly.io. Use when you need to enable or disable Apps V2 as the default for new applications in a specific organization.\",\n input: FlySetAppsV2DefaultOnInput,\n output: FlySetAppsV2DefaultOnOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D;CAC7F,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;AACpF,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,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,MAAM,qDAAqDA,IAAAA,EAAE,OAAO,EAClE,cAAcA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,yCAAyC,SAAS,CAAC,EACjI,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,wBAAwBA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,mDAAmD,SAAS,CAAC,EACrJ,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,wBAAwBC,eAAAA,OAAO,8BAA8B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"set-apps-v2-default-on.cjs","names":["z","action"],"sources":["../../src/actions/set-apps-v2-default-on.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlySetAppsV2DefaultOnInput = z.object({\n default_on: z.boolean().describe(\"Whether or not new apps in this org use Apps V2 by default\"),\n organization_slug: z.string().describe(\"The slug of the organization to configure\"),\n}).describe(\"Request model for setting Apps V2 as default for an organization.\");\nconst FlySetAppsV2DefaultOn_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.\");\nconst FlySetAppsV2DefaultOn_SetAppsV2DefaultOnDataSchema = z.object({\n organization: FlySetAppsV2DefaultOn_OrganizationSchema.nullable().optional(),\n}).passthrough().describe(\"Mutation result data containing the updated organization.\");\nexport const FlySetAppsV2DefaultOnOutput = z.object({\n set_apps_v2_default_on: FlySetAppsV2DefaultOn_SetAppsV2DefaultOnDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for the set Apps V2 default mutation.\");\n\nexport const flySetAppsV2DefaultOn = action(\"FLY_SET_APPS_V2_DEFAULT_ON\", {\n slug: \"fly-set-apps-v2-default-on\",\n name: \"Set Apps V2 Default\",\n description: \"Tool to configure whether new apps in an organization use Apps V2 by default on Fly.io. Use when you need to enable or disable Apps V2 as the default for new applications in a specific organization.\",\n input: FlySetAppsV2DefaultOnInput,\n output: FlySetAppsV2DefaultOnOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D;CAC7F,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;AACpF,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,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,MAAM,qDAAqDA,IAAAA,EAAE,OAAO,EAClE,cAAc,yCAAyC,SAAS,CAAC,CAAC,SAAS,EAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AACrF,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,wBAAwB,mDAAmD,SAAS,CAAC,CAAC,SAAS,EACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,wBAAwBC,eAAAA,OAAO,8BAA8B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -6,26 +6,18 @@ declare const FlySetAppsV2DefaultOnInput: z.ZodObject<{
6
6
  organization_slug: z.ZodString;
7
7
  }, z.core.$strip>;
8
8
  declare const FlySetAppsV2DefaultOnOutput: z.ZodObject<{
9
- set_apps_v2_default_on: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
10
- organization: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
11
- id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
12
- name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
13
- slug: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
14
- }, z.core.$strip>>>;
15
- }, z.core.$strip>>>;
16
- }, z.core.$strip>;
9
+ set_apps_v2_default_on: z.ZodOptional<z.ZodNullable<z.ZodObject<{
10
+ organization: z.ZodOptional<z.ZodNullable<z.ZodObject<{
11
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ }, z.core.$loose>>>;
15
+ }, z.core.$loose>>>;
16
+ }, z.core.$loose>;
17
17
  declare const flySetAppsV2DefaultOn: import("@keystrokehq/action").WorkflowActionDefinition<{
18
18
  default_on: boolean;
19
19
  organization_slug: string;
20
- }, {
21
- set_apps_v2_default_on?: {
22
- organization?: {
23
- id?: string | undefined;
24
- name?: string | undefined;
25
- slug?: string | undefined;
26
- } | undefined;
27
- } | undefined;
28
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
29
21
  //#endregion
30
22
  export { flySetAppsV2DefaultOn };
31
23
  //# sourceMappingURL=set-apps-v2-default-on.d.cts.map
@@ -6,26 +6,18 @@ declare const FlySetAppsV2DefaultOnInput: z.ZodObject<{
6
6
  organization_slug: z.ZodString;
7
7
  }, z.core.$strip>;
8
8
  declare const FlySetAppsV2DefaultOnOutput: z.ZodObject<{
9
- set_apps_v2_default_on: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
10
- organization: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
11
- id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
12
- name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
13
- slug: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
14
- }, z.core.$strip>>>;
15
- }, z.core.$strip>>>;
16
- }, z.core.$strip>;
9
+ set_apps_v2_default_on: z.ZodOptional<z.ZodNullable<z.ZodObject<{
10
+ organization: z.ZodOptional<z.ZodNullable<z.ZodObject<{
11
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ }, z.core.$loose>>>;
15
+ }, z.core.$loose>>>;
16
+ }, z.core.$loose>;
17
17
  declare const flySetAppsV2DefaultOn: import("@keystrokehq/action").WorkflowActionDefinition<{
18
18
  default_on: boolean;
19
19
  organization_slug: string;
20
- }, {
21
- set_apps_v2_default_on?: {
22
- organization?: {
23
- id?: string | undefined;
24
- name?: string | undefined;
25
- slug?: string | undefined;
26
- } | undefined;
27
- } | undefined;
28
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
29
21
  //#endregion
30
22
  export { flySetAppsV2DefaultOn };
31
23
  //# sourceMappingURL=set-apps-v2-default-on.d.mts.map
@@ -6,17 +6,17 @@ const FlySetAppsV2DefaultOnInput = z.object({
6
6
  organization_slug: z.string().describe("The slug of the organization to configure")
7
7
  }).describe("Request model for setting Apps V2 as default for an organization.");
8
8
  const FlySetAppsV2DefaultOn_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.");
13
- const FlySetAppsV2DefaultOn_SetAppsV2DefaultOnDataSchema = z.object({ organization: z.preprocess((value) => value === null ? void 0 : value, FlySetAppsV2DefaultOn_OrganizationSchema.optional()) }).describe("Mutation result data containing the updated organization.");
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
+ const FlySetAppsV2DefaultOn_SetAppsV2DefaultOnDataSchema = z.object({ organization: FlySetAppsV2DefaultOn_OrganizationSchema.nullable().optional() }).passthrough().describe("Mutation result data containing the updated organization.");
14
14
  const flySetAppsV2DefaultOn = action("FLY_SET_APPS_V2_DEFAULT_ON", {
15
15
  slug: "fly-set-apps-v2-default-on",
16
16
  name: "Set Apps V2 Default",
17
17
  description: "Tool to configure whether new apps in an organization use Apps V2 by default on Fly.io. Use when you need to enable or disable Apps V2 as the default for new applications in a specific organization.",
18
18
  input: FlySetAppsV2DefaultOnInput,
19
- output: z.object({ set_apps_v2_default_on: z.preprocess((value) => value === null ? void 0 : value, FlySetAppsV2DefaultOn_SetAppsV2DefaultOnDataSchema.optional()) }).describe("Response model for the set Apps V2 default mutation.")
19
+ output: z.object({ set_apps_v2_default_on: FlySetAppsV2DefaultOn_SetAppsV2DefaultOnDataSchema.nullable().optional() }).passthrough().describe("Response model for the set Apps V2 default mutation.")
20
20
  });
21
21
  //#endregion
22
22
  export { flySetAppsV2DefaultOn };
@@ -1 +1 @@
1
- {"version":3,"file":"set-apps-v2-default-on.mjs","names":[],"sources":["../../src/actions/set-apps-v2-default-on.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlySetAppsV2DefaultOnInput = z.object({\n default_on: z.boolean().describe(\"Whether or not new apps in this org use Apps V2 by default\"),\n organization_slug: z.string().describe(\"The slug of the organization to configure\"),\n}).describe(\"Request model for setting Apps V2 as default for an organization.\");\nconst FlySetAppsV2DefaultOn_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.\");\nconst FlySetAppsV2DefaultOn_SetAppsV2DefaultOnDataSchema = z.object({\n organization: z.preprocess((value) => (value === null ? undefined : value), FlySetAppsV2DefaultOn_OrganizationSchema.optional()),\n}).describe(\"Mutation result data containing the updated organization.\");\nexport const FlySetAppsV2DefaultOnOutput = z.object({\n set_apps_v2_default_on: z.preprocess((value) => (value === null ? undefined : value), FlySetAppsV2DefaultOn_SetAppsV2DefaultOnDataSchema.optional()),\n}).describe(\"Response model for the set Apps V2 default mutation.\");\n\nexport const flySetAppsV2DefaultOn = action(\"FLY_SET_APPS_V2_DEFAULT_ON\", {\n slug: \"fly-set-apps-v2-default-on\",\n name: \"Set Apps V2 Default\",\n description: \"Tool to configure whether new apps in an organization use Apps V2 by default on Fly.io. Use when you need to enable or disable Apps V2 as the default for new applications in a specific organization.\",\n input: FlySetAppsV2DefaultOnInput,\n output: FlySetAppsV2DefaultOnOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D;CAC7F,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;AACpF,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,2CAA2C,EAAE,OAAO;CACxD,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,kDAAkD;AAC9D,MAAM,qDAAqD,EAAE,OAAO,EAClE,cAAc,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,yCAAyC,SAAS,CAAC,EACjI,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAKvE,MAAa,wBAAwB,OAAO,8BAA8B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyC,EAAE,OAAO,EAClD,wBAAwB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,mDAAmD,SAAS,CAAC,EACrJ,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"set-apps-v2-default-on.mjs","names":[],"sources":["../../src/actions/set-apps-v2-default-on.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlySetAppsV2DefaultOnInput = z.object({\n default_on: z.boolean().describe(\"Whether or not new apps in this org use Apps V2 by default\"),\n organization_slug: z.string().describe(\"The slug of the organization to configure\"),\n}).describe(\"Request model for setting Apps V2 as default for an organization.\");\nconst FlySetAppsV2DefaultOn_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.\");\nconst FlySetAppsV2DefaultOn_SetAppsV2DefaultOnDataSchema = z.object({\n organization: FlySetAppsV2DefaultOn_OrganizationSchema.nullable().optional(),\n}).passthrough().describe(\"Mutation result data containing the updated organization.\");\nexport const FlySetAppsV2DefaultOnOutput = z.object({\n set_apps_v2_default_on: FlySetAppsV2DefaultOn_SetAppsV2DefaultOnDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for the set Apps V2 default mutation.\");\n\nexport const flySetAppsV2DefaultOn = action(\"FLY_SET_APPS_V2_DEFAULT_ON\", {\n slug: \"fly-set-apps-v2-default-on\",\n name: \"Set Apps V2 Default\",\n description: \"Tool to configure whether new apps in an organization use Apps V2 by default on Fly.io. Use when you need to enable or disable Apps V2 as the default for new applications in a specific organization.\",\n input: FlySetAppsV2DefaultOnInput,\n output: FlySetAppsV2DefaultOnOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D;CAC7F,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;AACpF,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,2CAA2C,EAAE,OAAO;CACxD,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,kDAAkD;AAC5E,MAAM,qDAAqD,EAAE,OAAO,EAClE,cAAc,yCAAyC,SAAS,CAAC,CAAC,SAAS,EAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAKrF,MAAa,wBAAwB,OAAO,8BAA8B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyC,EAAE,OAAO,EAClD,wBAAwB,mDAAmD,SAAS,CAAC,CAAC,SAAS,EACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
@@ -37,23 +37,23 @@ const FlyUpdateThirdPartyConfiguration_ThirdPartyConfigurationLevelSchema = zod.
37
37
  "REQUIRED"
38
38
  ]).describe("Authorization level for third-party caveat configuration.");
39
39
  const FlyUpdateThirdPartyConfiguration_OrganizationSchema = zod.z.object({
40
- id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Organization ID").optional()),
41
- name: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Organization name").optional()),
42
- slug: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Organization slug").optional())
43
- }).describe("Organization details.");
40
+ id: zod.z.string().describe("Organization ID").nullable().optional(),
41
+ name: zod.z.string().describe("Organization name").nullable().optional(),
42
+ slug: zod.z.string().describe("Organization slug").nullable().optional()
43
+ }).passthrough().describe("Organization details.");
44
44
  const FlyUpdateThirdPartyConfiguration_ThirdPartyConfigurationSchema = zod.z.object({
45
- id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Unique identifier for the configuration").optional()),
46
- name: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Friendly name for this configuration").optional()),
47
- location: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Location URL of the third-party service capable of discharging").optional()),
48
- uiexLevel: zod.z.preprocess((value) => value === null ? void 0 : value, FlyUpdateThirdPartyConfiguration_ThirdPartyConfigurationLevelSchema.optional()),
49
- customLevel: zod.z.preprocess((value) => value === null ? void 0 : value, FlyUpdateThirdPartyConfiguration_ThirdPartyConfigurationLevelSchema.optional()),
50
- flyctlLevel: zod.z.preprocess((value) => value === null ? void 0 : value, FlyUpdateThirdPartyConfiguration_ThirdPartyConfigurationLevelSchema.optional()),
51
- organization: zod.z.preprocess((value) => value === null ? void 0 : value, FlyUpdateThirdPartyConfiguration_OrganizationSchema.optional())
52
- }).describe("Third-party service configuration for discharging macaroon caveats.");
45
+ id: zod.z.string().describe("Unique identifier for the configuration").nullable().optional(),
46
+ name: zod.z.string().describe("Friendly name for this configuration").nullable().optional(),
47
+ location: zod.z.string().describe("Location URL of the third-party service capable of discharging").nullable().optional(),
48
+ uiexLevel: FlyUpdateThirdPartyConfiguration_ThirdPartyConfigurationLevelSchema.nullable().optional(),
49
+ customLevel: FlyUpdateThirdPartyConfiguration_ThirdPartyConfigurationLevelSchema.nullable().optional(),
50
+ flyctlLevel: FlyUpdateThirdPartyConfiguration_ThirdPartyConfigurationLevelSchema.nullable().optional(),
51
+ organization: FlyUpdateThirdPartyConfiguration_OrganizationSchema.nullable().optional()
52
+ }).passthrough().describe("Third-party service configuration for discharging macaroon caveats.");
53
53
  const FlyUpdateThirdPartyConfigurationOutput = zod.z.object({
54
- clientMutationId: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("The client mutation identifier if provided in request").optional()),
55
- thirdPartyConfiguration: zod.z.preprocess((value) => value === null ? void 0 : value, FlyUpdateThirdPartyConfiguration_ThirdPartyConfigurationSchema.optional())
56
- }).describe("Response containing the updated third-party configuration.");
54
+ clientMutationId: zod.z.string().describe("The client mutation identifier if provided in request").nullable().optional(),
55
+ thirdPartyConfiguration: FlyUpdateThirdPartyConfiguration_ThirdPartyConfigurationSchema.nullable().optional()
56
+ }).passthrough().describe("Response containing the updated third-party configuration.");
57
57
  const flyUpdateThirdPartyConfiguration = require_action.action("FLY_UPDATE_THIRD_PARTY_CONFIGURATION", {
58
58
  slug: "fly-update-third-party-configuration",
59
59
  name: "Update Third-Party Configuration",
@@ -1 +1 @@
1
- {"version":3,"file":"update-third-party-configuration.cjs","names":["z","action"],"sources":["../../src/actions/update-third-party-configuration.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyUpdateThirdPartyConfigurationInput = z.object({\n name: z.string().describe(\"Friendly name for this configuration\").optional(),\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\").optional(),\n uiexLevel: z.enum([\"DISABLED\", \"OPT_IN\", \"MEMBER_OPT_OUT\", \"ADMIN_OPT_OUT\", \"REQUIRED\"]).describe(\"Authorization level for third-party caveat configuration.\").optional(),\n customLevel: z.enum([\"DISABLED\", \"OPT_IN\", \"MEMBER_OPT_OUT\", \"ADMIN_OPT_OUT\", \"REQUIRED\"]).describe(\"Authorization level for third-party caveat configuration.\").optional(),\n flyctlLevel: z.enum([\"DISABLED\", \"OPT_IN\", \"MEMBER_OPT_OUT\", \"ADMIN_OPT_OUT\", \"REQUIRED\"]).describe(\"Authorization level for third-party caveat configuration.\").optional(),\n clientMutationId: z.string().describe(\"A unique identifier for the client performing the mutation\").optional(),\n thirdPartyConfigurationId: z.string().describe(\"The node ID of the configuration to update\"),\n}).describe(\"Request parameters for updating a third-party service configuration.\");\nconst FlyUpdateThirdPartyConfiguration_ThirdPartyConfigurationLevelSchema = z.enum([\"DISABLED\", \"OPT_IN\", \"MEMBER_OPT_OUT\", \"ADMIN_OPT_OUT\", \"REQUIRED\"]).describe(\"Authorization level for third-party caveat configuration.\");\nconst FlyUpdateThirdPartyConfiguration_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 FlyUpdateThirdPartyConfiguration_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), FlyUpdateThirdPartyConfiguration_ThirdPartyConfigurationLevelSchema.optional()),\n customLevel: z.preprocess((value) => (value === null ? undefined : value), FlyUpdateThirdPartyConfiguration_ThirdPartyConfigurationLevelSchema.optional()),\n flyctlLevel: z.preprocess((value) => (value === null ? undefined : value), FlyUpdateThirdPartyConfiguration_ThirdPartyConfigurationLevelSchema.optional()),\n organization: z.preprocess((value) => (value === null ? undefined : value), FlyUpdateThirdPartyConfiguration_OrganizationSchema.optional()),\n}).describe(\"Third-party service configuration for discharging macaroon caveats.\");\nexport const FlyUpdateThirdPartyConfigurationOutput = 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), FlyUpdateThirdPartyConfiguration_ThirdPartyConfigurationSchema.optional()),\n}).describe(\"Response containing the updated third-party configuration.\");\n\nexport const flyUpdateThirdPartyConfiguration = action(\"FLY_UPDATE_THIRD_PARTY_CONFIGURATION\", {\n slug: \"fly-update-third-party-configuration\",\n name: \"Update Third-Party Configuration\",\n description: \"Tool to update an existing third-party service configuration for discharging macaroon caveats. Use when you need to modify settings of external authorization services for Fly.io token validation.\",\n input: FlyUpdateThirdPartyConfigurationInput,\n output: FlyUpdateThirdPartyConfigurationOutput,\n});\n"],"mappings":"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"}
1
+ {"version":3,"file":"update-third-party-configuration.cjs","names":["z","action"],"sources":["../../src/actions/update-third-party-configuration.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyUpdateThirdPartyConfigurationInput = z.object({\n name: z.string().describe(\"Friendly name for this configuration\").optional(),\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\").optional(),\n uiexLevel: z.enum([\"DISABLED\", \"OPT_IN\", \"MEMBER_OPT_OUT\", \"ADMIN_OPT_OUT\", \"REQUIRED\"]).describe(\"Authorization level for third-party caveat configuration.\").optional(),\n customLevel: z.enum([\"DISABLED\", \"OPT_IN\", \"MEMBER_OPT_OUT\", \"ADMIN_OPT_OUT\", \"REQUIRED\"]).describe(\"Authorization level for third-party caveat configuration.\").optional(),\n flyctlLevel: z.enum([\"DISABLED\", \"OPT_IN\", \"MEMBER_OPT_OUT\", \"ADMIN_OPT_OUT\", \"REQUIRED\"]).describe(\"Authorization level for third-party caveat configuration.\").optional(),\n clientMutationId: z.string().describe(\"A unique identifier for the client performing the mutation\").optional(),\n thirdPartyConfigurationId: z.string().describe(\"The node ID of the configuration to update\"),\n}).describe(\"Request parameters for updating a third-party service configuration.\");\nconst FlyUpdateThirdPartyConfiguration_ThirdPartyConfigurationLevelSchema = z.enum([\"DISABLED\", \"OPT_IN\", \"MEMBER_OPT_OUT\", \"ADMIN_OPT_OUT\", \"REQUIRED\"]).describe(\"Authorization level for third-party caveat configuration.\");\nconst FlyUpdateThirdPartyConfiguration_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 FlyUpdateThirdPartyConfiguration_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: FlyUpdateThirdPartyConfiguration_ThirdPartyConfigurationLevelSchema.nullable().optional(),\n customLevel: FlyUpdateThirdPartyConfiguration_ThirdPartyConfigurationLevelSchema.nullable().optional(),\n flyctlLevel: FlyUpdateThirdPartyConfiguration_ThirdPartyConfigurationLevelSchema.nullable().optional(),\n organization: FlyUpdateThirdPartyConfiguration_OrganizationSchema.nullable().optional(),\n}).passthrough().describe(\"Third-party service configuration for discharging macaroon caveats.\");\nexport const FlyUpdateThirdPartyConfigurationOutput = z.object({\n clientMutationId: z.string().describe(\"The client mutation identifier if provided in request\").nullable().optional(),\n thirdPartyConfiguration: FlyUpdateThirdPartyConfiguration_ThirdPartyConfigurationSchema.nullable().optional(),\n}).passthrough().describe(\"Response containing the updated third-party configuration.\");\n\nexport const flyUpdateThirdPartyConfiguration = action(\"FLY_UPDATE_THIRD_PARTY_CONFIGURATION\", {\n slug: \"fly-update-third-party-configuration\",\n name: \"Update Third-Party Configuration\",\n description: \"Tool to update an existing third-party service configuration for discharging macaroon caveats. Use when you need to modify settings of external authorization services for Fly.io token validation.\",\n input: FlyUpdateThirdPartyConfigurationInput,\n output: FlyUpdateThirdPartyConfigurationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACjH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACzG,WAAWA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAU;EAAkB;EAAiB;CAAU,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACxK,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAU;EAAkB;EAAiB;CAAU,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC1K,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAU;EAAkB;EAAiB;CAAU,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC1K,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAC7G,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;AAC7F,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,sEAAsEA,IAAAA,EAAE,KAAK;CAAC;CAAY;CAAU;CAAkB;CAAiB;AAAU,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAC9N,MAAM,sDAAsDA,IAAAA,EAAE,OAAO;CACnE,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,uBAAuB;AACjD,MAAM,iEAAiEA,IAAAA,EAAE,OAAO;CAC9E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,UAAUA,IAAAA,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;AAC/F,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,yBAAyB,+DAA+D,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,mCAAmCC,eAAAA,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -30,39 +30,39 @@ declare const FlyUpdateThirdPartyConfigurationInput: z.ZodObject<{
30
30
  thirdPartyConfigurationId: z.ZodString;
31
31
  }, z.core.$strip>;
32
32
  declare const FlyUpdateThirdPartyConfigurationOutput: 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 flyUpdateThirdPartyConfiguration: import("@keystrokehq/action").WorkflowActionDefinition<{
67
67
  thirdPartyConfigurationId: string;
68
68
  name?: string | undefined;
@@ -72,22 +72,7 @@ declare const flyUpdateThirdPartyConfiguration: import("@keystrokehq/action").Wo
72
72
  customLevel?: "DISABLED" | "OPT_IN" | "MEMBER_OPT_OUT" | "ADMIN_OPT_OUT" | "REQUIRED" | undefined;
73
73
  flyctlLevel?: "DISABLED" | "OPT_IN" | "MEMBER_OPT_OUT" | "ADMIN_OPT_OUT" | "REQUIRED" | 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 { flyUpdateThirdPartyConfiguration };
93
78
  //# sourceMappingURL=update-third-party-configuration.d.cts.map
@@ -30,39 +30,39 @@ declare const FlyUpdateThirdPartyConfigurationInput: z.ZodObject<{
30
30
  thirdPartyConfigurationId: z.ZodString;
31
31
  }, z.core.$strip>;
32
32
  declare const FlyUpdateThirdPartyConfigurationOutput: 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 flyUpdateThirdPartyConfiguration: import("@keystrokehq/action").WorkflowActionDefinition<{
67
67
  thirdPartyConfigurationId: string;
68
68
  name?: string | undefined;
@@ -72,22 +72,7 @@ declare const flyUpdateThirdPartyConfiguration: import("@keystrokehq/action").Wo
72
72
  customLevel?: "DISABLED" | "OPT_IN" | "MEMBER_OPT_OUT" | "ADMIN_OPT_OUT" | "REQUIRED" | undefined;
73
73
  flyctlLevel?: "DISABLED" | "OPT_IN" | "MEMBER_OPT_OUT" | "ADMIN_OPT_OUT" | "REQUIRED" | 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 { flyUpdateThirdPartyConfiguration };
93
78
  //# sourceMappingURL=update-third-party-configuration.d.mts.map