@keystrokehq/formsite 0.1.0

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 (74) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/get-form-items.cjs +26 -0
  7. package/dist/actions/get-form-items.cjs.map +1 -0
  8. package/dist/actions/get-form-items.d.cts +9 -0
  9. package/dist/actions/get-form-items.d.cts.map +1 -0
  10. package/dist/actions/get-form-items.d.mts +9 -0
  11. package/dist/actions/get-form-items.d.mts.map +1 -0
  12. package/dist/actions/get-form-items.mjs +25 -0
  13. package/dist/actions/get-form-items.mjs.map +1 -0
  14. package/dist/actions/get-form-results.cjs +39 -0
  15. package/dist/actions/get-form-results.cjs.map +1 -0
  16. package/dist/actions/get-form-results.d.cts +9 -0
  17. package/dist/actions/get-form-results.d.cts.map +1 -0
  18. package/dist/actions/get-form-results.d.mts +9 -0
  19. package/dist/actions/get-form-results.d.mts.map +1 -0
  20. package/dist/actions/get-form-results.mjs +38 -0
  21. package/dist/actions/get-form-results.mjs.map +1 -0
  22. package/dist/actions/get-form.cjs +35 -0
  23. package/dist/actions/get-form.cjs.map +1 -0
  24. package/dist/actions/get-form.d.cts +9 -0
  25. package/dist/actions/get-form.d.cts.map +1 -0
  26. package/dist/actions/get-form.d.mts +9 -0
  27. package/dist/actions/get-form.d.mts.map +1 -0
  28. package/dist/actions/get-form.mjs +34 -0
  29. package/dist/actions/get-form.mjs.map +1 -0
  30. package/dist/actions/get-webhooks.cjs +24 -0
  31. package/dist/actions/get-webhooks.cjs.map +1 -0
  32. package/dist/actions/get-webhooks.d.cts +9 -0
  33. package/dist/actions/get-webhooks.d.cts.map +1 -0
  34. package/dist/actions/get-webhooks.d.mts +9 -0
  35. package/dist/actions/get-webhooks.d.mts.map +1 -0
  36. package/dist/actions/get-webhooks.mjs +23 -0
  37. package/dist/actions/get-webhooks.mjs.map +1 -0
  38. package/dist/actions/index.cjs +11 -0
  39. package/dist/actions/index.d.cts +6 -0
  40. package/dist/actions/index.d.mts +6 -0
  41. package/dist/actions/index.mjs +6 -0
  42. package/dist/actions/list-all-forms.cjs +32 -0
  43. package/dist/actions/list-all-forms.cjs.map +1 -0
  44. package/dist/actions/list-all-forms.d.cts +9 -0
  45. package/dist/actions/list-all-forms.d.cts.map +1 -0
  46. package/dist/actions/list-all-forms.d.mts +9 -0
  47. package/dist/actions/list-all-forms.d.mts.map +1 -0
  48. package/dist/actions/list-all-forms.mjs +31 -0
  49. package/dist/actions/list-all-forms.mjs.map +1 -0
  50. package/dist/app.cjs +9 -0
  51. package/dist/app.cjs.map +1 -0
  52. package/dist/app.d.cts +5 -0
  53. package/dist/app.d.cts.map +1 -0
  54. package/dist/app.d.mts +5 -0
  55. package/dist/app.d.mts.map +1 -0
  56. package/dist/app.mjs +10 -0
  57. package/dist/app.mjs.map +1 -0
  58. package/dist/catalog.cjs +15 -0
  59. package/dist/catalog.cjs.map +1 -0
  60. package/dist/catalog.d.cts +14 -0
  61. package/dist/catalog.d.cts.map +1 -0
  62. package/dist/catalog.d.mts +14 -0
  63. package/dist/catalog.d.mts.map +1 -0
  64. package/dist/catalog.mjs +15 -0
  65. package/dist/catalog.mjs.map +1 -0
  66. package/dist/execute.cjs +18 -0
  67. package/dist/execute.cjs.map +1 -0
  68. package/dist/execute.mjs +18 -0
  69. package/dist/execute.mjs.map +1 -0
  70. package/dist/index.cjs +16 -0
  71. package/dist/index.d.cts +8 -0
  72. package/dist/index.d.mts +8 -0
  73. package/dist/index.mjs +9 -0
  74. package/package.json +49 -0
