@keystrokehq/proofly 0.1.2 → 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/actions/get-activity-logs.cjs +2 -2
- package/dist/actions/get-activity-logs.cjs.map +1 -1
- package/dist/actions/get-activity-logs.d.cts +2 -2
- package/dist/actions/get-activity-logs.d.mts +2 -2
- package/dist/actions/get-activity-logs.mjs +2 -2
- package/dist/actions/get-activity-logs.mjs.map +1 -1
- package/dist/actions/get-campaigns.cjs +2 -2
- package/dist/actions/get-campaigns.cjs.map +1 -1
- package/dist/actions/get-campaigns.d.cts +2 -2
- package/dist/actions/get-campaigns.d.mts +2 -2
- package/dist/actions/get-campaigns.mjs +2 -2
- package/dist/actions/get-campaigns.mjs.map +1 -1
- package/dist/actions/get-user.cjs +4 -4
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +4 -4
- package/dist/actions/get-user.d.mts +4 -4
- package/dist/actions/get-user.mjs +4 -4
- package/dist/actions/get-user.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -6,12 +6,12 @@ const ProoflyGetActivityLogs_ActivityLogEntrySchema = zod.z.object({
|
|
|
6
6
|
ip: zod.z.string().describe("IP address from which the activity originated.").nullable(),
|
|
7
7
|
date: zod.z.string().describe("Timestamp of the activity in 'YYYY-MM-DD HH:MM:SS' format.").nullable(),
|
|
8
8
|
type: zod.z.string().describe("Type of activity (e.g., 'login.success', 'register.success').").nullable()
|
|
9
|
-
}).describe("Represents a single activity log entry.");
|
|
9
|
+
}).passthrough().describe("Represents a single activity log entry.");
|
|
10
10
|
const ProoflyGetActivityLogsOutput = zod.z.object({
|
|
11
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
13
|
status: zod.z.number().int().describe("HTTP status code of the response.").nullable()
|
|
14
|
-
}).describe("Response model for user activity logs.");
|
|
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 = 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}).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}).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,SAAS,yCAAyC;
|
|
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"}
|
|
@@ -8,9 +8,9 @@ declare const ProoflyGetActivityLogsOutput: z.ZodObject<{
|
|
|
8
8
|
ip: z.ZodNullable<z.ZodString>;
|
|
9
9
|
date: z.ZodNullable<z.ZodString>;
|
|
10
10
|
type: z.ZodNullable<z.ZodString>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>>;
|
|
12
12
|
status: z.ZodNullable<z.ZodNumber>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>;
|
|
14
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]>;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { prooflyGetActivityLogs };
|
|
@@ -8,9 +8,9 @@ declare const ProoflyGetActivityLogsOutput: z.ZodObject<{
|
|
|
8
8
|
ip: z.ZodNullable<z.ZodString>;
|
|
9
9
|
date: z.ZodNullable<z.ZodString>;
|
|
10
10
|
type: z.ZodNullable<z.ZodString>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>>;
|
|
12
12
|
status: z.ZodNullable<z.ZodNumber>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>;
|
|
14
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]>;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { prooflyGetActivityLogs };
|
|
@@ -6,7 +6,7 @@ const ProoflyGetActivityLogs_ActivityLogEntrySchema = z.object({
|
|
|
6
6
|
ip: z.string().describe("IP address from which the activity originated.").nullable(),
|
|
7
7
|
date: z.string().describe("Timestamp of the activity in 'YYYY-MM-DD HH:MM:SS' format.").nullable(),
|
|
8
8
|
type: z.string().describe("Type of activity (e.g., 'login.success', 'register.success').").nullable()
|
|
9
|
-
}).describe("Represents a single activity log entry.");
|
|
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",
|
|
@@ -16,7 +16,7 @@ const prooflyGetActivityLogs = action("PROOFLY_GET_ACTIVITY_LOGS", {
|
|
|
16
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
18
|
status: z.number().int().describe("HTTP status code of the response.").nullable()
|
|
19
|
-
}).describe("Response model for user activity logs.")
|
|
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 = 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}).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}).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,SAAS,yCAAyC;
|
|
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"}
|
|
@@ -8,8 +8,8 @@ const ProoflyGetCampaigns_CampaignSchema = zod.z.object({
|
|
|
8
8
|
status: zod.z.string().describe("Current status of the campaign").nullable(),
|
|
9
9
|
created_at: zod.z.string().describe("Creation timestamp in ISO8601 format").nullable(),
|
|
10
10
|
updated_at: zod.z.string().describe("Last update timestamp in ISO8601 format").nullable()
|
|
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.");
|
|
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 = 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}).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}).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,SAAS,uCAAuC;
|
|
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"}
|
|
@@ -9,8 +9,8 @@ declare const ProoflyGetCampaignsOutput: z.ZodObject<{
|
|
|
9
9
|
status: z.ZodNullable<z.ZodString>;
|
|
10
10
|
created_at: z.ZodNullable<z.ZodString>;
|
|
11
11
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
12
|
-
}, z.core.$
|
|
13
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>>;
|
|
13
|
+
}, z.core.$loose>;
|
|
14
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]>;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { prooflyGetCampaigns };
|
|
@@ -9,8 +9,8 @@ declare const ProoflyGetCampaignsOutput: z.ZodObject<{
|
|
|
9
9
|
status: z.ZodNullable<z.ZodString>;
|
|
10
10
|
created_at: z.ZodNullable<z.ZodString>;
|
|
11
11
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
12
|
-
}, z.core.$
|
|
13
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>>;
|
|
13
|
+
}, z.core.$loose>;
|
|
14
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]>;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { prooflyGetCampaigns };
|
|
@@ -8,13 +8,13 @@ const ProoflyGetCampaigns_CampaignSchema = z.object({
|
|
|
8
8
|
status: z.string().describe("Current status of the campaign").nullable(),
|
|
9
9
|
created_at: z.string().describe("Creation timestamp in ISO8601 format").nullable(),
|
|
10
10
|
updated_at: z.string().describe("Last update timestamp in ISO8601 format").nullable()
|
|
11
|
-
}).describe("Schema for a single Proofly campaign.");
|
|
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 = 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}).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}).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,SAAS,uCAAuC;
|
|
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"}
|
|
@@ -5,22 +5,22 @@ const ProoflyGetUserInput = zod.z.object({}).describe("No input parameters requi
|
|
|
5
5
|
const ProoflyGetUser_UserMetaSchema = zod.z.object({
|
|
6
6
|
logins: zod.z.number().int().describe("Number of times the user has logged in").nullable(),
|
|
7
7
|
registered: zod.z.string().describe("Account registration timestamp").nullable()
|
|
8
|
-
});
|
|
8
|
+
}).passthrough();
|
|
9
9
|
const ProoflyGetUser_UserPixelSchema = zod.z.object({
|
|
10
10
|
key: zod.z.string().describe("User's unique pixel tracking key").nullable(),
|
|
11
11
|
debug: zod.z.boolean().describe("Debug mode status for the pixel").nullable()
|
|
12
|
-
});
|
|
12
|
+
}).passthrough();
|
|
13
13
|
const ProoflyGetUser_UserImpressionsSchema = zod.z.object({
|
|
14
14
|
total: zod.z.number().int().describe("Total number of impressions").nullable(),
|
|
15
15
|
period: zod.z.number().int().describe("Number of impressions in the current period").nullable()
|
|
16
|
-
});
|
|
16
|
+
}).passthrough();
|
|
17
17
|
const ProoflyGetUserOutput = zod.z.object({
|
|
18
18
|
meta: ProoflyGetUser_UserMetaSchema.nullable(),
|
|
19
19
|
name: zod.z.string().describe("User's full name").nullable(),
|
|
20
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 = 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});\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});\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});\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});\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;
|
|
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"}
|
|
@@ -6,18 +6,18 @@ declare const ProoflyGetUserOutput: z.ZodObject<{
|
|
|
6
6
|
meta: z.ZodNullable<z.ZodObject<{
|
|
7
7
|
logins: z.ZodNullable<z.ZodNumber>;
|
|
8
8
|
registered: z.ZodNullable<z.ZodString>;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>>;
|
|
10
10
|
name: z.ZodNullable<z.ZodString>;
|
|
11
11
|
email: z.ZodNullable<z.ZodString>;
|
|
12
12
|
pixel: z.ZodNullable<z.ZodObject<{
|
|
13
13
|
key: z.ZodNullable<z.ZodString>;
|
|
14
14
|
debug: z.ZodNullable<z.ZodBoolean>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
16
|
impressions: z.ZodNullable<z.ZodObject<{
|
|
17
17
|
total: z.ZodNullable<z.ZodNumber>;
|
|
18
18
|
period: z.ZodNullable<z.ZodNumber>;
|
|
19
|
-
}, z.core.$
|
|
20
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>;
|
|
20
|
+
}, z.core.$loose>;
|
|
21
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]>;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { prooflyGetUser };
|
|
@@ -6,18 +6,18 @@ declare const ProoflyGetUserOutput: z.ZodObject<{
|
|
|
6
6
|
meta: z.ZodNullable<z.ZodObject<{
|
|
7
7
|
logins: z.ZodNullable<z.ZodNumber>;
|
|
8
8
|
registered: z.ZodNullable<z.ZodString>;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>>;
|
|
10
10
|
name: z.ZodNullable<z.ZodString>;
|
|
11
11
|
email: z.ZodNullable<z.ZodString>;
|
|
12
12
|
pixel: z.ZodNullable<z.ZodObject<{
|
|
13
13
|
key: z.ZodNullable<z.ZodString>;
|
|
14
14
|
debug: z.ZodNullable<z.ZodBoolean>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
16
|
impressions: z.ZodNullable<z.ZodObject<{
|
|
17
17
|
total: z.ZodNullable<z.ZodNumber>;
|
|
18
18
|
period: z.ZodNullable<z.ZodNumber>;
|
|
19
|
-
}, z.core.$
|
|
20
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>;
|
|
20
|
+
}, z.core.$loose>;
|
|
21
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]>;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { prooflyGetUser };
|
|
@@ -5,15 +5,15 @@ const ProoflyGetUserInput = z.object({}).describe("No input parameters required.
|
|
|
5
5
|
const ProoflyGetUser_UserMetaSchema = z.object({
|
|
6
6
|
logins: z.number().int().describe("Number of times the user has logged in").nullable(),
|
|
7
7
|
registered: z.string().describe("Account registration timestamp").nullable()
|
|
8
|
-
});
|
|
8
|
+
}).passthrough();
|
|
9
9
|
const ProoflyGetUser_UserPixelSchema = z.object({
|
|
10
10
|
key: z.string().describe("User's unique pixel tracking key").nullable(),
|
|
11
11
|
debug: z.boolean().describe("Debug mode status for the pixel").nullable()
|
|
12
|
-
});
|
|
12
|
+
}).passthrough();
|
|
13
13
|
const ProoflyGetUser_UserImpressionsSchema = z.object({
|
|
14
14
|
total: z.number().int().describe("Total number of impressions").nullable(),
|
|
15
15
|
period: z.number().int().describe("Number of impressions in the current period").nullable()
|
|
16
|
-
});
|
|
16
|
+
}).passthrough();
|
|
17
17
|
const prooflyGetUser = action("PROOFLY_GET_USER", {
|
|
18
18
|
slug: "proofly-get-user",
|
|
19
19
|
name: "Get Proofly User Info",
|
|
@@ -25,7 +25,7 @@ const prooflyGetUser = action("PROOFLY_GET_USER", {
|
|
|
25
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 = 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});\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});\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});\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});\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;
|
|
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"}
|