@keystrokehq/fly 0.1.1 → 0.1.2

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 (305) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-wire-guard-peer.cjs +5 -5
  4. package/dist/actions/add-wire-guard-peer.cjs.map +1 -1
  5. package/dist/actions/add-wire-guard-peer.d.cts +6 -12
  6. package/dist/actions/add-wire-guard-peer.d.mts +6 -12
  7. package/dist/actions/add-wire-guard-peer.mjs +5 -5
  8. package/dist/actions/add-wire-guard-peer.mjs.map +1 -1
  9. package/dist/actions/check-app-name-availability.cjs +2 -2
  10. package/dist/actions/check-app-name-availability.cjs.map +1 -1
  11. package/dist/actions/check-app-name-availability.d.cts +3 -8
  12. package/dist/actions/check-app-name-availability.d.cts.map +1 -1
  13. package/dist/actions/check-app-name-availability.d.mts +3 -8
  14. package/dist/actions/check-app-name-availability.d.mts.map +1 -1
  15. package/dist/actions/check-app-name-availability.mjs +2 -2
  16. package/dist/actions/check-app-name-availability.mjs.map +1 -1
  17. package/dist/actions/check-jobs.cjs +2 -2
  18. package/dist/actions/check-jobs.cjs.map +1 -1
  19. package/dist/actions/check-jobs.d.cts +3 -6
  20. package/dist/actions/check-jobs.d.cts.map +1 -1
  21. package/dist/actions/check-jobs.d.mts +3 -6
  22. package/dist/actions/check-jobs.d.mts.map +1 -1
  23. package/dist/actions/check-jobs.mjs +2 -2
  24. package/dist/actions/check-jobs.mjs.map +1 -1
  25. package/dist/actions/check-user-only-token.cjs +1 -1
  26. package/dist/actions/check-user-only-token.cjs.map +1 -1
  27. package/dist/actions/check-user-only-token.d.cts +2 -6
  28. package/dist/actions/check-user-only-token.d.cts.map +1 -1
  29. package/dist/actions/check-user-only-token.d.mts +2 -6
  30. package/dist/actions/check-user-only-token.d.mts.map +1 -1
  31. package/dist/actions/check-user-only-token.mjs +1 -1
  32. package/dist/actions/check-user-only-token.mjs.map +1 -1
  33. package/dist/actions/create-check-job-run.cjs +7 -7
  34. package/dist/actions/create-check-job-run.cjs.map +1 -1
  35. package/dist/actions/create-check-job-run.d.cts +8 -18
  36. package/dist/actions/create-check-job-run.d.mts +8 -18
  37. package/dist/actions/create-check-job-run.mjs +7 -7
  38. package/dist/actions/create-check-job-run.mjs.map +1 -1
  39. package/dist/actions/create-check-job.cjs +1 -1
  40. package/dist/actions/create-check-job.cjs.map +1 -1
  41. package/dist/actions/create-check-job.d.cts +2 -10
  42. package/dist/actions/create-check-job.d.mts +2 -10
  43. package/dist/actions/create-check-job.mjs +1 -1
  44. package/dist/actions/create-check-job.mjs.map +1 -1
  45. package/dist/actions/create-delegated-wire-guard-token.cjs +1 -1
  46. package/dist/actions/create-delegated-wire-guard-token.cjs.map +1 -1
  47. package/dist/actions/create-delegated-wire-guard-token.d.cts +2 -5
  48. package/dist/actions/create-delegated-wire-guard-token.d.mts +2 -5
  49. package/dist/actions/create-delegated-wire-guard-token.mjs +1 -1
  50. package/dist/actions/create-delegated-wire-guard-token.mjs.map +1 -1
  51. package/dist/actions/create-third-party-configuration.cjs +12 -12
  52. package/dist/actions/create-third-party-configuration.cjs.map +1 -1
  53. package/dist/actions/create-third-party-configuration.d.cts +13 -28
  54. package/dist/actions/create-third-party-configuration.d.mts +13 -28
  55. package/dist/actions/create-third-party-configuration.mjs +12 -12
  56. package/dist/actions/create-third-party-configuration.mjs.map +1 -1
  57. package/dist/actions/delete-delegated-wire-guard-token.cjs +2 -2
  58. package/dist/actions/delete-delegated-wire-guard-token.cjs.map +1 -1
  59. package/dist/actions/delete-delegated-wire-guard-token.d.cts +3 -6
  60. package/dist/actions/delete-delegated-wire-guard-token.d.mts +3 -6
  61. package/dist/actions/delete-delegated-wire-guard-token.mjs +2 -2
  62. package/dist/actions/delete-delegated-wire-guard-token.mjs.map +1 -1
  63. package/dist/actions/delete-organization.cjs +4 -4
  64. package/dist/actions/delete-organization.cjs.map +1 -1
  65. package/dist/actions/delete-organization.d.cts +5 -15
  66. package/dist/actions/delete-organization.d.cts.map +1 -1
  67. package/dist/actions/delete-organization.d.mts +5 -15
  68. package/dist/actions/delete-organization.d.mts.map +1 -1
  69. package/dist/actions/delete-organization.mjs +4 -4
  70. package/dist/actions/delete-organization.mjs.map +1 -1
  71. package/dist/actions/delete-remote-builder.cjs +4 -4
  72. package/dist/actions/delete-remote-builder.cjs.map +1 -1
  73. package/dist/actions/delete-remote-builder.d.cts +5 -11
  74. package/dist/actions/delete-remote-builder.d.mts +5 -11
  75. package/dist/actions/delete-remote-builder.mjs +4 -4
  76. package/dist/actions/delete-remote-builder.mjs.map +1 -1
  77. package/dist/actions/delete-third-party-configuration.cjs +2 -2
  78. package/dist/actions/delete-third-party-configuration.cjs.map +1 -1
  79. package/dist/actions/delete-third-party-configuration.d.cts +3 -6
  80. package/dist/actions/delete-third-party-configuration.d.mts +3 -6
  81. package/dist/actions/delete-third-party-configuration.mjs +2 -2
  82. package/dist/actions/delete-third-party-configuration.mjs.map +1 -1
  83. package/dist/actions/detach-postgres-cluster.cjs +4 -4
  84. package/dist/actions/detach-postgres-cluster.cjs.map +1 -1
  85. package/dist/actions/detach-postgres-cluster.d.cts +5 -15
  86. package/dist/actions/detach-postgres-cluster.d.cts.map +1 -1
  87. package/dist/actions/detach-postgres-cluster.d.mts +5 -15
  88. package/dist/actions/detach-postgres-cluster.d.mts.map +1 -1
  89. package/dist/actions/detach-postgres-cluster.mjs +4 -4
  90. package/dist/actions/detach-postgres-cluster.mjs.map +1 -1
  91. package/dist/actions/establish-ssh-key.cjs +2 -2
  92. package/dist/actions/establish-ssh-key.cjs.map +1 -1
  93. package/dist/actions/establish-ssh-key.d.cts +3 -6
  94. package/dist/actions/establish-ssh-key.d.mts +3 -6
  95. package/dist/actions/establish-ssh-key.mjs +2 -2
  96. package/dist/actions/establish-ssh-key.mjs.map +1 -1
  97. package/dist/actions/fetch-nodes-by-ids.cjs +2 -2
  98. package/dist/actions/fetch-nodes-by-ids.cjs.map +1 -1
  99. package/dist/actions/fetch-nodes-by-ids.d.cts +3 -6
  100. package/dist/actions/fetch-nodes-by-ids.d.cts.map +1 -1
  101. package/dist/actions/fetch-nodes-by-ids.d.mts +3 -6
  102. package/dist/actions/fetch-nodes-by-ids.d.mts.map +1 -1
  103. package/dist/actions/fetch-nodes-by-ids.mjs +2 -2
  104. package/dist/actions/fetch-nodes-by-ids.mjs.map +1 -1
  105. package/dist/actions/get-add-on-provider.cjs +16 -16
  106. package/dist/actions/get-add-on-provider.cjs.map +1 -1
  107. package/dist/actions/get-add-on-provider.d.cts +17 -34
  108. package/dist/actions/get-add-on-provider.d.mts +17 -34
  109. package/dist/actions/get-add-on-provider.mjs +16 -16
  110. package/dist/actions/get-add-on-provider.mjs.map +1 -1
  111. package/dist/actions/get-add-on.cjs +16 -16
  112. package/dist/actions/get-add-on.cjs.map +1 -1
  113. package/dist/actions/get-add-on.d.cts +17 -37
  114. package/dist/actions/get-add-on.d.cts.map +1 -1
  115. package/dist/actions/get-add-on.d.mts +17 -37
  116. package/dist/actions/get-add-on.d.mts.map +1 -1
  117. package/dist/actions/get-add-on.mjs +16 -16
  118. package/dist/actions/get-add-on.mjs.map +1 -1
  119. package/dist/actions/get-app-details.cjs +9 -9
  120. package/dist/actions/get-app-details.cjs.map +1 -1
  121. package/dist/actions/get-app-details.d.cts +10 -24
  122. package/dist/actions/get-app-details.d.mts +10 -24
  123. package/dist/actions/get-app-details.mjs +9 -9
  124. package/dist/actions/get-app-details.mjs.map +1 -1
  125. package/dist/actions/get-certificate.cjs +18 -18
  126. package/dist/actions/get-certificate.cjs.map +1 -1
  127. package/dist/actions/get-certificate.d.cts +19 -45
  128. package/dist/actions/get-certificate.d.cts.map +1 -1
  129. package/dist/actions/get-certificate.d.mts +19 -45
  130. package/dist/actions/get-certificate.d.mts.map +1 -1
  131. package/dist/actions/get-certificate.mjs +18 -18
  132. package/dist/actions/get-certificate.mjs.map +1 -1
  133. package/dist/actions/get-current-token-info.cjs +8 -8
  134. package/dist/actions/get-current-token-info.cjs.map +1 -1
  135. package/dist/actions/get-current-token-info.d.cts +9 -19
  136. package/dist/actions/get-current-token-info.d.cts.map +1 -1
  137. package/dist/actions/get-current-token-info.d.mts +9 -19
  138. package/dist/actions/get-current-token-info.d.mts.map +1 -1
  139. package/dist/actions/get-current-token-info.mjs +8 -8
  140. package/dist/actions/get-current-token-info.mjs.map +1 -1
  141. package/dist/actions/get-latest-image-details.cjs +1 -1
  142. package/dist/actions/get-latest-image-details.cjs.map +1 -1
  143. package/dist/actions/get-latest-image-details.d.cts +2 -8
  144. package/dist/actions/get-latest-image-details.d.mts +2 -8
  145. package/dist/actions/get-latest-image-details.mjs +1 -1
  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 +2 -4
  150. package/dist/actions/get-latest-image-tag.d.mts +2 -4
  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 +14 -14
  154. package/dist/actions/get-machine.cjs.map +1 -1
  155. package/dist/actions/get-machine.d.cts +15 -37
  156. package/dist/actions/get-machine.d.cts.map +1 -1
  157. package/dist/actions/get-machine.d.mts +15 -37
  158. package/dist/actions/get-machine.d.mts.map +1 -1
  159. package/dist/actions/get-machine.mjs +14 -14
  160. package/dist/actions/get-machine.mjs.map +1 -1
  161. package/dist/actions/get-nearest-region.cjs +2 -2
  162. package/dist/actions/get-nearest-region.cjs.map +1 -1
  163. package/dist/actions/get-nearest-region.d.cts +3 -6
  164. package/dist/actions/get-nearest-region.d.cts.map +1 -1
  165. package/dist/actions/get-nearest-region.d.mts +3 -6
  166. package/dist/actions/get-nearest-region.d.mts.map +1 -1
  167. package/dist/actions/get-nearest-region.mjs +2 -2
  168. package/dist/actions/get-nearest-region.mjs.map +1 -1
  169. package/dist/actions/get-node.cjs +5 -5
  170. package/dist/actions/get-node.cjs.map +1 -1
  171. package/dist/actions/get-node.d.cts +6 -21
  172. package/dist/actions/get-node.d.mts +6 -21
  173. package/dist/actions/get-node.mjs +5 -5
  174. package/dist/actions/get-node.mjs.map +1 -1
  175. package/dist/actions/get-organization.cjs +4 -4
  176. package/dist/actions/get-organization.cjs.map +1 -1
  177. package/dist/actions/get-organization.d.cts +5 -15
  178. package/dist/actions/get-organization.d.cts.map +1 -1
  179. package/dist/actions/get-organization.d.mts +5 -15
  180. package/dist/actions/get-organization.d.mts.map +1 -1
  181. package/dist/actions/get-organization.mjs +4 -4
  182. package/dist/actions/get-organization.mjs.map +1 -1
  183. package/dist/actions/get-personal-organization.d.cts +1 -14
  184. package/dist/actions/get-personal-organization.d.cts.map +1 -1
  185. package/dist/actions/get-personal-organization.d.mts +1 -14
  186. package/dist/actions/get-personal-organization.d.mts.map +1 -1
  187. package/dist/actions/get-placements.d.cts +1 -7
  188. package/dist/actions/get-placements.d.mts +1 -7
  189. package/dist/actions/get-platform-info.cjs +11 -11
  190. package/dist/actions/get-platform-info.cjs.map +1 -1
  191. package/dist/actions/get-platform-info.d.cts +12 -27
  192. package/dist/actions/get-platform-info.d.cts.map +1 -1
  193. package/dist/actions/get-platform-info.d.mts +12 -27
  194. package/dist/actions/get-platform-info.d.mts.map +1 -1
  195. package/dist/actions/get-platform-info.mjs +11 -11
  196. package/dist/actions/get-platform-info.mjs.map +1 -1
  197. package/dist/actions/get-products.cjs +6 -6
  198. package/dist/actions/get-products.cjs.map +1 -1
  199. package/dist/actions/get-products.d.cts +7 -17
  200. package/dist/actions/get-products.d.cts.map +1 -1
  201. package/dist/actions/get-products.d.mts +7 -17
  202. package/dist/actions/get-products.d.mts.map +1 -1
  203. package/dist/actions/get-products.mjs +6 -6
  204. package/dist/actions/get-products.mjs.map +1 -1
  205. package/dist/actions/get-regions.cjs +11 -11
  206. package/dist/actions/get-regions.cjs.map +1 -1
  207. package/dist/actions/get-regions.d.cts +12 -25
  208. package/dist/actions/get-regions.d.mts +12 -25
  209. package/dist/actions/get-regions.mjs +11 -11
  210. package/dist/actions/get-regions.mjs.map +1 -1
  211. package/dist/actions/get-viewer-info.cjs +4 -4
  212. package/dist/actions/get-viewer-info.cjs.map +1 -1
  213. package/dist/actions/get-viewer-info.d.cts +5 -14
  214. package/dist/actions/get-viewer-info.d.mts +5 -14
  215. package/dist/actions/get-viewer-info.mjs +4 -4
  216. package/dist/actions/get-viewer-info.mjs.map +1 -1
  217. package/dist/actions/issue-certificate.cjs +2 -2
  218. package/dist/actions/issue-certificate.cjs.map +1 -1
  219. package/dist/actions/issue-certificate.d.cts +3 -6
  220. package/dist/actions/issue-certificate.d.mts +3 -6
  221. package/dist/actions/issue-certificate.mjs +2 -2
  222. package/dist/actions/issue-certificate.mjs.map +1 -1
  223. package/dist/actions/list-add-on-plans.cjs +21 -21
  224. package/dist/actions/list-add-on-plans.cjs.map +1 -1
  225. package/dist/actions/list-add-on-plans.d.cts +32 -71
  226. package/dist/actions/list-add-on-plans.d.mts +32 -71
  227. package/dist/actions/list-add-on-plans.mjs +21 -21
  228. package/dist/actions/list-add-on-plans.mjs.map +1 -1
  229. package/dist/actions/list-add-ons.cjs +23 -23
  230. package/dist/actions/list-add-ons.cjs.map +1 -1
  231. package/dist/actions/list-add-ons.d.cts +3 -160
  232. package/dist/actions/list-add-ons.d.cts.map +1 -1
  233. package/dist/actions/list-add-ons.d.mts +3 -160
  234. package/dist/actions/list-add-ons.d.mts.map +1 -1
  235. package/dist/actions/list-add-ons.mjs +23 -23
  236. package/dist/actions/list-add-ons.mjs.map +1 -1
  237. package/dist/actions/list-apps-graphql.cjs +20 -20
  238. package/dist/actions/list-apps-graphql.cjs.map +1 -1
  239. package/dist/actions/list-apps-graphql.d.cts +21 -51
  240. package/dist/actions/list-apps-graphql.d.cts.map +1 -1
  241. package/dist/actions/list-apps-graphql.d.mts +21 -51
  242. package/dist/actions/list-apps-graphql.d.mts.map +1 -1
  243. package/dist/actions/list-apps-graphql.mjs +20 -20
  244. package/dist/actions/list-apps-graphql.mjs.map +1 -1
  245. package/dist/actions/list-apps.cjs +13 -13
  246. package/dist/actions/list-apps.cjs.map +1 -1
  247. package/dist/actions/list-apps.d.cts +14 -30
  248. package/dist/actions/list-apps.d.mts +14 -30
  249. package/dist/actions/list-apps.mjs +13 -13
  250. package/dist/actions/list-apps.mjs.map +1 -1
  251. package/dist/actions/list-check-locations.cjs +2 -2
  252. package/dist/actions/list-check-locations.cjs.map +1 -1
  253. package/dist/actions/list-check-locations.d.cts +3 -13
  254. package/dist/actions/list-check-locations.d.cts.map +1 -1
  255. package/dist/actions/list-check-locations.d.mts +3 -13
  256. package/dist/actions/list-check-locations.d.mts.map +1 -1
  257. package/dist/actions/list-check-locations.mjs +2 -2
  258. package/dist/actions/list-check-locations.mjs.map +1 -1
  259. package/dist/actions/list-machines.cjs +1 -1
  260. package/dist/actions/list-machines.cjs.map +1 -1
  261. package/dist/actions/list-machines.d.cts +2 -5
  262. package/dist/actions/list-machines.d.cts.map +1 -1
  263. package/dist/actions/list-machines.d.mts +2 -5
  264. package/dist/actions/list-machines.d.mts.map +1 -1
  265. package/dist/actions/list-machines.mjs +1 -1
  266. package/dist/actions/list-machines.mjs.map +1 -1
  267. package/dist/actions/list-org-machines.cjs +14 -14
  268. package/dist/actions/list-org-machines.cjs.map +1 -1
  269. package/dist/actions/list-org-machines.d.cts +15 -31
  270. package/dist/actions/list-org-machines.d.mts +15 -31
  271. package/dist/actions/list-org-machines.mjs +14 -14
  272. package/dist/actions/list-org-machines.mjs.map +1 -1
  273. package/dist/actions/remove-wire-guard-peer.cjs +3 -3
  274. package/dist/actions/remove-wire-guard-peer.cjs.map +1 -1
  275. package/dist/actions/remove-wire-guard-peer.d.cts +4 -9
  276. package/dist/actions/remove-wire-guard-peer.d.mts +4 -9
  277. package/dist/actions/remove-wire-guard-peer.mjs +3 -3
  278. package/dist/actions/remove-wire-guard-peer.mjs.map +1 -1
  279. package/dist/actions/set-apps-v2-default-on.cjs +5 -5
  280. package/dist/actions/set-apps-v2-default-on.cjs.map +1 -1
  281. package/dist/actions/set-apps-v2-default-on.d.cts +6 -14
  282. package/dist/actions/set-apps-v2-default-on.d.mts +6 -14
  283. package/dist/actions/set-apps-v2-default-on.mjs +5 -5
  284. package/dist/actions/set-apps-v2-default-on.mjs.map +1 -1
  285. package/dist/actions/update-third-party-configuration.cjs +12 -12
  286. package/dist/actions/update-third-party-configuration.cjs.map +1 -1
  287. package/dist/actions/update-third-party-configuration.d.cts +13 -28
  288. package/dist/actions/update-third-party-configuration.d.mts +13 -28
  289. package/dist/actions/update-third-party-configuration.mjs +12 -12
  290. package/dist/actions/update-third-party-configuration.mjs.map +1 -1
  291. package/dist/actions/validate-config.cjs +5 -5
  292. package/dist/actions/validate-config.cjs.map +1 -1
  293. package/dist/actions/validate-config.d.cts +6 -13
  294. package/dist/actions/validate-config.d.cts.map +1 -1
  295. package/dist/actions/validate-config.d.mts +6 -13
  296. package/dist/actions/validate-config.d.mts.map +1 -1
  297. package/dist/actions/validate-config.mjs +5 -5
  298. package/dist/actions/validate-config.mjs.map +1 -1
  299. package/dist/actions/validate-wire-guard-peers.cjs +1 -1
  300. package/dist/actions/validate-wire-guard-peers.cjs.map +1 -1
  301. package/dist/actions/validate-wire-guard-peers.d.cts +2 -4
  302. package/dist/actions/validate-wire-guard-peers.d.mts +2 -4
  303. package/dist/actions/validate-wire-guard-peers.mjs +1 -1
  304. package/dist/actions/validate-wire-guard-peers.mjs.map +1 -1
  305. package/package.json +1 -1
