@keystrokehq/railway 0.1.0 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (153) 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 +8 -8
  4. package/dist/actions/create-plugin.cjs.map +1 -1
  5. package/dist/actions/create-plugin.d.cts +20 -3
  6. package/dist/actions/create-plugin.d.cts.map +1 -1
  7. package/dist/actions/create-plugin.d.mts +20 -3
  8. package/dist/actions/create-plugin.d.mts.map +1 -1
  9. package/dist/actions/create-plugin.mjs +8 -8
  10. package/dist/actions/create-plugin.mjs.map +1 -1
  11. package/dist/actions/delete-variable.cjs +1 -1
  12. package/dist/actions/delete-variable.cjs.map +1 -1
  13. package/dist/actions/delete-variable.d.cts +15 -3
  14. package/dist/actions/delete-variable.d.cts.map +1 -1
  15. package/dist/actions/delete-variable.d.mts +15 -3
  16. package/dist/actions/delete-variable.d.mts.map +1 -1
  17. package/dist/actions/delete-variable.mjs +1 -1
  18. package/dist/actions/delete-variable.mjs.map +1 -1
  19. package/dist/actions/delete-volume.cjs +1 -1
  20. package/dist/actions/delete-volume.cjs.map +1 -1
  21. package/dist/actions/delete-volume.d.cts +9 -3
  22. package/dist/actions/delete-volume.d.cts.map +1 -1
  23. package/dist/actions/delete-volume.d.mts +9 -3
  24. package/dist/actions/delete-volume.d.mts.map +1 -1
  25. package/dist/actions/delete-volume.mjs +1 -1
  26. package/dist/actions/delete-volume.mjs.map +1 -1
  27. package/dist/actions/delete-workspace.cjs +4 -4
  28. package/dist/actions/delete-workspace.cjs.map +1 -1
  29. package/dist/actions/delete-workspace.d.cts +15 -3
  30. package/dist/actions/delete-workspace.d.cts.map +1 -1
  31. package/dist/actions/delete-workspace.d.mts +15 -3
  32. package/dist/actions/delete-workspace.d.mts.map +1 -1
  33. package/dist/actions/delete-workspace.mjs +4 -4
  34. package/dist/actions/delete-workspace.mjs.map +1 -1
  35. package/dist/actions/disconnect-user-discord.cjs +1 -1
  36. package/dist/actions/disconnect-user-discord.cjs.map +1 -1
  37. package/dist/actions/disconnect-user-discord.d.cts +5 -3
  38. package/dist/actions/disconnect-user-discord.d.cts.map +1 -1
  39. package/dist/actions/disconnect-user-discord.d.mts +5 -3
  40. package/dist/actions/disconnect-user-discord.d.mts.map +1 -1
  41. package/dist/actions/disconnect-user-discord.mjs +1 -1
  42. package/dist/actions/disconnect-user-discord.mjs.map +1 -1
  43. package/dist/actions/get-deployment-logs.cjs +2 -2
  44. package/dist/actions/get-deployment-logs.cjs.map +1 -1
  45. package/dist/actions/get-deployment-logs.d.cts +15 -3
  46. package/dist/actions/get-deployment-logs.d.cts.map +1 -1
  47. package/dist/actions/get-deployment-logs.d.mts +15 -3
  48. package/dist/actions/get-deployment-logs.d.mts.map +1 -1
  49. package/dist/actions/get-deployment-logs.mjs +2 -2
  50. package/dist/actions/get-deployment-logs.mjs.map +1 -1
  51. package/dist/actions/get-environment.cjs +5 -5
  52. package/dist/actions/get-environment.cjs.map +1 -1
  53. package/dist/actions/get-environment.d.cts +23 -3
  54. package/dist/actions/get-environment.d.cts.map +1 -1
  55. package/dist/actions/get-environment.d.mts +23 -3
  56. package/dist/actions/get-environment.d.mts.map +1 -1
  57. package/dist/actions/get-environment.mjs +5 -5
  58. package/dist/actions/get-environment.mjs.map +1 -1
  59. package/dist/actions/get-git-hub-pr-info.cjs +1 -1
  60. package/dist/actions/get-git-hub-pr-info.cjs.map +1 -1
  61. package/dist/actions/get-git-hub-pr-info.d.cts +18 -3
  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 +18 -3
  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 -1
  66. package/dist/actions/get-git-hub-pr-info.mjs.map +1 -1
  67. package/dist/actions/get-user-kickback-earnings.cjs +2 -2
  68. package/dist/actions/get-user-kickback-earnings.cjs.map +1 -1
  69. package/dist/actions/get-user-kickback-earnings.d.cts +7 -3
  70. package/dist/actions/get-user-kickback-earnings.d.cts.map +1 -1
  71. package/dist/actions/get-user-kickback-earnings.d.mts +7 -3
  72. package/dist/actions/get-user-kickback-earnings.d.mts.map +1 -1
  73. package/dist/actions/get-user-kickback-earnings.mjs +2 -2
  74. package/dist/actions/get-user-kickback-earnings.mjs.map +1 -1
  75. package/dist/actions/list-api-tokens.cjs +5 -5
  76. package/dist/actions/list-api-tokens.cjs.map +1 -1
  77. package/dist/actions/list-api-tokens.d.cts +9 -3
  78. package/dist/actions/list-api-tokens.d.cts.map +1 -1
  79. package/dist/actions/list-api-tokens.d.mts +9 -3
  80. package/dist/actions/list-api-tokens.d.mts.map +1 -1
  81. package/dist/actions/list-api-tokens.mjs +5 -5
  82. package/dist/actions/list-api-tokens.mjs.map +1 -1
  83. package/dist/actions/list-environment-patches.cjs +2 -2
  84. package/dist/actions/list-environment-patches.cjs.map +1 -1
  85. package/dist/actions/list-environment-patches.d.cts +17 -3
  86. package/dist/actions/list-environment-patches.d.cts.map +1 -1
  87. package/dist/actions/list-environment-patches.d.mts +17 -3
  88. package/dist/actions/list-environment-patches.d.mts.map +1 -1
  89. package/dist/actions/list-environment-patches.mjs +2 -2
  90. package/dist/actions/list-environment-patches.mjs.map +1 -1
  91. package/dist/actions/list-git-hub-repos.cjs +5 -5
  92. package/dist/actions/list-git-hub-repos.cjs.map +1 -1
  93. package/dist/actions/list-git-hub-repos.d.cts +9 -3
  94. package/dist/actions/list-git-hub-repos.d.cts.map +1 -1
  95. package/dist/actions/list-git-hub-repos.d.mts +9 -3
  96. package/dist/actions/list-git-hub-repos.d.mts.map +1 -1
  97. package/dist/actions/list-git-hub-repos.mjs +5 -5
  98. package/dist/actions/list-git-hub-repos.mjs.map +1 -1
  99. package/dist/actions/list-git-hub-writable-scopes.cjs +1 -1
  100. package/dist/actions/list-git-hub-writable-scopes.cjs.map +1 -1
  101. package/dist/actions/list-git-hub-writable-scopes.d.cts +5 -3
  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 +5 -3
  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 -1
  106. package/dist/actions/list-git-hub-writable-scopes.mjs.map +1 -1
  107. package/dist/actions/list-integration-auths.cjs +3 -3
  108. package/dist/actions/list-integration-auths.cjs.map +1 -1
  109. package/dist/actions/list-integration-auths.d.cts +12 -3
  110. package/dist/actions/list-integration-auths.d.cts.map +1 -1
  111. package/dist/actions/list-integration-auths.d.mts +12 -3
  112. package/dist/actions/list-integration-auths.d.mts.map +1 -1
  113. package/dist/actions/list-integration-auths.mjs +3 -3
  114. package/dist/actions/list-integration-auths.mjs.map +1 -1
  115. package/dist/actions/list-notification-deliveries.cjs +3 -3
  116. package/dist/actions/list-notification-deliveries.cjs.map +1 -1
  117. package/dist/actions/list-notification-deliveries.d.cts +9 -3
  118. package/dist/actions/list-notification-deliveries.d.cts.map +1 -1
  119. package/dist/actions/list-notification-deliveries.d.mts +9 -3
  120. package/dist/actions/list-notification-deliveries.d.mts.map +1 -1
  121. package/dist/actions/list-notification-deliveries.mjs +3 -3
  122. package/dist/actions/list-notification-deliveries.mjs.map +1 -1
  123. package/dist/actions/list-trusted-domains.cjs +4 -4
  124. package/dist/actions/list-trusted-domains.cjs.map +1 -1
  125. package/dist/actions/list-trusted-domains.d.cts +13 -3
  126. package/dist/actions/list-trusted-domains.d.cts.map +1 -1
  127. package/dist/actions/list-trusted-domains.d.mts +13 -3
  128. package/dist/actions/list-trusted-domains.d.mts.map +1 -1
  129. package/dist/actions/list-trusted-domains.mjs +4 -4
  130. package/dist/actions/list-trusted-domains.mjs.map +1 -1
  131. package/dist/actions/update-project.cjs +2 -2
  132. package/dist/actions/update-project.cjs.map +1 -1
  133. package/dist/actions/update-project.d.cts +21 -3
  134. package/dist/actions/update-project.d.cts.map +1 -1
  135. package/dist/actions/update-project.d.mts +21 -3
  136. package/dist/actions/update-project.d.mts.map +1 -1
  137. package/dist/actions/update-project.mjs +2 -2
  138. package/dist/actions/update-project.mjs.map +1 -1
  139. package/dist/actions/update-service-instance.cjs +1 -1
  140. package/dist/actions/update-service-instance.cjs.map +1 -1
  141. package/dist/actions/update-service-instance.d.cts +45 -3
  142. package/dist/actions/update-service-instance.d.cts.map +1 -1
  143. package/dist/actions/update-service-instance.d.mts +45 -3
  144. package/dist/actions/update-service-instance.d.mts.map +1 -1
  145. package/dist/actions/update-service-instance.mjs +1 -1
  146. package/dist/actions/update-service-instance.mjs.map +1 -1
  147. package/dist/catalog.cjs +7 -1
  148. package/dist/catalog.cjs.map +1 -1
  149. package/dist/catalog.d.cts +8 -0
  150. package/dist/catalog.d.mts +8 -0
  151. package/dist/catalog.mjs +7 -1
  152. package/dist/catalog.mjs.map +1 -1
  153. package/package.json +2 -2
