@keystrokehq/stack_ai 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (189) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/check-health.cjs +1 -0
  4. package/dist/actions/check-health.cjs.map +1 -1
  5. package/dist/actions/check-health.d.cts +3 -15
  6. package/dist/actions/check-health.d.cts.map +1 -1
  7. package/dist/actions/check-health.d.mts +3 -15
  8. package/dist/actions/check-health.d.mts.map +1 -1
  9. package/dist/actions/check-health.mjs +1 -0
  10. package/dist/actions/check-health.mjs.map +1 -1
  11. package/dist/actions/get-action-inputs.cjs +1 -0
  12. package/dist/actions/get-action-inputs.cjs.map +1 -1
  13. package/dist/actions/get-action-inputs.d.cts +3 -18
  14. package/dist/actions/get-action-inputs.d.cts.map +1 -1
  15. package/dist/actions/get-action-inputs.d.mts +3 -18
  16. package/dist/actions/get-action-inputs.d.mts.map +1 -1
  17. package/dist/actions/get-action-inputs.mjs +1 -0
  18. package/dist/actions/get-action-inputs.mjs.map +1 -1
  19. package/dist/actions/get-action-outputs.cjs +1 -0
  20. package/dist/actions/get-action-outputs.cjs.map +1 -1
  21. package/dist/actions/get-action-outputs.d.cts +3 -18
  22. package/dist/actions/get-action-outputs.d.cts.map +1 -1
  23. package/dist/actions/get-action-outputs.d.mts +3 -18
  24. package/dist/actions/get-action-outputs.d.mts.map +1 -1
  25. package/dist/actions/get-action-outputs.mjs +1 -0
  26. package/dist/actions/get-action-outputs.mjs.map +1 -1
  27. package/dist/actions/get-connector-type-schema.cjs +1 -0
  28. package/dist/actions/get-connector-type-schema.cjs.map +1 -1
  29. package/dist/actions/get-connector-type-schema.d.cts +3 -17
  30. package/dist/actions/get-connector-type-schema.d.cts.map +1 -1
  31. package/dist/actions/get-connector-type-schema.d.mts +3 -17
  32. package/dist/actions/get-connector-type-schema.d.mts.map +1 -1
  33. package/dist/actions/get-connector-type-schema.mjs +1 -0
  34. package/dist/actions/get-connector-type-schema.mjs.map +1 -1
  35. package/dist/actions/get-license-status.cjs +1 -0
  36. package/dist/actions/get-license-status.cjs.map +1 -1
  37. package/dist/actions/get-license-status.d.cts +3 -15
  38. package/dist/actions/get-license-status.d.cts.map +1 -1
  39. package/dist/actions/get-license-status.d.mts +3 -15
  40. package/dist/actions/get-license-status.d.mts.map +1 -1
  41. package/dist/actions/get-license-status.mjs +1 -0
  42. package/dist/actions/get-license-status.mjs.map +1 -1
  43. package/dist/actions/get-provider-action.cjs +1 -0
  44. package/dist/actions/get-provider-action.cjs.map +1 -1
  45. package/dist/actions/get-provider-action.d.cts +3 -18
  46. package/dist/actions/get-provider-action.d.cts.map +1 -1
  47. package/dist/actions/get-provider-action.d.mts +3 -18
  48. package/dist/actions/get-provider-action.d.mts.map +1 -1
  49. package/dist/actions/get-provider-action.mjs +1 -0
  50. package/dist/actions/get-provider-action.mjs.map +1 -1
  51. package/dist/actions/get-provider-icon.cjs +1 -0
  52. package/dist/actions/get-provider-icon.cjs.map +1 -1
  53. package/dist/actions/get-provider-icon.d.cts +3 -17
  54. package/dist/actions/get-provider-icon.d.cts.map +1 -1
  55. package/dist/actions/get-provider-icon.d.mts +3 -17
  56. package/dist/actions/get-provider-icon.d.mts.map +1 -1
  57. package/dist/actions/get-provider-icon.mjs +1 -0
  58. package/dist/actions/get-provider-icon.mjs.map +1 -1
  59. package/dist/actions/get-provider-trigger.cjs +1 -0
  60. package/dist/actions/get-provider-trigger.cjs.map +1 -1
  61. package/dist/actions/get-provider-trigger.d.cts +3 -18
  62. package/dist/actions/get-provider-trigger.d.cts.map +1 -1
  63. package/dist/actions/get-provider-trigger.d.mts +3 -18
  64. package/dist/actions/get-provider-trigger.d.mts.map +1 -1
  65. package/dist/actions/get-provider-trigger.mjs +1 -0
  66. package/dist/actions/get-provider-trigger.mjs.map +1 -1
  67. package/dist/actions/get-provider.cjs +1 -0
  68. package/dist/actions/get-provider.cjs.map +1 -1
  69. package/dist/actions/get-provider.d.cts +3 -17
  70. package/dist/actions/get-provider.d.cts.map +1 -1
  71. package/dist/actions/get-provider.d.mts +3 -17
  72. package/dist/actions/get-provider.d.mts.map +1 -1
  73. package/dist/actions/get-provider.mjs +1 -0
  74. package/dist/actions/get-provider.mjs.map +1 -1
  75. package/dist/actions/get-root.cjs +1 -0
  76. package/dist/actions/get-root.cjs.map +1 -1
  77. package/dist/actions/get-root.d.cts +3 -15
  78. package/dist/actions/get-root.d.cts.map +1 -1
  79. package/dist/actions/get-root.d.mts +3 -15
  80. package/dist/actions/get-root.d.mts.map +1 -1
  81. package/dist/actions/get-root.mjs +1 -0
  82. package/dist/actions/get-root.mjs.map +1 -1
  83. package/dist/actions/get-trigger-by-provider.cjs +1 -0
  84. package/dist/actions/get-trigger-by-provider.cjs.map +1 -1
  85. package/dist/actions/get-trigger-by-provider.d.cts +3 -18
  86. package/dist/actions/get-trigger-by-provider.d.cts.map +1 -1
  87. package/dist/actions/get-trigger-by-provider.d.mts +3 -18
  88. package/dist/actions/get-trigger-by-provider.d.mts.map +1 -1
  89. package/dist/actions/get-trigger-by-provider.mjs +1 -0
  90. package/dist/actions/get-trigger-by-provider.mjs.map +1 -1
  91. package/dist/actions/get-trigger-inputs.cjs +1 -0
  92. package/dist/actions/get-trigger-inputs.cjs.map +1 -1
  93. package/dist/actions/get-trigger-inputs.d.cts +3 -18
  94. package/dist/actions/get-trigger-inputs.d.cts.map +1 -1
  95. package/dist/actions/get-trigger-inputs.d.mts +3 -18
  96. package/dist/actions/get-trigger-inputs.d.mts.map +1 -1
  97. package/dist/actions/get-trigger-inputs.mjs +1 -0
  98. package/dist/actions/get-trigger-inputs.mjs.map +1 -1
  99. package/dist/actions/get-trigger-outputs.cjs +1 -0
  100. package/dist/actions/get-trigger-outputs.cjs.map +1 -1
  101. package/dist/actions/get-trigger-outputs.d.cts +3 -18
  102. package/dist/actions/get-trigger-outputs.d.cts.map +1 -1
  103. package/dist/actions/get-trigger-outputs.d.mts +3 -18
  104. package/dist/actions/get-trigger-outputs.d.mts.map +1 -1
  105. package/dist/actions/get-trigger-outputs.mjs +1 -0
  106. package/dist/actions/get-trigger-outputs.mjs.map +1 -1
  107. package/dist/actions/list-connector-types.cjs +1 -0
  108. package/dist/actions/list-connector-types.cjs.map +1 -1
  109. package/dist/actions/list-connector-types.d.cts +3 -15
  110. package/dist/actions/list-connector-types.d.cts.map +1 -1
  111. package/dist/actions/list-connector-types.d.mts +3 -15
  112. package/dist/actions/list-connector-types.d.mts.map +1 -1
  113. package/dist/actions/list-connector-types.mjs +1 -0
  114. package/dist/actions/list-connector-types.mjs.map +1 -1
  115. package/dist/actions/list-integrations.cjs +1 -0
  116. package/dist/actions/list-integrations.cjs.map +1 -1
  117. package/dist/actions/list-integrations.d.cts +3 -15
  118. package/dist/actions/list-integrations.d.cts.map +1 -1
  119. package/dist/actions/list-integrations.d.mts +3 -15
  120. package/dist/actions/list-integrations.d.mts.map +1 -1
  121. package/dist/actions/list-integrations.mjs +1 -0
  122. package/dist/actions/list-integrations.mjs.map +1 -1
  123. package/dist/actions/list-permission-groups.cjs +1 -0
  124. package/dist/actions/list-permission-groups.cjs.map +1 -1
  125. package/dist/actions/list-permission-groups.d.cts +3 -15
  126. package/dist/actions/list-permission-groups.d.cts.map +1 -1
  127. package/dist/actions/list-permission-groups.d.mts +3 -15
  128. package/dist/actions/list-permission-groups.d.mts.map +1 -1
  129. package/dist/actions/list-permission-groups.mjs +1 -0
  130. package/dist/actions/list-permission-groups.mjs.map +1 -1
  131. package/dist/actions/list-permissions.cjs +1 -0
  132. package/dist/actions/list-permissions.cjs.map +1 -1
  133. package/dist/actions/list-permissions.d.cts +3 -15
  134. package/dist/actions/list-permissions.d.cts.map +1 -1
  135. package/dist/actions/list-permissions.d.mts +3 -15
  136. package/dist/actions/list-permissions.d.mts.map +1 -1
  137. package/dist/actions/list-permissions.mjs +1 -0
  138. package/dist/actions/list-permissions.mjs.map +1 -1
  139. package/dist/actions/list-provider-triggers.cjs +1 -0
  140. package/dist/actions/list-provider-triggers.cjs.map +1 -1
  141. package/dist/actions/list-provider-triggers.d.cts +3 -17
  142. package/dist/actions/list-provider-triggers.d.cts.map +1 -1
  143. package/dist/actions/list-provider-triggers.d.mts +3 -17
  144. package/dist/actions/list-provider-triggers.d.mts.map +1 -1
  145. package/dist/actions/list-provider-triggers.mjs +1 -0
  146. package/dist/actions/list-provider-triggers.mjs.map +1 -1
  147. package/dist/actions/list-stack-ai-triggers.cjs +1 -0
  148. package/dist/actions/list-stack-ai-triggers.cjs.map +1 -1
  149. package/dist/actions/list-stack-ai-triggers.d.cts +3 -15
  150. package/dist/actions/list-stack-ai-triggers.d.cts.map +1 -1
  151. package/dist/actions/list-stack-ai-triggers.d.mts +3 -15
  152. package/dist/actions/list-stack-ai-triggers.d.mts.map +1 -1
  153. package/dist/actions/list-stack-ai-triggers.mjs +1 -0
  154. package/dist/actions/list-stack-ai-triggers.mjs.map +1 -1
  155. package/dist/actions/list-stackai-actions.cjs +1 -0
  156. package/dist/actions/list-stackai-actions.cjs.map +1 -1
  157. package/dist/actions/list-stackai-actions.d.cts +3 -15
  158. package/dist/actions/list-stackai-actions.d.cts.map +1 -1
  159. package/dist/actions/list-stackai-actions.d.mts +3 -15
  160. package/dist/actions/list-stackai-actions.d.mts.map +1 -1
  161. package/dist/actions/list-stackai-actions.mjs +1 -0
  162. package/dist/actions/list-stackai-actions.mjs.map +1 -1
  163. package/dist/actions/list-stackai-providers.cjs +1 -0
  164. package/dist/actions/list-stackai-providers.cjs.map +1 -1
  165. package/dist/actions/list-stackai-providers.d.cts +3 -15
  166. package/dist/actions/list-stackai-providers.d.cts.map +1 -1
  167. package/dist/actions/list-stackai-providers.d.mts +3 -15
  168. package/dist/actions/list-stackai-providers.d.mts.map +1 -1
  169. package/dist/actions/list-stackai-providers.mjs +1 -0
  170. package/dist/actions/list-stackai-providers.mjs.map +1 -1
  171. package/dist/actions/list-stackai-tools.cjs +1 -0
  172. package/dist/actions/list-stackai-tools.cjs.map +1 -1
  173. package/dist/actions/list-stackai-tools.d.cts +3 -15
  174. package/dist/actions/list-stackai-tools.d.cts.map +1 -1
  175. package/dist/actions/list-stackai-tools.d.mts +3 -15
  176. package/dist/actions/list-stackai-tools.d.mts.map +1 -1
  177. package/dist/actions/list-stackai-tools.mjs +1 -0
  178. package/dist/actions/list-stackai-tools.mjs.map +1 -1
  179. package/dist/app.cjs +5 -4
  180. package/dist/app.cjs.map +1 -1
  181. package/dist/app.d.cts +4 -6
  182. package/dist/app.d.cts.map +1 -1
  183. package/dist/app.d.mts +4 -6
  184. package/dist/app.d.mts.map +1 -1
  185. package/dist/app.mjs +0 -1
  186. package/dist/app.mjs.map +1 -1
  187. package/dist/index.d.cts +1 -1
  188. package/dist/index.d.mts +1 -1
  189. package/package.json +2 -2
