@keystrokehq/stack_ai 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 (173) 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.map +1 -1
  4. package/dist/actions/check-health.d.cts +3 -3
  5. package/dist/actions/check-health.d.cts.map +1 -1
  6. package/dist/actions/check-health.d.mts +3 -3
  7. package/dist/actions/check-health.d.mts.map +1 -1
  8. package/dist/actions/check-health.mjs.map +1 -1
  9. package/dist/actions/get-action-inputs.cjs.map +1 -1
  10. package/dist/actions/get-action-inputs.d.cts +9 -3
  11. package/dist/actions/get-action-inputs.d.cts.map +1 -1
  12. package/dist/actions/get-action-inputs.d.mts +9 -3
  13. package/dist/actions/get-action-inputs.d.mts.map +1 -1
  14. package/dist/actions/get-action-inputs.mjs.map +1 -1
  15. package/dist/actions/get-action-outputs.cjs.map +1 -1
  16. package/dist/actions/get-action-outputs.d.cts +17 -3
  17. package/dist/actions/get-action-outputs.d.cts.map +1 -1
  18. package/dist/actions/get-action-outputs.d.mts +17 -3
  19. package/dist/actions/get-action-outputs.d.mts.map +1 -1
  20. package/dist/actions/get-action-outputs.mjs.map +1 -1
  21. package/dist/actions/get-connector-type-schema.cjs +7 -7
  22. package/dist/actions/get-connector-type-schema.cjs.map +1 -1
  23. package/dist/actions/get-connector-type-schema.d.cts +22 -3
  24. package/dist/actions/get-connector-type-schema.d.cts.map +1 -1
  25. package/dist/actions/get-connector-type-schema.d.mts +22 -3
  26. package/dist/actions/get-connector-type-schema.d.mts.map +1 -1
  27. package/dist/actions/get-connector-type-schema.mjs +7 -7
  28. package/dist/actions/get-connector-type-schema.mjs.map +1 -1
  29. package/dist/actions/get-license-status.cjs +6 -6
  30. package/dist/actions/get-license-status.cjs.map +1 -1
  31. package/dist/actions/get-license-status.d.cts +9 -3
  32. package/dist/actions/get-license-status.d.cts.map +1 -1
  33. package/dist/actions/get-license-status.d.mts +9 -3
  34. package/dist/actions/get-license-status.d.mts.map +1 -1
  35. package/dist/actions/get-license-status.mjs +6 -6
  36. package/dist/actions/get-license-status.mjs.map +1 -1
  37. package/dist/actions/get-provider-action.cjs +26 -26
  38. package/dist/actions/get-provider-action.cjs.map +1 -1
  39. package/dist/actions/get-provider-action.d.cts +54 -3
  40. package/dist/actions/get-provider-action.d.cts.map +1 -1
  41. package/dist/actions/get-provider-action.d.mts +54 -3
  42. package/dist/actions/get-provider-action.d.mts.map +1 -1
  43. package/dist/actions/get-provider-action.mjs +26 -26
  44. package/dist/actions/get-provider-action.mjs.map +1 -1
  45. package/dist/actions/get-provider-icon.cjs +6 -6
  46. package/dist/actions/get-provider-icon.cjs.map +1 -1
  47. package/dist/actions/get-provider-icon.d.cts +14 -3
  48. package/dist/actions/get-provider-icon.d.cts.map +1 -1
  49. package/dist/actions/get-provider-icon.d.mts +14 -3
  50. package/dist/actions/get-provider-icon.d.mts.map +1 -1
  51. package/dist/actions/get-provider-icon.mjs +6 -6
  52. package/dist/actions/get-provider-icon.mjs.map +1 -1
  53. package/dist/actions/get-provider-trigger.cjs +19 -19
  54. package/dist/actions/get-provider-trigger.cjs.map +1 -1
  55. package/dist/actions/get-provider-trigger.d.cts +55 -3
  56. package/dist/actions/get-provider-trigger.d.cts.map +1 -1
  57. package/dist/actions/get-provider-trigger.d.mts +55 -3
  58. package/dist/actions/get-provider-trigger.d.mts.map +1 -1
  59. package/dist/actions/get-provider-trigger.mjs +19 -19
  60. package/dist/actions/get-provider-trigger.mjs.map +1 -1
  61. package/dist/actions/get-provider.cjs +19 -19
  62. package/dist/actions/get-provider.cjs.map +1 -1
  63. package/dist/actions/get-provider.d.cts +52 -3
  64. package/dist/actions/get-provider.d.cts.map +1 -1
  65. package/dist/actions/get-provider.d.mts +52 -3
  66. package/dist/actions/get-provider.d.mts.map +1 -1
  67. package/dist/actions/get-provider.mjs +19 -19
  68. package/dist/actions/get-provider.mjs.map +1 -1
  69. package/dist/actions/get-root.cjs.map +1 -1
  70. package/dist/actions/get-root.d.cts +3 -3
  71. package/dist/actions/get-root.d.cts.map +1 -1
  72. package/dist/actions/get-root.d.mts +3 -3
  73. package/dist/actions/get-root.d.mts.map +1 -1
  74. package/dist/actions/get-root.mjs.map +1 -1
  75. package/dist/actions/get-trigger-by-provider.cjs +10 -10
  76. package/dist/actions/get-trigger-by-provider.cjs.map +1 -1
  77. package/dist/actions/get-trigger-by-provider.d.cts +29 -3
  78. package/dist/actions/get-trigger-by-provider.d.cts.map +1 -1
  79. package/dist/actions/get-trigger-by-provider.d.mts +29 -3
  80. package/dist/actions/get-trigger-by-provider.d.mts.map +1 -1
  81. package/dist/actions/get-trigger-by-provider.mjs +10 -10
  82. package/dist/actions/get-trigger-by-provider.mjs.map +1 -1
  83. package/dist/actions/get-trigger-inputs.cjs +1 -1
  84. package/dist/actions/get-trigger-inputs.cjs.map +1 -1
  85. package/dist/actions/get-trigger-inputs.d.cts +11 -3
  86. package/dist/actions/get-trigger-inputs.d.cts.map +1 -1
  87. package/dist/actions/get-trigger-inputs.d.mts +11 -3
  88. package/dist/actions/get-trigger-inputs.d.mts.map +1 -1
  89. package/dist/actions/get-trigger-inputs.mjs +1 -1
  90. package/dist/actions/get-trigger-inputs.mjs.map +1 -1
  91. package/dist/actions/get-trigger-outputs.cjs +1 -1
  92. package/dist/actions/get-trigger-outputs.cjs.map +1 -1
  93. package/dist/actions/get-trigger-outputs.d.cts +15 -3
  94. package/dist/actions/get-trigger-outputs.d.cts.map +1 -1
  95. package/dist/actions/get-trigger-outputs.d.mts +15 -3
  96. package/dist/actions/get-trigger-outputs.d.mts.map +1 -1
  97. package/dist/actions/get-trigger-outputs.mjs +1 -1
  98. package/dist/actions/get-trigger-outputs.mjs.map +1 -1
  99. package/dist/actions/list-connector-types.cjs.map +1 -1
  100. package/dist/actions/list-connector-types.d.cts +3 -3
  101. package/dist/actions/list-connector-types.d.cts.map +1 -1
  102. package/dist/actions/list-connector-types.d.mts +3 -3
  103. package/dist/actions/list-connector-types.d.mts.map +1 -1
  104. package/dist/actions/list-connector-types.mjs.map +1 -1
  105. package/dist/actions/list-integrations.cjs +3 -3
  106. package/dist/actions/list-integrations.cjs.map +1 -1
  107. package/dist/actions/list-integrations.d.cts +9 -3
  108. package/dist/actions/list-integrations.d.cts.map +1 -1
  109. package/dist/actions/list-integrations.d.mts +9 -3
  110. package/dist/actions/list-integrations.d.mts.map +1 -1
  111. package/dist/actions/list-integrations.mjs +3 -3
  112. package/dist/actions/list-integrations.mjs.map +1 -1
  113. package/dist/actions/list-permission-groups.cjs.map +1 -1
  114. package/dist/actions/list-permission-groups.d.cts +3 -3
  115. package/dist/actions/list-permission-groups.d.cts.map +1 -1
  116. package/dist/actions/list-permission-groups.d.mts +3 -3
  117. package/dist/actions/list-permission-groups.d.mts.map +1 -1
  118. package/dist/actions/list-permission-groups.mjs.map +1 -1
  119. package/dist/actions/list-permissions.cjs +8 -8
  120. package/dist/actions/list-permissions.cjs.map +1 -1
  121. package/dist/actions/list-permissions.d.cts +17 -3
  122. package/dist/actions/list-permissions.d.cts.map +1 -1
  123. package/dist/actions/list-permissions.d.mts +17 -3
  124. package/dist/actions/list-permissions.d.mts.map +1 -1
  125. package/dist/actions/list-permissions.mjs +8 -8
  126. package/dist/actions/list-permissions.mjs.map +1 -1
  127. package/dist/actions/list-provider-triggers.cjs +12 -12
  128. package/dist/actions/list-provider-triggers.cjs.map +1 -1
  129. package/dist/actions/list-provider-triggers.d.cts +29 -3
  130. package/dist/actions/list-provider-triggers.d.cts.map +1 -1
  131. package/dist/actions/list-provider-triggers.d.mts +29 -3
  132. package/dist/actions/list-provider-triggers.d.mts.map +1 -1
  133. package/dist/actions/list-provider-triggers.mjs +12 -12
  134. package/dist/actions/list-provider-triggers.mjs.map +1 -1
  135. package/dist/actions/list-stack-ai-triggers.cjs +1 -1
  136. package/dist/actions/list-stack-ai-triggers.cjs.map +1 -1
  137. package/dist/actions/list-stack-ai-triggers.d.cts +5 -3
  138. package/dist/actions/list-stack-ai-triggers.d.cts.map +1 -1
  139. package/dist/actions/list-stack-ai-triggers.d.mts +5 -3
  140. package/dist/actions/list-stack-ai-triggers.d.mts.map +1 -1
  141. package/dist/actions/list-stack-ai-triggers.mjs +1 -1
  142. package/dist/actions/list-stack-ai-triggers.mjs.map +1 -1
  143. package/dist/actions/list-stackai-actions.cjs +1 -1
  144. package/dist/actions/list-stackai-actions.cjs.map +1 -1
  145. package/dist/actions/list-stackai-actions.d.cts +5 -3
  146. package/dist/actions/list-stackai-actions.d.cts.map +1 -1
  147. package/dist/actions/list-stackai-actions.d.mts +5 -3
  148. package/dist/actions/list-stackai-actions.d.mts.map +1 -1
  149. package/dist/actions/list-stackai-actions.mjs +1 -1
  150. package/dist/actions/list-stackai-actions.mjs.map +1 -1
  151. package/dist/actions/list-stackai-providers.cjs +11 -11
  152. package/dist/actions/list-stackai-providers.cjs.map +1 -1
  153. package/dist/actions/list-stackai-providers.d.cts +26 -3
  154. package/dist/actions/list-stackai-providers.d.cts.map +1 -1
  155. package/dist/actions/list-stackai-providers.d.mts +26 -3
  156. package/dist/actions/list-stackai-providers.d.mts.map +1 -1
  157. package/dist/actions/list-stackai-providers.mjs +11 -11
  158. package/dist/actions/list-stackai-providers.mjs.map +1 -1
  159. package/dist/actions/list-stackai-tools.cjs +7 -7
  160. package/dist/actions/list-stackai-tools.cjs.map +1 -1
  161. package/dist/actions/list-stackai-tools.d.cts +26 -3
  162. package/dist/actions/list-stackai-tools.d.cts.map +1 -1
  163. package/dist/actions/list-stackai-tools.d.mts +26 -3
  164. package/dist/actions/list-stackai-tools.d.mts.map +1 -1
  165. package/dist/actions/list-stackai-tools.mjs +7 -7
  166. package/dist/actions/list-stackai-tools.mjs.map +1 -1
  167. package/dist/catalog.cjs +13 -1
  168. package/dist/catalog.cjs.map +1 -1
  169. package/dist/catalog.d.cts +12 -0
  170. package/dist/catalog.d.mts +12 -0
  171. package/dist/catalog.mjs +13 -1
  172. package/dist/catalog.mjs.map +1 -1
  173. package/package.json +2 -2
