@keystrokehq/simplesat 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-or-update-customer2.cjs +2 -2
- package/dist/actions/create-or-update-customer2.cjs.map +1 -1
- package/dist/actions/create-or-update-customer2.d.cts +25 -3
- package/dist/actions/create-or-update-customer2.d.cts.map +1 -1
- package/dist/actions/create-or-update-customer2.d.mts +25 -3
- package/dist/actions/create-or-update-customer2.d.mts.map +1 -1
- package/dist/actions/create-or-update-customer2.mjs +2 -2
- package/dist/actions/create-or-update-customer2.mjs.map +1 -1
- package/dist/actions/create-or-update-team-member.cjs +4 -4
- package/dist/actions/create-or-update-team-member.cjs.map +1 -1
- package/dist/actions/create-or-update-team-member.d.cts +25 -3
- package/dist/actions/create-or-update-team-member.d.cts.map +1 -1
- package/dist/actions/create-or-update-team-member.d.mts +25 -3
- package/dist/actions/create-or-update-team-member.d.mts.map +1 -1
- package/dist/actions/create-or-update-team-member.mjs +4 -4
- package/dist/actions/create-or-update-team-member.mjs.map +1 -1
- package/dist/actions/get-customer.cjs +1 -1
- package/dist/actions/get-customer.cjs.map +1 -1
- package/dist/actions/get-customer.d.cts +15 -3
- package/dist/actions/get-customer.d.cts.map +1 -1
- package/dist/actions/get-customer.d.mts +15 -3
- package/dist/actions/get-customer.d.mts.map +1 -1
- package/dist/actions/get-customer.mjs +1 -1
- package/dist/actions/get-customer.mjs.map +1 -1
- package/dist/actions/list-questions.cjs +3 -3
- package/dist/actions/list-questions.cjs.map +1 -1
- package/dist/actions/list-questions.d.cts +43 -3
- package/dist/actions/list-questions.d.cts.map +1 -1
- package/dist/actions/list-questions.d.mts +43 -3
- package/dist/actions/list-questions.d.mts.map +1 -1
- package/dist/actions/list-questions.mjs +3 -3
- package/dist/actions/list-questions.mjs.map +1 -1
- package/dist/actions/list-surveys.cjs +3 -3
- package/dist/actions/list-surveys.cjs.map +1 -1
- package/dist/actions/list-surveys.d.cts +15 -3
- package/dist/actions/list-surveys.d.cts.map +1 -1
- package/dist/actions/list-surveys.d.mts +15 -3
- package/dist/actions/list-surveys.d.mts.map +1 -1
- package/dist/actions/list-surveys.mjs +3 -3
- package/dist/actions/list-surveys.mjs.map +1 -1
- package/dist/actions/search-answers.cjs +2 -2
- package/dist/actions/search-answers.cjs.map +1 -1
- package/dist/actions/search-answers.d.cts +96 -3
- package/dist/actions/search-answers.d.cts.map +1 -1
- package/dist/actions/search-answers.d.mts +96 -3
- package/dist/actions/search-answers.d.mts.map +1 -1
- package/dist/actions/search-answers.mjs +2 -2
- package/dist/actions/search-answers.mjs.map +1 -1
- package/dist/actions/search-responses.cjs.map +1 -1
- package/dist/actions/search-responses.d.cts +62 -3
- package/dist/actions/search-responses.d.cts.map +1 -1
- package/dist/actions/search-responses.d.mts +62 -3
- package/dist/actions/search-responses.d.mts.map +1 -1
- package/dist/actions/search-responses.mjs.map +1 -1
- package/dist/actions/update-customer.cjs +1 -1
- package/dist/actions/update-customer.cjs.map +1 -1
- package/dist/actions/update-customer.d.cts +27 -3
- package/dist/actions/update-customer.d.cts.map +1 -1
- package/dist/actions/update-customer.d.mts +27 -3
- package/dist/actions/update-customer.d.mts.map +1 -1
- package/dist/actions/update-customer.mjs +1 -1
- package/dist/actions/update-customer.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,9 +1,49 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-questions.d.ts
|
|
4
|
-
declare const SimplesatListQuestionsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SimplesatListQuestionsInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
metric: z.ZodOptional<z.ZodEnum<{
|
|
7
|
+
csat: "csat";
|
|
8
|
+
nps: "nps";
|
|
9
|
+
ces: "ces";
|
|
10
|
+
}>>;
|
|
11
|
+
page_size: z.ZodOptional<z.ZodNumber>;
|
|
12
|
+
survey_id: z.ZodOptional<z.ZodNumber>;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
declare const SimplesatListQuestionsOutput: z.ZodObject<{
|
|
15
|
+
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
count: z.ZodNullable<z.ZodNumber>;
|
|
17
|
+
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
questions: z.ZodArray<z.ZodObject<{
|
|
19
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
20
|
+
text: z.ZodNullable<z.ZodString>;
|
|
21
|
+
order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
|
+
rules: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
23
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
|
+
action: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
condition: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
}, z.core.$strip>>>>;
|
|
27
|
+
metric: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
survey: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
29
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
30
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
}, z.core.$strip>>>;
|
|
32
|
+
choices: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
33
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
34
|
+
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
36
|
+
}, z.core.$strip>>>>;
|
|
37
|
+
required: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
38
|
+
rating_scale: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
39
|
+
}, z.core.$strip>>;
|
|
40
|
+
}, z.core.$strip>;
|
|
41
|
+
declare const simplesatListQuestions: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
42
|
+
page?: number | undefined;
|
|
43
|
+
metric?: "csat" | "nps" | "ces" | undefined;
|
|
44
|
+
page_size?: number | undefined;
|
|
45
|
+
survey_id?: number | undefined;
|
|
46
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
47
|
//#endregion
|
|
8
48
|
export { simplesatListQuestions };
|
|
9
49
|
//# sourceMappingURL=list-questions.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-questions.d.mts","names":[],"sources":["../../src/actions/list-questions.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"list-questions.d.mts","names":[],"sources":["../../src/actions/list-questions.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;cA+B3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAO5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -26,8 +26,8 @@ const SimplesatListQuestions_QuestionChoiceSchema = z.object({
|
|
|
26
26
|
order: z.number().int().describe("Order of the choice").nullable().optional()
|
|
27
27
|
}).describe("Choice option for a question.");
|
|
28
28
|
const SimplesatListQuestions_QuestionSchema = z.object({
|
|
29
|
-
id: z.number().int().describe("Question ID"),
|
|
30
|
-
text: z.string().describe("Question text"),
|
|
29
|
+
id: z.number().int().describe("Question ID").nullable(),
|
|
30
|
+
text: z.string().describe("Question text").nullable(),
|
|
31
31
|
order: z.number().int().describe("Display order of the question").nullable().optional(),
|
|
32
32
|
rules: z.array(SimplesatListQuestions_QuestionRuleSchema).describe("List of conditional rules for the question").nullable().optional(),
|
|
33
33
|
metric: z.string().describe("Metric type (csat, nps, or ces)").nullable().optional(),
|
|
@@ -43,7 +43,7 @@ const simplesatListQuestions = action("SIMPLESAT_LIST_QUESTIONS", {
|
|
|
43
43
|
input: SimplesatListQuestionsInput,
|
|
44
44
|
output: z.object({
|
|
45
45
|
next: z.string().describe("URL for the next page of results").nullable().optional(),
|
|
46
|
-
count: z.number().int().describe("Total count of questions"),
|
|
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
49
|
}).describe("Response model for listing questions.")
|
|
@@ -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
|
|
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});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OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,WAAW,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,mBAAmB;CACxF,CAAC,CAAC,CAAC,SAAS,uCAOF;AACV,CAAC"}
|
|
@@ -6,9 +6,9 @@ const SimplesatListSurveysInput = zod.z.object({
|
|
|
6
6
|
page_size: zod.z.number().int().describe("Number of records per page (default 100, max 100)").optional()
|
|
7
7
|
});
|
|
8
8
|
const SimplesatListSurveys_SurveySchema = zod.z.object({
|
|
9
|
-
id: zod.z.number().int().describe("Unique identifier of the survey"),
|
|
10
|
-
name: zod.z.string().describe("Name of the survey"),
|
|
11
|
-
metric: zod.z.string().describe("Type of metric used by the survey (e.g., CSAT, NPS, CES)")
|
|
9
|
+
id: zod.z.number().int().describe("Unique identifier of the survey").nullable(),
|
|
10
|
+
name: zod.z.string().describe("Name of the survey").nullable(),
|
|
11
|
+
metric: zod.z.string().describe("Type of metric used by the survey (e.g., CSAT, NPS, CES)").nullable()
|
|
12
12
|
});
|
|
13
13
|
const SimplesatListSurveysOutput = zod.z.object({ surveys: zod.z.array(SimplesatListSurveys_SurveySchema).describe("List of surveys in the account") });
|
|
14
14
|
const simplesatListSurveys = require_action.action("SIMPLESAT_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
|
|
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;AACD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAASA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,gCAAgC,EAC/F,CAAC;AAED,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-surveys.d.ts
|
|
4
|
-
declare const SimplesatListSurveysInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SimplesatListSurveysInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
page_size: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const SimplesatListSurveysOutput: z.ZodObject<{
|
|
9
|
+
surveys: z.ZodArray<z.ZodObject<{
|
|
10
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
11
|
+
name: z.ZodNullable<z.ZodString>;
|
|
12
|
+
metric: z.ZodNullable<z.ZodString>;
|
|
13
|
+
}, z.core.$strip>>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
declare const simplesatListSurveys: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
|
+
page?: number | undefined;
|
|
17
|
+
page_size?: number | undefined;
|
|
18
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
19
|
//#endregion
|
|
8
20
|
export { simplesatListSurveys };
|
|
9
21
|
//# sourceMappingURL=list-surveys.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-surveys.d.cts","names":[],"sources":["../../src/actions/list-surveys.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"list-surveys.d.cts","names":[],"sources":["../../src/actions/list-surveys.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cASzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-surveys.d.ts
|
|
4
|
-
declare const SimplesatListSurveysInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SimplesatListSurveysInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
page_size: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const SimplesatListSurveysOutput: z.ZodObject<{
|
|
9
|
+
surveys: z.ZodArray<z.ZodObject<{
|
|
10
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
11
|
+
name: z.ZodNullable<z.ZodString>;
|
|
12
|
+
metric: z.ZodNullable<z.ZodString>;
|
|
13
|
+
}, z.core.$strip>>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
declare const simplesatListSurveys: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
|
+
page?: number | undefined;
|
|
17
|
+
page_size?: number | undefined;
|
|
18
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
19
|
//#endregion
|
|
8
20
|
export { simplesatListSurveys };
|
|
9
21
|
//# sourceMappingURL=list-surveys.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-surveys.d.mts","names":[],"sources":["../../src/actions/list-surveys.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"list-surveys.d.mts","names":[],"sources":["../../src/actions/list-surveys.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cASzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -6,9 +6,9 @@ const SimplesatListSurveysInput = z.object({
|
|
|
6
6
|
page_size: z.number().int().describe("Number of records per page (default 100, max 100)").optional()
|
|
7
7
|
});
|
|
8
8
|
const SimplesatListSurveys_SurveySchema = z.object({
|
|
9
|
-
id: z.number().int().describe("Unique identifier of the survey"),
|
|
10
|
-
name: z.string().describe("Name of the survey"),
|
|
11
|
-
metric: z.string().describe("Type of metric used by the survey (e.g., CSAT, NPS, CES)")
|
|
9
|
+
id: z.number().int().describe("Unique identifier of the survey").nullable(),
|
|
10
|
+
name: z.string().describe("Name of the survey").nullable(),
|
|
11
|
+
metric: z.string().describe("Type of metric used by the survey (e.g., CSAT, NPS, CES)").nullable()
|
|
12
12
|
});
|
|
13
13
|
const simplesatListSurveys = action("SIMPLESAT_LIST_SURVEYS", {
|
|
14
14
|
slug: "simplesat-list-surveys",
|
|
@@ -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
|
|
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;AAKD,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,CAOU;AACV,CAAC"}
|
|
@@ -55,7 +55,7 @@ const SimplesatSearchAnswers_FollowUpAnswerSchema = zod.z.object({
|
|
|
55
55
|
created: zod.z.string().describe("Creation timestamp").nullable().optional()
|
|
56
56
|
}).describe("Follow-up answer information.");
|
|
57
57
|
const SimplesatSearchAnswers_AnswerSchema = zod.z.object({
|
|
58
|
-
id: zod.z.number().int().describe("Unique identifier of the answer"),
|
|
58
|
+
id: zod.z.number().int().describe("Unique identifier of the answer").nullable(),
|
|
59
59
|
choice: SimplesatSearchAnswers_AnswerChoiceSchema.nullable().optional(),
|
|
60
60
|
survey: SimplesatSearchAnswers_AnswerSurveySchema.nullable().optional(),
|
|
61
61
|
choices: zod.z.array(SimplesatSearchAnswers_AnswerChoiceSchema).describe("List of choices if multiple choices were available").nullable().optional(),
|
|
@@ -73,7 +73,7 @@ const SimplesatSearchAnswers_AnswerSchema = zod.z.object({
|
|
|
73
73
|
}).describe("Individual answer object.");
|
|
74
74
|
const SimplesatSearchAnswersOutput = zod.z.object({
|
|
75
75
|
next: zod.z.string().describe("URL to the next page of results, null if no more pages").nullable().optional(),
|
|
76
|
-
count: zod.z.number().int().describe("Total number of answers matching the query"),
|
|
76
|
+
count: zod.z.number().int().describe("Total number of answers matching the query").nullable(),
|
|
77
77
|
answers: zod.z.array(SimplesatSearchAnswers_AnswerSchema).describe("List of answer objects with detailed information"),
|
|
78
78
|
previous: zod.z.string().describe("URL to the previous page of results, null if on first page").nullable().optional()
|
|
79
79
|
}).describe("Response model for searching answers.");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-answers.cjs","names":["z","action"],"sources":["../../src/actions/search-answers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplesatSearchAnswersInput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Page number for pagination (starts at 1)\").optional(),\n filters: z.array(z.object({\n key: z.string().describe(\"Filter key (e.g., 'choice_value', 'collaborator', 'company', 'comment', 'customer', 'sentiment', 'metric', 'survey', 'tag', 'team_member', or custom attributes)\"),\n values: z.array(z.string()).describe(\"List of values to filter by\"),\n comparison: z.enum([\"eq\", \"ne\", \"contains\", \"not_contains\", \"gt\", \"gte\", \"lt\", \"lte\"]).describe(\"Comparison operator for filter values.\").optional(),\n}).describe(\"Individual filter object for searching answers.\")).describe(\"Array of filter objects to apply. Each filter has a key (field to filter), values (array of values to match), and comparison operator. Supports filtering by choice_value, collaborator, company, comment, customer, sentiment, metric, survey, tag, team_member, and custom attributes.\").optional(),\n end_date: z.string().describe(\"End date and time in ISO 8601 format to filter answers (e.g., '2024-12-31T23:59:59Z'). If not specified, defaults to current date.\").optional(),\n operator: z.enum([\"and\", \"or\"]).describe(\"Operator to apply between multiple filters.\").optional(),\n page_size: z.number().int().describe(\"Number of records per page (default 100)\").optional(),\n start_date: z.string().describe(\"Start date and time in ISO 8601 format to filter answers (e.g., '2024-01-01T00:00:00Z'). If not specified, defaults to 30 days ago.\").optional(),\n}).describe(\"Request model for searching answers.\");\nconst SimplesatSearchAnswers_AnswerChoiceSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the choice\").nullable().optional(),\n label: z.string().describe(\"Label of the choice\").nullable().optional(),\n value: z.string().describe(\"Value of the choice\").nullable().optional(),\n}).describe(\"Choice information in an answer.\");\nconst SimplesatSearchAnswers_AnswerSurveySchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the survey\").nullable().optional(),\n name: z.string().describe(\"Name of the survey\").nullable().optional(),\n type: z.string().describe(\"Type of the survey\").nullable().optional(),\n}).describe(\"Survey information in an answer.\");\nconst SimplesatSearchAnswers_AnswerQuestionSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the question\").nullable().optional(),\n text: z.string().describe(\"Text of the question\").nullable().optional(),\n type: z.string().describe(\"Type of the question\").nullable().optional(),\n scale: z.string().describe(\"Scale of the question\").nullable().optional(),\n}).describe(\"Question information in an answer.\");\nconst SimplesatSearchAnswers_AnswerSentimentSchema: z.ZodTypeAny = z.object({\n label: z.string().describe(\"Sentiment label\").nullable().optional(),\n value: z.string().describe(\"Sentiment value (e.g., 'positive', 'neutral', 'negative')\").nullable().optional(),\n}).describe(\"Sentiment information in an answer.\");\nconst SimplesatSearchAnswers_FollowUpAnswerChoiceSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the choice\").nullable().optional(),\n label: z.string().describe(\"Label of the choice\").nullable().optional(),\n value: z.string().describe(\"Value of the choice\").nullable().optional(),\n}).describe(\"Follow-up answer choice information.\");\nconst SimplesatSearchAnswers_FollowUpAnswerSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the follow-up answer\").nullable().optional(),\n choice: SimplesatSearchAnswers_FollowUpAnswerChoiceSchema.nullable().optional(),\n rating: z.number().int().describe(\"Rating given in follow-up\").nullable().optional(),\n comment: z.string().describe(\"Comment in follow-up\").nullable().optional(),\n created: z.string().describe(\"Creation timestamp\").nullable().optional(),\n}).describe(\"Follow-up answer information.\");\nconst SimplesatSearchAnswers_AnswerSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the answer\"),\n choice: SimplesatSearchAnswers_AnswerChoiceSchema.nullable().optional(),\n survey: SimplesatSearchAnswers_AnswerSurveySchema.nullable().optional(),\n choices: z.array(SimplesatSearchAnswers_AnswerChoiceSchema).describe(\"List of choices if multiple choices were available\").nullable().optional(),\n comment: z.string().describe(\"Comment text provided by the customer\").nullable().optional(),\n created: z.string().describe(\"Timestamp when the answer was created (ISO 8601 format)\").nullable().optional(),\n modified: z.string().describe(\"Timestamp when the answer was last modified (ISO 8601 format)\").nullable().optional(),\n question: SimplesatSearchAnswers_AnswerQuestionSchema.nullable().optional(),\n sentiment: SimplesatSearchAnswers_AnswerSentimentSchema.nullable().optional(),\n response_id: z.number().int().describe(\"Unique identifier of the response\").nullable().optional(),\n choice_label: z.string().describe(\"Label for the choice\").nullable().optional(),\n follow_up_answer: SimplesatSearchAnswers_FollowUpAnswerSchema.nullable().optional(),\n follow_up_answer_choice: SimplesatSearchAnswers_FollowUpAnswerChoiceSchema.nullable().optional(),\n follow_up_answer_choices: z.array(SimplesatSearchAnswers_FollowUpAnswerChoiceSchema).describe(\"List of follow-up answer choices if multiple were available\").nullable().optional(),\n published_as_testimonial: z.boolean().describe(\"Whether this answer is published as a testimonial\").nullable().optional(),\n}).describe(\"Individual answer object.\");\nexport const SimplesatSearchAnswersOutput: z.ZodTypeAny = z.object({\n next: z.string().describe(\"URL to the next page of results, null if no more pages\").nullable().optional(),\n count: z.number().int().describe(\"Total number of answers matching the query\"),\n answers: z.array(SimplesatSearchAnswers_AnswerSchema).describe(\"List of answer objects with detailed information\"),\n previous: z.string().describe(\"URL to the previous page of results, null if on first page\").nullable().optional(),\n}).describe(\"Response model for searching answers.\");\n\nexport const simplesatSearchAnswers = action(\"SIMPLESAT_SEARCH_ANSWERS\", {\n slug: \"simplesat-search-answers\",\n name: \"Search Answers\",\n description: \"Tool to search and retrieve answers from Simplesat with advanced filtering. Use when you need to find specific answers based on filters like date range, choice value, sentiment, survey, customer, or custom attributes. If no filters are provided, returns all answers from the last 30 days by default.\",\n input: SimplesatSearchAnswersInput,\n output: SimplesatSearchAnswersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrF,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC1B,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kKAAkK;EAC3L,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6BAA6B;EAClE,YAAYA,IAAAA,EAAE,KAAK;GAAC;GAAM;GAAM;GAAY;GAAgB;GAAM;GAAO;GAAM;EAAK,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACrJ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,CAAC,SAAS,0RAA0R,CAAC,CAAC,SAAS;CAC5W,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS;CAC7K,UAAUA,IAAAA,EAAE,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACjG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0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AA0BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,2BAA2B;AACvC,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;CAC7E,SAASA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,kDAAkD;CACjH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAEnD,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"search-answers.cjs","names":["z","action"],"sources":["../../src/actions/search-answers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplesatSearchAnswersInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (starts at 1)\").optional(),\n filters: z.array(z.object({\n key: z.string().describe(\"Filter key (e.g., 'choice_value', 'collaborator', 'company', 'comment', 'customer', 'sentiment', 'metric', 'survey', 'tag', 'team_member', or custom attributes)\"),\n values: z.array(z.string()).describe(\"List of values to filter by\"),\n comparison: z.enum([\"eq\", \"ne\", \"contains\", \"not_contains\", \"gt\", \"gte\", \"lt\", \"lte\"]).describe(\"Comparison operator for filter values.\").optional(),\n}).describe(\"Individual filter object for searching answers.\")).describe(\"Array of filter objects to apply. Each filter has a key (field to filter), values (array of values to match), and comparison operator. Supports filtering by choice_value, collaborator, company, comment, customer, sentiment, metric, survey, tag, team_member, and custom attributes.\").optional(),\n end_date: z.string().describe(\"End date and time in ISO 8601 format to filter answers (e.g., '2024-12-31T23:59:59Z'). If not specified, defaults to current date.\").optional(),\n operator: z.enum([\"and\", \"or\"]).describe(\"Operator to apply between multiple filters.\").optional(),\n page_size: z.number().int().describe(\"Number of records per page (default 100)\").optional(),\n start_date: z.string().describe(\"Start date and time in ISO 8601 format to filter answers (e.g., '2024-01-01T00:00:00Z'). If not specified, defaults to 30 days ago.\").optional(),\n}).describe(\"Request model for searching answers.\");\nconst SimplesatSearchAnswers_AnswerChoiceSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the choice\").nullable().optional(),\n label: z.string().describe(\"Label of the choice\").nullable().optional(),\n value: z.string().describe(\"Value of the choice\").nullable().optional(),\n}).describe(\"Choice information in an answer.\");\nconst SimplesatSearchAnswers_AnswerSurveySchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the survey\").nullable().optional(),\n name: z.string().describe(\"Name of the survey\").nullable().optional(),\n type: z.string().describe(\"Type of the survey\").nullable().optional(),\n}).describe(\"Survey information in an answer.\");\nconst SimplesatSearchAnswers_AnswerQuestionSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the question\").nullable().optional(),\n text: z.string().describe(\"Text of the question\").nullable().optional(),\n type: z.string().describe(\"Type of the question\").nullable().optional(),\n scale: z.string().describe(\"Scale of the question\").nullable().optional(),\n}).describe(\"Question information in an answer.\");\nconst SimplesatSearchAnswers_AnswerSentimentSchema = z.object({\n label: z.string().describe(\"Sentiment label\").nullable().optional(),\n value: z.string().describe(\"Sentiment value (e.g., 'positive', 'neutral', 'negative')\").nullable().optional(),\n}).describe(\"Sentiment information in an answer.\");\nconst SimplesatSearchAnswers_FollowUpAnswerChoiceSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the choice\").nullable().optional(),\n label: z.string().describe(\"Label of the choice\").nullable().optional(),\n value: z.string().describe(\"Value of the choice\").nullable().optional(),\n}).describe(\"Follow-up answer choice information.\");\nconst SimplesatSearchAnswers_FollowUpAnswerSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the follow-up answer\").nullable().optional(),\n choice: SimplesatSearchAnswers_FollowUpAnswerChoiceSchema.nullable().optional(),\n rating: z.number().int().describe(\"Rating given in follow-up\").nullable().optional(),\n comment: z.string().describe(\"Comment in follow-up\").nullable().optional(),\n created: z.string().describe(\"Creation timestamp\").nullable().optional(),\n}).describe(\"Follow-up answer information.\");\nconst SimplesatSearchAnswers_AnswerSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the answer\").nullable(),\n choice: SimplesatSearchAnswers_AnswerChoiceSchema.nullable().optional(),\n survey: SimplesatSearchAnswers_AnswerSurveySchema.nullable().optional(),\n choices: z.array(SimplesatSearchAnswers_AnswerChoiceSchema).describe(\"List of choices if multiple choices were available\").nullable().optional(),\n comment: z.string().describe(\"Comment text provided by the customer\").nullable().optional(),\n created: z.string().describe(\"Timestamp when the answer was created (ISO 8601 format)\").nullable().optional(),\n modified: z.string().describe(\"Timestamp when the answer was last modified (ISO 8601 format)\").nullable().optional(),\n question: SimplesatSearchAnswers_AnswerQuestionSchema.nullable().optional(),\n sentiment: SimplesatSearchAnswers_AnswerSentimentSchema.nullable().optional(),\n response_id: z.number().int().describe(\"Unique identifier of the response\").nullable().optional(),\n choice_label: z.string().describe(\"Label for the choice\").nullable().optional(),\n follow_up_answer: SimplesatSearchAnswers_FollowUpAnswerSchema.nullable().optional(),\n follow_up_answer_choice: SimplesatSearchAnswers_FollowUpAnswerChoiceSchema.nullable().optional(),\n follow_up_answer_choices: z.array(SimplesatSearchAnswers_FollowUpAnswerChoiceSchema).describe(\"List of follow-up answer choices if multiple were available\").nullable().optional(),\n published_as_testimonial: z.boolean().describe(\"Whether this answer is published as a testimonial\").nullable().optional(),\n}).describe(\"Individual answer object.\");\nexport const SimplesatSearchAnswersOutput = z.object({\n next: z.string().describe(\"URL to the next page of results, null if no more pages\").nullable().optional(),\n count: z.number().int().describe(\"Total number of answers matching the query\").nullable(),\n answers: z.array(SimplesatSearchAnswers_AnswerSchema).describe(\"List of answer objects with detailed information\"),\n previous: z.string().describe(\"URL to the previous page of results, null if on first page\").nullable().optional(),\n}).describe(\"Response model for searching answers.\");\n\nexport const simplesatSearchAnswers = action(\"SIMPLESAT_SEARCH_ANSWERS\", {\n slug: \"simplesat-search-answers\",\n name: \"Search Answers\",\n description: \"Tool to search and retrieve answers from Simplesat with advanced filtering. Use when you need to find specific answers based on filters like date range, choice value, sentiment, survey, customer, or custom attributes. If no filters are provided, returns all answers from the last 30 days by default.\",\n input: SimplesatSearchAnswersInput,\n output: SimplesatSearchAnswersOutput,\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,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC1B,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kKAAkK;EAC3L,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6BAA6B;EAClE,YAAYA,IAAAA,EAAE,KAAK;GAAC;GAAM;GAAM;GAAY;GAAgB;GAAM;GAAO;GAAM;EAAK,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACrJ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,CAAC,SAAS,0RAA0R,CAAC,CAAC,SAAS;CAC5W,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS;CAC7K,UAAUA,IAAAA,EAAE,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACjG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAA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CACjL,0BAA0BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,2BAA2B;AACvC,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACxF,SAASA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,kDAAkD;CACjH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAEnD,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,102 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/search-answers.d.ts
|
|
4
|
-
declare const SimplesatSearchAnswersInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SimplesatSearchAnswersInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7
|
+
key: z.ZodString;
|
|
8
|
+
values: z.ZodArray<z.ZodString>;
|
|
9
|
+
comparison: z.ZodOptional<z.ZodEnum<{
|
|
10
|
+
eq: "eq";
|
|
11
|
+
ne: "ne";
|
|
12
|
+
contains: "contains";
|
|
13
|
+
not_contains: "not_contains";
|
|
14
|
+
gt: "gt";
|
|
15
|
+
gte: "gte";
|
|
16
|
+
lt: "lt";
|
|
17
|
+
lte: "lte";
|
|
18
|
+
}>>;
|
|
19
|
+
}, z.core.$strip>>>;
|
|
20
|
+
end_date: z.ZodOptional<z.ZodString>;
|
|
21
|
+
operator: z.ZodOptional<z.ZodEnum<{
|
|
22
|
+
and: "and";
|
|
23
|
+
or: "or";
|
|
24
|
+
}>>;
|
|
25
|
+
page_size: z.ZodOptional<z.ZodNumber>;
|
|
26
|
+
start_date: z.ZodOptional<z.ZodString>;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
declare const SimplesatSearchAnswersOutput: z.ZodObject<{
|
|
29
|
+
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
count: z.ZodNullable<z.ZodNumber>;
|
|
31
|
+
answers: z.ZodArray<z.ZodObject<{
|
|
32
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
33
|
+
choice: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
34
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
35
|
+
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
+
}, z.core.$strip>>>;
|
|
38
|
+
survey: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
39
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
40
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
+
}, z.core.$strip>>>;
|
|
43
|
+
choices: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
44
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
45
|
+
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
|
+
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
|
+
}, z.core.$strip>>>>;
|
|
48
|
+
comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
|
+
created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
|
+
modified: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
|
+
question: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
52
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
53
|
+
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55
|
+
scale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
56
|
+
}, z.core.$strip>>>;
|
|
57
|
+
sentiment: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
58
|
+
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
|
+
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
60
|
+
}, z.core.$strip>>>;
|
|
61
|
+
response_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
62
|
+
choice_label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63
|
+
follow_up_answer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
64
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
65
|
+
choice: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
66
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
67
|
+
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
68
|
+
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
69
|
+
}, z.core.$strip>>>;
|
|
70
|
+
rating: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
71
|
+
comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
72
|
+
created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
73
|
+
}, z.core.$strip>>>;
|
|
74
|
+
follow_up_answer_choice: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
75
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
76
|
+
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
77
|
+
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
78
|
+
}, z.core.$strip>>>;
|
|
79
|
+
follow_up_answer_choices: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
80
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
81
|
+
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
82
|
+
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
83
|
+
}, z.core.$strip>>>>;
|
|
84
|
+
published_as_testimonial: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
85
|
+
}, z.core.$strip>>;
|
|
86
|
+
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
87
|
+
}, z.core.$strip>;
|
|
88
|
+
declare const simplesatSearchAnswers: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
89
|
+
page?: number | undefined;
|
|
90
|
+
filters?: {
|
|
91
|
+
key: string;
|
|
92
|
+
values: string[];
|
|
93
|
+
comparison?: "eq" | "ne" | "contains" | "not_contains" | "gt" | "gte" | "lt" | "lte" | undefined;
|
|
94
|
+
}[] | undefined;
|
|
95
|
+
end_date?: string | undefined;
|
|
96
|
+
operator?: "and" | "or" | undefined;
|
|
97
|
+
page_size?: number | undefined;
|
|
98
|
+
start_date?: string | undefined;
|
|
99
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
100
|
//#endregion
|
|
8
101
|
export { simplesatSearchAnswers };
|
|
9
102
|
//# sourceMappingURL=search-answers.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-answers.d.cts","names":[],"sources":["../../src/actions/search-answers.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"search-answers.d.cts","names":[],"sources":["../../src/actions/search-answers.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cA6D3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAO5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -1,9 +1,102 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/search-answers.d.ts
|
|
4
|
-
declare const SimplesatSearchAnswersInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SimplesatSearchAnswersInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7
|
+
key: z.ZodString;
|
|
8
|
+
values: z.ZodArray<z.ZodString>;
|
|
9
|
+
comparison: z.ZodOptional<z.ZodEnum<{
|
|
10
|
+
eq: "eq";
|
|
11
|
+
ne: "ne";
|
|
12
|
+
contains: "contains";
|
|
13
|
+
not_contains: "not_contains";
|
|
14
|
+
gt: "gt";
|
|
15
|
+
gte: "gte";
|
|
16
|
+
lt: "lt";
|
|
17
|
+
lte: "lte";
|
|
18
|
+
}>>;
|
|
19
|
+
}, z.core.$strip>>>;
|
|
20
|
+
end_date: z.ZodOptional<z.ZodString>;
|
|
21
|
+
operator: z.ZodOptional<z.ZodEnum<{
|
|
22
|
+
and: "and";
|
|
23
|
+
or: "or";
|
|
24
|
+
}>>;
|
|
25
|
+
page_size: z.ZodOptional<z.ZodNumber>;
|
|
26
|
+
start_date: z.ZodOptional<z.ZodString>;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
declare const SimplesatSearchAnswersOutput: z.ZodObject<{
|
|
29
|
+
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
count: z.ZodNullable<z.ZodNumber>;
|
|
31
|
+
answers: z.ZodArray<z.ZodObject<{
|
|
32
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
33
|
+
choice: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
34
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
35
|
+
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
+
}, z.core.$strip>>>;
|
|
38
|
+
survey: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
39
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
40
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
+
}, z.core.$strip>>>;
|
|
43
|
+
choices: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
44
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
45
|
+
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
|
+
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
|
+
}, z.core.$strip>>>>;
|
|
48
|
+
comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
|
+
created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
|
+
modified: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
|
+
question: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
52
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
53
|
+
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55
|
+
scale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
56
|
+
}, z.core.$strip>>>;
|
|
57
|
+
sentiment: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
58
|
+
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
|
+
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
60
|
+
}, z.core.$strip>>>;
|
|
61
|
+
response_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
62
|
+
choice_label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63
|
+
follow_up_answer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
64
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
65
|
+
choice: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
66
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
67
|
+
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
68
|
+
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
69
|
+
}, z.core.$strip>>>;
|
|
70
|
+
rating: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
71
|
+
comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
72
|
+
created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
73
|
+
}, z.core.$strip>>>;
|
|
74
|
+
follow_up_answer_choice: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
75
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
76
|
+
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
77
|
+
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
78
|
+
}, z.core.$strip>>>;
|
|
79
|
+
follow_up_answer_choices: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
80
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
81
|
+
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
82
|
+
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
83
|
+
}, z.core.$strip>>>>;
|
|
84
|
+
published_as_testimonial: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
85
|
+
}, z.core.$strip>>;
|
|
86
|
+
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
87
|
+
}, z.core.$strip>;
|
|
88
|
+
declare const simplesatSearchAnswers: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
89
|
+
page?: number | undefined;
|
|
90
|
+
filters?: {
|
|
91
|
+
key: string;
|
|
92
|
+
values: string[];
|
|
93
|
+
comparison?: "eq" | "ne" | "contains" | "not_contains" | "gt" | "gte" | "lt" | "lte" | undefined;
|
|
94
|
+
}[] | undefined;
|
|
95
|
+
end_date?: string | undefined;
|
|
96
|
+
operator?: "and" | "or" | undefined;
|
|
97
|
+
page_size?: number | undefined;
|
|
98
|
+
start_date?: string | undefined;
|
|
99
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
100
|
//#endregion
|
|
8
101
|
export { simplesatSearchAnswers };
|
|
9
102
|
//# sourceMappingURL=search-answers.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-answers.d.mts","names":[],"sources":["../../src/actions/search-answers.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"search-answers.d.mts","names":[],"sources":["../../src/actions/search-answers.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cA6D3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAO5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -55,7 +55,7 @@ const SimplesatSearchAnswers_FollowUpAnswerSchema = z.object({
|
|
|
55
55
|
created: z.string().describe("Creation timestamp").nullable().optional()
|
|
56
56
|
}).describe("Follow-up answer information.");
|
|
57
57
|
const SimplesatSearchAnswers_AnswerSchema = z.object({
|
|
58
|
-
id: z.number().int().describe("Unique identifier of the answer"),
|
|
58
|
+
id: z.number().int().describe("Unique identifier of the answer").nullable(),
|
|
59
59
|
choice: SimplesatSearchAnswers_AnswerChoiceSchema.nullable().optional(),
|
|
60
60
|
survey: SimplesatSearchAnswers_AnswerSurveySchema.nullable().optional(),
|
|
61
61
|
choices: z.array(SimplesatSearchAnswers_AnswerChoiceSchema).describe("List of choices if multiple choices were available").nullable().optional(),
|
|
@@ -78,7 +78,7 @@ const simplesatSearchAnswers = action("SIMPLESAT_SEARCH_ANSWERS", {
|
|
|
78
78
|
input: SimplesatSearchAnswersInput,
|
|
79
79
|
output: z.object({
|
|
80
80
|
next: z.string().describe("URL to the next page of results, null if no more pages").nullable().optional(),
|
|
81
|
-
count: z.number().int().describe("Total number of answers matching the query"),
|
|
81
|
+
count: z.number().int().describe("Total number of answers matching the query").nullable(),
|
|
82
82
|
answers: z.array(SimplesatSearchAnswers_AnswerSchema).describe("List of answer objects with detailed information"),
|
|
83
83
|
previous: z.string().describe("URL to the previous page of results, null if on first page").nullable().optional()
|
|
84
84
|
}).describe("Response model for searching answers.")
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-answers.mjs","names":[],"sources":["../../src/actions/search-answers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplesatSearchAnswersInput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Page number for pagination (starts at 1)\").optional(),\n filters: z.array(z.object({\n key: z.string().describe(\"Filter key (e.g., 'choice_value', 'collaborator', 'company', 'comment', 'customer', 'sentiment', 'metric', 'survey', 'tag', 'team_member', or custom attributes)\"),\n values: z.array(z.string()).describe(\"List of values to filter by\"),\n comparison: z.enum([\"eq\", \"ne\", \"contains\", \"not_contains\", \"gt\", \"gte\", \"lt\", \"lte\"]).describe(\"Comparison operator for filter values.\").optional(),\n}).describe(\"Individual filter object for searching answers.\")).describe(\"Array of filter objects to apply. Each filter has a key (field to filter), values (array of values to match), and comparison operator. Supports filtering by choice_value, collaborator, company, comment, customer, sentiment, metric, survey, tag, team_member, and custom attributes.\").optional(),\n end_date: z.string().describe(\"End date and time in ISO 8601 format to filter answers (e.g., '2024-12-31T23:59:59Z'). If not specified, defaults to current date.\").optional(),\n operator: z.enum([\"and\", \"or\"]).describe(\"Operator to apply between multiple filters.\").optional(),\n page_size: z.number().int().describe(\"Number of records per page (default 100)\").optional(),\n start_date: z.string().describe(\"Start date and time in ISO 8601 format to filter answers (e.g., '2024-01-01T00:00:00Z'). If not specified, defaults to 30 days ago.\").optional(),\n}).describe(\"Request model for searching answers.\");\nconst SimplesatSearchAnswers_AnswerChoiceSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the choice\").nullable().optional(),\n label: z.string().describe(\"Label of the choice\").nullable().optional(),\n value: z.string().describe(\"Value of the choice\").nullable().optional(),\n}).describe(\"Choice information in an answer.\");\nconst SimplesatSearchAnswers_AnswerSurveySchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the survey\").nullable().optional(),\n name: z.string().describe(\"Name of the survey\").nullable().optional(),\n type: z.string().describe(\"Type of the survey\").nullable().optional(),\n}).describe(\"Survey information in an answer.\");\nconst SimplesatSearchAnswers_AnswerQuestionSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the question\").nullable().optional(),\n text: z.string().describe(\"Text of the question\").nullable().optional(),\n type: z.string().describe(\"Type of the question\").nullable().optional(),\n scale: z.string().describe(\"Scale of the question\").nullable().optional(),\n}).describe(\"Question information in an answer.\");\nconst SimplesatSearchAnswers_AnswerSentimentSchema: z.ZodTypeAny = z.object({\n label: z.string().describe(\"Sentiment label\").nullable().optional(),\n value: z.string().describe(\"Sentiment value (e.g., 'positive', 'neutral', 'negative')\").nullable().optional(),\n}).describe(\"Sentiment information in an answer.\");\nconst SimplesatSearchAnswers_FollowUpAnswerChoiceSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the choice\").nullable().optional(),\n label: z.string().describe(\"Label of the choice\").nullable().optional(),\n value: z.string().describe(\"Value of the choice\").nullable().optional(),\n}).describe(\"Follow-up answer choice information.\");\nconst SimplesatSearchAnswers_FollowUpAnswerSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the follow-up answer\").nullable().optional(),\n choice: SimplesatSearchAnswers_FollowUpAnswerChoiceSchema.nullable().optional(),\n rating: z.number().int().describe(\"Rating given in follow-up\").nullable().optional(),\n comment: z.string().describe(\"Comment in follow-up\").nullable().optional(),\n created: z.string().describe(\"Creation timestamp\").nullable().optional(),\n}).describe(\"Follow-up answer information.\");\nconst SimplesatSearchAnswers_AnswerSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the answer\"),\n choice: SimplesatSearchAnswers_AnswerChoiceSchema.nullable().optional(),\n survey: SimplesatSearchAnswers_AnswerSurveySchema.nullable().optional(),\n choices: z.array(SimplesatSearchAnswers_AnswerChoiceSchema).describe(\"List of choices if multiple choices were available\").nullable().optional(),\n comment: z.string().describe(\"Comment text provided by the customer\").nullable().optional(),\n created: z.string().describe(\"Timestamp when the answer was created (ISO 8601 format)\").nullable().optional(),\n modified: z.string().describe(\"Timestamp when the answer was last modified (ISO 8601 format)\").nullable().optional(),\n question: SimplesatSearchAnswers_AnswerQuestionSchema.nullable().optional(),\n sentiment: SimplesatSearchAnswers_AnswerSentimentSchema.nullable().optional(),\n response_id: z.number().int().describe(\"Unique identifier of the response\").nullable().optional(),\n choice_label: z.string().describe(\"Label for the choice\").nullable().optional(),\n follow_up_answer: SimplesatSearchAnswers_FollowUpAnswerSchema.nullable().optional(),\n follow_up_answer_choice: SimplesatSearchAnswers_FollowUpAnswerChoiceSchema.nullable().optional(),\n follow_up_answer_choices: z.array(SimplesatSearchAnswers_FollowUpAnswerChoiceSchema).describe(\"List of follow-up answer choices if multiple were available\").nullable().optional(),\n published_as_testimonial: z.boolean().describe(\"Whether this answer is published as a testimonial\").nullable().optional(),\n}).describe(\"Individual answer object.\");\nexport const SimplesatSearchAnswersOutput: z.ZodTypeAny = z.object({\n next: z.string().describe(\"URL to the next page of results, null if no more pages\").nullable().optional(),\n count: z.number().int().describe(\"Total number of answers matching the query\"),\n answers: z.array(SimplesatSearchAnswers_AnswerSchema).describe(\"List of answer objects with detailed information\"),\n previous: z.string().describe(\"URL to the previous page of results, null if on first page\").nullable().optional(),\n}).describe(\"Response model for searching answers.\");\n\nexport const simplesatSearchAnswers = action(\"SIMPLESAT_SEARCH_ANSWERS\", {\n slug: \"simplesat-search-answers\",\n name: \"Search Answers\",\n description: \"Tool to search and retrieve answers from Simplesat with advanced filtering. Use when you need to find specific answers based on filters like date range, choice value, sentiment, survey, customer, or custom attributes. If no filters are provided, returns all answers from the last 30 days by default.\",\n input: SimplesatSearchAnswersInput,\n output: SimplesatSearchAnswersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4C,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrF,SAAS,EAAE,MAAM,EAAE,OAAO;EAC1B,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kKAAkK;EAC3L,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6BAA6B;EAClE,YAAY,EAAE,KAAK;GAAC;GAAM;GAAM;GAAY;GAAgB;GAAM;GAAO;GAAM;EAAK,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACrJ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,CAAC,SAAS,0RAA0R,CAAC,CAAC,SAAS;CAC5W,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI,CAAC,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;AAQvC,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZwD,EAAE,OAAO;EACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;EAC7E,SAAS,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,kDAAkD;EACjH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,CAAC,CAAC,CAAC,SAAS,uCAOF;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"search-answers.mjs","names":[],"sources":["../../src/actions/search-answers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplesatSearchAnswersInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (starts at 1)\").optional(),\n filters: z.array(z.object({\n key: z.string().describe(\"Filter key (e.g., 'choice_value', 'collaborator', 'company', 'comment', 'customer', 'sentiment', 'metric', 'survey', 'tag', 'team_member', or custom attributes)\"),\n values: z.array(z.string()).describe(\"List of values to filter by\"),\n comparison: z.enum([\"eq\", \"ne\", \"contains\", \"not_contains\", \"gt\", \"gte\", \"lt\", \"lte\"]).describe(\"Comparison operator for filter values.\").optional(),\n}).describe(\"Individual filter object for searching answers.\")).describe(\"Array of filter objects to apply. Each filter has a key (field to filter), values (array of values to match), and comparison operator. Supports filtering by choice_value, collaborator, company, comment, customer, sentiment, metric, survey, tag, team_member, and custom attributes.\").optional(),\n end_date: z.string().describe(\"End date and time in ISO 8601 format to filter answers (e.g., '2024-12-31T23:59:59Z'). If not specified, defaults to current date.\").optional(),\n operator: z.enum([\"and\", \"or\"]).describe(\"Operator to apply between multiple filters.\").optional(),\n page_size: z.number().int().describe(\"Number of records per page (default 100)\").optional(),\n start_date: z.string().describe(\"Start date and time in ISO 8601 format to filter answers (e.g., '2024-01-01T00:00:00Z'). If not specified, defaults to 30 days ago.\").optional(),\n}).describe(\"Request model for searching answers.\");\nconst SimplesatSearchAnswers_AnswerChoiceSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the choice\").nullable().optional(),\n label: z.string().describe(\"Label of the choice\").nullable().optional(),\n value: z.string().describe(\"Value of the choice\").nullable().optional(),\n}).describe(\"Choice information in an answer.\");\nconst SimplesatSearchAnswers_AnswerSurveySchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the survey\").nullable().optional(),\n name: z.string().describe(\"Name of the survey\").nullable().optional(),\n type: z.string().describe(\"Type of the survey\").nullable().optional(),\n}).describe(\"Survey information in an answer.\");\nconst SimplesatSearchAnswers_AnswerQuestionSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the question\").nullable().optional(),\n text: z.string().describe(\"Text of the question\").nullable().optional(),\n type: z.string().describe(\"Type of the question\").nullable().optional(),\n scale: z.string().describe(\"Scale of the question\").nullable().optional(),\n}).describe(\"Question information in an answer.\");\nconst SimplesatSearchAnswers_AnswerSentimentSchema = z.object({\n label: z.string().describe(\"Sentiment label\").nullable().optional(),\n value: z.string().describe(\"Sentiment value (e.g., 'positive', 'neutral', 'negative')\").nullable().optional(),\n}).describe(\"Sentiment information in an answer.\");\nconst SimplesatSearchAnswers_FollowUpAnswerChoiceSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the choice\").nullable().optional(),\n label: z.string().describe(\"Label of the choice\").nullable().optional(),\n value: z.string().describe(\"Value of the choice\").nullable().optional(),\n}).describe(\"Follow-up answer choice information.\");\nconst SimplesatSearchAnswers_FollowUpAnswerSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the follow-up answer\").nullable().optional(),\n choice: SimplesatSearchAnswers_FollowUpAnswerChoiceSchema.nullable().optional(),\n rating: z.number().int().describe(\"Rating given in follow-up\").nullable().optional(),\n comment: z.string().describe(\"Comment in follow-up\").nullable().optional(),\n created: z.string().describe(\"Creation timestamp\").nullable().optional(),\n}).describe(\"Follow-up answer information.\");\nconst SimplesatSearchAnswers_AnswerSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the answer\").nullable(),\n choice: SimplesatSearchAnswers_AnswerChoiceSchema.nullable().optional(),\n survey: SimplesatSearchAnswers_AnswerSurveySchema.nullable().optional(),\n choices: z.array(SimplesatSearchAnswers_AnswerChoiceSchema).describe(\"List of choices if multiple choices were available\").nullable().optional(),\n comment: z.string().describe(\"Comment text provided by the customer\").nullable().optional(),\n created: z.string().describe(\"Timestamp when the answer was created (ISO 8601 format)\").nullable().optional(),\n modified: z.string().describe(\"Timestamp when the answer was last modified (ISO 8601 format)\").nullable().optional(),\n question: SimplesatSearchAnswers_AnswerQuestionSchema.nullable().optional(),\n sentiment: SimplesatSearchAnswers_AnswerSentimentSchema.nullable().optional(),\n response_id: z.number().int().describe(\"Unique identifier of the response\").nullable().optional(),\n choice_label: z.string().describe(\"Label for the choice\").nullable().optional(),\n follow_up_answer: SimplesatSearchAnswers_FollowUpAnswerSchema.nullable().optional(),\n follow_up_answer_choice: SimplesatSearchAnswers_FollowUpAnswerChoiceSchema.nullable().optional(),\n follow_up_answer_choices: z.array(SimplesatSearchAnswers_FollowUpAnswerChoiceSchema).describe(\"List of follow-up answer choices if multiple were available\").nullable().optional(),\n published_as_testimonial: z.boolean().describe(\"Whether this answer is published as a testimonial\").nullable().optional(),\n}).describe(\"Individual answer object.\");\nexport const SimplesatSearchAnswersOutput = z.object({\n next: z.string().describe(\"URL to the next page of results, null if no more pages\").nullable().optional(),\n count: z.number().int().describe(\"Total number of answers matching the query\").nullable(),\n answers: z.array(SimplesatSearchAnswers_AnswerSchema).describe(\"List of answer objects with detailed information\"),\n previous: z.string().describe(\"URL to the previous page of results, null if on first page\").nullable().optional(),\n}).describe(\"Response model for searching answers.\");\n\nexport const simplesatSearchAnswers = action(\"SIMPLESAT_SEARCH_ANSWERS\", {\n slug: \"simplesat-search-answers\",\n name: \"Search Answers\",\n description: \"Tool to search and retrieve answers from Simplesat with advanced filtering. Use when you need to find specific answers based on filters like date range, choice value, sentiment, survey, customer, or custom attributes. If no filters are provided, returns all answers from the last 30 days by default.\",\n input: SimplesatSearchAnswersInput,\n output: SimplesatSearchAnswersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrF,SAAS,EAAE,MAAM,EAAE,OAAO;EAC1B,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kKAAkK;EAC3L,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6BAA6B;EAClE,YAAY,EAAE,KAAK;GAAC;GAAM;GAAM;GAAY;GAAgB;GAAM;GAAO;GAAM;EAAK,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACrJ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,CAAC,SAAS,0RAA0R,CAAC,CAAC,SAAS;CAC5W,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS;CAC7K,UAAU,EAAE,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACjG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS;AAClL,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,4CAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,OAAO,EAAE,OAAO,CAAC,CAAC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