@@ -1,23 +1,11 @@
1
+ import { stackAi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-connector-types.d.ts
4
6
  declare const StackAiListConnectorTypesInput: z.ZodObject<{}, z.core.$strip>;
5
7
  declare const StackAiListConnectorTypesOutput: z.ZodUnknown;
6
- declare const stackAiListConnectorTypes: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
7
- connectionId: z.ZodString;
8
- entityId: z.ZodString;
9
- instanceId: z.ZodString;
10
- }, z.core.$strip>, z.ZodObject<{
11
- generic_api_key: z.ZodString;
12
- generic_id: z.ZodString;
13
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
14
- connectionId: z.ZodString;
15
- entityId: z.ZodString;
16
- instanceId: z.ZodString;
17
- }, z.core.$strip>, z.ZodObject<{
18
- generic_api_key: z.ZodString;
19
- generic_id: z.ZodString;
20
- }, z.core.$strip>>]>;
8
+ declare const stackAiListConnectorTypes: AppAction<typeof StackAiListConnectorTypesInput, typeof StackAiListConnectorTypesOutput, typeof stackAi.credential>;
21
9
  //#endregion
22
10
  export { stackAiListConnectorTypes };
23
11
  //# sourceMappingURL=list-connector-types.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-connector-types.d.cts","names":[],"sources":["../../src/actions/list-connector-types.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC9B,+BAAA,EAA+B,CAAA,CAAA,UAAc;AAAA,cAE7C,yBAAA,gCAAyB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"list-connector-types.d.cts","names":[],"sources":["../../src/actions/list-connector-types.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC9B,+BAAA,EAA+B,CAAA,CAAA,UAAc;AAAA,cAE7C,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,23 +1,11 @@
1
+ import { stackAi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-connector-types.d.ts
4
6
  declare const StackAiListConnectorTypesInput: z.ZodObject<{}, z.core.$strip>;
5
7
  declare const StackAiListConnectorTypesOutput: z.ZodUnknown;
6
- declare const stackAiListConnectorTypes: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
7
- connectionId: z.ZodString;
8
- entityId: z.ZodString;
9
- instanceId: z.ZodString;
10
- }, z.core.$strip>, z.ZodObject<{
11
- generic_api_key: z.ZodString;
12
- generic_id: z.ZodString;
13
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
14
- connectionId: z.ZodString;
15
- entityId: z.ZodString;
16
- instanceId: z.ZodString;
17
- }, z.core.$strip>, z.ZodObject<{
18
- generic_api_key: z.ZodString;
19
- generic_id: z.ZodString;
20
- }, z.core.$strip>>]>;
8
+ declare const stackAiListConnectorTypes: AppAction<typeof StackAiListConnectorTypesInput, typeof StackAiListConnectorTypesOutput, typeof stackAi.credential>;
21
9
  //#endregion
22
10
  export { stackAiListConnectorTypes };
23
11
  //# sourceMappingURL=list-connector-types.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-connector-types.d.mts","names":[],"sources":["../../src/actions/list-connector-types.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC9B,+BAAA,EAA+B,CAAA,CAAA,UAAc;AAAA,cAE7C,yBAAA,gCAAyB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"list-connector-types.d.mts","names":[],"sources":["../../src/actions/list-connector-types.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC9B,+BAAA,EAA+B,CAAA,CAAA,UAAc;AAAA,cAE7C,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const stackAiListConnectorTypes = action("STACK_AI_LIST_CONNECTOR_TYPES", {
