@keystrokehq/proofly 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-activity-logs.cjs +7 -7
- package/dist/actions/get-activity-logs.cjs.map +1 -1
- package/dist/actions/get-activity-logs.d.cts +11 -3
- package/dist/actions/get-activity-logs.d.cts.map +1 -1
- package/dist/actions/get-activity-logs.d.mts +11 -3
- package/dist/actions/get-activity-logs.d.mts.map +1 -1
- package/dist/actions/get-activity-logs.mjs +7 -7
- package/dist/actions/get-activity-logs.mjs.map +1 -1
- package/dist/actions/get-campaigns.cjs +7 -7
- package/dist/actions/get-campaigns.cjs.map +1 -1
- package/dist/actions/get-campaigns.d.cts +11 -3
- package/dist/actions/get-campaigns.d.cts.map +1 -1
- package/dist/actions/get-campaigns.d.mts +11 -3
- package/dist/actions/get-campaigns.d.mts.map +1 -1
- package/dist/actions/get-campaigns.mjs +7 -7
- package/dist/actions/get-campaigns.mjs.map +1 -1
- package/dist/actions/get-user.cjs +12 -12
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +18 -3
- package/dist/actions/get-user.d.cts.map +1 -1
- package/dist/actions/get-user.d.mts +18 -3
- package/dist/actions/get-user.d.mts.map +1 -1
- package/dist/actions/get-user.mjs +12 -12
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -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":["proofly","executeProoflyTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { proofly } from \"./app\";\nimport { executeProoflyTool } 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":["proofly","executeProoflyTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { proofly } from \"./app\";\nimport { executeProoflyTool } 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 proofly.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 executeProoflyTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,QAAQ,OAAO;EACpB,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,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;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 { proofly } from \"./app\";\nimport { executeProoflyTool } 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 { proofly } from \"./app\";\nimport { executeProoflyTool } 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 proofly.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 executeProoflyTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
|
|
@@ -3,15 +3,15 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-activity-logs.ts
|
|
4
4
|
const ProoflyGetActivityLogsInput = zod.z.object({}).describe("Request model for retrieving user activity logs. No parameters required.");
|
|
5
5
|
const ProoflyGetActivityLogs_ActivityLogEntrySchema = zod.z.object({
|
|
6
|
-
ip: zod.z.string().describe("IP address from which the activity originated."),
|
|
7
|
-
date: zod.z.string().describe("Timestamp of the activity in 'YYYY-MM-DD HH:MM:SS' format."),
|
|
8
|
-
type: zod.z.string().describe("Type of activity (e.g., 'login.success', 'register.success').")
|
|
9
|
-
}).describe("Represents a single activity log entry.");
|
|
6
|
+
ip: zod.z.string().describe("IP address from which the activity originated.").nullable(),
|
|
7
|
+
date: zod.z.string().describe("Timestamp of the activity in 'YYYY-MM-DD HH:MM:SS' format.").nullable(),
|
|
8
|
+
type: zod.z.string().describe("Type of activity (e.g., 'login.success', 'register.success').").nullable()
|
|
9
|
+
}).passthrough().describe("Represents a single activity log entry.");
|
|
10
10
|
const ProoflyGetActivityLogsOutput = zod.z.object({
|
|
11
|
-
ok: zod.z.boolean().describe("Indicates the success status of the request."),
|
|
11
|
+
ok: zod.z.boolean().describe("Indicates the success status of the request.").nullable(),
|
|
12
12
|
data: zod.z.array(ProoflyGetActivityLogs_ActivityLogEntrySchema).describe("List of activity log entries."),
|
|
13
|
-
status: zod.z.number().int().describe("HTTP status code of the response.")
|
|
14
|
-
}).describe("Response model for user activity logs.");
|
|
13
|
+
status: zod.z.number().int().describe("HTTP status code of the response.").nullable()
|
|
14
|
+
}).passthrough().describe("Response model for user activity logs.");
|
|
15
15
|
const prooflyGetActivityLogs = require_action.action("PROOFLY_GET_ACTIVITY_LOGS", {
|
|
16
16
|
slug: "proofly-get-activity-logs",
|
|
17
17
|
name: "Get Activity Logs",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-activity-logs.cjs","names":["z","action"],"sources":["../../src/actions/get-activity-logs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProoflyGetActivityLogsInput
|
|
1
|
+
{"version":3,"file":"get-activity-logs.cjs","names":["z","action"],"sources":["../../src/actions/get-activity-logs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProoflyGetActivityLogsInput = z.object({}).describe(\"Request model for retrieving user activity logs. No parameters required.\");\nconst ProoflyGetActivityLogs_ActivityLogEntrySchema = z.object({\n ip: z.string().describe(\"IP address from which the activity originated.\").nullable(),\n date: z.string().describe(\"Timestamp of the activity in 'YYYY-MM-DD HH:MM:SS' format.\").nullable(),\n type: z.string().describe(\"Type of activity (e.g., 'login.success', 'register.success').\").nullable(),\n}).passthrough().describe(\"Represents a single activity log entry.\");\nexport const ProoflyGetActivityLogsOutput = z.object({\n ok: z.boolean().describe(\"Indicates the success status of the request.\").nullable(),\n data: z.array(ProoflyGetActivityLogs_ActivityLogEntrySchema).describe(\"List of activity log entries.\"),\n status: z.number().int().describe(\"HTTP status code of the response.\").nullable(),\n}).passthrough().describe(\"Response model for user activity logs.\");\n\nexport const prooflyGetActivityLogs = action(\"PROOFLY_GET_ACTIVITY_LOGS\", {\n slug: \"proofly-get-activity-logs\",\n name: \"Get Activity Logs\",\n description: \"Tool to retrieve activity logs of the user. Use when needing recent actions; call after confirming authentication.\",\n input: ProoflyGetActivityLogsInput,\n output: ProoflyGetActivityLogsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0EAA0E;AAC3I,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACjG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,+BAA+B;CACrG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-activity-logs.d.ts
|
|
4
|
-
declare const ProoflyGetActivityLogsInput: z.
|
|
5
|
-
declare const ProoflyGetActivityLogsOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const ProoflyGetActivityLogsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const ProoflyGetActivityLogsOutput: z.ZodObject<{
|
|
6
|
+
ok: z.ZodNullable<z.ZodBoolean>;
|
|
7
|
+
data: z.ZodArray<z.ZodObject<{
|
|
8
|
+
ip: z.ZodNullable<z.ZodString>;
|
|
9
|
+
date: z.ZodNullable<z.ZodString>;
|
|
10
|
+
type: z.ZodNullable<z.ZodString>;
|
|
11
|
+
}, z.core.$loose>>;
|
|
12
|
+
status: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
}, z.core.$loose>;
|
|
14
|
+
declare const prooflyGetActivityLogs: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { prooflyGetActivityLogs };
|
|
9
17
|
//# sourceMappingURL=get-activity-logs.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-activity-logs.d.cts","names":[],"sources":["../../src/actions/get-activity-logs.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"get-activity-logs.d.cts","names":[],"sources":["../../src/actions/get-activity-logs.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAM3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;cAM5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-activity-logs.d.ts
|
|
4
|
-
declare const ProoflyGetActivityLogsInput: z.
|
|
5
|
-
declare const ProoflyGetActivityLogsOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const ProoflyGetActivityLogsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const ProoflyGetActivityLogsOutput: z.ZodObject<{
|
|
6
|
+
ok: z.ZodNullable<z.ZodBoolean>;
|
|
7
|
+
data: z.ZodArray<z.ZodObject<{
|
|
8
|
+
ip: z.ZodNullable<z.ZodString>;
|
|
9
|
+
date: z.ZodNullable<z.ZodString>;
|
|
10
|
+
type: z.ZodNullable<z.ZodString>;
|
|
11
|
+
}, z.core.$loose>>;
|
|
12
|
+
status: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
}, z.core.$loose>;
|
|
14
|
+
declare const prooflyGetActivityLogs: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { prooflyGetActivityLogs };
|
|
9
17
|
//# sourceMappingURL=get-activity-logs.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-activity-logs.d.mts","names":[],"sources":["../../src/actions/get-activity-logs.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"get-activity-logs.d.mts","names":[],"sources":["../../src/actions/get-activity-logs.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAM3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;cAM5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -3,20 +3,20 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/get-activity-logs.ts
|
|
4
4
|
const ProoflyGetActivityLogsInput = z.object({}).describe("Request model for retrieving user activity logs. No parameters required.");
|
|
5
5
|
const ProoflyGetActivityLogs_ActivityLogEntrySchema = z.object({
|
|
6
|
-
ip: z.string().describe("IP address from which the activity originated."),
|
|
7
|
-
date: z.string().describe("Timestamp of the activity in 'YYYY-MM-DD HH:MM:SS' format."),
|
|
8
|
-
type: z.string().describe("Type of activity (e.g., 'login.success', 'register.success').")
|
|
9
|
-
}).describe("Represents a single activity log entry.");
|
|
6
|
+
ip: z.string().describe("IP address from which the activity originated.").nullable(),
|
|
7
|
+
date: z.string().describe("Timestamp of the activity in 'YYYY-MM-DD HH:MM:SS' format.").nullable(),
|
|
8
|
+
type: z.string().describe("Type of activity (e.g., 'login.success', 'register.success').").nullable()
|
|
9
|
+
}).passthrough().describe("Represents a single activity log entry.");
|
|
10
10
|
const prooflyGetActivityLogs = action("PROOFLY_GET_ACTIVITY_LOGS", {
|
|
11
11
|
slug: "proofly-get-activity-logs",
|
|
12
12
|
name: "Get Activity Logs",
|
|
13
13
|
description: "Tool to retrieve activity logs of the user. Use when needing recent actions; call after confirming authentication.",
|
|
14
14
|
input: ProoflyGetActivityLogsInput,
|
|
15
15
|
output: z.object({
|
|
16
|
-
ok: z.boolean().describe("Indicates the success status of the request."),
|
|
16
|
+
ok: z.boolean().describe("Indicates the success status of the request.").nullable(),
|
|
17
17
|
data: z.array(ProoflyGetActivityLogs_ActivityLogEntrySchema).describe("List of activity log entries."),
|
|
18
|
-
status: z.number().int().describe("HTTP status code of the response.")
|
|
19
|
-
}).describe("Response model for user activity logs.")
|
|
18
|
+
status: z.number().int().describe("HTTP status code of the response.").nullable()
|
|
19
|
+
}).passthrough().describe("Response model for user activity logs.")
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { prooflyGetActivityLogs };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-activity-logs.mjs","names":[],"sources":["../../src/actions/get-activity-logs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProoflyGetActivityLogsInput
|
|
1
|
+
{"version":3,"file":"get-activity-logs.mjs","names":[],"sources":["../../src/actions/get-activity-logs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProoflyGetActivityLogsInput = z.object({}).describe(\"Request model for retrieving user activity logs. No parameters required.\");\nconst ProoflyGetActivityLogs_ActivityLogEntrySchema = z.object({\n ip: z.string().describe(\"IP address from which the activity originated.\").nullable(),\n date: z.string().describe(\"Timestamp of the activity in 'YYYY-MM-DD HH:MM:SS' format.\").nullable(),\n type: z.string().describe(\"Type of activity (e.g., 'login.success', 'register.success').\").nullable(),\n}).passthrough().describe(\"Represents a single activity log entry.\");\nexport const ProoflyGetActivityLogsOutput = z.object({\n ok: z.boolean().describe(\"Indicates the success status of the request.\").nullable(),\n data: z.array(ProoflyGetActivityLogs_ActivityLogEntrySchema).describe(\"List of activity log entries.\"),\n status: z.number().int().describe(\"HTTP status code of the response.\").nullable(),\n}).passthrough().describe(\"Response model for user activity logs.\");\n\nexport const prooflyGetActivityLogs = action(\"PROOFLY_GET_ACTIVITY_LOGS\", {\n slug: \"proofly-get-activity-logs\",\n name: \"Get Activity Logs\",\n description: \"Tool to retrieve activity logs of the user. Use when needing recent actions; call after confirming authentication.\",\n input: ProoflyGetActivityLogsInput,\n output: ProoflyGetActivityLogsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0EAA0E;AAC3I,MAAM,gDAAgD,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACjG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAOnE,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX0C,EAAE,OAAO;EACnD,IAAI,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EAClF,MAAM,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,+BAA+B;EACrG,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAOhB;AACV,CAAC"}
|
|
@@ -3,13 +3,13 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-campaigns.ts
|
|
4
4
|
const ProoflyGetCampaignsInput = zod.z.object({}).describe("Request model for GetCampaigns. No parameters required.");
|
|
5
5
|
const ProoflyGetCampaigns_CampaignSchema = zod.z.object({
|
|
6
|
-
id: zod.z.number().int().describe("Unique ID of the campaign"),
|
|
7
|
-
name: zod.z.string().describe("Name of the campaign"),
|
|
8
|
-
status: zod.z.string().describe("Current status of the campaign"),
|
|
9
|
-
created_at: zod.z.string().describe("Creation timestamp in ISO8601 format"),
|
|
10
|
-
updated_at: zod.z.string().describe("Last update timestamp in ISO8601 format")
|
|
11
|
-
}).describe("Schema for a single Proofly campaign.");
|
|
12
|
-
const ProoflyGetCampaignsOutput = zod.z.object({ campaigns: zod.z.array(ProoflyGetCampaigns_CampaignSchema).describe("List of campaigns retrieved from the account") }).describe("Response model for GetCampaigns.");
|
|
6
|
+
id: zod.z.number().int().describe("Unique ID of the campaign").nullable(),
|
|
7
|
+
name: zod.z.string().describe("Name of the campaign").nullable(),
|
|
8
|
+
status: zod.z.string().describe("Current status of the campaign").nullable(),
|
|
9
|
+
created_at: zod.z.string().describe("Creation timestamp in ISO8601 format").nullable(),
|
|
10
|
+
updated_at: zod.z.string().describe("Last update timestamp in ISO8601 format").nullable()
|
|
11
|
+
}).passthrough().describe("Schema for a single Proofly campaign.");
|
|
12
|
+
const ProoflyGetCampaignsOutput = zod.z.object({ campaigns: zod.z.array(ProoflyGetCampaigns_CampaignSchema).describe("List of campaigns retrieved from the account") }).passthrough().describe("Response model for GetCampaigns.");
|
|
13
13
|
const prooflyGetCampaigns = require_action.action("PROOFLY_GET_CAMPAIGNS", {
|
|
14
14
|
slug: "proofly-get-campaigns",
|
|
15
15
|
name: "Get Proofly Campaigns",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-campaigns.cjs","names":["z","action"],"sources":["../../src/actions/get-campaigns.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProoflyGetCampaignsInput
|
|
1
|
+
{"version":3,"file":"get-campaigns.cjs","names":["z","action"],"sources":["../../src/actions/get-campaigns.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProoflyGetCampaignsInput = z.object({}).describe(\"Request model for GetCampaigns. No parameters required.\");\nconst ProoflyGetCampaigns_CampaignSchema = z.object({\n id: z.number().int().describe(\"Unique ID of the campaign\").nullable(),\n name: z.string().describe(\"Name of the campaign\").nullable(),\n status: z.string().describe(\"Current status of the campaign\").nullable(),\n created_at: z.string().describe(\"Creation timestamp in ISO8601 format\").nullable(),\n updated_at: z.string().describe(\"Last update timestamp in ISO8601 format\").nullable(),\n}).passthrough().describe(\"Schema for a single Proofly campaign.\");\nexport const ProoflyGetCampaignsOutput = z.object({\n campaigns: z.array(ProoflyGetCampaigns_CampaignSchema).describe(\"List of campaigns retrieved from the account\"),\n}).passthrough().describe(\"Response model for GetCampaigns.\");\n\nexport const prooflyGetCampaigns = action(\"PROOFLY_GET_CAMPAIGNS\", {\n slug: \"proofly-get-campaigns\",\n name: \"Get Proofly Campaigns\",\n description: \"Tool to retrieve all Proofly campaigns. Use after authenticating to list your campaigns.\",\n input: ProoflyGetCampaignsInput,\n output: ProoflyGetCampaignsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACvH,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACvE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,WAAWA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,8CAA8C,EAChH,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"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-campaigns.d.ts
|
|
4
|
-
declare const ProoflyGetCampaignsInput: z.
|
|
5
|
-
declare const ProoflyGetCampaignsOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const ProoflyGetCampaignsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const ProoflyGetCampaignsOutput: z.ZodObject<{
|
|
6
|
+
campaigns: z.ZodArray<z.ZodObject<{
|
|
7
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
8
|
+
name: z.ZodNullable<z.ZodString>;
|
|
9
|
+
status: z.ZodNullable<z.ZodString>;
|
|
10
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
11
|
+
updated_at: z.ZodNullable<z.ZodString>;
|
|
12
|
+
}, z.core.$loose>>;
|
|
13
|
+
}, z.core.$loose>;
|
|
14
|
+
declare const prooflyGetCampaigns: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { prooflyGetCampaigns };
|
|
9
17
|
//# sourceMappingURL=get-campaigns.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-campaigns.d.cts","names":[],"sources":["../../src/actions/get-campaigns.ts"],"mappings":";;;cAIa,wBAAA,
|
|
1
|
+
{"version":3,"file":"get-campaigns.d.cts","names":[],"sources":["../../src/actions/get-campaigns.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-campaigns.d.ts
|
|
4
|
-
declare const ProoflyGetCampaignsInput: z.
|
|
5
|
-
declare const ProoflyGetCampaignsOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const ProoflyGetCampaignsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const ProoflyGetCampaignsOutput: z.ZodObject<{
|
|
6
|
+
campaigns: z.ZodArray<z.ZodObject<{
|
|
7
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
8
|
+
name: z.ZodNullable<z.ZodString>;
|
|
9
|
+
status: z.ZodNullable<z.ZodString>;
|
|
10
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
11
|
+
updated_at: z.ZodNullable<z.ZodString>;
|
|
12
|
+
}, z.core.$loose>>;
|
|
13
|
+
}, z.core.$loose>;
|
|
14
|
+
declare const prooflyGetCampaigns: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { prooflyGetCampaigns };
|
|
9
17
|
//# sourceMappingURL=get-campaigns.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-campaigns.d.mts","names":[],"sources":["../../src/actions/get-campaigns.ts"],"mappings":";;;cAIa,wBAAA,
|
|
1
|
+
{"version":3,"file":"get-campaigns.d.mts","names":[],"sources":["../../src/actions/get-campaigns.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -3,18 +3,18 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/get-campaigns.ts
|
|
4
4
|
const ProoflyGetCampaignsInput = z.object({}).describe("Request model for GetCampaigns. No parameters required.");
|
|
5
5
|
const ProoflyGetCampaigns_CampaignSchema = z.object({
|
|
6
|
-
id: z.number().int().describe("Unique ID of the campaign"),
|
|
7
|
-
name: z.string().describe("Name of the campaign"),
|
|
8
|
-
status: z.string().describe("Current status of the campaign"),
|
|
9
|
-
created_at: z.string().describe("Creation timestamp in ISO8601 format"),
|
|
10
|
-
updated_at: z.string().describe("Last update timestamp in ISO8601 format")
|
|
11
|
-
}).describe("Schema for a single Proofly campaign.");
|
|
6
|
+
id: z.number().int().describe("Unique ID of the campaign").nullable(),
|
|
7
|
+
name: z.string().describe("Name of the campaign").nullable(),
|
|
8
|
+
status: z.string().describe("Current status of the campaign").nullable(),
|
|
9
|
+
created_at: z.string().describe("Creation timestamp in ISO8601 format").nullable(),
|
|
10
|
+
updated_at: z.string().describe("Last update timestamp in ISO8601 format").nullable()
|
|
11
|
+
}).passthrough().describe("Schema for a single Proofly campaign.");
|
|
12
12
|
const prooflyGetCampaigns = action("PROOFLY_GET_CAMPAIGNS", {
|
|
13
13
|
slug: "proofly-get-campaigns",
|
|
14
14
|
name: "Get Proofly Campaigns",
|
|
15
15
|
description: "Tool to retrieve all Proofly campaigns. Use after authenticating to list your campaigns.",
|
|
16
16
|
input: ProoflyGetCampaignsInput,
|
|
17
|
-
output: z.object({ campaigns: z.array(ProoflyGetCampaigns_CampaignSchema).describe("List of campaigns retrieved from the account") }).describe("Response model for GetCampaigns.")
|
|
17
|
+
output: z.object({ campaigns: z.array(ProoflyGetCampaigns_CampaignSchema).describe("List of campaigns retrieved from the account") }).passthrough().describe("Response model for GetCampaigns.")
|
|
18
18
|
});
|
|
19
19
|
//#endregion
|
|
20
20
|
export { prooflyGetCampaigns };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-campaigns.mjs","names":[],"sources":["../../src/actions/get-campaigns.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProoflyGetCampaignsInput
|
|
1
|
+
{"version":3,"file":"get-campaigns.mjs","names":[],"sources":["../../src/actions/get-campaigns.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProoflyGetCampaignsInput = z.object({}).describe(\"Request model for GetCampaigns. No parameters required.\");\nconst ProoflyGetCampaigns_CampaignSchema = z.object({\n id: z.number().int().describe(\"Unique ID of the campaign\").nullable(),\n name: z.string().describe(\"Name of the campaign\").nullable(),\n status: z.string().describe(\"Current status of the campaign\").nullable(),\n created_at: z.string().describe(\"Creation timestamp in ISO8601 format\").nullable(),\n updated_at: z.string().describe(\"Last update timestamp in ISO8601 format\").nullable(),\n}).passthrough().describe(\"Schema for a single Proofly campaign.\");\nexport const ProoflyGetCampaignsOutput = z.object({\n campaigns: z.array(ProoflyGetCampaigns_CampaignSchema).describe(\"List of campaigns retrieved from the account\"),\n}).passthrough().describe(\"Response model for GetCampaigns.\");\n\nexport const prooflyGetCampaigns = action(\"PROOFLY_GET_CAMPAIGNS\", {\n slug: \"proofly-get-campaigns\",\n name: \"Get Proofly Campaigns\",\n description: \"Tool to retrieve all Proofly campaigns. Use after authenticating to list your campaigns.\",\n input: ProoflyGetCampaignsInput,\n output: ProoflyGetCampaignsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACvH,MAAM,qCAAqC,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACvE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAKjE,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuC,EAAE,OAAO,EAChD,WAAW,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,8CAA8C,EAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAOhB;AACV,CAAC"}
|
|
@@ -3,24 +3,24 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-user.ts
|
|
4
4
|
const ProoflyGetUserInput = zod.z.object({}).describe("No input parameters required. Authentication header is supplied via metadata.");
|
|
5
5
|
const ProoflyGetUser_UserMetaSchema = zod.z.object({
|
|
6
|
-
logins: zod.z.number().int().describe("Number of times the user has logged in"),
|
|
7
|
-
registered: zod.z.string().describe("Account registration timestamp")
|
|
8
|
-
});
|
|
6
|
+
logins: zod.z.number().int().describe("Number of times the user has logged in").nullable(),
|
|
7
|
+
registered: zod.z.string().describe("Account registration timestamp").nullable()
|
|
8
|
+
}).passthrough();
|
|
9
9
|
const ProoflyGetUser_UserPixelSchema = zod.z.object({
|
|
10
|
-
key: zod.z.string().describe("User's unique pixel tracking key"),
|
|
11
|
-
debug: zod.z.boolean().describe("Debug mode status for the pixel")
|
|
12
|
-
});
|
|
10
|
+
key: zod.z.string().describe("User's unique pixel tracking key").nullable(),
|
|
11
|
+
debug: zod.z.boolean().describe("Debug mode status for the pixel").nullable()
|
|
12
|
+
}).passthrough();
|
|
13
13
|
const ProoflyGetUser_UserImpressionsSchema = zod.z.object({
|
|
14
|
-
total: zod.z.number().int().describe("Total number of impressions"),
|
|
15
|
-
period: zod.z.number().int().describe("Number of impressions in the current period")
|
|
16
|
-
});
|
|
14
|
+
total: zod.z.number().int().describe("Total number of impressions").nullable(),
|
|
15
|
+
period: zod.z.number().int().describe("Number of impressions in the current period").nullable()
|
|
16
|
+
}).passthrough();
|
|
17
17
|
const ProoflyGetUserOutput = zod.z.object({
|
|
18
18
|
meta: ProoflyGetUser_UserMetaSchema.nullable(),
|
|
19
|
-
name: zod.z.string().describe("User's full name"),
|
|
20
|
-
email: zod.z.string().describe("User's email address"),
|
|
19
|
+
name: zod.z.string().describe("User's full name").nullable(),
|
|
20
|
+
email: zod.z.string().describe("User's email address").nullable(),
|
|
21
21
|
pixel: ProoflyGetUser_UserPixelSchema.nullable(),
|
|
22
22
|
impressions: ProoflyGetUser_UserImpressionsSchema.nullable()
|
|
23
|
-
});
|
|
23
|
+
}).passthrough();
|
|
24
24
|
const prooflyGetUser = require_action.action("PROOFLY_GET_USER", {
|
|
25
25
|
slug: "proofly-get-user",
|
|
26
26
|
name: "Get Proofly User Info",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user.cjs","names":["z","action"],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProoflyGetUserInput
|
|
1
|
+
{"version":3,"file":"get-user.cjs","names":["z","action"],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProoflyGetUserInput = z.object({}).describe(\"No input parameters required. Authentication header is supplied via metadata.\");\nconst ProoflyGetUser_UserMetaSchema = z.object({\n logins: z.number().int().describe(\"Number of times the user has logged in\").nullable(),\n registered: z.string().describe(\"Account registration timestamp\").nullable(),\n}).passthrough();\nconst ProoflyGetUser_UserPixelSchema = z.object({\n key: z.string().describe(\"User's unique pixel tracking key\").nullable(),\n debug: z.boolean().describe(\"Debug mode status for the pixel\").nullable(),\n}).passthrough();\nconst ProoflyGetUser_UserImpressionsSchema = z.object({\n total: z.number().int().describe(\"Total number of impressions\").nullable(),\n period: z.number().int().describe(\"Number of impressions in the current period\").nullable(),\n}).passthrough();\nexport const ProoflyGetUserOutput = z.object({\n meta: ProoflyGetUser_UserMetaSchema.nullable(),\n name: z.string().describe(\"User's full name\").nullable(),\n email: z.string().describe(\"User's email address\").nullable(),\n pixel: ProoflyGetUser_UserPixelSchema.nullable(),\n impressions: ProoflyGetUser_UserImpressionsSchema.nullable(),\n}).passthrough();\n\nexport const prooflyGetUser = action(\"PROOFLY_GET_USER\", {\n slug: \"proofly-get-user\",\n name: \"Get Proofly User Info\",\n description: \"Tool to retrieve general information of the authenticated user. Use after authentication to fetch user profile details.\",\n input: ProoflyGetUserInput,\n output: ProoflyGetUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+EAA+E;AACxI,MAAM,gCAAgCA,IAAAA,EAAE,OAAO;CAC7C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACrF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACtE,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,MAAM,8BAA8B,SAAS;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,OAAO,+BAA+B,SAAS;CAC/C,aAAa,qCAAqC,SAAS;AAC7D,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,24 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-user.d.ts
|
|
4
|
-
declare const ProoflyGetUserInput: z.
|
|
5
|
-
declare const ProoflyGetUserOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const ProoflyGetUserInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const ProoflyGetUserOutput: z.ZodObject<{
|
|
6
|
+
meta: z.ZodNullable<z.ZodObject<{
|
|
7
|
+
logins: z.ZodNullable<z.ZodNumber>;
|
|
8
|
+
registered: z.ZodNullable<z.ZodString>;
|
|
9
|
+
}, z.core.$loose>>;
|
|
10
|
+
name: z.ZodNullable<z.ZodString>;
|
|
11
|
+
email: z.ZodNullable<z.ZodString>;
|
|
12
|
+
pixel: z.ZodNullable<z.ZodObject<{
|
|
13
|
+
key: z.ZodNullable<z.ZodString>;
|
|
14
|
+
debug: z.ZodNullable<z.ZodBoolean>;
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
|
+
impressions: z.ZodNullable<z.ZodObject<{
|
|
17
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
18
|
+
period: z.ZodNullable<z.ZodNumber>;
|
|
19
|
+
}, z.core.$loose>>;
|
|
20
|
+
}, z.core.$loose>;
|
|
21
|
+
declare const prooflyGetUser: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
22
|
//#endregion
|
|
8
23
|
export { prooflyGetUser };
|
|
9
24
|
//# sourceMappingURL=get-user.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user.d.cts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;cAIa,mBAAA,
|
|
1
|
+
{"version":3,"file":"get-user.d.cts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAanB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAQpB,cAAA,gCAAc,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1,9 +1,24 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-user.d.ts
|
|
4
|
-
declare const ProoflyGetUserInput: z.
|
|
5
|
-
declare const ProoflyGetUserOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const ProoflyGetUserInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const ProoflyGetUserOutput: z.ZodObject<{
|
|
6
|
+
meta: z.ZodNullable<z.ZodObject<{
|
|
7
|
+
logins: z.ZodNullable<z.ZodNumber>;
|
|
8
|
+
registered: z.ZodNullable<z.ZodString>;
|
|
9
|
+
}, z.core.$loose>>;
|
|
10
|
+
name: z.ZodNullable<z.ZodString>;
|
|
11
|
+
email: z.ZodNullable<z.ZodString>;
|
|
12
|
+
pixel: z.ZodNullable<z.ZodObject<{
|
|
13
|
+
key: z.ZodNullable<z.ZodString>;
|
|
14
|
+
debug: z.ZodNullable<z.ZodBoolean>;
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
|
+
impressions: z.ZodNullable<z.ZodObject<{
|
|
17
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
18
|
+
period: z.ZodNullable<z.ZodNumber>;
|
|
19
|
+
}, z.core.$loose>>;
|
|
20
|
+
}, z.core.$loose>;
|
|
21
|
+
declare const prooflyGetUser: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
22
|
//#endregion
|
|
8
23
|
export { prooflyGetUser };
|
|
9
24
|
//# sourceMappingURL=get-user.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user.d.mts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;cAIa,mBAAA,
|
|
1
|
+
{"version":3,"file":"get-user.d.mts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAanB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAQpB,cAAA,gCAAc,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -3,17 +3,17 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/get-user.ts
|
|
4
4
|
const ProoflyGetUserInput = z.object({}).describe("No input parameters required. Authentication header is supplied via metadata.");
|
|
5
5
|
const ProoflyGetUser_UserMetaSchema = z.object({
|
|
6
|
-
logins: z.number().int().describe("Number of times the user has logged in"),
|
|
7
|
-
registered: z.string().describe("Account registration timestamp")
|
|
8
|
-
});
|
|
6
|
+
logins: z.number().int().describe("Number of times the user has logged in").nullable(),
|
|
7
|
+
registered: z.string().describe("Account registration timestamp").nullable()
|
|
8
|
+
}).passthrough();
|
|
9
9
|
const ProoflyGetUser_UserPixelSchema = z.object({
|
|
10
|
-
key: z.string().describe("User's unique pixel tracking key"),
|
|
11
|
-
debug: z.boolean().describe("Debug mode status for the pixel")
|
|
12
|
-
});
|
|
10
|
+
key: z.string().describe("User's unique pixel tracking key").nullable(),
|
|
11
|
+
debug: z.boolean().describe("Debug mode status for the pixel").nullable()
|
|
12
|
+
}).passthrough();
|
|
13
13
|
const ProoflyGetUser_UserImpressionsSchema = z.object({
|
|
14
|
-
total: z.number().int().describe("Total number of impressions"),
|
|
15
|
-
period: z.number().int().describe("Number of impressions in the current period")
|
|
16
|
-
});
|
|
14
|
+
total: z.number().int().describe("Total number of impressions").nullable(),
|
|
15
|
+
period: z.number().int().describe("Number of impressions in the current period").nullable()
|
|
16
|
+
}).passthrough();
|
|
17
17
|
const prooflyGetUser = action("PROOFLY_GET_USER", {
|
|
18
18
|
slug: "proofly-get-user",
|
|
19
19
|
name: "Get Proofly User Info",
|
|
@@ -21,11 +21,11 @@ const prooflyGetUser = action("PROOFLY_GET_USER", {
|
|
|
21
21
|
input: ProoflyGetUserInput,
|
|
22
22
|
output: z.object({
|
|
23
23
|
meta: ProoflyGetUser_UserMetaSchema.nullable(),
|
|
24
|
-
name: z.string().describe("User's full name"),
|
|
25
|
-
email: z.string().describe("User's email address"),
|
|
24
|
+
name: z.string().describe("User's full name").nullable(),
|
|
25
|
+
email: z.string().describe("User's email address").nullable(),
|
|
26
26
|
pixel: ProoflyGetUser_UserPixelSchema.nullable(),
|
|
27
27
|
impressions: ProoflyGetUser_UserImpressionsSchema.nullable()
|
|
28
|
-
})
|
|
28
|
+
}).passthrough()
|
|
29
29
|
});
|
|
30
30
|
//#endregion
|
|
31
31
|
export { prooflyGetUser };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user.mjs","names":[],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProoflyGetUserInput
|
|
1
|
+
{"version":3,"file":"get-user.mjs","names":[],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProoflyGetUserInput = z.object({}).describe(\"No input parameters required. Authentication header is supplied via metadata.\");\nconst ProoflyGetUser_UserMetaSchema = z.object({\n logins: z.number().int().describe(\"Number of times the user has logged in\").nullable(),\n registered: z.string().describe(\"Account registration timestamp\").nullable(),\n}).passthrough();\nconst ProoflyGetUser_UserPixelSchema = z.object({\n key: z.string().describe(\"User's unique pixel tracking key\").nullable(),\n debug: z.boolean().describe(\"Debug mode status for the pixel\").nullable(),\n}).passthrough();\nconst ProoflyGetUser_UserImpressionsSchema = z.object({\n total: z.number().int().describe(\"Total number of impressions\").nullable(),\n period: z.number().int().describe(\"Number of impressions in the current period\").nullable(),\n}).passthrough();\nexport const ProoflyGetUserOutput = z.object({\n meta: ProoflyGetUser_UserMetaSchema.nullable(),\n name: z.string().describe(\"User's full name\").nullable(),\n email: z.string().describe(\"User's email address\").nullable(),\n pixel: ProoflyGetUser_UserPixelSchema.nullable(),\n impressions: ProoflyGetUser_UserImpressionsSchema.nullable(),\n}).passthrough();\n\nexport const prooflyGetUser = action(\"PROOFLY_GET_USER\", {\n slug: \"proofly-get-user\",\n name: \"Get Proofly User Info\",\n description: \"Tool to retrieve general information of the authenticated user. Use after authentication to fetch user profile details.\",\n input: ProoflyGetUserInput,\n output: ProoflyGetUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+EAA+E;AACxI,MAAM,gCAAgC,EAAE,OAAO;CAC7C,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACrF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,iCAAiC,EAAE,OAAO;CAC9C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACtE,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,uCAAuC,EAAE,OAAO;CACpD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACzE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY;AASf,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbkC,EAAE,OAAO;EAC3C,MAAM,8BAA8B,SAAS;EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC5D,OAAO,+BAA+B,SAAS;EAC/C,aAAa,qCAAqC,SAAS;CAC7D,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
package/dist/catalog.cjs
CHANGED
|
@@ -7,7 +7,13 @@ const prooflyCatalog = {
|
|
|
7
7
|
"category": "Marketing Automation",
|
|
8
8
|
"logo": "https://logos.composio.dev/api/proofly",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
|
-
"oauthScopes": []
|
|
10
|
+
"oauthScopes": [],
|
|
11
|
+
"credentialFields": { "api_key": {
|
|
12
|
+
"label": "Proofly API Key",
|
|
13
|
+
"secret": true,
|
|
14
|
+
"description": "The API key required for authenticating requests to the Proofly API."
|
|
15
|
+
} },
|
|
16
|
+
"credentialScheme": "API_KEY"
|
|
11
17
|
};
|
|
12
18
|
//#endregion
|
|
13
19
|
exports.prooflyCatalog = prooflyCatalog;
|
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 prooflyCatalog = {\n \"slug\": \"proofly\",\n \"name\": \"Proofly\",\n \"description\": \"Proofly is a social proof toolkit that helps boost website conversions by displaying real-time notifications of customer activities.\",\n \"category\": \"Marketing Automation\",\n \"logo\": \"https://logos.composio.dev/api/proofly\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const prooflyCatalog = {\n \"slug\": \"proofly\",\n \"name\": \"Proofly\",\n \"description\": \"Proofly is a social proof toolkit that helps boost website conversions by displaying real-time notifications of customer activities.\",\n \"category\": \"Marketing Automation\",\n \"logo\": \"https://logos.composio.dev/api/proofly\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"Proofly API Key\",\n \"secret\": true,\n \"description\": \"The API key required for authenticating requests to the Proofly API.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|
package/dist/catalog.d.cts
CHANGED
|
@@ -8,6 +8,14 @@ declare const prooflyCatalog: {
|
|
|
8
8
|
readonly logo: "https://logos.composio.dev/api/proofly";
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
|
+
readonly credentialFields: {
|
|
12
|
+
readonly api_key: {
|
|
13
|
+
readonly label: "Proofly API Key";
|
|
14
|
+
readonly secret: true;
|
|
15
|
+
readonly description: "The API key required for authenticating requests to the Proofly API.";
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
readonly credentialScheme: "API_KEY";
|
|
11
19
|
};
|
|
12
20
|
//#endregion
|
|
13
21
|
export { prooflyCatalog };
|
package/dist/catalog.d.mts
CHANGED
|
@@ -8,6 +8,14 @@ declare const prooflyCatalog: {
|
|
|
8
8
|
readonly logo: "https://logos.composio.dev/api/proofly";
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
|
+
readonly credentialFields: {
|
|
12
|
+
readonly api_key: {
|
|
13
|
+
readonly label: "Proofly API Key";
|
|
14
|
+
readonly secret: true;
|
|
15
|
+
readonly description: "The API key required for authenticating requests to the Proofly API.";
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
readonly credentialScheme: "API_KEY";
|
|
11
19
|
};
|
|
12
20
|
//#endregion
|
|
13
21
|
export { prooflyCatalog };
|
package/dist/catalog.mjs
CHANGED
|
@@ -7,7 +7,13 @@ const prooflyCatalog = {
|
|
|
7
7
|
"category": "Marketing Automation",
|
|
8
8
|
"logo": "https://logos.composio.dev/api/proofly",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
|
-
"oauthScopes": []
|
|
10
|
+
"oauthScopes": [],
|
|
11
|
+
"credentialFields": { "api_key": {
|
|
12
|
+
"label": "Proofly API Key",
|
|
13
|
+
"secret": true,
|
|
14
|
+
"description": "The API key required for authenticating requests to the Proofly API."
|
|
15
|
+
} },
|
|
16
|
+
"credentialScheme": "API_KEY"
|
|
11
17
|
};
|
|
12
18
|
//#endregion
|
|
13
19
|
export { prooflyCatalog };
|
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 prooflyCatalog = {\n \"slug\": \"proofly\",\n \"name\": \"Proofly\",\n \"description\": \"Proofly is a social proof toolkit that helps boost website conversions by displaying real-time notifications of customer activities.\",\n \"category\": \"Marketing Automation\",\n \"logo\": \"https://logos.composio.dev/api/proofly\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const prooflyCatalog = {\n \"slug\": \"proofly\",\n \"name\": \"Proofly\",\n \"description\": \"Proofly is a social proof toolkit that helps boost website conversions by displaying real-time notifications of customer activities.\",\n \"category\": \"Marketing Automation\",\n \"logo\": \"https://logos.composio.dev/api/proofly\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"Proofly API Key\",\n \"secret\": true,\n \"description\": \"The API key required for authenticating requests to the Proofly API.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/proofly",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@keystrokehq/keystroke": "
|
|
34
|
+
"@keystrokehq/keystroke": ">=0.1.4",
|
|
35
35
|
"zod": "^4.4.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|