@@ -5,29 +5,19 @@ declare const FlyCreateCheckJobRunInput: z.ZodObject<{
5
5
  check_job_id: z.ZodString;
6
6
  }, z.core.$strip>;
7
7
  declare const FlyCreateCheckJobRunOutput: z.ZodObject<{
8
- checkJob: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
9
- id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
10
- url: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
8
+ checkJob: z.ZodOptional<z.ZodNullable<z.ZodObject<{
9
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
11
  }, z.core.$strip>>>;
12
- checkJobRun: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
13
- id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
14
- state: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
15
- createdAt: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
12
+ checkJobRun: z.ZodOptional<z.ZodNullable<z.ZodObject<{
13
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  }, z.core.$strip>>>;
17
17
  }, z.core.$strip>;
18
18
  declare const flyCreateCheckJobRun: import("@keystrokehq/action").WorkflowActionDefinition<{
19
19
  check_job_id: string;
20
- }, {
21
- checkJob?: {
22
- id?: string | undefined;
23
- url?: string | undefined;
24
- } | undefined;
25
- checkJobRun?: {
26
- id?: string | undefined;
27
- state?: string | undefined;
28
- createdAt?: string | undefined;
29
- } | undefined;
30
- }, 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]>;
31
21
  //#endregion
32
22
  export { flyCreateCheckJobRun };
