@keystrokehq/fly 0.1.2 → 0.1.4
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/actions/add-wire-guard-peer.cjs +1 -1
- package/dist/actions/add-wire-guard-peer.cjs.map +1 -1
- package/dist/actions/add-wire-guard-peer.d.cts +1 -1
- package/dist/actions/add-wire-guard-peer.d.mts +1 -1
- package/dist/actions/add-wire-guard-peer.mjs +1 -1
- package/dist/actions/add-wire-guard-peer.mjs.map +1 -1
- package/dist/actions/check-app-name-availability.cjs +2 -2
- package/dist/actions/check-app-name-availability.cjs.map +1 -1
- package/dist/actions/check-app-name-availability.d.cts +2 -2
- package/dist/actions/check-app-name-availability.d.mts +2 -2
- package/dist/actions/check-app-name-availability.mjs +2 -2
- package/dist/actions/check-app-name-availability.mjs.map +1 -1
- package/dist/actions/check-jobs.cjs +1 -1
- package/dist/actions/check-jobs.cjs.map +1 -1
- package/dist/actions/check-jobs.d.cts +1 -1
- package/dist/actions/check-jobs.d.mts +1 -1
- package/dist/actions/check-jobs.mjs +1 -1
- 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 +2 -2
- package/dist/actions/check-user-only-token.d.mts +2 -2
- 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 +3 -3
- package/dist/actions/create-check-job-run.cjs.map +1 -1
- package/dist/actions/create-check-job-run.d.cts +3 -3
- package/dist/actions/create-check-job-run.d.mts +3 -3
- package/dist/actions/create-check-job-run.mjs +3 -3
- package/dist/actions/create-check-job-run.mjs.map +1 -1
- package/dist/actions/create-check-job.cjs +3 -3
- package/dist/actions/create-check-job.cjs.map +1 -1
- package/dist/actions/create-check-job.d.cts +3 -3
- package/dist/actions/create-check-job.d.mts +3 -3
- package/dist/actions/create-check-job.mjs +3 -3
- package/dist/actions/create-check-job.mjs.map +1 -1
- package/dist/actions/create-delegated-wire-guard-token.cjs +1 -1
- package/dist/actions/create-delegated-wire-guard-token.cjs.map +1 -1
- package/dist/actions/create-delegated-wire-guard-token.d.cts +1 -1
- package/dist/actions/create-delegated-wire-guard-token.d.mts +1 -1
- package/dist/actions/create-delegated-wire-guard-token.mjs +1 -1
- package/dist/actions/create-delegated-wire-guard-token.mjs.map +1 -1
- package/dist/actions/create-third-party-configuration.cjs +3 -3
- package/dist/actions/create-third-party-configuration.cjs.map +1 -1
- package/dist/actions/create-third-party-configuration.d.cts +3 -3
- package/dist/actions/create-third-party-configuration.d.mts +3 -3
- package/dist/actions/create-third-party-configuration.mjs +3 -3
- package/dist/actions/create-third-party-configuration.mjs.map +1 -1
- package/dist/actions/delete-delegated-wire-guard-token.cjs +1 -1
- package/dist/actions/delete-delegated-wire-guard-token.cjs.map +1 -1
- package/dist/actions/delete-delegated-wire-guard-token.d.cts +1 -1
- package/dist/actions/delete-delegated-wire-guard-token.d.mts +1 -1
- package/dist/actions/delete-delegated-wire-guard-token.mjs +1 -1
- package/dist/actions/delete-delegated-wire-guard-token.mjs.map +1 -1
- package/dist/actions/delete-organization.cjs +4 -4
- package/dist/actions/delete-organization.cjs.map +1 -1
- package/dist/actions/delete-organization.d.cts +4 -4
- package/dist/actions/delete-organization.d.mts +4 -4
- package/dist/actions/delete-organization.mjs +4 -4
- package/dist/actions/delete-organization.mjs.map +1 -1
- package/dist/actions/delete-remote-builder.cjs +2 -2
- package/dist/actions/delete-remote-builder.cjs.map +1 -1
- package/dist/actions/delete-remote-builder.d.cts +2 -2
- package/dist/actions/delete-remote-builder.d.mts +2 -2
- package/dist/actions/delete-remote-builder.mjs +2 -2
- package/dist/actions/delete-remote-builder.mjs.map +1 -1
- package/dist/actions/delete-third-party-configuration.cjs +1 -1
- package/dist/actions/delete-third-party-configuration.cjs.map +1 -1
- package/dist/actions/delete-third-party-configuration.d.cts +1 -1
- package/dist/actions/delete-third-party-configuration.d.mts +1 -1
- package/dist/actions/delete-third-party-configuration.mjs +1 -1
- package/dist/actions/delete-third-party-configuration.mjs.map +1 -1
- package/dist/actions/detach-postgres-cluster.cjs +4 -4
- package/dist/actions/detach-postgres-cluster.cjs.map +1 -1
- package/dist/actions/detach-postgres-cluster.d.cts +4 -4
- package/dist/actions/detach-postgres-cluster.d.mts +4 -4
- package/dist/actions/detach-postgres-cluster.mjs +4 -4
- package/dist/actions/detach-postgres-cluster.mjs.map +1 -1
- package/dist/actions/establish-ssh-key.cjs +1 -1
- package/dist/actions/establish-ssh-key.cjs.map +1 -1
- package/dist/actions/establish-ssh-key.d.cts +1 -1
- package/dist/actions/establish-ssh-key.d.mts +1 -1
- package/dist/actions/establish-ssh-key.mjs +1 -1
- package/dist/actions/establish-ssh-key.mjs.map +1 -1
- package/dist/actions/fetch-nodes-by-ids.cjs +1 -1
- package/dist/actions/fetch-nodes-by-ids.cjs.map +1 -1
- package/dist/actions/fetch-nodes-by-ids.d.cts +1 -1
- package/dist/actions/fetch-nodes-by-ids.d.mts +1 -1
- package/dist/actions/fetch-nodes-by-ids.mjs +1 -1
- package/dist/actions/fetch-nodes-by-ids.mjs.map +1 -1
- package/dist/actions/get-add-on-provider.cjs +1 -1
- package/dist/actions/get-add-on-provider.cjs.map +1 -1
- package/dist/actions/get-add-on-provider.d.cts +1 -1
- package/dist/actions/get-add-on-provider.d.mts +1 -1
- package/dist/actions/get-add-on-provider.mjs +1 -1
- package/dist/actions/get-add-on-provider.mjs.map +1 -1
- package/dist/actions/get-add-on.cjs +4 -4
- package/dist/actions/get-add-on.cjs.map +1 -1
- package/dist/actions/get-add-on.d.cts +4 -4
- package/dist/actions/get-add-on.d.mts +4 -4
- package/dist/actions/get-add-on.mjs +4 -4
- package/dist/actions/get-add-on.mjs.map +1 -1
- package/dist/actions/get-app-details.cjs +5 -5
- package/dist/actions/get-app-details.cjs.map +1 -1
- package/dist/actions/get-app-details.d.cts +5 -5
- package/dist/actions/get-app-details.d.mts +5 -5
- package/dist/actions/get-app-details.mjs +5 -5
- package/dist/actions/get-app-details.mjs.map +1 -1
- package/dist/actions/get-certificate.cjs +5 -5
- package/dist/actions/get-certificate.cjs.map +1 -1
- package/dist/actions/get-certificate.d.cts +5 -5
- package/dist/actions/get-certificate.d.mts +5 -5
- package/dist/actions/get-certificate.mjs +5 -5
- package/dist/actions/get-certificate.mjs.map +1 -1
- package/dist/actions/get-current-token-info.cjs +2 -2
- package/dist/actions/get-current-token-info.cjs.map +1 -1
- package/dist/actions/get-current-token-info.d.cts +2 -2
- package/dist/actions/get-current-token-info.d.mts +2 -2
- package/dist/actions/get-current-token-info.mjs +2 -2
- package/dist/actions/get-current-token-info.mjs.map +1 -1
- package/dist/actions/get-latest-image-details.cjs +1 -1
- package/dist/actions/get-latest-image-details.cjs.map +1 -1
- package/dist/actions/get-latest-image-details.d.cts +1 -1
- package/dist/actions/get-latest-image-details.d.mts +1 -1
- package/dist/actions/get-latest-image-details.mjs +1 -1
- 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 +1 -1
- package/dist/actions/get-latest-image-tag.d.mts +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 +5 -5
- package/dist/actions/get-machine.cjs.map +1 -1
- package/dist/actions/get-machine.d.cts +5 -5
- package/dist/actions/get-machine.d.mts +5 -5
- package/dist/actions/get-machine.mjs +5 -5
- package/dist/actions/get-machine.mjs.map +1 -1
- package/dist/actions/get-nearest-region.cjs +1 -1
- package/dist/actions/get-nearest-region.cjs.map +1 -1
- package/dist/actions/get-nearest-region.d.cts +1 -1
- package/dist/actions/get-nearest-region.d.mts +1 -1
- package/dist/actions/get-nearest-region.mjs +1 -1
- package/dist/actions/get-nearest-region.mjs.map +1 -1
- package/dist/actions/get-node.cjs +5 -5
- package/dist/actions/get-node.cjs.map +1 -1
- package/dist/actions/get-node.d.cts +5 -5
- package/dist/actions/get-node.d.mts +5 -5
- package/dist/actions/get-node.mjs +5 -5
- package/dist/actions/get-node.mjs.map +1 -1
- package/dist/actions/get-organization.cjs +4 -4
- package/dist/actions/get-organization.cjs.map +1 -1
- package/dist/actions/get-organization.d.cts +4 -4
- package/dist/actions/get-organization.d.mts +4 -4
- package/dist/actions/get-organization.mjs +4 -4
- package/dist/actions/get-organization.mjs.map +1 -1
- package/dist/actions/get-personal-organization.cjs +4 -4
- package/dist/actions/get-personal-organization.cjs.map +1 -1
- package/dist/actions/get-personal-organization.d.cts +4 -4
- package/dist/actions/get-personal-organization.d.mts +4 -4
- package/dist/actions/get-personal-organization.mjs +4 -4
- 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 +4 -4
- package/dist/actions/get-placements.d.mts +4 -4
- package/dist/actions/get-placements.mjs +3 -3
- package/dist/actions/get-placements.mjs.map +1 -1
- package/dist/actions/get-platform-info.cjs +4 -4
- package/dist/actions/get-platform-info.cjs.map +1 -1
- package/dist/actions/get-platform-info.d.cts +4 -4
- package/dist/actions/get-platform-info.d.mts +4 -4
- package/dist/actions/get-platform-info.mjs +4 -4
- package/dist/actions/get-platform-info.mjs.map +1 -1
- package/dist/actions/get-products.cjs +3 -3
- package/dist/actions/get-products.cjs.map +1 -1
- package/dist/actions/get-products.d.cts +3 -3
- package/dist/actions/get-products.d.mts +3 -3
- package/dist/actions/get-products.mjs +3 -3
- package/dist/actions/get-products.mjs.map +1 -1
- package/dist/actions/get-regions.cjs +2 -2
- package/dist/actions/get-regions.cjs.map +1 -1
- package/dist/actions/get-regions.d.cts +2 -2
- package/dist/actions/get-regions.d.mts +2 -2
- package/dist/actions/get-regions.mjs +2 -2
- package/dist/actions/get-regions.mjs.map +1 -1
- package/dist/actions/get-viewer-info.cjs +3 -3
- package/dist/actions/get-viewer-info.cjs.map +1 -1
- package/dist/actions/get-viewer-info.d.cts +3 -3
- package/dist/actions/get-viewer-info.d.mts +3 -3
- package/dist/actions/get-viewer-info.mjs +3 -3
- package/dist/actions/get-viewer-info.mjs.map +1 -1
- package/dist/actions/issue-certificate.cjs +1 -1
- package/dist/actions/issue-certificate.cjs.map +1 -1
- package/dist/actions/issue-certificate.d.cts +1 -1
- package/dist/actions/issue-certificate.d.mts +1 -1
- package/dist/actions/issue-certificate.mjs +1 -1
- package/dist/actions/issue-certificate.mjs.map +1 -1
- package/dist/actions/list-add-on-plans.cjs +5 -5
- package/dist/actions/list-add-on-plans.cjs.map +1 -1
- package/dist/actions/list-add-on-plans.d.cts +6 -6
- package/dist/actions/list-add-on-plans.d.mts +6 -6
- package/dist/actions/list-add-on-plans.mjs +5 -5
- package/dist/actions/list-add-on-plans.mjs.map +1 -1
- package/dist/actions/list-add-ons.cjs +7 -7
- package/dist/actions/list-add-ons.cjs.map +1 -1
- package/dist/actions/list-add-ons.d.cts +1 -1
- package/dist/actions/list-add-ons.d.mts +1 -1
- package/dist/actions/list-add-ons.mjs +7 -7
- package/dist/actions/list-add-ons.mjs.map +1 -1
- package/dist/actions/list-apps-graphql.cjs +10 -10
- package/dist/actions/list-apps-graphql.cjs.map +1 -1
- package/dist/actions/list-apps-graphql.d.cts +10 -10
- package/dist/actions/list-apps-graphql.d.mts +10 -10
- package/dist/actions/list-apps-graphql.mjs +10 -10
- package/dist/actions/list-apps-graphql.mjs.map +1 -1
- package/dist/actions/list-apps.cjs +3 -3
- package/dist/actions/list-apps.cjs.map +1 -1
- package/dist/actions/list-apps.d.cts +3 -3
- package/dist/actions/list-apps.d.mts +3 -3
- package/dist/actions/list-apps.mjs +3 -3
- package/dist/actions/list-apps.mjs.map +1 -1
- package/dist/actions/list-check-locations.cjs +3 -3
- package/dist/actions/list-check-locations.cjs.map +1 -1
- package/dist/actions/list-check-locations.d.cts +3 -3
- package/dist/actions/list-check-locations.d.mts +3 -3
- package/dist/actions/list-check-locations.mjs +3 -3
- package/dist/actions/list-check-locations.mjs.map +1 -1
- package/dist/actions/list-machines.cjs +2 -2
- package/dist/actions/list-machines.cjs.map +1 -1
- package/dist/actions/list-machines.d.cts +2 -2
- package/dist/actions/list-machines.d.mts +2 -2
- package/dist/actions/list-machines.mjs +2 -2
- package/dist/actions/list-machines.mjs.map +1 -1
- package/dist/actions/list-org-machines.cjs +2 -2
- package/dist/actions/list-org-machines.cjs.map +1 -1
- package/dist/actions/list-org-machines.d.cts +2 -2
- package/dist/actions/list-org-machines.d.mts +2 -2
- package/dist/actions/list-org-machines.mjs +2 -2
- package/dist/actions/list-org-machines.mjs.map +1 -1
- package/dist/actions/remove-wire-guard-peer.cjs +2 -2
- package/dist/actions/remove-wire-guard-peer.cjs.map +1 -1
- package/dist/actions/remove-wire-guard-peer.d.cts +2 -2
- package/dist/actions/remove-wire-guard-peer.d.mts +2 -2
- package/dist/actions/remove-wire-guard-peer.mjs +2 -2
- package/dist/actions/remove-wire-guard-peer.mjs.map +1 -1
- package/dist/actions/set-apps-v2-default-on.cjs +3 -3
- package/dist/actions/set-apps-v2-default-on.cjs.map +1 -1
- package/dist/actions/set-apps-v2-default-on.d.cts +3 -3
- package/dist/actions/set-apps-v2-default-on.d.mts +3 -3
- package/dist/actions/set-apps-v2-default-on.mjs +3 -3
- package/dist/actions/set-apps-v2-default-on.mjs.map +1 -1
- package/dist/actions/update-third-party-configuration.cjs +3 -3
- package/dist/actions/update-third-party-configuration.cjs.map +1 -1
- package/dist/actions/update-third-party-configuration.d.cts +3 -3
- package/dist/actions/update-third-party-configuration.d.mts +3 -3
- package/dist/actions/update-third-party-configuration.mjs +3 -3
- package/dist/actions/update-third-party-configuration.mjs.map +1 -1
- package/dist/actions/validate-config.cjs +2 -2
- package/dist/actions/validate-config.cjs.map +1 -1
- package/dist/actions/validate-config.d.cts +2 -2
- package/dist/actions/validate-config.d.mts +2 -2
- package/dist/actions/validate-config.mjs +2 -2
- 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 +1 -1
- package/dist/actions/validate-wire-guard-peers.d.mts +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 +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -7,14 +7,14 @@ const FlyGetViewerInfo_ViewerInfoSchema = z.object({
|
|
|
7
7
|
avatarUrl: z.string().describe("URL of the user's avatar image").nullable().optional(),
|
|
8
8
|
createdAt: z.string().describe("Account creation timestamp in ISO 8601 format").nullable().optional(),
|
|
9
9
|
featureFlags: z.array(z.string()).describe("List of enabled feature flags for the user").nullable().optional()
|
|
10
|
-
}).describe("Authenticated user's account information.");
|
|
11
|
-
const FlyGetViewerInfo_GetViewerInfoResponseDataSchema = z.object({ viewer: FlyGetViewerInfo_ViewerInfoSchema.nullable() }).describe("GraphQL response data wrapper.");
|
|
10
|
+
}).passthrough().describe("Authenticated user's account information.");
|
|
11
|
+
const FlyGetViewerInfo_GetViewerInfoResponseDataSchema = z.object({ viewer: FlyGetViewerInfo_ViewerInfoSchema.nullable() }).passthrough().describe("GraphQL response data wrapper.");
|
|
12
12
|
const flyGetViewerInfo = action("FLY_GET_VIEWER_INFO", {
|
|
13
13
|
slug: "fly-get-viewer-info",
|
|
14
14
|
name: "Get Viewer Info",
|
|
15
15
|
description: "Tool to retrieve the authenticated user's account information from Fly.io. Use when you need to get the current user's profile details, including avatar, email, creation date, and feature flags.",
|
|
16
16
|
input: FlyGetViewerInfoInput,
|
|
17
|
-
output: z.object({ data: FlyGetViewerInfo_GetViewerInfoResponseDataSchema.nullable() }).describe("Response model for viewer information query.")
|
|
17
|
+
output: z.object({ data: FlyGetViewerInfo_GetViewerInfoResponseDataSchema.nullable() }).passthrough().describe("Response model for viewer information query.")
|
|
18
18
|
});
|
|
19
19
|
//#endregion
|
|
20
20
|
export { flyGetViewerInfo };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-viewer-info.mjs","names":[],"sources":["../../src/actions/get-viewer-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetViewerInfoInput = z.object({\n query: z.string().default(\"{ viewer { avatarUrl createdAt email featureFlags } }\").describe(\"GraphQL query string to retrieve viewer information. Default query fetches avatarUrl, createdAt, email, and featureFlags.\").optional(),\n}).describe(\"Request model for retrieving authenticated user's account information.\");\nconst FlyGetViewerInfo_ViewerInfoSchema = z.object({\n email: z.string().describe(\"User's email address\").nullable().optional(),\n avatarUrl: z.string().describe(\"URL of the user's avatar image\").nullable().optional(),\n createdAt: z.string().describe(\"Account creation timestamp in ISO 8601 format\").nullable().optional(),\n featureFlags: z.array(z.string()).describe(\"List of enabled feature flags for the user\").nullable().optional(),\n}).describe(\"Authenticated user's account information.\");\nconst FlyGetViewerInfo_GetViewerInfoResponseDataSchema = z.object({\n viewer: FlyGetViewerInfo_ViewerInfoSchema.nullable(),\n}).describe(\"GraphQL response data wrapper.\");\nexport const FlyGetViewerInfoOutput = z.object({\n data: FlyGetViewerInfo_GetViewerInfoResponseDataSchema.nullable(),\n}).describe(\"Response model for viewer information query.\");\n\nexport const flyGetViewerInfo = action(\"FLY_GET_VIEWER_INFO\", {\n slug: \"fly-get-viewer-info\",\n name: \"Get Viewer Info\",\n description: \"Tool to retrieve the authenticated user's account information from Fly.io. Use when you need to get the current user's profile details, including avatar, email, creation date, and feature flags.\",\n input: FlyGetViewerInfoInput,\n output: FlyGetViewerInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO,EAC5C,OAAO,EAAE,OAAO,CAAC,CAAC,QAAQ,uDAAuD,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS,EACpO,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,oCAAoC,EAAE,OAAO;CACjD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,2CAA2C;
|
|
1
|
+
{"version":3,"file":"get-viewer-info.mjs","names":[],"sources":["../../src/actions/get-viewer-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetViewerInfoInput = z.object({\n query: z.string().default(\"{ viewer { avatarUrl createdAt email featureFlags } }\").describe(\"GraphQL query string to retrieve viewer information. Default query fetches avatarUrl, createdAt, email, and featureFlags.\").optional(),\n}).describe(\"Request model for retrieving authenticated user's account information.\");\nconst FlyGetViewerInfo_ViewerInfoSchema = z.object({\n email: z.string().describe(\"User's email address\").nullable().optional(),\n avatarUrl: z.string().describe(\"URL of the user's avatar image\").nullable().optional(),\n createdAt: z.string().describe(\"Account creation timestamp in ISO 8601 format\").nullable().optional(),\n featureFlags: z.array(z.string()).describe(\"List of enabled feature flags for the user\").nullable().optional(),\n}).passthrough().describe(\"Authenticated user's account information.\");\nconst FlyGetViewerInfo_GetViewerInfoResponseDataSchema = z.object({\n viewer: FlyGetViewerInfo_ViewerInfoSchema.nullable(),\n}).passthrough().describe(\"GraphQL response data wrapper.\");\nexport const FlyGetViewerInfoOutput = z.object({\n data: FlyGetViewerInfo_GetViewerInfoResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response model for viewer information query.\");\n\nexport const flyGetViewerInfo = action(\"FLY_GET_VIEWER_INFO\", {\n slug: \"fly-get-viewer-info\",\n name: \"Get Viewer Info\",\n description: \"Tool to retrieve the authenticated user's account information from Fly.io. Use when you need to get the current user's profile details, including avatar, email, creation date, and feature flags.\",\n input: FlyGetViewerInfoInput,\n output: FlyGetViewerInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO,EAC5C,OAAO,EAAE,OAAO,CAAC,CAAC,QAAQ,uDAAuD,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS,EACpO,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,oCAAoC,EAAE,OAAO;CACjD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAM,mDAAmD,EAAE,OAAO,EAChE,QAAQ,kCAAkC,SAAS,EACrD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAK1D,MAAa,mBAAmB,OAAO,uBAAuB;CAC5D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToC,EAAE,OAAO,EAC7C,MAAM,iDAAiD,SAAS,EAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
|
|
@@ -12,7 +12,7 @@ const FlyIssueCertificateInput = zod.z.object({
|
|
|
12
12
|
const FlyIssueCertificateOutput = zod.z.object({
|
|
13
13
|
certificate: zod.z.string().describe("The issued SSH certificate in OpenSSH format (ssh-ed25519-cert-v01@openssh.com)").nullable().optional(),
|
|
14
14
|
client_mutation_id: zod.z.string().describe("Echo of the input mutation ID").nullable().optional()
|
|
15
|
-
}).describe("Response model for the issue certificate endpoint.");
|
|
15
|
+
}).passthrough().describe("Response model for the issue certificate endpoint.");
|
|
16
16
|
const flyIssueCertificate = require_action.action("FLY_ISSUE_CERTIFICATE", {
|
|
17
17
|
slug: "fly-issue-certificate",
|
|
18
18
|
name: "Issue Certificate",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"issue-certificate.cjs","names":["z","action"],"sources":["../../src/actions/issue-certificate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyIssueCertificateInput = z.object({\n app_names: z.array(z.string()).describe(\"The names of the apps this certificate will be limited to accessing\").optional(),\n principals: z.array(z.string()).describe(\"SSH principals for certificate (e.g. ['fly', 'root'])\").optional(),\n public_key: z.string().describe(\"The openssh-formatted ED25519 public key to issue the certificate for\").optional(),\n valid_hours: z.number().int().describe(\"Hours for which certificate will be valid\").optional(),\n organization_id: z.string().describe(\"The node ID of the organization\"),\n client_mutation_id: z.string().describe(\"Standard mutation identifier\").optional(),\n}).describe(\"Request model for issuing an SSH certificate for a Fly.io organization.\");\nexport const FlyIssueCertificateOutput = z.object({\n certificate: z.string().describe(\"The issued SSH certificate in OpenSSH format (ssh-ed25519-cert-v01@openssh.com)\").nullable().optional(),\n client_mutation_id: z.string().describe(\"Echo of the input mutation ID\").nullable().optional(),\n}).describe(\"Response model for the issue certificate endpoint.\");\n\nexport const flyIssueCertificate = action(\"FLY_ISSUE_CERTIFICATE\", {\n slug: \"fly-issue-certificate\",\n name: \"Issue Certificate\",\n description: \"Tool to issue an SSH certificate for accessing Fly.io infrastructure. Returns an SSH certificate in OpenSSH format. Use when you need to authenticate SSH access to Fly.io machines or apps.\",\n input: FlyIssueCertificateInput,\n output: FlyIssueCertificateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACxH,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC3G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAClH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC7F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CACtE,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,oDAAoD;
|
|
1
|
+
{"version":3,"file":"issue-certificate.cjs","names":["z","action"],"sources":["../../src/actions/issue-certificate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyIssueCertificateInput = z.object({\n app_names: z.array(z.string()).describe(\"The names of the apps this certificate will be limited to accessing\").optional(),\n principals: z.array(z.string()).describe(\"SSH principals for certificate (e.g. ['fly', 'root'])\").optional(),\n public_key: z.string().describe(\"The openssh-formatted ED25519 public key to issue the certificate for\").optional(),\n valid_hours: z.number().int().describe(\"Hours for which certificate will be valid\").optional(),\n organization_id: z.string().describe(\"The node ID of the organization\"),\n client_mutation_id: z.string().describe(\"Standard mutation identifier\").optional(),\n}).describe(\"Request model for issuing an SSH certificate for a Fly.io organization.\");\nexport const FlyIssueCertificateOutput = z.object({\n certificate: z.string().describe(\"The issued SSH certificate in OpenSSH format (ssh-ed25519-cert-v01@openssh.com)\").nullable().optional(),\n client_mutation_id: z.string().describe(\"Echo of the input mutation ID\").nullable().optional(),\n}).passthrough().describe(\"Response model for the issue certificate endpoint.\");\n\nexport const flyIssueCertificate = action(\"FLY_ISSUE_CERTIFICATE\", {\n slug: \"fly-issue-certificate\",\n name: \"Issue Certificate\",\n description: \"Tool to issue an SSH certificate for accessing Fly.io infrastructure. Returns an SSH certificate in OpenSSH format. Use when you need to authenticate SSH access to Fly.io machines or apps.\",\n input: FlyIssueCertificateInput,\n output: FlyIssueCertificateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACxH,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC3G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAClH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC7F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CACtE,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -12,7 +12,7 @@ declare const FlyIssueCertificateInput: z.ZodObject<{
|
|
|
12
12
|
declare const FlyIssueCertificateOutput: z.ZodObject<{
|
|
13
13
|
certificate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
client_mutation_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const flyIssueCertificate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
organization_id: string;
|
|
18
18
|
app_names?: string[] | undefined;
|
|
@@ -12,7 +12,7 @@ declare const FlyIssueCertificateInput: z.ZodObject<{
|
|
|
12
12
|
declare const FlyIssueCertificateOutput: z.ZodObject<{
|
|
13
13
|
certificate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
client_mutation_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const flyIssueCertificate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
organization_id: string;
|
|
18
18
|
app_names?: string[] | undefined;
|
|
@@ -15,7 +15,7 @@ const flyIssueCertificate = action("FLY_ISSUE_CERTIFICATE", {
|
|
|
15
15
|
output: z.object({
|
|
16
16
|
certificate: z.string().describe("The issued SSH certificate in OpenSSH format (ssh-ed25519-cert-v01@openssh.com)").nullable().optional(),
|
|
17
17
|
client_mutation_id: z.string().describe("Echo of the input mutation ID").nullable().optional()
|
|
18
|
-
}).describe("Response model for the issue certificate endpoint.")
|
|
18
|
+
}).passthrough().describe("Response model for the issue certificate endpoint.")
|
|
19
19
|
});
|
|
20
20
|
//#endregion
|
|
21
21
|
export { flyIssueCertificate };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"issue-certificate.mjs","names":[],"sources":["../../src/actions/issue-certificate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyIssueCertificateInput = z.object({\n app_names: z.array(z.string()).describe(\"The names of the apps this certificate will be limited to accessing\").optional(),\n principals: z.array(z.string()).describe(\"SSH principals for certificate (e.g. ['fly', 'root'])\").optional(),\n public_key: z.string().describe(\"The openssh-formatted ED25519 public key to issue the certificate for\").optional(),\n valid_hours: z.number().int().describe(\"Hours for which certificate will be valid\").optional(),\n organization_id: z.string().describe(\"The node ID of the organization\"),\n client_mutation_id: z.string().describe(\"Standard mutation identifier\").optional(),\n}).describe(\"Request model for issuing an SSH certificate for a Fly.io organization.\");\nexport const FlyIssueCertificateOutput = z.object({\n certificate: z.string().describe(\"The issued SSH certificate in OpenSSH format (ssh-ed25519-cert-v01@openssh.com)\").nullable().optional(),\n client_mutation_id: z.string().describe(\"Echo of the input mutation ID\").nullable().optional(),\n}).describe(\"Response model for the issue certificate endpoint.\");\n\nexport const flyIssueCertificate = action(\"FLY_ISSUE_CERTIFICATE\", {\n slug: \"fly-issue-certificate\",\n name: \"Issue Certificate\",\n description: \"Tool to issue an SSH certificate for accessing Fly.io infrastructure. Returns an SSH certificate in OpenSSH format. Use when you need to authenticate SSH access to Fly.io machines or apps.\",\n input: FlyIssueCertificateInput,\n output: FlyIssueCertificateOutput,\n});\n"],"mappings":";;AAiBA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBsC,EAAE,OAAO;EAC/C,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EACxH,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAC3G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EAClH,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAC7F,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;EACtE,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnF,CAAC,CAAC,CAAC,SAAS,yEAUH;CACP,QAVuC,EAAE,OAAO;EAChD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxI,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"issue-certificate.mjs","names":[],"sources":["../../src/actions/issue-certificate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyIssueCertificateInput = z.object({\n app_names: z.array(z.string()).describe(\"The names of the apps this certificate will be limited to accessing\").optional(),\n principals: z.array(z.string()).describe(\"SSH principals for certificate (e.g. ['fly', 'root'])\").optional(),\n public_key: z.string().describe(\"The openssh-formatted ED25519 public key to issue the certificate for\").optional(),\n valid_hours: z.number().int().describe(\"Hours for which certificate will be valid\").optional(),\n organization_id: z.string().describe(\"The node ID of the organization\"),\n client_mutation_id: z.string().describe(\"Standard mutation identifier\").optional(),\n}).describe(\"Request model for issuing an SSH certificate for a Fly.io organization.\");\nexport const FlyIssueCertificateOutput = z.object({\n certificate: z.string().describe(\"The issued SSH certificate in OpenSSH format (ssh-ed25519-cert-v01@openssh.com)\").nullable().optional(),\n client_mutation_id: z.string().describe(\"Echo of the input mutation ID\").nullable().optional(),\n}).passthrough().describe(\"Response model for the issue certificate endpoint.\");\n\nexport const flyIssueCertificate = action(\"FLY_ISSUE_CERTIFICATE\", {\n slug: \"fly-issue-certificate\",\n name: \"Issue Certificate\",\n description: \"Tool to issue an SSH certificate for accessing Fly.io infrastructure. Returns an SSH certificate in OpenSSH format. Use when you need to authenticate SSH access to Fly.io machines or apps.\",\n input: FlyIssueCertificateInput,\n output: FlyIssueCertificateOutput,\n});\n"],"mappings":";;AAiBA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBsC,EAAE,OAAO;EAC/C,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EACxH,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAC3G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EAClH,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAC7F,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;EACtE,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnF,CAAC,CAAC,CAAC,SAAS,yEAUH;CACP,QAVuC,EAAE,OAAO;EAChD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxI,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
|
|
@@ -19,24 +19,24 @@ const FlyListAddOnPlans_AddOnPlanSchema = zod.z.object({
|
|
|
19
19
|
maxCommandsPerSec: zod.z.number().int().describe("Maximum number of commands allowed per second (rate limit).").nullable().optional(),
|
|
20
20
|
maxDailyBandwidth: zod.z.string().describe("Maximum daily bandwidth allowed (e.g., '100GB').").nullable().optional(),
|
|
21
21
|
maxConcurrentConnections: zod.z.number().int().describe("Maximum number of concurrent connections allowed.").nullable().optional()
|
|
22
|
-
}).describe("Individual add-on service plan details.");
|
|
22
|
+
}).passthrough().describe("Individual add-on service plan details.");
|
|
23
23
|
const FlyListAddOnPlans_AddOnPlanEdgeSchema = zod.z.object({
|
|
24
24
|
node: FlyListAddOnPlans_AddOnPlanSchema.nullable().optional(),
|
|
25
25
|
cursor: zod.z.string().describe("Cursor for this edge, used for pagination.").nullable().optional()
|
|
26
|
-
}).describe("Edge containing a cursor and the add-on plan node.");
|
|
26
|
+
}).passthrough().describe("Edge containing a cursor and the add-on plan node.");
|
|
27
27
|
const FlyListAddOnPlans_PageInfoSchema = zod.z.object({
|
|
28
28
|
endCursor: zod.z.string().describe("Cursor pointing to the last item in the current page.").nullable().optional(),
|
|
29
29
|
hasNextPage: zod.z.boolean().describe("Indicates if there are more items after the current page.").nullable().optional(),
|
|
30
30
|
startCursor: zod.z.string().describe("Cursor pointing to the first item in the current page.").nullable().optional(),
|
|
31
31
|
hasPreviousPage: zod.z.boolean().describe("Indicates if there are more items before the current page.").nullable().optional()
|
|
32
|
-
}).describe("Pagination information for cursor-based navigation.");
|
|
32
|
+
}).passthrough().describe("Pagination information for cursor-based navigation.");
|
|
33
33
|
const FlyListAddOnPlans_AddOnPlansConnectionSchema = zod.z.object({
|
|
34
34
|
edges: zod.z.array(FlyListAddOnPlans_AddOnPlanEdgeSchema).describe("List of edges containing cursors and add-on plan nodes.").nullable().optional(),
|
|
35
35
|
nodes: zod.z.array(FlyListAddOnPlans_AddOnPlanSchema).describe("Direct list of add-on plan nodes without cursor information.").nullable().optional(),
|
|
36
36
|
pageInfo: FlyListAddOnPlans_PageInfoSchema.nullable().optional(),
|
|
37
37
|
totalCount: zod.z.number().int().describe("Total number of add-on plans available across all pages.").nullable().optional()
|
|
38
|
-
}).describe("Connection wrapper for paginated add-on plans results.");
|
|
39
|
-
const FlyListAddOnPlansOutput = zod.z.object({ addOnPlans: FlyListAddOnPlans_AddOnPlansConnectionSchema.nullable().optional() }).describe("Response containing the list of add-on service plans.");
|
|
38
|
+
}).passthrough().describe("Connection wrapper for paginated add-on plans results.");
|
|
39
|
+
const FlyListAddOnPlansOutput = zod.z.object({ addOnPlans: FlyListAddOnPlans_AddOnPlansConnectionSchema.nullable().optional() }).passthrough().describe("Response containing the list of add-on service plans.");
|
|
40
40
|
const flyListAddOnPlans = require_action.action("FLY_LIST_ADD_ON_PLANS", {
|
|
41
41
|
slug: "fly-list-add-on-plans",
|
|
42
42
|
name: "List Add-On Plans",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-add-on-plans.cjs","names":["z","action"],"sources":["../../src/actions/list-add-on-plans.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyListAddOnPlansInput = z.object({\n last: z.number().int().describe(\"Number of items to return from the end. Cannot be used with 'first'.\").optional(),\n after: z.string().describe(\"Cursor for forward pagination. Returns items after this cursor.\").optional(),\n first: z.number().int().describe(\"Number of items to return from the beginning. Cannot be used with 'last'.\").optional(),\n before: z.string().describe(\"Cursor for backward pagination. Returns items before this cursor.\").optional(),\n});\nconst FlyListAddOnPlans_AddOnPlanSchema = z.object({\n id: z.string().describe(\"Unique identifier for the add-on plan.\").nullable(),\n name: z.string().describe(\"Internal name of the add-on plan.\").nullable().optional(),\n description: z.string().describe(\"Description of the add-on plan and its features.\").nullable().optional(),\n displayName: z.string().describe(\"Human-readable display name of the add-on plan.\").nullable().optional(),\n maxDataSize: z.string().describe(\"Maximum data storage size allowed (e.g., '10GB', '1TB').\").nullable().optional(),\n pricePerMonth: z.number().int().describe(\"Monthly price in cents (e.g., 1000 = $10.00).\").nullable().optional(),\n maxRequestSize: z.string().describe(\"Maximum size of individual requests (e.g., '10MB').\").nullable().optional(),\n maxDailyCommands: z.number().int().describe(\"Maximum number of commands allowed per day.\").nullable().optional(),\n maxCommandsPerSec: z.number().int().describe(\"Maximum number of commands allowed per second (rate limit).\").nullable().optional(),\n maxDailyBandwidth: z.string().describe(\"Maximum daily bandwidth allowed (e.g., '100GB').\").nullable().optional(),\n maxConcurrentConnections: z.number().int().describe(\"Maximum number of concurrent connections allowed.\").nullable().optional(),\n}).describe(\"Individual add-on service plan details.\");\nconst FlyListAddOnPlans_AddOnPlanEdgeSchema = z.object({\n node: FlyListAddOnPlans_AddOnPlanSchema.nullable().optional(),\n cursor: z.string().describe(\"Cursor for this edge, used for pagination.\").nullable().optional(),\n}).describe(\"Edge containing a cursor and the add-on plan node.\");\nconst FlyListAddOnPlans_PageInfoSchema = z.object({\n endCursor: z.string().describe(\"Cursor pointing to the last item in the current page.\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Indicates if there are more items after the current page.\").nullable().optional(),\n startCursor: z.string().describe(\"Cursor pointing to the first item in the current page.\").nullable().optional(),\n hasPreviousPage: z.boolean().describe(\"Indicates if there are more items before the current page.\").nullable().optional(),\n}).describe(\"Pagination information for cursor-based navigation.\");\nconst FlyListAddOnPlans_AddOnPlansConnectionSchema = z.object({\n edges: z.array(FlyListAddOnPlans_AddOnPlanEdgeSchema).describe(\"List of edges containing cursors and add-on plan nodes.\").nullable().optional(),\n nodes: z.array(FlyListAddOnPlans_AddOnPlanSchema).describe(\"Direct list of add-on plan nodes without cursor information.\").nullable().optional(),\n pageInfo: FlyListAddOnPlans_PageInfoSchema.nullable().optional(),\n totalCount: z.number().int().describe(\"Total number of add-on plans available across all pages.\").nullable().optional(),\n}).describe(\"Connection wrapper for paginated add-on plans results.\");\nexport const FlyListAddOnPlansOutput = z.object({\n addOnPlans: FlyListAddOnPlans_AddOnPlansConnectionSchema.nullable().optional(),\n}).describe(\"Response containing the list of add-on service plans.\");\n\nexport const flyListAddOnPlans = action(\"FLY_LIST_ADD_ON_PLANS\", {\n slug: \"fly-list-add-on-plans\",\n name: \"List Add-On Plans\",\n description: \"Tool to list available add-on service plans from Fly.io. Use when you need to discover pricing, features, and resource limits for Fly.io add-on services. Supports cursor-based pagination.\",\n input: FlyListAddOnPlansInput,\n output: FlyListAddOnPlansOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACjH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACvG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACvH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;AAC5G,CAAC;AACD,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,SAAS,yCAAyC;
|
|
1
|
+
{"version":3,"file":"list-add-on-plans.cjs","names":["z","action"],"sources":["../../src/actions/list-add-on-plans.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyListAddOnPlansInput = z.object({\n last: z.number().int().describe(\"Number of items to return from the end. Cannot be used with 'first'.\").optional(),\n after: z.string().describe(\"Cursor for forward pagination. Returns items after this cursor.\").optional(),\n first: z.number().int().describe(\"Number of items to return from the beginning. Cannot be used with 'last'.\").optional(),\n before: z.string().describe(\"Cursor for backward pagination. Returns items before this cursor.\").optional(),\n});\nconst FlyListAddOnPlans_AddOnPlanSchema = z.object({\n id: z.string().describe(\"Unique identifier for the add-on plan.\").nullable(),\n name: z.string().describe(\"Internal name of the add-on plan.\").nullable().optional(),\n description: z.string().describe(\"Description of the add-on plan and its features.\").nullable().optional(),\n displayName: z.string().describe(\"Human-readable display name of the add-on plan.\").nullable().optional(),\n maxDataSize: z.string().describe(\"Maximum data storage size allowed (e.g., '10GB', '1TB').\").nullable().optional(),\n pricePerMonth: z.number().int().describe(\"Monthly price in cents (e.g., 1000 = $10.00).\").nullable().optional(),\n maxRequestSize: z.string().describe(\"Maximum size of individual requests (e.g., '10MB').\").nullable().optional(),\n maxDailyCommands: z.number().int().describe(\"Maximum number of commands allowed per day.\").nullable().optional(),\n maxCommandsPerSec: z.number().int().describe(\"Maximum number of commands allowed per second (rate limit).\").nullable().optional(),\n maxDailyBandwidth: z.string().describe(\"Maximum daily bandwidth allowed (e.g., '100GB').\").nullable().optional(),\n maxConcurrentConnections: z.number().int().describe(\"Maximum number of concurrent connections allowed.\").nullable().optional(),\n}).passthrough().describe(\"Individual add-on service plan details.\");\nconst FlyListAddOnPlans_AddOnPlanEdgeSchema = z.object({\n node: FlyListAddOnPlans_AddOnPlanSchema.nullable().optional(),\n cursor: z.string().describe(\"Cursor for this edge, used for pagination.\").nullable().optional(),\n}).passthrough().describe(\"Edge containing a cursor and the add-on plan node.\");\nconst FlyListAddOnPlans_PageInfoSchema = z.object({\n endCursor: z.string().describe(\"Cursor pointing to the last item in the current page.\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Indicates if there are more items after the current page.\").nullable().optional(),\n startCursor: z.string().describe(\"Cursor pointing to the first item in the current page.\").nullable().optional(),\n hasPreviousPage: z.boolean().describe(\"Indicates if there are more items before the current page.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for cursor-based navigation.\");\nconst FlyListAddOnPlans_AddOnPlansConnectionSchema = z.object({\n edges: z.array(FlyListAddOnPlans_AddOnPlanEdgeSchema).describe(\"List of edges containing cursors and add-on plan nodes.\").nullable().optional(),\n nodes: z.array(FlyListAddOnPlans_AddOnPlanSchema).describe(\"Direct list of add-on plan nodes without cursor information.\").nullable().optional(),\n pageInfo: FlyListAddOnPlans_PageInfoSchema.nullable().optional(),\n totalCount: z.number().int().describe(\"Total number of add-on plans available across all pages.\").nullable().optional(),\n}).passthrough().describe(\"Connection wrapper for paginated add-on plans results.\");\nexport const FlyListAddOnPlansOutput = z.object({\n addOnPlans: FlyListAddOnPlans_AddOnPlansConnectionSchema.nullable().optional(),\n}).passthrough().describe(\"Response containing the list of add-on service plans.\");\n\nexport const flyListAddOnPlans = action(\"FLY_LIST_ADD_ON_PLANS\", {\n slug: \"fly-list-add-on-plans\",\n name: \"List Add-On Plans\",\n description: \"Tool to list available add-on service plans from Fly.io. Use when you need to discover pricing, features, and resource limits for Fly.io add-on services. Supports cursor-based pagination.\",\n input: FlyListAddOnPlansInput,\n output: FlyListAddOnPlansOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACjH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACvG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACvH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;AAC5G,CAAC;AACD,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF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 +22,9 @@ declare const FlyListAddOnPlansOutput: z.ZodObject<{
|
|
|
22
22
|
maxCommandsPerSec: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
23
|
maxDailyBandwidth: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
maxConcurrentConnections: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>>>;
|
|
26
26
|
cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>>>>;
|
|
28
28
|
nodes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
29
29
|
id: z.ZodNullable<z.ZodString>;
|
|
30
30
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -37,16 +37,16 @@ declare const FlyListAddOnPlansOutput: z.ZodObject<{
|
|
|
37
37
|
maxCommandsPerSec: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
38
38
|
maxDailyBandwidth: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
39
|
maxConcurrentConnections: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
40
|
-
}, z.core.$
|
|
40
|
+
}, z.core.$loose>>>>;
|
|
41
41
|
pageInfo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
42
42
|
endCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
43
|
hasNextPage: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
44
44
|
startCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
45
|
hasPreviousPage: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
46
|
-
}, z.core.$
|
|
46
|
+
}, z.core.$loose>>>;
|
|
47
47
|
totalCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
48
|
-
}, z.core.$
|
|
49
|
-
}, z.core.$
|
|
48
|
+
}, z.core.$loose>>>;
|
|
49
|
+
}, z.core.$loose>;
|
|
50
50
|
declare const flyListAddOnPlans: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
51
51
|
last?: number | undefined;
|
|
52
52
|
after?: string | undefined;
|
|
@@ -22,9 +22,9 @@ declare const FlyListAddOnPlansOutput: z.ZodObject<{
|
|
|
22
22
|
maxCommandsPerSec: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
23
|
maxDailyBandwidth: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
maxConcurrentConnections: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>>>;
|
|
26
26
|
cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>>>>;
|
|
28
28
|
nodes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
29
29
|
id: z.ZodNullable<z.ZodString>;
|
|
30
30
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -37,16 +37,16 @@ declare const FlyListAddOnPlansOutput: z.ZodObject<{
|
|
|
37
37
|
maxCommandsPerSec: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
38
38
|
maxDailyBandwidth: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
39
|
maxConcurrentConnections: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
40
|
-
}, z.core.$
|
|
40
|
+
}, z.core.$loose>>>>;
|
|
41
41
|
pageInfo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
42
42
|
endCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
43
|
hasNextPage: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
44
44
|
startCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
45
|
hasPreviousPage: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
46
|
-
}, z.core.$
|
|
46
|
+
}, z.core.$loose>>>;
|
|
47
47
|
totalCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
48
|
-
}, z.core.$
|
|
49
|
-
}, z.core.$
|
|
48
|
+
}, z.core.$loose>>>;
|
|
49
|
+
}, z.core.$loose>;
|
|
50
50
|
declare const flyListAddOnPlans: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
51
51
|
last?: number | undefined;
|
|
52
52
|
after?: string | undefined;
|
|
@@ -19,29 +19,29 @@ const FlyListAddOnPlans_AddOnPlanSchema = z.object({
|
|
|
19
19
|
maxCommandsPerSec: z.number().int().describe("Maximum number of commands allowed per second (rate limit).").nullable().optional(),
|
|
20
20
|
maxDailyBandwidth: z.string().describe("Maximum daily bandwidth allowed (e.g., '100GB').").nullable().optional(),
|
|
21
21
|
maxConcurrentConnections: z.number().int().describe("Maximum number of concurrent connections allowed.").nullable().optional()
|
|
22
|
-
}).describe("Individual add-on service plan details.");
|
|
22
|
+
}).passthrough().describe("Individual add-on service plan details.");
|
|
23
23
|
const FlyListAddOnPlans_AddOnPlanEdgeSchema = z.object({
|
|
24
24
|
node: FlyListAddOnPlans_AddOnPlanSchema.nullable().optional(),
|
|
25
25
|
cursor: z.string().describe("Cursor for this edge, used for pagination.").nullable().optional()
|
|
26
|
-
}).describe("Edge containing a cursor and the add-on plan node.");
|
|
26
|
+
}).passthrough().describe("Edge containing a cursor and the add-on plan node.");
|
|
27
27
|
const FlyListAddOnPlans_PageInfoSchema = z.object({
|
|
28
28
|
endCursor: z.string().describe("Cursor pointing to the last item in the current page.").nullable().optional(),
|
|
29
29
|
hasNextPage: z.boolean().describe("Indicates if there are more items after the current page.").nullable().optional(),
|
|
30
30
|
startCursor: z.string().describe("Cursor pointing to the first item in the current page.").nullable().optional(),
|
|
31
31
|
hasPreviousPage: z.boolean().describe("Indicates if there are more items before the current page.").nullable().optional()
|
|
32
|
-
}).describe("Pagination information for cursor-based navigation.");
|
|
32
|
+
}).passthrough().describe("Pagination information for cursor-based navigation.");
|
|
33
33
|
const FlyListAddOnPlans_AddOnPlansConnectionSchema = z.object({
|
|
34
34
|
edges: z.array(FlyListAddOnPlans_AddOnPlanEdgeSchema).describe("List of edges containing cursors and add-on plan nodes.").nullable().optional(),
|
|
35
35
|
nodes: z.array(FlyListAddOnPlans_AddOnPlanSchema).describe("Direct list of add-on plan nodes without cursor information.").nullable().optional(),
|
|
36
36
|
pageInfo: FlyListAddOnPlans_PageInfoSchema.nullable().optional(),
|
|
37
37
|
totalCount: z.number().int().describe("Total number of add-on plans available across all pages.").nullable().optional()
|
|
38
|
-
}).describe("Connection wrapper for paginated add-on plans results.");
|
|
38
|
+
}).passthrough().describe("Connection wrapper for paginated add-on plans results.");
|
|
39
39
|
const flyListAddOnPlans = action("FLY_LIST_ADD_ON_PLANS", {
|
|
40
40
|
slug: "fly-list-add-on-plans",
|
|
41
41
|
name: "List Add-On Plans",
|
|
42
42
|
description: "Tool to list available add-on service plans from Fly.io. Use when you need to discover pricing, features, and resource limits for Fly.io add-on services. Supports cursor-based pagination.",
|
|
43
43
|
input: FlyListAddOnPlansInput,
|
|
44
|
-
output: z.object({ addOnPlans: FlyListAddOnPlans_AddOnPlansConnectionSchema.nullable().optional() }).describe("Response containing the list of add-on service plans.")
|
|
44
|
+
output: z.object({ addOnPlans: FlyListAddOnPlans_AddOnPlansConnectionSchema.nullable().optional() }).passthrough().describe("Response containing the list of add-on service plans.")
|
|
45
45
|
});
|
|
46
46
|
//#endregion
|
|
47
47
|
export { flyListAddOnPlans };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-add-on-plans.mjs","names":[],"sources":["../../src/actions/list-add-on-plans.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyListAddOnPlansInput = z.object({\n last: z.number().int().describe(\"Number of items to return from the end. Cannot be used with 'first'.\").optional(),\n after: z.string().describe(\"Cursor for forward pagination. Returns items after this cursor.\").optional(),\n first: z.number().int().describe(\"Number of items to return from the beginning. Cannot be used with 'last'.\").optional(),\n before: z.string().describe(\"Cursor for backward pagination. Returns items before this cursor.\").optional(),\n});\nconst FlyListAddOnPlans_AddOnPlanSchema = z.object({\n id: z.string().describe(\"Unique identifier for the add-on plan.\").nullable(),\n name: z.string().describe(\"Internal name of the add-on plan.\").nullable().optional(),\n description: z.string().describe(\"Description of the add-on plan and its features.\").nullable().optional(),\n displayName: z.string().describe(\"Human-readable display name of the add-on plan.\").nullable().optional(),\n maxDataSize: z.string().describe(\"Maximum data storage size allowed (e.g., '10GB', '1TB').\").nullable().optional(),\n pricePerMonth: z.number().int().describe(\"Monthly price in cents (e.g., 1000 = $10.00).\").nullable().optional(),\n maxRequestSize: z.string().describe(\"Maximum size of individual requests (e.g., '10MB').\").nullable().optional(),\n maxDailyCommands: z.number().int().describe(\"Maximum number of commands allowed per day.\").nullable().optional(),\n maxCommandsPerSec: z.number().int().describe(\"Maximum number of commands allowed per second (rate limit).\").nullable().optional(),\n maxDailyBandwidth: z.string().describe(\"Maximum daily bandwidth allowed (e.g., '100GB').\").nullable().optional(),\n maxConcurrentConnections: z.number().int().describe(\"Maximum number of concurrent connections allowed.\").nullable().optional(),\n}).describe(\"Individual add-on service plan details.\");\nconst FlyListAddOnPlans_AddOnPlanEdgeSchema = z.object({\n node: FlyListAddOnPlans_AddOnPlanSchema.nullable().optional(),\n cursor: z.string().describe(\"Cursor for this edge, used for pagination.\").nullable().optional(),\n}).describe(\"Edge containing a cursor and the add-on plan node.\");\nconst FlyListAddOnPlans_PageInfoSchema = z.object({\n endCursor: z.string().describe(\"Cursor pointing to the last item in the current page.\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Indicates if there are more items after the current page.\").nullable().optional(),\n startCursor: z.string().describe(\"Cursor pointing to the first item in the current page.\").nullable().optional(),\n hasPreviousPage: z.boolean().describe(\"Indicates if there are more items before the current page.\").nullable().optional(),\n}).describe(\"Pagination information for cursor-based navigation.\");\nconst FlyListAddOnPlans_AddOnPlansConnectionSchema = z.object({\n edges: z.array(FlyListAddOnPlans_AddOnPlanEdgeSchema).describe(\"List of edges containing cursors and add-on plan nodes.\").nullable().optional(),\n nodes: z.array(FlyListAddOnPlans_AddOnPlanSchema).describe(\"Direct list of add-on plan nodes without cursor information.\").nullable().optional(),\n pageInfo: FlyListAddOnPlans_PageInfoSchema.nullable().optional(),\n totalCount: z.number().int().describe(\"Total number of add-on plans available across all pages.\").nullable().optional(),\n}).describe(\"Connection wrapper for paginated add-on plans results.\");\nexport const FlyListAddOnPlansOutput = z.object({\n addOnPlans: FlyListAddOnPlans_AddOnPlansConnectionSchema.nullable().optional(),\n}).describe(\"Response containing the list of add-on service plans.\");\n\nexport const flyListAddOnPlans = action(\"FLY_LIST_ADD_ON_PLANS\", {\n slug: \"fly-list-add-on-plans\",\n name: \"List Add-On Plans\",\n description: \"Tool to list available add-on service plans from Fly.io. Use when you need to discover pricing, features, and resource limits for Fly.io add-on services. Supports cursor-based pagination.\",\n input: FlyListAddOnPlansInput,\n output: FlyListAddOnPlansOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACjH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACvG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACvH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;AAC5G,CAAC;AACD,MAAM,oCAAoC,EAAE,OAAO;CACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,0BAA0B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,SAAS,yCAAyC;
|
|
1
|
+
{"version":3,"file":"list-add-on-plans.mjs","names":[],"sources":["../../src/actions/list-add-on-plans.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyListAddOnPlansInput = z.object({\n last: z.number().int().describe(\"Number of items to return from the end. Cannot be used with 'first'.\").optional(),\n after: z.string().describe(\"Cursor for forward pagination. Returns items after this cursor.\").optional(),\n first: z.number().int().describe(\"Number of items to return from the beginning. Cannot be used with 'last'.\").optional(),\n before: z.string().describe(\"Cursor for backward pagination. Returns items before this cursor.\").optional(),\n});\nconst FlyListAddOnPlans_AddOnPlanSchema = z.object({\n id: z.string().describe(\"Unique identifier for the add-on plan.\").nullable(),\n name: z.string().describe(\"Internal name of the add-on plan.\").nullable().optional(),\n description: z.string().describe(\"Description of the add-on plan and its features.\").nullable().optional(),\n displayName: z.string().describe(\"Human-readable display name of the add-on plan.\").nullable().optional(),\n maxDataSize: z.string().describe(\"Maximum data storage size allowed (e.g., '10GB', '1TB').\").nullable().optional(),\n pricePerMonth: z.number().int().describe(\"Monthly price in cents (e.g., 1000 = $10.00).\").nullable().optional(),\n maxRequestSize: z.string().describe(\"Maximum size of individual requests (e.g., '10MB').\").nullable().optional(),\n maxDailyCommands: z.number().int().describe(\"Maximum number of commands allowed per day.\").nullable().optional(),\n maxCommandsPerSec: z.number().int().describe(\"Maximum number of commands allowed per second (rate limit).\").nullable().optional(),\n maxDailyBandwidth: z.string().describe(\"Maximum daily bandwidth allowed (e.g., '100GB').\").nullable().optional(),\n maxConcurrentConnections: z.number().int().describe(\"Maximum number of concurrent connections allowed.\").nullable().optional(),\n}).passthrough().describe(\"Individual add-on service plan details.\");\nconst FlyListAddOnPlans_AddOnPlanEdgeSchema = z.object({\n node: FlyListAddOnPlans_AddOnPlanSchema.nullable().optional(),\n cursor: z.string().describe(\"Cursor for this edge, used for pagination.\").nullable().optional(),\n}).passthrough().describe(\"Edge containing a cursor and the add-on plan node.\");\nconst FlyListAddOnPlans_PageInfoSchema = z.object({\n endCursor: z.string().describe(\"Cursor pointing to the last item in the current page.\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Indicates if there are more items after the current page.\").nullable().optional(),\n startCursor: z.string().describe(\"Cursor pointing to the first item in the current page.\").nullable().optional(),\n hasPreviousPage: z.boolean().describe(\"Indicates if there are more items before the current page.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for cursor-based navigation.\");\nconst FlyListAddOnPlans_AddOnPlansConnectionSchema = z.object({\n edges: z.array(FlyListAddOnPlans_AddOnPlanEdgeSchema).describe(\"List of edges containing cursors and add-on plan nodes.\").nullable().optional(),\n nodes: z.array(FlyListAddOnPlans_AddOnPlanSchema).describe(\"Direct list of add-on plan nodes without cursor information.\").nullable().optional(),\n pageInfo: FlyListAddOnPlans_PageInfoSchema.nullable().optional(),\n totalCount: z.number().int().describe(\"Total number of add-on plans available across all pages.\").nullable().optional(),\n}).passthrough().describe(\"Connection wrapper for paginated add-on plans results.\");\nexport const FlyListAddOnPlansOutput = z.object({\n addOnPlans: FlyListAddOnPlans_AddOnPlansConnectionSchema.nullable().optional(),\n}).passthrough().describe(\"Response containing the list of add-on service plans.\");\n\nexport const flyListAddOnPlans = action(\"FLY_LIST_ADD_ON_PLANS\", {\n slug: \"fly-list-add-on-plans\",\n name: \"List Add-On Plans\",\n description: \"Tool to list available add-on service plans from Fly.io. Use when you need to discover pricing, features, and resource limits for Fly.io add-on services. Supports cursor-based pagination.\",\n input: FlyListAddOnPlansInput,\n output: FlyListAddOnPlansOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACjH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACvG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACvH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;AAC5G,CAAC;AACD,MAAM,oCAAoC,EAAE,OAAO;CACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,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DAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAM,+CAA+C,EAAE,OAAO;CAC5D,OAAO,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,OAAO,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,UAAU,iCAAiC,SAAS,CAAC,CAAC,SAAS;CAC/D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAKlF,MAAa,oBAAoB,OAAO,yBAAyB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqC,EAAE,OAAO,EAC9C,YAAY,6CAA6C,SAAS,CAAC,CAAC,SAAS,EAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAOhB;AACV,CAAC"}
|
|
@@ -16,28 +16,28 @@ const FlyListAddOns_AddOnNodeSchema = zod.z.object({
|
|
|
16
16
|
updatedAt: zod.z.string().describe("ISO8601 timestamp when the add-on was last updated").nullable().optional(),
|
|
17
17
|
environment: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Environment variables for the add-on").nullable().optional(),
|
|
18
18
|
addOnPlanName: zod.z.string().describe("Name of the add-on plan").nullable().optional()
|
|
19
|
-
}).describe("Represents an individual add-on.");
|
|
20
|
-
const FlyListAddOns_AddOnsConnectionSchema = zod.z.object({ nodes: zod.z.array(FlyListAddOns_AddOnNodeSchema).describe("List of add-on nodes").nullable().optional() }).describe("Represents a connection of add-ons with pagination support.");
|
|
19
|
+
}).passthrough().describe("Represents an individual add-on.");
|
|
20
|
+
const FlyListAddOns_AddOnsConnectionSchema = zod.z.object({ nodes: zod.z.array(FlyListAddOns_AddOnNodeSchema).describe("List of add-on nodes").nullable().optional() }).passthrough().describe("Represents a connection of add-ons with pagination support.");
|
|
21
21
|
const FlyListAddOns_AppNodeSchema = zod.z.object({
|
|
22
22
|
name: zod.z.string().describe("Name of the app").nullable().optional(),
|
|
23
23
|
addOns: FlyListAddOns_AddOnsConnectionSchema.nullable().optional()
|
|
24
|
-
}).describe("Represents an app with its associated add-ons.");
|
|
25
|
-
const FlyListAddOns_AppsConnectionSchema = zod.z.object({ nodes: zod.z.array(FlyListAddOns_AppNodeSchema).describe("List of app nodes").nullable().optional() }).describe("Represents a connection of apps.");
|
|
24
|
+
}).passthrough().describe("Represents an app with its associated add-ons.");
|
|
25
|
+
const FlyListAddOns_AppsConnectionSchema = zod.z.object({ nodes: zod.z.array(FlyListAddOns_AppNodeSchema).describe("List of app nodes").nullable().optional() }).passthrough().describe("Represents a connection of apps.");
|
|
26
26
|
const FlyListAddOns_OrganizationSchema = zod.z.object({
|
|
27
27
|
id: zod.z.string().describe("Unique identifier for the organization").nullable().optional(),
|
|
28
28
|
apps: FlyListAddOns_AppsConnectionSchema.nullable().optional(),
|
|
29
29
|
name: zod.z.string().describe("Name of the organization").nullable().optional(),
|
|
30
30
|
slug: zod.z.string().describe("Slug for the organization").nullable().optional(),
|
|
31
31
|
addOns: FlyListAddOns_AddOnsConnectionSchema.nullable().optional()
|
|
32
|
-
}).describe("Represents an organization with apps and add-ons.");
|
|
32
|
+
}).passthrough().describe("Represents an organization with apps and add-ons.");
|
|
33
33
|
const FlyListAddOns_ListAddOnsResponseDataSchema = zod.z.object({
|
|
34
34
|
organization: FlyListAddOns_OrganizationSchema.nullable().optional(),
|
|
35
35
|
personalOrganization: FlyListAddOns_OrganizationSchema.nullable().optional()
|
|
36
|
-
}).describe("Data returned from the GraphQL query.");
|
|
36
|
+
}).passthrough().describe("Data returned from the GraphQL query.");
|
|
37
37
|
const FlyListAddOnsOutput = zod.z.object({
|
|
38
38
|
data: FlyListAddOns_ListAddOnsResponseDataSchema.nullable().optional(),
|
|
39
39
|
errors: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Any errors returned by the GraphQL API.").nullable().optional()
|
|
40
|
-
}).describe("Response model for listing add-ons.");
|
|
40
|
+
}).passthrough().describe("Response model for listing add-ons.");
|
|
41
41
|
const flyListAddOns = require_action.action("FLY_LIST_ADD_ONS", {
|
|
42
42
|
slug: "fly-list-add-ons",
|
|
43
43
|
name: "List Add-Ons",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-add-ons.cjs","names":["z","action"],"sources":["../../src/actions/list-add-ons.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyListAddOnsInput = z.object({\n query: z.string().default(\"query { personalOrganization { id slug name apps { nodes { name addOns { nodes { id name status createdAt updatedAt } } } } } }\").describe(\"GraphQL query string to retrieve add-ons. Default query fetches add-ons for all apps in the personal organization. You can customize the query to fetch specific fields from the AddOn type (id, name, status, createdAt, updatedAt, addOnPlanName, hostname, publicUrl, environment, metadata, options, etc.) or filter by organization.\").optional(),\n variables: z.record(z.string(), z.unknown()).describe(\"Variables for the GraphQL query (optional). Use this to pass dynamic values like organization slugs, pagination parameters (first, after, before, last), or filters (type: AddOnType).\").optional(),\n}).describe(\"Request model for listing add-ons associated with an organization.\");\nconst FlyListAddOns_AddOnNodeSchema = z.object({\n id: z.string().describe(\"Unique identifier for the add-on\").nullable().optional(),\n name: z.string().describe(\"Name of the add-on\").nullable().optional(),\n status: z.string().describe(\"Current status of the add-on\").nullable().optional(),\n hostname: z.string().describe(\"Hostname for the add-on\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata for the add-on\").nullable().optional(),\n createdAt: z.string().describe(\"ISO8601 timestamp when the add-on was created\").nullable().optional(),\n publicUrl: z.string().describe(\"Public URL for the add-on\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO8601 timestamp when the add-on was last updated\").nullable().optional(),\n environment: z.record(z.string(), z.unknown()).describe(\"Environment variables for the add-on\").nullable().optional(),\n addOnPlanName: z.string().describe(\"Name of the add-on plan\").nullable().optional(),\n}).describe(\"Represents an individual add-on.\");\nconst FlyListAddOns_AddOnsConnectionSchema = z.object({\n nodes: z.array(FlyListAddOns_AddOnNodeSchema).describe(\"List of add-on nodes\").nullable().optional(),\n}).describe(\"Represents a connection of add-ons with pagination support.\");\nconst FlyListAddOns_AppNodeSchema = z.object({\n name: z.string().describe(\"Name of the app\").nullable().optional(),\n addOns: FlyListAddOns_AddOnsConnectionSchema.nullable().optional(),\n}).describe(\"Represents an app with its associated add-ons.\");\nconst FlyListAddOns_AppsConnectionSchema = z.object({\n nodes: z.array(FlyListAddOns_AppNodeSchema).describe(\"List of app nodes\").nullable().optional(),\n}).describe(\"Represents a connection of apps.\");\nconst FlyListAddOns_OrganizationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the organization\").nullable().optional(),\n apps: FlyListAddOns_AppsConnectionSchema.nullable().optional(),\n name: z.string().describe(\"Name of the organization\").nullable().optional(),\n slug: z.string().describe(\"Slug for the organization\").nullable().optional(),\n addOns: FlyListAddOns_AddOnsConnectionSchema.nullable().optional(),\n}).describe(\"Represents an organization with apps and add-ons.\");\nconst FlyListAddOns_ListAddOnsResponseDataSchema: z.ZodTypeAny = z.object({\n organization: FlyListAddOns_OrganizationSchema.nullable().optional(),\n personalOrganization: FlyListAddOns_OrganizationSchema.nullable().optional(),\n}).describe(\"Data returned from the GraphQL query.\");\nexport const FlyListAddOnsOutput = z.object({\n data: FlyListAddOns_ListAddOnsResponseDataSchema.nullable().optional(),\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"Any errors returned by the GraphQL API.\").nullable().optional(),\n}).describe(\"Response model for listing add-ons.\");\n\nexport const flyListAddOns = action(\"FLY_LIST_ADD_ONS\", {\n slug: \"fly-list-add-ons\",\n name: \"List Add-Ons\",\n description: \"Tool to list add-ons associated with an organization in Fly.io. Use when you need to retrieve add-ons for apps in an organization. Supports querying personal organization or specific organizations by slug. Returns comprehensive add-on details including status, creation date, and configuration.\",\n input: FlyListAddOnsInput,\n output: FlyListAddOnsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAqBA,IAAAA,EAAE,OAAO;CACzC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,iIAAiI,CAAC,CAAC,SAAS,2UAA2U,CAAC,CAAC,SAAS;CAC5f,WAAWA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wLAAwL,CAAC,CAAC,SAAS;AAC3P,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,gCAAgCA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,aAAaA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,kCAAkC;
|
|
1
|
+
{"version":3,"file":"list-add-ons.cjs","names":["z","action"],"sources":["../../src/actions/list-add-ons.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyListAddOnsInput = z.object({\n query: z.string().default(\"query { personalOrganization { id slug name apps { nodes { name addOns { nodes { id name status createdAt updatedAt } } } } } }\").describe(\"GraphQL query string to retrieve add-ons. Default query fetches add-ons for all apps in the personal organization. You can customize the query to fetch specific fields from the AddOn type (id, name, status, createdAt, updatedAt, addOnPlanName, hostname, publicUrl, environment, metadata, options, etc.) or filter by organization.\").optional(),\n variables: z.record(z.string(), z.unknown()).describe(\"Variables for the GraphQL query (optional). Use this to pass dynamic values like organization slugs, pagination parameters (first, after, before, last), or filters (type: AddOnType).\").optional(),\n}).describe(\"Request model for listing add-ons associated with an organization.\");\nconst FlyListAddOns_AddOnNodeSchema = z.object({\n id: z.string().describe(\"Unique identifier for the add-on\").nullable().optional(),\n name: z.string().describe(\"Name of the add-on\").nullable().optional(),\n status: z.string().describe(\"Current status of the add-on\").nullable().optional(),\n hostname: z.string().describe(\"Hostname for the add-on\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata for the add-on\").nullable().optional(),\n createdAt: z.string().describe(\"ISO8601 timestamp when the add-on was created\").nullable().optional(),\n publicUrl: z.string().describe(\"Public URL for the add-on\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO8601 timestamp when the add-on was last updated\").nullable().optional(),\n environment: z.record(z.string(), z.unknown()).describe(\"Environment variables for the add-on\").nullable().optional(),\n addOnPlanName: z.string().describe(\"Name of the add-on plan\").nullable().optional(),\n}).passthrough().describe(\"Represents an individual add-on.\");\nconst FlyListAddOns_AddOnsConnectionSchema = z.object({\n nodes: z.array(FlyListAddOns_AddOnNodeSchema).describe(\"List of add-on nodes\").nullable().optional(),\n}).passthrough().describe(\"Represents a connection of add-ons with pagination support.\");\nconst FlyListAddOns_AppNodeSchema = z.object({\n name: z.string().describe(\"Name of the app\").nullable().optional(),\n addOns: FlyListAddOns_AddOnsConnectionSchema.nullable().optional(),\n}).passthrough().describe(\"Represents an app with its associated add-ons.\");\nconst FlyListAddOns_AppsConnectionSchema = z.object({\n nodes: z.array(FlyListAddOns_AppNodeSchema).describe(\"List of app nodes\").nullable().optional(),\n}).passthrough().describe(\"Represents a connection of apps.\");\nconst FlyListAddOns_OrganizationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the organization\").nullable().optional(),\n apps: FlyListAddOns_AppsConnectionSchema.nullable().optional(),\n name: z.string().describe(\"Name of the organization\").nullable().optional(),\n slug: z.string().describe(\"Slug for the organization\").nullable().optional(),\n addOns: FlyListAddOns_AddOnsConnectionSchema.nullable().optional(),\n}).passthrough().describe(\"Represents an organization with apps and add-ons.\");\nconst FlyListAddOns_ListAddOnsResponseDataSchema: z.ZodTypeAny = z.object({\n organization: FlyListAddOns_OrganizationSchema.nullable().optional(),\n personalOrganization: FlyListAddOns_OrganizationSchema.nullable().optional(),\n}).passthrough().describe(\"Data returned from the GraphQL query.\");\nexport const FlyListAddOnsOutput = z.object({\n data: FlyListAddOns_ListAddOnsResponseDataSchema.nullable().optional(),\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"Any errors returned by the GraphQL API.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing add-ons.\");\n\nexport const flyListAddOns = action(\"FLY_LIST_ADD_ONS\", {\n slug: \"fly-list-add-ons\",\n name: \"List Add-Ons\",\n description: \"Tool to list add-ons associated with an organization in Fly.io. Use when you need to retrieve add-ons for apps in an organization. Supports querying personal organization or specific organizations by slug. Returns comprehensive add-on details including status, creation date, and configuration.\",\n input: FlyListAddOnsInput,\n output: FlyListAddOnsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAqBA,IAAAA,EAAE,OAAO;CACzC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,iIAAiI,CAAC,CAAC,SAAS,2UAA2U,CAAC,CAAC,SAAS;CAC5f,WAAWA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wLAAwL,CAAC,CAAC,SAAS;AAC3P,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,gCAAgCA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,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a;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ declare const FlyListAddOnsInput: z.ZodObject<{
|
|
|
8
8
|
declare const FlyListAddOnsOutput: z.ZodObject<{
|
|
9
9
|
data: z.ZodOptional<z.ZodNullable<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
10
10
|
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const flyListAddOns: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
query?: string | undefined;
|
|
14
14
|
variables?: Record<string, unknown> | undefined;
|
|
@@ -8,7 +8,7 @@ declare const FlyListAddOnsInput: z.ZodObject<{
|
|
|
8
8
|
declare const FlyListAddOnsOutput: z.ZodObject<{
|
|
9
9
|
data: z.ZodOptional<z.ZodNullable<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
10
10
|
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const flyListAddOns: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
query?: string | undefined;
|
|
14
14
|
variables?: Record<string, unknown> | undefined;
|
|
@@ -16,24 +16,24 @@ const FlyListAddOns_AddOnNodeSchema = z.object({
|
|
|
16
16
|
updatedAt: z.string().describe("ISO8601 timestamp when the add-on was last updated").nullable().optional(),
|
|
17
17
|
environment: z.record(z.string(), z.unknown()).describe("Environment variables for the add-on").nullable().optional(),
|
|
18
18
|
addOnPlanName: z.string().describe("Name of the add-on plan").nullable().optional()
|
|
19
|
-
}).describe("Represents an individual add-on.");
|
|
20
|
-
const FlyListAddOns_AddOnsConnectionSchema = z.object({ nodes: z.array(FlyListAddOns_AddOnNodeSchema).describe("List of add-on nodes").nullable().optional() }).describe("Represents a connection of add-ons with pagination support.");
|
|
19
|
+
}).passthrough().describe("Represents an individual add-on.");
|
|
20
|
+
const FlyListAddOns_AddOnsConnectionSchema = z.object({ nodes: z.array(FlyListAddOns_AddOnNodeSchema).describe("List of add-on nodes").nullable().optional() }).passthrough().describe("Represents a connection of add-ons with pagination support.");
|
|
21
21
|
const FlyListAddOns_AppNodeSchema = z.object({
|
|
22
22
|
name: z.string().describe("Name of the app").nullable().optional(),
|
|
23
23
|
addOns: FlyListAddOns_AddOnsConnectionSchema.nullable().optional()
|
|
24
|
-
}).describe("Represents an app with its associated add-ons.");
|
|
25
|
-
const FlyListAddOns_AppsConnectionSchema = z.object({ nodes: z.array(FlyListAddOns_AppNodeSchema).describe("List of app nodes").nullable().optional() }).describe("Represents a connection of apps.");
|
|
24
|
+
}).passthrough().describe("Represents an app with its associated add-ons.");
|
|
25
|
+
const FlyListAddOns_AppsConnectionSchema = z.object({ nodes: z.array(FlyListAddOns_AppNodeSchema).describe("List of app nodes").nullable().optional() }).passthrough().describe("Represents a connection of apps.");
|
|
26
26
|
const FlyListAddOns_OrganizationSchema = z.object({
|
|
27
27
|
id: z.string().describe("Unique identifier for the organization").nullable().optional(),
|
|
28
28
|
apps: FlyListAddOns_AppsConnectionSchema.nullable().optional(),
|
|
29
29
|
name: z.string().describe("Name of the organization").nullable().optional(),
|
|
30
30
|
slug: z.string().describe("Slug for the organization").nullable().optional(),
|
|
31
31
|
addOns: FlyListAddOns_AddOnsConnectionSchema.nullable().optional()
|
|
32
|
-
}).describe("Represents an organization with apps and add-ons.");
|
|
32
|
+
}).passthrough().describe("Represents an organization with apps and add-ons.");
|
|
33
33
|
const FlyListAddOns_ListAddOnsResponseDataSchema = z.object({
|
|
34
34
|
organization: FlyListAddOns_OrganizationSchema.nullable().optional(),
|
|
35
35
|
personalOrganization: FlyListAddOns_OrganizationSchema.nullable().optional()
|
|
36
|
-
}).describe("Data returned from the GraphQL query.");
|
|
36
|
+
}).passthrough().describe("Data returned from the GraphQL query.");
|
|
37
37
|
const flyListAddOns = action("FLY_LIST_ADD_ONS", {
|
|
38
38
|
slug: "fly-list-add-ons",
|
|
39
39
|
name: "List Add-Ons",
|
|
@@ -42,7 +42,7 @@ const flyListAddOns = action("FLY_LIST_ADD_ONS", {
|
|
|
42
42
|
output: z.object({
|
|
43
43
|
data: FlyListAddOns_ListAddOnsResponseDataSchema.nullable().optional(),
|
|
44
44
|
errors: z.array(z.record(z.string(), z.unknown())).describe("Any errors returned by the GraphQL API.").nullable().optional()
|
|
45
|
-
}).describe("Response model for listing add-ons.")
|
|
45
|
+
}).passthrough().describe("Response model for listing add-ons.")
|
|
46
46
|
});
|
|
47
47
|
//#endregion
|
|
48
48
|
export { flyListAddOns };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-add-ons.mjs","names":[],"sources":["../../src/actions/list-add-ons.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyListAddOnsInput = z.object({\n query: z.string().default(\"query { personalOrganization { id slug name apps { nodes { name addOns { nodes { id name status createdAt updatedAt } } } } } }\").describe(\"GraphQL query string to retrieve add-ons. Default query fetches add-ons for all apps in the personal organization. You can customize the query to fetch specific fields from the AddOn type (id, name, status, createdAt, updatedAt, addOnPlanName, hostname, publicUrl, environment, metadata, options, etc.) or filter by organization.\").optional(),\n variables: z.record(z.string(), z.unknown()).describe(\"Variables for the GraphQL query (optional). Use this to pass dynamic values like organization slugs, pagination parameters (first, after, before, last), or filters (type: AddOnType).\").optional(),\n}).describe(\"Request model for listing add-ons associated with an organization.\");\nconst FlyListAddOns_AddOnNodeSchema = z.object({\n id: z.string().describe(\"Unique identifier for the add-on\").nullable().optional(),\n name: z.string().describe(\"Name of the add-on\").nullable().optional(),\n status: z.string().describe(\"Current status of the add-on\").nullable().optional(),\n hostname: z.string().describe(\"Hostname for the add-on\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata for the add-on\").nullable().optional(),\n createdAt: z.string().describe(\"ISO8601 timestamp when the add-on was created\").nullable().optional(),\n publicUrl: z.string().describe(\"Public URL for the add-on\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO8601 timestamp when the add-on was last updated\").nullable().optional(),\n environment: z.record(z.string(), z.unknown()).describe(\"Environment variables for the add-on\").nullable().optional(),\n addOnPlanName: z.string().describe(\"Name of the add-on plan\").nullable().optional(),\n}).describe(\"Represents an individual add-on.\");\nconst FlyListAddOns_AddOnsConnectionSchema = z.object({\n nodes: z.array(FlyListAddOns_AddOnNodeSchema).describe(\"List of add-on nodes\").nullable().optional(),\n}).describe(\"Represents a connection of add-ons with pagination support.\");\nconst FlyListAddOns_AppNodeSchema = z.object({\n name: z.string().describe(\"Name of the app\").nullable().optional(),\n addOns: FlyListAddOns_AddOnsConnectionSchema.nullable().optional(),\n}).describe(\"Represents an app with its associated add-ons.\");\nconst FlyListAddOns_AppsConnectionSchema = z.object({\n nodes: z.array(FlyListAddOns_AppNodeSchema).describe(\"List of app nodes\").nullable().optional(),\n}).describe(\"Represents a connection of apps.\");\nconst FlyListAddOns_OrganizationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the organization\").nullable().optional(),\n apps: FlyListAddOns_AppsConnectionSchema.nullable().optional(),\n name: z.string().describe(\"Name of the organization\").nullable().optional(),\n slug: z.string().describe(\"Slug for the organization\").nullable().optional(),\n addOns: FlyListAddOns_AddOnsConnectionSchema.nullable().optional(),\n}).describe(\"Represents an organization with apps and add-ons.\");\nconst FlyListAddOns_ListAddOnsResponseDataSchema: z.ZodTypeAny = z.object({\n organization: FlyListAddOns_OrganizationSchema.nullable().optional(),\n personalOrganization: FlyListAddOns_OrganizationSchema.nullable().optional(),\n}).describe(\"Data returned from the GraphQL query.\");\nexport const FlyListAddOnsOutput = z.object({\n data: FlyListAddOns_ListAddOnsResponseDataSchema.nullable().optional(),\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"Any errors returned by the GraphQL API.\").nullable().optional(),\n}).describe(\"Response model for listing add-ons.\");\n\nexport const flyListAddOns = action(\"FLY_LIST_ADD_ONS\", {\n slug: \"fly-list-add-ons\",\n name: \"List Add-Ons\",\n description: \"Tool to list add-ons associated with an organization in Fly.io. Use when you need to retrieve add-ons for apps in an organization. Supports querying personal organization or specific organizations by slug. Returns comprehensive add-on details including status, creation date, and configuration.\",\n input: FlyListAddOnsInput,\n output: FlyListAddOnsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAqB,EAAE,OAAO;CACzC,OAAO,EAAE,OAAO,CAAC,CAAC,QAAQ,iIAAiI,CAAC,CAAC,SAAS,2UAA2U,CAAC,CAAC,SAAS;CAC5f,WAAW,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wLAAwL,CAAC,CAAC,SAAS;AAC3P,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,gCAAgC,EAAE,OAAO;CAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,aAAa,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,kCAAkC;
|
|
1
|
+
{"version":3,"file":"list-add-ons.mjs","names":[],"sources":["../../src/actions/list-add-ons.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyListAddOnsInput = z.object({\n query: z.string().default(\"query { personalOrganization { id slug name apps { nodes { name addOns { nodes { id name status createdAt updatedAt } } } } } }\").describe(\"GraphQL query string to retrieve add-ons. Default query fetches add-ons for all apps in the personal organization. You can customize the query to fetch specific fields from the AddOn type (id, name, status, createdAt, updatedAt, addOnPlanName, hostname, publicUrl, environment, metadata, options, etc.) or filter by organization.\").optional(),\n variables: z.record(z.string(), z.unknown()).describe(\"Variables for the GraphQL query (optional). Use this to pass dynamic values like organization slugs, pagination parameters (first, after, before, last), or filters (type: AddOnType).\").optional(),\n}).describe(\"Request model for listing add-ons associated with an organization.\");\nconst FlyListAddOns_AddOnNodeSchema = z.object({\n id: z.string().describe(\"Unique identifier for the add-on\").nullable().optional(),\n name: z.string().describe(\"Name of the add-on\").nullable().optional(),\n status: z.string().describe(\"Current status of the add-on\").nullable().optional(),\n hostname: z.string().describe(\"Hostname for the add-on\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata for the add-on\").nullable().optional(),\n createdAt: z.string().describe(\"ISO8601 timestamp when the add-on was created\").nullable().optional(),\n publicUrl: z.string().describe(\"Public URL for the add-on\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO8601 timestamp when the add-on was last updated\").nullable().optional(),\n environment: z.record(z.string(), z.unknown()).describe(\"Environment variables for the add-on\").nullable().optional(),\n addOnPlanName: z.string().describe(\"Name of the add-on plan\").nullable().optional(),\n}).passthrough().describe(\"Represents an individual add-on.\");\nconst FlyListAddOns_AddOnsConnectionSchema = z.object({\n nodes: z.array(FlyListAddOns_AddOnNodeSchema).describe(\"List of add-on nodes\").nullable().optional(),\n}).passthrough().describe(\"Represents a connection of add-ons with pagination support.\");\nconst FlyListAddOns_AppNodeSchema = z.object({\n name: z.string().describe(\"Name of the app\").nullable().optional(),\n addOns: FlyListAddOns_AddOnsConnectionSchema.nullable().optional(),\n}).passthrough().describe(\"Represents an app with its associated add-ons.\");\nconst FlyListAddOns_AppsConnectionSchema = z.object({\n nodes: z.array(FlyListAddOns_AppNodeSchema).describe(\"List of app nodes\").nullable().optional(),\n}).passthrough().describe(\"Represents a connection of apps.\");\nconst FlyListAddOns_OrganizationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the organization\").nullable().optional(),\n apps: FlyListAddOns_AppsConnectionSchema.nullable().optional(),\n name: z.string().describe(\"Name of the organization\").nullable().optional(),\n slug: z.string().describe(\"Slug for the organization\").nullable().optional(),\n addOns: FlyListAddOns_AddOnsConnectionSchema.nullable().optional(),\n}).passthrough().describe(\"Represents an organization with apps and add-ons.\");\nconst FlyListAddOns_ListAddOnsResponseDataSchema: z.ZodTypeAny = z.object({\n organization: FlyListAddOns_OrganizationSchema.nullable().optional(),\n personalOrganization: FlyListAddOns_OrganizationSchema.nullable().optional(),\n}).passthrough().describe(\"Data returned from the GraphQL query.\");\nexport const FlyListAddOnsOutput = z.object({\n data: FlyListAddOns_ListAddOnsResponseDataSchema.nullable().optional(),\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"Any errors returned by the GraphQL API.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing add-ons.\");\n\nexport const flyListAddOns = action(\"FLY_LIST_ADD_ONS\", {\n slug: \"fly-list-add-ons\",\n name: \"List Add-Ons\",\n description: \"Tool to list add-ons associated with an organization in Fly.io. Use when you need to retrieve add-ons for apps in an organization. Supports querying personal organization or specific organizations by slug. Returns comprehensive add-on details including status, creation date, and configuration.\",\n input: FlyListAddOnsInput,\n output: FlyListAddOnsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAqB,EAAE,OAAO;CACzC,OAAO,EAAE,OAAO,CAAC,CAAC,QAAQ,iIAAiI,CAAC,CAAC,SAAS,2UAA2U,CAAC,CAAC,SAAS;CAC5f,WAAW,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wLAAwL,CAAC,CAAC,SAAS;AAC3P,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,gCAAgC,EAAE,OAAO;CAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD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SAAS;CAC3E,QAAQ,qCAAqC,SAAS,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAM,6CAA2D,EAAE,OAAO;CACxE,cAAc,iCAAiC,SAAS,CAAC,CAAC,SAAS;CACnE,sBAAsB,iCAAiC,SAAS,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAMjE,MAAa,gBAAgB,OAAO,oBAAoB;CACtD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAViC,EAAE,OAAO;EAC1C,MAAM,2CAA2C,SAAS,CAAC,CAAC,SAAS;EACrE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAOhB;AACV,CAAC"}
|
|
@@ -10,38 +10,38 @@ const FlyListAppsGraphqlInput = zod.z.object({
|
|
|
10
10
|
include_volumes: zod.z.boolean().default(true).describe("Include volume information for each app").optional(),
|
|
11
11
|
include_services: zod.z.boolean().default(true).describe("Include service information for each app").optional()
|
|
12
12
|
}).describe("Request model for listing Fly.io applications via GraphQL.");
|
|
13
|
-
const FlyListAppsGraphql_VMInfoSchema = zod.z.object({ totalCount: zod.z.number().int().describe("Total count of virtual machines").nullable().optional() }).describe("Virtual machine information.");
|
|
14
|
-
const FlyListAppsGraphql_VolumeNodeSchema = zod.z.object({ name: zod.z.string().describe("Volume name").nullable().optional() }).describe("Volume node information.");
|
|
15
|
-
const FlyListAppsGraphql_VolumesSchema = zod.z.object({ nodes: zod.z.array(FlyListAppsGraphql_VolumeNodeSchema).describe("List of volume nodes").nullable().optional() }).describe("Volumes associated with an application.");
|
|
13
|
+
const FlyListAppsGraphql_VMInfoSchema = zod.z.object({ totalCount: zod.z.number().int().describe("Total count of virtual machines").nullable().optional() }).passthrough().describe("Virtual machine information.");
|
|
14
|
+
const FlyListAppsGraphql_VolumeNodeSchema = zod.z.object({ name: zod.z.string().describe("Volume name").nullable().optional() }).passthrough().describe("Volume node information.");
|
|
15
|
+
const FlyListAppsGraphql_VolumesSchema = zod.z.object({ nodes: zod.z.array(FlyListAppsGraphql_VolumeNodeSchema).describe("List of volume nodes").nullable().optional() }).passthrough().describe("Volumes associated with an application.");
|
|
16
16
|
const FlyListAppsGraphql_CheckInfoSchema = zod.z.object({
|
|
17
17
|
name: zod.z.string().describe("Health check name").nullable().optional(),
|
|
18
18
|
httpPath: zod.z.string().describe("HTTP path for the health check").nullable().optional()
|
|
19
|
-
}).describe("Health check information.");
|
|
19
|
+
}).passthrough().describe("Health check information.");
|
|
20
20
|
const FlyListAppsGraphql_ServiceInfoSchema = zod.z.object({
|
|
21
21
|
checks: zod.z.array(FlyListAppsGraphql_CheckInfoSchema).describe("List of health checks for the service").nullable().optional(),
|
|
22
22
|
description: zod.z.string().describe("Service description").nullable().optional()
|
|
23
|
-
}).describe("Service information.");
|
|
23
|
+
}).passthrough().describe("Service information.");
|
|
24
24
|
const FlyListAppsGraphql_AppNodeSchema = zod.z.object({
|
|
25
25
|
vms: FlyListAppsGraphql_VMInfoSchema.nullable().optional(),
|
|
26
26
|
name: zod.z.string().describe("Application name").nullable().optional(),
|
|
27
27
|
volumes: FlyListAppsGraphql_VolumesSchema.nullable().optional(),
|
|
28
28
|
services: zod.z.array(FlyListAppsGraphql_ServiceInfoSchema).describe("Services running in the app").nullable().optional()
|
|
29
|
-
}).describe("Application node information.");
|
|
29
|
+
}).passthrough().describe("Application node information.");
|
|
30
30
|
const FlyListAppsGraphql_PageInfoSchema = zod.z.object({
|
|
31
31
|
endCursor: zod.z.string().describe("Cursor of the last item in the current page").nullable().optional(),
|
|
32
32
|
hasNextPage: zod.z.boolean().describe("Whether there are more items after the current page").nullable().optional(),
|
|
33
33
|
startCursor: zod.z.string().describe("Cursor of the first item in the current page").nullable().optional(),
|
|
34
34
|
hasPreviousPage: zod.z.boolean().describe("Whether there are more items before the current page").nullable().optional()
|
|
35
|
-
}).describe("Relay-style pagination info.");
|
|
35
|
+
}).passthrough().describe("Relay-style pagination info.");
|
|
36
36
|
const FlyListAppsGraphql_AppsDataSchema = zod.z.object({
|
|
37
37
|
nodes: zod.z.array(FlyListAppsGraphql_AppNodeSchema).describe("List of application nodes").nullable().optional(),
|
|
38
38
|
pageInfo: FlyListAppsGraphql_PageInfoSchema.nullable().optional()
|
|
39
|
-
}).describe("Apps data structure.");
|
|
40
|
-
const FlyListAppsGraphql_ListAppsGraphqlResponseDataSchema = zod.z.object({ apps: FlyListAppsGraphql_AppsDataSchema.nullable().optional() }).describe("GraphQL response data.");
|
|
39
|
+
}).passthrough().describe("Apps data structure.");
|
|
40
|
+
const FlyListAppsGraphql_ListAppsGraphqlResponseDataSchema = zod.z.object({ apps: FlyListAppsGraphql_AppsDataSchema.nullable().optional() }).passthrough().describe("GraphQL response data.");
|
|
41
41
|
const FlyListAppsGraphqlOutput = zod.z.object({
|
|
42
42
|
data: FlyListAppsGraphql_ListAppsGraphqlResponseDataSchema.nullable().optional(),
|
|
43
43
|
errors: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Any errors returned by the GraphQL API").nullable().optional()
|
|
44
|
-
}).describe("Response model for listing Fly.io applications via GraphQL.");
|
|
44
|
+
}).passthrough().describe("Response model for listing Fly.io applications via GraphQL.");
|
|
45
45
|
const flyListAppsGraphql = require_action.action("FLY_LIST_APPS_GRAPHQL", {
|
|
46
46
|
slug: "fly-list-apps-graphql",
|
|
47
47
|
name: "List Apps via GraphQL",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-apps-graphql.cjs","names":["z","action"],"sources":["../../src/actions/list-apps-graphql.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyListAppsGraphqlInput = z.object({\n last: z.number().int().describe(\"Number of apps to return from the end of the list (backward pagination).\").optional(),\n after: z.string().describe(\"Cursor to paginate forward. Use the endCursor from a previous response's pageInfo.\").optional(),\n first: z.number().int().describe(\"Number of apps to return from the beginning of the list (forward pagination). Defaults to server default if not specified.\").optional(),\n before: z.string().describe(\"Cursor to paginate backward. Use the startCursor from a previous response's pageInfo.\").optional(),\n include_vms: z.boolean().default(true).describe(\"Include VM count information for each app\").optional(),\n include_volumes: z.boolean().default(true).describe(\"Include volume information for each app\").optional(),\n include_services: z.boolean().default(true).describe(\"Include service information for each app\").optional(),\n}).describe(\"Request model for listing Fly.io applications via GraphQL.\");\nconst FlyListAppsGraphql_VMInfoSchema = z.object({\n totalCount: z.number().int().describe(\"Total count of virtual machines\").nullable().optional(),\n}).describe(\"Virtual machine information.\");\nconst FlyListAppsGraphql_VolumeNodeSchema = z.object({\n name: z.string().describe(\"Volume name\").nullable().optional(),\n}).describe(\"Volume node information.\");\nconst FlyListAppsGraphql_VolumesSchema = z.object({\n nodes: z.array(FlyListAppsGraphql_VolumeNodeSchema).describe(\"List of volume nodes\").nullable().optional(),\n}).describe(\"Volumes associated with an application.\");\nconst FlyListAppsGraphql_CheckInfoSchema = z.object({\n name: z.string().describe(\"Health check name\").nullable().optional(),\n httpPath: z.string().describe(\"HTTP path for the health check\").nullable().optional(),\n}).describe(\"Health check information.\");\nconst FlyListAppsGraphql_ServiceInfoSchema = z.object({\n checks: z.array(FlyListAppsGraphql_CheckInfoSchema).describe(\"List of health checks for the service\").nullable().optional(),\n description: z.string().describe(\"Service description\").nullable().optional(),\n}).describe(\"Service information.\");\nconst FlyListAppsGraphql_AppNodeSchema = z.object({\n vms: FlyListAppsGraphql_VMInfoSchema.nullable().optional(),\n name: z.string().describe(\"Application name\").nullable().optional(),\n volumes: FlyListAppsGraphql_VolumesSchema.nullable().optional(),\n services: z.array(FlyListAppsGraphql_ServiceInfoSchema).describe(\"Services running in the app\").nullable().optional(),\n}).describe(\"Application node information.\");\nconst FlyListAppsGraphql_PageInfoSchema = z.object({\n endCursor: z.string().describe(\"Cursor of the last item in the current page\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Whether there are more items after the current page\").nullable().optional(),\n startCursor: z.string().describe(\"Cursor of the first item in the current page\").nullable().optional(),\n hasPreviousPage: z.boolean().describe(\"Whether there are more items before the current page\").nullable().optional(),\n}).describe(\"Relay-style pagination info.\");\nconst FlyListAppsGraphql_AppsDataSchema = z.object({\n nodes: z.array(FlyListAppsGraphql_AppNodeSchema).describe(\"List of application nodes\").nullable().optional(),\n pageInfo: FlyListAppsGraphql_PageInfoSchema.nullable().optional(),\n}).describe(\"Apps data structure.\");\nconst FlyListAppsGraphql_ListAppsGraphqlResponseDataSchema = z.object({\n apps: FlyListAppsGraphql_AppsDataSchema.nullable().optional(),\n}).describe(\"GraphQL response data.\");\nexport const FlyListAppsGraphqlOutput = z.object({\n data: FlyListAppsGraphql_ListAppsGraphqlResponseDataSchema.nullable().optional(),\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"Any errors returned by the GraphQL API\").nullable().optional(),\n}).describe(\"Response model for listing Fly.io applications via GraphQL.\");\n\nexport const flyListAppsGraphql = action(\"FLY_LIST_APPS_GRAPHQL\", {\n slug: \"fly-list-apps-graphql\",\n name: \"List Apps via GraphQL\",\n description: \"List all Fly.io applications with details including volumes, services, and VMs using GraphQL. Use when you need to retrieve a comprehensive overview of all apps in your Fly.io organization.\",\n input: FlyListAppsGraphqlInput,\n output: FlyListAppsGraphqlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACrH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC1H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS;CACxK,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAC9H,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtG,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACxG,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,kCAAkCA,IAAAA,EAAE,OAAO,EAC/C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/F,CAAC,CAAC,CAAC,SAAS,8BAA8B;
|
|
1
|
+
{"version":3,"file":"list-apps-graphql.cjs","names":["z","action"],"sources":["../../src/actions/list-apps-graphql.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyListAppsGraphqlInput = z.object({\n last: z.number().int().describe(\"Number of apps to return from the end of the list (backward pagination).\").optional(),\n after: z.string().describe(\"Cursor to paginate forward. Use the endCursor from a previous response's pageInfo.\").optional(),\n first: z.number().int().describe(\"Number of apps to return from the beginning of the list (forward pagination). Defaults to server default if not specified.\").optional(),\n before: z.string().describe(\"Cursor to paginate backward. Use the startCursor from a previous response's pageInfo.\").optional(),\n include_vms: z.boolean().default(true).describe(\"Include VM count information for each app\").optional(),\n include_volumes: z.boolean().default(true).describe(\"Include volume information for each app\").optional(),\n include_services: z.boolean().default(true).describe(\"Include service information for each app\").optional(),\n}).describe(\"Request model for listing Fly.io applications via GraphQL.\");\nconst FlyListAppsGraphql_VMInfoSchema = z.object({\n totalCount: z.number().int().describe(\"Total count of virtual machines\").nullable().optional(),\n}).passthrough().describe(\"Virtual machine information.\");\nconst FlyListAppsGraphql_VolumeNodeSchema = z.object({\n name: z.string().describe(\"Volume name\").nullable().optional(),\n}).passthrough().describe(\"Volume node information.\");\nconst FlyListAppsGraphql_VolumesSchema = z.object({\n nodes: z.array(FlyListAppsGraphql_VolumeNodeSchema).describe(\"List of volume nodes\").nullable().optional(),\n}).passthrough().describe(\"Volumes associated with an application.\");\nconst FlyListAppsGraphql_CheckInfoSchema = z.object({\n name: z.string().describe(\"Health check name\").nullable().optional(),\n httpPath: z.string().describe(\"HTTP path for the health check\").nullable().optional(),\n}).passthrough().describe(\"Health check information.\");\nconst FlyListAppsGraphql_ServiceInfoSchema = z.object({\n checks: z.array(FlyListAppsGraphql_CheckInfoSchema).describe(\"List of health checks for the service\").nullable().optional(),\n description: z.string().describe(\"Service description\").nullable().optional(),\n}).passthrough().describe(\"Service information.\");\nconst FlyListAppsGraphql_AppNodeSchema = z.object({\n vms: FlyListAppsGraphql_VMInfoSchema.nullable().optional(),\n name: z.string().describe(\"Application name\").nullable().optional(),\n volumes: FlyListAppsGraphql_VolumesSchema.nullable().optional(),\n services: z.array(FlyListAppsGraphql_ServiceInfoSchema).describe(\"Services running in the app\").nullable().optional(),\n}).passthrough().describe(\"Application node information.\");\nconst FlyListAppsGraphql_PageInfoSchema = z.object({\n endCursor: z.string().describe(\"Cursor of the last item in the current page\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Whether there are more items after the current page\").nullable().optional(),\n startCursor: z.string().describe(\"Cursor of the first item in the current page\").nullable().optional(),\n hasPreviousPage: z.boolean().describe(\"Whether there are more items before the current page\").nullable().optional(),\n}).passthrough().describe(\"Relay-style pagination info.\");\nconst FlyListAppsGraphql_AppsDataSchema = z.object({\n nodes: z.array(FlyListAppsGraphql_AppNodeSchema).describe(\"List of application nodes\").nullable().optional(),\n pageInfo: FlyListAppsGraphql_PageInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Apps data structure.\");\nconst FlyListAppsGraphql_ListAppsGraphqlResponseDataSchema = z.object({\n apps: FlyListAppsGraphql_AppsDataSchema.nullable().optional(),\n}).passthrough().describe(\"GraphQL response data.\");\nexport const FlyListAppsGraphqlOutput = z.object({\n data: FlyListAppsGraphql_ListAppsGraphqlResponseDataSchema.nullable().optional(),\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"Any errors returned by the GraphQL API\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing Fly.io applications via GraphQL.\");\n\nexport const flyListAppsGraphql = action(\"FLY_LIST_APPS_GRAPHQL\", {\n slug: \"fly-list-apps-graphql\",\n name: \"List Apps via GraphQL\",\n description: \"List all Fly.io applications with details including volumes, services, and VMs using GraphQL. Use when you need to retrieve a comprehensive overview of all apps in your Fly.io organization.\",\n input: FlyListAppsGraphqlInput,\n output: FlyListAppsGraphqlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACrH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC1H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS;CACxK,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAC9H,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtG,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACxG,kBAAkBA,IAAA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