@@ -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.ZodTypeAny = z.object({}).describe(\"Request model for listing Stack AI permissions.\\nThis endpoint requires no parameters.\");\nconst StackAiListPermissions_PermissionSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the permission\"),\n key: z.string().describe(\"Unique permission key\"),\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\"),\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\"),\n is_deprecated: z.boolean().describe(\"Whether this permission is deprecated\"),\n resource_type: z.string().describe(\"The resource type\"),\n subresource_type: z.string().describe(\"Optional subresource\").nullable().optional(),\n}).describe(\"Individual permission object.\");\nexport const StackAiListPermissionsOutput: z.ZodTypeAny = z.object({\n permissions: z.array(StackAiListPermissions_PermissionSchema).describe(\"List of all available permissions\"),\n}).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,8BAA4C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wFAAwF;AACvK,MAAM,0CAAwD,EAAE,OAAO;CACrE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAC9D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CAChD,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;CACxC,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;CACtF,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC;CAC3E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CACtD,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAK3C,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwD,EAAE,OAAO,EACjE,aAAa,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,mCAAmC,EAC5G,CAAC,CAAC,CAAC,SAAS,2FAOF;AACV,CAAC"}
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"}
@@ -3,29 +3,29 @@ let zod = require("zod");
3
3
  //#region src/actions/list-provider-triggers.ts
4
4
  const StackAiListProviderTriggersInput = zod.z.object({ provider_id: zod.z.string().describe("The identifier of the provider to list triggers for.") }).describe("Request model for listing triggers available for a specific provider.");
