@keystrokehq/railway 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/dist/actions/create-plugin.cjs +5 -5
  2. package/dist/actions/create-plugin.cjs.map +1 -1
  3. package/dist/actions/create-plugin.d.cts +5 -5
  4. package/dist/actions/create-plugin.d.mts +5 -5
  5. package/dist/actions/create-plugin.mjs +5 -5
  6. package/dist/actions/create-plugin.mjs.map +1 -1
  7. package/dist/actions/delete-variable.cjs +1 -1
  8. package/dist/actions/delete-variable.cjs.map +1 -1
  9. package/dist/actions/delete-variable.d.cts +1 -1
  10. package/dist/actions/delete-variable.d.mts +1 -1
  11. package/dist/actions/delete-variable.mjs +1 -1
  12. package/dist/actions/delete-variable.mjs.map +1 -1
  13. package/dist/actions/delete-volume.cjs +1 -1
  14. package/dist/actions/delete-volume.cjs.map +1 -1
  15. package/dist/actions/delete-volume.d.cts +1 -1
  16. package/dist/actions/delete-volume.d.mts +1 -1
  17. package/dist/actions/delete-volume.mjs +1 -1
  18. package/dist/actions/delete-volume.mjs.map +1 -1
  19. package/dist/actions/delete-workspace.cjs +3 -3
  20. package/dist/actions/delete-workspace.cjs.map +1 -1
  21. package/dist/actions/delete-workspace.d.cts +3 -3
  22. package/dist/actions/delete-workspace.d.mts +3 -3
  23. package/dist/actions/delete-workspace.mjs +3 -3
  24. package/dist/actions/delete-workspace.mjs.map +1 -1
  25. package/dist/actions/disconnect-user-discord.cjs +1 -1
  26. package/dist/actions/disconnect-user-discord.cjs.map +1 -1
  27. package/dist/actions/disconnect-user-discord.d.cts +1 -1
  28. package/dist/actions/disconnect-user-discord.d.mts +1 -1
  29. package/dist/actions/disconnect-user-discord.mjs +1 -1
  30. package/dist/actions/disconnect-user-discord.mjs.map +1 -1
  31. package/dist/actions/get-deployment-logs.cjs +2 -2
  32. package/dist/actions/get-deployment-logs.cjs.map +1 -1
  33. package/dist/actions/get-deployment-logs.d.cts +2 -2
  34. package/dist/actions/get-deployment-logs.d.mts +2 -2
  35. package/dist/actions/get-deployment-logs.mjs +2 -2
  36. package/dist/actions/get-deployment-logs.mjs.map +1 -1
  37. package/dist/actions/get-environment.cjs +5 -5
  38. package/dist/actions/get-environment.cjs.map +1 -1
  39. package/dist/actions/get-environment.d.cts +5 -5
  40. package/dist/actions/get-environment.d.mts +5 -5
  41. package/dist/actions/get-environment.mjs +5 -5
  42. package/dist/actions/get-environment.mjs.map +1 -1
  43. package/dist/actions/get-git-hub-pr-info.cjs +1 -1
  44. package/dist/actions/get-git-hub-pr-info.cjs.map +1 -1
  45. package/dist/actions/get-git-hub-pr-info.d.cts +1 -1
  46. package/dist/actions/get-git-hub-pr-info.d.mts +1 -1
  47. package/dist/actions/get-git-hub-pr-info.mjs +1 -1
  48. package/dist/actions/get-git-hub-pr-info.mjs.map +1 -1
  49. package/dist/actions/get-user-kickback-earnings.cjs +2 -2
  50. package/dist/actions/get-user-kickback-earnings.cjs.map +1 -1
  51. package/dist/actions/get-user-kickback-earnings.d.cts +2 -2
  52. package/dist/actions/get-user-kickback-earnings.d.mts +2 -2
  53. package/dist/actions/get-user-kickback-earnings.mjs +2 -2
  54. package/dist/actions/get-user-kickback-earnings.mjs.map +1 -1
  55. package/dist/actions/list-api-tokens.cjs +2 -2
  56. package/dist/actions/list-api-tokens.cjs.map +1 -1
  57. package/dist/actions/list-api-tokens.d.cts +2 -2
  58. package/dist/actions/list-api-tokens.d.mts +2 -2
  59. package/dist/actions/list-api-tokens.mjs +2 -2
  60. package/dist/actions/list-api-tokens.mjs.map +1 -1
  61. package/dist/actions/list-environment-patches.cjs +2 -2
  62. package/dist/actions/list-environment-patches.cjs.map +1 -1
  63. package/dist/actions/list-environment-patches.d.cts +2 -2
  64. package/dist/actions/list-environment-patches.d.mts +2 -2
  65. package/dist/actions/list-environment-patches.mjs +2 -2
  66. package/dist/actions/list-environment-patches.mjs.map +1 -1
  67. package/dist/actions/list-git-hub-repos.cjs +2 -2
  68. package/dist/actions/list-git-hub-repos.cjs.map +1 -1
  69. package/dist/actions/list-git-hub-repos.d.cts +2 -2
  70. package/dist/actions/list-git-hub-repos.d.mts +2 -2
  71. package/dist/actions/list-git-hub-repos.mjs +2 -2
  72. package/dist/actions/list-git-hub-repos.mjs.map +1 -1
  73. package/dist/actions/list-git-hub-writable-scopes.cjs +1 -1
  74. package/dist/actions/list-git-hub-writable-scopes.cjs.map +1 -1
  75. package/dist/actions/list-git-hub-writable-scopes.d.cts +1 -1
  76. package/dist/actions/list-git-hub-writable-scopes.d.mts +1 -1
  77. package/dist/actions/list-git-hub-writable-scopes.mjs +1 -1
  78. package/dist/actions/list-git-hub-writable-scopes.mjs.map +1 -1
  79. package/dist/actions/list-integration-auths.cjs +2 -2
  80. package/dist/actions/list-integration-auths.cjs.map +1 -1
  81. package/dist/actions/list-integration-auths.d.cts +2 -2
  82. package/dist/actions/list-integration-auths.d.mts +2 -2
  83. package/dist/actions/list-integration-auths.mjs +2 -2
  84. package/dist/actions/list-integration-auths.mjs.map +1 -1
  85. package/dist/actions/list-notification-deliveries.cjs +2 -2
  86. package/dist/actions/list-notification-deliveries.cjs.map +1 -1
  87. package/dist/actions/list-notification-deliveries.d.cts +2 -2
  88. package/dist/actions/list-notification-deliveries.d.mts +2 -2
  89. package/dist/actions/list-notification-deliveries.mjs +2 -2
  90. package/dist/actions/list-notification-deliveries.mjs.map +1 -1
  91. package/dist/actions/list-trusted-domains.cjs +2 -2
  92. package/dist/actions/list-trusted-domains.cjs.map +1 -1
  93. package/dist/actions/list-trusted-domains.d.cts +2 -2
  94. package/dist/actions/list-trusted-domains.d.mts +2 -2
  95. package/dist/actions/list-trusted-domains.mjs +2 -2
  96. package/dist/actions/list-trusted-domains.mjs.map +1 -1
  97. package/dist/actions/update-project.cjs +1 -1
  98. package/dist/actions/update-project.cjs.map +1 -1
  99. package/dist/actions/update-project.d.cts +1 -1
  100. package/dist/actions/update-project.d.mts +1 -1
  101. package/dist/actions/update-project.mjs +1 -1
  102. package/dist/actions/update-project.mjs.map +1 -1
  103. package/dist/actions/update-service-instance.cjs +1 -1
  104. package/dist/actions/update-service-instance.cjs.map +1 -1
  105. package/dist/actions/update-service-instance.d.cts +1 -1
  106. package/dist/actions/update-service-instance.d.mts +1 -1
  107. package/dist/actions/update-service-instance.mjs +1 -1
  108. package/dist/actions/update-service-instance.mjs.map +1 -1
  109. package/package.json +1 -1
