@keystrokehq/formsite 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/get-form-items.cjs +1 -0
- package/dist/actions/get-form-items.cjs.map +1 -1
- package/dist/actions/get-form-items.d.cts +3 -5
- package/dist/actions/get-form-items.d.cts.map +1 -1
- package/dist/actions/get-form-items.d.mts +3 -5
- package/dist/actions/get-form-items.d.mts.map +1 -1
- package/dist/actions/get-form-items.mjs +1 -0
- package/dist/actions/get-form-items.mjs.map +1 -1
- package/dist/actions/get-form-results.cjs +1 -0
- package/dist/actions/get-form-results.cjs.map +1 -1
- package/dist/actions/get-form-results.d.cts +3 -7
- package/dist/actions/get-form-results.d.cts.map +1 -1
- package/dist/actions/get-form-results.d.mts +3 -7
- package/dist/actions/get-form-results.d.mts.map +1 -1
- package/dist/actions/get-form-results.mjs +1 -0
- package/dist/actions/get-form-results.mjs.map +1 -1
- package/dist/actions/get-form.cjs +1 -0
- package/dist/actions/get-form.cjs.map +1 -1
- package/dist/actions/get-form.d.cts +3 -4
- package/dist/actions/get-form.d.cts.map +1 -1
- package/dist/actions/get-form.d.mts +3 -4
- package/dist/actions/get-form.d.mts.map +1 -1
- package/dist/actions/get-form.mjs +1 -0
- package/dist/actions/get-form.mjs.map +1 -1
- package/dist/actions/get-webhooks.cjs +1 -0
- package/dist/actions/get-webhooks.cjs.map +1 -1
- package/dist/actions/get-webhooks.d.cts +3 -4
- package/dist/actions/get-webhooks.d.cts.map +1 -1
- package/dist/actions/get-webhooks.d.mts +3 -4
- package/dist/actions/get-webhooks.d.mts.map +1 -1
- package/dist/actions/get-webhooks.mjs +1 -0
- package/dist/actions/get-webhooks.mjs.map +1 -1
- package/dist/actions/list-all-forms.cjs +1 -0
- package/dist/actions/list-all-forms.cjs.map +1 -1
- package/dist/actions/list-all-forms.d.cts +3 -3
- package/dist/actions/list-all-forms.d.cts.map +1 -1
- package/dist/actions/list-all-forms.d.mts +3 -3
- package/dist/actions/list-all-forms.d.mts.map +1 -1
- package/dist/actions/list-all-forms.mjs +1 -0
- package/dist/actions/list-all-forms.mjs.map +1 -1
- package/dist/app.cjs +9 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +8 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +8 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +6 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -1 +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<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["formsite","executeFormsiteTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { 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<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof formsite.credential> {\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":";;;;;AAOA,SAAgB,OACd,MACA,KAOwD;CACxD,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"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +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<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { 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<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof formsite.credential> {\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":";;;;;AAOA,SAAgB,OACd,MACA,KAOwD;CACxD,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"}
|
|
@@ -1 +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.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.object({\n id: z.string().describe(\"The item's unique identifier\").nullable(),\n label: z.string().describe(\"The item's question label\").nullable(),\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\").nullable(),\n}).passthrough().describe(\"Model representing a form item in the response.\");\nexport const FormsiteGetFormItemsOutput = z.object({\n items: z.array(FormsiteGetFormItems_FormItemSchema).describe(\"List of form items containing their IDs, positions, and labels\"),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"get-form-items.cjs","names":["z","action"],"sources":["../../src/actions/get-form-items.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { formsite } from \"../app\";\n\nexport const FormsiteGetFormItemsInput = 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.object({\n id: z.string().describe(\"The item's unique identifier\").nullable(),\n label: z.string().describe(\"The item's question label\").nullable(),\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\").nullable(),\n}).passthrough().describe(\"Model representing a form item in the response.\");\nexport const FormsiteGetFormItemsOutput = z.object({\n items: z.array(FormsiteGetFormItems_FormItemSchema).describe(\"List of form items containing their IDs, positions, and labels\"),\n}).passthrough().describe(\"Model representing the response from the get form items endpoint.\");\n\nexport const formsiteGetFormItems: AppAction<\n typeof FormsiteGetFormItemsInput,\n typeof FormsiteGetFormItemsOutput,\n typeof formsite.credential\n> = 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":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,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,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACjE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjE,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,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,OAAOA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,gEAAgE,EAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAE7F,MAAa,uBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { formsite } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-form-items.d.ts
|
|
@@ -14,11 +16,7 @@ declare const FormsiteGetFormItemsOutput: z.ZodObject<{
|
|
|
14
16
|
position: z.ZodNullable<z.ZodNumber>;
|
|
15
17
|
}, z.core.$loose>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const formsiteGetFormItems:
|
|
18
|
-
form_dir: string;
|
|
19
|
-
user_dir?: string | undefined;
|
|
20
|
-
results_labels?: string | undefined;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
|
+
declare const formsiteGetFormItems: AppAction<typeof FormsiteGetFormItemsInput, typeof FormsiteGetFormItemsOutput, typeof formsite.credential>;
|
|
22
20
|
//#endregion
|
|
23
21
|
export { formsiteGetFormItems };
|
|
24
22
|
//# sourceMappingURL=get-form-items.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-form-items.d.cts","names":[],"sources":["../../src/actions/get-form-items.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-form-items.d.cts","names":[],"sources":["../../src/actions/get-form-items.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cAWzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { formsite } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-form-items.d.ts
|
|
@@ -14,11 +16,7 @@ declare const FormsiteGetFormItemsOutput: z.ZodObject<{
|
|
|
14
16
|
position: z.ZodNullable<z.ZodNumber>;
|
|
15
17
|
}, z.core.$loose>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const formsiteGetFormItems:
|
|
18
|
-
form_dir: string;
|
|
19
|
-
user_dir?: string | undefined;
|
|
20
|
-
results_labels?: string | undefined;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
|
+
declare const formsiteGetFormItems: AppAction<typeof FormsiteGetFormItemsInput, typeof FormsiteGetFormItemsOutput, typeof formsite.credential>;
|
|
22
20
|
//#endregion
|
|
23
21
|
export { formsiteGetFormItems };
|
|
24
22
|
//# sourceMappingURL=get-form-items.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-form-items.d.mts","names":[],"sources":["../../src/actions/get-form-items.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-form-items.d.mts","names":[],"sources":["../../src/actions/get-form-items.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cAWzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +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.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.object({\n id: z.string().describe(\"The item's unique identifier\").nullable(),\n label: z.string().describe(\"The item's question label\").nullable(),\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\").nullable(),\n}).passthrough().describe(\"Model representing a form item in the response.\");\nexport const FormsiteGetFormItemsOutput = z.object({\n items: z.array(FormsiteGetFormItems_FormItemSchema).describe(\"List of form items containing their IDs, positions, and labels\"),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"get-form-items.mjs","names":[],"sources":["../../src/actions/get-form-items.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { formsite } from \"../app\";\n\nexport const FormsiteGetFormItemsInput = 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.object({\n id: z.string().describe(\"The item's unique identifier\").nullable(),\n label: z.string().describe(\"The item's question label\").nullable(),\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\").nullable(),\n}).passthrough().describe(\"Model representing a form item in the response.\");\nexport const FormsiteGetFormItemsOutput = z.object({\n items: z.array(FormsiteGetFormItems_FormItemSchema).describe(\"List of form items containing their IDs, positions, and labels\"),\n}).passthrough().describe(\"Model representing the response from the get form items endpoint.\");\n\nexport const formsiteGetFormItems: AppAction<\n typeof FormsiteGetFormItemsInput,\n typeof FormsiteGetFormItemsOutput,\n typeof formsite.credential\n> = 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":";;;;AAMA,MAAa,4BAA4B,EAAE,OAAO;CAChD,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,sCAAsC,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACjE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjE,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,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAK3E,MAAa,uBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbwC,EAAE,OAAO,EACjD,OAAO,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,gEAAgE,EAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAWhB;AACV,CAAC"}
|
|
@@ -1 +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.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.object({\n id: z.string().describe(\"The item's ID\").nullable(),\n value: z.string().describe(\"The value for text item types\").nullable().optional(),\n values: z.array(z.record(z.string(), z.unknown())).describe(\"The values for multiple choice item types\").nullable().optional(),\n position: z.number().int().describe(\"The item's sequential position on the form\").nullable(),\n}).passthrough().describe(\"Model for a form result item.\");\nconst FormsiteGetFormResults_FormResultSchema = z.object({\n id: z.string().describe(\"The result's unique ID\").nullable(),\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\").nullable(),\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)\").nullable(),\n user_device: z.string().describe(\"The user's device (Desktop, Tablet, or Mobile)\").nullable(),\n user_browser: z.string().describe(\"The user's browser\").nullable(),\n result_status: z.string().describe(\"The status of the result\").nullable(),\n}).passthrough().describe(\"Model for a single form result.\");\nexport const FormsiteGetFormResultsOutput = z.object({\n results: z.array(FormsiteGetFormResults_FormResultSchema).describe(\"List of form results\"),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"get-form-results.cjs","names":["z","action"],"sources":["../../src/actions/get-form-results.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { formsite } from \"../app\";\n\nexport const FormsiteGetFormResultsInput = 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.object({\n id: z.string().describe(\"The item's ID\").nullable(),\n value: z.string().describe(\"The value for text item types\").nullable().optional(),\n values: z.array(z.record(z.string(), z.unknown())).describe(\"The values for multiple choice item types\").nullable().optional(),\n position: z.number().int().describe(\"The item's sequential position on the form\").nullable(),\n}).passthrough().describe(\"Model for a form result item.\");\nconst FormsiteGetFormResults_FormResultSchema = z.object({\n id: z.string().describe(\"The result's unique ID\").nullable(),\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\").nullable(),\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)\").nullable(),\n user_device: z.string().describe(\"The user's device (Desktop, Tablet, or Mobile)\").nullable(),\n user_browser: z.string().describe(\"The user's browser\").nullable(),\n result_status: z.string().describe(\"The status of the result\").nullable(),\n}).passthrough().describe(\"Model for a single form result.\");\nexport const FormsiteGetFormResultsOutput = z.object({\n results: z.array(FormsiteGetFormResults_FormResultSchema).describe(\"List of form results\"),\n}).passthrough().describe(\"Response model for getting form results.\");\n\nexport const formsiteGetFormResults: AppAction<\n typeof FormsiteGetFormResultsInput,\n typeof FormsiteGetFormResultsOutput,\n typeof formsite.credential\n> = 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":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,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,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AACzD,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC3D,OAAOA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,sCAAsC;CAC3G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC/D,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,CAAC,CAAC,SAAS;CAClH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACjE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAC3D,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,SAASA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,sBAAsB,EAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,yBAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { formsite } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-form-results.d.ts
|
|
@@ -29,13 +31,7 @@ declare const FormsiteGetFormResultsOutput: z.ZodObject<{
|
|
|
29
31
|
result_status: z.ZodNullable<z.ZodString>;
|
|
30
32
|
}, z.core.$loose>>;
|
|
31
33
|
}, z.core.$loose>;
|
|
32
|
-
declare const formsiteGetFormResults:
|
|
33
|
-
form_id: string;
|
|
34
|
-
page?: number | undefined;
|
|
35
|
-
limit?: number | undefined;
|
|
36
|
-
user_dir?: string | undefined;
|
|
37
|
-
sort_direction?: "asc" | "desc" | undefined;
|
|
38
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
34
|
+
declare const formsiteGetFormResults: AppAction<typeof FormsiteGetFormResultsInput, typeof FormsiteGetFormResultsOutput, typeof formsite.credential>;
|
|
39
35
|
//#endregion
|
|
40
36
|
export { formsiteGetFormResults };
|
|
41
37
|
//# sourceMappingURL=get-form-results.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-form-results.d.cts","names":[],"sources":["../../src/actions/get-form-results.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-form-results.d.cts","names":[],"sources":["../../src/actions/get-form-results.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;cAwB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { formsite } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-form-results.d.ts
|
|
@@ -29,13 +31,7 @@ declare const FormsiteGetFormResultsOutput: z.ZodObject<{
|
|
|
29
31
|
result_status: z.ZodNullable<z.ZodString>;
|
|
30
32
|
}, z.core.$loose>>;
|
|
31
33
|
}, z.core.$loose>;
|
|
32
|
-
declare const formsiteGetFormResults:
|
|
33
|
-
form_id: string;
|
|
34
|
-
page?: number | undefined;
|
|
35
|
-
limit?: number | undefined;
|
|
36
|
-
user_dir?: string | undefined;
|
|
37
|
-
sort_direction?: "asc" | "desc" | undefined;
|
|
38
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
34
|
+
declare const formsiteGetFormResults: AppAction<typeof FormsiteGetFormResultsInput, typeof FormsiteGetFormResultsOutput, typeof formsite.credential>;
|
|
39
35
|
//#endregion
|
|
40
36
|
export { formsiteGetFormResults };
|
|
41
37
|
//# sourceMappingURL=get-form-results.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-form-results.d.mts","names":[],"sources":["../../src/actions/get-form-results.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-form-results.d.mts","names":[],"sources":["../../src/actions/get-form-results.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;cAwB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +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.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.object({\n id: z.string().describe(\"The item's ID\").nullable(),\n value: z.string().describe(\"The value for text item types\").nullable().optional(),\n values: z.array(z.record(z.string(), z.unknown())).describe(\"The values for multiple choice item types\").nullable().optional(),\n position: z.number().int().describe(\"The item's sequential position on the form\").nullable(),\n}).passthrough().describe(\"Model for a form result item.\");\nconst FormsiteGetFormResults_FormResultSchema = z.object({\n id: z.string().describe(\"The result's unique ID\").nullable(),\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\").nullable(),\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)\").nullable(),\n user_device: z.string().describe(\"The user's device (Desktop, Tablet, or Mobile)\").nullable(),\n user_browser: z.string().describe(\"The user's browser\").nullable(),\n result_status: z.string().describe(\"The status of the result\").nullable(),\n}).passthrough().describe(\"Model for a single form result.\");\nexport const FormsiteGetFormResultsOutput = z.object({\n results: z.array(FormsiteGetFormResults_FormResultSchema).describe(\"List of form results\"),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"get-form-results.mjs","names":[],"sources":["../../src/actions/get-form-results.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { formsite } from \"../app\";\n\nexport const FormsiteGetFormResultsInput = 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.object({\n id: z.string().describe(\"The item's ID\").nullable(),\n value: z.string().describe(\"The value for text item types\").nullable().optional(),\n values: z.array(z.record(z.string(), z.unknown())).describe(\"The values for multiple choice item types\").nullable().optional(),\n position: z.number().int().describe(\"The item's sequential position on the form\").nullable(),\n}).passthrough().describe(\"Model for a form result item.\");\nconst FormsiteGetFormResults_FormResultSchema = z.object({\n id: z.string().describe(\"The result's unique ID\").nullable(),\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\").nullable(),\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)\").nullable(),\n user_device: z.string().describe(\"The user's device (Desktop, Tablet, or Mobile)\").nullable(),\n user_browser: z.string().describe(\"The user's browser\").nullable(),\n result_status: z.string().describe(\"The status of the result\").nullable(),\n}).passthrough().describe(\"Model for a single form result.\");\nexport const FormsiteGetFormResultsOutput = z.object({\n results: z.array(FormsiteGetFormResults_FormResultSchema).describe(\"List of form results\"),\n}).passthrough().describe(\"Response model for getting form results.\");\n\nexport const formsiteGetFormResults: AppAction<\n typeof FormsiteGetFormResultsInput,\n typeof FormsiteGetFormResultsOutput,\n typeof formsite.credential\n> = 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":";;;;AAMA,MAAa,8BAA8B,EAAE,OAAO;CAClD,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,8CAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AACzD,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC3D,OAAO,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,sCAAsC;CAC3G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC/D,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,CAAC,CAAC,SAAS;CAClH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACjE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAK3D,MAAa,yBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb0C,EAAE,OAAO,EACnD,SAAS,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,sBAAsB,EAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAWhB;AACV,CAAC"}
|
|
@@ -1 +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.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.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}).passthrough().describe(\"Model for form statistics.\");\nconst FormsiteGetForm_FormPublishSchema = 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}).passthrough().describe(\"Model for form publishing information.\");\nconst FormsiteGetForm_FormDetailsSchema = 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}).passthrough().describe(\"Model for form details.\");\nexport const FormsiteGetFormOutput = z.object({\n forms: z.array(FormsiteGetForm_FormDetailsSchema).describe(\"List containing the form details.\"),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"get-form.cjs","names":["z","action"],"sources":["../../src/actions/get-form.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { formsite } from \"../app\";\n\nexport const FormsiteGetFormInput = 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.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}).passthrough().describe(\"Model for form statistics.\");\nconst FormsiteGetForm_FormPublishSchema = 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}).passthrough().describe(\"Model for form publishing information.\");\nconst FormsiteGetForm_FormDetailsSchema = 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}).passthrough().describe(\"Model for form details.\");\nexport const FormsiteGetFormOutput = z.object({\n forms: z.array(FormsiteGetForm_FormDetailsSchema).describe(\"List containing the form details.\"),\n}).passthrough().describe(\"Response model for getting form details.\");\n\nexport const formsiteGetForm: AppAction<\n typeof FormsiteGetFormInput,\n typeof FormsiteGetFormOutput,\n typeof formsite.credential\n> = 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":";;;;AAMA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,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,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,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,YAAY,CAAC,CAAC,SAAS,4BAA4B;AACtD,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,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,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,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,YAAY,CAAC,CAAC,SAAS,yBAAyB;AACnD,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,OAAOA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,mCAAmC,EAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,kBAITC,eAAAA,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { formsite } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-form.d.ts
|
|
@@ -21,10 +23,7 @@ declare const FormsiteGetFormOutput: z.ZodObject<{
|
|
|
21
23
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
}, z.core.$loose>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const formsiteGetForm:
|
|
25
|
-
form_dir: string;
|
|
26
|
-
user_dir?: string | undefined;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
26
|
+
declare const formsiteGetForm: AppAction<typeof FormsiteGetFormInput, typeof FormsiteGetFormOutput, typeof formsite.credential>;
|
|
28
27
|
//#endregion
|
|
29
28
|
export { formsiteGetForm };
|
|
30
29
|
//# sourceMappingURL=get-form.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-form.d.cts","names":[],"sources":["../../src/actions/get-form.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-form.d.cts","names":[],"sources":["../../src/actions/get-form.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;cAoBpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAIrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { formsite } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-form.d.ts
|
|
@@ -21,10 +23,7 @@ declare const FormsiteGetFormOutput: z.ZodObject<{
|
|
|
21
23
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
}, z.core.$loose>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const formsiteGetForm:
|
|
25
|
-
form_dir: string;
|
|
26
|
-
user_dir?: string | undefined;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
26
|
+
declare const formsiteGetForm: AppAction<typeof FormsiteGetFormInput, typeof FormsiteGetFormOutput, typeof formsite.credential>;
|
|
28
27
|
//#endregion
|
|
29
28
|
export { formsiteGetForm };
|
|
30
29
|
//# sourceMappingURL=get-form.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-form.d.mts","names":[],"sources":["../../src/actions/get-form.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-form.d.mts","names":[],"sources":["../../src/actions/get-form.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;cAoBpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAIrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +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.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.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}).passthrough().describe(\"Model for form statistics.\");\nconst FormsiteGetForm_FormPublishSchema = 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}).passthrough().describe(\"Model for form publishing information.\");\nconst FormsiteGetForm_FormDetailsSchema = 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}).passthrough().describe(\"Model for form details.\");\nexport const FormsiteGetFormOutput = z.object({\n forms: z.array(FormsiteGetForm_FormDetailsSchema).describe(\"List containing the form details.\"),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"get-form.mjs","names":[],"sources":["../../src/actions/get-form.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { formsite } from \"../app\";\n\nexport const FormsiteGetFormInput = 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.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}).passthrough().describe(\"Model for form statistics.\");\nconst FormsiteGetForm_FormPublishSchema = 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}).passthrough().describe(\"Model for form publishing information.\");\nconst FormsiteGetForm_FormDetailsSchema = 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}).passthrough().describe(\"Model for form details.\");\nexport const FormsiteGetFormOutput = z.object({\n forms: z.array(FormsiteGetForm_FormDetailsSchema).describe(\"List containing the form details.\"),\n}).passthrough().describe(\"Response model for getting form details.\");\n\nexport const formsiteGetForm: AppAction<\n typeof FormsiteGetFormInput,\n typeof FormsiteGetFormOutput,\n typeof formsite.credential\n> = 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":";;;;AAMA,MAAa,uBAAuB,EAAE,OAAO;CAC3C,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,kCAAkC,EAAE,OAAO;CAC/C,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,YAAY,CAAC,CAAC,SAAS,4BAA4B;AACtD,MAAM,oCAAoC,EAAE,OAAO;CACjD,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,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAM,oCAAoC,EAAE,OAAO;CACjD,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,YAAY,CAAC,CAAC,SAAS,yBAAyB;AAKnD,MAAa,kBAIT,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbmC,EAAE,OAAO,EAC5C,OAAO,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,mCAAmC,EAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAWhB;AACV,CAAC"}
|
|
@@ -1 +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.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.object({\n url: z.string().describe(\"The URL where webhook notifications are sent\").nullable(),\n event: z.string().describe(\"The event type that triggers the webhook (e.g., 'result_completed')\").nullable(),\n handshake_key: z.string().describe(\"Optional handshake key for webhook security validation\").nullable().optional(),\n}).passthrough().describe(\"Model for a webhook configuration.\");\nexport const FormsiteGetWebhooksOutput = z.object({\n webhooks: z.array(FormsiteGetWebhooks_WebhookConfigSchema).describe(\"List of webhook configurations\"),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"get-webhooks.cjs","names":["z","action"],"sources":["../../src/actions/get-webhooks.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { formsite } from \"../app\";\n\nexport const FormsiteGetWebhooksInput = 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.object({\n url: z.string().describe(\"The URL where webhook notifications are sent\").nullable(),\n event: z.string().describe(\"The event type that triggers the webhook (e.g., 'result_completed')\").nullable(),\n handshake_key: z.string().describe(\"Optional handshake key for webhook security validation\").nullable().optional(),\n}).passthrough().describe(\"Model for a webhook configuration.\");\nexport const FormsiteGetWebhooksOutput = z.object({\n webhooks: z.array(FormsiteGetWebhooks_WebhookConfigSchema).describe(\"List of webhook configurations\"),\n}).passthrough().describe(\"Response model for getting form webhooks.\");\n\nexport const formsiteGetWebhooks: AppAction<\n typeof FormsiteGetWebhooksInput,\n typeof FormsiteGetWebhooksOutput,\n typeof formsite.credential\n> = 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":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,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,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAClF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC3G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAC9D,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,UAAUA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,gCAAgC,EACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { formsite } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-webhooks.d.ts
|
|
@@ -12,10 +14,7 @@ declare const FormsiteGetWebhooksOutput: z.ZodObject<{
|
|
|
12
14
|
handshake_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
15
|
}, z.core.$loose>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const formsiteGetWebhooks:
|
|
16
|
-
form_id: string;
|
|
17
|
-
user_dir?: string | undefined;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
17
|
+
declare const formsiteGetWebhooks: AppAction<typeof FormsiteGetWebhooksInput, typeof FormsiteGetWebhooksOutput, typeof formsite.credential>;
|
|
19
18
|
//#endregion
|
|
20
19
|
export { formsiteGetWebhooks };
|
|
21
20
|
//# sourceMappingURL=get-webhooks.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-webhooks.d.cts","names":[],"sources":["../../src/actions/get-webhooks.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-webhooks.d.cts","names":[],"sources":["../../src/actions/get-webhooks.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cASxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { formsite } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-webhooks.d.ts
|
|
@@ -12,10 +14,7 @@ declare const FormsiteGetWebhooksOutput: z.ZodObject<{
|
|
|
12
14
|
handshake_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
15
|
}, z.core.$loose>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const formsiteGetWebhooks:
|
|
16
|
-
form_id: string;
|
|
17
|
-
user_dir?: string | undefined;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
17
|
+
declare const formsiteGetWebhooks: AppAction<typeof FormsiteGetWebhooksInput, typeof FormsiteGetWebhooksOutput, typeof formsite.credential>;
|
|
19
18
|
//#endregion
|
|
20
19
|
export { formsiteGetWebhooks };
|
|
21
20
|
//# sourceMappingURL=get-webhooks.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-webhooks.d.mts","names":[],"sources":["../../src/actions/get-webhooks.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-webhooks.d.mts","names":[],"sources":["../../src/actions/get-webhooks.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cASxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +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.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.object({\n url: z.string().describe(\"The URL where webhook notifications are sent\").nullable(),\n event: z.string().describe(\"The event type that triggers the webhook (e.g., 'result_completed')\").nullable(),\n handshake_key: z.string().describe(\"Optional handshake key for webhook security validation\").nullable().optional(),\n}).passthrough().describe(\"Model for a webhook configuration.\");\nexport const FormsiteGetWebhooksOutput = z.object({\n webhooks: z.array(FormsiteGetWebhooks_WebhookConfigSchema).describe(\"List of webhook configurations\"),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"get-webhooks.mjs","names":[],"sources":["../../src/actions/get-webhooks.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { formsite } from \"../app\";\n\nexport const FormsiteGetWebhooksInput = 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.object({\n url: z.string().describe(\"The URL where webhook notifications are sent\").nullable(),\n event: z.string().describe(\"The event type that triggers the webhook (e.g., 'result_completed')\").nullable(),\n handshake_key: z.string().describe(\"Optional handshake key for webhook security validation\").nullable().optional(),\n}).passthrough().describe(\"Model for a webhook configuration.\");\nexport const FormsiteGetWebhooksOutput = z.object({\n webhooks: z.array(FormsiteGetWebhooks_WebhookConfigSchema).describe(\"List of webhook configurations\"),\n}).passthrough().describe(\"Response model for getting form webhooks.\");\n\nexport const formsiteGetWebhooks: AppAction<\n typeof FormsiteGetWebhooksInput,\n typeof FormsiteGetWebhooksOutput,\n typeof formsite.credential\n> = 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":";;;;AAMA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,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,0CAA0C,EAAE,OAAO;CACvD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAClF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC3G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAK9D,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbuC,EAAE,OAAO,EAChD,UAAU,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,gCAAgC,EACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAWhB;AACV,CAAC"}
|
|
@@ -1 +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.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.object({\n filesSize: z.number().int().describe(\"The total size, in bytes, of any uploaded files the form is storing.\").nullable(),\n resultsCount: z.number().int().describe(\"The number of results the form is storing.\").nullable(),\n}).passthrough().describe(\"Model for form statistics.\");\nconst FormsiteListAllForms_FormPublishSchema = z.object({\n link: z.string().describe(\"The form's share link.\").nullable(),\n embed_code: z.string().describe(\"The form's share embed code.\").nullable(),\n}).passthrough().describe(\"Model for form publish information.\");\nconst FormsiteListAllForms_FormInfoSchema = z.object({\n name: z.string().describe(\"The form's name.\").nullable(),\n state: z.string().describe(\"The form's open/close state. If open, value is 'open'. If closed, begins with 'closed' followed by reason.\").nullable(),\n stats: FormsiteListAllForms_FormStatsSchema.nullable(),\n publish: FormsiteListAllForms_FormPublishSchema.nullable(),\n directory: z.string().describe(\"The form's URL directory.\").nullable(),\n description: z.string().describe(\"Optional. The form's description, if set on form's Settings -> General page.\").nullable().optional(),\n}).passthrough().describe(\"Model for individual form information.\");\nexport const FormsiteListAllFormsOutput = z.object({\n forms: z.array(FormsiteListAllForms_FormInfoSchema).describe(\"List of forms with their details.\"),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"list-all-forms.cjs","names":["z","action"],"sources":["../../src/actions/list-all-forms.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { formsite } from \"../app\";\n\nexport const FormsiteListAllFormsInput = 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.object({\n filesSize: z.number().int().describe(\"The total size, in bytes, of any uploaded files the form is storing.\").nullable(),\n resultsCount: z.number().int().describe(\"The number of results the form is storing.\").nullable(),\n}).passthrough().describe(\"Model for form statistics.\");\nconst FormsiteListAllForms_FormPublishSchema = z.object({\n link: z.string().describe(\"The form's share link.\").nullable(),\n embed_code: z.string().describe(\"The form's share embed code.\").nullable(),\n}).passthrough().describe(\"Model for form publish information.\");\nconst FormsiteListAllForms_FormInfoSchema = z.object({\n name: z.string().describe(\"The form's name.\").nullable(),\n state: z.string().describe(\"The form's open/close state. If open, value is 'open'. If closed, begins with 'closed' followed by reason.\").nullable(),\n stats: FormsiteListAllForms_FormStatsSchema.nullable(),\n publish: FormsiteListAllForms_FormPublishSchema.nullable(),\n directory: z.string().describe(\"The form's URL directory.\").nullable(),\n description: z.string().describe(\"Optional. The form's description, if set on form's Settings -> General page.\").nullable().optional(),\n}).passthrough().describe(\"Model for individual form information.\");\nexport const FormsiteListAllFormsOutput = z.object({\n forms: z.array(FormsiteListAllForms_FormInfoSchema).describe(\"List of forms with their details.\"),\n}).passthrough().describe(\"Response model for List All Forms action.\");\n\nexport const formsiteListAllForms: AppAction<\n typeof FormsiteListAllFormsInput,\n typeof FormsiteListAllFormsOutput,\n typeof formsite.credential\n> = 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":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0QAA0Q,CAAC,CAAC,SAAS,EACrT,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACtH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AACtD,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CAClJ,OAAO,qCAAqC,SAAS;CACrD,SAAS,uCAAuC,SAAS;CACzD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACrE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,OAAOA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,mCAAmC,EAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,uBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { formsite } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-all-forms.d.ts
|
|
@@ -20,9 +22,7 @@ declare const FormsiteListAllFormsOutput: z.ZodObject<{
|
|
|
20
22
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
23
|
}, z.core.$loose>>;
|
|
22
24
|
}, z.core.$loose>;
|
|
23
|
-
declare const formsiteListAllForms:
|
|
24
|
-
user_dir?: string | undefined;
|
|
25
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
25
|
+
declare const formsiteListAllForms: AppAction<typeof FormsiteListAllFormsInput, typeof FormsiteListAllFormsOutput, typeof formsite.credential>;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { formsiteListAllForms };
|
|
28
28
|
//# sourceMappingURL=list-all-forms.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-forms.d.cts","names":[],"sources":["../../src/actions/list-all-forms.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-all-forms.d.cts","names":[],"sources":["../../src/actions/list-all-forms.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAmBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { formsite } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-all-forms.d.ts
|
|
@@ -20,9 +22,7 @@ declare const FormsiteListAllFormsOutput: z.ZodObject<{
|
|
|
20
22
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
23
|
}, z.core.$loose>>;
|
|
22
24
|
}, z.core.$loose>;
|
|
23
|
-
declare const formsiteListAllForms:
|
|
24
|
-
user_dir?: string | undefined;
|
|
25
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
25
|
+
declare const formsiteListAllForms: AppAction<typeof FormsiteListAllFormsInput, typeof FormsiteListAllFormsOutput, typeof formsite.credential>;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { formsiteListAllForms };
|
|
28
28
|
//# sourceMappingURL=list-all-forms.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-forms.d.mts","names":[],"sources":["../../src/actions/list-all-forms.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-all-forms.d.mts","names":[],"sources":["../../src/actions/list-all-forms.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAmBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +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.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.object({\n filesSize: z.number().int().describe(\"The total size, in bytes, of any uploaded files the form is storing.\").nullable(),\n resultsCount: z.number().int().describe(\"The number of results the form is storing.\").nullable(),\n}).passthrough().describe(\"Model for form statistics.\");\nconst FormsiteListAllForms_FormPublishSchema = z.object({\n link: z.string().describe(\"The form's share link.\").nullable(),\n embed_code: z.string().describe(\"The form's share embed code.\").nullable(),\n}).passthrough().describe(\"Model for form publish information.\");\nconst FormsiteListAllForms_FormInfoSchema = z.object({\n name: z.string().describe(\"The form's name.\").nullable(),\n state: z.string().describe(\"The form's open/close state. If open, value is 'open'. If closed, begins with 'closed' followed by reason.\").nullable(),\n stats: FormsiteListAllForms_FormStatsSchema.nullable(),\n publish: FormsiteListAllForms_FormPublishSchema.nullable(),\n directory: z.string().describe(\"The form's URL directory.\").nullable(),\n description: z.string().describe(\"Optional. The form's description, if set on form's Settings -> General page.\").nullable().optional(),\n}).passthrough().describe(\"Model for individual form information.\");\nexport const FormsiteListAllFormsOutput = z.object({\n forms: z.array(FormsiteListAllForms_FormInfoSchema).describe(\"List of forms with their details.\"),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"list-all-forms.mjs","names":[],"sources":["../../src/actions/list-all-forms.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { formsite } from \"../app\";\n\nexport const FormsiteListAllFormsInput = 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.object({\n filesSize: z.number().int().describe(\"The total size, in bytes, of any uploaded files the form is storing.\").nullable(),\n resultsCount: z.number().int().describe(\"The number of results the form is storing.\").nullable(),\n}).passthrough().describe(\"Model for form statistics.\");\nconst FormsiteListAllForms_FormPublishSchema = z.object({\n link: z.string().describe(\"The form's share link.\").nullable(),\n embed_code: z.string().describe(\"The form's share embed code.\").nullable(),\n}).passthrough().describe(\"Model for form publish information.\");\nconst FormsiteListAllForms_FormInfoSchema = z.object({\n name: z.string().describe(\"The form's name.\").nullable(),\n state: z.string().describe(\"The form's open/close state. If open, value is 'open'. If closed, begins with 'closed' followed by reason.\").nullable(),\n stats: FormsiteListAllForms_FormStatsSchema.nullable(),\n publish: FormsiteListAllForms_FormPublishSchema.nullable(),\n directory: z.string().describe(\"The form's URL directory.\").nullable(),\n description: z.string().describe(\"Optional. The form's description, if set on form's Settings -> General page.\").nullable().optional(),\n}).passthrough().describe(\"Model for individual form information.\");\nexport const FormsiteListAllFormsOutput = z.object({\n forms: z.array(FormsiteListAllForms_FormInfoSchema).describe(\"List of forms with their details.\"),\n}).passthrough().describe(\"Response model for List All Forms action.\");\n\nexport const formsiteListAllForms: AppAction<\n typeof FormsiteListAllFormsInput,\n typeof FormsiteListAllFormsOutput,\n typeof formsite.credential\n> = 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":";;;;AAMA,MAAa,4BAA4B,EAAE,OAAO,EAChD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0QAA0Q,CAAC,CAAC,SAAS,EACrT,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,uCAAuC,EAAE,OAAO;CACpD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACtH,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AACtD,MAAM,yCAAyC,EAAE,OAAO;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAM,sCAAsC,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CAClJ,OAAO,qCAAqC,SAAS;CACrD,SAAS,uCAAuC,SAAS;CACzD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACrE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAKlE,MAAa,uBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbwC,EAAE,OAAO,EACjD,OAAO,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,mCAAmC,EAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAWhB;AACV,CAAC"}
|
package/dist/app.cjs
CHANGED
|
@@ -1,7 +1,14 @@
|
|
|
1
|
+
let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
|
|
2
|
+
let zod = require("zod");
|
|
1
3
|
//#region src/app.ts
|
|
2
|
-
const
|
|
4
|
+
const credential = {
|
|
5
|
+
full: zod.z.string(),
|
|
6
|
+
generic_api_key: zod.z.string()
|
|
7
|
+
};
|
|
8
|
+
const formsite = (0, _keystrokehq_keystroke_app.defineApp)({
|
|
3
9
|
slug: "formsite",
|
|
4
|
-
auth: "keystroke"
|
|
10
|
+
auth: "keystroke",
|
|
11
|
+
credential
|
|
5
12
|
});
|
|
6
13
|
//#endregion
|
|
7
14
|
exports.formsite = formsite;
|
package/dist/app.cjs.map
CHANGED
|
@@ -1 +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,
|
|
1
|
+
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n full: z.string(),\n generic_api_key: z.string(),\n};\n\nexport const formsite: KeystrokeApp<\"formsite\", typeof credential> = defineApp({\n slug: \"formsite\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;;AAGA,MAAM,aAAa;CACjB,MAAMA,IAAAA,EAAE,OAAO;CACf,iBAAiBA,IAAAA,EAAE,OAAO;AAC5B;AAEA,MAAa,YAAA,GAAA,2BAAA,UAAA,CAAkE;CAC7E,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
|
package/dist/app.d.cts
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
|
|
1
4
|
//#region src/app.d.ts
|
|
2
|
-
declare const
|
|
5
|
+
declare const credential: {
|
|
6
|
+
full: z.ZodString;
|
|
7
|
+
generic_api_key: z.ZodString;
|
|
8
|
+
};
|
|
9
|
+
declare const formsite: KeystrokeApp<"formsite", typeof credential>;
|
|
3
10
|
//#endregion
|
|
4
11
|
export { formsite };
|
|
5
12
|
//# sourceMappingURL=app.d.cts.map
|
package/dist/app.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;QAGL,CAAA,CAAA,SAAA;mBAAA,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,QAAA,EAAU,YAAY,oBAAoB,UAAA"}
|
package/dist/app.d.mts
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
|
|
1
4
|
//#region src/app.d.ts
|
|
2
|
-
declare const
|
|
5
|
+
declare const credential: {
|
|
6
|
+
full: z.ZodString;
|
|
7
|
+
generic_api_key: z.ZodString;
|
|
8
|
+
};
|
|
9
|
+
declare const formsite: KeystrokeApp<"formsite", typeof credential>;
|
|
3
10
|
//#endregion
|
|
4
11
|
export { formsite };
|
|
5
12
|
//# sourceMappingURL=app.d.mts.map
|
package/dist/app.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;QAGL,CAAA,CAAA,SAAA;mBAAA,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,QAAA,EAAU,YAAY,oBAAoB,UAAA"}
|
package/dist/app.mjs
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import { defineApp } from "@keystrokehq/keystroke/app";
|
|
2
|
-
|
|
2
|
+
import { z } from "zod";
|
|
3
3
|
const formsite = defineApp({
|
|
4
4
|
slug: "formsite",
|
|
5
|
-
auth: "keystroke"
|
|
5
|
+
auth: "keystroke",
|
|
6
|
+
credential: {
|
|
7
|
+
full: z.string(),
|
|
8
|
+
generic_api_key: z.string()
|
|
9
|
+
}
|
|
6
10
|
});
|
|
7
11
|
//#endregion
|
|
8
12
|
export { formsite };
|
package/dist/app.mjs.map
CHANGED
|
@@ -1 +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":";;
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n full: z.string(),\n generic_api_key: z.string(),\n};\n\nexport const formsite: KeystrokeApp<\"formsite\", typeof credential> = defineApp({\n slug: \"formsite\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAQA,MAAa,WAAwD,UAAU;CAC7E,MAAM;CACN,MAAM;CACN;EAPA,MAAM,EAAE,OAAO;EACf,iBAAiB,EAAE,OAAO;CAM1B;AACF,CAAC"}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { formsite } from "./app.cjs";
|
|
1
2
|
import { formsiteGetForm } from "./actions/get-form.cjs";
|
|
2
3
|
import { formsiteGetFormItems } from "./actions/get-form-items.cjs";
|
|
3
4
|
import { formsiteGetFormResults } from "./actions/get-form-results.cjs";
|
|
4
5
|
import { formsiteGetWebhooks } from "./actions/get-webhooks.cjs";
|
|
5
6
|
import { formsiteListAllForms } from "./actions/list-all-forms.cjs";
|
|
6
|
-
import { formsite } from "./app.cjs";
|
|
7
7
|
import { formsiteCatalog } from "./catalog.cjs";
|
|
8
8
|
export { formsite, formsiteCatalog, formsiteGetForm, formsiteGetFormItems, formsiteGetFormResults, formsiteGetWebhooks, formsiteListAllForms };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { formsite } from "./app.mjs";
|
|
1
2
|
import { formsiteGetForm } from "./actions/get-form.mjs";
|
|
2
3
|
import { formsiteGetFormItems } from "./actions/get-form-items.mjs";
|
|
3
4
|
import { formsiteGetFormResults } from "./actions/get-form-results.mjs";
|
|
4
5
|
import { formsiteGetWebhooks } from "./actions/get-webhooks.mjs";
|
|
5
6
|
import { formsiteListAllForms } from "./actions/list-all-forms.mjs";
|
|
6
|
-
import { formsite } from "./app.mjs";
|
|
7
7
|
import { formsiteCatalog } from "./catalog.mjs";
|
|
8
8
|
export { formsite, formsiteCatalog, formsiteGetForm, formsiteGetFormItems, formsiteGetFormResults, formsiteGetWebhooks, formsiteListAllForms };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/formsite",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@keystrokehq/keystroke": ">=0.1.
|
|
34
|
+
"@keystrokehq/keystroke": ">=0.1.104",
|
|
35
35
|
"zod": "^4.4.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|