@keystrokehq/mopinion 0.1.4 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/get-account.cjs +1 -0
  4. package/dist/actions/get-account.cjs.map +1 -1
  5. package/dist/actions/get-account.d.cts +3 -1
  6. package/dist/actions/get-account.d.cts.map +1 -1
  7. package/dist/actions/get-account.d.mts +3 -1
  8. package/dist/actions/get-account.d.mts.map +1 -1
  9. package/dist/actions/get-account.mjs +1 -0
  10. package/dist/actions/get-account.mjs.map +1 -1
  11. package/dist/actions/get-dataset-by-id.cjs +1 -0
  12. package/dist/actions/get-dataset-by-id.cjs.map +1 -1
  13. package/dist/actions/get-dataset-by-id.d.cts +3 -3
  14. package/dist/actions/get-dataset-by-id.d.cts.map +1 -1
  15. package/dist/actions/get-dataset-by-id.d.mts +3 -3
  16. package/dist/actions/get-dataset-by-id.d.mts.map +1 -1
  17. package/dist/actions/get-dataset-by-id.mjs +1 -0
  18. package/dist/actions/get-dataset-by-id.mjs.map +1 -1
  19. package/dist/actions/get-dataset-feedback-by-id.cjs +1 -0
  20. package/dist/actions/get-dataset-feedback-by-id.cjs.map +1 -1
  21. package/dist/actions/get-dataset-feedback-by-id.d.cts +3 -4
  22. package/dist/actions/get-dataset-feedback-by-id.d.cts.map +1 -1
  23. package/dist/actions/get-dataset-feedback-by-id.d.mts +3 -4
  24. package/dist/actions/get-dataset-feedback-by-id.d.mts.map +1 -1
  25. package/dist/actions/get-dataset-feedback-by-id.mjs +1 -0
  26. package/dist/actions/get-dataset-feedback-by-id.mjs.map +1 -1
  27. package/dist/actions/get-dataset-feedback.cjs +1 -0
  28. package/dist/actions/get-dataset-feedback.cjs.map +1 -1
  29. package/dist/actions/get-dataset-feedback.d.cts +3 -6
  30. package/dist/actions/get-dataset-feedback.d.cts.map +1 -1
  31. package/dist/actions/get-dataset-feedback.d.mts +3 -6
  32. package/dist/actions/get-dataset-feedback.d.mts.map +1 -1
  33. package/dist/actions/get-dataset-feedback.mjs +1 -0
  34. package/dist/actions/get-dataset-feedback.mjs.map +1 -1
  35. package/dist/actions/get-dataset-fields.cjs +1 -0
  36. package/dist/actions/get-dataset-fields.cjs.map +1 -1
  37. package/dist/actions/get-dataset-fields.d.cts +3 -3
  38. package/dist/actions/get-dataset-fields.d.cts.map +1 -1
  39. package/dist/actions/get-dataset-fields.d.mts +3 -3
  40. package/dist/actions/get-dataset-fields.d.mts.map +1 -1
  41. package/dist/actions/get-dataset-fields.mjs +1 -0
  42. package/dist/actions/get-dataset-fields.mjs.map +1 -1
  43. package/dist/actions/get-deployment-by-id.cjs +1 -0
  44. package/dist/actions/get-deployment-by-id.cjs.map +1 -1
  45. package/dist/actions/get-deployment-by-id.d.cts +3 -3
  46. package/dist/actions/get-deployment-by-id.d.cts.map +1 -1
  47. package/dist/actions/get-deployment-by-id.d.mts +3 -3
  48. package/dist/actions/get-deployment-by-id.d.mts.map +1 -1
  49. package/dist/actions/get-deployment-by-id.mjs +1 -0
  50. package/dist/actions/get-deployment-by-id.mjs.map +1 -1
  51. package/dist/actions/get-deployments.cjs +1 -0
  52. package/dist/actions/get-deployments.cjs.map +1 -1
  53. package/dist/actions/get-deployments.d.cts +3 -4
  54. package/dist/actions/get-deployments.d.cts.map +1 -1
  55. package/dist/actions/get-deployments.d.mts +3 -4
  56. package/dist/actions/get-deployments.d.mts.map +1 -1
  57. package/dist/actions/get-deployments.mjs +1 -0
  58. package/dist/actions/get-deployments.mjs.map +1 -1
  59. package/dist/actions/get-report-by-id.cjs +1 -0
  60. package/dist/actions/get-report-by-id.cjs.map +1 -1
  61. package/dist/actions/get-report-by-id.d.cts +3 -3
  62. package/dist/actions/get-report-by-id.d.cts.map +1 -1
  63. package/dist/actions/get-report-by-id.d.mts +3 -3
  64. package/dist/actions/get-report-by-id.d.mts.map +1 -1
  65. package/dist/actions/get-report-by-id.mjs +1 -0
  66. package/dist/actions/get-report-by-id.mjs.map +1 -1
  67. package/dist/actions/get-report-feedback.cjs +1 -0
  68. package/dist/actions/get-report-feedback.cjs.map +1 -1
  69. package/dist/actions/get-report-feedback.d.cts +3 -6
  70. package/dist/actions/get-report-feedback.d.cts.map +1 -1
  71. package/dist/actions/get-report-feedback.d.mts +3 -6
  72. package/dist/actions/get-report-feedback.d.mts.map +1 -1
  73. package/dist/actions/get-report-feedback.mjs +1 -0
  74. package/dist/actions/get-report-feedback.mjs.map +1 -1
  75. package/dist/actions/get-report-fields.cjs +1 -0
  76. package/dist/actions/get-report-fields.cjs.map +1 -1
  77. package/dist/actions/get-report-fields.d.cts +3 -3
  78. package/dist/actions/get-report-fields.d.cts.map +1 -1
  79. package/dist/actions/get-report-fields.d.mts +3 -3
  80. package/dist/actions/get-report-fields.d.mts.map +1 -1
  81. package/dist/actions/get-report-fields.mjs +1 -0
  82. package/dist/actions/get-report-fields.mjs.map +1 -1
  83. package/dist/actions/get-root.cjs +1 -0
  84. package/dist/actions/get-root.cjs.map +1 -1
  85. package/dist/actions/get-root.d.cts +3 -5
  86. package/dist/actions/get-root.d.cts.map +1 -1
  87. package/dist/actions/get-root.d.mts +3 -5
  88. package/dist/actions/get-root.d.mts.map +1 -1
  89. package/dist/actions/get-root.mjs +1 -0
  90. package/dist/actions/get-root.mjs.map +1 -1
  91. package/dist/app.cjs +10 -2
  92. package/dist/app.cjs.map +1 -1
  93. package/dist/app.d.cts +9 -1
  94. package/dist/app.d.cts.map +1 -1
  95. package/dist/app.d.mts +9 -1
  96. package/dist/app.d.mts.map +1 -1
  97. package/dist/app.mjs +7 -2
  98. package/dist/app.mjs.map +1 -1
  99. package/dist/index.d.cts +1 -1
  100. package/dist/index.d.mts +1 -1
  101. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"action.cjs","names":["mopinion","executeMopinionTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { mopinion } from \"./app\";\nimport { executeMopinionTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return mopinion.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeMopinionTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["mopinion","executeMopinionTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { mopinion } from \"./app\";\nimport { executeMopinionTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof mopinion.credential> {\n return mopinion.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeMopinionTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOwD;CACxD,OAAOA,YAAAA,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { mopinion } from \"./app\";\nimport { executeMopinionTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return mopinion.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeMopinionTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { mopinion } from \"./app\";\nimport { executeMopinionTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof mopinion.credential> {\n return mopinion.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeMopinionTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOwD;CACxD,OAAO,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-account.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-account.cjs","names":["z","action"],"sources":["../../src/actions/get-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetAccountInput = z.object({}).describe(\"Request model for GetAccount action.\\nNo parameters required - returns current authenticated account information.\");\nconst MopinionGetAccount_MetaInfoSchema = z.object({\n code: z.number().int().describe(\"HTTP status code\").nullable(),\n next: z.boolean().describe(\"Whether there is a next page\").nullable(),\n count: z.number().int().describe(\"Number of items in current response\").nullable(),\n total: z.number().int().describe(\"Total number of items available\").nullable(),\n message: z.string().describe(\"Status message\").nullable(),\n has_more: z.boolean().describe(\"Whether there are more results available\").nullable(),\n previous: z.boolean().describe(\"Whether there is a previous page\").nullable(),\n}).passthrough().describe(\"Metadata information for the response.\");\nconst MopinionGetAccount_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 parent report\").nullable(),\n data_source: z.string().describe(\"Source type of the data (e.g., 'form')\").nullable(),\n description: z.string().describe(\"Description of the dataset\").nullable(),\n}).passthrough().describe(\"Model for a dataset within a report.\");\nconst MopinionGetAccount_ReportSchema = 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 created: z.string().describe(\"Creation date of the report (YYYY-MM-DD)\").nullable(),\n dataSets: z.array(MopinionGetAccount_DataSetSchema).describe(\"List of datasets associated with this report\").nullable().optional(),\n language: z.string().describe(\"Language code (e.g., 'en_US')\").nullable(),\n description: z.string().describe(\"Description of the report\").nullable(),\n}).passthrough().describe(\"Model for a report in the account.\");\nconst MopinionGetAccount_AccountInfoSchema = z.object({\n name: z.string().describe(\"Account name\").nullable(),\n _meta: MopinionGetAccount_MetaInfoSchema.nullable(),\n enddate: z.string().describe(\"End date of the current package (YYYY-MM-DD HH:MM:SS)\").nullable(),\n package: z.string().describe(\"Package/plan type (e.g., 'Trial', 'Pro')\").nullable(),\n reports: z.array(MopinionGetAccount_ReportSchema).describe(\"List of reports in the account\").nullable().optional(),\n number_forms: z.number().int().describe(\"Number of forms allowed\").nullable(),\n number_users: z.number().int().describe(\"Number of users allowed in the account\").nullable(),\n number_charts: z.number().int().describe(\"Number of charts available\").nullable(),\n number_reports: z.number().int().describe(\"Number of reports allowed\").nullable(),\n}).passthrough().describe(\"Detailed account information model.\");\nexport const MopinionGetAccountOutput = z.object({\n account: MopinionGetAccount_AccountInfoSchema.nullable(),\n}).passthrough().describe(\"Response model for GetAccount action.\\nContains comprehensive account information including package details, limits, and associated reports.\");\n\nexport const mopinionGetAccount = action(\"MOPINION_GET_ACCOUNT\", {\n slug: \"mopinion-get-account\",\n name: \"Get Account\",\n description: \"Tool to retrieve the current authenticated account information. Use to verify authentication and get account details.\",\n input: MopinionGetAccountInput,\n output: MopinionGetAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mHAAmH;AAChL,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAC7D,MA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ClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,SAAS,qCAAqC,SAAS,EACzD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8IAA8I;AAExK,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-account.cjs","names":["z","action"],"sources":["../../src/actions/get-account.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 MopinionGetAccountInput = z.object({}).describe(\"Request model for GetAccount action.\\nNo parameters required - returns current authenticated account information.\");\nconst MopinionGetAccount_MetaInfoSchema = z.object({\n code: z.number().int().describe(\"HTTP status code\").nullable(),\n next: z.boolean().describe(\"Whether there is a next page\").nullable(),\n count: z.number().int().describe(\"Number of items in current response\").nullable(),\n total: z.number().int().describe(\"Total number of items available\").nullable(),\n message: z.string().describe(\"Status message\").nullable(),\n has_more: z.boolean().describe(\"Whether there are more results available\").nullable(),\n previous: z.boolean().describe(\"Whether there is a previous page\").nullable(),\n}).passthrough().describe(\"Metadata information for the response.\");\nconst MopinionGetAccount_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 parent report\").nullable(),\n data_source: z.string().describe(\"Source type of the data (e.g., 'form')\").nullable(),\n description: z.string().describe(\"Description of the dataset\").nullable(),\n}).passthrough().describe(\"Model for a dataset within a report.\");\nconst MopinionGetAccount_ReportSchema = 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 created: z.string().describe(\"Creation date of the report (YYYY-MM-DD)\").nullable(),\n dataSets: z.array(MopinionGetAccount_DataSetSchema).describe(\"List of datasets associated with this report\").nullable().optional(),\n language: z.string().describe(\"Language code (e.g., 'en_US')\").nullable(),\n description: z.string().describe(\"Description of the report\").nullable(),\n}).passthrough().describe(\"Model for a report in the account.\");\nconst MopinionGetAccount_AccountInfoSchema = z.object({\n name: z.string().describe(\"Account name\").nullable(),\n _meta: MopinionGetAccount_MetaInfoSchema.nullable(),\n enddate: z.string().describe(\"End date of the current package (YYYY-MM-DD HH:MM:SS)\").nullable(),\n package: z.string().describe(\"Package/plan type (e.g., 'Trial', 'Pro')\").nullable(),\n reports: z.array(MopinionGetAccount_ReportSchema).describe(\"List of reports in the account\").nullable().optional(),\n number_forms: z.number().int().describe(\"Number of forms allowed\").nullable(),\n number_users: z.number().int().describe(\"Number of users allowed in the account\").nullable(),\n number_charts: z.number().int().describe(\"Number of charts available\").nullable(),\n number_reports: z.number().int().describe(\"Number of reports allowed\").nullable(),\n}).passthrough().describe(\"Detailed account information model.\");\nexport const MopinionGetAccountOutput = z.object({\n account: MopinionGetAccount_AccountInfoSchema.nullable(),\n}).passthrough().describe(\"Response model for GetAccount action.\\nContains comprehensive account information including package details, limits, and associated reports.\");\n\nexport const mopinionGetAccount: AppAction<\n typeof MopinionGetAccountInput,\n typeof MopinionGetAccountOutput,\n typeof mopinion.credential\n> = action(\"MOPINION_GET_ACCOUNT\", {\n slug: \"mopinion-get-account\",\n name: \"Get Account\",\n description: \"Tool to retrieve the current authenticated account information. Use to verify authentication and get account details.\",\n input: MopinionGetAccountInput,\n output: MopinionGetAccountOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mHAAmH;AAChL,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAC7D,MAAMA,IAAA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CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,SAAS,qCAAqC,SAAS,EACzD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8IAA8I;AAExK,MAAa,qBAITC,eAAAA,OAAO,wBAAwB;CACjC,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-account.d.ts
@@ -36,7 +38,7 @@ declare const MopinionGetAccountOutput: z.ZodObject<{
36
38
  number_reports: z.ZodNullable<z.ZodNumber>;
37
39
  }, z.core.$loose>>;
38
40
  }, z.core.$loose>;
39
- declare const mopinionGetAccount: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
41
+ declare const mopinionGetAccount: AppAction<typeof MopinionGetAccountInput, typeof MopinionGetAccountOutput, typeof mopinion.credential>;
40
42
  //#endregion
41
43
  export { mopinionGetAccount };
42
44
  //# sourceMappingURL=get-account.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-account.d.cts","names":[],"sources":["../../src/actions/get-account.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAoCvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIxB,kBAAA,gCAAkB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-account.d.cts","names":[],"sources":["../../src/actions/get-account.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAoCvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,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-account.d.ts
@@ -36,7 +38,7 @@ declare const MopinionGetAccountOutput: z.ZodObject<{
36
38
  number_reports: z.ZodNullable<z.ZodNumber>;
37
39
  }, z.core.$loose>>;
38
40
  }, z.core.$loose>;
39
- declare const mopinionGetAccount: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
41
+ declare const mopinionGetAccount: AppAction<typeof MopinionGetAccountInput, typeof MopinionGetAccountOutput, typeof mopinion.credential>;
40
42
  //#endregion
41
43
  export { mopinionGetAccount };
42
44
  //# sourceMappingURL=get-account.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-account.d.mts","names":[],"sources":["../../src/actions/get-account.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAoCvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIxB,kBAAA,gCAAkB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-account.d.mts","names":[],"sources":["../../src/actions/get-account.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAoCvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-account.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-account.mjs","names":[],"sources":["../../src/actions/get-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetAccountInput = z.object({}).describe(\"Request model for GetAccount action.\\nNo parameters required - returns current authenticated account information.\");\nconst MopinionGetAccount_MetaInfoSchema = z.object({\n code: z.number().int().describe(\"HTTP status code\").nullable(),\n next: z.boolean().describe(\"Whether there is a next page\").nullable(),\n count: z.number().int().describe(\"Number of items in current response\").nullable(),\n total: z.number().int().describe(\"Total number of items available\").nullable(),\n message: z.string().describe(\"Status message\").nullable(),\n has_more: z.boolean().describe(\"Whether there are more results available\").nullable(),\n previous: z.boolean().describe(\"Whether there is a previous page\").nullable(),\n}).passthrough().describe(\"Metadata information for the response.\");\nconst MopinionGetAccount_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 parent report\").nullable(),\n data_source: z.string().describe(\"Source type of the data (e.g., 'form')\").nullable(),\n description: z.string().describe(\"Description of the dataset\").nullable(),\n}).passthrough().describe(\"Model for a dataset within a report.\");\nconst MopinionGetAccount_ReportSchema = 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 created: z.string().describe(\"Creation date of the report (YYYY-MM-DD)\").nullable(),\n dataSets: z.array(MopinionGetAccount_DataSetSchema).describe(\"List of datasets associated with this report\").nullable().optional(),\n language: z.string().describe(\"Language code (e.g., 'en_US')\").nullable(),\n description: z.string().describe(\"Description of the report\").nullable(),\n}).passthrough().describe(\"Model for a report in the account.\");\nconst MopinionGetAccount_AccountInfoSchema = z.object({\n name: z.string().describe(\"Account name\").nullable(),\n _meta: MopinionGetAccount_MetaInfoSchema.nullable(),\n enddate: z.string().describe(\"End date of the current package (YYYY-MM-DD HH:MM:SS)\").nullable(),\n package: z.string().describe(\"Package/plan type (e.g., 'Trial', 'Pro')\").nullable(),\n reports: z.array(MopinionGetAccount_ReportSchema).describe(\"List of reports in the account\").nullable().optional(),\n number_forms: z.number().int().describe(\"Number of forms allowed\").nullable(),\n number_users: z.number().int().describe(\"Number of users allowed in the account\").nullable(),\n number_charts: z.number().int().describe(\"Number of charts available\").nullable(),\n number_reports: z.number().int().describe(\"Number of reports allowed\").nullable(),\n}).passthrough().describe(\"Detailed account information model.\");\nexport const MopinionGetAccountOutput = z.object({\n account: MopinionGetAccount_AccountInfoSchema.nullable(),\n}).passthrough().describe(\"Response model for GetAccount action.\\nContains comprehensive account information including package details, limits, and associated reports.\");\n\nexport const mopinionGetAccount = action(\"MOPINION_GET_ACCOUNT\", {\n slug: \"mopinion-get-account\",\n name: \"Get Account\",\n description: \"Tool to retrieve the current authenticated account information. Use to verify authentication and get account details.\",\n input: MopinionGetAccountInput,\n output: MopinionGetAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mHAAmH;AAChL,MAAM,oCAAoC,EAAE,OAAO;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAC7D,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACpE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACjF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AAC,SAAS;CACxE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAC9D,MAAM,uCAAuC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACnD,OAAO,kCAAkC,SAAS;CAClD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC/F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAClF,SAAS,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC5E,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC3F,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAChF,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAK/D,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsC,EAAE,OAAO,EAC/C,SAAS,qCAAqC,SAAS,EACzD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8IAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-account.mjs","names":[],"sources":["../../src/actions/get-account.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 MopinionGetAccountInput = z.object({}).describe(\"Request model for GetAccount action.\\nNo parameters required - returns current authenticated account information.\");\nconst MopinionGetAccount_MetaInfoSchema = z.object({\n code: z.number().int().describe(\"HTTP status code\").nullable(),\n next: z.boolean().describe(\"Whether there is a next page\").nullable(),\n count: z.number().int().describe(\"Number of items in current response\").nullable(),\n total: z.number().int().describe(\"Total number of items available\").nullable(),\n message: z.string().describe(\"Status message\").nullable(),\n has_more: z.boolean().describe(\"Whether there are more results available\").nullable(),\n previous: z.boolean().describe(\"Whether there is a previous page\").nullable(),\n}).passthrough().describe(\"Metadata information for the response.\");\nconst MopinionGetAccount_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 parent report\").nullable(),\n data_source: z.string().describe(\"Source type of the data (e.g., 'form')\").nullable(),\n description: z.string().describe(\"Description of the dataset\").nullable(),\n}).passthrough().describe(\"Model for a dataset within a report.\");\nconst MopinionGetAccount_ReportSchema = 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 created: z.string().describe(\"Creation date of the report (YYYY-MM-DD)\").nullable(),\n dataSets: z.array(MopinionGetAccount_DataSetSchema).describe(\"List of datasets associated with this report\").nullable().optional(),\n language: z.string().describe(\"Language code (e.g., 'en_US')\").nullable(),\n description: z.string().describe(\"Description of the report\").nullable(),\n}).passthrough().describe(\"Model for a report in the account.\");\nconst MopinionGetAccount_AccountInfoSchema = z.object({\n name: z.string().describe(\"Account name\").nullable(),\n _meta: MopinionGetAccount_MetaInfoSchema.nullable(),\n enddate: z.string().describe(\"End date of the current package (YYYY-MM-DD HH:MM:SS)\").nullable(),\n package: z.string().describe(\"Package/plan type (e.g., 'Trial', 'Pro')\").nullable(),\n reports: z.array(MopinionGetAccount_ReportSchema).describe(\"List of reports in the account\").nullable().optional(),\n number_forms: z.number().int().describe(\"Number of forms allowed\").nullable(),\n number_users: z.number().int().describe(\"Number of users allowed in the account\").nullable(),\n number_charts: z.number().int().describe(\"Number of charts available\").nullable(),\n number_reports: z.number().int().describe(\"Number of reports allowed\").nullable(),\n}).passthrough().describe(\"Detailed account information model.\");\nexport const MopinionGetAccountOutput = z.object({\n account: MopinionGetAccount_AccountInfoSchema.nullable(),\n}).passthrough().describe(\"Response model for GetAccount action.\\nContains comprehensive account information including package details, limits, and associated reports.\");\n\nexport const mopinionGetAccount: AppAction<\n typeof MopinionGetAccountInput,\n typeof MopinionGetAccountOutput,\n typeof mopinion.credential\n> = action(\"MOPINION_GET_ACCOUNT\", {\n slug: \"mopinion-get-account\",\n name: \"Get Account\",\n description: \"Tool to retrieve the current authenticated account information. Use to verify authentication and get account details.\",\n input: MopinionGetAccountInput,\n output: MopinionGetAccountOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mHAAmH;AAChL,MAAM,oCAAoC,EAAE,OAAO;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAC7D,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACpE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACjF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACxD,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACpF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC9E,CAAC,CAA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AuD,CAAC,CAAC,SAAS;CAC/F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAClF,SAAS,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC5E,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC3F,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAChF,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAK/D,MAAa,qBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbsC,EAAE,OAAO,EAC/C,SAAS,qCAAqC,SAAS,EACzD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8IAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-dataset-by-id.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-dataset-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-dataset-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetDatasetByIdInput = z.object({\n dataset_id: z.union([z.number().int(), z.string()]),\n}).describe(\"Request parameters for retrieving a dataset by ID.\");\nconst MopinionGetDatasetById_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code of the response.\").nullable(),\n next: z.boolean().describe(\"Whether next results exist.\").nullable(),\n count: z.number().int().describe(\"Number of items in the current response.\").nullable(),\n total: z.number().int().describe(\"Total number of items available.\").nullable(),\n message: z.string().describe(\"Status message (e.g., 'OK').\").nullable(),\n has_more: z.boolean().describe(\"Whether there are more results available.\").nullable(),\n previous: z.boolean().describe(\"Whether previous results exist.\").nullable(),\n}).passthrough().describe(\"Metadata returned by the API.\");\nconst MopinionGetDatasetById_DatasetSchema = z.object({\n id: z.union([z.number().int(), z.string()]),\n name: z.string().describe(\"Name of the dataset (form).\").nullable(),\n report_id: z.number().int().describe(\"ID of the associated report.\").nullable(),\n data_source: z.string().describe(\"Source type of the data (e.g., 'form', 'email', 'mobile').\").nullable(),\n description: z.string().describe(\"Description of the dataset (may be empty).\").nullable(),\n}).passthrough().describe(\"Dataset resource returned by the API.\");\nexport const MopinionGetDatasetByIdOutput = z.object({\n _meta: MopinionGetDatasetById_MetaSchema.nullable(),\n dataset: MopinionGetDatasetById_DatasetSchema.nullable(),\n}).passthrough().describe(\"Response model for GetDatasetById action.\");\n\nexport const mopinionGetDatasetById = action(\"MOPINION_GET_DATASET_BY_ID\", {\n slug: \"mopinion-get-dataset-by-id\",\n name: \"Get Dataset by ID\",\n description: \"Retrieve complete metadata for a specific Mopinion dataset (feedback form) by its ID. Returns dataset properties including name, associated report ID, data source type, and description. Use this action when you need detailed information about a specific dataset/form. To discover available dataset IDs, use the List Datasets action first. This is a read-only operation that does not modify any data.\",\n input: MopinionGetDatasetByIdInput,\n output: MopinionGetDatasetByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,YAAYA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,EACpD,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,I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CAAqC,SAAS;AACzD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,yBAAyBC,eAAAA,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-dataset-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-dataset-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 MopinionGetDatasetByIdInput = z.object({\n dataset_id: z.union([z.number().int(), z.string()]),\n}).describe(\"Request parameters for retrieving a dataset by ID.\");\nconst MopinionGetDatasetById_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code of the response.\").nullable(),\n next: z.boolean().describe(\"Whether next results exist.\").nullable(),\n count: z.number().int().describe(\"Number of items in the current response.\").nullable(),\n total: z.number().int().describe(\"Total number of items available.\").nullable(),\n message: z.string().describe(\"Status message (e.g., 'OK').\").nullable(),\n has_more: z.boolean().describe(\"Whether there are more results available.\").nullable(),\n previous: z.boolean().describe(\"Whether previous results exist.\").nullable(),\n}).passthrough().describe(\"Metadata returned by the API.\");\nconst MopinionGetDatasetById_DatasetSchema = z.object({\n id: z.union([z.number().int(), z.string()]),\n name: z.string().describe(\"Name of the dataset (form).\").nullable(),\n report_id: z.number().int().describe(\"ID of the associated report.\").nullable(),\n data_source: z.string().describe(\"Source type of the data (e.g., 'form', 'email', 'mobile').\").nullable(),\n description: z.string().describe(\"Description of the dataset (may be empty).\").nullable(),\n}).passthrough().describe(\"Dataset resource returned by the API.\");\nexport const MopinionGetDatasetByIdOutput = z.object({\n _meta: MopinionGetDatasetById_MetaSchema.nullable(),\n dataset: MopinionGetDatasetById_DatasetSchema.nullable(),\n}).passthrough().describe(\"Response model for GetDatasetById action.\");\n\nexport const mopinionGetDatasetById: AppAction<\n typeof MopinionGetDatasetByIdInput,\n typeof MopinionGetDatasetByIdOutput,\n typeof mopinion.credential\n> = action(\"MOPINION_GET_DATASET_BY_ID\", {\n slug: \"mopinion-get-dataset-by-id\",\n name: \"Get Dataset by ID\",\n description: \"Retrieve complete metadata for a specific Mopinion dataset (feedback form) by its ID. Returns dataset properties including name, associated report ID, data source type, and description. Use this action when you need detailed information about a specific dataset/form. To discover available dataset IDs, use the List Datasets action first. This is a read-only operation that does not modify any data.\",\n input: MopinionGetDatasetByIdInput,\n output: MopinionGetDatasetByIdOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,YAAYA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,EACpD,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,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,0CAA0C,CAAC,CAAC,SAAS;CACtF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC9E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACrF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AACzD,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC;CAC1C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACxG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,OAAO,kCAAkC,SAAS;CAClD,SAAS,qCAAqC,SAAS;AACzD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,yBAITC,eAAAA,OAAO,8BAA8B;CACvC,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-by-id.d.ts
@@ -22,9 +24,7 @@ declare const MopinionGetDatasetByIdOutput: z.ZodObject<{
22
24
  description: z.ZodNullable<z.ZodString>;
23
25
  }, z.core.$loose>>;
24
26
  }, z.core.$loose>;
25
- declare const mopinionGetDatasetById: import("@keystrokehq/action").WorkflowActionDefinition<{
26
- dataset_id: string | number;
27
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
27
+ declare const mopinionGetDatasetById: AppAction<typeof MopinionGetDatasetByIdInput, typeof MopinionGetDatasetByIdOutput, typeof mopinion.credential>;
28
28
  //#endregion
29
29
  export { mopinionGetDatasetById };
30
30
  //# sourceMappingURL=get-dataset-by-id.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-dataset-by-id.d.cts","names":[],"sources":["../../src/actions/get-dataset-by-id.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAmB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"get-dataset-by-id.d.cts","names":[],"sources":["../../src/actions/get-dataset-by-id.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAmB3B,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-dataset-by-id.d.ts
@@ -22,9 +24,7 @@ declare const MopinionGetDatasetByIdOutput: z.ZodObject<{
22
24
  description: z.ZodNullable<z.ZodString>;
23
25
  }, z.core.$loose>>;
24
26
  }, z.core.$loose>;
25
- declare const mopinionGetDatasetById: import("@keystrokehq/action").WorkflowActionDefinition<{
26
- dataset_id: string | number;
27
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
27
+ declare const mopinionGetDatasetById: AppAction<typeof MopinionGetDatasetByIdInput, typeof MopinionGetDatasetByIdOutput, typeof mopinion.credential>;
28
28
  //#endregion
29
29
  export { mopinionGetDatasetById };
30
30
  //# sourceMappingURL=get-dataset-by-id.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-dataset-by-id.d.mts","names":[],"sources":["../../src/actions/get-dataset-by-id.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAmB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"get-dataset-by-id.d.mts","names":[],"sources":["../../src/actions/get-dataset-by-id.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAmB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-dataset-by-id.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-dataset-by-id.mjs","names":[],"sources":["../../src/actions/get-dataset-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetDatasetByIdInput = z.object({\n dataset_id: z.union([z.number().int(), z.string()]),\n}).describe(\"Request parameters for retrieving a dataset by ID.\");\nconst MopinionGetDatasetById_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code of the response.\").nullable(),\n next: z.boolean().describe(\"Whether next results exist.\").nullable(),\n count: z.number().int().describe(\"Number of items in the current response.\").nullable(),\n total: z.number().int().describe(\"Total number of items available.\").nullable(),\n message: z.string().describe(\"Status message (e.g., 'OK').\").nullable(),\n has_more: z.boolean().describe(\"Whether there are more results available.\").nullable(),\n previous: z.boolean().describe(\"Whether previous results exist.\").nullable(),\n}).passthrough().describe(\"Metadata returned by the API.\");\nconst MopinionGetDatasetById_DatasetSchema = z.object({\n id: z.union([z.number().int(), z.string()]),\n name: z.string().describe(\"Name of the dataset (form).\").nullable(),\n report_id: z.number().int().describe(\"ID of the associated report.\").nullable(),\n data_source: z.string().describe(\"Source type of the data (e.g., 'form', 'email', 'mobile').\").nullable(),\n description: z.string().describe(\"Description of the dataset (may be empty).\").nullable(),\n}).passthrough().describe(\"Dataset resource returned by the API.\");\nexport const MopinionGetDatasetByIdOutput = z.object({\n _meta: MopinionGetDatasetById_MetaSchema.nullable(),\n dataset: MopinionGetDatasetById_DatasetSchema.nullable(),\n}).passthrough().describe(\"Response model for GetDatasetById action.\");\n\nexport const mopinionGetDatasetById = action(\"MOPINION_GET_DATASET_BY_ID\", {\n slug: \"mopinion-get-dataset-by-id\",\n name: \"Get Dataset by ID\",\n description: \"Retrieve complete metadata for a specific Mopinion dataset (feedback form) by its ID. Returns dataset properties including name, associated report ID, data source type, and description. Use this action when you need detailed information about a specific dataset/form. To discover available dataset IDs, use the List Datasets action first. This is a read-only operation that does not modify any data.\",\n input: MopinionGetDatasetByIdInput,\n output: MopinionGetDatasetByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,EAClD,YAAY,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC,EACpD,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,oCAAoC,EAAE,OAAO;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC9E,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACnE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACtF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC9E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACtE,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACrF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AACzD,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC;CAC1C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC9E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACxG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAMjE,MAAa,yBAAyB,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0C,EAAE,OAAO;EACnD,OAAO,kCAAkC,SAAS;EAClD,SAAS,qCAAqC,SAAS;CACzD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-dataset-by-id.mjs","names":[],"sources":["../../src/actions/get-dataset-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 MopinionGetDatasetByIdInput = z.object({\n dataset_id: z.union([z.number().int(), z.string()]),\n}).describe(\"Request parameters for retrieving a dataset by ID.\");\nconst MopinionGetDatasetById_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code of the response.\").nullable(),\n next: z.boolean().describe(\"Whether next results exist.\").nullable(),\n count: z.number().int().describe(\"Number of items in the current response.\").nullable(),\n total: z.number().int().describe(\"Total number of items available.\").nullable(),\n message: z.string().describe(\"Status message (e.g., 'OK').\").nullable(),\n has_more: z.boolean().describe(\"Whether there are more results available.\").nullable(),\n previous: z.boolean().describe(\"Whether previous results exist.\").nullable(),\n}).passthrough().describe(\"Metadata returned by the API.\");\nconst MopinionGetDatasetById_DatasetSchema = z.object({\n id: z.union([z.number().int(), z.string()]),\n name: z.string().describe(\"Name of the dataset (form).\").nullable(),\n report_id: z.number().int().describe(\"ID of the associated report.\").nullable(),\n data_source: z.string().describe(\"Source type of the data (e.g., 'form', 'email', 'mobile').\").nullable(),\n description: z.string().describe(\"Description of the dataset (may be empty).\").nullable(),\n}).passthrough().describe(\"Dataset resource returned by the API.\");\nexport const MopinionGetDatasetByIdOutput = z.object({\n _meta: MopinionGetDatasetById_MetaSchema.nullable(),\n dataset: MopinionGetDatasetById_DatasetSchema.nullable(),\n}).passthrough().describe(\"Response model for GetDatasetById action.\");\n\nexport const mopinionGetDatasetById: AppAction<\n typeof MopinionGetDatasetByIdInput,\n typeof MopinionGetDatasetByIdOutput,\n typeof mopinion.credential\n> = action(\"MOPINION_GET_DATASET_BY_ID\", {\n slug: \"mopinion-get-dataset-by-id\",\n name: \"Get Dataset by ID\",\n description: \"Retrieve complete metadata for a specific Mopinion dataset (feedback form) by its ID. Returns dataset properties including name, associated report ID, data source type, and description. Use this action when you need detailed information about a specific dataset/form. To discover available dataset IDs, use the List Datasets action first. This is a read-only operation that does not modify any data.\",\n input: MopinionGetDatasetByIdInput,\n output: MopinionGetDatasetByIdOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8B,EAAE,OAAO,EAClD,YAAY,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC,EACp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EAAE,OAAO;EACnD,OAAO,kCAAkC,SAAS;EAClD,SAAS,qCAAqC,SAAS;CACzD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-dataset-feedback-by-id.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-dataset-feedback-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-dataset-feedback-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetDatasetFeedbackByIdInput = z.object({\n dataset_id: z.number().int().describe(\"Numeric identifier of the dataset (form) containing the feedback. Obtain this from List Datasets action.\"),\n feedback_id: z.number().int().describe(\"Numeric identifier of the specific feedback item to retrieve. Obtain this from Get Dataset Feedback action.\"),\n}).describe(\"Request model for retrieving a single feedback item by its ID.\");\nconst MopinionGetDatasetFeedbackById_FeedbackFieldEntrySchema = z.object({\n key: z.string().describe(\"Field key identifier\").nullable().optional(),\n label: z.string().describe(\"Field label\").nullable().optional(),\n value: z.union([z.string(), z.boolean(), z.number(), z.number().int()]).nullable().optional(),\n}).passthrough().describe(\"Individual field entry in the feedback item.\");\nconst MopinionGetDatasetFeedbackById_FeedbackItemDataSchema = z.object({\n id: z.number().int().describe(\"Feedback item ID\").nullable().optional(),\n tags: z.array(z.string()).describe(\"Associated tags\").nullable().optional(),\n uuid: z.string().describe(\"UUID of the feedback\").nullable().optional(),\n active: z.boolean().describe(\"Whether the feedback is active\").nullable().optional(),\n fields: z.array(MopinionGetDatasetFeedbackById_FeedbackFieldEntrySchema).describe(\"Custom field entries\").nullable().optional(),\n created: z.string().describe(\"Creation timestamp\").nullable().optional(),\n report_id: z.number().int().describe(\"Report/project ID\").nullable().optional(),\n survey_id: z.number().int().describe(\"Dataset/survey ID\").nullable().optional(),\n anonymised: z.union([z.number().int(), z.boolean()]).nullable().optional(),\n survey_name: z.string().describe(\"Name of the survey/form\").nullable().optional(),\n project_name: z.string().describe(\"Name of the project/report\").nullable().optional(),\n scores_object: z.string().describe(\"JSON-encoded map of score field IDs to values\").nullable().optional(),\n}).passthrough().describe(\"Single feedback item data structure.\");\nconst MopinionGetDatasetFeedbackById_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code\").nullable(),\n next: z.boolean().describe(\"Whether 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\").nullable().optional(),\n message: z.string().describe(\"Status message\").nullable(),\n has_more: z.boolean().describe(\"Whether more results are available\").nullable().optional(),\n previous: z.boolean().describe(\"Whether previous page exists\").nullable().optional(),\n warnings: z.array(z.string()).describe(\"Warning messages if any\").nullable().optional(),\n}).passthrough().describe(\"Response metadata.\");\nexport const MopinionGetDatasetFeedbackByIdOutput = z.object({\n data: z.array(MopinionGetDatasetFeedbackById_FeedbackItemDataSchema).describe(\"List containing the requested feedback item (or empty item if not found)\"),\n _meta: MopinionGetDatasetFeedbackById_MetaSchema.nullable(),\n}).passthrough().describe(\"Response model for a single feedback item.\\n\\nContains structured feedback data and metadata from the API response.\");\n\nexport const mopinionGetDatasetFeedbackById = action(\"MOPINION_GET_DATASET_FEEDBACK_BY_ID\", {\n slug: \"mopinion-get-dataset-feedback-by-id\",\n name: \"Get Dataset Feedback By ID\",\n description: \"Retrieves a single feedback item by its unique identifier from a specific dataset. Use this tool when you need detailed information about a specific feedback item. First obtain the dataset_id using List Datasets, then get feedback_id values using Get Dataset Feedback. **Important Notes:** - Returns a warning in metadata if the feedback item doesn't exist (with null field values) - Returns 404 error if the dataset_id itself is invalid or inaccessible - The response includes feedback fields, tags, scores, timestamps, and associated metadata\",\n input: MopinionGetDatasetFeedbackByIdInput,\n output: MopinionGetDatasetFeedbackByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC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AAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACxD,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oBAAoB;AAC9C,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,0EAA0E;CACxJ,OAAO,0CAA0C,SAAS;AAC5D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qHAAqH;AAE/I,MAAa,iCAAiCC,eAAAA,OAAO,uCAAuC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-dataset-feedback-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-dataset-feedback-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 MopinionGetDatasetFeedbackByIdInput = z.object({\n dataset_id: z.number().int().describe(\"Numeric identifier of the dataset (form) containing the feedback. Obtain this from List Datasets action.\"),\n feedback_id: z.number().int().describe(\"Numeric identifier of the specific feedback item to retrieve. Obtain this from Get Dataset Feedback action.\"),\n}).describe(\"Request model for retrieving a single feedback item by its ID.\");\nconst MopinionGetDatasetFeedbackById_FeedbackFieldEntrySchema = z.object({\n key: z.string().describe(\"Field key identifier\").nullable().optional(),\n label: z.string().describe(\"Field label\").nullable().optional(),\n value: z.union([z.string(), z.boolean(), z.number(), z.number().int()]).nullable().optional(),\n}).passthrough().describe(\"Individual field entry in the feedback item.\");\nconst MopinionGetDatasetFeedbackById_FeedbackItemDataSchema = z.object({\n id: z.number().int().describe(\"Feedback item ID\").nullable().optional(),\n tags: z.array(z.string()).describe(\"Associated tags\").nullable().optional(),\n uuid: z.string().describe(\"UUID of the feedback\").nullable().optional(),\n active: z.boolean().describe(\"Whether the feedback is active\").nullable().optional(),\n fields: z.array(MopinionGetDatasetFeedbackById_FeedbackFieldEntrySchema).describe(\"Custom field entries\").nullable().optional(),\n created: z.string().describe(\"Creation timestamp\").nullable().optional(),\n report_id: z.number().int().describe(\"Report/project ID\").nullable().optional(),\n survey_id: z.number().int().describe(\"Dataset/survey ID\").nullable().optional(),\n anonymised: z.union([z.number().int(), z.boolean()]).nullable().optional(),\n survey_name: z.string().describe(\"Name of the survey/form\").nullable().optional(),\n project_name: z.string().describe(\"Name of the project/report\").nullable().optional(),\n scores_object: z.string().describe(\"JSON-encoded map of score field IDs to values\").nullable().optional(),\n}).passthrough().describe(\"Single feedback item data structure.\");\nconst MopinionGetDatasetFeedbackById_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code\").nullable(),\n next: z.boolean().describe(\"Whether 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\").nullable().optional(),\n message: z.string().describe(\"Status message\").nullable(),\n has_more: z.boolean().describe(\"Whether more results are available\").nullable().optional(),\n previous: z.boolean().describe(\"Whether previous page exists\").nullable().optional(),\n warnings: z.array(z.string()).describe(\"Warning messages if any\").nullable().optional(),\n}).passthrough().describe(\"Response metadata.\");\nexport const MopinionGetDatasetFeedbackByIdOutput = z.object({\n data: z.array(MopinionGetDatasetFeedbackById_FeedbackItemDataSchema).describe(\"List containing the requested feedback item (or empty item if not found)\"),\n _meta: MopinionGetDatasetFeedbackById_MetaSchema.nullable(),\n}).passthrough().describe(\"Response model for a single feedback item.\\n\\nContains structured feedback data and metadata from the API response.\");\n\nexport const mopinionGetDatasetFeedbackById: AppAction<\n typeof MopinionGetDatasetFeedbackByIdInput,\n typeof MopinionGetDatasetFeedbackByIdOutput,\n typeof mopinion.credential\n> = action(\"MOPINION_GET_DATASET_FEEDBACK_BY_ID\", {\n slug: \"mopinion-get-dataset-feedback-by-id\",\n name: \"Get Dataset Feedback By ID\",\n description: \"Retrieves a single feedback item by its unique identifier from a specific dataset. Use this tool when you need detailed information about a specific feedback item. First obtain the dataset_id using List Datasets, then get feedback_id values using Get Dataset Feedback. **Important Notes:** - Returns a warning in metadata if the feedback item doesn't exist (with null field values) - Returns 404 error if the dataset_id itself is invalid or inaccessible - The response includes feedback fields, tags, scores, timestamps, and associated metadata\",\n input: MopinionGetDatasetFeedbackByIdInput,\n output: MopinionGetDatasetFeedbackByIdOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0GAA0G;CAChJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6GAA6G;AACtJ,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,0DAA0DA,IAAAA,EAAE,OAAO;CACvE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,OAAOA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;EAAGA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AAoB;AAC9C,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,0EAA0E;CACxJ,OAAO,0CAA0C,SAAS;AAC5D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qHAAqH;AAE/I,MAAa,iCAITC,eAAAA,OAAO,uCAAuC;CAChD,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-feedback-by-id.d.ts
@@ -35,10 +37,7 @@ declare const MopinionGetDatasetFeedbackByIdOutput: z.ZodObject<{
35
37
  warnings: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
36
38
  }, z.core.$loose>>;
37
39
  }, z.core.$loose>;