package/README.md ADDED
@@ -0,0 +1,17 @@
1
+ # @keystrokehq/formsite
2
+
3
+ Keystroke-managed integration.
4
+
5
+ **App:** `formsite`
6
+ **Version:** `20260615_00`
7
+ **Actions:** 5
8
+
9
+ ```ts
10
+ import { defineAgent } from "@keystrokehq/keystroke/agent";
11
+ import { formsiteGetForm } from "@keystrokehq/formsite/actions";
12
+
13
+ export default defineAgent({
14
+ key: "formsite-agent",
15
+ tools: [formsiteGetForm],
16
+ });
17
+ ```
@@ -0,0 +1,21 @@
1
+ const require_app = require("./app.cjs");
2
+ const require_execute = require("./execute.cjs");
3
+ require("zod");
4
+ //#region src/action.ts
5
+ /** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
6
+ function action(tool, def) {
7
+ return require_app.formsite.action({
8
+ slug: def.slug,
9
+ name: def.name,
10
+ description: def.description,
11
+ input: def.input,
12
+ output: def.output,
13
+ async run(input) {
14
+ return def.output.parse(await require_execute.executeFormsiteTool(tool, input));
15
+ }
16
+ });
17
+ }
18
+ //#endregion
19
+ exports.action = action;
20
+
21
+ //# sourceMappingURL=action.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action.cjs","names":["formsite","executeFormsiteTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { formsite } from \"./app\";\nimport { executeFormsiteTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return formsite.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeFormsiteTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
@@ -0,0 +1,21 @@
1
+ import { formsite } from "./app.mjs";
2
+ import { executeFormsiteTool } from "./execute.mjs";
3
+ import "zod";
4
+ //#region src/action.ts
5
+ /** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
6
+ function action(tool, def) {
7
+ return formsite.action({
8
+ slug: def.slug,
9
+ name: def.name,
10
+ description: def.description,
11
+ input: def.input,
12
+ output: def.output,
13
+ async run(input) {
14
+ return def.output.parse(await executeFormsiteTool(tool, input));
15
+ }
16
+ });
17
+ }
18
+ //#endregion
19
+ export { action };
20
+
21
+ //# sourceMappingURL=action.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { formsite } from \"./app\";\nimport { executeFormsiteTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return formsite.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeFormsiteTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
@@ -0,0 +1,26 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-form-items.ts
4
+ const FormsiteGetFormItemsInput = zod.z.object({
5
+ form_dir: zod.z.string().describe("The form's directory/ID to retrieve items from"),
6
+ user_dir: zod.z.string().describe("The user directory for your Formsite account. If not provided, it will be extracted from the base_url. You can find this in your form URLs (e.g., if your form URL contains '/vSkOfz/forms/', your user_dir is 'vSkOfz') or in Settings -> Integrations -> Formsite API.").optional(),
7
+ results_labels: zod.z.string().describe("Optional. Results Labels ID to apply for item labels").optional()
8
+ }).describe("Model representing the request parameters for getting form items.");
9
+ const FormsiteGetFormItems_FormItemSchema = zod.z.object({
10
+ id: zod.z.string().describe("The item's unique identifier"),
11
+ label: zod.z.string().describe("The item's question label"),
12
+ children: zod.z.array(zod.z.string()).describe("Optional. For item types composed of sub-items (Matrix and Multi Scale items)").nullable().optional(),
13
+ position: zod.z.number().int().describe("The item's sequential position in the form")
14
+ }).describe("Model representing a form item in the response.");
15
+ const FormsiteGetFormItemsOutput = zod.z.object({ items: zod.z.array(FormsiteGetFormItems_FormItemSchema).describe("List of form items containing their IDs, positions, and labels") }).describe("Model representing the response from the get form items endpoint.");
16
+ const formsiteGetFormItems = require_action.action("FORMSITE_GET_FORM_ITEMS", {
17
+ slug: "formsite-get-form-items",
18
+ name: "Get Form Items",
19
+ description: "Retrieves all items (questions) for a specific form using the Formsite API. This action returns detailed information about each form item including: - Item ID (unique identifier for the form question) - Position (sequential order in the form) - Label (the question text) - Children (optional, for Matrix and Multi Scale items with sub-items) The item data can be used to label results data by matching item IDs from this action to item IDs from the Get Form Results action. **Important**: If the connection's base_url doesn't include the user directory, you must provide the 'user_dir' parameter. Find this in your Formsite form URLs (e.g., if URL is https://fs8.formsite.com/user123/forms/abc, user_dir is 'user123') or in Settings -> Integrations -> Formsite API.",
20
+ input: FormsiteGetFormItemsInput,
21
+ output: FormsiteGetFormItemsOutput
22
+ });
23
+ //#endregion
24
+ exports.formsiteGetFormItems = formsiteGetFormItems;
25
+
26
+ //# sourceMappingURL=get-form-items.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-form-items.cjs","names":["z","action"],"sources":["../../src/actions/get-form-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FormsiteGetFormItemsInput: z.ZodTypeAny = z.object({\n form_dir: z.string().describe(\"The form's directory/ID to retrieve items from\"),\n user_dir: z.string().describe(\"The user directory for your Formsite account. If not provided, it will be extracted from the base_url. You can find this in your form URLs (e.g., if your form URL contains '/vSkOfz/forms/', your user_dir is 'vSkOfz') or in Settings -> Integrations -> Formsite API.\").optional(),\n results_labels: z.string().describe(\"Optional. Results Labels ID to apply for item labels\").optional(),\n}).describe(\"Model representing the request parameters for getting form items.\");\nconst FormsiteGetFormItems_FormItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The item's unique identifier\"),\n label: z.string().describe(\"The item's question label\"),\n children: z.array(z.string()).describe(\"Optional. For item types composed of sub-items (Matrix and Multi Scale items)\").nullable().optional(),\n position: z.number().int().describe(\"The item's sequential position in the form\"),\n}).describe(\"Model representing a form item in the response.\");\nexport const FormsiteGetFormItemsOutput: z.ZodTypeAny = z.object({\n items: z.array(FormsiteGetFormItems_FormItemSchema).describe(\"List of form items containing their IDs, positions, and labels\"),\n}).describe(\"Model representing the response from the get form items endpoint.\");\n\nexport const formsiteGetFormItems = action(\"FORMSITE_GET_FORM_ITEMS\", {\n slug: \"formsite-get-form-items\",\n name: \"Get Form Items\",\n description: \"Retrieves all items (questions) for a specific form using the Formsite API. This action returns detailed information about each form item including: - Item ID (unique identifier for the form question) - Position (sequential order in the form) - Label (the question text) - Children (optional, for Matrix and Multi Scale items with sub-items) The item data can be used to label results data by matching item IDs from this action to item IDs from the Get Form Results action. **Important**: If the connection's base_url doesn't include the user directory, you must provide the 'user_dir' parameter. Find this in your Formsite form URLs (e.g., if URL is https://fs8.formsite.com/user123/forms/abc, user_dir is 'user123') or in Settings -> Integrations -> Formsite API.\",\n input: FormsiteGetFormItemsInput,\n output: FormsiteGetFormItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC9E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0QAA0Q,CAAC,CAAC,SAAS;CACnT,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,sCAAoDA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACtD,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5I,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;AAClF,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,OAAOA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,gEAAgE,EAC/H,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAE/E,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-form-items.d.ts
4
+ declare const FormsiteGetFormItemsInput: z.ZodTypeAny;
5
+ declare const FormsiteGetFormItemsOutput: z.ZodTypeAny;
6
+ declare const formsiteGetFormItems: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { formsiteGetFormItems };
9
+ //# sourceMappingURL=get-form-items.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-form-items.d.cts","names":[],"sources":["../../src/actions/get-form-items.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAIsC;AAAA,cAOnE,0BAAA,EAA4B,CAAA,CAAE,UAEqC;AAAA,cAEnE,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-form-items.d.ts
4
+ declare const FormsiteGetFormItemsInput: z.ZodTypeAny;
5
+ declare const FormsiteGetFormItemsOutput: z.ZodTypeAny;
6
+ declare const formsiteGetFormItems: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { formsiteGetFormItems };
9
+ //# sourceMappingURL=get-form-items.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-form-items.d.mts","names":[],"sources":["../../src/actions/get-form-items.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAIsC;AAAA,cAOnE,0BAAA,EAA4B,CAAA,CAAE,UAEqC;AAAA,cAEnE,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,25 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-form-items.ts
4
+ const FormsiteGetFormItemsInput = z.object({
5
+ form_dir: z.string().describe("The form's directory/ID to retrieve items from"),
6
+ user_dir: z.string().describe("The user directory for your Formsite account. If not provided, it will be extracted from the base_url. You can find this in your form URLs (e.g., if your form URL contains '/vSkOfz/forms/', your user_dir is 'vSkOfz') or in Settings -> Integrations -> Formsite API.").optional(),
7
+ results_labels: z.string().describe("Optional. Results Labels ID to apply for item labels").optional()
8
+ }).describe("Model representing the request parameters for getting form items.");
9
+ const FormsiteGetFormItems_FormItemSchema = z.object({
10
+ id: z.string().describe("The item's unique identifier"),
11
+ label: z.string().describe("The item's question label"),
12
+ children: z.array(z.string()).describe("Optional. For item types composed of sub-items (Matrix and Multi Scale items)").nullable().optional(),
13
+ position: z.number().int().describe("The item's sequential position in the form")
14
+ }).describe("Model representing a form item in the response.");
15
+ const formsiteGetFormItems = action("FORMSITE_GET_FORM_ITEMS", {
16
+ slug: "formsite-get-form-items",
17
+ name: "Get Form Items",
18
+ description: "Retrieves all items (questions) for a specific form using the Formsite API. This action returns detailed information about each form item including: - Item ID (unique identifier for the form question) - Position (sequential order in the form) - Label (the question text) - Children (optional, for Matrix and Multi Scale items with sub-items) The item data can be used to label results data by matching item IDs from this action to item IDs from the Get Form Results action. **Important**: If the connection's base_url doesn't include the user directory, you must provide the 'user_dir' parameter. Find this in your Formsite form URLs (e.g., if URL is https://fs8.formsite.com/user123/forms/abc, user_dir is 'user123') or in Settings -> Integrations -> Formsite API.",
19
+ input: FormsiteGetFormItemsInput,
20
+ output: z.object({ items: z.array(FormsiteGetFormItems_FormItemSchema).describe("List of form items containing their IDs, positions, and labels") }).describe("Model representing the response from the get form items endpoint.")
21
+ });
22
+ //#endregion
23
+ export { formsiteGetFormItems };
24
+
25
+ //# sourceMappingURL=get-form-items.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-form-items.mjs","names":[],"sources":["../../src/actions/get-form-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FormsiteGetFormItemsInput: z.ZodTypeAny = z.object({\n form_dir: z.string().describe(\"The form's directory/ID to retrieve items from\"),\n user_dir: z.string().describe(\"The user directory for your Formsite account. If not provided, it will be extracted from the base_url. You can find this in your form URLs (e.g., if your form URL contains '/vSkOfz/forms/', your user_dir is 'vSkOfz') or in Settings -> Integrations -> Formsite API.\").optional(),\n results_labels: z.string().describe(\"Optional. Results Labels ID to apply for item labels\").optional(),\n}).describe(\"Model representing the request parameters for getting form items.\");\nconst FormsiteGetFormItems_FormItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The item's unique identifier\"),\n label: z.string().describe(\"The item's question label\"),\n children: z.array(z.string()).describe(\"Optional. For item types composed of sub-items (Matrix and Multi Scale items)\").nullable().optional(),\n position: z.number().int().describe(\"The item's sequential position in the form\"),\n}).describe(\"Model representing a form item in the response.\");\nexport const FormsiteGetFormItemsOutput: z.ZodTypeAny = z.object({\n items: z.array(FormsiteGetFormItems_FormItemSchema).describe(\"List of form items containing their IDs, positions, and labels\"),\n}).describe(\"Model representing the response from the get form items endpoint.\");\n\nexport const formsiteGetFormItems = action(\"FORMSITE_GET_FORM_ITEMS\", {\n slug: \"formsite-get-form-items\",\n name: \"Get Form Items\",\n description: \"Retrieves all items (questions) for a specific form using the Formsite API. This action returns detailed information about each form item including: - Item ID (unique identifier for the form question) - Position (sequential order in the form) - Label (the question text) - Children (optional, for Matrix and Multi Scale items with sub-items) The item data can be used to label results data by matching item IDs from this action to item IDs from the Get Form Results action. **Important**: If the connection's base_url doesn't include the user directory, you must provide the 'user_dir' parameter. Find this in your Formsite form URLs (e.g., if URL is https://fs8.formsite.com/user123/forms/abc, user_dir is 'user123') or in Settings -> Integrations -> Formsite API.\",\n input: FormsiteGetFormItemsInput,\n output: FormsiteGetFormItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0C,EAAE,OAAO;CAC9D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC9E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0QAA0Q,CAAC,CAAC,SAAS;CACnT,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,sCAAoD,EAAE,OAAO;CACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACtD,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5I,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;AAClF,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAK7D,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsD,EAAE,OAAO,EAC/D,OAAO,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,gEAAgE,EAC/H,CAAC,CAAC,CAAC,SAAS,mEAOF;AACV,CAAC"}
@@ -0,0 +1,39 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-form-results.ts
4
+ const FormsiteGetFormResultsInput = zod.z.object({
5
+ page: zod.z.number().int().default(1).describe("Page number if results exceed limit").optional(),
6
+ limit: zod.z.number().int().default(100).describe("Maximum number of results to get (1-500, API max is 500)").optional(),
7
+ form_id: zod.z.string().describe("The form directory/ID to fetch results from"),
8
+ user_dir: zod.z.string().describe("The user directory for your Formsite account. If not provided, it will be extracted from the base_url. You can find this in your form URLs (e.g., if your form URL contains '/vSkOfz/forms/', your user_dir is 'vSkOfz') or in Settings -> Integrations -> Formsite API.").optional(),
9
+ sort_direction: zod.z.enum(["asc", "desc"]).default("desc").describe("Sort direction for results (asc or desc)").optional()
10
+ }).describe("Request model for getting form results.");
11
+ const FormsiteGetFormResults_FormResultItemSchema = zod.z.object({
12
+ id: zod.z.string().describe("The item's ID"),
13
+ value: zod.z.string().describe("The value for text item types").nullable().optional(),
14
+ values: zod.z.array(zod.z.object({})).describe("The values for multiple choice item types").nullable().optional(),
15
+ position: zod.z.number().int().describe("The item's sequential position on the form")
16
+ }).describe("Model for a form result item.");
17
+ const FormsiteGetFormResults_FormResultSchema = zod.z.object({
18
+ id: zod.z.string().describe("The result's unique ID"),
19
+ items: zod.z.array(FormsiteGetFormResults_FormResultItemSchema).describe("List of form items with their values"),
20
+ user_ip: zod.z.string().describe("The user's IP address"),
21
+ date_start: zod.z.string().describe("The date the result was started (ISO 8601 UTC format)").nullable().optional(),
22
+ date_finish: zod.z.string().describe("The date the result was finished (ISO 8601 UTC format)").nullable().optional(),
23
+ date_update: zod.z.string().describe("The date the result was most recently modified (ISO 8601 UTC format)"),
24
+ user_device: zod.z.string().describe("The user's device (Desktop, Tablet, or Mobile)"),
25
+ user_browser: zod.z.string().describe("The user's browser"),
26
+ result_status: zod.z.string().describe("The status of the result")
27
+ }).describe("Model for a single form result.");
28
+ const FormsiteGetFormResultsOutput = zod.z.object({ results: zod.z.array(FormsiteGetFormResults_FormResultSchema).describe("List of form results") }).describe("Response model for getting form results.");
29
+ const formsiteGetFormResults = require_action.action("FORMSITE_GET_FORM_RESULTS", {
30
+ slug: "formsite-get-form-results",
31
+ name: "Get Form Results",
32
+ description: "This tool retrieves form results from a specified FormSite form. It uses the GET https://{server}.formsite.com/api/v2/{user_dir}/forms/{form_id}/results endpoint to fetch results, handling required parameters such as form_id, user_dir, limit, page, and sort direction. **Important**: If the connection's base_url doesn't include the user directory, you must provide the 'user_dir' parameter. Find this in your Formsite form URLs (e.g., if URL is https://fs8.formsite.com/user123/forms/abc, user_dir is 'user123') or in Settings -> Integrations -> Formsite API.",
33
+ input: FormsiteGetFormResultsInput,
34
+ output: FormsiteGetFormResultsOutput
35
+ });
36
+ //#endregion
37
+ exports.formsiteGetFormResults = formsiteGetFormResults;
38
+
39
+ //# sourceMappingURL=get-form-results.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-form-results.cjs","names":["z","action"],"sources":["../../src/actions/get-form-results.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FormsiteGetFormResultsInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number if results exceed limit\").optional(),\n limit: z.number().int().default(100).describe(\"Maximum number of results to get (1-500, API max is 500)\").optional(),\n form_id: z.string().describe(\"The form directory/ID to fetch results from\"),\n user_dir: z.string().describe(\"The user directory for your Formsite account. If not provided, it will be extracted from the base_url. You can find this in your form URLs (e.g., if your form URL contains '/vSkOfz/forms/', your user_dir is 'vSkOfz') or in Settings -> Integrations -> Formsite API.\").optional(),\n sort_direction: z.enum([\"asc\", \"desc\"]).default(\"desc\").describe(\"Sort direction for results (asc or desc)\").optional(),\n}).describe(\"Request model for getting form results.\");\nconst FormsiteGetFormResults_FormResultItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The item's ID\"),\n value: z.string().describe(\"The value for text item types\").nullable().optional(),\n values: z.array(z.object({})).describe(\"The values for multiple choice item types\").nullable().optional(),\n position: z.number().int().describe(\"The item's sequential position on the form\"),\n}).describe(\"Model for a form result item.\");\nconst FormsiteGetFormResults_FormResultSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The result's unique ID\"),\n items: z.array(FormsiteGetFormResults_FormResultItemSchema).describe(\"List of form items with their values\"),\n user_ip: z.string().describe(\"The user's IP address\"),\n date_start: z.string().describe(\"The date the result was started (ISO 8601 UTC format)\").nullable().optional(),\n date_finish: z.string().describe(\"The date the result was finished (ISO 8601 UTC format)\").nullable().optional(),\n date_update: z.string().describe(\"The date the result was most recently modified (ISO 8601 UTC format)\"),\n user_device: z.string().describe(\"The user's device (Desktop, Tablet, or Mobile)\"),\n user_browser: z.string().describe(\"The user's browser\"),\n result_status: z.string().describe(\"The status of the result\"),\n}).describe(\"Model for a single form result.\");\nexport const FormsiteGetFormResultsOutput: z.ZodTypeAny = z.object({\n results: z.array(FormsiteGetFormResults_FormResultSchema).describe(\"List of form results\"),\n}).describe(\"Response model for getting form results.\");\n\nexport const formsiteGetFormResults = action(\"FORMSITE_GET_FORM_RESULTS\", {\n slug: \"formsite-get-form-results\",\n name: \"Get Form Results\",\n description: \"This tool retrieves form results from a specified FormSite form. It uses the GET https://{server}.formsite.com/api/v2/{user_dir}/forms/{form_id}/results endpoint to fetch results, handling required parameters such as form_id, user_dir, limit, page, and sort direction. **Important**: If the connection's base_url doesn't include the user directory, you must provide the 'user_dir' parameter. Find this in your Formsite form URLs (e.g., if URL is https://fs8.formsite.com/user123/forms/abc, user_dir is 'user123') or in Settings -> Integrations -> Formsite API.\",\n input: FormsiteGetFormResultsInput,\n output: FormsiteGetFormResultsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC3F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACnH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC1E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0QAA0Q,CAAC,CAAC,SAAS;CACnT,gBAAgBA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,8CAA4DA,IAAAA,EAAE,OAAO;CACzE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;CACvC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;AAClF,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAC3C,MAAM,0CAAwDA,IAAAA,EAAE,OAAO;CACrE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAChD,OAAOA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,sCAAsC;CAC3G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACpD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;CACvG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CACjF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;CACtD,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;AAC/D,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAC7C,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,EACjE,SAASA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,sBAAsB,EAC3F,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAEtD,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-form-results.d.ts
4
+ declare const FormsiteGetFormResultsInput: z.ZodTypeAny;
5
+ declare const FormsiteGetFormResultsOutput: z.ZodTypeAny;
6
+ declare const formsiteGetFormResults: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { formsiteGetFormResults };
9
+ //# sourceMappingURL=get-form-results.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-form-results.d.cts","names":[],"sources":["../../src/actions/get-form-results.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAMU;AAAA,cAkBzC,4BAAA,EAA8B,CAAA,CAAE,UAEU;AAAA,cAE1C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-form-results.d.ts
4
+ declare const FormsiteGetFormResultsInput: z.ZodTypeAny;
5
+ declare const FormsiteGetFormResultsOutput: z.ZodTypeAny;
6
+ declare const formsiteGetFormResults: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { formsiteGetFormResults };
9
+ //# sourceMappingURL=get-form-results.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-form-results.d.mts","names":[],"sources":["../../src/actions/get-form-results.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAMU;AAAA,cAkBzC,4BAAA,EAA8B,CAAA,CAAE,UAEU;AAAA,cAE1C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,38 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-form-results.ts
4
+ const FormsiteGetFormResultsInput = z.object({
5
+ page: z.number().int().default(1).describe("Page number if results exceed limit").optional(),
6
+ limit: z.number().int().default(100).describe("Maximum number of results to get (1-500, API max is 500)").optional(),
7
+ form_id: z.string().describe("The form directory/ID to fetch results from"),
8
+ user_dir: z.string().describe("The user directory for your Formsite account. If not provided, it will be extracted from the base_url. You can find this in your form URLs (e.g., if your form URL contains '/vSkOfz/forms/', your user_dir is 'vSkOfz') or in Settings -> Integrations -> Formsite API.").optional(),
9
+ sort_direction: z.enum(["asc", "desc"]).default("desc").describe("Sort direction for results (asc or desc)").optional()
10
+ }).describe("Request model for getting form results.");
11
+ const FormsiteGetFormResults_FormResultItemSchema = z.object({
12
+ id: z.string().describe("The item's ID"),
13
+ value: z.string().describe("The value for text item types").nullable().optional(),
14
+ values: z.array(z.object({})).describe("The values for multiple choice item types").nullable().optional(),
15
+ position: z.number().int().describe("The item's sequential position on the form")
16
+ }).describe("Model for a form result item.");
17
+ const FormsiteGetFormResults_FormResultSchema = z.object({
18
+ id: z.string().describe("The result's unique ID"),
19
+ items: z.array(FormsiteGetFormResults_FormResultItemSchema).describe("List of form items with their values"),
20
+ user_ip: z.string().describe("The user's IP address"),
21
+ date_start: z.string().describe("The date the result was started (ISO 8601 UTC format)").nullable().optional(),
22
+ date_finish: z.string().describe("The date the result was finished (ISO 8601 UTC format)").nullable().optional(),
23
+ date_update: z.string().describe("The date the result was most recently modified (ISO 8601 UTC format)"),
24
+ user_device: z.string().describe("The user's device (Desktop, Tablet, or Mobile)"),
25
+ user_browser: z.string().describe("The user's browser"),
26
+ result_status: z.string().describe("The status of the result")
27
+ }).describe("Model for a single form result.");
28
+ const formsiteGetFormResults = action("FORMSITE_GET_FORM_RESULTS", {
29
+ slug: "formsite-get-form-results",
30
+ name: "Get Form Results",
31
+ description: "This tool retrieves form results from a specified FormSite form. It uses the GET https://{server}.formsite.com/api/v2/{user_dir}/forms/{form_id}/results endpoint to fetch results, handling required parameters such as form_id, user_dir, limit, page, and sort direction. **Important**: If the connection's base_url doesn't include the user directory, you must provide the 'user_dir' parameter. Find this in your Formsite form URLs (e.g., if URL is https://fs8.formsite.com/user123/forms/abc, user_dir is 'user123') or in Settings -> Integrations -> Formsite API.",
32
+ input: FormsiteGetFormResultsInput,
33
+ output: z.object({ results: z.array(FormsiteGetFormResults_FormResultSchema).describe("List of form results") }).describe("Response model for getting form results.")
34
+ });
35
+ //#endregion
36
+ export { formsiteGetFormResults };
37
+
38
+ //# sourceMappingURL=get-form-results.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-form-results.mjs","names":[],"sources":["../../src/actions/get-form-results.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FormsiteGetFormResultsInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number if results exceed limit\").optional(),\n limit: z.number().int().default(100).describe(\"Maximum number of results to get (1-500, API max is 500)\").optional(),\n form_id: z.string().describe(\"The form directory/ID to fetch results from\"),\n user_dir: z.string().describe(\"The user directory for your Formsite account. If not provided, it will be extracted from the base_url. You can find this in your form URLs (e.g., if your form URL contains '/vSkOfz/forms/', your user_dir is 'vSkOfz') or in Settings -> Integrations -> Formsite API.\").optional(),\n sort_direction: z.enum([\"asc\", \"desc\"]).default(\"desc\").describe(\"Sort direction for results (asc or desc)\").optional(),\n}).describe(\"Request model for getting form results.\");\nconst FormsiteGetFormResults_FormResultItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The item's ID\"),\n value: z.string().describe(\"The value for text item types\").nullable().optional(),\n values: z.array(z.object({})).describe(\"The values for multiple choice item types\").nullable().optional(),\n position: z.number().int().describe(\"The item's sequential position on the form\"),\n}).describe(\"Model for a form result item.\");\nconst FormsiteGetFormResults_FormResultSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The result's unique ID\"),\n items: z.array(FormsiteGetFormResults_FormResultItemSchema).describe(\"List of form items with their values\"),\n user_ip: z.string().describe(\"The user's IP address\"),\n date_start: z.string().describe(\"The date the result was started (ISO 8601 UTC format)\").nullable().optional(),\n date_finish: z.string().describe(\"The date the result was finished (ISO 8601 UTC format)\").nullable().optional(),\n date_update: z.string().describe(\"The date the result was most recently modified (ISO 8601 UTC format)\"),\n user_device: z.string().describe(\"The user's device (Desktop, Tablet, or Mobile)\"),\n user_browser: z.string().describe(\"The user's browser\"),\n result_status: z.string().describe(\"The status of the result\"),\n}).describe(\"Model for a single form result.\");\nexport const FormsiteGetFormResultsOutput: z.ZodTypeAny = z.object({\n results: z.array(FormsiteGetFormResults_FormResultSchema).describe(\"List of form results\"),\n}).describe(\"Response model for getting form results.\");\n\nexport const formsiteGetFormResults = action(\"FORMSITE_GET_FORM_RESULTS\", {\n slug: \"formsite-get-form-results\",\n name: \"Get Form Results\",\n description: \"This tool retrieves form results from a specified FormSite form. It uses the GET https://{server}.formsite.com/api/v2/{user_dir}/forms/{form_id}/results endpoint to fetch results, handling required parameters such as form_id, user_dir, limit, page, and sort direction. **Important**: If the connection's base_url doesn't include the user directory, you must provide the 'user_dir' parameter. Find this in your Formsite form URLs (e.g., if URL is https://fs8.formsite.com/user123/forms/abc, user_dir is 'user123') or in Settings -> Integrations -> Formsite API.\",\n input: FormsiteGetFormResultsInput,\n output: FormsiteGetFormResultsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4C,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACnH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0QAA0Q,CAAC,CAAC,SAAS;CACnT,gBAAgB,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,8CAA4D,EAAE,OAAO;CACzE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;CACvC,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;AAClF,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAC3C,MAAM,0CAAwD,EAAE,OAAO;CACrE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAChD,OAAO,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,sCAAsC;CAC3G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACpD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;CACvG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CACjF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;CACtD,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;AAC/D,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAK7C,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwD,EAAE,OAAO,EACjE,SAAS,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,sBAAsB,EAC3F,CAAC,CAAC,CAAC,SAAS,0CAOF;AACV,CAAC"}
@@ -0,0 +1,35 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-form.ts
4
+ const FormsiteGetFormInput = zod.z.object({
5
+ form_dir: zod.z.string().describe("The form's directory identifier (also called form ID). This can be found in your form's URL after '/forms/' (e.g., in 'https://fs8.formsite.com/abc123/forms/xyz789', the form_dir is 'xyz789')."),
6
+ user_dir: zod.z.string().describe("The user directory for your Formsite account. If not provided, it will be extracted from the base_url. You can find this in your form URLs (e.g., if your form URL contains '/vSkOfz/forms/', your user_dir is 'vSkOfz') or in Settings -> Integrations -> Formsite API.").optional()
7
+ }).describe("Request model for getting form details.");
8
+ const FormsiteGetForm_FormStatsSchema = zod.z.object({
9
+ filesSize: zod.z.number().int().describe("The total size, in bytes, of any uploaded files the form is storing.").nullable().optional(),
10
+ resultsCount: zod.z.number().int().describe("The number of results the form is storing.").nullable().optional()
11
+ }).describe("Model for form statistics.");
12
+ const FormsiteGetForm_FormPublishSchema = zod.z.object({
13
+ link: zod.z.string().describe("The public URL link to access the form.").nullable().optional(),
14
+ embed_code: zod.z.string().describe("The form's embeddable HTML/JavaScript code for embedding the form on websites.").nullable().optional()
15
+ }).describe("Model for form publishing information.");
16
+ const FormsiteGetForm_FormDetailsSchema = zod.z.object({
17
+ name: zod.z.string().describe("The form's name.").nullable().optional(),
18
+ state: zod.z.string().describe("The form's status. Value is 'open' if the form is accepting responses, or begins with 'closed' followed by a reason if the form is not accepting responses.").nullable().optional(),
19
+ stats: FormsiteGetForm_FormStatsSchema.nullable().optional(),
20
+ publish: FormsiteGetForm_FormPublishSchema.nullable().optional(),
21
+ directory: zod.z.string().describe("The form's URL directory.").nullable().optional(),
22
+ description: zod.z.string().describe("The form's internal description.").nullable().optional()
23
+ }).describe("Model for form details.");
24
+ const FormsiteGetFormOutput = zod.z.object({ forms: zod.z.array(FormsiteGetForm_FormDetailsSchema).describe("List containing the form details.") }).describe("Response model for getting form details.");
25
+ const formsiteGetForm = require_action.action("FORMSITE_GET_FORM", {
26
+ slug: "formsite-get-form",
27
+ name: "Get Form Details",
28
+ description: "This tool retrieves detailed information about a specific form in Formsite. It provides comprehensive details including the form's internal description, directory identifier, name, publishing information (embed code and form link), current state (e.g., \"open\"), and statistics (file size and number of results). **Important**: If the connection's base_url doesn't include the user directory, you must provide the 'user_dir' parameter. Find this in your Formsite form URLs (e.g., if URL is https://fs8.formsite.com/user123/forms/abc, user_dir is 'user123') or in Settings -> Integrations -> Formsite API.",
29
+ input: FormsiteGetFormInput,
30
+ output: FormsiteGetFormOutput
31
+ });
32
+ //#endregion
33
+ exports.formsiteGetForm = formsiteGetForm;
34
+
35
+ //# sourceMappingURL=get-form.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-form.cjs","names":["z","action"],"sources":["../../src/actions/get-form.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FormsiteGetFormInput: z.ZodTypeAny = z.object({\n form_dir: z.string().describe(\"The form's directory identifier (also called form ID). This can be found in your form's URL after '/forms/' (e.g., in 'https://fs8.formsite.com/abc123/forms/xyz789', the form_dir is 'xyz789').\"),\n user_dir: z.string().describe(\"The user directory for your Formsite account. If not provided, it will be extracted from the base_url. You can find this in your form URLs (e.g., if your form URL contains '/vSkOfz/forms/', your user_dir is 'vSkOfz') or in Settings -> Integrations -> Formsite API.\").optional(),\n}).describe(\"Request model for getting form details.\");\nconst FormsiteGetForm_FormStatsSchema: z.ZodTypeAny = z.object({\n filesSize: z.number().int().describe(\"The total size, in bytes, of any uploaded files the form is storing.\").nullable().optional(),\n resultsCount: z.number().int().describe(\"The number of results the form is storing.\").nullable().optional(),\n}).describe(\"Model for form statistics.\");\nconst FormsiteGetForm_FormPublishSchema: z.ZodTypeAny = z.object({\n link: z.string().describe(\"The public URL link to access the form.\").nullable().optional(),\n embed_code: z.string().describe(\"The form's embeddable HTML/JavaScript code for embedding the form on websites.\").nullable().optional(),\n}).describe(\"Model for form publishing information.\");\nconst FormsiteGetForm_FormDetailsSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The form's name.\").nullable().optional(),\n state: z.string().describe(\"The form's status. Value is 'open' if the form is accepting responses, or begins with 'closed' followed by a reason if the form is not accepting responses.\").nullable().optional(),\n stats: FormsiteGetForm_FormStatsSchema.nullable().optional(),\n publish: FormsiteGetForm_FormPublishSchema.nullable().optional(),\n directory: z.string().describe(\"The form's URL directory.\").nullable().optional(),\n description: z.string().describe(\"The form's internal description.\").nullable().optional(),\n}).describe(\"Model for form details.\");\nexport const FormsiteGetFormOutput: z.ZodTypeAny = z.object({\n forms: z.array(FormsiteGetForm_FormDetailsSchema).describe(\"List containing the form details.\"),\n}).describe(\"Response model for getting form details.\");\n\nexport const formsiteGetForm = action(\"FORMSITE_GET_FORM\", {\n slug: \"formsite-get-form\",\n name: \"Get Form Details\",\n description: \"This tool retrieves detailed information about a specific form in Formsite. It provides comprehensive details including the form's internal description, directory identifier, name, publishing information (embed code and form link), current state (e.g., \\\"open\\\"), and statistics (file size and number of results). **Important**: If the connection's base_url doesn't include the user directory, you must provide the 'user_dir' parameter. Find this in your Formsite form URLs (e.g., if URL is https://fs8.formsite.com/user123/forms/abc, user_dir is 'user123') or in Settings -> Integrations -> Formsite API.\",\n input: FormsiteGetFormInput,\n output: FormsiteGetFormOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAqCA,IAAAA,EAAE,OAAO;CACzD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kMAAkM;CAChO,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0QAA0Q,CAAC,CAAC,SAAS;AACrT,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,kCAAgDA,IAAAA,EAAE,OAAO;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,4BAA4B;AACxC,MAAM,oCAAkDA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,oCAAkDA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9M,OAAO,gCAAgC,SAAS,CAAC,CAAC,SAAS;CAC3D,SAAS,kCAAkC,SAAS,CAAC,CAAC,SAAS;CAC/D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,SAAS,yBAAyB;AACrC,MAAa,wBAAsCA,IAAAA,EAAE,OAAO,EAC1D,OAAOA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,mCAAmC,EAChG,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAEtD,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-form.d.ts
4
+ declare const FormsiteGetFormInput: z.ZodTypeAny;
5
+ declare const FormsiteGetFormOutput: z.ZodTypeAny;
6
+ declare const formsiteGetForm: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { formsiteGetForm };
9
+ //# sourceMappingURL=get-form.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-form.d.cts","names":[],"sources":["../../src/actions/get-form.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAGiB;AAAA,cAiBzC,qBAAA,EAAuB,CAAA,CAAE,UAEiB;AAAA,cAE1C,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-form.d.ts
4
+ declare const FormsiteGetFormInput: z.ZodTypeAny;
5
+ declare const FormsiteGetFormOutput: z.ZodTypeAny;
6
+ declare const formsiteGetForm: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { formsiteGetForm };
9
+ //# sourceMappingURL=get-form.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-form.d.mts","names":[],"sources":["../../src/actions/get-form.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAGiB;AAAA,cAiBzC,qBAAA,EAAuB,CAAA,CAAE,UAEiB;AAAA,cAE1C,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,34 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-form.ts
4
+ const FormsiteGetFormInput = z.object({
5
+ form_dir: z.string().describe("The form's directory identifier (also called form ID). This can be found in your form's URL after '/forms/' (e.g., in 'https://fs8.formsite.com/abc123/forms/xyz789', the form_dir is 'xyz789')."),
6
+ user_dir: z.string().describe("The user directory for your Formsite account. If not provided, it will be extracted from the base_url. You can find this in your form URLs (e.g., if your form URL contains '/vSkOfz/forms/', your user_dir is 'vSkOfz') or in Settings -> Integrations -> Formsite API.").optional()
7
+ }).describe("Request model for getting form details.");
8
+ const FormsiteGetForm_FormStatsSchema = z.object({
9
+ filesSize: z.number().int().describe("The total size, in bytes, of any uploaded files the form is storing.").nullable().optional(),
10
+ resultsCount: z.number().int().describe("The number of results the form is storing.").nullable().optional()
11
+ }).describe("Model for form statistics.");
12
+ const FormsiteGetForm_FormPublishSchema = z.object({
13
+ link: z.string().describe("The public URL link to access the form.").nullable().optional(),
14
+ embed_code: z.string().describe("The form's embeddable HTML/JavaScript code for embedding the form on websites.").nullable().optional()
15
+ }).describe("Model for form publishing information.");
16
+ const FormsiteGetForm_FormDetailsSchema = z.object({
17
+ name: z.string().describe("The form's name.").nullable().optional(),
18
+ state: z.string().describe("The form's status. Value is 'open' if the form is accepting responses, or begins with 'closed' followed by a reason if the form is not accepting responses.").nullable().optional(),
19
+ stats: FormsiteGetForm_FormStatsSchema.nullable().optional(),
20
+ publish: FormsiteGetForm_FormPublishSchema.nullable().optional(),
21
+ directory: z.string().describe("The form's URL directory.").nullable().optional(),
22
+ description: z.string().describe("The form's internal description.").nullable().optional()
23
+ }).describe("Model for form details.");
24
+ const formsiteGetForm = action("FORMSITE_GET_FORM", {
25
+ slug: "formsite-get-form",
26
+ name: "Get Form Details",
27
+ description: "This tool retrieves detailed information about a specific form in Formsite. It provides comprehensive details including the form's internal description, directory identifier, name, publishing information (embed code and form link), current state (e.g., \"open\"), and statistics (file size and number of results). **Important**: If the connection's base_url doesn't include the user directory, you must provide the 'user_dir' parameter. Find this in your Formsite form URLs (e.g., if URL is https://fs8.formsite.com/user123/forms/abc, user_dir is 'user123') or in Settings -> Integrations -> Formsite API.",
28
+ input: FormsiteGetFormInput,
29
+ output: z.object({ forms: z.array(FormsiteGetForm_FormDetailsSchema).describe("List containing the form details.") }).describe("Response model for getting form details.")
30
+ });
31
+ //#endregion
32
+ export { formsiteGetForm };
33
+
34
+ //# sourceMappingURL=get-form.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-form.mjs","names":[],"sources":["../../src/actions/get-form.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FormsiteGetFormInput: z.ZodTypeAny = z.object({\n form_dir: z.string().describe(\"The form's directory identifier (also called form ID). This can be found in your form's URL after '/forms/' (e.g., in 'https://fs8.formsite.com/abc123/forms/xyz789', the form_dir is 'xyz789').\"),\n user_dir: z.string().describe(\"The user directory for your Formsite account. If not provided, it will be extracted from the base_url. You can find this in your form URLs (e.g., if your form URL contains '/vSkOfz/forms/', your user_dir is 'vSkOfz') or in Settings -> Integrations -> Formsite API.\").optional(),\n}).describe(\"Request model for getting form details.\");\nconst FormsiteGetForm_FormStatsSchema: z.ZodTypeAny = z.object({\n filesSize: z.number().int().describe(\"The total size, in bytes, of any uploaded files the form is storing.\").nullable().optional(),\n resultsCount: z.number().int().describe(\"The number of results the form is storing.\").nullable().optional(),\n}).describe(\"Model for form statistics.\");\nconst FormsiteGetForm_FormPublishSchema: z.ZodTypeAny = z.object({\n link: z.string().describe(\"The public URL link to access the form.\").nullable().optional(),\n embed_code: z.string().describe(\"The form's embeddable HTML/JavaScript code for embedding the form on websites.\").nullable().optional(),\n}).describe(\"Model for form publishing information.\");\nconst FormsiteGetForm_FormDetailsSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The form's name.\").nullable().optional(),\n state: z.string().describe(\"The form's status. Value is 'open' if the form is accepting responses, or begins with 'closed' followed by a reason if the form is not accepting responses.\").nullable().optional(),\n stats: FormsiteGetForm_FormStatsSchema.nullable().optional(),\n publish: FormsiteGetForm_FormPublishSchema.nullable().optional(),\n directory: z.string().describe(\"The form's URL directory.\").nullable().optional(),\n description: z.string().describe(\"The form's internal description.\").nullable().optional(),\n}).describe(\"Model for form details.\");\nexport const FormsiteGetFormOutput: z.ZodTypeAny = z.object({\n forms: z.array(FormsiteGetForm_FormDetailsSchema).describe(\"List containing the form details.\"),\n}).describe(\"Response model for getting form details.\");\n\nexport const formsiteGetForm = action(\"FORMSITE_GET_FORM\", {\n slug: \"formsite-get-form\",\n name: \"Get Form Details\",\n description: \"This tool retrieves detailed information about a specific form in Formsite. It provides comprehensive details including the form's internal description, directory identifier, name, publishing information (embed code and form link), current state (e.g., \\\"open\\\"), and statistics (file size and number of results). **Important**: If the connection's base_url doesn't include the user directory, you must provide the 'user_dir' parameter. Find this in your Formsite form URLs (e.g., if URL is https://fs8.formsite.com/user123/forms/abc, user_dir is 'user123') or in Settings -> Integrations -> Formsite API.\",\n input: FormsiteGetFormInput,\n output: FormsiteGetFormOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAqC,EAAE,OAAO;CACzD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kMAAkM;CAChO,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0QAA0Q,CAAC,CAAC,SAAS;AACrT,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,kCAAgD,EAAE,OAAO;CAC7D,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,4BAA4B;AACxC,MAAM,oCAAkD,EAAE,OAAO;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,oCAAkD,EAAE,OAAO;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9M,OAAO,gCAAgC,SAAS,CAAC,CAAC,SAAS;CAC3D,SAAS,kCAAkC,SAAS,CAAC,CAAC,SAAS;CAC/D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,SAAS,yBAAyB;AAKrC,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATiD,EAAE,OAAO,EAC1D,OAAO,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,mCAAmC,EAChG,CAAC,CAAC,CAAC,SAAS,0CAOF;AACV,CAAC"}
@@ -0,0 +1,24 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-webhooks.ts
4
+ const FormsiteGetWebhooksInput = zod.z.object({
5
+ form_id: zod.z.string().describe("The form directory/ID to fetch webhooks from"),
6
+ user_dir: zod.z.string().describe("The user directory for your Formsite account. If not provided, it will be extracted from the base_url. You can find this in your form URLs (e.g., if your form URL contains '/vSkOfz/forms/', your user_dir is 'vSkOfz') or in Settings -> Integrations -> Formsite API.").optional()
7
+ }).describe("Request model for getting form webhooks.");
8
+ const FormsiteGetWebhooks_WebhookConfigSchema = zod.z.object({
9
+ url: zod.z.string().describe("The URL where webhook notifications are sent"),
10
+ event: zod.z.string().describe("The event type that triggers the webhook (e.g., 'result_completed')"),
11
+ handshake_key: zod.z.string().describe("Optional handshake key for webhook security validation").nullable().optional()
12
+ }).describe("Model for a webhook configuration.");
13
+ const FormsiteGetWebhooksOutput = zod.z.object({ webhooks: zod.z.array(FormsiteGetWebhooks_WebhookConfigSchema).describe("List of webhook configurations") }).describe("Response model for getting form webhooks.");
14
+ const formsiteGetWebhooks = require_action.action("FORMSITE_GET_WEBHOOKS", {
15
+ slug: "formsite-get-webhooks",
16
+ name: "Get Form Webhooks",
17
+ description: "Retrieves all webhooks configured for a specific form in FormSite. This action returns webhook configurations including URL, event type (e.g., 'result_completed'), and optional handshake_key for security. Webhooks notify external URLs when form events occur. **Important**: If the connection's base_url doesn't include the user directory, you must provide the 'user_dir' parameter. Find this in your Formsite form URLs (e.g., if URL is https://fs8.formsite.com/user123/forms/abc, user_dir is 'user123') or in Settings -> Integrations -> Formsite API.",
18
+ input: FormsiteGetWebhooksInput,
19
+ output: FormsiteGetWebhooksOutput
20
+ });
21
+ //#endregion
22
+ exports.formsiteGetWebhooks = formsiteGetWebhooks;
23
+
24
+ //# sourceMappingURL=get-webhooks.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-webhooks.cjs","names":["z","action"],"sources":["../../src/actions/get-webhooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FormsiteGetWebhooksInput: z.ZodTypeAny = z.object({\n form_id: z.string().describe(\"The form directory/ID to fetch webhooks from\"),\n user_dir: z.string().describe(\"The user directory for your Formsite account. If not provided, it will be extracted from the base_url. You can find this in your form URLs (e.g., if your form URL contains '/vSkOfz/forms/', your user_dir is 'vSkOfz') or in Settings -> Integrations -> Formsite API.\").optional(),\n}).describe(\"Request model for getting form webhooks.\");\nconst FormsiteGetWebhooks_WebhookConfigSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The URL where webhook notifications are sent\"),\n event: z.string().describe(\"The event type that triggers the webhook (e.g., 'result_completed')\"),\n handshake_key: z.string().describe(\"Optional handshake key for webhook security validation\").nullable().optional(),\n}).describe(\"Model for a webhook configuration.\");\nexport const FormsiteGetWebhooksOutput: z.ZodTypeAny = z.object({\n webhooks: z.array(FormsiteGetWebhooks_WebhookConfigSchema).describe(\"List of webhook configurations\"),\n}).describe(\"Response model for getting form webhooks.\");\n\nexport const formsiteGetWebhooks = action(\"FORMSITE_GET_WEBHOOKS\", {\n slug: \"formsite-get-webhooks\",\n name: \"Get Form Webhooks\",\n description: \"Retrieves all webhooks configured for a specific form in FormSite. This action returns webhook configurations including URL, event type (e.g., 'result_completed'), and optional handshake_key for security. Webhooks notify external URLs when form events occur. **Important**: If the connection's base_url doesn't include the user directory, you must provide the 'user_dir' parameter. Find this in your Formsite form URLs (e.g., if URL is https://fs8.formsite.com/user123/forms/abc, user_dir is 'user123') or in Settings -> Integrations -> Formsite API.\",\n input: FormsiteGetWebhooksInput,\n output: FormsiteGetWebhooksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC3E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0QAA0Q,CAAC,CAAC,SAAS;AACrT,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,0CAAwDA,IAAAA,EAAE,OAAO;CACrE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CAChG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,UAAUA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,gCAAgC,EACtG,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-webhooks.d.ts
4
+ declare const FormsiteGetWebhooksInput: z.ZodTypeAny;
5
+ declare const FormsiteGetWebhooksOutput: z.ZodTypeAny;
6
+ declare const formsiteGetWebhooks: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { formsiteGetWebhooks };
9
+ //# sourceMappingURL=get-webhooks.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-webhooks.d.cts","names":[],"sources":["../../src/actions/get-webhooks.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAGc;AAAA,cAM1C,yBAAA,EAA2B,CAAA,CAAE,UAEc;AAAA,cAE3C,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-webhooks.d.ts
4
+ declare const FormsiteGetWebhooksInput: z.ZodTypeAny;
5
+ declare const FormsiteGetWebhooksOutput: z.ZodTypeAny;
6
+ declare const formsiteGetWebhooks: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { formsiteGetWebhooks };
9
+ //# sourceMappingURL=get-webhooks.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-webhooks.d.mts","names":[],"sources":["../../src/actions/get-webhooks.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAGc;AAAA,cAM1C,yBAAA,EAA2B,CAAA,CAAE,UAEc;AAAA,cAE3C,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,23 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-webhooks.ts
4
+ const FormsiteGetWebhooksInput = z.object({
5
+ form_id: z.string().describe("The form directory/ID to fetch webhooks from"),
6
+ user_dir: z.string().describe("The user directory for your Formsite account. If not provided, it will be extracted from the base_url. You can find this in your form URLs (e.g., if your form URL contains '/vSkOfz/forms/', your user_dir is 'vSkOfz') or in Settings -> Integrations -> Formsite API.").optional()
7
+ }).describe("Request model for getting form webhooks.");
8
+ const FormsiteGetWebhooks_WebhookConfigSchema = z.object({
9
+ url: z.string().describe("The URL where webhook notifications are sent"),
10
+ event: z.string().describe("The event type that triggers the webhook (e.g., 'result_completed')"),
11
+ handshake_key: z.string().describe("Optional handshake key for webhook security validation").nullable().optional()
12
+ }).describe("Model for a webhook configuration.");
13
+ const formsiteGetWebhooks = action("FORMSITE_GET_WEBHOOKS", {
14
+ slug: "formsite-get-webhooks",
15
+ name: "Get Form Webhooks",
16
+ description: "Retrieves all webhooks configured for a specific form in FormSite. This action returns webhook configurations including URL, event type (e.g., 'result_completed'), and optional handshake_key for security. Webhooks notify external URLs when form events occur. **Important**: If the connection's base_url doesn't include the user directory, you must provide the 'user_dir' parameter. Find this in your Formsite form URLs (e.g., if URL is https://fs8.formsite.com/user123/forms/abc, user_dir is 'user123') or in Settings -> Integrations -> Formsite API.",
17
+ input: FormsiteGetWebhooksInput,
18
+ output: z.object({ webhooks: z.array(FormsiteGetWebhooks_WebhookConfigSchema).describe("List of webhook configurations") }).describe("Response model for getting form webhooks.")
19
+ });
20
+ //#endregion
21
+ export { formsiteGetWebhooks };
22
+
23
+ //# sourceMappingURL=get-webhooks.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-webhooks.mjs","names":[],"sources":["../../src/actions/get-webhooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FormsiteGetWebhooksInput: z.ZodTypeAny = z.object({\n form_id: z.string().describe(\"The form directory/ID to fetch webhooks from\"),\n user_dir: z.string().describe(\"The user directory for your Formsite account. If not provided, it will be extracted from the base_url. You can find this in your form URLs (e.g., if your form URL contains '/vSkOfz/forms/', your user_dir is 'vSkOfz') or in Settings -> Integrations -> Formsite API.\").optional(),\n}).describe(\"Request model for getting form webhooks.\");\nconst FormsiteGetWebhooks_WebhookConfigSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The URL where webhook notifications are sent\"),\n event: z.string().describe(\"The event type that triggers the webhook (e.g., 'result_completed')\"),\n handshake_key: z.string().describe(\"Optional handshake key for webhook security validation\").nullable().optional(),\n}).describe(\"Model for a webhook configuration.\");\nexport const FormsiteGetWebhooksOutput: z.ZodTypeAny = z.object({\n webhooks: z.array(FormsiteGetWebhooks_WebhookConfigSchema).describe(\"List of webhook configurations\"),\n}).describe(\"Response model for getting form webhooks.\");\n\nexport const formsiteGetWebhooks = action(\"FORMSITE_GET_WEBHOOKS\", {\n slug: \"formsite-get-webhooks\",\n name: \"Get Form Webhooks\",\n description: \"Retrieves all webhooks configured for a specific form in FormSite. This action returns webhook configurations including URL, event type (e.g., 'result_completed'), and optional handshake_key for security. Webhooks notify external URLs when form events occur. **Important**: If the connection's base_url doesn't include the user directory, you must provide the 'user_dir' parameter. Find this in your Formsite form URLs (e.g., if URL is https://fs8.formsite.com/user123/forms/abc, user_dir is 'user123') or in Settings -> Integrations -> Formsite API.\",\n input: FormsiteGetWebhooksInput,\n output: FormsiteGetWebhooksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO;CAC7D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0QAA0Q,CAAC,CAAC,SAAS;AACrT,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,0CAAwD,EAAE,OAAO;CACrE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACvE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CAChG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAKhD,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqD,EAAE,OAAO,EAC9D,UAAU,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,gCAAgC,EACtG,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
@@ -0,0 +1,11 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_get_form = require("./get-form.cjs");
3
+ const require_get_form_items = require("./get-form-items.cjs");
4
+ const require_get_form_results = require("./get-form-results.cjs");
5
+ const require_get_webhooks = require("./get-webhooks.cjs");
6
+ const require_list_all_forms = require("./list-all-forms.cjs");
7
+ exports.formsiteGetForm = require_get_form.formsiteGetForm;
8
+ exports.formsiteGetFormItems = require_get_form_items.formsiteGetFormItems;
9
+ exports.formsiteGetFormResults = require_get_form_results.formsiteGetFormResults;
10
+ exports.formsiteGetWebhooks = require_get_webhooks.formsiteGetWebhooks;
11
+ exports.formsiteListAllForms = require_list_all_forms.formsiteListAllForms;
@@ -0,0 +1,6 @@
1
+ import { formsiteGetForm } from "./get-form.cjs";
2
+ import { formsiteGetFormItems } from "./get-form-items.cjs";
3
+ import { formsiteGetFormResults } from "./get-form-results.cjs";
4
+ import { formsiteGetWebhooks } from "./get-webhooks.cjs";
5
+ import { formsiteListAllForms } from "./list-all-forms.cjs";
6
+ export { formsiteGetForm, formsiteGetFormItems, formsiteGetFormResults, formsiteGetWebhooks, formsiteListAllForms };
@@ -0,0 +1,6 @@
1
+ import { formsiteGetForm } from "./get-form.mjs";
2
+ import { formsiteGetFormItems } from "./get-form-items.mjs";
3
+ import { formsiteGetFormResults } from "./get-form-results.mjs";
4
+ import { formsiteGetWebhooks } from "./get-webhooks.mjs";
5
+ import { formsiteListAllForms } from "./list-all-forms.mjs";
6
+ export { formsiteGetForm, formsiteGetFormItems, formsiteGetFormResults, formsiteGetWebhooks, formsiteListAllForms };
@@ -0,0 +1,6 @@
1
+ import { formsiteGetForm } from "./get-form.mjs";
2
+ import { formsiteGetFormItems } from "./get-form-items.mjs";
3
+ import { formsiteGetFormResults } from "./get-form-results.mjs";
4
+ import { formsiteGetWebhooks } from "./get-webhooks.mjs";
5
+ import { formsiteListAllForms } from "./list-all-forms.mjs";
6
+ export { formsiteGetForm, formsiteGetFormItems, formsiteGetFormResults, formsiteGetWebhooks, formsiteListAllForms };
@@ -0,0 +1,32 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-all-forms.ts
4
+ const FormsiteListAllFormsInput = zod.z.object({ user_dir: zod.z.string().describe("The user directory for your Formsite account. If not provided, it will be extracted from the base_url. You can find this in your form URLs (e.g., if your form URL contains '/vSkOfz/forms/', your user_dir is 'vSkOfz') or in Settings -> Integrations -> Formsite API.").optional() }).describe("Request model for List All Forms action.");
5
+ const FormsiteListAllForms_FormStatsSchema = zod.z.object({
6
+ filesSize: zod.z.number().int().describe("The total size, in bytes, of any uploaded files the form is storing."),
7
+ resultsCount: zod.z.number().int().describe("The number of results the form is storing.")
8
+ }).describe("Model for form statistics.");
9
+ const FormsiteListAllForms_FormPublishSchema = zod.z.object({
10
+ link: zod.z.string().describe("The form's share link."),
11
+ embed_code: zod.z.string().describe("The form's share embed code.")
12
+ }).describe("Model for form publish information.");
13
+ const FormsiteListAllForms_FormInfoSchema = zod.z.object({
14
+ name: zod.z.string().describe("The form's name."),
15
+ state: zod.z.string().describe("The form's open/close state. If open, value is 'open'. If closed, begins with 'closed' followed by reason."),
16
+ stats: FormsiteListAllForms_FormStatsSchema.nullable(),
17
+ publish: FormsiteListAllForms_FormPublishSchema.nullable(),
18
+ directory: zod.z.string().describe("The form's URL directory."),
19
+ description: zod.z.string().describe("Optional. The form's description, if set on form's Settings -> General page.").nullable().optional()
20
+ }).describe("Model for individual form information.");
21
+ const FormsiteListAllFormsOutput = zod.z.object({ forms: zod.z.array(FormsiteListAllForms_FormInfoSchema).describe("List of forms with their details.") }).describe("Response model for List All Forms action.");
22
+ const formsiteListAllForms = require_action.action("FORMSITE_LIST_ALL_FORMS", {
23
+ slug: "formsite-list-all-forms",
24
+ name: "List All Forms",
25
+ description: "Retrieves a list of all forms in the user's Formsite account. This action returns detailed information about each form including: - Form directory (identifier for accessing the form via API) - Form name (the display name of the form) - Description (optional internal description) - Publish information (embed code and public link) - State (open/closed status) - Statistics (file storage size and results count) The form directory returned by this action can be used with other Formsite actions like Get Form Details, Get Form Items, and Get Form Results. **Important**: If the connection's base_url doesn't include the user directory, you must provide the 'user_dir' parameter. Find this in your Formsite form URLs (e.g., if URL is https://fs8.formsite.com/user123/forms/abc, user_dir is 'user123') or in Settings -> Integrations -> Formsite API.",
26
+ input: FormsiteListAllFormsInput,
27
+ output: FormsiteListAllFormsOutput
28
+ });
29
+ //#endregion
30
+ exports.formsiteListAllForms = formsiteListAllForms;
31
+
32
+ //# sourceMappingURL=list-all-forms.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-all-forms.cjs","names":["z","action"],"sources":["../../src/actions/list-all-forms.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FormsiteListAllFormsInput: z.ZodTypeAny = z.object({\n user_dir: z.string().describe(\"The user directory for your Formsite account. If not provided, it will be extracted from the base_url. You can find this in your form URLs (e.g., if your form URL contains '/vSkOfz/forms/', your user_dir is 'vSkOfz') or in Settings -> Integrations -> Formsite API.\").optional(),\n}).describe(\"Request model for List All Forms action.\");\nconst FormsiteListAllForms_FormStatsSchema: z.ZodTypeAny = z.object({\n filesSize: z.number().int().describe(\"The total size, in bytes, of any uploaded files the form is storing.\"),\n resultsCount: z.number().int().describe(\"The number of results the form is storing.\"),\n}).describe(\"Model for form statistics.\");\nconst FormsiteListAllForms_FormPublishSchema: z.ZodTypeAny = z.object({\n link: z.string().describe(\"The form's share link.\"),\n embed_code: z.string().describe(\"The form's share embed code.\"),\n}).describe(\"Model for form publish information.\");\nconst FormsiteListAllForms_FormInfoSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The form's name.\"),\n state: z.string().describe(\"The form's open/close state. If open, value is 'open'. If closed, begins with 'closed' followed by reason.\"),\n stats: FormsiteListAllForms_FormStatsSchema.nullable(),\n publish: FormsiteListAllForms_FormPublishSchema.nullable(),\n directory: z.string().describe(\"The form's URL directory.\"),\n description: z.string().describe(\"Optional. The form's description, if set on form's Settings -> General page.\").nullable().optional(),\n}).describe(\"Model for individual form information.\");\nexport const FormsiteListAllFormsOutput: z.ZodTypeAny = z.object({\n forms: z.array(FormsiteListAllForms_FormInfoSchema).describe(\"List of forms with their details.\"),\n}).describe(\"Response model for List All Forms action.\");\n\nexport const formsiteListAllForms = action(\"FORMSITE_LIST_ALL_FORMS\", {\n slug: \"formsite-list-all-forms\",\n name: \"List All Forms\",\n description: \"Retrieves a list of all forms in the user's Formsite account. This action returns detailed information about each form including: - Form directory (identifier for accessing the form via API) - Form name (the display name of the form) - Description (optional internal description) - Publish information (embed code and public link) - State (open/closed status) - Statistics (file storage size and results count) The form directory returned by this action can be used with other Formsite actions like Get Form Details, Get Form Items, and Get Form Results. **Important**: If the connection's base_url doesn't include the user directory, you must provide the 'user_dir' parameter. Find this in your Formsite form URLs (e.g., if URL is https://fs8.formsite.com/user123/forms/abc, user_dir is 'user123') or in Settings -> Integrations -> Formsite API.\",\n input: FormsiteListAllFormsInput,\n output: FormsiteListAllFormsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0QAA0Q,CAAC,CAAC,SAAS,EACrT,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,uCAAqDA,IAAAA,EAAE,OAAO;CAClE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE;CAC3G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;AACtF,CAAC,CAAC,CAAC,SAAS,4BAA4B;AACxC,MAAM,yCAAuDA,IAAAA,EAAE,OAAO;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAClD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;AAChE,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,sCAAoDA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;CACvI,OAAO,qCAAqC,SAAS;CACrD,SAAS,uCAAuC,SAAS;CACzD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC1D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,OAAOA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,mCAAmC,EAClG,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-all-forms.d.ts
4
+ declare const FormsiteListAllFormsInput: z.ZodTypeAny;
5
+ declare const FormsiteListAllFormsOutput: z.ZodTypeAny;
6
+ declare const formsiteListAllForms: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { formsiteListAllForms };
9
+ //# sourceMappingURL=list-all-forms.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-all-forms.d.cts","names":[],"sources":["../../src/actions/list-all-forms.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAEa;AAAA,cAiB1C,0BAAA,EAA4B,CAAA,CAAE,UAEa;AAAA,cAE3C,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-all-forms.d.ts
4
+ declare const FormsiteListAllFormsInput: z.ZodTypeAny;
5
+ declare const FormsiteListAllFormsOutput: z.ZodTypeAny;
6
+ declare const formsiteListAllForms: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { formsiteListAllForms };
9
+ //# sourceMappingURL=list-all-forms.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-all-forms.d.mts","names":[],"sources":["../../src/actions/list-all-forms.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAEa;AAAA,cAiB1C,0BAAA,EAA4B,CAAA,CAAE,UAEa;AAAA,cAE3C,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,31 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-all-forms.ts
4
+ const FormsiteListAllFormsInput = z.object({ user_dir: z.string().describe("The user directory for your Formsite account. If not provided, it will be extracted from the base_url. You can find this in your form URLs (e.g., if your form URL contains '/vSkOfz/forms/', your user_dir is 'vSkOfz') or in Settings -> Integrations -> Formsite API.").optional() }).describe("Request model for List All Forms action.");
5
+ const FormsiteListAllForms_FormStatsSchema = z.object({
6
+ filesSize: z.number().int().describe("The total size, in bytes, of any uploaded files the form is storing."),
7
+ resultsCount: z.number().int().describe("The number of results the form is storing.")
8
+ }).describe("Model for form statistics.");
9
+ const FormsiteListAllForms_FormPublishSchema = z.object({
10
+ link: z.string().describe("The form's share link."),
11
+ embed_code: z.string().describe("The form's share embed code.")
12
+ }).describe("Model for form publish information.");
13
+ const FormsiteListAllForms_FormInfoSchema = z.object({
14
+ name: z.string().describe("The form's name."),
15
+ state: z.string().describe("The form's open/close state. If open, value is 'open'. If closed, begins with 'closed' followed by reason."),
16
+ stats: FormsiteListAllForms_FormStatsSchema.nullable(),
17
+ publish: FormsiteListAllForms_FormPublishSchema.nullable(),
18
+ directory: z.string().describe("The form's URL directory."),
19
+ description: z.string().describe("Optional. The form's description, if set on form's Settings -> General page.").nullable().optional()
20
+ }).describe("Model for individual form information.");
21
+ const formsiteListAllForms = action("FORMSITE_LIST_ALL_FORMS", {
22
+ slug: "formsite-list-all-forms",
23
+ name: "List All Forms",
24
+ description: "Retrieves a list of all forms in the user's Formsite account. This action returns detailed information about each form including: - Form directory (identifier for accessing the form via API) - Form name (the display name of the form) - Description (optional internal description) - Publish information (embed code and public link) - State (open/closed status) - Statistics (file storage size and results count) The form directory returned by this action can be used with other Formsite actions like Get Form Details, Get Form Items, and Get Form Results. **Important**: If the connection's base_url doesn't include the user directory, you must provide the 'user_dir' parameter. Find this in your Formsite form URLs (e.g., if URL is https://fs8.formsite.com/user123/forms/abc, user_dir is 'user123') or in Settings -> Integrations -> Formsite API.",
25
+ input: FormsiteListAllFormsInput,
26
+ output: z.object({ forms: z.array(FormsiteListAllForms_FormInfoSchema).describe("List of forms with their details.") }).describe("Response model for List All Forms action.")
27
+ });
28
+ //#endregion
29
+ export { formsiteListAllForms };
30
+
31
+ //# sourceMappingURL=list-all-forms.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-all-forms.mjs","names":[],"sources":["../../src/actions/list-all-forms.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FormsiteListAllFormsInput: z.ZodTypeAny = z.object({\n user_dir: z.string().describe(\"The user directory for your Formsite account. If not provided, it will be extracted from the base_url. You can find this in your form URLs (e.g., if your form URL contains '/vSkOfz/forms/', your user_dir is 'vSkOfz') or in Settings -> Integrations -> Formsite API.\").optional(),\n}).describe(\"Request model for List All Forms action.\");\nconst FormsiteListAllForms_FormStatsSchema: z.ZodTypeAny = z.object({\n filesSize: z.number().int().describe(\"The total size, in bytes, of any uploaded files the form is storing.\"),\n resultsCount: z.number().int().describe(\"The number of results the form is storing.\"),\n}).describe(\"Model for form statistics.\");\nconst FormsiteListAllForms_FormPublishSchema: z.ZodTypeAny = z.object({\n link: z.string().describe(\"The form's share link.\"),\n embed_code: z.string().describe(\"The form's share embed code.\"),\n}).describe(\"Model for form publish information.\");\nconst FormsiteListAllForms_FormInfoSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The form's name.\"),\n state: z.string().describe(\"The form's open/close state. If open, value is 'open'. If closed, begins with 'closed' followed by reason.\"),\n stats: FormsiteListAllForms_FormStatsSchema.nullable(),\n publish: FormsiteListAllForms_FormPublishSchema.nullable(),\n directory: z.string().describe(\"The form's URL directory.\"),\n description: z.string().describe(\"Optional. The form's description, if set on form's Settings -> General page.\").nullable().optional(),\n}).describe(\"Model for individual form information.\");\nexport const FormsiteListAllFormsOutput: z.ZodTypeAny = z.object({\n forms: z.array(FormsiteListAllForms_FormInfoSchema).describe(\"List of forms with their details.\"),\n}).describe(\"Response model for List All Forms action.\");\n\nexport const formsiteListAllForms = action(\"FORMSITE_LIST_ALL_FORMS\", {\n slug: \"formsite-list-all-forms\",\n name: \"List All Forms\",\n description: \"Retrieves a list of all forms in the user's Formsite account. This action returns detailed information about each form including: - Form directory (identifier for accessing the form via API) - Form name (the display name of the form) - Description (optional internal description) - Publish information (embed code and public link) - State (open/closed status) - Statistics (file storage size and results count) The form directory returned by this action can be used with other Formsite actions like Get Form Details, Get Form Items, and Get Form Results. **Important**: If the connection's base_url doesn't include the user directory, you must provide the 'user_dir' parameter. Find this in your Formsite form URLs (e.g., if URL is https://fs8.formsite.com/user123/forms/abc, user_dir is 'user123') or in Settings -> Integrations -> Formsite API.\",\n input: FormsiteListAllFormsInput,\n output: FormsiteListAllFormsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0C,EAAE,OAAO,EAC9D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0QAA0Q,CAAC,CAAC,SAAS,EACrT,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,uCAAqD,EAAE,OAAO;CAClE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE;CAC3G,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;AACtF,CAAC,CAAC,CAAC,SAAS,4BAA4B;AACxC,MAAM,yCAAuD,EAAE,OAAO;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAClD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;AAChE,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,sCAAoD,EAAE,OAAO;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;CACvI,OAAO,qCAAqC,SAAS;CACrD,SAAS,uCAAuC,SAAS;CACzD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC1D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAKpD,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsD,EAAE,OAAO,EAC/D,OAAO,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,mCAAmC,EAClG,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
package/dist/app.cjs ADDED
@@ -0,0 +1,9 @@
1
+ //#region src/app.ts
2
+ const formsite = (0, require("@keystrokehq/keystroke/app").defineApp)({
3
+ slug: "formsite",
4
+ auth: "keystroke"
5
+ });
6
+ //#endregion
7
+ exports.formsite = formsite;
8
+
9
+ //# sourceMappingURL=app.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const formsite = defineApp({\n slug: \"formsite\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,YAAA,uCAAA,CAAA,CAAA,UAAA,CAAqB;CAChC,MAAM;CACN,MAAM;AACR,CAAC"}
package/dist/app.d.cts ADDED
@@ -0,0 +1,5 @@
1
+ //#region src/app.d.ts
2
+ declare const formsite: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
3
+ //#endregion
4
+ export { formsite };
5
+ //# sourceMappingURL=app.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,QAAA,6BAAQ,GAAA,+BAAA,UAAA"}
package/dist/app.d.mts ADDED
@@ -0,0 +1,5 @@
1
+ //#region src/app.d.ts
2
+ declare const formsite: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
3
+ //#endregion
4
+ export { formsite };
5
+ //# sourceMappingURL=app.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,QAAA,6BAAQ,GAAA,+BAAA,UAAA"}
package/dist/app.mjs ADDED
@@ -0,0 +1,10 @@
1
+ import { defineApp } from "@keystrokehq/keystroke/app";
2
+ //#region src/app.ts
3
+ const formsite = defineApp({
4
+ slug: "formsite",
5
+ auth: "keystroke"
6
+ });
7
+ //#endregion
8
+ export { formsite };
9
+
10
+ //# sourceMappingURL=app.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const formsite = defineApp({\n slug: \"formsite\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,WAAW,UAAU;CAChC,MAAM;CACN,MAAM;AACR,CAAC"}
@@ -0,0 +1,15 @@
1
+ //#region src/catalog.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ const formsiteCatalog = {
4
+ "slug": "formsite",
5
+ "name": "Formsite",
6
+ "description": "Formsite helps users create online forms and surveys with drag-and-drop tools, secure data capture, and integrations to simplify workflows",
7
+ "category": "Forms & Surveys",
8
+ "logo": "https://logos.composio.dev/api/formsite",
9
+ "authKind": "keystroke",
10
+ "oauthScopes": []
11
+ };
12
+ //#endregion
13
+ exports.formsiteCatalog = formsiteCatalog;
14
+
15
+ //# sourceMappingURL=catalog.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const formsiteCatalog = {\n \"slug\": \"formsite\",\n \"name\": \"Formsite\",\n \"description\": \"Formsite helps users create online forms and surveys with drag-and-drop tools, secure data capture, and integrations to simplify workflows\",\n \"category\": \"Forms & Surveys\",\n \"logo\": \"https://logos.composio.dev/api/formsite\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
@@ -0,0 +1,14 @@
1
+ //#region src/catalog.d.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ declare const formsiteCatalog: {
4
+ readonly slug: "formsite";
5
+ readonly name: "Formsite";
6
+ readonly description: "Formsite helps users create online forms and surveys with drag-and-drop tools, secure data capture, and integrations to simplify workflows";
7
+ readonly category: "Forms & Surveys";
8
+ readonly logo: "https://logos.composio.dev/api/formsite";
9
+ readonly authKind: "keystroke";
10
+ readonly oauthScopes: readonly [];
11
+ };
12
+ //#endregion
13
+ export { formsiteCatalog };
14
+ //# sourceMappingURL=catalog.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.d.cts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,eAAA;EAAA"}
@@ -0,0 +1,14 @@
1
+ //#region src/catalog.d.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ declare const formsiteCatalog: {
4
+ readonly slug: "formsite";
5
+ readonly name: "Formsite";
6
+ readonly description: "Formsite helps users create online forms and surveys with drag-and-drop tools, secure data capture, and integrations to simplify workflows";
7
+ readonly category: "Forms & Surveys";
8
+ readonly logo: "https://logos.composio.dev/api/formsite";
9
+ readonly authKind: "keystroke";
10
+ readonly oauthScopes: readonly [];
11
+ };
12
+ //#endregion
13
+ export { formsiteCatalog };
14
+ //# sourceMappingURL=catalog.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.d.mts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,eAAA;EAAA"}
@@ -0,0 +1,15 @@
1
+ //#region src/catalog.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ const formsiteCatalog = {
4
+ "slug": "formsite",
5
+ "name": "Formsite",
6
+ "description": "Formsite helps users create online forms and surveys with drag-and-drop tools, secure data capture, and integrations to simplify workflows",
7
+ "category": "Forms & Surveys",
8
+ "logo": "https://logos.composio.dev/api/formsite",
9
+ "authKind": "keystroke",
10
+ "oauthScopes": []
11
+ };
12
+ //#endregion
13
+ export { formsiteCatalog };
14
+
15
+ //# sourceMappingURL=catalog.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const formsiteCatalog = {\n \"slug\": \"formsite\",\n \"name\": \"Formsite\",\n \"description\": \"Formsite helps users create online forms and surveys with drag-and-drop tools, secure data capture, and integrations to simplify workflows\",\n \"category\": \"Forms & Surveys\",\n \"logo\": \"https://logos.composio.dev/api/formsite\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
@@ -0,0 +1,18 @@
1
+ let _keystrokehq_keystroke_client = require("@keystrokehq/keystroke/client");
2
+ //#region src/execute.ts
3
+ const APP_SLUG = "formsite";
4
+ /** Pinned app version — updated on regeneration. */
5
+ const APP_VERSION = "20260615_00";
6
+ async function executeFormsiteTool(tool, args) {
7
+ const { result } = await (0, _keystrokehq_keystroke_client.createKeystrokeClient)().tools.execute({
8
+ app: APP_SLUG,
9
+ tool,
10
+ arguments: args,
11
+ version: APP_VERSION
12
+ });
13
+ return result;
14
+ }
15
+ //#endregion
16
+ exports.executeFormsiteTool = executeFormsiteTool;
17
+
18
+ //# sourceMappingURL=execute.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"execute.cjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"formsite\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeFormsiteTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,oBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,OAAA,GAAA,8BAAA,sBAAA,CAA4B,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
@@ -0,0 +1,18 @@
1
+ import { createKeystrokeClient } from "@keystrokehq/keystroke/client";
2
+ //#region src/execute.ts
3
+ const APP_SLUG = "formsite";
4
+ /** Pinned app version — updated on regeneration. */
5
+ const APP_VERSION = "20260615_00";
6
+ async function executeFormsiteTool(tool, args) {
7
+ const { result } = await createKeystrokeClient().tools.execute({
8
+ app: APP_SLUG,
9
+ tool,
10
+ arguments: args,
11
+ version: APP_VERSION
12
+ });
13
+ return result;
14
+ }
15
+ //#endregion
16
+ export { executeFormsiteTool };
17
+
18
+ //# sourceMappingURL=execute.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"execute.mjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"formsite\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeFormsiteTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,oBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,MAAM,sBAAsB,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
package/dist/index.cjs ADDED
@@ -0,0 +1,16 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_app = require("./app.cjs");
3
+ const require_catalog = require("./catalog.cjs");
4
+ const require_get_form = require("./actions/get-form.cjs");
5
+ const require_get_form_items = require("./actions/get-form-items.cjs");
6
+ const require_get_form_results = require("./actions/get-form-results.cjs");
7
+ const require_get_webhooks = require("./actions/get-webhooks.cjs");
8
+ const require_list_all_forms = require("./actions/list-all-forms.cjs");
9
+ require("./actions/index.cjs");
10
+ exports.formsite = require_app.formsite;
11
+ exports.formsiteCatalog = require_catalog.formsiteCatalog;
12
+ exports.formsiteGetForm = require_get_form.formsiteGetForm;
13
+ exports.formsiteGetFormItems = require_get_form_items.formsiteGetFormItems;
14
+ exports.formsiteGetFormResults = require_get_form_results.formsiteGetFormResults;
15
+ exports.formsiteGetWebhooks = require_get_webhooks.formsiteGetWebhooks;
16
+ exports.formsiteListAllForms = require_list_all_forms.formsiteListAllForms;
@@ -0,0 +1,8 @@
1
+ import { formsiteGetForm } from "./actions/get-form.cjs";
2
+ import { formsiteGetFormItems } from "./actions/get-form-items.cjs";
3
+ import { formsiteGetFormResults } from "./actions/get-form-results.cjs";
4
+ import { formsiteGetWebhooks } from "./actions/get-webhooks.cjs";
5
+ import { formsiteListAllForms } from "./actions/list-all-forms.cjs";
6
+ import { formsite } from "./app.cjs";
7
+ import { formsiteCatalog } from "./catalog.cjs";
8
+ export { formsite, formsiteCatalog, formsiteGetForm, formsiteGetFormItems, formsiteGetFormResults, formsiteGetWebhooks, formsiteListAllForms };
@@ -0,0 +1,8 @@
1
+ import { formsiteGetForm } from "./actions/get-form.mjs";
2
+ import { formsiteGetFormItems } from "./actions/get-form-items.mjs";
3
+ import { formsiteGetFormResults } from "./actions/get-form-results.mjs";
4
+ import { formsiteGetWebhooks } from "./actions/get-webhooks.mjs";
5
+ import { formsiteListAllForms } from "./actions/list-all-forms.mjs";
6
+ import { formsite } from "./app.mjs";
7
+ import { formsiteCatalog } from "./catalog.mjs";
8
+ export { formsite, formsiteCatalog, formsiteGetForm, formsiteGetFormItems, formsiteGetFormResults, formsiteGetWebhooks, formsiteListAllForms };
package/dist/index.mjs ADDED
@@ -0,0 +1,9 @@
1
+ import { formsite } from "./app.mjs";
2
+ import { formsiteCatalog } from "./catalog.mjs";
3
+ import { formsiteGetForm } from "./actions/get-form.mjs";
4
+ import { formsiteGetFormItems } from "./actions/get-form-items.mjs";
5
+ import { formsiteGetFormResults } from "./actions/get-form-results.mjs";
6
+ import { formsiteGetWebhooks } from "./actions/get-webhooks.mjs";
7
+ import { formsiteListAllForms } from "./actions/list-all-forms.mjs";
8
+ import "./actions/index.mjs";
9
+ export { formsite, formsiteCatalog, formsiteGetForm, formsiteGetFormItems, formsiteGetFormResults, formsiteGetWebhooks, formsiteListAllForms };
package/package.json ADDED
@@ -0,0 +1,49 @@
1
+ {
2
+ "name": "@keystrokehq/formsite",
3
+ "version": "0.1.0",
4
+ "publishConfig": {
5
+ "access": "public",
6
+ "registry": "https://registry.npmjs.org"
7
+ },
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/keystrokehq/keystroke.git",
11
+ "directory": "packages/integrations/formsite"
12
+ },
13
+ "files": [
14
+ "dist"
15
+ ],
16
+ "sideEffects": false,
17
+ "type": "module",
18
+ "main": "./dist/index.cjs",
19
+ "module": "./dist/index.mjs",
20
+ "types": "./dist/index.d.mts",
21
+ "exports": {
22
+ ".": {
23
+ "types": "./dist/index.d.mts",
24
+ "import": "./dist/index.mjs",
25
+ "require": "./dist/index.cjs"
26
+ },
27
+ "./actions": {
28
+ "types": "./dist/actions/index.d.mts",
29
+ "import": "./dist/actions/index.mjs",
30
+ "require": "./dist/actions/index.cjs"
31
+ }
32
+ },
33
+ "peerDependencies": {
34
+ "@keystrokehq/keystroke": "^0.1.4",
35
+ "zod": "^4.4.3"
36
+ },
37
+ "devDependencies": {
38
+ "@keystrokehq/keystroke": "link:../../keystroke",
39
+ "@types/node": "^25.9.1",
40
+ "tsdown": "^0.22.0",
41
+ "typescript": "^6.0.3",
42
+ "zod": "^4.4.3"
43
+ },
44
+ "scripts": {
45
+ "build": "tsdown",
46
+ "dev": "tsdown --watch --no-clean",
47
+ "typecheck": "tsc --noEmit"
48
+ }
49
+ }