@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
|
@@ -6,20 +6,20 @@ const FlyGetAppDetails_CertificateSchema = z.object({
|
|
|
6
6
|
hostname: z.string().describe("The hostname associated with this certificate.").nullable().optional(),
|
|
7
7
|
createdAt: z.string().describe("ISO 8601 timestamp when the certificate was created.").nullable().optional(),
|
|
8
8
|
clientStatus: z.string().describe("The client status of the certificate.").nullable().optional()
|
|
9
|
-
}).describe("Certificate information for the application.");
|
|
10
|
-
const FlyGetAppDetails_CertificateNodesSchema = z.object({ nodes: z.array(FlyGetAppDetails_CertificateSchema).describe("List of certificates associated with the application.").nullable().optional() }).describe("Container for certificate nodes.");
|
|
9
|
+
}).passthrough().describe("Certificate information for the application.");
|
|
10
|
+
const FlyGetAppDetails_CertificateNodesSchema = z.object({ nodes: z.array(FlyGetAppDetails_CertificateSchema).describe("List of certificates associated with the application.").nullable().optional() }).passthrough().describe("Container for certificate nodes.");
|
|
11
11
|
const FlyGetAppDetails_AppDetailsSchema = z.object({
|
|
12
12
|
id: z.string().describe("Unique identifier for the application.").nullable().optional(),
|
|
13
13
|
name: z.string().describe("Name of the application.").nullable().optional(),
|
|
14
14
|
certificates: FlyGetAppDetails_CertificateNodesSchema.nullable().optional()
|
|
15
|
-
}).describe("Application details returned from Fly.io GraphQL API.");
|
|
16
|
-
const FlyGetAppDetails_GetAppDetailsDataSchema = z.object({ app: FlyGetAppDetails_AppDetailsSchema.nullable().optional() }).describe("GraphQL data wrapper for app query.");
|
|
15
|
+
}).passthrough().describe("Application details returned from Fly.io GraphQL API.");
|
|
16
|
+
const FlyGetAppDetails_GetAppDetailsDataSchema = z.object({ app: FlyGetAppDetails_AppDetailsSchema.nullable().optional() }).passthrough().describe("GraphQL data wrapper for app query.");
|
|
17
17
|
const flyGetAppDetails = action("FLY_GET_APP_DETAILS", {
|
|
18
18
|
slug: "fly-get-app-details",
|
|
19
19
|
name: "Get app details",
|
|
20
20
|
description: "Tool to retrieve detailed information about a specific Fly.io application. Use when you need to get app details including certificates and configuration.",
|
|
21
21
|
input: FlyGetAppDetailsInput,
|
|
22
|
-
output: z.object({ data: FlyGetAppDetails_GetAppDetailsDataSchema.nullable().optional() }).describe("Response model for retrieving Fly.io application details.")
|
|
22
|
+
output: z.object({ data: FlyGetAppDetails_GetAppDetailsDataSchema.nullable().optional() }).passthrough().describe("Response model for retrieving Fly.io application details.")
|
|
23
23
|
});
|
|
24
24
|
//#endregion
|
|
25
25
|
export { flyGetAppDetails };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-app-details.mjs","names":[],"sources":["../../src/actions/get-app-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetAppDetailsInput = z.object({\n name: z.string().describe(\"The application name or ID to retrieve details for.\"),\n}).describe(\"Request model for retrieving Fly.io application details.\");\nconst FlyGetAppDetails_CertificateSchema = z.object({\n hostname: z.string().describe(\"The hostname associated with this certificate.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the certificate was created.\").nullable().optional(),\n clientStatus: z.string().describe(\"The client status of the certificate.\").nullable().optional(),\n}).describe(\"Certificate information for the application.\");\nconst FlyGetAppDetails_CertificateNodesSchema = z.object({\n nodes: z.array(FlyGetAppDetails_CertificateSchema).describe(\"List of certificates associated with the application.\").nullable().optional(),\n}).describe(\"Container for certificate nodes.\");\nconst FlyGetAppDetails_AppDetailsSchema = z.object({\n id: z.string().describe(\"Unique identifier for the application.\").nullable().optional(),\n name: z.string().describe(\"Name of the application.\").nullable().optional(),\n certificates: FlyGetAppDetails_CertificateNodesSchema.nullable().optional(),\n}).describe(\"Application details returned from Fly.io GraphQL API.\");\nconst FlyGetAppDetails_GetAppDetailsDataSchema = z.object({\n app: FlyGetAppDetails_AppDetailsSchema.nullable().optional(),\n}).describe(\"GraphQL data wrapper for app query.\");\nexport const FlyGetAppDetailsOutput = z.object({\n data: FlyGetAppDetails_GetAppDetailsDataSchema.nullable().optional(),\n}).describe(\"Response model for retrieving Fly.io application details.\");\n\nexport const flyGetAppDetails = action(\"FLY_GET_APP_DETAILS\", {\n slug: \"fly-get-app-details\",\n name: \"Get app details\",\n description: \"Tool to retrieve detailed information about a specific Fly.io application. Use when you need to get app details including certificates and configuration.\",\n input: FlyGetAppDetailsInput,\n output: FlyGetAppDetailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO,EAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,EACjF,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,qCAAqC,EAAE,OAAO;CAClD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,8CAA8C;
|
|
1
|
+
{"version":3,"file":"get-app-details.mjs","names":[],"sources":["../../src/actions/get-app-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetAppDetailsInput = z.object({\n name: z.string().describe(\"The application name or ID to retrieve details for.\"),\n}).describe(\"Request model for retrieving Fly.io application details.\");\nconst FlyGetAppDetails_CertificateSchema = z.object({\n hostname: z.string().describe(\"The hostname associated with this certificate.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the certificate was created.\").nullable().optional(),\n clientStatus: z.string().describe(\"The client status of the certificate.\").nullable().optional(),\n}).passthrough().describe(\"Certificate information for the application.\");\nconst FlyGetAppDetails_CertificateNodesSchema = z.object({\n nodes: z.array(FlyGetAppDetails_CertificateSchema).describe(\"List of certificates associated with the application.\").nullable().optional(),\n}).passthrough().describe(\"Container for certificate nodes.\");\nconst FlyGetAppDetails_AppDetailsSchema = z.object({\n id: z.string().describe(\"Unique identifier for the application.\").nullable().optional(),\n name: z.string().describe(\"Name of the application.\").nullable().optional(),\n certificates: FlyGetAppDetails_CertificateNodesSchema.nullable().optional(),\n}).passthrough().describe(\"Application details returned from Fly.io GraphQL API.\");\nconst FlyGetAppDetails_GetAppDetailsDataSchema = z.object({\n app: FlyGetAppDetails_AppDetailsSchema.nullable().optional(),\n}).passthrough().describe(\"GraphQL data wrapper for app query.\");\nexport const FlyGetAppDetailsOutput = z.object({\n data: FlyGetAppDetails_GetAppDetailsDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving Fly.io application details.\");\n\nexport const flyGetAppDetails = action(\"FLY_GET_APP_DETAILS\", {\n slug: \"fly-get-app-details\",\n name: \"Get app details\",\n description: \"Tool to retrieve detailed information about a specific Fly.io application. Use when you need to get app details including certificates and configuration.\",\n input: FlyGetAppDetailsInput,\n output: FlyGetAppDetailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO,EAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,EACjF,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,qCAAqC,EAAE,OAAO;CAClD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAM,0CAA0C,EAAE,OAAO,EACvD,OAAO,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAC5D,MAAM,oCAAoC,EAAE,OAAO;CACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,cAAc,wCAAwC,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AACjF,MAAM,2CAA2C,EAAE,OAAO,EACxD,KAAK,kCAAkC,SAAS,CAAC,CAAC,SAAS,EAC7D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAK/D,MAAa,mBAAmB,OAAO,uBAAuB;CAC5D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToC,EAAE,OAAO,EAC7C,MAAM,yCAAyC,SAAS,CAAC,CAAC,SAAS,EACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAOhB;AACV,CAAC"}
|
|
@@ -15,22 +15,22 @@ const FlyGetCertificate_CertificateDataSchema = zod.z.object({
|
|
|
15
15
|
dnsValidationTarget: zod.z.string().describe("Target for DNS validation.").nullable().optional(),
|
|
16
16
|
certificateAuthority: zod.z.string().describe("The certificate authority that issued the certificate.").nullable().optional(),
|
|
17
17
|
dnsValidationHostname: zod.z.string().describe("Hostname for DNS validation.").nullable().optional()
|
|
18
|
-
});
|
|
19
|
-
const FlyGetCertificate_GetCertificateResponseDataSchema = zod.z.object({ certificate: FlyGetCertificate_CertificateDataSchema.nullable().optional() });
|
|
18
|
+
}).passthrough();
|
|
19
|
+
const FlyGetCertificate_GetCertificateResponseDataSchema = zod.z.object({ certificate: FlyGetCertificate_CertificateDataSchema.nullable().optional() }).passthrough();
|
|
20
20
|
const FlyGetCertificate_GraphQLErrorLocationSchema = zod.z.object({
|
|
21
21
|
line: zod.z.number().int().describe("Line number in the query where the error occurred.").nullable(),
|
|
22
22
|
column: zod.z.number().int().describe("Column number in the query where the error occurred.").nullable()
|
|
23
|
-
});
|
|
23
|
+
}).passthrough();
|
|
24
24
|
const FlyGetCertificate_GraphQLErrorSchema = zod.z.object({
|
|
25
25
|
path: zod.z.array(zod.z.union([zod.z.string(), zod.z.number().int()])).describe("Path to the field that caused the error, represented as an array of strings and integers.").nullable().optional(),
|
|
26
26
|
message: zod.z.string().describe("Human-readable error message describing what went wrong.").nullable(),
|
|
27
27
|
locations: zod.z.array(FlyGetCertificate_GraphQLErrorLocationSchema).describe("Array indicating where in the query document the error occurred.").nullable().optional(),
|
|
28
28
|
extensions: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional error-specific information provided by the GraphQL server.").nullable().optional()
|
|
29
|
-
});
|
|
29
|
+
}).passthrough();
|
|
30
30
|
const FlyGetCertificateOutput = zod.z.object({
|
|
31
31
|
data: FlyGetCertificate_GetCertificateResponseDataSchema.nullable().optional(),
|
|
32
32
|
errors: zod.z.array(FlyGetCertificate_GraphQLErrorSchema).describe("Array of error objects if any errors occurred during query execution. Present only when errors are encountered.").nullable().optional()
|
|
33
|
-
});
|
|
33
|
+
}).passthrough();
|
|
34
34
|
const flyGetCertificate = require_action.action("FLY_GET_CERTIFICATE", {
|
|
35
35
|
slug: "fly-get-certificate",
|
|
36
36
|
name: "Get Certificate",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-certificate.cjs","names":["z","action"],"sources":["../../src/actions/get-certificate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetCertificateInput = z.object({\n certificate_id: z.string().describe(\"The unique identifier of the certificate to retrieve. This is the certificate ID in Fly.io system.\"),\n});\nconst FlyGetCertificate_CertificateDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the certificate.\").nullable().optional(),\n domain: z.string().describe(\"The domain name for the certificate.\").nullable().optional(),\n isApex: z.boolean().describe(\"Whether the certificate is for an apex domain.\").nullable().optional(),\n source: z.string().describe(\"Source of the certificate.\").nullable().optional(),\n hostname: z.string().describe(\"The hostname associated with this certificate.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp indicating when the certificate was created.\").nullable().optional(),\n isWildcard: z.boolean().describe(\"Whether the certificate is a wildcard certificate.\").nullable().optional(),\n dnsProvider: z.string().describe(\"DNS provider for the certificate.\").nullable().optional(),\n clientStatus: z.string().describe(\"Current client status of the certificate.\").nullable().optional(),\n dnsValidationTarget: z.string().describe(\"Target for DNS validation.\").nullable().optional(),\n certificateAuthority: z.string().describe(\"The certificate authority that issued the certificate.\").nullable().optional(),\n dnsValidationHostname: z.string().describe(\"Hostname for DNS validation.\").nullable().optional(),\n});\nconst FlyGetCertificate_GetCertificateResponseDataSchema = z.object({\n certificate: FlyGetCertificate_CertificateDataSchema.nullable().optional(),\n});\nconst FlyGetCertificate_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});\nconst FlyGetCertificate_GraphQLErrorSchema = z.object({\n path: z.array(z.union([z.string(), z.number().int()])).describe(\"Path to the field that caused the error, represented as an array of strings and integers.\").nullable().optional(),\n message: z.string().describe(\"Human-readable error message describing what went wrong.\").nullable(),\n locations: z.array(FlyGetCertificate_GraphQLErrorLocationSchema).describe(\"Array indicating where in the query document the error occurred.\").nullable().optional(),\n extensions: z.record(z.string(), z.unknown()).describe(\"Additional error-specific information provided by the GraphQL server.\").nullable().optional(),\n});\nexport const FlyGetCertificateOutput = z.object({\n data: FlyGetCertificate_GetCertificateResponseDataSchema.nullable().optional(),\n errors: z.array(FlyGetCertificate_GraphQLErrorSchema).describe(\"Array of error objects if any errors occurred during query execution. Present only when errors are encountered.\").nullable().optional(),\n});\n\nexport const flyGetCertificate = action(\"FLY_GET_CERTIFICATE\", {\n slug: \"fly-get-certificate\",\n name: \"Get Certificate\",\n description: \"Tool to retrieve a certificate by its ID from Fly.io. Use when you need to get details about a specific certificate including hostname, creation date, and configuration status.\",\n input: FlyGetCertificateInput,\n output: FlyGetCertificateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,EAC1I,CAAC;AACD,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC;
|
|
1
|
+
{"version":3,"file":"get-certificate.cjs","names":["z","action"],"sources":["../../src/actions/get-certificate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetCertificateInput = z.object({\n certificate_id: z.string().describe(\"The unique identifier of the certificate to retrieve. This is the certificate ID in Fly.io system.\"),\n});\nconst FlyGetCertificate_CertificateDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the certificate.\").nullable().optional(),\n domain: z.string().describe(\"The domain name for the certificate.\").nullable().optional(),\n isApex: z.boolean().describe(\"Whether the certificate is for an apex domain.\").nullable().optional(),\n source: z.string().describe(\"Source of the certificate.\").nullable().optional(),\n hostname: z.string().describe(\"The hostname associated with this certificate.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp indicating when the certificate was created.\").nullable().optional(),\n isWildcard: z.boolean().describe(\"Whether the certificate is a wildcard certificate.\").nullable().optional(),\n dnsProvider: z.string().describe(\"DNS provider for the certificate.\").nullable().optional(),\n clientStatus: z.string().describe(\"Current client status of the certificate.\").nullable().optional(),\n dnsValidationTarget: z.string().describe(\"Target for DNS validation.\").nullable().optional(),\n certificateAuthority: z.string().describe(\"The certificate authority that issued the certificate.\").nullable().optional(),\n dnsValidationHostname: z.string().describe(\"Hostname for DNS validation.\").nullable().optional(),\n}).passthrough();\nconst FlyGetCertificate_GetCertificateResponseDataSchema = z.object({\n certificate: FlyGetCertificate_CertificateDataSchema.nullable().optional(),\n}).passthrough();\nconst FlyGetCertificate_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();\nconst FlyGetCertificate_GraphQLErrorSchema = z.object({\n path: z.array(z.union([z.string(), z.number().int()])).describe(\"Path to the field that caused the error, represented as an array of strings and integers.\").nullable().optional(),\n message: z.string().describe(\"Human-readable error message describing what went wrong.\").nullable(),\n locations: z.array(FlyGetCertificate_GraphQLErrorLocationSchema).describe(\"Array indicating where in the query document the error occurred.\").nullable().optional(),\n extensions: z.record(z.string(), z.unknown()).describe(\"Additional error-specific information provided by the GraphQL server.\").nullable().optional(),\n}).passthrough();\nexport const FlyGetCertificateOutput = z.object({\n data: FlyGetCertificate_GetCertificateResponseDataSchema.nullable().optional(),\n errors: z.array(FlyGetCertificate_GraphQLErrorSchema).describe(\"Array of error objects if any errors occurred during query execution. Present only when errors are encountered.\").nullable().optional(),\n}).passthrough();\n\nexport const flyGetCertificate = action(\"FLY_GET_CERTIFICATE\", {\n slug: \"fly-get-certificate\",\n name: \"Get Certificate\",\n description: \"Tool to retrieve a certificate by its ID from Fly.io. Use when you need to get details about a specific certificate including hostname, creation date, and configuration status.\",\n input: FlyGetCertificateInput,\n output: FlyGetCertificateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,EAC1I,CAAC;AACD,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,qDAAqDA,IAAAA,EAAE,OAAO,EAClE,aAAa,wCAAwC,SAAS,CAAC,CAAC,SAAS,EAC3E,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC/F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjL,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAClG,WAAWA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClK,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAM,mDAAmD,SAAS,CAAC,CAAC,SAAS;CAC7E,QAAQA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxM,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -19,18 +19,18 @@ declare const FlyGetCertificateOutput: z.ZodObject<{
|
|
|
19
19
|
dnsValidationTarget: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
certificateAuthority: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
dnsValidationHostname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
-
}, z.core.$
|
|
23
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>>;
|
|
23
|
+
}, z.core.$loose>>>;
|
|
24
24
|
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
25
25
|
path: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>>;
|
|
26
26
|
message: z.ZodNullable<z.ZodString>;
|
|
27
27
|
locations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
28
28
|
line: z.ZodNullable<z.ZodNumber>;
|
|
29
29
|
column: z.ZodNullable<z.ZodNumber>;
|
|
30
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>>>>;
|
|
31
31
|
extensions: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
32
|
-
}, z.core.$
|
|
33
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>>>>;
|
|
33
|
+
}, z.core.$loose>;
|
|
34
34
|
declare const flyGetCertificate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
35
35
|
certificate_id: string;
|
|
36
36
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -19,18 +19,18 @@ declare const FlyGetCertificateOutput: z.ZodObject<{
|
|
|
19
19
|
dnsValidationTarget: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
certificateAuthority: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
dnsValidationHostname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
-
}, z.core.$
|
|
23
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>>;
|
|
23
|
+
}, z.core.$loose>>>;
|
|
24
24
|
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
25
25
|
path: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>>;
|
|
26
26
|
message: z.ZodNullable<z.ZodString>;
|
|
27
27
|
locations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
28
28
|
line: z.ZodNullable<z.ZodNumber>;
|
|
29
29
|
column: z.ZodNullable<z.ZodNumber>;
|
|
30
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>>>>;
|
|
31
31
|
extensions: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
32
|
-
}, z.core.$
|
|
33
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>>>>;
|
|
33
|
+
}, z.core.$loose>;
|
|
34
34
|
declare const flyGetCertificate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
35
35
|
certificate_id: string;
|
|
36
36
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -15,18 +15,18 @@ const FlyGetCertificate_CertificateDataSchema = z.object({
|
|
|
15
15
|
dnsValidationTarget: z.string().describe("Target for DNS validation.").nullable().optional(),
|
|
16
16
|
certificateAuthority: z.string().describe("The certificate authority that issued the certificate.").nullable().optional(),
|
|
17
17
|
dnsValidationHostname: z.string().describe("Hostname for DNS validation.").nullable().optional()
|
|
18
|
-
});
|
|
19
|
-
const FlyGetCertificate_GetCertificateResponseDataSchema = z.object({ certificate: FlyGetCertificate_CertificateDataSchema.nullable().optional() });
|
|
18
|
+
}).passthrough();
|
|
19
|
+
const FlyGetCertificate_GetCertificateResponseDataSchema = z.object({ certificate: FlyGetCertificate_CertificateDataSchema.nullable().optional() }).passthrough();
|
|
20
20
|
const FlyGetCertificate_GraphQLErrorLocationSchema = z.object({
|
|
21
21
|
line: z.number().int().describe("Line number in the query where the error occurred.").nullable(),
|
|
22
22
|
column: z.number().int().describe("Column number in the query where the error occurred.").nullable()
|
|
23
|
-
});
|
|
23
|
+
}).passthrough();
|
|
24
24
|
const FlyGetCertificate_GraphQLErrorSchema = z.object({
|
|
25
25
|
path: z.array(z.union([z.string(), z.number().int()])).describe("Path to the field that caused the error, represented as an array of strings and integers.").nullable().optional(),
|
|
26
26
|
message: z.string().describe("Human-readable error message describing what went wrong.").nullable(),
|
|
27
27
|
locations: z.array(FlyGetCertificate_GraphQLErrorLocationSchema).describe("Array indicating where in the query document the error occurred.").nullable().optional(),
|
|
28
28
|
extensions: z.record(z.string(), z.unknown()).describe("Additional error-specific information provided by the GraphQL server.").nullable().optional()
|
|
29
|
-
});
|
|
29
|
+
}).passthrough();
|
|
30
30
|
const flyGetCertificate = action("FLY_GET_CERTIFICATE", {
|
|
31
31
|
slug: "fly-get-certificate",
|
|
32
32
|
name: "Get Certificate",
|
|
@@ -35,7 +35,7 @@ const flyGetCertificate = action("FLY_GET_CERTIFICATE", {
|
|
|
35
35
|
output: z.object({
|
|
36
36
|
data: FlyGetCertificate_GetCertificateResponseDataSchema.nullable().optional(),
|
|
37
37
|
errors: z.array(FlyGetCertificate_GraphQLErrorSchema).describe("Array of error objects if any errors occurred during query execution. Present only when errors are encountered.").nullable().optional()
|
|
38
|
-
})
|
|
38
|
+
}).passthrough()
|
|
39
39
|
});
|
|
40
40
|
//#endregion
|
|
41
41
|
export { flyGetCertificate };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-certificate.mjs","names":[],"sources":["../../src/actions/get-certificate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetCertificateInput = z.object({\n certificate_id: z.string().describe(\"The unique identifier of the certificate to retrieve. This is the certificate ID in Fly.io system.\"),\n});\nconst FlyGetCertificate_CertificateDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the certificate.\").nullable().optional(),\n domain: z.string().describe(\"The domain name for the certificate.\").nullable().optional(),\n isApex: z.boolean().describe(\"Whether the certificate is for an apex domain.\").nullable().optional(),\n source: z.string().describe(\"Source of the certificate.\").nullable().optional(),\n hostname: z.string().describe(\"The hostname associated with this certificate.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp indicating when the certificate was created.\").nullable().optional(),\n isWildcard: z.boolean().describe(\"Whether the certificate is a wildcard certificate.\").nullable().optional(),\n dnsProvider: z.string().describe(\"DNS provider for the certificate.\").nullable().optional(),\n clientStatus: z.string().describe(\"Current client status of the certificate.\").nullable().optional(),\n dnsValidationTarget: z.string().describe(\"Target for DNS validation.\").nullable().optional(),\n certificateAuthority: z.string().describe(\"The certificate authority that issued the certificate.\").nullable().optional(),\n dnsValidationHostname: z.string().describe(\"Hostname for DNS validation.\").nullable().optional(),\n});\nconst FlyGetCertificate_GetCertificateResponseDataSchema = z.object({\n certificate: FlyGetCertificate_CertificateDataSchema.nullable().optional(),\n});\nconst FlyGetCertificate_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});\nconst FlyGetCertificate_GraphQLErrorSchema = z.object({\n path: z.array(z.union([z.string(), z.number().int()])).describe(\"Path to the field that caused the error, represented as an array of strings and integers.\").nullable().optional(),\n message: z.string().describe(\"Human-readable error message describing what went wrong.\").nullable(),\n locations: z.array(FlyGetCertificate_GraphQLErrorLocationSchema).describe(\"Array indicating where in the query document the error occurred.\").nullable().optional(),\n extensions: z.record(z.string(), z.unknown()).describe(\"Additional error-specific information provided by the GraphQL server.\").nullable().optional(),\n});\nexport const FlyGetCertificateOutput = z.object({\n data: FlyGetCertificate_GetCertificateResponseDataSchema.nullable().optional(),\n errors: z.array(FlyGetCertificate_GraphQLErrorSchema).describe(\"Array of error objects if any errors occurred during query execution. Present only when errors are encountered.\").nullable().optional(),\n});\n\nexport const flyGetCertificate = action(\"FLY_GET_CERTIFICATE\", {\n slug: \"fly-get-certificate\",\n name: \"Get Certificate\",\n description: \"Tool to retrieve a certificate by its ID from Fly.io. Use when you need to get details about a specific certificate including hostname, creation date, and configuration status.\",\n input: FlyGetCertificateInput,\n output: FlyGetCertificateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO,EAC7C,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,EAC1I,CAAC;AACD,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC;
|
|
1
|
+
{"version":3,"file":"get-certificate.mjs","names":[],"sources":["../../src/actions/get-certificate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetCertificateInput = z.object({\n certificate_id: z.string().describe(\"The unique identifier of the certificate to retrieve. This is the certificate ID in Fly.io system.\"),\n});\nconst FlyGetCertificate_CertificateDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the certificate.\").nullable().optional(),\n domain: z.string().describe(\"The domain name for the certificate.\").nullable().optional(),\n isApex: z.boolean().describe(\"Whether the certificate is for an apex domain.\").nullable().optional(),\n source: z.string().describe(\"Source of the certificate.\").nullable().optional(),\n hostname: z.string().describe(\"The hostname associated with this certificate.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp indicating when the certificate was created.\").nullable().optional(),\n isWildcard: z.boolean().describe(\"Whether the certificate is a wildcard certificate.\").nullable().optional(),\n dnsProvider: z.string().describe(\"DNS provider for the certificate.\").nullable().optional(),\n clientStatus: z.string().describe(\"Current client status of the certificate.\").nullable().optional(),\n dnsValidationTarget: z.string().describe(\"Target for DNS validation.\").nullable().optional(),\n certificateAuthority: z.string().describe(\"The certificate authority that issued the certificate.\").nullable().optional(),\n dnsValidationHostname: z.string().describe(\"Hostname for DNS validation.\").nullable().optional(),\n}).passthrough();\nconst FlyGetCertificate_GetCertificateResponseDataSchema = z.object({\n certificate: FlyGetCertificate_CertificateDataSchema.nullable().optional(),\n}).passthrough();\nconst FlyGetCertificate_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();\nconst FlyGetCertificate_GraphQLErrorSchema = z.object({\n path: z.array(z.union([z.string(), z.number().int()])).describe(\"Path to the field that caused the error, represented as an array of strings and integers.\").nullable().optional(),\n message: z.string().describe(\"Human-readable error message describing what went wrong.\").nullable(),\n locations: z.array(FlyGetCertificate_GraphQLErrorLocationSchema).describe(\"Array indicating where in the query document the error occurred.\").nullable().optional(),\n extensions: z.record(z.string(), z.unknown()).describe(\"Additional error-specific information provided by the GraphQL server.\").nullable().optional(),\n}).passthrough();\nexport const FlyGetCertificateOutput = z.object({\n data: FlyGetCertificate_GetCertificateResponseDataSchema.nullable().optional(),\n errors: z.array(FlyGetCertificate_GraphQLErrorSchema).describe(\"Array of error objects if any errors occurred during query execution. Present only when errors are encountered.\").nullable().optional(),\n}).passthrough();\n\nexport const flyGetCertificate = action(\"FLY_GET_CERTIFICATE\", {\n slug: \"fly-get-certificate\",\n name: \"Get Certificate\",\n description: \"Tool to retrieve a certificate by its ID from Fly.io. Use when you need to get details about a specific certificate including hostname, creation date, and configuration status.\",\n input: FlyGetCertificateInput,\n output: FlyGetCertificateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO,EAC7C,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,EAC1I,CAAC;AACD,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,qDAAqD,EAAE,OAAO,EAClE,aAAa,wCAAwC,SAAS,CAAC,CAAC,SAAS,EAC3E,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,+CAA+C,EAAE,OAAO;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC/F,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,uCAAuC,EAAE,OAAO;CACpD,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjL,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAClG,WAAW,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClK,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,YAAY;AAMf,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVqC,EAAE,OAAO;EAC9C,MAAM,mDAAmD,SAAS,CAAC,CAAC,SAAS;EAC7E,QAAQ,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxM,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -10,8 +10,8 @@ const FlyGetCurrentTokenInfo_TokenInfoSchema = zod.z.object({
|
|
|
10
10
|
organization: zod.z.string().describe("Organization name associated with the token").nullable().optional(),
|
|
11
11
|
source_machine_id: zod.z.string().describe("ID of the machine that created the token, if applicable").nullable().optional(),
|
|
12
12
|
restricted_to_machine: zod.z.string().describe("Machine ID that this token is restricted to, if applicable").nullable().optional()
|
|
13
|
-
}).describe("Information about a token.");
|
|
14
|
-
const FlyGetCurrentTokenInfoOutput = zod.z.object({ tokens: zod.z.array(FlyGetCurrentTokenInfo_TokenInfoSchema).describe("List of token information objects for the current authentication token").nullable().optional() }).describe("Response model for getting current token information.");
|
|
13
|
+
}).passthrough().describe("Information about a token.");
|
|
14
|
+
const FlyGetCurrentTokenInfoOutput = zod.z.object({ tokens: zod.z.array(FlyGetCurrentTokenInfo_TokenInfoSchema).describe("List of token information objects for the current authentication token").nullable().optional() }).passthrough().describe("Response model for getting current token information.");
|
|
15
15
|
const flyGetCurrentTokenInfo = require_action.action("FLY_GET_CURRENT_TOKEN_INFO", {
|
|
16
16
|
slug: "fly-get-current-token-info",
|
|
17
17
|
name: "Get Current Token Info",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-current-token-info.cjs","names":["z","action"],"sources":["../../src/actions/get-current-token-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetCurrentTokenInfoInput = z.object({}).describe(\"Request model for getting current token information.\");\nconst FlyGetCurrentTokenInfo_TokenInfoSchema = z.object({\n apps: z.array(z.string()).describe(\"List of apps the token has access to\").nullable().optional(),\n user: z.string().describe(\"User associated with the token\").nullable().optional(),\n org_slug: z.string().describe(\"Organization slug associated with the token\").nullable().optional(),\n token_id: z.string().describe(\"Unique identifier for the token\").nullable().optional(),\n organization: z.string().describe(\"Organization name associated with the token\").nullable().optional(),\n source_machine_id: z.string().describe(\"ID of the machine that created the token, if applicable\").nullable().optional(),\n restricted_to_machine: z.string().describe(\"Machine ID that this token is restricted to, if applicable\").nullable().optional(),\n}).describe(\"Information about a token.\");\nexport const FlyGetCurrentTokenInfoOutput = z.object({\n tokens: z.array(FlyGetCurrentTokenInfo_TokenInfoSchema).describe(\"List of token information objects for the current authentication token\").nullable().optional(),\n}).describe(\"Response model for getting current token information.\");\n\nexport const flyGetCurrentTokenInfo = action(\"FLY_GET_CURRENT_TOKEN_INFO\", {\n slug: \"fly-get-current-token-info\",\n name: \"Get Current Token Info\",\n description: \"Tool to get information about the current authentication token. Use when you need to retrieve details about the token being used for API authentication, including organizations, apps, and whether the token is from a user or machine.\",\n input: FlyGetCurrentTokenInfoInput,\n output: FlyGetCurrentTokenInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sDAAsD;AACvH,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,SAAS,4BAA4B;
|
|
1
|
+
{"version":3,"file":"get-current-token-info.cjs","names":["z","action"],"sources":["../../src/actions/get-current-token-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetCurrentTokenInfoInput = z.object({}).describe(\"Request model for getting current token information.\");\nconst FlyGetCurrentTokenInfo_TokenInfoSchema = z.object({\n apps: z.array(z.string()).describe(\"List of apps the token has access to\").nullable().optional(),\n user: z.string().describe(\"User associated with the token\").nullable().optional(),\n org_slug: z.string().describe(\"Organization slug associated with the token\").nullable().optional(),\n token_id: z.string().describe(\"Unique identifier for the token\").nullable().optional(),\n organization: z.string().describe(\"Organization name associated with the token\").nullable().optional(),\n source_machine_id: z.string().describe(\"ID of the machine that created the token, if applicable\").nullable().optional(),\n restricted_to_machine: z.string().describe(\"Machine ID that this token is restricted to, if applicable\").nullable().optional(),\n}).passthrough().describe(\"Information about a token.\");\nexport const FlyGetCurrentTokenInfoOutput = z.object({\n tokens: z.array(FlyGetCurrentTokenInfo_TokenInfoSchema).describe(\"List of token information objects for the current authentication token\").nullable().optional(),\n}).passthrough().describe(\"Response model for getting current token information.\");\n\nexport const flyGetCurrentTokenInfo = action(\"FLY_GET_CURRENT_TOKEN_INFO\", {\n slug: \"fly-get-current-token-info\",\n name: \"Get Current Token Info\",\n description: \"Tool to get information about the current authentication token. Use when you need to retrieve details about the token being used for API authentication, including organizations, apps, and whether the token is from a user or machine.\",\n input: FlyGetCurrentTokenInfoInput,\n output: FlyGetCurrentTokenInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sDAAsD;AACvH,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AACtD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,QAAQA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,yBAAyBC,eAAAA,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,8 +11,8 @@ declare const FlyGetCurrentTokenInfoOutput: z.ZodObject<{
|
|
|
11
11
|
organization: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
source_machine_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
restricted_to_machine: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
-
}, z.core.$
|
|
15
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>>>;
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const flyGetCurrentTokenInfo: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { flyGetCurrentTokenInfo };
|
|
@@ -11,8 +11,8 @@ declare const FlyGetCurrentTokenInfoOutput: z.ZodObject<{
|
|
|
11
11
|
organization: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
source_machine_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
restricted_to_machine: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
-
}, z.core.$
|
|
15
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>>>;
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const flyGetCurrentTokenInfo: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { flyGetCurrentTokenInfo };
|
|
@@ -10,13 +10,13 @@ const FlyGetCurrentTokenInfo_TokenInfoSchema = z.object({
|
|
|
10
10
|
organization: z.string().describe("Organization name associated with the token").nullable().optional(),
|
|
11
11
|
source_machine_id: z.string().describe("ID of the machine that created the token, if applicable").nullable().optional(),
|
|
12
12
|
restricted_to_machine: z.string().describe("Machine ID that this token is restricted to, if applicable").nullable().optional()
|
|
13
|
-
}).describe("Information about a token.");
|
|
13
|
+
}).passthrough().describe("Information about a token.");
|
|
14
14
|
const flyGetCurrentTokenInfo = action("FLY_GET_CURRENT_TOKEN_INFO", {
|
|
15
15
|
slug: "fly-get-current-token-info",
|
|
16
16
|
name: "Get Current Token Info",
|
|
17
17
|
description: "Tool to get information about the current authentication token. Use when you need to retrieve details about the token being used for API authentication, including organizations, apps, and whether the token is from a user or machine.",
|
|
18
18
|
input: FlyGetCurrentTokenInfoInput,
|
|
19
|
-
output: z.object({ tokens: z.array(FlyGetCurrentTokenInfo_TokenInfoSchema).describe("List of token information objects for the current authentication token").nullable().optional() }).describe("Response model for getting current token information.")
|
|
19
|
+
output: z.object({ tokens: z.array(FlyGetCurrentTokenInfo_TokenInfoSchema).describe("List of token information objects for the current authentication token").nullable().optional() }).passthrough().describe("Response model for getting current token information.")
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { flyGetCurrentTokenInfo };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-current-token-info.mjs","names":[],"sources":["../../src/actions/get-current-token-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetCurrentTokenInfoInput = z.object({}).describe(\"Request model for getting current token information.\");\nconst FlyGetCurrentTokenInfo_TokenInfoSchema = z.object({\n apps: z.array(z.string()).describe(\"List of apps the token has access to\").nullable().optional(),\n user: z.string().describe(\"User associated with the token\").nullable().optional(),\n org_slug: z.string().describe(\"Organization slug associated with the token\").nullable().optional(),\n token_id: z.string().describe(\"Unique identifier for the token\").nullable().optional(),\n organization: z.string().describe(\"Organization name associated with the token\").nullable().optional(),\n source_machine_id: z.string().describe(\"ID of the machine that created the token, if applicable\").nullable().optional(),\n restricted_to_machine: z.string().describe(\"Machine ID that this token is restricted to, if applicable\").nullable().optional(),\n}).describe(\"Information about a token.\");\nexport const FlyGetCurrentTokenInfoOutput = z.object({\n tokens: z.array(FlyGetCurrentTokenInfo_TokenInfoSchema).describe(\"List of token information objects for the current authentication token\").nullable().optional(),\n}).describe(\"Response model for getting current token information.\");\n\nexport const flyGetCurrentTokenInfo = action(\"FLY_GET_CURRENT_TOKEN_INFO\", {\n slug: \"fly-get-current-token-info\",\n name: \"Get Current Token Info\",\n description: \"Tool to get information about the current authentication token. Use when you need to retrieve details about the token being used for API authentication, including organizations, apps, and whether the token is from a user or machine.\",\n input: FlyGetCurrentTokenInfoInput,\n output: FlyGetCurrentTokenInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sDAAsD;AACvH,MAAM,yCAAyC,EAAE,OAAO;CACtD,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,SAAS,4BAA4B;
|
|
1
|
+
{"version":3,"file":"get-current-token-info.mjs","names":[],"sources":["../../src/actions/get-current-token-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetCurrentTokenInfoInput = z.object({}).describe(\"Request model for getting current token information.\");\nconst FlyGetCurrentTokenInfo_TokenInfoSchema = z.object({\n apps: z.array(z.string()).describe(\"List of apps the token has access to\").nullable().optional(),\n user: z.string().describe(\"User associated with the token\").nullable().optional(),\n org_slug: z.string().describe(\"Organization slug associated with the token\").nullable().optional(),\n token_id: z.string().describe(\"Unique identifier for the token\").nullable().optional(),\n organization: z.string().describe(\"Organization name associated with the token\").nullable().optional(),\n source_machine_id: z.string().describe(\"ID of the machine that created the token, if applicable\").nullable().optional(),\n restricted_to_machine: z.string().describe(\"Machine ID that this token is restricted to, if applicable\").nullable().optional(),\n}).passthrough().describe(\"Information about a token.\");\nexport const FlyGetCurrentTokenInfoOutput = z.object({\n tokens: z.array(FlyGetCurrentTokenInfo_TokenInfoSchema).describe(\"List of token information objects for the current authentication token\").nullable().optional(),\n}).passthrough().describe(\"Response model for getting current token information.\");\n\nexport const flyGetCurrentTokenInfo = action(\"FLY_GET_CURRENT_TOKEN_INFO\", {\n slug: \"fly-get-current-token-info\",\n name: \"Get Current Token Info\",\n description: \"Tool to get information about the current authentication token. Use when you need to retrieve details about the token being used for API authentication, including organizations, apps, and whether the token is from a user or machine.\",\n input: FlyGetCurrentTokenInfoInput,\n output: FlyGetCurrentTokenInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sDAAsD;AACvH,MAAM,yCAAyC,EAAE,OAAO;CACtD,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AAKtD,MAAa,yBAAyB,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0C,EAAE,OAAO,EACnD,QAAQ,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAOhB;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ const FlyGetLatestImageDetailsOutput = zod.z.object({
|
|
|
11
11
|
version: zod.z.string().describe("Version string if available, typically matches the tag or provides additional version information.").nullable().optional(),
|
|
12
12
|
registry: zod.z.string().describe("Registry URL where the image is hosted (e.g., 'registry.fly.io').").nullable(),
|
|
13
13
|
repository: zod.z.string().describe("Repository name for the image (e.g., 'flyio/postgres').").nullable()
|
|
14
|
-
});
|
|
14
|
+
}).passthrough();
|
|
15
15
|
const flyGetLatestImageDetails = require_action.action("FLY_GET_LATEST_IMAGE_DETAILS", {
|
|
16
16
|
slug: "fly-get-latest-image-details",
|
|
17
17
|
name: "Get Latest Image Details",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-latest-image-details.cjs","names":["z","action"],"sources":["../../src/actions/get-latest-image-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetLatestImageDetailsInput = z.object({\n image: z.string().describe(\"Image reference in repository/name:tag format (e.g., 'flyio/postgres:15' or 'registry.fly.io/myapp:latest'). Use images from Fly.io's registry for best results.\"),\n fly_version: z.string().describe(\"Fly version to use for tag resolution. Optional parameter to specify a particular Fly.io version for resolving the image tag.\").optional(),\n});\nexport const FlyGetLatestImageDetailsOutput = z.object({\n tag: z.string().describe(\"Image tag (e.g., '15', 'latest').\").nullable(),\n digest: z.string().describe(\"Image digest hash (SHA256 hash of the image manifest).\").nullable(),\n version: z.string().describe(\"Version string if available, typically matches the tag or provides additional version information.\").nullable().optional(),\n registry: z.string().describe(\"Registry URL where the image is hosted (e.g., 'registry.fly.io').\").nullable(),\n repository: z.string().describe(\"Repository name for the image (e.g., 'flyio/postgres').\").nullable(),\n});\n\nexport const flyGetLatestImageDetails = action(\"FLY_GET_LATEST_IMAGE_DETAILS\", {\n slug: \"fly-get-latest-image-details\",\n name: \"Get Latest Image Details\",\n description: \"Tool to retrieve the latest available tag details for a given image repository from Fly.io's registry. Use when you need to get digest, registry, repository, tag, and version information for a container image.\",\n input: FlyGetLatestImageDetailsInput,\n output: FlyGetLatestImageDetailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kKAAkK;CAC7L,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;AAC7K,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC/F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC5G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AACtG,CAAC;
|
|
1
|
+
{"version":3,"file":"get-latest-image-details.cjs","names":["z","action"],"sources":["../../src/actions/get-latest-image-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetLatestImageDetailsInput = z.object({\n image: z.string().describe(\"Image reference in repository/name:tag format (e.g., 'flyio/postgres:15' or 'registry.fly.io/myapp:latest'). Use images from Fly.io's registry for best results.\"),\n fly_version: z.string().describe(\"Fly version to use for tag resolution. Optional parameter to specify a particular Fly.io version for resolving the image tag.\").optional(),\n});\nexport const FlyGetLatestImageDetailsOutput = z.object({\n tag: z.string().describe(\"Image tag (e.g., '15', 'latest').\").nullable(),\n digest: z.string().describe(\"Image digest hash (SHA256 hash of the image manifest).\").nullable(),\n version: z.string().describe(\"Version string if available, typically matches the tag or provides additional version information.\").nullable().optional(),\n registry: z.string().describe(\"Registry URL where the image is hosted (e.g., 'registry.fly.io').\").nullable(),\n repository: z.string().describe(\"Repository name for the image (e.g., 'flyio/postgres').\").nullable(),\n}).passthrough();\n\nexport const flyGetLatestImageDetails = action(\"FLY_GET_LATEST_IMAGE_DETAILS\", {\n slug: \"fly-get-latest-image-details\",\n name: \"Get Latest Image Details\",\n description: \"Tool to retrieve the latest available tag details for a given image repository from Fly.io's registry. Use when you need to get digest, registry, repository, tag, and version information for a container image.\",\n input: FlyGetLatestImageDetailsInput,\n output: FlyGetLatestImageDetailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kKAAkK;CAC7L,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;AAC7K,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC/F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC5G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ declare const FlyGetLatestImageDetailsOutput: z.ZodObject<{
|
|
|
11
11
|
version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
registry: z.ZodNullable<z.ZodString>;
|
|
13
13
|
repository: z.ZodNullable<z.ZodString>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const flyGetLatestImageDetails: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
image: string;
|
|
17
17
|
fly_version?: string | undefined;
|
|
@@ -11,7 +11,7 @@ declare const FlyGetLatestImageDetailsOutput: z.ZodObject<{
|
|
|
11
11
|
version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
registry: z.ZodNullable<z.ZodString>;
|
|
13
13
|
repository: z.ZodNullable<z.ZodString>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const flyGetLatestImageDetails: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
image: string;
|
|
17
17
|
fly_version?: string | undefined;
|
|
@@ -14,7 +14,7 @@ const flyGetLatestImageDetails = action("FLY_GET_LATEST_IMAGE_DETAILS", {
|
|
|
14
14
|
version: z.string().describe("Version string if available, typically matches the tag or provides additional version information.").nullable().optional(),
|
|
15
15
|
registry: z.string().describe("Registry URL where the image is hosted (e.g., 'registry.fly.io').").nullable(),
|
|
16
16
|
repository: z.string().describe("Repository name for the image (e.g., 'flyio/postgres').").nullable()
|
|
17
|
-
})
|
|
17
|
+
}).passthrough()
|
|
18
18
|
});
|
|
19
19
|
//#endregion
|
|
20
20
|
export { flyGetLatestImageDetails };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-latest-image-details.mjs","names":[],"sources":["../../src/actions/get-latest-image-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetLatestImageDetailsInput = z.object({\n image: z.string().describe(\"Image reference in repository/name:tag format (e.g., 'flyio/postgres:15' or 'registry.fly.io/myapp:latest'). Use images from Fly.io's registry for best results.\"),\n fly_version: z.string().describe(\"Fly version to use for tag resolution. Optional parameter to specify a particular Fly.io version for resolving the image tag.\").optional(),\n});\nexport const FlyGetLatestImageDetailsOutput = z.object({\n tag: z.string().describe(\"Image tag (e.g., '15', 'latest').\").nullable(),\n digest: z.string().describe(\"Image digest hash (SHA256 hash of the image manifest).\").nullable(),\n version: z.string().describe(\"Version string if available, typically matches the tag or provides additional version information.\").nullable().optional(),\n registry: z.string().describe(\"Registry URL where the image is hosted (e.g., 'registry.fly.io').\").nullable(),\n repository: z.string().describe(\"Repository name for the image (e.g., 'flyio/postgres').\").nullable(),\n});\n\nexport const flyGetLatestImageDetails = action(\"FLY_GET_LATEST_IMAGE_DETAILS\", {\n slug: \"fly-get-latest-image-details\",\n name: \"Get Latest Image Details\",\n description: \"Tool to retrieve the latest available tag details for a given image repository from Fly.io's registry. Use when you need to get digest, registry, repository, tag, and version information for a container image.\",\n input: FlyGetLatestImageDetailsInput,\n output: FlyGetLatestImageDetailsOutput,\n});\n"],"mappings":";;AAgBA,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB2C,EAAE,OAAO;EACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kKAAkK;EAC7L,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CAC7K,CAaS;CACP,QAb4C,EAAE,OAAO;EACrD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EAC/F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EAC5G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACtG,
|
|
1
|
+
{"version":3,"file":"get-latest-image-details.mjs","names":[],"sources":["../../src/actions/get-latest-image-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetLatestImageDetailsInput = z.object({\n image: z.string().describe(\"Image reference in repository/name:tag format (e.g., 'flyio/postgres:15' or 'registry.fly.io/myapp:latest'). Use images from Fly.io's registry for best results.\"),\n fly_version: z.string().describe(\"Fly version to use for tag resolution. Optional parameter to specify a particular Fly.io version for resolving the image tag.\").optional(),\n});\nexport const FlyGetLatestImageDetailsOutput = z.object({\n tag: z.string().describe(\"Image tag (e.g., '15', 'latest').\").nullable(),\n digest: z.string().describe(\"Image digest hash (SHA256 hash of the image manifest).\").nullable(),\n version: z.string().describe(\"Version string if available, typically matches the tag or provides additional version information.\").nullable().optional(),\n registry: z.string().describe(\"Registry URL where the image is hosted (e.g., 'registry.fly.io').\").nullable(),\n repository: z.string().describe(\"Repository name for the image (e.g., 'flyio/postgres').\").nullable(),\n}).passthrough();\n\nexport const flyGetLatestImageDetails = action(\"FLY_GET_LATEST_IMAGE_DETAILS\", {\n slug: \"fly-get-latest-image-details\",\n name: \"Get Latest Image Details\",\n description: \"Tool to retrieve the latest available tag details for a given image repository from Fly.io's registry. Use when you need to get digest, registry, repository, tag, and version information for a container image.\",\n input: FlyGetLatestImageDetailsInput,\n output: FlyGetLatestImageDetailsOutput,\n});\n"],"mappings":";;AAgBA,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB2C,EAAE,OAAO;EACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kKAAkK;EAC7L,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CAC7K,CAaS;CACP,QAb4C,EAAE,OAAO;EACrD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EAC/F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EAC5G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/get-latest-image-tag.ts
|
|
4
4
|
const FlyGetLatestImageTagInput = zod.z.object({ repository: zod.z.string().describe("The Docker image repository name (e.g., 'flyio/postgres', 'flyio/hellofly'). This should be the full repository path.") }).describe("Request model for getting the latest image tag.");
|
|
5
|
-
const FlyGetLatestImageTagOutput = zod.z.object({ latest_image_tag: zod.z.string().describe("The latest available tag for the image repository with full repository path and SHA256 digest (e.g., 'flyio/postgres:14.6@sha256:...'). Returns None if the repository is not found or no tags are available.").nullable().optional() }).describe("Response model for getting the latest image tag.");
|
|
5
|
+
const FlyGetLatestImageTagOutput = zod.z.object({ latest_image_tag: zod.z.string().describe("The latest available tag for the image repository with full repository path and SHA256 digest (e.g., 'flyio/postgres:14.6@sha256:...'). Returns None if the repository is not found or no tags are available.").nullable().optional() }).passthrough().describe("Response model for getting the latest image tag.");
|
|
6
6
|
const flyGetLatestImageTag = require_action.action("FLY_GET_LATEST_IMAGE_TAG", {
|
|
7
7
|
slug: "fly-get-latest-image-tag",
|
|
8
8
|
name: "Get Latest Image Tag",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-latest-image-tag.cjs","names":["z","action"],"sources":["../../src/actions/get-latest-image-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetLatestImageTagInput = z.object({\n repository: z.string().describe(\"The Docker image repository name (e.g., 'flyio/postgres', 'flyio/hellofly'). This should be the full repository path.\"),\n}).describe(\"Request model for getting the latest image tag.\");\nexport const FlyGetLatestImageTagOutput = z.object({\n latest_image_tag: z.string().describe(\"The latest available tag for the image repository with full repository path and SHA256 digest (e.g., 'flyio/postgres:14.6@sha256:...'). Returns None if the repository is not found or no tags are available.\").nullable().optional(),\n}).describe(\"Response model for getting the latest image tag.\");\n\nexport const flyGetLatestImageTag = action(\"FLY_GET_LATEST_IMAGE_TAG\", {\n slug: \"fly-get-latest-image-tag\",\n name: \"Get Latest Image Tag\",\n description: \"Tool to retrieve the latest available image tag for a Fly.io Docker repository. Use when you need to find the most recent version of a Fly.io image.\",\n input: FlyGetLatestImageTagInput,\n output: FlyGetLatestImageTagOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,EACzJ,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+MAA+M,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7Q,CAAC,CAAC,CAAC,SAAS,kDAAkD;
|
|
1
|
+
{"version":3,"file":"get-latest-image-tag.cjs","names":["z","action"],"sources":["../../src/actions/get-latest-image-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetLatestImageTagInput = z.object({\n repository: z.string().describe(\"The Docker image repository name (e.g., 'flyio/postgres', 'flyio/hellofly'). This should be the full repository path.\"),\n}).describe(\"Request model for getting the latest image tag.\");\nexport const FlyGetLatestImageTagOutput = z.object({\n latest_image_tag: z.string().describe(\"The latest available tag for the image repository with full repository path and SHA256 digest (e.g., 'flyio/postgres:14.6@sha256:...'). Returns None if the repository is not found or no tags are available.\").nullable().optional(),\n}).passthrough().describe(\"Response model for getting the latest image tag.\");\n\nexport const flyGetLatestImageTag = action(\"FLY_GET_LATEST_IMAGE_TAG\", {\n slug: \"fly-get-latest-image-tag\",\n name: \"Get Latest Image Tag\",\n description: \"Tool to retrieve the latest available image tag for a Fly.io Docker repository. Use when you need to find the most recent version of a Fly.io image.\",\n input: FlyGetLatestImageTagInput,\n output: FlyGetLatestImageTagOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,EACzJ,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+MAA+M,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7Q,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,uBAAuBC,eAAAA,OAAO,4BAA4B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -6,7 +6,7 @@ declare const FlyGetLatestImageTagInput: z.ZodObject<{
|
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const FlyGetLatestImageTagOutput: z.ZodObject<{
|
|
8
8
|
latest_image_tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>;
|
|
10
10
|
declare const flyGetLatestImageTag: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
11
|
repository: string;
|
|
12
12
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -6,7 +6,7 @@ declare const FlyGetLatestImageTagInput: z.ZodObject<{
|
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const FlyGetLatestImageTagOutput: z.ZodObject<{
|
|
8
8
|
latest_image_tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>;
|
|
10
10
|
declare const flyGetLatestImageTag: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
11
|
repository: string;
|
|
12
12
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -5,7 +5,7 @@ const flyGetLatestImageTag = action("FLY_GET_LATEST_IMAGE_TAG", {
|
|
|
5
5
|
name: "Get Latest Image Tag",
|
|
6
6
|
description: "Tool to retrieve the latest available image tag for a Fly.io Docker repository. Use when you need to find the most recent version of a Fly.io image.",
|
|
7
7
|
input: z.object({ repository: z.string().describe("The Docker image repository name (e.g., 'flyio/postgres', 'flyio/hellofly'). This should be the full repository path.") }).describe("Request model for getting the latest image tag."),
|
|
8
|
-
output: z.object({ latest_image_tag: z.string().describe("The latest available tag for the image repository with full repository path and SHA256 digest (e.g., 'flyio/postgres:14.6@sha256:...'). Returns None if the repository is not found or no tags are available.").nullable().optional() }).describe("Response model for getting the latest image tag.")
|
|
8
|
+
output: z.object({ latest_image_tag: z.string().describe("The latest available tag for the image repository with full repository path and SHA256 digest (e.g., 'flyio/postgres:14.6@sha256:...'). Returns None if the repository is not found or no tags are available.").nullable().optional() }).passthrough().describe("Response model for getting the latest image tag.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { flyGetLatestImageTag };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-latest-image-tag.mjs","names":[],"sources":["../../src/actions/get-latest-image-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetLatestImageTagInput = z.object({\n repository: z.string().describe(\"The Docker image repository name (e.g., 'flyio/postgres', 'flyio/hellofly'). This should be the full repository path.\"),\n}).describe(\"Request model for getting the latest image tag.\");\nexport const FlyGetLatestImageTagOutput = z.object({\n latest_image_tag: z.string().describe(\"The latest available tag for the image repository with full repository path and SHA256 digest (e.g., 'flyio/postgres:14.6@sha256:...'). Returns None if the repository is not found or no tags are available.\").nullable().optional(),\n}).describe(\"Response model for getting the latest image tag.\");\n\nexport const flyGetLatestImageTag = action(\"FLY_GET_LATEST_IMAGE_TAG\", {\n slug: \"fly-get-latest-image-tag\",\n name: \"Get Latest Image Tag\",\n description: \"Tool to retrieve the latest available image tag for a Fly.io Docker repository. Use when you need to find the most recent version of a Fly.io image.\",\n input: FlyGetLatestImageTagInput,\n output: FlyGetLatestImageTagOutput,\n});\n"],"mappings":";;AAWA,MAAa,uBAAuB,OAAO,4BAA4B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXuC,EAAE,OAAO,EAChD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,EACzJ,CAAC,CAAC,CAAC,SAAS,iDASH;CACP,QATwC,EAAE,OAAO,EACjD,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,+MAA+M,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7Q,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"get-latest-image-tag.mjs","names":[],"sources":["../../src/actions/get-latest-image-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetLatestImageTagInput = z.object({\n repository: z.string().describe(\"The Docker image repository name (e.g., 'flyio/postgres', 'flyio/hellofly'). This should be the full repository path.\"),\n}).describe(\"Request model for getting the latest image tag.\");\nexport const FlyGetLatestImageTagOutput = z.object({\n latest_image_tag: z.string().describe(\"The latest available tag for the image repository with full repository path and SHA256 digest (e.g., 'flyio/postgres:14.6@sha256:...'). Returns None if the repository is not found or no tags are available.\").nullable().optional(),\n}).passthrough().describe(\"Response model for getting the latest image tag.\");\n\nexport const flyGetLatestImageTag = action(\"FLY_GET_LATEST_IMAGE_TAG\", {\n slug: \"fly-get-latest-image-tag\",\n name: \"Get Latest Image Tag\",\n description: \"Tool to retrieve the latest available image tag for a Fly.io Docker repository. Use when you need to find the most recent version of a Fly.io image.\",\n input: FlyGetLatestImageTagInput,\n output: FlyGetLatestImageTagOutput,\n});\n"],"mappings":";;AAWA,MAAa,uBAAuB,OAAO,4BAA4B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXuC,EAAE,OAAO,EAChD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,EACzJ,CAAC,CAAC,CAAC,SAAS,iDASH;CACP,QATwC,EAAE,OAAO,EACjD,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,+MAA+M,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7Q,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
|
|
@@ -11,22 +11,22 @@ const FlyGetMachine_MachineDataSchema = zod.z.object({
|
|
|
11
11
|
createdAt: zod.z.string().describe("Timestamp when the machine was created (ISO 8601 format).").nullable().optional(),
|
|
12
12
|
updatedAt: zod.z.string().describe("Timestamp when the machine was last updated (ISO 8601 format).").nullable().optional(),
|
|
13
13
|
instanceId: zod.z.string().describe("Instance identifier for the machine.").nullable().optional()
|
|
14
|
-
}).describe("Machine information returned by the Fly.io API.");
|
|
15
|
-
const FlyGetMachine_GetMachineResponseDataSchema = zod.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 = zod.z.object({ machine: FlyGetMachine_MachineDataSchema.nullable().optional() }).passthrough().describe("Data section of the GraphQL response.");
|
|
16
16
|
const FlyGetMachine_GraphQLErrorLocationSchema = zod.z.object({
|
|
17
17
|
line: zod.z.number().int().describe("Line number in the GraphQL document where the error occurred (1-indexed).").nullable(),
|
|
18
18
|
column: zod.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 = zod.z.object({
|
|
21
21
|
path: zod.z.array(zod.z.string()).describe("Path to the field that caused the error.").nullable().optional(),
|
|
22
22
|
message: zod.z.string().describe("Description of the error that occurred during query execution.").nullable(),
|
|
23
23
|
locations: zod.z.array(FlyGetMachine_GraphQLErrorLocationSchema).describe("List of locations in the GraphQL document where the error originated.").nullable().optional(),
|
|
24
24
|
extensions: zod.z.record(zod.z.string(), zod.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 FlyGetMachineOutput = zod.z.object({
|
|
27
27
|
data: FlyGetMachine_GetMachineResponseDataSchema.nullable().optional(),
|
|
28
28
|
errors: zod.z.array(FlyGetMachine_GraphQLErrorSchema).describe("List of errors encountered during query execution. Present when query fails.").nullable().optional()
|
|
29
|
-
}).describe("Response from the Fly.io GraphQL API for machine query.");
|
|
29
|
+
}).passthrough().describe("Response from the Fly.io GraphQL API for machine query.");
|
|
30
30
|
const flyGetMachine = require_action.action("FLY_GET_MACHINE", {
|
|
31
31
|
slug: "fly-get-machine",
|
|
32
32
|
name: "Get Machine",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-machine.cjs","names":["z","action"],"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,qBAAqBA,IAAAA,EAAE,OAAO,EACzC,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,EACpF,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,iDAAiD;
|
|
1
|
+
{"version":3,"file":"get-machine.cjs","names":["z","action"],"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,qBAAqBA,IAAAA,EAAE,OAAO,EACzC,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,EACpF,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAM,6CAA6CA,IAAAA,EAAE,OAAO,EAC1D,SAAS,gCAAgC,SAAS,CAAC,CAAC,SAAS,EAC/D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACtH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAC9E,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,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,gEAAgE,CAAC,CAAC,SAAS;CACxG,WAAWA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnK,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AACjF,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,MAAM,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACrE,QAAQA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,gBAAgBC,eAAAA,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -15,18 +15,18 @@ declare const FlyGetMachineOutput: z.ZodObject<{
|
|
|
15
15
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
instanceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
}, z.core.$
|
|
19
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>>;
|
|
19
|
+
}, z.core.$loose>>>;
|
|
20
20
|
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
21
21
|
path: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
22
22
|
message: z.ZodNullable<z.ZodString>;
|
|
23
23
|
locations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
24
24
|
line: z.ZodNullable<z.ZodNumber>;
|
|
25
25
|
column: z.ZodNullable<z.ZodNumber>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>>>>;
|
|
27
27
|
extensions: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
28
|
-
}, z.core.$
|
|
29
|
-
}, z.core.$
|
|
28
|
+
}, z.core.$loose>>>>;
|
|
29
|
+
}, z.core.$loose>;
|
|
30
30
|
declare const flyGetMachine: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
31
31
|
machineId: string;
|
|
32
32
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -15,18 +15,18 @@ declare const FlyGetMachineOutput: z.ZodObject<{
|
|
|
15
15
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
instanceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
}, z.core.$
|
|
19
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>>;
|
|
19
|
+
}, z.core.$loose>>>;
|
|
20
20
|
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
21
21
|
path: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
22
22
|
message: z.ZodNullable<z.ZodString>;
|
|
23
23
|
locations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
24
24
|
line: z.ZodNullable<z.ZodNumber>;
|
|
25
25
|
column: z.ZodNullable<z.ZodNumber>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>>>>;
|
|
27
27
|
extensions: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
28
|
-
}, z.core.$
|
|
29
|
-
}, z.core.$
|
|
28
|
+
}, z.core.$loose>>>>;
|
|
29
|
+
}, z.core.$loose>;
|
|
30
30
|
declare const flyGetMachine: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
31
31
|
machineId: string;
|
|
32
32
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|