@keystrokehq/mopinion 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 -17
  6. package/dist/actions/get-account.d.cts.map +1 -1
  7. package/dist/actions/get-account.d.mts +3 -17
  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 -19
  14. package/dist/actions/get-dataset-by-id.d.cts.map +1 -1
  15. package/dist/actions/get-dataset-by-id.d.mts +3 -19
  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 -20
  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 -20
  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 -22
  30. package/dist/actions/get-dataset-feedback.d.cts.map +1 -1
  31. package/dist/actions/get-dataset-feedback.d.mts +3 -22
  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 -19
  38. package/dist/actions/get-dataset-fields.d.cts.map +1 -1
  39. package/dist/actions/get-dataset-fields.d.mts +3 -19
  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 -19
  46. package/dist/actions/get-deployment-by-id.d.cts.map +1 -1
  47. package/dist/actions/get-deployment-by-id.d.mts +3 -19
  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 -20
  54. package/dist/actions/get-deployments.d.cts.map +1 -1
  55. package/dist/actions/get-deployments.d.mts +3 -20
  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 -19
  62. package/dist/actions/get-report-by-id.d.cts.map +1 -1
  63. package/dist/actions/get-report-by-id.d.mts +3 -19
  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 -22
  70. package/dist/actions/get-report-feedback.d.cts.map +1 -1
  71. package/dist/actions/get-report-feedback.d.mts +3 -22
  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 -19
  78. package/dist/actions/get-report-fields.d.cts.map +1 -1
  79. package/dist/actions/get-report-fields.d.mts +3 -19
  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 -21
  86. package/dist/actions/get-root.d.cts.map +1 -1
  87. package/dist/actions/get-root.d.mts +3 -21
  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 +6 -5
  92. package/dist/app.cjs.map +1 -1
  93. package/dist/app.d.cts +4 -6
  94. package/dist/app.d.cts.map +1 -1
  95. package/dist/app.d.mts +4 -6
  96. package/dist/app.d.mts.map +1 -1
  97. package/dist/app.mjs +0 -1
  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,3 +1,5 @@
1
+ import { mopinion } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-report-feedback.d.ts
@@ -25,28 +27,7 @@ declare const MopinionGetReportFeedbackOutput: z.ZodObject<{
25
27
  dataset_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
28
  }, z.core.$loose>>;
27
29
  }, z.core.$loose>;
28
- declare const mopinionGetReportFeedback: import("@keystrokehq/action").WorkflowActionDefinition<{
29
- report_id: number;
30
- page?: number | undefined;
31
- limit?: number | undefined;
32
- filters?: Record<string, unknown> | undefined;
33
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mopinion", z.ZodObject<{
34
- connectionId: z.ZodString;
35
- entityId: z.ZodString;
36
- instanceId: z.ZodString;
37
- }, z.core.$strip>, z.ZodObject<{
38
- generic_api_key: z.ZodString;
39
- generic_id: z.ZodString;
40
- generic_id_2: z.ZodString;
41
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mopinion", z.ZodObject<{
42
- connectionId: z.ZodString;
43
- entityId: z.ZodString;
44
- instanceId: z.ZodString;
45
- }, z.core.$strip>, z.ZodObject<{
46
- generic_api_key: z.ZodString;
47
- generic_id: z.ZodString;
48
- generic_id_2: z.ZodString;
49
- }, z.core.$strip>>]>;
30
+ declare const mopinionGetReportFeedback: AppAction<typeof MopinionGetReportFeedbackInput, typeof MopinionGetReportFeedbackOutput, typeof mopinion.credential>;
50
31
  //#endregion
51
32
  export { mopinionGetReportFeedback };
52
33
  //# sourceMappingURL=get-report-feedback.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-report-feedback.d.cts","names":[],"sources":["../../src/actions/get-report-feedback.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAsB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAK/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"get-report-feedback.d.cts","names":[],"sources":["../../src/actions/get-report-feedback.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAsB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAK/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { mopinion } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-report-feedback.d.ts
@@ -25,28 +27,7 @@ declare const MopinionGetReportFeedbackOutput: z.ZodObject<{
25
27
  dataset_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
28
  }, z.core.$loose>>;
27
29
  }, z.core.$loose>;
28
- declare const mopinionGetReportFeedback: import("@keystrokehq/action").WorkflowActionDefinition<{
29
- report_id: number;
30
- page?: number | undefined;
31
- limit?: number | undefined;
32
- filters?: Record<string, unknown> | undefined;
33
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mopinion", z.ZodObject<{
34
- connectionId: z.ZodString;
35
- entityId: z.ZodString;
36
- instanceId: z.ZodString;
37
- }, z.core.$strip>, z.ZodObject<{
38
- generic_api_key: z.ZodString;
39
- generic_id: z.ZodString;
40
- generic_id_2: z.ZodString;
41
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mopinion", z.ZodObject<{
42
- connectionId: z.ZodString;
43
- entityId: z.ZodString;
44
- instanceId: z.ZodString;
45
- }, z.core.$strip>, z.ZodObject<{
46
- generic_api_key: z.ZodString;
47
- generic_id: z.ZodString;
48
- generic_id_2: z.ZodString;
49
- }, z.core.$strip>>]>;
30
+ declare const mopinionGetReportFeedback: AppAction<typeof MopinionGetReportFeedbackInput, typeof MopinionGetReportFeedbackOutput, typeof mopinion.credential>;
50
31
  //#endregion
51
32
  export { mopinionGetReportFeedback };