33
23
  //# sourceMappingURL=create-check-job-run.d.mts.map
@@ -3,13 +3,13 @@ import { z } from "zod";
3
3
  //#region src/actions/create-check-job-run.ts
4
4
  const FlyCreateCheckJobRunInput = z.object({ check_job_id: z.string().describe("The ID of the check job to trigger a run for. This is the unique identifier of an existing health check job.") }).describe("Request model for CreateCheckJobRun.");
5
5
  const FlyCreateCheckJobRun_CheckJobSchema = z.object({
6
- id: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("The unique identifier of the check job").optional()),
7
- url: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("The URL of the check job").optional())
6
+ id: z.string().describe("The unique identifier of the check job").nullable().optional(),
7
+ url: z.string().describe("The URL of the check job").nullable().optional()
8
8
  }).describe("Check job information.");
9
9
  const FlyCreateCheckJobRun_CheckJobRunSchema = z.object({
10
- id: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("The unique identifier of the check job run").optional()),
11
- state: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("The current state of the check job run (e.g., 'created', 'running', 'completed')").optional()),
12
- createdAt: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("ISO8601 timestamp of when the check job run was created").optional())
10
+ id: z.string().describe("The unique identifier of the check job run").nullable().optional(),
11
+ state: z.string().describe("The current state of the check job run (e.g., 'created', 'running', 'completed')").nullable().optional(),
12
+ createdAt: z.string().describe("ISO8601 timestamp of when the check job run was created").nullable().optional()
13
13
  }).describe("Check job run information.");