@@ -5,20 +5,20 @@ const RailwayGetEnvironmentInput = zod.z.object({ id: zod.z.string().describe("T
5
5
  const RailwayGetEnvironment_LatestDeploymentSchema = zod.z.object({
6
6
  id: zod.z.string().describe("The unique identifier of the latest deployment.").nullable().optional(),
7
7
  status: zod.z.string().describe("The status of the latest deployment (e.g., 'SUCCESS', 'FAILURE', 'BUILDING').").nullable().optional()
8
- }).describe("Latest deployment information for a service instance.");
8
+ }).passthrough().describe("Latest deployment information for a service instance.");
9
9
  const RailwayGetEnvironment_ServiceInstanceNodeSchema = zod.z.object({
10
10
  id: zod.z.string().describe("The unique identifier of the service instance.").nullable().optional(),
11
11
  service_name: zod.z.string().describe("The name of the service.").nullable().optional(),
12
12
  latest_deployment: RailwayGetEnvironment_LatestDeploymentSchema.nullable().optional()
13
- }).describe("Service instance node within the environment.");
14
- const RailwayGetEnvironment_ServiceInstanceEdgeSchema = zod.z.object({ node: RailwayGetEnvironment_ServiceInstanceNodeSchema.nullable().optional() }).describe("Edge containing a service instance node.");
15
- const RailwayGetEnvironment_ServiceInstancesConnectionSchema = zod.z.object({ edges: zod.z.array(RailwayGetEnvironment_ServiceInstanceEdgeSchema).describe("List of service instance edges.").nullable().optional() }).describe("Connection for service instances in the environment.");
13
+ }).passthrough().describe("Service instance node within the environment.");
14
+ const RailwayGetEnvironment_ServiceInstanceEdgeSchema = zod.z.object({ node: RailwayGetEnvironment_ServiceInstanceNodeSchema.nullable().optional() }).passthrough().describe("Edge containing a service instance node.");
15
+ const RailwayGetEnvironment_ServiceInstancesConnectionSchema = zod.z.object({ edges: zod.z.array(RailwayGetEnvironment_ServiceInstanceEdgeSchema).describe("List of service instance edges.").nullable().optional() }).passthrough().describe("Connection for service instances in the environment.");
16
16
  const RailwayGetEnvironmentOutput = zod.z.object({
17
17
  id: zod.z.string().describe("The unique identifier of the environment.").nullable().optional(),
18
18
  name: zod.z.string().describe("The name of the environment.").nullable().optional(),
19
19
  created_at: zod.z.string().describe("Timestamp when the environment was created.").nullable().optional(),
20
20
  service_instances: RailwayGetEnvironment_ServiceInstancesConnectionSchema.nullable().optional()
21
- }).describe("Response schema for the environment query.");
21
+ }).passthrough().describe("Response schema for the environment query.");
22
22
  const railwayGetEnvironment = require_action.action("RAILWAY_GET_ENVIRONMENT", {
23
23
  slug: "railway-get-environment",
24
24
  name: "Get Environment",
@@ -1 +1 @@
1
- {"version":3,"file":"get-environment.cjs","names":["z","action"],"sources":["../../src/actions/get-environment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayGetEnvironmentInput = z.object({\n id: z.string().describe(\"The unique identifier of the environment to retrieve. Example: 'abc123-def4-5678-ghij'\"),\n}).describe(\"Request schema for getting environment details.\");\nconst RailwayGetEnvironment_LatestDeploymentSchema = z.object({\n id: z.string().describe(\"The unique identifier of the latest deployment.\").nullable().optional(),\n status: z.string().describe(\"The status of the latest deployment (e.g., 'SUCCESS', 'FAILURE', 'BUILDING').\").nullable().optional(),\n}).describe(\"Latest deployment information for a service instance.\");\nconst RailwayGetEnvironment_ServiceInstanceNodeSchema = z.object({\n id: z.string().describe(\"The unique identifier of the service instance.\").nullable().optional(),\n service_name: z.string().describe(\"The name of the service.\").nullable().optional(),\n latest_deployment: RailwayGetEnvironment_LatestDeploymentSchema.nullable().optional(),\n}).describe(\"Service instance node within the environment.\");\nconst RailwayGetEnvironment_ServiceInstanceEdgeSchema = z.object({\n node: RailwayGetEnvironment_ServiceInstanceNodeSchema.nullable().optional(),\n}).describe(\"Edge containing a service instance node.\");\nconst RailwayGetEnvironment_ServiceInstancesConnectionSchema = z.object({\n edges: z.array(RailwayGetEnvironment_ServiceInstanceEdgeSchema).describe(\"List of service instance edges.\").nullable().optional(),\n}).describe(\"Connection for service instances in the environment.\");\nexport const RailwayGetEnvironmentOutput = z.object({\n id: z.string().describe(\"The unique identifier of the environment.\").nullable().optional(),\n name: z.string().describe(\"The name of the environment.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the environment was created.\").nullable().optional(),\n service_instances: RailwayGetEnvironment_ServiceInstancesConnectionSchema.nullable().optional(),\n}).describe(\"Response schema for the environment query.\");\n\nexport const railwayGetEnvironment = action(\"RAILWAY_GET_ENVIRONMENT\", {\n slug: \"railway-get-environment\",\n name: \"Get Environment\",\n description: \"Get details of a specific Railway environment by its ID, including service instances and deployment information. Use this action when you need to retrieve detailed information about an environment, such as its name, creation timestamp, and the service instances deployed within it, along with their latest deployment statuses. This is a read-only action that queries the Railway GraphQL API.\",\n input: RailwayGetEnvironmentInput,\n output: RailwayGetEnvironmentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,EAClH,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,mBAAmB,6CAA6C,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,kDAAkDA,IAAAA,EAAE,OAAO,EAC/D,MAAM,gDAAgD,SAAS,CAAC,CAAC,SAAS,EAC5E,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,yDAAyDA,IAAAA,EAAE,OAAO,EACtE,OAAOA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClI,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,mBAAmB,uDAAuD,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-environment.cjs","names":["z","action"],"sources":["../../src/actions/get-environment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayGetEnvironmentInput = z.object({\n id: z.string().describe(\"The unique identifier of the environment to retrieve. Example: 'abc123-def4-5678-ghij'\"),\n}).describe(\"Request schema for getting environment details.\");\nconst RailwayGetEnvironment_LatestDeploymentSchema = z.object({\n id: z.string().describe(\"The unique identifier of the latest deployment.\").nullable().optional(),\n status: z.string().describe(\"The status of the latest deployment (e.g., 'SUCCESS', 'FAILURE', 'BUILDING').\").nullable().optional(),\n}).passthrough().describe(\"Latest deployment information for a service instance.\");\nconst RailwayGetEnvironment_ServiceInstanceNodeSchema = z.object({\n id: z.string().describe(\"The unique identifier of the service instance.\").nullable().optional(),\n service_name: z.string().describe(\"The name of the service.\").nullable().optional(),\n latest_deployment: RailwayGetEnvironment_LatestDeploymentSchema.nullable().optional(),\n}).passthrough().describe(\"Service instance node within the environment.\");\nconst RailwayGetEnvironment_ServiceInstanceEdgeSchema = z.object({\n node: RailwayGetEnvironment_ServiceInstanceNodeSchema.nullable().optional(),\n}).passthrough().describe(\"Edge containing a service instance node.\");\nconst RailwayGetEnvironment_ServiceInstancesConnectionSchema = z.object({\n edges: z.array(RailwayGetEnvironment_ServiceInstanceEdgeSchema).describe(\"List of service instance edges.\").nullable().optional(),\n}).passthrough().describe(\"Connection for service instances in the environment.\");\nexport const RailwayGetEnvironmentOutput = z.object({\n id: z.string().describe(\"The unique identifier of the environment.\").nullable().optional(),\n name: z.string().describe(\"The name of the environment.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the environment was created.\").nullable().optional(),\n service_instances: RailwayGetEnvironment_ServiceInstancesConnectionSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for the environment query.\");\n\nexport const railwayGetEnvironment = action(\"RAILWAY_GET_ENVIRONMENT\", {\n slug: \"railway-get-environment\",\n name: \"Get Environment\",\n description: \"Get details of a specific Railway environment by its ID, including service instances and deployment information. Use this action when you need to retrieve detailed information about an environment, such as its name, creation timestamp, and the service instances deployed within it, along with their latest deployment statuses. This is a read-only action that queries the Railway GraphQL API.\",\n input: RailwayGetEnvironmentInput,\n output: RailwayGetEnvironmentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,EAClH,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AACjF,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,mBAAmB,6CAA6C,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAM,kDAAkDA,IAAAA,EAAE,OAAO,EAC/D,MAAM,gDAAgD,SAAS,CAAC,CAAC,SAAS,EAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAM,yDAAyDA,IAAAA,EAAE,OAAO,EACtE,OAAOA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,mBAAmB,uDAAuD,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -16,11 +16,11 @@ declare const RailwayGetEnvironmentOutput: z.ZodObject<{
16
16
  latest_deployment: z.ZodOptional<z.ZodNullable<z.ZodObject<{
17
17
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
18
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
- }, z.core.$strip>>>;
20
- }, z.core.$strip>>>;
21
- }, z.core.$strip>>>>;
22
- }, z.core.$strip>>>;
23
- }, z.core.$strip>;
19
+ }, z.core.$loose>>>;
20
+ }, z.core.$loose>>>;
21
+ }, z.core.$loose>>>>;
22
+ }, z.core.$loose>>>;
23
+ }, z.core.$loose>;
24
24
  declare const railwayGetEnvironment: import("@keystrokehq/action").WorkflowActionDefinition<{
25
25
  id: string;
26
26
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -16,11 +16,11 @@ declare const RailwayGetEnvironmentOutput: z.ZodObject<{
16
16
  latest_deployment: z.ZodOptional<z.ZodNullable<z.ZodObject<{
17
17
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
18
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
- }, z.core.$strip>>>;
20
- }, z.core.$strip>>>;
21
- }, z.core.$strip>>>>;
22
- }, z.core.$strip>>>;
23
- }, z.core.$strip>;
19
+ }, z.core.$loose>>>;
20
+ }, z.core.$loose>>>;
21
+ }, z.core.$loose>>>>;
22
+ }, z.core.$loose>>>;
23
+ }, z.core.$loose>;
24
24
  declare const railwayGetEnvironment: import("@keystrokehq/action").WorkflowActionDefinition<{
25
25
  id: string;
26
26
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -5,14 +5,14 @@ const RailwayGetEnvironmentInput = z.object({ id: z.string().describe("The uniqu
5
5
  const RailwayGetEnvironment_LatestDeploymentSchema = z.object({
6
6
  id: z.string().describe("The unique identifier of the latest deployment.").nullable().optional(),
7
7
  status: z.string().describe("The status of the latest deployment (e.g., 'SUCCESS', 'FAILURE', 'BUILDING').").nullable().optional()
8
- }).describe("Latest deployment information for a service instance.");
8
+ }).passthrough().describe("Latest deployment information for a service instance.");
9
9
  const RailwayGetEnvironment_ServiceInstanceNodeSchema = z.object({
10
10
  id: z.string().describe("The unique identifier of the service instance.").nullable().optional(),
11
11
  service_name: z.string().describe("The name of the service.").nullable().optional(),
12
12
  latest_deployment: RailwayGetEnvironment_LatestDeploymentSchema.nullable().optional()
13
- }).describe("Service instance node within the environment.");
14
- const RailwayGetEnvironment_ServiceInstanceEdgeSchema = z.object({ node: RailwayGetEnvironment_ServiceInstanceNodeSchema.nullable().optional() }).describe("Edge containing a service instance node.");
15
- const RailwayGetEnvironment_ServiceInstancesConnectionSchema = z.object({ edges: z.array(RailwayGetEnvironment_ServiceInstanceEdgeSchema).describe("List of service instance edges.").nullable().optional() }).describe("Connection for service instances in the environment.");
13
+ }).passthrough().describe("Service instance node within the environment.");
14
+ const RailwayGetEnvironment_ServiceInstanceEdgeSchema = z.object({ node: RailwayGetEnvironment_ServiceInstanceNodeSchema.nullable().optional() }).passthrough().describe("Edge containing a service instance node.");
15
+ const RailwayGetEnvironment_ServiceInstancesConnectionSchema = z.object({ edges: z.array(RailwayGetEnvironment_ServiceInstanceEdgeSchema).describe("List of service instance edges.").nullable().optional() }).passthrough().describe("Connection for service instances in the environment.");
16
16
  const railwayGetEnvironment = action("RAILWAY_GET_ENVIRONMENT", {
17
17
  slug: "railway-get-environment",
18
18
  name: "Get Environment",
@@ -23,7 +23,7 @@ const railwayGetEnvironment = action("RAILWAY_GET_ENVIRONMENT", {
23
23
  name: z.string().describe("The name of the environment.").nullable().optional(),
24
24
  created_at: z.string().describe("Timestamp when the environment was created.").nullable().optional(),
25
25
  service_instances: RailwayGetEnvironment_ServiceInstancesConnectionSchema.nullable().optional()
26
- }).describe("Response schema for the environment query.")
26
+ }).passthrough().describe("Response schema for the environment query.")
27
27
  });
