@keystrokehq/fly 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/package.json +1 -1
|
@@ -11,18 +11,18 @@ const FlyGetMachine_MachineDataSchema = z.object({
|
|
|
11
11
|
createdAt: z.string().describe("Timestamp when the machine was created (ISO 8601 format).").nullable().optional(),
|
|
12
12
|
updatedAt: z.string().describe("Timestamp when the machine was last updated (ISO 8601 format).").nullable().optional(),
|
|
13
13
|
instanceId: z.string().describe("Instance identifier for the machine.").nullable().optional()
|
|
14
|
-
}).describe("Machine information returned by the Fly.io API.");
|
|
15
|
-
const FlyGetMachine_GetMachineResponseDataSchema = z.object({ machine: FlyGetMachine_MachineDataSchema.nullable().optional() }).describe("Data section of the GraphQL response.");
|
|
14
|
+
}).passthrough().describe("Machine information returned by the Fly.io API.");
|
|
15
|
+
const FlyGetMachine_GetMachineResponseDataSchema = z.object({ machine: FlyGetMachine_MachineDataSchema.nullable().optional() }).passthrough().describe("Data section of the GraphQL response.");
|
|
16
16
|
const FlyGetMachine_GraphQLErrorLocationSchema = z.object({
|
|
17
17
|
line: z.number().int().describe("Line number in the GraphQL document where the error occurred (1-indexed).").nullable(),
|
|
18
18
|
column: z.number().int().describe("Column number in the GraphQL document where the error occurred (1-indexed).").nullable()
|
|
19
|
-
}).describe("Location of a GraphQL error in the query document.");
|
|
19
|
+
}).passthrough().describe("Location of a GraphQL error in the query document.");
|
|
20
20
|
const FlyGetMachine_GraphQLErrorSchema = z.object({
|
|
21
21
|
path: z.array(z.string()).describe("Path to the field that caused the error.").nullable().optional(),
|
|
22
22
|
message: z.string().describe("Description of the error that occurred during query execution.").nullable(),
|
|
23
23
|
locations: z.array(FlyGetMachine_GraphQLErrorLocationSchema).describe("List of locations in the GraphQL document where the error originated.").nullable().optional(),
|
|
24
24
|
extensions: z.record(z.string(), z.unknown()).describe("Additional error metadata.").nullable().optional()
|
|
25
|
-
}).describe("Detailed information about a GraphQL execution error.");
|
|
25
|
+
}).passthrough().describe("Detailed information about a GraphQL execution error.");
|
|
26
26
|
const flyGetMachine = action("FLY_GET_MACHINE", {
|
|
27
27
|
slug: "fly-get-machine",
|
|
28
28
|
name: "Get Machine",
|
|
@@ -31,7 +31,7 @@ const flyGetMachine = action("FLY_GET_MACHINE", {
|
|
|
31
31
|
output: z.object({
|
|
32
32
|
data: FlyGetMachine_GetMachineResponseDataSchema.nullable().optional(),
|
|
33
33
|
errors: z.array(FlyGetMachine_GraphQLErrorSchema).describe("List of errors encountered during query execution. Present when query fails.").nullable().optional()
|
|
34
|
-
}).describe("Response from the Fly.io GraphQL API for machine query.")
|
|
34
|
+
}).passthrough().describe("Response from the Fly.io GraphQL API for machine query.")
|
|
35
35
|
});
|
|
36
36
|
//#endregion
|
|
37
37
|
export { flyGetMachine };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-machine.mjs","names":[],"sources":["../../src/actions/get-machine.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetMachineInput = z.object({\n machineId: z.string().describe(\"The unique identifier of the machine to retrieve.\"),\n}).describe(\"Request parameters for retrieving a machine by ID.\");\nconst FlyGetMachine_MachineDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the machine.\").nullable().optional(),\n name: z.string().describe(\"Name of the machine.\").nullable().optional(),\n state: z.string().describe(\"Current state of the machine (e.g., started, stopped, destroyed).\").nullable().optional(),\n config: z.record(z.string(), z.unknown()).describe(\"Configuration object for the machine.\").nullable().optional(),\n region: z.string().describe(\"Region where the machine is deployed.\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the machine was created (ISO 8601 format).\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the machine was last updated (ISO 8601 format).\").nullable().optional(),\n instanceId: z.string().describe(\"Instance identifier for the machine.\").nullable().optional(),\n}).describe(\"Machine information returned by the Fly.io API.\");\nconst FlyGetMachine_GetMachineResponseDataSchema = z.object({\n machine: FlyGetMachine_MachineDataSchema.nullable().optional(),\n}).describe(\"Data section of the GraphQL response.\");\nconst FlyGetMachine_GraphQLErrorLocationSchema = z.object({\n line: z.number().int().describe(\"Line number in the GraphQL document where the error occurred (1-indexed).\").nullable(),\n column: z.number().int().describe(\"Column number in the GraphQL document where the error occurred (1-indexed).\").nullable(),\n}).describe(\"Location of a GraphQL error in the query document.\");\nconst FlyGetMachine_GraphQLErrorSchema = z.object({\n path: z.array(z.string()).describe(\"Path to the field that caused the error.\").nullable().optional(),\n message: z.string().describe(\"Description of the error that occurred during query execution.\").nullable(),\n locations: z.array(FlyGetMachine_GraphQLErrorLocationSchema).describe(\"List of locations in the GraphQL document where the error originated.\").nullable().optional(),\n extensions: z.record(z.string(), z.unknown()).describe(\"Additional error metadata.\").nullable().optional(),\n}).describe(\"Detailed information about a GraphQL execution error.\");\nexport const FlyGetMachineOutput = z.object({\n data: FlyGetMachine_GetMachineResponseDataSchema.nullable().optional(),\n errors: z.array(FlyGetMachine_GraphQLErrorSchema).describe(\"List of errors encountered during query execution. Present when query fails.\").nullable().optional(),\n}).describe(\"Response from the Fly.io GraphQL API for machine query.\");\n\nexport const flyGetMachine = action(\"FLY_GET_MACHINE\", {\n slug: \"fly-get-machine\",\n name: \"Get Machine\",\n description: \"Tool to get a single machine by ID from Fly.io. Use when you need to retrieve details about a specific machine instance.\",\n input: FlyGetMachineInput,\n output: FlyGetMachineOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAqB,EAAE,OAAO,EACzC,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,EACpF,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,kCAAkC,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,iDAAiD;
|
|
1
|
+
{"version":3,"file":"get-machine.mjs","names":[],"sources":["../../src/actions/get-machine.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetMachineInput = z.object({\n machineId: z.string().describe(\"The unique identifier of the machine to retrieve.\"),\n}).describe(\"Request parameters for retrieving a machine by ID.\");\nconst FlyGetMachine_MachineDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the machine.\").nullable().optional(),\n name: z.string().describe(\"Name of the machine.\").nullable().optional(),\n state: z.string().describe(\"Current state of the machine (e.g., started, stopped, destroyed).\").nullable().optional(),\n config: z.record(z.string(), z.unknown()).describe(\"Configuration object for the machine.\").nullable().optional(),\n region: z.string().describe(\"Region where the machine is deployed.\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the machine was created (ISO 8601 format).\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the machine was last updated (ISO 8601 format).\").nullable().optional(),\n instanceId: z.string().describe(\"Instance identifier for the machine.\").nullable().optional(),\n}).passthrough().describe(\"Machine information returned by the Fly.io API.\");\nconst FlyGetMachine_GetMachineResponseDataSchema = z.object({\n machine: FlyGetMachine_MachineDataSchema.nullable().optional(),\n}).passthrough().describe(\"Data section of the GraphQL response.\");\nconst FlyGetMachine_GraphQLErrorLocationSchema = z.object({\n line: z.number().int().describe(\"Line number in the GraphQL document where the error occurred (1-indexed).\").nullable(),\n column: z.number().int().describe(\"Column number in the GraphQL document where the error occurred (1-indexed).\").nullable(),\n}).passthrough().describe(\"Location of a GraphQL error in the query document.\");\nconst FlyGetMachine_GraphQLErrorSchema = z.object({\n path: z.array(z.string()).describe(\"Path to the field that caused the error.\").nullable().optional(),\n message: z.string().describe(\"Description of the error that occurred during query execution.\").nullable(),\n locations: z.array(FlyGetMachine_GraphQLErrorLocationSchema).describe(\"List of locations in the GraphQL document where the error originated.\").nullable().optional(),\n extensions: z.record(z.string(), z.unknown()).describe(\"Additional error metadata.\").nullable().optional(),\n}).passthrough().describe(\"Detailed information about a GraphQL execution error.\");\nexport const FlyGetMachineOutput = z.object({\n data: FlyGetMachine_GetMachineResponseDataSchema.nullable().optional(),\n errors: z.array(FlyGetMachine_GraphQLErrorSchema).describe(\"List of errors encountered during query execution. Present when query fails.\").nullable().optional(),\n}).passthrough().describe(\"Response from the Fly.io GraphQL API for machine query.\");\n\nexport const flyGetMachine = action(\"FLY_GET_MACHINE\", {\n slug: \"fly-get-machine\",\n name: \"Get Machine\",\n description: \"Tool to get a single machine by ID from Fly.io. Use when you need to retrieve details about a specific machine instance.\",\n input: FlyGetMachineInput,\n output: FlyGetMachineOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAqB,EAAE,OAAO,EACzC,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,EACpF,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,kCAAkC,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAM,6CAA6C,EAAE,OAAO,EAC1D,SAAS,gCAAgC,SAAS,CAAC,CAAC,SAAS,EAC/D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAM,2CAA2C,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACtH,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAC9E,MAAM,mCAAmC,EAAE,OAAO;CAChD,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACxG,WAAW,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnK,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAMjF,MAAa,gBAAgB,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAViC,EAAE,OAAO;EAC1C,MAAM,2CAA2C,SAAS,CAAC,CAAC,SAAS;EACrE,QAAQ,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const FlyGetNearestRegionInput = zod.z.object({}).describe("Request model for FL
|
|
|
5
5
|
const FlyGetNearestRegionOutput = zod.z.object({
|
|
6
6
|
data: zod.z.record(zod.z.string(), zod.z.unknown()).describe("The 'data' object returned by the GraphQL API. Contains a 'nearestRegion' object with the code of the geographically nearest Fly.io region.").nullable().optional(),
|
|
7
7
|
errors: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Any errors returned by the GraphQL API. Each error includes a message and may include additional context like path and locations.").nullable().optional()
|
|
8
|
-
}).describe("Response model for FLY_GQL_NEAREST_REGION.");
|
|
8
|
+
}).passthrough().describe("Response model for FLY_GQL_NEAREST_REGION.");
|
|
9
9
|
const flyGetNearestRegion = require_action.action("FLY_GET_NEAREST_REGION", {
|
|
10
10
|
slug: "fly-get-nearest-region",
|
|
11
11
|
name: "Get Nearest Region",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-nearest-region.cjs","names":["z","action"],"sources":["../../src/actions/get-nearest-region.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetNearestRegionInput = z.object({}).describe(\"Request model for FLY_GQL_NEAREST_REGION.\\nThis query requires no parameters - it automatically determines the nearest region based on the request origin.\");\nexport const FlyGetNearestRegionOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"The 'data' object returned by the GraphQL API. Contains a 'nearestRegion' object with the code of the geographically nearest Fly.io region.\").nullable().optional(),\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"Any errors returned by the GraphQL API. Each error includes a message and may include additional context like path and locations.\").nullable().optional(),\n}).describe(\"Response model for FLY_GQL_NEAREST_REGION.\");\n\nexport const flyGetNearestRegion = action(\"FLY_GET_NEAREST_REGION\", {\n slug: \"fly-get-nearest-region\",\n name: \"Get Nearest Region\",\n description: \"Tool to retrieve the nearest Fly.io region to the requesting client based on network location. Use when you need to determine which Fly.io region has the lowest latency from the current location.\",\n input: FlyGetNearestRegionInput,\n output: FlyGetNearestRegionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4JAA4J;AAC1N,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpN,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvN,CAAC,CAAC,CAAC,SAAS,4CAA4C;
|
|
1
|
+
{"version":3,"file":"get-nearest-region.cjs","names":["z","action"],"sources":["../../src/actions/get-nearest-region.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetNearestRegionInput = z.object({}).describe(\"Request model for FLY_GQL_NEAREST_REGION.\\nThis query requires no parameters - it automatically determines the nearest region based on the request origin.\");\nexport const FlyGetNearestRegionOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"The 'data' object returned by the GraphQL API. Contains a 'nearestRegion' object with the code of the geographically nearest Fly.io region.\").nullable().optional(),\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"Any errors returned by the GraphQL API. Each error includes a message and may include additional context like path and locations.\").nullable().optional(),\n}).passthrough().describe(\"Response model for FLY_GQL_NEAREST_REGION.\");\n\nexport const flyGetNearestRegion = action(\"FLY_GET_NEAREST_REGION\", {\n slug: \"fly-get-nearest-region\",\n name: \"Get Nearest Region\",\n description: \"Tool to retrieve the nearest Fly.io region to the requesting client based on network location. Use when you need to determine which Fly.io region has the lowest latency from the current location.\",\n input: FlyGetNearestRegionInput,\n output: FlyGetNearestRegionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4JAA4J;AAC1N,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpN,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,sBAAsBC,eAAAA,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ declare const FlyGetNearestRegionInput: z.ZodObject<{}, z.core.$strip>;
|
|
|
5
5
|
declare const FlyGetNearestRegionOutput: z.ZodObject<{
|
|
6
6
|
data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
7
7
|
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
8
|
-
}, z.core.$
|
|
8
|
+
}, z.core.$loose>;
|
|
9
9
|
declare const flyGetNearestRegion: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { flyGetNearestRegion };
|
|
@@ -5,7 +5,7 @@ declare const FlyGetNearestRegionInput: z.ZodObject<{}, z.core.$strip>;
|
|
|
5
5
|
declare const FlyGetNearestRegionOutput: z.ZodObject<{
|
|
6
6
|
data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
7
7
|
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
8
|
-
}, z.core.$
|
|
8
|
+
}, z.core.$loose>;
|
|
9
9
|
declare const flyGetNearestRegion: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { flyGetNearestRegion };
|
|
@@ -8,7 +8,7 @@ const flyGetNearestRegion = action("FLY_GET_NEAREST_REGION", {
|
|
|
8
8
|
output: z.object({
|
|
9
9
|
data: z.record(z.string(), z.unknown()).describe("The 'data' object returned by the GraphQL API. Contains a 'nearestRegion' object with the code of the geographically nearest Fly.io region.").nullable().optional(),
|
|
10
10
|
errors: z.array(z.record(z.string(), z.unknown())).describe("Any errors returned by the GraphQL API. Each error includes a message and may include additional context like path and locations.").nullable().optional()
|
|
11
|
-
}).describe("Response model for FLY_GQL_NEAREST_REGION.")
|
|
11
|
+
}).passthrough().describe("Response model for FLY_GQL_NEAREST_REGION.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { flyGetNearestRegion };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-nearest-region.mjs","names":[],"sources":["../../src/actions/get-nearest-region.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetNearestRegionInput = z.object({}).describe(\"Request model for FLY_GQL_NEAREST_REGION.\\nThis query requires no parameters - it automatically determines the nearest region based on the request origin.\");\nexport const FlyGetNearestRegionOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"The 'data' object returned by the GraphQL API. Contains a 'nearestRegion' object with the code of the geographically nearest Fly.io region.\").nullable().optional(),\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"Any errors returned by the GraphQL API. Each error includes a message and may include additional context like path and locations.\").nullable().optional(),\n}).describe(\"Response model for FLY_GQL_NEAREST_REGION.\");\n\nexport const flyGetNearestRegion = action(\"FLY_GET_NEAREST_REGION\", {\n slug: \"fly-get-nearest-region\",\n name: \"Get Nearest Region\",\n description: \"Tool to retrieve the nearest Fly.io region to the requesting client based on network location. Use when you need to determine which Fly.io region has the lowest latency from the current location.\",\n input: FlyGetNearestRegionInput,\n output: FlyGetNearestRegionOutput,\n});\n"],"mappings":";;AAUA,MAAa,sBAAsB,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAVsC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4JAUrD;CACP,QAVuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpN,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvN,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"get-nearest-region.mjs","names":[],"sources":["../../src/actions/get-nearest-region.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetNearestRegionInput = z.object({}).describe(\"Request model for FLY_GQL_NEAREST_REGION.\\nThis query requires no parameters - it automatically determines the nearest region based on the request origin.\");\nexport const FlyGetNearestRegionOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"The 'data' object returned by the GraphQL API. Contains a 'nearestRegion' object with the code of the geographically nearest Fly.io region.\").nullable().optional(),\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"Any errors returned by the GraphQL API. Each error includes a message and may include additional context like path and locations.\").nullable().optional(),\n}).passthrough().describe(\"Response model for FLY_GQL_NEAREST_REGION.\");\n\nexport const flyGetNearestRegion = action(\"FLY_GET_NEAREST_REGION\", {\n slug: \"fly-get-nearest-region\",\n name: \"Get Nearest Region\",\n description: \"Tool to retrieve the nearest Fly.io region to the requesting client based on network location. Use when you need to determine which Fly.io region has the lowest latency from the current location.\",\n input: FlyGetNearestRegionInput,\n output: FlyGetNearestRegionOutput,\n});\n"],"mappings":";;AAUA,MAAa,sBAAsB,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAVsC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4JAUrD;CACP,QAVuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpN,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
|
|
@@ -5,21 +5,21 @@ const FlyGetNodeInput = zod.z.object({ id: zod.z.string().describe("The globally
|
|
|
5
5
|
const FlyGetNode_NodeObjectSchema = zod.z.object({
|
|
6
6
|
id: zod.z.string().describe("The globally unique ID of the object.").nullable(),
|
|
7
7
|
__typename: zod.z.string().describe("The actual type of the object (e.g., Organization, App, Machine, Volume).").nullable()
|
|
8
|
-
}).describe("The node object returned in the data field.");
|
|
9
|
-
const FlyGetNode_NodeDataSchema = zod.z.object({ node: FlyGetNode_NodeObjectSchema.nullable().optional() }).describe("The data field containing the node object.");
|
|
8
|
+
}).passthrough().describe("The node object returned in the data field.");
|
|
9
|
+
const FlyGetNode_NodeDataSchema = zod.z.object({ node: FlyGetNode_NodeObjectSchema.nullable().optional() }).passthrough().describe("The data field containing the node object.");
|
|
10
10
|
const FlyGetNode_GraphQLErrorLocationSchema = zod.z.object({
|
|
11
11
|
line: zod.z.number().int().describe("Line number in the query.").nullable(),
|
|
12
12
|
column: zod.z.number().int().describe("Column number in the query.").nullable()
|
|
13
|
-
}).describe("Location in the GraphQL query where an error occurred.");
|
|
13
|
+
}).passthrough().describe("Location in the GraphQL query where an error occurred.");
|
|
14
14
|
const FlyGetNode_GraphQLErrorSchema = zod.z.object({
|
|
15
15
|
path: zod.z.array(zod.z.string()).describe("Path to the field that caused the error.").nullable().optional(),
|
|
16
16
|
message: zod.z.string().describe("The error message.").nullable(),
|
|
17
17
|
locations: zod.z.array(FlyGetNode_GraphQLErrorLocationSchema).describe("Source locations of the error in the query.").nullable().optional()
|
|
18
|
-
}).describe("GraphQL error object.");
|
|
18
|
+
}).passthrough().describe("GraphQL error object.");
|
|
19
19
|
const FlyGetNodeOutput = zod.z.object({
|
|
20
20
|
data: FlyGetNode_NodeDataSchema.nullable().optional(),
|
|
21
21
|
errors: zod.z.array(FlyGetNode_GraphQLErrorSchema).describe("Any errors returned by the GraphQL API.").nullable().optional()
|
|
22
|
-
}).describe("Response model for the node query.\n\nThe node query follows the GraphQL Global Object Identification pattern.\nReturns a Node interface object whose actual type depends on the ID provided.");
|
|
22
|
+
}).passthrough().describe("Response model for the node query.\n\nThe node query follows the GraphQL Global Object Identification pattern.\nReturns a Node interface object whose actual type depends on the ID provided.");
|
|
23
23
|
const flyGetNode = require_action.action("FLY_GET_NODE", {
|
|
24
24
|
slug: "fly-get-node",
|
|
25
25
|
name: "Get Node by ID",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-node.cjs","names":["z","action"],"sources":["../../src/actions/get-node.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetNodeInput = z.object({\n id: z.string().describe(\"The globally unique ID of the object to fetch. This ID uniquely identifies any object in the Fly.io system (e.g., Organization, App, Machine, Volume, etc.).\"),\n}).describe(\"Request model for fetching an object by its globally unique ID using the node query.\");\nconst FlyGetNode_NodeObjectSchema = z.object({\n id: z.string().describe(\"The globally unique ID of the object.\").nullable(),\n __typename: z.string().describe(\"The actual type of the object (e.g., Organization, App, Machine, Volume).\").nullable(),\n}).describe(\"The node object returned in the data field.\");\nconst FlyGetNode_NodeDataSchema = z.object({\n node: FlyGetNode_NodeObjectSchema.nullable().optional(),\n}).describe(\"The data field containing the node object.\");\nconst FlyGetNode_GraphQLErrorLocationSchema = z.object({\n line: z.number().int().describe(\"Line number in the query.\").nullable(),\n column: z.number().int().describe(\"Column number in the query.\").nullable(),\n}).describe(\"Location in the GraphQL query where an error occurred.\");\nconst FlyGetNode_GraphQLErrorSchema = z.object({\n path: z.array(z.string()).describe(\"Path to the field that caused the error.\").nullable().optional(),\n message: z.string().describe(\"The error message.\").nullable(),\n locations: z.array(FlyGetNode_GraphQLErrorLocationSchema).describe(\"Source locations of the error in the query.\").nullable().optional(),\n}).describe(\"GraphQL error object.\");\nexport const FlyGetNodeOutput = z.object({\n data: FlyGetNode_NodeDataSchema.nullable().optional(),\n errors: z.array(FlyGetNode_GraphQLErrorSchema).describe(\"Any errors returned by the GraphQL API.\").nullable().optional(),\n}).describe(\"Response model for the node query.\\n\\nThe node query follows the GraphQL Global Object Identification pattern.\\nReturns a Node interface object whose actual type depends on the ID provided.\");\n\nexport const flyGetNode = action(\"FLY_GET_NODE\", {\n slug: \"fly-get-node\",\n name: \"Get Node by ID\",\n description: \"Tool to fetch an object by its globally unique ID using Fly.io's GraphQL node query. Returns a Node interface object with id and __typename fields. Use when you need to retrieve any Fly.io object by its ID.\",\n input: FlyGetNodeInput,\n output: FlyGetNodeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kBAAkBA,IAAAA,EAAE,OAAO,EACtC,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J,EACxL,CAAC,CAAC,CAAC,SAAS,sFAAsF;AAClG,MAAM,8BAA8BA,IAAAA,EAAE,OAAO;CAC3C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,6CAA6C;
|
|
1
|
+
{"version":3,"file":"get-node.cjs","names":["z","action"],"sources":["../../src/actions/get-node.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetNodeInput = z.object({\n id: z.string().describe(\"The globally unique ID of the object to fetch. This ID uniquely identifies any object in the Fly.io system (e.g., Organization, App, Machine, Volume, etc.).\"),\n}).describe(\"Request model for fetching an object by its globally unique ID using the node query.\");\nconst FlyGetNode_NodeObjectSchema = z.object({\n id: z.string().describe(\"The globally unique ID of the object.\").nullable(),\n __typename: z.string().describe(\"The actual type of the object (e.g., Organization, App, Machine, Volume).\").nullable(),\n}).passthrough().describe(\"The node object returned in the data field.\");\nconst FlyGetNode_NodeDataSchema = z.object({\n node: FlyGetNode_NodeObjectSchema.nullable().optional(),\n}).passthrough().describe(\"The data field containing the node object.\");\nconst FlyGetNode_GraphQLErrorLocationSchema = z.object({\n line: z.number().int().describe(\"Line number in the query.\").nullable(),\n column: z.number().int().describe(\"Column number in the query.\").nullable(),\n}).passthrough().describe(\"Location in the GraphQL query where an error occurred.\");\nconst FlyGetNode_GraphQLErrorSchema = z.object({\n path: z.array(z.string()).describe(\"Path to the field that caused the error.\").nullable().optional(),\n message: z.string().describe(\"The error message.\").nullable(),\n locations: z.array(FlyGetNode_GraphQLErrorLocationSchema).describe(\"Source locations of the error in the query.\").nullable().optional(),\n}).passthrough().describe(\"GraphQL error object.\");\nexport const FlyGetNodeOutput = z.object({\n data: FlyGetNode_NodeDataSchema.nullable().optional(),\n errors: z.array(FlyGetNode_GraphQLErrorSchema).describe(\"Any errors returned by the GraphQL API.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the node query.\\n\\nThe node query follows the GraphQL Global Object Identification pattern.\\nReturns a Node interface object whose actual type depends on the ID provided.\");\n\nexport const flyGetNode = action(\"FLY_GET_NODE\", {\n slug: \"fly-get-node\",\n name: \"Get Node by ID\",\n description: \"Tool to fetch an object by its globally unique ID using Fly.io's GraphQL node query. Returns a Node interface object with id and __typename fields. Use when you need to retrieve any Fly.io object by its ID.\",\n input: FlyGetNodeInput,\n output: FlyGetNodeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kBAAkBA,IAAAA,EAAE,OAAO,EACtC,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J,EACxL,CAAC,CAAC,CAAC,SAAS,sFAAsF;AAClG,MAAM,8BAA8BA,IAAAA,EAAE,OAAO;CAC3C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAM,4BAA4BA,IAAAA,EAAE,OAAO,EACzC,MAAM,4BAA4B,SAAS,CAAC,CAAC,SAAS,EACxD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAClF,MAAM,gCAAgCA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC5D,WAAWA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uBAAuB;AACjD,MAAa,mBAAmBA,IAAAA,EAAE,OAAO;CACvC,MAAM,0BAA0B,SAAS,CAAC,CAAC,SAAS;CACpD,QAAQA,IAAAA,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+LAA+L;AAEzN,MAAa,aAAaC,eAAAA,OAAO,gBAAgB;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,17 +9,17 @@ declare const FlyGetNodeOutput: z.ZodObject<{
|
|
|
9
9
|
node: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
10
10
|
id: z.ZodNullable<z.ZodString>;
|
|
11
11
|
__typename: z.ZodNullable<z.ZodString>;
|
|
12
|
-
}, z.core.$
|
|
13
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>>>;
|
|
13
|
+
}, z.core.$loose>>>;
|
|
14
14
|
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
15
15
|
path: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
16
16
|
message: z.ZodNullable<z.ZodString>;
|
|
17
17
|
locations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
18
18
|
line: z.ZodNullable<z.ZodNumber>;
|
|
19
19
|
column: z.ZodNullable<z.ZodNumber>;
|
|
20
|
-
}, z.core.$
|
|
21
|
-
}, z.core.$
|
|
22
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>>>;
|
|
21
|
+
}, z.core.$loose>>>>;
|
|
22
|
+
}, z.core.$loose>;
|
|
23
23
|
declare const flyGetNode: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
24
|
id: string;
|
|
25
25
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -9,17 +9,17 @@ declare const FlyGetNodeOutput: z.ZodObject<{
|
|
|
9
9
|
node: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
10
10
|
id: z.ZodNullable<z.ZodString>;
|
|
11
11
|
__typename: z.ZodNullable<z.ZodString>;
|
|
12
|
-
}, z.core.$
|
|
13
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>>>;
|
|
13
|
+
}, z.core.$loose>>>;
|
|
14
14
|
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
15
15
|
path: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
16
16
|
message: z.ZodNullable<z.ZodString>;
|
|
17
17
|
locations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
18
18
|
line: z.ZodNullable<z.ZodNumber>;
|
|
19
19
|
column: z.ZodNullable<z.ZodNumber>;
|
|
20
|
-
}, z.core.$
|
|
21
|
-
}, z.core.$
|
|
22
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>>>;
|
|
21
|
+
}, z.core.$loose>>>>;
|
|
22
|
+
}, z.core.$loose>;
|
|
23
23
|
declare const flyGetNode: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
24
|
id: string;
|
|
25
25
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -5,17 +5,17 @@ const FlyGetNodeInput = z.object({ id: z.string().describe("The globally unique
|
|
|
5
5
|
const FlyGetNode_NodeObjectSchema = z.object({
|
|
6
6
|
id: z.string().describe("The globally unique ID of the object.").nullable(),
|
|
7
7
|
__typename: z.string().describe("The actual type of the object (e.g., Organization, App, Machine, Volume).").nullable()
|
|
8
|
-
}).describe("The node object returned in the data field.");
|
|
9
|
-
const FlyGetNode_NodeDataSchema = z.object({ node: FlyGetNode_NodeObjectSchema.nullable().optional() }).describe("The data field containing the node object.");
|
|
8
|
+
}).passthrough().describe("The node object returned in the data field.");
|
|
9
|
+
const FlyGetNode_NodeDataSchema = z.object({ node: FlyGetNode_NodeObjectSchema.nullable().optional() }).passthrough().describe("The data field containing the node object.");
|
|
10
10
|
const FlyGetNode_GraphQLErrorLocationSchema = z.object({
|
|
11
11
|
line: z.number().int().describe("Line number in the query.").nullable(),
|
|
12
12
|
column: z.number().int().describe("Column number in the query.").nullable()
|
|
13
|
-
}).describe("Location in the GraphQL query where an error occurred.");
|
|
13
|
+
}).passthrough().describe("Location in the GraphQL query where an error occurred.");
|
|
14
14
|
const FlyGetNode_GraphQLErrorSchema = z.object({
|
|
15
15
|
path: z.array(z.string()).describe("Path to the field that caused the error.").nullable().optional(),
|
|
16
16
|
message: z.string().describe("The error message.").nullable(),
|
|
17
17
|
locations: z.array(FlyGetNode_GraphQLErrorLocationSchema).describe("Source locations of the error in the query.").nullable().optional()
|
|
18
|
-
}).describe("GraphQL error object.");
|
|
18
|
+
}).passthrough().describe("GraphQL error object.");
|
|
19
19
|
const flyGetNode = action("FLY_GET_NODE", {
|
|
20
20
|
slug: "fly-get-node",
|
|
21
21
|
name: "Get Node by ID",
|
|
@@ -24,7 +24,7 @@ const flyGetNode = action("FLY_GET_NODE", {
|
|
|
24
24
|
output: z.object({
|
|
25
25
|
data: FlyGetNode_NodeDataSchema.nullable().optional(),
|
|
26
26
|
errors: z.array(FlyGetNode_GraphQLErrorSchema).describe("Any errors returned by the GraphQL API.").nullable().optional()
|
|
27
|
-
}).describe("Response model for the node query.\n\nThe node query follows the GraphQL Global Object Identification pattern.\nReturns a Node interface object whose actual type depends on the ID provided.")
|
|
27
|
+
}).passthrough().describe("Response model for the node query.\n\nThe node query follows the GraphQL Global Object Identification pattern.\nReturns a Node interface object whose actual type depends on the ID provided.")
|
|
28
28
|
});
|
|
29
29
|
//#endregion
|
|
30
30
|
export { flyGetNode };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-node.mjs","names":[],"sources":["../../src/actions/get-node.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetNodeInput = z.object({\n id: z.string().describe(\"The globally unique ID of the object to fetch. This ID uniquely identifies any object in the Fly.io system (e.g., Organization, App, Machine, Volume, etc.).\"),\n}).describe(\"Request model for fetching an object by its globally unique ID using the node query.\");\nconst FlyGetNode_NodeObjectSchema = z.object({\n id: z.string().describe(\"The globally unique ID of the object.\").nullable(),\n __typename: z.string().describe(\"The actual type of the object (e.g., Organization, App, Machine, Volume).\").nullable(),\n}).describe(\"The node object returned in the data field.\");\nconst FlyGetNode_NodeDataSchema = z.object({\n node: FlyGetNode_NodeObjectSchema.nullable().optional(),\n}).describe(\"The data field containing the node object.\");\nconst FlyGetNode_GraphQLErrorLocationSchema = z.object({\n line: z.number().int().describe(\"Line number in the query.\").nullable(),\n column: z.number().int().describe(\"Column number in the query.\").nullable(),\n}).describe(\"Location in the GraphQL query where an error occurred.\");\nconst FlyGetNode_GraphQLErrorSchema = z.object({\n path: z.array(z.string()).describe(\"Path to the field that caused the error.\").nullable().optional(),\n message: z.string().describe(\"The error message.\").nullable(),\n locations: z.array(FlyGetNode_GraphQLErrorLocationSchema).describe(\"Source locations of the error in the query.\").nullable().optional(),\n}).describe(\"GraphQL error object.\");\nexport const FlyGetNodeOutput = z.object({\n data: FlyGetNode_NodeDataSchema.nullable().optional(),\n errors: z.array(FlyGetNode_GraphQLErrorSchema).describe(\"Any errors returned by the GraphQL API.\").nullable().optional(),\n}).describe(\"Response model for the node query.\\n\\nThe node query follows the GraphQL Global Object Identification pattern.\\nReturns a Node interface object whose actual type depends on the ID provided.\");\n\nexport const flyGetNode = action(\"FLY_GET_NODE\", {\n slug: \"fly-get-node\",\n name: \"Get Node by ID\",\n description: \"Tool to fetch an object by its globally unique ID using Fly.io's GraphQL node query. Returns a Node interface object with id and __typename fields. Use when you need to retrieve any Fly.io object by its ID.\",\n input: FlyGetNodeInput,\n output: FlyGetNodeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kBAAkB,EAAE,OAAO,EACtC,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J,EACxL,CAAC,CAAC,CAAC,SAAS,sFAAsF;AAClG,MAAM,8BAA8B,EAAE,OAAO;CAC3C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,6CAA6C;
|
|
1
|
+
{"version":3,"file":"get-node.mjs","names":[],"sources":["../../src/actions/get-node.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetNodeInput = z.object({\n id: z.string().describe(\"The globally unique ID of the object to fetch. This ID uniquely identifies any object in the Fly.io system (e.g., Organization, App, Machine, Volume, etc.).\"),\n}).describe(\"Request model for fetching an object by its globally unique ID using the node query.\");\nconst FlyGetNode_NodeObjectSchema = z.object({\n id: z.string().describe(\"The globally unique ID of the object.\").nullable(),\n __typename: z.string().describe(\"The actual type of the object (e.g., Organization, App, Machine, Volume).\").nullable(),\n}).passthrough().describe(\"The node object returned in the data field.\");\nconst FlyGetNode_NodeDataSchema = z.object({\n node: FlyGetNode_NodeObjectSchema.nullable().optional(),\n}).passthrough().describe(\"The data field containing the node object.\");\nconst FlyGetNode_GraphQLErrorLocationSchema = z.object({\n line: z.number().int().describe(\"Line number in the query.\").nullable(),\n column: z.number().int().describe(\"Column number in the query.\").nullable(),\n}).passthrough().describe(\"Location in the GraphQL query where an error occurred.\");\nconst FlyGetNode_GraphQLErrorSchema = z.object({\n path: z.array(z.string()).describe(\"Path to the field that caused the error.\").nullable().optional(),\n message: z.string().describe(\"The error message.\").nullable(),\n locations: z.array(FlyGetNode_GraphQLErrorLocationSchema).describe(\"Source locations of the error in the query.\").nullable().optional(),\n}).passthrough().describe(\"GraphQL error object.\");\nexport const FlyGetNodeOutput = z.object({\n data: FlyGetNode_NodeDataSchema.nullable().optional(),\n errors: z.array(FlyGetNode_GraphQLErrorSchema).describe(\"Any errors returned by the GraphQL API.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the node query.\\n\\nThe node query follows the GraphQL Global Object Identification pattern.\\nReturns a Node interface object whose actual type depends on the ID provided.\");\n\nexport const flyGetNode = action(\"FLY_GET_NODE\", {\n slug: \"fly-get-node\",\n name: \"Get Node by ID\",\n description: \"Tool to fetch an object by its globally unique ID using Fly.io's GraphQL node query. Returns a Node interface object with id and __typename fields. Use when you need to retrieve any Fly.io object by its ID.\",\n input: FlyGetNodeInput,\n output: FlyGetNodeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kBAAkB,EAAE,OAAO,EACtC,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J,EACxL,CAAC,CAAC,CAAC,SAAS,sFAAsF;AAClG,MAAM,8BAA8B,EAAE,OAAO;CAC3C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAM,4BAA4B,EAAE,OAAO,EACzC,MAAM,4BAA4B,SAAS,CAAC,CAAC,SAAS,EACxD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAM,wCAAwC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAClF,MAAM,gCAAgC,EAAE,OAAO;CAC7C,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC5D,WAAW,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uBAAuB;AAMjD,MAAa,aAAa,OAAO,gBAAgB;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV8B,EAAE,OAAO;EACvC,MAAM,0BAA0B,SAAS,CAAC,CAAC,SAAS;EACpD,QAAQ,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+LAOhB;AACV,CAAC"}
|
|
@@ -5,16 +5,16 @@ const FlyGetOrganizationInput = zod.z.object({ slug: zod.z.string().describe("Th
|
|
|
5
5
|
const FlyGetOrganization_GraphQLErrorLocationSchema = zod.z.object({
|
|
6
6
|
line: zod.z.number().int().describe("Line number in the query where the error occurred").nullable(),
|
|
7
7
|
column: zod.z.number().int().describe("Column number in the query where the error occurred").nullable()
|
|
8
|
-
}).describe("Location in the GraphQL query where an error occurred.");
|
|
8
|
+
}).passthrough().describe("Location in the GraphQL query where an error occurred.");
|
|
9
9
|
const FlyGetOrganization_GraphQLErrorSchema = zod.z.object({
|
|
10
10
|
path: zod.z.array(zod.z.union([zod.z.string(), zod.z.number().int()])).describe("Path to the field that caused the error (array of strings and integers)").nullable().optional(),
|
|
11
11
|
message: zod.z.string().describe("Error message describing what went wrong").nullable(),
|
|
12
12
|
locations: zod.z.array(FlyGetOrganization_GraphQLErrorLocationSchema).describe("Locations in the query where the error occurred").nullable().optional()
|
|
13
|
-
}).describe("GraphQL error object.");
|
|
13
|
+
}).passthrough().describe("GraphQL error object.");
|
|
14
14
|
const FlyGetOrganizationOutput = zod.z.object({
|
|
15
|
-
data: zod.z.
|
|
15
|
+
data: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Contains the organization data under the 'organization' key").nullable().optional(),
|
|
16
16
|
errors: zod.z.array(FlyGetOrganization_GraphQLErrorSchema).describe("Array of errors if the query failed").nullable().optional()
|
|
17
|
-
}).describe("Response model for the organization query.");
|
|
17
|
+
}).passthrough().describe("Response model for the organization query.");
|
|
18
18
|
const flyGetOrganization = require_action.action("FLY_GET_ORGANIZATION", {
|
|
19
19
|
slug: "fly-get-organization",
|
|
20
20
|
name: "Get Organization",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-organization.cjs","names":["z","action"],"sources":["../../src/actions/get-organization.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetOrganizationInput = z.object({\n slug: z.string().describe(\"The organization slug to look up. This is a human-readable identifier for the Fly.io organization (e.g., 'personal', 'my-org').\"),\n}).describe(\"Request model for finding a Fly.io organization by slug.\");\nconst FlyGetOrganization_GraphQLErrorLocationSchema = z.object({\n line: z.number().int().describe(\"Line number in the query where the error occurred\").nullable(),\n column: z.number().int().describe(\"Column number in the query where the error occurred\").nullable(),\n}).describe(\"Location in the GraphQL query where an error occurred.\");\nconst FlyGetOrganization_GraphQLErrorSchema = z.object({\n path: z.array(z.union([z.string(), z.number().int()])).describe(\"Path to the field that caused the error (array of strings and integers)\").nullable().optional(),\n message: z.string().describe(\"Error message describing what went wrong\").nullable(),\n locations: z.array(FlyGetOrganization_GraphQLErrorLocationSchema).describe(\"Locations in the query where the error occurred\").nullable().optional(),\n}).describe(\"GraphQL error object.\");\nexport const FlyGetOrganizationOutput = z.object({\n data: z.
|
|
1
|
+
{"version":3,"file":"get-organization.cjs","names":["z","action"],"sources":["../../src/actions/get-organization.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetOrganizationInput = z.object({\n slug: z.string().describe(\"The organization slug to look up. This is a human-readable identifier for the Fly.io organization (e.g., 'personal', 'my-org').\"),\n}).describe(\"Request model for finding a Fly.io organization by slug.\");\nconst FlyGetOrganization_GraphQLErrorLocationSchema = z.object({\n line: z.number().int().describe(\"Line number in the query where the error occurred\").nullable(),\n column: z.number().int().describe(\"Column number in the query where the error occurred\").nullable(),\n}).passthrough().describe(\"Location in the GraphQL query where an error occurred.\");\nconst FlyGetOrganization_GraphQLErrorSchema = z.object({\n path: z.array(z.union([z.string(), z.number().int()])).describe(\"Path to the field that caused the error (array of strings and integers)\").nullable().optional(),\n message: z.string().describe(\"Error message describing what went wrong\").nullable(),\n locations: z.array(FlyGetOrganization_GraphQLErrorLocationSchema).describe(\"Locations in the query where the error occurred\").nullable().optional(),\n}).passthrough().describe(\"GraphQL error object.\");\nexport const FlyGetOrganizationOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Contains the organization data under the 'organization' key\").nullable().optional(),\n errors: z.array(FlyGetOrganization_GraphQLErrorSchema).describe(\"Array of errors if the query failed\").nullable().optional(),\n}).passthrough().describe(\"Response model for the organization query.\");\n\nexport const flyGetOrganization = action(\"FLY_GET_ORGANIZATION\", {\n slug: \"fly-get-organization\",\n name: \"Get Organization\",\n description: \"Tool to find a Fly.io organization by slug using the GraphQL API. Use when you need to retrieve organization details including ID, name and slug.\",\n input: FlyGetOrganizationInput,\n output: FlyGetOrganizationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,EAC7J,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAClF,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/J,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAClF,WAAWA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uBAAuB;AACjD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,QAAQA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -5,16 +5,16 @@ declare const FlyGetOrganizationInput: z.ZodObject<{
|
|
|
5
5
|
slug: z.ZodString;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const FlyGetOrganizationOutput: z.ZodObject<{
|
|
8
|
-
data: z.ZodOptional<z.ZodNullable<z.
|
|
8
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
9
9
|
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
10
10
|
path: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>>;
|
|
11
11
|
message: z.ZodNullable<z.ZodString>;
|
|
12
12
|
locations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
13
13
|
line: z.ZodNullable<z.ZodNumber>;
|
|
14
14
|
column: z.ZodNullable<z.ZodNumber>;
|
|
15
|
-
}, z.core.$
|
|
16
|
-
}, z.core.$
|
|
17
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>>>;
|
|
16
|
+
}, z.core.$loose>>>>;
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const flyGetOrganization: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
slug: string;
|
|
20
20
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -5,16 +5,16 @@ declare const FlyGetOrganizationInput: z.ZodObject<{
|
|
|
5
5
|
slug: z.ZodString;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const FlyGetOrganizationOutput: z.ZodObject<{
|
|
8
|
-
data: z.ZodOptional<z.ZodNullable<z.
|
|
8
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
9
9
|
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
10
10
|
path: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>>;
|
|
11
11
|
message: z.ZodNullable<z.ZodString>;
|
|
12
12
|
locations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
13
13
|
line: z.ZodNullable<z.ZodNumber>;
|
|
14
14
|
column: z.ZodNullable<z.ZodNumber>;
|
|
15
|
-
}, z.core.$
|
|
16
|
-
}, z.core.$
|
|
17
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>>>;
|
|
16
|
+
}, z.core.$loose>>>>;
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const flyGetOrganization: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
slug: string;
|
|
20
20
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -5,21 +5,21 @@ const FlyGetOrganizationInput = z.object({ slug: z.string().describe("The organi
|
|
|
5
5
|
const FlyGetOrganization_GraphQLErrorLocationSchema = z.object({
|
|
6
6
|
line: z.number().int().describe("Line number in the query where the error occurred").nullable(),
|
|
7
7
|
column: z.number().int().describe("Column number in the query where the error occurred").nullable()
|
|
8
|
-
}).describe("Location in the GraphQL query where an error occurred.");
|
|
8
|
+
}).passthrough().describe("Location in the GraphQL query where an error occurred.");
|
|
9
9
|
const FlyGetOrganization_GraphQLErrorSchema = z.object({
|
|
10
10
|
path: z.array(z.union([z.string(), z.number().int()])).describe("Path to the field that caused the error (array of strings and integers)").nullable().optional(),
|
|
11
11
|
message: z.string().describe("Error message describing what went wrong").nullable(),
|
|
12
12
|
locations: z.array(FlyGetOrganization_GraphQLErrorLocationSchema).describe("Locations in the query where the error occurred").nullable().optional()
|
|
13
|
-
}).describe("GraphQL error object.");
|
|
13
|
+
}).passthrough().describe("GraphQL error object.");
|
|
14
14
|
const flyGetOrganization = action("FLY_GET_ORGANIZATION", {
|
|
15
15
|
slug: "fly-get-organization",
|
|
16
16
|
name: "Get Organization",
|
|
17
17
|
description: "Tool to find a Fly.io organization by slug using the GraphQL API. Use when you need to retrieve organization details including ID, name and slug.",
|
|
18
18
|
input: FlyGetOrganizationInput,
|
|
19
19
|
output: z.object({
|
|
20
|
-
data: z.
|
|
20
|
+
data: z.record(z.string(), z.unknown()).describe("Contains the organization data under the 'organization' key").nullable().optional(),
|
|
21
21
|
errors: z.array(FlyGetOrganization_GraphQLErrorSchema).describe("Array of errors if the query failed").nullable().optional()
|
|
22
|
-
}).describe("Response model for the organization query.")
|
|
22
|
+
}).passthrough().describe("Response model for the organization query.")
|
|
23
23
|
});
|
|
24
24
|
//#endregion
|
|
25
25
|
export { flyGetOrganization };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-organization.mjs","names":[],"sources":["../../src/actions/get-organization.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetOrganizationInput = z.object({\n slug: z.string().describe(\"The organization slug to look up. This is a human-readable identifier for the Fly.io organization (e.g., 'personal', 'my-org').\"),\n}).describe(\"Request model for finding a Fly.io organization by slug.\");\nconst FlyGetOrganization_GraphQLErrorLocationSchema = z.object({\n line: z.number().int().describe(\"Line number in the query where the error occurred\").nullable(),\n column: z.number().int().describe(\"Column number in the query where the error occurred\").nullable(),\n}).describe(\"Location in the GraphQL query where an error occurred.\");\nconst FlyGetOrganization_GraphQLErrorSchema = z.object({\n path: z.array(z.union([z.string(), z.number().int()])).describe(\"Path to the field that caused the error (array of strings and integers)\").nullable().optional(),\n message: z.string().describe(\"Error message describing what went wrong\").nullable(),\n locations: z.array(FlyGetOrganization_GraphQLErrorLocationSchema).describe(\"Locations in the query where the error occurred\").nullable().optional(),\n}).describe(\"GraphQL error object.\");\nexport const FlyGetOrganizationOutput = z.object({\n data: z.
|
|
1
|
+
{"version":3,"file":"get-organization.mjs","names":[],"sources":["../../src/actions/get-organization.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetOrganizationInput = z.object({\n slug: z.string().describe(\"The organization slug to look up. This is a human-readable identifier for the Fly.io organization (e.g., 'personal', 'my-org').\"),\n}).describe(\"Request model for finding a Fly.io organization by slug.\");\nconst FlyGetOrganization_GraphQLErrorLocationSchema = z.object({\n line: z.number().int().describe(\"Line number in the query where the error occurred\").nullable(),\n column: z.number().int().describe(\"Column number in the query where the error occurred\").nullable(),\n}).passthrough().describe(\"Location in the GraphQL query where an error occurred.\");\nconst FlyGetOrganization_GraphQLErrorSchema = z.object({\n path: z.array(z.union([z.string(), z.number().int()])).describe(\"Path to the field that caused the error (array of strings and integers)\").nullable().optional(),\n message: z.string().describe(\"Error message describing what went wrong\").nullable(),\n locations: z.array(FlyGetOrganization_GraphQLErrorLocationSchema).describe(\"Locations in the query where the error occurred\").nullable().optional(),\n}).passthrough().describe(\"GraphQL error object.\");\nexport const FlyGetOrganizationOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Contains the organization data under the 'organization' key\").nullable().optional(),\n errors: z.array(FlyGetOrganization_GraphQLErrorSchema).describe(\"Array of errors if the query failed\").nullable().optional(),\n}).passthrough().describe(\"Response model for the organization query.\");\n\nexport const flyGetOrganization = action(\"FLY_GET_ORGANIZATION\", {\n slug: \"fly-get-organization\",\n name: \"Get Organization\",\n description: \"Tool to find a Fly.io organization by slug using the GraphQL API. Use when you need to retrieve organization details including ID, name and slug.\",\n input: FlyGetOrganizationInput,\n output: FlyGetOrganizationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,EAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,EAC7J,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,gDAAgD,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAClF,MAAM,wCAAwC,EAAE,OAAO;CACrD,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/J,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAClF,WAAW,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uBAAuB;AAMjD,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVsC,EAAE,OAAO;EAC/C,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,QAAQ,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
|
|
@@ -2,8 +2,8 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/get-personal-organization.ts
|
|
4
4
|
const FlyGetPersonalOrganizationInput = zod.z.object({}).describe("Request to retrieve personal organization details.");
|
|
5
|
-
const FlyGetPersonalOrganization_WireGuardPeersSchema = zod.z.object({ totalCount: zod.z.number().int().describe("Total number of WireGuard peers in the organization.").nullable() }).describe("Information about WireGuard peers.");
|
|
6
|
-
const FlyGetPersonalOrganization_LoggedCertificatesSchema = zod.z.object({ totalCount: zod.z.number().int().describe("Total number of logged certificates in the organization.").nullable() }).describe("Information about logged certificates.");
|
|
5
|
+
const FlyGetPersonalOrganization_WireGuardPeersSchema = zod.z.object({ totalCount: zod.z.number().int().describe("Total number of WireGuard peers in the organization.").nullable() }).passthrough().describe("Information about WireGuard peers.");
|
|
6
|
+
const FlyGetPersonalOrganization_LoggedCertificatesSchema = zod.z.object({ totalCount: zod.z.number().int().describe("Total number of logged certificates in the organization.").nullable() }).passthrough().describe("Information about logged certificates.");
|
|
7
7
|
const FlyGetPersonalOrganization_PersonalOrganizationSchema = zod.z.object({
|
|
8
8
|
name: zod.z.string().describe("Name of the personal organization.").nullable(),
|
|
9
9
|
creditBalance: zod.z.number().describe("Credit balance in the organization account as a numeric value.").nullable(),
|
|
@@ -11,8 +11,8 @@ const FlyGetPersonalOrganization_PersonalOrganizationSchema = zod.z.object({
|
|
|
11
11
|
isCreditCardSaved: zod.z.boolean().describe("Whether a credit card is saved on the account.").nullable(),
|
|
12
12
|
loggedCertificates: FlyGetPersonalOrganization_LoggedCertificatesSchema.nullable(),
|
|
13
13
|
creditBalanceFormatted: zod.z.string().describe("Formatted credit balance string (e.g., '$10.50').").nullable()
|
|
14
|
-
}).describe("User's personal organization details.");
|
|
15
|
-
const FlyGetPersonalOrganizationOutput = zod.z.object({ personalOrganization: FlyGetPersonalOrganization_PersonalOrganizationSchema.nullable() }).describe("Response containing personal organization details.");
|
|
14
|
+
}).passthrough().describe("User's personal organization details.");
|
|
15
|
+
const FlyGetPersonalOrganizationOutput = zod.z.object({ personalOrganization: FlyGetPersonalOrganization_PersonalOrganizationSchema.nullable() }).passthrough().describe("Response containing personal organization details.");
|
|
16
16
|
const flyGetPersonalOrganization = require_action.action("FLY_GET_PERSONAL_ORGANIZATION", {
|
|
17
17
|
slug: "fly-get-personal-organization",
|
|
18
18
|
name: "Get Personal Organization",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-personal-organization.cjs","names":["z","action"],"sources":["../../src/actions/get-personal-organization.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetPersonalOrganizationInput = z.object({}).describe(\"Request to retrieve personal organization details.\");\nconst FlyGetPersonalOrganization_WireGuardPeersSchema = z.object({\n totalCount: z.number().int().describe(\"Total number of WireGuard peers in the organization.\").nullable(),\n}).describe(\"Information about WireGuard peers.\");\nconst FlyGetPersonalOrganization_LoggedCertificatesSchema = z.object({\n totalCount: z.number().int().describe(\"Total number of logged certificates in the organization.\").nullable(),\n}).describe(\"Information about logged certificates.\");\nconst FlyGetPersonalOrganization_PersonalOrganizationSchema = z.object({\n name: z.string().describe(\"Name of the personal organization.\").nullable(),\n creditBalance: z.number().describe(\"Credit balance in the organization account as a numeric value.\").nullable(),\n wireGuardPeers: FlyGetPersonalOrganization_WireGuardPeersSchema.nullable(),\n isCreditCardSaved: z.boolean().describe(\"Whether a credit card is saved on the account.\").nullable(),\n loggedCertificates: FlyGetPersonalOrganization_LoggedCertificatesSchema.nullable(),\n creditBalanceFormatted: z.string().describe(\"Formatted credit balance string (e.g., '$10.50').\").nullable(),\n}).describe(\"User's personal organization details.\");\nexport const FlyGetPersonalOrganizationOutput = z.object({\n personalOrganization: FlyGetPersonalOrganization_PersonalOrganizationSchema.nullable(),\n}).describe(\"Response containing personal organization details.\");\n\nexport const flyGetPersonalOrganization = action(\"FLY_GET_PERSONAL_ORGANIZATION\", {\n slug: \"fly-get-personal-organization\",\n name: \"Get Personal Organization\",\n description: \"Tool to retrieve the user's personal organization details from Fly.io. Use when you need to check credit balance, saved payment methods, certificates, or WireGuard peer information.\",\n input: FlyGetPersonalOrganizationInput,\n output: FlyGetPersonalOrganizationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oDAAoD;AACzH,MAAM,kDAAkDA,IAAAA,EAAE,OAAO,EAC/D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,EACzG,CAAC,CAAC,CAAC,SAAS,oCAAoC;
|
|
1
|
+
{"version":3,"file":"get-personal-organization.cjs","names":["z","action"],"sources":["../../src/actions/get-personal-organization.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetPersonalOrganizationInput = z.object({}).describe(\"Request to retrieve personal organization details.\");\nconst FlyGetPersonalOrganization_WireGuardPeersSchema = z.object({\n totalCount: z.number().int().describe(\"Total number of WireGuard peers in the organization.\").nullable(),\n}).passthrough().describe(\"Information about WireGuard peers.\");\nconst FlyGetPersonalOrganization_LoggedCertificatesSchema = z.object({\n totalCount: z.number().int().describe(\"Total number of logged certificates in the organization.\").nullable(),\n}).passthrough().describe(\"Information about logged certificates.\");\nconst FlyGetPersonalOrganization_PersonalOrganizationSchema = z.object({\n name: z.string().describe(\"Name of the personal organization.\").nullable(),\n creditBalance: z.number().describe(\"Credit balance in the organization account as a numeric value.\").nullable(),\n wireGuardPeers: FlyGetPersonalOrganization_WireGuardPeersSchema.nullable(),\n isCreditCardSaved: z.boolean().describe(\"Whether a credit card is saved on the account.\").nullable(),\n loggedCertificates: FlyGetPersonalOrganization_LoggedCertificatesSchema.nullable(),\n creditBalanceFormatted: z.string().describe(\"Formatted credit balance string (e.g., '$10.50').\").nullable(),\n}).passthrough().describe(\"User's personal organization details.\");\nexport const FlyGetPersonalOrganizationOutput = z.object({\n personalOrganization: FlyGetPersonalOrganization_PersonalOrganizationSchema.nullable(),\n}).passthrough().describe(\"Response containing personal organization details.\");\n\nexport const flyGetPersonalOrganization = action(\"FLY_GET_PERSONAL_ORGANIZATION\", {\n slug: \"fly-get-personal-organization\",\n name: \"Get Personal Organization\",\n description: \"Tool to retrieve the user's personal organization details from Fly.io. Use when you need to check credit balance, saved payment methods, certificates, or WireGuard peer information.\",\n input: FlyGetPersonalOrganizationInput,\n output: FlyGetPersonalOrganizationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oDAAoD;AACzH,MAAM,kDAAkDA,IAAAA,EAAE,OAAO,EAC/D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,EACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAC9D,MAAM,sDAAsDA,IAAAA,EAAE,OAAO,EACnE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,EAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAM,wDAAwDA,IAAAA,EAAE,OAAO;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC9G,gBAAgB,gDAAgD,SAAS;CACzE,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACnG,oBAAoB,oDAAoD,SAAS;CACjF,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,sBAAsB,sDAAsD,SAAS,EACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -8,14 +8,14 @@ declare const FlyGetPersonalOrganizationOutput: z.ZodObject<{
|
|
|
8
8
|
creditBalance: z.ZodNullable<z.ZodNumber>;
|
|
9
9
|
wireGuardPeers: z.ZodNullable<z.ZodObject<{
|
|
10
10
|
totalCount: z.ZodNullable<z.ZodNumber>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>>;
|
|
12
12
|
isCreditCardSaved: z.ZodNullable<z.ZodBoolean>;
|
|
13
13
|
loggedCertificates: z.ZodNullable<z.ZodObject<{
|
|
14
14
|
totalCount: z.ZodNullable<z.ZodNumber>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
16
|
creditBalanceFormatted: z.ZodNullable<z.ZodString>;
|
|
17
|
-
}, z.core.$
|
|
18
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>;
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const flyGetPersonalOrganization: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { flyGetPersonalOrganization };
|
|
@@ -8,14 +8,14 @@ declare const FlyGetPersonalOrganizationOutput: z.ZodObject<{
|
|
|
8
8
|
creditBalance: z.ZodNullable<z.ZodNumber>;
|
|
9
9
|
wireGuardPeers: z.ZodNullable<z.ZodObject<{
|
|
10
10
|
totalCount: z.ZodNullable<z.ZodNumber>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>>;
|
|
12
12
|
isCreditCardSaved: z.ZodNullable<z.ZodBoolean>;
|
|
13
13
|
loggedCertificates: z.ZodNullable<z.ZodObject<{
|
|
14
14
|
totalCount: z.ZodNullable<z.ZodNumber>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
16
|
creditBalanceFormatted: z.ZodNullable<z.ZodString>;
|
|
17
|
-
}, z.core.$
|
|
18
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>;
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const flyGetPersonalOrganization: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { flyGetPersonalOrganization };
|
|
@@ -2,8 +2,8 @@ import { action } from "../action.mjs";
|
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region src/actions/get-personal-organization.ts
|
|
4
4
|
const FlyGetPersonalOrganizationInput = z.object({}).describe("Request to retrieve personal organization details.");
|
|
5
|
-
const FlyGetPersonalOrganization_WireGuardPeersSchema = z.object({ totalCount: z.number().int().describe("Total number of WireGuard peers in the organization.").nullable() }).describe("Information about WireGuard peers.");
|
|
6
|
-
const FlyGetPersonalOrganization_LoggedCertificatesSchema = z.object({ totalCount: z.number().int().describe("Total number of logged certificates in the organization.").nullable() }).describe("Information about logged certificates.");
|
|
5
|
+
const FlyGetPersonalOrganization_WireGuardPeersSchema = z.object({ totalCount: z.number().int().describe("Total number of WireGuard peers in the organization.").nullable() }).passthrough().describe("Information about WireGuard peers.");
|
|
6
|
+
const FlyGetPersonalOrganization_LoggedCertificatesSchema = z.object({ totalCount: z.number().int().describe("Total number of logged certificates in the organization.").nullable() }).passthrough().describe("Information about logged certificates.");
|
|
7
7
|
const FlyGetPersonalOrganization_PersonalOrganizationSchema = z.object({
|
|
8
8
|
name: z.string().describe("Name of the personal organization.").nullable(),
|
|
9
9
|
creditBalance: z.number().describe("Credit balance in the organization account as a numeric value.").nullable(),
|
|
@@ -11,13 +11,13 @@ const FlyGetPersonalOrganization_PersonalOrganizationSchema = z.object({
|
|
|
11
11
|
isCreditCardSaved: z.boolean().describe("Whether a credit card is saved on the account.").nullable(),
|
|
12
12
|
loggedCertificates: FlyGetPersonalOrganization_LoggedCertificatesSchema.nullable(),
|
|
13
13
|
creditBalanceFormatted: z.string().describe("Formatted credit balance string (e.g., '$10.50').").nullable()
|
|
14
|
-
}).describe("User's personal organization details.");
|
|
14
|
+
}).passthrough().describe("User's personal organization details.");
|
|
15
15
|
const flyGetPersonalOrganization = action("FLY_GET_PERSONAL_ORGANIZATION", {
|
|
16
16
|
slug: "fly-get-personal-organization",
|
|
17
17
|
name: "Get Personal Organization",
|
|
18
18
|
description: "Tool to retrieve the user's personal organization details from Fly.io. Use when you need to check credit balance, saved payment methods, certificates, or WireGuard peer information.",
|
|
19
19
|
input: FlyGetPersonalOrganizationInput,
|
|
20
|
-
output: z.object({ personalOrganization: FlyGetPersonalOrganization_PersonalOrganizationSchema.nullable() }).describe("Response containing personal organization details.")
|
|
20
|
+
output: z.object({ personalOrganization: FlyGetPersonalOrganization_PersonalOrganizationSchema.nullable() }).passthrough().describe("Response containing personal organization details.")
|
|
21
21
|
});
|
|
22
22
|
//#endregion
|
|
23
23
|
export { flyGetPersonalOrganization };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-personal-organization.mjs","names":[],"sources":["../../src/actions/get-personal-organization.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetPersonalOrganizationInput = z.object({}).describe(\"Request to retrieve personal organization details.\");\nconst FlyGetPersonalOrganization_WireGuardPeersSchema = z.object({\n totalCount: z.number().int().describe(\"Total number of WireGuard peers in the organization.\").nullable(),\n}).describe(\"Information about WireGuard peers.\");\nconst FlyGetPersonalOrganization_LoggedCertificatesSchema = z.object({\n totalCount: z.number().int().describe(\"Total number of logged certificates in the organization.\").nullable(),\n}).describe(\"Information about logged certificates.\");\nconst FlyGetPersonalOrganization_PersonalOrganizationSchema = z.object({\n name: z.string().describe(\"Name of the personal organization.\").nullable(),\n creditBalance: z.number().describe(\"Credit balance in the organization account as a numeric value.\").nullable(),\n wireGuardPeers: FlyGetPersonalOrganization_WireGuardPeersSchema.nullable(),\n isCreditCardSaved: z.boolean().describe(\"Whether a credit card is saved on the account.\").nullable(),\n loggedCertificates: FlyGetPersonalOrganization_LoggedCertificatesSchema.nullable(),\n creditBalanceFormatted: z.string().describe(\"Formatted credit balance string (e.g., '$10.50').\").nullable(),\n}).describe(\"User's personal organization details.\");\nexport const FlyGetPersonalOrganizationOutput = z.object({\n personalOrganization: FlyGetPersonalOrganization_PersonalOrganizationSchema.nullable(),\n}).describe(\"Response containing personal organization details.\");\n\nexport const flyGetPersonalOrganization = action(\"FLY_GET_PERSONAL_ORGANIZATION\", {\n slug: \"fly-get-personal-organization\",\n name: \"Get Personal Organization\",\n description: \"Tool to retrieve the user's personal organization details from Fly.io. Use when you need to check credit balance, saved payment methods, certificates, or WireGuard peer information.\",\n input: FlyGetPersonalOrganizationInput,\n output: FlyGetPersonalOrganizationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oDAAoD;AACzH,MAAM,kDAAkD,EAAE,OAAO,EAC/D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,EACzG,CAAC,CAAC,CAAC,SAAS,oCAAoC;
|
|
1
|
+
{"version":3,"file":"get-personal-organization.mjs","names":[],"sources":["../../src/actions/get-personal-organization.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetPersonalOrganizationInput = z.object({}).describe(\"Request to retrieve personal organization details.\");\nconst FlyGetPersonalOrganization_WireGuardPeersSchema = z.object({\n totalCount: z.number().int().describe(\"Total number of WireGuard peers in the organization.\").nullable(),\n}).passthrough().describe(\"Information about WireGuard peers.\");\nconst FlyGetPersonalOrganization_LoggedCertificatesSchema = z.object({\n totalCount: z.number().int().describe(\"Total number of logged certificates in the organization.\").nullable(),\n}).passthrough().describe(\"Information about logged certificates.\");\nconst FlyGetPersonalOrganization_PersonalOrganizationSchema = z.object({\n name: z.string().describe(\"Name of the personal organization.\").nullable(),\n creditBalance: z.number().describe(\"Credit balance in the organization account as a numeric value.\").nullable(),\n wireGuardPeers: FlyGetPersonalOrganization_WireGuardPeersSchema.nullable(),\n isCreditCardSaved: z.boolean().describe(\"Whether a credit card is saved on the account.\").nullable(),\n loggedCertificates: FlyGetPersonalOrganization_LoggedCertificatesSchema.nullable(),\n creditBalanceFormatted: z.string().describe(\"Formatted credit balance string (e.g., '$10.50').\").nullable(),\n}).passthrough().describe(\"User's personal organization details.\");\nexport const FlyGetPersonalOrganizationOutput = z.object({\n personalOrganization: FlyGetPersonalOrganization_PersonalOrganizationSchema.nullable(),\n}).passthrough().describe(\"Response containing personal organization details.\");\n\nexport const flyGetPersonalOrganization = action(\"FLY_GET_PERSONAL_ORGANIZATION\", {\n slug: \"fly-get-personal-organization\",\n name: \"Get Personal Organization\",\n description: \"Tool to retrieve the user's personal organization details from Fly.io. Use when you need to check credit balance, saved payment methods, certificates, or WireGuard peer information.\",\n input: FlyGetPersonalOrganizationInput,\n output: FlyGetPersonalOrganizationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oDAAoD;AACzH,MAAM,kDAAkD,EAAE,OAAO,EAC/D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,EACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAC9D,MAAM,sDAAsD,EAAE,OAAO,EACnE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,EAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAM,wDAAwD,EAAE,OAAO;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC9G,gBAAgB,gDAAgD,SAAS;CACzE,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACnG,oBAAoB,oDAAoD,SAAS;CACjF,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAKjE,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8C,EAAE,OAAO,EACvD,sBAAsB,sDAAsD,SAAS,EACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
|
|
@@ -14,7 +14,7 @@ const FlyGetPlacementsInput = zod.z.object({
|
|
|
14
14
|
persist_rootfs: zod.z.string().describe("Whether to persist the root filesystem across restarts.").optional(),
|
|
15
15
|
host_dedication_id: zod.z.string().describe("Host dedication ID for dedicated hardware placement.").optional()
|
|
16
16
|
}).describe("Resource requirements for the Machine to simulate.").optional(),
|
|
17
|
-
weights: zod.z.
|
|
17
|
+
weights: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Optional weights to override default placement preferences. Higher values indicate stronger preference.").optional(),
|
|
18
18
|
org_slug: zod.z.string().describe("Organization slug identifier (e.g., 'personal' for personal account or your org name)."),
|
|
19
19
|
volume_name: zod.z.string().describe("Name of an existing volume to consider in placement.").optional(),
|
|
20
20
|
volume_size_bytes: zod.z.number().int().describe("Size of volume in bytes to consider in placement.").optional()
|
|
@@ -23,8 +23,8 @@ const FlyGetPlacements_RegionPlacementSchema = zod.z.object({
|
|
|
23
23
|
count: zod.z.number().int().describe("Number of machines that can be placed in this region.").nullable(),
|
|
24
24
|
region: zod.z.string().describe("Region code where machines can be placed.").nullable(),
|
|
25
25
|
concurrency: zod.z.number().int().describe("Concurrency level supported in this region.").nullable()
|
|
26
|
-
}).describe("Placement recommendation for a specific region.");
|
|
27
|
-
const FlyGetPlacementsOutput = zod.z.object({ regions: zod.z.array(FlyGetPlacements_RegionPlacementSchema).describe("List of regions with their placement recommendations, ordered by preference.") }).describe("Response model containing placement recommendations.");
|
|
26
|
+
}).passthrough().describe("Placement recommendation for a specific region.");
|
|
27
|
+
const FlyGetPlacementsOutput = zod.z.object({ regions: zod.z.array(FlyGetPlacements_RegionPlacementSchema).describe("List of regions with their placement recommendations, ordered by preference.") }).passthrough().describe("Response model containing placement recommendations.");
|
|
28
28
|
const flyGetPlacements = require_action.action("FLY_GET_PLACEMENTS", {
|
|
29
29
|
slug: "fly-get-placements",
|
|
30
30
|
name: "Get Placements",
|