38
- declare const mopinionGetDatasetFeedbackById: import("@keystrokehq/action").WorkflowActionDefinition<{
39
- dataset_id: number;
40
- feedback_id: number;
41
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
40
+ declare const mopinionGetDatasetFeedbackById: AppAction<typeof MopinionGetDatasetFeedbackByIdInput, typeof MopinionGetDatasetFeedbackByIdOutput, typeof mopinion.credential>;
42
41
  //#endregion
43
42
  export { mopinionGetDatasetFeedbackById };
44
43
  //# sourceMappingURL=get-dataset-feedback-by-id.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-dataset-feedback-by-id.d.cts","names":[],"sources":["../../src/actions/get-dataset-feedback-by-id.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAiCnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKpC,8BAAA,gCAA8B,wBAAA"}
1
+ {"version":3,"file":"get-dataset-feedback-by-id.d.cts","names":[],"sources":["../../src/actions/get-dataset-feedback-by-id.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAiCnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,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-feedback-by-id.d.ts
@@ -35,10 +37,7 @@ declare const MopinionGetDatasetFeedbackByIdOutput: z.ZodObject<{
35
37
  warnings: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
36
38
  }, z.core.$loose>>;
37
39
  }, z.core.$loose>;
38
- declare const mopinionGetDatasetFeedbackById: import("@keystrokehq/action").WorkflowActionDefinition<{
39
- dataset_id: number;
40
- feedback_id: number;
41
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
40
+ declare const mopinionGetDatasetFeedbackById: AppAction<typeof MopinionGetDatasetFeedbackByIdInput, typeof MopinionGetDatasetFeedbackByIdOutput, typeof mopinion.credential>;
42
41
  //#endregion
43
42
  export { mopinionGetDatasetFeedbackById };
44
43
  //# sourceMappingURL=get-dataset-feedback-by-id.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-dataset-feedback-by-id.d.mts","names":[],"sources":["../../src/actions/get-dataset-feedback-by-id.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAiCnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKpC,8BAAA,gCAA8B,wBAAA"}
1
+ {"version":3,"file":"get-dataset-feedback-by-id.d.mts","names":[],"sources":["../../src/actions/get-dataset-feedback-by-id.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAiCnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-dataset-feedback-by-id.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-dataset-feedback-by-id.mjs","names":[],"sources":["../../src/actions/get-dataset-feedback-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetDatasetFeedbackByIdInput = z.object({\n dataset_id: z.number().int().describe(\"Numeric identifier of the dataset (form) containing the feedback. Obtain this from List Datasets action.\"),\n feedback_id: z.number().int().describe(\"Numeric identifier of the specific feedback item to retrieve. Obtain this from Get Dataset Feedback action.\"),\n}).describe(\"Request model for retrieving a single feedback item by its ID.\");\nconst MopinionGetDatasetFeedbackById_FeedbackFieldEntrySchema = z.object({\n key: z.string().describe(\"Field key identifier\").nullable().optional(),\n label: z.string().describe(\"Field label\").nullable().optional(),\n value: z.union([z.string(), z.boolean(), z.number(), z.number().int()]).nullable().optional(),\n}).passthrough().describe(\"Individual field entry in the feedback item.\");\nconst MopinionGetDatasetFeedbackById_FeedbackItemDataSchema = z.object({\n id: z.number().int().describe(\"Feedback item ID\").nullable().optional(),\n tags: z.array(z.string()).describe(\"Associated tags\").nullable().optional(),\n uuid: z.string().describe(\"UUID of the feedback\").nullable().optional(),\n active: z.boolean().describe(\"Whether the feedback is active\").nullable().optional(),\n fields: z.array(MopinionGetDatasetFeedbackById_FeedbackFieldEntrySchema).describe(\"Custom field entries\").nullable().optional(),\n created: z.string().describe(\"Creation timestamp\").nullable().optional(),\n report_id: z.number().int().describe(\"Report/project ID\").nullable().optional(),\n survey_id: z.number().int().describe(\"Dataset/survey ID\").nullable().optional(),\n anonymised: z.union([z.number().int(), z.boolean()]).nullable().optional(),\n survey_name: z.string().describe(\"Name of the survey/form\").nullable().optional(),\n project_name: z.string().describe(\"Name of the project/report\").nullable().optional(),\n scores_object: z.string().describe(\"JSON-encoded map of score field IDs to values\").nullable().optional(),\n}).passthrough().describe(\"Single feedback item data structure.\");\nconst MopinionGetDatasetFeedbackById_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code\").nullable(),\n next: z.boolean().describe(\"Whether 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\").nullable().optional(),\n message: z.string().describe(\"Status message\").nullable(),\n has_more: z.boolean().describe(\"Whether more results are available\").nullable().optional(),\n previous: z.boolean().describe(\"Whether previous page exists\").nullable().optional(),\n warnings: z.array(z.string()).describe(\"Warning messages if any\").nullable().optional(),\n}).passthrough().describe(\"Response metadata.\");\nexport const MopinionGetDatasetFeedbackByIdOutput = z.object({\n data: z.array(MopinionGetDatasetFeedbackById_FeedbackItemDataSchema).describe(\"List containing the requested feedback item (or empty item if not found)\"),\n _meta: MopinionGetDatasetFeedbackById_MetaSchema.nullable(),\n}).passthrough().describe(\"Response model for a single feedback item.\\n\\nContains structured feedback data and metadata from the API response.\");\n\nexport const mopinionGetDatasetFeedbackById = action(\"MOPINION_GET_DATASET_FEEDBACK_BY_ID\", {\n slug: \"mopinion-get-dataset-feedback-by-id\",\n name: \"Get Dataset Feedback By ID\",\n description: \"Retrieves a single feedback item by its unique identifier from a specific dataset. Use this tool when you need detailed information about a specific feedback item. First obtain the dataset_id using List Datasets, then get feedback_id values using Get Dataset Feedback. **Important Notes:** - Returns a warning in metadata if the feedback item doesn't exist (with null field values) - Returns 404 error if the dataset_id itself is invalid or inaccessible - The response includes feedback fields, tags, scores, timestamps, and associated metadata\",\n input: MopinionGetDatasetFeedbackByIdInput,\n output: MopinionGetDatasetFeedbackByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0GAA0G;CAChJ,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6GAA6G;AACtJ,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,0DAA0D,EAAE,OAAO;CACvE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,OAAO,EAAE,MAAM;EAAC,EAAE,OAAO;EAAG,EAAE,QAAQ;EAAG,EAAE,OAAO;EAAG,EAAE,OAAO,CAAC,CAAC,IAAI;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAM,wDAAwD,EAAE,OAAO;CACrE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQ,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,sBAAsB,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CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACxD,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oBAAoB;AAM9C,MAAa,iCAAiC,OAAO,uCAAuC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVkD,EAAE,OAAO;EAC3D,MAAM,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,0EAA0E;EACxJ,OAAO,0CAA0C,SAAS;CAC5D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qHAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-dataset-feedback-by-id.mjs","names":[],"sources":["../../src/actions/get-dataset-feedback-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 MopinionGetDatasetFeedbackByIdInput = z.object({\n dataset_id: z.number().int().describe(\"Numeric identifier of the dataset (form) containing the feedback. Obtain this from List Datasets action.\"),\n feedback_id: z.number().int().describe(\"Numeric identifier of the specific feedback item to retrieve. Obtain this from Get Dataset Feedback action.\"),\n}).describe(\"Request model for retrieving a single feedback item by its ID.\");\nconst MopinionGetDatasetFeedbackById_FeedbackFieldEntrySchema = z.object({\n key: z.string().describe(\"Field key identifier\").nullable().optional(),\n label: z.string().describe(\"Field label\").nullable().optional(),\n value: z.union([z.string(), z.boolean(), z.number(), z.number().int()]).nullable().optional(),\n}).passthrough().describe(\"Individual field entry in the feedback item.\");\nconst MopinionGetDatasetFeedbackById_FeedbackItemDataSchema = z.object({\n id: z.number().int().describe(\"Feedback item ID\").nullable().optional(),\n tags: z.array(z.string()).describe(\"Associated tags\").nullable().optional(),\n uuid: z.string().describe(\"UUID of the feedback\").nullable().optional(),\n active: z.boolean().describe(\"Whether the feedback is active\").nullable().optional(),\n fields: z.array(MopinionGetDatasetFeedbackById_FeedbackFieldEntrySchema).describe(\"Custom field entries\").nullable().optional(),\n created: z.string().describe(\"Creation timestamp\").nullable().optional(),\n report_id: z.number().int().describe(\"Report/project ID\").nullable().optional(),\n survey_id: z.number().int().describe(\"Dataset/survey ID\").nullable().optional(),\n anonymised: z.union([z.number().int(), z.boolean()]).nullable().optional(),\n survey_name: z.string().describe(\"Name of the survey/form\").nullable().optional(),\n project_name: z.string().describe(\"Name of the project/report\").nullable().optional(),\n scores_object: z.string().describe(\"JSON-encoded map of score field IDs to values\").nullable().optional(),\n}).passthrough().describe(\"Single feedback item data structure.\");\nconst MopinionGetDatasetFeedbackById_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code\").nullable(),\n next: z.boolean().describe(\"Whether 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\").nullable().optional(),\n message: z.string().describe(\"Status message\").nullable(),\n has_more: z.boolean().describe(\"Whether more results are available\").nullable().optional(),\n previous: z.boolean().describe(\"Whether previous page exists\").nullable().optional(),\n warnings: z.array(z.string()).describe(\"Warning messages if any\").nullable().optional(),\n}).passthrough().describe(\"Response metadata.\");\nexport const MopinionGetDatasetFeedbackByIdOutput = z.object({\n data: z.array(MopinionGetDatasetFeedbackById_FeedbackItemDataSchema).describe(\"List containing the requested feedback item (or empty item if not found)\"),\n _meta: MopinionGetDatasetFeedbackById_MetaSchema.nullable(),\n}).passthrough().describe(\"Response model for a single feedback item.\\n\\nContains structured feedback data and metadata from the API response.\");\n\nexport const mopinionGetDatasetFeedbackById: AppAction<\n typeof MopinionGetDatasetFeedbackByIdInput,\n typeof MopinionGetDatasetFeedbackByIdOutput,\n typeof mopinion.credential\n> = action(\"MOPINION_GET_DATASET_FEEDBACK_BY_ID\", {\n slug: \"mopinion-get-dataset-feedback-by-id\",\n name: \"Get Dataset Feedback By ID\",\n description: \"Retrieves a single feedback item by its unique identifier from a specific dataset. Use this tool when you need detailed information about a specific feedback item. First obtain the dataset_id using List Datasets, then get feedback_id values using Get Dataset Feedback. **Important Notes:** - Returns a warning in metadata if the feedback item doesn't exist (with null field values) - Returns 404 error if the dataset_id itself is invalid or inaccessible - The response includes feedback fields, tags, scores, timestamps, and associated metadata\",\n input: MopinionGetDatasetFeedbackByIdInput,\n output: MopinionGetDatasetFeedbackByIdOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0GAA0G;CAChJ,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6GAA6G;AACtJ,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,0DAA0D,EAAE,OAAO;CACvE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,OAAO,EAAE,MAAM;EAAC,EAAE,OAAO;EAAG,EAAE,QAAQ;EAAG,EAAE,OAAO;EAAG,EAAE,OAAO,CAAC,CAAC,IAAI;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAM,wDAAwD,EAAE,OAAO;CACrE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS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S,kBAAkB,CAAC,CAAC,SAAS;CAC7D,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,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,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACxD,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oBAAoB;AAM9C,MAAa,iCAIT,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdkD,EAAE,OAAO;EAC3D,MAAM,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,0EAA0E;EACxJ,OAAO,0CAA0C,SAAS;CAC5D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qHAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-dataset-feedback.ts
@@ -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.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,SAAS;CAClE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS;CACvL,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;AACnG,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,sDAAsDA,IAAAA,EAAE,OAAO;CACnE,KAAKA,IAAAA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AC,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"}
1
+ {"version":3,"file":"get-dataset-feedback.cjs","names":["z","action"],"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,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CA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SAAS;CACjG,SAASA,IAAAA,EAAE,OAAO,CAAC,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,6BAITC,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-dataset-feedback.d.ts
@@ -38,12 +40,7 @@ declare const MopinionGetDatasetFeedbackOutput: z.ZodObject<{
38
40
  previous: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>;
39
41
  }, z.core.$loose>>;
40
42
  }, z.core.$loose>;
41
- declare const mopinionGetDatasetFeedback: import("@keystrokehq/action").WorkflowActionDefinition<{
42
- dataset_id: number;
43
- page?: number | undefined;
44
- limit?: number | undefined;
45
- filters?: Record<string, unknown> | undefined;
46
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
43
+ declare const mopinionGetDatasetFeedback: AppAction<typeof MopinionGetDatasetFeedbackInput, typeof MopinionGetDatasetFeedbackOutput, typeof mopinion.credential>;
47
44
  //#endregion
48
45
  export { mopinionGetDatasetFeedback };
49
46
  //# sourceMappingURL=get-dataset-feedback.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-dataset-feedback.d.cts","names":[],"sources":["../../src/actions/get-dataset-feedback.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;cAqC/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKhC,0BAAA,gCAA0B,wBAAA;;;;YAMrC,MAAA;AAAA"}
1
+ {"version":3,"file":"get-dataset-feedback.d.cts","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,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-feedback.d.ts
@@ -38,12 +40,7 @@ declare const MopinionGetDatasetFeedbackOutput: z.ZodObject<{
38
40
  previous: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>;
39
41
  }, z.core.$loose>>;
40
42
  }, z.core.$loose>;
41
- declare const mopinionGetDatasetFeedback: import("@keystrokehq/action").WorkflowActionDefinition<{
42
- dataset_id: number;
43
- page?: number | undefined;
44
- limit?: number | undefined;
45
- filters?: Record<string, unknown> | undefined;
46
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
43
+ declare const mopinionGetDatasetFeedback: AppAction<typeof MopinionGetDatasetFeedbackInput, typeof MopinionGetDatasetFeedbackOutput, typeof mopinion.credential>;
47
44
  //#endregion
48
45
  export { mopinionGetDatasetFeedback };
49
46
  //# sourceMappingURL=get-dataset-feedback.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-dataset-feedback.d.mts","names":[],"sources":["../../src/actions/get-dataset-feedback.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;cAqC/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKhC,0BAAA,gCAA0B,wBAAA;;;;YAMrC,MAAA;AAAA"}
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,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-dataset-feedback.ts
@@ -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":";;;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,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,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AAO,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,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"}
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,OA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AS,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,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-dataset-fields.ts
@@ -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":";;;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"}
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,9 +9,7 @@ declare const MopinionGetDatasetFieldsInput: z.ZodObject<{
7
9
  declare const MopinionGetDatasetFieldsOutput: z.ZodObject<{
8
10
  fields: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
9
11
  }, z.core.$loose>;
10
- declare const mopinionGetDatasetFields: import("@keystrokehq/action").WorkflowActionDefinition<{
11
- dataset_id: number;
12
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
12
+ declare const mopinionGetDatasetFields: AppAction<typeof MopinionGetDatasetFieldsInput, typeof MopinionGetDatasetFieldsOutput, typeof mopinion.credential>;
13
13
  //#endregion
14
14
  export { mopinionGetDatasetFields };
15
15
  //# sourceMappingURL=get-dataset-fields.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-dataset-fields.d.cts","names":[],"sources":["../../src/actions/get-dataset-fields.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"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"}