@@ -1 +1 @@
1
- {"version":3,"file":"list-connector-types.mjs","names":[],"sources":["../../src/actions/list-connector-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiListConnectorTypesInput = z.object({}).describe(\"Request model for listing connector types. No parameters required.\");\nexport const StackAiListConnectorTypesOutput = z.unknown();\n\nexport const stackAiListConnectorTypes = action(\"STACK_AI_LIST_CONNECTOR_TYPES\", {\n slug: \"stack_ai-list-connector-types\",\n name: \"List Connector Types\",\n description: \"Tool to list all available connector types from Stack AI. Use when you need to retrieve the available connectors that can be configured.\",\n input: StackAiListConnectorTypesInput,\n output: StackAiListConnectorTypesOutput,\n});\n"],"mappings":";;AAOA,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAP4C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAO3D;CACP,QAP6C,EAAE,QAOvC;AACV,CAAC"}
1
+ {"version":3,"file":"list-connector-types.mjs","names":[],"sources":["../../src/actions/list-connector-types.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { stackAi } from \"../app\";\n\nexport const StackAiListConnectorTypesInput = z.object({}).describe(\"Request model for listing connector types. No parameters required.\");\nexport const StackAiListConnectorTypesOutput = z.unknown();\n\nexport const stackAiListConnectorTypes: AppAction<\n typeof StackAiListConnectorTypesInput,\n typeof StackAiListConnectorTypesOutput,\n typeof stackAi.credential\n> = action(\"STACK_AI_LIST_CONNECTOR_TYPES\", {\n slug: \"stack_ai-list-connector-types\",\n name: \"List Connector Types\",\n description: \"Tool to list all available connector types from Stack AI. Use when you need to retrieve the available connectors that can be configured.\",\n input: StackAiListConnectorTypesInput,\n output: StackAiListConnectorTypesOutput,\n});\n"],"mappings":";;;AASA,MAAa,4BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX4C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAW3D;CACP,QAX6C,EAAE,QAWvC;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-integrations.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-integrations.cjs","names":["z","action"],"sources":["../../src/actions/list-integrations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiListIntegrationsInput = z.object({}).describe(\"Request model for listing Stack AI integrations.\\nThis endpoint requires no parameters.\");\nconst StackAiListIntegrations_IntegrationSchema = z.object({\n actions: z.array(z.string()).describe(\"List of available actions for this integration\"),\n triggers: z.array(z.string()).describe(\"List of available triggers for this integration\"),\n provider_id: z.string().describe(\"Unique identifier for the integration provider\").nullable(),\n}).passthrough().describe(\"Model representing a single Stack AI integration.\");\nexport const StackAiListIntegrationsOutput = z.object({\n integrations: z.array(StackAiListIntegrations_IntegrationSchema).describe(\"List of all available Stack AI integrations with their actions and triggers\"),\n}).passthrough().describe(\"Response model for listing Stack AI integrations.\\nReturns an array of integration objects.\");\n\nexport const stackAiListIntegrations = action(\"STACK_AI_LIST_INTEGRATIONS\", {\n slug: \"stack_ai-list-integrations\",\n name: \"List Stack AI Integrations\",\n description: \"Tool to list all available Stack AI integrations. Use when you need to discover available integrations, actions, and triggers in Stack AI.\",\n input: StackAiListIntegrationsInput,\n output: StackAiListIntegrationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yFAAyF;AAC3J,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD;CACtF,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iDAAiD;CACxF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,cAAcA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,6EAA6E,EACzJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6FAA6F;AAEvH,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-integrations.cjs","names":["z","action"],"sources":["../../src/actions/list-integrations.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { stackAi } from \"../app\";\n\nexport const StackAiListIntegrationsInput = z.object({}).describe(\"Request model for listing Stack AI integrations.\\nThis endpoint requires no parameters.\");\nconst StackAiListIntegrations_IntegrationSchema = z.object({\n actions: z.array(z.string()).describe(\"List of available actions for this integration\"),\n triggers: z.array(z.string()).describe(\"List of available triggers for this integration\"),\n provider_id: z.string().describe(\"Unique identifier for the integration provider\").nullable(),\n}).passthrough().describe(\"Model representing a single Stack AI integration.\");\nexport const StackAiListIntegrationsOutput = z.object({\n integrations: z.array(StackAiListIntegrations_IntegrationSchema).describe(\"List of all available Stack AI integrations with their actions and triggers\"),\n}).passthrough().describe(\"Response model for listing Stack AI integrations.\\nReturns an array of integration objects.\");\n\nexport const stackAiListIntegrations: AppAction<\n typeof StackAiListIntegrationsInput,\n typeof StackAiListIntegrationsOutput,\n typeof stackAi.credential\n> = action(\"STACK_AI_LIST_INTEGRATIONS\", {\n slug: \"stack_ai-list-integrations\",\n name: \"List Stack AI Integrations\",\n description: \"Tool to list all available Stack AI integrations. Use when you need to discover available integrations, actions, and triggers in Stack AI.\",\n input: StackAiListIntegrationsInput,\n output: StackAiListIntegrationsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yFAAyF;AAC3J,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD;CACtF,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iDAAiD;CACxF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,cAAcA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,6EAA6E,EACzJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6FAA6F;AAEvH,MAAa,0BAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { stackAi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-integrations.d.ts
@@ -9,21 +11,7 @@ declare const StackAiListIntegrationsOutput: z.ZodObject<{
9
11
  provider_id: z.ZodNullable<z.ZodString>;
10
12
  }, z.core.$loose>>;
11
13
  }, z.core.$loose>;
12
- declare const stackAiListIntegrations: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
13
- connectionId: z.ZodString;
14
- entityId: z.ZodString;
15
- instanceId: z.ZodString;
16
- }, z.core.$strip>, z.ZodObject<{
17
- generic_api_key: z.ZodString;
18
- generic_id: z.ZodString;
19
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
20
- connectionId: z.ZodString;
21
- entityId: z.ZodString;
22
- instanceId: z.ZodString;
23
- }, z.core.$strip>, z.ZodObject<{
24
- generic_api_key: z.ZodString;
25
- generic_id: z.ZodString;
26
- }, z.core.$strip>>]>;
14
+ declare const stackAiListIntegrations: AppAction<typeof StackAiListIntegrationsInput, typeof StackAiListIntegrationsOutput, typeof stackAi.credential>;
27
15
  //#endregion
28
16
  export { stackAiListIntegrations };
29
17
  //# sourceMappingURL=list-integrations.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-integrations.d.cts","names":[],"sources":["../../src/actions/list-integrations.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAM5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"list-integrations.d.cts","names":[],"sources":["../../src/actions/list-integrations.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAM5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { stackAi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-integrations.d.ts
@@ -9,21 +11,7 @@ declare const StackAiListIntegrationsOutput: z.ZodObject<{
9
11
  provider_id: z.ZodNullable<z.ZodString>;
10
12
  }, z.core.$loose>>;
11
13
  }, z.core.$loose>;
12
- declare const stackAiListIntegrations: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
13
- connectionId: z.ZodString;
14
- entityId: z.ZodString;
15
- instanceId: z.ZodString;
16
- }, z.core.$strip>, z.ZodObject<{
17
- generic_api_key: z.ZodString;
18
- generic_id: z.ZodString;
19
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
20
- connectionId: z.ZodString;
21
- entityId: z.ZodString;
22
- instanceId: z.ZodString;
23
- }, z.core.$strip>, z.ZodObject<{
24
- generic_api_key: z.ZodString;
25
- generic_id: z.ZodString;
26
- }, z.core.$strip>>]>;
14
+ declare const stackAiListIntegrations: AppAction<typeof StackAiListIntegrationsInput, typeof StackAiListIntegrationsOutput, typeof stackAi.credential>;
27
15
  //#endregion
28
16
  export { stackAiListIntegrations };
