@keystrokehq/stack_ai 0.1.2 → 0.1.4

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 (103) hide show
  1. package/dist/actions/get-connector-type-schema.cjs +2 -2
  2. package/dist/actions/get-connector-type-schema.cjs.map +1 -1
  3. package/dist/actions/get-connector-type-schema.d.cts +2 -2
  4. package/dist/actions/get-connector-type-schema.d.mts +2 -2
  5. package/dist/actions/get-connector-type-schema.mjs +2 -2
  6. package/dist/actions/get-connector-type-schema.mjs.map +1 -1
  7. package/dist/actions/get-license-status.cjs +1 -1
  8. package/dist/actions/get-license-status.cjs.map +1 -1
  9. package/dist/actions/get-license-status.d.cts +1 -1
  10. package/dist/actions/get-license-status.d.mts +1 -1
  11. package/dist/actions/get-license-status.mjs +1 -1
  12. package/dist/actions/get-license-status.mjs.map +1 -1
  13. package/dist/actions/get-provider-action.cjs +5 -5
  14. package/dist/actions/get-provider-action.cjs.map +1 -1
  15. package/dist/actions/get-provider-action.d.cts +5 -5
  16. package/dist/actions/get-provider-action.d.mts +5 -5
  17. package/dist/actions/get-provider-action.mjs +5 -5
  18. package/dist/actions/get-provider-action.mjs.map +1 -1
  19. package/dist/actions/get-provider-icon.cjs +2 -2
  20. package/dist/actions/get-provider-icon.cjs.map +1 -1
  21. package/dist/actions/get-provider-icon.d.cts +2 -2
  22. package/dist/actions/get-provider-icon.d.mts +2 -2
  23. package/dist/actions/get-provider-icon.mjs +2 -2
  24. package/dist/actions/get-provider-icon.mjs.map +1 -1
  25. package/dist/actions/get-provider-trigger.cjs +5 -5
  26. package/dist/actions/get-provider-trigger.cjs.map +1 -1
  27. package/dist/actions/get-provider-trigger.d.cts +5 -5
  28. package/dist/actions/get-provider-trigger.d.mts +5 -5
  29. package/dist/actions/get-provider-trigger.mjs +5 -5
  30. package/dist/actions/get-provider-trigger.mjs.map +1 -1
  31. package/dist/actions/get-provider.cjs +6 -6
  32. package/dist/actions/get-provider.cjs.map +1 -1
  33. package/dist/actions/get-provider.d.cts +6 -6
  34. package/dist/actions/get-provider.d.mts +6 -6
  35. package/dist/actions/get-provider.mjs +6 -6
  36. package/dist/actions/get-provider.mjs.map +1 -1
  37. package/dist/actions/get-trigger-by-provider.cjs +2 -2
  38. package/dist/actions/get-trigger-by-provider.cjs.map +1 -1
  39. package/dist/actions/get-trigger-by-provider.d.cts +2 -2
  40. package/dist/actions/get-trigger-by-provider.d.mts +2 -2
  41. package/dist/actions/get-trigger-by-provider.mjs +2 -2
  42. package/dist/actions/get-trigger-by-provider.mjs.map +1 -1
  43. package/dist/actions/get-trigger-inputs.cjs +1 -1
  44. package/dist/actions/get-trigger-inputs.cjs.map +1 -1
  45. package/dist/actions/get-trigger-inputs.d.cts +1 -1
  46. package/dist/actions/get-trigger-inputs.d.mts +1 -1
  47. package/dist/actions/get-trigger-inputs.mjs +1 -1
  48. package/dist/actions/get-trigger-inputs.mjs.map +1 -1
  49. package/dist/actions/get-trigger-outputs.cjs +1 -1
  50. package/dist/actions/get-trigger-outputs.cjs.map +1 -1
  51. package/dist/actions/get-trigger-outputs.d.cts +1 -1
  52. package/dist/actions/get-trigger-outputs.d.mts +1 -1
  53. package/dist/actions/get-trigger-outputs.mjs +1 -1
  54. package/dist/actions/get-trigger-outputs.mjs.map +1 -1
  55. package/dist/actions/list-integrations.cjs +2 -2
  56. package/dist/actions/list-integrations.cjs.map +1 -1
  57. package/dist/actions/list-integrations.d.cts +2 -2
  58. package/dist/actions/list-integrations.d.mts +2 -2
  59. package/dist/actions/list-integrations.mjs +2 -2
  60. package/dist/actions/list-integrations.mjs.map +1 -1
  61. package/dist/actions/list-permissions.cjs +2 -2
  62. package/dist/actions/list-permissions.cjs.map +1 -1
  63. package/dist/actions/list-permissions.d.cts +2 -2
  64. package/dist/actions/list-permissions.d.mts +2 -2
  65. package/dist/actions/list-permissions.mjs +2 -2
  66. package/dist/actions/list-permissions.mjs.map +1 -1
  67. package/dist/actions/list-provider-triggers.cjs +4 -4
  68. package/dist/actions/list-provider-triggers.cjs.map +1 -1
  69. package/dist/actions/list-provider-triggers.d.cts +4 -4
  70. package/dist/actions/list-provider-triggers.d.mts +4 -4
  71. package/dist/actions/list-provider-triggers.mjs +4 -4
  72. package/dist/actions/list-provider-triggers.mjs.map +1 -1
  73. package/dist/actions/list-stack-ai-triggers.cjs +1 -1
  74. package/dist/actions/list-stack-ai-triggers.cjs.map +1 -1
  75. package/dist/actions/list-stack-ai-triggers.d.cts +1 -1
  76. package/dist/actions/list-stack-ai-triggers.d.mts +1 -1
  77. package/dist/actions/list-stack-ai-triggers.mjs +1 -1
  78. package/dist/actions/list-stack-ai-triggers.mjs.map +1 -1
  79. package/dist/actions/list-stackai-actions.cjs +1 -1
  80. package/dist/actions/list-stackai-actions.cjs.map +1 -1
  81. package/dist/actions/list-stackai-actions.d.cts +2 -2
  82. package/dist/actions/list-stackai-actions.d.mts +2 -2
  83. package/dist/actions/list-stackai-actions.mjs +1 -1
  84. package/dist/actions/list-stackai-actions.mjs.map +1 -1
  85. package/dist/actions/list-stackai-providers.cjs +7 -7
  86. package/dist/actions/list-stackai-providers.cjs.map +1 -1
  87. package/dist/actions/list-stackai-providers.d.cts +7 -7
  88. package/dist/actions/list-stackai-providers.d.mts +7 -7
  89. package/dist/actions/list-stackai-providers.mjs +7 -7
  90. package/dist/actions/list-stackai-providers.mjs.map +1 -1
  91. package/dist/actions/list-stackai-tools.cjs +3 -3
  92. package/dist/actions/list-stackai-tools.cjs.map +1 -1
  93. package/dist/actions/list-stackai-tools.d.cts +3 -3
  94. package/dist/actions/list-stackai-tools.d.mts +3 -3
  95. package/dist/actions/list-stackai-tools.mjs +3 -3
  96. package/dist/actions/list-stackai-tools.mjs.map +1 -1
  97. package/dist/catalog.cjs +2 -2
  98. package/dist/catalog.cjs.map +1 -1
  99. package/dist/catalog.d.cts +2 -2
  100. package/dist/catalog.d.mts +2 -2
  101. package/dist/catalog.mjs +2 -2
  102. package/dist/catalog.mjs.map +1 -1
  103. package/package.json +1 -1