52
33
  //# sourceMappingURL=get-report-feedback.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-report-feedback.d.mts","names":[],"sources":["../../src/actions/get-report-feedback.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAsB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAK/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"get-report-feedback.d.mts","names":[],"sources":["../../src/actions/get-report-feedback.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAsB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAK/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,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-report-feedback.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-report-feedback.mjs","names":[],"sources":["../../src/actions/get-report-feedback.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetReportFeedbackInput = z.object({\n page: z.number().int().describe(\"Page number to retrieve (1-based).\").optional(),\n limit: z.number().int().describe(\"Maximum number of feedback items to return per page (1-100).\").optional(),\n filters: z.record(z.string(), z.unknown()).describe(\"Server-side filters serialized as filter[field]=value in query parameters.\").optional(),\n report_id: z.number().int().describe(\"The unique identifier of the report to retrieve feedback for.\"),\n}).describe(\"Request model for GET_REPORT_FEEDBACK action.\");\nconst MopinionGetReportFeedback_FeedbackMetadataSchema = z.object({\n code: z.number().int().describe(\"HTTP status code of the response.\").nullable(),\n next: z.boolean().describe(\"Whether a next page exists.\").nullable(),\n count: z.number().int().describe(\"Number of items in current response.\").nullable(),\n total: z.number().int().describe(\"Total number of items across all pages.\").nullable(),\n message: z.string().describe(\"Status message from the API.\").nullable(),\n has_more: z.boolean().describe(\"Whether more results are available for pagination.\").nullable(),\n previous: z.boolean().describe(\"Whether a previous page exists.\").nullable(),\n}).passthrough().describe(\"Metadata structure for API responses.\");\nconst MopinionGetReportFeedback_FeedbackItemSchema = z.object({\n id: z.number().int().describe(\"Unique feedback ID.\").nullable().optional(),\n tags: z.array(z.string()).describe(\"Tags associated with feedback.\").nullable().optional(),\n created: z.string().describe(\"Feedback creation timestamp.\").nullable().optional(),\n report_id: z.number().int().describe(\"Associated report ID.\").nullable().optional(),\n dataset_id: z.number().int().describe(\"Associated dataset ID.\").nullable().optional(),\n}).passthrough().describe(\"Individual feedback item structure.\\nNote: Feedback items have dynamic fields based on form configuration.\\nCommon fields are typed, while custom fields are in extra_fields.\");\nexport const MopinionGetReportFeedbackOutput = z.object({\n _meta: MopinionGetReportFeedback_FeedbackMetadataSchema.nullable(),\n feedback: z.array(MopinionGetReportFeedback_FeedbackItemSchema).describe(\"List of feedback items with typed common fields and dynamic custom fields.\"),\n}).passthrough().describe(\"Response model for GET_REPORT_FEEDBACK action.\");\n\nexport const mopinionGetReportFeedback = action(\"MOPINION_GET_REPORT_FEEDBACK\", {\n slug: \"mopinion-get-report-feedback\",\n name: \"Get Report Feedback\",\n description: \"Tool to retrieve feedback items for a report. Use when you need paginated and filtered feedback entries for analysis.\",\n input: MopinionGetReportFeedbackInput,\n output: MopinionGetReportFeedbackOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC1G,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAC3I,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;AACtG,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,mDAAmD,EAAE,OAAO;CAChE,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,sCAAsC,CAAC,CAAC,SAAS;CAClF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACrF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACtE,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC9F,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAM,+CAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+KAA+K;AAMzM,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV6C,EAAE,OAAO;EACtD,OAAO,iDAAiD,SAAS;EACjE,UAAU,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,4EAA4E;CACvJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-report-feedback.mjs","names":[],"sources":["../../src/actions/get-report-feedback.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mopinion } from \"../app\";\n\nexport const MopinionGetReportFeedbackInput = z.object({\n page: z.number().int().describe(\"Page number to retrieve (1-based).\").optional(),\n limit: z.number().int().describe(\"Maximum number of feedback items to return per page (1-100).\").optional(),\n filters: z.record(z.string(), z.unknown()).describe(\"Server-side filters serialized as filter[field]=value in query parameters.\").optional(),\n report_id: z.number().int().describe(\"The unique identifier of the report to retrieve feedback for.\"),\n}).describe(\"Request model for GET_REPORT_FEEDBACK action.\");\nconst MopinionGetReportFeedback_FeedbackMetadataSchema = z.object({\n code: z.number().int().describe(\"HTTP status code of the response.\").nullable(),\n next: z.boolean().describe(\"Whether a next page exists.\").nullable(),\n count: z.number().int().describe(\"Number of items in current response.\").nullable(),\n total: z.number().int().describe(\"Total number of items across all pages.\").nullable(),\n message: z.string().describe(\"Status message from the API.\").nullable(),\n has_more: z.boolean().describe(\"Whether more results are available for pagination.\").nullable(),\n previous: z.boolean().describe(\"Whether a previous page exists.\").nullable(),\n}).passthrough().describe(\"Metadata structure for API responses.\");\nconst MopinionGetReportFeedback_FeedbackItemSchema = z.object({\n id: z.number().int().describe(\"Unique feedback ID.\").nullable().optional(),\n tags: z.array(z.string()).describe(\"Tags associated with feedback.\").nullable().optional(),\n created: z.string().describe(\"Feedback creation timestamp.\").nullable().optional(),\n report_id: z.number().int().describe(\"Associated report ID.\").nullable().optional(),\n dataset_id: z.number().int().describe(\"Associated dataset ID.\").nullable().optional(),\n}).passthrough().describe(\"Individual feedback item structure.\\nNote: Feedback items have dynamic fields based on form configuration.\\nCommon fields are typed, while custom fields are in extra_fields.\");\nexport const MopinionGetReportFeedbackOutput = z.object({\n _meta: MopinionGetReportFeedback_FeedbackMetadataSchema.nullable(),\n feedback: z.array(MopinionGetReportFeedback_FeedbackItemSchema).describe(\"List of feedback items with typed common fields and dynamic custom fields.\"),\n}).passthrough().describe(\"Response model for GET_REPORT_FEEDBACK action.\");\n\nexport const mopinionGetReportFeedback: AppAction<\n typeof MopinionGetReportFeedbackInput,\n typeof MopinionGetReportFeedbackOutput,\n typeof mopinion.credential\n> = action(\"MOPINION_GET_REPORT_FEEDBACK\", {\n slug: \"mopinion-get-report-feedback\",\n name: \"Get Report Feedback\",\n description: \"Tool to retrieve feedback items for a report. Use when you need paginated and filtered feedback entries for analysis.\",\n input: MopinionGetReportFeedbackInput,\n output: MopinionGetReportFeedbackOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC1G,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAC3I,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;AACtG,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,mDAAmD,EAAE,OAAO;CAChE,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,sCAAsC,CAAC,CAAC,SAAS;CAClF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACrF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACtE,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC9F,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAM,+CAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+KAA+K;AAMzM,MAAa,4BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd6C,EAAE,OAAO;EACtD,OAAO,iDAAiD,SAAS;EACjE,UAAU,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,4EAA4E;CACvJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAWhB;AACV,CAAC"}
