@keystrokehq/mopinion 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/get-account.cjs +5 -5
- package/dist/actions/get-account.cjs.map +1 -1
- package/dist/actions/get-account.d.cts +5 -5
- package/dist/actions/get-account.d.mts +5 -5
- package/dist/actions/get-account.mjs +5 -5
- package/dist/actions/get-account.mjs.map +1 -1
- package/dist/actions/get-dataset-by-id.cjs +3 -3
- package/dist/actions/get-dataset-by-id.cjs.map +1 -1
- package/dist/actions/get-dataset-by-id.d.cts +3 -3
- package/dist/actions/get-dataset-by-id.d.mts +3 -3
- package/dist/actions/get-dataset-by-id.mjs +3 -3
- package/dist/actions/get-dataset-by-id.mjs.map +1 -1
- package/dist/actions/get-dataset-feedback-by-id.cjs +4 -4
- package/dist/actions/get-dataset-feedback-by-id.cjs.map +1 -1
- package/dist/actions/get-dataset-feedback-by-id.d.cts +4 -4
- package/dist/actions/get-dataset-feedback-by-id.d.mts +4 -4
- package/dist/actions/get-dataset-feedback-by-id.mjs +4 -4
- package/dist/actions/get-dataset-feedback-by-id.mjs.map +1 -1
- package/dist/actions/get-dataset-feedback.cjs +6 -6
- package/dist/actions/get-dataset-feedback.cjs.map +1 -1
- package/dist/actions/get-dataset-feedback.d.cts +7 -7
- package/dist/actions/get-dataset-feedback.d.mts +7 -7
- package/dist/actions/get-dataset-feedback.mjs +6 -6
- package/dist/actions/get-dataset-feedback.mjs.map +1 -1
- package/dist/actions/get-dataset-fields.cjs +1 -1
- package/dist/actions/get-dataset-fields.cjs.map +1 -1
- package/dist/actions/get-dataset-fields.d.cts +1 -1
- package/dist/actions/get-dataset-fields.d.mts +1 -1
- package/dist/actions/get-dataset-fields.mjs +1 -1
- package/dist/actions/get-dataset-fields.mjs.map +1 -1
- package/dist/actions/get-deployment-by-id.cjs +1 -1
- package/dist/actions/get-deployment-by-id.cjs.map +1 -1
- package/dist/actions/get-deployment-by-id.d.cts +1 -1
- package/dist/actions/get-deployment-by-id.d.mts +1 -1
- package/dist/actions/get-deployment-by-id.mjs +1 -1
- package/dist/actions/get-deployment-by-id.mjs.map +1 -1
- package/dist/actions/get-deployments.cjs +3 -3
- package/dist/actions/get-deployments.cjs.map +1 -1
- package/dist/actions/get-deployments.d.cts +3 -3
- package/dist/actions/get-deployments.d.mts +3 -3
- package/dist/actions/get-deployments.mjs +3 -3
- package/dist/actions/get-deployments.mjs.map +1 -1
- package/dist/actions/get-report-by-id.cjs +2 -2
- package/dist/actions/get-report-by-id.cjs.map +1 -1
- package/dist/actions/get-report-by-id.d.cts +2 -2
- package/dist/actions/get-report-by-id.d.mts +2 -2
- package/dist/actions/get-report-by-id.mjs +2 -2
- package/dist/actions/get-report-by-id.mjs.map +1 -1
- package/dist/actions/get-report-feedback.cjs +2 -2
- package/dist/actions/get-report-feedback.cjs.map +1 -1
- package/dist/actions/get-report-feedback.d.cts +2 -2
- package/dist/actions/get-report-feedback.d.mts +2 -2
- package/dist/actions/get-report-feedback.mjs +2 -2
- package/dist/actions/get-report-feedback.mjs.map +1 -1
- package/dist/actions/get-report-fields.cjs +1 -1
- package/dist/actions/get-report-fields.cjs.map +1 -1
- package/dist/actions/get-report-fields.d.cts +1 -1
- package/dist/actions/get-report-fields.d.mts +1 -1
- package/dist/actions/get-report-fields.mjs +1 -1
- package/dist/actions/get-report-fields.mjs.map +1 -1
- package/dist/actions/get-root.cjs +1 -1
- package/dist/actions/get-root.cjs.map +1 -1
- package/dist/actions/get-root.d.cts +1 -1
- package/dist/actions/get-root.d.mts +1 -1
- package/dist/actions/get-root.mjs +1 -1
- package/dist/actions/get-root.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -15,7 +15,7 @@ const MopinionGetReportFeedback_FeedbackMetadataSchema = zod.z.object({
|
|
|
15
15
|
message: zod.z.string().describe("Status message from the API.").nullable(),
|
|
16
16
|
has_more: zod.z.boolean().describe("Whether more results are available for pagination.").nullable(),
|
|
17
17
|
previous: zod.z.boolean().describe("Whether a previous page exists.").nullable()
|
|
18
|
-
}).describe("Metadata structure for API responses.");
|
|
18
|
+
}).passthrough().describe("Metadata structure for API responses.");
|
|
19
19
|
const MopinionGetReportFeedback_FeedbackItemSchema = zod.z.object({
|
|
20
20
|
id: zod.z.number().int().describe("Unique feedback ID.").nullable().optional(),
|
|
21
21
|
tags: zod.z.array(zod.z.string()).describe("Tags associated with feedback.").nullable().optional(),
|
|
@@ -26,7 +26,7 @@ const MopinionGetReportFeedback_FeedbackItemSchema = zod.z.object({
|
|
|
26
26
|
const MopinionGetReportFeedbackOutput = zod.z.object({
|
|
27
27
|
_meta: MopinionGetReportFeedback_FeedbackMetadataSchema.nullable(),
|
|
28
28
|
feedback: zod.z.array(MopinionGetReportFeedback_FeedbackItemSchema).describe("List of feedback items with typed common fields and dynamic custom fields.")
|
|
29
|
-
}).describe("Response model for GET_REPORT_FEEDBACK action.");
|
|
29
|
+
}).passthrough().describe("Response model for GET_REPORT_FEEDBACK action.");
|
|
30
30
|
const mopinionGetReportFeedback = require_action.action("MOPINION_GET_REPORT_FEEDBACK", {
|
|
31
31
|
slug: "mopinion-get-report-feedback",
|
|
32
32
|
name: "Get Report Feedback",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-report-feedback.cjs","names":["z","action"],"sources":["../../src/actions/get-report-feedback.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetReportFeedbackInput = z.object({\n page: z.number().int().describe(\"Page number to retrieve (1-based).\").optional(),\n limit: z.number().int().describe(\"Maximum number of feedback items to return per page (1-100).\").optional(),\n filters: z.record(z.string(), z.unknown()).describe(\"Server-side filters serialized as filter[field]=value in query parameters.\").optional(),\n report_id: z.number().int().describe(\"The unique identifier of the report to retrieve feedback for.\"),\n}).describe(\"Request model for GET_REPORT_FEEDBACK action.\");\nconst MopinionGetReportFeedback_FeedbackMetadataSchema = z.object({\n code: z.number().int().describe(\"HTTP status code of the response.\").nullable(),\n next: z.boolean().describe(\"Whether a next page exists.\").nullable(),\n count: z.number().int().describe(\"Number of items in current response.\").nullable(),\n total: z.number().int().describe(\"Total number of items across all pages.\").nullable(),\n message: z.string().describe(\"Status message from the API.\").nullable(),\n has_more: z.boolean().describe(\"Whether more results are available for pagination.\").nullable(),\n previous: z.boolean().describe(\"Whether a previous page exists.\").nullable(),\n}).describe(\"Metadata structure for API responses.\");\nconst MopinionGetReportFeedback_FeedbackItemSchema = z.object({\n id: z.number().int().describe(\"Unique feedback ID.\").nullable().optional(),\n tags: z.array(z.string()).describe(\"Tags associated with feedback.\").nullable().optional(),\n created: z.string().describe(\"Feedback creation timestamp.\").nullable().optional(),\n report_id: z.number().int().describe(\"Associated report ID.\").nullable().optional(),\n dataset_id: z.number().int().describe(\"Associated dataset ID.\").nullable().optional(),\n}).passthrough().describe(\"Individual feedback item structure.\\nNote: Feedback items have dynamic fields based on form configuration.\\nCommon fields are typed, while custom fields are in extra_fields.\");\nexport const MopinionGetReportFeedbackOutput = z.object({\n _meta: MopinionGetReportFeedback_FeedbackMetadataSchema.nullable(),\n feedback: z.array(MopinionGetReportFeedback_FeedbackItemSchema).describe(\"List of feedback items with typed common fields and dynamic custom fields.\"),\n}).describe(\"Response model for GET_REPORT_FEEDBACK action.\");\n\nexport const mopinionGetReportFeedback = action(\"MOPINION_GET_REPORT_FEEDBACK\", {\n slug: \"mopinion-get-report-feedback\",\n name: \"Get Report Feedback\",\n description: \"Tool to retrieve feedback items for a report. Use when you need paginated and filtered feedback entries for analysis.\",\n input: MopinionGetReportFeedbackInput,\n output: MopinionGetReportFeedbackOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC/E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC1G,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAC3I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;AACtG,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC9E,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAClF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACrF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC9F,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,SAAS,uCAAuC;
|
|
1
|
+
{"version":3,"file":"get-report-feedback.cjs","names":["z","action"],"sources":["../../src/actions/get-report-feedback.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetReportFeedbackInput = z.object({\n page: z.number().int().describe(\"Page number to retrieve (1-based).\").optional(),\n limit: z.number().int().describe(\"Maximum number of feedback items to return per page (1-100).\").optional(),\n filters: z.record(z.string(), z.unknown()).describe(\"Server-side filters serialized as filter[field]=value in query parameters.\").optional(),\n report_id: z.number().int().describe(\"The unique identifier of the report to retrieve feedback for.\"),\n}).describe(\"Request model for GET_REPORT_FEEDBACK action.\");\nconst MopinionGetReportFeedback_FeedbackMetadataSchema = z.object({\n code: z.number().int().describe(\"HTTP status code of the response.\").nullable(),\n next: z.boolean().describe(\"Whether a next page exists.\").nullable(),\n count: z.number().int().describe(\"Number of items in current response.\").nullable(),\n total: z.number().int().describe(\"Total number of items across all pages.\").nullable(),\n message: z.string().describe(\"Status message from the API.\").nullable(),\n has_more: z.boolean().describe(\"Whether more results are available for pagination.\").nullable(),\n previous: z.boolean().describe(\"Whether a previous page exists.\").nullable(),\n}).passthrough().describe(\"Metadata structure for API responses.\");\nconst MopinionGetReportFeedback_FeedbackItemSchema = z.object({\n id: z.number().int().describe(\"Unique feedback ID.\").nullable().optional(),\n tags: z.array(z.string()).describe(\"Tags associated with feedback.\").nullable().optional(),\n created: z.string().describe(\"Feedback creation timestamp.\").nullable().optional(),\n report_id: z.number().int().describe(\"Associated report ID.\").nullable().optional(),\n dataset_id: z.number().int().describe(\"Associated dataset ID.\").nullable().optional(),\n}).passthrough().describe(\"Individual feedback item structure.\\nNote: Feedback items have dynamic fields based on form configuration.\\nCommon fields are typed, while custom fields are in extra_fields.\");\nexport const MopinionGetReportFeedbackOutput = z.object({\n _meta: MopinionGetReportFeedback_FeedbackMetadataSchema.nullable(),\n feedback: z.array(MopinionGetReportFeedback_FeedbackItemSchema).describe(\"List of feedback items with typed common fields and dynamic custom fields.\"),\n}).passthrough().describe(\"Response model for GET_REPORT_FEEDBACK action.\");\n\nexport const mopinionGetReportFeedback = action(\"MOPINION_GET_REPORT_FEEDBACK\", {\n slug: \"mopinion-get-report-feedback\",\n name: \"Get Report Feedback\",\n description: \"Tool to retrieve feedback items for a report. Use when you need paginated and filtered feedback entries for analysis.\",\n input: MopinionGetReportFeedbackInput,\n output: MopinionGetReportFeedbackOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC/E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC1G,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAC3I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;AACtG,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC9E,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAClF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACrF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC9F,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+KAA+K;AACzM,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,OAAO,iDAAiD,SAAS;CACjE,UAAUA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,4EAA4E;AACvJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -16,7 +16,7 @@ declare const MopinionGetReportFeedbackOutput: z.ZodObject<{
|
|
|
16
16
|
message: z.ZodNullable<z.ZodString>;
|
|
17
17
|
has_more: z.ZodNullable<z.ZodBoolean>;
|
|
18
18
|
previous: z.ZodNullable<z.ZodBoolean>;
|
|
19
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>;
|
|
20
20
|
feedback: z.ZodArray<z.ZodObject<{
|
|
21
21
|
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
22
|
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -24,7 +24,7 @@ declare const MopinionGetReportFeedbackOutput: z.ZodObject<{
|
|
|
24
24
|
report_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
25
|
dataset_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
26
|
}, z.core.$loose>>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>;
|
|
28
28
|
declare const mopinionGetReportFeedback: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
29
29
|
report_id: number;
|
|
30
30
|
page?: number | undefined;
|
|
@@ -16,7 +16,7 @@ declare const MopinionGetReportFeedbackOutput: z.ZodObject<{
|
|
|
16
16
|
message: z.ZodNullable<z.ZodString>;
|
|
17
17
|
has_more: z.ZodNullable<z.ZodBoolean>;
|
|
18
18
|
previous: z.ZodNullable<z.ZodBoolean>;
|
|
19
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>;
|
|
20
20
|
feedback: z.ZodArray<z.ZodObject<{
|
|
21
21
|
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
22
|
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -24,7 +24,7 @@ declare const MopinionGetReportFeedbackOutput: z.ZodObject<{
|
|
|
24
24
|
report_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
25
|
dataset_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
26
|
}, z.core.$loose>>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>;
|
|
28
28
|
declare const mopinionGetReportFeedback: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
29
29
|
report_id: number;
|
|
30
30
|
page?: number | undefined;
|
|
@@ -15,7 +15,7 @@ const MopinionGetReportFeedback_FeedbackMetadataSchema = z.object({
|
|
|
15
15
|
message: z.string().describe("Status message from the API.").nullable(),
|
|
16
16
|
has_more: z.boolean().describe("Whether more results are available for pagination.").nullable(),
|
|
17
17
|
previous: z.boolean().describe("Whether a previous page exists.").nullable()
|
|
18
|
-
}).describe("Metadata structure for API responses.");
|
|
18
|
+
}).passthrough().describe("Metadata structure for API responses.");
|
|
19
19
|
const MopinionGetReportFeedback_FeedbackItemSchema = z.object({
|
|
20
20
|
id: z.number().int().describe("Unique feedback ID.").nullable().optional(),
|
|
21
21
|
tags: z.array(z.string()).describe("Tags associated with feedback.").nullable().optional(),
|
|
@@ -31,7 +31,7 @@ const mopinionGetReportFeedback = action("MOPINION_GET_REPORT_FEEDBACK", {
|
|
|
31
31
|
output: z.object({
|
|
32
32
|
_meta: MopinionGetReportFeedback_FeedbackMetadataSchema.nullable(),
|
|
33
33
|
feedback: z.array(MopinionGetReportFeedback_FeedbackItemSchema).describe("List of feedback items with typed common fields and dynamic custom fields.")
|
|
34
|
-
}).describe("Response model for GET_REPORT_FEEDBACK action.")
|
|
34
|
+
}).passthrough().describe("Response model for GET_REPORT_FEEDBACK action.")
|
|
35
35
|
});
|
|
36
36
|
//#endregion
|
|
37
37
|
export { mopinionGetReportFeedback };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-report-feedback.mjs","names":[],"sources":["../../src/actions/get-report-feedback.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetReportFeedbackInput = z.object({\n page: z.number().int().describe(\"Page number to retrieve (1-based).\").optional(),\n limit: z.number().int().describe(\"Maximum number of feedback items to return per page (1-100).\").optional(),\n filters: z.record(z.string(), z.unknown()).describe(\"Server-side filters serialized as filter[field]=value in query parameters.\").optional(),\n report_id: z.number().int().describe(\"The unique identifier of the report to retrieve feedback for.\"),\n}).describe(\"Request model for GET_REPORT_FEEDBACK action.\");\nconst MopinionGetReportFeedback_FeedbackMetadataSchema = z.object({\n code: z.number().int().describe(\"HTTP status code of the response.\").nullable(),\n next: z.boolean().describe(\"Whether a next page exists.\").nullable(),\n count: z.number().int().describe(\"Number of items in current response.\").nullable(),\n total: z.number().int().describe(\"Total number of items across all pages.\").nullable(),\n message: z.string().describe(\"Status message from the API.\").nullable(),\n has_more: z.boolean().describe(\"Whether more results are available for pagination.\").nullable(),\n previous: z.boolean().describe(\"Whether a previous page exists.\").nullable(),\n}).describe(\"Metadata structure for API responses.\");\nconst MopinionGetReportFeedback_FeedbackItemSchema = z.object({\n id: z.number().int().describe(\"Unique feedback ID.\").nullable().optional(),\n tags: z.array(z.string()).describe(\"Tags associated with feedback.\").nullable().optional(),\n created: z.string().describe(\"Feedback creation timestamp.\").nullable().optional(),\n report_id: z.number().int().describe(\"Associated report ID.\").nullable().optional(),\n dataset_id: z.number().int().describe(\"Associated dataset ID.\").nullable().optional(),\n}).passthrough().describe(\"Individual feedback item structure.\\nNote: Feedback items have dynamic fields based on form configuration.\\nCommon fields are typed, while custom fields are in extra_fields.\");\nexport const MopinionGetReportFeedbackOutput = z.object({\n _meta: MopinionGetReportFeedback_FeedbackMetadataSchema.nullable(),\n feedback: z.array(MopinionGetReportFeedback_FeedbackItemSchema).describe(\"List of feedback items with typed common fields and dynamic custom fields.\"),\n}).describe(\"Response model for GET_REPORT_FEEDBACK action.\");\n\nexport const mopinionGetReportFeedback = action(\"MOPINION_GET_REPORT_FEEDBACK\", {\n slug: \"mopinion-get-report-feedback\",\n name: \"Get Report Feedback\",\n description: \"Tool to retrieve feedback items for a report. Use when you need paginated and filtered feedback entries for analysis.\",\n input: MopinionGetReportFeedbackInput,\n output: MopinionGetReportFeedbackOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC1G,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAC3I,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;AACtG,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,mDAAmD,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC9E,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACnE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAClF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACrF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACtE,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC9F,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,SAAS,uCAAuC;
|
|
1
|
+
{"version":3,"file":"get-report-feedback.mjs","names":[],"sources":["../../src/actions/get-report-feedback.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetReportFeedbackInput = z.object({\n page: z.number().int().describe(\"Page number to retrieve (1-based).\").optional(),\n limit: z.number().int().describe(\"Maximum number of feedback items to return per page (1-100).\").optional(),\n filters: z.record(z.string(), z.unknown()).describe(\"Server-side filters serialized as filter[field]=value in query parameters.\").optional(),\n report_id: z.number().int().describe(\"The unique identifier of the report to retrieve feedback for.\"),\n}).describe(\"Request model for GET_REPORT_FEEDBACK action.\");\nconst MopinionGetReportFeedback_FeedbackMetadataSchema = z.object({\n code: z.number().int().describe(\"HTTP status code of the response.\").nullable(),\n next: z.boolean().describe(\"Whether a next page exists.\").nullable(),\n count: z.number().int().describe(\"Number of items in current response.\").nullable(),\n total: z.number().int().describe(\"Total number of items across all pages.\").nullable(),\n message: z.string().describe(\"Status message from the API.\").nullable(),\n has_more: z.boolean().describe(\"Whether more results are available for pagination.\").nullable(),\n previous: z.boolean().describe(\"Whether a previous page exists.\").nullable(),\n}).passthrough().describe(\"Metadata structure for API responses.\");\nconst MopinionGetReportFeedback_FeedbackItemSchema = z.object({\n id: z.number().int().describe(\"Unique feedback ID.\").nullable().optional(),\n tags: z.array(z.string()).describe(\"Tags associated with feedback.\").nullable().optional(),\n created: z.string().describe(\"Feedback creation timestamp.\").nullable().optional(),\n report_id: z.number().int().describe(\"Associated report ID.\").nullable().optional(),\n dataset_id: z.number().int().describe(\"Associated dataset ID.\").nullable().optional(),\n}).passthrough().describe(\"Individual feedback item structure.\\nNote: Feedback items have dynamic fields based on form configuration.\\nCommon fields are typed, while custom fields are in extra_fields.\");\nexport const MopinionGetReportFeedbackOutput = z.object({\n _meta: MopinionGetReportFeedback_FeedbackMetadataSchema.nullable(),\n feedback: z.array(MopinionGetReportFeedback_FeedbackItemSchema).describe(\"List of feedback items with typed common fields and dynamic custom fields.\"),\n}).passthrough().describe(\"Response model for GET_REPORT_FEEDBACK action.\");\n\nexport const mopinionGetReportFeedback = action(\"MOPINION_GET_REPORT_FEEDBACK\", {\n slug: \"mopinion-get-report-feedback\",\n name: \"Get Report Feedback\",\n description: \"Tool to retrieve feedback items for a report. Use when you need paginated and filtered feedback entries for analysis.\",\n input: MopinionGetReportFeedbackInput,\n output: MopinionGetReportFeedbackOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC1G,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAC3I,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;AACtG,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,mDAAmD,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC9E,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACnE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAClF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACrF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACtE,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC9F,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAM,+CAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+KAA+K;AAMzM,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV6C,EAAE,OAAO;EACtD,OAAO,iDAAiD,SAAS;EACjE,UAAU,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,4EAA4E;CACvJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
|
|
@@ -12,7 +12,7 @@ const MopinionGetReportFields_FieldDefinitionSchema = zod.z.object({
|
|
|
12
12
|
formatter: zod.z.string().describe("Formatter used for this field, if any.").nullable().optional(),
|
|
13
13
|
defaultValue: zod.z.string().describe("Default value for this field, if any.").nullable().optional()
|
|
14
14
|
}).passthrough().describe("Definition of a single field within a report schema.");
|
|
15
|
-
const MopinionGetReportFieldsOutput = zod.z.object({ fields: zod.z.array(MopinionGetReportFields_FieldDefinitionSchema).describe("List of field definitions for the report.") }).describe("Response model containing a list of field definitions for the report.");
|
|
15
|
+
const MopinionGetReportFieldsOutput = zod.z.object({ fields: zod.z.array(MopinionGetReportFields_FieldDefinitionSchema).describe("List of field definitions for the report.") }).passthrough().describe("Response model containing a list of field definitions for the report.");
|
|
16
16
|
const mopinionGetReportFields = require_action.action("MOPINION_GET_REPORT_FIELDS", {
|
|
17
17
|
slug: "mopinion-get-report-fields",
|
|
18
18
|
name: "Get Report Fields",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-report-fields.cjs","names":["z","action"],"sources":["../../src/actions/get-report-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetReportFieldsInput = z.object({\n report_id: z.number().int().describe(\"The unique ID of the report to retrieve fields for.\"),\n}).describe(\"Request model for fetching report field definitions.\");\nconst MopinionGetReportFields_FieldDefinitionSchema = z.object({\n id: z.number().int().describe(\"Internal field identifier.\").nullable(),\n name: z.string().describe(\"Field name.\").nullable(),\n type: z.string().describe(\"Field data type, e.g., 'text', 'textarea', 'email'.\").nullable(),\n label: z.string().describe(\"Field label shown in UI.\").nullable(),\n readOnly: z.boolean().describe(\"Whether the field is read-only.\").nullable(),\n required: z.boolean().describe(\"Whether the field is required.\").nullable(),\n formatter: z.string().describe(\"Formatter used for this field, if any.\").nullable().optional(),\n defaultValue: z.string().describe(\"Default value for this field, if any.\").nullable().optional(),\n}).passthrough().describe(\"Definition of a single field within a report schema.\");\nexport const MopinionGetReportFieldsOutput = z.object({\n fields: z.array(MopinionGetReportFields_FieldDefinitionSchema).describe(\"List of field definitions for the report.\"),\n}).describe(\"Response model containing a list of field definitions for the report.\");\n\nexport const mopinionGetReportFields = action(\"MOPINION_GET_REPORT_FIELDS\", {\n slug: \"mopinion-get-report-fields\",\n name: \"Get Report Fields\",\n description: \"Tool to retrieve field definitions for a specific report. Use when you need the schema of a report's feedback fields before constructing or analyzing forms.\",\n input: MopinionGetReportFieldsInput,\n output: MopinionGetReportFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,EAC5F,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC1F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAChE,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC3E,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC1E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,QAAQA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,2CAA2C,EACrH,CAAC,CAAC,CAAC,SAAS,uEAAuE;
|
|
1
|
+
{"version":3,"file":"get-report-fields.cjs","names":["z","action"],"sources":["../../src/actions/get-report-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetReportFieldsInput = z.object({\n report_id: z.number().int().describe(\"The unique ID of the report to retrieve fields for.\"),\n}).describe(\"Request model for fetching report field definitions.\");\nconst MopinionGetReportFields_FieldDefinitionSchema = z.object({\n id: z.number().int().describe(\"Internal field identifier.\").nullable(),\n name: z.string().describe(\"Field name.\").nullable(),\n type: z.string().describe(\"Field data type, e.g., 'text', 'textarea', 'email'.\").nullable(),\n label: z.string().describe(\"Field label shown in UI.\").nullable(),\n readOnly: z.boolean().describe(\"Whether the field is read-only.\").nullable(),\n required: z.boolean().describe(\"Whether the field is required.\").nullable(),\n formatter: z.string().describe(\"Formatter used for this field, if any.\").nullable().optional(),\n defaultValue: z.string().describe(\"Default value for this field, if any.\").nullable().optional(),\n}).passthrough().describe(\"Definition of a single field within a report schema.\");\nexport const MopinionGetReportFieldsOutput = z.object({\n fields: z.array(MopinionGetReportFields_FieldDefinitionSchema).describe(\"List of field definitions for the report.\"),\n}).passthrough().describe(\"Response model containing a list of field definitions for the report.\");\n\nexport const mopinionGetReportFields = action(\"MOPINION_GET_REPORT_FIELDS\", {\n slug: \"mopinion-get-report-fields\",\n name: \"Get Report Fields\",\n description: \"Tool to retrieve field definitions for a specific report. Use when you need the schema of a report's feedback fields before constructing or analyzing forms.\",\n input: MopinionGetReportFieldsInput,\n output: MopinionGetReportFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,EAC5F,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC1F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAChE,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC3E,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC1E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,QAAQA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,2CAA2C,EACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uEAAuE;AAEjG,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -15,7 +15,7 @@ declare const MopinionGetReportFieldsOutput: z.ZodObject<{
|
|
|
15
15
|
formatter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
defaultValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
}, z.core.$loose>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const mopinionGetReportFields: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
report_id: number;
|
|
21
21
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -15,7 +15,7 @@ declare const MopinionGetReportFieldsOutput: z.ZodObject<{
|
|
|
15
15
|
formatter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
defaultValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
}, z.core.$loose>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const mopinionGetReportFields: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
report_id: number;
|
|
21
21
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -17,7 +17,7 @@ const mopinionGetReportFields = action("MOPINION_GET_REPORT_FIELDS", {
|
|
|
17
17
|
name: "Get Report Fields",
|
|
18
18
|
description: "Tool to retrieve field definitions for a specific report. Use when you need the schema of a report's feedback fields before constructing or analyzing forms.",
|
|
19
19
|
input: MopinionGetReportFieldsInput,
|
|
20
|
-
output: z.object({ fields: z.array(MopinionGetReportFields_FieldDefinitionSchema).describe("List of field definitions for the report.") }).describe("Response model containing a list of field definitions for the report.")
|
|
20
|
+
output: z.object({ fields: z.array(MopinionGetReportFields_FieldDefinitionSchema).describe("List of field definitions for the report.") }).passthrough().describe("Response model containing a list of field definitions for the report.")
|
|
21
21
|
});
|
|
22
22
|
//#endregion
|
|
23
23
|
export { mopinionGetReportFields };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-report-fields.mjs","names":[],"sources":["../../src/actions/get-report-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetReportFieldsInput = z.object({\n report_id: z.number().int().describe(\"The unique ID of the report to retrieve fields for.\"),\n}).describe(\"Request model for fetching report field definitions.\");\nconst MopinionGetReportFields_FieldDefinitionSchema = z.object({\n id: z.number().int().describe(\"Internal field identifier.\").nullable(),\n name: z.string().describe(\"Field name.\").nullable(),\n type: z.string().describe(\"Field data type, e.g., 'text', 'textarea', 'email'.\").nullable(),\n label: z.string().describe(\"Field label shown in UI.\").nullable(),\n readOnly: z.boolean().describe(\"Whether the field is read-only.\").nullable(),\n required: z.boolean().describe(\"Whether the field is required.\").nullable(),\n formatter: z.string().describe(\"Formatter used for this field, if any.\").nullable().optional(),\n defaultValue: z.string().describe(\"Default value for this field, if any.\").nullable().optional(),\n}).passthrough().describe(\"Definition of a single field within a report schema.\");\nexport const MopinionGetReportFieldsOutput = z.object({\n fields: z.array(MopinionGetReportFields_FieldDefinitionSchema).describe(\"List of field definitions for the report.\"),\n}).describe(\"Response model containing a list of field definitions for the report.\");\n\nexport const mopinionGetReportFields = action(\"MOPINION_GET_REPORT_FIELDS\", {\n slug: \"mopinion-get-report-fields\",\n name: \"Get Report Fields\",\n description: \"Tool to retrieve field definitions for a specific report. Use when you need the schema of a report's feedback fields before constructing or analyzing forms.\",\n input: MopinionGetReportFieldsInput,\n output: MopinionGetReportFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO,EACnD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,EAC5F,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,gDAAgD,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC1F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAChE,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC3E,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAKhF,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2C,EAAE,OAAO,EACpD,QAAQ,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,2CAA2C,EACrH,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"get-report-fields.mjs","names":[],"sources":["../../src/actions/get-report-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetReportFieldsInput = z.object({\n report_id: z.number().int().describe(\"The unique ID of the report to retrieve fields for.\"),\n}).describe(\"Request model for fetching report field definitions.\");\nconst MopinionGetReportFields_FieldDefinitionSchema = z.object({\n id: z.number().int().describe(\"Internal field identifier.\").nullable(),\n name: z.string().describe(\"Field name.\").nullable(),\n type: z.string().describe(\"Field data type, e.g., 'text', 'textarea', 'email'.\").nullable(),\n label: z.string().describe(\"Field label shown in UI.\").nullable(),\n readOnly: z.boolean().describe(\"Whether the field is read-only.\").nullable(),\n required: z.boolean().describe(\"Whether the field is required.\").nullable(),\n formatter: z.string().describe(\"Formatter used for this field, if any.\").nullable().optional(),\n defaultValue: z.string().describe(\"Default value for this field, if any.\").nullable().optional(),\n}).passthrough().describe(\"Definition of a single field within a report schema.\");\nexport const MopinionGetReportFieldsOutput = z.object({\n fields: z.array(MopinionGetReportFields_FieldDefinitionSchema).describe(\"List of field definitions for the report.\"),\n}).passthrough().describe(\"Response model containing a list of field definitions for the report.\");\n\nexport const mopinionGetReportFields = action(\"MOPINION_GET_REPORT_FIELDS\", {\n slug: \"mopinion-get-report-fields\",\n name: \"Get Report Fields\",\n description: \"Tool to retrieve field definitions for a specific report. Use when you need the schema of a report's feedback fields before constructing or analyzing forms.\",\n input: MopinionGetReportFieldsInput,\n output: MopinionGetReportFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO,EACnD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,EAC5F,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,gDAAgD,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC1F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAChE,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC3E,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAKhF,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2C,EAAE,OAAO,EACpD,QAAQ,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,2CAA2C,EACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uEAOhB;AACV,CAAC"}
|
|
@@ -10,7 +10,7 @@ const MopinionGetRootOutput = zod.z.object({
|
|
|
10
10
|
code: zod.z.number().int().describe("HTTP status code returned by the API").nullable(),
|
|
11
11
|
version: zod.z.string().describe("Current Mopinion API version").nullable(),
|
|
12
12
|
response: zod.z.string().describe("Ping response from the server, typically 'pong'").nullable()
|
|
13
|
-
}).describe("Response model for GetRoot action.");
|
|
13
|
+
}).passthrough().describe("Response model for GetRoot action.");
|
|
14
14
|
const mopinionGetRoot = require_action.action("MOPINION_GET_ROOT", {
|
|
15
15
|
slug: "mopinion-get-root",
|
|
16
16
|
name: "Get API Root",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-root.cjs","names":["z","action"],"sources":["../../src/actions/get-root.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetRootInput = z.object({\n extra_path: z.string().describe(\"Optional path to append to the base URL. Defaults to '/ping' for the standard health check endpoint. Use this to test other endpoints if needed.\").optional(),\n custom_base_url: z.string().describe(\"Optional override for the Mopinion API base URL. If not provided, the action uses the connection's base_url when it points to a Mopinion domain; otherwise it falls back to 'https://api.mopinion.com'.\").optional(),\n include_auth_header: z.boolean().default(false).describe(\"Whether to include the Authorization header in the request. Defaults to False because the root ping does not require authentication.\").optional(),\n}).describe(\"Request model for GetRoot action.\");\nexport const MopinionGetRootOutput = z.object({\n code: z.number().int().describe(\"HTTP status code returned by the API\").nullable(),\n version: z.string().describe(\"Current Mopinion API version\").nullable(),\n response: z.string().describe(\"Ping response from the server, typically 'pong'\").nullable(),\n}).describe(\"Response model for GetRoot action.\");\n\nexport const mopinionGetRoot = action(\"MOPINION_GET_ROOT\", {\n slug: \"mopinion-get-root\",\n name: \"Get API Root\",\n description: \"Check Mopinion API availability and get version information. Pings the API health check endpoint (/ping) and returns status code, 'pong' response, and current API version. Use this to verify the API is reachable and operational.\",\n input: MopinionGetRootInput,\n output: MopinionGetRootOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kJAAkJ,CAAC,CAAC,SAAS;CAC7L,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yMAAyM,CAAC,CAAC,SAAS;CACzP,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;AAC5M,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,oCAAoC;
|
|
1
|
+
{"version":3,"file":"get-root.cjs","names":["z","action"],"sources":["../../src/actions/get-root.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetRootInput = z.object({\n extra_path: z.string().describe(\"Optional path to append to the base URL. Defaults to '/ping' for the standard health check endpoint. Use this to test other endpoints if needed.\").optional(),\n custom_base_url: z.string().describe(\"Optional override for the Mopinion API base URL. If not provided, the action uses the connection's base_url when it points to a Mopinion domain; otherwise it falls back to 'https://api.mopinion.com'.\").optional(),\n include_auth_header: z.boolean().default(false).describe(\"Whether to include the Authorization header in the request. Defaults to False because the root ping does not require authentication.\").optional(),\n}).describe(\"Request model for GetRoot action.\");\nexport const MopinionGetRootOutput = z.object({\n code: z.number().int().describe(\"HTTP status code returned by the API\").nullable(),\n version: z.string().describe(\"Current Mopinion API version\").nullable(),\n response: z.string().describe(\"Ping response from the server, typically 'pong'\").nullable(),\n}).passthrough().describe(\"Response model for GetRoot action.\");\n\nexport const mopinionGetRoot = action(\"MOPINION_GET_ROOT\", {\n slug: \"mopinion-get-root\",\n name: \"Get API Root\",\n description: \"Check Mopinion API availability and get version information. Pings the API health check endpoint (/ping) and returns status code, 'pong' response, and current API version. Use this to verify the API is reachable and operational.\",\n input: MopinionGetRootInput,\n output: MopinionGetRootOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kJAAkJ,CAAC,CAAC,SAAS;CAC7L,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yMAAyM,CAAC,CAAC,SAAS;CACzP,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;AAC5M,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAE9D,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -10,7 +10,7 @@ declare const MopinionGetRootOutput: z.ZodObject<{
|
|
|
10
10
|
code: z.ZodNullable<z.ZodNumber>;
|
|
11
11
|
version: z.ZodNullable<z.ZodString>;
|
|
12
12
|
response: z.ZodNullable<z.ZodString>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const mopinionGetRoot: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
15
|
extra_path?: string | undefined;
|
|
16
16
|
custom_base_url?: string | undefined;
|
|
@@ -10,7 +10,7 @@ declare const MopinionGetRootOutput: z.ZodObject<{
|
|
|
10
10
|
code: z.ZodNullable<z.ZodNumber>;
|
|
11
11
|
version: z.ZodNullable<z.ZodString>;
|
|
12
12
|
response: z.ZodNullable<z.ZodString>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const mopinionGetRoot: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
15
|
extra_path?: string | undefined;
|
|
16
16
|
custom_base_url?: string | undefined;
|
|
@@ -13,7 +13,7 @@ const mopinionGetRoot = action("MOPINION_GET_ROOT", {
|
|
|
13
13
|
code: z.number().int().describe("HTTP status code returned by the API").nullable(),
|
|
14
14
|
version: z.string().describe("Current Mopinion API version").nullable(),
|
|
15
15
|
response: z.string().describe("Ping response from the server, typically 'pong'").nullable()
|
|
16
|
-
}).describe("Response model for GetRoot action.")
|
|
16
|
+
}).passthrough().describe("Response model for GetRoot action.")
|
|
17
17
|
});
|
|
18
18
|
//#endregion
|
|
19
19
|
export { mopinionGetRoot };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-root.mjs","names":[],"sources":["../../src/actions/get-root.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetRootInput = z.object({\n extra_path: z.string().describe(\"Optional path to append to the base URL. Defaults to '/ping' for the standard health check endpoint. Use this to test other endpoints if needed.\").optional(),\n custom_base_url: z.string().describe(\"Optional override for the Mopinion API base URL. If not provided, the action uses the connection's base_url when it points to a Mopinion domain; otherwise it falls back to 'https://api.mopinion.com'.\").optional(),\n include_auth_header: z.boolean().default(false).describe(\"Whether to include the Authorization header in the request. Defaults to False because the root ping does not require authentication.\").optional(),\n}).describe(\"Request model for GetRoot action.\");\nexport const MopinionGetRootOutput = z.object({\n code: z.number().int().describe(\"HTTP status code returned by the API\").nullable(),\n version: z.string().describe(\"Current Mopinion API version\").nullable(),\n response: z.string().describe(\"Ping response from the server, typically 'pong'\").nullable(),\n}).describe(\"Response model for GetRoot action.\");\n\nexport const mopinionGetRoot = action(\"MOPINION_GET_ROOT\", {\n slug: \"mopinion-get-root\",\n name: \"Get API Root\",\n description: \"Check Mopinion API availability and get version information. Pings the API health check endpoint (/ping) and returns status code, 'pong' response, and current API version. Use this to verify the API is reachable and operational.\",\n input: MopinionGetRootInput,\n output: MopinionGetRootOutput,\n});\n"],"mappings":";;AAeA,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfkC,EAAE,OAAO;EAC3C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kJAAkJ,CAAC,CAAC,SAAS;EAC7L,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yMAAyM,CAAC,CAAC,SAAS;EACzP,qBAAqB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;CAC5M,CAAC,CAAC,CAAC,SAAS,mCAWH;CACP,QAXmC,EAAE,OAAO;EAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EACjF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"get-root.mjs","names":[],"sources":["../../src/actions/get-root.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetRootInput = z.object({\n extra_path: z.string().describe(\"Optional path to append to the base URL. Defaults to '/ping' for the standard health check endpoint. Use this to test other endpoints if needed.\").optional(),\n custom_base_url: z.string().describe(\"Optional override for the Mopinion API base URL. If not provided, the action uses the connection's base_url when it points to a Mopinion domain; otherwise it falls back to 'https://api.mopinion.com'.\").optional(),\n include_auth_header: z.boolean().default(false).describe(\"Whether to include the Authorization header in the request. Defaults to False because the root ping does not require authentication.\").optional(),\n}).describe(\"Request model for GetRoot action.\");\nexport const MopinionGetRootOutput = z.object({\n code: z.number().int().describe(\"HTTP status code returned by the API\").nullable(),\n version: z.string().describe(\"Current Mopinion API version\").nullable(),\n response: z.string().describe(\"Ping response from the server, typically 'pong'\").nullable(),\n}).passthrough().describe(\"Response model for GetRoot action.\");\n\nexport const mopinionGetRoot = action(\"MOPINION_GET_ROOT\", {\n slug: \"mopinion-get-root\",\n name: \"Get API Root\",\n description: \"Check Mopinion API availability and get version information. Pings the API health check endpoint (/ping) and returns status code, 'pong' response, and current API version. Use this to verify the API is reachable and operational.\",\n input: MopinionGetRootInput,\n output: MopinionGetRootOutput,\n});\n"],"mappings":";;AAeA,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfkC,EAAE,OAAO;EAC3C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kJAAkJ,CAAC,CAAC,SAAS;EAC7L,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yMAAyM,CAAC,CAAC,SAAS;EACzP,qBAAqB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;CAC5M,CAAC,CAAC,CAAC,SAAS,mCAWH;CACP,QAXmC,EAAE,OAAO;EAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EACjF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAOhB;AACV,CAAC"}
|