@keystrokehq/formsite 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/get-form-items.cjs +2 -2
- package/dist/actions/get-form-items.cjs.map +1 -1
- package/dist/actions/get-form-items.d.cts +2 -2
- package/dist/actions/get-form-items.d.mts +2 -2
- package/dist/actions/get-form-items.mjs +2 -2
- package/dist/actions/get-form-items.mjs.map +1 -1
- package/dist/actions/get-form-results.cjs +4 -4
- package/dist/actions/get-form-results.cjs.map +1 -1
- package/dist/actions/get-form-results.d.cts +4 -4
- package/dist/actions/get-form-results.d.mts +4 -4
- package/dist/actions/get-form-results.mjs +4 -4
- package/dist/actions/get-form-results.mjs.map +1 -1
- package/dist/actions/get-form.cjs +4 -4
- package/dist/actions/get-form.cjs.map +1 -1
- package/dist/actions/get-form.d.cts +4 -4
- package/dist/actions/get-form.d.mts +4 -4
- package/dist/actions/get-form.mjs +4 -4
- package/dist/actions/get-form.mjs.map +1 -1
- package/dist/actions/get-webhooks.cjs +2 -2
- package/dist/actions/get-webhooks.cjs.map +1 -1
- package/dist/actions/get-webhooks.d.cts +2 -2
- package/dist/actions/get-webhooks.d.mts +2 -2
- package/dist/actions/get-webhooks.mjs +2 -2
- package/dist/actions/get-webhooks.mjs.map +1 -1
- package/dist/actions/list-all-forms.cjs +4 -4
- package/dist/actions/list-all-forms.cjs.map +1 -1
- package/dist/actions/list-all-forms.d.cts +4 -4
- package/dist/actions/list-all-forms.d.mts +4 -4
- package/dist/actions/list-all-forms.mjs +4 -4
- package/dist/actions/list-all-forms.mjs.map +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -11,8 +11,8 @@ const FormsiteGetFormItems_FormItemSchema = zod.z.object({
|
|
|
11
11
|
label: zod.z.string().describe("The item's question label").nullable(),
|
|
12
12
|
children: zod.z.array(zod.z.string()).describe("Optional. For item types composed of sub-items (Matrix and Multi Scale items)").nullable().optional(),
|
|
13
13
|
position: zod.z.number().int().describe("The item's sequential position in the form").nullable()
|
|
14
|
-
}).describe("Model representing a form item in the response.");
|
|
15
|
-
const FormsiteGetFormItemsOutput = zod.z.object({ items: zod.z.array(FormsiteGetFormItems_FormItemSchema).describe("List of form items containing their IDs, positions, and labels") }).describe("Model representing the response from the get form items endpoint.");
|
|
14
|
+
}).passthrough().describe("Model representing a form item in the response.");
|
|
15
|
+
const FormsiteGetFormItemsOutput = zod.z.object({ items: zod.z.array(FormsiteGetFormItems_FormItemSchema).describe("List of form items containing their IDs, positions, and labels") }).passthrough().describe("Model representing the response from the get form items endpoint.");
|
|
16
16
|
const formsiteGetFormItems = require_action.action("FORMSITE_GET_FORM_ITEMS", {
|
|
17
17
|
slug: "formsite-get-form-items",
|
|
18
18
|
name: "Get Form Items",
|
|
@@ -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}).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}).describe(\"Model representing the response from the get form items endpoint.\");\n\nexport const formsiteGetFormItems = action(\"FORMSITE_GET_FORM_ITEMS\", {\n slug: \"formsite-get-form-items\",\n name: \"Get Form Items\",\n description: \"Retrieves all items (questions) for a specific form using the Formsite API. This action returns detailed information about each form item including: - Item ID (unique identifier for the form question) - Position (sequential order in the form) - Label (the question text) - Children (optional, for Matrix and Multi Scale items with sub-items) The item data can be used to label results data by matching item IDs from this action to item IDs from the Get Form Results action. **Important**: If the connection's base_url doesn't include the user directory, you must provide the 'user_dir' parameter. Find this in your Formsite form URLs (e.g., if URL is https://fs8.formsite.com/user123/forms/abc, user_dir is 'user123') or in Settings -> Integrations -> Formsite API.\",\n input: FormsiteGetFormItemsInput,\n output: FormsiteGetFormItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,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,SAAS,iDAAiD;
|
|
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":";;;AAIA,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,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -12,8 +12,8 @@ declare const FormsiteGetFormItemsOutput: z.ZodObject<{
|
|
|
12
12
|
label: z.ZodNullable<z.ZodString>;
|
|
13
13
|
children: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
14
14
|
position: z.ZodNullable<z.ZodNumber>;
|
|
15
|
-
}, z.core.$
|
|
16
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const formsiteGetFormItems: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
form_dir: string;
|
|
19
19
|
user_dir?: string | undefined;
|
|
@@ -12,8 +12,8 @@ declare const FormsiteGetFormItemsOutput: z.ZodObject<{
|
|
|
12
12
|
label: z.ZodNullable<z.ZodString>;
|
|
13
13
|
children: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
14
14
|
position: z.ZodNullable<z.ZodNumber>;
|
|
15
|
-
}, z.core.$
|
|
16
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const formsiteGetFormItems: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
form_dir: string;
|
|
19
19
|
user_dir?: string | undefined;
|
|
@@ -11,13 +11,13 @@ const FormsiteGetFormItems_FormItemSchema = z.object({
|
|
|
11
11
|
label: z.string().describe("The item's question label").nullable(),
|
|
12
12
|
children: z.array(z.string()).describe("Optional. For item types composed of sub-items (Matrix and Multi Scale items)").nullable().optional(),
|
|
13
13
|
position: z.number().int().describe("The item's sequential position in the form").nullable()
|
|
14
|
-
}).describe("Model representing a form item in the response.");
|
|
14
|
+
}).passthrough().describe("Model representing a form item in the response.");
|
|
15
15
|
const formsiteGetFormItems = action("FORMSITE_GET_FORM_ITEMS", {
|
|
16
16
|
slug: "formsite-get-form-items",
|
|
17
17
|
name: "Get Form Items",
|
|
18
18
|
description: "Retrieves all items (questions) for a specific form using the Formsite API. This action returns detailed information about each form item including: - Item ID (unique identifier for the form question) - Position (sequential order in the form) - Label (the question text) - Children (optional, for Matrix and Multi Scale items with sub-items) The item data can be used to label results data by matching item IDs from this action to item IDs from the Get Form Results action. **Important**: If the connection's base_url doesn't include the user directory, you must provide the 'user_dir' parameter. Find this in your Formsite form URLs (e.g., if URL is https://fs8.formsite.com/user123/forms/abc, user_dir is 'user123') or in Settings -> Integrations -> Formsite API.",
|
|
19
19
|
input: FormsiteGetFormItemsInput,
|
|
20
|
-
output: z.object({ items: z.array(FormsiteGetFormItems_FormItemSchema).describe("List of form items containing their IDs, positions, and labels") }).describe("Model representing the response from the get form items endpoint.")
|
|
20
|
+
output: z.object({ items: z.array(FormsiteGetFormItems_FormItemSchema).describe("List of form items containing their IDs, positions, and labels") }).passthrough().describe("Model representing the response from the get form items endpoint.")
|
|
21
21
|
});
|
|
22
22
|
//#endregion
|
|
23
23
|
export { formsiteGetFormItems };
|
|
@@ -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}).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}).describe(\"Model representing the response from the get form items endpoint.\");\n\nexport const formsiteGetFormItems = action(\"FORMSITE_GET_FORM_ITEMS\", {\n slug: \"formsite-get-form-items\",\n name: \"Get Form Items\",\n description: \"Retrieves all items (questions) for a specific form using the Formsite API. This action returns detailed information about each form item including: - Item ID (unique identifier for the form question) - Position (sequential order in the form) - Label (the question text) - Children (optional, for Matrix and Multi Scale items with sub-items) The item data can be used to label results data by matching item IDs from this action to item IDs from the Get Form Results action. **Important**: If the connection's base_url doesn't include the user directory, you must provide the 'user_dir' parameter. Find this in your Formsite form URLs (e.g., if URL is https://fs8.formsite.com/user123/forms/abc, user_dir is 'user123') or in Settings -> Integrations -> Formsite API.\",\n input: FormsiteGetFormItemsInput,\n output: FormsiteGetFormItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,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,SAAS,iDAAiD;
|
|
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":";;;AAIA,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,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwC,EAAE,OAAO,EACjD,OAAO,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,gEAAgE,EAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAOhB;AACV,CAAC"}
|
|
@@ -11,9 +11,9 @@ const FormsiteGetFormResultsInput = zod.z.object({
|
|
|
11
11
|
const FormsiteGetFormResults_FormResultItemSchema = zod.z.object({
|
|
12
12
|
id: zod.z.string().describe("The item's ID").nullable(),
|
|
13
13
|
value: zod.z.string().describe("The value for text item types").nullable().optional(),
|
|
14
|
-
values: zod.z.array(zod.z.
|
|
14
|
+
values: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("The values for multiple choice item types").nullable().optional(),
|
|
15
15
|
position: zod.z.number().int().describe("The item's sequential position on the form").nullable()
|
|
16
|
-
}).describe("Model for a form result item.");
|
|
16
|
+
}).passthrough().describe("Model for a form result item.");
|
|
17
17
|
const FormsiteGetFormResults_FormResultSchema = zod.z.object({
|
|
18
18
|
id: zod.z.string().describe("The result's unique ID").nullable(),
|
|
19
19
|
items: zod.z.array(FormsiteGetFormResults_FormResultItemSchema).describe("List of form items with their values"),
|
|
@@ -24,8 +24,8 @@ const FormsiteGetFormResults_FormResultSchema = zod.z.object({
|
|
|
24
24
|
user_device: zod.z.string().describe("The user's device (Desktop, Tablet, or Mobile)").nullable(),
|
|
25
25
|
user_browser: zod.z.string().describe("The user's browser").nullable(),
|
|
26
26
|
result_status: zod.z.string().describe("The status of the result").nullable()
|
|
27
|
-
}).describe("Model for a single form result.");
|
|
28
|
-
const FormsiteGetFormResultsOutput = zod.z.object({ results: zod.z.array(FormsiteGetFormResults_FormResultSchema).describe("List of form results") }).describe("Response model for getting form results.");
|
|
27
|
+
}).passthrough().describe("Model for a single form result.");
|
|
28
|
+
const FormsiteGetFormResultsOutput = zod.z.object({ results: zod.z.array(FormsiteGetFormResults_FormResultSchema).describe("List of form results") }).passthrough().describe("Response model for getting form results.");
|
|
29
29
|
const formsiteGetFormResults = require_action.action("FORMSITE_GET_FORM_RESULTS", {
|
|
30
30
|
slug: "formsite-get-form-results",
|
|
31
31
|
name: "Get Form Results",
|
|
@@ -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.
|
|
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":";;;AAIA,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,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -17,9 +17,9 @@ declare const FormsiteGetFormResultsOutput: z.ZodObject<{
|
|
|
17
17
|
items: z.ZodArray<z.ZodObject<{
|
|
18
18
|
id: z.ZodNullable<z.ZodString>;
|
|
19
19
|
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.
|
|
20
|
+
values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
21
21
|
position: z.ZodNullable<z.ZodNumber>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>;
|
|
23
23
|
user_ip: z.ZodNullable<z.ZodString>;
|
|
24
24
|
date_start: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
date_finish: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -27,8 +27,8 @@ declare const FormsiteGetFormResultsOutput: z.ZodObject<{
|
|
|
27
27
|
user_device: z.ZodNullable<z.ZodString>;
|
|
28
28
|
user_browser: z.ZodNullable<z.ZodString>;
|
|
29
29
|
result_status: z.ZodNullable<z.ZodString>;
|
|
30
|
-
}, z.core.$
|
|
31
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>>;
|
|
31
|
+
}, z.core.$loose>;
|
|
32
32
|
declare const formsiteGetFormResults: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
33
33
|
form_id: string;
|
|
34
34
|
page?: number | undefined;
|
|
@@ -17,9 +17,9 @@ declare const FormsiteGetFormResultsOutput: z.ZodObject<{
|
|
|
17
17
|
items: z.ZodArray<z.ZodObject<{
|
|
18
18
|
id: z.ZodNullable<z.ZodString>;
|
|
19
19
|
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.
|
|
20
|
+
values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
21
21
|
position: z.ZodNullable<z.ZodNumber>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>;
|
|
23
23
|
user_ip: z.ZodNullable<z.ZodString>;
|
|
24
24
|
date_start: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
date_finish: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -27,8 +27,8 @@ declare const FormsiteGetFormResultsOutput: z.ZodObject<{
|
|
|
27
27
|
user_device: z.ZodNullable<z.ZodString>;
|
|
28
28
|
user_browser: z.ZodNullable<z.ZodString>;
|
|
29
29
|
result_status: z.ZodNullable<z.ZodString>;
|
|
30
|
-
}, z.core.$
|
|
31
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>>;
|
|
31
|
+
}, z.core.$loose>;
|
|
32
32
|
declare const formsiteGetFormResults: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
33
33
|
form_id: string;
|
|
34
34
|
page?: number | undefined;
|
|
@@ -11,9 +11,9 @@ const FormsiteGetFormResultsInput = z.object({
|
|
|
11
11
|
const FormsiteGetFormResults_FormResultItemSchema = z.object({
|
|
12
12
|
id: z.string().describe("The item's ID").nullable(),
|
|
13
13
|
value: z.string().describe("The value for text item types").nullable().optional(),
|
|
14
|
-
values: z.array(z.
|
|
14
|
+
values: z.array(z.record(z.string(), z.unknown())).describe("The values for multiple choice item types").nullable().optional(),
|
|
15
15
|
position: z.number().int().describe("The item's sequential position on the form").nullable()
|
|
16
|
-
}).describe("Model for a form result item.");
|
|
16
|
+
}).passthrough().describe("Model for a form result item.");
|
|
17
17
|
const FormsiteGetFormResults_FormResultSchema = z.object({
|
|
18
18
|
id: z.string().describe("The result's unique ID").nullable(),
|
|
19
19
|
items: z.array(FormsiteGetFormResults_FormResultItemSchema).describe("List of form items with their values"),
|
|
@@ -24,13 +24,13 @@ const FormsiteGetFormResults_FormResultSchema = z.object({
|
|
|
24
24
|
user_device: z.string().describe("The user's device (Desktop, Tablet, or Mobile)").nullable(),
|
|
25
25
|
user_browser: z.string().describe("The user's browser").nullable(),
|
|
26
26
|
result_status: z.string().describe("The status of the result").nullable()
|
|
27
|
-
}).describe("Model for a single form result.");
|
|
27
|
+
}).passthrough().describe("Model for a single form result.");
|
|
28
28
|
const formsiteGetFormResults = action("FORMSITE_GET_FORM_RESULTS", {
|
|
29
29
|
slug: "formsite-get-form-results",
|
|
30
30
|
name: "Get Form Results",
|
|
31
31
|
description: "This tool retrieves form results from a specified FormSite form. It uses the GET https://{server}.formsite.com/api/v2/{user_dir}/forms/{form_id}/results endpoint to fetch results, handling required parameters such as form_id, user_dir, limit, page, and sort direction. **Important**: If the connection's base_url doesn't include the user directory, you must provide the 'user_dir' parameter. Find this in your Formsite form URLs (e.g., if URL is https://fs8.formsite.com/user123/forms/abc, user_dir is 'user123') or in Settings -> Integrations -> Formsite API.",
|
|
32
32
|
input: FormsiteGetFormResultsInput,
|
|
33
|
-
output: z.object({ results: z.array(FormsiteGetFormResults_FormResultSchema).describe("List of form results") }).describe("Response model for getting form results.")
|
|
33
|
+
output: z.object({ results: z.array(FormsiteGetFormResults_FormResultSchema).describe("List of form results") }).passthrough().describe("Response model for getting form results.")
|
|
34
34
|
});
|
|
35
35
|
//#endregion
|
|
36
36
|
export { formsiteGetFormResults };
|
|
@@ -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.
|
|
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":";;;AAIA,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,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0C,EAAE,OAAO,EACnD,SAAS,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,sBAAsB,EAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAOhB;AACV,CAAC"}
|
|
@@ -8,11 +8,11 @@ const FormsiteGetFormInput = zod.z.object({
|
|
|
8
8
|
const FormsiteGetForm_FormStatsSchema = zod.z.object({
|
|
9
9
|
filesSize: zod.z.number().int().describe("The total size, in bytes, of any uploaded files the form is storing.").nullable().optional(),
|
|
10
10
|
resultsCount: zod.z.number().int().describe("The number of results the form is storing.").nullable().optional()
|
|
11
|
-
}).describe("Model for form statistics.");
|
|
11
|
+
}).passthrough().describe("Model for form statistics.");
|
|
12
12
|
const FormsiteGetForm_FormPublishSchema = zod.z.object({
|
|
13
13
|
link: zod.z.string().describe("The public URL link to access the form.").nullable().optional(),
|
|
14
14
|
embed_code: zod.z.string().describe("The form's embeddable HTML/JavaScript code for embedding the form on websites.").nullable().optional()
|
|
15
|
-
}).describe("Model for form publishing information.");
|
|
15
|
+
}).passthrough().describe("Model for form publishing information.");
|
|
16
16
|
const FormsiteGetForm_FormDetailsSchema = zod.z.object({
|
|
17
17
|
name: zod.z.string().describe("The form's name.").nullable().optional(),
|
|
18
18
|
state: zod.z.string().describe("The form's status. Value is 'open' if the form is accepting responses, or begins with 'closed' followed by a reason if the form is not accepting responses.").nullable().optional(),
|
|
@@ -20,8 +20,8 @@ const FormsiteGetForm_FormDetailsSchema = zod.z.object({
|
|
|
20
20
|
publish: FormsiteGetForm_FormPublishSchema.nullable().optional(),
|
|
21
21
|
directory: zod.z.string().describe("The form's URL directory.").nullable().optional(),
|
|
22
22
|
description: zod.z.string().describe("The form's internal description.").nullable().optional()
|
|
23
|
-
}).describe("Model for form details.");
|
|
24
|
-
const FormsiteGetFormOutput = zod.z.object({ forms: zod.z.array(FormsiteGetForm_FormDetailsSchema).describe("List containing the form details.") }).describe("Response model for getting form details.");
|
|
23
|
+
}).passthrough().describe("Model for form details.");
|
|
24
|
+
const FormsiteGetFormOutput = zod.z.object({ forms: zod.z.array(FormsiteGetForm_FormDetailsSchema).describe("List containing the form details.") }).passthrough().describe("Response model for getting form details.");
|
|
25
25
|
const formsiteGetForm = require_action.action("FORMSITE_GET_FORM", {
|
|
26
26
|
slug: "formsite-get-form",
|
|
27
27
|
name: "Get Form Details",
|
|
@@ -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}).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}).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}).describe(\"Model for form details.\");\nexport const FormsiteGetFormOutput = z.object({\n forms: z.array(FormsiteGetForm_FormDetailsSchema).describe(\"List containing the form details.\"),\n}).describe(\"Response model for getting form details.\");\n\nexport const formsiteGetForm = action(\"FORMSITE_GET_FORM\", {\n slug: \"formsite-get-form\",\n name: \"Get Form Details\",\n description: \"This tool retrieves detailed information about a specific form in Formsite. It provides comprehensive details including the form's internal description, directory identifier, name, publishing information (embed code and form link), current state (e.g., \\\"open\\\"), and statistics (file size and number of results). **Important**: If the connection's base_url doesn't include the user directory, you must provide the 'user_dir' parameter. Find this in your Formsite form URLs (e.g., if URL is https://fs8.formsite.com/user123/forms/abc, user_dir is 'user123') or in Settings -> Integrations -> Formsite API.\",\n input: FormsiteGetFormInput,\n output: FormsiteGetFormOutput,\n});\n"],"mappings":";;;AAIA,MAAa,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,SAAS,4BAA4B;
|
|
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":";;;AAIA,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,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -12,15 +12,15 @@ declare const FormsiteGetFormOutput: z.ZodObject<{
|
|
|
12
12
|
stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
13
13
|
filesSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
14
|
resultsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>>;
|
|
16
16
|
publish: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
17
17
|
link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
embed_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>>;
|
|
20
20
|
directory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
-
}, z.core.$
|
|
23
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const formsiteGetForm: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
form_dir: string;
|
|
26
26
|
user_dir?: string | undefined;
|
|
@@ -12,15 +12,15 @@ declare const FormsiteGetFormOutput: z.ZodObject<{
|
|
|
12
12
|
stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
13
13
|
filesSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
14
|
resultsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>>;
|
|
16
16
|
publish: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
17
17
|
link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
embed_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>>;
|
|
20
20
|
directory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
-
}, z.core.$
|
|
23
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const formsiteGetForm: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
form_dir: string;
|
|
26
26
|
user_dir?: string | undefined;
|
|
@@ -8,11 +8,11 @@ const FormsiteGetFormInput = z.object({
|
|
|
8
8
|
const FormsiteGetForm_FormStatsSchema = z.object({
|
|
9
9
|
filesSize: z.number().int().describe("The total size, in bytes, of any uploaded files the form is storing.").nullable().optional(),
|
|
10
10
|
resultsCount: z.number().int().describe("The number of results the form is storing.").nullable().optional()
|
|
11
|
-
}).describe("Model for form statistics.");
|
|
11
|
+
}).passthrough().describe("Model for form statistics.");
|
|
12
12
|
const FormsiteGetForm_FormPublishSchema = z.object({
|
|
13
13
|
link: z.string().describe("The public URL link to access the form.").nullable().optional(),
|
|
14
14
|
embed_code: z.string().describe("The form's embeddable HTML/JavaScript code for embedding the form on websites.").nullable().optional()
|
|
15
|
-
}).describe("Model for form publishing information.");
|
|
15
|
+
}).passthrough().describe("Model for form publishing information.");
|
|
16
16
|
const FormsiteGetForm_FormDetailsSchema = z.object({
|
|
17
17
|
name: z.string().describe("The form's name.").nullable().optional(),
|
|
18
18
|
state: z.string().describe("The form's status. Value is 'open' if the form is accepting responses, or begins with 'closed' followed by a reason if the form is not accepting responses.").nullable().optional(),
|
|
@@ -20,13 +20,13 @@ const FormsiteGetForm_FormDetailsSchema = z.object({
|
|
|
20
20
|
publish: FormsiteGetForm_FormPublishSchema.nullable().optional(),
|
|
21
21
|
directory: z.string().describe("The form's URL directory.").nullable().optional(),
|
|
22
22
|
description: z.string().describe("The form's internal description.").nullable().optional()
|
|
23
|
-
}).describe("Model for form details.");
|
|
23
|
+
}).passthrough().describe("Model for form details.");
|
|
24
24
|
const formsiteGetForm = action("FORMSITE_GET_FORM", {
|
|
25
25
|
slug: "formsite-get-form",
|
|
26
26
|
name: "Get Form Details",
|
|
27
27
|
description: "This tool retrieves detailed information about a specific form in Formsite. It provides comprehensive details including the form's internal description, directory identifier, name, publishing information (embed code and form link), current state (e.g., \"open\"), and statistics (file size and number of results). **Important**: If the connection's base_url doesn't include the user directory, you must provide the 'user_dir' parameter. Find this in your Formsite form URLs (e.g., if URL is https://fs8.formsite.com/user123/forms/abc, user_dir is 'user123') or in Settings -> Integrations -> Formsite API.",
|
|
28
28
|
input: FormsiteGetFormInput,
|
|
29
|
-
output: z.object({ forms: z.array(FormsiteGetForm_FormDetailsSchema).describe("List containing the form details.") }).describe("Response model for getting form details.")
|
|
29
|
+
output: z.object({ forms: z.array(FormsiteGetForm_FormDetailsSchema).describe("List containing the form details.") }).passthrough().describe("Response model for getting form details.")
|
|
30
30
|
});
|
|
31
31
|
//#endregion
|
|
32
32
|
export { formsiteGetForm };
|
|
@@ -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}).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}).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}).describe(\"Model for form details.\");\nexport const FormsiteGetFormOutput = z.object({\n forms: z.array(FormsiteGetForm_FormDetailsSchema).describe(\"List containing the form details.\"),\n}).describe(\"Response model for getting form details.\");\n\nexport const formsiteGetForm = action(\"FORMSITE_GET_FORM\", {\n slug: \"formsite-get-form\",\n name: \"Get Form Details\",\n description: \"This tool retrieves detailed information about a specific form in Formsite. It provides comprehensive details including the form's internal description, directory identifier, name, publishing information (embed code and form link), current state (e.g., \\\"open\\\"), and statistics (file size and number of results). **Important**: If the connection's base_url doesn't include the user directory, you must provide the 'user_dir' parameter. Find this in your Formsite form URLs (e.g., if URL is https://fs8.formsite.com/user123/forms/abc, user_dir is 'user123') or in Settings -> Integrations -> Formsite API.\",\n input: FormsiteGetFormInput,\n output: FormsiteGetFormOutput,\n});\n"],"mappings":";;;AAIA,MAAa,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,SAAS,4BAA4B;
|
|
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":";;;AAIA,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,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmC,EAAE,OAAO,EAC5C,OAAO,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,mCAAmC,EAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAOhB;AACV,CAAC"}
|
|
@@ -9,8 +9,8 @@ const FormsiteGetWebhooks_WebhookConfigSchema = zod.z.object({
|
|
|
9
9
|
url: zod.z.string().describe("The URL where webhook notifications are sent").nullable(),
|
|
10
10
|
event: zod.z.string().describe("The event type that triggers the webhook (e.g., 'result_completed')").nullable(),
|
|
11
11
|
handshake_key: zod.z.string().describe("Optional handshake key for webhook security validation").nullable().optional()
|
|
12
|
-
}).describe("Model for a webhook configuration.");
|
|
13
|
-
const FormsiteGetWebhooksOutput = zod.z.object({ webhooks: zod.z.array(FormsiteGetWebhooks_WebhookConfigSchema).describe("List of webhook configurations") }).describe("Response model for getting form webhooks.");
|
|
12
|
+
}).passthrough().describe("Model for a webhook configuration.");
|
|
13
|
+
const FormsiteGetWebhooksOutput = zod.z.object({ webhooks: zod.z.array(FormsiteGetWebhooks_WebhookConfigSchema).describe("List of webhook configurations") }).passthrough().describe("Response model for getting form webhooks.");
|
|
14
14
|
const formsiteGetWebhooks = require_action.action("FORMSITE_GET_WEBHOOKS", {
|
|
15
15
|
slug: "formsite-get-webhooks",
|
|
16
16
|
name: "Get Form Webhooks",
|
|
@@ -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}).describe(\"Model for a webhook configuration.\");\nexport const FormsiteGetWebhooksOutput = z.object({\n webhooks: z.array(FormsiteGetWebhooks_WebhookConfigSchema).describe(\"List of webhook configurations\"),\n}).describe(\"Response model for getting form webhooks.\");\n\nexport const formsiteGetWebhooks = action(\"FORMSITE_GET_WEBHOOKS\", {\n slug: \"formsite-get-webhooks\",\n name: \"Get Form Webhooks\",\n description: \"Retrieves all webhooks configured for a specific form in FormSite. This action returns webhook configurations including URL, event type (e.g., 'result_completed'), and optional handshake_key for security. Webhooks notify external URLs when form events occur. **Important**: If the connection's base_url doesn't include the user directory, you must provide the 'user_dir' parameter. Find this in your Formsite form URLs (e.g., if URL is https://fs8.formsite.com/user123/forms/abc, user_dir is 'user123') or in Settings -> Integrations -> Formsite API.\",\n input: FormsiteGetWebhooksInput,\n output: FormsiteGetWebhooksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,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,SAAS,oCAAoC;
|
|
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":";;;AAIA,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,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -10,8 +10,8 @@ declare const FormsiteGetWebhooksOutput: z.ZodObject<{
|
|
|
10
10
|
url: z.ZodNullable<z.ZodString>;
|
|
11
11
|
event: z.ZodNullable<z.ZodString>;
|
|
12
12
|
handshake_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
-
}, z.core.$
|
|
14
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>>;
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const formsiteGetWebhooks: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
form_id: string;
|
|
17
17
|
user_dir?: string | undefined;
|
|
@@ -10,8 +10,8 @@ declare const FormsiteGetWebhooksOutput: z.ZodObject<{
|
|
|
10
10
|
url: z.ZodNullable<z.ZodString>;
|
|
11
11
|
event: z.ZodNullable<z.ZodString>;
|
|
12
12
|
handshake_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
-
}, z.core.$
|
|
14
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>>;
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const formsiteGetWebhooks: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
form_id: string;
|
|
17
17
|
user_dir?: string | undefined;
|
|
@@ -9,13 +9,13 @@ const FormsiteGetWebhooks_WebhookConfigSchema = z.object({
|
|
|
9
9
|
url: z.string().describe("The URL where webhook notifications are sent").nullable(),
|
|
10
10
|
event: z.string().describe("The event type that triggers the webhook (e.g., 'result_completed')").nullable(),
|
|
11
11
|
handshake_key: z.string().describe("Optional handshake key for webhook security validation").nullable().optional()
|
|
12
|
-
}).describe("Model for a webhook configuration.");
|
|
12
|
+
}).passthrough().describe("Model for a webhook configuration.");
|
|
13
13
|
const formsiteGetWebhooks = action("FORMSITE_GET_WEBHOOKS", {
|
|
14
14
|
slug: "formsite-get-webhooks",
|
|
15
15
|
name: "Get Form Webhooks",
|
|
16
16
|
description: "Retrieves all webhooks configured for a specific form in FormSite. This action returns webhook configurations including URL, event type (e.g., 'result_completed'), and optional handshake_key for security. Webhooks notify external URLs when form events occur. **Important**: If the connection's base_url doesn't include the user directory, you must provide the 'user_dir' parameter. Find this in your Formsite form URLs (e.g., if URL is https://fs8.formsite.com/user123/forms/abc, user_dir is 'user123') or in Settings -> Integrations -> Formsite API.",
|
|
17
17
|
input: FormsiteGetWebhooksInput,
|
|
18
|
-
output: z.object({ webhooks: z.array(FormsiteGetWebhooks_WebhookConfigSchema).describe("List of webhook configurations") }).describe("Response model for getting form webhooks.")
|
|
18
|
+
output: z.object({ webhooks: z.array(FormsiteGetWebhooks_WebhookConfigSchema).describe("List of webhook configurations") }).passthrough().describe("Response model for getting form webhooks.")
|
|
19
19
|
});
|
|
20
20
|
//#endregion
|
|
21
21
|
export { formsiteGetWebhooks };
|
|
@@ -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}).describe(\"Model for a webhook configuration.\");\nexport const FormsiteGetWebhooksOutput = z.object({\n webhooks: z.array(FormsiteGetWebhooks_WebhookConfigSchema).describe(\"List of webhook configurations\"),\n}).describe(\"Response model for getting form webhooks.\");\n\nexport const formsiteGetWebhooks = action(\"FORMSITE_GET_WEBHOOKS\", {\n slug: \"formsite-get-webhooks\",\n name: \"Get Form Webhooks\",\n description: \"Retrieves all webhooks configured for a specific form in FormSite. This action returns webhook configurations including URL, event type (e.g., 'result_completed'), and optional handshake_key for security. Webhooks notify external URLs when form events occur. **Important**: If the connection's base_url doesn't include the user directory, you must provide the 'user_dir' parameter. Find this in your Formsite form URLs (e.g., if URL is https://fs8.formsite.com/user123/forms/abc, user_dir is 'user123') or in Settings -> Integrations -> Formsite API.\",\n input: FormsiteGetWebhooksInput,\n output: FormsiteGetWebhooksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,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,SAAS,oCAAoC;
|
|
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":";;;AAIA,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,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuC,EAAE,OAAO,EAChD,UAAU,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,gCAAgC,EACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
|
|
@@ -5,11 +5,11 @@ const FormsiteListAllFormsInput = zod.z.object({ user_dir: zod.z.string().descri
|
|
|
5
5
|
const FormsiteListAllForms_FormStatsSchema = zod.z.object({
|
|
6
6
|
filesSize: zod.z.number().int().describe("The total size, in bytes, of any uploaded files the form is storing.").nullable(),
|
|
7
7
|
resultsCount: zod.z.number().int().describe("The number of results the form is storing.").nullable()
|
|
8
|
-
}).describe("Model for form statistics.");
|
|
8
|
+
}).passthrough().describe("Model for form statistics.");
|
|
9
9
|
const FormsiteListAllForms_FormPublishSchema = zod.z.object({
|
|
10
10
|
link: zod.z.string().describe("The form's share link.").nullable(),
|
|
11
11
|
embed_code: zod.z.string().describe("The form's share embed code.").nullable()
|
|
12
|
-
}).describe("Model for form publish information.");
|
|
12
|
+
}).passthrough().describe("Model for form publish information.");
|
|
13
13
|
const FormsiteListAllForms_FormInfoSchema = zod.z.object({
|
|
14
14
|
name: zod.z.string().describe("The form's name.").nullable(),
|
|
15
15
|
state: zod.z.string().describe("The form's open/close state. If open, value is 'open'. If closed, begins with 'closed' followed by reason.").nullable(),
|
|
@@ -17,8 +17,8 @@ const FormsiteListAllForms_FormInfoSchema = zod.z.object({
|
|
|
17
17
|
publish: FormsiteListAllForms_FormPublishSchema.nullable(),
|
|
18
18
|
directory: zod.z.string().describe("The form's URL directory.").nullable(),
|
|
19
19
|
description: zod.z.string().describe("Optional. The form's description, if set on form's Settings -> General page.").nullable().optional()
|
|
20
|
-
}).describe("Model for individual form information.");
|
|
21
|
-
const FormsiteListAllFormsOutput = zod.z.object({ forms: zod.z.array(FormsiteListAllForms_FormInfoSchema).describe("List of forms with their details.") }).describe("Response model for List All Forms action.");
|
|
20
|
+
}).passthrough().describe("Model for individual form information.");
|
|
21
|
+
const FormsiteListAllFormsOutput = zod.z.object({ forms: zod.z.array(FormsiteListAllForms_FormInfoSchema).describe("List of forms with their details.") }).passthrough().describe("Response model for List All Forms action.");
|
|
22
22
|
const formsiteListAllForms = require_action.action("FORMSITE_LIST_ALL_FORMS", {
|
|
23
23
|
slug: "formsite-list-all-forms",
|
|
24
24
|
name: "List All Forms",
|
|
@@ -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}).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}).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}).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}).describe(\"Response model for List All Forms action.\");\n\nexport const formsiteListAllForms = action(\"FORMSITE_LIST_ALL_FORMS\", {\n slug: \"formsite-list-all-forms\",\n name: \"List All Forms\",\n description: \"Retrieves a list of all forms in the user's Formsite account. This action returns detailed information about each form including: - Form directory (identifier for accessing the form via API) - Form name (the display name of the form) - Description (optional internal description) - Publish information (embed code and public link) - State (open/closed status) - Statistics (file storage size and results count) The form directory returned by this action can be used with other Formsite actions like Get Form Details, Get Form Items, and Get Form Results. **Important**: If the connection's base_url doesn't include the user directory, you must provide the 'user_dir' parameter. Find this in your Formsite form URLs (e.g., if URL is https://fs8.formsite.com/user123/forms/abc, user_dir is 'user123') or in Settings -> Integrations -> Formsite API.\",\n input: FormsiteListAllFormsInput,\n output: FormsiteListAllFormsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,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,SAAS,4BAA4B;
|
|
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":";;;AAIA,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,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,15 +11,15 @@ declare const FormsiteListAllFormsOutput: z.ZodObject<{
|
|
|
11
11
|
stats: z.ZodNullable<z.ZodObject<{
|
|
12
12
|
filesSize: z.ZodNullable<z.ZodNumber>;
|
|
13
13
|
resultsCount: z.ZodNullable<z.ZodNumber>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>;
|
|
15
15
|
publish: z.ZodNullable<z.ZodObject<{
|
|
16
16
|
link: z.ZodNullable<z.ZodString>;
|
|
17
17
|
embed_code: z.ZodNullable<z.ZodString>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>;
|
|
19
19
|
directory: z.ZodNullable<z.ZodString>;
|
|
20
20
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
-
}, z.core.$
|
|
22
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>>;
|
|
22
|
+
}, z.core.$loose>;
|
|
23
23
|
declare const formsiteListAllForms: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
24
|
user_dir?: string | undefined;
|
|
25
25
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -11,15 +11,15 @@ declare const FormsiteListAllFormsOutput: z.ZodObject<{
|
|
|
11
11
|
stats: z.ZodNullable<z.ZodObject<{
|
|
12
12
|
filesSize: z.ZodNullable<z.ZodNumber>;
|
|
13
13
|
resultsCount: z.ZodNullable<z.ZodNumber>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>;
|
|
15
15
|
publish: z.ZodNullable<z.ZodObject<{
|
|
16
16
|
link: z.ZodNullable<z.ZodString>;
|
|
17
17
|
embed_code: z.ZodNullable<z.ZodString>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>;
|
|
19
19
|
directory: z.ZodNullable<z.ZodString>;
|
|
20
20
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
-
}, z.core.$
|
|
22
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>>;
|
|
22
|
+
}, z.core.$loose>;
|
|
23
23
|
declare const formsiteListAllForms: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
24
|
user_dir?: string | undefined;
|
|
25
25
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -5,11 +5,11 @@ const FormsiteListAllFormsInput = z.object({ user_dir: z.string().describe("The
|
|
|
5
5
|
const FormsiteListAllForms_FormStatsSchema = z.object({
|
|
6
6
|
filesSize: z.number().int().describe("The total size, in bytes, of any uploaded files the form is storing.").nullable(),
|
|
7
7
|
resultsCount: z.number().int().describe("The number of results the form is storing.").nullable()
|
|
8
|
-
}).describe("Model for form statistics.");
|
|
8
|
+
}).passthrough().describe("Model for form statistics.");
|
|
9
9
|
const FormsiteListAllForms_FormPublishSchema = z.object({
|
|
10
10
|
link: z.string().describe("The form's share link.").nullable(),
|
|
11
11
|
embed_code: z.string().describe("The form's share embed code.").nullable()
|
|
12
|
-
}).describe("Model for form publish information.");
|
|
12
|
+
}).passthrough().describe("Model for form publish information.");
|
|
13
13
|
const FormsiteListAllForms_FormInfoSchema = z.object({
|
|
14
14
|
name: z.string().describe("The form's name.").nullable(),
|
|
15
15
|
state: z.string().describe("The form's open/close state. If open, value is 'open'. If closed, begins with 'closed' followed by reason.").nullable(),
|
|
@@ -17,13 +17,13 @@ const FormsiteListAllForms_FormInfoSchema = z.object({
|
|
|
17
17
|
publish: FormsiteListAllForms_FormPublishSchema.nullable(),
|
|
18
18
|
directory: z.string().describe("The form's URL directory.").nullable(),
|
|
19
19
|
description: z.string().describe("Optional. The form's description, if set on form's Settings -> General page.").nullable().optional()
|
|
20
|
-
}).describe("Model for individual form information.");
|
|
20
|
+
}).passthrough().describe("Model for individual form information.");
|
|
21
21
|
const formsiteListAllForms = action("FORMSITE_LIST_ALL_FORMS", {
|
|
22
22
|
slug: "formsite-list-all-forms",
|
|
23
23
|
name: "List All Forms",
|
|
24
24
|
description: "Retrieves a list of all forms in the user's Formsite account. This action returns detailed information about each form including: - Form directory (identifier for accessing the form via API) - Form name (the display name of the form) - Description (optional internal description) - Publish information (embed code and public link) - State (open/closed status) - Statistics (file storage size and results count) The form directory returned by this action can be used with other Formsite actions like Get Form Details, Get Form Items, and Get Form Results. **Important**: If the connection's base_url doesn't include the user directory, you must provide the 'user_dir' parameter. Find this in your Formsite form URLs (e.g., if URL is https://fs8.formsite.com/user123/forms/abc, user_dir is 'user123') or in Settings -> Integrations -> Formsite API.",
|
|
25
25
|
input: FormsiteListAllFormsInput,
|
|
26
|
-
output: z.object({ forms: z.array(FormsiteListAllForms_FormInfoSchema).describe("List of forms with their details.") }).describe("Response model for List All Forms action.")
|
|
26
|
+
output: z.object({ forms: z.array(FormsiteListAllForms_FormInfoSchema).describe("List of forms with their details.") }).passthrough().describe("Response model for List All Forms action.")
|
|
27
27
|
});
|
|
28
28
|
//#endregion
|
|
29
29
|
export { formsiteListAllForms };
|
|
@@ -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}).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}).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}).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}).describe(\"Response model for List All Forms action.\");\n\nexport const formsiteListAllForms = action(\"FORMSITE_LIST_ALL_FORMS\", {\n slug: \"formsite-list-all-forms\",\n name: \"List All Forms\",\n description: \"Retrieves a list of all forms in the user's Formsite account. This action returns detailed information about each form including: - Form directory (identifier for accessing the form via API) - Form name (the display name of the form) - Description (optional internal description) - Publish information (embed code and public link) - State (open/closed status) - Statistics (file storage size and results count) The form directory returned by this action can be used with other Formsite actions like Get Form Details, Get Form Items, and Get Form Results. **Important**: If the connection's base_url doesn't include the user directory, you must provide the 'user_dir' parameter. Find this in your Formsite form URLs (e.g., if URL is https://fs8.formsite.com/user123/forms/abc, user_dir is 'user123') or in Settings -> Integrations -> Formsite API.\",\n input: FormsiteListAllFormsInput,\n output: FormsiteListAllFormsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,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,SAAS,4BAA4B;
|
|
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":";;;AAIA,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,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwC,EAAE,OAAO,EACjD,OAAO,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,mCAAmC,EAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
|
package/dist/catalog.cjs
CHANGED
|
@@ -13,7 +13,7 @@ const formsiteCatalog = {
|
|
|
13
13
|
"label": "Formsite API Base URL",
|
|
14
14
|
"description": "Your Formsite API base URL. Example: https://fs8.formsite.com/api/v2/YOUR_USER_ID"
|
|
15
15
|
},
|
|
16
|
-
"
|
|
16
|
+
"generic_api_key": {
|
|
17
17
|
"label": "API Key",
|
|
18
18
|
"secret": true,
|
|
19
19
|
"description": "The API key generated from your Formsite account."
|
package/dist/catalog.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const formsiteCatalog = {\n \"slug\": \"formsite\",\n \"name\": \"Formsite\",\n \"description\": \"Formsite helps users create online forms and surveys with drag-and-drop tools, secure data capture, and integrations to simplify workflows\",\n \"category\": \"Forms & Surveys\",\n \"logo\": \"https://logos.composio.dev/api/formsite\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"full\": {\n \"label\": \"Formsite API Base URL\",\n \"description\": \"Your Formsite API base URL. Example: https://fs8.formsite.com/api/v2/YOUR_USER_ID\"\n },\n \"
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const formsiteCatalog = {\n \"slug\": \"formsite\",\n \"name\": \"Formsite\",\n \"description\": \"Formsite helps users create online forms and surveys with drag-and-drop tools, secure data capture, and integrations to simplify workflows\",\n \"category\": \"Forms & Surveys\",\n \"logo\": \"https://logos.composio.dev/api/formsite\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"full\": {\n \"label\": \"Formsite API Base URL\",\n \"description\": \"Your Formsite API base URL. Example: https://fs8.formsite.com/api/v2/YOUR_USER_ID\"\n },\n \"generic_api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"The API key generated from your Formsite account.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,QAAQ;GACN,SAAS;GACT,eAAe;EACjB;EACA,mBAAmB;GACjB,SAAS;GACT,UAAU;GACV,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
|
package/dist/catalog.d.cts
CHANGED
|
@@ -13,7 +13,7 @@ declare const formsiteCatalog: {
|
|
|
13
13
|
readonly label: "Formsite API Base URL";
|
|
14
14
|
readonly description: "Your Formsite API base URL. Example: https://fs8.formsite.com/api/v2/YOUR_USER_ID";
|
|
15
15
|
};
|
|
16
|
-
readonly
|
|
16
|
+
readonly generic_api_key: {
|
|
17
17
|
readonly label: "API Key";
|
|
18
18
|
readonly secret: true;
|
|
19
19
|
readonly description: "The API key generated from your Formsite account.";
|
package/dist/catalog.d.mts
CHANGED
|
@@ -13,7 +13,7 @@ declare const formsiteCatalog: {
|
|
|
13
13
|
readonly label: "Formsite API Base URL";
|
|
14
14
|
readonly description: "Your Formsite API base URL. Example: https://fs8.formsite.com/api/v2/YOUR_USER_ID";
|
|
15
15
|
};
|
|
16
|
-
readonly
|
|
16
|
+
readonly generic_api_key: {
|
|
17
17
|
readonly label: "API Key";
|
|
18
18
|
readonly secret: true;
|
|
19
19
|
readonly description: "The API key generated from your Formsite account.";
|
package/dist/catalog.mjs
CHANGED
|
@@ -13,7 +13,7 @@ const formsiteCatalog = {
|
|
|
13
13
|
"label": "Formsite API Base URL",
|
|
14
14
|
"description": "Your Formsite API base URL. Example: https://fs8.formsite.com/api/v2/YOUR_USER_ID"
|
|
15
15
|
},
|
|
16
|
-
"
|
|
16
|
+
"generic_api_key": {
|
|
17
17
|
"label": "API Key",
|
|
18
18
|
"secret": true,
|
|
19
19
|
"description": "The API key generated from your Formsite account."
|
package/dist/catalog.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const formsiteCatalog = {\n \"slug\": \"formsite\",\n \"name\": \"Formsite\",\n \"description\": \"Formsite helps users create online forms and surveys with drag-and-drop tools, secure data capture, and integrations to simplify workflows\",\n \"category\": \"Forms & Surveys\",\n \"logo\": \"https://logos.composio.dev/api/formsite\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"full\": {\n \"label\": \"Formsite API Base URL\",\n \"description\": \"Your Formsite API base URL. Example: https://fs8.formsite.com/api/v2/YOUR_USER_ID\"\n },\n \"
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const formsiteCatalog = {\n \"slug\": \"formsite\",\n \"name\": \"Formsite\",\n \"description\": \"Formsite helps users create online forms and surveys with drag-and-drop tools, secure data capture, and integrations to simplify workflows\",\n \"category\": \"Forms & Surveys\",\n \"logo\": \"https://logos.composio.dev/api/formsite\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"full\": {\n \"label\": \"Formsite API Base URL\",\n \"description\": \"Your Formsite API base URL. Example: https://fs8.formsite.com/api/v2/YOUR_USER_ID\"\n },\n \"generic_api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"The API key generated from your Formsite account.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,QAAQ;GACN,SAAS;GACT,eAAe;EACjB;EACA,mBAAmB;GACjB,SAAS;GACT,UAAU;GACV,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
|