29
17
  //# sourceMappingURL=list-integrations.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-integrations.d.mts","names":[],"sources":["../../src/actions/list-integrations.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAM5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"list-integrations.d.mts","names":[],"sources":["../../src/actions/list-integrations.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAM5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-integrations.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-integrations.mjs","names":[],"sources":["../../src/actions/list-integrations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiListIntegrationsInput = z.object({}).describe(\"Request model for listing Stack AI integrations.\\nThis endpoint requires no parameters.\");\nconst StackAiListIntegrations_IntegrationSchema = z.object({\n actions: z.array(z.string()).describe(\"List of available actions for this integration\"),\n triggers: z.array(z.string()).describe(\"List of available triggers for this integration\"),\n provider_id: z.string().describe(\"Unique identifier for the integration provider\").nullable(),\n}).passthrough().describe(\"Model representing a single Stack AI integration.\");\nexport const StackAiListIntegrationsOutput = z.object({\n integrations: z.array(StackAiListIntegrations_IntegrationSchema).describe(\"List of all available Stack AI integrations with their actions and triggers\"),\n}).passthrough().describe(\"Response model for listing Stack AI integrations.\\nReturns an array of integration objects.\");\n\nexport const stackAiListIntegrations = action(\"STACK_AI_LIST_INTEGRATIONS\", {\n slug: \"stack_ai-list-integrations\",\n name: \"List Stack AI Integrations\",\n description: \"Tool to list all available Stack AI integrations. Use when you need to discover available integrations, actions, and triggers in Stack AI.\",\n input: StackAiListIntegrationsInput,\n output: StackAiListIntegrationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yFAAyF;AAC3J,MAAM,4CAA4C,EAAE,OAAO;CACzD,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD;CACtF,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iDAAiD;CACxF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAK7E,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2C,EAAE,OAAO,EACpD,cAAc,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,6EAA6E,EACzJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6FAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-integrations.mjs","names":[],"sources":["../../src/actions/list-integrations.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { stackAi } from \"../app\";\n\nexport const StackAiListIntegrationsInput = z.object({}).describe(\"Request model for listing Stack AI integrations.\\nThis endpoint requires no parameters.\");\nconst StackAiListIntegrations_IntegrationSchema = z.object({\n actions: z.array(z.string()).describe(\"List of available actions for this integration\"),\n triggers: z.array(z.string()).describe(\"List of available triggers for this integration\"),\n provider_id: z.string().describe(\"Unique identifier for the integration provider\").nullable(),\n}).passthrough().describe(\"Model representing a single Stack AI integration.\");\nexport const StackAiListIntegrationsOutput = z.object({\n integrations: z.array(StackAiListIntegrations_IntegrationSchema).describe(\"List of all available Stack AI integrations with their actions and triggers\"),\n}).passthrough().describe(\"Response model for listing Stack AI integrations.\\nReturns an array of integration objects.\");\n\nexport const stackAiListIntegrations: AppAction<\n typeof StackAiListIntegrationsInput,\n typeof StackAiListIntegrationsOutput,\n typeof stackAi.credential\n> = action(\"STACK_AI_LIST_INTEGRATIONS\", {\n slug: \"stack_ai-list-integrations\",\n name: \"List Stack AI Integrations\",\n description: \"Tool to list all available Stack AI integrations. Use when you need to discover available integrations, actions, and triggers in Stack AI.\",\n input: StackAiListIntegrationsInput,\n output: StackAiListIntegrationsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yFAAyF;AAC3J,MAAM,4CAA4C,EAAE,OAAO;CACzD,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD;CACtF,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iDAAiD;CACxF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAK7E,MAAa,0BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb2C,EAAE,OAAO,EACpD,cAAc,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,6EAA6E,EACzJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6FAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-permission-groups.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-permission-groups.cjs","names":["z","action"],"sources":["../../src/actions/list-permission-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiListPermissionGroupsInput = z.object({}).describe(\"Request model for listing permission groups.\\nThis endpoint does not require any parameters.\");\nexport const StackAiListPermissionGroupsOutput = z.unknown();\n\nexport const stackAiListPermissionGroups = action(\"STACK_AI_LIST_PERMISSION_GROUPS\", {\n slug: \"stack_ai-list-permission-groups\",\n name: \"List Permission Groups\",\n description: \"Tool to list all permission groups with their associated permissions. Use when you need to retrieve available permission groups and their permissions for access control management.\",\n input: StackAiListPermissionGroupsInput,\n output: StackAiListPermissionGroupsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8FAA8F;AACpK,MAAa,oCAAoCA,IAAAA,EAAE,QAAQ;AAE3D,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-permission-groups.cjs","names":["z","action"],"sources":["../../src/actions/list-permission-groups.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { stackAi } from \"../app\";\n\nexport const StackAiListPermissionGroupsInput = z.object({}).describe(\"Request model for listing permission groups.\\nThis endpoint does not require any parameters.\");\nexport const StackAiListPermissionGroupsOutput = z.unknown();\n\nexport const stackAiListPermissionGroups: AppAction<\n typeof StackAiListPermissionGroupsInput,\n typeof StackAiListPermissionGroupsOutput,\n typeof stackAi.credential\n> = action(\"STACK_AI_LIST_PERMISSION_GROUPS\", {\n slug: \"stack_ai-list-permission-groups\",\n name: \"List Permission Groups\",\n description: \"Tool to list all permission groups with their associated permissions. Use when you need to retrieve available permission groups and their permissions for access control management.\",\n input: StackAiListPermissionGroupsInput,\n output: StackAiListPermissionGroupsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8FAA8F;AACpK,MAAa,oCAAoCA,IAAAA,EAAE,QAAQ;AAE3D,MAAa,8BAITC,eAAAA,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,23 +1,11 @@
1
+ import { stackAi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-permission-groups.d.ts
4
6
  declare const StackAiListPermissionGroupsInput: z.ZodObject<{}, z.core.$strip>;
5
7
  declare const StackAiListPermissionGroupsOutput: z.ZodUnknown;
6
- declare const stackAiListPermissionGroups: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
7
- connectionId: z.ZodString;
8
- entityId: z.ZodString;
9
- instanceId: z.ZodString;
10
- }, z.core.$strip>, z.ZodObject<{
11
- generic_api_key: z.ZodString;
12
- generic_id: z.ZodString;
13
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
14
- connectionId: z.ZodString;
15
- entityId: z.ZodString;
16
- instanceId: z.ZodString;
17
- }, z.core.$strip>, z.ZodObject<{
18
- generic_api_key: z.ZodString;
19
- generic_id: z.ZodString;
20
- }, z.core.$strip>>]>;
8
+ declare const stackAiListPermissionGroups: AppAction<typeof StackAiListPermissionGroupsInput, typeof StackAiListPermissionGroupsOutput, typeof stackAi.credential>;
21
9
  //#endregion
22
10
  export { stackAiListPermissionGroups };
23
11
  //# sourceMappingURL=list-permission-groups.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-permission-groups.d.cts","names":[],"sources":["../../src/actions/list-permission-groups.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAChC,iCAAA,EAAiC,CAAA,CAAA,UAAc;AAAA,cAE/C,2BAAA,gCAA2B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"list-permission-groups.d.cts","names":[],"sources":["../../src/actions/list-permission-groups.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAChC,iCAAA,EAAiC,CAAA,CAAA,UAAc;AAAA,cAE/C,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,23 +1,11 @@
1
+ import { stackAi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-permission-groups.d.ts
4
6
  declare const StackAiListPermissionGroupsInput: z.ZodObject<{}, z.core.$strip>;
5
7
  declare const StackAiListPermissionGroupsOutput: z.ZodUnknown;
6
- declare const stackAiListPermissionGroups: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
7
- connectionId: z.ZodString;
8
- entityId: z.ZodString;
9
- instanceId: z.ZodString;
10
- }, z.core.$strip>, z.ZodObject<{
11
- generic_api_key: z.ZodString;
12
- generic_id: z.ZodString;
13
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
14
- connectionId: z.ZodString;
15
- entityId: z.ZodString;
16
- instanceId: z.ZodString;
17
- }, z.core.$strip>, z.ZodObject<{
18
- generic_api_key: z.ZodString;
19
- generic_id: z.ZodString;
20
- }, z.core.$strip>>]>;
8
+ declare const stackAiListPermissionGroups: AppAction<typeof StackAiListPermissionGroupsInput, typeof StackAiListPermissionGroupsOutput, typeof stackAi.credential>;
21
9
  //#endregion
22
10
  export { stackAiListPermissionGroups };
23
11
  //# sourceMappingURL=list-permission-groups.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-permission-groups.d.mts","names":[],"sources":["../../src/actions/list-permission-groups.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAChC,iCAAA,EAAiC,CAAA,CAAA,UAAc;AAAA,cAE/C,2BAAA,gCAA2B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"list-permission-groups.d.mts","names":[],"sources":["../../src/actions/list-permission-groups.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAChC,iCAAA,EAAiC,CAAA,CAAA,UAAc;AAAA,cAE/C,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const stackAiListPermissionGroups = action("STACK_AI_LIST_PERMISSION_GROUPS", {
