@keystrokehq/mopinion 0.1.5 → 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 -17
- package/dist/actions/get-account.d.cts.map +1 -1
- package/dist/actions/get-account.d.mts +3 -17
- 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 -19
- package/dist/actions/get-dataset-by-id.d.cts.map +1 -1
- package/dist/actions/get-dataset-by-id.d.mts +3 -19
- 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 -20
- package/dist/actions/get-dataset-feedback-by-id.d.cts.map +1 -1
- package/dist/actions/get-dataset-feedback-by-id.d.mts +3 -20
- 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 -22
- package/dist/actions/get-dataset-feedback.d.cts.map +1 -1
- package/dist/actions/get-dataset-feedback.d.mts +3 -22
- 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 -19
- package/dist/actions/get-dataset-fields.d.cts.map +1 -1
- package/dist/actions/get-dataset-fields.d.mts +3 -19
- 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 -19
- package/dist/actions/get-deployment-by-id.d.cts.map +1 -1
- package/dist/actions/get-deployment-by-id.d.mts +3 -19
- 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 -20
- package/dist/actions/get-deployments.d.cts.map +1 -1
- package/dist/actions/get-deployments.d.mts +3 -20
- 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 -19
- package/dist/actions/get-report-by-id.d.cts.map +1 -1
- package/dist/actions/get-report-by-id.d.mts +3 -19
- 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 -22
- package/dist/actions/get-report-feedback.d.cts.map +1 -1
- package/dist/actions/get-report-feedback.d.mts +3 -22
- 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 -19
- package/dist/actions/get-report-fields.d.cts.map +1 -1
- package/dist/actions/get-report-fields.d.mts +3 -19
- 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 -21
- package/dist/actions/get-root.d.cts.map +1 -1
- package/dist/actions/get-root.d.mts +3 -21
- 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 +6 -5
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- 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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-dataset-feedback.d.mts","names":[],"sources":["../../src/actions/get-dataset-feedback.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-dataset-feedback.d.mts","names":[],"sources":["../../src/actions/get-dataset-feedback.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;cAqC/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-dataset-feedback.mjs","names":[],"sources":["../../src/actions/get-dataset-feedback.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetDatasetFeedbackInput = z.object({\n page: z.number().int().describe(\"Page number to return\").optional(),\n limit: z.number().int().describe(\"Maximum number of results per page (max 100)\").optional(),\n filters: z.record(z.string(), z.unknown()).describe(\"Field-level filters as a map of field_key to filter value. Serialized as filter[{field_key}]=value in the query string\").optional(),\n dataset_id: z.number().int().describe(\"Identifier of the dataset (form) to retrieve feedback for\"),\n}).describe(\"Request model for retrieving feedback items of a specific dataset.\");\nconst MopinionGetDatasetFeedback_FeedbackFieldEntrySchema = z.object({\n key: z.string().describe(\"Field key identifier\").nullable(),\n label: z.string().describe(\"Field label\").nullable(),\n value: z.union([z.string(), z.boolean(), z.number(), z.number().int()]),\n}).passthrough();\nconst MopinionGetDatasetFeedback_FeedbackFieldsSchema = z.object({\n _data: z.array(MopinionGetDatasetFeedback_FeedbackFieldEntrySchema).describe(\"Collected field entries\"),\n _type: z.string().describe(\"Denotes that the fields container is a list\").nullable(),\n}).passthrough();\nconst MopinionGetDatasetFeedback_FeedbackItemSchema = z.object({\n id: z.number().int().describe(\"Feedback item ID\").nullable(),\n uuid: z.string().describe(\"UUID of the feedback when available\").nullable().optional(),\n active: z.boolean().describe(\"Whether the feedback item is active\").nullable(),\n fields: MopinionGetDatasetFeedback_FeedbackFieldsSchema.nullable(),\n created: z.string().describe(\"Creation timestamp of the feedback item\").nullable(),\n survey_id: z.number().int().describe(\"Form (survey) ID\").nullable(),\n anonymised: z.union([z.number().int(), z.boolean()]),\n project_id: z.number().int().describe(\"Report/project ID the item belongs to\").nullable(),\n survey_name: z.string().describe(\"Name of the survey/form\").nullable(),\n project_name: z.string().describe(\"Name of the project/report\").nullable(),\n scores_object: z.string().describe(\"JSON-encoded map of score field IDs to values\").nullable(),\n}).passthrough();\nconst MopinionGetDatasetFeedback_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code returned by the API\").nullable(),\n next: z.union([z.boolean(), z.string()]).nullable().optional(),\n count: z.number().int().describe(\"Number of items returned in current page\").nullable().optional(),\n total: z.number().int().describe(\"Total number of feedback items available\").nullable().optional(),\n message: z.string().describe(\"Status message from the API\").nullable().optional(),\n has_more: z.boolean().describe(\"Whether more pages are available after the current page\").nullable().optional(),\n previous: z.union([z.boolean(), z.string()]).nullable().optional(),\n}).passthrough();\nexport const MopinionGetDatasetFeedbackOutput = z.object({\n data: z.array(MopinionGetDatasetFeedback_FeedbackItemSchema).describe(\"Paginated list of feedback items\"),\n _meta: MopinionGetDatasetFeedback_MetaSchema.nullable(),\n}).passthrough();\n\nexport const mopinionGetDatasetFeedback = action(\"MOPINION_GET_DATASET_FEEDBACK\", {\n slug: \"mopinion-get-dataset-feedback\",\n name: \"Get Dataset Feedback\",\n description: \"Retrieve feedback items (survey responses) for a specific dataset/form with optional pagination and filtering. Use this action to fetch multiple feedback entries from a dataset. Each feedback item contains the survey responses including custom fields, scores, metadata, and timestamps. Supports pagination for large result sets and filtering by field values. For retrieving a single feedback item by ID, use GET_DATASET_FEEDBACK_BY_ID instead.\",\n input: MopinionGetDatasetFeedbackInput,\n output: MopinionGetDatasetFeedbackOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-dataset-feedback.mjs","names":[],"sources":["../../src/actions/get-dataset-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 MopinionGetDatasetFeedbackInput = z.object({\n page: z.number().int().describe(\"Page number to return\").optional(),\n limit: z.number().int().describe(\"Maximum number of results per page (max 100)\").optional(),\n filters: z.record(z.string(), z.unknown()).describe(\"Field-level filters as a map of field_key to filter value. Serialized as filter[{field_key}]=value in the query string\").optional(),\n dataset_id: z.number().int().describe(\"Identifier of the dataset (form) to retrieve feedback for\"),\n}).describe(\"Request model for retrieving feedback items of a specific dataset.\");\nconst MopinionGetDatasetFeedback_FeedbackFieldEntrySchema = z.object({\n key: z.string().describe(\"Field key identifier\").nullable(),\n label: z.string().describe(\"Field label\").nullable(),\n value: z.union([z.string(), z.boolean(), z.number(), z.number().int()]),\n}).passthrough();\nconst MopinionGetDatasetFeedback_FeedbackFieldsSchema = z.object({\n _data: z.array(MopinionGetDatasetFeedback_FeedbackFieldEntrySchema).describe(\"Collected field entries\"),\n _type: z.string().describe(\"Denotes that the fields container is a list\").nullable(),\n}).passthrough();\nconst MopinionGetDatasetFeedback_FeedbackItemSchema = z.object({\n id: z.number().int().describe(\"Feedback item ID\").nullable(),\n uuid: z.string().describe(\"UUID of the feedback when available\").nullable().optional(),\n active: z.boolean().describe(\"Whether the feedback item is active\").nullable(),\n fields: MopinionGetDatasetFeedback_FeedbackFieldsSchema.nullable(),\n created: z.string().describe(\"Creation timestamp of the feedback item\").nullable(),\n survey_id: z.number().int().describe(\"Form (survey) ID\").nullable(),\n anonymised: z.union([z.number().int(), z.boolean()]),\n project_id: z.number().int().describe(\"Report/project ID the item belongs to\").nullable(),\n survey_name: z.string().describe(\"Name of the survey/form\").nullable(),\n project_name: z.string().describe(\"Name of the project/report\").nullable(),\n scores_object: z.string().describe(\"JSON-encoded map of score field IDs to values\").nullable(),\n}).passthrough();\nconst MopinionGetDatasetFeedback_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code returned by the API\").nullable(),\n next: z.union([z.boolean(), z.string()]).nullable().optional(),\n count: z.number().int().describe(\"Number of items returned in current page\").nullable().optional(),\n total: z.number().int().describe(\"Total number of feedback items available\").nullable().optional(),\n message: z.string().describe(\"Status message from the API\").nullable().optional(),\n has_more: z.boolean().describe(\"Whether more pages are available after the current page\").nullable().optional(),\n previous: z.union([z.boolean(), z.string()]).nullable().optional(),\n}).passthrough();\nexport const MopinionGetDatasetFeedbackOutput = z.object({\n data: z.array(MopinionGetDatasetFeedback_FeedbackItemSchema).describe(\"Paginated list of feedback items\"),\n _meta: MopinionGetDatasetFeedback_MetaSchema.nullable(),\n}).passthrough();\n\nexport const mopinionGetDatasetFeedback: AppAction<\n typeof MopinionGetDatasetFeedbackInput,\n typeof MopinionGetDatasetFeedbackOutput,\n typeof mopinion.credential\n> = action(\"MOPINION_GET_DATASET_FEEDBACK\", {\n slug: \"mopinion-get-dataset-feedback\",\n name: \"Get Dataset Feedback\",\n description: \"Retrieve feedback items (survey responses) for a specific dataset/form with optional pagination and filtering. Use this action to fetch multiple feedback entries from a dataset. Each feedback item contains the survey responses including custom fields, scores, metadata, and timestamps. Supports pagination for large result sets and filtering by field values. For retrieving a single feedback item by ID, use GET_DATASET_FEEDBACK_BY_ID instead.\",\n input: MopinionGetDatasetFeedbackInput,\n output: MopinionGetDatasetFeedbackOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkC,EAAE,OAAO;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAClE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC1F,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS;CACvL,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;AACnG,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,sDAAsD,EAAE,OAAO;CACnE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CACnD,OAAO,EAAE,MAAM;EAAC,EAAE,OAAO;EAAG,EAAE,QAAQ;EAAG,EAAE,OAAO;EAAG,EAAE,OAAO,CAAC,CAAC,IAAI;CAAC,CAAC;AACxE,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,kDAAkD,EAAE,OAAO;CAC/D,OAAO,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,yBAAyB;CACtG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,gDAAgD,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC7E,QAAQ,gDAAgD,SAAS;CACjE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACjF,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAClE,YAAY,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,QAAQ,CAAC,CAAC;CACnD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACxF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACrE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACzE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,wCAAwC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,MAAM,EAAE,MAAM,CAAC,EAAE,QAAQ,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,UAAU,EAAE,MAAM,CAAC,EAAE,QAAQ,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AAMf,MAAa,6BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd8C,EAAE,OAAO;EACvD,MAAM,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,kCAAkC;EACxG,OAAO,sCAAsC,SAAS;CACxD,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-dataset-fields.cjs","names":["z","action"],"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.cjs","names":["z","action"],"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":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+IAA+I,EACvL,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,yRAAyR,EACvV,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iKAAiK;AAE3L,MAAa,2BAITC,eAAAA,OAAO,+BAA+B;CACxC,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-dataset-fields.d.ts
|
|
@@ -7,25 +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<"mopinion", z.ZodObject<{
|
|
13
|
-
connectionId: z.ZodString;
|
|
14
|
-
entityId: z.ZodString;
|
|
15
|
-
instanceId: z.ZodString;
|
|
16
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
-
generic_api_key: z.ZodString;
|
|
18
|
-
generic_id: z.ZodString;
|
|
19
|
-
generic_id_2: z.ZodString;
|
|
20
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mopinion", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
generic_id: z.ZodString;
|
|
27
|
-
generic_id_2: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>;
|
|
12
|
+
declare const mopinionGetDatasetFields: AppAction<typeof MopinionGetDatasetFieldsInput, typeof MopinionGetDatasetFieldsOutput, typeof mopinion.credential>;
|
|
29
13
|
//#endregion
|
|
30
14
|
export { mopinionGetDatasetFields };
|
|
31
15
|
//# sourceMappingURL=get-dataset-fields.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-dataset-fields.d.cts","names":[],"sources":["../../src/actions/get-dataset-fields.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-dataset-fields.d.cts","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,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,25 +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<"mopinion", z.ZodObject<{
|
|
13
|
-
connectionId: z.ZodString;
|
|
14
|
-
entityId: z.ZodString;
|
|
15
|
-
instanceId: z.ZodString;
|
|
16
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
-
generic_api_key: z.ZodString;
|
|
18
|
-
generic_id: z.ZodString;
|
|
19
|
-
generic_id_2: z.ZodString;
|
|
20
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mopinion", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
generic_id: z.ZodString;
|
|
27
|
-
generic_id_2: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>;
|
|
12
|
+
declare const mopinionGetDatasetFields: AppAction<typeof MopinionGetDatasetFieldsInput, typeof MopinionGetDatasetFieldsOutput, typeof mopinion.credential>;
|
|
29
13
|
//#endregion
|
|
30
14
|
export { mopinionGetDatasetFields };
|
|
31
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,25 +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<"mopinion", z.ZodObject<{
|
|
13
|
-
connectionId: z.ZodString;
|
|
14
|
-
entityId: z.ZodString;
|
|
15
|
-
instanceId: z.ZodString;
|
|
16
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
-
generic_api_key: z.ZodString;
|
|
18
|
-
generic_id: z.ZodString;
|
|
19
|
-
generic_id_2: z.ZodString;
|
|
20
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mopinion", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
generic_id: z.ZodString;
|
|
27
|
-
generic_id_2: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>;
|
|
12
|
+
declare const mopinionGetDeploymentById: AppAction<typeof MopinionGetDeploymentByIdInput, typeof MopinionGetDeploymentByIdOutput, typeof mopinion.credential>;
|
|
29
13
|
//#endregion
|
|
30
14
|
export { mopinionGetDeploymentById };
|
|
31
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,25 +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<"mopinion", z.ZodObject<{
|
|
13
|
-
connectionId: z.ZodString;
|
|
14
|
-
entityId: z.ZodString;
|
|
15
|
-
instanceId: z.ZodString;
|
|
16
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
-
generic_api_key: z.ZodString;
|
|
18
|
-
generic_id: z.ZodString;
|
|
19
|
-
generic_id_2: z.ZodString;
|
|
20
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mopinion", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
generic_id: z.ZodString;
|
|
27
|
-
generic_id_2: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>;
|
|
12
|
+
declare const mopinionGetDeploymentById: AppAction<typeof MopinionGetDeploymentByIdInput, typeof MopinionGetDeploymentByIdOutput, typeof mopinion.credential>;
|
|
29
13
|
//#endregion
|
|
30
14
|
export { mopinionGetDeploymentById };
|
|
31
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,26 +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<"mopinion", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
generic_id: z.ZodString;
|
|
27
|
-
generic_id_2: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mopinion", z.ZodObject<{
|
|
29
|
-
connectionId: z.ZodString;
|
|
30
|
-
entityId: z.ZodString;
|
|
31
|
-
instanceId: z.ZodString;
|
|
32
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
-
generic_api_key: z.ZodString;
|
|
34
|
-
generic_id: z.ZodString;
|
|
35
|
-
generic_id_2: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>;
|
|
19
|
+
declare const mopinionGetDeployments: AppAction<typeof MopinionGetDeploymentsInput, typeof MopinionGetDeploymentsOutput, typeof mopinion.credential>;
|
|
37
20
|
//#endregion
|
|
38
21
|
export { mopinionGetDeployments };
|
|
39
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,26 +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<"mopinion", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
generic_id: z.ZodString;
|
|
27
|
-
generic_id_2: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mopinion", z.ZodObject<{
|
|
29
|
-
connectionId: z.ZodString;
|
|
30
|
-
entityId: z.ZodString;
|
|
31
|
-
instanceId: z.ZodString;
|
|
32
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
-
generic_api_key: z.ZodString;
|
|
34
|
-
generic_id: z.ZodString;
|
|
35
|
-
generic_id_2: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>;
|
|
19
|
+
declare const mopinionGetDeployments: AppAction<typeof MopinionGetDeploymentsInput, typeof MopinionGetDeploymentsOutput, typeof mopinion.credential>;
|
|
37
20
|
//#endregion
|
|
38
21
|
export { mopinionGetDeployments };
|
|
39
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,CAAC,IAAI,CAAC,CAAC,SAAS,wGAAwG,EAC/I,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrF,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AACrF,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC1F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,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,25 +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<"mopinion", z.ZodObject<{
|
|
33
|
-
connectionId: z.ZodString;
|
|
34
|
-
entityId: z.ZodString;
|
|
35
|
-
instanceId: z.ZodString;
|
|
36
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
-
generic_api_key: z.ZodString;
|
|
38
|
-
generic_id: z.ZodString;
|
|
39
|
-
generic_id_2: z.ZodString;
|
|
40
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mopinion", z.ZodObject<{
|
|
41
|
-
connectionId: z.ZodString;
|
|
42
|
-
entityId: z.ZodString;
|
|
43
|
-
instanceId: z.ZodString;
|
|
44
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
45
|
-
generic_api_key: z.ZodString;
|
|
46
|
-
generic_id: z.ZodString;
|
|
47
|
-
generic_id_2: z.ZodString;
|
|
48
|
-
}, z.core.$strip>>]>;
|
|
32
|
+
declare const mopinionGetReportById: AppAction<typeof MopinionGetReportByIdInput, typeof MopinionGetReportByIdOutput, typeof mopinion.credential>;
|
|
49
33
|
//#endregion
|
|
50
34
|
export { mopinionGetReportById };
|
|
51
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,25 +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<"mopinion", z.ZodObject<{
|
|
33
|
-
connectionId: z.ZodString;
|
|
34
|
-
entityId: z.ZodString;
|
|
35
|
-
instanceId: z.ZodString;
|
|
36
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
-
generic_api_key: z.ZodString;
|
|
38
|
-
generic_id: z.ZodString;
|
|
39
|
-
generic_id_2: z.ZodString;
|
|
40
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mopinion", z.ZodObject<{
|
|
41
|
-
connectionId: z.ZodString;
|
|
42
|
-
entityId: z.ZodString;
|
|
43
|
-
instanceId: z.ZodString;
|
|
44
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
45
|
-
generic_api_key: z.ZodString;
|
|
46
|
-
generic_id: z.ZodString;
|
|
47
|
-
generic_id_2: z.ZodString;
|
|
48
|
-
}, z.core.$strip>>]>;
|
|
32
|
+
declare const mopinionGetReportById: AppAction<typeof MopinionGetReportByIdInput, typeof MopinionGetReportByIdOutput, typeof mopinion.credential>;
|
|
49
33
|
//#endregion
|
|
50
34
|
export { mopinionGetReportById };
|
|
51
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,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC1F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAWzE,MAAa,wBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAnByC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EACzD,OAAO,iCAAiC,SAAS;EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,UAAU,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gFAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-report-feedback.cjs","names":["z","action"],"sources":["../../src/actions/get-report-feedback.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetReportFeedbackInput = z.object({\n page: z.number().int().describe(\"Page number to retrieve (1-based).\").optional(),\n limit: z.number().int().describe(\"Maximum number of feedback items to return per page (1-100).\").optional(),\n filters: z.record(z.string(), z.unknown()).describe(\"Server-side filters serialized as filter[field]=value in query parameters.\").optional(),\n report_id: z.number().int().describe(\"The unique identifier of the report to retrieve feedback for.\"),\n}).describe(\"Request model for GET_REPORT_FEEDBACK action.\");\nconst MopinionGetReportFeedback_FeedbackMetadataSchema = z.object({\n code: z.number().int().describe(\"HTTP status code of the response.\").nullable(),\n next: z.boolean().describe(\"Whether a next page exists.\").nullable(),\n count: z.number().int().describe(\"Number of items in current response.\").nullable(),\n total: z.number().int().describe(\"Total number of items across all pages.\").nullable(),\n message: z.string().describe(\"Status message from the API.\").nullable(),\n has_more: z.boolean().describe(\"Whether more results are available for pagination.\").nullable(),\n previous: z.boolean().describe(\"Whether a previous page exists.\").nullable(),\n}).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,CAAC,SAAS;CAC9E,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAClF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACrF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC9F,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+KAA+K;AACzM,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,OAAO,iDAAiD,SAAS;CACjE,UAAUA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,4EAA4E;AACvJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,4BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|