@keystrokehq/mopinion 0.1.0 → 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/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/get-account.cjs +29 -29
- 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 +29 -29
- package/dist/actions/get-account.mjs.map +1 -1
- package/dist/actions/get-dataset-by-id.cjs +14 -14
- 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 +14 -14
- package/dist/actions/get-dataset-by-id.mjs.map +1 -1
- package/dist/actions/get-dataset-feedback-by-id.cjs +6 -6
- 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 +6 -6
- package/dist/actions/get-dataset-feedback-by-id.mjs.map +1 -1
- package/dist/actions/get-dataset-feedback.cjs +18 -18
- 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 +18 -18
- 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 +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 +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 +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 +1 -1
- package/dist/actions/get-deployment-by-id.mjs.map +1 -1
- package/dist/actions/get-deployments.cjs +5 -5
- 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 +5 -5
- package/dist/actions/get-deployments.mjs.map +1 -1
- package/dist/actions/get-report-by-id.cjs +8 -8
- 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 +8 -8
- package/dist/actions/get-report-by-id.mjs.map +1 -1
- package/dist/actions/get-report-feedback.cjs +9 -9
- 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 +9 -9
- package/dist/actions/get-report-feedback.mjs.map +1 -1
- package/dist/actions/get-report-fields.cjs +7 -7
- 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 +7 -7
- package/dist/actions/get-report-fields.mjs.map +1 -1
- package/dist/actions/get-root.cjs +4 -4
- 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 +4 -4
- 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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-dataset-fields.d.cts","names":[],"sources":["../../src/actions/get-dataset-fields.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"get-dataset-fields.d.cts","names":[],"sources":["../../src/actions/get-dataset-fields.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-dataset-fields.d.ts
|
|
4
|
-
declare const MopinionGetDatasetFieldsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MopinionGetDatasetFieldsInput: z.ZodObject<{
|
|
5
|
+
dataset_id: z.ZodNumber;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const MopinionGetDatasetFieldsOutput: z.ZodObject<{
|
|
8
|
+
fields: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
9
|
+
}, z.core.$loose>;
|
|
10
|
+
declare const mopinionGetDatasetFields: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
dataset_id: number;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { mopinionGetDatasetFields };
|
|
9
15
|
//# sourceMappingURL=get-dataset-fields.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-dataset-fields.d.mts","names":[],"sources":["../../src/actions/get-dataset-fields.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"get-dataset-fields.d.mts","names":[],"sources":["../../src/actions/get-dataset-fields.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -5,7 +5,7 @@ const mopinionGetDatasetFields = action("MOPINION_GET_DATASET_FIELDS", {
|
|
|
5
5
|
name: "Get Dataset Field Definitions",
|
|
6
6
|
description: "Tool to retrieve field definitions for a dataset. Use when you need the schema of a dataset's fields.",
|
|
7
7
|
input: z.object({ dataset_id: z.number().int().describe("Unique identifier of the dataset whose field definitions should be retrieved. Use the LIST_DATASETS action to discover available dataset IDs.") }).describe("Request model for retrieving dataset field definitions."),
|
|
8
|
-
output: z.object({ fields: z.array(z.record(z.string(), z.unknown())).describe("List of field definition objects from the Mopinion API. Each object typically contains field metadata such as field name, type, label, and other properties that define the structure and characteristics of data fields in the dataset. May be an empty list if no fields are defined.") }).describe("Response model containing a list of field definitions for the dataset.\nEach field definition describes a data field/column in the dataset with its properties.")
|
|
8
|
+
output: z.object({ fields: z.array(z.record(z.string(), z.unknown())).describe("List of field definition objects from the Mopinion API. Each object typically contains field metadata such as field name, type, label, and other properties that define the structure and characteristics of data fields in the dataset. May be an empty list if no fields are defined.") }).passthrough().describe("Response model containing a list of field definitions for the dataset.\nEach field definition describes a data field/column in the dataset with its properties.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { mopinionGetDatasetFields };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-dataset-fields.mjs","names":[],"sources":["../../src/actions/get-dataset-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetDatasetFieldsInput
|
|
1
|
+
{"version":3,"file":"get-dataset-fields.mjs","names":[],"sources":["../../src/actions/get-dataset-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetDatasetFieldsInput = z.object({\n dataset_id: z.number().int().describe(\"Unique identifier of the dataset whose field definitions should be retrieved. Use the LIST_DATASETS action to discover available dataset IDs.\"),\n}).describe(\"Request model for retrieving dataset field definitions.\");\nexport const MopinionGetDatasetFieldsOutput = z.object({\n fields: z.array(z.record(z.string(), z.unknown())).describe(\"List of field definition objects from the Mopinion API. Each object typically contains field metadata such as field name, type, label, and other properties that define the structure and characteristics of data fields in the dataset. May be an empty list if no fields are defined.\"),\n}).passthrough().describe(\"Response model containing a list of field definitions for the dataset.\\nEach field definition describes a data field/column in the dataset with its properties.\");\n\nexport const mopinionGetDatasetFields = action(\"MOPINION_GET_DATASET_FIELDS\", {\n slug: \"mopinion-get-dataset-fields\",\n name: \"Get Dataset Field Definitions\",\n description: \"Tool to retrieve field definitions for a dataset. Use when you need the schema of a dataset's fields.\",\n input: MopinionGetDatasetFieldsInput,\n output: MopinionGetDatasetFieldsOutput,\n});\n"],"mappings":";;AAWA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX2C,EAAE,OAAO,EACpD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+IAA+I,EACvL,CAAC,CAAC,CAAC,SAAS,yDASH;CACP,QAT4C,EAAE,OAAO,EACrD,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,yRAAyR,EACvV,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iKAOhB;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/get-deployment-by-id.ts
|
|
4
4
|
const MopinionGetDeploymentByIdInput = zod.z.object({ deployment_id: zod.z.string().describe("The deployment key (identifier) to retrieve. This is the 'key' field from the deployments list.") }).describe("Parameters for retrieving a specific deployment by its ID.");
|
|
5
|
-
const MopinionGetDeploymentByIdOutput = zod.z.object({ deployment: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Complete deployment configuration object. Contains deployment metadata (key, name), trigger rules and conditions, display schedule settings, status (active/inactive), target URLs, form configuration, and other deployment-specific settings.") }).describe("Full deployment object as returned by the Mopinion API.");
|
|
5
|
+
const MopinionGetDeploymentByIdOutput = zod.z.object({ deployment: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Complete deployment configuration object. Contains deployment metadata (key, name), trigger rules and conditions, display schedule settings, status (active/inactive), target URLs, form configuration, and other deployment-specific settings.") }).passthrough().describe("Full deployment object as returned by the Mopinion API.");
|
|
6
6
|
const mopinionGetDeploymentById = require_action.action("MOPINION_GET_DEPLOYMENT_BY_ID", {
|
|
7
7
|
slug: "mopinion-get-deployment-by-id",
|
|
8
8
|
name: "Get Deployment by ID",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-deployment-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-deployment-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetDeploymentByIdInput
|
|
1
|
+
{"version":3,"file":"get-deployment-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-deployment-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetDeploymentByIdInput = z.object({\n deployment_id: z.string().describe(\"The deployment key (identifier) to retrieve. This is the 'key' field from the deployments list.\"),\n}).describe(\"Parameters for retrieving a specific deployment by its ID.\");\nexport const MopinionGetDeploymentByIdOutput = z.object({\n deployment: z.record(z.string(), z.unknown()).describe(\"Complete deployment configuration object. Contains deployment metadata (key, name), trigger rules and conditions, display schedule settings, status (active/inactive), target URLs, form configuration, and other deployment-specific settings.\"),\n}).passthrough().describe(\"Full deployment object as returned by the Mopinion API.\");\n\nexport const mopinionGetDeploymentById = action(\"MOPINION_GET_DEPLOYMENT_BY_ID\", {\n slug: \"mopinion-get-deployment-by-id\",\n name: \"Get Deployment by ID\",\n description: \"Retrieves detailed configuration for a specific feedback form deployment by its ID. Returns deployment rules, trigger conditions, scheduling settings, target URLs, and active status. Use this to understand when, where, and how a feedback form is displayed to users.\",\n input: MopinionGetDeploymentByIdInput,\n output: MopinionGetDeploymentByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,EACtI,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iPAAiP,EAC1S,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-deployment-by-id.d.ts
|
|
4
|
-
declare const MopinionGetDeploymentByIdInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MopinionGetDeploymentByIdInput: z.ZodObject<{
|
|
5
|
+
deployment_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const MopinionGetDeploymentByIdOutput: z.ZodObject<{
|
|
8
|
+
deployment: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
|
+
}, z.core.$loose>;
|
|
10
|
+
declare const mopinionGetDeploymentById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
deployment_id: string;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { mopinionGetDeploymentById };
|
|
9
15
|
//# sourceMappingURL=get-deployment-by-id.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-deployment-by-id.d.cts","names":[],"sources":["../../src/actions/get-deployment-by-id.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"get-deployment-by-id.d.cts","names":[],"sources":["../../src/actions/get-deployment-by-id.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-deployment-by-id.d.ts
|
|
4
|
-
declare const MopinionGetDeploymentByIdInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MopinionGetDeploymentByIdInput: z.ZodObject<{
|
|
5
|
+
deployment_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const MopinionGetDeploymentByIdOutput: z.ZodObject<{
|
|
8
|
+
deployment: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
|
+
}, z.core.$loose>;
|
|
10
|
+
declare const mopinionGetDeploymentById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
deployment_id: string;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { mopinionGetDeploymentById };
|
|
9
15
|
//# sourceMappingURL=get-deployment-by-id.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-deployment-by-id.d.mts","names":[],"sources":["../../src/actions/get-deployment-by-id.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"get-deployment-by-id.d.mts","names":[],"sources":["../../src/actions/get-deployment-by-id.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
|
|
@@ -5,7 +5,7 @@ const mopinionGetDeploymentById = action("MOPINION_GET_DEPLOYMENT_BY_ID", {
|
|
|
5
5
|
name: "Get Deployment by ID",
|
|
6
6
|
description: "Retrieves detailed configuration for a specific feedback form deployment by its ID. Returns deployment rules, trigger conditions, scheduling settings, target URLs, and active status. Use this to understand when, where, and how a feedback form is displayed to users.",
|
|
7
7
|
input: z.object({ deployment_id: z.string().describe("The deployment key (identifier) to retrieve. This is the 'key' field from the deployments list.") }).describe("Parameters for retrieving a specific deployment by its ID."),
|
|
8
|
-
output: z.object({ deployment: z.record(z.string(), z.unknown()).describe("Complete deployment configuration object. Contains deployment metadata (key, name), trigger rules and conditions, display schedule settings, status (active/inactive), target URLs, form configuration, and other deployment-specific settings.") }).describe("Full deployment object as returned by the Mopinion API.")
|
|
8
|
+
output: z.object({ deployment: z.record(z.string(), z.unknown()).describe("Complete deployment configuration object. Contains deployment metadata (key, name), trigger rules and conditions, display schedule settings, status (active/inactive), target URLs, form configuration, and other deployment-specific settings.") }).passthrough().describe("Full deployment object as returned by the Mopinion API.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { mopinionGetDeploymentById };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-deployment-by-id.mjs","names":[],"sources":["../../src/actions/get-deployment-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetDeploymentByIdInput
|
|
1
|
+
{"version":3,"file":"get-deployment-by-id.mjs","names":[],"sources":["../../src/actions/get-deployment-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetDeploymentByIdInput = z.object({\n deployment_id: z.string().describe(\"The deployment key (identifier) to retrieve. This is the 'key' field from the deployments list.\"),\n}).describe(\"Parameters for retrieving a specific deployment by its ID.\");\nexport const MopinionGetDeploymentByIdOutput = z.object({\n deployment: z.record(z.string(), z.unknown()).describe(\"Complete deployment configuration object. Contains deployment metadata (key, name), trigger rules and conditions, display schedule settings, status (active/inactive), target URLs, form configuration, and other deployment-specific settings.\"),\n}).passthrough().describe(\"Full deployment object as returned by the Mopinion API.\");\n\nexport const mopinionGetDeploymentById = action(\"MOPINION_GET_DEPLOYMENT_BY_ID\", {\n slug: \"mopinion-get-deployment-by-id\",\n name: \"Get Deployment by ID\",\n description: \"Retrieves detailed configuration for a specific feedback form deployment by its ID. Returns deployment rules, trigger conditions, scheduling settings, target URLs, and active status. Use this to understand when, where, and how a feedback form is displayed to users.\",\n input: MopinionGetDeploymentByIdInput,\n output: MopinionGetDeploymentByIdOutput,\n});\n"],"mappings":";;AAWA,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX4C,EAAE,OAAO,EACrD,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,EACtI,CAAC,CAAC,CAAC,SAAS,4DASH;CACP,QAT6C,EAAE,OAAO,EACtD,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iPAAiP,EAC1S,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
|
|
@@ -5,15 +5,15 @@ 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() }).passthrough();
|
|
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.")
|
|
12
|
-
});
|
|
10
|
+
key: zod.z.string().describe("Deployment identifier string.").nullable(),
|
|
11
|
+
name: zod.z.string().describe("Human-readable deployment name.").nullable()
|
|
12
|
+
}).passthrough();
|
|
13
13
|
const MopinionGetDeploymentsOutput = zod.z.object({
|
|
14
14
|
meta: MopinionGetDeployments_MetaSchema.nullable(),
|
|
15
15
|
deployments: zod.z.array(MopinionGetDeployments_DeploymentSchema).describe("List of deployments available to the account.")
|
|
16
|
-
});
|
|
16
|
+
}).passthrough();
|
|
17
17
|
const mopinionGetDeployments = require_action.action("MOPINION_GET_DEPLOYMENTS", {
|
|
18
18
|
slug: "mopinion-get-deployments",
|
|
19
19
|
name: "Get Deployments",
|
|
@@ -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}).passthrough();\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}).passthrough();\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}).passthrough();\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,CAAC,CAAC,YAAY;AACf,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,CAAC,CAAC,YAAY;AACf,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAM,kCAAkC,SAAS;CACjD,aAAaA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,+CAA+C;AACxH,CAAC,CAAC,CAAC,YAAY;AAEf,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.$loose>>;
|
|
12
|
+
deployments: z.ZodArray<z.ZodObject<{
|
|
13
|
+
key: z.ZodNullable<z.ZodString>;
|
|
14
|
+
name: z.ZodNullable<z.ZodString>;
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
|
+
}, z.core.$loose>;
|
|
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.$loose>>;
|
|
12
|
+
deployments: z.ZodArray<z.ZodObject<{
|
|
13
|
+
key: z.ZodNullable<z.ZodString>;
|
|
14
|
+
name: z.ZodNullable<z.ZodString>;
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
|
+
}, z.core.$loose>;
|
|
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,11 +5,11 @@ 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() }).passthrough();
|
|
9
9
|
const MopinionGetDeployments_DeploymentSchema = z.object({
|
|
10
|
-
key: z.string().describe("Deployment identifier string."),
|
|
11
|
-
name: z.string().describe("Human-readable deployment name.")
|
|
12
|
-
});
|
|
10
|
+
key: z.string().describe("Deployment identifier string.").nullable(),
|
|
11
|
+
name: z.string().describe("Human-readable deployment name.").nullable()
|
|
12
|
+
}).passthrough();
|
|
13
13
|
const mopinionGetDeployments = action("MOPINION_GET_DEPLOYMENTS", {
|
|
14
14
|
slug: "mopinion-get-deployments",
|
|
15
15
|
name: "Get Deployments",
|
|
@@ -18,7 +18,7 @@ const mopinionGetDeployments = action("MOPINION_GET_DEPLOYMENTS", {
|
|
|
18
18
|
output: z.object({
|
|
19
19
|
meta: MopinionGetDeployments_MetaSchema.nullable(),
|
|
20
20
|
deployments: z.array(MopinionGetDeployments_DeploymentSchema).describe("List of deployments available to the account.")
|
|
21
|
-
})
|
|
21
|
+
}).passthrough()
|
|
22
22
|
});
|
|
23
23
|
//#endregion
|
|
24
24
|
export { mopinionGetDeployments };
|
|
@@ -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}).passthrough();\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}).passthrough();\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}).passthrough();\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,CAAC,CAAC,YAAY;AACf,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,CAAC,CAAC,YAAY;AAMf,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,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -3,24 +3,24 @@ 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(),
|
|
10
10
|
message: zod.z.string().describe("Status message (e.g., 'OK')").nullable().optional(),
|
|
11
11
|
has_more: zod.z.boolean().describe("Whether more results are available").nullable().optional(),
|
|
12
12
|
previous: zod.z.boolean().describe("Whether a previous page exists").nullable().optional()
|
|
13
|
-
}).describe("Metadata block returned with every Mopinion API response.");
|
|
13
|
+
}).passthrough().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
|
-
}).describe("Dataset information associated with a report.");
|
|
20
|
+
}).passthrough().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}).passthrough().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}).passthrough().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,SAA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IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACzD,OAAO,iCAAiC,SAAS;CACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,UAAUA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gFAAgF;AAE1G,MAAa,wBAAwBC,eAAAA,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -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.$loose>>;
|
|
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.$loose>>>>;
|
|
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.$loose>>;
|
|
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.$loose>>>>;
|
|
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,29 +3,29 @@ 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(),
|
|
10
10
|
message: z.string().describe("Status message (e.g., 'OK')").nullable().optional(),
|
|
11
11
|
has_more: z.boolean().describe("Whether more results are available").nullable().optional(),
|
|
12
12
|
previous: z.boolean().describe("Whether a previous page exists").nullable().optional()
|
|
13
|
-
}).describe("Metadata block returned with every Mopinion API response.");
|
|
13
|
+
}).passthrough().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
|
-
}).describe("Dataset information associated with a report.");
|
|
20
|
+
}).passthrough().describe("Dataset information associated with a report.");
|
|
21
21
|
const mopinionGetReportById = action("MOPINION_GET_REPORT_BY_ID", {
|
|
22
22
|
slug: "mopinion-get-report-by-id",
|
|
23
23
|
name: "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}).passthrough().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}).passthrough().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,CAAC,CAAC,SAAS;CACrF,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC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AC,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,14 +8,14 @@ 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.")
|
|
18
|
-
}).describe("Metadata structure for API responses.");
|
|
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
|
+
}).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
|
|
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,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