@@ -1 +1 @@
1
- {"version":3,"file":"list-permission-groups.mjs","names":[],"sources":["../../src/actions/list-permission-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiListPermissionGroupsInput = z.object({}).describe(\"Request model for listing permission groups.\\nThis endpoint does not require any parameters.\");\nexport const StackAiListPermissionGroupsOutput = z.unknown();\n\nexport const stackAiListPermissionGroups = action(\"STACK_AI_LIST_PERMISSION_GROUPS\", {\n slug: \"stack_ai-list-permission-groups\",\n name: \"List Permission Groups\",\n description: \"Tool to list all permission groups with their associated permissions. Use when you need to retrieve available permission groups and their permissions for access control management.\",\n input: StackAiListPermissionGroupsInput,\n output: StackAiListPermissionGroupsOutput,\n});\n"],"mappings":";;AAOA,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAP8C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8FAO7D;CACP,QAP+C,EAAE,QAOzC;AACV,CAAC"}
1
+ {"version":3,"file":"list-permission-groups.mjs","names":[],"sources":["../../src/actions/list-permission-groups.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { stackAi } from \"../app\";\n\nexport const StackAiListPermissionGroupsInput = z.object({}).describe(\"Request model for listing permission groups.\\nThis endpoint does not require any parameters.\");\nexport const StackAiListPermissionGroupsOutput = z.unknown();\n\nexport const stackAiListPermissionGroups: AppAction<\n typeof StackAiListPermissionGroupsInput,\n typeof StackAiListPermissionGroupsOutput,\n typeof stackAi.credential\n> = action(\"STACK_AI_LIST_PERMISSION_GROUPS\", {\n slug: \"stack_ai-list-permission-groups\",\n name: \"List Permission Groups\",\n description: \"Tool to list all permission groups with their associated permissions. Use when you need to retrieve available permission groups and their permissions for access control management.\",\n input: StackAiListPermissionGroupsInput,\n output: StackAiListPermissionGroupsOutput,\n});\n"],"mappings":";;;AASA,MAAa,8BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX8C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8FAW7D;CACP,QAX+C,EAAE,QAWzC;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-permissions.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-permissions.cjs","names":["z","action"],"sources":["../../src/actions/list-permissions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiListPermissionsInput = z.object({}).describe(\"Request model for listing Stack AI permissions.\\nThis endpoint requires no parameters.\");\nconst StackAiListPermissions_PermissionSchema = z.object({\n id: z.string().describe(\"Unique identifier for the permission\").nullable(),\n key: z.string().describe(\"Unique permission key\").nullable(),\n tags: z.array(z.string()).describe(\"Tags for organizing permissions in the UI\").nullable().optional(),\n title: z.string().describe(\"Short title for the permission\").nullable().optional(),\n action: z.string().describe(\"The action\").nullable(),\n group_key: z.string().describe(\"Group this permission belongs to\").nullable().optional(),\n description: z.string().describe(\"Detailed description of the permission\").nullable().optional(),\n is_assignable: z.boolean().describe(\"Whether this permission can be assigned/modified\").nullable(),\n is_deprecated: z.boolean().describe(\"Whether this permission is deprecated\").nullable(),\n resource_type: z.string().describe(\"The resource type\").nullable(),\n subresource_type: z.string().describe(\"Optional subresource\").nullable().optional(),\n}).passthrough().describe(\"Individual permission object.\");\nexport const StackAiListPermissionsOutput = z.object({\n permissions: z.array(StackAiListPermissions_PermissionSchema).describe(\"List of all available permissions\"),\n}).passthrough().describe(\"Response model for listing Stack AI permissions.\\nReturns an array of permission objects.\");\n\nexport const stackAiListPermissions = action(\"STACK_AI_LIST_PERMISSIONS\", {\n slug: \"stack_ai-list-permissions\",\n name: \"List Permissions\",\n description: \"Tool to list all available permissions in Stack AI. Use when you need to view or check available permission types.\",\n input: StackAiListPermissionsInput,\n output: StackAiListPermissionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wFAAwF;AACzJ,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC3D,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CACnD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACjG,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACtF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACjE,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AACzD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,aAAaA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,mCAAmC,EAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2FAA2F;AAErH,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-permissions.cjs","names":["z","action"],"sources":["../../src/actions/list-permissions.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { stackAi } from \"../app\";\n\nexport const StackAiListPermissionsInput = z.object({}).describe(\"Request model for listing Stack AI permissions.\\nThis endpoint requires no parameters.\");\nconst StackAiListPermissions_PermissionSchema = z.object({\n id: z.string().describe(\"Unique identifier for the permission\").nullable(),\n key: z.string().describe(\"Unique permission key\").nullable(),\n tags: z.array(z.string()).describe(\"Tags for organizing permissions in the UI\").nullable().optional(),\n title: z.string().describe(\"Short title for the permission\").nullable().optional(),\n action: z.string().describe(\"The action\").nullable(),\n group_key: z.string().describe(\"Group this permission belongs to\").nullable().optional(),\n description: z.string().describe(\"Detailed description of the permission\").nullable().optional(),\n is_assignable: z.boolean().describe(\"Whether this permission can be assigned/modified\").nullable(),\n is_deprecated: z.boolean().describe(\"Whether this permission is deprecated\").nullable(),\n resource_type: z.string().describe(\"The resource type\").nullable(),\n subresource_type: z.string().describe(\"Optional subresource\").nullable().optional(),\n}).passthrough().describe(\"Individual permission object.\");\nexport const StackAiListPermissionsOutput = z.object({\n permissions: z.array(StackAiListPermissions_PermissionSchema).describe(\"List of all available permissions\"),\n}).passthrough().describe(\"Response model for listing Stack AI permissions.\\nReturns an array of permission objects.\");\n\nexport const stackAiListPermissions: AppAction<\n typeof StackAiListPermissionsInput,\n typeof StackAiListPermissionsOutput,\n typeof stackAi.credential\n> = action(\"STACK_AI_LIST_PERMISSIONS\", {\n slug: \"stack_ai-list-permissions\",\n name: \"List Permissions\",\n description: \"Tool to list all available permissions in Stack AI. Use when you need to view or check available permission types.\",\n input: StackAiListPermissionsInput,\n output: StackAiListPermissionsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wFAAwF;AACzJ,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC3D,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CACnD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACjG,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACtF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACjE,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AACzD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,aAAaA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,mCAAmC,EAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2FAA2F;AAErH,MAAa,yBAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { stackAi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-permissions.d.ts
@@ -17,21 +19,7 @@ declare const StackAiListPermissionsOutput: z.ZodObject<{
17
19
  subresource_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
20
  }, z.core.$loose>>;
19
21
  }, z.core.$loose>;
20
- declare const stackAiListPermissions: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
21
- connectionId: z.ZodString;
22
- entityId: z.ZodString;
23
- instanceId: z.ZodString;
24
- }, z.core.$strip>, z.ZodObject<{
25
- generic_api_key: z.ZodString;
26
- generic_id: z.ZodString;
27
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
28
- connectionId: z.ZodString;
29
- entityId: z.ZodString;
30
- instanceId: z.ZodString;
31
- }, z.core.$strip>, z.ZodObject<{
32
- generic_api_key: z.ZodString;
33
- generic_id: z.ZodString;
34
- }, z.core.$strip>>]>;
22
+ declare const stackAiListPermissions: AppAction<typeof StackAiListPermissionsInput, typeof StackAiListPermissionsOutput, typeof stackAi.credential>;
35
23
  //#endregion
36
24
  export { stackAiListPermissions };
37
25
  //# sourceMappingURL=list-permissions.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-permissions.d.cts","names":[],"sources":["../../src/actions/list-permissions.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAc3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAI5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"list-permissions.d.cts","names":[],"sources":["../../src/actions/list-permissions.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAc3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { stackAi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-permissions.d.ts
@@ -17,21 +19,7 @@ declare const StackAiListPermissionsOutput: z.ZodObject<{
17
19
  subresource_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
20
  }, z.core.$loose>>;
19
21
  }, z.core.$loose>;
20
- declare const stackAiListPermissions: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
21
- connectionId: z.ZodString;
22
- entityId: z.ZodString;
23
- instanceId: z.ZodString;
24
- }, z.core.$strip>, z.ZodObject<{
25
- generic_api_key: z.ZodString;
26
- generic_id: z.ZodString;
27
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
28
- connectionId: z.ZodString;
29
- entityId: z.ZodString;
30
- instanceId: z.ZodString;
31
- }, z.core.$strip>, z.ZodObject<{
32
- generic_api_key: z.ZodString;
33
- generic_id: z.ZodString;
34
- }, z.core.$strip>>]>;
22
+ declare const stackAiListPermissions: AppAction<typeof StackAiListPermissionsInput, typeof StackAiListPermissionsOutput, typeof stackAi.credential>;
35
23
  //#endregion