14
14
  const flyCreateCheckJobRun = action("FLY_CREATE_CHECK_JOB_RUN", {
15
15
  slug: "fly-create-check-job-run",
@@ -17,8 +17,8 @@ const flyCreateCheckJobRun = action("FLY_CREATE_CHECK_JOB_RUN", {
17
17
  description: "Triggers a run of an existing health check job on Fly.io. Use when you need to manually trigger a health check for monitoring or testing purposes.",
18
18
  input: FlyCreateCheckJobRunInput,
19
19
  output: z.object({
20
- checkJob: z.preprocess((value) => value === null ? void 0 : value, FlyCreateCheckJobRun_CheckJobSchema.optional()),
21
- checkJobRun: z.preprocess((value) => value === null ? void 0 : value, FlyCreateCheckJobRun_CheckJobRunSchema.optional())
20
+ checkJob: FlyCreateCheckJobRun_CheckJobSchema.nullable().optional(),
21
+ checkJobRun: FlyCreateCheckJobRun_CheckJobRunSchema.nullable().optional()
22
22
  }).describe("Response model for CreateCheckJobRun.")
23
23
  });
24
24
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"create-check-job-run.mjs","names":[],"sources":["../../src/actions/create-check-job-run.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyCreateCheckJobRunInput = z.object({\n check_job_id: z.string().describe(\"The ID of the check job to trigger a run for. This is the unique identifier of an existing health check job.\"),\n}).describe(\"Request model for CreateCheckJobRun.\");\nconst FlyCreateCheckJobRun_CheckJobSchema = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The unique identifier of the check job\").optional()),\n url: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The URL of the check job\").optional()),\n}).describe(\"Check job information.\");\nconst FlyCreateCheckJobRun_CheckJobRunSchema = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The unique identifier of the check job run\").optional()),\n state: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The current state of the check job run (e.g., 'created', 'running', 'completed')\").optional()),\n createdAt: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"ISO8601 timestamp of when the check job run was created\").optional()),\n}).describe(\"Check job run information.\");\nexport const FlyCreateCheckJobRunOutput = z.object({\n checkJob: z.preprocess((value) => (value === null ? undefined : value), FlyCreateCheckJobRun_CheckJobSchema.optional()),\n checkJobRun: z.preprocess((value) => (value === null ? undefined : value), FlyCreateCheckJobRun_CheckJobRunSchema.optional()),\n}).describe(\"Response model for CreateCheckJobRun.\");\n\nexport const flyCreateCheckJobRun = action(\"FLY_CREATE_CHECK_JOB_RUN\", {\n slug: \"fly-create-check-job-run\",\n name: \"Create Check Job Run\",\n description: \"Triggers a run of an existing health check job on Fly.io. Use when you need to manually trigger a health check for monitoring or testing purposes.\",\n input: FlyCreateCheckJobRunInput,\n output: FlyCreateCheckJobRunOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,EAChD,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,EAClJ,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,sCAAsC,EAAE,OAAO;CACnD,IAAI,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC;CAC1I,KAAK,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC;AAC/H,CAAC,CAAC,CAAC,SAAS,wBAAwB;AACpC,MAAM,yCAAyC,EAAE,OAAO;CACtD,IAAI,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC;CAC9I,OAAO,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC;CACvL,WAAW,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC;AACpK,CAAC,CAAC,CAAC,SAAS,4BAA4B;AAMxC,MAAa,uBAAuB,OAAO,4BAA4B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwC,EAAE,OAAO;EACjD,UAAU,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,oCAAoC,SAAS,CAAC;EACtH,aAAa,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,uCAAuC,SAAS,CAAC;CAC9H,CAAC,CAAC,CAAC,SAAS,uCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-check-job-run.mjs","names":[],"sources":["../../src/actions/create-check-job-run.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyCreateCheckJobRunInput = z.object({\n check_job_id: z.string().describe(\"The ID of the check job to trigger a run for. This is the unique identifier of an existing health check job.\"),\n}).describe(\"Request model for CreateCheckJobRun.\");\nconst FlyCreateCheckJobRun_CheckJobSchema = z.object({\n id: z.string().describe(\"The unique identifier of the check job\").nullable().optional(),\n url: z.string().describe(\"The URL of the check job\").nullable().optional(),\n}).describe(\"Check job information.\");\nconst FlyCreateCheckJobRun_CheckJobRunSchema = z.object({\n id: z.string().describe(\"The unique identifier of the check job run\").nullable().optional(),\n state: z.string().describe(\"The current state of the check job run (e.g., 'created', 'running', 'completed')\").nullable().optional(),\n createdAt: z.string().describe(\"ISO8601 timestamp of when the check job run was created\").nullable().optional(),\n}).describe(\"Check job run information.\");\nexport const FlyCreateCheckJobRunOutput = z.object({\n checkJob: FlyCreateCheckJobRun_CheckJobSchema.nullable().optional(),\n checkJobRun: FlyCreateCheckJobRun_CheckJobRunSchema.nullable().optional(),\n}).describe(\"Response model for CreateCheckJobRun.\");\n\nexport const flyCreateCheckJobRun = action(\"FLY_CREATE_CHECK_JOB_RUN\", {\n slug: \"fly-create-check-job-run\",\n name: \"Create Check Job Run\",\n description: \"Triggers a run of an existing health check job on Fly.io. Use when you need to manually trigger a health check for monitoring or testing purposes.\",\n input: FlyCreateCheckJobRunInput,\n output: FlyCreateCheckJobRunOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,EAChD,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,EAClJ,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,sCAAsC,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,SAAS,wBAAwB;AACpC,MAAM,yCAAyC,EAAE,OAAO;CACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,4BAA4B;AAMxC,MAAa,uBAAuB,OAAO,4BAA4B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwC,EAAE,OAAO;EACjD,UAAU,oCAAoC,SAAS,CAAC,CAAC,SAAS;EAClE,aAAa,uCAAuC,SAAS,CAAC,CAAC,SAAS;CAC1E,CAAC,CAAC,CAAC,SAAS,uCAOF;AACV,CAAC"}
@@ -17,7 +17,7 @@ const FlyCreateCheckJob_CheckJobResponseSchema = zod.z.object({
17
17
  const FlyCreateCheckJob_CheckJobRunResponseSchema = zod.z.object({ id: zod.z.string().describe("Unique identifier for the check job run.").nullable() }).describe("Response data for an initial check job run.");
18
18
  const FlyCreateCheckJobOutput = zod.z.object({
19
19
  checkJob: FlyCreateCheckJob_CheckJobResponseSchema.nullable(),
20
- checkJobRun: zod.z.preprocess((value) => value === null ? void 0 : value, FlyCreateCheckJob_CheckJobRunResponseSchema.optional())
20
+ checkJobRun: FlyCreateCheckJob_CheckJobRunResponseSchema.nullable().optional()
21
21
  }).describe("Response model for creating a health check job in Fly.io.");
22
22
  const flyCreateCheckJob = require_action.action("FLY_CREATE_CHECK_JOB", {
23
23
  slug: "fly-create-check-job",
@@ -1 +1 @@
1
- {"version":3,"file":"create-check-job.cjs","names":["z","action"],"sources":["../../src/actions/create-check-job.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyCreateCheckJobInput = z.object({\n url: z.string().describe(\"The URL endpoint to monitor for health checks. This should be a fully qualified URL that will be checked from multiple locations.\"),\n locations: z.array(z.string()).describe(\"List of geographic locations from which to perform health checks. Common locations include 'newyork', 'london', 'tokyo', 'sydney', 'singapore', etc.\"),\n http_options: z.object({\n verb: z.enum([\"GET\", \"HEAD\"]).describe(\"HTTP method to use for the health check request (GET or HEAD).\"),\n headers: z.array(z.string()).describe(\"Optional list of HTTP headers to include in the health check request. Each header should be in 'Key: Value' format.\").optional(),\n}).describe(\"HTTP configuration options for the health check, including the HTTP verb (GET/HEAD) and optional headers.\"),\n organization_id: z.string().describe(\"Organization ID where the health check job will be created. This should be your Fly.io organization identifier.\"),\n}).describe(\"Request model for creating a health check job in Fly.io.\");\nconst FlyCreateCheckJob_CheckJobResponseSchema = z.object({\n id: z.string().describe(\"Unique identifier for the created check job.\").nullable(),\n url: z.string().describe(\"The URL being monitored by this check job.\").nullable(),\n}).describe(\"Response data for a created check job.\");\nconst FlyCreateCheckJob_CheckJobRunResponseSchema = z.object({\n id: z.string().describe(\"Unique identifier for the check job run.\").nullable(),\n}).describe(\"Response data for an initial check job run.\");\nexport const FlyCreateCheckJobOutput = z.object({\n checkJob: FlyCreateCheckJob_CheckJobResponseSchema.nullable(),\n checkJobRun: z.preprocess((value) => (value === null ? undefined : value), FlyCreateCheckJob_CheckJobRunResponseSchema.optional()),\n}).describe(\"Response model for creating a health check job in Fly.io.\");\n\nexport const flyCreateCheckJob = action(\"FLY_CREATE_CHECK_JOB\", {\n slug: \"fly-create-check-job\",\n name: \"Create Health Check Job\",\n description: \"Tool to create a health check job for monitoring application endpoints in Fly.io. Use when you need to set up automated health monitoring for a URL from multiple geographic locations.\",\n input: FlyCreateCheckJobInput,\n output: FlyCreateCheckJobOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI;CAC5J,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sJAAsJ;CAC9L,cAAcA,IAAAA,EAAE,OAAO;EACvB,MAAMA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,gEAAgE;EACvG,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CACxK,CAAC,CAAC,CAAC,SAAS,2GAA2G;CACrH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH;AACxJ,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,8CAA8CA,IAAAA,EAAE,OAAO,EAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,EAC/E,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,UAAU,yCAAyC,SAAS;CAC5D,aAAaA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,4CAA4C,SAAS,CAAC;AACnI,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAEvE,MAAa,oBAAoBC,eAAAA,OAAO,wBAAwB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-check-job.cjs","names":["z","action"],"sources":["../../src/actions/create-check-job.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyCreateCheckJobInput = z.object({\n url: z.string().describe(\"The URL endpoint to monitor for health checks. This should be a fully qualified URL that will be checked from multiple locations.\"),\n locations: z.array(z.string()).describe(\"List of geographic locations from which to perform health checks. Common locations include 'newyork', 'london', 'tokyo', 'sydney', 'singapore', etc.\"),\n http_options: z.object({\n verb: z.enum([\"GET\", \"HEAD\"]).describe(\"HTTP method to use for the health check request (GET or HEAD).\"),\n headers: z.array(z.string()).describe(\"Optional list of HTTP headers to include in the health check request. Each header should be in 'Key: Value' format.\").optional(),\n}).describe(\"HTTP configuration options for the health check, including the HTTP verb (GET/HEAD) and optional headers.\"),\n organization_id: z.string().describe(\"Organization ID where the health check job will be created. This should be your Fly.io organization identifier.\"),\n}).describe(\"Request model for creating a health check job in Fly.io.\");\nconst FlyCreateCheckJob_CheckJobResponseSchema = z.object({\n id: z.string().describe(\"Unique identifier for the created check job.\").nullable(),\n url: z.string().describe(\"The URL being monitored by this check job.\").nullable(),\n}).describe(\"Response data for a created check job.\");\nconst FlyCreateCheckJob_CheckJobRunResponseSchema = z.object({\n id: z.string().describe(\"Unique identifier for the check job run.\").nullable(),\n}).describe(\"Response data for an initial check job run.\");\nexport const FlyCreateCheckJobOutput = z.object({\n checkJob: FlyCreateCheckJob_CheckJobResponseSchema.nullable(),\n checkJobRun: FlyCreateCheckJob_CheckJobRunResponseSchema.nullable().optional(),\n}).describe(\"Response model for creating a health check job in Fly.io.\");\n\nexport const flyCreateCheckJob = action(\"FLY_CREATE_CHECK_JOB\", {\n slug: \"fly-create-check-job\",\n name: \"Create Health Check Job\",\n description: \"Tool to create a health check job for monitoring application endpoints in Fly.io. Use when you need to set up automated health monitoring for a URL from multiple geographic locations.\",\n input: FlyCreateCheckJobInput,\n output: FlyCreateCheckJobOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI;CAC5J,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sJAAsJ;CAC9L,cAAcA,IAAAA,EAAE,OAAO;EACvB,MAAMA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,gEAAgE;EACvG,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CACxK,CAAC,CAAC,CAAC,SAAS,2GAA2G;CACrH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH;AACxJ,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,8CAA8CA,IAAAA,EAAE,OAAO,EAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,EAC/E,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,UAAU,yCAAyC,SAAS;CAC5D,aAAa,4CAA4C,SAAS,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAEvE,MAAa,oBAAoBC,eAAAA,OAAO,wBAAwB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -18,7 +18,7 @@ declare const FlyCreateCheckJobOutput: z.ZodObject<{
18
18
  id: z.ZodNullable<z.ZodString>;
19
19
  url: z.ZodNullable<z.ZodString>;
20
20
  }, z.core.$strip>>;
21
- checkJobRun: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
21
+ checkJobRun: z.ZodOptional<z.ZodNullable<z.ZodObject<{
22
22
  id: z.ZodNullable<z.ZodString>;
23
23
  }, z.core.$strip>>>;
24
24
  }, z.core.$strip>;
@@ -30,15 +30,7 @@ declare const flyCreateCheckJob: import("@keystrokehq/action").WorkflowActionDef
30
30
  headers?: string[] | undefined;
31
31
  };
32
32
  organization_id: string;
33
- }, {
34
- checkJob: {
35
- id: string | null;
36
- url: string | null;
37
- } | null;
38
- checkJobRun?: {
39
- id: string | null;
40
- } | undefined;
41
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
33
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
42
34
  //#endregion
43
35
  export { flyCreateCheckJob };
44
36
  //# sourceMappingURL=create-check-job.d.cts.map
@@ -18,7 +18,7 @@ declare const FlyCreateCheckJobOutput: z.ZodObject<{
18
18
  id: z.ZodNullable<z.ZodString>;
19
19
  url: z.ZodNullable<z.ZodString>;
20
20
  }, z.core.$strip>>;
21
- checkJobRun: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
21
+ checkJobRun: z.ZodOptional<z.ZodNullable<z.ZodObject<{
22
22
  id: z.ZodNullable<z.ZodString>;
23
23
  }, z.core.$strip>>>;
24
24
  }, z.core.$strip>;
@@ -30,15 +30,7 @@ declare const flyCreateCheckJob: import("@keystrokehq/action").WorkflowActionDef
30
30
  headers?: string[] | undefined;
31
31
  };
32
32
  organization_id: string;
33
- }, {
34
- checkJob: {
35
- id: string | null;
36
- url: string | null;
37
- } | null;
38
- checkJobRun?: {
39
- id: string | null;
40
- } | undefined;
41
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
33
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
42
34
  //#endregion
43
35
  export { flyCreateCheckJob };
44
36
  //# sourceMappingURL=create-check-job.d.mts.map
@@ -22,7 +22,7 @@ const flyCreateCheckJob = action("FLY_CREATE_CHECK_JOB", {
22
22
  input: FlyCreateCheckJobInput,
23
23
  output: z.object({
24
24
  checkJob: FlyCreateCheckJob_CheckJobResponseSchema.nullable(),
25
- checkJobRun: z.preprocess((value) => value === null ? void 0 : value, FlyCreateCheckJob_CheckJobRunResponseSchema.optional())
25
+ checkJobRun: FlyCreateCheckJob_CheckJobRunResponseSchema.nullable().optional()
26
26
  }).describe("Response model for creating a health check job in Fly.io.")
27
27
  });
28
28
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"create-check-job.mjs","names":[],"sources":["../../src/actions/create-check-job.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyCreateCheckJobInput = z.object({\n url: z.string().describe(\"The URL endpoint to monitor for health checks. This should be a fully qualified URL that will be checked from multiple locations.\"),\n locations: z.array(z.string()).describe(\"List of geographic locations from which to perform health checks. Common locations include 'newyork', 'london', 'tokyo', 'sydney', 'singapore', etc.\"),\n http_options: z.object({\n verb: z.enum([\"GET\", \"HEAD\"]).describe(\"HTTP method to use for the health check request (GET or HEAD).\"),\n headers: z.array(z.string()).describe(\"Optional list of HTTP headers to include in the health check request. Each header should be in 'Key: Value' format.\").optional(),\n}).describe(\"HTTP configuration options for the health check, including the HTTP verb (GET/HEAD) and optional headers.\"),\n organization_id: z.string().describe(\"Organization ID where the health check job will be created. This should be your Fly.io organization identifier.\"),\n}).describe(\"Request model for creating a health check job in Fly.io.\");\nconst FlyCreateCheckJob_CheckJobResponseSchema = z.object({\n id: z.string().describe(\"Unique identifier for the created check job.\").nullable(),\n url: z.string().describe(\"The URL being monitored by this check job.\").nullable(),\n}).describe(\"Response data for a created check job.\");\nconst FlyCreateCheckJob_CheckJobRunResponseSchema = z.object({\n id: z.string().describe(\"Unique identifier for the check job run.\").nullable(),\n}).describe(\"Response data for an initial check job run.\");\nexport const FlyCreateCheckJobOutput = z.object({\n checkJob: FlyCreateCheckJob_CheckJobResponseSchema.nullable(),\n checkJobRun: z.preprocess((value) => (value === null ? undefined : value), FlyCreateCheckJob_CheckJobRunResponseSchema.optional()),\n}).describe(\"Response model for creating a health check job in Fly.io.\");\n\nexport const flyCreateCheckJob = action(\"FLY_CREATE_CHECK_JOB\", {\n slug: \"fly-create-check-job\",\n name: \"Create Health Check Job\",\n description: \"Tool to create a health check job for monitoring application endpoints in Fly.io. Use when you need to set up automated health monitoring for a URL from multiple geographic locations.\",\n input: FlyCreateCheckJobInput,\n output: FlyCreateCheckJobOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI;CAC5J,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sJAAsJ;CAC9L,cAAc,EAAE,OAAO;EACvB,MAAM,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,gEAAgE;EACvG,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CACxK,CAAC,CAAC,CAAC,SAAS,2GAA2G;CACrH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH;AACxJ,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,2CAA2C,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,8CAA8C,EAAE,OAAO,EAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,EAC/E,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAMzD,MAAa,oBAAoB,OAAO,wBAAwB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVqC,EAAE,OAAO;EAC9C,UAAU,yCAAyC,SAAS;EAC5D,aAAa,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,4CAA4C,SAAS,CAAC;CACnI,CAAC,CAAC,CAAC,SAAS,2DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-check-job.mjs","names":[],"sources":["../../src/actions/create-check-job.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyCreateCheckJobInput = z.object({\n url: z.string().describe(\"The URL endpoint to monitor for health checks. This should be a fully qualified URL that will be checked from multiple locations.\"),\n locations: z.array(z.string()).describe(\"List of geographic locations from which to perform health checks. Common locations include 'newyork', 'london', 'tokyo', 'sydney', 'singapore', etc.\"),\n http_options: z.object({\n verb: z.enum([\"GET\", \"HEAD\"]).describe(\"HTTP method to use for the health check request (GET or HEAD).\"),\n headers: z.array(z.string()).describe(\"Optional list of HTTP headers to include in the health check request. Each header should be in 'Key: Value' format.\").optional(),\n}).describe(\"HTTP configuration options for the health check, including the HTTP verb (GET/HEAD) and optional headers.\"),\n organization_id: z.string().describe(\"Organization ID where the health check job will be created. This should be your Fly.io organization identifier.\"),\n}).describe(\"Request model for creating a health check job in Fly.io.\");\nconst FlyCreateCheckJob_CheckJobResponseSchema = z.object({\n id: z.string().describe(\"Unique identifier for the created check job.\").nullable(),\n url: z.string().describe(\"The URL being monitored by this check job.\").nullable(),\n}).describe(\"Response data for a created check job.\");\nconst FlyCreateCheckJob_CheckJobRunResponseSchema = z.object({\n id: z.string().describe(\"Unique identifier for the check job run.\").nullable(),\n}).describe(\"Response data for an initial check job run.\");\nexport const FlyCreateCheckJobOutput = z.object({\n checkJob: FlyCreateCheckJob_CheckJobResponseSchema.nullable(),\n checkJobRun: FlyCreateCheckJob_CheckJobRunResponseSchema.nullable().optional(),\n}).describe(\"Response model for creating a health check job in Fly.io.\");\n\nexport const flyCreateCheckJob = action(\"FLY_CREATE_CHECK_JOB\", {\n slug: \"fly-create-check-job\",\n name: \"Create Health Check Job\",\n description: \"Tool to create a health check job for monitoring application endpoints in Fly.io. Use when you need to set up automated health monitoring for a URL from multiple geographic locations.\",\n input: FlyCreateCheckJobInput,\n output: FlyCreateCheckJobOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI;CAC5J,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sJAAsJ;CAC9L,cAAc,EAAE,OAAO;EACvB,MAAM,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,gEAAgE;EACvG,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CACxK,CAAC,CAAC,CAAC,SAAS,2GAA2G;CACrH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH;AACxJ,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,2CAA2C,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,8CAA8C,EAAE,OAAO,EAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,EAC/E,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAMzD,MAAa,oBAAoB,OAAO,wBAAwB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVqC,EAAE,OAAO;EAC9C,UAAU,yCAAyC,SAAS;EAC5D,aAAa,4CAA4C,SAAS,CAAC,CAAC,SAAS;CAC/E,CAAC,CAAC,CAAC,SAAS,2DAOF;AACV,CAAC"}
@@ -8,7 +8,7 @@ const FlyCreateDelegatedWireGuardTokenInput = zod.z.object({
8
8
  }).describe("Request model for creating a delegated WireGuard token.");
9
9
  const FlyCreateDelegatedWireGuardTokenOutput = zod.z.object({
10
10
  token: zod.z.string().describe("The generated WireGuard token for delegated peer management").nullable(),
11
- 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())
11
+ client_mutation_id: zod.z.string().describe("Client mutation ID if provided in the request").nullable().optional()
12
12
  }).describe("Response model for creating a delegated WireGuard token.");
13
13
  const flyCreateDelegatedWireGuardToken = require_action.action("FLY_CREATE_DELEGATED_WIRE_GUARD_TOKEN", {
14
14
  slug: "fly-create-delegated-wire-guard-token",
@@ -1 +1 @@
1
- {"version":3,"file":"create-delegated-wire-guard-token.cjs","names":["z","action"],"sources":["../../src/actions/create-delegated-wire-guard-token.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyCreateDelegatedWireGuardTokenInput = z.object({\n name: z.string().describe(\"The name with which to refer to the peer. Optional field for identifying the token.\").optional(),\n organization_id: z.string().describe(\"The node ID of the organization. This is the unique identifier for the Fly.io organization where the token will be created.\"),\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 creating a delegated WireGuard token.\");\nexport const FlyCreateDelegatedWireGuardTokenOutput = z.object({\n token: z.string().describe(\"The generated WireGuard token for delegated peer management\").nullable(),\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 creating a delegated WireGuard token.\");\n\nexport const flyCreateDelegatedWireGuardToken = action(\"FLY_CREATE_DELEGATED_WIRE_GUARD_TOKEN\", {\n slug: \"fly-create-delegated-wire-guard-token\",\n name: \"Create Delegated WireGuard Token\",\n description: \"Tool to create a delegated WireGuard token for peer management in a Fly.io organization. Use when you need to generate a token for managing WireGuard peers with delegated access.\",\n input: FlyCreateDelegatedWireGuardTokenInput,\n output: FlyCreateDelegatedWireGuardTokenOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC1H,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H;CAClK,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,6DAA6D,CAAC,CAAC,SAAS;CACnG,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":"create-delegated-wire-guard-token.cjs","names":["z","action"],"sources":["../../src/actions/create-delegated-wire-guard-token.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyCreateDelegatedWireGuardTokenInput = z.object({\n name: z.string().describe(\"The name with which to refer to the peer. Optional field for identifying the token.\").optional(),\n organization_id: z.string().describe(\"The node ID of the organization. This is the unique identifier for the Fly.io organization where the token will be created.\"),\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 creating a delegated WireGuard token.\");\nexport const FlyCreateDelegatedWireGuardTokenOutput = z.object({\n token: z.string().describe(\"The generated WireGuard token for delegated peer management\").nullable(),\n client_mutation_id: z.string().describe(\"Client mutation ID if provided in the request\").nullable().optional(),\n}).describe(\"Response model for creating a delegated WireGuard token.\");\n\nexport const flyCreateDelegatedWireGuardToken = action(\"FLY_CREATE_DELEGATED_WIRE_GUARD_TOKEN\", {\n slug: \"fly-create-delegated-wire-guard-token\",\n name: \"Create Delegated WireGuard Token\",\n description: \"Tool to create a delegated WireGuard token for peer management in a Fly.io organization. Use when you need to generate a token for managing WireGuard peers with delegated access.\",\n input: FlyCreateDelegatedWireGuardTokenInput,\n output: FlyCreateDelegatedWireGuardTokenOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC1H,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H;CAClK,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,6DAA6D,CAAC,CAAC,SAAS;CACnG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAEtE,MAAa,mCAAmCC,eAAAA,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -8,16 +8,13 @@ declare const FlyCreateDelegatedWireGuardTokenInput: z.ZodObject<{
8
8
  }, z.core.$strip>;
9
9
  declare const FlyCreateDelegatedWireGuardTokenOutput: z.ZodObject<{
10
10
  token: z.ZodNullable<z.ZodString>;
11
- client_mutation_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
11
+ client_mutation_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
12
  }, z.core.$strip>;
13
13
  declare const flyCreateDelegatedWireGuardToken: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  organization_id: string;
15
15
  name?: string | undefined;
16
16
  client_mutation_id?: string | undefined;
17
- }, {
18
- token: string | null;
19
- client_mutation_id?: string | undefined;
20
- }, 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]>;
21
18
  //#endregion
22
19
  export { flyCreateDelegatedWireGuardToken };
23
20
  //# sourceMappingURL=create-delegated-wire-guard-token.d.cts.map
@@ -8,16 +8,13 @@ declare const FlyCreateDelegatedWireGuardTokenInput: z.ZodObject<{
8
8
  }, z.core.$strip>;
9
9
  declare const FlyCreateDelegatedWireGuardTokenOutput: z.ZodObject<{
10
10
  token: z.ZodNullable<z.ZodString>;
11
- client_mutation_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
11
+ client_mutation_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
12
  }, z.core.$strip>;
13
13
  declare const flyCreateDelegatedWireGuardToken: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  organization_id: string;
15
15
  name?: string | undefined;
16
16
  client_mutation_id?: string | undefined;
17
- }, {
18
- token: string | null;
19
- client_mutation_id?: string | undefined;
20
- }, 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]>;
21
18
  //#endregion
22
19
  export { flyCreateDelegatedWireGuardToken };
23
20
  //# sourceMappingURL=create-delegated-wire-guard-token.d.mts.map
@@ -11,7 +11,7 @@ const flyCreateDelegatedWireGuardToken = action("FLY_CREATE_DELEGATED_WIRE_GUARD
11
11
  }).describe("Request model for creating a delegated WireGuard token."),
12
12
  output: z.object({
13
13
  token: z.string().describe("The generated WireGuard token for delegated peer management").nullable(),
14
- client_mutation_id: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Client mutation ID if provided in the request").optional())
14
+ client_mutation_id: z.string().describe("Client mutation ID if provided in the request").nullable().optional()
15
15
  }).describe("Response model for creating a delegated WireGuard token.")
16
16
  });
17
17
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"create-delegated-wire-guard-token.mjs","names":[],"sources":["../../src/actions/create-delegated-wire-guard-token.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyCreateDelegatedWireGuardTokenInput = z.object({\n name: z.string().describe(\"The name with which to refer to the peer. Optional field for identifying the token.\").optional(),\n organization_id: z.string().describe(\"The node ID of the organization. This is the unique identifier for the Fly.io organization where the token will be created.\"),\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 creating a delegated WireGuard token.\");\nexport const FlyCreateDelegatedWireGuardTokenOutput = z.object({\n token: z.string().describe(\"The generated WireGuard token for delegated peer management\").nullable(),\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 creating a delegated WireGuard token.\");\n\nexport const flyCreateDelegatedWireGuardToken = action(\"FLY_CREATE_DELEGATED_WIRE_GUARD_TOKEN\", {\n slug: \"fly-create-delegated-wire-guard-token\",\n name: \"Create Delegated WireGuard Token\",\n description: \"Tool to create a delegated WireGuard token for peer management in a Fly.io organization. Use when you need to generate a token for managing WireGuard peers with delegated access.\",\n input: FlyCreateDelegatedWireGuardTokenInput,\n output: FlyCreateDelegatedWireGuardTokenOutput,\n});\n"],"mappings":";;AAcA,MAAa,mCAAmC,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdmD,EAAE,OAAO;EAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;EAC1H,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H;EAClK,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,6DAA6D,CAAC,CAAC,SAAS;EACnG,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":"create-delegated-wire-guard-token.mjs","names":[],"sources":["../../src/actions/create-delegated-wire-guard-token.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyCreateDelegatedWireGuardTokenInput = z.object({\n name: z.string().describe(\"The name with which to refer to the peer. Optional field for identifying the token.\").optional(),\n organization_id: z.string().describe(\"The node ID of the organization. This is the unique identifier for the Fly.io organization where the token will be created.\"),\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 creating a delegated WireGuard token.\");\nexport const FlyCreateDelegatedWireGuardTokenOutput = z.object({\n token: z.string().describe(\"The generated WireGuard token for delegated peer management\").nullable(),\n client_mutation_id: z.string().describe(\"Client mutation ID if provided in the request\").nullable().optional(),\n}).describe(\"Response model for creating a delegated WireGuard token.\");\n\nexport const flyCreateDelegatedWireGuardToken = action(\"FLY_CREATE_DELEGATED_WIRE_GUARD_TOKEN\", {\n slug: \"fly-create-delegated-wire-guard-token\",\n name: \"Create Delegated WireGuard Token\",\n description: \"Tool to create a delegated WireGuard token for peer management in a Fly.io organization. Use when you need to generate a token for managing WireGuard peers with delegated access.\",\n input: FlyCreateDelegatedWireGuardTokenInput,\n output: FlyCreateDelegatedWireGuardTokenOutput,\n});\n"],"mappings":";;AAcA,MAAa,mCAAmC,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdmD,EAAE,OAAO;EAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;EAC1H,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H;EAClK,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,6DAA6D,CAAC,CAAC,SAAS;EACnG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,SAAS,0DAOF;AACV,CAAC"}
@@ -37,22 +37,22 @@ const FlyCreateThirdPartyConfiguration_ThirdPartyConfigurationLevelSchema = zod.
37
37
  "REQUIRED"
38
38
  ]).describe("Authorization level for third-party caveat configuration.");