@@ -1,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-report-fields.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-report-fields.cjs","names":["z","action"],"sources":["../../src/actions/get-report-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetReportFieldsInput = z.object({\n report_id: z.number().int().describe(\"The unique ID of the report to retrieve fields for.\"),\n}).describe(\"Request model for fetching report field definitions.\");\nconst MopinionGetReportFields_FieldDefinitionSchema = z.object({\n id: z.number().int().describe(\"Internal field identifier.\").nullable(),\n name: z.string().describe(\"Field name.\").nullable(),\n type: z.string().describe(\"Field data type, e.g., 'text', 'textarea', 'email'.\").nullable(),\n label: z.string().describe(\"Field label shown in UI.\").nullable(),\n readOnly: z.boolean().describe(\"Whether the field is read-only.\").nullable(),\n required: z.boolean().describe(\"Whether the field is required.\").nullable(),\n formatter: z.string().describe(\"Formatter used for this field, if any.\").nullable().optional(),\n defaultValue: z.string().describe(\"Default value for this field, if any.\").nullable().optional(),\n}).passthrough().describe(\"Definition of a single field within a report schema.\");\nexport const MopinionGetReportFieldsOutput = z.object({\n fields: z.array(MopinionGetReportFields_FieldDefinitionSchema).describe(\"List of field definitions for the report.\"),\n}).passthrough().describe(\"Response model containing a list of field definitions for the report.\");\n\nexport const mopinionGetReportFields = action(\"MOPINION_GET_REPORT_FIELDS\", {\n slug: \"mopinion-get-report-fields\",\n name: \"Get Report Fields\",\n description: \"Tool to retrieve field definitions for a specific report. Use when you need the schema of a report's feedback fields before constructing or analyzing forms.\",\n input: MopinionGetReportFieldsInput,\n output: MopinionGetReportFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,EAC5F,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC1F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAChE,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC3E,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC1E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,QAAQA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,2CAA2C,EACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uEAAuE;AAEjG,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-report-fields.cjs","names":["z","action"],"sources":["../../src/actions/get-report-fields.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mopinion } from \"../app\";\n\nexport const MopinionGetReportFieldsInput = z.object({\n report_id: z.number().int().describe(\"The unique ID of the report to retrieve fields for.\"),\n}).describe(\"Request model for fetching report field definitions.\");\nconst MopinionGetReportFields_FieldDefinitionSchema = z.object({\n id: z.number().int().describe(\"Internal field identifier.\").nullable(),\n name: z.string().describe(\"Field name.\").nullable(),\n type: z.string().describe(\"Field data type, e.g., 'text', 'textarea', 'email'.\").nullable(),\n label: z.string().describe(\"Field label shown in UI.\").nullable(),\n readOnly: z.boolean().describe(\"Whether the field is read-only.\").nullable(),\n required: z.boolean().describe(\"Whether the field is required.\").nullable(),\n formatter: z.string().describe(\"Formatter used for this field, if any.\").nullable().optional(),\n defaultValue: z.string().describe(\"Default value for this field, if any.\").nullable().optional(),\n}).passthrough().describe(\"Definition of a single field within a report schema.\");\nexport const MopinionGetReportFieldsOutput = z.object({\n fields: z.array(MopinionGetReportFields_FieldDefinitionSchema).describe(\"List of field definitions for the report.\"),\n}).passthrough().describe(\"Response model containing a list of field definitions for the report.\");\n\nexport const mopinionGetReportFields: AppAction<\n typeof MopinionGetReportFieldsInput,\n typeof MopinionGetReportFieldsOutput,\n typeof mopinion.credential\n> = action(\"MOPINION_GET_REPORT_FIELDS\", {\n slug: \"mopinion-get-report-fields\",\n name: \"Get Report Fields\",\n description: \"Tool to retrieve field definitions for a specific report. Use when you need the schema of a report's feedback fields before constructing or analyzing forms.\",\n input: MopinionGetReportFieldsInput,\n output: MopinionGetReportFieldsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,EAC5F,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC1F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAChE,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC3E,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC1E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,QAAQA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,2CAA2C,EACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uEAAuE;AAEjG,MAAa,0BAITC,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-report-fields.d.ts
@@ -16,25 +18,7 @@ declare const MopinionGetReportFieldsOutput: z.ZodObject<{
16
18
  defaultValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
19
  }, z.core.$loose>>;
18
20
  }, z.core.$loose>;
19
- declare const mopinionGetReportFields: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- report_id: number;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mopinion", z.ZodObject<{
22
- connectionId: z.ZodString;
23
- entityId: z.ZodString;
24
- instanceId: z.ZodString;
25
- }, z.core.$strip>, z.ZodObject<{
26
- generic_api_key: z.ZodString;
27
- generic_id: z.ZodString;
28
- generic_id_2: z.ZodString;
29
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mopinion", z.ZodObject<{
30
- connectionId: z.ZodString;
31
- entityId: z.ZodString;
32
- instanceId: z.ZodString;
33
- }, z.core.$strip>, z.ZodObject<{
34
- generic_api_key: z.ZodString;
35
- generic_id: z.ZodString;
36
- generic_id_2: z.ZodString;
37
- }, z.core.$strip>>]>;
21
+ declare const mopinionGetReportFields: AppAction<typeof MopinionGetReportFieldsInput, typeof MopinionGetReportFieldsOutput, typeof mopinion.credential>;
38
22
  //#endregion
39
23
  export { mopinionGetReportFields };
40
24
  //# sourceMappingURL=get-report-fields.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-report-fields.d.cts","names":[],"sources":["../../src/actions/get-report-fields.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAa5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"get-report-fields.d.cts","names":[],"sources":["../../src/actions/get-report-fields.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAa5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { mopinion } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-report-fields.d.ts
@@ -16,25 +18,7 @@ declare const MopinionGetReportFieldsOutput: z.ZodObject<{
16
18
  defaultValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
19
  }, z.core.$loose>>;
18
20
  }, z.core.$loose>;