36
24
  export { stackAiListPermissions };
37
25
  //# sourceMappingURL=list-permissions.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-permissions.d.mts","names":[],"sources":["../../src/actions/list-permissions.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAc3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAI5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"list-permissions.d.mts","names":[],"sources":["../../src/actions/list-permissions.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAc3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-permissions.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-permissions.mjs","names":[],"sources":["../../src/actions/list-permissions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiListPermissionsInput = z.object({}).describe(\"Request model for listing Stack AI permissions.\\nThis endpoint requires no parameters.\");\nconst StackAiListPermissions_PermissionSchema = z.object({\n id: z.string().describe(\"Unique identifier for the permission\").nullable(),\n key: z.string().describe(\"Unique permission key\").nullable(),\n tags: z.array(z.string()).describe(\"Tags for organizing permissions in the UI\").nullable().optional(),\n title: z.string().describe(\"Short title for the permission\").nullable().optional(),\n action: z.string().describe(\"The action\").nullable(),\n group_key: z.string().describe(\"Group this permission belongs to\").nullable().optional(),\n description: z.string().describe(\"Detailed description of the permission\").nullable().optional(),\n is_assignable: z.boolean().describe(\"Whether this permission can be assigned/modified\").nullable(),\n is_deprecated: z.boolean().describe(\"Whether this permission is deprecated\").nullable(),\n resource_type: z.string().describe(\"The resource type\").nullable(),\n subresource_type: z.string().describe(\"Optional subresource\").nullable().optional(),\n}).passthrough().describe(\"Individual permission object.\");\nexport const StackAiListPermissionsOutput = z.object({\n permissions: z.array(StackAiListPermissions_PermissionSchema).describe(\"List of all available permissions\"),\n}).passthrough().describe(\"Response model for listing Stack AI permissions.\\nReturns an array of permission objects.\");\n\nexport const stackAiListPermissions = action(\"STACK_AI_LIST_PERMISSIONS\", {\n slug: \"stack_ai-list-permissions\",\n name: \"List Permissions\",\n description: \"Tool to list all available permissions in Stack AI. Use when you need to view or check available permission types.\",\n input: StackAiListPermissionsInput,\n output: StackAiListPermissionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wFAAwF;AACzJ,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC3D,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CACnD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACjG,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACtF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACjE,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AAKzD,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0C,EAAE,OAAO,EACnD,aAAa,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,mCAAmC,EAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2FAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-permissions.mjs","names":[],"sources":["../../src/actions/list-permissions.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { stackAi } from \"../app\";\n\nexport const StackAiListPermissionsInput = z.object({}).describe(\"Request model for listing Stack AI permissions.\\nThis endpoint requires no parameters.\");\nconst StackAiListPermissions_PermissionSchema = z.object({\n id: z.string().describe(\"Unique identifier for the permission\").nullable(),\n key: z.string().describe(\"Unique permission key\").nullable(),\n tags: z.array(z.string()).describe(\"Tags for organizing permissions in the UI\").nullable().optional(),\n title: z.string().describe(\"Short title for the permission\").nullable().optional(),\n action: z.string().describe(\"The action\").nullable(),\n group_key: z.string().describe(\"Group this permission belongs to\").nullable().optional(),\n description: z.string().describe(\"Detailed description of the permission\").nullable().optional(),\n is_assignable: z.boolean().describe(\"Whether this permission can be assigned/modified\").nullable(),\n is_deprecated: z.boolean().describe(\"Whether this permission is deprecated\").nullable(),\n resource_type: z.string().describe(\"The resource type\").nullable(),\n subresource_type: z.string().describe(\"Optional subresource\").nullable().optional(),\n}).passthrough().describe(\"Individual permission object.\");\nexport const StackAiListPermissionsOutput = z.object({\n permissions: z.array(StackAiListPermissions_PermissionSchema).describe(\"List of all available permissions\"),\n}).passthrough().describe(\"Response model for listing Stack AI permissions.\\nReturns an array of permission objects.\");\n\nexport const stackAiListPermissions: AppAction<\n typeof StackAiListPermissionsInput,\n typeof StackAiListPermissionsOutput,\n typeof stackAi.credential\n> = action(\"STACK_AI_LIST_PERMISSIONS\", {\n slug: \"stack_ai-list-permissions\",\n name: \"List Permissions\",\n description: \"Tool to list all available permissions in Stack AI. Use when you need to view or check available permission types.\",\n input: StackAiListPermissionsInput,\n output: StackAiListPermissionsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wFAAwF;AACzJ,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC3D,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CACnD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACjG,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACtF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACjE,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AAKzD,MAAa,yBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb0C,EAAE,OAAO,EACnD,aAAa,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,mCAAmC,EAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2FAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-provider-triggers.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-provider-triggers.cjs","names":["z","action"],"sources":["../../src/actions/list-provider-triggers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiListProviderTriggersInput = z.object({\n provider_id: z.string().describe(\"The identifier of the provider to list triggers for.\"),\n}).describe(\"Request model for listing triggers available for a specific provider.\");\nconst StackAiListProviderTriggers_TriggerUICopySchema = z.object({\n event_name: z.string().describe(\"Human-readable name of the event being monitored.\").nullable(),\n instructions: z.record(z.string(), z.unknown()).describe(\"Additional instructions for configuring the trigger.\").nullable().optional(),\n listening_text: z.string().describe(\"Text displayed when the trigger is listening for events.\").nullable(),\n}).passthrough().describe(\"UI copy configuration for the trigger.\");\nconst StackAiListProviderTriggers_TriggerTypeSchema = z.enum([\"POLLING\", \"WEBHOOK\", \"SCHEDULED\"]).describe(\"Enumeration of trigger types available in Stack AI.\");\nconst StackAiListProviderTriggers_TriggerDefinitionSchema = z.object({\n icon: z.string().describe(\"Icon identifier or URL for the trigger.\").nullable(),\n tags: z.array(z.string()).default([]).describe(\"Tags associated with the trigger for categorization.\").nullable().optional(),\n ui_copy: StackAiListProviderTriggers_TriggerUICopySchema.nullable(),\n version: z.string().default(\"1.0.0\").describe(\"Version of the trigger definition.\").nullable().optional(),\n trigger_id: z.string().describe(\"Unique identifier for the trigger.\").nullable(),\n description: z.string().describe(\"Detailed description of what the trigger does and when it fires.\").nullable(),\n provider_id: z.string().describe(\"The identifier of the provider this trigger belongs to.\").nullable(),\n trigger_name: z.string().describe(\"Human-readable name of the trigger.\").nullable(),\n trigger_type: StackAiListProviderTriggers_TriggerTypeSchema.nullable(),\n can_get_test_samples: z.boolean().describe(\"Whether test samples can be retrieved for this trigger.\").nullable(),\n webhook_requires_verification: z.boolean().default(false).describe(\"Whether the webhook requires verification via a challenge request before creation (e.g., Microsoft Graph, Slack).\").nullable().optional(),\n}).passthrough().describe(\"Definition of a trigger available for a provider.\");\nexport const StackAiListProviderTriggersOutput = z.object({\n triggers: z.array(StackAiListProviderTriggers_TriggerDefinitionSchema).describe(\"Array of trigger definitions available for the specified provider.\"),\n}).passthrough().describe(\"Response model containing the list of triggers available for a provider.\");\n\nexport const stackAiListProviderTriggers = action(\"STACK_AI_LIST_PROVIDER_TRIGGERS\", {\n slug: \"stack_ai-list-provider-triggers\",\n name: \"List Provider Triggers\",\n description: \"Tool to get all available triggers for a specific provider. Use when you need to discover what trigger types are supported by a provider.\",\n input: StackAiListProviderTriggersInput,\n output: StackAiListProviderTriggersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,EACzF,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,cAAcA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAM,gDAAgDA,IAAAA,EAAE,KAAK;CAAC;CAAW;CAAW;AAAW,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAChK,MAAM,sDAAsDA,IAAAA,EAAE,OAAO;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC9E,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,SAAS,gDAAgD,SAAS;CAClE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC/E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC9G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACrG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAClF,cAAc,8CAA8C,SAAS;CACrE,sBAAsBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC/G,+BAA+BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9M,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,UAAUA,IAAAA,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,oEAAoE,EACtJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0EAA0E;AAEpG,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-provider-triggers.cjs","names":["z","action"],"sources":["../../src/actions/list-provider-triggers.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { stackAi } from \"../app\";\n\nexport const StackAiListProviderTriggersInput = z.object({\n provider_id: z.string().describe(\"The identifier of the provider to list triggers for.\"),\n}).describe(\"Request model for listing triggers available for a specific provider.\");\nconst StackAiListProviderTriggers_TriggerUICopySchema = z.object({\n event_name: z.string().describe(\"Human-readable name of the event being monitored.\").nullable(),\n instructions: z.record(z.string(), z.unknown()).describe(\"Additional instructions for configuring the trigger.\").nullable().optional(),\n listening_text: z.string().describe(\"Text displayed when the trigger is listening for events.\").nullable(),\n}).passthrough().describe(\"UI copy configuration for the trigger.\");\nconst StackAiListProviderTriggers_TriggerTypeSchema = z.enum([\"POLLING\", \"WEBHOOK\", \"SCHEDULED\"]).describe(\"Enumeration of trigger types available in Stack AI.\");\nconst StackAiListProviderTriggers_TriggerDefinitionSchema = z.object({\n icon: z.string().describe(\"Icon identifier or URL for the trigger.\").nullable(),\n tags: z.array(z.string()).default([]).describe(\"Tags associated with the trigger for categorization.\").nullable().optional(),\n ui_copy: StackAiListProviderTriggers_TriggerUICopySchema.nullable(),\n version: z.string().default(\"1.0.0\").describe(\"Version of the trigger definition.\").nullable().optional(),\n trigger_id: z.string().describe(\"Unique identifier for the trigger.\").nullable(),\n description: z.string().describe(\"Detailed description of what the trigger does and when it fires.\").nullable(),\n provider_id: z.string().describe(\"The identifier of the provider this trigger belongs to.\").nullable(),\n trigger_name: z.string().describe(\"Human-readable name of the trigger.\").nullable(),\n trigger_type: StackAiListProviderTriggers_TriggerTypeSchema.nullable(),\n can_get_test_samples: z.boolean().describe(\"Whether test samples can be retrieved for this trigger.\").nullable(),\n webhook_requires_verification: z.boolean().default(false).describe(\"Whether the webhook requires verification via a challenge request before creation (e.g., Microsoft Graph, Slack).\").nullable().optional(),\n}).passthrough().describe(\"Definition of a trigger available for a provider.\");\nexport const StackAiListProviderTriggersOutput = z.object({\n triggers: z.array(StackAiListProviderTriggers_TriggerDefinitionSchema).describe(\"Array of trigger definitions available for the specified provider.\"),\n}).passthrough().describe(\"Response model containing the list of triggers available for a provider.\");\n\nexport const stackAiListProviderTriggers: AppAction<\n typeof StackAiListProviderTriggersInput,\n typeof StackAiListProviderTriggersOutput,\n typeof stackAi.credential\n> = action(\"STACK_AI_LIST_PROVIDER_TRIGGERS\", {\n slug: \"stack_ai-list-provider-triggers\",\n name: \"List Provider Triggers\",\n description: \"Tool to get all available triggers for a specific provider. Use when you need to discover what trigger types are supported by a provider.\",\n input: StackAiListProviderTriggersInput,\n output: StackAiListProviderTriggersOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,EACzF,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,cAAcA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAM,gDAAgDA,IAAAA,EAAE,KAAK;CAAC;CAAW;CAAW;AAAW,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAChK,MAAM,sDAAsDA,IAAAA,EAAE,OAAO;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC9E,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,SAAS,gDAAgD,SAAS;CAClE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC/E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC9G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACrG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAClF,cAAc,8CAA8C,SAAS;CACrE,sBAAsBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC/G,+BAA+BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9M,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,UAAUA,IAAAA,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,oEAAoE,EACtJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0EAA0E;AAEpG,MAAa,8BAITC,eAAAA,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { stackAi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-provider-triggers.d.ts
