@keystrokehq/mopinion 0.1.2 → 0.1.4

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.
Files changed (73) hide show
  1. package/dist/actions/get-account.cjs +5 -5
  2. package/dist/actions/get-account.cjs.map +1 -1
  3. package/dist/actions/get-account.d.cts +5 -5
  4. package/dist/actions/get-account.d.mts +5 -5
  5. package/dist/actions/get-account.mjs +5 -5
  6. package/dist/actions/get-account.mjs.map +1 -1
  7. package/dist/actions/get-dataset-by-id.cjs +3 -3
  8. package/dist/actions/get-dataset-by-id.cjs.map +1 -1
  9. package/dist/actions/get-dataset-by-id.d.cts +3 -3
  10. package/dist/actions/get-dataset-by-id.d.mts +3 -3
  11. package/dist/actions/get-dataset-by-id.mjs +3 -3
  12. package/dist/actions/get-dataset-by-id.mjs.map +1 -1
  13. package/dist/actions/get-dataset-feedback-by-id.cjs +4 -4
  14. package/dist/actions/get-dataset-feedback-by-id.cjs.map +1 -1
  15. package/dist/actions/get-dataset-feedback-by-id.d.cts +4 -4
  16. package/dist/actions/get-dataset-feedback-by-id.d.mts +4 -4
  17. package/dist/actions/get-dataset-feedback-by-id.mjs +4 -4
  18. package/dist/actions/get-dataset-feedback-by-id.mjs.map +1 -1
  19. package/dist/actions/get-dataset-feedback.cjs +6 -6
  20. package/dist/actions/get-dataset-feedback.cjs.map +1 -1
  21. package/dist/actions/get-dataset-feedback.d.cts +7 -7
  22. package/dist/actions/get-dataset-feedback.d.mts +7 -7
  23. package/dist/actions/get-dataset-feedback.mjs +6 -6
  24. package/dist/actions/get-dataset-feedback.mjs.map +1 -1
  25. package/dist/actions/get-dataset-fields.cjs +1 -1
  26. package/dist/actions/get-dataset-fields.cjs.map +1 -1
  27. package/dist/actions/get-dataset-fields.d.cts +1 -1
  28. package/dist/actions/get-dataset-fields.d.mts +1 -1
  29. package/dist/actions/get-dataset-fields.mjs +1 -1
  30. package/dist/actions/get-dataset-fields.mjs.map +1 -1
  31. package/dist/actions/get-deployment-by-id.cjs +1 -1
  32. package/dist/actions/get-deployment-by-id.cjs.map +1 -1
  33. package/dist/actions/get-deployment-by-id.d.cts +1 -1
  34. package/dist/actions/get-deployment-by-id.d.mts +1 -1
  35. package/dist/actions/get-deployment-by-id.mjs +1 -1
  36. package/dist/actions/get-deployment-by-id.mjs.map +1 -1
  37. package/dist/actions/get-deployments.cjs +3 -3
  38. package/dist/actions/get-deployments.cjs.map +1 -1
  39. package/dist/actions/get-deployments.d.cts +3 -3
  40. package/dist/actions/get-deployments.d.mts +3 -3
  41. package/dist/actions/get-deployments.mjs +3 -3
  42. package/dist/actions/get-deployments.mjs.map +1 -1
  43. package/dist/actions/get-report-by-id.cjs +2 -2
  44. package/dist/actions/get-report-by-id.cjs.map +1 -1
  45. package/dist/actions/get-report-by-id.d.cts +2 -2
  46. package/dist/actions/get-report-by-id.d.mts +2 -2
  47. package/dist/actions/get-report-by-id.mjs +2 -2
  48. package/dist/actions/get-report-by-id.mjs.map +1 -1
  49. package/dist/actions/get-report-feedback.cjs +2 -2
  50. package/dist/actions/get-report-feedback.cjs.map +1 -1
  51. package/dist/actions/get-report-feedback.d.cts +2 -2
  52. package/dist/actions/get-report-feedback.d.mts +2 -2
  53. package/dist/actions/get-report-feedback.mjs +2 -2
  54. package/dist/actions/get-report-feedback.mjs.map +1 -1
  55. package/dist/actions/get-report-fields.cjs +1 -1
  56. package/dist/actions/get-report-fields.cjs.map +1 -1
  57. package/dist/actions/get-report-fields.d.cts +1 -1
  58. package/dist/actions/get-report-fields.d.mts +1 -1
  59. package/dist/actions/get-report-fields.mjs +1 -1
  60. package/dist/actions/get-report-fields.mjs.map +1 -1
  61. package/dist/actions/get-root.cjs +1 -1
  62. package/dist/actions/get-root.cjs.map +1 -1
  63. package/dist/actions/get-root.d.cts +1 -1
  64. package/dist/actions/get-root.d.mts +1 -1
  65. package/dist/actions/get-root.mjs +1 -1
  66. package/dist/actions/get-root.mjs.map +1 -1
  67. package/dist/catalog.cjs +2 -2
  68. package/dist/catalog.cjs.map +1 -1
  69. package/dist/catalog.d.cts +2 -2
  70. package/dist/catalog.d.mts +2 -2
  71. package/dist/catalog.mjs +2 -2
  72. package/dist/catalog.mjs.map +1 -1
  73. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"get-dataset-feedback.cjs","names":["z","action"],"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.object({}).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});\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});\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});\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});\nexport const MopinionGetDatasetFeedbackOutput = z.object({\n data: z.array(MopinionGetDatasetFeedback_FeedbackItemSchema).describe(\"Paginated list of feedback items\"),\n _meta: MopinionGetDatasetFeedback_MetaSchema.nullable(),\n});\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":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAClE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wHAAwH,CA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SAAS,CAAC,CAAC,SAAS;AACnE,CAAC;AACD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,kCAAkC;CACxG,OAAO,sCAAsC,SAAS;AACxD,CAAC;AAED,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-dataset-feedback.cjs","names":["z","action"],"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":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAA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AC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,UAAUA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,QAAQ,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,kCAAkC;CACxG,OAAO,sCAAsC,SAAS;AACxD,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -4,7 +4,7 @@ import { z } from "zod";
4
4
  declare const MopinionGetDatasetFeedbackInput: z.ZodObject<{
5
5
  page: z.ZodOptional<z.ZodNumber>;
6
6
  limit: z.ZodOptional<z.ZodNumber>;
7
- filters: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
7
+ filters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8
8
  dataset_id: z.ZodNumber;
9
9
  }, z.core.$strip>;
10
10
  declare const MopinionGetDatasetFeedbackOutput: z.ZodObject<{
@@ -17,9 +17,9 @@ declare const MopinionGetDatasetFeedbackOutput: z.ZodObject<{
17
17
  key: z.ZodNullable<z.ZodString>;
18
18
  label: z.ZodNullable<z.ZodString>;
19
19
  value: z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodNumber]>;
20
- }, z.core.$strip>>;
20
+ }, z.core.$loose>>;
21
21
  _type: z.ZodNullable<z.ZodString>;