19
- declare const mopinionGetReportFields: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- report_id: number;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mopinion", z.ZodObject<{
22
- connectionId: z.ZodString;
23
- entityId: z.ZodString;
24
- instanceId: z.ZodString;
25
- }, z.core.$strip>, z.ZodObject<{
26
- generic_api_key: z.ZodString;
27
- generic_id: z.ZodString;
28
- generic_id_2: z.ZodString;
29
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mopinion", z.ZodObject<{
30
- connectionId: z.ZodString;
31
- entityId: z.ZodString;
32
- instanceId: z.ZodString;
33
- }, z.core.$strip>, z.ZodObject<{
34
- generic_api_key: z.ZodString;
35
- generic_id: z.ZodString;
36
- generic_id_2: z.ZodString;
37
- }, z.core.$strip>>]>;
21
+ declare const mopinionGetReportFields: AppAction<typeof MopinionGetReportFieldsInput, typeof MopinionGetReportFieldsOutput, typeof mopinion.credential>;
38
22
  //#endregion
39
23
  export { mopinionGetReportFields };
40
24
  //# sourceMappingURL=get-report-fields.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-report-fields.d.mts","names":[],"sources":["../../src/actions/get-report-fields.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAa5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"get-report-fields.d.mts","names":[],"sources":["../../src/actions/get-report-fields.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAa5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,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-report-fields.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-report-fields.mjs","names":[],"sources":["../../src/actions/get-report-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetReportFieldsInput = z.object({\n report_id: z.number().int().describe(\"The unique ID of the report to retrieve fields for.\"),\n}).describe(\"Request model for fetching report field definitions.\");\nconst MopinionGetReportFields_FieldDefinitionSchema = z.object({\n id: z.number().int().describe(\"Internal field identifier.\").nullable(),\n name: z.string().describe(\"Field name.\").nullable(),\n type: z.string().describe(\"Field data type, e.g., 'text', 'textarea', 'email'.\").nullable(),\n label: z.string().describe(\"Field label shown in UI.\").nullable(),\n readOnly: z.boolean().describe(\"Whether the field is read-only.\").nullable(),\n required: z.boolean().describe(\"Whether the field is required.\").nullable(),\n formatter: z.string().describe(\"Formatter used for this field, if any.\").nullable().optional(),\n defaultValue: z.string().describe(\"Default value for this field, if any.\").nullable().optional(),\n}).passthrough().describe(\"Definition of a single field within a report schema.\");\nexport const MopinionGetReportFieldsOutput = z.object({\n fields: z.array(MopinionGetReportFields_FieldDefinitionSchema).describe(\"List of field definitions for the report.\"),\n}).passthrough().describe(\"Response model containing a list of field definitions for the report.\");\n\nexport const mopinionGetReportFields = action(\"MOPINION_GET_REPORT_FIELDS\", {\n slug: \"mopinion-get-report-fields\",\n name: \"Get Report Fields\",\n description: \"Tool to retrieve field definitions for a specific report. Use when you need the schema of a report's feedback fields before constructing or analyzing forms.\",\n input: MopinionGetReportFieldsInput,\n output: MopinionGetReportFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO,EACnD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,EAC5F,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,gDAAgD,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC1F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAChE,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC3E,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAKhF,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2C,EAAE,OAAO,EACpD,QAAQ,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,2CAA2C,EACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uEAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-report-fields.mjs","names":[],"sources":["../../src/actions/get-report-fields.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mopinion } from \"../app\";\n\nexport const MopinionGetReportFieldsInput = z.object({\n report_id: z.number().int().describe(\"The unique ID of the report to retrieve fields for.\"),\n}).describe(\"Request model for fetching report field definitions.\");\nconst MopinionGetReportFields_FieldDefinitionSchema = z.object({\n id: z.number().int().describe(\"Internal field identifier.\").nullable(),\n name: z.string().describe(\"Field name.\").nullable(),\n type: z.string().describe(\"Field data type, e.g., 'text', 'textarea', 'email'.\").nullable(),\n label: z.string().describe(\"Field label shown in UI.\").nullable(),\n readOnly: z.boolean().describe(\"Whether the field is read-only.\").nullable(),\n required: z.boolean().describe(\"Whether the field is required.\").nullable(),\n formatter: z.string().describe(\"Formatter used for this field, if any.\").nullable().optional(),\n defaultValue: z.string().describe(\"Default value for this field, if any.\").nullable().optional(),\n}).passthrough().describe(\"Definition of a single field within a report schema.\");\nexport const MopinionGetReportFieldsOutput = z.object({\n fields: z.array(MopinionGetReportFields_FieldDefinitionSchema).describe(\"List of field definitions for the report.\"),\n}).passthrough().describe(\"Response model containing a list of field definitions for the report.\");\n\nexport const mopinionGetReportFields: AppAction<\n typeof MopinionGetReportFieldsInput,\n typeof MopinionGetReportFieldsOutput,\n typeof mopinion.credential\n> = action(\"MOPINION_GET_REPORT_FIELDS\", {\n slug: \"mopinion-get-report-fields\",\n name: \"Get Report Fields\",\n description: \"Tool to retrieve field definitions for a specific report. Use when you need the schema of a report's feedback fields before constructing or analyzing forms.\",\n input: MopinionGetReportFieldsInput,\n output: MopinionGetReportFieldsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO,EACnD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,EAC5F,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,gDAAgD,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC1F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAChE,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC3E,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAKhF,MAAa,0BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb2C,EAAE,OAAO,EACpD,QAAQ,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,2CAA2C,EACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uEAWhB;AACV,CAAC"}