39
39
  const FlyCreateThirdPartyConfiguration_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())
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
43
  }).describe("Organization details.");
44
44
  const FlyCreateThirdPartyConfiguration_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, FlyCreateThirdPartyConfiguration_ThirdPartyConfigurationLevelSchema.optional()),
49
- customLevel: zod.z.preprocess((value) => value === null ? void 0 : value, FlyCreateThirdPartyConfiguration_ThirdPartyConfigurationLevelSchema.optional()),
50
- flyctlLevel: zod.z.preprocess((value) => value === null ? void 0 : value, FlyCreateThirdPartyConfiguration_ThirdPartyConfigurationLevelSchema.optional()),
51
- organization: zod.z.preprocess((value) => value === null ? void 0 : value, FlyCreateThirdPartyConfiguration_OrganizationSchema.optional())
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: FlyCreateThirdPartyConfiguration_ThirdPartyConfigurationLevelSchema.nullable().optional(),
49
+ customLevel: FlyCreateThirdPartyConfiguration_ThirdPartyConfigurationLevelSchema.nullable().optional(),
50
+ flyctlLevel: FlyCreateThirdPartyConfiguration_ThirdPartyConfigurationLevelSchema.nullable().optional(),
51
+ organization: FlyCreateThirdPartyConfiguration_OrganizationSchema.nullable().optional()
52
52
  }).describe("Third-party service configuration for discharging macaroon caveats.");