@@ -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.ZodTypeAny = z.object({}).describe(\"Request parameters for listing integration auths.\");\nconst RailwayListIntegrationAuths_IntegrationAuthSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the integration auth.\"),\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}).describe(\"Individual integration auth data.\");\nexport const RailwayListIntegrationAuthsOutput: z.ZodTypeAny = z.object({\n integration_auths: z.array(RailwayListIntegrationAuths_IntegrationAuthSchema).describe(\"List of integration auths associated with the authenticated user.\").nullable().optional(),\n}).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,mCAAiDA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mDAAmD;AACvI,MAAM,oDAAkEA,IAAAA,EAAE,OAAO;CAC/E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CACxE,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,SAAS,mCAAmC;AAC/C,MAAa,oCAAkDA,IAAAA,EAAE,OAAO,EACtE,mBAAmBA,IAAAA,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClL,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAE1F,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 { 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,9 +1,18 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-integration-auths.d.ts
4
- declare const RailwayListIntegrationAuthsInput: z.ZodTypeAny;
5
- declare const RailwayListIntegrationAuthsOutput: z.ZodTypeAny;
6
- declare const railwayListIntegrationAuths: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RailwayListIntegrationAuthsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const RailwayListIntegrationAuthsOutput: z.ZodObject<{
6
+ integration_auths: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
7
+ id: z.ZodNullable<z.ZodString>;
8
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ provider_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ }, z.core.$loose>>>>;
14
+ }, 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]>;
7
16
  //#endregion