28
28
  //#endregion
29
29
  export { railwayGetEnvironment };
@@ -1 +1 @@
1
- {"version":3,"file":"get-environment.mjs","names":[],"sources":["../../src/actions/get-environment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayGetEnvironmentInput = z.object({\n id: z.string().describe(\"The unique identifier of the environment to retrieve. Example: 'abc123-def4-5678-ghij'\"),\n}).describe(\"Request schema for getting environment details.\");\nconst RailwayGetEnvironment_LatestDeploymentSchema = z.object({\n id: z.string().describe(\"The unique identifier of the latest deployment.\").nullable().optional(),\n status: z.string().describe(\"The status of the latest deployment (e.g., 'SUCCESS', 'FAILURE', 'BUILDING').\").nullable().optional(),\n}).describe(\"Latest deployment information for a service instance.\");\nconst RailwayGetEnvironment_ServiceInstanceNodeSchema = z.object({\n id: z.string().describe(\"The unique identifier of the service instance.\").nullable().optional(),\n service_name: z.string().describe(\"The name of the service.\").nullable().optional(),\n latest_deployment: RailwayGetEnvironment_LatestDeploymentSchema.nullable().optional(),\n}).describe(\"Service instance node within the environment.\");\nconst RailwayGetEnvironment_ServiceInstanceEdgeSchema = z.object({\n node: RailwayGetEnvironment_ServiceInstanceNodeSchema.nullable().optional(),\n}).describe(\"Edge containing a service instance node.\");\nconst RailwayGetEnvironment_ServiceInstancesConnectionSchema = z.object({\n edges: z.array(RailwayGetEnvironment_ServiceInstanceEdgeSchema).describe(\"List of service instance edges.\").nullable().optional(),\n}).describe(\"Connection for service instances in the environment.\");\nexport const RailwayGetEnvironmentOutput = z.object({\n id: z.string().describe(\"The unique identifier of the environment.\").nullable().optional(),\n name: z.string().describe(\"The name of the environment.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the environment was created.\").nullable().optional(),\n service_instances: RailwayGetEnvironment_ServiceInstancesConnectionSchema.nullable().optional(),\n}).describe(\"Response schema for the environment query.\");\n\nexport const railwayGetEnvironment = action(\"RAILWAY_GET_ENVIRONMENT\", {\n slug: \"railway-get-environment\",\n name: \"Get Environment\",\n description: \"Get details of a specific Railway environment by its ID, including service instances and deployment information. Use this action when you need to retrieve detailed information about an environment, such as its name, creation timestamp, and the service instances deployed within it, along with their latest deployment statuses. This is a read-only action that queries the Railway GraphQL API.\",\n input: RailwayGetEnvironmentInput,\n output: RailwayGetEnvironmentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO,EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,EAClH,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,+CAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,kDAAkD,EAAE,OAAO;CAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,mBAAmB,6CAA6C,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,kDAAkD,EAAE,OAAO,EAC/D,MAAM,gDAAgD,SAAS,CAAC,CAAC,SAAS,EAC5E,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,yDAAyD,EAAE,OAAO,EACtE,OAAO,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClI,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAQlE,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZyC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,mBAAmB,uDAAuD,SAAS,CAAC,CAAC,SAAS;CAChG,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-environment.mjs","names":[],"sources":["../../src/actions/get-environment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayGetEnvironmentInput = z.object({\n id: z.string().describe(\"The unique identifier of the environment to retrieve. Example: 'abc123-def4-5678-ghij'\"),\n}).describe(\"Request schema for getting environment details.\");\nconst RailwayGetEnvironment_LatestDeploymentSchema = z.object({\n id: z.string().describe(\"The unique identifier of the latest deployment.\").nullable().optional(),\n status: z.string().describe(\"The status of the latest deployment (e.g., 'SUCCESS', 'FAILURE', 'BUILDING').\").nullable().optional(),\n}).passthrough().describe(\"Latest deployment information for a service instance.\");\nconst RailwayGetEnvironment_ServiceInstanceNodeSchema = z.object({\n id: z.string().describe(\"The unique identifier of the service instance.\").nullable().optional(),\n service_name: z.string().describe(\"The name of the service.\").nullable().optional(),\n latest_deployment: RailwayGetEnvironment_LatestDeploymentSchema.nullable().optional(),\n}).passthrough().describe(\"Service instance node within the environment.\");\nconst RailwayGetEnvironment_ServiceInstanceEdgeSchema = z.object({\n node: RailwayGetEnvironment_ServiceInstanceNodeSchema.nullable().optional(),\n}).passthrough().describe(\"Edge containing a service instance node.\");\nconst RailwayGetEnvironment_ServiceInstancesConnectionSchema = z.object({\n edges: z.array(RailwayGetEnvironment_ServiceInstanceEdgeSchema).describe(\"List of service instance edges.\").nullable().optional(),\n}).passthrough().describe(\"Connection for service instances in the environment.\");\nexport const RailwayGetEnvironmentOutput = z.object({\n id: z.string().describe(\"The unique identifier of the environment.\").nullable().optional(),\n name: z.string().describe(\"The name of the environment.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the environment was created.\").nullable().optional(),\n service_instances: RailwayGetEnvironment_ServiceInstancesConnectionSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for the environment query.\");\n\nexport const railwayGetEnvironment = action(\"RAILWAY_GET_ENVIRONMENT\", {\n slug: \"railway-get-environment\",\n name: \"Get Environment\",\n description: \"Get details of a specific Railway environment by its ID, including service instances and deployment information. Use this action when you need to retrieve detailed information about an environment, such as its name, creation timestamp, and the service instances deployed within it, along with their latest deployment statuses. This is a read-only action that queries the Railway GraphQL API.\",\n input: RailwayGetEnvironmentInput,\n output: RailwayGetEnvironmentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO,EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,EAClH,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,+CAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AACjF,MAAM,kDAAkD,EAAE,OAAO;CAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,mBAAmB,6CAA6C,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAM,kDAAkD,EAAE,OAAO,EAC/D,MAAM,gDAAgD,SAAS,CAAC,CAAC,SAAS,EAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAM,yDAAyD,EAAE,OAAO,EACtE,OAAO,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAQhF,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZyC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,mBAAmB,uDAAuD,SAAS,CAAC,CAAC,SAAS;CAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
@@ -14,7 +14,7 @@ const RailwayGetGitHubPrInfoOutput = zod.z.object({
14
14
  deletions: zod.z.number().int().describe("The number of deletions in the pull request.").nullable().optional(),
15
15
  mergeable: zod.z.boolean().describe("Whether the pull request is mergeable.").nullable().optional(),
16
16
  changedFiles: zod.z.number().int().describe("The number of files changed in the pull request.").nullable().optional()
17
- }).describe("Response schema for GitHub pull request information.");
17
+ }).passthrough().describe("Response schema for GitHub pull request information.");
18
18
  const railwayGetGitHubPrInfo = require_action.action("RAILWAY_GET_GIT_HUB_PR_INFO", {
19
19
  slug: "railway-get-git-hub-pr-info",
20
20
  name: "Get GitHub PR Info",
@@ -1 +1 @@
1
- {"version":3,"file":"get-git-hub-pr-info.cjs","names":["z","action"],"sources":["../../src/actions/get-git-hub-pr-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayGetGitHubPrInfoInput = z.object({\n prNumber: z.number().int().describe(\"The pull request number (e.g., 1 for PR #1).\"),\n serviceId: z.string().describe(\"The unique identifier of the Railway service to get the PR info for.\"),\n}).describe(\"Request parameters for retrieving GitHub pull request information.\");\nexport const RailwayGetGitHubPrInfoOutput = z.object({\n body: z.string().describe(\"The body/description of the pull request.\").nullable().optional(),\n state: z.string().describe(\"The current state of the pull request (e.g., 'OPEN', 'CLOSED', 'MERGED').\").nullable().optional(),\n title: z.string().describe(\"The title of the pull request.\").nullable().optional(),\n author: z.string().describe(\"The GitHub username of the pull request author.\").nullable().optional(),\n additions: z.number().int().describe(\"The number of additions in the pull request.\").nullable().optional(),\n deletions: z.number().int().describe(\"The number of deletions in the pull request.\").nullable().optional(),\n mergeable: z.boolean().describe(\"Whether the pull request is mergeable.\").nullable().optional(),\n changedFiles: z.number().int().describe(\"The number of files changed in the pull request.\").nullable().optional(),\n}).describe(\"Response schema for GitHub pull request information.\");\n\nexport const railwayGetGitHubPrInfo = action(\"RAILWAY_GET_GIT_HUB_PR_INFO\", {\n slug: \"railway-get-git-hub-pr-info\",\n name: \"Get GitHub PR Info\",\n description: \"Get information for a GitHub pull request associated with a Railway service. Use this action when you need to retrieve details about a specific pull request, such as its title, state, URL, or author information, for monitoring PR status or integrating with CI/CD workflows. This is a read-only action that queries the Railway GraphQL API for pull request information linked to the specified service.\",\n input: RailwayGetGitHubPrInfoInput,\n output: RailwayGetGitHubPrInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C;CAClF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;AACvG,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,yBAAyBC,eAAAA,OAAO,+BAA+B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-git-hub-pr-info.cjs","names":["z","action"],"sources":["../../src/actions/get-git-hub-pr-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayGetGitHubPrInfoInput = z.object({\n prNumber: z.number().int().describe(\"The pull request number (e.g., 1 for PR #1).\"),\n serviceId: z.string().describe(\"The unique identifier of the Railway service to get the PR info for.\"),\n}).describe(\"Request parameters for retrieving GitHub pull request information.\");\nexport const RailwayGetGitHubPrInfoOutput = z.object({\n body: z.string().describe(\"The body/description of the pull request.\").nullable().optional(),\n state: z.string().describe(\"The current state of the pull request (e.g., 'OPEN', 'CLOSED', 'MERGED').\").nullable().optional(),\n title: z.string().describe(\"The title of the pull request.\").nullable().optional(),\n author: z.string().describe(\"The GitHub username of the pull request author.\").nullable().optional(),\n additions: z.number().int().describe(\"The number of additions in the pull request.\").nullable().optional(),\n deletions: z.number().int().describe(\"The number of deletions in the pull request.\").nullable().optional(),\n mergeable: z.boolean().describe(\"Whether the pull request is mergeable.\").nullable().optional(),\n changedFiles: z.number().int().describe(\"The number of files changed in the pull request.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for GitHub pull request information.\");\n\nexport const railwayGetGitHubPrInfo = action(\"RAILWAY_GET_GIT_HUB_PR_INFO\", {\n slug: \"railway-get-git-hub-pr-info\",\n name: \"Get GitHub PR Info\",\n description: \"Get information for a GitHub pull request associated with a Railway service. Use this action when you need to retrieve details about a specific pull request, such as its title, state, URL, or author information, for monitoring PR status or integrating with CI/CD workflows. This is a read-only action that queries the Railway GraphQL API for pull request information linked to the specified service.\",\n input: RailwayGetGitHubPrInfoInput,\n output: RailwayGetGitHubPrInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C;CAClF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;AACvG,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,yBAAyBC,eAAAA,OAAO,+BAA+B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -14,7 +14,7 @@ declare const RailwayGetGitHubPrInfoOutput: z.ZodObject<{
14
14
  deletions: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
15
  mergeable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
16
16
  changedFiles: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
- }, z.core.$strip>;
17
+ }, z.core.$loose>;
18
18
  declare const railwayGetGitHubPrInfo: import("@keystrokehq/action").WorkflowActionDefinition<{
19
19
  prNumber: number;
20
20
  serviceId: string;
@@ -14,7 +14,7 @@ declare const RailwayGetGitHubPrInfoOutput: z.ZodObject<{
14
14
  deletions: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
15
  mergeable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
16
16
  changedFiles: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
- }, z.core.$strip>;
17
+ }, z.core.$loose>;
18
18
  declare const railwayGetGitHubPrInfo: import("@keystrokehq/action").WorkflowActionDefinition<{
19
19
  prNumber: number;
20
20
  serviceId: string;
@@ -17,7 +17,7 @@ const railwayGetGitHubPrInfo = action("RAILWAY_GET_GIT_HUB_PR_INFO", {
17
17
  deletions: z.number().int().describe("The number of deletions in the pull request.").nullable().optional(),
18
18
  mergeable: z.boolean().describe("Whether the pull request is mergeable.").nullable().optional(),
19
19
  changedFiles: z.number().int().describe("The number of files changed in the pull request.").nullable().optional()
20
- }).describe("Response schema for GitHub pull request information.")
20
+ }).passthrough().describe("Response schema for GitHub pull request information.")
21
21
  });
22
22
  //#endregion
23
23
  export { railwayGetGitHubPrInfo };
@@ -1 +1 @@
1
- {"version":3,"file":"get-git-hub-pr-info.mjs","names":[],"sources":["../../src/actions/get-git-hub-pr-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayGetGitHubPrInfoInput = z.object({\n prNumber: z.number().int().describe(\"The pull request number (e.g., 1 for PR #1).\"),\n serviceId: z.string().describe(\"The unique identifier of the Railway service to get the PR info for.\"),\n}).describe(\"Request parameters for retrieving GitHub pull request information.\");\nexport const RailwayGetGitHubPrInfoOutput = z.object({\n body: z.string().describe(\"The body/description of the pull request.\").nullable().optional(),\n state: z.string().describe(\"The current state of the pull request (e.g., 'OPEN', 'CLOSED', 'MERGED').\").nullable().optional(),\n title: z.string().describe(\"The title of the pull request.\").nullable().optional(),\n author: z.string().describe(\"The GitHub username of the pull request author.\").nullable().optional(),\n additions: z.number().int().describe(\"The number of additions in the pull request.\").nullable().optional(),\n deletions: z.number().int().describe(\"The number of deletions in the pull request.\").nullable().optional(),\n mergeable: z.boolean().describe(\"Whether the pull request is mergeable.\").nullable().optional(),\n changedFiles: z.number().int().describe(\"The number of files changed in the pull request.\").nullable().optional(),\n}).describe(\"Response schema for GitHub pull request information.\");\n\nexport const railwayGetGitHubPrInfo = action(\"RAILWAY_GET_GIT_HUB_PR_INFO\", {\n slug: \"railway-get-git-hub-pr-info\",\n name: \"Get GitHub PR Info\",\n description: \"Get information for a GitHub pull request associated with a Railway service. Use this action when you need to retrieve details about a specific pull request, such as its title, state, URL, or author information, for monitoring PR status or integrating with CI/CD workflows. This is a read-only action that queries the Railway GraphQL API for pull request information linked to the specified service.\",\n input: RailwayGetGitHubPrInfoInput,\n output: RailwayGetGitHubPrInfoOutput,\n});\n"],"mappings":";;AAmBA,MAAa,yBAAyB,OAAO,+BAA+B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnByC,EAAE,OAAO;EAClD,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C;EAClF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;CACvG,CAAC,CAAC,CAAC,SAAS,oEAgBH;CACP,QAhB0C,EAAE,OAAO;EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-git-hub-pr-info.mjs","names":[],"sources":["../../src/actions/get-git-hub-pr-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayGetGitHubPrInfoInput = z.object({\n prNumber: z.number().int().describe(\"The pull request number (e.g., 1 for PR #1).\"),\n serviceId: z.string().describe(\"The unique identifier of the Railway service to get the PR info for.\"),\n}).describe(\"Request parameters for retrieving GitHub pull request information.\");\nexport const RailwayGetGitHubPrInfoOutput = z.object({\n body: z.string().describe(\"The body/description of the pull request.\").nullable().optional(),\n state: z.string().describe(\"The current state of the pull request (e.g., 'OPEN', 'CLOSED', 'MERGED').\").nullable().optional(),\n title: z.string().describe(\"The title of the pull request.\").nullable().optional(),\n author: z.string().describe(\"The GitHub username of the pull request author.\").nullable().optional(),\n additions: z.number().int().describe(\"The number of additions in the pull request.\").nullable().optional(),\n deletions: z.number().int().describe(\"The number of deletions in the pull request.\").nullable().optional(),\n mergeable: z.boolean().describe(\"Whether the pull request is mergeable.\").nullable().optional(),\n changedFiles: z.number().int().describe(\"The number of files changed in the pull request.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for GitHub pull request information.\");\n\nexport const railwayGetGitHubPrInfo = action(\"RAILWAY_GET_GIT_HUB_PR_INFO\", {\n slug: \"railway-get-git-hub-pr-info\",\n name: \"Get GitHub PR Info\",\n description: \"Get information for a GitHub pull request associated with a Railway service. Use this action when you need to retrieve details about a specific pull request, such as its title, state, URL, or author information, for monitoring PR status or integrating with CI/CD workflows. This is a read-only action that queries the Railway GraphQL API for pull request information linked to the specified service.\",\n input: RailwayGetGitHubPrInfoInput,\n output: RailwayGetGitHubPrInfoOutput,\n});\n"],"mappings":";;AAmBA,MAAa,yBAAyB,OAAO,+BAA+B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnByC,EAAE,OAAO;EAClD,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C;EAClF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;CACvG,CAAC,CAAC,CAAC,SAAS,oEAgBH;CACP,QAhB0C,EAAE,OAAO;EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
@@ -2,8 +2,8 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/get-user-kickback-earnings.ts
4
4
  const RailwayGetUserKickbackEarningsInput = zod.z.object({}).describe("Request model for getting user kickback earnings.");
5
- const RailwayGetUserKickbackEarnings_UserKickbackEarningsSchema = zod.z.object({ total_amount: zod.z.number().describe("The total amount of kickback earnings for the user.").nullable().optional() }).describe("User kickback earnings data.");
6
- const RailwayGetUserKickbackEarningsOutput = zod.z.object({ user_kickback_earnings: RailwayGetUserKickbackEarnings_UserKickbackEarningsSchema.nullable().optional() }).describe("Response model for the user kickback earnings query.");
5
+ const RailwayGetUserKickbackEarnings_UserKickbackEarningsSchema = zod.z.object({ total_amount: zod.z.number().describe("The total amount of kickback earnings for the user.").nullable().optional() }).passthrough().describe("User kickback earnings data.");
6
+ const RailwayGetUserKickbackEarningsOutput = zod.z.object({ user_kickback_earnings: RailwayGetUserKickbackEarnings_UserKickbackEarningsSchema.nullable().optional() }).passthrough().describe("Response model for the user kickback earnings query.");
7
7
  const railwayGetUserKickbackEarnings = require_action.action("RAILWAY_GET_USER_KICKBACK_EARNINGS", {
8
8
  slug: "railway-get-user-kickback-earnings",
9
9
  name: "Get User Kickback Earnings",
@@ -1 +1 @@
1
- {"version":3,"file":"get-user-kickback-earnings.cjs","names":["z","action"],"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}).describe(\"User kickback earnings data.\");\nexport const RailwayGetUserKickbackEarningsOutput = z.object({\n user_kickback_earnings: RailwayGetUserKickbackEarnings_UserKickbackEarningsSchema.nullable().optional(),\n}).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,sCAAsCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC5H,MAAM,4DAA4DA,IAAAA,EAAE,OAAO,EACzE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/G,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAC1C,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,wBAAwB,0DAA0D,SAAS,CAAC,CAAC,SAAS,EACxG,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-user-kickback-earnings.cjs","names":["z","action"],"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,sCAAsCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC5H,MAAM,4DAA4DA,IAAAA,EAAE,OAAO,EACzE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AACxD,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,wBAAwB,0DAA0D,SAAS,CAAC,CAAC,SAAS,EACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -5,8 +5,8 @@ declare const RailwayGetUserKickbackEarningsInput: z.ZodObject<{}, z.core.$strip
5
5
  declare const RailwayGetUserKickbackEarningsOutput: z.ZodObject<{
6
6
  user_kickback_earnings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
7
7
  total_amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
8
- }, z.core.$strip>>>;
9
- }, z.core.$strip>;
8
+ }, z.core.$loose>>>;
9
+ }, z.core.$loose>;
10
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]>;
11
11
  //#endregion
12
12
  export { railwayGetUserKickbackEarnings };
@@ -5,8 +5,8 @@ declare const RailwayGetUserKickbackEarningsInput: z.ZodObject<{}, z.core.$strip
5
5
  declare const RailwayGetUserKickbackEarningsOutput: z.ZodObject<{
6
6
  user_kickback_earnings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
7
7
  total_amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
8
- }, z.core.$strip>>>;
9
- }, z.core.$strip>;
8
+ }, z.core.$loose>>>;
9
+ }, z.core.$loose>;
10
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]>;
11
11
  //#endregion
