@keystrokehq/mopinion 0.1.4 → 0.1.6
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 +1 -0
- package/dist/actions/get-account.cjs.map +1 -1
- package/dist/actions/get-account.d.cts +3 -1
- package/dist/actions/get-account.d.cts.map +1 -1
- package/dist/actions/get-account.d.mts +3 -1
- package/dist/actions/get-account.d.mts.map +1 -1
- package/dist/actions/get-account.mjs +1 -0
- package/dist/actions/get-account.mjs.map +1 -1
- package/dist/actions/get-dataset-by-id.cjs +1 -0
- package/dist/actions/get-dataset-by-id.cjs.map +1 -1
- package/dist/actions/get-dataset-by-id.d.cts +3 -3
- package/dist/actions/get-dataset-by-id.d.cts.map +1 -1
- package/dist/actions/get-dataset-by-id.d.mts +3 -3
- package/dist/actions/get-dataset-by-id.d.mts.map +1 -1
- package/dist/actions/get-dataset-by-id.mjs +1 -0
- package/dist/actions/get-dataset-by-id.mjs.map +1 -1
- package/dist/actions/get-dataset-feedback-by-id.cjs +1 -0
- package/dist/actions/get-dataset-feedback-by-id.cjs.map +1 -1
- package/dist/actions/get-dataset-feedback-by-id.d.cts +3 -4
- package/dist/actions/get-dataset-feedback-by-id.d.cts.map +1 -1
- package/dist/actions/get-dataset-feedback-by-id.d.mts +3 -4
- package/dist/actions/get-dataset-feedback-by-id.d.mts.map +1 -1
- package/dist/actions/get-dataset-feedback-by-id.mjs +1 -0
- package/dist/actions/get-dataset-feedback-by-id.mjs.map +1 -1
- package/dist/actions/get-dataset-feedback.cjs +1 -0
- package/dist/actions/get-dataset-feedback.cjs.map +1 -1
- package/dist/actions/get-dataset-feedback.d.cts +3 -6
- package/dist/actions/get-dataset-feedback.d.cts.map +1 -1
- package/dist/actions/get-dataset-feedback.d.mts +3 -6
- package/dist/actions/get-dataset-feedback.d.mts.map +1 -1
- package/dist/actions/get-dataset-feedback.mjs +1 -0
- package/dist/actions/get-dataset-feedback.mjs.map +1 -1
- package/dist/actions/get-dataset-fields.cjs +1 -0
- package/dist/actions/get-dataset-fields.cjs.map +1 -1
- package/dist/actions/get-dataset-fields.d.cts +3 -3
- package/dist/actions/get-dataset-fields.d.cts.map +1 -1
- package/dist/actions/get-dataset-fields.d.mts +3 -3
- package/dist/actions/get-dataset-fields.d.mts.map +1 -1
- package/dist/actions/get-dataset-fields.mjs +1 -0
- package/dist/actions/get-dataset-fields.mjs.map +1 -1
- package/dist/actions/get-deployment-by-id.cjs +1 -0
- package/dist/actions/get-deployment-by-id.cjs.map +1 -1
- package/dist/actions/get-deployment-by-id.d.cts +3 -3
- package/dist/actions/get-deployment-by-id.d.cts.map +1 -1
- package/dist/actions/get-deployment-by-id.d.mts +3 -3
- package/dist/actions/get-deployment-by-id.d.mts.map +1 -1
- package/dist/actions/get-deployment-by-id.mjs +1 -0
- package/dist/actions/get-deployment-by-id.mjs.map +1 -1
- package/dist/actions/get-deployments.cjs +1 -0
- package/dist/actions/get-deployments.cjs.map +1 -1
- package/dist/actions/get-deployments.d.cts +3 -4
- package/dist/actions/get-deployments.d.cts.map +1 -1
- package/dist/actions/get-deployments.d.mts +3 -4
- package/dist/actions/get-deployments.d.mts.map +1 -1
- package/dist/actions/get-deployments.mjs +1 -0
- package/dist/actions/get-deployments.mjs.map +1 -1
- package/dist/actions/get-report-by-id.cjs +1 -0
- package/dist/actions/get-report-by-id.cjs.map +1 -1
- package/dist/actions/get-report-by-id.d.cts +3 -3
- package/dist/actions/get-report-by-id.d.cts.map +1 -1
- package/dist/actions/get-report-by-id.d.mts +3 -3
- package/dist/actions/get-report-by-id.d.mts.map +1 -1
- package/dist/actions/get-report-by-id.mjs +1 -0
- package/dist/actions/get-report-by-id.mjs.map +1 -1
- package/dist/actions/get-report-feedback.cjs +1 -0
- package/dist/actions/get-report-feedback.cjs.map +1 -1
- package/dist/actions/get-report-feedback.d.cts +3 -6
- package/dist/actions/get-report-feedback.d.cts.map +1 -1
- package/dist/actions/get-report-feedback.d.mts +3 -6
- package/dist/actions/get-report-feedback.d.mts.map +1 -1
- package/dist/actions/get-report-feedback.mjs +1 -0
- package/dist/actions/get-report-feedback.mjs.map +1 -1
- package/dist/actions/get-report-fields.cjs +1 -0
- package/dist/actions/get-report-fields.cjs.map +1 -1
- package/dist/actions/get-report-fields.d.cts +3 -3
- package/dist/actions/get-report-fields.d.cts.map +1 -1
- package/dist/actions/get-report-fields.d.mts +3 -3
- package/dist/actions/get-report-fields.d.mts.map +1 -1
- package/dist/actions/get-report-fields.mjs +1 -0
- package/dist/actions/get-report-fields.mjs.map +1 -1
- package/dist/actions/get-root.cjs +1 -0
- package/dist/actions/get-root.cjs.map +1 -1
- package/dist/actions/get-root.d.cts +3 -5
- package/dist/actions/get-root.d.cts.map +1 -1
- package/dist/actions/get-root.d.mts +3 -5
- package/dist/actions/get-root.d.mts.map +1 -1
- package/dist/actions/get-root.mjs +1 -0
- package/dist/actions/get-root.mjs.map +1 -1
- package/dist/app.cjs +10 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +9 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +9 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +7 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { mopinion } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-dataset-fields.d.ts
|
|
@@ -7,9 +9,7 @@ declare const MopinionGetDatasetFieldsInput: z.ZodObject<{
|
|
|
7
9
|
declare const MopinionGetDatasetFieldsOutput: z.ZodObject<{
|
|
8
10
|
fields: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const mopinionGetDatasetFields:
|
|
11
|
-
dataset_id: number;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
|
+
declare const mopinionGetDatasetFields: AppAction<typeof MopinionGetDatasetFieldsInput, typeof MopinionGetDatasetFieldsOutput, typeof mopinion.credential>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { mopinionGetDatasetFields };
|
|
15
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":"
|
|
1
|
+
{"version":3,"file":"get-dataset-fields.d.mts","names":[],"sources":["../../src/actions/get-dataset-fields.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"get-dataset-fields.mjs","names":[],"sources":["../../src/actions/get-dataset-fields.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mopinion } from \"../app\";\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: AppAction<\n typeof MopinionGetDatasetFieldsInput,\n typeof MopinionGetDatasetFieldsOutput,\n typeof mopinion.credential\n> = 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":";;;AAaA,MAAa,2BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf2C,EAAE,OAAO,EACpD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+IAA+I,EACvL,CAAC,CAAC,CAAC,SAAS,yDAaH;CACP,QAb4C,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,iKAWhB;AACV,CAAC"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"get-deployment-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-deployment-by-id.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mopinion } from \"../app\";\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: AppAction<\n typeof MopinionGetDeploymentByIdInput,\n typeof MopinionGetDeploymentByIdOutput,\n typeof mopinion.credential\n> = 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":";;;;AAMA,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,4BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { mopinion } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-deployment-by-id.d.ts
|
|
@@ -7,9 +9,7 @@ declare const MopinionGetDeploymentByIdInput: z.ZodObject<{
|
|
|
7
9
|
declare const MopinionGetDeploymentByIdOutput: z.ZodObject<{
|
|
8
10
|
deployment: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const mopinionGetDeploymentById:
|
|
11
|
-
deployment_id: string;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
|
+
declare const mopinionGetDeploymentById: AppAction<typeof MopinionGetDeploymentByIdInput, typeof MopinionGetDeploymentByIdOutput, typeof mopinion.credential>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { mopinionGetDeploymentById };
|
|
15
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":"
|
|
1
|
+
{"version":3,"file":"get-deployment-by-id.d.cts","names":[],"sources":["../../src/actions/get-deployment-by-id.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { mopinion } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-deployment-by-id.d.ts
|
|
@@ -7,9 +9,7 @@ declare const MopinionGetDeploymentByIdInput: z.ZodObject<{
|
|
|
7
9
|
declare const MopinionGetDeploymentByIdOutput: z.ZodObject<{
|
|
8
10
|
deployment: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const mopinionGetDeploymentById:
|
|
11
|
-
deployment_id: string;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
|
+
declare const mopinionGetDeploymentById: AppAction<typeof MopinionGetDeploymentByIdInput, typeof MopinionGetDeploymentByIdOutput, typeof mopinion.credential>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { mopinionGetDeploymentById };
|
|
15
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":"
|
|
1
|
+
{"version":3,"file":"get-deployment-by-id.d.mts","names":[],"sources":["../../src/actions/get-deployment-by-id.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"get-deployment-by-id.mjs","names":[],"sources":["../../src/actions/get-deployment-by-id.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mopinion } from \"../app\";\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: AppAction<\n typeof MopinionGetDeploymentByIdInput,\n typeof MopinionGetDeploymentByIdOutput,\n typeof mopinion.credential\n> = 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":";;;AAaA,MAAa,4BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf4C,EAAE,OAAO,EACrD,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,EACtI,CAAC,CAAC,CAAC,SAAS,4DAaH;CACP,QAb6C,EAAE,OAAO,EACtD,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iPAAiP,EAC1S,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAWhB;AACV,CAAC"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"get-deployments.cjs","names":["z","action"],"sources":["../../src/actions/get-deployments.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mopinion } from \"../app\";\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: AppAction<\n typeof MopinionGetDeploymentsInput,\n typeof MopinionGetDeploymentsOutput,\n typeof mopinion.credential\n> = 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":";;;;AAMA,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,yBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { mopinion } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-deployments.d.ts
|
|
@@ -14,10 +16,7 @@ declare const MopinionGetDeploymentsOutput: z.ZodObject<{
|
|
|
14
16
|
name: z.ZodNullable<z.ZodString>;
|
|
15
17
|
}, z.core.$loose>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const mopinionGetDeployments:
|
|
18
|
-
accept?: string | undefined;
|
|
19
|
-
version?: string | undefined;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
|
+
declare const mopinionGetDeployments: AppAction<typeof MopinionGetDeploymentsInput, typeof MopinionGetDeploymentsOutput, typeof mopinion.credential>;
|
|
21
20
|
//#endregion
|
|
22
21
|
export { mopinionGetDeployments };
|
|
23
22
|
//# sourceMappingURL=get-deployments.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-deployments.d.cts","names":[],"sources":["../../src/actions/get-deployments.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-deployments.d.cts","names":[],"sources":["../../src/actions/get-deployments.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAW3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { mopinion } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-deployments.d.ts
|
|
@@ -14,10 +16,7 @@ declare const MopinionGetDeploymentsOutput: z.ZodObject<{
|
|
|
14
16
|
name: z.ZodNullable<z.ZodString>;
|
|
15
17
|
}, z.core.$loose>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const mopinionGetDeployments:
|
|
18
|
-
accept?: string | undefined;
|
|
19
|
-
version?: string | undefined;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
|
+
declare const mopinionGetDeployments: AppAction<typeof MopinionGetDeploymentsInput, typeof MopinionGetDeploymentsOutput, typeof mopinion.credential>;
|
|
21
20
|
//#endregion
|
|
22
21
|
export { mopinionGetDeployments };
|
|
23
22
|
//# sourceMappingURL=get-deployments.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-deployments.d.mts","names":[],"sources":["../../src/actions/get-deployments.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-deployments.d.mts","names":[],"sources":["../../src/actions/get-deployments.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAW3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"get-deployments.mjs","names":[],"sources":["../../src/actions/get-deployments.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mopinion } from \"../app\";\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: AppAction<\n typeof MopinionGetDeploymentsInput,\n typeof MopinionGetDeploymentsOutput,\n typeof mopinion.credential\n> = 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":";;;;AAMA,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,yBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd0C,EAAE,OAAO;EACnD,MAAM,kCAAkC,SAAS;EACjD,aAAa,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,+CAA+C;CACxH,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"get-report-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-report-by-id.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mopinion } from \"../app\";\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: AppAction<\n typeof MopinionGetReportByIdInput,\n typeof MopinionGetReportByIdOutput,\n typeof mopinion.credential\n> = 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":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAA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AC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,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,wBAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { mopinion } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-report-by-id.d.ts
|
|
@@ -27,9 +29,7 @@ declare const MopinionGetReportByIdOutput: z.ZodObject<{
|
|
|
27
29
|
language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
30
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
31
|
}, z.core.$loose>;
|
|
30
|
-
declare const mopinionGetReportById:
|
|
31
|
-
report_id: number;
|
|
32
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
32
|
+
declare const mopinionGetReportById: AppAction<typeof MopinionGetReportByIdInput, typeof MopinionGetReportByIdOutput, typeof mopinion.credential>;
|
|
33
33
|
//#endregion
|
|
34
34
|
export { mopinionGetReportById };
|
|
35
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":"
|
|
1
|
+
{"version":3,"file":"get-report-by-id.d.cts","names":[],"sources":["../../src/actions/get-report-by-id.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAmB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAU3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { mopinion } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-report-by-id.d.ts
|
|
@@ -27,9 +29,7 @@ declare const MopinionGetReportByIdOutput: z.ZodObject<{
|
|
|
27
29
|
language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
30
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
31
|
}, z.core.$loose>;
|
|
30
|
-
declare const mopinionGetReportById:
|
|
31
|
-
report_id: number;
|
|
32
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
32
|
+
declare const mopinionGetReportById: AppAction<typeof MopinionGetReportByIdInput, typeof MopinionGetReportByIdOutput, typeof mopinion.credential>;
|
|
33
33
|
//#endregion
|
|
34
34
|
export { mopinionGetReportById };
|
|
35
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":"
|
|
1
|
+
{"version":3,"file":"get-report-by-id.d.mts","names":[],"sources":["../../src/actions/get-report-by-id.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAmB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAU3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"get-report-by-id.mjs","names":[],"sources":["../../src/actions/get-report-by-id.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mopinion } from \"../app\";\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: AppAction<\n typeof MopinionGetReportByIdInput,\n typeof MopinionGetReportByIdOutput,\n typeof mopinion.credential\n> = 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":";;;;AAMA,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,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AACrF,MAAM,sCAAsC,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CA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"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":"
|
|
1
|
+
{"version":3,"file":"get-report-feedback.cjs","names":["z","action"],"sources":["../../src/actions/get-report-feedback.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mopinion } from \"../app\";\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: AppAction<\n typeof MopinionGetReportFeedbackInput,\n typeof MopinionGetReportFeedbackOutput,\n typeof mopinion.credential\n> = 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":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC/E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC1G,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAC3I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;AACtG,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CA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Aa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,OAAO,iDAAiD,SAAS;CACjE,UAAUA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,4EAA4E;AACvJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,4BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { mopinion } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-report-feedback.d.ts
|
|
@@ -25,12 +27,7 @@ declare const MopinionGetReportFeedbackOutput: z.ZodObject<{
|
|
|
25
27
|
dataset_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
28
|
}, z.core.$loose>>;
|
|
27
29
|
}, z.core.$loose>;
|
|
28
|
-
declare const mopinionGetReportFeedback:
|
|
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]>;
|
|
30
|
+
declare const mopinionGetReportFeedback: AppAction<typeof MopinionGetReportFeedbackInput, typeof MopinionGetReportFeedbackOutput, typeof mopinion.credential>;
|
|
34
31
|
//#endregion
|
|
35
32
|
export { mopinionGetReportFeedback };
|
|
36
33
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"get-report-feedback.d.cts","names":[],"sources":["../../src/actions/get-report-feedback.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAsB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAK/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { mopinion } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-report-feedback.d.ts
|
|
@@ -25,12 +27,7 @@ declare const MopinionGetReportFeedbackOutput: z.ZodObject<{
|
|
|
25
27
|
dataset_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
28
|
}, z.core.$loose>>;
|
|
27
29
|
}, z.core.$loose>;
|
|
28
|
-
declare const mopinionGetReportFeedback:
|
|
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]>;
|
|
30
|
+
declare const mopinionGetReportFeedback: AppAction<typeof MopinionGetReportFeedbackInput, typeof MopinionGetReportFeedbackOutput, typeof mopinion.credential>;
|
|
34
31
|
//#endregion
|
|
35
32
|
export { mopinionGetReportFeedback };
|
|
36
33
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"get-report-feedback.d.mts","names":[],"sources":["../../src/actions/get-report-feedback.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAsB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAK/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-report-feedback.mjs","names":[],"sources":["../../src/actions/get-report-feedback.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetReportFeedbackInput = z.object({\n page: z.number().int().describe(\"Page number to retrieve (1-based).\").optional(),\n limit: z.number().int().describe(\"Maximum number of feedback items to return per page (1-100).\").optional(),\n filters: z.record(z.string(), z.unknown()).describe(\"Server-side filters serialized as filter[field]=value in query parameters.\").optional(),\n report_id: z.number().int().describe(\"The unique identifier of the report to retrieve feedback for.\"),\n}).describe(\"Request model for GET_REPORT_FEEDBACK action.\");\nconst MopinionGetReportFeedback_FeedbackMetadataSchema = z.object({\n code: z.number().int().describe(\"HTTP status code of the response.\").nullable(),\n next: z.boolean().describe(\"Whether a next page exists.\").nullable(),\n count: z.number().int().describe(\"Number of items in current response.\").nullable(),\n total: z.number().int().describe(\"Total number of items across all pages.\").nullable(),\n message: z.string().describe(\"Status message from the API.\").nullable(),\n has_more: z.boolean().describe(\"Whether more results are available for pagination.\").nullable(),\n previous: z.boolean().describe(\"Whether a previous page exists.\").nullable(),\n}).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":"
|
|
1
|
+
{"version":3,"file":"get-report-feedback.mjs","names":[],"sources":["../../src/actions/get-report-feedback.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mopinion } from \"../app\";\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: AppAction<\n typeof MopinionGetReportFeedbackInput,\n typeof MopinionGetReportFeedbackOutput,\n typeof mopinion.credential\n> = 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":";;;;AAMA,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,CAA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AS,+KAA+K;AAMzM,MAAa,4BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd6C,EAAE,OAAO;EACtD,OAAO,iDAAiD,SAAS;EACjE,UAAU,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,4EAA4E;CACvJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-report-fields.cjs","names":["z","action"],"sources":["../../src/actions/get-report-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetReportFieldsInput = z.object({\n report_id: z.number().int().describe(\"The unique ID of the report to retrieve fields for.\"),\n}).describe(\"Request model for fetching report field definitions.\");\nconst MopinionGetReportFields_FieldDefinitionSchema = z.object({\n id: z.number().int().describe(\"Internal field identifier.\").nullable(),\n name: z.string().describe(\"Field name.\").nullable(),\n type: z.string().describe(\"Field data type, e.g., 'text', 'textarea', 'email'.\").nullable(),\n label: z.string().describe(\"Field label shown in UI.\").nullable(),\n readOnly: z.boolean().describe(\"Whether the field is read-only.\").nullable(),\n required: z.boolean().describe(\"Whether the field is required.\").nullable(),\n formatter: z.string().describe(\"Formatter used for this field, if any.\").nullable().optional(),\n defaultValue: z.string().describe(\"Default value for this field, if any.\").nullable().optional(),\n}).passthrough().describe(\"Definition of a single field within a report schema.\");\nexport const MopinionGetReportFieldsOutput = z.object({\n fields: z.array(MopinionGetReportFields_FieldDefinitionSchema).describe(\"List of field definitions for the report.\"),\n}).passthrough().describe(\"Response model containing a list of field definitions for the report.\");\n\nexport const mopinionGetReportFields = action(\"MOPINION_GET_REPORT_FIELDS\", {\n slug: \"mopinion-get-report-fields\",\n name: \"Get Report Fields\",\n description: \"Tool to retrieve field definitions for a specific report. Use when you need the schema of a report's feedback fields before constructing or analyzing forms.\",\n input: MopinionGetReportFieldsInput,\n output: MopinionGetReportFieldsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-report-fields.cjs","names":["z","action"],"sources":["../../src/actions/get-report-fields.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mopinion } from \"../app\";\n\nexport const MopinionGetReportFieldsInput = z.object({\n report_id: z.number().int().describe(\"The unique ID of the report to retrieve fields for.\"),\n}).describe(\"Request model for fetching report field definitions.\");\nconst MopinionGetReportFields_FieldDefinitionSchema = z.object({\n id: z.number().int().describe(\"Internal field identifier.\").nullable(),\n name: z.string().describe(\"Field name.\").nullable(),\n type: z.string().describe(\"Field data type, e.g., 'text', 'textarea', 'email'.\").nullable(),\n label: z.string().describe(\"Field label shown in UI.\").nullable(),\n readOnly: z.boolean().describe(\"Whether the field is read-only.\").nullable(),\n required: z.boolean().describe(\"Whether the field is required.\").nullable(),\n formatter: z.string().describe(\"Formatter used for this field, if any.\").nullable().optional(),\n defaultValue: z.string().describe(\"Default value for this field, if any.\").nullable().optional(),\n}).passthrough().describe(\"Definition of a single field within a report schema.\");\nexport const MopinionGetReportFieldsOutput = z.object({\n fields: z.array(MopinionGetReportFields_FieldDefinitionSchema).describe(\"List of field definitions for the report.\"),\n}).passthrough().describe(\"Response model containing a list of field definitions for the report.\");\n\nexport const mopinionGetReportFields: AppAction<\n typeof MopinionGetReportFieldsInput,\n typeof MopinionGetReportFieldsOutput,\n typeof mopinion.credential\n> = 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":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CA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
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-report-fields.d.ts
|
|
@@ -16,9 +18,7 @@ declare const MopinionGetReportFieldsOutput: z.ZodObject<{
|
|
|
16
18
|
defaultValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
}, z.core.$loose>>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const mopinionGetReportFields:
|
|
20
|
-
report_id: number;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
21
|
+
declare const mopinionGetReportFields: AppAction<typeof MopinionGetReportFieldsInput, typeof MopinionGetReportFieldsOutput, typeof mopinion.credential>;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { mopinionGetReportFields };
|
|
24
24
|
//# sourceMappingURL=get-report-fields.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-report-fields.d.cts","names":[],"sources":["../../src/actions/get-report-fields.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-report-fields.d.cts","names":[],"sources":["../../src/actions/get-report-fields.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAa5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { mopinion } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-report-fields.d.ts
|
|
@@ -16,9 +18,7 @@ declare const MopinionGetReportFieldsOutput: z.ZodObject<{
|
|
|
16
18
|
defaultValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
}, z.core.$loose>>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const mopinionGetReportFields:
|
|
20
|
-
report_id: number;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
21
|
+
declare const mopinionGetReportFields: AppAction<typeof MopinionGetReportFieldsInput, typeof MopinionGetReportFieldsOutput, typeof mopinion.credential>;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { mopinionGetReportFields };
|
|
24
24
|
//# sourceMappingURL=get-report-fields.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-report-fields.d.mts","names":[],"sources":["../../src/actions/get-report-fields.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-report-fields.d.mts","names":[],"sources":["../../src/actions/get-report-fields.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAa5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-report-fields.mjs","names":[],"sources":["../../src/actions/get-report-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetReportFieldsInput = z.object({\n report_id: z.number().int().describe(\"The unique ID of the report to retrieve fields for.\"),\n}).describe(\"Request model for fetching report field definitions.\");\nconst MopinionGetReportFields_FieldDefinitionSchema = z.object({\n id: z.number().int().describe(\"Internal field identifier.\").nullable(),\n name: z.string().describe(\"Field name.\").nullable(),\n type: z.string().describe(\"Field data type, e.g., 'text', 'textarea', 'email'.\").nullable(),\n label: z.string().describe(\"Field label shown in UI.\").nullable(),\n readOnly: z.boolean().describe(\"Whether the field is read-only.\").nullable(),\n required: z.boolean().describe(\"Whether the field is required.\").nullable(),\n formatter: z.string().describe(\"Formatter used for this field, if any.\").nullable().optional(),\n defaultValue: z.string().describe(\"Default value for this field, if any.\").nullable().optional(),\n}).passthrough().describe(\"Definition of a single field within a report schema.\");\nexport const MopinionGetReportFieldsOutput = z.object({\n fields: z.array(MopinionGetReportFields_FieldDefinitionSchema).describe(\"List of field definitions for the report.\"),\n}).passthrough().describe(\"Response model containing a list of field definitions for the report.\");\n\nexport const mopinionGetReportFields = action(\"MOPINION_GET_REPORT_FIELDS\", {\n slug: \"mopinion-get-report-fields\",\n name: \"Get Report Fields\",\n description: \"Tool to retrieve field definitions for a specific report. Use when you need the schema of a report's feedback fields before constructing or analyzing forms.\",\n input: MopinionGetReportFieldsInput,\n output: MopinionGetReportFieldsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-report-fields.mjs","names":[],"sources":["../../src/actions/get-report-fields.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mopinion } from \"../app\";\n\nexport const MopinionGetReportFieldsInput = z.object({\n report_id: z.number().int().describe(\"The unique ID of the report to retrieve fields for.\"),\n}).describe(\"Request model for fetching report field definitions.\");\nconst MopinionGetReportFields_FieldDefinitionSchema = z.object({\n id: z.number().int().describe(\"Internal field identifier.\").nullable(),\n name: z.string().describe(\"Field name.\").nullable(),\n type: z.string().describe(\"Field data type, e.g., 'text', 'textarea', 'email'.\").nullable(),\n label: z.string().describe(\"Field label shown in UI.\").nullable(),\n readOnly: z.boolean().describe(\"Whether the field is read-only.\").nullable(),\n required: z.boolean().describe(\"Whether the field is required.\").nullable(),\n formatter: z.string().describe(\"Formatter used for this field, if any.\").nullable().optional(),\n defaultValue: z.string().describe(\"Default value for this field, if any.\").nullable().optional(),\n}).passthrough().describe(\"Definition of a single field within a report schema.\");\nexport const MopinionGetReportFieldsOutput = z.object({\n fields: z.array(MopinionGetReportFields_FieldDefinitionSchema).describe(\"List of field definitions for the report.\"),\n}).passthrough().describe(\"Response model containing a list of field definitions for the report.\");\n\nexport const mopinionGetReportFields: AppAction<\n typeof MopinionGetReportFieldsInput,\n typeof MopinionGetReportFieldsOutput,\n typeof mopinion.credential\n> = 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":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO,EACnD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,EAC5F,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,gDAAgD,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC1F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAChE,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC3E,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAKhF,MAAa,0BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb2C,EAAE,OAAO,EACpD,QAAQ,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,2CAA2C,EACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uEAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-root.cjs","names":["z","action"],"sources":["../../src/actions/get-root.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetRootInput = z.object({\n extra_path: z.string().describe(\"Optional path to append to the base URL. Defaults to '/ping' for the standard health check endpoint. Use this to test other endpoints if needed.\").optional(),\n custom_base_url: z.string().describe(\"Optional override for the Mopinion API base URL. If not provided, the action uses the connection's base_url when it points to a Mopinion domain; otherwise it falls back to 'https://api.mopinion.com'.\").optional(),\n include_auth_header: z.boolean().default(false).describe(\"Whether to include the Authorization header in the request. Defaults to False because the root ping does not require authentication.\").optional(),\n}).describe(\"Request model for GetRoot action.\");\nexport const MopinionGetRootOutput = z.object({\n code: z.number().int().describe(\"HTTP status code returned by the API\").nullable(),\n version: z.string().describe(\"Current Mopinion API version\").nullable(),\n response: z.string().describe(\"Ping response from the server, typically 'pong'\").nullable(),\n}).passthrough().describe(\"Response model for GetRoot action.\");\n\nexport const mopinionGetRoot = action(\"MOPINION_GET_ROOT\", {\n slug: \"mopinion-get-root\",\n name: \"Get API Root\",\n description: \"Check Mopinion API availability and get version information. Pings the API health check endpoint (/ping) and returns status code, 'pong' response, and current API version. Use this to verify the API is reachable and operational.\",\n input: MopinionGetRootInput,\n output: MopinionGetRootOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-root.cjs","names":["z","action"],"sources":["../../src/actions/get-root.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mopinion } from \"../app\";\n\nexport const MopinionGetRootInput = z.object({\n extra_path: z.string().describe(\"Optional path to append to the base URL. Defaults to '/ping' for the standard health check endpoint. Use this to test other endpoints if needed.\").optional(),\n custom_base_url: z.string().describe(\"Optional override for the Mopinion API base URL. If not provided, the action uses the connection's base_url when it points to a Mopinion domain; otherwise it falls back to 'https://api.mopinion.com'.\").optional(),\n include_auth_header: z.boolean().default(false).describe(\"Whether to include the Authorization header in the request. Defaults to False because the root ping does not require authentication.\").optional(),\n}).describe(\"Request model for GetRoot action.\");\nexport const MopinionGetRootOutput = z.object({\n code: z.number().int().describe(\"HTTP status code returned by the API\").nullable(),\n version: z.string().describe(\"Current Mopinion API version\").nullable(),\n response: z.string().describe(\"Ping response from the server, typically 'pong'\").nullable(),\n}).passthrough().describe(\"Response model for GetRoot action.\");\n\nexport const mopinionGetRoot: AppAction<\n typeof MopinionGetRootInput,\n typeof MopinionGetRootOutput,\n typeof mopinion.credential\n> = action(\"MOPINION_GET_ROOT\", {\n slug: \"mopinion-get-root\",\n name: \"Get API Root\",\n description: \"Check Mopinion API availability and get version information. Pings the API health check endpoint (/ping) and returns status code, 'pong' response, and current API version. Use this to verify the API is reachable and operational.\",\n input: MopinionGetRootInput,\n output: MopinionGetRootOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kJAAkJ,CAAC,CAAC,SAAS;CAC7L,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yMAAyM,CAAC,CAAC,SAAS;CACzP,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;AAC5M,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAE9D,MAAa,kBAITC,eAAAA,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|