53
53
  const FlyCreateThirdPartyConfigurationOutput = 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, FlyCreateThirdPartyConfiguration_ThirdPartyConfigurationSchema.optional())
54
+ clientMutationId: zod.z.string().describe("The client mutation identifier if provided in request").nullable().optional(),
55
+ thirdPartyConfiguration: FlyCreateThirdPartyConfiguration_ThirdPartyConfigurationSchema.nullable().optional()
56
56
  }).describe("Response containing the created third-party configuration.");
57
57
  const flyCreateThirdPartyConfiguration = require_action.action("FLY_CREATE_THIRD_PARTY_CONFIGURATION", {
58
58
  slug: "fly-create-third-party-configuration",
@@ -1 +1 @@
1
- {"version":3,"file":"create-third-party-configuration.cjs","names":["z","action"],"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,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC/D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACjH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CAC9F,WAAWA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAU;EAAkB;EAAiB;CAAU,CAAC,CAAC,CAAC,SAAS,gDAAgD;CAClJ,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAU;EAAkB;EAAiB;CAAU,CAAC,CAAC,CAAC,SAAS,oDAAoD;CACxJ,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAU;EAAkB;EAAiB;CAAU,CAAC,CAAC,CAAC,SAAS,oDAAoD;CACxJ,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CAChE,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AAC/G,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,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,uBAAuB;AACnC,MAAM,iEAAiEA,IAAAA,EAAE,OAAO;CAC9E,IAAIA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC;CAC3I,MAAMA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC;CAC1I,UAAUA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC;CACxK,WAAWA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,oEAAoE,SAAS,CAAC;CACvJ,aAAaA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,oEAAoE,SAAS,CAAC;CACzJ,aAAaA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,oEAAoE,SAAS,CAAC;CACzJ,cAAcA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,oDAAoD,SAAS,CAAC;AAC5I,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,kBAAkBA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC;CACvK,yBAAyBA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,+DAA+D,SAAS,CAAC;AAClK,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAExE,MAAa,mCAAmCC,eAAAA,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-third-party-configuration.cjs","names":["z","action"],"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}).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}).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}).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,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC/D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACjH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CAC9F,WAAWA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAU;EAAkB;EAAiB;CAAU,CAAC,CAAC,CAAC,SAAS,gDAAgD;CAClJ,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAU;EAAkB;EAAiB;CAAU,CAAC,CAAC,CAAC,SAAS,oDAAoD;CACxJ,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAU;EAAkB;EAAiB;CAAU,CAAC,CAAC,CAAC,SAAS,oDAAoD;CACxJ,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CAChE,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AAC/G,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,SAAS,uBAAuB;AACnC,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,SAAS,qEAAqE;AACjF,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,SAAS,4DAA4D;AAExE,MAAa,mCAAmCC,eAAAA,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -30,36 +30,36 @@ 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>>;
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
63
  }, z.core.$strip>>>;
64
64
  }, z.core.$strip>>>;
65
65
  }, z.core.$strip>;