@@ -9,7 +9,7 @@ const StackAiGetTriggerByProvider_TriggerUICopySchema = z.object({
9
9
  event_name: z.string().describe("Name of the event that the trigger listens for.").nullable(),
10
10
  instructions: z.string().describe("Instructions for setting up or using the trigger.").nullable().optional(),
11
11
  listening_text: z.string().describe("Text displayed when the trigger is listening for events.").nullable()
12
- }).describe("UI copy information for the trigger.");
12
+ }).passthrough().describe("UI copy information for the trigger.");
13
13
  const StackAiGetTriggerByProvider_TriggerTypeSchema = z.enum([
14
14
  "POLLING",
15
15
  "WEBHOOK",
@@ -32,7 +32,7 @@ const stackAiGetTriggerByProvider = action("STACK_AI_GET_TRIGGER_BY_PROVIDER", {
32
32
  trigger_type: StackAiGetTriggerByProvider_TriggerTypeSchema.nullable(),
33
33
  can_get_test_samples: z.boolean().describe("Whether the trigger supports retrieving test samples for testing purposes.").nullable(),
34
34
  webhook_requires_verification: z.boolean().default(false).describe("Whether the webhook requires verification by the provider with a challenge request before creation (e.g., Microsoft Graph Outlook & Slack).").nullable().optional()
35
- }).describe("Response model containing trigger definition details.")
35
+ }).passthrough().describe("Response model containing trigger definition details.")
36
36
  });
37
37
  //#endregion
38
38
  export { stackAiGetTriggerByProvider };