5
5
  const StackAiListProviderTriggers_TriggerUICopySchema = zod.z.object({
6
- event_name: zod.z.string().describe("Human-readable name of the event being monitored."),
7
- instructions: zod.z.object({}).describe("Additional instructions for configuring the trigger.").nullable().optional(),
8
- listening_text: zod.z.string().describe("Text displayed when the trigger is listening for events.")
9
- }).describe("UI copy configuration for the trigger.");
6
+ event_name: zod.z.string().describe("Human-readable name of the event being monitored.").nullable(),
7
+ instructions: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional instructions for configuring the trigger.").nullable().optional(),
8
+ listening_text: zod.z.string().describe("Text displayed when the trigger is listening for events.").nullable()
9
+ }).passthrough().describe("UI copy configuration for the trigger.");
10
10
  const StackAiListProviderTriggers_TriggerTypeSchema = zod.z.enum([
11
11
  "POLLING",
12
12
  "WEBHOOK",
13
13
  "SCHEDULED"
14
14
  ]).describe("Enumeration of trigger types available in Stack AI.");
15
15
  const StackAiListProviderTriggers_TriggerDefinitionSchema = zod.z.object({
16
- icon: zod.z.string().describe("Icon identifier or URL for the trigger."),
16
+ icon: zod.z.string().describe("Icon identifier or URL for the trigger.").nullable(),
17
17
  tags: zod.z.array(zod.z.string()).default([]).describe("Tags associated with the trigger for categorization.").nullable().optional(),
18
18
  ui_copy: StackAiListProviderTriggers_TriggerUICopySchema.nullable(),
19
19
  version: zod.z.string().default("1.0.0").describe("Version of the trigger definition.").nullable().optional(),
20
- trigger_id: zod.z.string().describe("Unique identifier for the trigger."),
21
- description: zod.z.string().describe("Detailed description of what the trigger does and when it fires."),
22
- provider_id: zod.z.string().describe("The identifier of the provider this trigger belongs to."),
23
- trigger_name: zod.z.string().describe("Human-readable name of the trigger."),
20
+ trigger_id: zod.z.string().describe("Unique identifier for the trigger.").nullable(),
21
+ description: zod.z.string().describe("Detailed description of what the trigger does and when it fires.").nullable(),
22
+ provider_id: zod.z.string().describe("The identifier of the provider this trigger belongs to.").nullable(),
23
+ trigger_name: zod.z.string().describe("Human-readable name of the trigger.").nullable(),
24
24
  trigger_type: StackAiListProviderTriggers_TriggerTypeSchema.nullable(),
25
- can_get_test_samples: zod.z.boolean().describe("Whether test samples can be retrieved for this trigger."),
25
+ can_get_test_samples: zod.z.boolean().describe("Whether test samples can be retrieved for this trigger.").nullable(),
26
26
  webhook_requires_verification: zod.z.boolean().default(false).describe("Whether the webhook requires verification via a challenge request before creation (e.g., Microsoft Graph, Slack).").nullable().optional()
27
- }).describe("Definition of a trigger available for a provider.");
28
- const StackAiListProviderTriggersOutput = zod.z.object({ triggers: zod.z.array(StackAiListProviderTriggers_TriggerDefinitionSchema).describe("Array of trigger definitions available for the specified provider.") }).describe("Response model containing the list of triggers available for a provider.");
27
+ }).passthrough().describe("Definition of a trigger available for a provider.");
28
+ const StackAiListProviderTriggersOutput = zod.z.object({ triggers: zod.z.array(StackAiListProviderTriggers_TriggerDefinitionSchema).describe("Array of trigger definitions available for the specified provider.") }).passthrough().describe("Response model containing the list of triggers available for a provider.");
29
29
  const stackAiListProviderTriggers = require_action.action("STACK_AI_LIST_PROVIDER_TRIGGERS", {
30
30
  slug: "stack_ai-list-provider-triggers",
31
31
  name: "List Provider Triggers",
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n event_name: z.string().describe(\"Human-readable name of the event being monitored.\"),\n instructions: z.object({}).describe(\"Additional instructions for configuring the trigger.\").nullable().optional(),\n listening_text: z.string().describe(\"Text displayed when the trigger is listening for events.\"),\n}).describe(\"UI copy configuration for the trigger.\");\nconst StackAiListProviderTriggers_TriggerTypeSchema: z.ZodTypeAny = z.enum([\"POLLING\", \"WEBHOOK\", \"SCHEDULED\"]).describe(\"Enumeration of trigger types available in Stack AI.\");\nconst StackAiListProviderTriggers_TriggerDefinitionSchema: z.ZodTypeAny = z.object({\n icon: z.string().describe(\"Icon identifier or URL for the trigger.\"),\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.\"),\n description: z.string().describe(\"Detailed description of what the trigger does and when it fires.\"),\n provider_id: z.string().describe(\"The identifier of the provider this trigger belongs to.\"),\n trigger_name: z.string().describe(\"Human-readable name of the trigger.\"),\n trigger_type: StackAiListProviderTriggers_TriggerTypeSchema.nullable(),\n can_get_test_samples: z.boolean().describe(\"Whether test samples can be retrieved for this trigger.\"),\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}).describe(\"Definition of a trigger available for a provider.\");\nexport const StackAiListProviderTriggersOutput: z.ZodTypeAny = z.object({\n triggers: z.array(StackAiListProviderTriggers_TriggerDefinitionSchema).describe(\"Array of trigger definitions available for the specified provider.\"),\n}).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,mCAAiDA,IAAAA,EAAE,OAAO,EACrE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,EACzF,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,kDAAgEA,IAAAA,EAAE,OAAO;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACnF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;AAChG,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,gDAA8DA,IAAAA,EAAE,KAAK;CAAC;CAAW;CAAW;AAAW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ources":["../../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,9 +1,35 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-provider-triggers.d.ts
4
- declare const StackAiListProviderTriggersInput: z.ZodTypeAny;
5
- declare const StackAiListProviderTriggersOutput: z.ZodTypeAny;
6
- declare const stackAiListProviderTriggers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const StackAiListProviderTriggersInput: z.ZodObject<{
5
+ provider_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const StackAiListProviderTriggersOutput: z.ZodObject<{
8
+ triggers: z.ZodArray<z.ZodObject<{
9
+ icon: z.ZodNullable<z.ZodString>;
10
+ tags: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodArray<z.ZodString>>>>;
11
+ ui_copy: z.ZodNullable<z.ZodObject<{
12
+ event_name: z.ZodNullable<z.ZodString>;
13
+ instructions: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
14
+ listening_text: z.ZodNullable<z.ZodString>;
15
+ }, z.core.$loose>>;
16
+ version: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
17
+ trigger_id: z.ZodNullable<z.ZodString>;
18
+ description: z.ZodNullable<z.ZodString>;
19
+ provider_id: z.ZodNullable<z.ZodString>;
20
+ trigger_name: z.ZodNullable<z.ZodString>;
21
+ trigger_type: z.ZodNullable<z.ZodEnum<{
22
+ POLLING: "POLLING";
23
+ WEBHOOK: "WEBHOOK";
24
+ SCHEDULED: "SCHEDULED";
25
+ }>>;
26
+ can_get_test_samples: z.ZodNullable<z.ZodBoolean>;
27
+ webhook_requires_verification: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
28
+ }, z.core.$loose>>;
29
+ }, 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
33
  //#endregion
8
34
  export { stackAiListProviderTriggers };
9
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,EAAkC,CAAA,CAAE,UAEmC;AAAA,cAoBvE,iCAAA,EAAmC,CAAA,CAAE,UAEqC;AAAA,cAE1E,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,35 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-provider-triggers.d.ts
4
- declare const StackAiListProviderTriggersInput: z.ZodTypeAny;
5
- declare const StackAiListProviderTriggersOutput: z.ZodTypeAny;
6
- declare const stackAiListProviderTriggers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const StackAiListProviderTriggersInput: z.ZodObject<{
5
+ provider_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const StackAiListProviderTriggersOutput: z.ZodObject<{
8
+ triggers: z.ZodArray<z.ZodObject<{
9
+ icon: z.ZodNullable<z.ZodString>;
10
+ tags: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodArray<z.ZodString>>>>;
11
+ ui_copy: z.ZodNullable<z.ZodObject<{
12
+ event_name: z.ZodNullable<z.ZodString>;
13
+ instructions: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
14
+ listening_text: z.ZodNullable<z.ZodString>;
15
+ }, z.core.$loose>>;
16
+ version: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
17
+ trigger_id: z.ZodNullable<z.ZodString>;
18
+ description: z.ZodNullable<z.ZodString>;
19
+ provider_id: z.ZodNullable<z.ZodString>;
20
+ trigger_name: z.ZodNullable<z.ZodString>;
21
+ trigger_type: z.ZodNullable<z.ZodEnum<{
22
+ POLLING: "POLLING";
23
+ WEBHOOK: "WEBHOOK";
24
+ SCHEDULED: "SCHEDULED";
25
+ }>>;
26
+ can_get_test_samples: z.ZodNullable<z.ZodBoolean>;
27
+ webhook_requires_verification: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
28
+ }, z.core.$loose>>;
29
+ }, 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
33
  //#endregion
8
34
  export { stackAiListProviderTriggers };
9
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,EAAkC,CAAA,CAAE,UAEmC;AAAA,cAoBvE,iCAAA,EAAmC,CAAA,CAAE,UAEqC;AAAA,cAE1E,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -3,34 +3,34 @@ import { z } from "zod";
3
3
  //#region src/actions/list-provider-triggers.ts
4
4
  const StackAiListProviderTriggersInput = z.object({ provider_id: z.string().describe("The identifier of the provider to list triggers for.") }).describe("Request model for listing triggers available for a specific provider.");
5
5
  const StackAiListProviderTriggers_TriggerUICopySchema = z.object({
6
- event_name: z.string().describe("Human-readable name of the event being monitored."),
7
- instructions: z.object({}).describe("Additional instructions for configuring the trigger.").nullable().optional(),
8
- listening_text: z.string().describe("Text displayed when the trigger is listening for events.")
9
- }).describe("UI copy configuration for the trigger.");
6
+ event_name: z.string().describe("Human-readable name of the event being monitored.").nullable(),
7
+ instructions: z.record(z.string(), z.unknown()).describe("Additional instructions for configuring the trigger.").nullable().optional(),
8
+ listening_text: z.string().describe("Text displayed when the trigger is listening for events.").nullable()
9
+ }).passthrough().describe("UI copy configuration for the trigger.");
10
10
  const StackAiListProviderTriggers_TriggerTypeSchema = z.enum([
11
11
  "POLLING",
12
12
  "WEBHOOK",
13
13
  "SCHEDULED"
14
14
  ]).describe("Enumeration of trigger types available in Stack AI.");
15
15
  const StackAiListProviderTriggers_TriggerDefinitionSchema = z.object({
16
- icon: z.string().describe("Icon identifier or URL for the trigger."),
16
+ icon: z.string().describe("Icon identifier or URL for the trigger.").nullable(),
17
17
  tags: z.array(z.string()).default([]).describe("Tags associated with the trigger for categorization.").nullable().optional(),
18
18
  ui_copy: StackAiListProviderTriggers_TriggerUICopySchema.nullable(),
19
19
  version: z.string().default("1.0.0").describe("Version of the trigger definition.").nullable().optional(),
20
- trigger_id: z.string().describe("Unique identifier for the trigger."),
21
- description: z.string().describe("Detailed description of what the trigger does and when it fires."),
22
- provider_id: z.string().describe("The identifier of the provider this trigger belongs to."),
23
- trigger_name: z.string().describe("Human-readable name of the trigger."),
20
+ trigger_id: z.string().describe("Unique identifier for the trigger.").nullable(),
21
+ description: z.string().describe("Detailed description of what the trigger does and when it fires.").nullable(),
22
+ provider_id: z.string().describe("The identifier of the provider this trigger belongs to.").nullable(),
23
+ trigger_name: z.string().describe("Human-readable name of the trigger.").nullable(),
24
24
  trigger_type: StackAiListProviderTriggers_TriggerTypeSchema.nullable(),
25
- can_get_test_samples: z.boolean().describe("Whether test samples can be retrieved for this trigger."),
25
+ can_get_test_samples: z.boolean().describe("Whether test samples can be retrieved for this trigger.").nullable(),
26
26
  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()
27
- }).describe("Definition of a trigger available for a provider.");
27
+ }).passthrough().describe("Definition of a trigger available for a provider.");
28
28
  const stackAiListProviderTriggers = action("STACK_AI_LIST_PROVIDER_TRIGGERS", {
29
29
  slug: "stack_ai-list-provider-triggers",
30
30
  name: "List Provider Triggers",
31
31
  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.",
32
32
  input: StackAiListProviderTriggersInput,
33
- output: z.object({ triggers: z.array(StackAiListProviderTriggers_TriggerDefinitionSchema).describe("Array of trigger definitions available for the specified provider.") }).describe("Response model containing the list of triggers available for a provider.")
33
+ output: z.object({ triggers: z.array(StackAiListProviderTriggers_TriggerDefinitionSchema).describe("Array of trigger definitions available for the specified provider.") }).passthrough().describe("Response model containing the list of triggers available for a provider.")
34
34
  });
35
35
  //#endregion
36
36
  export { stackAiListProviderTriggers };
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n event_name: z.string().describe(\"Human-readable name of the event being monitored.\"),\n instructions: z.object({}).describe(\"Additional instructions for configuring the trigger.\").nullable().optional(),\n listening_text: z.string().describe(\"Text displayed when the trigger is listening for events.\"),\n}).describe(\"UI copy configuration for the trigger.\");\nconst StackAiListProviderTriggers_TriggerTypeSchema: z.ZodTypeAny = z.enum([\"POLLING\", \"WEBHOOK\", \"SCHEDULED\"]).describe(\"Enumeration of trigger types available in Stack AI.\");\nconst StackAiListProviderTriggers_TriggerDefinitionSchema: z.ZodTypeAny = z.object({\n icon: z.string().describe(\"Icon identifier or URL for the trigger.\"),\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.\"),\n description: z.string().describe(\"Detailed description of what the trigger does and when it fires.\"),\n provider_id: z.string().describe(\"The identifier of the provider this trigger belongs to.\"),\n trigger_name: z.string().describe(\"Human-readable name of the trigger.\"),\n trigger_type: StackAiListProviderTriggers_TriggerTypeSchema.nullable(),\n can_get_test_samples: z.boolean().describe(\"Whether test samples can be retrieved for this trigger.\"),\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}).describe(\"Definition of a trigger available for a provider.\");\nexport const StackAiListProviderTriggersOutput: z.ZodTypeAny = z.object({\n triggers: z.array(StackAiListProviderTriggers_TriggerDefinitionSchema).describe(\"Array of trigger definitions available for the specified provider.\"),\n}).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,mCAAiD,EAAE,OAAO,EACrE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,EACzF,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,kDAAgE,EAAE,OAAO;CAC7E,YAAY,EA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AAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,oEAAoE,EACtJ,CAAC,CAAC,CAAC,SAAS,0EAOF;AACV,CAAC"}
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"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/list-stack-ai-triggers.ts
4
4
  const StackAiListStackAiTriggersInput = zod.z.object({}).describe("Request model for listing Stack AI triggers.\nThis endpoint does not require any parameters.");
5
- const StackAiListStackAiTriggersOutput = zod.z.object({ triggers: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("List of available Stack AI triggers with dynamic properties").nullable().optional() }).describe("Response model for listing Stack AI triggers.\nReturns an array of trigger objects with dynamic properties.");
5
+ const StackAiListStackAiTriggersOutput = zod.z.object({ triggers: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("List of available Stack AI triggers with dynamic properties").nullable().optional() }).passthrough().describe("Response model for listing Stack AI triggers.\nReturns an array of trigger objects with dynamic properties.");
6
6
  const stackAiListStackAiTriggers = require_action.action("STACK_AI_LIST_STACK_AI_TRIGGERS", {
7
7
  slug: "stack_ai-list-stack-ai-triggers",
8
8
  name: "List Stack AI Triggers",
@@ -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.ZodTypeAny = z.object({}).describe(\"Request model for listing Stack AI triggers.\\nThis endpoint does not require any parameters.\");\nexport const StackAiListStackAiTriggersOutput: z.ZodTypeAny = 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}).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,kCAAgDA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8FAA8F;AACjL,MAAa,mCAAiDA,IAAAA,EAAE,OAAO,EACrE,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,SAAS,6GAA6G;AAEzH,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 { 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,9 +1,11 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-stack-ai-triggers.d.ts
4
- declare const StackAiListStackAiTriggersInput: z.ZodTypeAny;
5
- declare const StackAiListStackAiTriggersOutput: z.ZodTypeAny;
6
- declare const stackAiListStackAiTriggers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const StackAiListStackAiTriggersInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const StackAiListStackAiTriggersOutput: z.ZodObject<{
6
+ triggers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
7
+ }, z.core.$loose>;
8
+ declare const stackAiListStackAiTriggers: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
9
  //#endregion
8
10
  export { stackAiListStackAiTriggers };
9
11
  //# sourceMappingURL=list-stack-ai-triggers.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-stack-ai-triggers.d.cts","names":[],"sources":["../../src/actions/list-stack-ai-triggers.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAAkI;AAAA,cACrK,gCAAA,EAAkC,CAAA,CAAE,UAEyE;AAAA,cAE7G,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-stack-ai-triggers.d.cts","names":[],"sources":["../../src/actions/list-stack-ai-triggers.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAIhC,0BAAA,gCAA0B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1,9 +1,11 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-stack-ai-triggers.d.ts
4
- declare const StackAiListStackAiTriggersInput: z.ZodTypeAny;
5
- declare const StackAiListStackAiTriggersOutput: z.ZodTypeAny;
6
- declare const stackAiListStackAiTriggers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const StackAiListStackAiTriggersInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const StackAiListStackAiTriggersOutput: z.ZodObject<{
6
+ triggers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
7
+ }, z.core.$loose>;
8
+ declare const stackAiListStackAiTriggers: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
9
  //#endregion
8
10
  export { stackAiListStackAiTriggers };
9
11
  //# sourceMappingURL=list-stack-ai-triggers.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-stack-ai-triggers.d.mts","names":[],"sources":["../../src/actions/list-stack-ai-triggers.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAAkI;AAAA,cACrK,gCAAA,EAAkC,CAAA,CAAE,UAEyE;AAAA,cAE7G,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-stack-ai-triggers.d.mts","names":[],"sources":["../../src/actions/list-stack-ai-triggers.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAIhC,0BAAA,gCAA0B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -5,7 +5,7 @@ const stackAiListStackAiTriggers = action("STACK_AI_LIST_STACK_AI_TRIGGERS", {
5
5
  name: "List Stack AI Triggers",
6
6
  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.",
7
7
  input: z.object({}).describe("Request model for listing Stack AI triggers.\nThis endpoint does not require any parameters."),
8
- output: z.object({ triggers: z.array(z.record(z.string(), z.unknown())).describe("List of available Stack AI triggers with dynamic properties").nullable().optional() }).describe("Response model for listing Stack AI triggers.\nReturns an array of trigger objects with dynamic properties.")
8
+ output: z.object({ triggers: z.array(z.record(z.string(), z.unknown())).describe("List of available Stack AI triggers with dynamic properties").nullable().optional() }).passthrough().describe("Response model for listing Stack AI triggers.\nReturns an array of trigger objects with dynamic properties.")
9
9
  });
10
10
  //#endregion
11
11
  export { stackAiListStackAiTriggers };
@@ -1 +1 @@
1
- {"version":3,"file":"list-stack-ai-triggers.mjs","names":[],"sources":["../../src/actions/list-stack-ai-triggers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiListStackAiTriggersInput: z.ZodTypeAny = z.object({}).describe(\"Request model for listing Stack AI triggers.\\nThis endpoint does not require any parameters.\");\nexport const StackAiListStackAiTriggersOutput: z.ZodTypeAny = 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}).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":";;AASA,MAAa,6BAA6B,OAAO,mCAAmC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAT2D,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8FAS1E;CACP,QAT4D,EAAE,OAAO,EACrE,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnJ,CAAC,CAAC,CAAC,SAAS,6GAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-stack-ai-triggers.mjs","names":[],"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":";;AASA,MAAa,6BAA6B,OAAO,mCAAmC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAT6C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8FAS5D;CACP,QAT8C,EAAE,OAAO,EACvD,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6GAOhB;AACV,CAAC"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/list-stackai-actions.ts
4
4
  const StackAiListStackaiActionsInput = zod.z.object({}).describe("Request model for listing Stack AI actions. No parameters required.");
5
- const StackAiListStackaiActionsOutput = zod.z.object({ actions: zod.z.array(zod.z.object({})).describe("List of Stack AI action providers with their action IDs. Each object contains provider information and associated action identifiers.") }).describe("Response model for listing Stack AI actions.");
5
+ const StackAiListStackaiActionsOutput = zod.z.object({ actions: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("List of Stack AI action providers with their action IDs. Each object contains provider information and associated action identifiers.") }).passthrough().describe("Response model for listing Stack AI actions.");
6
6
  const stackAiListStackaiActions = require_action.action("STACK_AI_LIST_STACKAI_ACTIONS", {
7
7
  slug: "stack_ai-list-stackai-actions",
8
8
  name: "List Stack AI Actions",
@@ -1 +1 @@
1
- {"version":3,"file":"list-stackai-actions.cjs","names":["z","action"],"sources":["../../src/actions/list-stackai-actions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiListStackaiActionsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for listing Stack AI actions. No parameters required.\");\nexport const StackAiListStackaiActionsOutput: z.ZodTypeAny = z.object({\n actions: z.array(z.object({})).describe(\"List of Stack AI action providers with their action IDs. Each object contains provider information and associated action identifiers.\"),\n}).describe(\"Response model for listing Stack AI actions.\");\n\nexport const stackAiListStackaiActions = action(\"STACK_AI_LIST_STACKAI_ACTIONS\", {\n slug: \"stack_ai-list-stackai-actions\",\n name: \"List Stack AI Actions\",\n description: \"Tool to list all available Stack AI tool actions. Use when you need to discover available automation capabilities organized by provider.\",\n input: StackAiListStackaiActionsInput,\n output: StackAiListStackaiActionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACvJ,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,uIAAuI,EACjL,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-stackai-actions.cjs","names":["z","action"],"sources":["../../src/actions/list-stackai-actions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiListStackaiActionsInput = z.object({}).describe(\"Request model for listing Stack AI actions. No parameters required.\");\nexport const StackAiListStackaiActionsOutput = z.object({\n actions: z.array(z.record(z.string(), z.unknown())).describe(\"List of Stack AI action providers with their action IDs. Each object contains provider information and associated action identifiers.\"),\n}).passthrough().describe(\"Response model for listing Stack AI actions.\");\n\nexport const stackAiListStackaiActions = action(\"STACK_AI_LIST_STACKAI_ACTIONS\", {\n slug: \"stack_ai-list-stackai-actions\",\n name: \"List Stack AI Actions\",\n description: \"Tool to list all available Stack AI tool actions. Use when you need to discover available automation capabilities organized by provider.\",\n input: StackAiListStackaiActionsInput,\n output: StackAiListStackaiActionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACzI,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,uIAAuI,EACtM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,11 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-stackai-actions.d.ts
4
- declare const StackAiListStackaiActionsInput: z.ZodTypeAny;
5
- declare const StackAiListStackaiActionsOutput: z.ZodTypeAny;
6
- declare const stackAiListStackaiActions: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const StackAiListStackaiActionsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const StackAiListStackaiActionsOutput: z.ZodObject<{
6
+ actions: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7
+ }, z.core.$loose>;
8
+ declare const stackAiListStackaiActions: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
9
  //#endregion
8
10
  export { stackAiListStackaiActions };
9
11
  //# sourceMappingURL=list-stackai-actions.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-stackai-actions.d.cts","names":[],"sources":["../../src/actions/list-stackai-actions.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAAyG;AAAA,cAC3I,+BAAA,EAAiC,CAAA,CAAE,UAEW;AAAA,cAE9C,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-stackai-actions.d.cts","names":[],"sources":["../../src/actions/list-stackai-actions.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,gCAAyB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1,9 +1,11 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-stackai-actions.d.ts
4
- declare const StackAiListStackaiActionsInput: z.ZodTypeAny;
5
- declare const StackAiListStackaiActionsOutput: z.ZodTypeAny;
6
- declare const stackAiListStackaiActions: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const StackAiListStackaiActionsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const StackAiListStackaiActionsOutput: z.ZodObject<{
6
+ actions: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7
+ }, z.core.$loose>;
8
+ declare const stackAiListStackaiActions: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
9
  //#endregion
8
10
  export { stackAiListStackaiActions };
9
11
  //# sourceMappingURL=list-stackai-actions.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-stackai-actions.d.mts","names":[],"sources":["../../src/actions/list-stackai-actions.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAAyG;AAAA,cAC3I,+BAAA,EAAiC,CAAA,CAAE,UAEW;AAAA,cAE9C,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-stackai-actions.d.mts","names":[],"sources":["../../src/actions/list-stackai-actions.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,gCAAyB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -5,7 +5,7 @@ const stackAiListStackaiActions = action("STACK_AI_LIST_STACKAI_ACTIONS", {
5
5
  name: "List Stack AI Actions",
6
6
  description: "Tool to list all available Stack AI tool actions. Use when you need to discover available automation capabilities organized by provider.",
7
7
  input: z.object({}).describe("Request model for listing Stack AI actions. No parameters required."),
8
- output: z.object({ actions: z.array(z.object({})).describe("List of Stack AI action providers with their action IDs. Each object contains provider information and associated action identifiers.") }).describe("Response model for listing Stack AI actions.")
8
+ output: z.object({ actions: z.array(z.record(z.string(), z.unknown())).describe("List of Stack AI action providers with their action IDs. Each object contains provider information and associated action identifiers.") }).passthrough().describe("Response model for listing Stack AI actions.")
9
9
  });
10
10
  //#endregion
11
11
  export { stackAiListStackaiActions };
@@ -1 +1 @@
1
- {"version":3,"file":"list-stackai-actions.mjs","names":[],"sources":["../../src/actions/list-stackai-actions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiListStackaiActionsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for listing Stack AI actions. No parameters required.\");\nexport const StackAiListStackaiActionsOutput: z.ZodTypeAny = z.object({\n actions: z.array(z.object({})).describe(\"List of Stack AI action providers with their action IDs. Each object contains provider information and associated action identifiers.\"),\n}).describe(\"Response model for listing Stack AI actions.\");\n\nexport const stackAiListStackaiActions = action(\"STACK_AI_LIST_STACKAI_ACTIONS\", {\n slug: \"stack_ai-list-stackai-actions\",\n name: \"List Stack AI Actions\",\n description: \"Tool to list all available Stack AI tool actions. Use when you need to discover available automation capabilities organized by provider.\",\n input: StackAiListStackaiActionsInput,\n output: StackAiListStackaiActionsOutput,\n});\n"],"mappings":";;AASA,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAT0D,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qEASzE;CACP,QAT2D,EAAE,OAAO,EACpE,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,uIAAuI,EACjL,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-stackai-actions.mjs","names":[],"sources":["../../src/actions/list-stackai-actions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiListStackaiActionsInput = z.object({}).describe(\"Request model for listing Stack AI actions. No parameters required.\");\nexport const StackAiListStackaiActionsOutput = z.object({\n actions: z.array(z.record(z.string(), z.unknown())).describe(\"List of Stack AI action providers with their action IDs. Each object contains provider information and associated action identifiers.\"),\n}).passthrough().describe(\"Response model for listing Stack AI actions.\");\n\nexport const stackAiListStackaiActions = action(\"STACK_AI_LIST_STACKAI_ACTIONS\", {\n slug: \"stack_ai-list-stackai-actions\",\n name: \"List Stack AI Actions\",\n description: \"Tool to list all available Stack AI tool actions. Use when you need to discover available automation capabilities organized by provider.\",\n input: StackAiListStackaiActionsInput,\n output: StackAiListStackaiActionsOutput,\n});\n"],"mappings":";;AASA,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAT4C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qEAS3D;CACP,QAT6C,EAAE,OAAO,EACtD,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,uIAAuI,EACtM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
@@ -2,32 +2,32 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/list-stackai-providers.ts
4
4
  const StackAiListStackaiProvidersInput = zod.z.object({}).describe("Request model for listing Stack AI providers.");
5
- const StackAiListStackaiProviders_ActionSchemaSchema = zod.z.object({}).describe("Schema for a provider action.");
6
- const StackAiListStackaiProviders_TriggerSchemaSchema = zod.z.object({}).describe("Schema for a provider trigger.");
5
+ const StackAiListStackaiProviders_ActionSchemaSchema = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Schema for a provider action.");
6
+ const StackAiListStackaiProviders_TriggerSchemaSchema = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Schema for a provider trigger.");
7
7
  const StackAiListStackaiProviders_DeprecationInfoSchema = zod.z.object({
8
8
  instructions: zod.z.string().describe("Instructions for migrating away from deprecated provider").nullable().optional(),
9
9
  date_will_be_removed: zod.z.string().describe("Date when the provider will be removed").nullable().optional()
10
- }).describe("Deprecation information for a provider.");
10
+ }).passthrough().describe("Deprecation information for a provider.");
11
11
  const StackAiListStackaiProviders_ToolProviderSchemaSchema = zod.z.object({
12
- icon: zod.z.string().describe("URL or identifier for the provider icon"),
13
- name: zod.z.string().describe("Display name of the provider"),
12
+ icon: zod.z.string().describe("URL or identifier for the provider icon").nullable(),
13
+ name: zod.z.string().describe("Display name of the provider").nullable(),
14
14
  tags: zod.z.array(zod.z.string()).describe("Tags for categorizing and filtering providers"),
15
15
  color: zod.z.string().default("#A3A3A3").describe("Color code for the provider UI").nullable().optional(),
16
16
  labels: zod.z.array(zod.z.string()).describe("Labels for organizing providers"),
17
17
  actions: zod.z.array(StackAiListStackaiProviders_ActionSchemaSchema).describe("Available actions for this provider"),
18
- headers: zod.z.array(zod.z.object({})).describe("Custom headers required for this provider").nullable().optional(),
18
+ headers: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Custom headers required for this provider").nullable().optional(),
19
19
  triggers: zod.z.array(StackAiListStackaiProviders_TriggerSchemaSchema).describe("Available triggers for this provider"),
20
- connectors: zod.z.array(zod.z.object({})).describe("Available connectors for this provider").nullable().optional(),
21
- description: zod.z.string().describe("Description of what the provider does"),
22
- provider_id: zod.z.string().describe("Unique identifier for the provider"),
20
+ connectors: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Available connectors for this provider").nullable().optional(),
21
+ description: zod.z.string().describe("Description of what the provider does").nullable(),
22
+ provider_id: zod.z.string().describe("Unique identifier for the provider").nullable(),
23
23
  action_count: zod.z.number().int().default(0).describe("Total number of actions available").nullable().optional(),
24
24
  trigger_count: zod.z.number().int().default(0).describe("Total number of triggers available").nullable().optional(),
25
25
  openapi_schema: zod.z.string().describe("OpenAPI schema URL or definition for the provider").nullable().optional(),
26
26
  provider_group: zod.z.array(zod.z.string()).describe("Groups this provider belongs to").nullable().optional(),
27
27
  deprecation_info: StackAiListStackaiProviders_DeprecationInfoSchema.nullable().optional(),
28
28
  provider_version: zod.z.string().describe("Version of the provider").nullable().optional()
29
- }).describe("Schema for a Stack AI tool provider.");
30
- const StackAiListStackaiProvidersOutput = zod.z.object({ providers: zod.z.array(StackAiListStackaiProviders_ToolProviderSchemaSchema).describe("List of all available Stack AI tool providers") }).describe("Response model for listing Stack AI providers.");
29
+ }).passthrough().describe("Schema for a Stack AI tool provider.");
30
+ const StackAiListStackaiProvidersOutput = zod.z.object({ providers: zod.z.array(StackAiListStackaiProviders_ToolProviderSchemaSchema).describe("List of all available Stack AI tool providers") }).passthrough().describe("Response model for listing Stack AI providers.");
31
31
  const stackAiListStackaiProviders = require_action.action("STACK_AI_LIST_STACKAI_PROVIDERS", {
32
32
  slug: "stack_ai-list-stackai-providers",
33
33
  name: "List Stack AI Providers",
@@ -1 +1 @@
1
- {"version":3,"file":"list-stackai-providers.cjs","names":["z","action"],"sources":["../../src/actions/list-stackai-providers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiListStackaiProvidersInput: z.ZodTypeAny = z.object({}).describe(\"Request model for listing Stack AI providers.\");\nconst StackAiListStackaiProviders_ActionSchemaSchema: z.ZodTypeAny = z.object({}).describe(\"Schema for a provider action.\");\nconst StackAiListStackaiProviders_TriggerSchemaSchema: z.ZodTypeAny = z.object({}).describe(\"Schema for a provider trigger.\");\nconst StackAiListStackaiProviders_DeprecationInfoSchema: z.ZodTypeAny = z.object({\n instructions: z.string().describe(\"Instructions for migrating away from deprecated provider\").nullable().optional(),\n date_will_be_removed: z.string().describe(\"Date when the provider will be removed\").nullable().optional(),\n}).describe(\"Deprecation information for a provider.\");\nconst StackAiListStackaiProviders_ToolProviderSchemaSchema: z.ZodTypeAny = z.object({\n icon: z.string().describe(\"URL or identifier for the provider icon\"),\n name: z.string().describe(\"Display name of the provider\"),\n tags: z.array(z.string()).describe(\"Tags for categorizing and filtering providers\"),\n color: z.string().default(\"#A3A3A3\").describe(\"Color code for the provider UI\").nullable().optional(),\n labels: z.array(z.string()).describe(\"Labels for organizing providers\"),\n actions: z.array(StackAiListStackaiProviders_ActionSchemaSchema).describe(\"Available actions for this provider\"),\n headers: z.array(z.object({})).describe(\"Custom headers required for this provider\").nullable().optional(),\n triggers: z.array(StackAiListStackaiProviders_TriggerSchemaSchema).describe(\"Available triggers for this provider\"),\n connectors: z.array(z.object({})).describe(\"Available connectors for this provider\").nullable().optional(),\n description: z.string().describe(\"Description of what the provider does\"),\n provider_id: z.string().describe(\"Unique identifier for the provider\"),\n action_count: z.number().int().default(0).describe(\"Total number of actions available\").nullable().optional(),\n trigger_count: z.number().int().default(0).describe(\"Total number of triggers available\").nullable().optional(),\n openapi_schema: z.string().describe(\"OpenAPI schema URL or definition for the provider\").nullable().optional(),\n provider_group: z.array(z.string()).describe(\"Groups this provider belongs to\").nullable().optional(),\n deprecation_info: StackAiListStackaiProviders_DeprecationInfoSchema.nullable().optional(),\n provider_version: z.string().describe(\"Version of the provider\").nullable().optional(),\n}).describe(\"Schema for a Stack AI tool provider.\");\nexport const StackAiListStackaiProvidersOutput: z.ZodTypeAny = z.object({\n providers: z.array(StackAiListStackaiProviders_ToolProviderSchemaSchema).describe(\"List of all available Stack AI tool providers\"),\n}).describe(\"Response model for listing Stack AI providers.\");\n\nexport const stackAiListStackaiProviders = action(\"STACK_AI_LIST_STACKAI_PROVIDERS\", {\n slug: \"stack_ai-list-stackai-providers\",\n name: \"List Stack AI Providers\",\n description: \"Tool to list all Stack AI tool providers (integrations). Use when you need to discover available integrations and their capabilities. Returns comprehensive information about each provider including available actions, triggers, and metadata.\",\n input: StackAiListStackaiProvidersInput,\n output: StackAiListStackaiProvidersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+CAA+C;AACnI,MAAM,iDAA+DA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAC1H,MAAM,kDAAgEA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAC5H,MAAM,oDAAkEA,IAAAA,EAAE,OAAO;CAC/E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,uDAAqEA,IAAAA,EAAE,OAAO;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACxD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+CAA+C;CAClF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,Q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AAC,SAAS;AACvF,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAa,oCAAkDA,IAAAA,EAAE,OAAO,EACtE,WAAWA,IAAAA,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,+CAA+C,EACnI,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-stackai-providers.cjs","names":["z","action"],"sources":["../../src/actions/list-stackai-providers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiListStackaiProvidersInput = z.object({}).describe(\"Request model for listing Stack AI providers.\");\nconst StackAiListStackaiProviders_ActionSchemaSchema = z.record(z.string(), z.unknown()).describe(\"Schema for a provider action.\");\nconst StackAiListStackaiProviders_TriggerSchemaSchema = z.record(z.string(), z.unknown()).describe(\"Schema for a provider trigger.\");\nconst StackAiListStackaiProviders_DeprecationInfoSchema = z.object({\n instructions: z.string().describe(\"Instructions for migrating away from deprecated provider\").nullable().optional(),\n date_will_be_removed: z.string().describe(\"Date when the provider will be removed\").nullable().optional(),\n}).passthrough().describe(\"Deprecation information for a provider.\");\nconst StackAiListStackaiProviders_ToolProviderSchemaSchema = z.object({\n icon: z.string().describe(\"URL or identifier for the provider icon\").nullable(),\n name: z.string().describe(\"Display name of the provider\").nullable(),\n tags: z.array(z.string()).describe(\"Tags for categorizing and filtering providers\"),\n color: z.string().default(\"#A3A3A3\").describe(\"Color code for the provider UI\").nullable().optional(),\n labels: z.array(z.string()).describe(\"Labels for organizing providers\"),\n actions: z.array(StackAiListStackaiProviders_ActionSchemaSchema).describe(\"Available actions for this provider\"),\n headers: z.array(z.record(z.string(), z.unknown())).describe(\"Custom headers required for this provider\").nullable().optional(),\n triggers: z.array(StackAiListStackaiProviders_TriggerSchemaSchema).describe(\"Available triggers for this provider\"),\n connectors: z.array(z.record(z.string(), z.unknown())).describe(\"Available connectors for this provider\").nullable().optional(),\n description: z.string().describe(\"Description of what the provider does\").nullable(),\n provider_id: z.string().describe(\"Unique identifier for the provider\").nullable(),\n action_count: z.number().int().default(0).describe(\"Total number of actions available\").nullable().optional(),\n trigger_count: z.number().int().default(0).describe(\"Total number of triggers available\").nullable().optional(),\n openapi_schema: z.string().describe(\"OpenAPI schema URL or definition for the provider\").nullable().optional(),\n provider_group: z.array(z.string()).describe(\"Groups this provider belongs to\").nullable().optional(),\n deprecation_info: StackAiListStackaiProviders_DeprecationInfoSchema.nullable().optional(),\n provider_version: z.string().describe(\"Version of the provider\").nullable().optional(),\n}).passthrough().describe(\"Schema for a Stack AI tool provider.\");\nexport const StackAiListStackaiProvidersOutput = z.object({\n providers: z.array(StackAiListStackaiProviders_ToolProviderSchemaSchema).describe(\"List of all available Stack AI tool providers\"),\n}).passthrough().describe(\"Response model for listing Stack AI providers.\");\n\nexport const stackAiListStackaiProviders = action(\"STACK_AI_LIST_STACKAI_PROVIDERS\", {\n slug: \"stack_ai-list-stackai-providers\",\n name: \"List Stack AI Providers\",\n description: \"Tool to list all Stack AI tool providers (integrations). Use when you need to discover available integrations and their capabilities. Returns comprehensive information about each provider including available actions, triggers, and metadata.\",\n input: StackAiListStackaiProvidersInput,\n output: StackAiListStackaiProvidersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+CAA+C;AACrH,MAAM,iDAAiDA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+BAA+B;AACjI,MAAM,kDAAkDA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gCAAgC;AACnI,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,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TypeAny;
5
- declare const StackAiListStackaiProvidersOutput: z.ZodTypeAny;
6
- declare const stackAiListStackaiProviders: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const StackAiListStackaiProvidersInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const StackAiListStackaiProvidersOutput: z.ZodObject<{
6
+ providers: z.ZodArray<z.ZodObject<{
7
+ icon: z.ZodNullable<z.ZodString>;
8
+ name: z.ZodNullable<z.ZodString>;
9
+ tags: z.ZodArray<z.ZodString>;
10
+ color: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
11
+ labels: z.ZodArray<z.ZodString>;
12
+ actions: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
13
+ headers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
14
+ triggers: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
15
+ connectors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
16
+ description: z.ZodNullable<z.ZodString>;
17
+ provider_id: z.ZodNullable<z.ZodString>;
18
+ action_count: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
19
+ trigger_count: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
20
+ openapi_schema: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ provider_group: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
22
+ deprecation_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
23
+ instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ date_will_be_removed: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ }, z.core.$loose>>>;
26
+ provider_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ }, z.core.$loose>>;
28
+ }, z.core.$loose>;
29
+ declare const stackAiListStackaiProviders: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
30
  //#endregion
8
31
  export { stackAiListStackaiProviders };
9
32
  //# sourceMappingURL=list-stackai-providers.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-stackai-providers.d.cts","names":[],"sources":["../../src/actions/list-stackai-providers.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAAmF;AAAA,cA0BvH,iCAAA,EAAmC,CAAA,CAAE,UAEW;AAAA,cAEhD,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-stackai-providers.d.cts","names":[],"sources":["../../src/actions/list-stackai-providers.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cA0BhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAIjC,2BAAA,gCAA2B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}