@@ -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.cts.map
@@ -30,36 +30,36 @@ 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>>;
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
63
  }, z.core.$strip>>>;
64
64
  }, z.core.$strip>>>;
65
65
  }, z.core.$strip>;
@@ -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,18 +37,18 @@ const FlyCreateThirdPartyConfiguration_ThirdPartyConfigurationLevelSchema = z.en
37
37
  "REQUIRED"
38
38
  ]).describe("Authorization level for third-party caveat configuration.");
39
39
  const FlyCreateThirdPartyConfiguration_OrganizationSchema = z.object({
40
- id: z.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())
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
43
  }).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())
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
52
  }).describe("Third-party service configuration for discharging macaroon caveats.");
53
53
  const flyCreateThirdPartyConfiguration = action("FLY_CREATE_THIRD_PARTY_CONFIGURATION", {
54
54
  slug: "fly-create-third-party-configuration",
@@ -56,8 +56,8 @@ const flyCreateThirdPartyConfiguration = action("FLY_CREATE_THIRD_PARTY_CONFIGUR
56
56
  description: "Tool to create a third-party service configuration for discharging macaroon caveats. Use when you need to configure external authorization services for Fly.io token validation.",
57
57
  input: FlyCreateThirdPartyConfigurationInput,
58
58
  output: z.object({
59
- clientMutationId: z.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())
59
+ clientMutationId: z.string().describe("The client mutation identifier if provided in request").nullable().optional(),
60
+ thirdPartyConfiguration: FlyCreateThirdPartyConfiguration_ThirdPartyConfigurationSchema.nullable().optional()
61
61
  }).describe("Response containing the created third-party configuration.")
62
62
  });
63
63
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"create-third-party-configuration.mjs","names":[],"sources":["../../src/actions/create-third-party-configuration.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyCreateThirdPartyConfigurationInput = z.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}).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}).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}).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,SAAS,uBAAuB;AACnC,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,SAAS,qEAAqE;AAMjF,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,SAAS,4DAOF;AACV,CAAC"}