@@ -27,23 +29,7 @@ declare const StackAiListProviderTriggersOutput: z.ZodObject<{
27
29
  webhook_requires_verification: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
28
30
  }, z.core.$loose>>;
29
31
  }, z.core.$loose>;
30
- declare const stackAiListProviderTriggers: import("@keystrokehq/action").WorkflowActionDefinition<{
31
- provider_id: string;
32
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
33
- connectionId: z.ZodString;
34
- entityId: z.ZodString;
35
- instanceId: z.ZodString;
36
- }, z.core.$strip>, z.ZodObject<{
37
- generic_api_key: z.ZodString;
38
- generic_id: z.ZodString;
39
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
40
- connectionId: z.ZodString;
41
- entityId: z.ZodString;
42
- instanceId: z.ZodString;
43
- }, z.core.$strip>, z.ZodObject<{
44
- generic_api_key: z.ZodString;
45
- generic_id: z.ZodString;
46
- }, z.core.$strip>>]>;
32
+ declare const stackAiListProviderTriggers: AppAction<typeof StackAiListProviderTriggersInput, typeof StackAiListProviderTriggersOutput, typeof stackAi.credential>;
47
33
  //#endregion
48
34
  export { stackAiListProviderTriggers };
49
35
  //# sourceMappingURL=list-provider-triggers.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-provider-triggers.d.cts","names":[],"sources":["../../src/actions/list-provider-triggers.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAsBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"list-provider-triggers.d.cts","names":[],"sources":["../../src/actions/list-provider-triggers.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAsBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { stackAi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-provider-triggers.d.ts
@@ -27,23 +29,7 @@ declare const StackAiListProviderTriggersOutput: z.ZodObject<{
27
29
  webhook_requires_verification: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
28
30
  }, z.core.$loose>>;
29
31
  }, z.core.$loose>;
30
- declare const stackAiListProviderTriggers: import("@keystrokehq/action").WorkflowActionDefinition<{
31
- provider_id: string;
32
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
33
- connectionId: z.ZodString;
34
- entityId: z.ZodString;
35
- instanceId: z.ZodString;
36
- }, z.core.$strip>, z.ZodObject<{
37
- generic_api_key: z.ZodString;
38
- generic_id: z.ZodString;
39
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
40
- connectionId: z.ZodString;
41
- entityId: z.ZodString;
42
- instanceId: z.ZodString;
43
- }, z.core.$strip>, z.ZodObject<{
44
- generic_api_key: z.ZodString;
45
- generic_id: z.ZodString;
46
- }, z.core.$strip>>]>;
32
+ declare const stackAiListProviderTriggers: AppAction<typeof StackAiListProviderTriggersInput, typeof StackAiListProviderTriggersOutput, typeof stackAi.credential>;
47
33
  //#endregion
48
34
  export { stackAiListProviderTriggers };