8
17
  export { railwayListIntegrationAuths };
9
18
  //# 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,EAAkC,CAAA,CAAE,UAAuF;AAAA,cAS3H,iCAAA,EAAmC,CAAA,CAAE,UAEyC;AAAA,cAE9E,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,18 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-integration-auths.d.ts
4
- declare const RailwayListIntegrationAuthsInput: z.ZodTypeAny;
5
- declare const RailwayListIntegrationAuthsOutput: z.ZodTypeAny;
6
- declare const railwayListIntegrationAuths: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RailwayListIntegrationAuthsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const RailwayListIntegrationAuthsOutput: z.ZodObject<{
6
+ integration_auths: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
7
+ id: z.ZodNullable<z.ZodString>;
8
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ provider_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ }, z.core.$loose>>>>;
14
+ }, 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]>;
7
16
  //#endregion
8
17
  export { railwayListIntegrationAuths };
9
18
  //# 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,EAAkC,CAAA,CAAE,UAAuF;AAAA,cAS3H,iCAAA,EAAmC,CAAA,CAAE,UAEyC;AAAA,cAE9E,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -3,19 +3,19 @@ import { z } from "zod";
3
3
  //#region src/actions/list-integration-auths.ts
4
4
  const RailwayListIntegrationAuthsInput = z.object({}).describe("Request parameters for listing integration auths.");
5
5
  const RailwayListIntegrationAuths_IntegrationAuthSchema = z.object({
6
- id: z.string().describe("The unique identifier of the integration auth."),
6
+ id: z.string().describe("The unique identifier of the integration auth.").nullable(),
7
7
  name: z.string().describe("The name of the integration auth (may not be available).").nullable().optional(),
8
8
  type: z.string().describe("The type of the integration auth (e.g., github, gitlab, vercel).").nullable().optional(),
9
9
  provider: z.string().describe("The provider name for the integration auth.").nullable().optional(),
10
10
  created_at: z.string().describe("The timestamp when the integration auth was created (ISO 8601 format).").nullable().optional(),
11
11
  provider_id: z.string().describe("The provider ID for the integration auth.").nullable().optional()
12
- }).describe("Individual integration auth data.");
12
+ }).passthrough().describe("Individual integration auth data.");
13
13
  const railwayListIntegrationAuths = action("RAILWAY_LIST_INTEGRATION_AUTHS", {
14
14
  slug: "railway-list-integration-auths",
15
15
  name: "List Integration Auths",
16
16
  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.",
17
17
  input: RailwayListIntegrationAuthsInput,
18
- output: z.object({ integration_auths: z.array(RailwayListIntegrationAuths_IntegrationAuthSchema).describe("List of integration auths associated with the authenticated user.").nullable().optional() }).describe("Response schema containing all integration auths for the authenticated user.")
18
+ output: z.object({ integration_auths: z.array(RailwayListIntegrationAuths_IntegrationAuthSchema).describe("List of integration auths associated with the authenticated user.").nullable().optional() }).passthrough().describe("Response schema containing all integration auths for the authenticated user.")
19
19
  });
20
20
  //#endregion
21
21
  export { railwayListIntegrationAuths };
@@ -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.ZodTypeAny = z.object({}).describe(\"Request parameters for listing integration auths.\");\nconst RailwayListIntegrationAuths_IntegrationAuthSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the integration auth.\"),\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}).describe(\"Individual integration auth data.\");\nexport const RailwayListIntegrationAuthsOutput: z.ZodTypeAny = z.object({\n integration_auths: z.array(RailwayListIntegrationAuths_IntegrationAuthSchema).describe(\"List of integration auths associated with the authenticated user.\").nullable().optional(),\n}).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,mCAAiD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mDAAmD;AACvI,MAAM,oDAAkE,EAAE,OAAO;CAC/E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CACxE,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,SAAS,mCAAmC;AAK/C,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6D,EAAE,OAAO,EACtE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClL,CAAC,CAAC,CAAC,SAAS,8EAOF;AACV,CAAC"}
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"}
@@ -3,11 +3,11 @@ let zod = require("zod");
3
3
  //#region src/actions/list-notification-deliveries.ts
4
4
  const RailwayListNotificationDeliveriesInput = zod.z.object({}).describe("Request parameters for listing notification deliveries.");
5
5
  const RailwayListNotificationDeliveries_NotificationDeliverySchema = zod.z.object({
6
- id: zod.z.string().describe("The unique identifier of the notification delivery."),
6
+ id: zod.z.string().describe("The unique identifier of the notification delivery.").nullable(),
7
7
  type: zod.z.string().describe("The type of notification delivery (e.g., 'EMAIL', 'WEBHOOK', 'SLACK').").nullable().optional(),
8
8
  created_at: zod.z.string().describe("The timestamp when the notification delivery was created (ISO 8601 format).").nullable().optional()
9
- }).describe("Individual notification delivery data.");
10
- const RailwayListNotificationDeliveriesOutput = zod.z.object({ notification_deliveries: zod.z.array(RailwayListNotificationDeliveries_NotificationDeliverySchema).describe("List of notification deliveries for the authenticated user.").nullable().optional() }).describe("Response schema for listing notification deliveries.");
9
+ }).passthrough().describe("Individual notification delivery data.");
10
+ const RailwayListNotificationDeliveriesOutput = zod.z.object({ notification_deliveries: zod.z.array(RailwayListNotificationDeliveries_NotificationDeliverySchema).describe("List of notification deliveries for the authenticated user.").nullable().optional() }).passthrough().describe("Response schema for listing notification deliveries.");
11
11
  const railwayListNotificationDeliveries = require_action.action("RAILWAY_LIST_NOTIFICATION_DELIVERIES", {
12
12
  slug: "railway-list-notification-deliveries",
13
13
  name: "List Notification Deliveries",
@@ -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.ZodTypeAny = z.object({}).describe(\"Request parameters for listing notification deliveries.\");\nconst RailwayListNotificationDeliveries_NotificationDeliverySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the notification delivery.\"),\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}).describe(\"Individual notification delivery data.\");\nexport const RailwayListNotificationDeliveriesOutput: z.ZodTypeAny = z.object({\n notification_deliveries: z.array(RailwayListNotificationDeliveries_NotificationDeliverySchema).describe(\"List of notification deliveries for the authenticated user.\").nullable().optional(),\n}).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,yCAAuDA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACnJ,MAAM,+DAA6EA,IAAAA,EAAE,OAAO;CAC1F,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CAC7E,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,SAAS,wCAAwC;AACpD,MAAa,0CAAwDA,IAAAA,EAAE,OAAO,EAC5E,yBAAyBA,IAAAA,EAAE,MAAM,4DAA4D,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7L,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,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 { 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,9 +1,15 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-notification-deliveries.d.ts
4
- declare const RailwayListNotificationDeliveriesInput: z.ZodTypeAny;
5
- declare const RailwayListNotificationDeliveriesOutput: z.ZodTypeAny;
6
- declare const railwayListNotificationDeliveries: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RailwayListNotificationDeliveriesInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const RailwayListNotificationDeliveriesOutput: z.ZodObject<{
6
+ notification_deliveries: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
7
+ id: z.ZodNullable<z.ZodString>;
8
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ }, z.core.$loose>>>>;
11
+ }, 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]>;
7
13
  //#endregion
8
14
  export { railwayListNotificationDeliveries };
9
15
  //# 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,EAAwC,CAAA,CAAE,UAA6F;AAAA,cAMvI,uCAAA,EAAyC,CAAA,CAAE,UAEW;AAAA,cAEtD,iCAAA,gCAAiC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,15 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-notification-deliveries.d.ts
4
- declare const RailwayListNotificationDeliveriesInput: z.ZodTypeAny;
5
- declare const RailwayListNotificationDeliveriesOutput: z.ZodTypeAny;
6
- declare const railwayListNotificationDeliveries: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RailwayListNotificationDeliveriesInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const RailwayListNotificationDeliveriesOutput: z.ZodObject<{
6
+ notification_deliveries: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
7
+ id: z.ZodNullable<z.ZodString>;
8
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ }, z.core.$loose>>>>;
11
+ }, 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]>;
7
13
  //#endregion
8
14
  export { railwayListNotificationDeliveries };
9
15
  //# 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,EAAwC,CAAA,CAAE,UAA6F;AAAA,cAMvI,uCAAA,EAAyC,CAAA,CAAE,UAEW;AAAA,cAEtD,iCAAA,gCAAiC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -3,16 +3,16 @@ import { z } from "zod";
3
3
  //#region src/actions/list-notification-deliveries.ts
4
4
  const RailwayListNotificationDeliveriesInput = z.object({}).describe("Request parameters for listing notification deliveries.");
5
5
  const RailwayListNotificationDeliveries_NotificationDeliverySchema = z.object({
6
- id: z.string().describe("The unique identifier of the notification delivery."),
6
+ id: z.string().describe("The unique identifier of the notification delivery.").nullable(),
7
7
  type: z.string().describe("The type of notification delivery (e.g., 'EMAIL', 'WEBHOOK', 'SLACK').").nullable().optional(),
8
8
  created_at: z.string().describe("The timestamp when the notification delivery was created (ISO 8601 format).").nullable().optional()
9
- }).describe("Individual notification delivery data.");
9
+ }).passthrough().describe("Individual notification delivery data.");
10
10
  const railwayListNotificationDeliveries = action("RAILWAY_LIST_NOTIFICATION_DELIVERIES", {
11
11
  slug: "railway-list-notification-deliveries",
12
12
  name: "List Notification Deliveries",
13
13
  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.",
14
14
  input: RailwayListNotificationDeliveriesInput,
15
- output: z.object({ notification_deliveries: z.array(RailwayListNotificationDeliveries_NotificationDeliverySchema).describe("List of notification deliveries for the authenticated user.").nullable().optional() }).describe("Response schema for listing notification deliveries.")
15
+ output: z.object({ notification_deliveries: z.array(RailwayListNotificationDeliveries_NotificationDeliverySchema).describe("List of notification deliveries for the authenticated user.").nullable().optional() }).passthrough().describe("Response schema for listing notification deliveries.")
16
16
  });
17
17
  //#endregion
18
18
  export { railwayListNotificationDeliveries };
