@keystrokehq/fly 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-wire-guard-peer.cjs +5 -5
- package/dist/actions/add-wire-guard-peer.cjs.map +1 -1
- package/dist/actions/add-wire-guard-peer.d.cts +6 -12
- package/dist/actions/add-wire-guard-peer.d.mts +6 -12
- package/dist/actions/add-wire-guard-peer.mjs +5 -5
- package/dist/actions/add-wire-guard-peer.mjs.map +1 -1
- package/dist/actions/check-app-name-availability.cjs +2 -2
- package/dist/actions/check-app-name-availability.cjs.map +1 -1
- package/dist/actions/check-app-name-availability.d.cts +3 -8
- package/dist/actions/check-app-name-availability.d.cts.map +1 -1
- package/dist/actions/check-app-name-availability.d.mts +3 -8
- package/dist/actions/check-app-name-availability.d.mts.map +1 -1
- 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 +2 -2
- package/dist/actions/check-jobs.cjs.map +1 -1
- package/dist/actions/check-jobs.d.cts +3 -6
- package/dist/actions/check-jobs.d.cts.map +1 -1
- package/dist/actions/check-jobs.d.mts +3 -6
- package/dist/actions/check-jobs.d.mts.map +1 -1
- package/dist/actions/check-jobs.mjs +2 -2
- package/dist/actions/check-jobs.mjs.map +1 -1
- package/dist/actions/check-user-only-token.cjs +1 -1
- package/dist/actions/check-user-only-token.cjs.map +1 -1
- package/dist/actions/check-user-only-token.d.cts +2 -6
- package/dist/actions/check-user-only-token.d.cts.map +1 -1
- package/dist/actions/check-user-only-token.d.mts +2 -6
- package/dist/actions/check-user-only-token.d.mts.map +1 -1
- package/dist/actions/check-user-only-token.mjs +1 -1
- package/dist/actions/check-user-only-token.mjs.map +1 -1
- package/dist/actions/create-check-job-run.cjs +7 -7
- package/dist/actions/create-check-job-run.cjs.map +1 -1
- package/dist/actions/create-check-job-run.d.cts +8 -18
- package/dist/actions/create-check-job-run.d.mts +8 -18
- package/dist/actions/create-check-job-run.mjs +7 -7
- package/dist/actions/create-check-job-run.mjs.map +1 -1
- package/dist/actions/create-check-job.cjs +1 -1
- package/dist/actions/create-check-job.cjs.map +1 -1
- package/dist/actions/create-check-job.d.cts +2 -10
- package/dist/actions/create-check-job.d.mts +2 -10
- package/dist/actions/create-check-job.mjs +1 -1
- 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 +2 -5
- package/dist/actions/create-delegated-wire-guard-token.d.mts +2 -5
- 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 +12 -12
- package/dist/actions/create-third-party-configuration.cjs.map +1 -1
- package/dist/actions/create-third-party-configuration.d.cts +13 -28
- package/dist/actions/create-third-party-configuration.d.mts +13 -28
- package/dist/actions/create-third-party-configuration.mjs +12 -12
- package/dist/actions/create-third-party-configuration.mjs.map +1 -1
- package/dist/actions/delete-delegated-wire-guard-token.cjs +2 -2
- package/dist/actions/delete-delegated-wire-guard-token.cjs.map +1 -1
- package/dist/actions/delete-delegated-wire-guard-token.d.cts +3 -6
- package/dist/actions/delete-delegated-wire-guard-token.d.mts +3 -6
- package/dist/actions/delete-delegated-wire-guard-token.mjs +2 -2
- package/dist/actions/delete-delegated-wire-guard-token.mjs.map +1 -1
- package/dist/actions/delete-organization.cjs +4 -4
- package/dist/actions/delete-organization.cjs.map +1 -1
- package/dist/actions/delete-organization.d.cts +5 -15
- package/dist/actions/delete-organization.d.cts.map +1 -1
- package/dist/actions/delete-organization.d.mts +5 -15
- package/dist/actions/delete-organization.d.mts.map +1 -1
- package/dist/actions/delete-organization.mjs +4 -4
- package/dist/actions/delete-organization.mjs.map +1 -1
- package/dist/actions/delete-remote-builder.cjs +4 -4
- package/dist/actions/delete-remote-builder.cjs.map +1 -1
- package/dist/actions/delete-remote-builder.d.cts +5 -11
- package/dist/actions/delete-remote-builder.d.mts +5 -11
- package/dist/actions/delete-remote-builder.mjs +4 -4
- package/dist/actions/delete-remote-builder.mjs.map +1 -1
- package/dist/actions/delete-third-party-configuration.cjs +2 -2
- package/dist/actions/delete-third-party-configuration.cjs.map +1 -1
- package/dist/actions/delete-third-party-configuration.d.cts +3 -6
- package/dist/actions/delete-third-party-configuration.d.mts +3 -6
- package/dist/actions/delete-third-party-configuration.mjs +2 -2
- package/dist/actions/delete-third-party-configuration.mjs.map +1 -1
- package/dist/actions/detach-postgres-cluster.cjs +4 -4
- package/dist/actions/detach-postgres-cluster.cjs.map +1 -1
- package/dist/actions/detach-postgres-cluster.d.cts +5 -15
- package/dist/actions/detach-postgres-cluster.d.cts.map +1 -1
- package/dist/actions/detach-postgres-cluster.d.mts +5 -15
- package/dist/actions/detach-postgres-cluster.d.mts.map +1 -1
- 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 +2 -2
- package/dist/actions/establish-ssh-key.cjs.map +1 -1
- package/dist/actions/establish-ssh-key.d.cts +3 -6
- package/dist/actions/establish-ssh-key.d.mts +3 -6
- package/dist/actions/establish-ssh-key.mjs +2 -2
- package/dist/actions/establish-ssh-key.mjs.map +1 -1
- package/dist/actions/fetch-nodes-by-ids.cjs +2 -2
- package/dist/actions/fetch-nodes-by-ids.cjs.map +1 -1
- package/dist/actions/fetch-nodes-by-ids.d.cts +3 -6
- package/dist/actions/fetch-nodes-by-ids.d.cts.map +1 -1
- package/dist/actions/fetch-nodes-by-ids.d.mts +3 -6
- package/dist/actions/fetch-nodes-by-ids.d.mts.map +1 -1
- package/dist/actions/fetch-nodes-by-ids.mjs +2 -2
- package/dist/actions/fetch-nodes-by-ids.mjs.map +1 -1
- package/dist/actions/get-add-on-provider.cjs +16 -16
- package/dist/actions/get-add-on-provider.cjs.map +1 -1
- package/dist/actions/get-add-on-provider.d.cts +17 -34
- package/dist/actions/get-add-on-provider.d.mts +17 -34
- package/dist/actions/get-add-on-provider.mjs +16 -16
- package/dist/actions/get-add-on-provider.mjs.map +1 -1
- package/dist/actions/get-add-on.cjs +16 -16
- package/dist/actions/get-add-on.cjs.map +1 -1
- package/dist/actions/get-add-on.d.cts +17 -37
- package/dist/actions/get-add-on.d.cts.map +1 -1
- package/dist/actions/get-add-on.d.mts +17 -37
- package/dist/actions/get-add-on.d.mts.map +1 -1
- package/dist/actions/get-add-on.mjs +16 -16
- package/dist/actions/get-add-on.mjs.map +1 -1
- package/dist/actions/get-app-details.cjs +9 -9
- package/dist/actions/get-app-details.cjs.map +1 -1
- package/dist/actions/get-app-details.d.cts +10 -24
- package/dist/actions/get-app-details.d.mts +10 -24
- package/dist/actions/get-app-details.mjs +9 -9
- package/dist/actions/get-app-details.mjs.map +1 -1
- package/dist/actions/get-certificate.cjs +18 -18
- package/dist/actions/get-certificate.cjs.map +1 -1
- package/dist/actions/get-certificate.d.cts +19 -45
- package/dist/actions/get-certificate.d.cts.map +1 -1
- package/dist/actions/get-certificate.d.mts +19 -45
- package/dist/actions/get-certificate.d.mts.map +1 -1
- package/dist/actions/get-certificate.mjs +18 -18
- package/dist/actions/get-certificate.mjs.map +1 -1
- package/dist/actions/get-current-token-info.cjs +8 -8
- package/dist/actions/get-current-token-info.cjs.map +1 -1
- package/dist/actions/get-current-token-info.d.cts +9 -19
- package/dist/actions/get-current-token-info.d.cts.map +1 -1
- package/dist/actions/get-current-token-info.d.mts +9 -19
- package/dist/actions/get-current-token-info.d.mts.map +1 -1
- package/dist/actions/get-current-token-info.mjs +8 -8
- package/dist/actions/get-current-token-info.mjs.map +1 -1
- package/dist/actions/get-latest-image-details.cjs +1 -1
- package/dist/actions/get-latest-image-details.cjs.map +1 -1
- package/dist/actions/get-latest-image-details.d.cts +2 -8
- package/dist/actions/get-latest-image-details.d.mts +2 -8
- 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 +2 -4
- package/dist/actions/get-latest-image-tag.d.mts +2 -4
- 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 +14 -14
- package/dist/actions/get-machine.cjs.map +1 -1
- package/dist/actions/get-machine.d.cts +15 -37
- package/dist/actions/get-machine.d.cts.map +1 -1
- package/dist/actions/get-machine.d.mts +15 -37
- package/dist/actions/get-machine.d.mts.map +1 -1
- package/dist/actions/get-machine.mjs +14 -14
- package/dist/actions/get-machine.mjs.map +1 -1
- package/dist/actions/get-nearest-region.cjs +2 -2
- package/dist/actions/get-nearest-region.cjs.map +1 -1
- package/dist/actions/get-nearest-region.d.cts +3 -6
- package/dist/actions/get-nearest-region.d.cts.map +1 -1
- package/dist/actions/get-nearest-region.d.mts +3 -6
- package/dist/actions/get-nearest-region.d.mts.map +1 -1
- package/dist/actions/get-nearest-region.mjs +2 -2
- package/dist/actions/get-nearest-region.mjs.map +1 -1
- package/dist/actions/get-node.cjs +5 -5
- package/dist/actions/get-node.cjs.map +1 -1
- package/dist/actions/get-node.d.cts +6 -21
- package/dist/actions/get-node.d.mts +6 -21
- 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 +5 -15
- package/dist/actions/get-organization.d.cts.map +1 -1
- package/dist/actions/get-organization.d.mts +5 -15
- package/dist/actions/get-organization.d.mts.map +1 -1
- package/dist/actions/get-organization.mjs +4 -4
- package/dist/actions/get-organization.mjs.map +1 -1
- package/dist/actions/get-personal-organization.d.cts +1 -14
- package/dist/actions/get-personal-organization.d.cts.map +1 -1
- package/dist/actions/get-personal-organization.d.mts +1 -14
- package/dist/actions/get-personal-organization.d.mts.map +1 -1
- package/dist/actions/get-placements.d.cts +1 -7
- package/dist/actions/get-placements.d.mts +1 -7
- package/dist/actions/get-platform-info.cjs +11 -11
- package/dist/actions/get-platform-info.cjs.map +1 -1
- package/dist/actions/get-platform-info.d.cts +12 -27
- package/dist/actions/get-platform-info.d.cts.map +1 -1
- package/dist/actions/get-platform-info.d.mts +12 -27
- package/dist/actions/get-platform-info.d.mts.map +1 -1
- package/dist/actions/get-platform-info.mjs +11 -11
- package/dist/actions/get-platform-info.mjs.map +1 -1
- package/dist/actions/get-products.cjs +6 -6
- package/dist/actions/get-products.cjs.map +1 -1
- package/dist/actions/get-products.d.cts +7 -17
- package/dist/actions/get-products.d.cts.map +1 -1
- package/dist/actions/get-products.d.mts +7 -17
- package/dist/actions/get-products.d.mts.map +1 -1
- package/dist/actions/get-products.mjs +6 -6
- package/dist/actions/get-products.mjs.map +1 -1
- package/dist/actions/get-regions.cjs +11 -11
- package/dist/actions/get-regions.cjs.map +1 -1
- package/dist/actions/get-regions.d.cts +12 -25
- package/dist/actions/get-regions.d.mts +12 -25
- package/dist/actions/get-regions.mjs +11 -11
- package/dist/actions/get-regions.mjs.map +1 -1
- package/dist/actions/get-viewer-info.cjs +4 -4
- package/dist/actions/get-viewer-info.cjs.map +1 -1
- package/dist/actions/get-viewer-info.d.cts +5 -14
- package/dist/actions/get-viewer-info.d.mts +5 -14
- package/dist/actions/get-viewer-info.mjs +4 -4
- package/dist/actions/get-viewer-info.mjs.map +1 -1
- package/dist/actions/issue-certificate.cjs +2 -2
- package/dist/actions/issue-certificate.cjs.map +1 -1
- package/dist/actions/issue-certificate.d.cts +3 -6
- package/dist/actions/issue-certificate.d.mts +3 -6
- package/dist/actions/issue-certificate.mjs +2 -2
- package/dist/actions/issue-certificate.mjs.map +1 -1
- package/dist/actions/list-add-on-plans.cjs +21 -21
- package/dist/actions/list-add-on-plans.cjs.map +1 -1
- package/dist/actions/list-add-on-plans.d.cts +32 -71
- package/dist/actions/list-add-on-plans.d.mts +32 -71
- package/dist/actions/list-add-on-plans.mjs +21 -21
- package/dist/actions/list-add-on-plans.mjs.map +1 -1
- package/dist/actions/list-add-ons.cjs +23 -23
- package/dist/actions/list-add-ons.cjs.map +1 -1
- package/dist/actions/list-add-ons.d.cts +3 -160
- package/dist/actions/list-add-ons.d.cts.map +1 -1
- package/dist/actions/list-add-ons.d.mts +3 -160
- package/dist/actions/list-add-ons.d.mts.map +1 -1
- package/dist/actions/list-add-ons.mjs +23 -23
- package/dist/actions/list-add-ons.mjs.map +1 -1
- package/dist/actions/list-apps-graphql.cjs +20 -20
- package/dist/actions/list-apps-graphql.cjs.map +1 -1
- package/dist/actions/list-apps-graphql.d.cts +21 -51
- package/dist/actions/list-apps-graphql.d.cts.map +1 -1
- package/dist/actions/list-apps-graphql.d.mts +21 -51
- package/dist/actions/list-apps-graphql.d.mts.map +1 -1
- package/dist/actions/list-apps-graphql.mjs +20 -20
- package/dist/actions/list-apps-graphql.mjs.map +1 -1
- package/dist/actions/list-apps.cjs +13 -13
- package/dist/actions/list-apps.cjs.map +1 -1
- package/dist/actions/list-apps.d.cts +14 -30
- package/dist/actions/list-apps.d.mts +14 -30
- package/dist/actions/list-apps.mjs +13 -13
- package/dist/actions/list-apps.mjs.map +1 -1
- package/dist/actions/list-check-locations.cjs +2 -2
- package/dist/actions/list-check-locations.cjs.map +1 -1
- package/dist/actions/list-check-locations.d.cts +3 -13
- package/dist/actions/list-check-locations.d.cts.map +1 -1
- package/dist/actions/list-check-locations.d.mts +3 -13
- package/dist/actions/list-check-locations.d.mts.map +1 -1
- package/dist/actions/list-check-locations.mjs +2 -2
- package/dist/actions/list-check-locations.mjs.map +1 -1
- package/dist/actions/list-machines.cjs +1 -1
- package/dist/actions/list-machines.cjs.map +1 -1
- package/dist/actions/list-machines.d.cts +2 -5
- package/dist/actions/list-machines.d.cts.map +1 -1
- package/dist/actions/list-machines.d.mts +2 -5
- package/dist/actions/list-machines.d.mts.map +1 -1
- package/dist/actions/list-machines.mjs +1 -1
- package/dist/actions/list-machines.mjs.map +1 -1
- package/dist/actions/list-org-machines.cjs +14 -14
- package/dist/actions/list-org-machines.cjs.map +1 -1
- package/dist/actions/list-org-machines.d.cts +15 -31
- package/dist/actions/list-org-machines.d.mts +15 -31
- package/dist/actions/list-org-machines.mjs +14 -14
- package/dist/actions/list-org-machines.mjs.map +1 -1
- package/dist/actions/remove-wire-guard-peer.cjs +3 -3
- package/dist/actions/remove-wire-guard-peer.cjs.map +1 -1
- package/dist/actions/remove-wire-guard-peer.d.cts +4 -9
- package/dist/actions/remove-wire-guard-peer.d.mts +4 -9
- package/dist/actions/remove-wire-guard-peer.mjs +3 -3
- package/dist/actions/remove-wire-guard-peer.mjs.map +1 -1
- package/dist/actions/set-apps-v2-default-on.cjs +5 -5
- package/dist/actions/set-apps-v2-default-on.cjs.map +1 -1
- package/dist/actions/set-apps-v2-default-on.d.cts +6 -14
- package/dist/actions/set-apps-v2-default-on.d.mts +6 -14
- package/dist/actions/set-apps-v2-default-on.mjs +5 -5
- package/dist/actions/set-apps-v2-default-on.mjs.map +1 -1
- package/dist/actions/update-third-party-configuration.cjs +12 -12
- package/dist/actions/update-third-party-configuration.cjs.map +1 -1
- package/dist/actions/update-third-party-configuration.d.cts +13 -28
- package/dist/actions/update-third-party-configuration.d.mts +13 -28
- package/dist/actions/update-third-party-configuration.mjs +12 -12
- package/dist/actions/update-third-party-configuration.mjs.map +1 -1
- package/dist/actions/validate-config.cjs +5 -5
- package/dist/actions/validate-config.cjs.map +1 -1
- package/dist/actions/validate-config.d.cts +6 -13
- package/dist/actions/validate-config.d.cts.map +1 -1
- package/dist/actions/validate-config.d.mts +6 -13
- package/dist/actions/validate-config.d.mts.map +1 -1
- package/dist/actions/validate-config.mjs +5 -5
- package/dist/actions/validate-config.mjs.map +1 -1
- package/dist/actions/validate-wire-guard-peers.cjs +1 -1
- package/dist/actions/validate-wire-guard-peers.cjs.map +1 -1
- package/dist/actions/validate-wire-guard-peers.d.cts +2 -4
- package/dist/actions/validate-wire-guard-peers.d.mts +2 -4
- 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
|
@@ -30,36 +30,36 @@ declare const FlyUpdateThirdPartyConfigurationInput: z.ZodObject<{
|
|
|
30
30
|
thirdPartyConfigurationId: z.ZodString;
|
|
31
31
|
}, z.core.$strip>;
|
|
32
32
|
declare const FlyUpdateThirdPartyConfigurationOutput: z.ZodObject<{
|
|
33
|
-
clientMutationId: z.
|
|
34
|
-
thirdPartyConfiguration: z.
|
|
35
|
-
id: z.
|
|
36
|
-
name: z.
|
|
37
|
-
location: z.
|
|
38
|
-
uiexLevel: z.
|
|
33
|
+
clientMutationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
thirdPartyConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
35
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
+
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
+
uiexLevel: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
39
39
|
DISABLED: "DISABLED";
|
|
40
40
|
OPT_IN: "OPT_IN";
|
|
41
41
|
MEMBER_OPT_OUT: "MEMBER_OPT_OUT";
|
|
42
42
|
ADMIN_OPT_OUT: "ADMIN_OPT_OUT";
|
|
43
43
|
REQUIRED: "REQUIRED";
|
|
44
44
|
}>>>;
|
|
45
|
-
customLevel: z.
|
|
45
|
+
customLevel: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
46
46
|
DISABLED: "DISABLED";
|
|
47
47
|
OPT_IN: "OPT_IN";
|
|
48
48
|
MEMBER_OPT_OUT: "MEMBER_OPT_OUT";
|
|
49
49
|
ADMIN_OPT_OUT: "ADMIN_OPT_OUT";
|
|
50
50
|
REQUIRED: "REQUIRED";
|
|
51
51
|
}>>>;
|
|
52
|
-
flyctlLevel: z.
|
|
52
|
+
flyctlLevel: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
53
53
|
DISABLED: "DISABLED";
|
|
54
54
|
OPT_IN: "OPT_IN";
|
|
55
55
|
MEMBER_OPT_OUT: "MEMBER_OPT_OUT";
|
|
56
56
|
ADMIN_OPT_OUT: "ADMIN_OPT_OUT";
|
|
57
57
|
REQUIRED: "REQUIRED";
|
|
58
58
|
}>>>;
|
|
59
|
-
organization: z.
|
|
60
|
-
id: z.
|
|
61
|
-
name: z.
|
|
62
|
-
slug: z.
|
|
59
|
+
organization: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
60
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
61
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
62
|
+
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63
63
|
}, z.core.$strip>>>;
|
|
64
64
|
}, z.core.$strip>>>;
|
|
65
65
|
}, z.core.$strip>;
|
|
@@ -72,22 +72,7 @@ declare const flyUpdateThirdPartyConfiguration: import("@keystrokehq/action").Wo
|
|
|
72
72
|
customLevel?: "DISABLED" | "OPT_IN" | "MEMBER_OPT_OUT" | "ADMIN_OPT_OUT" | "REQUIRED" | undefined;
|
|
73
73
|
flyctlLevel?: "DISABLED" | "OPT_IN" | "MEMBER_OPT_OUT" | "ADMIN_OPT_OUT" | "REQUIRED" | undefined;
|
|
74
74
|
clientMutationId?: string | undefined;
|
|
75
|
-
},
|
|
76
|
-
clientMutationId?: string | undefined;
|
|
77
|
-
thirdPartyConfiguration?: {
|
|
78
|
-
id?: string | undefined;
|
|
79
|
-
name?: string | undefined;
|
|
80
|
-
location?: string | undefined;
|
|
81
|
-
uiexLevel?: "DISABLED" | "OPT_IN" | "MEMBER_OPT_OUT" | "ADMIN_OPT_OUT" | "REQUIRED" | undefined;
|
|
82
|
-
customLevel?: "DISABLED" | "OPT_IN" | "MEMBER_OPT_OUT" | "ADMIN_OPT_OUT" | "REQUIRED" | undefined;
|
|
83
|
-
flyctlLevel?: "DISABLED" | "OPT_IN" | "MEMBER_OPT_OUT" | "ADMIN_OPT_OUT" | "REQUIRED" | undefined;
|
|
84
|
-
organization?: {
|
|
85
|
-
id?: string | undefined;
|
|
86
|
-
name?: string | undefined;
|
|
87
|
-
slug?: string | undefined;
|
|
88
|
-
} | undefined;
|
|
89
|
-
} | undefined;
|
|
90
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
75
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
91
76
|
//#endregion
|
|
92
77
|
export { flyUpdateThirdPartyConfiguration };
|
|
93
78
|
//# sourceMappingURL=update-third-party-configuration.d.mts.map
|
|
@@ -37,18 +37,18 @@ const FlyUpdateThirdPartyConfiguration_ThirdPartyConfigurationLevelSchema = z.en
|
|
|
37
37
|
"REQUIRED"
|
|
38
38
|
]).describe("Authorization level for third-party caveat configuration.");
|
|
39
39
|
const FlyUpdateThirdPartyConfiguration_OrganizationSchema = z.object({
|
|
40
|
-
id: z.
|
|
41
|
-
name: z.
|
|
42
|
-
slug: z.
|
|
40
|
+
id: z.string().describe("Organization ID").nullable().optional(),
|
|
41
|
+
name: z.string().describe("Organization name").nullable().optional(),
|
|
42
|
+
slug: z.string().describe("Organization slug").nullable().optional()
|
|
43
43
|
}).describe("Organization details.");
|
|
44
44
|
const FlyUpdateThirdPartyConfiguration_ThirdPartyConfigurationSchema = z.object({
|
|
45
|
-
id: z.
|
|
46
|
-
name: z.
|
|
47
|
-
location: z.
|
|
48
|
-
uiexLevel:
|
|
49
|
-
customLevel:
|
|
50
|
-
flyctlLevel:
|
|
51
|
-
organization:
|
|
45
|
+
id: z.string().describe("Unique identifier for the configuration").nullable().optional(),
|
|
46
|
+
name: z.string().describe("Friendly name for this configuration").nullable().optional(),
|
|
47
|
+
location: z.string().describe("Location URL of the third-party service capable of discharging").nullable().optional(),
|
|
48
|
+
uiexLevel: FlyUpdateThirdPartyConfiguration_ThirdPartyConfigurationLevelSchema.nullable().optional(),
|
|
49
|
+
customLevel: FlyUpdateThirdPartyConfiguration_ThirdPartyConfigurationLevelSchema.nullable().optional(),
|
|
50
|
+
flyctlLevel: FlyUpdateThirdPartyConfiguration_ThirdPartyConfigurationLevelSchema.nullable().optional(),
|
|
51
|
+
organization: FlyUpdateThirdPartyConfiguration_OrganizationSchema.nullable().optional()
|
|
52
52
|
}).describe("Third-party service configuration for discharging macaroon caveats.");
|
|
53
53
|
const flyUpdateThirdPartyConfiguration = action("FLY_UPDATE_THIRD_PARTY_CONFIGURATION", {
|
|
54
54
|
slug: "fly-update-third-party-configuration",
|
|
@@ -56,8 +56,8 @@ const flyUpdateThirdPartyConfiguration = action("FLY_UPDATE_THIRD_PARTY_CONFIGUR
|
|
|
56
56
|
description: "Tool to update an existing third-party service configuration for discharging macaroon caveats. Use when you need to modify settings of external authorization services for Fly.io token validation.",
|
|
57
57
|
input: FlyUpdateThirdPartyConfigurationInput,
|
|
58
58
|
output: z.object({
|
|
59
|
-
clientMutationId: z.
|
|
60
|
-
thirdPartyConfiguration:
|
|
59
|
+
clientMutationId: z.string().describe("The client mutation identifier if provided in request").nullable().optional(),
|
|
60
|
+
thirdPartyConfiguration: FlyUpdateThirdPartyConfiguration_ThirdPartyConfigurationSchema.nullable().optional()
|
|
61
61
|
}).describe("Response containing the updated third-party configuration.")
|
|
62
62
|
});
|
|
63
63
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-third-party-configuration.mjs","names":[],"sources":["../../src/actions/update-third-party-configuration.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyUpdateThirdPartyConfigurationInput = z.object({\n name: z.string().describe(\"Friendly name for this configuration\").optional(),\n caveats: z.string().describe(\"Base64 messagepack encoded macaroon caveats for additional restrictions\").optional(),\n location: z.string().describe(\"Location URL of the third-party service capable of discharging\").optional(),\n uiexLevel: z.enum([\"DISABLED\", \"OPT_IN\", \"MEMBER_OPT_OUT\", \"ADMIN_OPT_OUT\", \"REQUIRED\"]).describe(\"Authorization level for third-party caveat configuration.\").optional(),\n customLevel: z.enum([\"DISABLED\", \"OPT_IN\", \"MEMBER_OPT_OUT\", \"ADMIN_OPT_OUT\", \"REQUIRED\"]).describe(\"Authorization level for third-party caveat configuration.\").optional(),\n flyctlLevel: z.enum([\"DISABLED\", \"OPT_IN\", \"MEMBER_OPT_OUT\", \"ADMIN_OPT_OUT\", \"REQUIRED\"]).describe(\"Authorization level for third-party caveat configuration.\").optional(),\n clientMutationId: z.string().describe(\"A unique identifier for the client performing the mutation\").optional(),\n thirdPartyConfigurationId: z.string().describe(\"The node ID of the configuration to update\"),\n}).describe(\"Request parameters for updating a third-party service configuration.\");\nconst FlyUpdateThirdPartyConfiguration_ThirdPartyConfigurationLevelSchema = z.enum([\"DISABLED\", \"OPT_IN\", \"MEMBER_OPT_OUT\", \"ADMIN_OPT_OUT\", \"REQUIRED\"]).describe(\"Authorization level for third-party caveat configuration.\");\nconst FlyUpdateThirdPartyConfiguration_OrganizationSchema = z.object({\n id: z.
|
|
1
|
+
{"version":3,"file":"update-third-party-configuration.mjs","names":[],"sources":["../../src/actions/update-third-party-configuration.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyUpdateThirdPartyConfigurationInput = z.object({\n name: z.string().describe(\"Friendly name for this configuration\").optional(),\n caveats: z.string().describe(\"Base64 messagepack encoded macaroon caveats for additional restrictions\").optional(),\n location: z.string().describe(\"Location URL of the third-party service capable of discharging\").optional(),\n uiexLevel: z.enum([\"DISABLED\", \"OPT_IN\", \"MEMBER_OPT_OUT\", \"ADMIN_OPT_OUT\", \"REQUIRED\"]).describe(\"Authorization level for third-party caveat configuration.\").optional(),\n customLevel: z.enum([\"DISABLED\", \"OPT_IN\", \"MEMBER_OPT_OUT\", \"ADMIN_OPT_OUT\", \"REQUIRED\"]).describe(\"Authorization level for third-party caveat configuration.\").optional(),\n flyctlLevel: z.enum([\"DISABLED\", \"OPT_IN\", \"MEMBER_OPT_OUT\", \"ADMIN_OPT_OUT\", \"REQUIRED\"]).describe(\"Authorization level for third-party caveat configuration.\").optional(),\n clientMutationId: z.string().describe(\"A unique identifier for the client performing the mutation\").optional(),\n thirdPartyConfigurationId: z.string().describe(\"The node ID of the configuration to update\"),\n}).describe(\"Request parameters for updating a third-party service configuration.\");\nconst FlyUpdateThirdPartyConfiguration_ThirdPartyConfigurationLevelSchema = z.enum([\"DISABLED\", \"OPT_IN\", \"MEMBER_OPT_OUT\", \"ADMIN_OPT_OUT\", \"REQUIRED\"]).describe(\"Authorization level for third-party caveat configuration.\");\nconst FlyUpdateThirdPartyConfiguration_OrganizationSchema = z.object({\n id: z.string().describe(\"Organization ID\").nullable().optional(),\n name: z.string().describe(\"Organization name\").nullable().optional(),\n slug: z.string().describe(\"Organization slug\").nullable().optional(),\n}).describe(\"Organization details.\");\nconst FlyUpdateThirdPartyConfiguration_ThirdPartyConfigurationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the configuration\").nullable().optional(),\n name: z.string().describe(\"Friendly name for this configuration\").nullable().optional(),\n location: z.string().describe(\"Location URL of the third-party service capable of discharging\").nullable().optional(),\n uiexLevel: FlyUpdateThirdPartyConfiguration_ThirdPartyConfigurationLevelSchema.nullable().optional(),\n customLevel: FlyUpdateThirdPartyConfiguration_ThirdPartyConfigurationLevelSchema.nullable().optional(),\n flyctlLevel: FlyUpdateThirdPartyConfiguration_ThirdPartyConfigurationLevelSchema.nullable().optional(),\n organization: FlyUpdateThirdPartyConfiguration_OrganizationSchema.nullable().optional(),\n}).describe(\"Third-party service configuration for discharging macaroon caveats.\");\nexport const FlyUpdateThirdPartyConfigurationOutput = z.object({\n clientMutationId: z.string().describe(\"The client mutation identifier if provided in request\").nullable().optional(),\n thirdPartyConfiguration: FlyUpdateThirdPartyConfiguration_ThirdPartyConfigurationSchema.nullable().optional(),\n}).describe(\"Response containing the updated third-party configuration.\");\n\nexport const flyUpdateThirdPartyConfiguration = action(\"FLY_UPDATE_THIRD_PARTY_CONFIGURATION\", {\n slug: \"fly-update-third-party-configuration\",\n name: \"Update Third-Party Configuration\",\n description: \"Tool to update an existing third-party service configuration for discharging macaroon caveats. Use when you need to modify settings of external authorization services for Fly.io token validation.\",\n input: FlyUpdateThirdPartyConfigurationInput,\n output: FlyUpdateThirdPartyConfigurationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwC,EAAE,OAAO;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACjH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACzG,WAAW,EAAE,KAAK;EAAC;EAAY;EAAU;EAAkB;EAAiB;CAAU,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACxK,aAAa,EAAE,KAAK;EAAC;EAAY;EAAU;EAAkB;EAAiB;CAAU,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC1K,aAAa,EAAE,KAAK;EAAC;EAAY;EAAU;EAAkB;EAAiB;CAAU,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC1K,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAC7G,2BAA2B,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;AAC7F,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,sEAAsE,EAAE,KAAK;CAAC;CAAY;CAAU;CAAkB;CAAiB;AAAU,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAC9N,MAAM,sDAAsD,EAAE,OAAO;CACnE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrE,CAAC,CAAC,CAAC,SAAS,uBAAuB;AACnC,MAAM,iEAAiE,EAAE,OAAO;CAC9E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,WAAW,oEAAoE,SAAS,CAAC,CAAC,SAAS;CACnG,aAAa,oEAAoE,SAAS,CAAC,CAAC,SAAS;CACrG,aAAa,oEAAoE,SAAS,CAAC,CAAC,SAAS;CACrG,cAAc,oDAAoD,SAAS,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,SAAS,qEAAqE;AAMjF,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVoD,EAAE,OAAO;EAC7D,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,yBAAyB,+DAA+D,SAAS,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,SAAS,4DAOF;AACV,CAAC"}
|
|
@@ -3,12 +3,12 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/validate-config.ts
|
|
4
4
|
const FlyValidateConfigInput = zod.z.object({ definition: zod.z.record(zod.z.string(), zod.z.unknown()).describe("A JSON object representing the fly.toml configuration to validate. Can be an empty object {} or contain fly.toml configuration fields like app, build, env, services, etc.") }).describe("Request model for validating a Fly.io app configuration.");
|
|
5
5
|
const FlyValidateConfig_ValidateConfigResultSchema = zod.z.object({
|
|
6
|
-
valid: zod.z.
|
|
7
|
-
errors: zod.z.
|
|
8
|
-
services: zod.z.
|
|
9
|
-
definition: zod.z.
|
|
6
|
+
valid: zod.z.boolean().describe("Whether the configuration is valid").nullable().optional(),
|
|
7
|
+
errors: zod.z.array(zod.z.string()).describe("List of validation error messages if the configuration is invalid").nullable().optional(),
|
|
8
|
+
services: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Parsed services from the configuration").nullable().optional(),
|
|
9
|
+
definition: zod.z.record(zod.z.string(), zod.z.unknown()).describe("The validated configuration definition").nullable().optional()
|
|
10
10
|
}).describe("Result of the configuration validation.");
|
|
11
|
-
const FlyValidateConfigOutput = zod.z.object({ validateConfig:
|
|
11
|
+
const FlyValidateConfigOutput = zod.z.object({ validateConfig: FlyValidateConfig_ValidateConfigResultSchema.nullable().optional() }).describe("Response model for ValidateConfig.");
|
|
12
12
|
const flyValidateConfig = require_action.action("FLY_VALIDATE_CONFIG", {
|
|
13
13
|
slug: "fly-validate-config",
|
|
14
14
|
name: "Validate Config",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validate-config.cjs","names":["z","action"],"sources":["../../src/actions/validate-config.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyValidateConfigInput = z.object({\n definition: z.record(z.string(), z.unknown()).describe(\"A JSON object representing the fly.toml configuration to validate. Can be an empty object {} or contain fly.toml configuration fields like app, build, env, services, etc.\"),\n}).describe(\"Request model for validating a Fly.io app configuration.\");\nconst FlyValidateConfig_ValidateConfigResultSchema = z.object({\n valid: z.
|
|
1
|
+
{"version":3,"file":"validate-config.cjs","names":["z","action"],"sources":["../../src/actions/validate-config.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyValidateConfigInput = z.object({\n definition: z.record(z.string(), z.unknown()).describe(\"A JSON object representing the fly.toml configuration to validate. Can be an empty object {} or contain fly.toml configuration fields like app, build, env, services, etc.\"),\n}).describe(\"Request model for validating a Fly.io app configuration.\");\nconst FlyValidateConfig_ValidateConfigResultSchema = z.object({\n valid: z.boolean().describe(\"Whether the configuration is valid\").nullable().optional(),\n errors: z.array(z.string()).describe(\"List of validation error messages if the configuration is invalid\").nullable().optional(),\n services: z.array(z.record(z.string(), z.unknown())).describe(\"Parsed services from the configuration\").nullable().optional(),\n definition: z.record(z.string(), z.unknown()).describe(\"The validated configuration definition\").nullable().optional(),\n}).describe(\"Result of the configuration validation.\");\nexport const FlyValidateConfigOutput = z.object({\n validateConfig: FlyValidateConfig_ValidateConfigResultSchema.nullable().optional(),\n}).describe(\"Response model for ValidateConfig.\");\n\nexport const flyValidateConfig = action(\"FLY_VALIDATE_CONFIG\", {\n slug: \"fly-validate-config\",\n name: \"Validate Config\",\n description: \"Tool to validate a Fly.io app configuration. Use when you need to check if a fly.toml configuration is valid before deploying or updating an app.\",\n input: FlyValidateConfigInput,\n output: FlyValidateConfigOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4KAA4K,EACrO,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,gBAAgB,6CAA6C,SAAS,CAAC,CAAC,SAAS,EACnF,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAEhD,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -5,23 +5,16 @@ declare const FlyValidateConfigInput: z.ZodObject<{
|
|
|
5
5
|
definition: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const FlyValidateConfigOutput: z.ZodObject<{
|
|
8
|
-
validateConfig: z.
|
|
9
|
-
valid: z.
|
|
10
|
-
errors: z.
|
|
11
|
-
services: z.
|
|
12
|
-
definition: z.
|
|
8
|
+
validateConfig: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9
|
+
valid: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10
|
+
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
11
|
+
services: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
12
|
+
definition: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
13
13
|
}, z.core.$strip>>>;
|
|
14
14
|
}, z.core.$strip>;
|
|
15
15
|
declare const flyValidateConfig: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
definition: Record<string, unknown>;
|
|
17
|
-
},
|
|
18
|
-
validateConfig?: {
|
|
19
|
-
valid?: boolean | undefined;
|
|
20
|
-
errors?: string[] | undefined;
|
|
21
|
-
services?: Record<string, unknown>[] | undefined;
|
|
22
|
-
definition?: Record<string, unknown> | undefined;
|
|
23
|
-
} | undefined;
|
|
24
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
17
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
25
18
|
//#endregion
|
|
26
19
|
export { flyValidateConfig };
|
|
27
20
|
//# sourceMappingURL=validate-config.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validate-config.d.cts","names":[],"sources":["../../src/actions/validate-config.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAStB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
|
|
1
|
+
{"version":3,"file":"validate-config.d.cts","names":[],"sources":["../../src/actions/validate-config.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAStB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA;cAM5B,MAAA;AAAA"}
|
|
@@ -5,23 +5,16 @@ declare const FlyValidateConfigInput: z.ZodObject<{
|
|
|
5
5
|
definition: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const FlyValidateConfigOutput: z.ZodObject<{
|
|
8
|
-
validateConfig: z.
|
|
9
|
-
valid: z.
|
|
10
|
-
errors: z.
|
|
11
|
-
services: z.
|
|
12
|
-
definition: z.
|
|
8
|
+
validateConfig: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9
|
+
valid: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10
|
+
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
11
|
+
services: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
12
|
+
definition: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
13
13
|
}, z.core.$strip>>>;
|
|
14
14
|
}, z.core.$strip>;
|
|
15
15
|
declare const flyValidateConfig: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
definition: Record<string, unknown>;
|
|
17
|
-
},
|
|
18
|
-
validateConfig?: {
|
|
19
|
-
valid?: boolean | undefined;
|
|
20
|
-
errors?: string[] | undefined;
|
|
21
|
-
services?: Record<string, unknown>[] | undefined;
|
|
22
|
-
definition?: Record<string, unknown> | undefined;
|
|
23
|
-
} | undefined;
|
|
24
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
17
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
25
18
|
//#endregion
|
|
26
19
|
export { flyValidateConfig };
|
|
27
20
|
//# sourceMappingURL=validate-config.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validate-config.d.mts","names":[],"sources":["../../src/actions/validate-config.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAStB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
|
|
1
|
+
{"version":3,"file":"validate-config.d.mts","names":[],"sources":["../../src/actions/validate-config.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAStB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA;cAM5B,MAAA;AAAA"}
|
|
@@ -3,17 +3,17 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/validate-config.ts
|
|
4
4
|
const FlyValidateConfigInput = z.object({ definition: z.record(z.string(), z.unknown()).describe("A JSON object representing the fly.toml configuration to validate. Can be an empty object {} or contain fly.toml configuration fields like app, build, env, services, etc.") }).describe("Request model for validating a Fly.io app configuration.");
|
|
5
5
|
const FlyValidateConfig_ValidateConfigResultSchema = z.object({
|
|
6
|
-
valid: z.
|
|
7
|
-
errors: z.
|
|
8
|
-
services: z.
|
|
9
|
-
definition: z.
|
|
6
|
+
valid: z.boolean().describe("Whether the configuration is valid").nullable().optional(),
|
|
7
|
+
errors: z.array(z.string()).describe("List of validation error messages if the configuration is invalid").nullable().optional(),
|
|
8
|
+
services: z.array(z.record(z.string(), z.unknown())).describe("Parsed services from the configuration").nullable().optional(),
|
|
9
|
+
definition: z.record(z.string(), z.unknown()).describe("The validated configuration definition").nullable().optional()
|
|
10
10
|
}).describe("Result of the configuration validation.");
|
|
11
11
|
const flyValidateConfig = action("FLY_VALIDATE_CONFIG", {
|
|
12
12
|
slug: "fly-validate-config",
|
|
13
13
|
name: "Validate Config",
|
|
14
14
|
description: "Tool to validate a Fly.io app configuration. Use when you need to check if a fly.toml configuration is valid before deploying or updating an app.",
|
|
15
15
|
input: FlyValidateConfigInput,
|
|
16
|
-
output: z.object({ validateConfig:
|
|
16
|
+
output: z.object({ validateConfig: FlyValidateConfig_ValidateConfigResultSchema.nullable().optional() }).describe("Response model for ValidateConfig.")
|
|
17
17
|
});
|
|
18
18
|
//#endregion
|
|
19
19
|
export { flyValidateConfig };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validate-config.mjs","names":[],"sources":["../../src/actions/validate-config.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyValidateConfigInput = z.object({\n definition: z.record(z.string(), z.unknown()).describe(\"A JSON object representing the fly.toml configuration to validate. Can be an empty object {} or contain fly.toml configuration fields like app, build, env, services, etc.\"),\n}).describe(\"Request model for validating a Fly.io app configuration.\");\nconst FlyValidateConfig_ValidateConfigResultSchema = z.object({\n valid: z.
|
|
1
|
+
{"version":3,"file":"validate-config.mjs","names":[],"sources":["../../src/actions/validate-config.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyValidateConfigInput = z.object({\n definition: z.record(z.string(), z.unknown()).describe(\"A JSON object representing the fly.toml configuration to validate. Can be an empty object {} or contain fly.toml configuration fields like app, build, env, services, etc.\"),\n}).describe(\"Request model for validating a Fly.io app configuration.\");\nconst FlyValidateConfig_ValidateConfigResultSchema = z.object({\n valid: z.boolean().describe(\"Whether the configuration is valid\").nullable().optional(),\n errors: z.array(z.string()).describe(\"List of validation error messages if the configuration is invalid\").nullable().optional(),\n services: z.array(z.record(z.string(), z.unknown())).describe(\"Parsed services from the configuration\").nullable().optional(),\n definition: z.record(z.string(), z.unknown()).describe(\"The validated configuration definition\").nullable().optional(),\n}).describe(\"Result of the configuration validation.\");\nexport const FlyValidateConfigOutput = z.object({\n validateConfig: FlyValidateConfig_ValidateConfigResultSchema.nullable().optional(),\n}).describe(\"Response model for ValidateConfig.\");\n\nexport const flyValidateConfig = action(\"FLY_VALIDATE_CONFIG\", {\n slug: \"fly-validate-config\",\n name: \"Validate Config\",\n description: \"Tool to validate a Fly.io app configuration. Use when you need to check if a fly.toml configuration is valid before deploying or updating an app.\",\n input: FlyValidateConfigInput,\n output: FlyValidateConfigOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO,EAC7C,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4KAA4K,EACrO,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,+CAA+C,EAAE,OAAO;CAC5D,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAKrD,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqC,EAAE,OAAO,EAC9C,gBAAgB,6CAA6C,SAAS,CAAC,CAAC,SAAS,EACnF,CAAC,CAAC,CAAC,SAAS,oCAOF;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/validate-wire-guard-peers.ts
|
|
4
4
|
const FlyValidateWireGuardPeersInput = zod.z.object({ peer_ips: zod.z.array(zod.z.string()).describe("Array of WireGuard peer IP addresses to validate. These are typically IPv6 addresses in the fdaa: range used by Fly.io's internal network.") }).describe("Request model for validating WireGuard peer IP addresses.");
|
|
5
|
-
const FlyValidateWireGuardPeersOutput = zod.z.object({ invalid_peer_ips: zod.z.
|
|
5
|
+
const FlyValidateWireGuardPeersOutput = zod.z.object({ invalid_peer_ips: zod.z.array(zod.z.string()).describe("Array of peer IP addresses that are invalid or not found in the WireGuard network").nullable().optional() }).describe("Response model for WireGuard peer validation.");
|
|
6
6
|
const flyValidateWireGuardPeers = require_action.action("FLY_VALIDATE_WIRE_GUARD_PEERS", {
|
|
7
7
|
slug: "fly-validate-wire-guard-peers",
|
|
8
8
|
name: "Validate WireGuard Peers",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validate-wire-guard-peers.cjs","names":["z","action"],"sources":["../../src/actions/validate-wire-guard-peers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyValidateWireGuardPeersInput = z.object({\n peer_ips: z.array(z.string()).describe(\"Array of WireGuard peer IP addresses to validate. These are typically IPv6 addresses in the fdaa: range used by Fly.io's internal network.\"),\n}).describe(\"Request model for validating WireGuard peer IP addresses.\");\nexport const FlyValidateWireGuardPeersOutput = z.object({\n invalid_peer_ips: z.
|
|
1
|
+
{"version":3,"file":"validate-wire-guard-peers.cjs","names":["z","action"],"sources":["../../src/actions/validate-wire-guard-peers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyValidateWireGuardPeersInput = z.object({\n peer_ips: z.array(z.string()).describe(\"Array of WireGuard peer IP addresses to validate. These are typically IPv6 addresses in the fdaa: range used by Fly.io's internal network.\"),\n}).describe(\"Request model for validating WireGuard peer IP addresses.\");\nexport const FlyValidateWireGuardPeersOutput = z.object({\n invalid_peer_ips: z.array(z.string()).describe(\"Array of peer IP addresses that are invalid or not found in the WireGuard network\").nullable().optional(),\n}).describe(\"Response model for WireGuard peer validation.\");\n\nexport const flyValidateWireGuardPeers = action(\"FLY_VALIDATE_WIRE_GUARD_PEERS\", {\n slug: \"fly-validate-wire-guard-peers\",\n name: \"Validate WireGuard Peers\",\n description: \"Tool to validate WireGuard peer IP addresses in a Fly.io organization. Use when you need to verify which peer IPs are valid or invalid before establishing VPN connections.\",\n input: FlyValidateWireGuardPeersInput,\n output: FlyValidateWireGuardPeersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4IAA4I,EACrL,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC1J,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAE3D,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -5,13 +5,11 @@ declare const FlyValidateWireGuardPeersInput: z.ZodObject<{
|
|
|
5
5
|
peer_ips: z.ZodArray<z.ZodString>;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const FlyValidateWireGuardPeersOutput: z.ZodObject<{
|
|
8
|
-
invalid_peer_ips: z.
|
|
8
|
+
invalid_peer_ips: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
9
9
|
}, z.core.$strip>;
|
|
10
10
|
declare const flyValidateWireGuardPeers: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
11
|
peer_ips: string[];
|
|
12
|
-
},
|
|
13
|
-
invalid_peer_ips?: string[] | undefined;
|
|
14
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
13
|
//#endregion
|
|
16
14
|
export { flyValidateWireGuardPeers };
|
|
17
15
|
//# sourceMappingURL=validate-wire-guard-peers.d.cts.map
|
|
@@ -5,13 +5,11 @@ declare const FlyValidateWireGuardPeersInput: z.ZodObject<{
|
|
|
5
5
|
peer_ips: z.ZodArray<z.ZodString>;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const FlyValidateWireGuardPeersOutput: z.ZodObject<{
|
|
8
|
-
invalid_peer_ips: z.
|
|
8
|
+
invalid_peer_ips: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
9
9
|
}, z.core.$strip>;
|
|
10
10
|
declare const flyValidateWireGuardPeers: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
11
|
peer_ips: string[];
|
|
12
|
-
},
|
|
13
|
-
invalid_peer_ips?: string[] | undefined;
|
|
14
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
13
|
//#endregion
|
|
16
14
|
export { flyValidateWireGuardPeers };
|
|
17
15
|
//# sourceMappingURL=validate-wire-guard-peers.d.mts.map
|
|
@@ -5,7 +5,7 @@ const flyValidateWireGuardPeers = action("FLY_VALIDATE_WIRE_GUARD_PEERS", {
|
|
|
5
5
|
name: "Validate WireGuard Peers",
|
|
6
6
|
description: "Tool to validate WireGuard peer IP addresses in a Fly.io organization. Use when you need to verify which peer IPs are valid or invalid before establishing VPN connections.",
|
|
7
7
|
input: z.object({ peer_ips: z.array(z.string()).describe("Array of WireGuard peer IP addresses to validate. These are typically IPv6 addresses in the fdaa: range used by Fly.io's internal network.") }).describe("Request model for validating WireGuard peer IP addresses."),
|
|
8
|
-
output: z.object({ invalid_peer_ips: z.
|
|
8
|
+
output: z.object({ invalid_peer_ips: z.array(z.string()).describe("Array of peer IP addresses that are invalid or not found in the WireGuard network").nullable().optional() }).describe("Response model for WireGuard peer validation.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { flyValidateWireGuardPeers };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validate-wire-guard-peers.mjs","names":[],"sources":["../../src/actions/validate-wire-guard-peers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyValidateWireGuardPeersInput = z.object({\n peer_ips: z.array(z.string()).describe(\"Array of WireGuard peer IP addresses to validate. These are typically IPv6 addresses in the fdaa: range used by Fly.io's internal network.\"),\n}).describe(\"Request model for validating WireGuard peer IP addresses.\");\nexport const FlyValidateWireGuardPeersOutput = z.object({\n invalid_peer_ips: z.
|
|
1
|
+
{"version":3,"file":"validate-wire-guard-peers.mjs","names":[],"sources":["../../src/actions/validate-wire-guard-peers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyValidateWireGuardPeersInput = z.object({\n peer_ips: z.array(z.string()).describe(\"Array of WireGuard peer IP addresses to validate. These are typically IPv6 addresses in the fdaa: range used by Fly.io's internal network.\"),\n}).describe(\"Request model for validating WireGuard peer IP addresses.\");\nexport const FlyValidateWireGuardPeersOutput = z.object({\n invalid_peer_ips: z.array(z.string()).describe(\"Array of peer IP addresses that are invalid or not found in the WireGuard network\").nullable().optional(),\n}).describe(\"Response model for WireGuard peer validation.\");\n\nexport const flyValidateWireGuardPeers = action(\"FLY_VALIDATE_WIRE_GUARD_PEERS\", {\n slug: \"fly-validate-wire-guard-peers\",\n name: \"Validate WireGuard Peers\",\n description: \"Tool to validate WireGuard peer IP addresses in a Fly.io organization. Use when you need to verify which peer IPs are valid or invalid before establishing VPN connections.\",\n input: FlyValidateWireGuardPeersInput,\n output: FlyValidateWireGuardPeersOutput,\n});\n"],"mappings":";;AAWA,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX4C,EAAE,OAAO,EACrD,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4IAA4I,EACrL,CAAC,CAAC,CAAC,SAAS,2DASH;CACP,QAT6C,EAAE,OAAO,EACtD,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC1J,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
|