@keystrokehq/mopinion 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/get-account.cjs +29 -29
- package/dist/actions/get-account.cjs.map +1 -1
- package/dist/actions/get-account.d.cts +36 -3
- package/dist/actions/get-account.d.cts.map +1 -1
- package/dist/actions/get-account.d.mts +36 -3
- package/dist/actions/get-account.d.mts.map +1 -1
- package/dist/actions/get-account.mjs +29 -29
- package/dist/actions/get-account.mjs.map +1 -1
- package/dist/actions/get-dataset-by-id.cjs +14 -14
- package/dist/actions/get-dataset-by-id.cjs.map +1 -1
- package/dist/actions/get-dataset-by-id.d.cts +24 -3
- package/dist/actions/get-dataset-by-id.d.cts.map +1 -1
- package/dist/actions/get-dataset-by-id.d.mts +24 -3
- package/dist/actions/get-dataset-by-id.d.mts.map +1 -1
- package/dist/actions/get-dataset-by-id.mjs +14 -14
- package/dist/actions/get-dataset-by-id.mjs.map +1 -1
- package/dist/actions/get-dataset-feedback-by-id.cjs +6 -6
- package/dist/actions/get-dataset-feedback-by-id.cjs.map +1 -1
- package/dist/actions/get-dataset-feedback-by-id.d.cts +38 -3
- package/dist/actions/get-dataset-feedback-by-id.d.cts.map +1 -1
- package/dist/actions/get-dataset-feedback-by-id.d.mts +38 -3
- package/dist/actions/get-dataset-feedback-by-id.d.mts.map +1 -1
- package/dist/actions/get-dataset-feedback-by-id.mjs +6 -6
- package/dist/actions/get-dataset-feedback-by-id.mjs.map +1 -1
- package/dist/actions/get-dataset-feedback.cjs +18 -18
- package/dist/actions/get-dataset-feedback.cjs.map +1 -1
- package/dist/actions/get-dataset-feedback.d.cts +43 -3
- package/dist/actions/get-dataset-feedback.d.cts.map +1 -1
- package/dist/actions/get-dataset-feedback.d.mts +43 -3
- package/dist/actions/get-dataset-feedback.d.mts.map +1 -1
- package/dist/actions/get-dataset-feedback.mjs +18 -18
- package/dist/actions/get-dataset-feedback.mjs.map +1 -1
- package/dist/actions/get-dataset-fields.cjs +1 -1
- package/dist/actions/get-dataset-fields.cjs.map +1 -1
- package/dist/actions/get-dataset-fields.d.cts +9 -3
- package/dist/actions/get-dataset-fields.d.cts.map +1 -1
- package/dist/actions/get-dataset-fields.d.mts +9 -3
- package/dist/actions/get-dataset-fields.d.mts.map +1 -1
- package/dist/actions/get-dataset-fields.mjs +1 -1
- package/dist/actions/get-dataset-fields.mjs.map +1 -1
- package/dist/actions/get-deployment-by-id.cjs +1 -1
- package/dist/actions/get-deployment-by-id.cjs.map +1 -1
- package/dist/actions/get-deployment-by-id.d.cts +9 -3
- package/dist/actions/get-deployment-by-id.d.cts.map +1 -1
- package/dist/actions/get-deployment-by-id.d.mts +9 -3
- package/dist/actions/get-deployment-by-id.d.mts.map +1 -1
- package/dist/actions/get-deployment-by-id.mjs +1 -1
- package/dist/actions/get-deployment-by-id.mjs.map +1 -1
- package/dist/actions/get-deployments.cjs +5 -5
- package/dist/actions/get-deployments.cjs.map +1 -1
- package/dist/actions/get-deployments.d.cts +17 -3
- package/dist/actions/get-deployments.d.cts.map +1 -1
- package/dist/actions/get-deployments.d.mts +17 -3
- package/dist/actions/get-deployments.d.mts.map +1 -1
- package/dist/actions/get-deployments.mjs +5 -5
- package/dist/actions/get-deployments.mjs.map +1 -1
- package/dist/actions/get-report-by-id.cjs +8 -8
- package/dist/actions/get-report-by-id.cjs.map +1 -1
- package/dist/actions/get-report-by-id.d.cts +29 -3
- package/dist/actions/get-report-by-id.d.cts.map +1 -1
- package/dist/actions/get-report-by-id.d.mts +29 -3
- package/dist/actions/get-report-by-id.d.mts.map +1 -1
- package/dist/actions/get-report-by-id.mjs +8 -8
- package/dist/actions/get-report-by-id.mjs.map +1 -1
- package/dist/actions/get-report-feedback.cjs +9 -9
- package/dist/actions/get-report-feedback.cjs.map +1 -1
- package/dist/actions/get-report-feedback.d.cts +30 -3
- package/dist/actions/get-report-feedback.d.cts.map +1 -1
- package/dist/actions/get-report-feedback.d.mts +30 -3
- package/dist/actions/get-report-feedback.d.mts.map +1 -1
- package/dist/actions/get-report-feedback.mjs +9 -9
- package/dist/actions/get-report-feedback.mjs.map +1 -1
- package/dist/actions/get-report-fields.cjs +7 -7
- package/dist/actions/get-report-fields.cjs.map +1 -1
- package/dist/actions/get-report-fields.d.cts +18 -3
- package/dist/actions/get-report-fields.d.cts.map +1 -1
- package/dist/actions/get-report-fields.d.mts +18 -3
- package/dist/actions/get-report-fields.d.mts.map +1 -1
- package/dist/actions/get-report-fields.mjs +7 -7
- package/dist/actions/get-report-fields.mjs.map +1 -1
- package/dist/actions/get-root.cjs +4 -4
- package/dist/actions/get-root.cjs.map +1 -1
- package/dist/actions/get-root.d.cts +15 -3
- package/dist/actions/get-root.d.cts.map +1 -1
- package/dist/actions/get-root.d.mts +15 -3
- package/dist/actions/get-root.d.mts.map +1 -1
- package/dist/actions/get-root.mjs +4 -4
- package/dist/actions/get-root.mjs.map +1 -1
- package/dist/catalog.cjs +20 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +19 -0
- package/dist/catalog.d.mts +19 -0
- package/dist/catalog.mjs +20 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -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(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input:
|
|
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"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -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(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input:
|
|
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"}
|
|
@@ -3,41 +3,41 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-account.ts
|
|
4
4
|
const MopinionGetAccountInput = zod.z.object({}).describe("Request model for GetAccount action.\nNo parameters required - returns current authenticated account information.");
|
|
5
5
|
const MopinionGetAccount_MetaInfoSchema = zod.z.object({
|
|
6
|
-
code: zod.z.number().int().describe("HTTP status code"),
|
|
7
|
-
next: zod.z.boolean().describe("Whether there is a next page"),
|
|
8
|
-
count: zod.z.number().int().describe("Number of items in current response"),
|
|
9
|
-
total: zod.z.number().int().describe("Total number of items available"),
|
|
10
|
-
message: zod.z.string().describe("Status message"),
|
|
11
|
-
has_more: zod.z.boolean().describe("Whether there are more results available"),
|
|
12
|
-
previous: zod.z.boolean().describe("Whether there is a previous page")
|
|
13
|
-
}).describe("Metadata information for the response.");
|
|
6
|
+
code: zod.z.number().int().describe("HTTP status code").nullable(),
|
|
7
|
+
next: zod.z.boolean().describe("Whether there is a next page").nullable(),
|
|
8
|
+
count: zod.z.number().int().describe("Number of items in current response").nullable(),
|
|
9
|
+
total: zod.z.number().int().describe("Total number of items available").nullable(),
|
|
10
|
+
message: zod.z.string().describe("Status message").nullable(),
|
|
11
|
+
has_more: zod.z.boolean().describe("Whether there are more results available").nullable(),
|
|
12
|
+
previous: zod.z.boolean().describe("Whether there is a previous page").nullable()
|
|
13
|
+
}).passthrough().describe("Metadata information for the response.");
|
|
14
14
|
const MopinionGetAccount_DataSetSchema = zod.z.object({
|
|
15
|
-
id: zod.z.number().int().describe("Unique identifier for the dataset"),
|
|
16
|
-
name: zod.z.string().describe("Name of the dataset"),
|
|
17
|
-
report_id: zod.z.number().int().describe("ID of the parent report"),
|
|
18
|
-
data_source: zod.z.string().describe("Source type of the data (e.g., 'form')"),
|
|
19
|
-
description: zod.z.string().describe("Description of the dataset")
|
|
20
|
-
}).describe("Model for a dataset within a report.");
|
|
15
|
+
id: zod.z.number().int().describe("Unique identifier for the dataset").nullable(),
|
|
16
|
+
name: zod.z.string().describe("Name of the dataset").nullable(),
|
|
17
|
+
report_id: zod.z.number().int().describe("ID of the parent report").nullable(),
|
|
18
|
+
data_source: zod.z.string().describe("Source type of the data (e.g., 'form')").nullable(),
|
|
19
|
+
description: zod.z.string().describe("Description of the dataset").nullable()
|
|
20
|
+
}).passthrough().describe("Model for a dataset within a report.");
|
|
21
21
|
const MopinionGetAccount_ReportSchema = zod.z.object({
|
|
22
|
-
id: zod.z.number().int().describe("Unique identifier for the report"),
|
|
23
|
-
name: zod.z.string().describe("Name of the report"),
|
|
24
|
-
created: zod.z.string().describe("Creation date of the report (YYYY-MM-DD)"),
|
|
22
|
+
id: zod.z.number().int().describe("Unique identifier for the report").nullable(),
|
|
23
|
+
name: zod.z.string().describe("Name of the report").nullable(),
|
|
24
|
+
created: zod.z.string().describe("Creation date of the report (YYYY-MM-DD)").nullable(),
|
|
25
25
|
dataSets: zod.z.array(MopinionGetAccount_DataSetSchema).describe("List of datasets associated with this report").nullable().optional(),
|
|
26
|
-
language: zod.z.string().describe("Language code (e.g., 'en_US')"),
|
|
27
|
-
description: zod.z.string().describe("Description of the report")
|
|
28
|
-
}).describe("Model for a report in the account.");
|
|
26
|
+
language: zod.z.string().describe("Language code (e.g., 'en_US')").nullable(),
|
|
27
|
+
description: zod.z.string().describe("Description of the report").nullable()
|
|
28
|
+
}).passthrough().describe("Model for a report in the account.");
|
|
29
29
|
const MopinionGetAccount_AccountInfoSchema = zod.z.object({
|
|
30
|
-
name: zod.z.string().describe("Account name"),
|
|
30
|
+
name: zod.z.string().describe("Account name").nullable(),
|
|
31
31
|
_meta: MopinionGetAccount_MetaInfoSchema.nullable(),
|
|
32
|
-
enddate: zod.z.string().describe("End date of the current package (YYYY-MM-DD HH:MM:SS)"),
|
|
33
|
-
package: zod.z.string().describe("Package/plan type (e.g., 'Trial', 'Pro')"),
|
|
32
|
+
enddate: zod.z.string().describe("End date of the current package (YYYY-MM-DD HH:MM:SS)").nullable(),
|
|
33
|
+
package: zod.z.string().describe("Package/plan type (e.g., 'Trial', 'Pro')").nullable(),
|
|
34
34
|
reports: zod.z.array(MopinionGetAccount_ReportSchema).describe("List of reports in the account").nullable().optional(),
|
|
35
|
-
number_forms: zod.z.number().int().describe("Number of forms allowed"),
|
|
36
|
-
number_users: zod.z.number().int().describe("Number of users allowed in the account"),
|
|
37
|
-
number_charts: zod.z.number().int().describe("Number of charts available"),
|
|
38
|
-
number_reports: zod.z.number().int().describe("Number of reports allowed")
|
|
39
|
-
}).describe("Detailed account information model.");
|
|
40
|
-
const MopinionGetAccountOutput = zod.z.object({ account: MopinionGetAccount_AccountInfoSchema.nullable() }).describe("Response model for GetAccount action.\nContains comprehensive account information including package details, limits, and associated reports.");
|
|
35
|
+
number_forms: zod.z.number().int().describe("Number of forms allowed").nullable(),
|
|
36
|
+
number_users: zod.z.number().int().describe("Number of users allowed in the account").nullable(),
|
|
37
|
+
number_charts: zod.z.number().int().describe("Number of charts available").nullable(),
|
|
38
|
+
number_reports: zod.z.number().int().describe("Number of reports allowed").nullable()
|
|
39
|
+
}).passthrough().describe("Detailed account information model.");
|
|
40
|
+
const MopinionGetAccountOutput = zod.z.object({ account: MopinionGetAccount_AccountInfoSchema.nullable() }).passthrough().describe("Response model for GetAccount action.\nContains comprehensive account information including package details, limits, and associated reports.");
|
|
41
41
|
const mopinionGetAccount = require_action.action("MOPINION_GET_ACCOUNT", {
|
|
42
42
|
slug: "mopinion-get-account",
|
|
43
43
|
name: "Get Account",
|
|
@@ -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
|
|
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,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACjF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC7E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACxD,U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
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-account.d.ts
|
|
4
|
-
declare const MopinionGetAccountInput: z.
|
|
5
|
-
declare const MopinionGetAccountOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const MopinionGetAccountInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const MopinionGetAccountOutput: z.ZodObject<{
|
|
6
|
+
account: z.ZodNullable<z.ZodObject<{
|
|
7
|
+
name: z.ZodNullable<z.ZodString>;
|
|
8
|
+
_meta: z.ZodNullable<z.ZodObject<{
|
|
9
|
+
code: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
next: z.ZodNullable<z.ZodBoolean>;
|
|
11
|
+
count: z.ZodNullable<z.ZodNumber>;
|
|
12
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
message: z.ZodNullable<z.ZodString>;
|
|
14
|
+
has_more: z.ZodNullable<z.ZodBoolean>;
|
|
15
|
+
previous: z.ZodNullable<z.ZodBoolean>;
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
|
+
enddate: z.ZodNullable<z.ZodString>;
|
|
18
|
+
package: z.ZodNullable<z.ZodString>;
|
|
19
|
+
reports: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
20
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
21
|
+
name: z.ZodNullable<z.ZodString>;
|
|
22
|
+
created: z.ZodNullable<z.ZodString>;
|
|
23
|
+
dataSets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
24
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
25
|
+
name: z.ZodNullable<z.ZodString>;
|
|
26
|
+
report_id: z.ZodNullable<z.ZodNumber>;
|
|
27
|
+
data_source: z.ZodNullable<z.ZodString>;
|
|
28
|
+
description: z.ZodNullable<z.ZodString>;
|
|
29
|
+
}, z.core.$loose>>>>;
|
|
30
|
+
language: z.ZodNullable<z.ZodString>;
|
|
31
|
+
description: z.ZodNullable<z.ZodString>;
|
|
32
|
+
}, z.core.$loose>>>>;
|
|
33
|
+
number_forms: z.ZodNullable<z.ZodNumber>;
|
|
34
|
+
number_users: z.ZodNullable<z.ZodNumber>;
|
|
35
|
+
number_charts: z.ZodNullable<z.ZodNumber>;
|
|
36
|
+
number_reports: z.ZodNullable<z.ZodNumber>;
|
|
37
|
+
}, z.core.$loose>>;
|
|
38
|
+
}, 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]>;
|
|
7
40
|
//#endregion
|
|
8
41
|
export { mopinionGetAccount };
|
|
9
42
|
//# 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,
|
|
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,9 +1,42 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-account.d.ts
|
|
4
|
-
declare const MopinionGetAccountInput: z.
|
|
5
|
-
declare const MopinionGetAccountOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const MopinionGetAccountInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const MopinionGetAccountOutput: z.ZodObject<{
|
|
6
|
+
account: z.ZodNullable<z.ZodObject<{
|
|
7
|
+
name: z.ZodNullable<z.ZodString>;
|
|
8
|
+
_meta: z.ZodNullable<z.ZodObject<{
|
|
9
|
+
code: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
next: z.ZodNullable<z.ZodBoolean>;
|
|
11
|
+
count: z.ZodNullable<z.ZodNumber>;
|
|
12
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
message: z.ZodNullable<z.ZodString>;
|
|
14
|
+
has_more: z.ZodNullable<z.ZodBoolean>;
|
|
15
|
+
previous: z.ZodNullable<z.ZodBoolean>;
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
|
+
enddate: z.ZodNullable<z.ZodString>;
|
|
18
|
+
package: z.ZodNullable<z.ZodString>;
|
|
19
|
+
reports: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
20
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
21
|
+
name: z.ZodNullable<z.ZodString>;
|
|
22
|
+
created: z.ZodNullable<z.ZodString>;
|
|
23
|
+
dataSets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
24
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
25
|
+
name: z.ZodNullable<z.ZodString>;
|
|
26
|
+
report_id: z.ZodNullable<z.ZodNumber>;
|
|
27
|
+
data_source: z.ZodNullable<z.ZodString>;
|
|
28
|
+
description: z.ZodNullable<z.ZodString>;
|
|
29
|
+
}, z.core.$loose>>>>;
|
|
30
|
+
language: z.ZodNullable<z.ZodString>;
|
|
31
|
+
description: z.ZodNullable<z.ZodString>;
|
|
32
|
+
}, z.core.$loose>>>>;
|
|
33
|
+
number_forms: z.ZodNullable<z.ZodNumber>;
|
|
34
|
+
number_users: z.ZodNullable<z.ZodNumber>;
|
|
35
|
+
number_charts: z.ZodNullable<z.ZodNumber>;
|
|
36
|
+
number_reports: z.ZodNullable<z.ZodNumber>;
|
|
37
|
+
}, z.core.$loose>>;
|
|
38
|
+
}, 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]>;
|
|
7
40
|
//#endregion
|
|
8
41
|
export { mopinionGetAccount };
|
|
9
42
|
//# 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,
|
|
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"}
|
|
@@ -3,46 +3,46 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/get-account.ts
|
|
4
4
|
const MopinionGetAccountInput = z.object({}).describe("Request model for GetAccount action.\nNo parameters required - returns current authenticated account information.");
|
|
5
5
|
const MopinionGetAccount_MetaInfoSchema = z.object({
|
|
6
|
-
code: z.number().int().describe("HTTP status code"),
|
|
7
|
-
next: z.boolean().describe("Whether there is a next page"),
|
|
8
|
-
count: z.number().int().describe("Number of items in current response"),
|
|
9
|
-
total: z.number().int().describe("Total number of items available"),
|
|
10
|
-
message: z.string().describe("Status message"),
|
|
11
|
-
has_more: z.boolean().describe("Whether there are more results available"),
|
|
12
|
-
previous: z.boolean().describe("Whether there is a previous page")
|
|
13
|
-
}).describe("Metadata information for the response.");
|
|
6
|
+
code: z.number().int().describe("HTTP status code").nullable(),
|
|
7
|
+
next: z.boolean().describe("Whether there is a next page").nullable(),
|
|
8
|
+
count: z.number().int().describe("Number of items in current response").nullable(),
|
|
9
|
+
total: z.number().int().describe("Total number of items available").nullable(),
|
|
10
|
+
message: z.string().describe("Status message").nullable(),
|
|
11
|
+
has_more: z.boolean().describe("Whether there are more results available").nullable(),
|
|
12
|
+
previous: z.boolean().describe("Whether there is a previous page").nullable()
|
|
13
|
+
}).passthrough().describe("Metadata information for the response.");
|
|
14
14
|
const MopinionGetAccount_DataSetSchema = z.object({
|
|
15
|
-
id: z.number().int().describe("Unique identifier for the dataset"),
|
|
16
|
-
name: z.string().describe("Name of the dataset"),
|
|
17
|
-
report_id: z.number().int().describe("ID of the parent report"),
|
|
18
|
-
data_source: z.string().describe("Source type of the data (e.g., 'form')"),
|
|
19
|
-
description: z.string().describe("Description of the dataset")
|
|
20
|
-
}).describe("Model for a dataset within a report.");
|
|
15
|
+
id: z.number().int().describe("Unique identifier for the dataset").nullable(),
|
|
16
|
+
name: z.string().describe("Name of the dataset").nullable(),
|
|
17
|
+
report_id: z.number().int().describe("ID of the parent report").nullable(),
|
|
18
|
+
data_source: z.string().describe("Source type of the data (e.g., 'form')").nullable(),
|
|
19
|
+
description: z.string().describe("Description of the dataset").nullable()
|
|
20
|
+
}).passthrough().describe("Model for a dataset within a report.");
|
|
21
21
|
const MopinionGetAccount_ReportSchema = z.object({
|
|
22
|
-
id: z.number().int().describe("Unique identifier for the report"),
|
|
23
|
-
name: z.string().describe("Name of the report"),
|
|
24
|
-
created: z.string().describe("Creation date of the report (YYYY-MM-DD)"),
|
|
22
|
+
id: z.number().int().describe("Unique identifier for the report").nullable(),
|
|
23
|
+
name: z.string().describe("Name of the report").nullable(),
|
|
24
|
+
created: z.string().describe("Creation date of the report (YYYY-MM-DD)").nullable(),
|
|
25
25
|
dataSets: z.array(MopinionGetAccount_DataSetSchema).describe("List of datasets associated with this report").nullable().optional(),
|
|
26
|
-
language: z.string().describe("Language code (e.g., 'en_US')"),
|
|
27
|
-
description: z.string().describe("Description of the report")
|
|
28
|
-
}).describe("Model for a report in the account.");
|
|
26
|
+
language: z.string().describe("Language code (e.g., 'en_US')").nullable(),
|
|
27
|
+
description: z.string().describe("Description of the report").nullable()
|
|
28
|
+
}).passthrough().describe("Model for a report in the account.");
|
|
29
29
|
const MopinionGetAccount_AccountInfoSchema = z.object({
|
|
30
|
-
name: z.string().describe("Account name"),
|
|
30
|
+
name: z.string().describe("Account name").nullable(),
|
|
31
31
|
_meta: MopinionGetAccount_MetaInfoSchema.nullable(),
|
|
32
|
-
enddate: z.string().describe("End date of the current package (YYYY-MM-DD HH:MM:SS)"),
|
|
33
|
-
package: z.string().describe("Package/plan type (e.g., 'Trial', 'Pro')"),
|
|
32
|
+
enddate: z.string().describe("End date of the current package (YYYY-MM-DD HH:MM:SS)").nullable(),
|
|
33
|
+
package: z.string().describe("Package/plan type (e.g., 'Trial', 'Pro')").nullable(),
|
|
34
34
|
reports: z.array(MopinionGetAccount_ReportSchema).describe("List of reports in the account").nullable().optional(),
|
|
35
|
-
number_forms: z.number().int().describe("Number of forms allowed"),
|
|
36
|
-
number_users: z.number().int().describe("Number of users allowed in the account"),
|
|
37
|
-
number_charts: z.number().int().describe("Number of charts available"),
|
|
38
|
-
number_reports: z.number().int().describe("Number of reports allowed")
|
|
39
|
-
}).describe("Detailed account information model.");
|
|
35
|
+
number_forms: z.number().int().describe("Number of forms allowed").nullable(),
|
|
36
|
+
number_users: z.number().int().describe("Number of users allowed in the account").nullable(),
|
|
37
|
+
number_charts: z.number().int().describe("Number of charts available").nullable(),
|
|
38
|
+
number_reports: z.number().int().describe("Number of reports allowed").nullable()
|
|
39
|
+
}).passthrough().describe("Detailed account information model.");
|
|
40
40
|
const mopinionGetAccount = action("MOPINION_GET_ACCOUNT", {
|
|
41
41
|
slug: "mopinion-get-account",
|
|
42
42
|
name: "Get Account",
|
|
43
43
|
description: "Tool to retrieve the current authenticated account information. Use to verify authentication and get account details.",
|
|
44
44
|
input: MopinionGetAccountInput,
|
|
45
|
-
output: z.object({ account: MopinionGetAccount_AccountInfoSchema.nullable() }).describe("Response model for GetAccount action.\nContains comprehensive account information including package details, limits, and associated reports.")
|
|
45
|
+
output: z.object({ account: MopinionGetAccount_AccountInfoSchema.nullable() }).passthrough().describe("Response model for GetAccount action.\nContains comprehensive account information including package details, limits, and associated reports.")
|
|
46
46
|
});
|
|
47
47
|
//#endregion
|
|
48
48
|
export { mopinionGetAccount };
|
|
@@ -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
|
|
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,CA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zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-dataset-by-id.ts
|
|
4
4
|
const MopinionGetDatasetByIdInput = zod.z.object({ dataset_id: zod.z.union([zod.z.number().int(), zod.z.string()]) }).describe("Request parameters for retrieving a dataset by ID.");
|
|
5
5
|
const MopinionGetDatasetById_MetaSchema = zod.z.object({
|
|
6
|
-
code: zod.z.number().int().describe("HTTP status code of the response."),
|
|
7
|
-
next: zod.z.boolean().describe("Whether next results exist."),
|
|
8
|
-
count: zod.z.number().int().describe("Number of items in the current response."),
|
|
9
|
-
total: zod.z.number().int().describe("Total number of items available."),
|
|
10
|
-
message: zod.z.string().describe("Status message (e.g., 'OK')."),
|
|
11
|
-
has_more: zod.z.boolean().describe("Whether there are more results available."),
|
|
12
|
-
previous: zod.z.boolean().describe("Whether previous results exist.")
|
|
13
|
-
}).describe("Metadata returned by the API.");
|
|
6
|
+
code: zod.z.number().int().describe("HTTP status code of the response.").nullable(),
|
|
7
|
+
next: zod.z.boolean().describe("Whether next results exist.").nullable(),
|
|
8
|
+
count: zod.z.number().int().describe("Number of items in the current response.").nullable(),
|
|
9
|
+
total: zod.z.number().int().describe("Total number of items available.").nullable(),
|
|
10
|
+
message: zod.z.string().describe("Status message (e.g., 'OK').").nullable(),
|
|
11
|
+
has_more: zod.z.boolean().describe("Whether there are more results available.").nullable(),
|
|
12
|
+
previous: zod.z.boolean().describe("Whether previous results exist.").nullable()
|
|
13
|
+
}).passthrough().describe("Metadata returned by the API.");
|
|
14
14
|
const MopinionGetDatasetById_DatasetSchema = zod.z.object({
|
|
15
15
|
id: zod.z.union([zod.z.number().int(), zod.z.string()]),
|
|
16
|
-
name: zod.z.string().describe("Name of the dataset (form)."),
|
|
17
|
-
report_id: zod.z.number().int().describe("ID of the associated report."),
|
|
18
|
-
data_source: zod.z.string().describe("Source type of the data (e.g., 'form', 'email', 'mobile')."),
|
|
19
|
-
description: zod.z.string().describe("Description of the dataset (may be empty).")
|
|
20
|
-
}).describe("Dataset resource returned by the API.");
|
|
16
|
+
name: zod.z.string().describe("Name of the dataset (form).").nullable(),
|
|
17
|
+
report_id: zod.z.number().int().describe("ID of the associated report.").nullable(),
|
|
18
|
+
data_source: zod.z.string().describe("Source type of the data (e.g., 'form', 'email', 'mobile').").nullable(),
|
|
19
|
+
description: zod.z.string().describe("Description of the dataset (may be empty).").nullable()
|
|
20
|
+
}).passthrough().describe("Dataset resource returned by the API.");
|
|
21
21
|
const MopinionGetDatasetByIdOutput = zod.z.object({
|
|
22
22
|
_meta: MopinionGetDatasetById_MetaSchema.nullable(),
|
|
23
23
|
dataset: MopinionGetDatasetById_DatasetSchema.nullable()
|
|
24
|
-
}).describe("Response model for GetDatasetById action.");
|
|
24
|
+
}).passthrough().describe("Response model for GetDatasetById action.");
|
|
25
25
|
const mopinionGetDatasetById = require_action.action("MOPINION_GET_DATASET_BY_ID", {
|
|
26
26
|
slug: "mopinion-get-dataset-by-id",
|
|
27
27
|
name: "Get Dataset by ID",
|
|
@@ -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
|
|
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,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC9E,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACnE,O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CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,30 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-dataset-by-id.d.ts
|
|
4
|
-
declare const MopinionGetDatasetByIdInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MopinionGetDatasetByIdInput: z.ZodObject<{
|
|
5
|
+
dataset_id: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const MopinionGetDatasetByIdOutput: z.ZodObject<{
|
|
8
|
+
_meta: z.ZodNullable<z.ZodObject<{
|
|
9
|
+
code: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
next: z.ZodNullable<z.ZodBoolean>;
|
|
11
|
+
count: z.ZodNullable<z.ZodNumber>;
|
|
12
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
message: z.ZodNullable<z.ZodString>;
|
|
14
|
+
has_more: z.ZodNullable<z.ZodBoolean>;
|
|
15
|
+
previous: z.ZodNullable<z.ZodBoolean>;
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
|
+
dataset: z.ZodNullable<z.ZodObject<{
|
|
18
|
+
id: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
19
|
+
name: z.ZodNullable<z.ZodString>;
|
|
20
|
+
report_id: z.ZodNullable<z.ZodNumber>;
|
|
21
|
+
data_source: z.ZodNullable<z.ZodString>;
|
|
22
|
+
description: z.ZodNullable<z.ZodString>;
|
|
23
|
+
}, z.core.$loose>>;
|
|
24
|
+
}, 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]>;
|
|
7
28
|
//#endregion
|
|
8
29
|
export { mopinionGetDatasetById };
|
|
9
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,
|
|
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,9 +1,30 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-dataset-by-id.d.ts
|
|
4
|
-
declare const MopinionGetDatasetByIdInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MopinionGetDatasetByIdInput: z.ZodObject<{
|
|
5
|
+
dataset_id: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const MopinionGetDatasetByIdOutput: z.ZodObject<{
|
|
8
|
+
_meta: z.ZodNullable<z.ZodObject<{
|
|
9
|
+
code: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
next: z.ZodNullable<z.ZodBoolean>;
|
|
11
|
+
count: z.ZodNullable<z.ZodNumber>;
|
|
12
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
message: z.ZodNullable<z.ZodString>;
|
|
14
|
+
has_more: z.ZodNullable<z.ZodBoolean>;
|
|
15
|
+
previous: z.ZodNullable<z.ZodBoolean>;
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
|
+
dataset: z.ZodNullable<z.ZodObject<{
|
|
18
|
+
id: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
19
|
+
name: z.ZodNullable<z.ZodString>;
|
|
20
|
+
report_id: z.ZodNullable<z.ZodNumber>;
|
|
21
|
+
data_source: z.ZodNullable<z.ZodString>;
|
|
22
|
+
description: z.ZodNullable<z.ZodString>;
|
|
23
|
+
}, z.core.$loose>>;
|
|
24
|
+
}, 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]>;
|
|
7
28
|
//#endregion
|
|
8
29
|
export { mopinionGetDatasetById };
|
|
9
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,
|
|
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"}
|
|
@@ -3,21 +3,21 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/get-dataset-by-id.ts
|
|
4
4
|
const MopinionGetDatasetByIdInput = z.object({ dataset_id: z.union([z.number().int(), z.string()]) }).describe("Request parameters for retrieving a dataset by ID.");
|
|
5
5
|
const MopinionGetDatasetById_MetaSchema = z.object({
|
|
6
|
-
code: z.number().int().describe("HTTP status code of the response."),
|
|
7
|
-
next: z.boolean().describe("Whether next results exist."),
|
|
8
|
-
count: z.number().int().describe("Number of items in the current response."),
|
|
9
|
-
total: z.number().int().describe("Total number of items available."),
|
|
10
|
-
message: z.string().describe("Status message (e.g., 'OK')."),
|
|
11
|
-
has_more: z.boolean().describe("Whether there are more results available."),
|
|
12
|
-
previous: z.boolean().describe("Whether previous results exist.")
|
|
13
|
-
}).describe("Metadata returned by the API.");
|
|
6
|
+
code: z.number().int().describe("HTTP status code of the response.").nullable(),
|
|
7
|
+
next: z.boolean().describe("Whether next results exist.").nullable(),
|
|
8
|
+
count: z.number().int().describe("Number of items in the current response.").nullable(),
|
|
9
|
+
total: z.number().int().describe("Total number of items available.").nullable(),
|
|
10
|
+
message: z.string().describe("Status message (e.g., 'OK').").nullable(),
|
|
11
|
+
has_more: z.boolean().describe("Whether there are more results available.").nullable(),
|
|
12
|
+
previous: z.boolean().describe("Whether previous results exist.").nullable()
|
|
13
|
+
}).passthrough().describe("Metadata returned by the API.");
|
|
14
14
|
const MopinionGetDatasetById_DatasetSchema = z.object({
|
|
15
15
|
id: z.union([z.number().int(), z.string()]),
|
|
16
|
-
name: z.string().describe("Name of the dataset (form)."),
|
|
17
|
-
report_id: z.number().int().describe("ID of the associated report."),
|
|
18
|
-
data_source: z.string().describe("Source type of the data (e.g., 'form', 'email', 'mobile')."),
|
|
19
|
-
description: z.string().describe("Description of the dataset (may be empty).")
|
|
20
|
-
}).describe("Dataset resource returned by the API.");
|
|
16
|
+
name: z.string().describe("Name of the dataset (form).").nullable(),
|
|
17
|
+
report_id: z.number().int().describe("ID of the associated report.").nullable(),
|
|
18
|
+
data_source: z.string().describe("Source type of the data (e.g., 'form', 'email', 'mobile').").nullable(),
|
|
19
|
+
description: z.string().describe("Description of the dataset (may be empty).").nullable()
|
|
20
|
+
}).passthrough().describe("Dataset resource returned by the API.");
|
|
21
21
|
const mopinionGetDatasetById = action("MOPINION_GET_DATASET_BY_ID", {
|
|
22
22
|
slug: "mopinion-get-dataset-by-id",
|
|
23
23
|
name: "Get Dataset by ID",
|
|
@@ -26,7 +26,7 @@ const mopinionGetDatasetById = action("MOPINION_GET_DATASET_BY_ID", {
|
|
|
26
26
|
output: z.object({
|
|
27
27
|
_meta: MopinionGetDatasetById_MetaSchema.nullable(),
|
|
28
28
|
dataset: MopinionGetDatasetById_DatasetSchema.nullable()
|
|
29
|
-
}).describe("Response model for GetDatasetById action.")
|
|
29
|
+
}).passthrough().describe("Response model for GetDatasetById action.")
|
|
30
30
|
});
|
|
31
31
|
//#endregion
|
|
32
32
|
export { mopinionGetDatasetById };
|
|
@@ -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
|
|
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"}
|
|
@@ -14,7 +14,7 @@ const MopinionGetDatasetFeedbackById_FeedbackFieldEntrySchema = zod.z.object({
|
|
|
14
14
|
zod.z.number(),
|
|
15
15
|
zod.z.number().int()
|
|
16
16
|
]).nullable().optional()
|
|
17
|
-
}).describe("Individual field entry in the feedback item.");
|
|
17
|
+
}).passthrough().describe("Individual field entry in the feedback item.");
|
|
18
18
|
const MopinionGetDatasetFeedbackById_FeedbackItemDataSchema = zod.z.object({
|
|
19
19
|
id: zod.z.number().int().describe("Feedback item ID").nullable().optional(),
|
|
20
20
|
tags: zod.z.array(zod.z.string()).describe("Associated tags").nullable().optional(),
|
|
@@ -28,21 +28,21 @@ const MopinionGetDatasetFeedbackById_FeedbackItemDataSchema = zod.z.object({
|
|
|
28
28
|
survey_name: zod.z.string().describe("Name of the survey/form").nullable().optional(),
|
|
29
29
|
project_name: zod.z.string().describe("Name of the project/report").nullable().optional(),
|
|
30
30
|
scores_object: zod.z.string().describe("JSON-encoded map of score field IDs to values").nullable().optional()
|
|
31
|
-
}).describe("Single feedback item data structure.");
|
|
31
|
+
}).passthrough().describe("Single feedback item data structure.");
|
|
32
32
|
const MopinionGetDatasetFeedbackById_MetaSchema = zod.z.object({
|
|
33
|
-
code: zod.z.number().int().describe("HTTP status code"),
|
|
33
|
+
code: zod.z.number().int().describe("HTTP status code").nullable(),
|
|
34
34
|
next: zod.z.boolean().describe("Whether next page exists").nullable().optional(),
|
|
35
35
|
count: zod.z.number().int().describe("Number of items in current response").nullable().optional(),
|
|
36
36
|
total: zod.z.number().int().describe("Total number of items").nullable().optional(),
|
|
37
|
-
message: zod.z.string().describe("Status message"),
|
|
37
|
+
message: zod.z.string().describe("Status message").nullable(),
|
|
38
38
|
has_more: zod.z.boolean().describe("Whether more results are available").nullable().optional(),
|
|
39
39
|
previous: zod.z.boolean().describe("Whether previous page exists").nullable().optional(),
|
|
40
40
|
warnings: zod.z.array(zod.z.string()).describe("Warning messages if any").nullable().optional()
|
|
41
|
-
}).describe("Response metadata.");
|
|
41
|
+
}).passthrough().describe("Response metadata.");
|
|
42
42
|
const MopinionGetDatasetFeedbackByIdOutput = zod.z.object({
|
|
43
43
|
data: zod.z.array(MopinionGetDatasetFeedbackById_FeedbackItemDataSchema).describe("List containing the requested feedback item (or empty item if not found)"),
|
|
44
44
|
_meta: MopinionGetDatasetFeedbackById_MetaSchema.nullable()
|
|
45
|
-
}).describe("Response model for a single feedback item.\n\nContains structured feedback data and metadata from the API response.");
|
|
45
|
+
}).passthrough().describe("Response model for a single feedback item.\n\nContains structured feedback data and metadata from the API response.");
|
|
46
46
|
const mopinionGetDatasetFeedbackById = require_action.action("MOPINION_GET_DATASET_FEEDBACK_BY_ID", {
|
|
47
47
|
slug: "mopinion-get-dataset-feedback-by-id",
|
|
48
48
|
name: "Get Dataset Feedback By ID",
|