12
12
  export { railwayGetUserKickbackEarnings };
@@ -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 = 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}).describe(\"User kickback earnings data.\");\nexport const RailwayGetUserKickbackEarningsOutput = z.object({\n user_kickback_earnings: RailwayGetUserKickbackEarnings_UserKickbackEarningsSchema.nullable().optional(),\n}).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,SAAS,8BAA8B;AAK1C,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,SAAS,sDAOF;AACV,CAAC"}
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"}
@@ -6,8 +6,8 @@ const RailwayListApiTokens_ApiTokenSchema = zod.z.object({
6
6
  id: zod.z.string().describe("The unique identifier of the API token.").nullable(),
7
7
  name: zod.z.string().describe("The name of the API token.").nullable(),
8
8
  created_at: zod.z.string().describe("The timestamp when the API token was created (ISO 8601 format).").nullable()
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.");
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 = 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}).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}).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,SAAS,4BAA4B;AACxC,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,SAAS,uEAAuE;AAEnF,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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"}
@@ -7,8 +7,8 @@ declare const RailwayListApiTokensOutput: z.ZodObject<{
7
7
  id: z.ZodNullable<z.ZodString>;
8
8
  name: z.ZodNullable<z.ZodString>;
9
9
  created_at: z.ZodNullable<z.ZodString>;
10
- }, z.core.$strip>>>>;
11
- }, z.core.$strip>;
10
+ }, z.core.$loose>>>>;
11
+ }, z.core.$loose>;
12
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]>;
13
13
  //#endregion