@@ -1 +1 @@
1
- {"version":3,"file":"get-trigger-by-provider.mjs","names":[],"sources":["../../src/actions/get-trigger-by-provider.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiGetTriggerByProviderInput = z.object({\n trigger_id: z.string().describe(\"The unique identifier of the trigger (e.g., 'on_record_change').\"),\n provider_id: z.string().describe(\"The unique identifier of the provider (e.g., 'airtable', 'slack').\"),\n}).describe(\"Request model for getting a specific trigger from a provider.\");\nconst StackAiGetTriggerByProvider_TriggerUICopySchema = z.object({\n event_name: z.string().describe(\"Name of the event that the trigger listens for.\").nullable(),\n instructions: z.string().describe(\"Instructions for setting up or using the trigger.\").nullable().optional(),\n listening_text: z.string().describe(\"Text displayed when the trigger is listening for events.\").nullable(),\n}).describe(\"UI copy information for the trigger.\");\nconst StackAiGetTriggerByProvider_TriggerTypeSchema = z.enum([\"POLLING\", \"WEBHOOK\", \"SCHEDULED\"]).describe(\"Type of trigger mechanism.\");\nexport const StackAiGetTriggerByProviderOutput = z.object({\n icon: z.string().describe(\"Icon identifier or URL for the trigger.\").nullable(),\n tags: z.array(z.string()).describe(\"Tags associated with the trigger for categorization.\").nullable().optional(),\n ui_copy: StackAiGetTriggerByProvider_TriggerUICopySchema.nullable(),\n version: z.string().default(\"1.0.0\").describe(\"Version of the trigger definition.\").nullable().optional(),\n trigger_id: z.string().describe(\"The unique identifier of the trigger.\").nullable(),\n description: z.string().describe(\"Description of what the trigger does.\").nullable(),\n provider_id: z.string().describe(\"The unique identifier of the provider.\").nullable(),\n trigger_name: z.string().describe(\"The display name of the trigger.\").nullable(),\n trigger_type: StackAiGetTriggerByProvider_TriggerTypeSchema.nullable(),\n can_get_test_samples: z.boolean().describe(\"Whether the trigger supports retrieving test samples for testing purposes.\").nullable(),\n webhook_requires_verification: z.boolean().default(false).describe(\"Whether the webhook requires verification by the provider with a challenge request before creation (e.g., Microsoft Graph Outlook & Slack).\").nullable().optional(),\n}).describe(\"Response model containing trigger definition details.\");\n\nexport const stackAiGetTriggerByProvider = action(\"STACK_AI_GET_TRIGGER_BY_PROVIDER\", {\n slug: \"stack_ai-get-trigger-by-provider\",\n name: \"Get Trigger Details From Provider\",\n description: \"Tool to retrieve detailed information about a specific trigger from a provider. Use when you need to get trigger configuration, capabilities, or metadata for a specific provider's trigger.\",\n input: StackAiGetTriggerByProviderInput,\n output: StackAiGetTriggerByProviderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CAClG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;AACvG,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,kDAAkD,EAAE,OAAO;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AAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxO,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-trigger-by-provider.mjs","names":[],"sources":["../../src/actions/get-trigger-by-provider.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiGetTriggerByProviderInput = z.object({\n trigger_id: z.string().describe(\"The unique identifier of the trigger (e.g., 'on_record_change').\"),\n provider_id: z.string().describe(\"The unique identifier of the provider (e.g., 'airtable', 'slack').\"),\n}).describe(\"Request model for getting a specific trigger from a provider.\");\nconst StackAiGetTriggerByProvider_TriggerUICopySchema = z.object({\n event_name: z.string().describe(\"Name of the event that the trigger listens for.\").nullable(),\n instructions: z.string().describe(\"Instructions for setting up or using 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 information for the trigger.\");\nconst StackAiGetTriggerByProvider_TriggerTypeSchema = z.enum([\"POLLING\", \"WEBHOOK\", \"SCHEDULED\"]).describe(\"Type of trigger mechanism.\");\nexport const StackAiGetTriggerByProviderOutput = z.object({\n icon: z.string().describe(\"Icon identifier or URL for the trigger.\").nullable(),\n tags: z.array(z.string()).describe(\"Tags associated with the trigger for categorization.\").nullable().optional(),\n ui_copy: StackAiGetTriggerByProvider_TriggerUICopySchema.nullable(),\n version: z.string().default(\"1.0.0\").describe(\"Version of the trigger definition.\").nullable().optional(),\n trigger_id: z.string().describe(\"The unique identifier of the trigger.\").nullable(),\n description: z.string().describe(\"Description of what the trigger does.\").nullable(),\n provider_id: z.string().describe(\"The unique identifier of the provider.\").nullable(),\n trigger_name: z.string().describe(\"The display name of the trigger.\").nullable(),\n trigger_type: StackAiGetTriggerByProvider_TriggerTypeSchema.nullable(),\n can_get_test_samples: z.boolean().describe(\"Whether the trigger supports retrieving test samples for testing purposes.\").nullable(),\n webhook_requires_verification: z.boolean().default(false).describe(\"Whether the webhook requires verification by the provider with a challenge request before creation (e.g., Microsoft Graph Outlook & Slack).\").nullable().optional(),\n}).passthrough().describe(\"Response model containing trigger definition details.\");\n\nexport const stackAiGetTriggerByProvider = action(\"STACK_AI_GET_TRIGGER_BY_PROVIDER\", {\n slug: \"stack_ai-get-trigger-by-provider\",\n name: \"Get Trigger Details From Provider\",\n description: \"Tool to retrieve detailed information about a specific trigger from a provider. Use when you need to get trigger configuration, capabilities, or metadata for a specific provider's trigger.\",\n input: StackAiGetTriggerByProviderInput,\n output: StackAiGetTriggerByProviderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CAClG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;AACvG,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,kDAAkD,EAAE,OAAO;CAC/D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC5F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAM,gDAAgD,EAAE,KAAK;CAAC;CAAW;CAAW;AAAW,CAAC,CAAC,CAAC,SAAS,4BAA4B;AAevI,MAAa,8BAA8B,OAAO,oCAAoC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAnB+C,EAAE,OAAO;EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAC9E,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,SAAS,gDAAgD,SAAS;EAClE,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EACnF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACpF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC/E,cAAc,8CAA8C,SAAS;EACrE,sBAAsB,EAAE,QAAQ,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EAClI,+BAA+B,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxO,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAOhB;AACV,CAAC"}
@@ -5,7 +5,7 @@ const StackAiGetTriggerInputsInput = zod.z.object({
5
5
  trigger_id: zod.z.string().describe("Identifier for the specific trigger to retrieve input schema for (e.g., 'custom_webhook')."),
6
6
  provider_id: zod.z.string().describe("Identifier for the provider (e.g., 'stackai' for Stack AI providers).")
7
7
  });
8
- const StackAiGetTriggerInputsOutput = zod.z.object({ inputs_schema: zod.z.record(zod.z.string(), zod.z.unknown()).describe("JSON schema definition describing the input parameters required by the trigger.").nullable().optional() });
8
+ const StackAiGetTriggerInputsOutput = zod.z.object({ inputs_schema: zod.z.record(zod.z.string(), zod.z.unknown()).describe("JSON schema definition describing the input parameters required by the trigger.").nullable().optional() }).passthrough();
9
9
  const stackAiGetTriggerInputs = require_action.action("STACK_AI_GET_TRIGGER_INPUTS", {
10
10
  slug: "stack_ai-get-trigger-inputs",
11
11
  name: "Get Trigger Inputs",
@@ -1 +1 @@
1
- {"version":3,"file":"get-trigger-inputs.cjs","names":["z","action"],"sources":["../../src/actions/get-trigger-inputs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiGetTriggerInputsInput = z.object({\n trigger_id: z.string().describe(\"Identifier for the specific trigger to retrieve input schema for (e.g., 'custom_webhook').\"),\n provider_id: z.string().describe(\"Identifier for the provider (e.g., 'stackai' for Stack AI providers).\"),\n});\nexport const StackAiGetTriggerInputsOutput = z.object({\n inputs_schema: z.record(z.string(), z.unknown()).describe(\"JSON schema definition describing the input parameters required by the trigger.\").nullable().optional(),\n});\n\nexport const stackAiGetTriggerInputs = action(\"STACK_AI_GET_TRIGGER_INPUTS\", {\n slug: \"stack_ai-get-trigger-inputs\",\n name: \"Get Trigger Inputs\",\n description: \"Tool to retrieve the input parameters for a trigger as a JSON schema. Use when discovering what data inputs a specific trigger requires before executing it.\",\n input: StackAiGetTriggerInputsInput,\n output: StackAiGetTriggerInputsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F;CAC5H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;AAC1G,CAAC;AACD,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,eAAeA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnK,CAAC;AAED,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-trigger-inputs.cjs","names":["z","action"],"sources":["../../src/actions/get-trigger-inputs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiGetTriggerInputsInput = z.object({\n trigger_id: z.string().describe(\"Identifier for the specific trigger to retrieve input schema for (e.g., 'custom_webhook').\"),\n provider_id: z.string().describe(\"Identifier for the provider (e.g., 'stackai' for Stack AI providers).\"),\n});\nexport const StackAiGetTriggerInputsOutput = z.object({\n inputs_schema: z.record(z.string(), z.unknown()).describe(\"JSON schema definition describing the input parameters required by the trigger.\").nullable().optional(),\n}).passthrough();\n\nexport const stackAiGetTriggerInputs = action(\"STACK_AI_GET_TRIGGER_INPUTS\", {\n slug: \"stack_ai-get-trigger-inputs\",\n name: \"Get Trigger Inputs\",\n description: \"Tool to retrieve the input parameters for a trigger as a JSON schema. Use when discovering what data inputs a specific trigger requires before executing it.\",\n input: StackAiGetTriggerInputsInput,\n output: StackAiGetTriggerInputsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F;CAC5H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;AAC1G,CAAC;AACD,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,eAAeA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnK,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -7,7 +7,7 @@ declare const StackAiGetTriggerInputsInput: z.ZodObject<{
7
7
  }, z.core.$strip>;
8
8
  declare const StackAiGetTriggerInputsOutput: z.ZodObject<{
9
9
  inputs_schema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
10
- }, z.core.$strip>;
10
+ }, z.core.$loose>;
11
11
  declare const stackAiGetTriggerInputs: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  trigger_id: string;
13
13
  provider_id: string;
@@ -7,7 +7,7 @@ declare const StackAiGetTriggerInputsInput: z.ZodObject<{
7
7
  }, z.core.$strip>;
8
8
  declare const StackAiGetTriggerInputsOutput: z.ZodObject<{
9
9
  inputs_schema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
10
- }, z.core.$strip>;
10
+ }, z.core.$loose>;
11
11
  declare const stackAiGetTriggerInputs: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  trigger_id: string;
13
13
  provider_id: string;
@@ -8,7 +8,7 @@ const stackAiGetTriggerInputs = action("STACK_AI_GET_TRIGGER_INPUTS", {
8
8
  trigger_id: z.string().describe("Identifier for the specific trigger to retrieve input schema for (e.g., 'custom_webhook')."),
9
9
  provider_id: z.string().describe("Identifier for the provider (e.g., 'stackai' for Stack AI providers).")
10
10
  }),
11
- output: z.object({ inputs_schema: z.record(z.string(), z.unknown()).describe("JSON schema definition describing the input parameters required by the trigger.").nullable().optional() })
11
+ output: z.object({ inputs_schema: z.record(z.string(), z.unknown()).describe("JSON schema definition describing the input parameters required by the trigger.").nullable().optional() }).passthrough()
12
12
  });
13
13
  //#endregion
14
14
  export { stackAiGetTriggerInputs };
@@ -1 +1 @@
1
- {"version":3,"file":"get-trigger-inputs.mjs","names":[],"sources":["../../src/actions/get-trigger-inputs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiGetTriggerInputsInput = z.object({\n trigger_id: z.string().describe(\"Identifier for the specific trigger to retrieve input schema for (e.g., 'custom_webhook').\"),\n provider_id: z.string().describe(\"Identifier for the provider (e.g., 'stackai' for Stack AI providers).\"),\n});\nexport const StackAiGetTriggerInputsOutput = z.object({\n inputs_schema: z.record(z.string(), z.unknown()).describe(\"JSON schema definition describing the input parameters required by the trigger.\").nullable().optional(),\n});\n\nexport const stackAiGetTriggerInputs = action(\"STACK_AI_GET_TRIGGER_INPUTS\", {\n slug: \"stack_ai-get-trigger-inputs\",\n name: \"Get Trigger Inputs\",\n description: \"Tool to retrieve the input parameters for a trigger as a JSON schema. Use when discovering what data inputs a specific trigger requires before executing it.\",\n input: StackAiGetTriggerInputsInput,\n output: StackAiGetTriggerInputsOutput,\n});\n"],"mappings":";;AAYA,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ0C,EAAE,OAAO;EACnD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F;EAC5H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CAC1G,CASS;CACP,QAT2C,EAAE,OAAO,EACpD,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnK,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"get-trigger-inputs.mjs","names":[],"sources":["../../src/actions/get-trigger-inputs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiGetTriggerInputsInput = z.object({\n trigger_id: z.string().describe(\"Identifier for the specific trigger to retrieve input schema for (e.g., 'custom_webhook').\"),\n provider_id: z.string().describe(\"Identifier for the provider (e.g., 'stackai' for Stack AI providers).\"),\n});\nexport const StackAiGetTriggerInputsOutput = z.object({\n inputs_schema: z.record(z.string(), z.unknown()).describe(\"JSON schema definition describing the input parameters required by the trigger.\").nullable().optional(),\n}).passthrough();\n\nexport const stackAiGetTriggerInputs = action(\"STACK_AI_GET_TRIGGER_INPUTS\", {\n slug: \"stack_ai-get-trigger-inputs\",\n name: \"Get Trigger Inputs\",\n description: \"Tool to retrieve the input parameters for a trigger as a JSON schema. Use when discovering what data inputs a specific trigger requires before executing it.\",\n input: StackAiGetTriggerInputsInput,\n output: StackAiGetTriggerInputsOutput,\n});\n"],"mappings":";;AAYA,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ0C,EAAE,OAAO;EACnD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F;EAC5H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CAC1G,CASS;CACP,QAT2C,EAAE,OAAO,EACpD,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnK,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -11,7 +11,7 @@ const StackAiGetTriggerOutputsOutput = zod.z.object({
11
11
  zod.z.number().int(),
12
12
  zod.z.number(),
13
13
  zod.z.boolean(),
14
- zod.z.object({})
14
+ zod.z.record(zod.z.string(), zod.z.unknown())
15
15
  ]).nullable().optional(),
16
16
  base_id: zod.z.string().describe("The base or database identifier. Present for database-based providers like Airtable.").nullable().optional(),
17
17
  table_id: zod.z.string().describe("The table identifier within the base. Present for table-based providers.").nullable().optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"get-trigger-outputs.cjs","names":["z","action"],"sources":["../../src/actions/get-trigger-outputs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiGetTriggerOutputsInput = z.object({\n trigger_id: z.string().describe(\"The unique identifier of the trigger (e.g., 'on_record_change', 'on_contact_update'). This identifies the specific event type being monitored.\"),\n provider_id: z.string().describe(\"The unique identifier of the provider (e.g., 'airtable', 'salesforce'). This identifies which external service the trigger is connected to.\"),\n}).describe(\"Request model for getting trigger outputs from Stack AI.\");\nexport const StackAiGetTriggerOutputsOutput = z.object({\n data: z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.object({})]).nullable().optional(),\n base_id: z.string().describe(\"The base or database identifier. Present for database-based providers like Airtable.\").nullable().optional(),\n table_id: z.string().describe(\"The table identifier within the base. Present for table-based providers.\").nullable().optional(),\n record_id: z.string().describe(\"The unique identifier of the affected record. Present for record-based triggers.\").nullable().optional(),\n event_type: z.string().describe(\"The type of event that occurred (e.g., 'record_created', 'record_updated'). Present for some triggers.\").nullable().optional(),\n}).passthrough().describe(\"Response model for trigger outputs, containing the schema of fields produced by the trigger.\\n\\nThe response is dynamic and varies by provider and trigger type. Common fields include\\nidentifiers, event types, and data payloads specific to the provider's data model.\");\n\nexport const stackAiGetTriggerOutputs = action(\"STACK_AI_GET_TRIGGER_OUTPUTS\", {\n slug: \"stack_ai-get-trigger-outputs\",\n name: \"Get Trigger Outputs\",\n description: \"Tool to retrieve the output schema for a specific trigger in Stack AI. Use when you need to understand what fields a trigger will produce when it fires. This action helps discover the structure of data that will be available from a trigger event, which is useful for configuring workflows and data processing.\",\n input: StackAiGetTriggerOutputsInput,\n output: StackAiGetTriggerOutputsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ;CAChL,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I;AAChL,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4QAA4Q;AAEtS,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-trigger-outputs.cjs","names":["z","action"],"sources":["../../src/actions/get-trigger-outputs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiGetTriggerOutputsInput = z.object({\n trigger_id: z.string().describe(\"The unique identifier of the trigger (e.g., 'on_record_change', 'on_contact_update'). This identifies the specific event type being monitored.\"),\n provider_id: z.string().describe(\"The unique identifier of the provider (e.g., 'airtable', 'salesforce'). This identifies which external service the trigger is connected to.\"),\n}).describe(\"Request model for getting trigger outputs from Stack AI.\");\nexport const StackAiGetTriggerOutputsOutput = z.object({\n data: z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.record(z.string(), z.unknown())]).nullable().optional(),\n base_id: z.string().describe(\"The base or database identifier. Present for database-based providers like Airtable.\").nullable().optional(),\n table_id: z.string().describe(\"The table identifier within the base. Present for table-based providers.\").nullable().optional(),\n record_id: z.string().describe(\"The unique identifier of the affected record. Present for record-based triggers.\").nullable().optional(),\n event_type: z.string().describe(\"The type of event that occurred (e.g., 'record_created', 'record_updated'). Present for some triggers.\").nullable().optional(),\n}).passthrough().describe(\"Response model for trigger outputs, containing the schema of fields produced by the trigger.\\n\\nThe response is dynamic and varies by provider and trigger type. Common fields include\\nidentifiers, event types, and data payloads specific to the provider's data model.\");\n\nexport const stackAiGetTriggerOutputs = action(\"STACK_AI_GET_TRIGGER_OUTPUTS\", {\n slug: \"stack_ai-get-trigger-outputs\",\n name: \"Get Trigger Outputs\",\n description: \"Tool to retrieve the output schema for a specific trigger in Stack AI. Use when you need to understand what fields a trigger will produce when it fires. This action helps discover the structure of data that will be available from a trigger event, which is useful for configuring workflows and data processing.\",\n input: StackAiGetTriggerOutputsInput,\n output: StackAiGetTriggerOutputsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ;CAChL,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I;AAChL,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;EAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4QAA4Q;AAEtS,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -6,7 +6,7 @@ declare const StackAiGetTriggerOutputsInput: z.ZodObject<{
6
6
  provider_id: z.ZodString;
7
7
  }, z.core.$strip>;
8
8
  declare const StackAiGetTriggerOutputsOutput: z.ZodObject<{
9
- data: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean, z.ZodObject<{}, z.core.$strip>]>>>;
9
+ data: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
10
10
  base_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
11
  table_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
12
  record_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6,7 +6,7 @@ declare const StackAiGetTriggerOutputsInput: z.ZodObject<{
6
6
  provider_id: z.ZodString;
7
7
  }, z.core.$strip>;
8
8
  declare const StackAiGetTriggerOutputsOutput: z.ZodObject<{
9
- data: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean, z.ZodObject<{}, z.core.$strip>]>>>;
9
+ data: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
10
10
  base_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
11
  table_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
12
  record_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -14,7 +14,7 @@ const stackAiGetTriggerOutputs = action("STACK_AI_GET_TRIGGER_OUTPUTS", {
14
14
  z.number().int(),
15
15
  z.number(),
16
16
  z.boolean(),
17
- z.object({})
17
+ z.record(z.string(), z.unknown())
18
18
  ]).nullable().optional(),
19
19
  base_id: z.string().describe("The base or database identifier. Present for database-based providers like Airtable.").nullable().optional(),
20
20
  table_id: z.string().describe("The table identifier within the base. Present for table-based providers.").nullable().optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"get-trigger-outputs.mjs","names":[],"sources":["../../src/actions/get-trigger-outputs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiGetTriggerOutputsInput = z.object({\n trigger_id: z.string().describe(\"The unique identifier of the trigger (e.g., 'on_record_change', 'on_contact_update'). This identifies the specific event type being monitored.\"),\n provider_id: z.string().describe(\"The unique identifier of the provider (e.g., 'airtable', 'salesforce'). This identifies which external service the trigger is connected to.\"),\n}).describe(\"Request model for getting trigger outputs from Stack AI.\");\nexport const StackAiGetTriggerOutputsOutput = z.object({\n data: z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.object({})]).nullable().optional(),\n base_id: z.string().describe(\"The base or database identifier. Present for database-based providers like Airtable.\").nullable().optional(),\n table_id: z.string().describe(\"The table identifier within the base. Present for table-based providers.\").nullable().optional(),\n record_id: z.string().describe(\"The unique identifier of the affected record. Present for record-based triggers.\").nullable().optional(),\n event_type: z.string().describe(\"The type of event that occurred (e.g., 'record_created', 'record_updated'). Present for some triggers.\").nullable().optional(),\n}).passthrough().describe(\"Response model for trigger outputs, containing the schema of fields produced by the trigger.\\n\\nThe response is dynamic and varies by provider and trigger type. Common fields include\\nidentifiers, event types, and data payloads specific to the provider's data model.\");\n\nexport const stackAiGetTriggerOutputs = action(\"STACK_AI_GET_TRIGGER_OUTPUTS\", {\n slug: \"stack_ai-get-trigger-outputs\",\n name: \"Get Trigger Outputs\",\n description: \"Tool to retrieve the output schema for a specific trigger in Stack AI. Use when you need to understand what fields a trigger will produce when it fires. This action helps discover the structure of data that will be available from a trigger event, which is useful for configuring workflows and data processing.\",\n input: StackAiGetTriggerOutputsInput,\n output: StackAiGetTriggerOutputsOutput,\n});\n"],"mappings":";;AAgBA,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB2C,EAAE,OAAO;EACpD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ;EAChL,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I;CAChL,CAAC,CAAC,CAAC,SAAS,0DAaH;CACP,QAb4C,EAAE,OAAO;EACrD,MAAM,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG,EAAE,OAAO,CAAC,CAAC,IAAI;GAAG,EAAE,OAAO;GAAG,EAAE,QAAQ;GAAG,EAAE,OAAO,CAAC,CAAC;EAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4QAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-trigger-outputs.mjs","names":[],"sources":["../../src/actions/get-trigger-outputs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiGetTriggerOutputsInput = z.object({\n trigger_id: z.string().describe(\"The unique identifier of the trigger (e.g., 'on_record_change', 'on_contact_update'). This identifies the specific event type being monitored.\"),\n provider_id: z.string().describe(\"The unique identifier of the provider (e.g., 'airtable', 'salesforce'). This identifies which external service the trigger is connected to.\"),\n}).describe(\"Request model for getting trigger outputs from Stack AI.\");\nexport const StackAiGetTriggerOutputsOutput = z.object({\n data: z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.record(z.string(), z.unknown())]).nullable().optional(),\n base_id: z.string().describe(\"The base or database identifier. Present for database-based providers like Airtable.\").nullable().optional(),\n table_id: z.string().describe(\"The table identifier within the base. Present for table-based providers.\").nullable().optional(),\n record_id: z.string().describe(\"The unique identifier of the affected record. Present for record-based triggers.\").nullable().optional(),\n event_type: z.string().describe(\"The type of event that occurred (e.g., 'record_created', 'record_updated'). Present for some triggers.\").nullable().optional(),\n}).passthrough().describe(\"Response model for trigger outputs, containing the schema of fields produced by the trigger.\\n\\nThe response is dynamic and varies by provider and trigger type. Common fields include\\nidentifiers, event types, and data payloads specific to the provider's data model.\");\n\nexport const stackAiGetTriggerOutputs = action(\"STACK_AI_GET_TRIGGER_OUTPUTS\", {\n slug: \"stack_ai-get-trigger-outputs\",\n name: \"Get Trigger Outputs\",\n description: \"Tool to retrieve the output schema for a specific trigger in Stack AI. Use when you need to understand what fields a trigger will produce when it fires. This action helps discover the structure of data that will be available from a trigger event, which is useful for configuring workflows and data processing.\",\n input: StackAiGetTriggerOutputsInput,\n output: StackAiGetTriggerOutputsOutput,\n});\n"],"mappings":";;AAgBA,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB2C,EAAE,OAAO;EACpD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ;EAChL,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I;CAChL,CAAC,CAAC,CAAC,SAAS,0DAaH;CACP,QAb4C,EAAE,OAAO;EACrD,MAAM,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG,EAAE,OAAO,CAAC,CAAC,IAAI;GAAG,EAAE,OAAO;GAAG,EAAE,QAAQ;GAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC;EAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4QAOhB;AACV,CAAC"}
@@ -6,8 +6,8 @@ const StackAiListIntegrations_IntegrationSchema = zod.z.object({
6
6
  actions: zod.z.array(zod.z.string()).describe("List of available actions for this integration"),
7
7
  triggers: zod.z.array(zod.z.string()).describe("List of available triggers for this integration"),
8
8
  provider_id: zod.z.string().describe("Unique identifier for the integration provider").nullable()
9
- }).describe("Model representing a single Stack AI integration.");
10
- const StackAiListIntegrationsOutput = zod.z.object({ integrations: zod.z.array(StackAiListIntegrations_IntegrationSchema).describe("List of all available Stack AI integrations with their actions and triggers") }).describe("Response model for listing Stack AI integrations.\nReturns an array of integration objects.");
9
+ }).passthrough().describe("Model representing a single Stack AI integration.");
10
+ const StackAiListIntegrationsOutput = zod.z.object({ integrations: zod.z.array(StackAiListIntegrations_IntegrationSchema).describe("List of all available Stack AI integrations with their actions and triggers") }).passthrough().describe("Response model for listing Stack AI integrations.\nReturns an array of integration objects.");
11
11
  const stackAiListIntegrations = require_action.action("STACK_AI_LIST_INTEGRATIONS", {
12
12
  slug: "stack_ai-list-integrations",
13
13
  name: "List Stack AI Integrations",
@@ -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}).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}).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,SAAS,mDAAmD;AAC/D,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,cAAcA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,6EAA6E,EACzJ,CAAC,CAAC,CAAC,SAAS,6FAA6F;AAEzG,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 { 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"}
@@ -7,8 +7,8 @@ declare const StackAiListIntegrationsOutput: z.ZodObject<{
7
7
  actions: z.ZodArray<z.ZodString>;
8
8
  triggers: z.ZodArray<z.ZodString>;
9
9
  provider_id: z.ZodNullable<z.ZodString>;
10
- }, z.core.$strip>>;
11
- }, z.core.$strip>;
10
+ }, z.core.$loose>>;
11
+ }, z.core.$loose>;
12
12
  declare const stackAiListIntegrations: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