@@ -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.ZodTypeAny = z.object({}).describe(\"Request parameters for listing notification deliveries.\");\nconst RailwayListNotificationDeliveries_NotificationDeliverySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the notification delivery.\"),\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}).describe(\"Individual notification delivery data.\");\nexport const RailwayListNotificationDeliveriesOutput: z.ZodTypeAny = z.object({\n notification_deliveries: z.array(RailwayListNotificationDeliveries_NotificationDeliverySchema).describe(\"List of notification deliveries for the authenticated user.\").nullable().optional(),\n}).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,yCAAuD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACnJ,MAAM,+DAA6E,EAAE,OAAO;CAC1F,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CAC7E,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,SAAS,wCAAwC;AAKpD,MAAa,oCAAoC,OAAO,wCAAwC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmE,EAAE,OAAO,EAC5E,yBAAyB,EAAE,MAAM,4DAA4D,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7L,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
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"}
@@ -3,11 +3,11 @@ let zod = require("zod");
3
3
  //#region src/actions/list-trusted-domains.ts
4
4
  const RailwayListTrustedDomainsInput = zod.z.object({ workspaceId: zod.z.string().describe("The workspace ID to retrieve trusted domains for. If not provided, uses the authenticated user's workspace.").optional() }).describe("Request parameters for listing Railway trusted domains.");
5
5
  const RailwayListTrustedDomains_TrustedDomainSchema = zod.z.object({
6
- id: zod.z.string().describe("The unique identifier of the trusted domain."),
7
- domain: zod.z.string().describe("The domain name that is trusted for workspace invitations."),
6
+ id: zod.z.string().describe("The unique identifier of the trusted domain.").nullable(),
7
+ domain: zod.z.string().describe("The domain name that is trusted for workspace invitations.").nullable(),
8
8
  created_at: zod.z.string().describe("ISO 8601 timestamp when the trusted domain was created.").nullable().optional()
9
- }).describe("Individual trusted domain data.");
10
- const RailwayListTrustedDomainsOutput = zod.z.object({ trusted_domains: zod.z.array(RailwayListTrustedDomains_TrustedDomainSchema).describe("List of trusted domains for the workspace.").nullable().optional() }).describe("Response schema for listing Railway trusted domains.");
9
+ }).passthrough().describe("Individual trusted domain data.");
10
+ const RailwayListTrustedDomainsOutput = zod.z.object({ trusted_domains: zod.z.array(RailwayListTrustedDomains_TrustedDomainSchema).describe("List of trusted domains for the workspace.").nullable().optional() }).passthrough().describe("Response schema for listing Railway trusted domains.");
11
11
  const railwayListTrustedDomains = require_action.action("RAILWAY_LIST_TRUSTED_DOMAINS", {
12
12
  slug: "railway-list-trusted-domains",
13
13
  name: "List Railway Trusted Domains",
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the trusted domain.\"),\n domain: z.string().describe(\"The domain name that is trusted for workspace invitations.\"),\n created_at: z.string().describe(\"ISO 8601 timestamp when the trusted domain was created.\").nullable().optional(),\n}).describe(\"Individual trusted domain data.\");\nexport const RailwayListTrustedDomainsOutput: z.ZodTypeAny = z.object({\n trusted_domains: z.array(RailwayListTrustedDomains_TrustedDomainSchema).describe(\"List of trusted domains for the workspace.\").nullable().optional(),\n}).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,iCAA+CA,IAAAA,EAAE,OAAO,EACnE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS,EAC3J,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,gDAA8DA,IAAAA,EAAE,OAAO;CAC3E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACxF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAC7C,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,iBAAiBA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrJ,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,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 { 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,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-trusted-domains.d.ts
4
- declare const RailwayListTrustedDomainsInput: z.ZodTypeAny;
5
- declare const RailwayListTrustedDomainsOutput: z.ZodTypeAny;
6
- declare const railwayListTrustedDomains: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RailwayListTrustedDomainsInput: z.ZodObject<{
5
+ workspaceId: z.ZodOptional<z.ZodString>;
6
+ }, z.core.$strip>;
7
+ declare const RailwayListTrustedDomainsOutput: z.ZodObject<{
8
+ trusted_domains: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodString>;
10
+ domain: z.ZodNullable<z.ZodString>;
11
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ }, z.core.$loose>>>>;
13
+ }, 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]>;
7
17
  //#endregion
8
18
  export { railwayListTrustedDomains };
9
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,EAAgC,CAAA,CAAE,UAEuB;AAAA,cAMzD,+BAAA,EAAiC,CAAA,CAAE,UAEmB;AAAA,cAEtD,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-trusted-domains.d.ts
4
- declare const RailwayListTrustedDomainsInput: z.ZodTypeAny;
5
- declare const RailwayListTrustedDomainsOutput: z.ZodTypeAny;
6
- declare const railwayListTrustedDomains: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RailwayListTrustedDomainsInput: z.ZodObject<{
5
+ workspaceId: z.ZodOptional<z.ZodString>;
6
+ }, z.core.$strip>;
7
+ declare const RailwayListTrustedDomainsOutput: z.ZodObject<{
8
+ trusted_domains: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodString>;
10
+ domain: z.ZodNullable<z.ZodString>;
11
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ }, z.core.$loose>>>>;
13
+ }, 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]>;
7
17
  //#endregion
8
18
  export { railwayListTrustedDomains };
9
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,EAAgC,CAAA,CAAE,UAEuB;AAAA,cAMzD,+BAAA,EAAiC,CAAA,CAAE,UAEmB;AAAA,cAEtD,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -3,16 +3,16 @@ import { z } from "zod";
3
3
  //#region src/actions/list-trusted-domains.ts
4
4
  const RailwayListTrustedDomainsInput = z.object({ workspaceId: z.string().describe("The workspace ID to retrieve trusted domains for. If not provided, uses the authenticated user's workspace.").optional() }).describe("Request parameters for listing Railway trusted domains.");
5
5
  const RailwayListTrustedDomains_TrustedDomainSchema = z.object({
6
- id: z.string().describe("The unique identifier of the trusted domain."),
7
- domain: z.string().describe("The domain name that is trusted for workspace invitations."),
6
+ id: z.string().describe("The unique identifier of the trusted domain.").nullable(),
7
+ domain: z.string().describe("The domain name that is trusted for workspace invitations.").nullable(),
8
8
  created_at: z.string().describe("ISO 8601 timestamp when the trusted domain was created.").nullable().optional()
9
- }).describe("Individual trusted domain data.");
9
+ }).passthrough().describe("Individual trusted domain data.");
10
10
  const railwayListTrustedDomains = action("RAILWAY_LIST_TRUSTED_DOMAINS", {
11
11
  slug: "railway-list-trusted-domains",
12
12
  name: "List Railway Trusted Domains",
13
13
  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.",
14
14
  input: RailwayListTrustedDomainsInput,
15
- output: z.object({ trusted_domains: z.array(RailwayListTrustedDomains_TrustedDomainSchema).describe("List of trusted domains for the workspace.").nullable().optional() }).describe("Response schema for listing Railway trusted domains.")
15
+ output: z.object({ trusted_domains: z.array(RailwayListTrustedDomains_TrustedDomainSchema).describe("List of trusted domains for the workspace.").nullable().optional() }).passthrough().describe("Response schema for listing Railway trusted domains.")
16
16
  });
17
17
  //#endregion
18
18
  export { railwayListTrustedDomains };
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the trusted domain.\"),\n domain: z.string().describe(\"The domain name that is trusted for workspace invitations.\"),\n created_at: z.string().describe(\"ISO 8601 timestamp when the trusted domain was created.\").nullable().optional(),\n}).describe(\"Individual trusted domain data.\");\nexport const RailwayListTrustedDomainsOutput: z.ZodTypeAny = z.object({\n trusted_domains: z.array(RailwayListTrustedDomains_TrustedDomainSchema).describe(\"List of trusted domains for the workspace.\").nullable().optional(),\n}).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,iCAA+C,EAAE,OAAO,EACnE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS,EAC3J,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,gDAA8D,EAAE,OAAO;CAC3E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACxF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAK7C,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2D,EAAE,OAAO,EACpE,iBAAiB,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrJ,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
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"}
@@ -10,10 +10,10 @@ const RailwayUpdateProjectInput = zod.z.object({
10
10
  }).describe("The update configuration for the project.")
11
11
  }).describe("Request parameters for updating a Railway project.");
12
12
  const RailwayUpdateProjectOutput = zod.z.object({
13
- id: zod.z.string().describe("The unique identifier of the updated project."),
13
+ id: zod.z.string().describe("The unique identifier of the updated project.").nullable(),
14
14
  name: zod.z.string().describe("The name of the project after update.").nullable().optional(),
15
15
  description: zod.z.string().describe("The description of the project after update.").nullable().optional()
16
- }).describe("Response from the project update mutation.");
16
+ }).passthrough().describe("Response from the project update mutation.");
17
17
  const railwayUpdateProject = require_action.action("RAILWAY_UPDATE_PROJECT", {
18
18
  slug: "railway-update-project",
19
19
  name: "Update Project",
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the updated project.\"),\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}).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,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,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,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CACvE,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,SAAS,4CAA4C;AAExD,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 { 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,9 +1,27 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-project.d.ts
4
- declare const RailwayUpdateProjectInput: z.ZodTypeAny;
5
- declare const RailwayUpdateProjectOutput: z.ZodTypeAny;
6
- declare const railwayUpdateProject: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RailwayUpdateProjectInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ input: z.ZodObject<{
7
+ is_public: z.ZodOptional<z.ZodBoolean>;
8
+ pr_deploys: z.ZodOptional<z.ZodBoolean>;
9
+ description: z.ZodOptional<z.ZodString>;
10
+ }, z.core.$strip>;
11
+ }, z.core.$strip>;
12
+ declare const RailwayUpdateProjectOutput: z.ZodObject<{
13
+ id: z.ZodNullable<z.ZodString>;
14
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ }, 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]>;
7
25
  //#endregion
8
26
  export { railwayUpdateProject };
9
27
  //# 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,EAA2B,CAAA,CAAE,UAOuB;AAAA,cACpD,0BAAA,EAA4B,CAAA,CAAE,UAIc;AAAA,cAE5C,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,27 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-project.d.ts
4
- declare const RailwayUpdateProjectInput: z.ZodTypeAny;
5
- declare const RailwayUpdateProjectOutput: z.ZodTypeAny;
6
- declare const railwayUpdateProject: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RailwayUpdateProjectInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ input: z.ZodObject<{
7
+ is_public: z.ZodOptional<z.ZodBoolean>;
8
+ pr_deploys: z.ZodOptional<z.ZodBoolean>;
9
+ description: z.ZodOptional<z.ZodString>;
10
+ }, z.core.$strip>;
11
+ }, z.core.$strip>;
12
+ declare const RailwayUpdateProjectOutput: z.ZodObject<{
13
+ id: z.ZodNullable<z.ZodString>;
14
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ }, 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]>;
7
25
  //#endregion
8
26
  export { railwayUpdateProject };
9
27
  //# 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,EAA2B,CAAA,CAAE,UAOuB;AAAA,cACpD,0BAAA,EAA4B,CAAA,CAAE,UAIc;AAAA,cAE5C,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -13,10 +13,10 @@ const railwayUpdateProject = action("RAILWAY_UPDATE_PROJECT", {
13
13
  }).describe("The update configuration for the project.")
14
14
  }).describe("Request parameters for updating a Railway project."),
15
15
  output: z.object({
16
- id: z.string().describe("The unique identifier of the updated project."),
16
+ id: z.string().describe("The unique identifier of the updated project.").nullable(),
17
17
  name: z.string().describe("The name of the project after update.").nullable().optional(),
18
18
  description: z.string().describe("The description of the project after update.").nullable().optional()
19
- }).describe("Response from the project update mutation.")
19
+ }).passthrough().describe("Response from the project update mutation.")
20
20
  });
21
21
  //#endregion
22
22
  export { railwayUpdateProject };
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the updated project.\"),\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}).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,OAlBqD,EAAE,OAAO;EAC9D,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,QAXsD,EAAE,OAAO;EAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EACvE,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,SAAS,4CAOF;AACV,CAAC"}
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"}
@@ -24,7 +24,7 @@ const RailwayUpdateServiceInstanceInput = zod.z.object({
24
24
  service_id: zod.z.string().describe("The unique identifier of the service to update."),
25
25
  environment_id: zod.z.string().describe("The unique identifier of the environment.")
26
26
  }).describe("Request parameters for updating a Railway service instance.");
27
- const RailwayUpdateServiceInstanceOutput = zod.z.object({ service_instance_update: zod.z.boolean().describe("Returns true if the update was successful, null if there was an error.").nullable().optional() }).describe("Response from the service instance update mutation.");
27
+ const RailwayUpdateServiceInstanceOutput = zod.z.object({ service_instance_update: zod.z.boolean().describe("Returns true if the update was successful, null if there was an error.").nullable().optional() }).passthrough().describe("Response from the service instance update mutation.");
28
28
  const railwayUpdateServiceInstance = require_action.action("RAILWAY_UPDATE_SERVICE_INSTANCE", {
29
29
  slug: "railway-update-service-instance",
30
30
  name: "Update Service Instance",
@@ -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.ZodTypeAny = 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.ZodTypeAny = 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}).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,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,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,qCAAmDA,IAAAA,EAAE,OAAO,EACvE,yBAAyBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9I,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAEjE,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 { 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"}