49
35
  //# sourceMappingURL=list-provider-triggers.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-provider-triggers.d.mts","names":[],"sources":["../../src/actions/list-provider-triggers.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAsBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"list-provider-triggers.d.mts","names":[],"sources":["../../src/actions/list-provider-triggers.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAsBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-provider-triggers.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-provider-triggers.mjs","names":[],"sources":["../../src/actions/list-provider-triggers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiListProviderTriggersInput = z.object({\n provider_id: z.string().describe(\"The identifier of the provider to list triggers for.\"),\n}).describe(\"Request model for listing triggers available for a specific provider.\");\nconst StackAiListProviderTriggers_TriggerUICopySchema = z.object({\n event_name: z.string().describe(\"Human-readable name of the event being monitored.\").nullable(),\n instructions: z.record(z.string(), z.unknown()).describe(\"Additional instructions for configuring the trigger.\").nullable().optional(),\n listening_text: z.string().describe(\"Text displayed when the trigger is listening for events.\").nullable(),\n}).passthrough().describe(\"UI copy configuration for the trigger.\");\nconst StackAiListProviderTriggers_TriggerTypeSchema = z.enum([\"POLLING\", \"WEBHOOK\", \"SCHEDULED\"]).describe(\"Enumeration of trigger types available in Stack AI.\");\nconst StackAiListProviderTriggers_TriggerDefinitionSchema = z.object({\n icon: z.string().describe(\"Icon identifier or URL for the trigger.\").nullable(),\n tags: z.array(z.string()).default([]).describe(\"Tags associated with the trigger for categorization.\").nullable().optional(),\n ui_copy: StackAiListProviderTriggers_TriggerUICopySchema.nullable(),\n version: z.string().default(\"1.0.0\").describe(\"Version of the trigger definition.\").nullable().optional(),\n trigger_id: z.string().describe(\"Unique identifier for the trigger.\").nullable(),\n description: z.string().describe(\"Detailed description of what the trigger does and when it fires.\").nullable(),\n provider_id: z.string().describe(\"The identifier of the provider this trigger belongs to.\").nullable(),\n trigger_name: z.string().describe(\"Human-readable name of the trigger.\").nullable(),\n trigger_type: StackAiListProviderTriggers_TriggerTypeSchema.nullable(),\n can_get_test_samples: z.boolean().describe(\"Whether test samples can be retrieved for this trigger.\").nullable(),\n webhook_requires_verification: z.boolean().default(false).describe(\"Whether the webhook requires verification via a challenge request before creation (e.g., Microsoft Graph, Slack).\").nullable().optional(),\n}).passthrough().describe(\"Definition of a trigger available for a provider.\");\nexport const StackAiListProviderTriggersOutput = z.object({\n triggers: z.array(StackAiListProviderTriggers_TriggerDefinitionSchema).describe(\"Array of trigger definitions available for the specified provider.\"),\n}).passthrough().describe(\"Response model containing the list of triggers available for a provider.\");\n\nexport const stackAiListProviderTriggers = action(\"STACK_AI_LIST_PROVIDER_TRIGGERS\", {\n slug: \"stack_ai-list-provider-triggers\",\n name: \"List Provider Triggers\",\n description: \"Tool to get all available triggers for a specific provider. Use when you need to discover what trigger types are supported by a provider.\",\n input: StackAiListProviderTriggersInput,\n output: StackAiListProviderTriggersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO,EACvD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,EACzF,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,kDAAkD,EAAE,OAAO;CAC/D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,cAAc,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAM,gDAAgD,EAAE,KAAK;CAAC;CAAW;CAAW;AAAW,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAChK,MAAM,sDAAsD,EAAE,OAAO;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC9E,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,SAAS,gDAAgD,SAAS;CAClE,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC/E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC9G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACrG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAClF,cAAc,8CAA8C,SAAS;CACrE,sBAAsB,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC/G,+BAA+B,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9M,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAK7E,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT+C,EAAE,OAAO,EACxD,UAAU,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,oEAAoE,EACtJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0EAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-provider-triggers.mjs","names":[],"sources":["../../src/actions/list-provider-triggers.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { stackAi } from \"../app\";\n\nexport const StackAiListProviderTriggersInput = z.object({\n provider_id: z.string().describe(\"The identifier of the provider to list triggers for.\"),\n}).describe(\"Request model for listing triggers available for a specific provider.\");\nconst StackAiListProviderTriggers_TriggerUICopySchema = z.object({\n event_name: z.string().describe(\"Human-readable name of the event being monitored.\").nullable(),\n instructions: z.record(z.string(), z.unknown()).describe(\"Additional instructions for configuring the trigger.\").nullable().optional(),\n listening_text: z.string().describe(\"Text displayed when the trigger is listening for events.\").nullable(),\n}).passthrough().describe(\"UI copy configuration for the trigger.\");\nconst StackAiListProviderTriggers_TriggerTypeSchema = z.enum([\"POLLING\", \"WEBHOOK\", \"SCHEDULED\"]).describe(\"Enumeration of trigger types available in Stack AI.\");\nconst StackAiListProviderTriggers_TriggerDefinitionSchema = z.object({\n icon: z.string().describe(\"Icon identifier or URL for the trigger.\").nullable(),\n tags: z.array(z.string()).default([]).describe(\"Tags associated with the trigger for categorization.\").nullable().optional(),\n ui_copy: StackAiListProviderTriggers_TriggerUICopySchema.nullable(),\n version: z.string().default(\"1.0.0\").describe(\"Version of the trigger definition.\").nullable().optional(),\n trigger_id: z.string().describe(\"Unique identifier for the trigger.\").nullable(),\n description: z.string().describe(\"Detailed description of what the trigger does and when it fires.\").nullable(),\n provider_id: z.string().describe(\"The identifier of the provider this trigger belongs to.\").nullable(),\n trigger_name: z.string().describe(\"Human-readable name of the trigger.\").nullable(),\n trigger_type: StackAiListProviderTriggers_TriggerTypeSchema.nullable(),\n can_get_test_samples: z.boolean().describe(\"Whether test samples can be retrieved for this trigger.\").nullable(),\n webhook_requires_verification: z.boolean().default(false).describe(\"Whether the webhook requires verification via a challenge request before creation (e.g., Microsoft Graph, Slack).\").nullable().optional(),\n}).passthrough().describe(\"Definition of a trigger available for a provider.\");\nexport const StackAiListProviderTriggersOutput = z.object({\n triggers: z.array(StackAiListProviderTriggers_TriggerDefinitionSchema).describe(\"Array of trigger definitions available for the specified provider.\"),\n}).passthrough().describe(\"Response model containing the list of triggers available for a provider.\");\n\nexport const stackAiListProviderTriggers: AppAction<\n typeof StackAiListProviderTriggersInput,\n typeof StackAiListProviderTriggersOutput,\n typeof stackAi.credential\n> = action(\"STACK_AI_LIST_PROVIDER_TRIGGERS\", {\n slug: \"stack_ai-list-provider-triggers\",\n name: \"List Provider Triggers\",\n description: \"Tool to get all available triggers for a specific provider. Use when you need to discover what trigger types are supported by a provider.\",\n input: StackAiListProviderTriggersInput,\n output: StackAiListProviderTriggersOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmC,EAAE,OAAO,EACvD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,EACzF,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,kDAAkD,EAAE,OAAO;CAC/D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,cAAc,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAM,gDAAgD,EAAE,KAAK;CAAC;CAAW;CAAW;AAAW,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAChK,MAAM,sDAAsD,EAAE,OAAO;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC9E,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,SAAS,gDAAgD,SAAS;CAClE,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC/E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC9G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACrG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAClF,cAAc,8CAA8C,SAAS;CACrE,sBAAsB,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC/G,+BAA+B,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9M,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAK7E,MAAa,8BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb+C,EAAE,OAAO,EACxD,UAAU,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,oEAAoE,EACtJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0EAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-stack-ai-triggers.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-stack-ai-triggers.cjs","names":["z","action"],"sources":["../../src/actions/list-stack-ai-triggers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiListStackAiTriggersInput = z.object({}).describe(\"Request model for listing Stack AI triggers.\\nThis endpoint does not require any parameters.\");\nexport const StackAiListStackAiTriggersOutput = z.object({\n triggers: z.array(z.record(z.string(), z.unknown())).describe(\"List of available Stack AI triggers with dynamic properties\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing Stack AI triggers.\\nReturns an array of trigger objects with dynamic properties.\");\n\nexport const stackAiListStackAiTriggers = action(\"STACK_AI_LIST_STACK_AI_TRIGGERS\", {\n slug: \"stack_ai-list-stack-ai-triggers\",\n name: \"List Stack AI Triggers\",\n description: \"Tool to list all available Stack AI tool triggers. Use when you need to discover what triggers are available in the Stack AI platform.\",\n input: StackAiListStackAiTriggersInput,\n output: StackAiListStackAiTriggersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8FAA8F;AACnK,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6GAA6G;AAEvI,MAAa,6BAA6BC,eAAAA,OAAO,mCAAmC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-stack-ai-triggers.cjs","names":["z","action"],"sources":["../../src/actions/list-stack-ai-triggers.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { stackAi } from \"../app\";\n\nexport const StackAiListStackAiTriggersInput = z.object({}).describe(\"Request model for listing Stack AI triggers.\\nThis endpoint does not require any parameters.\");\nexport const StackAiListStackAiTriggersOutput = z.object({\n triggers: z.array(z.record(z.string(), z.unknown())).describe(\"List of available Stack AI triggers with dynamic properties\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing Stack AI triggers.\\nReturns an array of trigger objects with dynamic properties.\");\n\nexport const stackAiListStackAiTriggers: AppAction<\n typeof StackAiListStackAiTriggersInput,\n typeof StackAiListStackAiTriggersOutput,\n typeof stackAi.credential\n> = action(\"STACK_AI_LIST_STACK_AI_TRIGGERS\", {\n slug: \"stack_ai-list-stack-ai-triggers\",\n name: \"List Stack AI Triggers\",\n description: \"Tool to list all available Stack AI tool triggers. Use when you need to discover what triggers are available in the Stack AI platform.\",\n input: StackAiListStackAiTriggersInput,\n output: StackAiListStackAiTriggersOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8FAA8F;AACnK,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6GAA6G;AAEvI,MAAa,6BAITC,eAAAA,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}