13
  //#endregion
14
14
  export { stackAiListIntegrations };
@@ -7,8 +7,8 @@ declare const StackAiListIntegrationsOutput: z.ZodObject<{
7
7
  actions: z.ZodArray<z.ZodString>;
8
8
  triggers: z.ZodArray<z.ZodString>;
9
9
  provider_id: z.ZodNullable<z.ZodString>;
10
- }, z.core.$strip>>;
11
- }, z.core.$strip>;
10
+ }, z.core.$loose>>;
11
+ }, z.core.$loose>;
12
12
  declare const stackAiListIntegrations: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
13
  //#endregion
14
14
  export { stackAiListIntegrations };
@@ -6,13 +6,13 @@ const StackAiListIntegrations_IntegrationSchema = z.object({
6
6
  actions: z.array(z.string()).describe("List of available actions for this integration"),
7
7
  triggers: z.array(z.string()).describe("List of available triggers for this integration"),
8
8
  provider_id: z.string().describe("Unique identifier for the integration provider").nullable()
9
- }).describe("Model representing a single Stack AI integration.");
9
+ }).passthrough().describe("Model representing a single Stack AI integration.");
10
10
  const stackAiListIntegrations = action("STACK_AI_LIST_INTEGRATIONS", {
11
11
  slug: "stack_ai-list-integrations",
12
12
  name: "List Stack AI Integrations",
13
13
  description: "Tool to list all available Stack AI integrations. Use when you need to discover available integrations, actions, and triggers in Stack AI.",
14
14
  input: StackAiListIntegrationsInput,
15
- output: z.object({ integrations: z.array(StackAiListIntegrations_IntegrationSchema).describe("List of all available Stack AI integrations with their actions and triggers") }).describe("Response model for listing Stack AI integrations.\nReturns an array of integration objects.")
15
+ output: z.object({ integrations: z.array(StackAiListIntegrations_IntegrationSchema).describe("List of all available Stack AI integrations with their actions and triggers") }).passthrough().describe("Response model for listing Stack AI integrations.\nReturns an array of integration objects.")
16
16
  });
