@keystrokehq/satismeter 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/embed-survey.cjs +3 -3
- package/dist/actions/embed-survey.cjs.map +1 -1
- package/dist/actions/embed-survey.d.cts +5 -5
- package/dist/actions/embed-survey.d.mts +5 -5
- package/dist/actions/embed-survey.mjs +3 -3
- package/dist/actions/embed-survey.mjs.map +1 -1
- package/dist/actions/get-unsubscribed-emails.cjs +3 -3
- package/dist/actions/get-unsubscribed-emails.cjs.map +1 -1
- package/dist/actions/get-unsubscribed-emails.d.cts +3 -3
- package/dist/actions/get-unsubscribed-emails.d.mts +3 -3
- package/dist/actions/get-unsubscribed-emails.mjs +3 -3
- package/dist/actions/get-unsubscribed-emails.mjs.map +1 -1
- package/dist/actions/list-surveys.cjs +2 -2
- package/dist/actions/list-surveys.cjs.map +1 -1
- package/dist/actions/list-surveys.d.cts +2 -2
- package/dist/actions/list-surveys.d.mts +2 -2
- package/dist/actions/list-surveys.mjs +2 -2
- package/dist/actions/list-surveys.mjs.map +1 -1
- package/dist/actions/list-users.cjs +3 -3
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +3 -3
- package/dist/actions/list-users.d.mts +3 -3
- package/dist/actions/list-users.mjs +3 -3
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/update-unsubscribed-emails.cjs +2 -2
- package/dist/actions/update-unsubscribed-emails.cjs.map +1 -1
- package/dist/actions/update-unsubscribed-emails.d.cts +2 -2
- package/dist/actions/update-unsubscribed-emails.d.mts +2 -2
- package/dist/actions/update-unsubscribed-emails.mjs +2 -2
- package/dist/actions/update-unsubscribed-emails.mjs.map +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -2,12 +2,12 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/embed-survey.ts
|
|
4
4
|
const SatismeterEmbedSurveyInput = zod.z.object({
|
|
5
|
-
traits: zod.z.
|
|
5
|
+
traits: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional user profile information").optional(),
|
|
6
6
|
userId: zod.z.string().describe("Unique identifier for the user to target with the survey").optional(),
|
|
7
|
-
settings: zod.z.
|
|
7
|
+
settings: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Survey display settings including language and custom text").optional(),
|
|
8
8
|
writeKey: zod.z.string().describe("Project Write Key from SatisMeter")
|
|
9
9
|
}).describe("Request model for generating the embed survey JavaScript snippet.");
|
|
10
|
-
const SatismeterEmbedSurveyOutput = zod.z.object({ embed_code: zod.z.string().describe("HTML <script> block to embed the Satismeter survey").nullable() }).describe("Response model containing the embed code snippet.");
|
|
10
|
+
const SatismeterEmbedSurveyOutput = zod.z.object({ embed_code: zod.z.string().describe("HTML <script> block to embed the Satismeter survey").nullable() }).passthrough().describe("Response model containing the embed code snippet.");
|
|
11
11
|
const satismeterEmbedSurvey = require_action.action("SATISMETER_EMBED_SURVEY", {
|
|
12
12
|
slug: "satismeter-embed-survey",
|
|
13
13
|
name: "Embed Survey",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"embed-survey.cjs","names":["z","action"],"sources":["../../src/actions/embed-survey.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SatismeterEmbedSurveyInput = z.object({\n traits: z.
|
|
1
|
+
{"version":3,"file":"embed-survey.cjs","names":["z","action"],"sources":["../../src/actions/embed-survey.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SatismeterEmbedSurveyInput = z.object({\n traits: z.record(z.string(), z.unknown()).describe(\"Additional user profile information\").optional(),\n userId: z.string().describe(\"Unique identifier for the user to target with the survey\").optional(),\n settings: z.record(z.string(), z.unknown()).describe(\"Survey display settings including language and custom text\").optional(),\n writeKey: z.string().describe(\"Project Write Key from SatisMeter\"),\n}).describe(\"Request model for generating the embed survey JavaScript snippet.\");\nexport const SatismeterEmbedSurveyOutput = z.object({\n embed_code: z.string().describe(\"HTML <script> block to embed the Satismeter survey\").nullable(),\n}).passthrough().describe(\"Response model containing the embed code snippet.\");\n\nexport const satismeterEmbedSurvey = action(\"SATISMETER_EMBED_SURVEY\", {\n slug: \"satismeter-embed-survey\",\n name: \"Embed Survey\",\n description: \"Tool to generate a JavaScript snippet to embed a SatisMeter survey. Use after configuring your project and obtaining your write key.\",\n input: SatismeterEmbedSurveyInput,\n output: SatismeterEmbedSurveyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACnG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACjG,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAC5H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;AACnE,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,EACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -2,19 +2,19 @@ import { z } from "zod";
|
|
|
2
2
|
|
|
3
3
|
//#region src/actions/embed-survey.d.ts
|
|
4
4
|
declare const SatismeterEmbedSurveyInput: z.ZodObject<{
|
|
5
|
-
traits: z.ZodOptional<z.
|
|
5
|
+
traits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6
6
|
userId: z.ZodOptional<z.ZodString>;
|
|
7
|
-
settings: z.ZodOptional<z.
|
|
7
|
+
settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
8
8
|
writeKey: z.ZodString;
|
|
9
9
|
}, z.core.$strip>;
|
|
10
10
|
declare const SatismeterEmbedSurveyOutput: z.ZodObject<{
|
|
11
11
|
embed_code: z.ZodNullable<z.ZodString>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const satismeterEmbedSurvey: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
writeKey: string;
|
|
15
|
-
traits?: Record<string,
|
|
15
|
+
traits?: Record<string, unknown> | undefined;
|
|
16
16
|
userId?: string | undefined;
|
|
17
|
-
settings?: Record<string,
|
|
17
|
+
settings?: Record<string, unknown> | undefined;
|
|
18
18
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { satismeterEmbedSurvey };
|
|
@@ -2,19 +2,19 @@ import { z } from "zod";
|
|
|
2
2
|
|
|
3
3
|
//#region src/actions/embed-survey.d.ts
|
|
4
4
|
declare const SatismeterEmbedSurveyInput: z.ZodObject<{
|
|
5
|
-
traits: z.ZodOptional<z.
|
|
5
|
+
traits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6
6
|
userId: z.ZodOptional<z.ZodString>;
|
|
7
|
-
settings: z.ZodOptional<z.
|
|
7
|
+
settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
8
8
|
writeKey: z.ZodString;
|
|
9
9
|
}, z.core.$strip>;
|
|
10
10
|
declare const SatismeterEmbedSurveyOutput: z.ZodObject<{
|
|
11
11
|
embed_code: z.ZodNullable<z.ZodString>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const satismeterEmbedSurvey: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
writeKey: string;
|
|
15
|
-
traits?: Record<string,
|
|
15
|
+
traits?: Record<string, unknown> | undefined;
|
|
16
16
|
userId?: string | undefined;
|
|
17
|
-
settings?: Record<string,
|
|
17
|
+
settings?: Record<string, unknown> | undefined;
|
|
18
18
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { satismeterEmbedSurvey };
|
|
@@ -5,12 +5,12 @@ const satismeterEmbedSurvey = action("SATISMETER_EMBED_SURVEY", {
|
|
|
5
5
|
name: "Embed Survey",
|
|
6
6
|
description: "Tool to generate a JavaScript snippet to embed a SatisMeter survey. Use after configuring your project and obtaining your write key.",
|
|
7
7
|
input: z.object({
|
|
8
|
-
traits: z.
|
|
8
|
+
traits: z.record(z.string(), z.unknown()).describe("Additional user profile information").optional(),
|
|
9
9
|
userId: z.string().describe("Unique identifier for the user to target with the survey").optional(),
|
|
10
|
-
settings: z.
|
|
10
|
+
settings: z.record(z.string(), z.unknown()).describe("Survey display settings including language and custom text").optional(),
|
|
11
11
|
writeKey: z.string().describe("Project Write Key from SatisMeter")
|
|
12
12
|
}).describe("Request model for generating the embed survey JavaScript snippet."),
|
|
13
|
-
output: z.object({ embed_code: z.string().describe("HTML <script> block to embed the Satismeter survey").nullable() }).describe("Response model containing the embed code snippet.")
|
|
13
|
+
output: z.object({ embed_code: z.string().describe("HTML <script> block to embed the Satismeter survey").nullable() }).passthrough().describe("Response model containing the embed code snippet.")
|
|
14
14
|
});
|
|
15
15
|
//#endregion
|
|
16
16
|
export { satismeterEmbedSurvey };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"embed-survey.mjs","names":[],"sources":["../../src/actions/embed-survey.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SatismeterEmbedSurveyInput = z.object({\n traits: z.
|
|
1
|
+
{"version":3,"file":"embed-survey.mjs","names":[],"sources":["../../src/actions/embed-survey.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SatismeterEmbedSurveyInput = z.object({\n traits: z.record(z.string(), z.unknown()).describe(\"Additional user profile information\").optional(),\n userId: z.string().describe(\"Unique identifier for the user to target with the survey\").optional(),\n settings: z.record(z.string(), z.unknown()).describe(\"Survey display settings including language and custom text\").optional(),\n writeKey: z.string().describe(\"Project Write Key from SatisMeter\"),\n}).describe(\"Request model for generating the embed survey JavaScript snippet.\");\nexport const SatismeterEmbedSurveyOutput = z.object({\n embed_code: z.string().describe(\"HTML <script> block to embed the Satismeter survey\").nullable(),\n}).passthrough().describe(\"Response model containing the embed code snippet.\");\n\nexport const satismeterEmbedSurvey = action(\"SATISMETER_EMBED_SURVEY\", {\n slug: \"satismeter-embed-survey\",\n name: \"Embed Survey\",\n description: \"Tool to generate a JavaScript snippet to embed a SatisMeter survey. Use after configuring your project and obtaining your write key.\",\n input: SatismeterEmbedSurveyInput,\n output: SatismeterEmbedSurveyOutput,\n});\n"],"mappings":";;AAcA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdwC,EAAE,OAAO;EACjD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EACnG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EACjG,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EAC5H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CACnE,CAAC,CAAC,CAAC,SAAS,mEASH;CACP,QATyC,EAAE,OAAO,EAClD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,EACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAOhB;AACV,CAAC"}
|
|
@@ -2,13 +2,13 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/get-unsubscribed-emails.ts
|
|
4
4
|
const SatismeterGetUnsubscribedEmailsInput = zod.z.object({ project_id: zod.z.string().describe("Unique ID of the project to retrieve unsubscribed emails for. This is the Project ID found in Settings > Integrations > API in your SatisMeter dashboard (24-character MongoDB ObjectID format, e.g., '68877a5547d1914b110d41bd').") }).describe("Request model for retrieving unsubscribed emails for a Satismeter project.");
|
|
5
|
-
const SatismeterGetUnsubscribedEmails_GetUnsubscribedEmailsResponseAttributesSchema = zod.z.object({ emails: zod.z.array(zod.z.string()).describe("List of unsubscribed email addresses.").nullable().optional() }).describe("Attributes containing the list of unsubscribed emails.");
|
|
5
|
+
const SatismeterGetUnsubscribedEmails_GetUnsubscribedEmailsResponseAttributesSchema = zod.z.object({ emails: zod.z.array(zod.z.string()).describe("List of unsubscribed email addresses.").nullable().optional() }).passthrough().describe("Attributes containing the list of unsubscribed emails.");
|
|
6
6
|
const SatismeterGetUnsubscribedEmails_GetUnsubscribedEmailsResponseDataSchema = zod.z.object({
|
|
7
7
|
id: zod.z.string().describe("The project ID.").nullable(),
|
|
8
8
|
type: zod.z.string().describe("The resource type (always 'project-unsubscribes').").nullable(),
|
|
9
9
|
attributes: SatismeterGetUnsubscribedEmails_GetUnsubscribedEmailsResponseAttributesSchema.nullable()
|
|
10
|
-
}).describe("Data container for the unsubscribed emails response.");
|
|
11
|
-
const SatismeterGetUnsubscribedEmailsOutput = zod.z.object({ data: SatismeterGetUnsubscribedEmails_GetUnsubscribedEmailsResponseDataSchema.nullable() }).describe("Response model containing the list of unsubscribed emails in JSON:API format.");
|
|
10
|
+
}).passthrough().describe("Data container for the unsubscribed emails response.");
|
|
11
|
+
const SatismeterGetUnsubscribedEmailsOutput = zod.z.object({ data: SatismeterGetUnsubscribedEmails_GetUnsubscribedEmailsResponseDataSchema.nullable() }).passthrough().describe("Response model containing the list of unsubscribed emails in JSON:API format.");
|
|
12
12
|
const satismeterGetUnsubscribedEmails = require_action.action("SATISMETER_GET_UNSUBSCRIBED_EMAILS", {
|
|
13
13
|
slug: "satismeter-get-unsubscribed-emails",
|
|
14
14
|
name: "Get Unsubscribed Emails",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-unsubscribed-emails.cjs","names":["z","action"],"sources":["../../src/actions/get-unsubscribed-emails.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SatismeterGetUnsubscribedEmailsInput = z.object({\n project_id: z.string().describe(\"Unique ID of the project to retrieve unsubscribed emails for. This is the Project ID found in Settings > Integrations > API in your SatisMeter dashboard (24-character MongoDB ObjectID format, e.g., '68877a5547d1914b110d41bd').\"),\n}).describe(\"Request model for retrieving unsubscribed emails for a Satismeter project.\");\nconst SatismeterGetUnsubscribedEmails_GetUnsubscribedEmailsResponseAttributesSchema = z.object({\n emails: z.array(z.string()).describe(\"List of unsubscribed email addresses.\").nullable().optional(),\n}).describe(\"Attributes containing the list of unsubscribed emails.\");\nconst SatismeterGetUnsubscribedEmails_GetUnsubscribedEmailsResponseDataSchema = z.object({\n id: z.string().describe(\"The project ID.\").nullable(),\n type: z.string().describe(\"The resource type (always 'project-unsubscribes').\").nullable(),\n attributes: SatismeterGetUnsubscribedEmails_GetUnsubscribedEmailsResponseAttributesSchema.nullable(),\n}).describe(\"Data container for the unsubscribed emails response.\");\nexport const SatismeterGetUnsubscribedEmailsOutput = z.object({\n data: SatismeterGetUnsubscribedEmails_GetUnsubscribedEmailsResponseDataSchema.nullable(),\n}).describe(\"Response model containing the list of unsubscribed emails in JSON:API format.\");\n\nexport const satismeterGetUnsubscribedEmails = action(\"SATISMETER_GET_UNSUBSCRIBED_EMAILS\", {\n slug: \"satismeter-get-unsubscribed-emails\",\n name: \"Get Unsubscribed Emails\",\n description: \"Tool to retrieve list of unsubscribed emails for a project. Use when you need to fetch emails that have opted out of surveys.\",\n input: SatismeterGetUnsubscribedEmailsInput,\n output: SatismeterGetUnsubscribedEmailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oOAAoO,EACtQ,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,gFAAgFA,IAAAA,EAAE,OAAO,EAC7F,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpG,CAAC,CAAC,CAAC,SAAS,wDAAwD;
|
|
1
|
+
{"version":3,"file":"get-unsubscribed-emails.cjs","names":["z","action"],"sources":["../../src/actions/get-unsubscribed-emails.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SatismeterGetUnsubscribedEmailsInput = z.object({\n project_id: z.string().describe(\"Unique ID of the project to retrieve unsubscribed emails for. This is the Project ID found in Settings > Integrations > API in your SatisMeter dashboard (24-character MongoDB ObjectID format, e.g., '68877a5547d1914b110d41bd').\"),\n}).describe(\"Request model for retrieving unsubscribed emails for a Satismeter project.\");\nconst SatismeterGetUnsubscribedEmails_GetUnsubscribedEmailsResponseAttributesSchema = z.object({\n emails: z.array(z.string()).describe(\"List of unsubscribed email addresses.\").nullable().optional(),\n}).passthrough().describe(\"Attributes containing the list of unsubscribed emails.\");\nconst SatismeterGetUnsubscribedEmails_GetUnsubscribedEmailsResponseDataSchema = z.object({\n id: z.string().describe(\"The project ID.\").nullable(),\n type: z.string().describe(\"The resource type (always 'project-unsubscribes').\").nullable(),\n attributes: SatismeterGetUnsubscribedEmails_GetUnsubscribedEmailsResponseAttributesSchema.nullable(),\n}).passthrough().describe(\"Data container for the unsubscribed emails response.\");\nexport const SatismeterGetUnsubscribedEmailsOutput = z.object({\n data: SatismeterGetUnsubscribedEmails_GetUnsubscribedEmailsResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response model containing the list of unsubscribed emails in JSON:API format.\");\n\nexport const satismeterGetUnsubscribedEmails = action(\"SATISMETER_GET_UNSUBSCRIBED_EMAILS\", {\n slug: \"satismeter-get-unsubscribed-emails\",\n name: \"Get Unsubscribed Emails\",\n description: \"Tool to retrieve list of unsubscribed emails for a project. Use when you need to fetch emails that have opted out of surveys.\",\n input: SatismeterGetUnsubscribedEmailsInput,\n output: SatismeterGetUnsubscribedEmailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oOAAoO,EACtQ,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,gFAAgFA,IAAAA,EAAE,OAAO,EAC7F,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAClF,MAAM,0EAA0EA,IAAAA,EAAE,OAAO;CACvF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACzF,YAAY,8EAA8E,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,MAAM,wEAAwE,SAAS,EACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+EAA+E;AAEzG,MAAa,kCAAkCC,eAAAA,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -10,9 +10,9 @@ declare const SatismeterGetUnsubscribedEmailsOutput: z.ZodObject<{
|
|
|
10
10
|
type: z.ZodNullable<z.ZodString>;
|
|
11
11
|
attributes: z.ZodNullable<z.ZodObject<{
|
|
12
12
|
emails: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
13
|
-
}, z.core.$
|
|
14
|
-
}, z.core.$
|
|
15
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>>;
|
|
14
|
+
}, z.core.$loose>>;
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const satismeterGetUnsubscribedEmails: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
project_id: string;
|
|
18
18
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -10,9 +10,9 @@ declare const SatismeterGetUnsubscribedEmailsOutput: z.ZodObject<{
|
|
|
10
10
|
type: z.ZodNullable<z.ZodString>;
|
|
11
11
|
attributes: z.ZodNullable<z.ZodObject<{
|
|
12
12
|
emails: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
13
|
-
}, z.core.$
|
|
14
|
-
}, z.core.$
|
|
15
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>>;
|
|
14
|
+
}, z.core.$loose>>;
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const satismeterGetUnsubscribedEmails: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
project_id: string;
|
|
18
18
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -2,18 +2,18 @@ import { action } from "../action.mjs";
|
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region src/actions/get-unsubscribed-emails.ts
|
|
4
4
|
const SatismeterGetUnsubscribedEmailsInput = z.object({ project_id: z.string().describe("Unique ID of the project to retrieve unsubscribed emails for. This is the Project ID found in Settings > Integrations > API in your SatisMeter dashboard (24-character MongoDB ObjectID format, e.g., '68877a5547d1914b110d41bd').") }).describe("Request model for retrieving unsubscribed emails for a Satismeter project.");
|
|
5
|
-
const SatismeterGetUnsubscribedEmails_GetUnsubscribedEmailsResponseAttributesSchema = z.object({ emails: z.array(z.string()).describe("List of unsubscribed email addresses.").nullable().optional() }).describe("Attributes containing the list of unsubscribed emails.");
|
|
5
|
+
const SatismeterGetUnsubscribedEmails_GetUnsubscribedEmailsResponseAttributesSchema = z.object({ emails: z.array(z.string()).describe("List of unsubscribed email addresses.").nullable().optional() }).passthrough().describe("Attributes containing the list of unsubscribed emails.");
|
|
6
6
|
const SatismeterGetUnsubscribedEmails_GetUnsubscribedEmailsResponseDataSchema = z.object({
|
|
7
7
|
id: z.string().describe("The project ID.").nullable(),
|
|
8
8
|
type: z.string().describe("The resource type (always 'project-unsubscribes').").nullable(),
|
|
9
9
|
attributes: SatismeterGetUnsubscribedEmails_GetUnsubscribedEmailsResponseAttributesSchema.nullable()
|
|
10
|
-
}).describe("Data container for the unsubscribed emails response.");
|
|
10
|
+
}).passthrough().describe("Data container for the unsubscribed emails response.");
|
|
11
11
|
const satismeterGetUnsubscribedEmails = action("SATISMETER_GET_UNSUBSCRIBED_EMAILS", {
|
|
12
12
|
slug: "satismeter-get-unsubscribed-emails",
|
|
13
13
|
name: "Get Unsubscribed Emails",
|
|
14
14
|
description: "Tool to retrieve list of unsubscribed emails for a project. Use when you need to fetch emails that have opted out of surveys.",
|
|
15
15
|
input: SatismeterGetUnsubscribedEmailsInput,
|
|
16
|
-
output: z.object({ data: SatismeterGetUnsubscribedEmails_GetUnsubscribedEmailsResponseDataSchema.nullable() }).describe("Response model containing the list of unsubscribed emails in JSON:API format.")
|
|
16
|
+
output: z.object({ data: SatismeterGetUnsubscribedEmails_GetUnsubscribedEmailsResponseDataSchema.nullable() }).passthrough().describe("Response model containing the list of unsubscribed emails in JSON:API format.")
|
|
17
17
|
});
|
|
18
18
|
//#endregion
|
|
19
19
|
export { satismeterGetUnsubscribedEmails };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-unsubscribed-emails.mjs","names":[],"sources":["../../src/actions/get-unsubscribed-emails.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SatismeterGetUnsubscribedEmailsInput = z.object({\n project_id: z.string().describe(\"Unique ID of the project to retrieve unsubscribed emails for. This is the Project ID found in Settings > Integrations > API in your SatisMeter dashboard (24-character MongoDB ObjectID format, e.g., '68877a5547d1914b110d41bd').\"),\n}).describe(\"Request model for retrieving unsubscribed emails for a Satismeter project.\");\nconst SatismeterGetUnsubscribedEmails_GetUnsubscribedEmailsResponseAttributesSchema = z.object({\n emails: z.array(z.string()).describe(\"List of unsubscribed email addresses.\").nullable().optional(),\n}).describe(\"Attributes containing the list of unsubscribed emails.\");\nconst SatismeterGetUnsubscribedEmails_GetUnsubscribedEmailsResponseDataSchema = z.object({\n id: z.string().describe(\"The project ID.\").nullable(),\n type: z.string().describe(\"The resource type (always 'project-unsubscribes').\").nullable(),\n attributes: SatismeterGetUnsubscribedEmails_GetUnsubscribedEmailsResponseAttributesSchema.nullable(),\n}).describe(\"Data container for the unsubscribed emails response.\");\nexport const SatismeterGetUnsubscribedEmailsOutput = z.object({\n data: SatismeterGetUnsubscribedEmails_GetUnsubscribedEmailsResponseDataSchema.nullable(),\n}).describe(\"Response model containing the list of unsubscribed emails in JSON:API format.\");\n\nexport const satismeterGetUnsubscribedEmails = action(\"SATISMETER_GET_UNSUBSCRIBED_EMAILS\", {\n slug: \"satismeter-get-unsubscribed-emails\",\n name: \"Get Unsubscribed Emails\",\n description: \"Tool to retrieve list of unsubscribed emails for a project. Use when you need to fetch emails that have opted out of surveys.\",\n input: SatismeterGetUnsubscribedEmailsInput,\n output: SatismeterGetUnsubscribedEmailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuC,EAAE,OAAO,EAC3D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oOAAoO,EACtQ,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,gFAAgF,EAAE,OAAO,EAC7F,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpG,CAAC,CAAC,CAAC,SAAS,wDAAwD;
|
|
1
|
+
{"version":3,"file":"get-unsubscribed-emails.mjs","names":[],"sources":["../../src/actions/get-unsubscribed-emails.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SatismeterGetUnsubscribedEmailsInput = z.object({\n project_id: z.string().describe(\"Unique ID of the project to retrieve unsubscribed emails for. This is the Project ID found in Settings > Integrations > API in your SatisMeter dashboard (24-character MongoDB ObjectID format, e.g., '68877a5547d1914b110d41bd').\"),\n}).describe(\"Request model for retrieving unsubscribed emails for a Satismeter project.\");\nconst SatismeterGetUnsubscribedEmails_GetUnsubscribedEmailsResponseAttributesSchema = z.object({\n emails: z.array(z.string()).describe(\"List of unsubscribed email addresses.\").nullable().optional(),\n}).passthrough().describe(\"Attributes containing the list of unsubscribed emails.\");\nconst SatismeterGetUnsubscribedEmails_GetUnsubscribedEmailsResponseDataSchema = z.object({\n id: z.string().describe(\"The project ID.\").nullable(),\n type: z.string().describe(\"The resource type (always 'project-unsubscribes').\").nullable(),\n attributes: SatismeterGetUnsubscribedEmails_GetUnsubscribedEmailsResponseAttributesSchema.nullable(),\n}).passthrough().describe(\"Data container for the unsubscribed emails response.\");\nexport const SatismeterGetUnsubscribedEmailsOutput = z.object({\n data: SatismeterGetUnsubscribedEmails_GetUnsubscribedEmailsResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response model containing the list of unsubscribed emails in JSON:API format.\");\n\nexport const satismeterGetUnsubscribedEmails = action(\"SATISMETER_GET_UNSUBSCRIBED_EMAILS\", {\n slug: \"satismeter-get-unsubscribed-emails\",\n name: \"Get Unsubscribed Emails\",\n description: \"Tool to retrieve list of unsubscribed emails for a project. Use when you need to fetch emails that have opted out of surveys.\",\n input: SatismeterGetUnsubscribedEmailsInput,\n output: SatismeterGetUnsubscribedEmailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuC,EAAE,OAAO,EAC3D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oOAAoO,EACtQ,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,gFAAgF,EAAE,OAAO,EAC7F,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAClF,MAAM,0EAA0E,EAAE,OAAO;CACvF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACzF,YAAY,8EAA8E,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAKhF,MAAa,kCAAkC,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmD,EAAE,OAAO,EAC5D,MAAM,wEAAwE,SAAS,EACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+EAOhB;AACV,CAAC"}
|
|
@@ -7,8 +7,8 @@ const SatismeterListSurveys_ListSurveysResponseDataSchema = zod.z.object({
|
|
|
7
7
|
name: zod.z.string().describe("Name of the survey (campaign)").nullable(),
|
|
8
8
|
type: zod.z.string().describe("Survey template type (nps, ces, csat, pmf, or custom)").nullable().optional(),
|
|
9
9
|
state: zod.z.string().describe("Current survey status (live, paused, or draft)").nullable().optional()
|
|
10
|
-
});
|
|
11
|
-
const SatismeterListSurveysOutput = zod.z.object({ data: zod.z.array(SatismeterListSurveys_ListSurveysResponseDataSchema).describe("List of surveys (campaigns)") });
|
|
10
|
+
}).passthrough();
|
|
11
|
+
const SatismeterListSurveysOutput = zod.z.object({ data: zod.z.array(SatismeterListSurveys_ListSurveysResponseDataSchema).describe("List of surveys (campaigns)") }).passthrough();
|
|
12
12
|
const satismeterListSurveys = require_action.action("SATISMETER_LIST_SURVEYS", {
|
|
13
13
|
slug: "satismeter-list-surveys",
|
|
14
14
|
name: "List Surveys",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-surveys.cjs","names":["z","action"],"sources":["../../src/actions/list-surveys.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SatismeterListSurveysInput = z.object({\n project: z.string().describe(\"SatisMeter project ID (24-character hex string). Obtain from your connected SatisMeter account or from the SatisMeter dashboard under Project Settings. Do not use project names.\"),\n}).describe(\"Request model for listing surveys (campaigns) in a SatisMeter project.\");\nconst SatismeterListSurveys_ListSurveysResponseDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the survey (campaign)\").nullable(),\n name: z.string().describe(\"Name of the survey (campaign)\").nullable(),\n type: z.string().describe(\"Survey template type (nps, ces, csat, pmf, or custom)\").nullable().optional(),\n state: z.string().describe(\"Current survey status (live, paused, or draft)\").nullable().optional(),\n});\nexport const SatismeterListSurveysOutput = z.object({\n data: z.array(SatismeterListSurveys_ListSurveysResponseDataSchema).describe(\"List of surveys (campaigns)\"),\n});\n\nexport const satismeterListSurveys = action(\"SATISMETER_LIST_SURVEYS\", {\n slug: \"satismeter-list-surveys\",\n name: \"List Surveys\",\n description: \"Tool to list surveys (campaigns) in a project. Use when you have a valid project ID and need to retrieve its surveys.\",\n input: SatismeterListSurveysInput,\n output: SatismeterListSurveysOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mLAAmL,EAClN,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,sDAAsDA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC;
|
|
1
|
+
{"version":3,"file":"list-surveys.cjs","names":["z","action"],"sources":["../../src/actions/list-surveys.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SatismeterListSurveysInput = z.object({\n project: z.string().describe(\"SatisMeter project ID (24-character hex string). Obtain from your connected SatisMeter account or from the SatisMeter dashboard under Project Settings. Do not use project names.\"),\n}).describe(\"Request model for listing surveys (campaigns) in a SatisMeter project.\");\nconst SatismeterListSurveys_ListSurveysResponseDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the survey (campaign)\").nullable(),\n name: z.string().describe(\"Name of the survey (campaign)\").nullable(),\n type: z.string().describe(\"Survey template type (nps, ces, csat, pmf, or custom)\").nullable().optional(),\n state: z.string().describe(\"Current survey status (live, paused, or draft)\").nullable().optional(),\n}).passthrough();\nexport const SatismeterListSurveysOutput = z.object({\n data: z.array(SatismeterListSurveys_ListSurveysResponseDataSchema).describe(\"List of surveys (campaigns)\"),\n}).passthrough();\n\nexport const satismeterListSurveys = action(\"SATISMETER_LIST_SURVEYS\", {\n slug: \"satismeter-list-surveys\",\n name: \"List Surveys\",\n description: \"Tool to list surveys (campaigns) in a project. Use when you have a valid project ID and need to retrieve its surveys.\",\n input: SatismeterListSurveysInput,\n output: SatismeterListSurveysOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mLAAmL,EAClN,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,sDAAsDA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,MAAMA,IAAAA,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,6BAA6B,EAC3G,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -10,8 +10,8 @@ declare const SatismeterListSurveysOutput: z.ZodObject<{
|
|
|
10
10
|
name: z.ZodNullable<z.ZodString>;
|
|
11
11
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
-
}, z.core.$
|
|
14
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>>;
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const satismeterListSurveys: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
project: string;
|
|
17
17
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -10,8 +10,8 @@ declare const SatismeterListSurveysOutput: z.ZodObject<{
|
|
|
10
10
|
name: z.ZodNullable<z.ZodString>;
|
|
11
11
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
-
}, z.core.$
|
|
14
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>>;
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const satismeterListSurveys: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
project: string;
|
|
17
17
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -7,13 +7,13 @@ const SatismeterListSurveys_ListSurveysResponseDataSchema = z.object({
|
|
|
7
7
|
name: z.string().describe("Name of the survey (campaign)").nullable(),
|
|
8
8
|
type: z.string().describe("Survey template type (nps, ces, csat, pmf, or custom)").nullable().optional(),
|
|
9
9
|
state: z.string().describe("Current survey status (live, paused, or draft)").nullable().optional()
|
|
10
|
-
});
|
|
10
|
+
}).passthrough();
|
|
11
11
|
const satismeterListSurveys = action("SATISMETER_LIST_SURVEYS", {
|
|
12
12
|
slug: "satismeter-list-surveys",
|
|
13
13
|
name: "List Surveys",
|
|
14
14
|
description: "Tool to list surveys (campaigns) in a project. Use when you have a valid project ID and need to retrieve its surveys.",
|
|
15
15
|
input: SatismeterListSurveysInput,
|
|
16
|
-
output: z.object({ data: z.array(SatismeterListSurveys_ListSurveysResponseDataSchema).describe("List of surveys (campaigns)") })
|
|
16
|
+
output: z.object({ data: z.array(SatismeterListSurveys_ListSurveysResponseDataSchema).describe("List of surveys (campaigns)") }).passthrough()
|
|
17
17
|
});
|
|
18
18
|
//#endregion
|
|
19
19
|
export { satismeterListSurveys };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-surveys.mjs","names":[],"sources":["../../src/actions/list-surveys.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SatismeterListSurveysInput = z.object({\n project: z.string().describe(\"SatisMeter project ID (24-character hex string). Obtain from your connected SatisMeter account or from the SatisMeter dashboard under Project Settings. Do not use project names.\"),\n}).describe(\"Request model for listing surveys (campaigns) in a SatisMeter project.\");\nconst SatismeterListSurveys_ListSurveysResponseDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the survey (campaign)\").nullable(),\n name: z.string().describe(\"Name of the survey (campaign)\").nullable(),\n type: z.string().describe(\"Survey template type (nps, ces, csat, pmf, or custom)\").nullable().optional(),\n state: z.string().describe(\"Current survey status (live, paused, or draft)\").nullable().optional(),\n});\nexport const SatismeterListSurveysOutput = z.object({\n data: z.array(SatismeterListSurveys_ListSurveysResponseDataSchema).describe(\"List of surveys (campaigns)\"),\n});\n\nexport const satismeterListSurveys = action(\"SATISMETER_LIST_SURVEYS\", {\n slug: \"satismeter-list-surveys\",\n name: \"List Surveys\",\n description: \"Tool to list surveys (campaigns) in a project. Use when you have a valid project ID and need to retrieve its surveys.\",\n input: SatismeterListSurveysInput,\n output: SatismeterListSurveysOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO,EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mLAAmL,EAClN,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,sDAAsD,EAAE,OAAO;CACnE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC;
|
|
1
|
+
{"version":3,"file":"list-surveys.mjs","names":[],"sources":["../../src/actions/list-surveys.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SatismeterListSurveysInput = z.object({\n project: z.string().describe(\"SatisMeter project ID (24-character hex string). Obtain from your connected SatisMeter account or from the SatisMeter dashboard under Project Settings. Do not use project names.\"),\n}).describe(\"Request model for listing surveys (campaigns) in a SatisMeter project.\");\nconst SatismeterListSurveys_ListSurveysResponseDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the survey (campaign)\").nullable(),\n name: z.string().describe(\"Name of the survey (campaign)\").nullable(),\n type: z.string().describe(\"Survey template type (nps, ces, csat, pmf, or custom)\").nullable().optional(),\n state: z.string().describe(\"Current survey status (live, paused, or draft)\").nullable().optional(),\n}).passthrough();\nexport const SatismeterListSurveysOutput = z.object({\n data: z.array(SatismeterListSurveys_ListSurveysResponseDataSchema).describe(\"List of surveys (campaigns)\"),\n}).passthrough();\n\nexport const satismeterListSurveys = action(\"SATISMETER_LIST_SURVEYS\", {\n slug: \"satismeter-list-surveys\",\n name: \"List Surveys\",\n description: \"Tool to list surveys (campaigns) in a project. Use when you have a valid project ID and need to retrieve its surveys.\",\n input: SatismeterListSurveysInput,\n output: SatismeterListSurveysOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO,EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mLAAmL,EAClN,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,sDAAsD,EAAE,OAAO;CACnE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyC,EAAE,OAAO,EAClD,MAAM,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,6BAA6B,EAC3G,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -9,14 +9,14 @@ const SatismeterListUsers_UserDataSchema = zod.z.object({
|
|
|
9
9
|
id: zod.z.string().describe("Internal SatisMeter user ID").nullable(),
|
|
10
10
|
name: zod.z.string().describe("User's name").nullable().optional(),
|
|
11
11
|
email: zod.z.string().describe("User's email address").nullable().optional(),
|
|
12
|
-
traits: zod.z.
|
|
12
|
+
traits: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom traits attached to the user").nullable().optional(),
|
|
13
13
|
userId: zod.z.string().describe("The user ID passed on the widget").nullable().optional(),
|
|
14
14
|
created: zod.z.string().describe("Creation timestamp").nullable().optional(),
|
|
15
15
|
project: zod.z.string().describe("The project ID this user belongs to").nullable().optional(),
|
|
16
16
|
lastSeen: zod.z.string().describe("Timestamp of when the user was last seen").nullable().optional(),
|
|
17
17
|
unsubscribed: zod.z.boolean().describe("Whether the user is unsubscribed").nullable().optional()
|
|
18
|
-
}).describe("Individual user data returned by the API");
|
|
19
|
-
const SatismeterListUsersOutput = zod.z.object({ users: zod.z.array(SatismeterListUsers_UserDataSchema).describe("List of users in the project") }).describe("Response model for listing users");
|
|
18
|
+
}).passthrough().describe("Individual user data returned by the API");
|
|
19
|
+
const SatismeterListUsersOutput = zod.z.object({ users: zod.z.array(SatismeterListUsers_UserDataSchema).describe("List of users in the project") }).passthrough().describe("Response model for listing users");
|
|
20
20
|
const satismeterListUsers = require_action.action("SATISMETER_LIST_USERS", {
|
|
21
21
|
slug: "satismeter-list-users",
|
|
22
22
|
name: "List Users",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-users.cjs","names":["z","action"],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SatismeterListUsersInput = z.object({\n project: z.string().describe(\"ID of the project to list users for\"),\n user_id: z.string().describe(\"Filter by specific user ID (the id passed on the widget) to return only that user\").optional(),\n}).describe(\"Request model for listing users in a Satismeter project.\");\nconst SatismeterListUsers_UserDataSchema = z.object({\n id: z.string().describe(\"Internal SatisMeter user ID\").nullable(),\n name: z.string().describe(\"User's name\").nullable().optional(),\n email: z.string().describe(\"User's email address\").nullable().optional(),\n traits: z.
|
|
1
|
+
{"version":3,"file":"list-users.cjs","names":["z","action"],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SatismeterListUsersInput = z.object({\n project: z.string().describe(\"ID of the project to list users for\"),\n user_id: z.string().describe(\"Filter by specific user ID (the id passed on the widget) to return only that user\").optional(),\n}).describe(\"Request model for listing users in a Satismeter project.\");\nconst SatismeterListUsers_UserDataSchema = z.object({\n id: z.string().describe(\"Internal SatisMeter user ID\").nullable(),\n name: z.string().describe(\"User's name\").nullable().optional(),\n email: z.string().describe(\"User's email address\").nullable().optional(),\n traits: z.record(z.string(), z.unknown()).describe(\"Custom traits attached to the user\").nullable().optional(),\n userId: z.string().describe(\"The user ID passed on the widget\").nullable().optional(),\n created: z.string().describe(\"Creation timestamp\").nullable().optional(),\n project: z.string().describe(\"The project ID this user belongs to\").nullable().optional(),\n lastSeen: z.string().describe(\"Timestamp of when the user was last seen\").nullable().optional(),\n unsubscribed: z.boolean().describe(\"Whether the user is unsubscribed\").nullable().optional(),\n}).passthrough().describe(\"Individual user data returned by the API\");\nexport const SatismeterListUsersOutput = z.object({\n users: z.array(SatismeterListUsers_UserDataSchema).describe(\"List of users in the project\"),\n}).passthrough().describe(\"Response model for listing users\");\n\nexport const satismeterListUsers = action(\"SATISMETER_LIST_USERS\", {\n slug: \"satismeter-list-users\",\n name: \"List Users\",\n description: \"Tool to list users in a project. Use when you have a valid project ID and need to retrieve its users. Optionally filter by a specific user ID.\",\n input: SatismeterListUsersInput,\n output: SatismeterListUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAClE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,OAAOA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,8BAA8B,EAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAE5D,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -10,14 +10,14 @@ declare const SatismeterListUsersOutput: z.ZodObject<{
|
|
|
10
10
|
id: z.ZodNullable<z.ZodString>;
|
|
11
11
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
-
traits: z.ZodOptional<z.ZodNullable<z.
|
|
13
|
+
traits: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
14
14
|
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
project: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
lastSeen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
unsubscribed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
19
|
-
}, z.core.$
|
|
20
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>;
|
|
20
|
+
}, z.core.$loose>;
|
|
21
21
|
declare const satismeterListUsers: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
22
|
project: string;
|
|
23
23
|
user_id?: string | undefined;
|
|
@@ -10,14 +10,14 @@ declare const SatismeterListUsersOutput: z.ZodObject<{
|
|
|
10
10
|
id: z.ZodNullable<z.ZodString>;
|
|
11
11
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
-
traits: z.ZodOptional<z.ZodNullable<z.
|
|
13
|
+
traits: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
14
14
|
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
project: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
lastSeen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
unsubscribed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
19
|
-
}, z.core.$
|
|
20
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>;
|
|
20
|
+
}, z.core.$loose>;
|
|
21
21
|
declare const satismeterListUsers: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
22
|
project: string;
|
|
23
23
|
user_id?: string | undefined;
|
|
@@ -9,19 +9,19 @@ const SatismeterListUsers_UserDataSchema = z.object({
|
|
|
9
9
|
id: z.string().describe("Internal SatisMeter user ID").nullable(),
|
|
10
10
|
name: z.string().describe("User's name").nullable().optional(),
|
|
11
11
|
email: z.string().describe("User's email address").nullable().optional(),
|
|
12
|
-
traits: z.
|
|
12
|
+
traits: z.record(z.string(), z.unknown()).describe("Custom traits attached to the user").nullable().optional(),
|
|
13
13
|
userId: z.string().describe("The user ID passed on the widget").nullable().optional(),
|
|
14
14
|
created: z.string().describe("Creation timestamp").nullable().optional(),
|
|
15
15
|
project: z.string().describe("The project ID this user belongs to").nullable().optional(),
|
|
16
16
|
lastSeen: z.string().describe("Timestamp of when the user was last seen").nullable().optional(),
|
|
17
17
|
unsubscribed: z.boolean().describe("Whether the user is unsubscribed").nullable().optional()
|
|
18
|
-
}).describe("Individual user data returned by the API");
|
|
18
|
+
}).passthrough().describe("Individual user data returned by the API");
|
|
19
19
|
const satismeterListUsers = action("SATISMETER_LIST_USERS", {
|
|
20
20
|
slug: "satismeter-list-users",
|
|
21
21
|
name: "List Users",
|
|
22
22
|
description: "Tool to list users in a project. Use when you have a valid project ID and need to retrieve its users. Optionally filter by a specific user ID.",
|
|
23
23
|
input: SatismeterListUsersInput,
|
|
24
|
-
output: z.object({ users: z.array(SatismeterListUsers_UserDataSchema).describe("List of users in the project") }).describe("Response model for listing users")
|
|
24
|
+
output: z.object({ users: z.array(SatismeterListUsers_UserDataSchema).describe("List of users in the project") }).passthrough().describe("Response model for listing users")
|
|
25
25
|
});
|
|
26
26
|
//#endregion
|
|
27
27
|
export { satismeterListUsers };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-users.mjs","names":[],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SatismeterListUsersInput = z.object({\n project: z.string().describe(\"ID of the project to list users for\"),\n user_id: z.string().describe(\"Filter by specific user ID (the id passed on the widget) to return only that user\").optional(),\n}).describe(\"Request model for listing users in a Satismeter project.\");\nconst SatismeterListUsers_UserDataSchema = z.object({\n id: z.string().describe(\"Internal SatisMeter user ID\").nullable(),\n name: z.string().describe(\"User's name\").nullable().optional(),\n email: z.string().describe(\"User's email address\").nullable().optional(),\n traits: z.
|
|
1
|
+
{"version":3,"file":"list-users.mjs","names":[],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SatismeterListUsersInput = z.object({\n project: z.string().describe(\"ID of the project to list users for\"),\n user_id: z.string().describe(\"Filter by specific user ID (the id passed on the widget) to return only that user\").optional(),\n}).describe(\"Request model for listing users in a Satismeter project.\");\nconst SatismeterListUsers_UserDataSchema = z.object({\n id: z.string().describe(\"Internal SatisMeter user ID\").nullable(),\n name: z.string().describe(\"User's name\").nullable().optional(),\n email: z.string().describe(\"User's email address\").nullable().optional(),\n traits: z.record(z.string(), z.unknown()).describe(\"Custom traits attached to the user\").nullable().optional(),\n userId: z.string().describe(\"The user ID passed on the widget\").nullable().optional(),\n created: z.string().describe(\"Creation timestamp\").nullable().optional(),\n project: z.string().describe(\"The project ID this user belongs to\").nullable().optional(),\n lastSeen: z.string().describe(\"Timestamp of when the user was last seen\").nullable().optional(),\n unsubscribed: z.boolean().describe(\"Whether the user is unsubscribed\").nullable().optional(),\n}).passthrough().describe(\"Individual user data returned by the API\");\nexport const SatismeterListUsersOutput = z.object({\n users: z.array(SatismeterListUsers_UserDataSchema).describe(\"List of users in the project\"),\n}).passthrough().describe(\"Response model for listing users\");\n\nexport const satismeterListUsers = action(\"SATISMETER_LIST_USERS\", {\n slug: \"satismeter-list-users\",\n name: \"List Users\",\n description: \"Tool to list users in a project. Use when you have a valid project ID and need to retrieve its users. Optionally filter by a specific user ID.\",\n input: SatismeterListUsersInput,\n output: SatismeterListUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAClE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,qCAAqC,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAKpE,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuC,EAAE,OAAO,EAChD,OAAO,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,8BAA8B,EAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAOhB;AACV,CAAC"}
|
|
@@ -6,10 +6,10 @@ const SatismeterUpdateUnsubscribedEmailsInput = zod.z.object({
|
|
|
6
6
|
project_id: zod.z.string().describe("ID of the Satismeter project (24-character MongoDB ObjectId format).")
|
|
7
7
|
}).describe("Request model for updating unsubscribed emails for a Satismeter project.");
|
|
8
8
|
const SatismeterUpdateUnsubscribedEmailsOutput = zod.z.object({
|
|
9
|
-
errors: zod.z.
|
|
9
|
+
errors: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Map of emails that couldn't be unsubscribed to error reasons.").nullable().optional(),
|
|
10
10
|
success: zod.z.boolean().describe("True if unsubscription was successful.").nullable(),
|
|
11
11
|
unsubscribed: zod.z.array(zod.z.string()).describe("List of emails successfully unsubscribed.")
|
|
12
|
-
}).describe("Response model for updating unsubscribed emails action.");
|
|
12
|
+
}).passthrough().describe("Response model for updating unsubscribed emails action.");
|
|
13
13
|
const satismeterUpdateUnsubscribedEmails = require_action.action("SATISMETER_UPDATE_UNSUBSCRIBED_EMAILS", {
|
|
14
14
|
slug: "satismeter-update-unsubscribed-emails",
|
|
15
15
|
name: "Update Unsubscribed Emails",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-unsubscribed-emails.cjs","names":["z","action"],"sources":["../../src/actions/update-unsubscribed-emails.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SatismeterUpdateUnsubscribedEmailsInput = z.object({\n emails: z.array(z.string()).describe(\"List of email addresses to unsubscribe.\"),\n project_id: z.string().describe(\"ID of the Satismeter project (24-character MongoDB ObjectId format).\"),\n}).describe(\"Request model for updating unsubscribed emails for a Satismeter project.\");\nexport const SatismeterUpdateUnsubscribedEmailsOutput = z.object({\n errors: z.
|
|
1
|
+
{"version":3,"file":"update-unsubscribed-emails.cjs","names":["z","action"],"sources":["../../src/actions/update-unsubscribed-emails.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SatismeterUpdateUnsubscribedEmailsInput = z.object({\n emails: z.array(z.string()).describe(\"List of email addresses to unsubscribe.\"),\n project_id: z.string().describe(\"ID of the Satismeter project (24-character MongoDB ObjectId format).\"),\n}).describe(\"Request model for updating unsubscribed emails for a Satismeter project.\");\nexport const SatismeterUpdateUnsubscribedEmailsOutput = z.object({\n errors: z.record(z.string(), z.unknown()).describe(\"Map of emails that couldn't be unsubscribed to error reasons.\").nullable().optional(),\n success: z.boolean().describe(\"True if unsubscription was successful.\").nullable(),\n unsubscribed: z.array(z.string()).describe(\"List of emails successfully unsubscribed.\"),\n}).passthrough().describe(\"Response model for updating unsubscribed emails action.\");\n\nexport const satismeterUpdateUnsubscribedEmails = action(\"SATISMETER_UPDATE_UNSUBSCRIBED_EMAILS\", {\n slug: \"satismeter-update-unsubscribed-emails\",\n name: \"Update Unsubscribed Emails\",\n description: \"Tool to update the list of unsubscribed emails for a project. Use when you need to bulk unsubscribe user emails from surveys.\",\n input: SatismeterUpdateUnsubscribedEmailsInput,\n output: SatismeterUpdateUnsubscribedEmailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;AACxG,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjF,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,qCAAqCC,eAAAA,OAAO,yCAAyC;CAChG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -6,10 +6,10 @@ declare const SatismeterUpdateUnsubscribedEmailsInput: z.ZodObject<{
|
|
|
6
6
|
project_id: z.ZodString;
|
|
7
7
|
}, z.core.$strip>;
|
|
8
8
|
declare const SatismeterUpdateUnsubscribedEmailsOutput: z.ZodObject<{
|
|
9
|
-
errors: z.ZodOptional<z.ZodNullable<z.
|
|
9
|
+
errors: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
10
10
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
11
11
|
unsubscribed: z.ZodArray<z.ZodString>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const satismeterUpdateUnsubscribedEmails: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
emails: string[];
|
|
15
15
|
project_id: string;
|
|
@@ -6,10 +6,10 @@ declare const SatismeterUpdateUnsubscribedEmailsInput: z.ZodObject<{
|
|
|
6
6
|
project_id: z.ZodString;
|
|
7
7
|
}, z.core.$strip>;
|
|
8
8
|
declare const SatismeterUpdateUnsubscribedEmailsOutput: z.ZodObject<{
|
|
9
|
-
errors: z.ZodOptional<z.ZodNullable<z.
|
|
9
|
+
errors: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
10
10
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
11
11
|
unsubscribed: z.ZodArray<z.ZodString>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const satismeterUpdateUnsubscribedEmails: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
emails: string[];
|
|
15
15
|
project_id: string;
|
|
@@ -9,10 +9,10 @@ const satismeterUpdateUnsubscribedEmails = action("SATISMETER_UPDATE_UNSUBSCRIBE
|
|
|
9
9
|
project_id: z.string().describe("ID of the Satismeter project (24-character MongoDB ObjectId format).")
|
|
10
10
|
}).describe("Request model for updating unsubscribed emails for a Satismeter project."),
|
|
11
11
|
output: z.object({
|
|
12
|
-
errors: z.
|
|
12
|
+
errors: z.record(z.string(), z.unknown()).describe("Map of emails that couldn't be unsubscribed to error reasons.").nullable().optional(),
|
|
13
13
|
success: z.boolean().describe("True if unsubscription was successful.").nullable(),
|
|
14
14
|
unsubscribed: z.array(z.string()).describe("List of emails successfully unsubscribed.")
|
|
15
|
-
}).describe("Response model for updating unsubscribed emails action.")
|
|
15
|
+
}).passthrough().describe("Response model for updating unsubscribed emails action.")
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { satismeterUpdateUnsubscribedEmails };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-unsubscribed-emails.mjs","names":[],"sources":["../../src/actions/update-unsubscribed-emails.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SatismeterUpdateUnsubscribedEmailsInput = z.object({\n emails: z.array(z.string()).describe(\"List of email addresses to unsubscribe.\"),\n project_id: z.string().describe(\"ID of the Satismeter project (24-character MongoDB ObjectId format).\"),\n}).describe(\"Request model for updating unsubscribed emails for a Satismeter project.\");\nexport const SatismeterUpdateUnsubscribedEmailsOutput = z.object({\n errors: z.
|
|
1
|
+
{"version":3,"file":"update-unsubscribed-emails.mjs","names":[],"sources":["../../src/actions/update-unsubscribed-emails.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SatismeterUpdateUnsubscribedEmailsInput = z.object({\n emails: z.array(z.string()).describe(\"List of email addresses to unsubscribe.\"),\n project_id: z.string().describe(\"ID of the Satismeter project (24-character MongoDB ObjectId format).\"),\n}).describe(\"Request model for updating unsubscribed emails for a Satismeter project.\");\nexport const SatismeterUpdateUnsubscribedEmailsOutput = z.object({\n errors: z.record(z.string(), z.unknown()).describe(\"Map of emails that couldn't be unsubscribed to error reasons.\").nullable().optional(),\n success: z.boolean().describe(\"True if unsubscription was successful.\").nullable(),\n unsubscribed: z.array(z.string()).describe(\"List of emails successfully unsubscribed.\"),\n}).passthrough().describe(\"Response model for updating unsubscribed emails action.\");\n\nexport const satismeterUpdateUnsubscribedEmails = action(\"SATISMETER_UPDATE_UNSUBSCRIBED_EMAILS\", {\n slug: \"satismeter-update-unsubscribed-emails\",\n name: \"Update Unsubscribed Emails\",\n description: \"Tool to update the list of unsubscribed emails for a project. Use when you need to bulk unsubscribe user emails from surveys.\",\n input: SatismeterUpdateUnsubscribedEmailsInput,\n output: SatismeterUpdateUnsubscribedEmailsOutput,\n});\n"],"mappings":";;AAcA,MAAa,qCAAqC,OAAO,yCAAyC;CAChG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdqD,EAAE,OAAO;EAC9D,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC;EAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;CACxG,CAAC,CAAC,CAAC,SAAS,0EAWH;CACP,QAXsD,EAAE,OAAO;EAC/D,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxI,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACjF,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C;CACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
|
package/dist/catalog.cjs
CHANGED
|
@@ -9,7 +9,7 @@ const satismeterCatalog = {
|
|
|
9
9
|
"authKind": "keystroke",
|
|
10
10
|
"oauthScopes": [],
|
|
11
11
|
"credentialFields": {
|
|
12
|
-
"
|
|
12
|
+
"generic_api_key": {
|
|
13
13
|
"label": "SatisMeter API Key",
|
|
14
14
|
"secret": true,
|
|
15
15
|
"description": "The API key used for authenticating requests to the SatisMeter API."
|
package/dist/catalog.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const satismeterCatalog = {\n \"slug\": \"satismeter\",\n \"name\": \"Satismeter\",\n \"description\": \"SatisMeter is a customer feedback platform that enables businesses to collect and analyze user feedback through targeted surveys.\",\n \"category\": \"Forms & Surveys\",\n \"logo\": \"https://logos.composio.dev/api/satismeter\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const satismeterCatalog = {\n \"slug\": \"satismeter\",\n \"name\": \"Satismeter\",\n \"description\": \"SatisMeter is a customer feedback platform that enables businesses to collect and analyze user feedback through targeted surveys.\",\n \"category\": \"Forms & Surveys\",\n \"logo\": \"https://logos.composio.dev/api/satismeter\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"SatisMeter API Key\",\n \"secret\": true,\n \"description\": \"The API key used for authenticating requests to the SatisMeter API.\"\n },\n \"generic_id\": {\n \"label\": \"Project ID\",\n \"description\": \"The unique identifier for the SatisMeter project.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,oBAAoB;CAC/B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,mBAAmB;GACjB,SAAS;GACT,UAAU;GACV,eAAe;EACjB;EACA,cAAc;GACZ,SAAS;GACT,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
|
package/dist/catalog.d.cts
CHANGED
|
@@ -9,7 +9,7 @@ declare const satismeterCatalog: {
|
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
11
|
readonly credentialFields: {
|
|
12
|
-
readonly
|
|
12
|
+
readonly generic_api_key: {
|
|
13
13
|
readonly label: "SatisMeter API Key";
|
|
14
14
|
readonly secret: true;
|
|
15
15
|
readonly description: "The API key used for authenticating requests to the SatisMeter API.";
|
package/dist/catalog.d.mts
CHANGED
|
@@ -9,7 +9,7 @@ declare const satismeterCatalog: {
|
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
11
|
readonly credentialFields: {
|
|
12
|
-
readonly
|
|
12
|
+
readonly generic_api_key: {
|
|
13
13
|
readonly label: "SatisMeter API Key";
|
|
14
14
|
readonly secret: true;
|
|
15
15
|
readonly description: "The API key used for authenticating requests to the SatisMeter API.";
|
package/dist/catalog.mjs
CHANGED
|
@@ -9,7 +9,7 @@ const satismeterCatalog = {
|
|
|
9
9
|
"authKind": "keystroke",
|
|
10
10
|
"oauthScopes": [],
|
|
11
11
|
"credentialFields": {
|
|
12
|
-
"
|
|
12
|
+
"generic_api_key": {
|
|
13
13
|
"label": "SatisMeter API Key",
|
|
14
14
|
"secret": true,
|
|
15
15
|
"description": "The API key used for authenticating requests to the SatisMeter API."
|
package/dist/catalog.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const satismeterCatalog = {\n \"slug\": \"satismeter\",\n \"name\": \"Satismeter\",\n \"description\": \"SatisMeter is a customer feedback platform that enables businesses to collect and analyze user feedback through targeted surveys.\",\n \"category\": \"Forms & Surveys\",\n \"logo\": \"https://logos.composio.dev/api/satismeter\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const satismeterCatalog = {\n \"slug\": \"satismeter\",\n \"name\": \"Satismeter\",\n \"description\": \"SatisMeter is a customer feedback platform that enables businesses to collect and analyze user feedback through targeted surveys.\",\n \"category\": \"Forms & Surveys\",\n \"logo\": \"https://logos.composio.dev/api/satismeter\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"SatisMeter API Key\",\n \"secret\": true,\n \"description\": \"The API key used for authenticating requests to the SatisMeter API.\"\n },\n \"generic_id\": {\n \"label\": \"Project ID\",\n \"description\": \"The unique identifier for the SatisMeter project.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,oBAAoB;CAC/B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,mBAAmB;GACjB,SAAS;GACT,UAAU;GACV,eAAe;EACjB;EACA,cAAc;GACZ,SAAS;GACT,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
|