@keystrokehq/mopinion 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/get-account.cjs +24 -24
- package/dist/actions/get-account.cjs.map +1 -1
- package/dist/actions/get-account.d.cts +36 -3
- package/dist/actions/get-account.d.cts.map +1 -1
- package/dist/actions/get-account.d.mts +36 -3
- package/dist/actions/get-account.d.mts.map +1 -1
- package/dist/actions/get-account.mjs +24 -24
- package/dist/actions/get-account.mjs.map +1 -1
- package/dist/actions/get-dataset-by-id.cjs +11 -11
- package/dist/actions/get-dataset-by-id.cjs.map +1 -1
- package/dist/actions/get-dataset-by-id.d.cts +24 -3
- package/dist/actions/get-dataset-by-id.d.cts.map +1 -1
- package/dist/actions/get-dataset-by-id.d.mts +24 -3
- package/dist/actions/get-dataset-by-id.d.mts.map +1 -1
- package/dist/actions/get-dataset-by-id.mjs +11 -11
- package/dist/actions/get-dataset-by-id.mjs.map +1 -1
- package/dist/actions/get-dataset-feedback-by-id.cjs +2 -2
- package/dist/actions/get-dataset-feedback-by-id.cjs.map +1 -1
- package/dist/actions/get-dataset-feedback-by-id.d.cts +38 -3
- package/dist/actions/get-dataset-feedback-by-id.d.cts.map +1 -1
- package/dist/actions/get-dataset-feedback-by-id.d.mts +38 -3
- package/dist/actions/get-dataset-feedback-by-id.d.mts.map +1 -1
- package/dist/actions/get-dataset-feedback-by-id.mjs +2 -2
- package/dist/actions/get-dataset-feedback-by-id.mjs.map +1 -1
- package/dist/actions/get-dataset-feedback.cjs +12 -12
- package/dist/actions/get-dataset-feedback.cjs.map +1 -1
- package/dist/actions/get-dataset-feedback.d.cts +43 -3
- package/dist/actions/get-dataset-feedback.d.cts.map +1 -1
- package/dist/actions/get-dataset-feedback.d.mts +43 -3
- package/dist/actions/get-dataset-feedback.d.mts.map +1 -1
- package/dist/actions/get-dataset-feedback.mjs +12 -12
- package/dist/actions/get-dataset-feedback.mjs.map +1 -1
- package/dist/actions/get-dataset-fields.cjs.map +1 -1
- package/dist/actions/get-dataset-fields.d.cts +9 -3
- package/dist/actions/get-dataset-fields.d.cts.map +1 -1
- package/dist/actions/get-dataset-fields.d.mts +9 -3
- package/dist/actions/get-dataset-fields.d.mts.map +1 -1
- package/dist/actions/get-dataset-fields.mjs.map +1 -1
- package/dist/actions/get-deployment-by-id.cjs.map +1 -1
- package/dist/actions/get-deployment-by-id.d.cts +9 -3
- package/dist/actions/get-deployment-by-id.d.cts.map +1 -1
- package/dist/actions/get-deployment-by-id.d.mts +9 -3
- package/dist/actions/get-deployment-by-id.d.mts.map +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 +17 -3
- package/dist/actions/get-deployments.d.cts.map +1 -1
- package/dist/actions/get-deployments.d.mts +17 -3
- package/dist/actions/get-deployments.d.mts.map +1 -1
- 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 +6 -6
- package/dist/actions/get-report-by-id.cjs.map +1 -1
- package/dist/actions/get-report-by-id.d.cts +29 -3
- package/dist/actions/get-report-by-id.d.cts.map +1 -1
- package/dist/actions/get-report-by-id.d.mts +29 -3
- package/dist/actions/get-report-by-id.d.mts.map +1 -1
- package/dist/actions/get-report-by-id.mjs +6 -6
- package/dist/actions/get-report-by-id.mjs.map +1 -1
- package/dist/actions/get-report-feedback.cjs +7 -7
- package/dist/actions/get-report-feedback.cjs.map +1 -1
- package/dist/actions/get-report-feedback.d.cts +30 -3
- package/dist/actions/get-report-feedback.d.cts.map +1 -1
- package/dist/actions/get-report-feedback.d.mts +30 -3
- package/dist/actions/get-report-feedback.d.mts.map +1 -1
- package/dist/actions/get-report-feedback.mjs +7 -7
- package/dist/actions/get-report-feedback.mjs.map +1 -1
- package/dist/actions/get-report-fields.cjs +6 -6
- package/dist/actions/get-report-fields.cjs.map +1 -1
- package/dist/actions/get-report-fields.d.cts +18 -3
- package/dist/actions/get-report-fields.d.cts.map +1 -1
- package/dist/actions/get-report-fields.d.mts +18 -3
- package/dist/actions/get-report-fields.d.mts.map +1 -1
- package/dist/actions/get-report-fields.mjs +6 -6
- package/dist/actions/get-report-fields.mjs.map +1 -1
- package/dist/actions/get-root.cjs +3 -3
- package/dist/actions/get-root.cjs.map +1 -1
- package/dist/actions/get-root.d.cts +15 -3
- package/dist/actions/get-root.d.cts.map +1 -1
- package/dist/actions/get-root.d.mts +15 -3
- package/dist/actions/get-root.d.mts.map +1 -1
- package/dist/actions/get-root.mjs +3 -3
- package/dist/actions/get-root.mjs.map +1 -1
- package/dist/catalog.cjs +20 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +19 -0
- package/dist/catalog.d.mts +19 -0
- package/dist/catalog.mjs +20 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -5,10 +5,10 @@ const MopinionGetDeploymentsInput = zod.z.object({
|
|
|
5
5
|
accept: zod.z.string().describe("Optional Accept header override, e.g., application/json").optional(),
|
|
6
6
|
version: zod.z.string().describe("Optional Mopinion API version header value, e.g., v1 or v2").optional()
|
|
7
7
|
}).describe("Request model for listing deployments. Optional headers override for testing variations.");
|
|
8
|
-
const MopinionGetDeployments_MetaSchema = zod.z.object({ code: zod.z.number().int().describe("Status code returned by the API.") });
|
|
8
|
+
const MopinionGetDeployments_MetaSchema = zod.z.object({ code: zod.z.number().int().describe("Status code returned by the API.").nullable() });
|
|
9
9
|
const MopinionGetDeployments_DeploymentSchema = zod.z.object({
|
|
10
|
-
key: zod.z.string().describe("Deployment identifier string."),
|
|
11
|
-
name: zod.z.string().describe("Human-readable deployment name.")
|
|
10
|
+
key: zod.z.string().describe("Deployment identifier string.").nullable(),
|
|
11
|
+
name: zod.z.string().describe("Human-readable deployment name.").nullable()
|
|
12
12
|
});
|
|
13
13
|
const MopinionGetDeploymentsOutput = zod.z.object({
|
|
14
14
|
meta: MopinionGetDeployments_MetaSchema.nullable(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-deployments.cjs","names":["z","action"],"sources":["../../src/actions/get-deployments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetDeploymentsInput
|
|
1
|
+
{"version":3,"file":"get-deployments.cjs","names":["z","action"],"sources":["../../src/actions/get-deployments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetDeploymentsInput = z.object({\n accept: z.string().describe(\"Optional Accept header override, e.g., application/json\").optional(),\n version: z.string().describe(\"Optional Mopinion API version header value, e.g., v1 or v2\").optional(),\n}).describe(\"Request model for listing deployments. Optional headers override for testing variations.\");\nconst MopinionGetDeployments_MetaSchema = z.object({\n code: z.number().int().describe(\"Status code returned by the API.\").nullable(),\n});\nconst MopinionGetDeployments_DeploymentSchema = z.object({\n key: z.string().describe(\"Deployment identifier string.\").nullable(),\n name: z.string().describe(\"Human-readable deployment name.\").nullable(),\n});\nexport const MopinionGetDeploymentsOutput = z.object({\n meta: MopinionGetDeployments_MetaSchema.nullable(),\n deployments: z.array(MopinionGetDeployments_DeploymentSchema).describe(\"List of deployments available to the account.\"),\n});\n\nexport const mopinionGetDeployments = action(\"MOPINION_GET_DEPLOYMENTS\", {\n slug: \"mopinion-get-deployments\",\n name: \"Get Deployments\",\n description: \"Tool to list all deployments for the authenticated Mopinion account. Use after setting up authentication.\",\n input: MopinionGetDeploymentsInput,\n output: MopinionGetDeploymentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAChG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,0FAA0F;AACtG,MAAM,oCAAoCA,IAAAA,EAAE,OAAO,EACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,EAC/E,CAAC;AACD,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AACxE,CAAC;AACD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAM,kCAAkC,SAAS;CACjD,aAAaA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,+CAA+C;AACxH,CAAC;AAED,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-deployments.d.ts
|
|
4
|
-
declare const MopinionGetDeploymentsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MopinionGetDeploymentsInput: z.ZodObject<{
|
|
5
|
+
accept: z.ZodOptional<z.ZodString>;
|
|
6
|
+
version: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const MopinionGetDeploymentsOutput: z.ZodObject<{
|
|
9
|
+
meta: z.ZodNullable<z.ZodObject<{
|
|
10
|
+
code: z.ZodNullable<z.ZodNumber>;
|
|
11
|
+
}, z.core.$strip>>;
|
|
12
|
+
deployments: z.ZodArray<z.ZodObject<{
|
|
13
|
+
key: z.ZodNullable<z.ZodString>;
|
|
14
|
+
name: z.ZodNullable<z.ZodString>;
|
|
15
|
+
}, z.core.$strip>>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
declare const mopinionGetDeployments: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
|
+
accept?: string | undefined;
|
|
19
|
+
version?: string | undefined;
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
21
|
//#endregion
|
|
8
22
|
export { mopinionGetDeployments };
|
|
9
23
|
//# sourceMappingURL=get-deployments.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-deployments.d.cts","names":[],"sources":["../../src/actions/get-deployments.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"get-deployments.d.cts","names":[],"sources":["../../src/actions/get-deployments.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAW3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-deployments.d.ts
|
|
4
|
-
declare const MopinionGetDeploymentsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MopinionGetDeploymentsInput: z.ZodObject<{
|
|
5
|
+
accept: z.ZodOptional<z.ZodString>;
|
|
6
|
+
version: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const MopinionGetDeploymentsOutput: z.ZodObject<{
|
|
9
|
+
meta: z.ZodNullable<z.ZodObject<{
|
|
10
|
+
code: z.ZodNullable<z.ZodNumber>;
|
|
11
|
+
}, z.core.$strip>>;
|
|
12
|
+
deployments: z.ZodArray<z.ZodObject<{
|
|
13
|
+
key: z.ZodNullable<z.ZodString>;
|
|
14
|
+
name: z.ZodNullable<z.ZodString>;
|
|
15
|
+
}, z.core.$strip>>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
declare const mopinionGetDeployments: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
|
+
accept?: string | undefined;
|
|
19
|
+
version?: string | undefined;
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
21
|
//#endregion
|
|
8
22
|
export { mopinionGetDeployments };
|
|
9
23
|
//# sourceMappingURL=get-deployments.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-deployments.d.mts","names":[],"sources":["../../src/actions/get-deployments.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"get-deployments.d.mts","names":[],"sources":["../../src/actions/get-deployments.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAW3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -5,10 +5,10 @@ const MopinionGetDeploymentsInput = z.object({
|
|
|
5
5
|
accept: z.string().describe("Optional Accept header override, e.g., application/json").optional(),
|
|
6
6
|
version: z.string().describe("Optional Mopinion API version header value, e.g., v1 or v2").optional()
|
|
7
7
|
}).describe("Request model for listing deployments. Optional headers override for testing variations.");
|
|
8
|
-
const MopinionGetDeployments_MetaSchema = z.object({ code: z.number().int().describe("Status code returned by the API.") });
|
|
8
|
+
const MopinionGetDeployments_MetaSchema = z.object({ code: z.number().int().describe("Status code returned by the API.").nullable() });
|
|
9
9
|
const MopinionGetDeployments_DeploymentSchema = z.object({
|
|
10
|
-
key: z.string().describe("Deployment identifier string."),
|
|
11
|
-
name: z.string().describe("Human-readable deployment name.")
|
|
10
|
+
key: z.string().describe("Deployment identifier string.").nullable(),
|
|
11
|
+
name: z.string().describe("Human-readable deployment name.").nullable()
|
|
12
12
|
});
|
|
13
13
|
const mopinionGetDeployments = action("MOPINION_GET_DEPLOYMENTS", {
|
|
14
14
|
slug: "mopinion-get-deployments",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-deployments.mjs","names":[],"sources":["../../src/actions/get-deployments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetDeploymentsInput
|
|
1
|
+
{"version":3,"file":"get-deployments.mjs","names":[],"sources":["../../src/actions/get-deployments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetDeploymentsInput = z.object({\n accept: z.string().describe(\"Optional Accept header override, e.g., application/json\").optional(),\n version: z.string().describe(\"Optional Mopinion API version header value, e.g., v1 or v2\").optional(),\n}).describe(\"Request model for listing deployments. Optional headers override for testing variations.\");\nconst MopinionGetDeployments_MetaSchema = z.object({\n code: z.number().int().describe(\"Status code returned by the API.\").nullable(),\n});\nconst MopinionGetDeployments_DeploymentSchema = z.object({\n key: z.string().describe(\"Deployment identifier string.\").nullable(),\n name: z.string().describe(\"Human-readable deployment name.\").nullable(),\n});\nexport const MopinionGetDeploymentsOutput = z.object({\n meta: MopinionGetDeployments_MetaSchema.nullable(),\n deployments: z.array(MopinionGetDeployments_DeploymentSchema).describe(\"List of deployments available to the account.\"),\n});\n\nexport const mopinionGetDeployments = action(\"MOPINION_GET_DEPLOYMENTS\", {\n slug: \"mopinion-get-deployments\",\n name: \"Get Deployments\",\n description: \"Tool to list all deployments for the authenticated Mopinion account. Use after setting up authentication.\",\n input: MopinionGetDeploymentsInput,\n output: MopinionGetDeploymentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAChG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,0FAA0F;AACtG,MAAM,oCAAoC,EAAE,OAAO,EACjD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,EAC/E,CAAC;AACD,MAAM,0CAA0C,EAAE,OAAO;CACvD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AACxE,CAAC;AAMD,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0C,EAAE,OAAO;EACnD,MAAM,kCAAkC,SAAS;EACjD,aAAa,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,+CAA+C;CACxH,CAOU;AACV,CAAC"}
|
|
@@ -3,7 +3,7 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-report-by-id.ts
|
|
4
4
|
const MopinionGetReportByIdInput = zod.z.object({ report_id: zod.z.number().int().describe("Unique numeric identifier of the Mopinion report to retrieve. Obtain this from the Get Reports action.") }).describe("Request parameters for GET_REPORT_BY_ID action.");
|
|
5
5
|
const MopinionGetReportById_MetaSchema = zod.z.object({
|
|
6
|
-
code: zod.z.number().int().describe("HTTP status code (e.g., 200 for success)"),
|
|
6
|
+
code: zod.z.number().int().describe("HTTP status code (e.g., 200 for success)").nullable(),
|
|
7
7
|
next: zod.z.boolean().describe("Whether a next page exists").nullable().optional(),
|
|
8
8
|
count: zod.z.number().int().describe("Number of items in current response").nullable().optional(),
|
|
9
9
|
total: zod.z.number().int().describe("Total number of items available").nullable().optional(),
|
|
@@ -12,15 +12,15 @@ const MopinionGetReportById_MetaSchema = zod.z.object({
|
|
|
12
12
|
previous: zod.z.boolean().describe("Whether a previous page exists").nullable().optional()
|
|
13
13
|
}).describe("Metadata block returned with every Mopinion API response.");
|
|
14
14
|
const MopinionGetReportById_DataSetSchema = zod.z.object({
|
|
15
|
-
id: zod.z.number().int().describe("Unique identifier for the dataset"),
|
|
16
|
-
name: zod.z.string().describe("Name of the dataset"),
|
|
17
|
-
report_id: zod.z.number().int().describe("ID of the report this dataset belongs to"),
|
|
15
|
+
id: zod.z.number().int().describe("Unique identifier for the dataset").nullable(),
|
|
16
|
+
name: zod.z.string().describe("Name of the dataset").nullable(),
|
|
17
|
+
report_id: zod.z.number().int().describe("ID of the report this dataset belongs to").nullable(),
|
|
18
18
|
data_source: zod.z.string().describe("Source type of the data (e.g., 'form', 'email', 'web')").nullable().optional(),
|
|
19
19
|
description: zod.z.string().describe("Description of the dataset").nullable().optional()
|
|
20
20
|
}).describe("Dataset information associated with a report.");
|
|
21
21
|
const MopinionGetReportByIdOutput = zod.z.object({
|
|
22
|
-
id: zod.z.number().int().describe("Unique identifier for the report"),
|
|
23
|
-
name: zod.z.string().describe("Name of the report"),
|
|
22
|
+
id: zod.z.number().int().describe("Unique identifier for the report").nullable(),
|
|
23
|
+
name: zod.z.string().describe("Name of the report").nullable(),
|
|
24
24
|
_meta: MopinionGetReportById_MetaSchema.nullable(),
|
|
25
25
|
created: zod.z.string().describe("Creation date of the report in YYYY-MM-DD format").nullable().optional(),
|
|
26
26
|
dataSets: zod.z.array(MopinionGetReportById_DataSetSchema).describe("List of datasets associated with this report").nullable().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-report-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-report-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetReportByIdInput
|
|
1
|
+
{"version":3,"file":"get-report-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-report-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetReportByIdInput = z.object({\n report_id: z.number().int().describe(\"Unique numeric identifier of the Mopinion report to retrieve. Obtain this from the Get Reports action.\"),\n}).describe(\"Request parameters for GET_REPORT_BY_ID action.\");\nconst MopinionGetReportById_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code (e.g., 200 for success)\").nullable(),\n next: z.boolean().describe(\"Whether a next page exists\").nullable().optional(),\n count: z.number().int().describe(\"Number of items in current response\").nullable().optional(),\n total: z.number().int().describe(\"Total number of items available\").nullable().optional(),\n message: z.string().describe(\"Status message (e.g., 'OK')\").nullable().optional(),\n has_more: z.boolean().describe(\"Whether more results are available\").nullable().optional(),\n previous: z.boolean().describe(\"Whether a previous page exists\").nullable().optional(),\n}).describe(\"Metadata block returned with every Mopinion API response.\");\nconst MopinionGetReportById_DataSetSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the dataset\").nullable(),\n name: z.string().describe(\"Name of the dataset\").nullable(),\n report_id: z.number().int().describe(\"ID of the report this dataset belongs to\").nullable(),\n data_source: z.string().describe(\"Source type of the data (e.g., 'form', 'email', 'web')\").nullable().optional(),\n description: z.string().describe(\"Description of the dataset\").nullable().optional(),\n}).describe(\"Dataset information associated with a report.\");\nexport const MopinionGetReportByIdOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the report\").nullable(),\n name: z.string().describe(\"Name of the report\").nullable(),\n _meta: MopinionGetReportById_MetaSchema.nullable(),\n created: z.string().describe(\"Creation date of the report in YYYY-MM-DD format\").nullable().optional(),\n dataSets: z.array(MopinionGetReportById_DataSetSchema).describe(\"List of datasets associated with this report\").nullable().optional(),\n language: z.string().describe(\"Language code for the report (e.g., 'en_US', 'nl_NL')\").nullable().optional(),\n description: z.string().describe(\"Description of the report\").nullable().optional(),\n}).passthrough().describe(\"Response model for GET_REPORT_BY_ID action containing complete report details.\");\n\nexport const mopinionGetReportById = action(\"MOPINION_GET_REPORT_BY_ID\", {\n slug: \"mopinion-get-report-by-id\",\n name: \"Get Report By ID\",\n description: \"Retrieves detailed information about a specific Mopinion report by its ID. Returns comprehensive report details including name, description, language, creation date, and all associated datasets with their metadata. Use this when you need full information about a specific report. To find available report IDs, use the Get Reports action first. Example use case: Get complete details of report 22511 to understand its datasets and configuration.\",\n input: MopinionGetReportByIdInput,\n output: MopinionGetReportByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wGAAwG,EAC/I,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrF,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC5E,MAAM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
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-report-by-id.d.ts
|
|
4
|
-
declare const MopinionGetReportByIdInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MopinionGetReportByIdInput: z.ZodObject<{
|
|
5
|
+
report_id: z.ZodNumber;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const MopinionGetReportByIdOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
9
|
+
name: z.ZodNullable<z.ZodString>;
|
|
10
|
+
_meta: z.ZodNullable<z.ZodObject<{
|
|
11
|
+
code: z.ZodNullable<z.ZodNumber>;
|
|
12
|
+
next: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
13
|
+
count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
+
total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
17
|
+
previous: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
18
|
+
}, z.core.$strip>>;
|
|
19
|
+
created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
dataSets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
21
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
22
|
+
name: z.ZodNullable<z.ZodString>;
|
|
23
|
+
report_id: z.ZodNullable<z.ZodNumber>;
|
|
24
|
+
data_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
}, z.core.$strip>>>>;
|
|
27
|
+
language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
}, z.core.$loose>;
|
|
30
|
+
declare const mopinionGetReportById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
31
|
+
report_id: number;
|
|
32
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
33
|
//#endregion
|
|
8
34
|
export { mopinionGetReportById };
|
|
9
35
|
//# sourceMappingURL=get-report-by-id.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-report-by-id.d.cts","names":[],"sources":["../../src/actions/get-report-by-id.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"get-report-by-id.d.cts","names":[],"sources":["../../src/actions/get-report-by-id.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAmB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAU3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -1,9 +1,35 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-report-by-id.d.ts
|
|
4
|
-
declare const MopinionGetReportByIdInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MopinionGetReportByIdInput: z.ZodObject<{
|
|
5
|
+
report_id: z.ZodNumber;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const MopinionGetReportByIdOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
9
|
+
name: z.ZodNullable<z.ZodString>;
|
|
10
|
+
_meta: z.ZodNullable<z.ZodObject<{
|
|
11
|
+
code: z.ZodNullable<z.ZodNumber>;
|
|
12
|
+
next: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
13
|
+
count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
+
total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
17
|
+
previous: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
18
|
+
}, z.core.$strip>>;
|
|
19
|
+
created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
dataSets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
21
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
22
|
+
name: z.ZodNullable<z.ZodString>;
|
|
23
|
+
report_id: z.ZodNullable<z.ZodNumber>;
|
|
24
|
+
data_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
}, z.core.$strip>>>>;
|
|
27
|
+
language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
}, z.core.$loose>;
|
|
30
|
+
declare const mopinionGetReportById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
31
|
+
report_id: number;
|
|
32
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
33
|
//#endregion
|
|
8
34
|
export { mopinionGetReportById };
|
|
9
35
|
//# sourceMappingURL=get-report-by-id.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-report-by-id.d.mts","names":[],"sources":["../../src/actions/get-report-by-id.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"get-report-by-id.d.mts","names":[],"sources":["../../src/actions/get-report-by-id.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAmB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAU3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -3,7 +3,7 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/get-report-by-id.ts
|
|
4
4
|
const MopinionGetReportByIdInput = z.object({ report_id: z.number().int().describe("Unique numeric identifier of the Mopinion report to retrieve. Obtain this from the Get Reports action.") }).describe("Request parameters for GET_REPORT_BY_ID action.");
|
|
5
5
|
const MopinionGetReportById_MetaSchema = z.object({
|
|
6
|
-
code: z.number().int().describe("HTTP status code (e.g., 200 for success)"),
|
|
6
|
+
code: z.number().int().describe("HTTP status code (e.g., 200 for success)").nullable(),
|
|
7
7
|
next: z.boolean().describe("Whether a next page exists").nullable().optional(),
|
|
8
8
|
count: z.number().int().describe("Number of items in current response").nullable().optional(),
|
|
9
9
|
total: z.number().int().describe("Total number of items available").nullable().optional(),
|
|
@@ -12,9 +12,9 @@ const MopinionGetReportById_MetaSchema = z.object({
|
|
|
12
12
|
previous: z.boolean().describe("Whether a previous page exists").nullable().optional()
|
|
13
13
|
}).describe("Metadata block returned with every Mopinion API response.");
|
|
14
14
|
const MopinionGetReportById_DataSetSchema = z.object({
|
|
15
|
-
id: z.number().int().describe("Unique identifier for the dataset"),
|
|
16
|
-
name: z.string().describe("Name of the dataset"),
|
|
17
|
-
report_id: z.number().int().describe("ID of the report this dataset belongs to"),
|
|
15
|
+
id: z.number().int().describe("Unique identifier for the dataset").nullable(),
|
|
16
|
+
name: z.string().describe("Name of the dataset").nullable(),
|
|
17
|
+
report_id: z.number().int().describe("ID of the report this dataset belongs to").nullable(),
|
|
18
18
|
data_source: z.string().describe("Source type of the data (e.g., 'form', 'email', 'web')").nullable().optional(),
|
|
19
19
|
description: z.string().describe("Description of the dataset").nullable().optional()
|
|
20
20
|
}).describe("Dataset information associated with a report.");
|
|
@@ -24,8 +24,8 @@ const mopinionGetReportById = action("MOPINION_GET_REPORT_BY_ID", {
|
|
|
24
24
|
description: "Retrieves detailed information about a specific Mopinion report by its ID. Returns comprehensive report details including name, description, language, creation date, and all associated datasets with their metadata. Use this when you need full information about a specific report. To find available report IDs, use the Get Reports action first. Example use case: Get complete details of report 22511 to understand its datasets and configuration.",
|
|
25
25
|
input: MopinionGetReportByIdInput,
|
|
26
26
|
output: z.object({
|
|
27
|
-
id: z.number().int().describe("Unique identifier for the report"),
|
|
28
|
-
name: z.string().describe("Name of the report"),
|
|
27
|
+
id: z.number().int().describe("Unique identifier for the report").nullable(),
|
|
28
|
+
name: z.string().describe("Name of the report").nullable(),
|
|
29
29
|
_meta: MopinionGetReportById_MetaSchema.nullable(),
|
|
30
30
|
created: z.string().describe("Creation date of the report in YYYY-MM-DD format").nullable().optional(),
|
|
31
31
|
dataSets: z.array(MopinionGetReportById_DataSetSchema).describe("List of datasets associated with this report").nullable().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-report-by-id.mjs","names":[],"sources":["../../src/actions/get-report-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetReportByIdInput
|
|
1
|
+
{"version":3,"file":"get-report-by-id.mjs","names":[],"sources":["../../src/actions/get-report-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetReportByIdInput = z.object({\n report_id: z.number().int().describe(\"Unique numeric identifier of the Mopinion report to retrieve. Obtain this from the Get Reports action.\"),\n}).describe(\"Request parameters for GET_REPORT_BY_ID action.\");\nconst MopinionGetReportById_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code (e.g., 200 for success)\").nullable(),\n next: z.boolean().describe(\"Whether a next page exists\").nullable().optional(),\n count: z.number().int().describe(\"Number of items in current response\").nullable().optional(),\n total: z.number().int().describe(\"Total number of items available\").nullable().optional(),\n message: z.string().describe(\"Status message (e.g., 'OK')\").nullable().optional(),\n has_more: z.boolean().describe(\"Whether more results are available\").nullable().optional(),\n previous: z.boolean().describe(\"Whether a previous page exists\").nullable().optional(),\n}).describe(\"Metadata block returned with every Mopinion API response.\");\nconst MopinionGetReportById_DataSetSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the dataset\").nullable(),\n name: z.string().describe(\"Name of the dataset\").nullable(),\n report_id: z.number().int().describe(\"ID of the report this dataset belongs to\").nullable(),\n data_source: z.string().describe(\"Source type of the data (e.g., 'form', 'email', 'web')\").nullable().optional(),\n description: z.string().describe(\"Description of the dataset\").nullable().optional(),\n}).describe(\"Dataset information associated with a report.\");\nexport const MopinionGetReportByIdOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the report\").nullable(),\n name: z.string().describe(\"Name of the report\").nullable(),\n _meta: MopinionGetReportById_MetaSchema.nullable(),\n created: z.string().describe(\"Creation date of the report in YYYY-MM-DD format\").nullable().optional(),\n dataSets: z.array(MopinionGetReportById_DataSetSchema).describe(\"List of datasets associated with this report\").nullable().optional(),\n language: z.string().describe(\"Language code for the report (e.g., 'en_US', 'nl_NL')\").nullable().optional(),\n description: z.string().describe(\"Description of the report\").nullable().optional(),\n}).passthrough().describe(\"Response model for GET_REPORT_BY_ID action containing complete report details.\");\n\nexport const mopinionGetReportById = action(\"MOPINION_GET_REPORT_BY_ID\", {\n slug: \"mopinion-get-report-by-id\",\n name: \"Get Report By ID\",\n description: \"Retrieves detailed information about a specific Mopinion report by its ID. Returns comprehensive report details including name, description, language, creation date, and all associated datasets with their metadata. Use this when you need full information about a specific report. To find available report IDs, use the Get Reports action first. Example use case: Get complete details of report 22511 to understand its datasets and configuration.\",\n input: MopinionGetReportByIdInput,\n output: MopinionGetReportByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO,EACjD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wGAAwG,EAC/I,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,mCAAmC,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,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OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EACzD,OAAO,iCAAiC,SAAS;EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,UAAU,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gFAOhB;AACV,CAAC"}
|
|
@@ -8,13 +8,13 @@ const MopinionGetReportFeedbackInput = zod.z.object({
|
|
|
8
8
|
report_id: zod.z.number().int().describe("The unique identifier of the report to retrieve feedback for.")
|
|
9
9
|
}).describe("Request model for GET_REPORT_FEEDBACK action.");
|
|
10
10
|
const MopinionGetReportFeedback_FeedbackMetadataSchema = zod.z.object({
|
|
11
|
-
code: zod.z.number().int().describe("HTTP status code of the response."),
|
|
12
|
-
next: zod.z.boolean().describe("Whether a next page exists."),
|
|
13
|
-
count: zod.z.number().int().describe("Number of items in current response."),
|
|
14
|
-
total: zod.z.number().int().describe("Total number of items across all pages."),
|
|
15
|
-
message: zod.z.string().describe("Status message from the API."),
|
|
16
|
-
has_more: zod.z.boolean().describe("Whether more results are available for pagination."),
|
|
17
|
-
previous: zod.z.boolean().describe("Whether a previous page exists.")
|
|
11
|
+
code: zod.z.number().int().describe("HTTP status code of the response.").nullable(),
|
|
12
|
+
next: zod.z.boolean().describe("Whether a next page exists.").nullable(),
|
|
13
|
+
count: zod.z.number().int().describe("Number of items in current response.").nullable(),
|
|
14
|
+
total: zod.z.number().int().describe("Total number of items across all pages.").nullable(),
|
|
15
|
+
message: zod.z.string().describe("Status message from the API.").nullable(),
|
|
16
|
+
has_more: zod.z.boolean().describe("Whether more results are available for pagination.").nullable(),
|
|
17
|
+
previous: zod.z.boolean().describe("Whether a previous page exists.").nullable()
|
|
18
18
|
}).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(),
|
|
@@ -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
|
|
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,CA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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,SAAS,gDAAgD;AAE5D,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,36 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-report-feedback.d.ts
|
|
4
|
-
declare const MopinionGetReportFeedbackInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MopinionGetReportFeedbackInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
filters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
8
|
+
report_id: z.ZodNumber;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const MopinionGetReportFeedbackOutput: z.ZodObject<{
|
|
11
|
+
_meta: z.ZodNullable<z.ZodObject<{
|
|
12
|
+
code: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
next: z.ZodNullable<z.ZodBoolean>;
|
|
14
|
+
count: z.ZodNullable<z.ZodNumber>;
|
|
15
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
16
|
+
message: z.ZodNullable<z.ZodString>;
|
|
17
|
+
has_more: z.ZodNullable<z.ZodBoolean>;
|
|
18
|
+
previous: z.ZodNullable<z.ZodBoolean>;
|
|
19
|
+
}, z.core.$strip>>;
|
|
20
|
+
feedback: z.ZodArray<z.ZodObject<{
|
|
21
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
|
+
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
23
|
+
created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
report_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
|
+
dataset_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
|
+
}, z.core.$loose>>;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
declare const mopinionGetReportFeedback: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
29
|
+
report_id: number;
|
|
30
|
+
page?: number | undefined;
|
|
31
|
+
limit?: number | undefined;
|
|
32
|
+
filters?: Record<string, unknown> | undefined;
|
|
33
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
34
|
//#endregion
|
|
8
35
|
export { mopinionGetReportFeedback };
|
|
9
36
|
//# sourceMappingURL=get-report-feedback.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-report-feedback.d.cts","names":[],"sources":["../../src/actions/get-report-feedback.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"get-report-feedback.d.cts","names":[],"sources":["../../src/actions/get-report-feedback.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAsB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAK/B,yBAAA,gCAAyB,wBAAA;;;;YAMpC,MAAA;AAAA"}
|
|
@@ -1,9 +1,36 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-report-feedback.d.ts
|
|
4
|
-
declare const MopinionGetReportFeedbackInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MopinionGetReportFeedbackInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
filters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
8
|
+
report_id: z.ZodNumber;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const MopinionGetReportFeedbackOutput: z.ZodObject<{
|
|
11
|
+
_meta: z.ZodNullable<z.ZodObject<{
|
|
12
|
+
code: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
next: z.ZodNullable<z.ZodBoolean>;
|
|
14
|
+
count: z.ZodNullable<z.ZodNumber>;
|
|
15
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
16
|
+
message: z.ZodNullable<z.ZodString>;
|
|
17
|
+
has_more: z.ZodNullable<z.ZodBoolean>;
|
|
18
|
+
previous: z.ZodNullable<z.ZodBoolean>;
|
|
19
|
+
}, z.core.$strip>>;
|
|
20
|
+
feedback: z.ZodArray<z.ZodObject<{
|
|
21
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
|
+
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
23
|
+
created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
report_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
|
+
dataset_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
|
+
}, z.core.$loose>>;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
declare const mopinionGetReportFeedback: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
29
|
+
report_id: number;
|
|
30
|
+
page?: number | undefined;
|
|
31
|
+
limit?: number | undefined;
|
|
32
|
+
filters?: Record<string, unknown> | undefined;
|
|
33
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
34
|
//#endregion
|
|
8
35
|
export { mopinionGetReportFeedback };
|
|
9
36
|
//# sourceMappingURL=get-report-feedback.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-report-feedback.d.mts","names":[],"sources":["../../src/actions/get-report-feedback.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"get-report-feedback.d.mts","names":[],"sources":["../../src/actions/get-report-feedback.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAsB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAK/B,yBAAA,gCAAyB,wBAAA;;;;YAMpC,MAAA;AAAA"}
|
|
@@ -8,13 +8,13 @@ const MopinionGetReportFeedbackInput = z.object({
|
|
|
8
8
|
report_id: z.number().int().describe("The unique identifier of the report to retrieve feedback for.")
|
|
9
9
|
}).describe("Request model for GET_REPORT_FEEDBACK action.");
|
|
10
10
|
const MopinionGetReportFeedback_FeedbackMetadataSchema = z.object({
|
|
11
|
-
code: z.number().int().describe("HTTP status code of the response."),
|
|
12
|
-
next: z.boolean().describe("Whether a next page exists."),
|
|
13
|
-
count: z.number().int().describe("Number of items in current response."),
|
|
14
|
-
total: z.number().int().describe("Total number of items across all pages."),
|
|
15
|
-
message: z.string().describe("Status message from the API."),
|
|
16
|
-
has_more: z.boolean().describe("Whether more results are available for pagination."),
|
|
17
|
-
previous: z.boolean().describe("Whether a previous page exists.")
|
|
11
|
+
code: z.number().int().describe("HTTP status code of the response.").nullable(),
|
|
12
|
+
next: z.boolean().describe("Whether a next page exists.").nullable(),
|
|
13
|
+
count: z.number().int().describe("Number of items in current response.").nullable(),
|
|
14
|
+
total: z.number().int().describe("Total number of items across all pages.").nullable(),
|
|
15
|
+
message: z.string().describe("Status message from the API.").nullable(),
|
|
16
|
+
has_more: z.boolean().describe("Whether more results are available for pagination.").nullable(),
|
|
17
|
+
previous: z.boolean().describe("Whether a previous page exists.").nullable()
|
|
18
18
|
}).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(),
|
|
@@ -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
|
|
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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|
|
@@ -3,12 +3,12 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-report-fields.ts
|
|
4
4
|
const MopinionGetReportFieldsInput = zod.z.object({ report_id: zod.z.number().int().describe("The unique ID of the report to retrieve fields for.") }).describe("Request model for fetching report field definitions.");
|
|
5
5
|
const MopinionGetReportFields_FieldDefinitionSchema = zod.z.object({
|
|
6
|
-
id: zod.z.number().int().describe("Internal field identifier."),
|
|
7
|
-
name: zod.z.string().describe("Field name."),
|
|
8
|
-
type: zod.z.string().describe("Field data type, e.g., 'text', 'textarea', 'email'."),
|
|
9
|
-
label: zod.z.string().describe("Field label shown in UI."),
|
|
10
|
-
readOnly: zod.z.boolean().describe("Whether the field is read-only."),
|
|
11
|
-
required: zod.z.boolean().describe("Whether the field is required."),
|
|
6
|
+
id: zod.z.number().int().describe("Internal field identifier.").nullable(),
|
|
7
|
+
name: zod.z.string().describe("Field name.").nullable(),
|
|
8
|
+
type: zod.z.string().describe("Field data type, e.g., 'text', 'textarea', 'email'.").nullable(),
|
|
9
|
+
label: zod.z.string().describe("Field label shown in UI.").nullable(),
|
|
10
|
+
readOnly: zod.z.boolean().describe("Whether the field is read-only.").nullable(),
|
|
11
|
+
required: zod.z.boolean().describe("Whether the field is required.").nullable(),
|
|
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.");
|
|
@@ -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
|
|
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,OA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