17
17
  //#endregion
18
18
  export { stackAiListIntegrations };
@@ -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}).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}).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,SAAS,mDAAmD;AAK/D,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,SAAS,6FAOF;AACV,CAAC"}
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"}
@@ -14,8 +14,8 @@ const StackAiListPermissions_PermissionSchema = zod.z.object({
14
14
  is_deprecated: zod.z.boolean().describe("Whether this permission is deprecated").nullable(),
15
15
  resource_type: zod.z.string().describe("The resource type").nullable(),
16
16
  subresource_type: zod.z.string().describe("Optional subresource").nullable().optional()
17
- }).describe("Individual permission object.");
18
- const StackAiListPermissionsOutput = zod.z.object({ permissions: zod.z.array(StackAiListPermissions_PermissionSchema).describe("List of all available permissions") }).describe("Response model for listing Stack AI permissions.\nReturns an array of permission objects.");
17
+ }).passthrough().describe("Individual permission object.");
18
+ const StackAiListPermissionsOutput = zod.z.object({ permissions: zod.z.array(StackAiListPermissions_PermissionSchema).describe("List of all available permissions") }).passthrough().describe("Response model for listing Stack AI permissions.\nReturns an array of permission objects.");
19
19
  const stackAiListPermissions = require_action.action("STACK_AI_LIST_PERMISSIONS", {
20
20
  slug: "stack_ai-list-permissions",
21
21
  name: "List Permissions",
@@ -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}).describe(\"Individual permission object.\");\nexport const StackAiListPermissionsOutput = 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,8BAA8BA,IAAAA,EAA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AAS,2FAA2F;AAEvG,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 { 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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,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -15,8 +15,8 @@ declare const StackAiListPermissionsOutput: z.ZodObject<{
15
15
  is_deprecated: z.ZodNullable<z.ZodBoolean>;
16
16
  resource_type: z.ZodNullable<z.ZodString>;
17
17
  subresource_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
- }, z.core.$strip>>;
19
- }, z.core.$strip>;
18
+ }, z.core.$loose>>;
19
+ }, z.core.$loose>;
20
20
  declare const stackAiListPermissions: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
21
  //#endregion
22
22
  export { stackAiListPermissions };
@@ -15,8 +15,8 @@ declare const StackAiListPermissionsOutput: z.ZodObject<{
15
15
  is_deprecated: z.ZodNullable<z.ZodBoolean>;
16
16
  resource_type: z.ZodNullable<z.ZodString>;
17
17
  subresource_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
- }, z.core.$strip>>;
19
- }, z.core.$strip>;
18
+ }, z.core.$loose>>;
19
+ }, z.core.$loose>;
20
20
  declare const stackAiListPermissions: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
21
  //#endregion
22
22
  export { stackAiListPermissions };
@@ -14,13 +14,13 @@ const StackAiListPermissions_PermissionSchema = z.object({
14
14
  is_deprecated: z.boolean().describe("Whether this permission is deprecated").nullable(),
15
15
  resource_type: z.string().describe("The resource type").nullable(),
16
16
  subresource_type: z.string().describe("Optional subresource").nullable().optional()
17
- }).describe("Individual permission object.");
17
+ }).passthrough().describe("Individual permission object.");
18
18
  const stackAiListPermissions = action("STACK_AI_LIST_PERMISSIONS", {
19
19
  slug: "stack_ai-list-permissions",
20
20
  name: "List Permissions",
21
21
  description: "Tool to list all available permissions in Stack AI. Use when you need to view or check available permission types.",
22
22
  input: StackAiListPermissionsInput,
23
- output: z.object({ permissions: z.array(StackAiListPermissions_PermissionSchema).describe("List of all available permissions") }).describe("Response model for listing Stack AI permissions.\nReturns an array of permission objects.")
23
+ output: z.object({ permissions: z.array(StackAiListPermissions_PermissionSchema).describe("List of all available permissions") }).passthrough().describe("Response model for listing Stack AI permissions.\nReturns an array of permission objects.")
24
24
  });
