@keystrokehq/railway 0.1.4 → 0.1.6

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 (157) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-plugin.cjs +1 -0
  4. package/dist/actions/create-plugin.cjs.map +1 -1
  5. package/dist/actions/create-plugin.d.cts +3 -4
  6. package/dist/actions/create-plugin.d.cts.map +1 -1
  7. package/dist/actions/create-plugin.d.mts +3 -4
  8. package/dist/actions/create-plugin.d.mts.map +1 -1
  9. package/dist/actions/create-plugin.mjs +1 -0
  10. package/dist/actions/create-plugin.mjs.map +1 -1
  11. package/dist/actions/delete-variable.cjs +1 -0
  12. package/dist/actions/delete-variable.cjs.map +1 -1
  13. package/dist/actions/delete-variable.d.cts +3 -6
  14. package/dist/actions/delete-variable.d.cts.map +1 -1
  15. package/dist/actions/delete-variable.d.mts +3 -6
  16. package/dist/actions/delete-variable.d.mts.map +1 -1
  17. package/dist/actions/delete-variable.mjs +1 -0
  18. package/dist/actions/delete-variable.mjs.map +1 -1
  19. package/dist/actions/delete-volume.cjs +1 -0
  20. package/dist/actions/delete-volume.cjs.map +1 -1
  21. package/dist/actions/delete-volume.d.cts +3 -3
  22. package/dist/actions/delete-volume.d.cts.map +1 -1
  23. package/dist/actions/delete-volume.d.mts +3 -3
  24. package/dist/actions/delete-volume.d.mts.map +1 -1
  25. package/dist/actions/delete-volume.mjs +1 -0
  26. package/dist/actions/delete-volume.mjs.map +1 -1
  27. package/dist/actions/delete-workspace.cjs +1 -0
  28. package/dist/actions/delete-workspace.cjs.map +1 -1
  29. package/dist/actions/delete-workspace.d.cts +3 -3
  30. package/dist/actions/delete-workspace.d.cts.map +1 -1
  31. package/dist/actions/delete-workspace.d.mts +3 -3
  32. package/dist/actions/delete-workspace.d.mts.map +1 -1
  33. package/dist/actions/delete-workspace.mjs +1 -0
  34. package/dist/actions/delete-workspace.mjs.map +1 -1
  35. package/dist/actions/disconnect-user-discord.cjs +1 -0
  36. package/dist/actions/disconnect-user-discord.cjs.map +1 -1
  37. package/dist/actions/disconnect-user-discord.d.cts +3 -1
  38. package/dist/actions/disconnect-user-discord.d.cts.map +1 -1
  39. package/dist/actions/disconnect-user-discord.d.mts +3 -1
  40. package/dist/actions/disconnect-user-discord.d.mts.map +1 -1
  41. package/dist/actions/disconnect-user-discord.mjs +1 -0
  42. package/dist/actions/disconnect-user-discord.mjs.map +1 -1
  43. package/dist/actions/get-deployment-logs.cjs +1 -0
  44. package/dist/actions/get-deployment-logs.cjs.map +1 -1
  45. package/dist/actions/get-deployment-logs.d.cts +3 -4
  46. package/dist/actions/get-deployment-logs.d.cts.map +1 -1
  47. package/dist/actions/get-deployment-logs.d.mts +3 -4
  48. package/dist/actions/get-deployment-logs.d.mts.map +1 -1
  49. package/dist/actions/get-deployment-logs.mjs +1 -0
  50. package/dist/actions/get-deployment-logs.mjs.map +1 -1
  51. package/dist/actions/get-environment.cjs +1 -0
  52. package/dist/actions/get-environment.cjs.map +1 -1
  53. package/dist/actions/get-environment.d.cts +3 -3
  54. package/dist/actions/get-environment.d.cts.map +1 -1
  55. package/dist/actions/get-environment.d.mts +3 -3
  56. package/dist/actions/get-environment.d.mts.map +1 -1
  57. package/dist/actions/get-environment.mjs +1 -0
  58. package/dist/actions/get-environment.mjs.map +1 -1
  59. package/dist/actions/get-git-hub-pr-info.cjs +1 -0
  60. package/dist/actions/get-git-hub-pr-info.cjs.map +1 -1
  61. package/dist/actions/get-git-hub-pr-info.d.cts +3 -4
  62. package/dist/actions/get-git-hub-pr-info.d.cts.map +1 -1
  63. package/dist/actions/get-git-hub-pr-info.d.mts +3 -4
  64. package/dist/actions/get-git-hub-pr-info.d.mts.map +1 -1
  65. package/dist/actions/get-git-hub-pr-info.mjs +1 -0
  66. package/dist/actions/get-git-hub-pr-info.mjs.map +1 -1
  67. package/dist/actions/get-user-kickback-earnings.cjs +1 -0
  68. package/dist/actions/get-user-kickback-earnings.cjs.map +1 -1
  69. package/dist/actions/get-user-kickback-earnings.d.cts +3 -1
  70. package/dist/actions/get-user-kickback-earnings.d.cts.map +1 -1
  71. package/dist/actions/get-user-kickback-earnings.d.mts +3 -1
  72. package/dist/actions/get-user-kickback-earnings.d.mts.map +1 -1
  73. package/dist/actions/get-user-kickback-earnings.mjs +1 -0
  74. package/dist/actions/get-user-kickback-earnings.mjs.map +1 -1
  75. package/dist/actions/list-api-tokens.cjs +1 -0
  76. package/dist/actions/list-api-tokens.cjs.map +1 -1
  77. package/dist/actions/list-api-tokens.d.cts +3 -1
  78. package/dist/actions/list-api-tokens.d.cts.map +1 -1
  79. package/dist/actions/list-api-tokens.d.mts +3 -1
  80. package/dist/actions/list-api-tokens.d.mts.map +1 -1
  81. package/dist/actions/list-api-tokens.mjs +1 -0
  82. package/dist/actions/list-api-tokens.mjs.map +1 -1
  83. package/dist/actions/list-environment-patches.cjs +1 -0
  84. package/dist/actions/list-environment-patches.cjs.map +1 -1
  85. package/dist/actions/list-environment-patches.d.cts +3 -5
  86. package/dist/actions/list-environment-patches.d.cts.map +1 -1
  87. package/dist/actions/list-environment-patches.d.mts +3 -5
  88. package/dist/actions/list-environment-patches.d.mts.map +1 -1
  89. package/dist/actions/list-environment-patches.mjs +1 -0
  90. package/dist/actions/list-environment-patches.mjs.map +1 -1
  91. package/dist/actions/list-git-hub-repos.cjs +1 -0
  92. package/dist/actions/list-git-hub-repos.cjs.map +1 -1
  93. package/dist/actions/list-git-hub-repos.d.cts +3 -1
  94. package/dist/actions/list-git-hub-repos.d.cts.map +1 -1
  95. package/dist/actions/list-git-hub-repos.d.mts +3 -1
  96. package/dist/actions/list-git-hub-repos.d.mts.map +1 -1
  97. package/dist/actions/list-git-hub-repos.mjs +1 -0
  98. package/dist/actions/list-git-hub-repos.mjs.map +1 -1
  99. package/dist/actions/list-git-hub-writable-scopes.cjs +1 -0
  100. package/dist/actions/list-git-hub-writable-scopes.cjs.map +1 -1
  101. package/dist/actions/list-git-hub-writable-scopes.d.cts +3 -1
  102. package/dist/actions/list-git-hub-writable-scopes.d.cts.map +1 -1
  103. package/dist/actions/list-git-hub-writable-scopes.d.mts +3 -1
  104. package/dist/actions/list-git-hub-writable-scopes.d.mts.map +1 -1
  105. package/dist/actions/list-git-hub-writable-scopes.mjs +1 -0
  106. package/dist/actions/list-git-hub-writable-scopes.mjs.map +1 -1
  107. package/dist/actions/list-integration-auths.cjs +1 -0
  108. package/dist/actions/list-integration-auths.cjs.map +1 -1
  109. package/dist/actions/list-integration-auths.d.cts +3 -1
  110. package/dist/actions/list-integration-auths.d.cts.map +1 -1
  111. package/dist/actions/list-integration-auths.d.mts +3 -1
  112. package/dist/actions/list-integration-auths.d.mts.map +1 -1
  113. package/dist/actions/list-integration-auths.mjs +1 -0
  114. package/dist/actions/list-integration-auths.mjs.map +1 -1
  115. package/dist/actions/list-notification-deliveries.cjs +1 -0
  116. package/dist/actions/list-notification-deliveries.cjs.map +1 -1
  117. package/dist/actions/list-notification-deliveries.d.cts +3 -1
  118. package/dist/actions/list-notification-deliveries.d.cts.map +1 -1
  119. package/dist/actions/list-notification-deliveries.d.mts +3 -1
  120. package/dist/actions/list-notification-deliveries.d.mts.map +1 -1
  121. package/dist/actions/list-notification-deliveries.mjs +1 -0
  122. package/dist/actions/list-notification-deliveries.mjs.map +1 -1
  123. package/dist/actions/list-trusted-domains.cjs +1 -0
  124. package/dist/actions/list-trusted-domains.cjs.map +1 -1
  125. package/dist/actions/list-trusted-domains.d.cts +3 -3
  126. package/dist/actions/list-trusted-domains.d.cts.map +1 -1
  127. package/dist/actions/list-trusted-domains.d.mts +3 -3
  128. package/dist/actions/list-trusted-domains.d.mts.map +1 -1
  129. package/dist/actions/list-trusted-domains.mjs +1 -0
  130. package/dist/actions/list-trusted-domains.mjs.map +1 -1
  131. package/dist/actions/update-project.cjs +1 -0
  132. package/dist/actions/update-project.cjs.map +1 -1
  133. package/dist/actions/update-project.d.cts +3 -8
  134. package/dist/actions/update-project.d.cts.map +1 -1
  135. package/dist/actions/update-project.d.mts +3 -8
  136. package/dist/actions/update-project.d.mts.map +1 -1
  137. package/dist/actions/update-project.mjs +1 -0
  138. package/dist/actions/update-project.mjs.map +1 -1
  139. package/dist/actions/update-service-instance.cjs +1 -0
  140. package/dist/actions/update-service-instance.cjs.map +1 -1
  141. package/dist/actions/update-service-instance.d.cts +3 -19
  142. package/dist/actions/update-service-instance.d.cts.map +1 -1
  143. package/dist/actions/update-service-instance.d.mts +3 -19
  144. package/dist/actions/update-service-instance.d.mts.map +1 -1
  145. package/dist/actions/update-service-instance.mjs +1 -0
  146. package/dist/actions/update-service-instance.mjs.map +1 -1
  147. package/dist/app.cjs +5 -2
  148. package/dist/app.cjs.map +1 -1
  149. package/dist/app.d.cts +7 -1
  150. package/dist/app.d.cts.map +1 -1
  151. package/dist/app.d.mts +7 -1
  152. package/dist/app.d.mts.map +1 -1
  153. package/dist/app.mjs +3 -2
  154. package/dist/app.mjs.map +1 -1
  155. package/dist/index.d.cts +1 -1
  156. package/dist/index.d.mts +1 -1
  157. package/package.json +2 -2
