@keystrokehq/simplesat 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/create-or-update-customer2.cjs +1 -1
- package/dist/actions/create-or-update-customer2.cjs.map +1 -1
- package/dist/actions/create-or-update-customer2.d.cts +1 -1
- package/dist/actions/create-or-update-customer2.d.mts +1 -1
- package/dist/actions/create-or-update-customer2.mjs +1 -1
- package/dist/actions/create-or-update-customer2.mjs.map +1 -1
- package/dist/actions/create-or-update-team-member.cjs +1 -1
- package/dist/actions/create-or-update-team-member.cjs.map +1 -1
- package/dist/actions/create-or-update-team-member.d.cts +1 -1
- package/dist/actions/create-or-update-team-member.d.mts +1 -1
- package/dist/actions/create-or-update-team-member.mjs +1 -1
- package/dist/actions/create-or-update-team-member.mjs.map +1 -1
- package/dist/actions/get-customer.cjs +2 -2
- package/dist/actions/get-customer.cjs.map +1 -1
- package/dist/actions/get-customer.d.cts +2 -2
- package/dist/actions/get-customer.d.mts +2 -2
- package/dist/actions/get-customer.mjs +2 -2
- package/dist/actions/get-customer.mjs.map +1 -1
- package/dist/actions/list-questions.cjs +5 -5
- package/dist/actions/list-questions.cjs.map +1 -1
- package/dist/actions/list-questions.d.cts +5 -5
- package/dist/actions/list-questions.d.mts +5 -5
- package/dist/actions/list-questions.mjs +5 -5
- package/dist/actions/list-questions.mjs.map +1 -1
- package/dist/actions/list-surveys.cjs +2 -2
- package/dist/actions/list-surveys.cjs.map +1 -1
- package/dist/actions/list-surveys.d.cts +2 -2
- package/dist/actions/list-surveys.d.mts +2 -2
- package/dist/actions/list-surveys.mjs +2 -2
- package/dist/actions/list-surveys.mjs.map +1 -1
- package/dist/actions/search-answers.cjs +9 -9
- package/dist/actions/search-answers.cjs.map +1 -1
- package/dist/actions/search-answers.d.cts +13 -12
- package/dist/actions/search-answers.d.mts +13 -12
- package/dist/actions/search-answers.mjs +9 -9
- package/dist/actions/search-answers.mjs.map +1 -1
- package/dist/actions/search-responses.cjs +3 -3
- package/dist/actions/search-responses.cjs.map +1 -1
- package/dist/actions/search-responses.d.cts +4 -3
- package/dist/actions/search-responses.d.mts +4 -3
- package/dist/actions/search-responses.mjs +3 -3
- package/dist/actions/search-responses.mjs.map +1 -1
- package/dist/actions/update-customer.cjs +2 -2
- package/dist/actions/update-customer.cjs.map +1 -1
- package/dist/actions/update-customer.d.cts +3 -3
- package/dist/actions/update-customer.d.mts +3 -3
- package/dist/actions/update-customer.mjs +2 -2
- package/dist/actions/update-customer.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
|
@@ -17,7 +17,7 @@ const SimplesatCreateOrUpdateCustomer2Output = zod.z.object({
|
|
|
17
17
|
company: zod.z.string().describe("Company name of the customer").nullable().optional(),
|
|
18
18
|
external_id: zod.z.string().describe("External ID for integrations with other systems").nullable().optional(),
|
|
19
19
|
custom_attributes: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom attributes of the customer").nullable().optional()
|
|
20
|
-
}).describe("Response model for creating or updating a customer.");
|
|
20
|
+
}).passthrough().describe("Response model for creating or updating a customer.");
|
|
21
21
|
const simplesatCreateOrUpdateCustomer2 = require_action.action("SIMPLESAT_CREATE_OR_UPDATE_CUSTOMER2", {
|
|
22
22
|
slug: "simplesat-create-or-update-customer2",
|
|
23
23
|
name: "Create or Update Customer V2",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-or-update-customer2.cjs","names":["z","action"],"sources":["../../src/actions/create-or-update-customer2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplesatCreateOrUpdateCustomer2Input = z.object({\n name: z.string().describe(\"Full name of the customer\").optional(),\n tags: z.array(z.string()).describe(\"Array of tag strings to associate with the customer\").optional(),\n email: z.string().describe(\"Email address of the customer (used as unique identifier)\"),\n company: z.string().describe(\"Company name of the customer\").optional(),\n external_id: z.string().describe(\"External ID for the customer from your system for integrations with other systems\").optional(),\n custom_attributes: z.record(z.string(), z.unknown()).describe(\"Object with custom attribute key-value pairs. Any custom attribute fields that didn't previously exist will be created.\").optional(),\n}).describe(\"Request model for creating or updating a customer.\");\nexport const SimplesatCreateOrUpdateCustomer2Output = z.object({\n id: z.number().int().describe(\"Unique identifier of the customer in Simplesat\").nullable(),\n name: z.string().describe(\"Full name of the customer\").nullable().optional(),\n tags: z.array(z.string()).describe(\"List of tags associated with the customer\").nullable().optional(),\n email: z.string().describe(\"Email address of the customer\").nullable(),\n company: z.string().describe(\"Company name of the customer\").nullable().optional(),\n external_id: z.string().describe(\"External ID for integrations with other systems\").nullable().optional(),\n custom_attributes: z.record(z.string(), z.unknown()).describe(\"Custom attributes of the customer\").nullable().optional(),\n}).describe(\"Response model for creating or updating a customer.\");\n\nexport const simplesatCreateOrUpdateCustomer2 = action(\"SIMPLESAT_CREATE_OR_UPDATE_CUSTOMER2\", {\n slug: \"simplesat-create-or-update-customer2\",\n name: \"Create or Update Customer V2\",\n description: \"Tool to create a new customer or update an existing customer if one already exists with the same email. Use when you need to add or modify customer information including name, email, company, tags, external_id, and custom attributes.\",\n input: SimplesatCreateOrUpdateCustomer2Input,\n output: SimplesatCreateOrUpdateCustomer2Output,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACnG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACtF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACtE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC/H,mBAAmBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;AACpM,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,mBAAmBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,qDAAqD;
|
|
1
|
+
{"version":3,"file":"create-or-update-customer2.cjs","names":["z","action"],"sources":["../../src/actions/create-or-update-customer2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplesatCreateOrUpdateCustomer2Input = z.object({\n name: z.string().describe(\"Full name of the customer\").optional(),\n tags: z.array(z.string()).describe(\"Array of tag strings to associate with the customer\").optional(),\n email: z.string().describe(\"Email address of the customer (used as unique identifier)\"),\n company: z.string().describe(\"Company name of the customer\").optional(),\n external_id: z.string().describe(\"External ID for the customer from your system for integrations with other systems\").optional(),\n custom_attributes: z.record(z.string(), z.unknown()).describe(\"Object with custom attribute key-value pairs. Any custom attribute fields that didn't previously exist will be created.\").optional(),\n}).describe(\"Request model for creating or updating a customer.\");\nexport const SimplesatCreateOrUpdateCustomer2Output = z.object({\n id: z.number().int().describe(\"Unique identifier of the customer in Simplesat\").nullable(),\n name: z.string().describe(\"Full name of the customer\").nullable().optional(),\n tags: z.array(z.string()).describe(\"List of tags associated with the customer\").nullable().optional(),\n email: z.string().describe(\"Email address of the customer\").nullable(),\n company: z.string().describe(\"Company name of the customer\").nullable().optional(),\n external_id: z.string().describe(\"External ID for integrations with other systems\").nullable().optional(),\n custom_attributes: z.record(z.string(), z.unknown()).describe(\"Custom attributes of the customer\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating or updating a customer.\");\n\nexport const simplesatCreateOrUpdateCustomer2 = action(\"SIMPLESAT_CREATE_OR_UPDATE_CUSTOMER2\", {\n slug: \"simplesat-create-or-update-customer2\",\n name: \"Create or Update Customer V2\",\n description: \"Tool to create a new customer or update an existing customer if one already exists with the same email. Use when you need to add or modify customer information including name, email, company, tags, external_id, and custom attributes.\",\n input: SimplesatCreateOrUpdateCustomer2Input,\n output: SimplesatCreateOrUpdateCustomer2Output,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACnG,OAAOA,IAA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,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -17,7 +17,7 @@ declare const SimplesatCreateOrUpdateCustomer2Output: z.ZodObject<{
|
|
|
17
17
|
company: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
custom_attributes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>;
|
|
21
21
|
declare const simplesatCreateOrUpdateCustomer2: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
22
|
email: string;
|
|
23
23
|
name?: string | undefined;
|
|
@@ -17,7 +17,7 @@ declare const SimplesatCreateOrUpdateCustomer2Output: z.ZodObject<{
|
|
|
17
17
|
company: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
custom_attributes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>;
|
|
21
21
|
declare const simplesatCreateOrUpdateCustomer2: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
22
|
email: string;
|
|
23
23
|
name?: string | undefined;
|
|
@@ -20,7 +20,7 @@ const simplesatCreateOrUpdateCustomer2 = action("SIMPLESAT_CREATE_OR_UPDATE_CUST
|
|
|
20
20
|
company: z.string().describe("Company name of the customer").nullable().optional(),
|
|
21
21
|
external_id: z.string().describe("External ID for integrations with other systems").nullable().optional(),
|
|
22
22
|
custom_attributes: z.record(z.string(), z.unknown()).describe("Custom attributes of the customer").nullable().optional()
|
|
23
|
-
}).describe("Response model for creating or updating a customer.")
|
|
23
|
+
}).passthrough().describe("Response model for creating or updating a customer.")
|
|
24
24
|
});
|
|
25
25
|
//#endregion
|
|
26
26
|
export { simplesatCreateOrUpdateCustomer2 };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-or-update-customer2.mjs","names":[],"sources":["../../src/actions/create-or-update-customer2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplesatCreateOrUpdateCustomer2Input = z.object({\n name: z.string().describe(\"Full name of the customer\").optional(),\n tags: z.array(z.string()).describe(\"Array of tag strings to associate with the customer\").optional(),\n email: z.string().describe(\"Email address of the customer (used as unique identifier)\"),\n company: z.string().describe(\"Company name of the customer\").optional(),\n external_id: z.string().describe(\"External ID for the customer from your system for integrations with other systems\").optional(),\n custom_attributes: z.record(z.string(), z.unknown()).describe(\"Object with custom attribute key-value pairs. Any custom attribute fields that didn't previously exist will be created.\").optional(),\n}).describe(\"Request model for creating or updating a customer.\");\nexport const SimplesatCreateOrUpdateCustomer2Output = z.object({\n id: z.number().int().describe(\"Unique identifier of the customer in Simplesat\").nullable(),\n name: z.string().describe(\"Full name of the customer\").nullable().optional(),\n tags: z.array(z.string()).describe(\"List of tags associated with the customer\").nullable().optional(),\n email: z.string().describe(\"Email address of the customer\").nullable(),\n company: z.string().describe(\"Company name of the customer\").nullable().optional(),\n external_id: z.string().describe(\"External ID for integrations with other systems\").nullable().optional(),\n custom_attributes: z.record(z.string(), z.unknown()).describe(\"Custom attributes of the customer\").nullable().optional(),\n}).describe(\"Response model for creating or updating a customer.\");\n\nexport const simplesatCreateOrUpdateCustomer2 = action(\"SIMPLESAT_CREATE_OR_UPDATE_CUSTOMER2\", {\n slug: \"simplesat-create-or-update-customer2\",\n name: \"Create or Update Customer V2\",\n description: \"Tool to create a new customer or update an existing customer if one already exists with the same email. Use when you need to add or modify customer information including name, email, company, tags, external_id, and custom attributes.\",\n input: SimplesatCreateOrUpdateCustomer2Input,\n output: SimplesatCreateOrUpdateCustomer2Output,\n});\n"],"mappings":";;AAsBA,MAAa,mCAAmC,OAAO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;CACzH,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"create-or-update-customer2.mjs","names":[],"sources":["../../src/actions/create-or-update-customer2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplesatCreateOrUpdateCustomer2Input = z.object({\n name: z.string().describe(\"Full name of the customer\").optional(),\n tags: z.array(z.string()).describe(\"Array of tag strings to associate with the customer\").optional(),\n email: z.string().describe(\"Email address of the customer (used as unique identifier)\"),\n company: z.string().describe(\"Company name of the customer\").optional(),\n external_id: z.string().describe(\"External ID for the customer from your system for integrations with other systems\").optional(),\n custom_attributes: z.record(z.string(), z.unknown()).describe(\"Object with custom attribute key-value pairs. Any custom attribute fields that didn't previously exist will be created.\").optional(),\n}).describe(\"Request model for creating or updating a customer.\");\nexport const SimplesatCreateOrUpdateCustomer2Output = z.object({\n id: z.number().int().describe(\"Unique identifier of the customer in Simplesat\").nullable(),\n name: z.string().describe(\"Full name of the customer\").nullable().optional(),\n tags: z.array(z.string()).describe(\"List of tags associated with the customer\").nullable().optional(),\n email: z.string().describe(\"Email address of the customer\").nullable(),\n company: z.string().describe(\"Company name of the customer\").nullable().optional(),\n external_id: z.string().describe(\"External ID for integrations with other systems\").nullable().optional(),\n custom_attributes: z.record(z.string(), z.unknown()).describe(\"Custom attributes of the customer\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating or updating a customer.\");\n\nexport const simplesatCreateOrUpdateCustomer2 = action(\"SIMPLESAT_CREATE_OR_UPDATE_CUSTOMER2\", {\n slug: \"simplesat-create-or-update-customer2\",\n name: \"Create or Update Customer V2\",\n description: \"Tool to create a new customer or update an existing customer if one already exists with the same email. Use when you need to add or modify customer information including name, email, company, tags, external_id, and custom attributes.\",\n input: SimplesatCreateOrUpdateCustomer2Input,\n output: SimplesatCreateOrUpdateCustomer2Output,\n});\n"],"mappings":";;AAsBA,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aA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C,SAAS,qDAOhB;AACV,CAAC"}
|
|
@@ -18,7 +18,7 @@ const SimplesatCreateOrUpdateTeamMemberOutput = zod.z.object({
|
|
|
18
18
|
first_name: zod.z.string().describe("First name of the team member").nullable(),
|
|
19
19
|
external_id: zod.z.string().describe("External identifier for the team member from an integrated system").nullable().optional(),
|
|
20
20
|
custom_attributes: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom attributes associated with the team member").nullable().optional()
|
|
21
|
-
}).describe("Response model for creating or updating a team member.");
|
|
21
|
+
}).passthrough().describe("Response model for creating or updating a team member.");
|
|
22
22
|
const simplesatCreateOrUpdateTeamMember = require_action.action("SIMPLESAT_CREATE_OR_UPDATE_TEAM_MEMBER", {
|
|
23
23
|
slug: "simplesat-create-or-update-team-member",
|
|
24
24
|
name: "Create or Update Team Member",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-or-update-team-member.cjs","names":["z","action"],"sources":["../../src/actions/create-or-update-team-member.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplesatCreateOrUpdateTeamMemberInput = z.object({\n email: z.string().describe(\"Email address of the team member\"),\n phone: z.string().describe(\"Phone number of the team member\").optional(),\n title: z.string().describe(\"Job title of the team member\").optional(),\n last_name: z.string().describe(\"Last name of the team member\"),\n first_name: z.string().describe(\"First name of the team member\"),\n}).describe(\"Request model for creating or updating a team member.\");\nexport const SimplesatCreateOrUpdateTeamMemberOutput = z.object({\n id: z.string().describe(\"Unique identifier of the team member in Simplesat\").nullable(),\n name: z.string().describe(\"Full name of the team member (may be auto-generated from first and last name)\").nullable().optional(),\n email: z.string().describe(\"Email address of the team member\").nullable(),\n phone: z.string().describe(\"Phone number of the team member\").nullable().optional(),\n title: z.string().describe(\"Job title of the team member\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the team member\").nullable(),\n first_name: z.string().describe(\"First name of the team member\").nullable(),\n external_id: z.string().describe(\"External identifier for the team member from an integrated system\").nullable().optional(),\n custom_attributes: z.record(z.string(), z.unknown()).describe(\"Custom attributes associated with the team member\").nullable().optional(),\n}).describe(\"Response model for creating or updating a team member.\");\n\nexport const simplesatCreateOrUpdateTeamMember = action(\"SIMPLESAT_CREATE_OR_UPDATE_TEAM_MEMBER\", {\n slug: \"simplesat-create-or-update-team-member\",\n name: \"Create or Update Team Member\",\n description: \"This tool creates a new team member or updates an existing one if a team member with the same email address is found. It is an independent action that requires only basic team member information (email, first_name, last_name, and optionally title and phone) and does not depend on any other resource IDs.\",\n input: SimplesatCreateOrUpdateTeamMemberInput,\n output: SimplesatCreateOrUpdateTeamMemberOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACpE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC7D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;AACjE,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACtF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC1E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,mBAAmBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzI,CAAC,CAAC,CAAC,SAAS,wDAAwD;
|
|
1
|
+
{"version":3,"file":"create-or-update-team-member.cjs","names":["z","action"],"sources":["../../src/actions/create-or-update-team-member.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplesatCreateOrUpdateTeamMemberInput = z.object({\n email: z.string().describe(\"Email address of the team member\"),\n phone: z.string().describe(\"Phone number of the team member\").optional(),\n title: z.string().describe(\"Job title of the team member\").optional(),\n last_name: z.string().describe(\"Last name of the team member\"),\n first_name: z.string().describe(\"First name of the team member\"),\n}).describe(\"Request model for creating or updating a team member.\");\nexport const SimplesatCreateOrUpdateTeamMemberOutput = z.object({\n id: z.string().describe(\"Unique identifier of the team member in Simplesat\").nullable(),\n name: z.string().describe(\"Full name of the team member (may be auto-generated from first and last name)\").nullable().optional(),\n email: z.string().describe(\"Email address of the team member\").nullable(),\n phone: z.string().describe(\"Phone number of the team member\").nullable().optional(),\n title: z.string().describe(\"Job title of the team member\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the team member\").nullable(),\n first_name: z.string().describe(\"First name of the team member\").nullable(),\n external_id: z.string().describe(\"External identifier for the team member from an integrated system\").nullable().optional(),\n custom_attributes: z.record(z.string(), z.unknown()).describe(\"Custom attributes associated with the team member\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating or updating a team member.\");\n\nexport const simplesatCreateOrUpdateTeamMember = action(\"SIMPLESAT_CREATE_OR_UPDATE_TEAM_MEMBER\", {\n slug: \"simplesat-create-or-update-team-member\",\n name: \"Create or Update Team Member\",\n description: \"This tool creates a new team member or updates an existing one if a team member with the same email address is found. It is an independent action that requires only basic team member information (email, first_name, last_name, and optionally title and phone) and does not depend on any other resource IDs.\",\n input: SimplesatCreateOrUpdateTeamMemberInput,\n output: SimplesatCreateOrUpdateTeamMemberOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACpE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC7D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;AACjE,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACtF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC1E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,mBAAmBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,oCAAoCC,eAAAA,OAAO,0CAA0C;CAChG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -18,7 +18,7 @@ declare const SimplesatCreateOrUpdateTeamMemberOutput: z.ZodObject<{
|
|
|
18
18
|
first_name: z.ZodNullable<z.ZodString>;
|
|
19
19
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
custom_attributes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>;
|
|
22
22
|
declare const simplesatCreateOrUpdateTeamMember: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
email: string;
|
|
24
24
|
last_name: string;
|
|
@@ -18,7 +18,7 @@ declare const SimplesatCreateOrUpdateTeamMemberOutput: z.ZodObject<{
|
|
|
18
18
|
first_name: z.ZodNullable<z.ZodString>;
|
|
19
19
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
custom_attributes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>;
|
|
22
22
|
declare const simplesatCreateOrUpdateTeamMember: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
email: string;
|
|
24
24
|
last_name: string;
|
|
@@ -21,7 +21,7 @@ const simplesatCreateOrUpdateTeamMember = action("SIMPLESAT_CREATE_OR_UPDATE_TEA
|
|
|
21
21
|
first_name: z.string().describe("First name of the team member").nullable(),
|
|
22
22
|
external_id: z.string().describe("External identifier for the team member from an integrated system").nullable().optional(),
|
|
23
23
|
custom_attributes: z.record(z.string(), z.unknown()).describe("Custom attributes associated with the team member").nullable().optional()
|
|
24
|
-
}).describe("Response model for creating or updating a team member.")
|
|
24
|
+
}).passthrough().describe("Response model for creating or updating a team member.")
|
|
25
25
|
});
|
|
26
26
|
//#endregion
|
|
27
27
|
export { simplesatCreateOrUpdateTeamMember };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-or-update-team-member.mjs","names":[],"sources":["../../src/actions/create-or-update-team-member.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplesatCreateOrUpdateTeamMemberInput = z.object({\n email: z.string().describe(\"Email address of the team member\"),\n phone: z.string().describe(\"Phone number of the team member\").optional(),\n title: z.string().describe(\"Job title of the team member\").optional(),\n last_name: z.string().describe(\"Last name of the team member\"),\n first_name: z.string().describe(\"First name of the team member\"),\n}).describe(\"Request model for creating or updating a team member.\");\nexport const SimplesatCreateOrUpdateTeamMemberOutput = z.object({\n id: z.string().describe(\"Unique identifier of the team member in Simplesat\").nullable(),\n name: z.string().describe(\"Full name of the team member (may be auto-generated from first and last name)\").nullable().optional(),\n email: z.string().describe(\"Email address of the team member\").nullable(),\n phone: z.string().describe(\"Phone number of the team member\").nullable().optional(),\n title: z.string().describe(\"Job title of the team member\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the team member\").nullable(),\n first_name: z.string().describe(\"First name of the team member\").nullable(),\n external_id: z.string().describe(\"External identifier for the team member from an integrated system\").nullable().optional(),\n custom_attributes: z.record(z.string(), z.unknown()).describe(\"Custom attributes associated with the team member\").nullable().optional(),\n}).describe(\"Response model for creating or updating a team member.\");\n\nexport const simplesatCreateOrUpdateTeamMember = action(\"SIMPLESAT_CREATE_OR_UPDATE_TEAM_MEMBER\", {\n slug: \"simplesat-create-or-update-team-member\",\n name: \"Create or Update Team Member\",\n description: \"This tool creates a new team member or updates an existing one if a team member with the same email address is found. It is an independent action that requires only basic team member information (email, first_name, last_name, and optionally title and phone) and does not depend on any other resource IDs.\",\n input: SimplesatCreateOrUpdateTeamMemberInput,\n output: SimplesatCreateOrUpdateTeamMemberOutput,\n});\n"],"mappings":";;AAuBA,MAAa,oCAAoC,OAAO,0CAA0C;CAChG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBoD,EAAE,OAAO;EAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACvE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACpE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;EAC7D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACjE,CAAC,CAAC,CAAC,SAAS,uDAiBH;CACP,QAjBqD,EAAE,OAAO;EAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACtF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACxE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACxE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EAC1E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,mBAAmB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"create-or-update-team-member.mjs","names":[],"sources":["../../src/actions/create-or-update-team-member.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplesatCreateOrUpdateTeamMemberInput = z.object({\n email: z.string().describe(\"Email address of the team member\"),\n phone: z.string().describe(\"Phone number of the team member\").optional(),\n title: z.string().describe(\"Job title of the team member\").optional(),\n last_name: z.string().describe(\"Last name of the team member\"),\n first_name: z.string().describe(\"First name of the team member\"),\n}).describe(\"Request model for creating or updating a team member.\");\nexport const SimplesatCreateOrUpdateTeamMemberOutput = z.object({\n id: z.string().describe(\"Unique identifier of the team member in Simplesat\").nullable(),\n name: z.string().describe(\"Full name of the team member (may be auto-generated from first and last name)\").nullable().optional(),\n email: z.string().describe(\"Email address of the team member\").nullable(),\n phone: z.string().describe(\"Phone number of the team member\").nullable().optional(),\n title: z.string().describe(\"Job title of the team member\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the team member\").nullable(),\n first_name: z.string().describe(\"First name of the team member\").nullable(),\n external_id: z.string().describe(\"External identifier for the team member from an integrated system\").nullable().optional(),\n custom_attributes: z.record(z.string(), z.unknown()).describe(\"Custom attributes associated with the team member\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating or updating a team member.\");\n\nexport const simplesatCreateOrUpdateTeamMember = action(\"SIMPLESAT_CREATE_OR_UPDATE_TEAM_MEMBER\", {\n slug: \"simplesat-create-or-update-team-member\",\n name: \"Create or Update Team Member\",\n description: \"This tool creates a new team member or updates an existing one if a team member with the same email address is found. It is an independent action that requires only basic team member information (email, first_name, last_name, and optionally title and phone) and does not depend on any other resource IDs.\",\n input: SimplesatCreateOrUpdateTeamMemberInput,\n output: SimplesatCreateOrUpdateTeamMemberOutput,\n});\n"],"mappings":";;AAuBA,MAAa,oCAAoC,OAAO,0CAA0C;CAChG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBoD,EAAE,OAAO;EAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACvE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACpE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;EAC7D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACjE,CAAC,CAAC,CAAC,SAAS,uDAiBH;CACP,QAjBqD,EAAE,OAAO;EAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACtF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACxE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACxE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EAC1E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,mBAAmB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAOhB;AACV,CAAC"}
|
|
@@ -9,8 +9,8 @@ const SimplesatGetCustomerOutput = zod.z.object({
|
|
|
9
9
|
email: zod.z.string().describe("Email address of the customer").nullable().optional(),
|
|
10
10
|
company: zod.z.string().describe("Company name of the customer").nullable().optional(),
|
|
11
11
|
external_id: zod.z.record(zod.z.string(), zod.z.unknown()).describe("External identifier for integrations with other systems").nullable().optional(),
|
|
12
|
-
custom_attributes: zod.z.
|
|
13
|
-
}).describe("Response model for getting a customer.");
|
|
12
|
+
custom_attributes: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom attributes of the customer").nullable().optional()
|
|
13
|
+
}).passthrough().describe("Response model for getting a customer.");
|
|
14
14
|
const simplesatGetCustomer = require_action.action("SIMPLESAT_GET_CUSTOMER", {
|
|
15
15
|
slug: "simplesat-get-customer",
|
|
16
16
|
name: "Get Customer",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-customer.cjs","names":["z","action"],"sources":["../../src/actions/get-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplesatGetCustomerInput = z.object({\n id: z.string().describe(\"Unique identifier of the customer in Simplesat\"),\n}).describe(\"Request model for getting a customer.\");\nexport const SimplesatGetCustomerOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the customer in Simplesat\").nullable(),\n name: z.string().describe(\"Full name of the customer\").nullable().optional(),\n tags: z.array(z.string()).describe(\"List of tags associated with the customer\").nullable().optional(),\n email: z.string().describe(\"Email address of the customer\").nullable().optional(),\n company: z.string().describe(\"Company name of the customer\").nullable().optional(),\n external_id: z.record(z.string(), z.unknown()).describe(\"External identifier for integrations with other systems\").nullable().optional(),\n custom_attributes: z.
|
|
1
|
+
{"version":3,"file":"get-customer.cjs","names":["z","action"],"sources":["../../src/actions/get-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplesatGetCustomerInput = z.object({\n id: z.string().describe(\"Unique identifier of the customer in Simplesat\"),\n}).describe(\"Request model for getting a customer.\");\nexport const SimplesatGetCustomerOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the customer in Simplesat\").nullable(),\n name: z.string().describe(\"Full name of the customer\").nullable().optional(),\n tags: z.array(z.string()).describe(\"List of tags associated with the customer\").nullable().optional(),\n email: z.string().describe(\"Email address of the customer\").nullable().optional(),\n company: z.string().describe(\"Company name of the customer\").nullable().optional(),\n external_id: z.record(z.string(), z.unknown()).describe(\"External identifier for integrations with other systems\").nullable().optional(),\n custom_attributes: z.record(z.string(), z.unknown()).describe(\"Custom attributes of the customer\").nullable().optional(),\n}).passthrough().describe(\"Response model for getting a customer.\");\n\nexport const simplesatGetCustomer = action(\"SIMPLESAT_GET_CUSTOMER\", {\n slug: \"simplesat-get-customer\",\n name: \"Get Customer\",\n description: \"Tool to retrieve a single customer by their Simplesat ID. Returns customer details including name, email, company, tags, and custom attributes.\",\n input: SimplesatGetCustomerInput,\n output: SimplesatGetCustomerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAC1E,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,aAAaA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,mBAAmBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,8 +11,8 @@ declare const SimplesatGetCustomerOutput: z.ZodObject<{
|
|
|
11
11
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
company: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
14
|
-
custom_attributes: z.ZodOptional<z.ZodNullable<z.
|
|
15
|
-
}, z.core.$
|
|
14
|
+
custom_attributes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const simplesatGetCustomer: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
id: string;
|
|
18
18
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -11,8 +11,8 @@ declare const SimplesatGetCustomerOutput: z.ZodObject<{
|
|
|
11
11
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
company: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
14
|
-
custom_attributes: z.ZodOptional<z.ZodNullable<z.
|
|
15
|
-
}, z.core.$
|
|
14
|
+
custom_attributes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const simplesatGetCustomer: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
id: string;
|
|
18
18
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -12,8 +12,8 @@ const simplesatGetCustomer = action("SIMPLESAT_GET_CUSTOMER", {
|
|
|
12
12
|
email: z.string().describe("Email address of the customer").nullable().optional(),
|
|
13
13
|
company: z.string().describe("Company name of the customer").nullable().optional(),
|
|
14
14
|
external_id: z.record(z.string(), z.unknown()).describe("External identifier for integrations with other systems").nullable().optional(),
|
|
15
|
-
custom_attributes: z.
|
|
16
|
-
}).describe("Response model for getting a customer.")
|
|
15
|
+
custom_attributes: z.record(z.string(), z.unknown()).describe("Custom attributes of the customer").nullable().optional()
|
|
16
|
+
}).passthrough().describe("Response model for getting a customer.")
|
|
17
17
|
});
|
|
18
18
|
//#endregion
|
|
19
19
|
export { simplesatGetCustomer };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-customer.mjs","names":[],"sources":["../../src/actions/get-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplesatGetCustomerInput = z.object({\n id: z.string().describe(\"Unique identifier of the customer in Simplesat\"),\n}).describe(\"Request model for getting a customer.\");\nexport const SimplesatGetCustomerOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the customer in Simplesat\").nullable(),\n name: z.string().describe(\"Full name of the customer\").nullable().optional(),\n tags: z.array(z.string()).describe(\"List of tags associated with the customer\").nullable().optional(),\n email: z.string().describe(\"Email address of the customer\").nullable().optional(),\n company: z.string().describe(\"Company name of the customer\").nullable().optional(),\n external_id: z.record(z.string(), z.unknown()).describe(\"External identifier for integrations with other systems\").nullable().optional(),\n custom_attributes: z.
|
|
1
|
+
{"version":3,"file":"get-customer.mjs","names":[],"sources":["../../src/actions/get-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplesatGetCustomerInput = z.object({\n id: z.string().describe(\"Unique identifier of the customer in Simplesat\"),\n}).describe(\"Request model for getting a customer.\");\nexport const SimplesatGetCustomerOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the customer in Simplesat\").nullable(),\n name: z.string().describe(\"Full name of the customer\").nullable().optional(),\n tags: z.array(z.string()).describe(\"List of tags associated with the customer\").nullable().optional(),\n email: z.string().describe(\"Email address of the customer\").nullable().optional(),\n company: z.string().describe(\"Company name of the customer\").nullable().optional(),\n external_id: z.record(z.string(), z.unknown()).describe(\"External identifier for integrations with other systems\").nullable().optional(),\n custom_attributes: z.record(z.string(), z.unknown()).describe(\"Custom attributes of the customer\").nullable().optional(),\n}).passthrough().describe(\"Response model for getting a customer.\");\n\nexport const simplesatGetCustomer = action(\"SIMPLESAT_GET_CUSTOMER\", {\n slug: \"simplesat-get-customer\",\n name: \"Get Customer\",\n description: \"Tool to retrieve a single customer by their Simplesat ID. Returns customer details including name, email, company, tags, and custom attributes.\",\n input: SimplesatGetCustomerInput,\n output: SimplesatGetCustomerOutput,\n});\n"],"mappings":";;AAiBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBuC,EAAE,OAAO,EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAC1E,CAAC,CAAC,CAAC,SAAS,uCAeH;CACP,QAfwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,aAAa,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvI,mBAAmB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAOhB;AACV,CAAC"}
|
|
@@ -15,16 +15,16 @@ const SimplesatListQuestions_QuestionRuleSchema = zod.z.object({
|
|
|
15
15
|
id: zod.z.number().int().describe("Rule ID").nullable().optional(),
|
|
16
16
|
action: zod.z.string().describe("Rule action").nullable().optional(),
|
|
17
17
|
condition: zod.z.string().describe("Rule condition").nullable().optional()
|
|
18
|
-
}).describe("Conditional rule for a question.");
|
|
18
|
+
}).passthrough().describe("Conditional rule for a question.");
|
|
19
19
|
const SimplesatListQuestions_QuestionSurveySchema = zod.z.object({
|
|
20
20
|
id: zod.z.number().int().describe("Survey ID").nullable().optional(),
|
|
21
21
|
name: zod.z.string().describe("Survey name").nullable().optional()
|
|
22
|
-
}).describe("Survey details within a question.");
|
|
22
|
+
}).passthrough().describe("Survey details within a question.");
|
|
23
23
|
const SimplesatListQuestions_QuestionChoiceSchema = zod.z.object({
|
|
24
24
|
id: zod.z.number().int().describe("Choice ID").nullable().optional(),
|
|
25
25
|
text: zod.z.string().describe("Choice text").nullable().optional(),
|
|
26
26
|
order: zod.z.number().int().describe("Order of the choice").nullable().optional()
|
|
27
|
-
}).describe("Choice option for a question.");
|
|
27
|
+
}).passthrough().describe("Choice option for a question.");
|
|
28
28
|
const SimplesatListQuestions_QuestionSchema = zod.z.object({
|
|
29
29
|
id: zod.z.number().int().describe("Question ID").nullable(),
|
|
30
30
|
text: zod.z.string().describe("Question text").nullable(),
|
|
@@ -35,13 +35,13 @@ const SimplesatListQuestions_QuestionSchema = zod.z.object({
|
|
|
35
35
|
choices: zod.z.array(SimplesatListQuestions_QuestionChoiceSchema).describe("List of choice options for the question").nullable().optional(),
|
|
36
36
|
required: zod.z.boolean().describe("Whether the question is required").nullable().optional(),
|
|
37
37
|
rating_scale: zod.z.boolean().describe("Whether the question uses a rating scale").nullable().optional()
|
|
38
|
-
}).describe("Individual question details.");
|
|
38
|
+
}).passthrough().describe("Individual question details.");
|
|
39
39
|
const SimplesatListQuestionsOutput = zod.z.object({
|
|
40
40
|
next: zod.z.string().describe("URL for the next page of results").nullable().optional(),
|
|
41
41
|
count: zod.z.number().int().describe("Total count of questions").nullable(),
|
|
42
42
|
previous: zod.z.string().describe("URL for the previous page of results").nullable().optional(),
|
|
43
43
|
questions: zod.z.array(SimplesatListQuestions_QuestionSchema).describe("List of questions")
|
|
44
|
-
}).describe("Response model for listing questions.");
|
|
44
|
+
}).passthrough().describe("Response model for listing questions.");
|
|
45
45
|
const simplesatListQuestions = require_action.action("SIMPLESAT_LIST_QUESTIONS", {
|
|
46
46
|
slug: "simplesat-list-questions",
|
|
47
47
|
name: "List Questions",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-questions.cjs","names":["z","action"],"sources":["../../src/actions/list-questions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplesatListQuestionsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (starts at 1)\").optional(),\n metric: z.enum([\"csat\", \"nps\", \"ces\"]).describe(\"Metric type enum for filtering questions.\").optional(),\n page_size: z.number().int().describe(\"Number of records per page (default 100)\").optional(),\n survey_id: z.number().int().describe(\"Filter questions by survey ID\").optional(),\n}).describe(\"Request model for listing questions.\");\nconst SimplesatListQuestions_QuestionRuleSchema = z.object({\n id: z.number().int().describe(\"Rule ID\").nullable().optional(),\n action: z.string().describe(\"Rule action\").nullable().optional(),\n condition: z.string().describe(\"Rule condition\").nullable().optional(),\n}).describe(\"Conditional rule for a question.\");\nconst SimplesatListQuestions_QuestionSurveySchema = z.object({\n id: z.number().int().describe(\"Survey ID\").nullable().optional(),\n name: z.string().describe(\"Survey name\").nullable().optional(),\n}).describe(\"Survey details within a question.\");\nconst SimplesatListQuestions_QuestionChoiceSchema = z.object({\n id: z.number().int().describe(\"Choice ID\").nullable().optional(),\n text: z.string().describe(\"Choice text\").nullable().optional(),\n order: z.number().int().describe(\"Order of the choice\").nullable().optional(),\n}).describe(\"Choice option for a question.\");\nconst SimplesatListQuestions_QuestionSchema = z.object({\n id: z.number().int().describe(\"Question ID\").nullable(),\n text: z.string().describe(\"Question text\").nullable(),\n order: z.number().int().describe(\"Display order of the question\").nullable().optional(),\n rules: z.array(SimplesatListQuestions_QuestionRuleSchema).describe(\"List of conditional rules for the question\").nullable().optional(),\n metric: z.string().describe(\"Metric type (csat, nps, or ces)\").nullable().optional(),\n survey: SimplesatListQuestions_QuestionSurveySchema.nullable().optional(),\n choices: z.array(SimplesatListQuestions_QuestionChoiceSchema).describe(\"List of choice options for the question\").nullable().optional(),\n required: z.boolean().describe(\"Whether the question is required\").nullable().optional(),\n rating_scale: z.boolean().describe(\"Whether the question uses a rating scale\").nullable().optional(),\n}).describe(\"Individual question details.\");\nexport const SimplesatListQuestionsOutput = z.object({\n next: z.string().describe(\"URL for the next page of results\").nullable().optional(),\n count: z.number().int().describe(\"Total count of questions\").nullable(),\n previous: z.string().describe(\"URL for the previous page of results\").nullable().optional(),\n questions: z.array(SimplesatListQuestions_QuestionSchema).describe(\"List of questions\"),\n}).describe(\"Response model for listing questions.\");\n\nexport const simplesatListQuestions = action(\"SIMPLESAT_LIST_QUESTIONS\", {\n slug: \"simplesat-list-questions\",\n name: \"List Questions\",\n description: \"Tool to retrieve a paginated list of all questions in Simplesat. Use when you need to fetch question details including order, metric type, text, rating scale, choices, and conditional rules. Supports filtering by metric (csat, nps, ces) and survey_id.\",\n input: SimplesatListQuestionsInput,\n output: SimplesatListQuestionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrF,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAO;CAAK,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC1F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,SAAS,kCAAkC;
|
|
1
|
+
{"version":3,"file":"list-questions.cjs","names":["z","action"],"sources":["../../src/actions/list-questions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplesatListQuestionsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (starts at 1)\").optional(),\n metric: z.enum([\"csat\", \"nps\", \"ces\"]).describe(\"Metric type enum for filtering questions.\").optional(),\n page_size: z.number().int().describe(\"Number of records per page (default 100)\").optional(),\n survey_id: z.number().int().describe(\"Filter questions by survey ID\").optional(),\n}).describe(\"Request model for listing questions.\");\nconst SimplesatListQuestions_QuestionRuleSchema = z.object({\n id: z.number().int().describe(\"Rule ID\").nullable().optional(),\n action: z.string().describe(\"Rule action\").nullable().optional(),\n condition: z.string().describe(\"Rule condition\").nullable().optional(),\n}).passthrough().describe(\"Conditional rule for a question.\");\nconst SimplesatListQuestions_QuestionSurveySchema = z.object({\n id: z.number().int().describe(\"Survey ID\").nullable().optional(),\n name: z.string().describe(\"Survey name\").nullable().optional(),\n}).passthrough().describe(\"Survey details within a question.\");\nconst SimplesatListQuestions_QuestionChoiceSchema = z.object({\n id: z.number().int().describe(\"Choice ID\").nullable().optional(),\n text: z.string().describe(\"Choice text\").nullable().optional(),\n order: z.number().int().describe(\"Order of the choice\").nullable().optional(),\n}).passthrough().describe(\"Choice option for a question.\");\nconst SimplesatListQuestions_QuestionSchema = z.object({\n id: z.number().int().describe(\"Question ID\").nullable(),\n text: z.string().describe(\"Question text\").nullable(),\n order: z.number().int().describe(\"Display order of the question\").nullable().optional(),\n rules: z.array(SimplesatListQuestions_QuestionRuleSchema).describe(\"List of conditional rules for the question\").nullable().optional(),\n metric: z.string().describe(\"Metric type (csat, nps, or ces)\").nullable().optional(),\n survey: SimplesatListQuestions_QuestionSurveySchema.nullable().optional(),\n choices: z.array(SimplesatListQuestions_QuestionChoiceSchema).describe(\"List of choice options for the question\").nullable().optional(),\n required: z.boolean().describe(\"Whether the question is required\").nullable().optional(),\n rating_scale: z.boolean().describe(\"Whether the question uses a rating scale\").nullable().optional(),\n}).passthrough().describe(\"Individual question details.\");\nexport const SimplesatListQuestionsOutput = z.object({\n next: z.string().describe(\"URL for the next page of results\").nullable().optional(),\n count: z.number().int().describe(\"Total count of questions\").nullable(),\n previous: z.string().describe(\"URL for the previous page of results\").nullable().optional(),\n questions: z.array(SimplesatListQuestions_QuestionSchema).describe(\"List of questions\"),\n}).passthrough().describe(\"Response model for listing questions.\");\n\nexport const simplesatListQuestions = action(\"SIMPLESAT_LIST_QUESTIONS\", {\n slug: \"simplesat-list-questions\",\n name: \"List Questions\",\n description: \"Tool to retrieve a paginated list of all questions in Simplesat. Use when you need to fetch question details including order, metric type, text, rating scale, choices, and conditional rules. Supports filtering by metric (csat, nps, ces) and survey_id.\",\n input: SimplesatListQuestionsInput,\n output: SimplesatListQuestionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrF,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAO;CAAK,CAAC,CAAC,CAAC,SAAS,2CAA2C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CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,WAAWA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,mBAAmB;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -23,21 +23,21 @@ declare const SimplesatListQuestionsOutput: z.ZodObject<{
|
|
|
23
23
|
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
24
|
action: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
condition: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>>>>;
|
|
27
27
|
metric: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
survey: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
29
29
|
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
30
30
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
-
}, z.core.$
|
|
31
|
+
}, z.core.$loose>>>;
|
|
32
32
|
choices: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
33
33
|
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
34
34
|
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
35
|
order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
36
|
-
}, z.core.$
|
|
36
|
+
}, z.core.$loose>>>>;
|
|
37
37
|
required: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
38
38
|
rating_scale: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
39
|
-
}, z.core.$
|
|
40
|
-
}, z.core.$
|
|
39
|
+
}, z.core.$loose>>;
|
|
40
|
+
}, z.core.$loose>;
|
|
41
41
|
declare const simplesatListQuestions: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
42
42
|
page?: number | undefined;
|
|
43
43
|
metric?: "csat" | "nps" | "ces" | undefined;
|
|
@@ -23,21 +23,21 @@ declare const SimplesatListQuestionsOutput: z.ZodObject<{
|
|
|
23
23
|
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
24
|
action: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
condition: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>>>>;
|
|
27
27
|
metric: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
survey: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
29
29
|
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
30
30
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
-
}, z.core.$
|
|
31
|
+
}, z.core.$loose>>>;
|
|
32
32
|
choices: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
33
33
|
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
34
34
|
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
35
|
order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
36
|
-
}, z.core.$
|
|
36
|
+
}, z.core.$loose>>>>;
|
|
37
37
|
required: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
38
38
|
rating_scale: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
39
|
-
}, z.core.$
|
|
40
|
-
}, z.core.$
|
|
39
|
+
}, z.core.$loose>>;
|
|
40
|
+
}, z.core.$loose>;
|
|
41
41
|
declare const simplesatListQuestions: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
42
42
|
page?: number | undefined;
|
|
43
43
|
metric?: "csat" | "nps" | "ces" | undefined;
|
|
@@ -15,16 +15,16 @@ const SimplesatListQuestions_QuestionRuleSchema = z.object({
|
|
|
15
15
|
id: z.number().int().describe("Rule ID").nullable().optional(),
|
|
16
16
|
action: z.string().describe("Rule action").nullable().optional(),
|
|
17
17
|
condition: z.string().describe("Rule condition").nullable().optional()
|
|
18
|
-
}).describe("Conditional rule for a question.");
|
|
18
|
+
}).passthrough().describe("Conditional rule for a question.");
|
|
19
19
|
const SimplesatListQuestions_QuestionSurveySchema = z.object({
|
|
20
20
|
id: z.number().int().describe("Survey ID").nullable().optional(),
|
|
21
21
|
name: z.string().describe("Survey name").nullable().optional()
|
|
22
|
-
}).describe("Survey details within a question.");
|
|
22
|
+
}).passthrough().describe("Survey details within a question.");
|
|
23
23
|
const SimplesatListQuestions_QuestionChoiceSchema = z.object({
|
|
24
24
|
id: z.number().int().describe("Choice ID").nullable().optional(),
|
|
25
25
|
text: z.string().describe("Choice text").nullable().optional(),
|
|
26
26
|
order: z.number().int().describe("Order of the choice").nullable().optional()
|
|
27
|
-
}).describe("Choice option for a question.");
|
|
27
|
+
}).passthrough().describe("Choice option for a question.");
|
|
28
28
|
const SimplesatListQuestions_QuestionSchema = z.object({
|
|
29
29
|
id: z.number().int().describe("Question ID").nullable(),
|
|
30
30
|
text: z.string().describe("Question text").nullable(),
|
|
@@ -35,7 +35,7 @@ const SimplesatListQuestions_QuestionSchema = z.object({
|
|
|
35
35
|
choices: z.array(SimplesatListQuestions_QuestionChoiceSchema).describe("List of choice options for the question").nullable().optional(),
|
|
36
36
|
required: z.boolean().describe("Whether the question is required").nullable().optional(),
|
|
37
37
|
rating_scale: z.boolean().describe("Whether the question uses a rating scale").nullable().optional()
|
|
38
|
-
}).describe("Individual question details.");
|
|
38
|
+
}).passthrough().describe("Individual question details.");
|
|
39
39
|
const simplesatListQuestions = action("SIMPLESAT_LIST_QUESTIONS", {
|
|
40
40
|
slug: "simplesat-list-questions",
|
|
41
41
|
name: "List Questions",
|
|
@@ -46,7 +46,7 @@ const simplesatListQuestions = action("SIMPLESAT_LIST_QUESTIONS", {
|
|
|
46
46
|
count: z.number().int().describe("Total count of questions").nullable(),
|
|
47
47
|
previous: z.string().describe("URL for the previous page of results").nullable().optional(),
|
|
48
48
|
questions: z.array(SimplesatListQuestions_QuestionSchema).describe("List of questions")
|
|
49
|
-
}).describe("Response model for listing questions.")
|
|
49
|
+
}).passthrough().describe("Response model for listing questions.")
|
|
50
50
|
});
|
|
51
51
|
//#endregion
|
|
52
52
|
export { simplesatListQuestions };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-questions.mjs","names":[],"sources":["../../src/actions/list-questions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplesatListQuestionsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (starts at 1)\").optional(),\n metric: z.enum([\"csat\", \"nps\", \"ces\"]).describe(\"Metric type enum for filtering questions.\").optional(),\n page_size: z.number().int().describe(\"Number of records per page (default 100)\").optional(),\n survey_id: z.number().int().describe(\"Filter questions by survey ID\").optional(),\n}).describe(\"Request model for listing questions.\");\nconst SimplesatListQuestions_QuestionRuleSchema = z.object({\n id: z.number().int().describe(\"Rule ID\").nullable().optional(),\n action: z.string().describe(\"Rule action\").nullable().optional(),\n condition: z.string().describe(\"Rule condition\").nullable().optional(),\n}).describe(\"Conditional rule for a question.\");\nconst SimplesatListQuestions_QuestionSurveySchema = z.object({\n id: z.number().int().describe(\"Survey ID\").nullable().optional(),\n name: z.string().describe(\"Survey name\").nullable().optional(),\n}).describe(\"Survey details within a question.\");\nconst SimplesatListQuestions_QuestionChoiceSchema = z.object({\n id: z.number().int().describe(\"Choice ID\").nullable().optional(),\n text: z.string().describe(\"Choice text\").nullable().optional(),\n order: z.number().int().describe(\"Order of the choice\").nullable().optional(),\n}).describe(\"Choice option for a question.\");\nconst SimplesatListQuestions_QuestionSchema = z.object({\n id: z.number().int().describe(\"Question ID\").nullable(),\n text: z.string().describe(\"Question text\").nullable(),\n order: z.number().int().describe(\"Display order of the question\").nullable().optional(),\n rules: z.array(SimplesatListQuestions_QuestionRuleSchema).describe(\"List of conditional rules for the question\").nullable().optional(),\n metric: z.string().describe(\"Metric type (csat, nps, or ces)\").nullable().optional(),\n survey: SimplesatListQuestions_QuestionSurveySchema.nullable().optional(),\n choices: z.array(SimplesatListQuestions_QuestionChoiceSchema).describe(\"List of choice options for the question\").nullable().optional(),\n required: z.boolean().describe(\"Whether the question is required\").nullable().optional(),\n rating_scale: z.boolean().describe(\"Whether the question uses a rating scale\").nullable().optional(),\n}).describe(\"Individual question details.\");\nexport const SimplesatListQuestionsOutput = z.object({\n next: z.string().describe(\"URL for the next page of results\").nullable().optional(),\n count: z.number().int().describe(\"Total count of questions\").nullable(),\n previous: z.string().describe(\"URL for the previous page of results\").nullable().optional(),\n questions: z.array(SimplesatListQuestions_QuestionSchema).describe(\"List of questions\"),\n}).describe(\"Response model for listing questions.\");\n\nexport const simplesatListQuestions = action(\"SIMPLESAT_LIST_QUESTIONS\", {\n slug: \"simplesat-list-questions\",\n name: \"List Questions\",\n description: \"Tool to retrieve a paginated list of all questions in Simplesat. Use when you need to fetch question details including order, metric type, text, rating scale, choices, and conditional rules. Supports filtering by metric (csat, nps, ces) and survey_id.\",\n input: SimplesatListQuestionsInput,\n output: SimplesatListQuestionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrF,QAAQ,EAAE,KAAK;EAAC;EAAQ;EAAO;CAAK,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC1F,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,4CAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,SAAS,kCAAkC;
|
|
1
|
+
{"version":3,"file":"list-questions.mjs","names":[],"sources":["../../src/actions/list-questions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplesatListQuestionsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (starts at 1)\").optional(),\n metric: z.enum([\"csat\", \"nps\", \"ces\"]).describe(\"Metric type enum for filtering questions.\").optional(),\n page_size: z.number().int().describe(\"Number of records per page (default 100)\").optional(),\n survey_id: z.number().int().describe(\"Filter questions by survey ID\").optional(),\n}).describe(\"Request model for listing questions.\");\nconst SimplesatListQuestions_QuestionRuleSchema = z.object({\n id: z.number().int().describe(\"Rule ID\").nullable().optional(),\n action: z.string().describe(\"Rule action\").nullable().optional(),\n condition: z.string().describe(\"Rule condition\").nullable().optional(),\n}).passthrough().describe(\"Conditional rule for a question.\");\nconst SimplesatListQuestions_QuestionSurveySchema = z.object({\n id: z.number().int().describe(\"Survey ID\").nullable().optional(),\n name: z.string().describe(\"Survey name\").nullable().optional(),\n}).passthrough().describe(\"Survey details within a question.\");\nconst SimplesatListQuestions_QuestionChoiceSchema = z.object({\n id: z.number().int().describe(\"Choice ID\").nullable().optional(),\n text: z.string().describe(\"Choice text\").nullable().optional(),\n order: z.number().int().describe(\"Order of the choice\").nullable().optional(),\n}).passthrough().describe(\"Choice option for a question.\");\nconst SimplesatListQuestions_QuestionSchema = z.object({\n id: z.number().int().describe(\"Question ID\").nullable(),\n text: z.string().describe(\"Question text\").nullable(),\n order: z.number().int().describe(\"Display order of the question\").nullable().optional(),\n rules: z.array(SimplesatListQuestions_QuestionRuleSchema).describe(\"List of conditional rules for the question\").nullable().optional(),\n metric: z.string().describe(\"Metric type (csat, nps, or ces)\").nullable().optional(),\n survey: SimplesatListQuestions_QuestionSurveySchema.nullable().optional(),\n choices: z.array(SimplesatListQuestions_QuestionChoiceSchema).describe(\"List of choice options for the question\").nullable().optional(),\n required: z.boolean().describe(\"Whether the question is required\").nullable().optional(),\n rating_scale: z.boolean().describe(\"Whether the question uses a rating scale\").nullable().optional(),\n}).passthrough().describe(\"Individual question details.\");\nexport const SimplesatListQuestionsOutput = z.object({\n next: z.string().describe(\"URL for the next page of results\").nullable().optional(),\n count: z.number().int().describe(\"Total count of questions\").nullable(),\n previous: z.string().describe(\"URL for the previous page of results\").nullable().optional(),\n questions: z.array(SimplesatListQuestions_QuestionSchema).describe(\"List of questions\"),\n}).passthrough().describe(\"Response model for listing questions.\");\n\nexport const simplesatListQuestions = action(\"SIMPLESAT_LIST_QUESTIONS\", {\n slug: \"simplesat-list-questions\",\n name: \"List Questions\",\n description: \"Tool to retrieve a paginated list of all questions in Simplesat. Use when you need to fetch question details including order, metric type, text, rating scale, choices, and conditional rules. Supports filtering by metric (csat, nps, ces) and survey_id.\",\n input: SimplesatListQuestionsInput,\n output: SimplesatListQuestionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrF,QAAQ,EAAE,KAAK;EAAC;EAAQ;EAAO;CAAK,CA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C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,WAAW,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,mBAAmB;CACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAOhB;AACV,CAAC"}
|
|
@@ -9,8 +9,8 @@ const SimplesatListSurveys_SurveySchema = zod.z.object({
|
|
|
9
9
|
id: zod.z.number().int().describe("Unique identifier of the survey").nullable(),
|
|
10
10
|
name: zod.z.string().describe("Name of the survey").nullable(),
|
|
11
11
|
metric: zod.z.string().describe("Type of metric used by the survey (e.g., CSAT, NPS, CES)").nullable()
|
|
12
|
-
});
|
|
13
|
-
const SimplesatListSurveysOutput = zod.z.object({ surveys: zod.z.array(SimplesatListSurveys_SurveySchema).describe("List of surveys in the account") });
|
|
12
|
+
}).passthrough();
|
|
13
|
+
const SimplesatListSurveysOutput = zod.z.object({ surveys: zod.z.array(SimplesatListSurveys_SurveySchema).describe("List of surveys in the account") }).passthrough();
|
|
14
14
|
const simplesatListSurveys = require_action.action("SIMPLESAT_LIST_SURVEYS", {
|
|
15
15
|
slug: "simplesat-list-surveys",
|
|
16
16
|
name: "List Surveys",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-surveys.cjs","names":["z","action"],"sources":["../../src/actions/list-surveys.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplesatListSurveysInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (must be positive integer)\").optional(),\n page_size: z.number().int().describe(\"Number of records per page (default 100, max 100)\").optional(),\n});\nconst SimplesatListSurveys_SurveySchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the survey\").nullable(),\n name: z.string().describe(\"Name of the survey\").nullable(),\n metric: z.string().describe(\"Type of metric used by the survey (e.g., CSAT, NPS, CES)\").nullable(),\n});\nexport const SimplesatListSurveysOutput = z.object({\n surveys: z.array(SimplesatListSurveys_SurveySchema).describe(\"List of surveys in the account\"),\n});\n\nexport const simplesatListSurveys = action(\"SIMPLESAT_LIST_SURVEYS\", {\n slug: \"simplesat-list-surveys\",\n name: \"List Surveys\",\n description: \"Tool to list all surveys in the Simplesat account. Returns survey details including id, name, and metric type (CSAT, NPS, CES). Use when you need to retrieve available surveys or find a specific survey by name or metric type.\",\n input: SimplesatListSurveysInput,\n output: SimplesatListSurveysOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAClG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AACrG,CAAC;AACD,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACzD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AACnG,CAAC;
|
|
1
|
+
{"version":3,"file":"list-surveys.cjs","names":["z","action"],"sources":["../../src/actions/list-surveys.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplesatListSurveysInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (must be positive integer)\").optional(),\n page_size: z.number().int().describe(\"Number of records per page (default 100, max 100)\").optional(),\n});\nconst SimplesatListSurveys_SurveySchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the survey\").nullable(),\n name: z.string().describe(\"Name of the survey\").nullable(),\n metric: z.string().describe(\"Type of metric used by the survey (e.g., CSAT, NPS, CES)\").nullable(),\n}).passthrough();\nexport const SimplesatListSurveysOutput = z.object({\n surveys: z.array(SimplesatListSurveys_SurveySchema).describe(\"List of surveys in the account\"),\n}).passthrough();\n\nexport const simplesatListSurveys = action(\"SIMPLESAT_LIST_SURVEYS\", {\n slug: \"simplesat-list-surveys\",\n name: \"List Surveys\",\n description: \"Tool to list all surveys in the Simplesat account. Returns survey details including id, name, and metric type (CSAT, NPS, CES). Use when you need to retrieve available surveys or find a specific survey by name or metric type.\",\n input: SimplesatListSurveysInput,\n output: SimplesatListSurveysOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAClG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AACrG,CAAC;AACD,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACzD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAASA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,gCAAgC,EAC/F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -10,8 +10,8 @@ declare const SimplesatListSurveysOutput: z.ZodObject<{
|
|
|
10
10
|
id: z.ZodNullable<z.ZodNumber>;
|
|
11
11
|
name: z.ZodNullable<z.ZodString>;
|
|
12
12
|
metric: z.ZodNullable<z.ZodString>;
|
|
13
|
-
}, z.core.$
|
|
14
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>>;
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const simplesatListSurveys: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
page?: number | undefined;
|
|
17
17
|
page_size?: number | undefined;
|
|
@@ -10,8 +10,8 @@ declare const SimplesatListSurveysOutput: z.ZodObject<{
|
|
|
10
10
|
id: z.ZodNullable<z.ZodNumber>;
|
|
11
11
|
name: z.ZodNullable<z.ZodString>;
|
|
12
12
|
metric: z.ZodNullable<z.ZodString>;
|
|
13
|
-
}, z.core.$
|
|
14
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>>;
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const simplesatListSurveys: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
page?: number | undefined;
|
|
17
17
|
page_size?: number | undefined;
|
|
@@ -9,13 +9,13 @@ const SimplesatListSurveys_SurveySchema = z.object({
|
|
|
9
9
|
id: z.number().int().describe("Unique identifier of the survey").nullable(),
|
|
10
10
|
name: z.string().describe("Name of the survey").nullable(),
|
|
11
11
|
metric: z.string().describe("Type of metric used by the survey (e.g., CSAT, NPS, CES)").nullable()
|
|
12
|
-
});
|
|
12
|
+
}).passthrough();
|
|
13
13
|
const simplesatListSurveys = action("SIMPLESAT_LIST_SURVEYS", {
|
|
14
14
|
slug: "simplesat-list-surveys",
|
|
15
15
|
name: "List Surveys",
|
|
16
16
|
description: "Tool to list all surveys in the Simplesat account. Returns survey details including id, name, and metric type (CSAT, NPS, CES). Use when you need to retrieve available surveys or find a specific survey by name or metric type.",
|
|
17
17
|
input: SimplesatListSurveysInput,
|
|
18
|
-
output: z.object({ surveys: z.array(SimplesatListSurveys_SurveySchema).describe("List of surveys in the account") })
|
|
18
|
+
output: z.object({ surveys: z.array(SimplesatListSurveys_SurveySchema).describe("List of surveys in the account") }).passthrough()
|
|
19
19
|
});
|
|
20
20
|
//#endregion
|
|
21
21
|
export { simplesatListSurveys };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-surveys.mjs","names":[],"sources":["../../src/actions/list-surveys.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplesatListSurveysInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (must be positive integer)\").optional(),\n page_size: z.number().int().describe(\"Number of records per page (default 100, max 100)\").optional(),\n});\nconst SimplesatListSurveys_SurveySchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the survey\").nullable(),\n name: z.string().describe(\"Name of the survey\").nullable(),\n metric: z.string().describe(\"Type of metric used by the survey (e.g., CSAT, NPS, CES)\").nullable(),\n});\nexport const SimplesatListSurveysOutput = z.object({\n surveys: z.array(SimplesatListSurveys_SurveySchema).describe(\"List of surveys in the account\"),\n});\n\nexport const simplesatListSurveys = action(\"SIMPLESAT_LIST_SURVEYS\", {\n slug: \"simplesat-list-surveys\",\n name: \"List Surveys\",\n description: \"Tool to list all surveys in the Simplesat account. Returns survey details including id, name, and metric type (CSAT, NPS, CES). Use when you need to retrieve available surveys or find a specific survey by name or metric type.\",\n input: SimplesatListSurveysInput,\n output: SimplesatListSurveysOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAClG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AACrG,CAAC;AACD,MAAM,oCAAoC,EAAE,OAAO;CACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACzD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AACnG,CAAC;
|
|
1
|
+
{"version":3,"file":"list-surveys.mjs","names":[],"sources":["../../src/actions/list-surveys.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplesatListSurveysInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (must be positive integer)\").optional(),\n page_size: z.number().int().describe(\"Number of records per page (default 100, max 100)\").optional(),\n});\nconst SimplesatListSurveys_SurveySchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the survey\").nullable(),\n name: z.string().describe(\"Name of the survey\").nullable(),\n metric: z.string().describe(\"Type of metric used by the survey (e.g., CSAT, NPS, CES)\").nullable(),\n}).passthrough();\nexport const SimplesatListSurveysOutput = z.object({\n surveys: z.array(SimplesatListSurveys_SurveySchema).describe(\"List of surveys in the account\"),\n}).passthrough();\n\nexport const simplesatListSurveys = action(\"SIMPLESAT_LIST_SURVEYS\", {\n slug: \"simplesat-list-surveys\",\n name: \"List Surveys\",\n description: \"Tool to list all surveys in the Simplesat account. Returns survey details including id, name, and metric type (CSAT, NPS, CES). Use when you need to retrieve available surveys or find a specific survey by name or metric type.\",\n input: SimplesatListSurveysInput,\n output: SimplesatListSurveysOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAClG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AACrG,CAAC;AACD,MAAM,oCAAoC,EAAE,OAAO;CACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACzD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwC,EAAE,OAAO,EACjD,SAAS,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,gCAAgC,EAC/F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|