25
25
  //#endregion
26
26
  export { stackAiListPermissions };
@@ -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}).describe(\"Individual permission object.\");\nexport const StackAiListPermissionsOutput = 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,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,SAAS,+BAA+B;AAK3C,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,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,I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().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
6
  event_name: zod.z.string().describe("Human-readable name of the event being monitored.").nullable(),
7
- instructions: zod.z.object({}).describe("Additional instructions for configuring the trigger.").nullable().optional(),
7
+ instructions: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional instructions for configuring the trigger.").nullable().optional(),
8
8
  listening_text: zod.z.string().describe("Text displayed when the trigger is listening for events.").nullable()
9
- }).describe("UI copy configuration for the trigger.");
9
+ }).passthrough().describe("UI copy configuration for the trigger.");
10
10
  const StackAiListProviderTriggers_TriggerTypeSchema = zod.z.enum([
11
11
  "POLLING",
12
12
  "WEBHOOK",
@@ -24,8 +24,8 @@ const StackAiListProviderTriggers_TriggerDefinitionSchema = zod.z.object({
24
24
  trigger_type: StackAiListProviderTriggers_TriggerTypeSchema.nullable(),
25
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.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.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.\").nullable(),\n}).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}).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}).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,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,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,SAAS,mDAAmD;AAC/D,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,UAAUA,IAAAA,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,oEAAoE,EACtJ,CAAC,CAAC,CAAC,SAAS,0EAA0E;AAEtF,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 { 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"],"mapp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AaA,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"}
@@ -10,9 +10,9 @@ declare const StackAiListProviderTriggersOutput: z.ZodObject<{
10
10
  tags: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodArray<z.ZodString>>>>;
11
11
  ui_copy: z.ZodNullable<z.ZodObject<{
12
12
  event_name: z.ZodNullable<z.ZodString>;
13
- instructions: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
13
+ instructions: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
14
14
  listening_text: z.ZodNullable<z.ZodString>;
15
- }, z.core.$strip>>;
15
+ }, z.core.$loose>>;
16
16
  version: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
17
17
  trigger_id: z.ZodNullable<z.ZodString>;
18
18
  description: z.ZodNullable<z.ZodString>;
@@ -25,8 +25,8 @@ declare const StackAiListProviderTriggersOutput: z.ZodObject<{
25
25
  }>>;
26
26
  can_get_test_samples: z.ZodNullable<z.ZodBoolean>;
27
27
  webhook_requires_verification: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
28
- }, z.core.$strip>>;
29
- }, z.core.$strip>;
28
+ }, z.core.$loose>>;
29
+ }, z.core.$loose>;
30
30
  declare const stackAiListProviderTriggers: import("@keystrokehq/action").WorkflowActionDefinition<{
31
31
  provider_id: string;
32
32
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -10,9 +10,9 @@ declare const StackAiListProviderTriggersOutput: z.ZodObject<{
10
10
  tags: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodArray<z.ZodString>>>>;
11
11
  ui_copy: z.ZodNullable<z.ZodObject<{
12
12
  event_name: z.ZodNullable<z.ZodString>;
13
- instructions: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
13
+ instructions: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
14
14
  listening_text: z.ZodNullable<z.ZodString>;
15
- }, z.core.$strip>>;
15
+ }, z.core.$loose>>;
16
16
  version: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
17
17
  trigger_id: z.ZodNullable<z.ZodString>;
18
18
  description: z.ZodNullable<z.ZodString>;
@@ -25,8 +25,8 @@ declare const StackAiListProviderTriggersOutput: z.ZodObject<{
25
25
  }>>;
26
26
  can_get_test_samples: z.ZodNullable<z.ZodBoolean>;
27
27
  webhook_requires_verification: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
28
- }, z.core.$strip>>;
29
- }, z.core.$strip>;
28
+ }, z.core.$loose>>;
29
+ }, z.core.$loose>;
30
30
  declare const stackAiListProviderTriggers: import("@keystrokehq/action").WorkflowActionDefinition<{
31
31
  provider_id: string;
32
32
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -4,9 +4,9 @@ import { z } from "zod";
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
6
  event_name: z.string().describe("Human-readable name of the event being monitored.").nullable(),
7
- instructions: z.object({}).describe("Additional instructions for configuring the trigger.").nullable().optional(),
7
+ instructions: z.record(z.string(), z.unknown()).describe("Additional instructions for configuring the trigger.").nullable().optional(),
8
8
  listening_text: z.string().describe("Text displayed when the trigger is listening for events.").nullable()
9
- }).describe("UI copy configuration for the trigger.");
9
+ }).passthrough().describe("UI copy configuration for the trigger.");
10
10
  const StackAiListProviderTriggers_TriggerTypeSchema = z.enum([
11
11
  "POLLING",
12
12
  "WEBHOOK",
@@ -24,13 +24,13 @@ const StackAiListProviderTriggers_TriggerDefinitionSchema = z.object({
24
24
  trigger_type: StackAiListProviderTriggers_TriggerTypeSchema.nullable(),
25
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.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.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.\").nullable(),\n}).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}).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}).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,CAAC,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,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,SAAS,mDAAmD;AAK/D,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,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,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,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.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}).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,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"}
@@ -4,7 +4,7 @@ import { z } from "zod";
4
4
  declare const StackAiListStackAiTriggersInput: z.ZodObject<{}, z.core.$strip>;
5
5
  declare const StackAiListStackAiTriggersOutput: z.ZodObject<{
6
6
  triggers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
7
- }, z.core.$strip>;
7
+ }, z.core.$loose>;
8
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]>;
9
9
  //#endregion
10
10
  export { stackAiListStackAiTriggers };
@@ -4,7 +4,7 @@ import { z } from "zod";
4
4
  declare const StackAiListStackAiTriggersInput: z.ZodObject<{}, z.core.$strip>;
5
5
  declare const StackAiListStackAiTriggersOutput: z.ZodObject<{
6
6
  triggers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
7
- }, z.core.$strip>;
7
+ }, z.core.$loose>;
8
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]>;
9
9
  //#endregion
10
10
  export { stackAiListStackAiTriggers };
@@ -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 };