@@ -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}).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"}
1
+ {"version":3,"file":"list-git-hub-repos.mjs","names":[],"sources":["../../src/actions/list-git-hub-repos.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { railway } from \"../app\";\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: AppAction<\n typeof RailwayListGitHubReposInput,\n typeof RailwayListGitHubReposOutput,\n typeof railway.credential\n> = 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":";;;;AAMA,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,yBAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb0C,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,4EAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-git-hub-writable-scopes.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-git-hub-writable-scopes.cjs","names":["z","action"],"sources":["../../src/actions/list-git-hub-writable-scopes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayListGitHubWritableScopesInput = z.object({}).describe(\"Request schema for listing GitHub writable scopes.\");\nexport const RailwayListGitHubWritableScopesOutput = z.object({\n github_writable_scopes: z.array(z.string()).describe(\"List of GitHub scope names that the installation has access to.\").nullable().optional(),\n}).passthrough().describe(\"Response schema containing GitHub installation scope names.\");\n\nexport const railwayListGitHubWritableScopes = action(\"RAILWAY_LIST_GIT_HUB_WRITABLE_SCOPES\", {\n slug: \"railway-list-git-hub-writable-scopes\",\n name: \"List GitHub Writable Scopes\",\n description: \"Retrieve the list of GitHub scopes the user has installed the installation to. Use this action when you need to fetch the list of GitHub scope names that the authenticated user has granted to the Railway GitHub application. This is a read-only operation that returns an array of GitHub permission scope strings such as 'repo', 'workflow', or 'read:user'. Note: This endpoint requires account-level authentication, not workspace/project tokens.\",\n input: RailwayListGitHubWritableScopesInput,\n output: RailwayListGitHubWritableScopesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAC9H,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,wBAAwBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAEvF,MAAa,kCAAkCC,eAAAA,OAAO,wCAAwC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-git-hub-writable-scopes.cjs","names":["z","action"],"sources":["../../src/actions/list-git-hub-writable-scopes.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { railway } from \"../app\";\n\nexport const RailwayListGitHubWritableScopesInput = z.object({}).describe(\"Request schema for listing GitHub writable scopes.\");\nexport const RailwayListGitHubWritableScopesOutput = z.object({\n github_writable_scopes: z.array(z.string()).describe(\"List of GitHub scope names that the installation has access to.\").nullable().optional(),\n}).passthrough().describe(\"Response schema containing GitHub installation scope names.\");\n\nexport const railwayListGitHubWritableScopes: AppAction<\n typeof RailwayListGitHubWritableScopesInput,\n typeof RailwayListGitHubWritableScopesOutput,\n typeof railway.credential\n> = action(\"RAILWAY_LIST_GIT_HUB_WRITABLE_SCOPES\", {\n slug: \"railway-list-git-hub-writable-scopes\",\n name: \"List GitHub Writable Scopes\",\n description: \"Retrieve the list of GitHub scopes the user has installed the installation to. Use this action when you need to fetch the list of GitHub scope names that the authenticated user has granted to the Railway GitHub application. This is a read-only operation that returns an array of GitHub permission scope strings such as 'repo', 'workflow', or 'read:user'. Note: This endpoint requires account-level authentication, not workspace/project tokens.\",\n input: RailwayListGitHubWritableScopesInput,\n output: RailwayListGitHubWritableScopesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAC9H,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,wBAAwBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAEvF,MAAa,kCAITC,eAAAA,OAAO,wCAAwC;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { railway } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-git-hub-writable-scopes.d.ts
@@ -5,7 +7,7 @@ declare const RailwayListGitHubWritableScopesInput: z.ZodObject<{}, z.core.$stri
5
7
  declare const RailwayListGitHubWritableScopesOutput: z.ZodObject<{
6
8
  github_writable_scopes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
7
9
  }, z.core.$loose>;
8
- declare const railwayListGitHubWritableScopes: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
10
+ declare const railwayListGitHubWritableScopes: AppAction<typeof RailwayListGitHubWritableScopesInput, typeof RailwayListGitHubWritableScopesOutput, typeof railway.credential>;
9
11
  //#endregion
10
12
  export { railwayListGitHubWritableScopes };
11
13
  //# sourceMappingURL=list-git-hub-writable-scopes.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-git-hub-writable-scopes.d.cts","names":[],"sources":["../../src/actions/list-git-hub-writable-scopes.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAIrC,+BAAA,gCAA+B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-git-hub-writable-scopes.d.cts","names":[],"sources":["../../src/actions/list-git-hub-writable-scopes.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAIrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { railway } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-git-hub-writable-scopes.d.ts
@@ -5,7 +7,7 @@ declare const RailwayListGitHubWritableScopesInput: z.ZodObject<{}, z.core.$stri
5
7
  declare const RailwayListGitHubWritableScopesOutput: z.ZodObject<{
6
8
  github_writable_scopes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
7
9
  }, z.core.$loose>;
8
- declare const railwayListGitHubWritableScopes: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
10
+ declare const railwayListGitHubWritableScopes: AppAction<typeof RailwayListGitHubWritableScopesInput, typeof RailwayListGitHubWritableScopesOutput, typeof railway.credential>;
9
11
  //#endregion
10
12
  export { railwayListGitHubWritableScopes };
11
13
  //# sourceMappingURL=list-git-hub-writable-scopes.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-git-hub-writable-scopes.d.mts","names":[],"sources":["../../src/actions/list-git-hub-writable-scopes.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAIrC,+BAAA,gCAA+B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-git-hub-writable-scopes.d.mts","names":[],"sources":["../../src/actions/list-git-hub-writable-scopes.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAIrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const railwayListGitHubWritableScopes = action("RAILWAY_LIST_GIT_HUB_WRITABLE_SCOPES", {
@@ -1 +1 @@
1
- {"version":3,"file":"list-git-hub-writable-scopes.mjs","names":[],"sources":["../../src/actions/list-git-hub-writable-scopes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayListGitHubWritableScopesInput = z.object({}).describe(\"Request schema for listing GitHub writable scopes.\");\nexport const RailwayListGitHubWritableScopesOutput = z.object({\n github_writable_scopes: z.array(z.string()).describe(\"List of GitHub scope names that the installation has access to.\").nullable().optional(),\n}).passthrough().describe(\"Response schema containing GitHub installation scope names.\");\n\nexport const railwayListGitHubWritableScopes = action(\"RAILWAY_LIST_GIT_HUB_WRITABLE_SCOPES\", {\n slug: \"railway-list-git-hub-writable-scopes\",\n name: \"List GitHub Writable Scopes\",\n description: \"Retrieve the list of GitHub scopes the user has installed the installation to. Use this action when you need to fetch the list of GitHub scope names that the authenticated user has granted to the Railway GitHub application. This is a read-only operation that returns an array of GitHub permission scope strings such as 'repo', 'workflow', or 'read:user'. Note: This endpoint requires account-level authentication, not workspace/project tokens.\",\n input: RailwayListGitHubWritableScopesInput,\n output: RailwayListGitHubWritableScopesOutput,\n});\n"],"mappings":";;AASA,MAAa,kCAAkC,OAAO,wCAAwC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATkD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oDASjE;CACP,QATmD,EAAE,OAAO,EAC5D,wBAAwB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-git-hub-writable-scopes.mjs","names":[],"sources":["../../src/actions/list-git-hub-writable-scopes.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { railway } from \"../app\";\n\nexport const RailwayListGitHubWritableScopesInput = z.object({}).describe(\"Request schema for listing GitHub writable scopes.\");\nexport const RailwayListGitHubWritableScopesOutput = z.object({\n github_writable_scopes: z.array(z.string()).describe(\"List of GitHub scope names that the installation has access to.\").nullable().optional(),\n}).passthrough().describe(\"Response schema containing GitHub installation scope names.\");\n\nexport const railwayListGitHubWritableScopes: AppAction<\n typeof RailwayListGitHubWritableScopesInput,\n typeof RailwayListGitHubWritableScopesOutput,\n typeof railway.credential\n> = action(\"RAILWAY_LIST_GIT_HUB_WRITABLE_SCOPES\", {\n slug: \"railway-list-git-hub-writable-scopes\",\n name: \"List GitHub Writable Scopes\",\n description: \"Retrieve the list of GitHub scopes the user has installed the installation to. Use this action when you need to fetch the list of GitHub scope names that the authenticated user has granted to the Railway GitHub application. This is a read-only operation that returns an array of GitHub permission scope strings such as 'repo', 'workflow', or 'read:user'. Note: This endpoint requires account-level authentication, not workspace/project tokens.\",\n input: RailwayListGitHubWritableScopesInput,\n output: RailwayListGitHubWritableScopesOutput,\n});\n"],"mappings":";;;AAWA,MAAa,kCAIT,OAAO,wCAAwC;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbkD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oDAajE;CACP,QAbmD,EAAE,OAAO,EAC5D,wBAAwB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-integration-auths.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-integration-auths.cjs","names":["z","action"],"sources":["../../src/actions/list-integration-auths.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayListIntegrationAuthsInput = z.object({}).describe(\"Request parameters for listing integration auths.\");\nconst RailwayListIntegrationAuths_IntegrationAuthSchema = z.object({\n id: z.string().describe(\"The unique identifier of the integration auth.\").nullable(),\n name: z.string().describe(\"The name of the integration auth (may not be available).\").nullable().optional(),\n type: z.string().describe(\"The type of the integration auth (e.g., github, gitlab, vercel).\").nullable().optional(),\n provider: z.string().describe(\"The provider name for the integration auth.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp when the integration auth was created (ISO 8601 format).\").nullable().optional(),\n provider_id: z.string().describe(\"The provider ID for the integration auth.\").nullable().optional(),\n}).passthrough().describe(\"Individual integration auth data.\");\nexport const RailwayListIntegrationAuthsOutput = z.object({\n integration_auths: z.array(RailwayListIntegrationAuths_IntegrationAuthSchema).describe(\"List of integration auths associated with the authenticated user.\").nullable().optional(),\n}).passthrough().describe(\"Response schema containing all integration auths for the authenticated user.\");\n\nexport const railwayListIntegrationAuths = action(\"RAILWAY_LIST_INTEGRATION_AUTHS\", {\n slug: \"railway-list-integration-auths\",\n name: \"List Integration Auths\",\n description: \"Retrieve all integration auths for the authenticated user from Railway. Use this action when you need to fetch the list of integration auths (such as GitHub, GitLab, Vercel, or other connected integrations) associated with the currently authenticated user. This is a read-only operation that returns auth metadata including the ID, name, type, and creation timestamp for each integration. The action queries the Railway GraphQL API and returns the complete list of integration auths.\",\n input: RailwayListIntegrationAuthsInput,\n output: RailwayListIntegrationAuthsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mDAAmD;AACzH,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,mBAAmBA,IAAAA,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8EAA8E;AAExG,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-integration-auths.cjs","names":["z","action"],"sources":["../../src/actions/list-integration-auths.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { railway } from \"../app\";\n\nexport const RailwayListIntegrationAuthsInput = z.object({}).describe(\"Request parameters for listing integration auths.\");\nconst RailwayListIntegrationAuths_IntegrationAuthSchema = z.object({\n id: z.string().describe(\"The unique identifier of the integration auth.\").nullable(),\n name: z.string().describe(\"The name of the integration auth (may not be available).\").nullable().optional(),\n type: z.string().describe(\"The type of the integration auth (e.g., github, gitlab, vercel).\").nullable().optional(),\n provider: z.string().describe(\"The provider name for the integration auth.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp when the integration auth was created (ISO 8601 format).\").nullable().optional(),\n provider_id: z.string().describe(\"The provider ID for the integration auth.\").nullable().optional(),\n}).passthrough().describe(\"Individual integration auth data.\");\nexport const RailwayListIntegrationAuthsOutput = z.object({\n integration_auths: z.array(RailwayListIntegrationAuths_IntegrationAuthSchema).describe(\"List of integration auths associated with the authenticated user.\").nullable().optional(),\n}).passthrough().describe(\"Response schema containing all integration auths for the authenticated user.\");\n\nexport const railwayListIntegrationAuths: AppAction<\n typeof RailwayListIntegrationAuthsInput,\n typeof RailwayListIntegrationAuthsOutput,\n typeof railway.credential\n> = action(\"RAILWAY_LIST_INTEGRATION_AUTHS\", {\n slug: \"railway-list-integration-auths\",\n name: \"List Integration Auths\",\n description: \"Retrieve all integration auths for the authenticated user from Railway. Use this action when you need to fetch the list of integration auths (such as GitHub, GitLab, Vercel, or other connected integrations) associated with the currently authenticated user. This is a read-only operation that returns auth metadata including the ID, name, type, and creation timestamp for each integration. The action queries the Railway GraphQL API and returns the complete list of integration auths.\",\n input: RailwayListIntegrationAuthsInput,\n output: RailwayListIntegrationAuthsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mDAAmD;AACzH,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,mBAAmBA,IAAAA,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8EAA8E;AAExG,MAAa,8BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { railway } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-integration-auths.d.ts
@@ -12,7 +14,7 @@ declare const RailwayListIntegrationAuthsOutput: z.ZodObject<{
12
14
  provider_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
15
  }, z.core.$loose>>>>;
14
16
  }, z.core.$loose>;
15
- declare const railwayListIntegrationAuths: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ declare const railwayListIntegrationAuths: AppAction<typeof RailwayListIntegrationAuthsInput, typeof RailwayListIntegrationAuthsOutput, typeof railway.credential>;
16
18
  //#endregion
17
19
  export { railwayListIntegrationAuths };
18
20
  //# sourceMappingURL=list-integration-auths.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-integration-auths.d.cts","names":[],"sources":["../../src/actions/list-integration-auths.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAShC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;cAIjC,2BAAA,gCAA2B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-integration-auths.d.cts","names":[],"sources":["../../src/actions/list-integration-auths.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAShC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { railway } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-integration-auths.d.ts
@@ -12,7 +14,7 @@ declare const RailwayListIntegrationAuthsOutput: z.ZodObject<{
12
14
  provider_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
15
  }, z.core.$loose>>>>;
14
16
  }, z.core.$loose>;
15
- declare const railwayListIntegrationAuths: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ declare const railwayListIntegrationAuths: AppAction<typeof RailwayListIntegrationAuthsInput, typeof RailwayListIntegrationAuthsOutput, typeof railway.credential>;
16
18
  //#endregion
17
19
  export { railwayListIntegrationAuths };
18
20
  //# sourceMappingURL=list-integration-auths.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-integration-auths.d.mts","names":[],"sources":["../../src/actions/list-integration-auths.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAShC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;cAIjC,2BAAA,gCAA2B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-integration-auths.d.mts","names":[],"sources":["../../src/actions/list-integration-auths.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAShC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-integration-auths.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-integration-auths.mjs","names":[],"sources":["../../src/actions/list-integration-auths.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayListIntegrationAuthsInput = z.object({}).describe(\"Request parameters for listing integration auths.\");\nconst RailwayListIntegrationAuths_IntegrationAuthSchema = z.object({\n id: z.string().describe(\"The unique identifier of the integration auth.\").nullable(),\n name: z.string().describe(\"The name of the integration auth (may not be available).\").nullable().optional(),\n type: z.string().describe(\"The type of the integration auth (e.g., github, gitlab, vercel).\").nullable().optional(),\n provider: z.string().describe(\"The provider name for the integration auth.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp when the integration auth was created (ISO 8601 format).\").nullable().optional(),\n provider_id: z.string().describe(\"The provider ID for the integration auth.\").nullable().optional(),\n}).passthrough().describe(\"Individual integration auth data.\");\nexport const RailwayListIntegrationAuthsOutput = z.object({\n integration_auths: z.array(RailwayListIntegrationAuths_IntegrationAuthSchema).describe(\"List of integration auths associated with the authenticated user.\").nullable().optional(),\n}).passthrough().describe(\"Response schema containing all integration auths for the authenticated user.\");\n\nexport const railwayListIntegrationAuths = action(\"RAILWAY_LIST_INTEGRATION_AUTHS\", {\n slug: \"railway-list-integration-auths\",\n name: \"List Integration Auths\",\n description: \"Retrieve all integration auths for the authenticated user from Railway. Use this action when you need to fetch the list of integration auths (such as GitHub, GitLab, Vercel, or other connected integrations) associated with the currently authenticated user. This is a read-only operation that returns auth metadata including the ID, name, type, and creation timestamp for each integration. The action queries the Railway GraphQL API and returns the complete list of integration auths.\",\n input: RailwayListIntegrationAuthsInput,\n output: RailwayListIntegrationAuthsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mDAAmD;AACzH,MAAM,oDAAoD,EAAE,OAAO;CACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAK7D,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT+C,EAAE,OAAO,EACxD,mBAAmB,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8EAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-integration-auths.mjs","names":[],"sources":["../../src/actions/list-integration-auths.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { railway } from \"../app\";\n\nexport const RailwayListIntegrationAuthsInput = z.object({}).describe(\"Request parameters for listing integration auths.\");\nconst RailwayListIntegrationAuths_IntegrationAuthSchema = z.object({\n id: z.string().describe(\"The unique identifier of the integration auth.\").nullable(),\n name: z.string().describe(\"The name of the integration auth (may not be available).\").nullable().optional(),\n type: z.string().describe(\"The type of the integration auth (e.g., github, gitlab, vercel).\").nullable().optional(),\n provider: z.string().describe(\"The provider name for the integration auth.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp when the integration auth was created (ISO 8601 format).\").nullable().optional(),\n provider_id: z.string().describe(\"The provider ID for the integration auth.\").nullable().optional(),\n}).passthrough().describe(\"Individual integration auth data.\");\nexport const RailwayListIntegrationAuthsOutput = z.object({\n integration_auths: z.array(RailwayListIntegrationAuths_IntegrationAuthSchema).describe(\"List of integration auths associated with the authenticated user.\").nullable().optional(),\n}).passthrough().describe(\"Response schema containing all integration auths for the authenticated user.\");\n\nexport const railwayListIntegrationAuths: AppAction<\n typeof RailwayListIntegrationAuthsInput,\n typeof RailwayListIntegrationAuthsOutput,\n typeof railway.credential\n> = action(\"RAILWAY_LIST_INTEGRATION_AUTHS\", {\n slug: \"railway-list-integration-auths\",\n name: \"List Integration Auths\",\n description: \"Retrieve all integration auths for the authenticated user from Railway. Use this action when you need to fetch the list of integration auths (such as GitHub, GitLab, Vercel, or other connected integrations) associated with the currently authenticated user. This is a read-only operation that returns auth metadata including the ID, name, type, and creation timestamp for each integration. The action queries the Railway GraphQL API and returns the complete list of integration auths.\",\n input: RailwayListIntegrationAuthsInput,\n output: RailwayListIntegrationAuthsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mDAAmD;AACzH,MAAM,oDAAoD,EAAE,OAAO;CACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAK7D,MAAa,8BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb+C,EAAE,OAAO,EACxD,mBAAmB,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8EAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-notification-deliveries.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-notification-deliveries.cjs","names":["z","action"],"sources":["../../src/actions/list-notification-deliveries.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayListNotificationDeliveriesInput = z.object({}).describe(\"Request parameters for listing notification deliveries.\");\nconst RailwayListNotificationDeliveries_NotificationDeliverySchema = z.object({\n id: z.string().describe(\"The unique identifier of the notification delivery.\").nullable(),\n type: z.string().describe(\"The type of notification delivery (e.g., 'EMAIL', 'WEBHOOK', 'SLACK').\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp when the notification delivery was created (ISO 8601 format).\").nullable().optional(),\n}).passthrough().describe(\"Individual notification delivery data.\");\nexport const RailwayListNotificationDeliveriesOutput = z.object({\n notification_deliveries: z.array(RailwayListNotificationDeliveries_NotificationDeliverySchema).describe(\"List of notification deliveries for the authenticated user.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing notification deliveries.\");\n\nexport const railwayListNotificationDeliveries = action(\"RAILWAY_LIST_NOTIFICATION_DELIVERIES\", {\n slug: \"railway-list-notification-deliveries\",\n name: \"List Notification Deliveries\",\n description: \"Retrieve notification deliveries for the authenticated user. Use this action when you need to fetch a list of notification deliveries, such as tracking which notifications have been sent (e.g., EMAIL, WEBHOOK, SLACK) and when they were created. This is a read-only operation that queries the Railway GraphQL API. The action supports pagination through the GraphQL edges/node pattern and returns basic notification delivery information including ID, type, and creation timestamp for each delivery.\",\n input: RailwayListNotificationDeliveriesInput,\n output: RailwayListNotificationDeliveriesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrI,MAAM,+DAA+DA,IAAAA,EAAE,OAAO;CAC5E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACxF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAa,0CAA0CA,IAAAA,EAAE,OAAO,EAC9D,yBAAyBA,IAAAA,EAAE,MAAM,4DAA4D,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7L,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,oCAAoCC,eAAAA,OAAO,wCAAwC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-notification-deliveries.cjs","names":["z","action"],"sources":["../../src/actions/list-notification-deliveries.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { railway } from \"../app\";\n\nexport const RailwayListNotificationDeliveriesInput = z.object({}).describe(\"Request parameters for listing notification deliveries.\");\nconst RailwayListNotificationDeliveries_NotificationDeliverySchema = z.object({\n id: z.string().describe(\"The unique identifier of the notification delivery.\").nullable(),\n type: z.string().describe(\"The type of notification delivery (e.g., 'EMAIL', 'WEBHOOK', 'SLACK').\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp when the notification delivery was created (ISO 8601 format).\").nullable().optional(),\n}).passthrough().describe(\"Individual notification delivery data.\");\nexport const RailwayListNotificationDeliveriesOutput = z.object({\n notification_deliveries: z.array(RailwayListNotificationDeliveries_NotificationDeliverySchema).describe(\"List of notification deliveries for the authenticated user.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing notification deliveries.\");\n\nexport const railwayListNotificationDeliveries: AppAction<\n typeof RailwayListNotificationDeliveriesInput,\n typeof RailwayListNotificationDeliveriesOutput,\n typeof railway.credential\n> = action(\"RAILWAY_LIST_NOTIFICATION_DELIVERIES\", {\n slug: \"railway-list-notification-deliveries\",\n name: \"List Notification Deliveries\",\n description: \"Retrieve notification deliveries for the authenticated user. Use this action when you need to fetch a list of notification deliveries, such as tracking which notifications have been sent (e.g., EMAIL, WEBHOOK, SLACK) and when they were created. This is a read-only operation that queries the Railway GraphQL API. The action supports pagination through the GraphQL edges/node pattern and returns basic notification delivery information including ID, type, and creation timestamp for each delivery.\",\n input: RailwayListNotificationDeliveriesInput,\n output: RailwayListNotificationDeliveriesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrI,MAAM,+DAA+DA,IAAAA,EAAE,OAAO;CAC5E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACxF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAa,0CAA0CA,IAAAA,EAAE,OAAO,EAC9D,yBAAyBA,IAAAA,EAAE,MAAM,4DAA4D,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7L,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,oCAITC,eAAAA,OAAO,wCAAwC;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { railway } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-notification-deliveries.d.ts
@@ -9,7 +11,7 @@ declare const RailwayListNotificationDeliveriesOutput: z.ZodObject<{
9
11
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
12
  }, z.core.$loose>>>>;
11
13
  }, z.core.$loose>;
12
- declare const railwayListNotificationDeliveries: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
+ declare const railwayListNotificationDeliveries: AppAction<typeof RailwayListNotificationDeliveriesInput, typeof RailwayListNotificationDeliveriesOutput, typeof railway.credential>;
13
15
  //#endregion
14
16
  export { railwayListNotificationDeliveries };
15
17
  //# sourceMappingURL=list-notification-deliveries.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-notification-deliveries.d.cts","names":[],"sources":["../../src/actions/list-notification-deliveries.ts"],"mappings":";;;cAIa,sCAAA,EAAsC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAMtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;cAIvC,iCAAA,gCAAiC,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-notification-deliveries.d.cts","names":[],"sources":["../../src/actions/list-notification-deliveries.ts"],"mappings":";;;;;cAMa,sCAAA,EAAsC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAMtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;cAIvC,iCAAA,EAAmC,SAAA,QACvC,sCAAA,SACA,uCAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { railway } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-notification-deliveries.d.ts
@@ -9,7 +11,7 @@ declare const RailwayListNotificationDeliveriesOutput: z.ZodObject<{
9
11
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
12
  }, z.core.$loose>>>>;
11
13
  }, z.core.$loose>;
12
- declare const railwayListNotificationDeliveries: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
+ declare const railwayListNotificationDeliveries: AppAction<typeof RailwayListNotificationDeliveriesInput, typeof RailwayListNotificationDeliveriesOutput, typeof railway.credential>;
13
15
  //#endregion
14
16
  export { railwayListNotificationDeliveries };
15
17
  //# sourceMappingURL=list-notification-deliveries.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-notification-deliveries.d.mts","names":[],"sources":["../../src/actions/list-notification-deliveries.ts"],"mappings":";;;cAIa,sCAAA,EAAsC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAMtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;cAIvC,iCAAA,gCAAiC,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-notification-deliveries.d.mts","names":[],"sources":["../../src/actions/list-notification-deliveries.ts"],"mappings":";;;;;cAMa,sCAAA,EAAsC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAMtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;cAIvC,iCAAA,EAAmC,SAAA,QACvC,sCAAA,SACA,uCAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-notification-deliveries.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-notification-deliveries.mjs","names":[],"sources":["../../src/actions/list-notification-deliveries.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayListNotificationDeliveriesInput = z.object({}).describe(\"Request parameters for listing notification deliveries.\");\nconst RailwayListNotificationDeliveries_NotificationDeliverySchema = z.object({\n id: z.string().describe(\"The unique identifier of the notification delivery.\").nullable(),\n type: z.string().describe(\"The type of notification delivery (e.g., 'EMAIL', 'WEBHOOK', 'SLACK').\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp when the notification delivery was created (ISO 8601 format).\").nullable().optional(),\n}).passthrough().describe(\"Individual notification delivery data.\");\nexport const RailwayListNotificationDeliveriesOutput = z.object({\n notification_deliveries: z.array(RailwayListNotificationDeliveries_NotificationDeliverySchema).describe(\"List of notification deliveries for the authenticated user.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing notification deliveries.\");\n\nexport const railwayListNotificationDeliveries = action(\"RAILWAY_LIST_NOTIFICATION_DELIVERIES\", {\n slug: \"railway-list-notification-deliveries\",\n name: \"List Notification Deliveries\",\n description: \"Retrieve notification deliveries for the authenticated user. Use this action when you need to fetch a list of notification deliveries, such as tracking which notifications have been sent (e.g., EMAIL, WEBHOOK, SLACK) and when they were created. This is a read-only operation that queries the Railway GraphQL API. The action supports pagination through the GraphQL edges/node pattern and returns basic notification delivery information including ID, type, and creation timestamp for each delivery.\",\n input: RailwayListNotificationDeliveriesInput,\n output: RailwayListNotificationDeliveriesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrI,MAAM,+DAA+D,EAAE,OAAO;CAC5E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACxF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAKlE,MAAa,oCAAoC,OAAO,wCAAwC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqD,EAAE,OAAO,EAC9D,yBAAyB,EAAE,MAAM,4DAA4D,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7L,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-notification-deliveries.mjs","names":[],"sources":["../../src/actions/list-notification-deliveries.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { railway } from \"../app\";\n\nexport const RailwayListNotificationDeliveriesInput = z.object({}).describe(\"Request parameters for listing notification deliveries.\");\nconst RailwayListNotificationDeliveries_NotificationDeliverySchema = z.object({\n id: z.string().describe(\"The unique identifier of the notification delivery.\").nullable(),\n type: z.string().describe(\"The type of notification delivery (e.g., 'EMAIL', 'WEBHOOK', 'SLACK').\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp when the notification delivery was created (ISO 8601 format).\").nullable().optional(),\n}).passthrough().describe(\"Individual notification delivery data.\");\nexport const RailwayListNotificationDeliveriesOutput = z.object({\n notification_deliveries: z.array(RailwayListNotificationDeliveries_NotificationDeliverySchema).describe(\"List of notification deliveries for the authenticated user.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing notification deliveries.\");\n\nexport const railwayListNotificationDeliveries: AppAction<\n typeof RailwayListNotificationDeliveriesInput,\n typeof RailwayListNotificationDeliveriesOutput,\n typeof railway.credential\n> = action(\"RAILWAY_LIST_NOTIFICATION_DELIVERIES\", {\n slug: \"railway-list-notification-deliveries\",\n name: \"List Notification Deliveries\",\n description: \"Retrieve notification deliveries for the authenticated user. Use this action when you need to fetch a list of notification deliveries, such as tracking which notifications have been sent (e.g., EMAIL, WEBHOOK, SLACK) and when they were created. This is a read-only operation that queries the Railway GraphQL API. The action supports pagination through the GraphQL edges/node pattern and returns basic notification delivery information including ID, type, and creation timestamp for each delivery.\",\n input: RailwayListNotificationDeliveriesInput,\n output: RailwayListNotificationDeliveriesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yCAAyC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrI,MAAM,+DAA+D,EAAE,OAAO;CAC5E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACxF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAKlE,MAAa,oCAIT,OAAO,wCAAwC;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbqD,EAAE,OAAO,EAC9D,yBAAyB,EAAE,MAAM,4DAA4D,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7L,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-trusted-domains.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-trusted-domains.cjs","names":["z","action"],"sources":["../../src/actions/list-trusted-domains.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayListTrustedDomainsInput = z.object({\n workspaceId: z.string().describe(\"The workspace ID to retrieve trusted domains for. If not provided, uses the authenticated user's workspace.\").optional(),\n}).describe(\"Request parameters for listing Railway trusted domains.\");\nconst RailwayListTrustedDomains_TrustedDomainSchema = z.object({\n id: z.string().describe(\"The unique identifier of the trusted domain.\").nullable(),\n domain: z.string().describe(\"The domain name that is trusted for workspace invitations.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the trusted domain was created.\").nullable().optional(),\n}).passthrough().describe(\"Individual trusted domain data.\");\nexport const RailwayListTrustedDomainsOutput = z.object({\n trusted_domains: z.array(RailwayListTrustedDomains_TrustedDomainSchema).describe(\"List of trusted domains for the workspace.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing Railway trusted domains.\");\n\nexport const railwayListTrustedDomains = action(\"RAILWAY_LIST_TRUSTED_DOMAINS\", {\n slug: \"railway-list-trusted-domains\",\n name: \"List Railway Trusted Domains\",\n description: \"Fetch all trusted domains for the authenticated Railway workspace. Use this action when you need to retrieve all trusted domains configured for workspace membership invitations. Trusted domains allow users with emails from those domains to be invited to the workspace without individual invitations. This is useful for auditing existing domain configurations or obtaining domain IDs for deletion operations. This action requires authentication and will return domains from the workspace associated with the provided credentials.\",\n input: RailwayListTrustedDomainsInput,\n output: RailwayListTrustedDomainsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS,EAC3J,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAC3D,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,iBAAiBA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-trusted-domains.cjs","names":["z","action"],"sources":["../../src/actions/list-trusted-domains.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { railway } from \"../app\";\n\nexport const RailwayListTrustedDomainsInput = z.object({\n workspaceId: z.string().describe(\"The workspace ID to retrieve trusted domains for. If not provided, uses the authenticated user's workspace.\").optional(),\n}).describe(\"Request parameters for listing Railway trusted domains.\");\nconst RailwayListTrustedDomains_TrustedDomainSchema = z.object({\n id: z.string().describe(\"The unique identifier of the trusted domain.\").nullable(),\n domain: z.string().describe(\"The domain name that is trusted for workspace invitations.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the trusted domain was created.\").nullable().optional(),\n}).passthrough().describe(\"Individual trusted domain data.\");\nexport const RailwayListTrustedDomainsOutput = z.object({\n trusted_domains: z.array(RailwayListTrustedDomains_TrustedDomainSchema).describe(\"List of trusted domains for the workspace.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing Railway trusted domains.\");\n\nexport const railwayListTrustedDomains: AppAction<\n typeof RailwayListTrustedDomainsInput,\n typeof RailwayListTrustedDomainsOutput,\n typeof railway.credential\n> = action(\"RAILWAY_LIST_TRUSTED_DOMAINS\", {\n slug: \"railway-list-trusted-domains\",\n name: \"List Railway Trusted Domains\",\n description: \"Fetch all trusted domains for the authenticated Railway workspace. Use this action when you need to retrieve all trusted domains configured for workspace membership invitations. Trusted domains allow users with emails from those domains to be invited to the workspace without individual invitations. This is useful for auditing existing domain configurations or obtaining domain IDs for deletion operations. This action requires authentication and will return domains from the workspace associated with the provided credentials.\",\n input: RailwayListTrustedDomainsInput,\n output: RailwayListTrustedDomainsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS,EAC3J,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAC3D,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,iBAAiBA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,4BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { railway } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-trusted-domains.d.ts
@@ -11,9 +13,7 @@ declare const RailwayListTrustedDomainsOutput: z.ZodObject<{
11
13
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
14
  }, z.core.$loose>>>>;
13
15
  }, z.core.$loose>;
14
- declare const railwayListTrustedDomains: import("@keystrokehq/action").WorkflowActionDefinition<{
15
- workspaceId?: string | undefined;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
16
+ declare const railwayListTrustedDomains: AppAction<typeof RailwayListTrustedDomainsInput, typeof RailwayListTrustedDomainsOutput, typeof railway.credential>;
17
17
  //#endregion
18
18
  export { railwayListTrustedDomains };
19
19
  //# sourceMappingURL=list-trusted-domains.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-trusted-domains.d.cts","names":[],"sources":["../../src/actions/list-trusted-domains.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAQ9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"list-trusted-domains.d.cts","names":[],"sources":["../../src/actions/list-trusted-domains.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAQ9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { railway } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-trusted-domains.d.ts
@@ -11,9 +13,7 @@ declare const RailwayListTrustedDomainsOutput: z.ZodObject<{
11
13
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
14
  }, z.core.$loose>>>>;
13
15
  }, z.core.$loose>;
14
- declare const railwayListTrustedDomains: import("@keystrokehq/action").WorkflowActionDefinition<{
15
- workspaceId?: string | undefined;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
16
+ declare const railwayListTrustedDomains: AppAction<typeof RailwayListTrustedDomainsInput, typeof RailwayListTrustedDomainsOutput, typeof railway.credential>;
17
17
  //#endregion
18
18
  export { railwayListTrustedDomains };
19
19
  //# sourceMappingURL=list-trusted-domains.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-trusted-domains.d.mts","names":[],"sources":["../../src/actions/list-trusted-domains.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAQ9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"list-trusted-domains.d.mts","names":[],"sources":["../../src/actions/list-trusted-domains.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAQ9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-trusted-domains.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-trusted-domains.mjs","names":[],"sources":["../../src/actions/list-trusted-domains.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayListTrustedDomainsInput = z.object({\n workspaceId: z.string().describe(\"The workspace ID to retrieve trusted domains for. If not provided, uses the authenticated user's workspace.\").optional(),\n}).describe(\"Request parameters for listing Railway trusted domains.\");\nconst RailwayListTrustedDomains_TrustedDomainSchema = z.object({\n id: z.string().describe(\"The unique identifier of the trusted domain.\").nullable(),\n domain: z.string().describe(\"The domain name that is trusted for workspace invitations.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the trusted domain was created.\").nullable().optional(),\n}).passthrough().describe(\"Individual trusted domain data.\");\nexport const RailwayListTrustedDomainsOutput = z.object({\n trusted_domains: z.array(RailwayListTrustedDomains_TrustedDomainSchema).describe(\"List of trusted domains for the workspace.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing Railway trusted domains.\");\n\nexport const railwayListTrustedDomains = action(\"RAILWAY_LIST_TRUSTED_DOMAINS\", {\n slug: \"railway-list-trusted-domains\",\n name: \"List Railway Trusted Domains\",\n description: \"Fetch all trusted domains for the authenticated Railway workspace. Use this action when you need to retrieve all trusted domains configured for workspace membership invitations. Trusted domains allow users with emails from those domains to be invited to the workspace without individual invitations. This is useful for auditing existing domain configurations or obtaining domain IDs for deletion operations. This action requires authentication and will return domains from the workspace associated with the provided credentials.\",\n input: RailwayListTrustedDomainsInput,\n output: RailwayListTrustedDomainsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO,EACrD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS,EAC3J,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,gDAAgD,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACnG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAK3D,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6C,EAAE,OAAO,EACtD,iBAAiB,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-trusted-domains.mjs","names":[],"sources":["../../src/actions/list-trusted-domains.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { railway } from \"../app\";\n\nexport const RailwayListTrustedDomainsInput = z.object({\n workspaceId: z.string().describe(\"The workspace ID to retrieve trusted domains for. If not provided, uses the authenticated user's workspace.\").optional(),\n}).describe(\"Request parameters for listing Railway trusted domains.\");\nconst RailwayListTrustedDomains_TrustedDomainSchema = z.object({\n id: z.string().describe(\"The unique identifier of the trusted domain.\").nullable(),\n domain: z.string().describe(\"The domain name that is trusted for workspace invitations.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the trusted domain was created.\").nullable().optional(),\n}).passthrough().describe(\"Individual trusted domain data.\");\nexport const RailwayListTrustedDomainsOutput = z.object({\n trusted_domains: z.array(RailwayListTrustedDomains_TrustedDomainSchema).describe(\"List of trusted domains for the workspace.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing Railway trusted domains.\");\n\nexport const railwayListTrustedDomains: AppAction<\n typeof RailwayListTrustedDomainsInput,\n typeof RailwayListTrustedDomainsOutput,\n typeof railway.credential\n> = action(\"RAILWAY_LIST_TRUSTED_DOMAINS\", {\n slug: \"railway-list-trusted-domains\",\n name: \"List Railway Trusted Domains\",\n description: \"Fetch all trusted domains for the authenticated Railway workspace. Use this action when you need to retrieve all trusted domains configured for workspace membership invitations. Trusted domains allow users with emails from those domains to be invited to the workspace without individual invitations. This is useful for auditing existing domain configurations or obtaining domain IDs for deletion operations. This action requires authentication and will return domains from the workspace associated with the provided credentials.\",\n input: RailwayListTrustedDomainsInput,\n output: RailwayListTrustedDomainsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiC,EAAE,OAAO,EACrD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS,EAC3J,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,gDAAgD,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACnG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAK3D,MAAa,4BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb6C,EAAE,OAAO,EACtD,iBAAiB,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/update-project.ts
@@ -1 +1 @@
1
- {"version":3,"file":"update-project.cjs","names":["z","action"],"sources":["../../src/actions/update-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayUpdateProjectInput = z.object({\n id: z.string().describe(\"The unique identifier of the project to update.\"),\n input: z.object({\n is_public: z.boolean().describe(\"Make the project publicly visible. When set to true, the project and its deployments are visible to anyone with the link.\").optional(),\n pr_deploys: z.boolean().describe(\"Enable pull request preview deployments. When enabled, Railway will automatically create preview environments for pull requests.\").optional(),\n description: z.string().describe(\"A brief description of the project.\").optional(),\n}).describe(\"The update configuration for the project.\"),\n}).describe(\"Request parameters for updating a Railway project.\");\nexport const RailwayUpdateProjectOutput = z.object({\n id: z.string().describe(\"The unique identifier of the updated project.\").nullable(),\n name: z.string().describe(\"The name of the project after update.\").nullable().optional(),\n description: z.string().describe(\"The description of the project after update.\").nullable().optional(),\n}).passthrough().describe(\"Response from the project update mutation.\");\n\nexport const railwayUpdateProject = action(\"RAILWAY_UPDATE_PROJECT\", {\n slug: \"railway-update-project\",\n name: \"Update Project\",\n description: \"Update project settings and configuration on Railway. Use this action when you need to modify project properties such as description, visibility settings, or PR deploy preferences. The following fields can be updated: - description: A brief description of the project - isPublic: Whether the project is publicly visible - prDeploys: Whether pull request preview deployments are enabled This is an idempotent operation — updating a project with the same settings multiple times will not change the result after the first update.\",\n input: RailwayUpdateProjectInput,\n output: RailwayUpdateProjectOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CACzE,OAAOA,IAAAA,EAAE,OAAO;EAChB,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;EACtK,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS;EAC9K,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACnF,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-project.cjs","names":["z","action"],"sources":["../../src/actions/update-project.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { railway } from \"../app\";\n\nexport const RailwayUpdateProjectInput = z.object({\n id: z.string().describe(\"The unique identifier of the project to update.\"),\n input: z.object({\n is_public: z.boolean().describe(\"Make the project publicly visible. When set to true, the project and its deployments are visible to anyone with the link.\").optional(),\n pr_deploys: z.boolean().describe(\"Enable pull request preview deployments. When enabled, Railway will automatically create preview environments for pull requests.\").optional(),\n description: z.string().describe(\"A brief description of the project.\").optional(),\n}).describe(\"The update configuration for the project.\"),\n}).describe(\"Request parameters for updating a Railway project.\");\nexport const RailwayUpdateProjectOutput = z.object({\n id: z.string().describe(\"The unique identifier of the updated project.\").nullable(),\n name: z.string().describe(\"The name of the project after update.\").nullable().optional(),\n description: z.string().describe(\"The description of the project after update.\").nullable().optional(),\n}).passthrough().describe(\"Response from the project update mutation.\");\n\nexport const railwayUpdateProject: AppAction<\n typeof RailwayUpdateProjectInput,\n typeof RailwayUpdateProjectOutput,\n typeof railway.credential\n> = action(\"RAILWAY_UPDATE_PROJECT\", {\n slug: \"railway-update-project\",\n name: \"Update Project\",\n description: \"Update project settings and configuration on Railway. Use this action when you need to modify project properties such as description, visibility settings, or PR deploy preferences. The following fields can be updated: - description: A brief description of the project - isPublic: Whether the project is publicly visible - prDeploys: Whether pull request preview deployments are enabled This is an idempotent operation — updating a project with the same settings multiple times will not change the result after the first update.\",\n input: RailwayUpdateProjectInput,\n output: RailwayUpdateProjectOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CACzE,OAAOA,IAAAA,EAAE,OAAO;EAChB,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;EACtK,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS;EAC9K,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACnF,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { railway } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-project.d.ts
@@ -14,14 +16,7 @@ declare const RailwayUpdateProjectOutput: z.ZodObject<{
14
16
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
17
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
18
  }, z.core.$loose>;
17
- declare const railwayUpdateProject: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- id: string;
19
- input: {
20
- is_public?: boolean | undefined;
21
- pr_deploys?: boolean | undefined;
22
- description?: string | undefined;
23
- };
24
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ declare const railwayUpdateProject: AppAction<typeof RailwayUpdateProjectInput, typeof RailwayUpdateProjectOutput, typeof railway.credential>;
25
20
  //#endregion
26
21
  export { railwayUpdateProject };
27
22
  //# sourceMappingURL=update-project.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-project.d.cts","names":[],"sources":["../../src/actions/update-project.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cAQzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAM1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"update-project.d.cts","names":[],"sources":["../../src/actions/update-project.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cAQzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAM1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { railway } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-project.d.ts
@@ -14,14 +16,7 @@ declare const RailwayUpdateProjectOutput: z.ZodObject<{
14
16
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
17
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
18
  }, z.core.$loose>;
17
- declare const railwayUpdateProject: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- id: string;
19
- input: {
20
- is_public?: boolean | undefined;
21
- pr_deploys?: boolean | undefined;
22
- description?: string | undefined;
23
- };
24
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ declare const railwayUpdateProject: AppAction<typeof RailwayUpdateProjectInput, typeof RailwayUpdateProjectOutput, typeof railway.credential>;
25
20
  //#endregion
26
21
  export { railwayUpdateProject };
27
22
  //# sourceMappingURL=update-project.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-project.d.mts","names":[],"sources":["../../src/actions/update-project.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cAQzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAM1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"update-project.d.mts","names":[],"sources":["../../src/actions/update-project.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cAQzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAM1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const railwayUpdateProject = action("RAILWAY_UPDATE_PROJECT", {
@@ -1 +1 @@
1
- {"version":3,"file":"update-project.mjs","names":[],"sources":["../../src/actions/update-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayUpdateProjectInput = z.object({\n id: z.string().describe(\"The unique identifier of the project to update.\"),\n input: z.object({\n is_public: z.boolean().describe(\"Make the project publicly visible. When set to true, the project and its deployments are visible to anyone with the link.\").optional(),\n pr_deploys: z.boolean().describe(\"Enable pull request preview deployments. When enabled, Railway will automatically create preview environments for pull requests.\").optional(),\n description: z.string().describe(\"A brief description of the project.\").optional(),\n}).describe(\"The update configuration for the project.\"),\n}).describe(\"Request parameters for updating a Railway project.\");\nexport const RailwayUpdateProjectOutput = z.object({\n id: z.string().describe(\"The unique identifier of the updated project.\").nullable(),\n name: z.string().describe(\"The name of the project after update.\").nullable().optional(),\n description: z.string().describe(\"The description of the project after update.\").nullable().optional(),\n}).passthrough().describe(\"Response from the project update mutation.\");\n\nexport const railwayUpdateProject = action(\"RAILWAY_UPDATE_PROJECT\", {\n slug: \"railway-update-project\",\n name: \"Update Project\",\n description: \"Update project settings and configuration on Railway. Use this action when you need to modify project properties such as description, visibility settings, or PR deploy preferences. The following fields can be updated: - description: A brief description of the project - isPublic: Whether the project is publicly visible - prDeploys: Whether pull request preview deployments are enabled This is an idempotent operation — updating a project with the same settings multiple times will not change the result after the first update.\",\n input: RailwayUpdateProjectInput,\n output: RailwayUpdateProjectOutput,\n});\n"],"mappings":";;AAkBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBuC,EAAE,OAAO;EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EACzE,OAAO,EAAE,OAAO;GAChB,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;GACtK,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS;GAC9K,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EACnF,CAAC,CAAC,CAAC,SAAS,2CAA2C;CACvD,CAAC,CAAC,CAAC,SAAS,oDAWH;CACP,QAXwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"update-project.mjs","names":[],"sources":["../../src/actions/update-project.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { railway } from \"../app\";\n\nexport const RailwayUpdateProjectInput = z.object({\n id: z.string().describe(\"The unique identifier of the project to update.\"),\n input: z.object({\n is_public: z.boolean().describe(\"Make the project publicly visible. When set to true, the project and its deployments are visible to anyone with the link.\").optional(),\n pr_deploys: z.boolean().describe(\"Enable pull request preview deployments. When enabled, Railway will automatically create preview environments for pull requests.\").optional(),\n description: z.string().describe(\"A brief description of the project.\").optional(),\n}).describe(\"The update configuration for the project.\"),\n}).describe(\"Request parameters for updating a Railway project.\");\nexport const RailwayUpdateProjectOutput = z.object({\n id: z.string().describe(\"The unique identifier of the updated project.\").nullable(),\n name: z.string().describe(\"The name of the project after update.\").nullable().optional(),\n description: z.string().describe(\"The description of the project after update.\").nullable().optional(),\n}).passthrough().describe(\"Response from the project update mutation.\");\n\nexport const railwayUpdateProject: AppAction<\n typeof RailwayUpdateProjectInput,\n typeof RailwayUpdateProjectOutput,\n typeof railway.credential\n> = action(\"RAILWAY_UPDATE_PROJECT\", {\n slug: \"railway-update-project\",\n name: \"Update Project\",\n description: \"Update project settings and configuration on Railway. Use this action when you need to modify project properties such as description, visibility settings, or PR deploy preferences. The following fields can be updated: - description: A brief description of the project - isPublic: Whether the project is publicly visible - prDeploys: Whether pull request preview deployments are enabled This is an idempotent operation — updating a project with the same settings multiple times will not change the result after the first update.\",\n input: RailwayUpdateProjectInput,\n output: RailwayUpdateProjectOutput,\n});\n"],"mappings":";;;AAoBA,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBuC,EAAE,OAAO;EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EACzE,OAAO,EAAE,OAAO;GAChB,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;GACtK,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS;GAC9K,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EACnF,CAAC,CAAC,CAAC,SAAS,2CAA2C;CACvD,CAAC,CAAC,CAAC,SAAS,oDAeH;CACP,QAfwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/update-service-instance.ts
@@ -1 +1 @@
1
- {"version":3,"file":"update-service-instance.cjs","names":["z","action"],"sources":["../../src/actions/update-service-instance.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayUpdateServiceInstanceInput = z.object({\n input: z.object({\n region: z.string().describe(\"Deployment region (e.g., 'us-west1', 'eu-west1').\").optional(),\n num_replicas: z.number().int().describe(\"Number of replicas. Default: 1.\").optional(),\n build_command: z.string().describe(\"Custom build command.\").optional(),\n cron_schedule: z.string().describe(\"Cron expression for scheduled deployments (e.g., '0 0 * * *').\").optional(),\n start_command: z.string().describe(\"Custom start command (e.g., 'npm run start').\").optional(),\n root_directory: z.string().describe(\"Root directory for monorepos.\").optional(),\n watch_patterns: z.array(z.string()).describe(\"File patterns to watch for automatic redeployments.\").optional(),\n dockerfile_path: z.string().describe(\"Custom Dockerfile path.\").optional(),\n healthcheck_path: z.string().describe(\"Health check endpoint path.\").optional(),\n sleep_application: z.boolean().describe(\"Enable sleep when idle to reduce resource usage.\").optional(),\n healthcheck_timeout: z.number().int().describe(\"Health check timeout in seconds. Default: 300.\").optional(),\n restart_policy_type: z.enum([\"ON_FAILURE\", \"ALWAYS\", \"NEVER\"]).describe(\"Restart policy types for service instances.\").optional(),\n restart_policy_max_retries: z.number().int().describe(\"Maximum restart retries. Default: 10.\").optional(),\n}).describe(\"The update configuration for the service instance.\"),\n service_id: z.string().describe(\"The unique identifier of the service to update.\"),\n environment_id: z.string().describe(\"The unique identifier of the environment.\"),\n}).describe(\"Request parameters for updating a Railway service instance.\");\nexport const RailwayUpdateServiceInstanceOutput = z.object({\n service_instance_update: z.boolean().describe(\"Returns true if the update was successful, null if there was an error.\").nullable().optional(),\n}).passthrough().describe(\"Response from the service instance update mutation.\");\n\nexport const railwayUpdateServiceInstance = action(\"RAILWAY_UPDATE_SERVICE_INSTANCE\", {\n slug: \"railway-update-service-instance\",\n name: \"Update Service Instance\",\n description: \"Update build/deploy settings for a service in a specific environment on Railway. Use this action when you need to modify service configuration including commands, healthcheck, replicas, region, and cron schedule. This is an idempotent operation. The following fields can be updated: - startCommand: Custom start command for the service - buildCommand: Custom build command - rootDirectory: Root directory for monorepo setups - healthcheckPath: Health check endpoint path - healthcheckTimeout: Health check timeout in seconds - region: Deployment region - numReplicas: Number of service replicas - restartPolicyType: Restart policy (ON_FAILURE, ALWAYS, NEVER) - restartPolicyMaxRetries: Maximum restart retries - cronSchedule: Cron expression for scheduled deployments - sleepApplication: Enable/disable sleep when idle - dockerfilePath: Custom Dockerfile path - watchPatterns: File patterns for automatic redeployment\",\n input: RailwayUpdateServiceInstanceInput,\n output: RailwayUpdateServiceInstanceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,OAAOA,IAAAA,EAAE,OAAO;EAChB,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC1F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACpF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EACrE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EAC9G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAC7F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EAC9E,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAC7G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EACzE,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EAC9E,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACrG,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAC1G,qBAAqBA,IAAAA,EAAE,KAAK;GAAC;GAAc;GAAU;EAAO,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAChI,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,SAAS,oDAAoD;CAC9D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CACjF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;AACjF,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,yBAAyBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-service-instance.cjs","names":["z","action"],"sources":["../../src/actions/update-service-instance.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { railway } from \"../app\";\n\nexport const RailwayUpdateServiceInstanceInput = z.object({\n input: z.object({\n region: z.string().describe(\"Deployment region (e.g., 'us-west1', 'eu-west1').\").optional(),\n num_replicas: z.number().int().describe(\"Number of replicas. Default: 1.\").optional(),\n build_command: z.string().describe(\"Custom build command.\").optional(),\n cron_schedule: z.string().describe(\"Cron expression for scheduled deployments (e.g., '0 0 * * *').\").optional(),\n start_command: z.string().describe(\"Custom start command (e.g., 'npm run start').\").optional(),\n root_directory: z.string().describe(\"Root directory for monorepos.\").optional(),\n watch_patterns: z.array(z.string()).describe(\"File patterns to watch for automatic redeployments.\").optional(),\n dockerfile_path: z.string().describe(\"Custom Dockerfile path.\").optional(),\n healthcheck_path: z.string().describe(\"Health check endpoint path.\").optional(),\n sleep_application: z.boolean().describe(\"Enable sleep when idle to reduce resource usage.\").optional(),\n healthcheck_timeout: z.number().int().describe(\"Health check timeout in seconds. Default: 300.\").optional(),\n restart_policy_type: z.enum([\"ON_FAILURE\", \"ALWAYS\", \"NEVER\"]).describe(\"Restart policy types for service instances.\").optional(),\n restart_policy_max_retries: z.number().int().describe(\"Maximum restart retries. Default: 10.\").optional(),\n}).describe(\"The update configuration for the service instance.\"),\n service_id: z.string().describe(\"The unique identifier of the service to update.\"),\n environment_id: z.string().describe(\"The unique identifier of the environment.\"),\n}).describe(\"Request parameters for updating a Railway service instance.\");\nexport const RailwayUpdateServiceInstanceOutput = z.object({\n service_instance_update: z.boolean().describe(\"Returns true if the update was successful, null if there was an error.\").nullable().optional(),\n}).passthrough().describe(\"Response from the service instance update mutation.\");\n\nexport const railwayUpdateServiceInstance: AppAction<\n typeof RailwayUpdateServiceInstanceInput,\n typeof RailwayUpdateServiceInstanceOutput,\n typeof railway.credential\n> = action(\"RAILWAY_UPDATE_SERVICE_INSTANCE\", {\n slug: \"railway-update-service-instance\",\n name: \"Update Service Instance\",\n description: \"Update build/deploy settings for a service in a specific environment on Railway. Use this action when you need to modify service configuration including commands, healthcheck, replicas, region, and cron schedule. This is an idempotent operation. The following fields can be updated: - startCommand: Custom start command for the service - buildCommand: Custom build command - rootDirectory: Root directory for monorepo setups - healthcheckPath: Health check endpoint path - healthcheckTimeout: Health check timeout in seconds - region: Deployment region - numReplicas: Number of service replicas - restartPolicyType: Restart policy (ON_FAILURE, ALWAYS, NEVER) - restartPolicyMaxRetries: Maximum restart retries - cronSchedule: Cron expression for scheduled deployments - sleepApplication: Enable/disable sleep when idle - dockerfilePath: Custom Dockerfile path - watchPatterns: File patterns for automatic redeployment\",\n input: RailwayUpdateServiceInstanceInput,\n output: RailwayUpdateServiceInstanceOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,OAAOA,IAAAA,EAAE,OAAO;EAChB,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC1F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACpF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EACrE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EAC9G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAC7F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EAC9E,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAC7G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EACzE,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EAC9E,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACrG,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAC1G,qBAAqBA,IAAAA,EAAE,KAAK;GAAC;GAAc;GAAU;EAAO,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAChI,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,SAAS,oDAAoD;CAC9D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CACjF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;AACjF,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,yBAAyBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,+BAITC,eAAAA,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { railway } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-service-instance.d.ts
@@ -27,25 +29,7 @@ declare const RailwayUpdateServiceInstanceInput: z.ZodObject<{
27
29
  declare const RailwayUpdateServiceInstanceOutput: z.ZodObject<{
28
30
  service_instance_update: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
29
31
  }, z.core.$loose>;
30
- declare const railwayUpdateServiceInstance: import("@keystrokehq/action").WorkflowActionDefinition<{
31
- input: {
32
- region?: string | undefined;
33
- num_replicas?: number | undefined;
34
- build_command?: string | undefined;
35
- cron_schedule?: string | undefined;
36
- start_command?: string | undefined;
37
- root_directory?: string | undefined;
38
- watch_patterns?: string[] | undefined;
39
- dockerfile_path?: string | undefined;
40
- healthcheck_path?: string | undefined;
41
- sleep_application?: boolean | undefined;
42
- healthcheck_timeout?: number | undefined;
43
- restart_policy_type?: "ON_FAILURE" | "ALWAYS" | "NEVER" | undefined;
44
- restart_policy_max_retries?: number | undefined;
45
- };
46
- service_id: string;
47
- environment_id: string;
48
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
32
+ declare const railwayUpdateServiceInstance: AppAction<typeof RailwayUpdateServiceInstanceInput, typeof RailwayUpdateServiceInstanceOutput, typeof railway.credential>;
49
33
  //#endregion
50
34
  export { railwayUpdateServiceInstance };
51
35
  //# sourceMappingURL=update-service-instance.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-service-instance.d.cts","names":[],"sources":["../../src/actions/update-service-instance.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAmBjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAIlC,4BAAA,gCAA4B,wBAAA"}
1
+ {"version":3,"file":"update-service-instance.d.cts","names":[],"sources":["../../src/actions/update-service-instance.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAmBjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAIlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,OAAA,CAAQ,UAAA"}