22
- }, z.core.$strip>>;
22
+ }, z.core.$loose>>;
23
23
  created: z.ZodNullable<z.ZodString>;
24
24
  survey_id: z.ZodNullable<z.ZodNumber>;
25
25
  anonymised: z.ZodUnion<readonly [z.ZodNumber, z.ZodBoolean]>;
@@ -27,7 +27,7 @@ declare const MopinionGetDatasetFeedbackOutput: z.ZodObject<{
27
27
  survey_name: z.ZodNullable<z.ZodString>;
28
28
  project_name: z.ZodNullable<z.ZodString>;
29
29
  scores_object: z.ZodNullable<z.ZodString>;
30
- }, z.core.$strip>>;
30
+ }, z.core.$loose>>;
31
31
  _meta: z.ZodNullable<z.ZodObject<{
32
32
  code: z.ZodNullable<z.ZodNumber>;
33
33
  next: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>;
@@ -36,13 +36,13 @@ declare const MopinionGetDatasetFeedbackOutput: z.ZodObject<{
36
36
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
37
  has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
38
38
  previous: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>;
39
- }, z.core.$strip>>;
40
- }, z.core.$strip>;
39
+ }, z.core.$loose>>;
40
+ }, z.core.$loose>;
41
41
  declare const mopinionGetDatasetFeedback: import("@keystrokehq/action").WorkflowActionDefinition<{
42
42
  dataset_id: number;
43
43
  page?: number | undefined;
44
44
  limit?: number | undefined;
45
- filters?: Record<string, never> | undefined;
45
+ filters?: Record<string, unknown> | undefined;
46
46
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
47
47
  //#endregion
48
48
  export { mopinionGetDatasetFeedback };
@@ -4,7 +4,7 @@ import { z } from "zod";
4
4
  declare const MopinionGetDatasetFeedbackInput: z.ZodObject<{
5
5
  page: z.ZodOptional<z.ZodNumber>;
6
6
  limit: z.ZodOptional<z.ZodNumber>;
7
- filters: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
7
+ filters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8
8
  dataset_id: z.ZodNumber;
9
9
  }, z.core.$strip>;
10
10
  declare const MopinionGetDatasetFeedbackOutput: z.ZodObject<{
@@ -17,9 +17,9 @@ declare const MopinionGetDatasetFeedbackOutput: z.ZodObject<{
17
17
  key: z.ZodNullable<z.ZodString>;
18
18
  label: z.ZodNullable<z.ZodString>;
19
19
  value: z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodNumber]>;
20
- }, z.core.$strip>>;
20
+ }, z.core.$loose>>;
21
21
  _type: z.ZodNullable<z.ZodString>;
22
- }, z.core.$strip>>;
22
+ }, z.core.$loose>>;
23
23
  created: z.ZodNullable<z.ZodString>;
24
24
  survey_id: z.ZodNullable<z.ZodNumber>;
25
25
  anonymised: z.ZodUnion<readonly [z.ZodNumber, z.ZodBoolean]>;
@@ -27,7 +27,7 @@ declare const MopinionGetDatasetFeedbackOutput: z.ZodObject<{
27
27
  survey_name: z.ZodNullable<z.ZodString>;
28
28
  project_name: z.ZodNullable<z.ZodString>;
29
29
  scores_object: z.ZodNullable<z.ZodString>;
30
- }, z.core.$strip>>;
30
+ }, z.core.$loose>>;
31
31
  _meta: z.ZodNullable<z.ZodObject<{
32
32
  code: z.ZodNullable<z.ZodNumber>;
33
33
  next: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>;
@@ -36,13 +36,13 @@ declare const MopinionGetDatasetFeedbackOutput: z.ZodObject<{
36
36
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
37
  has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
38
38
  previous: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>;
39
- }, z.core.$strip>>;
40
- }, z.core.$strip>;
39
+ }, z.core.$loose>>;
40
+ }, z.core.$loose>;
41
41
  declare const mopinionGetDatasetFeedback: import("@keystrokehq/action").WorkflowActionDefinition<{
42
42
  dataset_id: number;
43
43
  page?: number | undefined;
44
44
  limit?: number | undefined;
45
- filters?: Record<string, never> | undefined;
45
+ filters?: Record<string, unknown> | undefined;
46
46
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
47
47
  //#endregion
48
48
  export { mopinionGetDatasetFeedback };
@@ -4,7 +4,7 @@ import { z } from "zod";
4
4
  const MopinionGetDatasetFeedbackInput = z.object({
5
5
  page: z.number().int().describe("Page number to return").optional(),
6
6
  limit: z.number().int().describe("Maximum number of results per page (max 100)").optional(),
7
- filters: z.object({}).describe("Field-level filters as a map of field_key to filter value. Serialized as filter[{field_key}]=value in the query string").optional(),
7
+ 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(),
8
8
  dataset_id: z.number().int().describe("Identifier of the dataset (form) to retrieve feedback for")
9
9
  }).describe("Request model for retrieving feedback items of a specific dataset.");
10
10
  const MopinionGetDatasetFeedback_FeedbackFieldEntrySchema = z.object({
@@ -16,11 +16,11 @@ const MopinionGetDatasetFeedback_FeedbackFieldEntrySchema = z.object({
16
16
  z.number(),
17
17
  z.number().int()
18
18
  ])
19
- });
19
+ }).passthrough();
20
20
  const MopinionGetDatasetFeedback_FeedbackFieldsSchema = z.object({
21
21
  _data: z.array(MopinionGetDatasetFeedback_FeedbackFieldEntrySchema).describe("Collected field entries"),
22
22
  _type: z.string().describe("Denotes that the fields container is a list").nullable()
23
- });
23
+ }).passthrough();
24
24
  const MopinionGetDatasetFeedback_FeedbackItemSchema = z.object({
25
25
  id: z.number().int().describe("Feedback item ID").nullable(),
26
26
  uuid: z.string().describe("UUID of the feedback when available").nullable().optional(),
@@ -33,7 +33,7 @@ const MopinionGetDatasetFeedback_FeedbackItemSchema = z.object({
33
33
  survey_name: z.string().describe("Name of the survey/form").nullable(),
34
34
  project_name: z.string().describe("Name of the project/report").nullable(),
35
35
  scores_object: z.string().describe("JSON-encoded map of score field IDs to values").nullable()
36
- });
36
+ }).passthrough();
37
37
  const MopinionGetDatasetFeedback_MetaSchema = z.object({
38
38
  code: z.number().int().describe("HTTP status code returned by the API").nullable(),
39
39
  next: z.union([z.boolean(), z.string()]).nullable().optional(),
@@ -42,7 +42,7 @@ const MopinionGetDatasetFeedback_MetaSchema = z.object({
42
42
  message: z.string().describe("Status message from the API").nullable().optional(),
43
43
  has_more: z.boolean().describe("Whether more pages are available after the current page").nullable().optional(),
44
44
  previous: z.union([z.boolean(), z.string()]).nullable().optional()
45
- });
45
+ }).passthrough();
46
46
  const mopinionGetDatasetFeedback = action("MOPINION_GET_DATASET_FEEDBACK", {
47
47
  slug: "mopinion-get-dataset-feedback",
48
48
  name: "Get Dataset Feedback",
@@ -51,7 +51,7 @@ const mopinionGetDatasetFeedback = action("MOPINION_GET_DATASET_FEEDBACK", {
51
51
  output: z.object({
52
52
  data: z.array(MopinionGetDatasetFeedback_FeedbackItemSchema).describe("Paginated list of feedback items"),
53
53
  _meta: MopinionGetDatasetFeedback_MetaSchema.nullable()
54
- })
54
+ }).passthrough()
55
55
  });