@@ -1,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-root.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-root.cjs","names":["z","action"],"sources":["../../src/actions/get-root.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetRootInput = z.object({\n extra_path: z.string().describe(\"Optional path to append to the base URL. Defaults to '/ping' for the standard health check endpoint. Use this to test other endpoints if needed.\").optional(),\n custom_base_url: z.string().describe(\"Optional override for the Mopinion API base URL. If not provided, the action uses the connection's base_url when it points to a Mopinion domain; otherwise it falls back to 'https://api.mopinion.com'.\").optional(),\n include_auth_header: z.boolean().default(false).describe(\"Whether to include the Authorization header in the request. Defaults to False because the root ping does not require authentication.\").optional(),\n}).describe(\"Request model for GetRoot action.\");\nexport const MopinionGetRootOutput = z.object({\n code: z.number().int().describe(\"HTTP status code returned by the API\").nullable(),\n version: z.string().describe(\"Current Mopinion API version\").nullable(),\n response: z.string().describe(\"Ping response from the server, typically 'pong'\").nullable(),\n}).passthrough().describe(\"Response model for GetRoot action.\");\n\nexport const mopinionGetRoot = action(\"MOPINION_GET_ROOT\", {\n slug: \"mopinion-get-root\",\n name: \"Get API Root\",\n description: \"Check Mopinion API availability and get version information. Pings the API health check endpoint (/ping) and returns status code, 'pong' response, and current API version. Use this to verify the API is reachable and operational.\",\n input: MopinionGetRootInput,\n output: MopinionGetRootOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kJAAkJ,CAAC,CAAC,SAAS;CAC7L,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yMAAyM,CAAC,CAAC,SAAS;CACzP,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;AAC5M,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAE9D,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-root.cjs","names":["z","action"],"sources":["../../src/actions/get-root.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mopinion } from \"../app\";\n\nexport const MopinionGetRootInput = z.object({\n extra_path: z.string().describe(\"Optional path to append to the base URL. Defaults to '/ping' for the standard health check endpoint. Use this to test other endpoints if needed.\").optional(),\n custom_base_url: z.string().describe(\"Optional override for the Mopinion API base URL. If not provided, the action uses the connection's base_url when it points to a Mopinion domain; otherwise it falls back to 'https://api.mopinion.com'.\").optional(),\n include_auth_header: z.boolean().default(false).describe(\"Whether to include the Authorization header in the request. Defaults to False because the root ping does not require authentication.\").optional(),\n}).describe(\"Request model for GetRoot action.\");\nexport const MopinionGetRootOutput = z.object({\n code: z.number().int().describe(\"HTTP status code returned by the API\").nullable(),\n version: z.string().describe(\"Current Mopinion API version\").nullable(),\n response: z.string().describe(\"Ping response from the server, typically 'pong'\").nullable(),\n}).passthrough().describe(\"Response model for GetRoot action.\");\n\nexport const mopinionGetRoot: AppAction<\n typeof MopinionGetRootInput,\n typeof MopinionGetRootOutput,\n typeof mopinion.credential\n> = action(\"MOPINION_GET_ROOT\", {\n slug: \"mopinion-get-root\",\n name: \"Get API Root\",\n description: \"Check Mopinion API availability and get version information. Pings the API health check endpoint (/ping) and returns status code, 'pong' response, and current API version. Use this to verify the API is reachable and operational.\",\n input: MopinionGetRootInput,\n output: MopinionGetRootOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kJAAkJ,CAAC,CAAC,SAAS;CAC7L,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yMAAyM,CAAC,CAAC,SAAS;CACzP,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;AAC5M,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAE9D,MAAa,kBAITC,eAAAA,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -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-root.d.ts
@@ -11,27 +13,7 @@ declare const MopinionGetRootOutput: z.ZodObject<{
11
13
  version: z.ZodNullable<z.ZodString>;
12
14
  response: z.ZodNullable<z.ZodString>;
13
15
  }, z.core.$loose>;
14
- declare const mopinionGetRoot: import("@keystrokehq/action").WorkflowActionDefinition<{
15
- extra_path?: string | undefined;
16
- custom_base_url?: string | undefined;
17
- include_auth_header?: boolean | undefined;
18
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mopinion", z.ZodObject<{
19
- connectionId: z.ZodString;
20
- entityId: z.ZodString;
21
- instanceId: z.ZodString;
22
- }, z.core.$strip>, z.ZodObject<{
23
- generic_api_key: z.ZodString;
24
- generic_id: z.ZodString;
25
- generic_id_2: z.ZodString;
26
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mopinion", z.ZodObject<{
27
- connectionId: z.ZodString;
28
- entityId: z.ZodString;
29
- instanceId: z.ZodString;
30
- }, z.core.$strip>, z.ZodObject<{
31
- generic_api_key: z.ZodString;
32
- generic_id: z.ZodString;
33
- generic_id_2: z.ZodString;
34
- }, z.core.$strip>>]>;
16
+ declare const mopinionGetRoot: AppAction<typeof MopinionGetRootInput, typeof MopinionGetRootOutput, typeof mopinion.credential>;
35
17
  //#endregion
36
18
  export { mopinionGetRoot };
37
19
  //# sourceMappingURL=get-root.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-root.d.cts","names":[],"sources":["../../src/actions/get-root.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;cAKpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;cAMrB,eAAA,gCAAe,wBAAA"}
1
+ {"version":3,"file":"get-root.d.cts","names":[],"sources":["../../src/actions/get-root.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;cAKpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;cAMrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,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-root.d.ts
@@ -11,27 +13,7 @@ declare const MopinionGetRootOutput: z.ZodObject<{
11
13
  version: z.ZodNullable<z.ZodString>;
12
14
  response: z.ZodNullable<z.ZodString>;
13
15
  }, z.core.$loose>;
14
- declare const mopinionGetRoot: import("@keystrokehq/action").WorkflowActionDefinition<{
15
- extra_path?: string | undefined;
16
- custom_base_url?: string | undefined;
17
- include_auth_header?: boolean | undefined;
18
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mopinion", z.ZodObject<{
19
- connectionId: z.ZodString;
20
- entityId: z.ZodString;
21
- instanceId: z.ZodString;
22
- }, z.core.$strip>, z.ZodObject<{
23
- generic_api_key: z.ZodString;
24
- generic_id: z.ZodString;
25
- generic_id_2: z.ZodString;
26
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mopinion", z.ZodObject<{
27
- connectionId: z.ZodString;
28
- entityId: z.ZodString;
29
- instanceId: z.ZodString;
30
- }, z.core.$strip>, z.ZodObject<{
31
- generic_api_key: z.ZodString;
32
- generic_id: z.ZodString;
33
- generic_id_2: z.ZodString;
34
- }, z.core.$strip>>]>;
16
+ declare const mopinionGetRoot: AppAction<typeof MopinionGetRootInput, typeof MopinionGetRootOutput, typeof mopinion.credential>;
35
17
  //#endregion
36
18
  export { mopinionGetRoot };
37
19
  //# sourceMappingURL=get-root.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-root.d.mts","names":[],"sources":["../../src/actions/get-root.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;cAKpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;cAMrB,eAAA,gCAAe,wBAAA"}
1
+ {"version":3,"file":"get-root.d.mts","names":[],"sources":["../../src/actions/get-root.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;cAKpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;cAMrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,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
  const mopinionGetRoot = action("MOPINION_GET_ROOT", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-root.mjs","names":[],"sources":["../../src/actions/get-root.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MopinionGetRootInput = z.object({\n extra_path: z.string().describe(\"Optional path to append to the base URL. Defaults to '/ping' for the standard health check endpoint. Use this to test other endpoints if needed.\").optional(),\n custom_base_url: z.string().describe(\"Optional override for the Mopinion API base URL. If not provided, the action uses the connection's base_url when it points to a Mopinion domain; otherwise it falls back to 'https://api.mopinion.com'.\").optional(),\n include_auth_header: z.boolean().default(false).describe(\"Whether to include the Authorization header in the request. Defaults to False because the root ping does not require authentication.\").optional(),\n}).describe(\"Request model for GetRoot action.\");\nexport const MopinionGetRootOutput = z.object({\n code: z.number().int().describe(\"HTTP status code returned by the API\").nullable(),\n version: z.string().describe(\"Current Mopinion API version\").nullable(),\n response: z.string().describe(\"Ping response from the server, typically 'pong'\").nullable(),\n}).passthrough().describe(\"Response model for GetRoot action.\");\n\nexport const mopinionGetRoot = action(\"MOPINION_GET_ROOT\", {\n slug: \"mopinion-get-root\",\n name: \"Get API Root\",\n description: \"Check Mopinion API availability and get version information. Pings the API health check endpoint (/ping) and returns status code, 'pong' response, and current API version. Use this to verify the API is reachable and operational.\",\n input: MopinionGetRootInput,\n output: MopinionGetRootOutput,\n});\n"],"mappings":";;AAeA,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfkC,EAAE,OAAO;EAC3C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kJAAkJ,CAAC,CAAC,SAAS;EAC7L,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yMAAyM,CAAC,CAAC,SAAS;EACzP,qBAAqB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;CAC5M,CAAC,CAAC,CAAC,SAAS,mCAWH;CACP,QAXmC,EAAE,OAAO;EAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EACjF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-root.mjs","names":[],"sources":["../../src/actions/get-root.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mopinion } from \"../app\";\n\nexport const MopinionGetRootInput = z.object({\n extra_path: z.string().describe(\"Optional path to append to the base URL. Defaults to '/ping' for the standard health check endpoint. Use this to test other endpoints if needed.\").optional(),\n custom_base_url: z.string().describe(\"Optional override for the Mopinion API base URL. If not provided, the action uses the connection's base_url when it points to a Mopinion domain; otherwise it falls back to 'https://api.mopinion.com'.\").optional(),\n include_auth_header: z.boolean().default(false).describe(\"Whether to include the Authorization header in the request. Defaults to False because the root ping does not require authentication.\").optional(),\n}).describe(\"Request model for GetRoot action.\");\nexport const MopinionGetRootOutput = z.object({\n code: z.number().int().describe(\"HTTP status code returned by the API\").nullable(),\n version: z.string().describe(\"Current Mopinion API version\").nullable(),\n response: z.string().describe(\"Ping response from the server, typically 'pong'\").nullable(),\n}).passthrough().describe(\"Response model for GetRoot action.\");\n\nexport const mopinionGetRoot: AppAction<\n typeof MopinionGetRootInput,\n typeof MopinionGetRootOutput,\n typeof mopinion.credential\n> = action(\"MOPINION_GET_ROOT\", {\n slug: \"mopinion-get-root\",\n name: \"Get API Root\",\n description: \"Check Mopinion API availability and get version information. Pings the API health check endpoint (/ping) and returns status code, 'pong' response, and current API version. Use this to verify the API is reachable and operational.\",\n input: MopinionGetRootInput,\n output: MopinionGetRootOutput,\n});\n"],"mappings":";;;AAiBA,MAAa,kBAIT,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBkC,EAAE,OAAO;EAC3C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kJAAkJ,CAAC,CAAC,SAAS;EAC7L,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yMAAyM,CAAC,CAAC,SAAS;EACzP,qBAAqB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;CAC5M,CAAC,CAAC,CAAC,SAAS,mCAeH;CACP,QAfmC,EAAE,OAAO;EAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EACjF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAWhB;AACV,CAAC"}
package/dist/app.cjs CHANGED
@@ -1,14 +1,15 @@
1
1
  let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
2
2
  let zod = require("zod");
3
3
  //#region src/app.ts
4
+ const credential = {
5
+ generic_api_key: zod.z.string(),
6
+ generic_id: zod.z.string(),
7
+ generic_id_2: zod.z.string()
8
+ };
4
9
  const mopinion = (0, _keystrokehq_keystroke_app.defineApp)({
5
10
  slug: "mopinion",
6
11
  auth: "keystroke",
7
- credential: {
8
- generic_api_key: zod.z.string(),
9
- generic_id: zod.z.string(),
10
- generic_id_2: zod.z.string()
11
- }
12
+ credential
12
13
  });
13
14
  //#endregion
14
15
  exports.mopinion = mopinion;
package/dist/app.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const mopinion = defineApp({\n slug: \"mopinion\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n generic_id: z.string(),\n generic_id_2: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,YAAA,GAAA,2BAAA,UAAA,CAAqB;CAChC,MAAM;CACN,MAAM;CACN,YAAY;EACV,iBAAiBA,IAAAA,EAAE,OAAO;EAC1B,YAAYA,IAAAA,EAAE,OAAO;EACrB,cAAcA,IAAAA,EAAE,OAAO;CACzB;AACF,CAAC"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n generic_id: z.string(),\n generic_id_2: z.string(),\n};\n\nexport const mopinion: KeystrokeApp<\"mopinion\", typeof credential> = defineApp({\n slug: \"mopinion\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;;AAGA,MAAM,aAAa;CACjB,iBAAiBA,IAAAA,EAAE,OAAO;CAC1B,YAAYA,IAAAA,EAAE,OAAO;CACrB,cAAcA,IAAAA,EAAE,OAAO;AACzB;AAEA,MAAa,YAAA,GAAA,2BAAA,UAAA,CAAkE;CAC7E,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,15 +1,13 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
1
2
  import { z } from "zod";
2
3
 
3
4
  //#region src/app.d.ts
4
- declare const mopinion: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"mopinion", z.ZodObject<{
5
- connectionId: z.ZodString;
6
- entityId: z.ZodString;
7
- instanceId: z.ZodString;
8
- }, z.core.$strip>, z.ZodObject<{
5
+ declare const credential: {
9
6
  generic_api_key: z.ZodString;
10
7
  generic_id: z.ZodString;
11
8
  generic_id_2: z.ZodString;
12
- }, z.core.$strip>>>;
9
+ };
10
+ declare const mopinion: KeystrokeApp<"mopinion", typeof credential>;
13
11
  //#endregion
14
12
  export { mopinion };
15
13
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,QAAA,6BAAQ,GAAA,+BAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;;;;;cAMO,QAAA,EAAU,YAAY,oBAAoB,UAAA"}
package/dist/app.d.mts CHANGED
@@ -1,15 +1,13 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
1
2
  import { z } from "zod";
2
3
 
3
4
  //#region src/app.d.ts
4
- declare const mopinion: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"mopinion", z.ZodObject<{
5
- connectionId: z.ZodString;
6
- entityId: z.ZodString;
7
- instanceId: z.ZodString;
8
- }, z.core.$strip>, z.ZodObject<{
5
+ declare const credential: {
9
6
  generic_api_key: z.ZodString;
10
7
  generic_id: z.ZodString;
11
8
  generic_id_2: z.ZodString;
12
- }, z.core.$strip>>>;
9
+ };
10
+ declare const mopinion: KeystrokeApp<"mopinion", typeof credential>;
13
11
  //#endregion
14
12
  export { mopinion };
15
13
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,QAAA,6BAAQ,GAAA,+BAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;;;;;cAMO,QAAA,EAAU,YAAY,oBAAoB,UAAA"}
package/dist/app.mjs CHANGED
@@ -1,6 +1,5 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
2
  import { z } from "zod";
3
- //#region src/app.ts
4
3
  const mopinion = defineApp({
5
4
  slug: "mopinion",
6
5
  auth: "keystroke",
package/dist/app.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const mopinion = defineApp({\n slug: \"mopinion\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n generic_id: z.string(),\n generic_id_2: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,WAAW,UAAU;CAChC,MAAM;CACN,MAAM;CACN,YAAY;EACV,iBAAiB,EAAE,OAAO;EAC1B,YAAY,EAAE,OAAO;EACrB,cAAc,EAAE,OAAO;CACzB;AACF,CAAC"}
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n generic_id: z.string(),\n generic_id_2: z.string(),\n};\n\nexport const mopinion: KeystrokeApp<\"mopinion\", typeof credential> = defineApp({\n slug: \"mopinion\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AASA,MAAa,WAAwD,UAAU;CAC7E,MAAM;CACN,MAAM;CACN;EARA,iBAAiB,EAAE,OAAO;EAC1B,YAAY,EAAE,OAAO;EACrB,cAAc,EAAE,OAAO;CAMvB;AACF,CAAC"}
package/dist/index.d.cts CHANGED
@@ -1,3 +1,4 @@
1
+ import { mopinion } from "./app.cjs";
1
2
  import { mopinionGetAccount } from "./actions/get-account.cjs";
2
3
  import { mopinionGetDatasetById } from "./actions/get-dataset-by-id.cjs";
3
4
  import { mopinionGetDatasetFeedback } from "./actions/get-dataset-feedback.cjs";
@@ -9,6 +10,5 @@ import { mopinionGetReportById } from "./actions/get-report-by-id.cjs";
9
10
  import { mopinionGetReportFeedback } from "./actions/get-report-feedback.cjs";
10
11
  import { mopinionGetReportFields } from "./actions/get-report-fields.cjs";
11
12
  import { mopinionGetRoot } from "./actions/get-root.cjs";
12
- import { mopinion } from "./app.cjs";
13
13
  import { mopinionCatalog } from "./catalog.cjs";
14
14
  export { mopinion, mopinionCatalog, mopinionGetAccount, mopinionGetDatasetById, mopinionGetDatasetFeedback, mopinionGetDatasetFeedbackById, mopinionGetDatasetFields, mopinionGetDeploymentById, mopinionGetDeployments, mopinionGetReportById, mopinionGetReportFeedback, mopinionGetReportFields, mopinionGetRoot };
package/dist/index.d.mts CHANGED
@@ -1,3 +1,4 @@
1
+ import { mopinion } from "./app.mjs";
1
2
  import { mopinionGetAccount } from "./actions/get-account.mjs";
2
3
  import { mopinionGetDatasetById } from "./actions/get-dataset-by-id.mjs";
3
4
  import { mopinionGetDatasetFeedback } from "./actions/get-dataset-feedback.mjs";
@@ -9,6 +10,5 @@ import { mopinionGetReportById } from "./actions/get-report-by-id.mjs";
9
10
  import { mopinionGetReportFeedback } from "./actions/get-report-feedback.mjs";
10
11
  import { mopinionGetReportFields } from "./actions/get-report-fields.mjs";
11
12
  import { mopinionGetRoot } from "./actions/get-root.mjs";
12
- import { mopinion } from "./app.mjs";
13
13
  import { mopinionCatalog } from "./catalog.mjs";
14
14
  export { mopinion, mopinionCatalog, mopinionGetAccount, mopinionGetDatasetById, mopinionGetDatasetFeedback, mopinionGetDatasetFeedbackById, mopinionGetDatasetFields, mopinionGetDeploymentById, mopinionGetDeployments, mopinionGetReportById, mopinionGetReportFeedback, mopinionGetReportFields, mopinionGetRoot };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/mopinion",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "peerDependencies": {
34
- "@keystrokehq/keystroke": ">=0.1.4",
34
+ "@keystrokehq/keystroke": ">=0.1.104",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {