@keystrokehq/railway 0.1.0 → 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/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-plugin.cjs +8 -8
- package/dist/actions/create-plugin.cjs.map +1 -1
- package/dist/actions/create-plugin.d.cts +20 -3
- package/dist/actions/create-plugin.d.cts.map +1 -1
- package/dist/actions/create-plugin.d.mts +20 -3
- package/dist/actions/create-plugin.d.mts.map +1 -1
- package/dist/actions/create-plugin.mjs +8 -8
- package/dist/actions/create-plugin.mjs.map +1 -1
- package/dist/actions/delete-variable.cjs +1 -1
- package/dist/actions/delete-variable.cjs.map +1 -1
- package/dist/actions/delete-variable.d.cts +15 -3
- package/dist/actions/delete-variable.d.cts.map +1 -1
- package/dist/actions/delete-variable.d.mts +15 -3
- package/dist/actions/delete-variable.d.mts.map +1 -1
- package/dist/actions/delete-variable.mjs +1 -1
- package/dist/actions/delete-variable.mjs.map +1 -1
- package/dist/actions/delete-volume.cjs +1 -1
- package/dist/actions/delete-volume.cjs.map +1 -1
- package/dist/actions/delete-volume.d.cts +9 -3
- package/dist/actions/delete-volume.d.cts.map +1 -1
- package/dist/actions/delete-volume.d.mts +9 -3
- package/dist/actions/delete-volume.d.mts.map +1 -1
- package/dist/actions/delete-volume.mjs +1 -1
- package/dist/actions/delete-volume.mjs.map +1 -1
- package/dist/actions/delete-workspace.cjs +4 -4
- package/dist/actions/delete-workspace.cjs.map +1 -1
- package/dist/actions/delete-workspace.d.cts +15 -3
- package/dist/actions/delete-workspace.d.cts.map +1 -1
- package/dist/actions/delete-workspace.d.mts +15 -3
- package/dist/actions/delete-workspace.d.mts.map +1 -1
- package/dist/actions/delete-workspace.mjs +4 -4
- package/dist/actions/delete-workspace.mjs.map +1 -1
- package/dist/actions/disconnect-user-discord.cjs +1 -1
- package/dist/actions/disconnect-user-discord.cjs.map +1 -1
- package/dist/actions/disconnect-user-discord.d.cts +5 -3
- package/dist/actions/disconnect-user-discord.d.cts.map +1 -1
- package/dist/actions/disconnect-user-discord.d.mts +5 -3
- package/dist/actions/disconnect-user-discord.d.mts.map +1 -1
- package/dist/actions/disconnect-user-discord.mjs +1 -1
- package/dist/actions/disconnect-user-discord.mjs.map +1 -1
- package/dist/actions/get-deployment-logs.cjs +2 -2
- package/dist/actions/get-deployment-logs.cjs.map +1 -1
- package/dist/actions/get-deployment-logs.d.cts +15 -3
- package/dist/actions/get-deployment-logs.d.cts.map +1 -1
- package/dist/actions/get-deployment-logs.d.mts +15 -3
- package/dist/actions/get-deployment-logs.d.mts.map +1 -1
- package/dist/actions/get-deployment-logs.mjs +2 -2
- package/dist/actions/get-deployment-logs.mjs.map +1 -1
- package/dist/actions/get-environment.cjs +5 -5
- package/dist/actions/get-environment.cjs.map +1 -1
- package/dist/actions/get-environment.d.cts +23 -3
- package/dist/actions/get-environment.d.cts.map +1 -1
- package/dist/actions/get-environment.d.mts +23 -3
- package/dist/actions/get-environment.d.mts.map +1 -1
- package/dist/actions/get-environment.mjs +5 -5
- package/dist/actions/get-environment.mjs.map +1 -1
- package/dist/actions/get-git-hub-pr-info.cjs +1 -1
- package/dist/actions/get-git-hub-pr-info.cjs.map +1 -1
- package/dist/actions/get-git-hub-pr-info.d.cts +18 -3
- package/dist/actions/get-git-hub-pr-info.d.cts.map +1 -1
- package/dist/actions/get-git-hub-pr-info.d.mts +18 -3
- package/dist/actions/get-git-hub-pr-info.d.mts.map +1 -1
- package/dist/actions/get-git-hub-pr-info.mjs +1 -1
- package/dist/actions/get-git-hub-pr-info.mjs.map +1 -1
- package/dist/actions/get-user-kickback-earnings.cjs +2 -2
- package/dist/actions/get-user-kickback-earnings.cjs.map +1 -1
- package/dist/actions/get-user-kickback-earnings.d.cts +7 -3
- package/dist/actions/get-user-kickback-earnings.d.cts.map +1 -1
- package/dist/actions/get-user-kickback-earnings.d.mts +7 -3
- package/dist/actions/get-user-kickback-earnings.d.mts.map +1 -1
- package/dist/actions/get-user-kickback-earnings.mjs +2 -2
- package/dist/actions/get-user-kickback-earnings.mjs.map +1 -1
- package/dist/actions/list-api-tokens.cjs +5 -5
- package/dist/actions/list-api-tokens.cjs.map +1 -1
- package/dist/actions/list-api-tokens.d.cts +9 -3
- package/dist/actions/list-api-tokens.d.cts.map +1 -1
- package/dist/actions/list-api-tokens.d.mts +9 -3
- package/dist/actions/list-api-tokens.d.mts.map +1 -1
- package/dist/actions/list-api-tokens.mjs +5 -5
- package/dist/actions/list-api-tokens.mjs.map +1 -1
- package/dist/actions/list-environment-patches.cjs +2 -2
- package/dist/actions/list-environment-patches.cjs.map +1 -1
- package/dist/actions/list-environment-patches.d.cts +17 -3
- package/dist/actions/list-environment-patches.d.cts.map +1 -1
- package/dist/actions/list-environment-patches.d.mts +17 -3
- package/dist/actions/list-environment-patches.d.mts.map +1 -1
- package/dist/actions/list-environment-patches.mjs +2 -2
- package/dist/actions/list-environment-patches.mjs.map +1 -1
- package/dist/actions/list-git-hub-repos.cjs +5 -5
- package/dist/actions/list-git-hub-repos.cjs.map +1 -1
- package/dist/actions/list-git-hub-repos.d.cts +9 -3
- package/dist/actions/list-git-hub-repos.d.cts.map +1 -1
- package/dist/actions/list-git-hub-repos.d.mts +9 -3
- package/dist/actions/list-git-hub-repos.d.mts.map +1 -1
- package/dist/actions/list-git-hub-repos.mjs +5 -5
- package/dist/actions/list-git-hub-repos.mjs.map +1 -1
- package/dist/actions/list-git-hub-writable-scopes.cjs +1 -1
- package/dist/actions/list-git-hub-writable-scopes.cjs.map +1 -1
- package/dist/actions/list-git-hub-writable-scopes.d.cts +5 -3
- package/dist/actions/list-git-hub-writable-scopes.d.cts.map +1 -1
- package/dist/actions/list-git-hub-writable-scopes.d.mts +5 -3
- package/dist/actions/list-git-hub-writable-scopes.d.mts.map +1 -1
- package/dist/actions/list-git-hub-writable-scopes.mjs +1 -1
- package/dist/actions/list-git-hub-writable-scopes.mjs.map +1 -1
- package/dist/actions/list-integration-auths.cjs +3 -3
- package/dist/actions/list-integration-auths.cjs.map +1 -1
- package/dist/actions/list-integration-auths.d.cts +12 -3
- package/dist/actions/list-integration-auths.d.cts.map +1 -1
- package/dist/actions/list-integration-auths.d.mts +12 -3
- package/dist/actions/list-integration-auths.d.mts.map +1 -1
- package/dist/actions/list-integration-auths.mjs +3 -3
- package/dist/actions/list-integration-auths.mjs.map +1 -1
- package/dist/actions/list-notification-deliveries.cjs +3 -3
- package/dist/actions/list-notification-deliveries.cjs.map +1 -1
- package/dist/actions/list-notification-deliveries.d.cts +9 -3
- package/dist/actions/list-notification-deliveries.d.cts.map +1 -1
- package/dist/actions/list-notification-deliveries.d.mts +9 -3
- package/dist/actions/list-notification-deliveries.d.mts.map +1 -1
- package/dist/actions/list-notification-deliveries.mjs +3 -3
- package/dist/actions/list-notification-deliveries.mjs.map +1 -1
- package/dist/actions/list-trusted-domains.cjs +4 -4
- package/dist/actions/list-trusted-domains.cjs.map +1 -1
- package/dist/actions/list-trusted-domains.d.cts +13 -3
- package/dist/actions/list-trusted-domains.d.cts.map +1 -1
- package/dist/actions/list-trusted-domains.d.mts +13 -3
- package/dist/actions/list-trusted-domains.d.mts.map +1 -1
- package/dist/actions/list-trusted-domains.mjs +4 -4
- package/dist/actions/list-trusted-domains.mjs.map +1 -1
- package/dist/actions/update-project.cjs +2 -2
- package/dist/actions/update-project.cjs.map +1 -1
- package/dist/actions/update-project.d.cts +21 -3
- package/dist/actions/update-project.d.cts.map +1 -1
- package/dist/actions/update-project.d.mts +21 -3
- package/dist/actions/update-project.d.mts.map +1 -1
- package/dist/actions/update-project.mjs +2 -2
- package/dist/actions/update-project.mjs.map +1 -1
- package/dist/actions/update-service-instance.cjs +1 -1
- package/dist/actions/update-service-instance.cjs.map +1 -1
- package/dist/actions/update-service-instance.d.cts +45 -3
- package/dist/actions/update-service-instance.d.cts.map +1 -1
- package/dist/actions/update-service-instance.d.mts +45 -3
- package/dist/actions/update-service-instance.d.mts.map +1 -1
- package/dist/actions/update-service-instance.mjs +1 -1
- package/dist/actions/update-service-instance.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-user-kickback-earnings.d.ts
|
|
4
|
-
declare const RailwayGetUserKickbackEarningsInput: z.
|
|
5
|
-
declare const RailwayGetUserKickbackEarningsOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const RailwayGetUserKickbackEarningsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const RailwayGetUserKickbackEarningsOutput: z.ZodObject<{
|
|
6
|
+
user_kickback_earnings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7
|
+
total_amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
8
|
+
}, z.core.$loose>>>;
|
|
9
|
+
}, z.core.$loose>;
|
|
10
|
+
declare const railwayGetUserKickbackEarnings: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
11
|
//#endregion
|
|
8
12
|
export { railwayGetUserKickbackEarnings };
|
|
9
13
|
//# sourceMappingURL=get-user-kickback-earnings.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-kickback-earnings.d.mts","names":[],"sources":["../../src/actions/get-user-kickback-earnings.ts"],"mappings":";;;cAIa,mCAAA,
|
|
1
|
+
{"version":3,"file":"get-user-kickback-earnings.d.mts","names":[],"sources":["../../src/actions/get-user-kickback-earnings.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAInC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;cAIpC,8BAAA,gCAA8B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -2,13 +2,13 @@ import { action } from "../action.mjs";
|
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region src/actions/get-user-kickback-earnings.ts
|
|
4
4
|
const RailwayGetUserKickbackEarningsInput = z.object({}).describe("Request model for getting user kickback earnings.");
|
|
5
|
-
const RailwayGetUserKickbackEarnings_UserKickbackEarningsSchema = z.object({ total_amount: z.number().describe("The total amount of kickback earnings for the user.").nullable().optional() }).describe("User kickback earnings data.");
|
|
5
|
+
const RailwayGetUserKickbackEarnings_UserKickbackEarningsSchema = z.object({ total_amount: z.number().describe("The total amount of kickback earnings for the user.").nullable().optional() }).passthrough().describe("User kickback earnings data.");
|
|
6
6
|
const railwayGetUserKickbackEarnings = action("RAILWAY_GET_USER_KICKBACK_EARNINGS", {
|
|
7
7
|
slug: "railway-get-user-kickback-earnings",
|
|
8
8
|
name: "Get User Kickback Earnings",
|
|
9
9
|
description: "Get the total kickback earnings for the authenticated Railway user. Use this action when you need to retrieve the kickback earnings information for the authenticated user, including the total amount earned and the currency. This is a read-only operation that queries the Railway GraphQL API. Kickback earnings are rewards earned through the Railway referral program when users you refer upgrade their Railway projects.",
|
|
10
10
|
input: RailwayGetUserKickbackEarningsInput,
|
|
11
|
-
output: z.object({ user_kickback_earnings: RailwayGetUserKickbackEarnings_UserKickbackEarningsSchema.nullable().optional() }).describe("Response model for the user kickback earnings query.")
|
|
11
|
+
output: z.object({ user_kickback_earnings: RailwayGetUserKickbackEarnings_UserKickbackEarningsSchema.nullable().optional() }).passthrough().describe("Response model for the user kickback earnings query.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { railwayGetUserKickbackEarnings };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-kickback-earnings.mjs","names":[],"sources":["../../src/actions/get-user-kickback-earnings.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayGetUserKickbackEarningsInput
|
|
1
|
+
{"version":3,"file":"get-user-kickback-earnings.mjs","names":[],"sources":["../../src/actions/get-user-kickback-earnings.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayGetUserKickbackEarningsInput = z.object({}).describe(\"Request model for getting user kickback earnings.\");\nconst RailwayGetUserKickbackEarnings_UserKickbackEarningsSchema = z.object({\n total_amount: z.number().describe(\"The total amount of kickback earnings for the user.\").nullable().optional(),\n}).passthrough().describe(\"User kickback earnings data.\");\nexport const RailwayGetUserKickbackEarningsOutput = z.object({\n user_kickback_earnings: RailwayGetUserKickbackEarnings_UserKickbackEarningsSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for the user kickback earnings query.\");\n\nexport const railwayGetUserKickbackEarnings = action(\"RAILWAY_GET_USER_KICKBACK_EARNINGS\", {\n slug: \"railway-get-user-kickback-earnings\",\n name: \"Get User Kickback Earnings\",\n description: \"Get the total kickback earnings for the authenticated Railway user. Use this action when you need to retrieve the kickback earnings information for the authenticated user, including the total amount earned and the currency. This is a read-only operation that queries the Railway GraphQL API. Kickback earnings are rewards earned through the Railway referral program when users you refer upgrade their Railway projects.\",\n input: RailwayGetUserKickbackEarningsInput,\n output: RailwayGetUserKickbackEarningsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC5H,MAAM,4DAA4D,EAAE,OAAO,EACzE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AAKxD,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkD,EAAE,OAAO,EAC3D,wBAAwB,0DAA0D,SAAS,CAAC,CAAC,SAAS,EACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
|
|
@@ -3,11 +3,11 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/list-api-tokens.ts
|
|
4
4
|
const RailwayListApiTokensInput = zod.z.object({}).describe("Request parameters for listing API tokens.");
|
|
5
5
|
const RailwayListApiTokens_ApiTokenSchema = zod.z.object({
|
|
6
|
-
id: zod.z.string().describe("The unique identifier of the API token."),
|
|
7
|
-
name: zod.z.string().describe("The name of the API token."),
|
|
8
|
-
created_at: zod.z.string().describe("The timestamp when the API token was created (ISO 8601 format).")
|
|
9
|
-
}).describe("Individual API token data.");
|
|
10
|
-
const RailwayListApiTokensOutput = zod.z.object({ api_tokens: zod.z.array(RailwayListApiTokens_ApiTokenSchema).describe("List of API tokens associated with the authenticated user.").nullable().optional() }).describe("Response schema containing all API tokens for the authenticated user.");
|
|
6
|
+
id: zod.z.string().describe("The unique identifier of the API token.").nullable(),
|
|
7
|
+
name: zod.z.string().describe("The name of the API token.").nullable(),
|
|
8
|
+
created_at: zod.z.string().describe("The timestamp when the API token was created (ISO 8601 format).").nullable()
|
|
9
|
+
}).passthrough().describe("Individual API token data.");
|
|
10
|
+
const RailwayListApiTokensOutput = zod.z.object({ api_tokens: zod.z.array(RailwayListApiTokens_ApiTokenSchema).describe("List of API tokens associated with the authenticated user.").nullable().optional() }).passthrough().describe("Response schema containing all API tokens for the authenticated user.");
|
|
11
11
|
const railwayListApiTokens = require_action.action("RAILWAY_LIST_API_TOKENS", {
|
|
12
12
|
slug: "railway-list-api-tokens",
|
|
13
13
|
name: "List API Tokens",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-api-tokens.cjs","names":["z","action"],"sources":["../../src/actions/list-api-tokens.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayListApiTokensInput
|
|
1
|
+
{"version":3,"file":"list-api-tokens.cjs","names":["z","action"],"sources":["../../src/actions/list-api-tokens.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayListApiTokensInput = z.object({}).describe(\"Request parameters for listing API tokens.\");\nconst RailwayListApiTokens_ApiTokenSchema = z.object({\n id: z.string().describe(\"The unique identifier of the API token.\").nullable(),\n name: z.string().describe(\"The name of the API token.\").nullable(),\n created_at: z.string().describe(\"The timestamp when the API token was created (ISO 8601 format).\").nullable(),\n}).passthrough().describe(\"Individual API token data.\");\nexport const RailwayListApiTokensOutput = z.object({\n api_tokens: z.array(RailwayListApiTokens_ApiTokenSchema).describe(\"List of API tokens associated with the authenticated user.\").nullable().optional(),\n}).passthrough().describe(\"Response schema containing all API tokens for the authenticated user.\");\n\nexport const railwayListApiTokens = action(\"RAILWAY_LIST_API_TOKENS\", {\n slug: \"railway-list-api-tokens\",\n name: \"List API Tokens\",\n description: \"Retrieve all API tokens for the authenticated user from Railway. Use this action when you need to fetch the list of API tokens associated with the currently authenticated user. This is a read-only operation that returns token metadata including the ID, name, and creation timestamp for each token. The action queries the Railway GraphQL API and returns the complete list of tokens.\",\n input: RailwayListApiTokensInput,\n output: RailwayListApiTokensOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAC3G,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AACtD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,YAAYA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uEAAuE;AAEjG,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-api-tokens.d.ts
|
|
4
|
-
declare const RailwayListApiTokensInput: z.
|
|
5
|
-
declare const RailwayListApiTokensOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const RailwayListApiTokensInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const RailwayListApiTokensOutput: z.ZodObject<{
|
|
6
|
+
api_tokens: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
7
|
+
id: z.ZodNullable<z.ZodString>;
|
|
8
|
+
name: z.ZodNullable<z.ZodString>;
|
|
9
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
10
|
+
}, z.core.$loose>>>>;
|
|
11
|
+
}, z.core.$loose>;
|
|
12
|
+
declare const railwayListApiTokens: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { railwayListApiTokens };
|
|
9
15
|
//# sourceMappingURL=list-api-tokens.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-api-tokens.d.cts","names":[],"sources":["../../src/actions/list-api-tokens.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"list-api-tokens.d.cts","names":[],"sources":["../../src/actions/list-api-tokens.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAMzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-api-tokens.d.ts
|
|
4
|
-
declare const RailwayListApiTokensInput: z.
|
|
5
|
-
declare const RailwayListApiTokensOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const RailwayListApiTokensInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const RailwayListApiTokensOutput: z.ZodObject<{
|
|
6
|
+
api_tokens: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
7
|
+
id: z.ZodNullable<z.ZodString>;
|
|
8
|
+
name: z.ZodNullable<z.ZodString>;
|
|
9
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
10
|
+
}, z.core.$loose>>>>;
|
|
11
|
+
}, z.core.$loose>;
|
|
12
|
+
declare const railwayListApiTokens: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { railwayListApiTokens };
|
|
9
15
|
//# sourceMappingURL=list-api-tokens.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-api-tokens.d.mts","names":[],"sources":["../../src/actions/list-api-tokens.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"list-api-tokens.d.mts","names":[],"sources":["../../src/actions/list-api-tokens.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAMzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -3,16 +3,16 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/list-api-tokens.ts
|
|
4
4
|
const RailwayListApiTokensInput = z.object({}).describe("Request parameters for listing API tokens.");
|
|
5
5
|
const RailwayListApiTokens_ApiTokenSchema = z.object({
|
|
6
|
-
id: z.string().describe("The unique identifier of the API token."),
|
|
7
|
-
name: z.string().describe("The name of the API token."),
|
|
8
|
-
created_at: z.string().describe("The timestamp when the API token was created (ISO 8601 format).")
|
|
9
|
-
}).describe("Individual API token data.");
|
|
6
|
+
id: z.string().describe("The unique identifier of the API token.").nullable(),
|
|
7
|
+
name: z.string().describe("The name of the API token.").nullable(),
|
|
8
|
+
created_at: z.string().describe("The timestamp when the API token was created (ISO 8601 format).").nullable()
|
|
9
|
+
}).passthrough().describe("Individual API token data.");
|
|
10
10
|
const railwayListApiTokens = action("RAILWAY_LIST_API_TOKENS", {
|
|
11
11
|
slug: "railway-list-api-tokens",
|
|
12
12
|
name: "List API Tokens",
|
|
13
13
|
description: "Retrieve all API tokens for the authenticated user from Railway. Use this action when you need to fetch the list of API tokens associated with the currently authenticated user. This is a read-only operation that returns token metadata including the ID, name, and creation timestamp for each token. The action queries the Railway GraphQL API and returns the complete list of tokens.",
|
|
14
14
|
input: RailwayListApiTokensInput,
|
|
15
|
-
output: z.object({ api_tokens: z.array(RailwayListApiTokens_ApiTokenSchema).describe("List of API tokens associated with the authenticated user.").nullable().optional() }).describe("Response schema containing all API tokens for the authenticated user.")
|
|
15
|
+
output: z.object({ api_tokens: z.array(RailwayListApiTokens_ApiTokenSchema).describe("List of API tokens associated with the authenticated user.").nullable().optional() }).passthrough().describe("Response schema containing all API tokens for the authenticated user.")
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { railwayListApiTokens };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-api-tokens.mjs","names":[],"sources":["../../src/actions/list-api-tokens.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayListApiTokensInput
|
|
1
|
+
{"version":3,"file":"list-api-tokens.mjs","names":[],"sources":["../../src/actions/list-api-tokens.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayListApiTokensInput = z.object({}).describe(\"Request parameters for listing API tokens.\");\nconst RailwayListApiTokens_ApiTokenSchema = z.object({\n id: z.string().describe(\"The unique identifier of the API token.\").nullable(),\n name: z.string().describe(\"The name of the API token.\").nullable(),\n created_at: z.string().describe(\"The timestamp when the API token was created (ISO 8601 format).\").nullable(),\n}).passthrough().describe(\"Individual API token data.\");\nexport const RailwayListApiTokensOutput = z.object({\n api_tokens: z.array(RailwayListApiTokens_ApiTokenSchema).describe(\"List of API tokens associated with the authenticated user.\").nullable().optional(),\n}).passthrough().describe(\"Response schema containing all API tokens for the authenticated user.\");\n\nexport const railwayListApiTokens = action(\"RAILWAY_LIST_API_TOKENS\", {\n slug: \"railway-list-api-tokens\",\n name: \"List API Tokens\",\n description: \"Retrieve all API tokens for the authenticated user from Railway. Use this action when you need to fetch the list of API tokens associated with the currently authenticated user. This is a read-only operation that returns token metadata including the ID, name, and creation timestamp for each token. The action queries the Railway GraphQL API and returns the complete list of tokens.\",\n input: RailwayListApiTokensInput,\n output: RailwayListApiTokensOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAC3G,MAAM,sCAAsC,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AAKtD,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwC,EAAE,OAAO,EACjD,YAAY,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uEAOhB;AACV,CAAC"}
|
|
@@ -10,8 +10,8 @@ const RailwayListEnvironmentPatches_EnvironmentPatchSchema = zod.z.object({
|
|
|
10
10
|
id: zod.z.string().describe("The unique identifier of the patch.").nullable().optional(),
|
|
11
11
|
created_at: zod.z.string().describe("The timestamp when the patch was created (ISO 8601 format).").nullable().optional(),
|
|
12
12
|
updated_at: zod.z.string().describe("The timestamp when the patch was last updated (ISO 8601 format).").nullable().optional()
|
|
13
|
-
}).describe("A single patch entry for an environment.");
|
|
14
|
-
const RailwayListEnvironmentPatchesOutput = zod.z.object({ environment_patches: zod.z.array(RailwayListEnvironmentPatches_EnvironmentPatchSchema).describe("List of patches associated with the specified environment.").nullable().optional() }).describe("Response schema for listing environment patches.");
|
|
13
|
+
}).passthrough().describe("A single patch entry for an environment.");
|
|
14
|
+
const RailwayListEnvironmentPatchesOutput = zod.z.object({ environment_patches: zod.z.array(RailwayListEnvironmentPatches_EnvironmentPatchSchema).describe("List of patches associated with the specified environment.").nullable().optional() }).passthrough().describe("Response schema for listing environment patches.");
|
|
15
15
|
const railwayListEnvironmentPatches = require_action.action("RAILWAY_LIST_ENVIRONMENT_PATCHES", {
|
|
16
16
|
slug: "railway-list-environment-patches",
|
|
17
17
|
name: "List Environment Patches",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-environment-patches.cjs","names":["z","action"],"sources":["../../src/actions/list-environment-patches.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayListEnvironmentPatchesInput
|
|
1
|
+
{"version":3,"file":"list-environment-patches.cjs","names":["z","action"],"sources":["../../src/actions/list-environment-patches.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayListEnvironmentPatchesInput = z.object({\n after: z.string().describe(\"Cursor for pagination - return patches after this cursor.\").optional(),\n first: z.number().int().describe(\"Maximum number of patches to return (for pagination).\").optional(),\n environment_id: z.string().describe(\"The unique identifier of the environment to get patches for.\"),\n}).describe(\"Request parameters for listing environment patches.\");\nconst RailwayListEnvironmentPatches_EnvironmentPatchSchema = z.object({\n id: z.string().describe(\"The unique identifier of the patch.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp when the patch was created (ISO 8601 format).\").nullable().optional(),\n updated_at: z.string().describe(\"The timestamp when the patch was last updated (ISO 8601 format).\").nullable().optional(),\n}).passthrough().describe(\"A single patch entry for an environment.\");\nexport const RailwayListEnvironmentPatchesOutput = z.object({\n environment_patches: z.array(RailwayListEnvironmentPatches_EnvironmentPatchSchema).describe(\"List of patches associated with the specified environment.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing environment patches.\");\n\nexport const railwayListEnvironmentPatches = action(\"RAILWAY_LIST_ENVIRONMENT_PATCHES\", {\n slug: \"railway-list-environment-patches\",\n name: \"List Environment Patches\",\n description: \"Retrieve all patches for a Railway environment using the GraphQL API. Use this action when you need to fetch the list of configuration patches applied to an environment. This is useful for auditing environment history, tracking configuration changes, or reviewing past deployments to an environment. The action queries the Railway GraphQL API for all patches associated with the specified environment ID and returns their metadata including identifiers and timestamps.\",\n input: RailwayListEnvironmentPatchesInput,\n output: RailwayListEnvironmentPatchesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACjG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACnG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;AACpG,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,uDAAuDA,IAAAA,EAAE,OAAO;CACpE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,qBAAqBA,IAAAA,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAChL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-environment-patches.d.ts
|
|
4
|
-
declare const RailwayListEnvironmentPatchesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RailwayListEnvironmentPatchesInput: z.ZodObject<{
|
|
5
|
+
after: z.ZodOptional<z.ZodString>;
|
|
6
|
+
first: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
environment_id: z.ZodString;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const RailwayListEnvironmentPatchesOutput: z.ZodObject<{
|
|
10
|
+
environment_patches: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
11
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
}, z.core.$loose>>>>;
|
|
15
|
+
}, z.core.$loose>;
|
|
16
|
+
declare const railwayListEnvironmentPatches: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
|
+
environment_id: string;
|
|
18
|
+
after?: string | undefined;
|
|
19
|
+
first?: number | undefined;
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
21
|
//#endregion
|
|
8
22
|
export { railwayListEnvironmentPatches };
|
|
9
23
|
//# sourceMappingURL=list-environment-patches.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-environment-patches.d.cts","names":[],"sources":["../../src/actions/list-environment-patches.ts"],"mappings":";;;cAIa,kCAAA,
|
|
1
|
+
{"version":3,"file":"list-environment-patches.d.cts","names":[],"sources":["../../src/actions/list-environment-patches.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cAUlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;cAInC,6BAAA,gCAA6B,wBAAA"}
|
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-environment-patches.d.ts
|
|
4
|
-
declare const RailwayListEnvironmentPatchesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RailwayListEnvironmentPatchesInput: z.ZodObject<{
|
|
5
|
+
after: z.ZodOptional<z.ZodString>;
|
|
6
|
+
first: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
environment_id: z.ZodString;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const RailwayListEnvironmentPatchesOutput: z.ZodObject<{
|
|
10
|
+
environment_patches: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
11
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
}, z.core.$loose>>>>;
|
|
15
|
+
}, z.core.$loose>;
|
|
16
|
+
declare const railwayListEnvironmentPatches: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
|
+
environment_id: string;
|
|
18
|
+
after?: string | undefined;
|
|
19
|
+
first?: number | undefined;
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
21
|
//#endregion
|
|
8
22
|
export { railwayListEnvironmentPatches };
|
|
9
23
|
//# sourceMappingURL=list-environment-patches.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-environment-patches.d.mts","names":[],"sources":["../../src/actions/list-environment-patches.ts"],"mappings":";;;cAIa,kCAAA,
|
|
1
|
+
{"version":3,"file":"list-environment-patches.d.mts","names":[],"sources":["../../src/actions/list-environment-patches.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cAUlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;cAInC,6BAAA,gCAA6B,wBAAA"}
|
|
@@ -10,13 +10,13 @@ const RailwayListEnvironmentPatches_EnvironmentPatchSchema = z.object({
|
|
|
10
10
|
id: z.string().describe("The unique identifier of the patch.").nullable().optional(),
|
|
11
11
|
created_at: z.string().describe("The timestamp when the patch was created (ISO 8601 format).").nullable().optional(),
|
|
12
12
|
updated_at: z.string().describe("The timestamp when the patch was last updated (ISO 8601 format).").nullable().optional()
|
|
13
|
-
}).describe("A single patch entry for an environment.");
|
|
13
|
+
}).passthrough().describe("A single patch entry for an environment.");
|
|
14
14
|
const railwayListEnvironmentPatches = action("RAILWAY_LIST_ENVIRONMENT_PATCHES", {
|
|
15
15
|
slug: "railway-list-environment-patches",
|
|
16
16
|
name: "List Environment Patches",
|
|
17
17
|
description: "Retrieve all patches for a Railway environment using the GraphQL API. Use this action when you need to fetch the list of configuration patches applied to an environment. This is useful for auditing environment history, tracking configuration changes, or reviewing past deployments to an environment. The action queries the Railway GraphQL API for all patches associated with the specified environment ID and returns their metadata including identifiers and timestamps.",
|
|
18
18
|
input: RailwayListEnvironmentPatchesInput,
|
|
19
|
-
output: z.object({ environment_patches: z.array(RailwayListEnvironmentPatches_EnvironmentPatchSchema).describe("List of patches associated with the specified environment.").nullable().optional() }).describe("Response schema for listing environment patches.")
|
|
19
|
+
output: z.object({ environment_patches: z.array(RailwayListEnvironmentPatches_EnvironmentPatchSchema).describe("List of patches associated with the specified environment.").nullable().optional() }).passthrough().describe("Response schema for listing environment patches.")
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { railwayListEnvironmentPatches };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-environment-patches.mjs","names":[],"sources":["../../src/actions/list-environment-patches.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayListEnvironmentPatchesInput
|
|
1
|
+
{"version":3,"file":"list-environment-patches.mjs","names":[],"sources":["../../src/actions/list-environment-patches.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayListEnvironmentPatchesInput = z.object({\n after: z.string().describe(\"Cursor for pagination - return patches after this cursor.\").optional(),\n first: z.number().int().describe(\"Maximum number of patches to return (for pagination).\").optional(),\n environment_id: z.string().describe(\"The unique identifier of the environment to get patches for.\"),\n}).describe(\"Request parameters for listing environment patches.\");\nconst RailwayListEnvironmentPatches_EnvironmentPatchSchema = z.object({\n id: z.string().describe(\"The unique identifier of the patch.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp when the patch was created (ISO 8601 format).\").nullable().optional(),\n updated_at: z.string().describe(\"The timestamp when the patch was last updated (ISO 8601 format).\").nullable().optional(),\n}).passthrough().describe(\"A single patch entry for an environment.\");\nexport const RailwayListEnvironmentPatchesOutput = z.object({\n environment_patches: z.array(RailwayListEnvironmentPatches_EnvironmentPatchSchema).describe(\"List of patches associated with the specified environment.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing environment patches.\");\n\nexport const railwayListEnvironmentPatches = action(\"RAILWAY_LIST_ENVIRONMENT_PATCHES\", {\n slug: \"railway-list-environment-patches\",\n name: \"List Environment Patches\",\n description: \"Retrieve all patches for a Railway environment using the GraphQL API. Use this action when you need to fetch the list of configuration patches applied to an environment. This is useful for auditing environment history, tracking configuration changes, or reviewing past deployments to an environment. The action queries the Railway GraphQL API for all patches associated with the specified environment ID and returns their metadata including identifiers and timestamps.\",\n input: RailwayListEnvironmentPatchesInput,\n output: RailwayListEnvironmentPatchesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO;CACzD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACjG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACnG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;AACpG,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,uDAAuD,EAAE,OAAO;CACpE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAKpE,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATiD,EAAE,OAAO,EAC1D,qBAAqB,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAChL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
|
|
@@ -3,11 +3,11 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/list-git-hub-repos.ts
|
|
4
4
|
const RailwayListGitHubReposInput = zod.z.object({}).describe("Request schema for listing GitHub repositories.");
|
|
5
5
|
const RailwayListGitHubRepos_GitHubRepoSchema = zod.z.object({
|
|
6
|
-
id: zod.z.string().describe("The unique identifier of the GitHub repository in Railway."),
|
|
7
|
-
name: zod.z.string().describe("The name of the GitHub repository."),
|
|
8
|
-
owner: zod.z.string().describe("The owner or organization name of the GitHub repository.")
|
|
9
|
-
}).describe("Individual GitHub repository data.");
|
|
10
|
-
const RailwayListGitHubReposOutput = zod.z.object({ github_repos: zod.z.array(RailwayListGitHubRepos_GitHubRepoSchema).describe("List of GitHub repositories that Railway has access to.").nullable().optional() }).describe("Response schema containing GitHub repositories that Railway has access to.");
|
|
6
|
+
id: zod.z.string().describe("The unique identifier of the GitHub repository in Railway.").nullable(),
|
|
7
|
+
name: zod.z.string().describe("The name of the GitHub repository.").nullable(),
|
|
8
|
+
owner: zod.z.string().describe("The owner or organization name of the GitHub repository.").nullable()
|
|
9
|
+
}).passthrough().describe("Individual GitHub repository data.");
|
|
10
|
+
const RailwayListGitHubReposOutput = zod.z.object({ github_repos: zod.z.array(RailwayListGitHubRepos_GitHubRepoSchema).describe("List of GitHub repositories that Railway has access to.").nullable().optional() }).passthrough().describe("Response schema containing GitHub repositories that Railway has access to.");
|
|
11
11
|
const railwayListGitHubRepos = require_action.action("RAILWAY_LIST_GIT_HUB_REPOS", {
|
|
12
12
|
slug: "railway-list-git-hub-repos",
|
|
13
13
|
name: "List GitHub Repos",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-git-hub-repos.cjs","names":["z","action"],"sources":["../../src/actions/list-git-hub-repos.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayListGitHubReposInput
|
|
1
|
+
{"version":3,"file":"list-git-hub-repos.cjs","names":["z","action"],"sources":["../../src/actions/list-git-hub-repos.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayListGitHubReposInput = z.object({}).describe(\"Request schema for listing GitHub repositories.\");\nconst RailwayListGitHubRepos_GitHubRepoSchema = z.object({\n id: z.string().describe(\"The unique identifier of the GitHub repository in Railway.\").nullable(),\n name: z.string().describe(\"The name of the GitHub repository.\").nullable(),\n owner: z.string().describe(\"The owner or organization name of the GitHub repository.\").nullable(),\n}).passthrough().describe(\"Individual GitHub repository data.\");\nexport const RailwayListGitHubReposOutput = z.object({\n github_repos: z.array(RailwayListGitHubRepos_GitHubRepoSchema).describe(\"List of GitHub repositories that Railway has access to.\").nullable().optional(),\n}).passthrough().describe(\"Response schema containing GitHub repositories that Railway has access to.\");\n\nexport const railwayListGitHubRepos = action(\"RAILWAY_LIST_GIT_HUB_REPOS\", {\n slug: \"railway-list-git-hub-repos\",\n name: \"List GitHub Repos\",\n description: \"Retrieve a list of GitHub repositories that Railway has access to. Use this action when you need to fetch the list of GitHub repositories associated with the authenticated user's GitHub account through Railway. This is a read-only operation that returns the id, name, and owner for each repository. The action queries the Railway GraphQL API githubRepos endpoint and returns the complete list of accessible GitHub repositories.\",\n input: RailwayListGitHubReposInput,\n output: RailwayListGitHubReposOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAClH,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAC/F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAC9D,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,cAAcA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4EAA4E;AAEtG,MAAa,yBAAyBC,eAAAA,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-git-hub-repos.d.ts
|
|
4
|
-
declare const RailwayListGitHubReposInput: z.
|
|
5
|
-
declare const RailwayListGitHubReposOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const RailwayListGitHubReposInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const RailwayListGitHubReposOutput: z.ZodObject<{
|
|
6
|
+
github_repos: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
7
|
+
id: z.ZodNullable<z.ZodString>;
|
|
8
|
+
name: z.ZodNullable<z.ZodString>;
|
|
9
|
+
owner: z.ZodNullable<z.ZodString>;
|
|
10
|
+
}, z.core.$loose>>>>;
|
|
11
|
+
}, z.core.$loose>;
|
|
12
|
+
declare const railwayListGitHubRepos: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { railwayListGitHubRepos };
|
|
9
15
|
//# sourceMappingURL=list-git-hub-repos.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-git-hub-repos.d.cts","names":[],"sources":["../../src/actions/list-git-hub-repos.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"list-git-hub-repos.d.cts","names":[],"sources":["../../src/actions/list-git-hub-repos.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAM3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;cAI5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-git-hub-repos.d.ts
|
|
4
|
-
declare const RailwayListGitHubReposInput: z.
|
|
5
|
-
declare const RailwayListGitHubReposOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const RailwayListGitHubReposInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const RailwayListGitHubReposOutput: z.ZodObject<{
|
|
6
|
+
github_repos: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
7
|
+
id: z.ZodNullable<z.ZodString>;
|
|
8
|
+
name: z.ZodNullable<z.ZodString>;
|
|
9
|
+
owner: z.ZodNullable<z.ZodString>;
|
|
10
|
+
}, z.core.$loose>>>>;
|
|
11
|
+
}, z.core.$loose>;
|
|
12
|
+
declare const railwayListGitHubRepos: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { railwayListGitHubRepos };
|
|
9
15
|
//# sourceMappingURL=list-git-hub-repos.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-git-hub-repos.d.mts","names":[],"sources":["../../src/actions/list-git-hub-repos.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"list-git-hub-repos.d.mts","names":[],"sources":["../../src/actions/list-git-hub-repos.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAM3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;cAI5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -3,16 +3,16 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/list-git-hub-repos.ts
|
|
4
4
|
const RailwayListGitHubReposInput = z.object({}).describe("Request schema for listing GitHub repositories.");
|
|
5
5
|
const RailwayListGitHubRepos_GitHubRepoSchema = z.object({
|
|
6
|
-
id: z.string().describe("The unique identifier of the GitHub repository in Railway."),
|
|
7
|
-
name: z.string().describe("The name of the GitHub repository."),
|
|
8
|
-
owner: z.string().describe("The owner or organization name of the GitHub repository.")
|
|
9
|
-
}).describe("Individual GitHub repository data.");
|
|
6
|
+
id: z.string().describe("The unique identifier of the GitHub repository in Railway.").nullable(),
|
|
7
|
+
name: z.string().describe("The name of the GitHub repository.").nullable(),
|
|
8
|
+
owner: z.string().describe("The owner or organization name of the GitHub repository.").nullable()
|
|
9
|
+
}).passthrough().describe("Individual GitHub repository data.");
|
|
10
10
|
const railwayListGitHubRepos = action("RAILWAY_LIST_GIT_HUB_REPOS", {
|
|
11
11
|
slug: "railway-list-git-hub-repos",
|
|
12
12
|
name: "List GitHub Repos",
|
|
13
13
|
description: "Retrieve a list of GitHub repositories that Railway has access to. Use this action when you need to fetch the list of GitHub repositories associated with the authenticated user's GitHub account through Railway. This is a read-only operation that returns the id, name, and owner for each repository. The action queries the Railway GraphQL API githubRepos endpoint and returns the complete list of accessible GitHub repositories.",
|
|
14
14
|
input: RailwayListGitHubReposInput,
|
|
15
|
-
output: z.object({ github_repos: z.array(RailwayListGitHubRepos_GitHubRepoSchema).describe("List of GitHub repositories that Railway has access to.").nullable().optional() }).describe("Response schema containing GitHub repositories that Railway has access to.")
|
|
15
|
+
output: z.object({ github_repos: z.array(RailwayListGitHubRepos_GitHubRepoSchema).describe("List of GitHub repositories that Railway has access to.").nullable().optional() }).passthrough().describe("Response schema containing GitHub repositories that Railway has access to.")
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { railwayListGitHubRepos };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-git-hub-repos.mjs","names":[],"sources":["../../src/actions/list-git-hub-repos.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayListGitHubReposInput
|
|
1
|
+
{"version":3,"file":"list-git-hub-repos.mjs","names":[],"sources":["../../src/actions/list-git-hub-repos.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayListGitHubReposInput = z.object({}).describe(\"Request schema for listing GitHub repositories.\");\nconst RailwayListGitHubRepos_GitHubRepoSchema = z.object({\n id: z.string().describe(\"The unique identifier of the GitHub repository in Railway.\").nullable(),\n name: z.string().describe(\"The name of the GitHub repository.\").nullable(),\n owner: z.string().describe(\"The owner or organization name of the GitHub repository.\").nullable(),\n}).passthrough().describe(\"Individual GitHub repository data.\");\nexport const RailwayListGitHubReposOutput = z.object({\n github_repos: z.array(RailwayListGitHubRepos_GitHubRepoSchema).describe(\"List of GitHub repositories that Railway has access to.\").nullable().optional(),\n}).passthrough().describe(\"Response schema containing GitHub repositories that Railway has access to.\");\n\nexport const railwayListGitHubRepos = action(\"RAILWAY_LIST_GIT_HUB_REPOS\", {\n slug: \"railway-list-git-hub-repos\",\n name: \"List GitHub Repos\",\n description: \"Retrieve a list of GitHub repositories that Railway has access to. Use this action when you need to fetch the list of GitHub repositories associated with the authenticated user's GitHub account through Railway. This is a read-only operation that returns the id, name, and owner for each repository. The action queries the Railway GraphQL API githubRepos endpoint and returns the complete list of accessible GitHub repositories.\",\n input: RailwayListGitHubReposInput,\n output: RailwayListGitHubReposOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAClH,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAC/F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAK9D,MAAa,yBAAyB,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0C,EAAE,OAAO,EACnD,cAAc,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4EAOhB;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/list-git-hub-writable-scopes.ts
|
|
4
4
|
const RailwayListGitHubWritableScopesInput = zod.z.object({}).describe("Request schema for listing GitHub writable scopes.");
|
|
5
|
-
const RailwayListGitHubWritableScopesOutput = zod.z.object({ github_writable_scopes: zod.z.array(zod.z.string()).describe("List of GitHub scope names that the installation has access to.").nullable().optional() }).describe("Response schema containing GitHub installation scope names.");
|
|
5
|
+
const RailwayListGitHubWritableScopesOutput = zod.z.object({ github_writable_scopes: zod.z.array(zod.z.string()).describe("List of GitHub scope names that the installation has access to.").nullable().optional() }).passthrough().describe("Response schema containing GitHub installation scope names.");
|
|
6
6
|
const railwayListGitHubWritableScopes = require_action.action("RAILWAY_LIST_GIT_HUB_WRITABLE_SCOPES", {
|
|
7
7
|
slug: "railway-list-git-hub-writable-scopes",
|
|
8
8
|
name: "List GitHub Writable Scopes",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-git-hub-writable-scopes.cjs","names":["z","action"],"sources":["../../src/actions/list-git-hub-writable-scopes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayListGitHubWritableScopesInput
|
|
1
|
+
{"version":3,"file":"list-git-hub-writable-scopes.cjs","names":["z","action"],"sources":["../../src/actions/list-git-hub-writable-scopes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayListGitHubWritableScopesInput = z.object({}).describe(\"Request schema for listing GitHub writable scopes.\");\nexport const RailwayListGitHubWritableScopesOutput = z.object({\n github_writable_scopes: z.array(z.string()).describe(\"List of GitHub scope names that the installation has access to.\").nullable().optional(),\n}).passthrough().describe(\"Response schema containing GitHub installation scope names.\");\n\nexport const railwayListGitHubWritableScopes = action(\"RAILWAY_LIST_GIT_HUB_WRITABLE_SCOPES\", {\n slug: \"railway-list-git-hub-writable-scopes\",\n name: \"List GitHub Writable Scopes\",\n description: \"Retrieve the list of GitHub scopes the user has installed the installation to. Use this action when you need to fetch the list of GitHub scope names that the authenticated user has granted to the Railway GitHub application. This is a read-only operation that returns an array of GitHub permission scope strings such as 'repo', 'workflow', or 'read:user'. Note: This endpoint requires account-level authentication, not workspace/project tokens.\",\n input: RailwayListGitHubWritableScopesInput,\n output: RailwayListGitHubWritableScopesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAC9H,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,wBAAwBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAEvF,MAAa,kCAAkCC,eAAAA,OAAO,wCAAwC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-git-hub-writable-scopes.d.ts
|
|
4
|
-
declare const RailwayListGitHubWritableScopesInput: z.
|
|
5
|
-
declare const RailwayListGitHubWritableScopesOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const RailwayListGitHubWritableScopesInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const RailwayListGitHubWritableScopesOutput: z.ZodObject<{
|
|
6
|
+
github_writable_scopes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
7
|
+
}, z.core.$loose>;
|
|
8
|
+
declare const railwayListGitHubWritableScopes: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
9
|
//#endregion
|
|
8
10
|
export { railwayListGitHubWritableScopes };
|
|
9
11
|
//# sourceMappingURL=list-git-hub-writable-scopes.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-git-hub-writable-scopes.d.cts","names":[],"sources":["../../src/actions/list-git-hub-writable-scopes.ts"],"mappings":";;;cAIa,oCAAA,
|
|
1
|
+
{"version":3,"file":"list-git-hub-writable-scopes.d.cts","names":[],"sources":["../../src/actions/list-git-hub-writable-scopes.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAIrC,+BAAA,gCAA+B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-git-hub-writable-scopes.d.ts
|
|
4
|
-
declare const RailwayListGitHubWritableScopesInput: z.
|
|
5
|
-
declare const RailwayListGitHubWritableScopesOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const RailwayListGitHubWritableScopesInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const RailwayListGitHubWritableScopesOutput: z.ZodObject<{
|
|
6
|
+
github_writable_scopes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
7
|
+
}, z.core.$loose>;
|
|
8
|
+
declare const railwayListGitHubWritableScopes: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
9
|
//#endregion
|
|
8
10
|
export { railwayListGitHubWritableScopes };
|
|
9
11
|
//# sourceMappingURL=list-git-hub-writable-scopes.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-git-hub-writable-scopes.d.mts","names":[],"sources":["../../src/actions/list-git-hub-writable-scopes.ts"],"mappings":";;;cAIa,oCAAA,
|
|
1
|
+
{"version":3,"file":"list-git-hub-writable-scopes.d.mts","names":[],"sources":["../../src/actions/list-git-hub-writable-scopes.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAIrC,+BAAA,gCAA+B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -5,7 +5,7 @@ const railwayListGitHubWritableScopes = action("RAILWAY_LIST_GIT_HUB_WRITABLE_SC
|
|
|
5
5
|
name: "List GitHub Writable Scopes",
|
|
6
6
|
description: "Retrieve the list of GitHub scopes the user has installed the installation to. Use this action when you need to fetch the list of GitHub scope names that the authenticated user has granted to the Railway GitHub application. This is a read-only operation that returns an array of GitHub permission scope strings such as 'repo', 'workflow', or 'read:user'. Note: This endpoint requires account-level authentication, not workspace/project tokens.",
|
|
7
7
|
input: z.object({}).describe("Request schema for listing GitHub writable scopes."),
|
|
8
|
-
output: z.object({ github_writable_scopes: z.array(z.string()).describe("List of GitHub scope names that the installation has access to.").nullable().optional() }).describe("Response schema containing GitHub installation scope names.")
|
|
8
|
+
output: z.object({ github_writable_scopes: z.array(z.string()).describe("List of GitHub scope names that the installation has access to.").nullable().optional() }).passthrough().describe("Response schema containing GitHub installation scope names.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { railwayListGitHubWritableScopes };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-git-hub-writable-scopes.mjs","names":[],"sources":["../../src/actions/list-git-hub-writable-scopes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayListGitHubWritableScopesInput
|
|
1
|
+
{"version":3,"file":"list-git-hub-writable-scopes.mjs","names":[],"sources":["../../src/actions/list-git-hub-writable-scopes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayListGitHubWritableScopesInput = z.object({}).describe(\"Request schema for listing GitHub writable scopes.\");\nexport const RailwayListGitHubWritableScopesOutput = z.object({\n github_writable_scopes: z.array(z.string()).describe(\"List of GitHub scope names that the installation has access to.\").nullable().optional(),\n}).passthrough().describe(\"Response schema containing GitHub installation scope names.\");\n\nexport const railwayListGitHubWritableScopes = action(\"RAILWAY_LIST_GIT_HUB_WRITABLE_SCOPES\", {\n slug: \"railway-list-git-hub-writable-scopes\",\n name: \"List GitHub Writable Scopes\",\n description: \"Retrieve the list of GitHub scopes the user has installed the installation to. Use this action when you need to fetch the list of GitHub scope names that the authenticated user has granted to the Railway GitHub application. This is a read-only operation that returns an array of GitHub permission scope strings such as 'repo', 'workflow', or 'read:user'. Note: This endpoint requires account-level authentication, not workspace/project tokens.\",\n input: RailwayListGitHubWritableScopesInput,\n output: RailwayListGitHubWritableScopesOutput,\n});\n"],"mappings":";;AASA,MAAa,kCAAkC,OAAO,wCAAwC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATkD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oDASjE;CACP,QATmD,EAAE,OAAO,EAC5D,wBAAwB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAOhB;AACV,CAAC"}
|
|
@@ -3,14 +3,14 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/list-integration-auths.ts
|
|
4
4
|
const RailwayListIntegrationAuthsInput = zod.z.object({}).describe("Request parameters for listing integration auths.");
|
|
5
5
|
const RailwayListIntegrationAuths_IntegrationAuthSchema = zod.z.object({
|
|
6
|
-
id: zod.z.string().describe("The unique identifier of the integration auth."),
|
|
6
|
+
id: zod.z.string().describe("The unique identifier of the integration auth.").nullable(),
|
|
7
7
|
name: zod.z.string().describe("The name of the integration auth (may not be available).").nullable().optional(),
|
|
8
8
|
type: zod.z.string().describe("The type of the integration auth (e.g., github, gitlab, vercel).").nullable().optional(),
|
|
9
9
|
provider: zod.z.string().describe("The provider name for the integration auth.").nullable().optional(),
|
|
10
10
|
created_at: zod.z.string().describe("The timestamp when the integration auth was created (ISO 8601 format).").nullable().optional(),
|
|
11
11
|
provider_id: zod.z.string().describe("The provider ID for the integration auth.").nullable().optional()
|
|
12
|
-
}).describe("Individual integration auth data.");
|
|
13
|
-
const RailwayListIntegrationAuthsOutput = zod.z.object({ integration_auths: zod.z.array(RailwayListIntegrationAuths_IntegrationAuthSchema).describe("List of integration auths associated with the authenticated user.").nullable().optional() }).describe("Response schema containing all integration auths for the authenticated user.");
|
|
12
|
+
}).passthrough().describe("Individual integration auth data.");
|
|
13
|
+
const RailwayListIntegrationAuthsOutput = zod.z.object({ integration_auths: zod.z.array(RailwayListIntegrationAuths_IntegrationAuthSchema).describe("List of integration auths associated with the authenticated user.").nullable().optional() }).passthrough().describe("Response schema containing all integration auths for the authenticated user.");
|
|
14
14
|
const railwayListIntegrationAuths = require_action.action("RAILWAY_LIST_INTEGRATION_AUTHS", {
|
|
15
15
|
slug: "railway-list-integration-auths",
|
|
16
16
|
name: "List Integration Auths",
|