@keystrokehq/fly 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-wire-guard-peer.cjs +5 -5
- package/dist/actions/add-wire-guard-peer.cjs.map +1 -1
- package/dist/actions/add-wire-guard-peer.d.cts +27 -3
- package/dist/actions/add-wire-guard-peer.d.cts.map +1 -1
- package/dist/actions/add-wire-guard-peer.d.mts +27 -3
- package/dist/actions/add-wire-guard-peer.d.mts.map +1 -1
- package/dist/actions/add-wire-guard-peer.mjs +5 -5
- package/dist/actions/add-wire-guard-peer.mjs.map +1 -1
- package/dist/actions/check-app-name-availability.cjs +3 -3
- package/dist/actions/check-app-name-availability.cjs.map +1 -1
- package/dist/actions/check-app-name-availability.d.cts +17 -3
- package/dist/actions/check-app-name-availability.d.cts.map +1 -1
- package/dist/actions/check-app-name-availability.d.mts +17 -3
- package/dist/actions/check-app-name-availability.d.mts.map +1 -1
- package/dist/actions/check-app-name-availability.mjs +3 -3
- package/dist/actions/check-app-name-availability.mjs.map +1 -1
- package/dist/actions/check-jobs.cjs +2 -2
- package/dist/actions/check-jobs.cjs.map +1 -1
- package/dist/actions/check-jobs.d.cts +15 -3
- package/dist/actions/check-jobs.d.cts.map +1 -1
- package/dist/actions/check-jobs.d.mts +15 -3
- package/dist/actions/check-jobs.d.mts.map +1 -1
- package/dist/actions/check-jobs.mjs +2 -2
- package/dist/actions/check-jobs.mjs.map +1 -1
- package/dist/actions/check-user-only-token.cjs +2 -2
- package/dist/actions/check-user-only-token.cjs.map +1 -1
- package/dist/actions/check-user-only-token.d.cts +11 -3
- package/dist/actions/check-user-only-token.d.cts.map +1 -1
- package/dist/actions/check-user-only-token.d.mts +11 -3
- package/dist/actions/check-user-only-token.d.mts.map +1 -1
- package/dist/actions/check-user-only-token.mjs +2 -2
- package/dist/actions/check-user-only-token.mjs.map +1 -1
- package/dist/actions/create-check-job-run.cjs +7 -7
- package/dist/actions/create-check-job-run.cjs.map +1 -1
- package/dist/actions/create-check-job-run.d.cts +27 -3
- package/dist/actions/create-check-job-run.d.cts.map +1 -1
- package/dist/actions/create-check-job-run.d.mts +27 -3
- package/dist/actions/create-check-job-run.d.mts.map +1 -1
- package/dist/actions/create-check-job-run.mjs +7 -7
- package/dist/actions/create-check-job-run.mjs.map +1 -1
- package/dist/actions/create-check-job.cjs +4 -4
- package/dist/actions/create-check-job.cjs.map +1 -1
- package/dist/actions/create-check-job.d.cts +38 -3
- package/dist/actions/create-check-job.d.cts.map +1 -1
- package/dist/actions/create-check-job.d.mts +38 -3
- package/dist/actions/create-check-job.d.mts.map +1 -1
- package/dist/actions/create-check-job.mjs +4 -4
- package/dist/actions/create-check-job.mjs.map +1 -1
- package/dist/actions/create-delegated-wire-guard-token.cjs +2 -2
- package/dist/actions/create-delegated-wire-guard-token.cjs.map +1 -1
- package/dist/actions/create-delegated-wire-guard-token.d.cts +17 -3
- package/dist/actions/create-delegated-wire-guard-token.d.cts.map +1 -1
- package/dist/actions/create-delegated-wire-guard-token.d.mts +17 -3
- package/dist/actions/create-delegated-wire-guard-token.d.mts.map +1 -1
- package/dist/actions/create-delegated-wire-guard-token.mjs +2 -2
- package/dist/actions/create-delegated-wire-guard-token.mjs.map +1 -1
- package/dist/actions/create-third-party-configuration.cjs +12 -12
- package/dist/actions/create-third-party-configuration.cjs.map +1 -1
- package/dist/actions/create-third-party-configuration.d.cts +87 -3
- package/dist/actions/create-third-party-configuration.d.cts.map +1 -1
- package/dist/actions/create-third-party-configuration.d.mts +87 -3
- package/dist/actions/create-third-party-configuration.d.mts.map +1 -1
- package/dist/actions/create-third-party-configuration.mjs +12 -12
- package/dist/actions/create-third-party-configuration.mjs.map +1 -1
- package/dist/actions/delete-delegated-wire-guard-token.cjs +2 -2
- package/dist/actions/delete-delegated-wire-guard-token.cjs.map +1 -1
- package/dist/actions/delete-delegated-wire-guard-token.d.cts +19 -3
- package/dist/actions/delete-delegated-wire-guard-token.d.cts.map +1 -1
- package/dist/actions/delete-delegated-wire-guard-token.d.mts +19 -3
- package/dist/actions/delete-delegated-wire-guard-token.d.mts.map +1 -1
- package/dist/actions/delete-delegated-wire-guard-token.mjs +2 -2
- package/dist/actions/delete-delegated-wire-guard-token.mjs.map +1 -1
- package/dist/actions/delete-organization.cjs +7 -7
- package/dist/actions/delete-organization.cjs.map +1 -1
- package/dist/actions/delete-organization.d.cts +29 -3
- package/dist/actions/delete-organization.d.cts.map +1 -1
- package/dist/actions/delete-organization.d.mts +29 -3
- package/dist/actions/delete-organization.d.mts.map +1 -1
- package/dist/actions/delete-organization.mjs +7 -7
- package/dist/actions/delete-organization.mjs.map +1 -1
- package/dist/actions/delete-remote-builder.cjs +4 -4
- package/dist/actions/delete-remote-builder.cjs.map +1 -1
- package/dist/actions/delete-remote-builder.d.cts +21 -3
- package/dist/actions/delete-remote-builder.d.cts.map +1 -1
- package/dist/actions/delete-remote-builder.d.mts +21 -3
- package/dist/actions/delete-remote-builder.d.mts.map +1 -1
- package/dist/actions/delete-remote-builder.mjs +4 -4
- package/dist/actions/delete-remote-builder.mjs.map +1 -1
- package/dist/actions/delete-third-party-configuration.cjs +2 -2
- package/dist/actions/delete-third-party-configuration.cjs.map +1 -1
- package/dist/actions/delete-third-party-configuration.d.cts +15 -3
- package/dist/actions/delete-third-party-configuration.d.cts.map +1 -1
- package/dist/actions/delete-third-party-configuration.d.mts +15 -3
- package/dist/actions/delete-third-party-configuration.d.mts.map +1 -1
- package/dist/actions/delete-third-party-configuration.mjs +2 -2
- package/dist/actions/delete-third-party-configuration.mjs.map +1 -1
- package/dist/actions/detach-postgres-cluster.cjs +7 -7
- package/dist/actions/detach-postgres-cluster.cjs.map +1 -1
- package/dist/actions/detach-postgres-cluster.d.cts +33 -3
- package/dist/actions/detach-postgres-cluster.d.cts.map +1 -1
- package/dist/actions/detach-postgres-cluster.d.mts +33 -3
- package/dist/actions/detach-postgres-cluster.d.mts.map +1 -1
- package/dist/actions/detach-postgres-cluster.mjs +7 -7
- package/dist/actions/detach-postgres-cluster.mjs.map +1 -1
- package/dist/actions/establish-ssh-key.cjs +2 -2
- package/dist/actions/establish-ssh-key.cjs.map +1 -1
- package/dist/actions/establish-ssh-key.d.cts +17 -3
- package/dist/actions/establish-ssh-key.d.cts.map +1 -1
- package/dist/actions/establish-ssh-key.d.mts +17 -3
- package/dist/actions/establish-ssh-key.d.mts.map +1 -1
- package/dist/actions/establish-ssh-key.mjs +2 -2
- package/dist/actions/establish-ssh-key.mjs.map +1 -1
- package/dist/actions/fetch-nodes-by-ids.cjs +2 -2
- package/dist/actions/fetch-nodes-by-ids.cjs.map +1 -1
- package/dist/actions/fetch-nodes-by-ids.d.cts +15 -3
- package/dist/actions/fetch-nodes-by-ids.d.cts.map +1 -1
- package/dist/actions/fetch-nodes-by-ids.d.mts +15 -3
- package/dist/actions/fetch-nodes-by-ids.d.mts.map +1 -1
- package/dist/actions/fetch-nodes-by-ids.mjs +2 -2
- package/dist/actions/fetch-nodes-by-ids.mjs.map +1 -1
- package/dist/actions/get-add-on-provider.cjs +16 -16
- package/dist/actions/get-add-on-provider.cjs.map +1 -1
- package/dist/actions/get-add-on-provider.d.cts +41 -3
- package/dist/actions/get-add-on-provider.d.cts.map +1 -1
- package/dist/actions/get-add-on-provider.d.mts +41 -3
- package/dist/actions/get-add-on-provider.d.mts.map +1 -1
- package/dist/actions/get-add-on-provider.mjs +16 -16
- package/dist/actions/get-add-on-provider.mjs.map +1 -1
- package/dist/actions/get-add-on.cjs +16 -16
- package/dist/actions/get-add-on.cjs.map +1 -1
- package/dist/actions/get-add-on.d.cts +51 -3
- package/dist/actions/get-add-on.d.cts.map +1 -1
- package/dist/actions/get-add-on.d.mts +51 -3
- package/dist/actions/get-add-on.d.mts.map +1 -1
- package/dist/actions/get-add-on.mjs +16 -16
- package/dist/actions/get-add-on.mjs.map +1 -1
- package/dist/actions/get-app-details.cjs +9 -9
- package/dist/actions/get-app-details.cjs.map +1 -1
- package/dist/actions/get-app-details.d.cts +35 -3
- package/dist/actions/get-app-details.d.cts.map +1 -1
- package/dist/actions/get-app-details.d.mts +35 -3
- package/dist/actions/get-app-details.d.mts.map +1 -1
- package/dist/actions/get-app-details.mjs +9 -9
- package/dist/actions/get-app-details.mjs.map +1 -1
- package/dist/actions/get-certificate.cjs +21 -21
- package/dist/actions/get-certificate.cjs.map +1 -1
- package/dist/actions/get-certificate.d.cts +59 -3
- package/dist/actions/get-certificate.d.cts.map +1 -1
- package/dist/actions/get-certificate.d.mts +59 -3
- package/dist/actions/get-certificate.d.mts.map +1 -1
- package/dist/actions/get-certificate.mjs +21 -21
- package/dist/actions/get-certificate.mjs.map +1 -1
- package/dist/actions/get-current-token-info.cjs +8 -8
- package/dist/actions/get-current-token-info.cjs.map +1 -1
- package/dist/actions/get-current-token-info.d.cts +23 -3
- package/dist/actions/get-current-token-info.d.cts.map +1 -1
- package/dist/actions/get-current-token-info.d.mts +23 -3
- package/dist/actions/get-current-token-info.d.mts.map +1 -1
- package/dist/actions/get-current-token-info.mjs +8 -8
- package/dist/actions/get-current-token-info.mjs.map +1 -1
- package/dist/actions/get-latest-image-details.cjs +5 -5
- package/dist/actions/get-latest-image-details.cjs.map +1 -1
- package/dist/actions/get-latest-image-details.d.cts +21 -3
- package/dist/actions/get-latest-image-details.d.cts.map +1 -1
- package/dist/actions/get-latest-image-details.d.mts +21 -3
- package/dist/actions/get-latest-image-details.d.mts.map +1 -1
- package/dist/actions/get-latest-image-details.mjs +5 -5
- package/dist/actions/get-latest-image-details.mjs.map +1 -1
- package/dist/actions/get-latest-image-tag.cjs +1 -1
- package/dist/actions/get-latest-image-tag.cjs.map +1 -1
- package/dist/actions/get-latest-image-tag.d.cts +11 -3
- package/dist/actions/get-latest-image-tag.d.cts.map +1 -1
- package/dist/actions/get-latest-image-tag.d.mts +11 -3
- package/dist/actions/get-latest-image-tag.d.mts.map +1 -1
- package/dist/actions/get-latest-image-tag.mjs +1 -1
- package/dist/actions/get-latest-image-tag.mjs.map +1 -1
- package/dist/actions/get-machine.cjs +17 -17
- package/dist/actions/get-machine.cjs.map +1 -1
- package/dist/actions/get-machine.d.cts +51 -3
- package/dist/actions/get-machine.d.cts.map +1 -1
- package/dist/actions/get-machine.d.mts +51 -3
- package/dist/actions/get-machine.d.mts.map +1 -1
- package/dist/actions/get-machine.mjs +17 -17
- package/dist/actions/get-machine.mjs.map +1 -1
- package/dist/actions/get-nearest-region.cjs +2 -2
- package/dist/actions/get-nearest-region.cjs.map +1 -1
- package/dist/actions/get-nearest-region.d.cts +9 -3
- package/dist/actions/get-nearest-region.d.cts.map +1 -1
- package/dist/actions/get-nearest-region.d.mts +9 -3
- package/dist/actions/get-nearest-region.d.mts.map +1 -1
- package/dist/actions/get-nearest-region.mjs +2 -2
- package/dist/actions/get-nearest-region.mjs.map +1 -1
- package/dist/actions/get-node.cjs +10 -10
- package/dist/actions/get-node.cjs.map +1 -1
- package/dist/actions/get-node.d.cts +37 -3
- package/dist/actions/get-node.d.cts.map +1 -1
- package/dist/actions/get-node.d.mts +37 -3
- package/dist/actions/get-node.d.mts.map +1 -1
- package/dist/actions/get-node.mjs +10 -10
- package/dist/actions/get-node.mjs.map +1 -1
- package/dist/actions/get-organization.cjs +7 -7
- package/dist/actions/get-organization.cjs.map +1 -1
- package/dist/actions/get-organization.d.cts +27 -3
- package/dist/actions/get-organization.d.cts.map +1 -1
- package/dist/actions/get-organization.d.mts +27 -3
- package/dist/actions/get-organization.d.mts.map +1 -1
- package/dist/actions/get-organization.mjs +7 -7
- package/dist/actions/get-organization.mjs.map +1 -1
- package/dist/actions/get-personal-organization.cjs +6 -6
- package/dist/actions/get-personal-organization.cjs.map +1 -1
- package/dist/actions/get-personal-organization.d.cts +29 -3
- package/dist/actions/get-personal-organization.d.cts.map +1 -1
- package/dist/actions/get-personal-organization.d.mts +29 -3
- package/dist/actions/get-personal-organization.d.mts.map +1 -1
- package/dist/actions/get-personal-organization.mjs +6 -6
- package/dist/actions/get-personal-organization.mjs.map +1 -1
- package/dist/actions/get-placements.cjs +3 -3
- package/dist/actions/get-placements.cjs.map +1 -1
- package/dist/actions/get-placements.d.cts +49 -3
- package/dist/actions/get-placements.d.cts.map +1 -1
- package/dist/actions/get-placements.d.mts +49 -3
- package/dist/actions/get-placements.d.mts.map +1 -1
- package/dist/actions/get-placements.mjs +3 -3
- package/dist/actions/get-placements.mjs.map +1 -1
- package/dist/actions/get-platform-info.cjs +11 -11
- package/dist/actions/get-platform-info.cjs.map +1 -1
- package/dist/actions/get-platform-info.d.cts +33 -3
- package/dist/actions/get-platform-info.d.cts.map +1 -1
- package/dist/actions/get-platform-info.d.mts +33 -3
- package/dist/actions/get-platform-info.d.mts.map +1 -1
- package/dist/actions/get-platform-info.mjs +11 -11
- package/dist/actions/get-platform-info.mjs.map +1 -1
- package/dist/actions/get-products.cjs +6 -6
- package/dist/actions/get-products.cjs.map +1 -1
- package/dist/actions/get-products.d.cts +23 -3
- package/dist/actions/get-products.d.cts.map +1 -1
- package/dist/actions/get-products.d.mts +23 -3
- package/dist/actions/get-products.d.mts.map +1 -1
- package/dist/actions/get-products.mjs +6 -6
- package/dist/actions/get-products.mjs.map +1 -1
- package/dist/actions/get-regions.cjs +11 -11
- package/dist/actions/get-regions.cjs.map +1 -1
- package/dist/actions/get-regions.d.cts +43 -3
- package/dist/actions/get-regions.d.cts.map +1 -1
- package/dist/actions/get-regions.d.mts +43 -3
- package/dist/actions/get-regions.d.mts.map +1 -1
- package/dist/actions/get-regions.mjs +11 -11
- package/dist/actions/get-regions.mjs.map +1 -1
- package/dist/actions/get-viewer-info.cjs +4 -4
- package/dist/actions/get-viewer-info.cjs.map +1 -1
- package/dist/actions/get-viewer-info.d.cts +25 -3
- package/dist/actions/get-viewer-info.d.cts.map +1 -1
- package/dist/actions/get-viewer-info.d.mts +25 -3
- package/dist/actions/get-viewer-info.d.mts.map +1 -1
- package/dist/actions/get-viewer-info.mjs +4 -4
- package/dist/actions/get-viewer-info.mjs.map +1 -1
- package/dist/actions/issue-certificate.cjs +2 -2
- package/dist/actions/issue-certificate.cjs.map +1 -1
- package/dist/actions/issue-certificate.d.cts +23 -3
- package/dist/actions/issue-certificate.d.cts.map +1 -1
- package/dist/actions/issue-certificate.d.mts +23 -3
- package/dist/actions/issue-certificate.d.mts.map +1 -1
- package/dist/actions/issue-certificate.mjs +2 -2
- package/dist/actions/issue-certificate.mjs.map +1 -1
- package/dist/actions/list-add-on-plans.cjs +22 -22
- package/dist/actions/list-add-on-plans.cjs.map +1 -1
- package/dist/actions/list-add-on-plans.d.cts +91 -3
- package/dist/actions/list-add-on-plans.d.cts.map +1 -1
- package/dist/actions/list-add-on-plans.d.mts +91 -3
- package/dist/actions/list-add-on-plans.d.mts.map +1 -1
- package/dist/actions/list-add-on-plans.mjs +22 -22
- package/dist/actions/list-add-on-plans.mjs.map +1 -1
- package/dist/actions/list-add-ons.cjs +23 -23
- package/dist/actions/list-add-ons.cjs.map +1 -1
- package/dist/actions/list-add-ons.d.cts +169 -3
- package/dist/actions/list-add-ons.d.cts.map +1 -1
- package/dist/actions/list-add-ons.d.mts +169 -3
- package/dist/actions/list-add-ons.d.mts.map +1 -1
- package/dist/actions/list-add-ons.mjs +23 -23
- package/dist/actions/list-add-ons.mjs.map +1 -1
- package/dist/actions/list-apps-graphql.cjs +20 -20
- package/dist/actions/list-apps-graphql.cjs.map +1 -1
- package/dist/actions/list-apps-graphql.d.cts +79 -3
- package/dist/actions/list-apps-graphql.d.cts.map +1 -1
- package/dist/actions/list-apps-graphql.d.mts +79 -3
- package/dist/actions/list-apps-graphql.d.mts.map +1 -1
- package/dist/actions/list-apps-graphql.mjs +20 -20
- package/dist/actions/list-apps-graphql.mjs.map +1 -1
- package/dist/actions/list-apps.cjs +13 -13
- package/dist/actions/list-apps.cjs.map +1 -1
- package/dist/actions/list-apps.d.cts +41 -3
- package/dist/actions/list-apps.d.cts.map +1 -1
- package/dist/actions/list-apps.d.mts +41 -3
- package/dist/actions/list-apps.d.mts.map +1 -1
- package/dist/actions/list-apps.mjs +13 -13
- package/dist/actions/list-apps.mjs.map +1 -1
- package/dist/actions/list-check-locations.cjs +5 -5
- package/dist/actions/list-check-locations.cjs.map +1 -1
- package/dist/actions/list-check-locations.d.cts +23 -3
- package/dist/actions/list-check-locations.d.cts.map +1 -1
- package/dist/actions/list-check-locations.d.mts +23 -3
- package/dist/actions/list-check-locations.d.mts.map +1 -1
- package/dist/actions/list-check-locations.mjs +5 -5
- package/dist/actions/list-check-locations.mjs.map +1 -1
- package/dist/actions/list-machines.cjs +1 -1
- package/dist/actions/list-machines.cjs.map +1 -1
- package/dist/actions/list-machines.d.cts +19 -3
- package/dist/actions/list-machines.d.cts.map +1 -1
- package/dist/actions/list-machines.d.mts +19 -3
- package/dist/actions/list-machines.d.mts.map +1 -1
- package/dist/actions/list-machines.mjs +1 -1
- package/dist/actions/list-machines.mjs.map +1 -1
- package/dist/actions/list-org-machines.cjs +14 -14
- package/dist/actions/list-org-machines.cjs.map +1 -1
- package/dist/actions/list-org-machines.d.cts +51 -3
- package/dist/actions/list-org-machines.d.cts.map +1 -1
- package/dist/actions/list-org-machines.d.mts +51 -3
- package/dist/actions/list-org-machines.d.mts.map +1 -1
- package/dist/actions/list-org-machines.mjs +14 -14
- package/dist/actions/list-org-machines.mjs.map +1 -1
- package/dist/actions/remove-wire-guard-peer.cjs +3 -3
- package/dist/actions/remove-wire-guard-peer.cjs.map +1 -1
- package/dist/actions/remove-wire-guard-peer.d.cts +19 -3
- package/dist/actions/remove-wire-guard-peer.d.cts.map +1 -1
- package/dist/actions/remove-wire-guard-peer.d.mts +19 -3
- package/dist/actions/remove-wire-guard-peer.d.mts.map +1 -1
- package/dist/actions/remove-wire-guard-peer.mjs +3 -3
- package/dist/actions/remove-wire-guard-peer.mjs.map +1 -1
- package/dist/actions/set-apps-v2-default-on.cjs +5 -5
- package/dist/actions/set-apps-v2-default-on.cjs.map +1 -1
- package/dist/actions/set-apps-v2-default-on.d.cts +25 -3
- package/dist/actions/set-apps-v2-default-on.d.cts.map +1 -1
- package/dist/actions/set-apps-v2-default-on.d.mts +25 -3
- package/dist/actions/set-apps-v2-default-on.d.mts.map +1 -1
- package/dist/actions/set-apps-v2-default-on.mjs +5 -5
- package/dist/actions/set-apps-v2-default-on.mjs.map +1 -1
- package/dist/actions/update-third-party-configuration.cjs +12 -12
- package/dist/actions/update-third-party-configuration.cjs.map +1 -1
- package/dist/actions/update-third-party-configuration.d.cts +87 -3
- package/dist/actions/update-third-party-configuration.d.cts.map +1 -1
- package/dist/actions/update-third-party-configuration.d.mts +87 -3
- package/dist/actions/update-third-party-configuration.d.mts.map +1 -1
- package/dist/actions/update-third-party-configuration.mjs +12 -12
- package/dist/actions/update-third-party-configuration.mjs.map +1 -1
- package/dist/actions/validate-config.cjs +5 -5
- package/dist/actions/validate-config.cjs.map +1 -1
- package/dist/actions/validate-config.d.cts +21 -3
- package/dist/actions/validate-config.d.cts.map +1 -1
- package/dist/actions/validate-config.d.mts +21 -3
- package/dist/actions/validate-config.d.mts.map +1 -1
- package/dist/actions/validate-config.mjs +5 -5
- package/dist/actions/validate-config.mjs.map +1 -1
- package/dist/actions/validate-wire-guard-peers.cjs +1 -1
- package/dist/actions/validate-wire-guard-peers.cjs.map +1 -1
- package/dist/actions/validate-wire-guard-peers.d.cts +11 -3
- package/dist/actions/validate-wire-guard-peers.d.cts.map +1 -1
- package/dist/actions/validate-wire-guard-peers.d.mts +11 -3
- package/dist/actions/validate-wire-guard-peers.d.mts.map +1 -1
- package/dist/actions/validate-wire-guard-peers.mjs +1 -1
- package/dist/actions/validate-wire-guard-peers.mjs.map +1 -1
- package/dist/catalog.cjs +14 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +13 -0
- package/dist/catalog.d.mts +13 -0
- package/dist/catalog.mjs +14 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,9 +1,43 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-node.d.ts
|
|
4
|
-
declare const FlyGetNodeInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const FlyGetNodeInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const FlyGetNodeOutput: z.ZodObject<{
|
|
8
|
+
data: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
9
|
+
node: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
10
|
+
id: z.ZodNullable<z.ZodString>;
|
|
11
|
+
__typename: z.ZodNullable<z.ZodString>;
|
|
12
|
+
}, z.core.$strip>>>;
|
|
13
|
+
}, z.core.$strip>>>;
|
|
14
|
+
errors: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15
|
+
path: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
16
|
+
message: z.ZodNullable<z.ZodString>;
|
|
17
|
+
locations: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
18
|
+
line: z.ZodNullable<z.ZodNumber>;
|
|
19
|
+
column: z.ZodNullable<z.ZodNumber>;
|
|
20
|
+
}, z.core.$strip>>>>;
|
|
21
|
+
}, z.core.$strip>>>>;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
declare const flyGetNode: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
|
+
id: string;
|
|
25
|
+
}, {
|
|
26
|
+
data?: {
|
|
27
|
+
node?: {
|
|
28
|
+
id: string | null;
|
|
29
|
+
__typename: string | null;
|
|
30
|
+
} | undefined;
|
|
31
|
+
} | undefined;
|
|
32
|
+
errors?: {
|
|
33
|
+
message: string | null;
|
|
34
|
+
path?: string[] | undefined;
|
|
35
|
+
locations?: {
|
|
36
|
+
line: number | null;
|
|
37
|
+
column: number | null;
|
|
38
|
+
}[] | undefined;
|
|
39
|
+
}[] | undefined;
|
|
40
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
41
|
//#endregion
|
|
8
42
|
export { flyGetNode };
|
|
9
43
|
//# sourceMappingURL=get-node.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-node.d.mts","names":[],"sources":["../../src/actions/get-node.ts"],"mappings":";;;cAIa,eAAA,
|
|
1
|
+
{"version":3,"file":"get-node.d.mts","names":[],"sources":["../../src/actions/get-node.ts"],"mappings":";;;cAIa,eAAA,EAAe,CAAA,CAAA,SAAA;;;cAmBf,gBAAA,EAAgB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAKhB,UAAA,gCAAU,wBAAA"}
|
|
@@ -3,18 +3,18 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/get-node.ts
|
|
4
4
|
const FlyGetNodeInput = z.object({ id: z.string().describe("The globally unique ID of the object to fetch. This ID uniquely identifies any object in the Fly.io system (e.g., Organization, App, Machine, Volume, etc.).") }).describe("Request model for fetching an object by its globally unique ID using the node query.");
|
|
5
5
|
const FlyGetNode_NodeObjectSchema = z.object({
|
|
6
|
-
id: z.string().describe("The globally unique ID of the object."),
|
|
7
|
-
__typename: z.string().describe("The actual type of the object (e.g., Organization, App, Machine, Volume).")
|
|
6
|
+
id: z.string().describe("The globally unique ID of the object.").nullable(),
|
|
7
|
+
__typename: z.string().describe("The actual type of the object (e.g., Organization, App, Machine, Volume).").nullable()
|
|
8
8
|
}).describe("The node object returned in the data field.");
|
|
9
|
-
const FlyGetNode_NodeDataSchema = z.object({ node:
|
|
9
|
+
const FlyGetNode_NodeDataSchema = z.object({ node: z.preprocess((value) => value === null ? void 0 : value, FlyGetNode_NodeObjectSchema.optional()) }).describe("The data field containing the node object.");
|
|
10
10
|
const FlyGetNode_GraphQLErrorLocationSchema = z.object({
|
|
11
|
-
line: z.number().int().describe("Line number in the query."),
|
|
12
|
-
column: z.number().int().describe("Column number in the query.")
|
|
11
|
+
line: z.number().int().describe("Line number in the query.").nullable(),
|
|
12
|
+
column: z.number().int().describe("Column number in the query.").nullable()
|
|
13
13
|
}).describe("Location in the GraphQL query where an error occurred.");
|
|
14
14
|
const FlyGetNode_GraphQLErrorSchema = z.object({
|
|
15
|
-
path: z.array(z.string()).describe("Path to the field that caused the error.").
|
|
16
|
-
message: z.string().describe("The error message."),
|
|
17
|
-
locations: z.array(FlyGetNode_GraphQLErrorLocationSchema).describe("Source locations of the error in the query.").
|
|
15
|
+
path: z.preprocess((value) => value === null ? void 0 : value, z.array(z.string()).describe("Path to the field that caused the error.").optional()),
|
|
16
|
+
message: z.string().describe("The error message.").nullable(),
|
|
17
|
+
locations: z.preprocess((value) => value === null ? void 0 : value, z.array(FlyGetNode_GraphQLErrorLocationSchema).describe("Source locations of the error in the query.").optional())
|
|
18
18
|
}).describe("GraphQL error object.");
|
|
19
19
|
const flyGetNode = action("FLY_GET_NODE", {
|
|
20
20
|
slug: "fly-get-node",
|
|
@@ -22,8 +22,8 @@ const flyGetNode = action("FLY_GET_NODE", {
|
|
|
22
22
|
description: "Tool to fetch an object by its globally unique ID using Fly.io's GraphQL node query. Returns a Node interface object with id and __typename fields. Use when you need to retrieve any Fly.io object by its ID.",
|
|
23
23
|
input: FlyGetNodeInput,
|
|
24
24
|
output: z.object({
|
|
25
|
-
data:
|
|
26
|
-
errors: z.array(FlyGetNode_GraphQLErrorSchema).describe("Any errors returned by the GraphQL API.").
|
|
25
|
+
data: z.preprocess((value) => value === null ? void 0 : value, FlyGetNode_NodeDataSchema.optional()),
|
|
26
|
+
errors: z.preprocess((value) => value === null ? void 0 : value, z.array(FlyGetNode_GraphQLErrorSchema).describe("Any errors returned by the GraphQL API.").optional())
|
|
27
27
|
}).describe("Response model for the node query.\n\nThe node query follows the GraphQL Global Object Identification pattern.\nReturns a Node interface object whose actual type depends on the ID provided.")
|
|
28
28
|
});
|
|
29
29
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-node.mjs","names":[],"sources":["../../src/actions/get-node.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetNodeInput
|
|
1
|
+
{"version":3,"file":"get-node.mjs","names":[],"sources":["../../src/actions/get-node.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetNodeInput = z.object({\n id: z.string().describe(\"The globally unique ID of the object to fetch. This ID uniquely identifies any object in the Fly.io system (e.g., Organization, App, Machine, Volume, etc.).\"),\n}).describe(\"Request model for fetching an object by its globally unique ID using the node query.\");\nconst FlyGetNode_NodeObjectSchema = z.object({\n id: z.string().describe(\"The globally unique ID of the object.\").nullable(),\n __typename: z.string().describe(\"The actual type of the object (e.g., Organization, App, Machine, Volume).\").nullable(),\n}).describe(\"The node object returned in the data field.\");\nconst FlyGetNode_NodeDataSchema = z.object({\n node: z.preprocess((value) => (value === null ? undefined : value), FlyGetNode_NodeObjectSchema.optional()),\n}).describe(\"The data field containing the node object.\");\nconst FlyGetNode_GraphQLErrorLocationSchema = z.object({\n line: z.number().int().describe(\"Line number in the query.\").nullable(),\n column: z.number().int().describe(\"Column number in the query.\").nullable(),\n}).describe(\"Location in the GraphQL query where an error occurred.\");\nconst FlyGetNode_GraphQLErrorSchema = z.object({\n path: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"Path to the field that caused the error.\").optional()),\n message: z.string().describe(\"The error message.\").nullable(),\n locations: z.preprocess((value) => (value === null ? undefined : value), z.array(FlyGetNode_GraphQLErrorLocationSchema).describe(\"Source locations of the error in the query.\").optional()),\n}).describe(\"GraphQL error object.\");\nexport const FlyGetNodeOutput = z.object({\n data: z.preprocess((value) => (value === null ? undefined : value), FlyGetNode_NodeDataSchema.optional()),\n errors: z.preprocess((value) => (value === null ? undefined : value), z.array(FlyGetNode_GraphQLErrorSchema).describe(\"Any errors returned by the GraphQL API.\").optional()),\n}).describe(\"Response model for the node query.\\n\\nThe node query follows the GraphQL Global Object Identification pattern.\\nReturns a Node interface object whose actual type depends on the ID provided.\");\n\nexport const flyGetNode = action(\"FLY_GET_NODE\", {\n slug: \"fly-get-node\",\n name: \"Get Node by ID\",\n description: \"Tool to fetch an object by its globally unique ID using Fly.io's GraphQL node query. Returns a Node interface object with id and __typename fields. Use when you need to retrieve any Fly.io object by its ID.\",\n input: FlyGetNodeInput,\n output: FlyGetNodeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kBAAkB,EAAE,OAAO,EACtC,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J,EACxL,CAAC,CAAC,CAAC,SAAS,sFAAsF;AAClG,MAAM,8BAA8B,EAAE,OAAO;CAC3C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,4BAA4B,EAAE,OAAO,EACzC,MAAM,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,4BAA4B,SAAS,CAAC,EAC5G,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,wCAAwC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,gCAAgC,EAAE,OAAO;CAC7C,MAAM,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC;CACvJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC5D,WAAW,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC;AAC5L,CAAC,CAAC,CAAC,SAAS,uBAAuB;AAMnC,MAAa,aAAa,OAAO,gBAAgB;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV8B,EAAE,OAAO;EACvC,MAAM,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,0BAA0B,SAAS,CAAC;EACxG,QAAQ,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC;CAC7K,CAAC,CAAC,CAAC,SAAS,+LAOF;AACV,CAAC"}
|
|
@@ -3,17 +3,17 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-organization.ts
|
|
4
4
|
const FlyGetOrganizationInput = zod.z.object({ slug: zod.z.string().describe("The organization slug to look up. This is a human-readable identifier for the Fly.io organization (e.g., 'personal', 'my-org').") }).describe("Request model for finding a Fly.io organization by slug.");
|
|
5
5
|
const FlyGetOrganization_GraphQLErrorLocationSchema = zod.z.object({
|
|
6
|
-
line: zod.z.number().int().describe("Line number in the query where the error occurred"),
|
|
7
|
-
column: zod.z.number().int().describe("Column number in the query where the error occurred")
|
|
6
|
+
line: zod.z.number().int().describe("Line number in the query where the error occurred").nullable(),
|
|
7
|
+
column: zod.z.number().int().describe("Column number in the query where the error occurred").nullable()
|
|
8
8
|
}).describe("Location in the GraphQL query where an error occurred.");
|
|
9
9
|
const FlyGetOrganization_GraphQLErrorSchema = zod.z.object({
|
|
10
|
-
path: zod.z.array(zod.z.union([zod.z.string(), zod.z.number().int()])).describe("Path to the field that caused the error (array of strings and integers)").
|
|
11
|
-
message: zod.z.string().describe("Error message describing what went wrong"),
|
|
12
|
-
locations: zod.z.array(FlyGetOrganization_GraphQLErrorLocationSchema).describe("Locations in the query where the error occurred").
|
|
10
|
+
path: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(zod.z.union([zod.z.string(), zod.z.number().int()])).describe("Path to the field that caused the error (array of strings and integers)").optional()),
|
|
11
|
+
message: zod.z.string().describe("Error message describing what went wrong").nullable(),
|
|
12
|
+
locations: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(FlyGetOrganization_GraphQLErrorLocationSchema).describe("Locations in the query where the error occurred").optional())
|
|
13
13
|
}).describe("GraphQL error object.");
|
|
14
14
|
const FlyGetOrganizationOutput = zod.z.object({
|
|
15
|
-
data: zod.z.object({}).describe("Contains the organization data under the 'organization' key").
|
|
16
|
-
errors: zod.z.array(FlyGetOrganization_GraphQLErrorSchema).describe("Array of errors if the query failed").
|
|
15
|
+
data: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.object({}).describe("Contains the organization data under the 'organization' key").optional()),
|
|
16
|
+
errors: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(FlyGetOrganization_GraphQLErrorSchema).describe("Array of errors if the query failed").optional())
|
|
17
17
|
}).describe("Response model for the organization query.");
|
|
18
18
|
const flyGetOrganization = require_action.action("FLY_GET_ORGANIZATION", {
|
|
19
19
|
slug: "fly-get-organization",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-organization.cjs","names":["z","action"],"sources":["../../src/actions/get-organization.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetOrganizationInput
|
|
1
|
+
{"version":3,"file":"get-organization.cjs","names":["z","action"],"sources":["../../src/actions/get-organization.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetOrganizationInput = z.object({\n slug: z.string().describe(\"The organization slug to look up. This is a human-readable identifier for the Fly.io organization (e.g., 'personal', 'my-org').\"),\n}).describe(\"Request model for finding a Fly.io organization by slug.\");\nconst FlyGetOrganization_GraphQLErrorLocationSchema = z.object({\n line: z.number().int().describe(\"Line number in the query where the error occurred\").nullable(),\n column: z.number().int().describe(\"Column number in the query where the error occurred\").nullable(),\n}).describe(\"Location in the GraphQL query where an error occurred.\");\nconst FlyGetOrganization_GraphQLErrorSchema = z.object({\n path: z.preprocess((value) => (value === null ? undefined : value), z.array(z.union([z.string(), z.number().int()])).describe(\"Path to the field that caused the error (array of strings and integers)\").optional()),\n message: z.string().describe(\"Error message describing what went wrong\").nullable(),\n locations: z.preprocess((value) => (value === null ? undefined : value), z.array(FlyGetOrganization_GraphQLErrorLocationSchema).describe(\"Locations in the query where the error occurred\").optional()),\n}).describe(\"GraphQL error object.\");\nexport const FlyGetOrganizationOutput = z.object({\n data: z.preprocess((value) => (value === null ? undefined : value), z.object({}).describe(\"Contains the organization data under the 'organization' key\").optional()),\n errors: z.preprocess((value) => (value === null ? undefined : value), z.array(FlyGetOrganization_GraphQLErrorSchema).describe(\"Array of errors if the query failed\").optional()),\n}).describe(\"Response model for the organization query.\");\n\nexport const flyGetOrganization = action(\"FLY_GET_ORGANIZATION\", {\n slug: \"fly-get-organization\",\n name: \"Get Organization\",\n description: \"Tool to find a Fly.io organization by slug using the GraphQL API. Use when you need to retrieve organization details including ID, name and slug.\",\n input: FlyGetOrganizationInput,\n output: FlyGetOrganizationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,EAC7J,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC;CACnN,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAClF,WAAWA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC;AACxM,CAAC,CAAC,CAAC,SAAS,uBAAuB;AACnC,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC;CACnK,QAAQA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC;AACjL,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,33 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-organization.d.ts
|
|
4
|
-
declare const FlyGetOrganizationInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const FlyGetOrganizationInput: z.ZodObject<{
|
|
5
|
+
slug: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const FlyGetOrganizationOutput: z.ZodObject<{
|
|
8
|
+
data: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{}, z.core.$strip>>>;
|
|
9
|
+
errors: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10
|
+
path: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>>;
|
|
11
|
+
message: z.ZodNullable<z.ZodString>;
|
|
12
|
+
locations: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
13
|
+
line: z.ZodNullable<z.ZodNumber>;
|
|
14
|
+
column: z.ZodNullable<z.ZodNumber>;
|
|
15
|
+
}, z.core.$strip>>>>;
|
|
16
|
+
}, z.core.$strip>>>>;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
declare const flyGetOrganization: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
|
+
slug: string;
|
|
20
|
+
}, {
|
|
21
|
+
data?: Record<string, never> | undefined;
|
|
22
|
+
errors?: {
|
|
23
|
+
message: string | null;
|
|
24
|
+
path?: (string | number)[] | undefined;
|
|
25
|
+
locations?: {
|
|
26
|
+
line: number | null;
|
|
27
|
+
column: number | null;
|
|
28
|
+
}[] | undefined;
|
|
29
|
+
}[] | undefined;
|
|
30
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
31
|
//#endregion
|
|
8
32
|
export { flyGetOrganization };
|
|
9
33
|
//# sourceMappingURL=get-organization.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-organization.d.cts","names":[],"sources":["../../src/actions/get-organization.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"get-organization.d.cts","names":[],"sources":["../../src/actions/get-organization.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAYvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;cAKxB,kBAAA,gCAAkB,wBAAA;;;SAM7B,MAAA"}
|
|
@@ -1,9 +1,33 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-organization.d.ts
|
|
4
|
-
declare const FlyGetOrganizationInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const FlyGetOrganizationInput: z.ZodObject<{
|
|
5
|
+
slug: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const FlyGetOrganizationOutput: z.ZodObject<{
|
|
8
|
+
data: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{}, z.core.$strip>>>;
|
|
9
|
+
errors: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10
|
+
path: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>>;
|
|
11
|
+
message: z.ZodNullable<z.ZodString>;
|
|
12
|
+
locations: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
13
|
+
line: z.ZodNullable<z.ZodNumber>;
|
|
14
|
+
column: z.ZodNullable<z.ZodNumber>;
|
|
15
|
+
}, z.core.$strip>>>>;
|
|
16
|
+
}, z.core.$strip>>>>;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
declare const flyGetOrganization: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
|
+
slug: string;
|
|
20
|
+
}, {
|
|
21
|
+
data?: Record<string, never> | undefined;
|
|
22
|
+
errors?: {
|
|
23
|
+
message: string | null;
|
|
24
|
+
path?: (string | number)[] | undefined;
|
|
25
|
+
locations?: {
|
|
26
|
+
line: number | null;
|
|
27
|
+
column: number | null;
|
|
28
|
+
}[] | undefined;
|
|
29
|
+
}[] | undefined;
|
|
30
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
31
|
//#endregion
|
|
8
32
|
export { flyGetOrganization };
|
|
9
33
|
//# sourceMappingURL=get-organization.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-organization.d.mts","names":[],"sources":["../../src/actions/get-organization.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"get-organization.d.mts","names":[],"sources":["../../src/actions/get-organization.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAYvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;cAKxB,kBAAA,gCAAkB,wBAAA;;;SAM7B,MAAA"}
|
|
@@ -3,13 +3,13 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/get-organization.ts
|
|
4
4
|
const FlyGetOrganizationInput = z.object({ slug: z.string().describe("The organization slug to look up. This is a human-readable identifier for the Fly.io organization (e.g., 'personal', 'my-org').") }).describe("Request model for finding a Fly.io organization by slug.");
|
|
5
5
|
const FlyGetOrganization_GraphQLErrorLocationSchema = z.object({
|
|
6
|
-
line: z.number().int().describe("Line number in the query where the error occurred"),
|
|
7
|
-
column: z.number().int().describe("Column number in the query where the error occurred")
|
|
6
|
+
line: z.number().int().describe("Line number in the query where the error occurred").nullable(),
|
|
7
|
+
column: z.number().int().describe("Column number in the query where the error occurred").nullable()
|
|
8
8
|
}).describe("Location in the GraphQL query where an error occurred.");
|
|
9
9
|
const FlyGetOrganization_GraphQLErrorSchema = z.object({
|
|
10
|
-
path: z.array(z.union([z.string(), z.number().int()])).describe("Path to the field that caused the error (array of strings and integers)").
|
|
11
|
-
message: z.string().describe("Error message describing what went wrong"),
|
|
12
|
-
locations: z.array(FlyGetOrganization_GraphQLErrorLocationSchema).describe("Locations in the query where the error occurred").
|
|
10
|
+
path: z.preprocess((value) => value === null ? void 0 : value, z.array(z.union([z.string(), z.number().int()])).describe("Path to the field that caused the error (array of strings and integers)").optional()),
|
|
11
|
+
message: z.string().describe("Error message describing what went wrong").nullable(),
|
|
12
|
+
locations: z.preprocess((value) => value === null ? void 0 : value, z.array(FlyGetOrganization_GraphQLErrorLocationSchema).describe("Locations in the query where the error occurred").optional())
|
|
13
13
|
}).describe("GraphQL error object.");
|
|
14
14
|
const flyGetOrganization = action("FLY_GET_ORGANIZATION", {
|
|
15
15
|
slug: "fly-get-organization",
|
|
@@ -17,8 +17,8 @@ const flyGetOrganization = action("FLY_GET_ORGANIZATION", {
|
|
|
17
17
|
description: "Tool to find a Fly.io organization by slug using the GraphQL API. Use when you need to retrieve organization details including ID, name and slug.",
|
|
18
18
|
input: FlyGetOrganizationInput,
|
|
19
19
|
output: z.object({
|
|
20
|
-
data: z.object({}).describe("Contains the organization data under the 'organization' key").
|
|
21
|
-
errors: z.array(FlyGetOrganization_GraphQLErrorSchema).describe("Array of errors if the query failed").
|
|
20
|
+
data: z.preprocess((value) => value === null ? void 0 : value, z.object({}).describe("Contains the organization data under the 'organization' key").optional()),
|
|
21
|
+
errors: z.preprocess((value) => value === null ? void 0 : value, z.array(FlyGetOrganization_GraphQLErrorSchema).describe("Array of errors if the query failed").optional())
|
|
22
22
|
}).describe("Response model for the organization query.")
|
|
23
23
|
});
|
|
24
24
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-organization.mjs","names":[],"sources":["../../src/actions/get-organization.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetOrganizationInput
|
|
1
|
+
{"version":3,"file":"get-organization.mjs","names":[],"sources":["../../src/actions/get-organization.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetOrganizationInput = z.object({\n slug: z.string().describe(\"The organization slug to look up. This is a human-readable identifier for the Fly.io organization (e.g., 'personal', 'my-org').\"),\n}).describe(\"Request model for finding a Fly.io organization by slug.\");\nconst FlyGetOrganization_GraphQLErrorLocationSchema = z.object({\n line: z.number().int().describe(\"Line number in the query where the error occurred\").nullable(),\n column: z.number().int().describe(\"Column number in the query where the error occurred\").nullable(),\n}).describe(\"Location in the GraphQL query where an error occurred.\");\nconst FlyGetOrganization_GraphQLErrorSchema = z.object({\n path: z.preprocess((value) => (value === null ? undefined : value), z.array(z.union([z.string(), z.number().int()])).describe(\"Path to the field that caused the error (array of strings and integers)\").optional()),\n message: z.string().describe(\"Error message describing what went wrong\").nullable(),\n locations: z.preprocess((value) => (value === null ? undefined : value), z.array(FlyGetOrganization_GraphQLErrorLocationSchema).describe(\"Locations in the query where the error occurred\").optional()),\n}).describe(\"GraphQL error object.\");\nexport const FlyGetOrganizationOutput = z.object({\n data: z.preprocess((value) => (value === null ? undefined : value), z.object({}).describe(\"Contains the organization data under the 'organization' key\").optional()),\n errors: z.preprocess((value) => (value === null ? undefined : value), z.array(FlyGetOrganization_GraphQLErrorSchema).describe(\"Array of errors if the query failed\").optional()),\n}).describe(\"Response model for the organization query.\");\n\nexport const flyGetOrganization = action(\"FLY_GET_ORGANIZATION\", {\n slug: \"fly-get-organization\",\n name: \"Get Organization\",\n description: \"Tool to find a Fly.io organization by slug using the GraphQL API. Use when you need to retrieve organization details including ID, name and slug.\",\n input: FlyGetOrganizationInput,\n output: FlyGetOrganizationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,EAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,EAC7J,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,gDAAgD,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,wCAAwC,EAAE,OAAO;CACrD,MAAM,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC;CACnN,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAClF,WAAW,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC;AACxM,CAAC,CAAC,CAAC,SAAS,uBAAuB;AAMnC,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVsC,EAAE,OAAO;EAC/C,MAAM,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC;EACnK,QAAQ,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC;CACjL,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
|
|
@@ -2,15 +2,15 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/get-personal-organization.ts
|
|
4
4
|
const FlyGetPersonalOrganizationInput = zod.z.object({}).describe("Request to retrieve personal organization details.");
|
|
5
|
-
const FlyGetPersonalOrganization_WireGuardPeersSchema = zod.z.object({ totalCount: zod.z.number().int().describe("Total number of WireGuard peers in the organization.") }).describe("Information about WireGuard peers.");
|
|
6
|
-
const FlyGetPersonalOrganization_LoggedCertificatesSchema = zod.z.object({ totalCount: zod.z.number().int().describe("Total number of logged certificates in the organization.") }).describe("Information about logged certificates.");
|
|
5
|
+
const FlyGetPersonalOrganization_WireGuardPeersSchema = zod.z.object({ totalCount: zod.z.number().int().describe("Total number of WireGuard peers in the organization.").nullable() }).describe("Information about WireGuard peers.");
|
|
6
|
+
const FlyGetPersonalOrganization_LoggedCertificatesSchema = zod.z.object({ totalCount: zod.z.number().int().describe("Total number of logged certificates in the organization.").nullable() }).describe("Information about logged certificates.");
|
|
7
7
|
const FlyGetPersonalOrganization_PersonalOrganizationSchema = zod.z.object({
|
|
8
|
-
name: zod.z.string().describe("Name of the personal organization."),
|
|
9
|
-
creditBalance: zod.z.number().describe("Credit balance in the organization account as a numeric value."),
|
|
8
|
+
name: zod.z.string().describe("Name of the personal organization.").nullable(),
|
|
9
|
+
creditBalance: zod.z.number().describe("Credit balance in the organization account as a numeric value.").nullable(),
|
|
10
10
|
wireGuardPeers: FlyGetPersonalOrganization_WireGuardPeersSchema.nullable(),
|
|
11
|
-
isCreditCardSaved: zod.z.boolean().describe("Whether a credit card is saved on the account."),
|
|
11
|
+
isCreditCardSaved: zod.z.boolean().describe("Whether a credit card is saved on the account.").nullable(),
|
|
12
12
|
loggedCertificates: FlyGetPersonalOrganization_LoggedCertificatesSchema.nullable(),
|
|
13
|
-
creditBalanceFormatted: zod.z.string().describe("Formatted credit balance string (e.g., '$10.50').")
|
|
13
|
+
creditBalanceFormatted: zod.z.string().describe("Formatted credit balance string (e.g., '$10.50').").nullable()
|
|
14
14
|
}).describe("User's personal organization details.");
|
|
15
15
|
const FlyGetPersonalOrganizationOutput = zod.z.object({ personalOrganization: FlyGetPersonalOrganization_PersonalOrganizationSchema.nullable() }).describe("Response containing personal organization details.");
|
|
16
16
|
const flyGetPersonalOrganization = require_action.action("FLY_GET_PERSONAL_ORGANIZATION", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-personal-organization.cjs","names":["z","action"],"sources":["../../src/actions/get-personal-organization.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetPersonalOrganizationInput
|
|
1
|
+
{"version":3,"file":"get-personal-organization.cjs","names":["z","action"],"sources":["../../src/actions/get-personal-organization.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetPersonalOrganizationInput = z.object({}).describe(\"Request to retrieve personal organization details.\");\nconst FlyGetPersonalOrganization_WireGuardPeersSchema = z.object({\n totalCount: z.number().int().describe(\"Total number of WireGuard peers in the organization.\").nullable(),\n}).describe(\"Information about WireGuard peers.\");\nconst FlyGetPersonalOrganization_LoggedCertificatesSchema = z.object({\n totalCount: z.number().int().describe(\"Total number of logged certificates in the organization.\").nullable(),\n}).describe(\"Information about logged certificates.\");\nconst FlyGetPersonalOrganization_PersonalOrganizationSchema = z.object({\n name: z.string().describe(\"Name of the personal organization.\").nullable(),\n creditBalance: z.number().describe(\"Credit balance in the organization account as a numeric value.\").nullable(),\n wireGuardPeers: FlyGetPersonalOrganization_WireGuardPeersSchema.nullable(),\n isCreditCardSaved: z.boolean().describe(\"Whether a credit card is saved on the account.\").nullable(),\n loggedCertificates: FlyGetPersonalOrganization_LoggedCertificatesSchema.nullable(),\n creditBalanceFormatted: z.string().describe(\"Formatted credit balance string (e.g., '$10.50').\").nullable(),\n}).describe(\"User's personal organization details.\");\nexport const FlyGetPersonalOrganizationOutput = z.object({\n personalOrganization: FlyGetPersonalOrganization_PersonalOrganizationSchema.nullable(),\n}).describe(\"Response containing personal organization details.\");\n\nexport const flyGetPersonalOrganization = action(\"FLY_GET_PERSONAL_ORGANIZATION\", {\n slug: \"fly-get-personal-organization\",\n name: \"Get Personal Organization\",\n description: \"Tool to retrieve the user's personal organization details from Fly.io. Use when you need to check credit balance, saved payment methods, certificates, or WireGuard peer information.\",\n input: FlyGetPersonalOrganizationInput,\n output: FlyGetPersonalOrganizationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oDAAoD;AACzH,MAAM,kDAAkDA,IAAAA,EAAE,OAAO,EAC/D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,EACzG,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,sDAAsDA,IAAAA,EAAE,OAAO,EACnE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,EAC7G,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,wDAAwDA,IAAAA,EAAE,OAAO;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC9G,gBAAgB,gDAAgD,SAAS;CACzE,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACnG,oBAAoB,oDAAoD,SAAS;CACjF,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,sBAAsB,sDAAsD,SAAS,EACvF,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,35 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-personal-organization.d.ts
|
|
4
|
-
declare const FlyGetPersonalOrganizationInput: z.
|
|
5
|
-
declare const FlyGetPersonalOrganizationOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const FlyGetPersonalOrganizationInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const FlyGetPersonalOrganizationOutput: z.ZodObject<{
|
|
6
|
+
personalOrganization: z.ZodNullable<z.ZodObject<{
|
|
7
|
+
name: z.ZodNullable<z.ZodString>;
|
|
8
|
+
creditBalance: z.ZodNullable<z.ZodNumber>;
|
|
9
|
+
wireGuardPeers: z.ZodNullable<z.ZodObject<{
|
|
10
|
+
totalCount: z.ZodNullable<z.ZodNumber>;
|
|
11
|
+
}, z.core.$strip>>;
|
|
12
|
+
isCreditCardSaved: z.ZodNullable<z.ZodBoolean>;
|
|
13
|
+
loggedCertificates: z.ZodNullable<z.ZodObject<{
|
|
14
|
+
totalCount: z.ZodNullable<z.ZodNumber>;
|
|
15
|
+
}, z.core.$strip>>;
|
|
16
|
+
creditBalanceFormatted: z.ZodNullable<z.ZodString>;
|
|
17
|
+
}, z.core.$strip>>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
declare const flyGetPersonalOrganization: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, {
|
|
20
|
+
personalOrganization: {
|
|
21
|
+
name: string | null;
|
|
22
|
+
creditBalance: number | null;
|
|
23
|
+
wireGuardPeers: {
|
|
24
|
+
totalCount: number | null;
|
|
25
|
+
} | null;
|
|
26
|
+
isCreditCardSaved: boolean | null;
|
|
27
|
+
loggedCertificates: {
|
|
28
|
+
totalCount: number | null;
|
|
29
|
+
} | null;
|
|
30
|
+
creditBalanceFormatted: string | null;
|
|
31
|
+
} | null;
|
|
32
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
33
|
//#endregion
|
|
8
34
|
export { flyGetPersonalOrganization };
|
|
9
35
|
//# sourceMappingURL=get-personal-organization.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-personal-organization.d.cts","names":[],"sources":["../../src/actions/get-personal-organization.ts"],"mappings":";;;cAIa,+BAAA,
|
|
1
|
+
{"version":3,"file":"get-personal-organization.d.cts","names":[],"sources":["../../src/actions/get-personal-organization.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAe/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAIhC,0BAAA,gCAA0B,wBAAA,CAAA,MAAA"}
|
|
@@ -1,9 +1,35 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-personal-organization.d.ts
|
|
4
|
-
declare const FlyGetPersonalOrganizationInput: z.
|
|
5
|
-
declare const FlyGetPersonalOrganizationOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const FlyGetPersonalOrganizationInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const FlyGetPersonalOrganizationOutput: z.ZodObject<{
|
|
6
|
+
personalOrganization: z.ZodNullable<z.ZodObject<{
|
|
7
|
+
name: z.ZodNullable<z.ZodString>;
|
|
8
|
+
creditBalance: z.ZodNullable<z.ZodNumber>;
|
|
9
|
+
wireGuardPeers: z.ZodNullable<z.ZodObject<{
|
|
10
|
+
totalCount: z.ZodNullable<z.ZodNumber>;
|
|
11
|
+
}, z.core.$strip>>;
|
|
12
|
+
isCreditCardSaved: z.ZodNullable<z.ZodBoolean>;
|
|
13
|
+
loggedCertificates: z.ZodNullable<z.ZodObject<{
|
|
14
|
+
totalCount: z.ZodNullable<z.ZodNumber>;
|
|
15
|
+
}, z.core.$strip>>;
|
|
16
|
+
creditBalanceFormatted: z.ZodNullable<z.ZodString>;
|
|
17
|
+
}, z.core.$strip>>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
declare const flyGetPersonalOrganization: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, {
|
|
20
|
+
personalOrganization: {
|
|
21
|
+
name: string | null;
|
|
22
|
+
creditBalance: number | null;
|
|
23
|
+
wireGuardPeers: {
|
|
24
|
+
totalCount: number | null;
|
|
25
|
+
} | null;
|
|
26
|
+
isCreditCardSaved: boolean | null;
|
|
27
|
+
loggedCertificates: {
|
|
28
|
+
totalCount: number | null;
|
|
29
|
+
} | null;
|
|
30
|
+
creditBalanceFormatted: string | null;
|
|
31
|
+
} | null;
|
|
32
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
33
|
//#endregion
|
|
8
34
|
export { flyGetPersonalOrganization };
|
|
9
35
|
//# sourceMappingURL=get-personal-organization.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-personal-organization.d.mts","names":[],"sources":["../../src/actions/get-personal-organization.ts"],"mappings":";;;cAIa,+BAAA,
|
|
1
|
+
{"version":3,"file":"get-personal-organization.d.mts","names":[],"sources":["../../src/actions/get-personal-organization.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAe/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAIhC,0BAAA,gCAA0B,wBAAA,CAAA,MAAA"}
|
|
@@ -2,15 +2,15 @@ import { action } from "../action.mjs";
|
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region src/actions/get-personal-organization.ts
|
|
4
4
|
const FlyGetPersonalOrganizationInput = z.object({}).describe("Request to retrieve personal organization details.");
|
|
5
|
-
const FlyGetPersonalOrganization_WireGuardPeersSchema = z.object({ totalCount: z.number().int().describe("Total number of WireGuard peers in the organization.") }).describe("Information about WireGuard peers.");
|
|
6
|
-
const FlyGetPersonalOrganization_LoggedCertificatesSchema = z.object({ totalCount: z.number().int().describe("Total number of logged certificates in the organization.") }).describe("Information about logged certificates.");
|
|
5
|
+
const FlyGetPersonalOrganization_WireGuardPeersSchema = z.object({ totalCount: z.number().int().describe("Total number of WireGuard peers in the organization.").nullable() }).describe("Information about WireGuard peers.");
|
|
6
|
+
const FlyGetPersonalOrganization_LoggedCertificatesSchema = z.object({ totalCount: z.number().int().describe("Total number of logged certificates in the organization.").nullable() }).describe("Information about logged certificates.");
|
|
7
7
|
const FlyGetPersonalOrganization_PersonalOrganizationSchema = z.object({
|
|
8
|
-
name: z.string().describe("Name of the personal organization."),
|
|
9
|
-
creditBalance: z.number().describe("Credit balance in the organization account as a numeric value."),
|
|
8
|
+
name: z.string().describe("Name of the personal organization.").nullable(),
|
|
9
|
+
creditBalance: z.number().describe("Credit balance in the organization account as a numeric value.").nullable(),
|
|
10
10
|
wireGuardPeers: FlyGetPersonalOrganization_WireGuardPeersSchema.nullable(),
|
|
11
|
-
isCreditCardSaved: z.boolean().describe("Whether a credit card is saved on the account."),
|
|
11
|
+
isCreditCardSaved: z.boolean().describe("Whether a credit card is saved on the account.").nullable(),
|
|
12
12
|
loggedCertificates: FlyGetPersonalOrganization_LoggedCertificatesSchema.nullable(),
|
|
13
|
-
creditBalanceFormatted: z.string().describe("Formatted credit balance string (e.g., '$10.50').")
|
|
13
|
+
creditBalanceFormatted: z.string().describe("Formatted credit balance string (e.g., '$10.50').").nullable()
|
|
14
14
|
}).describe("User's personal organization details.");
|
|
15
15
|
const flyGetPersonalOrganization = action("FLY_GET_PERSONAL_ORGANIZATION", {
|
|
16
16
|
slug: "fly-get-personal-organization",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-personal-organization.mjs","names":[],"sources":["../../src/actions/get-personal-organization.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetPersonalOrganizationInput
|
|
1
|
+
{"version":3,"file":"get-personal-organization.mjs","names":[],"sources":["../../src/actions/get-personal-organization.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetPersonalOrganizationInput = z.object({}).describe(\"Request to retrieve personal organization details.\");\nconst FlyGetPersonalOrganization_WireGuardPeersSchema = z.object({\n totalCount: z.number().int().describe(\"Total number of WireGuard peers in the organization.\").nullable(),\n}).describe(\"Information about WireGuard peers.\");\nconst FlyGetPersonalOrganization_LoggedCertificatesSchema = z.object({\n totalCount: z.number().int().describe(\"Total number of logged certificates in the organization.\").nullable(),\n}).describe(\"Information about logged certificates.\");\nconst FlyGetPersonalOrganization_PersonalOrganizationSchema = z.object({\n name: z.string().describe(\"Name of the personal organization.\").nullable(),\n creditBalance: z.number().describe(\"Credit balance in the organization account as a numeric value.\").nullable(),\n wireGuardPeers: FlyGetPersonalOrganization_WireGuardPeersSchema.nullable(),\n isCreditCardSaved: z.boolean().describe(\"Whether a credit card is saved on the account.\").nullable(),\n loggedCertificates: FlyGetPersonalOrganization_LoggedCertificatesSchema.nullable(),\n creditBalanceFormatted: z.string().describe(\"Formatted credit balance string (e.g., '$10.50').\").nullable(),\n}).describe(\"User's personal organization details.\");\nexport const FlyGetPersonalOrganizationOutput = z.object({\n personalOrganization: FlyGetPersonalOrganization_PersonalOrganizationSchema.nullable(),\n}).describe(\"Response containing personal organization details.\");\n\nexport const flyGetPersonalOrganization = action(\"FLY_GET_PERSONAL_ORGANIZATION\", {\n slug: \"fly-get-personal-organization\",\n name: \"Get Personal Organization\",\n description: \"Tool to retrieve the user's personal organization details from Fly.io. Use when you need to check credit balance, saved payment methods, certificates, or WireGuard peer information.\",\n input: FlyGetPersonalOrganizationInput,\n output: FlyGetPersonalOrganizationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oDAAoD;AACzH,MAAM,kDAAkD,EAAE,OAAO,EAC/D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,EACzG,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,sDAAsD,EAAE,OAAO,EACnE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,EAC7G,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,wDAAwD,EAAE,OAAO;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC9G,gBAAgB,gDAAgD,SAAS;CACzE,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACnG,oBAAoB,oDAAoD,SAAS;CACjF,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAKnD,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8C,EAAE,OAAO,EACvD,sBAAsB,sDAAsD,SAAS,EACvF,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
|
|
@@ -20,9 +20,9 @@ const FlyGetPlacementsInput = zod.z.object({
|
|
|
20
20
|
volume_size_bytes: zod.z.number().int().describe("Size of volume in bytes to consider in placement.").optional()
|
|
21
21
|
}).describe("Request model for getting placement recommendations for Machines.");
|
|
22
22
|
const FlyGetPlacements_RegionPlacementSchema = zod.z.object({
|
|
23
|
-
count: zod.z.number().int().describe("Number of machines that can be placed in this region."),
|
|
24
|
-
region: zod.z.string().describe("Region code where machines can be placed."),
|
|
25
|
-
concurrency: zod.z.number().int().describe("Concurrency level supported in this region.")
|
|
23
|
+
count: zod.z.number().int().describe("Number of machines that can be placed in this region.").nullable(),
|
|
24
|
+
region: zod.z.string().describe("Region code where machines can be placed.").nullable(),
|
|
25
|
+
concurrency: zod.z.number().int().describe("Concurrency level supported in this region.").nullable()
|
|
26
26
|
}).describe("Placement recommendation for a specific region.");
|
|
27
27
|
const FlyGetPlacementsOutput = zod.z.object({ regions: zod.z.array(FlyGetPlacements_RegionPlacementSchema).describe("List of regions with their placement recommendations, ordered by preference.") }).describe("Response model containing placement recommendations.");
|
|
28
28
|
const flyGetPlacements = require_action.action("FLY_GET_PLACEMENTS", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-placements.cjs","names":["z","action"],"sources":["../../src/actions/get-placements.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetPlacementsInput
|
|
1
|
+
{"version":3,"file":"get-placements.cjs","names":["z","action"],"sources":["../../src/actions/get-placements.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetPlacementsInput = z.object({\n count: z.number().int().describe(\"Number of machines to simulate placement. Defaults to 0, which returns the org-specific limit for each region.\").optional(),\n region: z.string().describe(\"Region expression for placement as a comma-delimited set of regions or aliases. Defaults to '[region],any', to prefer the API endpoint's local region with any other region as fallback.\").optional(),\n compute: z.object({\n cpus: z.number().int().describe(\"Number of CPUs to allocate to the machine.\").optional(),\n gpus: z.number().int().describe(\"Number of GPUs to allocate to the machine.\").optional(),\n cpu_kind: z.string().describe(\"Type of CPU (e.g., 'shared', 'performance'). Determines the CPU architecture and performance characteristics.\").optional(),\n gpu_kind: z.string().describe(\"Type of GPU to allocate (e.g., 'a100-pcie-40gb', 'a100-sxm4-80gb').\").optional(),\n memory_mb: z.number().int().describe(\"Amount of memory in megabytes to allocate to the machine.\").optional(),\n kernel_args: z.array(z.string()).describe(\"Kernel arguments for the machine.\").optional(),\n persist_rootfs: z.string().describe(\"Whether to persist the root filesystem across restarts.\").optional(),\n host_dedication_id: z.string().describe(\"Host dedication ID for dedicated hardware placement.\").optional(),\n}).describe(\"Resource requirements for the Machine to simulate.\").optional(),\n weights: z.object({}).describe(\"Optional weights to override default placement preferences. Higher values indicate stronger preference.\").optional(),\n org_slug: z.string().describe(\"Organization slug identifier (e.g., 'personal' for personal account or your org name).\"),\n volume_name: z.string().describe(\"Name of an existing volume to consider in placement.\").optional(),\n volume_size_bytes: z.number().int().describe(\"Size of volume in bytes to consider in placement.\").optional(),\n}).describe(\"Request model for getting placement recommendations for Machines.\");\nconst FlyGetPlacements_RegionPlacementSchema = z.object({\n count: z.number().int().describe(\"Number of machines that can be placed in this region.\").nullable(),\n region: z.string().describe(\"Region code where machines can be placed.\").nullable(),\n concurrency: z.number().int().describe(\"Concurrency level supported in this region.\").nullable(),\n}).describe(\"Placement recommendation for a specific region.\");\nexport const FlyGetPlacementsOutput = z.object({\n regions: z.array(FlyGetPlacements_RegionPlacementSchema).describe(\"List of regions with their placement recommendations, ordered by preference.\"),\n}).describe(\"Response model containing placement recommendations.\");\n\nexport const flyGetPlacements = action(\"FLY_GET_PLACEMENTS\", {\n slug: \"fly-get-placements\",\n name: \"Get Placements\",\n description: \"Tool to get placement recommendations for Machines in Fly.io regions. Use when you need to determine optimal regions for deploying machines based on resource requirements, volume constraints, and organizational limits.\",\n input: FlyGetPlacementsInput,\n output: FlyGetPlacementsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CAC5J,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0LAA0L,CAAC,CAAC,SAAS;CACjO,SAASA,IAAAA,EAAE,OAAO;EAClB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACvF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;EACxJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EAC9G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EAC3G,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACxF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EACxG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CACnJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF;CACtH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAClG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACnG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAClF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,SAASA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,8EAA8E,EAClJ,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,55 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-placements.d.ts
|
|
4
|
-
declare const FlyGetPlacementsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const FlyGetPlacementsInput: z.ZodObject<{
|
|
5
|
+
count: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
region: z.ZodOptional<z.ZodString>;
|
|
7
|
+
compute: z.ZodOptional<z.ZodObject<{
|
|
8
|
+
cpus: z.ZodOptional<z.ZodNumber>;
|
|
9
|
+
gpus: z.ZodOptional<z.ZodNumber>;
|
|
10
|
+
cpu_kind: z.ZodOptional<z.ZodString>;
|
|
11
|
+
gpu_kind: z.ZodOptional<z.ZodString>;
|
|
12
|
+
memory_mb: z.ZodOptional<z.ZodNumber>;
|
|
13
|
+
kernel_args: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
14
|
+
persist_rootfs: z.ZodOptional<z.ZodString>;
|
|
15
|
+
host_dedication_id: z.ZodOptional<z.ZodString>;
|
|
16
|
+
}, z.core.$strip>>;
|
|
17
|
+
weights: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
|
|
18
|
+
org_slug: z.ZodString;
|
|
19
|
+
volume_name: z.ZodOptional<z.ZodString>;
|
|
20
|
+
volume_size_bytes: z.ZodOptional<z.ZodNumber>;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
declare const FlyGetPlacementsOutput: z.ZodObject<{
|
|
23
|
+
regions: z.ZodArray<z.ZodObject<{
|
|
24
|
+
count: z.ZodNullable<z.ZodNumber>;
|
|
25
|
+
region: z.ZodNullable<z.ZodString>;
|
|
26
|
+
concurrency: z.ZodNullable<z.ZodNumber>;
|
|
27
|
+
}, z.core.$strip>>;
|
|
28
|
+
}, z.core.$strip>;
|
|
29
|
+
declare const flyGetPlacements: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
30
|
+
org_slug: string;
|
|
31
|
+
count?: number | undefined;
|
|
32
|
+
region?: string | undefined;
|
|
33
|
+
compute?: {
|
|
34
|
+
cpus?: number | undefined;
|
|
35
|
+
gpus?: number | undefined;
|
|
36
|
+
cpu_kind?: string | undefined;
|
|
37
|
+
gpu_kind?: string | undefined;
|
|
38
|
+
memory_mb?: number | undefined;
|
|
39
|
+
kernel_args?: string[] | undefined;
|
|
40
|
+
persist_rootfs?: string | undefined;
|
|
41
|
+
host_dedication_id?: string | undefined;
|
|
42
|
+
} | undefined;
|
|
43
|
+
weights?: Record<string, never> | undefined;
|
|
44
|
+
volume_name?: string | undefined;
|
|
45
|
+
volume_size_bytes?: number | undefined;
|
|
46
|
+
}, {
|
|
47
|
+
regions: {
|
|
48
|
+
count: number | null;
|
|
49
|
+
region: string | null;
|
|
50
|
+
concurrency: number | null;
|
|
51
|
+
}[];
|
|
52
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
53
|
//#endregion
|
|
8
54
|
export { flyGetPlacements };
|
|
9
55
|
//# sourceMappingURL=get-placements.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-placements.d.cts","names":[],"sources":["../../src/actions/get-placements.ts"],"mappings":";;;cAIa,qBAAA,
|
|
1
|
+
{"version":3,"file":"get-placements.d.cts","names":[],"sources":["../../src/actions/get-placements.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAuBrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;cAItB,gBAAA,gCAAgB,wBAAA;;;;;;;;;;;;;;YAM3B,MAAA"}
|