14
14
  export { railwayListApiTokens };
@@ -7,8 +7,8 @@ declare const RailwayListApiTokensOutput: z.ZodObject<{
7
7
  id: z.ZodNullable<z.ZodString>;
8
8
  name: z.ZodNullable<z.ZodString>;
9
9
  created_at: z.ZodNullable<z.ZodString>;
10
- }, z.core.$strip>>>>;
11
- }, z.core.$strip>;
10
+ }, z.core.$loose>>>>;
11
+ }, z.core.$loose>;
12
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]>;
13
13
  //#endregion
14
14
  export { railwayListApiTokens };
@@ -6,13 +6,13 @@ const RailwayListApiTokens_ApiTokenSchema = z.object({
6
6
  id: z.string().describe("The unique identifier of the API token.").nullable(),
7
7
  name: z.string().describe("The name of the API token.").nullable(),
8
8
  created_at: z.string().describe("The timestamp when the API token was created (ISO 8601 format).").nullable()
9
- }).describe("Individual API token data.");
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 = 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}).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}).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,SAAS,4BAA4B;AAKxC,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,SAAS,uEAOF;AACV,CAAC"}
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 = 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}).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}).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,SAAS,0CAA0C;AACtD,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,SAAS,kDAAkD;AAE9D,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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"}
@@ -11,8 +11,8 @@ declare const RailwayListEnvironmentPatchesOutput: z.ZodObject<{
11
11
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
12
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
13
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
- }, z.core.$strip>>>>;
15
- }, z.core.$strip>;
14
+ }, z.core.$loose>>>>;
15
+ }, z.core.$loose>;
16
16
  declare const railwayListEnvironmentPatches: import("@keystrokehq/action").WorkflowActionDefinition<{
17
17
  environment_id: string;
18
18
  after?: string | undefined;
@@ -11,8 +11,8 @@ declare const RailwayListEnvironmentPatchesOutput: z.ZodObject<{
11
11
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
12
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
13
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
- }, z.core.$strip>>>>;
15
- }, z.core.$strip>;
14
+ }, z.core.$loose>>>>;
15
+ }, z.core.$loose>;
16
16
  declare const railwayListEnvironmentPatches: import("@keystrokehq/action").WorkflowActionDefinition<{
17
17
  environment_id: string;
18
18
  after?: string | undefined;
@@ -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 = 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}).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}).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,SAAS,0CAA0C;AAKtD,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,SAAS,kDAOF;AACV,CAAC"}
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"}
@@ -6,8 +6,8 @@ const RailwayListGitHubRepos_GitHubRepoSchema = zod.z.object({
6
6
  id: zod.z.string().describe("The unique identifier of the GitHub repository in Railway.").nullable(),
7
7
  name: zod.z.string().describe("The name of the GitHub repository.").nullable(),
8
8
  owner: zod.z.string().describe("The owner or organization name of the GitHub repository.").nullable()
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.");
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 = 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}).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}).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,SAAS,oCAAoC;AAChD,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,SAAS,4EAA4E;AAExF,MAAa,yBAAyBC,eAAAA,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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"}
@@ -7,8 +7,8 @@ declare const RailwayListGitHubReposOutput: z.ZodObject<{
7
7
  id: z.ZodNullable<z.ZodString>;
8
8
  name: z.ZodNullable<z.ZodString>;
9
9
  owner: z.ZodNullable<z.ZodString>;
10
- }, z.core.$strip>>>>;
11
- }, z.core.$strip>;
10
+ }, z.core.$loose>>>>;
11
+ }, z.core.$loose>;
12
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]>;
13
13
  //#endregion
14
14
  export { railwayListGitHubRepos };
@@ -7,8 +7,8 @@ declare const RailwayListGitHubReposOutput: z.ZodObject<{
7
7
  id: z.ZodNullable<z.ZodString>;
8
8
  name: z.ZodNullable<z.ZodString>;
9
9
  owner: z.ZodNullable<z.ZodString>;
10
- }, z.core.$strip>>>>;
11
- }, z.core.$strip>;
10
+ }, z.core.$loose>>>>;
11
+ }, z.core.$loose>;
12
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]>;
13
13
  //#endregion
14
14
  export { railwayListGitHubRepos };
@@ -6,13 +6,13 @@ const RailwayListGitHubRepos_GitHubRepoSchema = z.object({
6
6
  id: z.string().describe("The unique identifier of the GitHub repository in Railway.").nullable(),
7
7
  name: z.string().describe("The name of the GitHub repository.").nullable(),
8
8
  owner: z.string().describe("The owner or organization name of the GitHub repository.").nullable()
9
- }).describe("Individual GitHub repository data.");
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 = 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}).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}).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,SAAS,oCAAoC;AAKhD,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,SAAS,4EAOF;AACV,CAAC"}
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"}