56
56
  //#endregion
57
57
  export { mopinionGetDatasetFeedback };
@@ -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.object({}).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});\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});\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});\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});\nexport const MopinionGetDatasetFeedbackOutput = z.object({\n data: z.array(MopinionGetDatasetFeedback_FeedbackItemSchema).describe(\"Paginated list of feedback items\"),\n _meta: MopinionGetDatasetFeedback_MetaSchema.nullable(),\n});\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":";;;AAIA,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,CAAC,CAAC,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS;CAClK,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;AACD,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;AACD,MAAM,gDAAgD,EAAE,OAAO;CAC7D,I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,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;AAMD,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV8C,EAAE,OAAO;EACvD,MAAM,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,kCAAkC;EACxG,OAAO,sCAAsC,SAAS;CACxD,CAOU;AACV,CAAC"}
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,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Q,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,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV8C,EAAE,OAAO;EACvD,MAAM,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,kCAAkC;EACxG,OAAO,sCAAsC,SAAS;CACxD,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/get-dataset-fields.ts
4
4
  const MopinionGetDatasetFieldsInput = zod.z.object({ dataset_id: zod.z.number().int().describe("Unique identifier of the dataset whose field definitions should be retrieved. Use the LIST_DATASETS action to discover available dataset IDs.") }).describe("Request model for retrieving dataset field definitions.");
5
- const MopinionGetDatasetFieldsOutput = zod.z.object({ fields: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("List of field definition objects from the Mopinion API. Each object typically contains field metadata such as field name, type, label, and other properties that define the structure and characteristics of data fields in the dataset. May be an empty list if no fields are defined.") }).describe("Response model containing a list of field definitions for the dataset.\nEach field definition describes a data field/column in the dataset with its properties.");
5
+ const MopinionGetDatasetFieldsOutput = zod.z.object({ fields: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("List of field definition objects from the Mopinion API. Each object typically contains field metadata such as field name, type, label, and other properties that define the structure and characteristics of data fields in the dataset. May be an empty list if no fields are defined.") }).passthrough().describe("Response model containing a list of field definitions for the dataset.\nEach field definition describes a data field/column in the dataset with its properties.");
6
6
  const mopinionGetDatasetFields = require_action.action("MOPINION_GET_DATASET_FIELDS", {
7
7
  slug: "mopinion-get-dataset-fields",
8
8
  name: "Get Dataset Field Definitions",
@@ -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}).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":";;;AAIA,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,SAAS,iKAAiK;AAE7K,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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":";;;AAIA,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,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -6,7 +6,7 @@ declare const MopinionGetDatasetFieldsInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const MopinionGetDatasetFieldsOutput: z.ZodObject<{
8
8
  fields: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const mopinionGetDatasetFields: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  dataset_id: number;
12
12
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -6,7 +6,7 @@ declare const MopinionGetDatasetFieldsInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const MopinionGetDatasetFieldsOutput: z.ZodObject<{
8
8
  fields: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const mopinionGetDatasetFields: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  dataset_id: number;
12
12
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -5,7 +5,7 @@ const mopinionGetDatasetFields = action("MOPINION_GET_DATASET_FIELDS", {
5
5
  name: "Get Dataset Field Definitions",
6
6
  description: "Tool to retrieve field definitions for a dataset. Use when you need the schema of a dataset's fields.",
7
7
  input: z.object({ dataset_id: z.number().int().describe("Unique identifier of the dataset whose field definitions should be retrieved. Use the LIST_DATASETS action to discover available dataset IDs.") }).describe("Request model for retrieving dataset field definitions."),
8
- output: z.object({ fields: z.array(z.record(z.string(), z.unknown())).describe("List of field definition objects from the Mopinion API. Each object typically contains field metadata such as field name, type, label, and other properties that define the structure and characteristics of data fields in the dataset. May be an empty list if no fields are defined.") }).describe("Response model containing a list of field definitions for the dataset.\nEach field definition describes a data field/column in the dataset with its properties.")
8
+ output: z.object({ fields: z.array(z.record(z.string(), z.unknown())).describe("List of field definition objects from the Mopinion API. Each object typically contains field metadata such as field name, type, label, and other properties that define the structure and characteristics of data fields in the dataset. May be an empty list if no fields are defined.") }).passthrough().describe("Response model containing a list of field definitions for the dataset.\nEach field definition describes a data field/column in the dataset with its properties.")
9
9
  });
10
10
  //#endregion
11
11
  export { mopinionGetDatasetFields };
@@ -1 +1 @@
1
- {"version":3,"file":"get-dataset-fields.mjs","names":[],"sources":["../../src/actions/get-dataset-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetDatasetFieldsInput = 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}).describe(\"Response model containing a list of field definitions for the dataset.\\nEach field definition describes a data field/column in the dataset with its properties.\");\n\nexport const mopinionGetDatasetFields = action(\"MOPINION_GET_DATASET_FIELDS\", {\n slug: \"mopinion-get-dataset-fields\",\n name: \"Get Dataset Field Definitions\",\n description: \"Tool to retrieve field definitions for a dataset. Use when you need the schema of a dataset's fields.\",\n input: MopinionGetDatasetFieldsInput,\n output: MopinionGetDatasetFieldsOutput,\n});\n"],"mappings":";;AAWA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX2C,EAAE,OAAO,EACpD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+IAA+I,EACvL,CAAC,CAAC,CAAC,SAAS,yDASH;CACP,QAT4C,EAAE,OAAO,EACrD,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,yRAAyR,EACvV,CAAC,CAAC,CAAC,SAAS,iKAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-dataset-fields.mjs","names":[],"sources":["../../src/actions/get-dataset-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetDatasetFieldsInput = z.object({\n dataset_id: z.number().int().describe(\"Unique identifier of the dataset whose field definitions should be retrieved. Use the LIST_DATASETS action to discover available dataset IDs.\"),\n}).describe(\"Request model for retrieving dataset field definitions.\");\nexport const MopinionGetDatasetFieldsOutput = z.object({\n fields: z.array(z.record(z.string(), z.unknown())).describe(\"List of field definition objects from the Mopinion API. Each object typically contains field metadata such as field name, type, label, and other properties that define the structure and characteristics of data fields in the dataset. May be an empty list if no fields are defined.\"),\n}).passthrough().describe(\"Response model containing a list of field definitions for the dataset.\\nEach field definition describes a data field/column in the dataset with its properties.\");\n\nexport const mopinionGetDatasetFields = action(\"MOPINION_GET_DATASET_FIELDS\", {\n slug: \"mopinion-get-dataset-fields\",\n name: \"Get Dataset Field Definitions\",\n description: \"Tool to retrieve field definitions for a dataset. Use when you need the schema of a dataset's fields.\",\n input: MopinionGetDatasetFieldsInput,\n output: MopinionGetDatasetFieldsOutput,\n});\n"],"mappings":";;AAWA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX2C,EAAE,OAAO,EACpD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+IAA+I,EACvL,CAAC,CAAC,CAAC,SAAS,yDASH;CACP,QAT4C,EAAE,OAAO,EACrD,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,yRAAyR,EACvV,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iKAOhB;AACV,CAAC"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/get-deployment-by-id.ts
4
4
  const MopinionGetDeploymentByIdInput = zod.z.object({ deployment_id: zod.z.string().describe("The deployment key (identifier) to retrieve. This is the 'key' field from the deployments list.") }).describe("Parameters for retrieving a specific deployment by its ID.");
5
- const MopinionGetDeploymentByIdOutput = zod.z.object({ deployment: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Complete deployment configuration object. Contains deployment metadata (key, name), trigger rules and conditions, display schedule settings, status (active/inactive), target URLs, form configuration, and other deployment-specific settings.") }).describe("Full deployment object as returned by the Mopinion API.");
5
+ const MopinionGetDeploymentByIdOutput = zod.z.object({ deployment: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Complete deployment configuration object. Contains deployment metadata (key, name), trigger rules and conditions, display schedule settings, status (active/inactive), target URLs, form configuration, and other deployment-specific settings.") }).passthrough().describe("Full deployment object as returned by the Mopinion API.");
6
6
  const mopinionGetDeploymentById = require_action.action("MOPINION_GET_DEPLOYMENT_BY_ID", {
7
7
  slug: "mopinion-get-deployment-by-id",
8
8
  name: "Get Deployment by ID",
@@ -1 +1 @@
1
- {"version":3,"file":"get-deployment-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-deployment-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetDeploymentByIdInput = 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}).describe(\"Full deployment object as returned by the Mopinion API.\");\n\nexport const mopinionGetDeploymentById = action(\"MOPINION_GET_DEPLOYMENT_BY_ID\", {\n slug: \"mopinion-get-deployment-by-id\",\n name: \"Get Deployment by ID\",\n description: \"Retrieves detailed configuration for a specific feedback form deployment by its ID. Returns deployment rules, trigger conditions, scheduling settings, target URLs, and active status. Use this to understand when, where, and how a feedback form is displayed to users.\",\n input: MopinionGetDeploymentByIdInput,\n output: MopinionGetDeploymentByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,EACtI,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iPAAiP,EAC1S,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAErE,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-deployment-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-deployment-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetDeploymentByIdInput = z.object({\n deployment_id: z.string().describe(\"The deployment key (identifier) to retrieve. This is the 'key' field from the deployments list.\"),\n}).describe(\"Parameters for retrieving a specific deployment by its ID.\");\nexport const MopinionGetDeploymentByIdOutput = z.object({\n deployment: z.record(z.string(), z.unknown()).describe(\"Complete deployment configuration object. Contains deployment metadata (key, name), trigger rules and conditions, display schedule settings, status (active/inactive), target URLs, form configuration, and other deployment-specific settings.\"),\n}).passthrough().describe(\"Full deployment object as returned by the Mopinion API.\");\n\nexport const mopinionGetDeploymentById = action(\"MOPINION_GET_DEPLOYMENT_BY_ID\", {\n slug: \"mopinion-get-deployment-by-id\",\n name: \"Get Deployment by ID\",\n description: \"Retrieves detailed configuration for a specific feedback form deployment by its ID. Returns deployment rules, trigger conditions, scheduling settings, target URLs, and active status. Use this to understand when, where, and how a feedback form is displayed to users.\",\n input: MopinionGetDeploymentByIdInput,\n output: MopinionGetDeploymentByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,EACtI,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iPAAiP,EAC1S,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -6,7 +6,7 @@ declare const MopinionGetDeploymentByIdInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const MopinionGetDeploymentByIdOutput: z.ZodObject<{
8
8
  deployment: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const mopinionGetDeploymentById: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  deployment_id: string;
12
12
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -6,7 +6,7 @@ declare const MopinionGetDeploymentByIdInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const MopinionGetDeploymentByIdOutput: z.ZodObject<{
8
8
  deployment: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const mopinionGetDeploymentById: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  deployment_id: string;
12
12
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -5,7 +5,7 @@ const mopinionGetDeploymentById = action("MOPINION_GET_DEPLOYMENT_BY_ID", {
5
5
  name: "Get Deployment by ID",
6
6
  description: "Retrieves detailed configuration for a specific feedback form deployment by its ID. Returns deployment rules, trigger conditions, scheduling settings, target URLs, and active status. Use this to understand when, where, and how a feedback form is displayed to users.",
7
7
  input: z.object({ deployment_id: z.string().describe("The deployment key (identifier) to retrieve. This is the 'key' field from the deployments list.") }).describe("Parameters for retrieving a specific deployment by its ID."),
8
- output: z.object({ deployment: z.record(z.string(), z.unknown()).describe("Complete deployment configuration object. Contains deployment metadata (key, name), trigger rules and conditions, display schedule settings, status (active/inactive), target URLs, form configuration, and other deployment-specific settings.") }).describe("Full deployment object as returned by the Mopinion API.")
8
+ output: z.object({ deployment: z.record(z.string(), z.unknown()).describe("Complete deployment configuration object. Contains deployment metadata (key, name), trigger rules and conditions, display schedule settings, status (active/inactive), target URLs, form configuration, and other deployment-specific settings.") }).passthrough().describe("Full deployment object as returned by the Mopinion API.")
9
9
  });
10
10
  //#endregion
11
11
  export { mopinionGetDeploymentById };
@@ -1 +1 @@
1
- {"version":3,"file":"get-deployment-by-id.mjs","names":[],"sources":["../../src/actions/get-deployment-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetDeploymentByIdInput = 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}).describe(\"Full deployment object as returned by the Mopinion API.\");\n\nexport const mopinionGetDeploymentById = action(\"MOPINION_GET_DEPLOYMENT_BY_ID\", {\n slug: \"mopinion-get-deployment-by-id\",\n name: \"Get Deployment by ID\",\n description: \"Retrieves detailed configuration for a specific feedback form deployment by its ID. Returns deployment rules, trigger conditions, scheduling settings, target URLs, and active status. Use this to understand when, where, and how a feedback form is displayed to users.\",\n input: MopinionGetDeploymentByIdInput,\n output: MopinionGetDeploymentByIdOutput,\n});\n"],"mappings":";;AAWA,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX4C,EAAE,OAAO,EACrD,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,EACtI,CAAC,CAAC,CAAC,SAAS,4DASH;CACP,QAT6C,EAAE,OAAO,EACtD,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iPAAiP,EAC1S,CAAC,CAAC,CAAC,SAAS,yDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-deployment-by-id.mjs","names":[],"sources":["../../src/actions/get-deployment-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetDeploymentByIdInput = z.object({\n deployment_id: z.string().describe(\"The deployment key (identifier) to retrieve. This is the 'key' field from the deployments list.\"),\n}).describe(\"Parameters for retrieving a specific deployment by its ID.\");\nexport const MopinionGetDeploymentByIdOutput = z.object({\n deployment: z.record(z.string(), z.unknown()).describe(\"Complete deployment configuration object. Contains deployment metadata (key, name), trigger rules and conditions, display schedule settings, status (active/inactive), target URLs, form configuration, and other deployment-specific settings.\"),\n}).passthrough().describe(\"Full deployment object as returned by the Mopinion API.\");\n\nexport const mopinionGetDeploymentById = action(\"MOPINION_GET_DEPLOYMENT_BY_ID\", {\n slug: \"mopinion-get-deployment-by-id\",\n name: \"Get Deployment by ID\",\n description: \"Retrieves detailed configuration for a specific feedback form deployment by its ID. Returns deployment rules, trigger conditions, scheduling settings, target URLs, and active status. Use this to understand when, where, and how a feedback form is displayed to users.\",\n input: MopinionGetDeploymentByIdInput,\n output: MopinionGetDeploymentByIdOutput,\n});\n"],"mappings":";;AAWA,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX4C,EAAE,OAAO,EACrD,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,EACtI,CAAC,CAAC,CAAC,SAAS,4DASH;CACP,QAT6C,EAAE,OAAO,EACtD,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iPAAiP,EAC1S,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
@@ -5,15 +5,15 @@ const MopinionGetDeploymentsInput = zod.z.object({
5
5
  accept: zod.z.string().describe("Optional Accept header override, e.g., application/json").optional(),
6
6
  version: zod.z.string().describe("Optional Mopinion API version header value, e.g., v1 or v2").optional()
7
7
  }).describe("Request model for listing deployments. Optional headers override for testing variations.");
8
- const MopinionGetDeployments_MetaSchema = zod.z.object({ code: zod.z.number().int().describe("Status code returned by the API.").nullable() });
8
+ const MopinionGetDeployments_MetaSchema = zod.z.object({ code: zod.z.number().int().describe("Status code returned by the API.").nullable() }).passthrough();
9
9
  const MopinionGetDeployments_DeploymentSchema = zod.z.object({
10
10
  key: zod.z.string().describe("Deployment identifier string.").nullable(),
11
11
  name: zod.z.string().describe("Human-readable deployment name.").nullable()
12
- });
12
+ }).passthrough();
13
13
  const MopinionGetDeploymentsOutput = zod.z.object({
14
14
  meta: MopinionGetDeployments_MetaSchema.nullable(),
15
15
  deployments: zod.z.array(MopinionGetDeployments_DeploymentSchema).describe("List of deployments available to the account.")
16
- });
16
+ }).passthrough();
17
17
  const mopinionGetDeployments = require_action.action("MOPINION_GET_DEPLOYMENTS", {
18
18
  slug: "mopinion-get-deployments",
19
19
  name: "Get Deployments",
@@ -1 +1 @@
1
- {"version":3,"file":"get-deployments.cjs","names":["z","action"],"sources":["../../src/actions/get-deployments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetDeploymentsInput = z.object({\n accept: z.string().describe(\"Optional Accept header override, e.g., application/json\").optional(),\n version: z.string().describe(\"Optional Mopinion API version header value, e.g., v1 or v2\").optional(),\n}).describe(\"Request model for listing deployments. Optional headers override for testing variations.\");\nconst MopinionGetDeployments_MetaSchema = z.object({\n code: z.number().int().describe(\"Status code returned by the API.\").nullable(),\n});\nconst MopinionGetDeployments_DeploymentSchema = z.object({\n key: z.string().describe(\"Deployment identifier string.\").nullable(),\n name: z.string().describe(\"Human-readable deployment name.\").nullable(),\n});\nexport const MopinionGetDeploymentsOutput = z.object({\n meta: MopinionGetDeployments_MetaSchema.nullable(),\n deployments: z.array(MopinionGetDeployments_DeploymentSchema).describe(\"List of deployments available to the account.\"),\n});\n\nexport const mopinionGetDeployments = action(\"MOPINION_GET_DEPLOYMENTS\", {\n slug: \"mopinion-get-deployments\",\n name: \"Get Deployments\",\n description: \"Tool to list all deployments for the authenticated Mopinion account. Use after setting up authentication.\",\n input: MopinionGetDeploymentsInput,\n output: MopinionGetDeploymentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAChG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,0FAA0F;AACtG,MAAM,oCAAoCA,IAAAA,EAAE,OAAO,EACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,EAC/E,CAAC;AACD,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AACxE,CAAC;AACD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAM,kCAAkC,SAAS;CACjD,aAAaA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,+CAA+C;AACxH,CAAC;AAED,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-deployments.cjs","names":["z","action"],"sources":["../../src/actions/get-deployments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetDeploymentsInput = z.object({\n accept: z.string().describe(\"Optional Accept header override, e.g., application/json\").optional(),\n version: z.string().describe(\"Optional Mopinion API version header value, e.g., v1 or v2\").optional(),\n}).describe(\"Request model for listing deployments. Optional headers override for testing variations.\");\nconst MopinionGetDeployments_MetaSchema = z.object({\n code: z.number().int().describe(\"Status code returned by the API.\").nullable(),\n}).passthrough();\nconst MopinionGetDeployments_DeploymentSchema = z.object({\n key: z.string().describe(\"Deployment identifier string.\").nullable(),\n name: z.string().describe(\"Human-readable deployment name.\").nullable(),\n}).passthrough();\nexport const MopinionGetDeploymentsOutput = z.object({\n meta: MopinionGetDeployments_MetaSchema.nullable(),\n deployments: z.array(MopinionGetDeployments_DeploymentSchema).describe(\"List of deployments available to the account.\"),\n}).passthrough();\n\nexport const mopinionGetDeployments = action(\"MOPINION_GET_DEPLOYMENTS\", {\n slug: \"mopinion-get-deployments\",\n name: \"Get Deployments\",\n description: \"Tool to list all deployments for the authenticated Mopinion account. Use after setting up authentication.\",\n input: MopinionGetDeploymentsInput,\n output: MopinionGetDeploymentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAChG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,0FAA0F;AACtG,MAAM,oCAAoCA,IAAAA,EAAE,OAAO,EACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,EAC/E,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAM,kCAAkC,SAAS;CACjD,aAAaA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,+CAA+C;AACxH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -8,12 +8,12 @@ declare const MopinionGetDeploymentsInput: z.ZodObject<{
8
8
  declare const MopinionGetDeploymentsOutput: z.ZodObject<{
9
9
  meta: z.ZodNullable<z.ZodObject<{
10
10
  code: z.ZodNullable<z.ZodNumber>;
11
- }, z.core.$strip>>;
11
+ }, z.core.$loose>>;
12
12
  deployments: z.ZodArray<z.ZodObject<{
13
13
  key: z.ZodNullable<z.ZodString>;
14
14
  name: z.ZodNullable<z.ZodString>;
15
- }, z.core.$strip>>;
16
- }, z.core.$strip>;
15
+ }, z.core.$loose>>;
16
+ }, z.core.$loose>;
17
17
  declare const mopinionGetDeployments: import("@keystrokehq/action").WorkflowActionDefinition<{
18
18
  accept?: string | undefined;
19
19
  version?: string | undefined;
@@ -8,12 +8,12 @@ declare const MopinionGetDeploymentsInput: z.ZodObject<{
8
8
  declare const MopinionGetDeploymentsOutput: z.ZodObject<{
9
9
  meta: z.ZodNullable<z.ZodObject<{
10
10
  code: z.ZodNullable<z.ZodNumber>;
11
- }, z.core.$strip>>;
11
+ }, z.core.$loose>>;
12
12
  deployments: z.ZodArray<z.ZodObject<{
13
13
  key: z.ZodNullable<z.ZodString>;
14
14
  name: z.ZodNullable<z.ZodString>;
15
- }, z.core.$strip>>;
16
- }, z.core.$strip>;
15
+ }, z.core.$loose>>;
16
+ }, z.core.$loose>;
17
17
  declare const mopinionGetDeployments: import("@keystrokehq/action").WorkflowActionDefinition<{
18
18
  accept?: string | undefined;
19
19
  version?: string | undefined;
@@ -5,11 +5,11 @@ const MopinionGetDeploymentsInput = z.object({
5
5
  accept: z.string().describe("Optional Accept header override, e.g., application/json").optional(),
6
6
  version: z.string().describe("Optional Mopinion API version header value, e.g., v1 or v2").optional()
7
7
  }).describe("Request model for listing deployments. Optional headers override for testing variations.");
8
- const MopinionGetDeployments_MetaSchema = z.object({ code: z.number().int().describe("Status code returned by the API.").nullable() });
8
+ const MopinionGetDeployments_MetaSchema = z.object({ code: z.number().int().describe("Status code returned by the API.").nullable() }).passthrough();
9
9
  const MopinionGetDeployments_DeploymentSchema = z.object({
10
10
  key: z.string().describe("Deployment identifier string.").nullable(),
11
11
  name: z.string().describe("Human-readable deployment name.").nullable()
12
- });
12
+ }).passthrough();
13
13
  const mopinionGetDeployments = action("MOPINION_GET_DEPLOYMENTS", {
14
14
  slug: "mopinion-get-deployments",
15
15
  name: "Get Deployments",
@@ -18,7 +18,7 @@ const mopinionGetDeployments = action("MOPINION_GET_DEPLOYMENTS", {
18
18
  output: z.object({
19
19
  meta: MopinionGetDeployments_MetaSchema.nullable(),
20
20
  deployments: z.array(MopinionGetDeployments_DeploymentSchema).describe("List of deployments available to the account.")
21
- })
21
+ }).passthrough()
22
22
  });
23
23
  //#endregion
24
24
  export { mopinionGetDeployments };
@@ -1 +1 @@
1
- {"version":3,"file":"get-deployments.mjs","names":[],"sources":["../../src/actions/get-deployments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetDeploymentsInput = z.object({\n accept: z.string().describe(\"Optional Accept header override, e.g., application/json\").optional(),\n version: z.string().describe(\"Optional Mopinion API version header value, e.g., v1 or v2\").optional(),\n}).describe(\"Request model for listing deployments. Optional headers override for testing variations.\");\nconst MopinionGetDeployments_MetaSchema = z.object({\n code: z.number().int().describe(\"Status code returned by the API.\").nullable(),\n});\nconst MopinionGetDeployments_DeploymentSchema = z.object({\n key: z.string().describe(\"Deployment identifier string.\").nullable(),\n name: z.string().describe(\"Human-readable deployment name.\").nullable(),\n});\nexport const MopinionGetDeploymentsOutput = z.object({\n meta: MopinionGetDeployments_MetaSchema.nullable(),\n deployments: z.array(MopinionGetDeployments_DeploymentSchema).describe(\"List of deployments available to the account.\"),\n});\n\nexport const mopinionGetDeployments = action(\"MOPINION_GET_DEPLOYMENTS\", {\n slug: \"mopinion-get-deployments\",\n name: \"Get Deployments\",\n description: \"Tool to list all deployments for the authenticated Mopinion account. Use after setting up authentication.\",\n input: MopinionGetDeploymentsInput,\n output: MopinionGetDeploymentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAChG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,0FAA0F;AACtG,MAAM,oCAAoC,EAAE,OAAO,EACjD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,EAC/E,CAAC;AACD,MAAM,0CAA0C,EAAE,OAAO;CACvD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AACxE,CAAC;AAMD,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0C,EAAE,OAAO;EACnD,MAAM,kCAAkC,SAAS;EACjD,aAAa,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,+CAA+C;CACxH,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"get-deployments.mjs","names":[],"sources":["../../src/actions/get-deployments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetDeploymentsInput = z.object({\n accept: z.string().describe(\"Optional Accept header override, e.g., application/json\").optional(),\n version: z.string().describe(\"Optional Mopinion API version header value, e.g., v1 or v2\").optional(),\n}).describe(\"Request model for listing deployments. Optional headers override for testing variations.\");\nconst MopinionGetDeployments_MetaSchema = z.object({\n code: z.number().int().describe(\"Status code returned by the API.\").nullable(),\n}).passthrough();\nconst MopinionGetDeployments_DeploymentSchema = z.object({\n key: z.string().describe(\"Deployment identifier string.\").nullable(),\n name: z.string().describe(\"Human-readable deployment name.\").nullable(),\n}).passthrough();\nexport const MopinionGetDeploymentsOutput = z.object({\n meta: MopinionGetDeployments_MetaSchema.nullable(),\n deployments: z.array(MopinionGetDeployments_DeploymentSchema).describe(\"List of deployments available to the account.\"),\n}).passthrough();\n\nexport const mopinionGetDeployments = action(\"MOPINION_GET_DEPLOYMENTS\", {\n slug: \"mopinion-get-deployments\",\n name: \"Get Deployments\",\n description: \"Tool to list all deployments for the authenticated Mopinion account. Use after setting up authentication.\",\n input: MopinionGetDeploymentsInput,\n output: MopinionGetDeploymentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAChG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,0FAA0F;AACtG,MAAM,oCAAoC,EAAE,OAAO,EACjD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,EAC/E,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,0CAA0C,EAAE,OAAO;CACvD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY;AAMf,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0C,EAAE,OAAO;EACnD,MAAM,kCAAkC,SAAS;EACjD,aAAa,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,+CAA+C;CACxH,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -10,14 +10,14 @@ const MopinionGetReportById_MetaSchema = zod.z.object({
10
10
  message: zod.z.string().describe("Status message (e.g., 'OK')").nullable().optional(),
11
11
  has_more: zod.z.boolean().describe("Whether more results are available").nullable().optional(),
12
12
  previous: zod.z.boolean().describe("Whether a previous page exists").nullable().optional()
13
- }).describe("Metadata block returned with every Mopinion API response.");
13
+ }).passthrough().describe("Metadata block returned with every Mopinion API response.");
14
14
  const MopinionGetReportById_DataSetSchema = zod.z.object({
15
15
  id: zod.z.number().int().describe("Unique identifier for the dataset").nullable(),
16
16
  name: zod.z.string().describe("Name of the dataset").nullable(),
17
17
  report_id: zod.z.number().int().describe("ID of the report this dataset belongs to").nullable(),
18
18
  data_source: zod.z.string().describe("Source type of the data (e.g., 'form', 'email', 'web')").nullable().optional(),
19
19
  description: zod.z.string().describe("Description of the dataset").nullable().optional()
20
- }).describe("Dataset information associated with a report.");
20
+ }).passthrough().describe("Dataset information associated with a report.");
21
21
  const MopinionGetReportByIdOutput = zod.z.object({
22
22
  id: zod.z.number().int().describe("Unique identifier for the report").nullable(),
23
23
  name: zod.z.string().describe("Name of the report").nullable(),
@@ -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}).describe(\"Metadata block returned with every Mopinion API response.\");\nconst MopinionGetReportById_DataSetSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the dataset\").nullable(),\n name: z.string().describe(\"Name of the dataset\").nullable(),\n report_id: z.number().int().describe(\"ID of the report this dataset belongs to\").nullable(),\n data_source: z.string().describe(\"Source type of the data (e.g., 'form', 'email', 'web')\").nullable().optional(),\n description: z.string().describe(\"Description of the dataset\").nullable().optional(),\n}).describe(\"Dataset information associated with a report.\");\nexport const MopinionGetReportByIdOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the report\").nullable(),\n name: z.string().describe(\"Name of the report\").nullable(),\n _meta: MopinionGetReportById_MetaSchema.nullable(),\n created: z.string().describe(\"Creation date of the report in YYYY-MM-DD format\").nullable().optional(),\n dataSets: z.array(MopinionGetReportById_DataSetSchema).describe(\"List of datasets associated with this report\").nullable().optional(),\n language: z.string().describe(\"Language code for the report (e.g., 'en_US', 'nl_NL')\").nullable().optional(),\n description: z.string().describe(\"Description of the report\").nullable().optional(),\n}).passthrough().describe(\"Response model for GET_REPORT_BY_ID action containing complete report details.\");\n\nexport const mopinionGetReportById = action(\"MOPINION_GET_REPORT_BY_ID\", {\n slug: \"mopinion-get-report-by-id\",\n name: \"Get Report By ID\",\n description: \"Retrieves detailed information about a specific Mopinion report by its ID. Returns comprehensive report details including name, description, language, creation date, and all associated datasets with their metadata. Use this when you need full information about a specific report. To find available report IDs, use the Get Reports action first. Example use case: Get complete details of report 22511 to understand its datasets and configuration.\",\n input: MopinionGetReportByIdInput,\n output: MopinionGetReportByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wGAAwG,EAC/I,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrF,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,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SAAS;CACrG,UAAUA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gFAAgF;AAE1G,MAAa,wBAAwBC,eAAAA,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-report-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-report-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetReportByIdInput = z.object({\n report_id: z.number().int().describe(\"Unique numeric identifier of the Mopinion report to retrieve. Obtain this from the Get Reports action.\"),\n}).describe(\"Request parameters for GET_REPORT_BY_ID action.\");\nconst MopinionGetReportById_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code (e.g., 200 for success)\").nullable(),\n next: z.boolean().describe(\"Whether a next page exists\").nullable().optional(),\n count: z.number().int().describe(\"Number of items in current response\").nullable().optional(),\n total: z.number().int().describe(\"Total number of items available\").nullable().optional(),\n message: z.string().describe(\"Status message (e.g., 'OK')\").nullable().optional(),\n has_more: z.boolean().describe(\"Whether more results are available\").nullable().optional(),\n previous: z.boolean().describe(\"Whether a previous page exists\").nullable().optional(),\n}).passthrough().describe(\"Metadata block returned with every Mopinion API response.\");\nconst MopinionGetReportById_DataSetSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the dataset\").nullable(),\n name: z.string().describe(\"Name of the dataset\").nullable(),\n report_id: z.number().int().describe(\"ID of the report this dataset belongs to\").nullable(),\n data_source: z.string().describe(\"Source type of the data (e.g., 'form', 'email', 'web')\").nullable().optional(),\n description: z.string().describe(\"Description of the dataset\").nullable().optional(),\n}).passthrough().describe(\"Dataset information associated with a report.\");\nexport const MopinionGetReportByIdOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the report\").nullable(),\n name: z.string().describe(\"Name of the report\").nullable(),\n _meta: MopinionGetReportById_MetaSchema.nullable(),\n created: z.string().describe(\"Creation date of the report in YYYY-MM-DD format\").nullable().optional(),\n dataSets: z.array(MopinionGetReportById_DataSetSchema).describe(\"List of datasets associated with this report\").nullable().optional(),\n language: z.string().describe(\"Language code for the report (e.g., 'en_US', 'nl_NL')\").nullable().optional(),\n description: z.string().describe(\"Description of the report\").nullable().optional(),\n}).passthrough().describe(\"Response model for GET_REPORT_BY_ID action containing complete report details.\");\n\nexport const mopinionGetReportById = action(\"MOPINION_GET_REPORT_BY_ID\", {\n slug: \"mopinion-get-report-by-id\",\n name: \"Get Report By ID\",\n description: \"Retrieves detailed information about a specific Mopinion report by its ID. Returns comprehensive report details including name, description, language, creation date, and all associated datasets with their metadata. Use this when you need full information about a specific report. To find available report IDs, use the Get Reports action first. Example use case: Get complete details of report 22511 to understand its datasets and configuration.\",\n input: MopinionGetReportByIdInput,\n output: MopinionGetReportByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wGAAwG,EAC/I,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrF,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,OAAOA,IAAAA,E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CAAC,SAAS;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACzD,OAAO,iCAAiC,SAAS;CACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,UAAUA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gFAAgF;AAE1G,MAAa,wBAAwBC,eAAAA,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -15,7 +15,7 @@ declare const MopinionGetReportByIdOutput: z.ZodObject<{
15
15
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
17
17
  previous: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
18
- }, z.core.$strip>>;
18
+ }, z.core.$loose>>;
19
19
  created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
20
  dataSets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
21
21
  id: z.ZodNullable<z.ZodNumber>;
@@ -23,7 +23,7 @@ declare const MopinionGetReportByIdOutput: z.ZodObject<{
23
23
  report_id: z.ZodNullable<z.ZodNumber>;
24
24
  data_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
25
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
- }, z.core.$strip>>>>;
26
+ }, z.core.$loose>>>>;
27
27
  language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
28
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
29
  }, z.core.$loose>;
@@ -15,7 +15,7 @@ declare const MopinionGetReportByIdOutput: z.ZodObject<{
15
15
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
17
17
  previous: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
18
- }, z.core.$strip>>;
18
+ }, z.core.$loose>>;
19
19
  created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
20
  dataSets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
21
21
  id: z.ZodNullable<z.ZodNumber>;
@@ -23,7 +23,7 @@ declare const MopinionGetReportByIdOutput: z.ZodObject<{
23
23
  report_id: z.ZodNullable<z.ZodNumber>;
24
24
  data_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
25
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
- }, z.core.$strip>>>>;
26
+ }, z.core.$loose>>>>;
27
27
  language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
28
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
29
  }, z.core.$loose>;
@@ -10,14 +10,14 @@ const MopinionGetReportById_MetaSchema = z.object({
10
10
  message: z.string().describe("Status message (e.g., 'OK')").nullable().optional(),
11
11
  has_more: z.boolean().describe("Whether more results are available").nullable().optional(),
12
12
  previous: z.boolean().describe("Whether a previous page exists").nullable().optional()
13
- }).describe("Metadata block returned with every Mopinion API response.");
13
+ }).passthrough().describe("Metadata block returned with every Mopinion API response.");
14
14
  const MopinionGetReportById_DataSetSchema = z.object({
15
15
  id: z.number().int().describe("Unique identifier for the dataset").nullable(),
16
16
  name: z.string().describe("Name of the dataset").nullable(),
17
17
  report_id: z.number().int().describe("ID of the report this dataset belongs to").nullable(),
18
18
  data_source: z.string().describe("Source type of the data (e.g., 'form', 'email', 'web')").nullable().optional(),
19
19
  description: z.string().describe("Description of the dataset").nullable().optional()
20
- }).describe("Dataset information associated with a report.");
20
+ }).passthrough().describe("Dataset information associated with a report.");
21
21
  const mopinionGetReportById = action("MOPINION_GET_REPORT_BY_ID", {
22
22
  slug: "mopinion-get-report-by-id",
23
23
  name: "Get Report By ID",
@@ -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}).describe(\"Metadata block returned with every Mopinion API response.\");\nconst MopinionGetReportById_DataSetSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the dataset\").nullable(),\n name: z.string().describe(\"Name of the dataset\").nullable(),\n report_id: z.number().int().describe(\"ID of the report this dataset belongs to\").nullable(),\n data_source: z.string().describe(\"Source type of the data (e.g., 'form', 'email', 'web')\").nullable().optional(),\n description: z.string().describe(\"Description of the dataset\").nullable().optional(),\n}).describe(\"Dataset information associated with a report.\");\nexport const MopinionGetReportByIdOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the report\").nullable(),\n name: z.string().describe(\"Name of the report\").nullable(),\n _meta: MopinionGetReportById_MetaSchema.nullable(),\n created: z.string().describe(\"Creation date of the report in YYYY-MM-DD format\").nullable().optional(),\n dataSets: z.array(MopinionGetReportById_DataSetSchema).describe(\"List of datasets associated with this report\").nullable().optional(),\n language: z.string().describe(\"Language code for the report (e.g., 'en_US', 'nl_NL')\").nullable().optional(),\n description: z.string().describe(\"Description of the report\").nullable().optional(),\n}).passthrough().describe(\"Response model for GET_REPORT_BY_ID action containing complete report details.\");\n\nexport const mopinionGetReportById = action(\"MOPINION_GET_REPORT_BY_ID\", {\n slug: \"mopinion-get-report-by-id\",\n name: \"Get Report By ID\",\n description: \"Retrieves detailed information about a specific Mopinion report by its ID. Returns comprehensive report details including name, description, language, creation date, and all associated datasets with their metadata. Use this when you need full information about a specific report. To find available report IDs, use the Get Reports action first. Example use case: Get complete details of report 22511 to understand its datasets and configuration.\",\n input: MopinionGetReportByIdInput,\n output: MopinionGetReportByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO,EACjD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wGAAwG,EAC/I,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,mCAAmC,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,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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CAAC,CAAC,SAAS;EAC3G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gFAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-report-by-id.mjs","names":[],"sources":["../../src/actions/get-report-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetReportByIdInput = z.object({\n report_id: z.number().int().describe(\"Unique numeric identifier of the Mopinion report to retrieve. Obtain this from the Get Reports action.\"),\n}).describe(\"Request parameters for GET_REPORT_BY_ID action.\");\nconst MopinionGetReportById_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code (e.g., 200 for success)\").nullable(),\n next: z.boolean().describe(\"Whether a next page exists\").nullable().optional(),\n count: z.number().int().describe(\"Number of items in current response\").nullable().optional(),\n total: z.number().int().describe(\"Total number of items available\").nullable().optional(),\n message: z.string().describe(\"Status message (e.g., 'OK')\").nullable().optional(),\n has_more: z.boolean().describe(\"Whether more results are available\").nullable().optional(),\n previous: z.boolean().describe(\"Whether a previous page exists\").nullable().optional(),\n}).passthrough().describe(\"Metadata block returned with every Mopinion API response.\");\nconst MopinionGetReportById_DataSetSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the dataset\").nullable(),\n name: z.string().describe(\"Name of the dataset\").nullable(),\n report_id: z.number().int().describe(\"ID of the report this dataset belongs to\").nullable(),\n data_source: z.string().describe(\"Source type of the data (e.g., 'form', 'email', 'web')\").nullable().optional(),\n description: z.string().describe(\"Description of the dataset\").nullable().optional(),\n}).passthrough().describe(\"Dataset information associated with a report.\");\nexport const MopinionGetReportByIdOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the report\").nullable(),\n name: z.string().describe(\"Name of the report\").nullable(),\n _meta: MopinionGetReportById_MetaSchema.nullable(),\n created: z.string().describe(\"Creation date of the report in YYYY-MM-DD format\").nullable().optional(),\n dataSets: z.array(MopinionGetReportById_DataSetSchema).describe(\"List of datasets associated with this report\").nullable().optional(),\n language: z.string().describe(\"Language code for the report (e.g., 'en_US', 'nl_NL')\").nullable().optional(),\n description: z.string().describe(\"Description of the report\").nullable().optional(),\n}).passthrough().describe(\"Response model for GET_REPORT_BY_ID action containing complete report details.\");\n\nexport const mopinionGetReportById = action(\"MOPINION_GET_REPORT_BY_ID\", {\n slug: \"mopinion-get-report-by-id\",\n name: \"Get Report By ID\",\n description: \"Retrieves detailed information about a specific Mopinion report by its ID. Returns comprehensive report details including name, description, language, creation date, and all associated datasets with their metadata. Use this when you need full information about a specific report. To find available report IDs, use the Get Reports action first. Example use case: Get complete details of report 22511 to understand its datasets and configuration.\",\n input: MopinionGetReportByIdInput,\n output: MopinionGetReportByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO,EACjD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wGAAwG,EAC/I,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,mCAAmC,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrF,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,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,SAA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