@keystrokehq/sendfox 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/delete-contact-from-list.cjs +1 -0
- package/dist/actions/delete-contact-from-list.cjs.map +1 -1
- package/dist/actions/delete-contact-from-list.d.cts +3 -16
- package/dist/actions/delete-contact-from-list.d.cts.map +1 -1
- package/dist/actions/delete-contact-from-list.d.mts +3 -16
- package/dist/actions/delete-contact-from-list.d.mts.map +1 -1
- package/dist/actions/delete-contact-from-list.mjs +1 -0
- package/dist/actions/delete-contact-from-list.mjs.map +1 -1
- package/dist/actions/get-automations.cjs +1 -0
- package/dist/actions/get-automations.cjs.map +1 -1
- package/dist/actions/get-automations.d.cts +3 -13
- package/dist/actions/get-automations.d.cts.map +1 -1
- package/dist/actions/get-automations.d.mts +3 -13
- package/dist/actions/get-automations.d.mts.map +1 -1
- package/dist/actions/get-automations.mjs +1 -0
- package/dist/actions/get-automations.mjs.map +1 -1
- package/dist/actions/get-campaign-by-id.cjs +1 -0
- package/dist/actions/get-campaign-by-id.cjs.map +1 -1
- package/dist/actions/get-campaign-by-id.d.cts +3 -15
- package/dist/actions/get-campaign-by-id.d.cts.map +1 -1
- package/dist/actions/get-campaign-by-id.d.mts +3 -15
- package/dist/actions/get-campaign-by-id.d.mts.map +1 -1
- package/dist/actions/get-campaign-by-id.mjs +1 -0
- package/dist/actions/get-campaign-by-id.mjs.map +1 -1
- package/dist/actions/get-campaigns.cjs +1 -0
- package/dist/actions/get-campaigns.cjs.map +1 -1
- package/dist/actions/get-campaigns.d.cts +3 -15
- package/dist/actions/get-campaigns.d.cts.map +1 -1
- package/dist/actions/get-campaigns.d.mts +3 -15
- package/dist/actions/get-campaigns.d.mts.map +1 -1
- package/dist/actions/get-campaigns.mjs +1 -0
- package/dist/actions/get-campaigns.mjs.map +1 -1
- package/dist/actions/get-contact-by-id.cjs +1 -0
- package/dist/actions/get-contact-by-id.cjs.map +1 -1
- package/dist/actions/get-contact-by-id.d.cts +3 -15
- package/dist/actions/get-contact-by-id.d.cts.map +1 -1
- package/dist/actions/get-contact-by-id.d.mts +3 -15
- package/dist/actions/get-contact-by-id.d.mts.map +1 -1
- package/dist/actions/get-contact-by-id.mjs +1 -0
- package/dist/actions/get-contact-by-id.mjs.map +1 -1
- package/dist/actions/get-contact-fields.cjs +1 -0
- package/dist/actions/get-contact-fields.cjs.map +1 -1
- package/dist/actions/get-contact-fields.d.cts +3 -13
- package/dist/actions/get-contact-fields.d.cts.map +1 -1
- package/dist/actions/get-contact-fields.d.mts +3 -13
- package/dist/actions/get-contact-fields.d.mts.map +1 -1
- package/dist/actions/get-contact-fields.mjs +1 -0
- package/dist/actions/get-contact-fields.mjs.map +1 -1
- package/dist/actions/get-contacts-in-list.cjs +1 -0
- package/dist/actions/get-contacts-in-list.cjs.map +1 -1
- package/dist/actions/get-contacts-in-list.d.cts +3 -16
- package/dist/actions/get-contacts-in-list.d.cts.map +1 -1
- package/dist/actions/get-contacts-in-list.d.mts +3 -16
- package/dist/actions/get-contacts-in-list.d.mts.map +1 -1
- package/dist/actions/get-contacts-in-list.mjs +1 -0
- package/dist/actions/get-contacts-in-list.mjs.map +1 -1
- package/dist/actions/get-contacts.cjs +1 -0
- package/dist/actions/get-contacts.cjs.map +1 -1
- package/dist/actions/get-contacts.d.cts +3 -16
- package/dist/actions/get-contacts.d.cts.map +1 -1
- package/dist/actions/get-contacts.d.mts +3 -16
- package/dist/actions/get-contacts.d.mts.map +1 -1
- package/dist/actions/get-contacts.mjs +1 -0
- package/dist/actions/get-contacts.mjs.map +1 -1
- package/dist/actions/get-current-user.cjs +1 -0
- package/dist/actions/get-current-user.cjs.map +1 -1
- package/dist/actions/get-current-user.d.cts +3 -13
- package/dist/actions/get-current-user.d.cts.map +1 -1
- package/dist/actions/get-current-user.d.mts +3 -13
- package/dist/actions/get-current-user.d.mts.map +1 -1
- package/dist/actions/get-current-user.mjs +1 -0
- package/dist/actions/get-current-user.mjs.map +1 -1
- package/dist/actions/get-forms.cjs +1 -0
- package/dist/actions/get-forms.cjs.map +1 -1
- package/dist/actions/get-forms.d.cts +3 -15
- package/dist/actions/get-forms.d.cts.map +1 -1
- package/dist/actions/get-forms.d.mts +3 -15
- package/dist/actions/get-forms.d.mts.map +1 -1
- package/dist/actions/get-forms.mjs +1 -0
- package/dist/actions/get-forms.mjs.map +1 -1
- package/dist/actions/get-list-by-id.cjs +1 -0
- package/dist/actions/get-list-by-id.cjs.map +1 -1
- package/dist/actions/get-list-by-id.d.cts +3 -15
- package/dist/actions/get-list-by-id.d.cts.map +1 -1
- package/dist/actions/get-list-by-id.d.mts +3 -15
- package/dist/actions/get-list-by-id.d.mts.map +1 -1
- package/dist/actions/get-list-by-id.mjs +1 -0
- package/dist/actions/get-list-by-id.mjs.map +1 -1
- package/dist/actions/get-lists.cjs +1 -0
- package/dist/actions/get-lists.cjs.map +1 -1
- package/dist/actions/get-lists.d.cts +3 -15
- package/dist/actions/get-lists.d.cts.map +1 -1
- package/dist/actions/get-lists.d.mts +3 -15
- package/dist/actions/get-lists.d.mts.map +1 -1
- package/dist/actions/get-lists.mjs +1 -0
- package/dist/actions/get-lists.mjs.map +1 -1
- package/dist/actions/list-contact-fields.cjs +1 -0
- package/dist/actions/list-contact-fields.cjs.map +1 -1
- package/dist/actions/list-contact-fields.d.cts +3 -13
- package/dist/actions/list-contact-fields.d.cts.map +1 -1
- package/dist/actions/list-contact-fields.d.mts +3 -13
- package/dist/actions/list-contact-fields.d.mts.map +1 -1
- package/dist/actions/list-contact-fields.mjs +1 -0
- package/dist/actions/list-contact-fields.mjs.map +1 -1
- package/dist/actions/list-unsubscribed-contacts.cjs +1 -0
- package/dist/actions/list-unsubscribed-contacts.cjs.map +1 -1
- package/dist/actions/list-unsubscribed-contacts.d.cts +3 -16
- package/dist/actions/list-unsubscribed-contacts.d.cts.map +1 -1
- package/dist/actions/list-unsubscribed-contacts.d.mts +3 -16
- package/dist/actions/list-unsubscribed-contacts.d.mts.map +1 -1
- package/dist/actions/list-unsubscribed-contacts.mjs +1 -0
- package/dist/actions/list-unsubscribed-contacts.mjs.map +1 -1
- package/dist/actions/patch-unsubscribe-contact.cjs +1 -0
- package/dist/actions/patch-unsubscribe-contact.cjs.map +1 -1
- package/dist/actions/patch-unsubscribe-contact.d.cts +3 -15
- package/dist/actions/patch-unsubscribe-contact.d.cts.map +1 -1
- package/dist/actions/patch-unsubscribe-contact.d.mts +3 -15
- package/dist/actions/patch-unsubscribe-contact.d.mts.map +1 -1
- package/dist/actions/patch-unsubscribe-contact.mjs +1 -0
- package/dist/actions/patch-unsubscribe-contact.mjs.map +1 -1
- package/dist/actions/post-create-contact.cjs +1 -0
- package/dist/actions/post-create-contact.cjs.map +1 -1
- package/dist/actions/post-create-contact.d.cts +3 -18
- package/dist/actions/post-create-contact.d.cts.map +1 -1
- package/dist/actions/post-create-contact.d.mts +3 -18
- package/dist/actions/post-create-contact.d.mts.map +1 -1
- package/dist/actions/post-create-contact.mjs +1 -0
- package/dist/actions/post-create-contact.mjs.map +1 -1
- package/dist/actions/post-create-list.cjs +1 -0
- package/dist/actions/post-create-list.cjs.map +1 -1
- package/dist/actions/post-create-list.d.cts +3 -15
- package/dist/actions/post-create-list.d.cts.map +1 -1
- package/dist/actions/post-create-list.d.mts +3 -15
- package/dist/actions/post-create-list.d.mts.map +1 -1
- package/dist/actions/post-create-list.mjs +1 -0
- package/dist/actions/post-create-list.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["sendfox","executeSendfoxTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { sendfox } from \"./app\";\nimport { executeSendfoxTool } 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:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["sendfox","executeSendfoxTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { sendfox } from \"./app\";\nimport { executeSendfoxTool } 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, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof sendfox.credential> {\n return sendfox.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeSendfoxTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOuD;CACvD,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 { sendfox } from \"./app\";\nimport { executeSendfoxTool } 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:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { sendfox } from \"./app\";\nimport { executeSendfoxTool } 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, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof sendfox.credential> {\n return sendfox.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeSendfoxTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOuD;CACvD,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-contact-from-list.cjs","names":["z","action"],"sources":["../../src/actions/delete-contact-from-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxDeleteContactFromListInput = z.object({\n list_id: z.number().int().describe(\"Unique identifier of the list to remove the contact from.\"),\n contact_id: z.number().int().describe(\"Unique identifier of the contact to remove from the list.\"),\n}).describe(\"Request parameters for removing a contact from a specific SendFox list.\");\nexport const SendfoxDeleteContactFromListOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact.\").nullable().optional(),\n email: z.string().describe(\"Email address of the contact.\").nullable().optional(),\n lists: z.array(z.number().int()).describe(\"List IDs the contact remains a member of after removal.\").nullable().optional(),\n status: z.string().describe(\"Subscription status of the contact (e.g., 'active', 'unsubscribed').\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the contact.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the contact was created.\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact.\").nullable().optional(),\n ip_address: z.string().describe(\"IP address associated with the contact.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the contact was last updated.\").nullable().optional(),\n unsubscribed_at: z.string().describe(\"ISO 8601 timestamp when the contact unsubscribed, if applicable.\").nullable().optional(),\n}).passthrough().describe(\"Response schema after removing a contact from a SendFox list.\\nReturns the contact details after removal from the specified list.\");\n\nexport const sendfoxDeleteContactFromList = action(\"SENDFOX_DELETE_CONTACT_FROM_LIST\", {\n slug: \"sendfox-delete-contact-from-list\",\n name: \"Delete Contact from List\",\n description: \"Tool to remove a contact from a specific list in SendFox. Use when you need to disassociate a contact from a list without deleting the contact entirely. The contact will remain in your account but will no longer be a member of the specified list.\",\n input: SendfoxDeleteContactFromListInput,\n output: SendfoxDeleteContactFromListOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-contact-from-list.cjs","names":["z","action"],"sources":["../../src/actions/delete-contact-from-list.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendfox } from \"../app\";\n\nexport const SendfoxDeleteContactFromListInput = z.object({\n list_id: z.number().int().describe(\"Unique identifier of the list to remove the contact from.\"),\n contact_id: z.number().int().describe(\"Unique identifier of the contact to remove from the list.\"),\n}).describe(\"Request parameters for removing a contact from a specific SendFox list.\");\nexport const SendfoxDeleteContactFromListOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact.\").nullable().optional(),\n email: z.string().describe(\"Email address of the contact.\").nullable().optional(),\n lists: z.array(z.number().int()).describe(\"List IDs the contact remains a member of after removal.\").nullable().optional(),\n status: z.string().describe(\"Subscription status of the contact (e.g., 'active', 'unsubscribed').\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the contact.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the contact was created.\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact.\").nullable().optional(),\n ip_address: z.string().describe(\"IP address associated with the contact.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the contact was last updated.\").nullable().optional(),\n unsubscribed_at: z.string().describe(\"ISO 8601 timestamp when the contact unsubscribed, if applicable.\").nullable().optional(),\n}).passthrough().describe(\"Response schema after removing a contact from a SendFox list.\\nReturns the contact details after removal from the specified list.\");\n\nexport const sendfoxDeleteContactFromList: AppAction<\n typeof SendfoxDeleteContactFromListInput,\n typeof SendfoxDeleteContactFromListOutput,\n typeof sendfox.credential\n> = action(\"SENDFOX_DELETE_CONTACT_FROM_LIST\", {\n slug: \"sendfox-delete-contact-from-list\",\n name: \"Delete Contact from List\",\n description: \"Tool to remove a contact from a specific list in SendFox. Use when you need to disassociate a contact from a list without deleting the contact entirely. The contact will remain in your account but will no longer be a member of the specified list.\",\n input: SendfoxDeleteContactFromListInput,\n output: SendfoxDeleteContactFromListOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CAC9F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;AACnG,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mIAAmI;AAE7J,MAAa,+BAITC,eAAAA,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sendfox } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-contact-from-list.d.ts
|
|
@@ -17,22 +19,7 @@ declare const SendfoxDeleteContactFromListOutput: z.ZodObject<{
|
|
|
17
19
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
20
|
unsubscribed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
21
|
}, z.core.$loose>;
|
|
20
|
-
declare const sendfoxDeleteContactFromList:
|
|
21
|
-
list_id: number;
|
|
22
|
-
contact_id: number;
|
|
23
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendfox", z.ZodObject<{
|
|
24
|
-
connectionId: z.ZodString;
|
|
25
|
-
entityId: z.ZodString;
|
|
26
|
-
instanceId: z.ZodString;
|
|
27
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
-
generic_api_key: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendfox", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
generic_api_key: z.ZodString;
|
|
35
|
-
}, z.core.$strip>>]>;
|
|
22
|
+
declare const sendfoxDeleteContactFromList: AppAction<typeof SendfoxDeleteContactFromListInput, typeof SendfoxDeleteContactFromListOutput, typeof sendfox.credential>;
|
|
36
23
|
//#endregion
|
|
37
24
|
export { sendfoxDeleteContactFromList };
|
|
38
25
|
//# sourceMappingURL=delete-contact-from-list.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-contact-from-list.d.cts","names":[],"sources":["../../src/actions/delete-contact-from-list.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-contact-from-list.d.cts","names":[],"sources":["../../src/actions/delete-contact-from-list.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAIjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAalC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sendfox } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-contact-from-list.d.ts
|
|
@@ -17,22 +19,7 @@ declare const SendfoxDeleteContactFromListOutput: z.ZodObject<{
|
|
|
17
19
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
20
|
unsubscribed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
21
|
}, z.core.$loose>;
|
|
20
|
-
declare const sendfoxDeleteContactFromList:
|
|
21
|
-
list_id: number;
|
|
22
|
-
contact_id: number;
|
|
23
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendfox", z.ZodObject<{
|
|
24
|
-
connectionId: z.ZodString;
|
|
25
|
-
entityId: z.ZodString;
|
|
26
|
-
instanceId: z.ZodString;
|
|
27
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
-
generic_api_key: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendfox", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
generic_api_key: z.ZodString;
|
|
35
|
-
}, z.core.$strip>>]>;
|
|
22
|
+
declare const sendfoxDeleteContactFromList: AppAction<typeof SendfoxDeleteContactFromListInput, typeof SendfoxDeleteContactFromListOutput, typeof sendfox.credential>;
|
|
36
23
|
//#endregion
|
|
37
24
|
export { sendfoxDeleteContactFromList };
|
|
38
25
|
//# sourceMappingURL=delete-contact-from-list.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-contact-from-list.d.mts","names":[],"sources":["../../src/actions/delete-contact-from-list.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-contact-from-list.d.mts","names":[],"sources":["../../src/actions/delete-contact-from-list.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAIjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAalC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-contact-from-list.mjs","names":[],"sources":["../../src/actions/delete-contact-from-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxDeleteContactFromListInput = z.object({\n list_id: z.number().int().describe(\"Unique identifier of the list to remove the contact from.\"),\n contact_id: z.number().int().describe(\"Unique identifier of the contact to remove from the list.\"),\n}).describe(\"Request parameters for removing a contact from a specific SendFox list.\");\nexport const SendfoxDeleteContactFromListOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact.\").nullable().optional(),\n email: z.string().describe(\"Email address of the contact.\").nullable().optional(),\n lists: z.array(z.number().int()).describe(\"List IDs the contact remains a member of after removal.\").nullable().optional(),\n status: z.string().describe(\"Subscription status of the contact (e.g., 'active', 'unsubscribed').\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the contact.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the contact was created.\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact.\").nullable().optional(),\n ip_address: z.string().describe(\"IP address associated with the contact.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the contact was last updated.\").nullable().optional(),\n unsubscribed_at: z.string().describe(\"ISO 8601 timestamp when the contact unsubscribed, if applicable.\").nullable().optional(),\n}).passthrough().describe(\"Response schema after removing a contact from a SendFox list.\\nReturns the contact details after removal from the specified list.\");\n\nexport const sendfoxDeleteContactFromList = action(\"SENDFOX_DELETE_CONTACT_FROM_LIST\", {\n slug: \"sendfox-delete-contact-from-list\",\n name: \"Delete Contact from List\",\n description: \"Tool to remove a contact from a specific list in SendFox. Use when you need to disassociate a contact from a list without deleting the contact entirely. The contact will remain in your account but will no longer be a member of the specified list.\",\n input: SendfoxDeleteContactFromListInput,\n output: SendfoxDeleteContactFromListOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-contact-from-list.mjs","names":[],"sources":["../../src/actions/delete-contact-from-list.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendfox } from \"../app\";\n\nexport const SendfoxDeleteContactFromListInput = z.object({\n list_id: z.number().int().describe(\"Unique identifier of the list to remove the contact from.\"),\n contact_id: z.number().int().describe(\"Unique identifier of the contact to remove from the list.\"),\n}).describe(\"Request parameters for removing a contact from a specific SendFox list.\");\nexport const SendfoxDeleteContactFromListOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact.\").nullable().optional(),\n email: z.string().describe(\"Email address of the contact.\").nullable().optional(),\n lists: z.array(z.number().int()).describe(\"List IDs the contact remains a member of after removal.\").nullable().optional(),\n status: z.string().describe(\"Subscription status of the contact (e.g., 'active', 'unsubscribed').\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the contact.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the contact was created.\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact.\").nullable().optional(),\n ip_address: z.string().describe(\"IP address associated with the contact.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the contact was last updated.\").nullable().optional(),\n unsubscribed_at: z.string().describe(\"ISO 8601 timestamp when the contact unsubscribed, if applicable.\").nullable().optional(),\n}).passthrough().describe(\"Response schema after removing a contact from a SendFox list.\\nReturns the contact details after removal from the specified list.\");\n\nexport const sendfoxDeleteContactFromList: AppAction<\n typeof SendfoxDeleteContactFromListInput,\n typeof SendfoxDeleteContactFromListOutput,\n typeof sendfox.credential\n> = action(\"SENDFOX_DELETE_CONTACT_FROM_LIST\", {\n slug: \"sendfox-delete-contact-from-list\",\n name: \"Delete Contact from List\",\n description: \"Tool to remove a contact from a specific list in SendFox. Use when you need to disassociate a contact from a list without deleting the contact entirely. The contact will remain in your account but will no longer be a member of the specified list.\",\n input: SendfoxDeleteContactFromListInput,\n output: SendfoxDeleteContactFromListOutput,\n});\n"],"mappings":";;;AAuBA,MAAa,+BAIT,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzB+C,EAAE,OAAO;EACxD,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;EAC9F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CACnG,CAAC,CAAC,CAAC,SAAS,yEAsBH;CACP,QAtBgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mIAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-automations.cjs","names":["z","action"],"sources":["../../src/actions/get-automations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetAutomationsInput = z.object({}).describe(\"Request schema for retrieving automations. No parameters required.\");\nconst SendfoxGetAutomations_AutomationSchema = z.object({\n id: z.number().int().describe(\"Unique ID of the automation\").nullable(),\n title: z.string().describe(\"Title/name of the automation\").nullable(),\n user_id: z.number().int().describe(\"ID of the user who owns this automation\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the automation was created\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the automation was last updated\").nullable().optional(),\n}).passthrough().describe(\"Represents a SendFox automation.\");\nexport const SendfoxGetAutomationsOutput = z.object({\n automations: z.array(SendfoxGetAutomations_AutomationSchema).describe(\"List of automations\"),\n}).passthrough().describe(\"Response schema for list of automations.\");\n\nexport const sendfoxGetAutomations = action(\"SENDFOX_GET_AUTOMATIONS\", {\n slug: \"sendfox-get-automations\",\n name: \"Get Automations\",\n description: \"Tool to retrieve a list of automations. Use when you need to list all automations for your SendFox account.\",\n input: SendfoxGetAutomationsInput,\n output: SendfoxGetAutomationsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-automations.cjs","names":["z","action"],"sources":["../../src/actions/get-automations.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendfox } from \"../app\";\n\nexport const SendfoxGetAutomationsInput = z.object({}).describe(\"Request schema for retrieving automations. No parameters required.\");\nconst SendfoxGetAutomations_AutomationSchema = z.object({\n id: z.number().int().describe(\"Unique ID of the automation\").nullable(),\n title: z.string().describe(\"Title/name of the automation\").nullable(),\n user_id: z.number().int().describe(\"ID of the user who owns this automation\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the automation was created\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the automation was last updated\").nullable().optional(),\n}).passthrough().describe(\"Represents a SendFox automation.\");\nexport const SendfoxGetAutomationsOutput = z.object({\n automations: z.array(SendfoxGetAutomations_AutomationSchema).describe(\"List of automations\"),\n}).passthrough().describe(\"Response schema for list of automations.\");\n\nexport const sendfoxGetAutomations: AppAction<\n typeof SendfoxGetAutomationsInput,\n typeof SendfoxGetAutomationsOutput,\n typeof sendfox.credential\n> = action(\"SENDFOX_GET_AUTOMATIONS\", {\n slug: \"sendfox-get-automations\",\n name: \"Get Automations\",\n description: \"Tool to retrieve a list of automations. Use when you need to list all automations for your SendFox account.\",\n input: SendfoxGetAutomationsInput,\n output: SendfoxGetAutomationsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE;AACpI,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACpE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAC5D,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,aAAaA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,qBAAqB,EAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,wBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sendfox } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-automations.d.ts
|
|
@@ -11,19 +13,7 @@ declare const SendfoxGetAutomationsOutput: z.ZodObject<{
|
|
|
11
13
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
14
|
}, z.core.$loose>>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const sendfoxGetAutomations:
|
|
15
|
-
connectionId: z.ZodString;
|
|
16
|
-
entityId: z.ZodString;
|
|
17
|
-
instanceId: z.ZodString;
|
|
18
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
-
generic_api_key: z.ZodString;
|
|
20
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendfox", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>;
|
|
16
|
+
declare const sendfoxGetAutomations: AppAction<typeof SendfoxGetAutomationsInput, typeof SendfoxGetAutomationsOutput, typeof sendfox.credential>;
|
|
27
17
|
//#endregion
|
|
28
18
|
export { sendfoxGetAutomations };
|
|
29
19
|
//# sourceMappingURL=get-automations.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-automations.d.cts","names":[],"sources":["../../src/actions/get-automations.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-automations.d.cts","names":[],"sources":["../../src/actions/get-automations.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQ1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sendfox } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-automations.d.ts
|
|
@@ -11,19 +13,7 @@ declare const SendfoxGetAutomationsOutput: z.ZodObject<{
|
|
|
11
13
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
14
|
}, z.core.$loose>>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const sendfoxGetAutomations:
|
|
15
|
-
connectionId: z.ZodString;
|
|
16
|
-
entityId: z.ZodString;
|
|
17
|
-
instanceId: z.ZodString;
|
|
18
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
-
generic_api_key: z.ZodString;
|
|
20
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendfox", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>;
|
|
16
|
+
declare const sendfoxGetAutomations: AppAction<typeof SendfoxGetAutomationsInput, typeof SendfoxGetAutomationsOutput, typeof sendfox.credential>;
|
|
27
17
|
//#endregion
|
|
28
18
|
export { sendfoxGetAutomations };
|
|
29
19
|
//# sourceMappingURL=get-automations.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-automations.d.mts","names":[],"sources":["../../src/actions/get-automations.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-automations.d.mts","names":[],"sources":["../../src/actions/get-automations.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQ1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-automations.mjs","names":[],"sources":["../../src/actions/get-automations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetAutomationsInput = z.object({}).describe(\"Request schema for retrieving automations. No parameters required.\");\nconst SendfoxGetAutomations_AutomationSchema = z.object({\n id: z.number().int().describe(\"Unique ID of the automation\").nullable(),\n title: z.string().describe(\"Title/name of the automation\").nullable(),\n user_id: z.number().int().describe(\"ID of the user who owns this automation\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the automation was created\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the automation was last updated\").nullable().optional(),\n}).passthrough().describe(\"Represents a SendFox automation.\");\nexport const SendfoxGetAutomationsOutput = z.object({\n automations: z.array(SendfoxGetAutomations_AutomationSchema).describe(\"List of automations\"),\n}).passthrough().describe(\"Response schema for list of automations.\");\n\nexport const sendfoxGetAutomations = action(\"SENDFOX_GET_AUTOMATIONS\", {\n slug: \"sendfox-get-automations\",\n name: \"Get Automations\",\n description: \"Tool to retrieve a list of automations. Use when you need to list all automations for your SendFox account.\",\n input: SendfoxGetAutomationsInput,\n output: SendfoxGetAutomationsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-automations.mjs","names":[],"sources":["../../src/actions/get-automations.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendfox } from \"../app\";\n\nexport const SendfoxGetAutomationsInput = z.object({}).describe(\"Request schema for retrieving automations. No parameters required.\");\nconst SendfoxGetAutomations_AutomationSchema = z.object({\n id: z.number().int().describe(\"Unique ID of the automation\").nullable(),\n title: z.string().describe(\"Title/name of the automation\").nullable(),\n user_id: z.number().int().describe(\"ID of the user who owns this automation\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the automation was created\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the automation was last updated\").nullable().optional(),\n}).passthrough().describe(\"Represents a SendFox automation.\");\nexport const SendfoxGetAutomationsOutput = z.object({\n automations: z.array(SendfoxGetAutomations_AutomationSchema).describe(\"List of automations\"),\n}).passthrough().describe(\"Response schema for list of automations.\");\n\nexport const sendfoxGetAutomations: AppAction<\n typeof SendfoxGetAutomationsInput,\n typeof SendfoxGetAutomationsOutput,\n typeof sendfox.credential\n> = action(\"SENDFOX_GET_AUTOMATIONS\", {\n slug: \"sendfox-get-automations\",\n name: \"Get Automations\",\n description: \"Tool to retrieve a list of automations. Use when you need to list all automations for your SendFox account.\",\n input: SendfoxGetAutomationsInput,\n output: SendfoxGetAutomationsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE;AACpI,MAAM,yCAAyC,EAAE,OAAO;CACtD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACpE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAK5D,MAAa,wBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbyC,EAAE,OAAO,EAClD,aAAa,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,qBAAqB,EAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-campaign-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-campaign-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetCampaignByIdInput = z.object({\n id: z.number().int().describe(\"Unique identifier of the campaign to retrieve.\"),\n}).describe(\"Request model for retrieving a campaign by its ID.\");\nexport const SendfoxGetCampaignByIdOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the campaign.\").nullable(),\n html: z.string().describe(\"HTML content of the campaign email body.\").nullable(),\n title: z.string().describe(\"Title of the campaign.\").nullable(),\n subject: z.string().describe(\"Subject line of the campaign email.\").nullable(),\n timezone: z.string().describe(\"Timezone for scheduling the campaign.\").nullable().optional(),\n from_name: z.string().describe(\"Sender name displayed in the email.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the campaign was created (ISO 8601 format).\").nullable().optional(),\n from_email: z.string().describe(\"Sender email address used for the campaign.\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the campaign was last updated (ISO 8601 format).\").nullable().optional(),\n scheduled_at: z.string().describe(\"Timestamp when the campaign is scheduled to be sent (ISO 8601 format). Null if not scheduled.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a campaign retrieved by ID.\");\n\nexport const sendfoxGetCampaignById = action(\"SENDFOX_GET_CAMPAIGN_BY_ID\", {\n slug: \"sendfox-get-campaign-by-id\",\n name: \"Get Campaign by ID\",\n description: \"Retrieve details for a specific campaign by its ID from SendFox. Use this when you need to fetch information about a particular campaign. Returns campaign details including title, subject, HTML content, sender info, and scheduling details.\",\n input: SendfoxGetCampaignByIdInput,\n output: SendfoxGetCampaignByIdOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-campaign-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-campaign-by-id.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendfox } from \"../app\";\n\nexport const SendfoxGetCampaignByIdInput = z.object({\n id: z.number().int().describe(\"Unique identifier of the campaign to retrieve.\"),\n}).describe(\"Request model for retrieving a campaign by its ID.\");\nexport const SendfoxGetCampaignByIdOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the campaign.\").nullable(),\n html: z.string().describe(\"HTML content of the campaign email body.\").nullable(),\n title: z.string().describe(\"Title of the campaign.\").nullable(),\n subject: z.string().describe(\"Subject line of the campaign email.\").nullable(),\n timezone: z.string().describe(\"Timezone for scheduling the campaign.\").nullable().optional(),\n from_name: z.string().describe(\"Sender name displayed in the email.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the campaign was created (ISO 8601 format).\").nullable().optional(),\n from_email: z.string().describe(\"Sender email address used for the campaign.\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the campaign was last updated (ISO 8601 format).\").nullable().optional(),\n scheduled_at: z.string().describe(\"Timestamp when the campaign is scheduled to be sent (ISO 8601 format). Null if not scheduled.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a campaign retrieved by ID.\");\n\nexport const sendfoxGetCampaignById: AppAction<\n typeof SendfoxGetCampaignByIdInput,\n typeof SendfoxGetCampaignByIdOutput,\n typeof sendfox.credential\n> = action(\"SENDFOX_GET_CAMPAIGN_BY_ID\", {\n slug: \"sendfox-get-campaign-by-id\",\n name: \"Get Campaign by ID\",\n description: \"Retrieve details for a specific campaign by its ID from SendFox. Use this when you need to fetch information about a particular campaign. Returns campaign details including title, subject, HTML content, sender info, and scheduling details.\",\n input: SendfoxGetCampaignByIdInput,\n output: SendfoxGetCampaignByIdOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,EAChF,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC/E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC9D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC7E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACxF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,yBAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sendfox } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-campaign-by-id.d.ts
|
|
@@ -16,21 +18,7 @@ declare const SendfoxGetCampaignByIdOutput: z.ZodObject<{
|
|
|
16
18
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
scheduled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const sendfoxGetCampaignById:
|
|
20
|
-
id: number;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendfox", z.ZodObject<{
|
|
22
|
-
connectionId: z.ZodString;
|
|
23
|
-
entityId: z.ZodString;
|
|
24
|
-
instanceId: z.ZodString;
|
|
25
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
-
generic_api_key: z.ZodString;
|
|
27
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendfox", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>;
|
|
21
|
+
declare const sendfoxGetCampaignById: AppAction<typeof SendfoxGetCampaignByIdInput, typeof SendfoxGetCampaignByIdOutput, typeof sendfox.credential>;
|
|
34
22
|
//#endregion
|
|
35
23
|
export { sendfoxGetCampaignById };
|
|
36
24
|
//# sourceMappingURL=get-campaign-by-id.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-campaign-by-id.d.cts","names":[],"sources":["../../src/actions/get-campaign-by-id.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-campaign-by-id.d.cts","names":[],"sources":["../../src/actions/get-campaign-by-id.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAa5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sendfox } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-campaign-by-id.d.ts
|
|
@@ -16,21 +18,7 @@ declare const SendfoxGetCampaignByIdOutput: z.ZodObject<{
|
|
|
16
18
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
scheduled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const sendfoxGetCampaignById:
|
|
20
|
-
id: number;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendfox", z.ZodObject<{
|
|
22
|
-
connectionId: z.ZodString;
|
|
23
|
-
entityId: z.ZodString;
|
|
24
|
-
instanceId: z.ZodString;
|
|
25
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
-
generic_api_key: z.ZodString;
|
|
27
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendfox", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>;
|
|
21
|
+
declare const sendfoxGetCampaignById: AppAction<typeof SendfoxGetCampaignByIdInput, typeof SendfoxGetCampaignByIdOutput, typeof sendfox.credential>;
|
|
34
22
|
//#endregion
|
|
35
23
|
export { sendfoxGetCampaignById };
|
|
36
24
|
//# sourceMappingURL=get-campaign-by-id.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-campaign-by-id.d.mts","names":[],"sources":["../../src/actions/get-campaign-by-id.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-campaign-by-id.d.mts","names":[],"sources":["../../src/actions/get-campaign-by-id.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAa5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-campaign-by-id.mjs","names":[],"sources":["../../src/actions/get-campaign-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetCampaignByIdInput = z.object({\n id: z.number().int().describe(\"Unique identifier of the campaign to retrieve.\"),\n}).describe(\"Request model for retrieving a campaign by its ID.\");\nexport const SendfoxGetCampaignByIdOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the campaign.\").nullable(),\n html: z.string().describe(\"HTML content of the campaign email body.\").nullable(),\n title: z.string().describe(\"Title of the campaign.\").nullable(),\n subject: z.string().describe(\"Subject line of the campaign email.\").nullable(),\n timezone: z.string().describe(\"Timezone for scheduling the campaign.\").nullable().optional(),\n from_name: z.string().describe(\"Sender name displayed in the email.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the campaign was created (ISO 8601 format).\").nullable().optional(),\n from_email: z.string().describe(\"Sender email address used for the campaign.\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the campaign was last updated (ISO 8601 format).\").nullable().optional(),\n scheduled_at: z.string().describe(\"Timestamp when the campaign is scheduled to be sent (ISO 8601 format). Null if not scheduled.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a campaign retrieved by ID.\");\n\nexport const sendfoxGetCampaignById = action(\"SENDFOX_GET_CAMPAIGN_BY_ID\", {\n slug: \"sendfox-get-campaign-by-id\",\n name: \"Get Campaign by ID\",\n description: \"Retrieve details for a specific campaign by its ID from SendFox. Use this when you need to fetch information about a particular campaign. Returns campaign details including title, subject, HTML content, sender info, and scheduling details.\",\n input: SendfoxGetCampaignByIdInput,\n output: SendfoxGetCampaignByIdOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-campaign-by-id.mjs","names":[],"sources":["../../src/actions/get-campaign-by-id.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendfox } from \"../app\";\n\nexport const SendfoxGetCampaignByIdInput = z.object({\n id: z.number().int().describe(\"Unique identifier of the campaign to retrieve.\"),\n}).describe(\"Request model for retrieving a campaign by its ID.\");\nexport const SendfoxGetCampaignByIdOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the campaign.\").nullable(),\n html: z.string().describe(\"HTML content of the campaign email body.\").nullable(),\n title: z.string().describe(\"Title of the campaign.\").nullable(),\n subject: z.string().describe(\"Subject line of the campaign email.\").nullable(),\n timezone: z.string().describe(\"Timezone for scheduling the campaign.\").nullable().optional(),\n from_name: z.string().describe(\"Sender name displayed in the email.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the campaign was created (ISO 8601 format).\").nullable().optional(),\n from_email: z.string().describe(\"Sender email address used for the campaign.\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the campaign was last updated (ISO 8601 format).\").nullable().optional(),\n scheduled_at: z.string().describe(\"Timestamp when the campaign is scheduled to be sent (ISO 8601 format). Null if not scheduled.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a campaign retrieved by ID.\");\n\nexport const sendfoxGetCampaignById: AppAction<\n typeof SendfoxGetCampaignByIdInput,\n typeof SendfoxGetCampaignByIdOutput,\n typeof sendfox.credential\n> = action(\"SENDFOX_GET_CAMPAIGN_BY_ID\", {\n slug: \"sendfox-get-campaign-by-id\",\n name: \"Get Campaign by ID\",\n description: \"Retrieve details for a specific campaign by its ID from SendFox. Use this when you need to fetch information about a particular campaign. Returns campaign details including title, subject, HTML content, sender info, and scheduling details.\",\n input: SendfoxGetCampaignByIdInput,\n output: SendfoxGetCampaignByIdOutput,\n});\n"],"mappings":";;;AAsBA,MAAa,yBAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxByC,EAAE,OAAO,EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,EAChF,CAAC,CAAC,CAAC,SAAS,oDAsBH;CACP,QAtB0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAC9D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC7E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACxF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAWhB;AACV,CAAC"}
|
|
@@ -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 SendfoxGetCampaignsInput = z.object({\n page: z.number().int().describe(\"Page number of the results to fetch (starts at 1). Defaults to 1 if not provided.\").optional(),\n}).describe(\"Request parameters for retrieving paginated campaigns.\");\nconst SendfoxGetCampaigns_CampaignSchema = z.object({\n id: z.number().int().describe(\"Unique campaign ID.\").nullable(),\n lists: z.array(z.unknown()).describe(\"Lists attached to this campaign (array of list objects with id and name).\").nullable().optional(),\n status: z.string().describe(\"Current status of the campaign (e.g., 'draft', 'sent', 'scheduled').\").nullable().optional(),\n sent_at: z.string().describe(\"Timestamp when the campaign was sent, if applicable.\").nullable().optional(),\n subject: z.string().describe(\"Subject line of the campaign email.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the campaign was created.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the campaign was last updated.\").nullable().optional(),\n html_content: z.string().describe(\"HTML content of the campaign email body.\").nullable().optional(),\n scheduled_at: z.string().describe(\"Timestamp when the campaign is scheduled to be sent, if applicable.\").nullable().optional(),\n plain_content: z.string().describe(\"Plain-text content of the campaign email body.\").nullable().optional(),\n}).passthrough().describe(\"Schema for an individual campaign item.\");\nexport const SendfoxGetCampaignsOutput = z.object({\n data: z.array(SendfoxGetCampaigns_CampaignSchema).describe(\"List of campaigns returned by the API.\"),\n total: z.number().int().describe(\"Total number of campaigns across all pages.\").nullable().optional(),\n per_page: z.number().int().describe(\"Number of campaigns per page.\").nullable().optional(),\n last_page: z.number().int().describe(\"Last page number in the paginated results.\").nullable().optional(),\n current_page: z.number().int().describe(\"Current page number in the paginated results.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a paginated list of campaigns.\");\n\nexport const sendfoxGetCampaigns = action(\"SENDFOX_GET_CAMPAIGNS\", {\n slug: \"sendfox-get-campaigns\",\n name: \"Get Campaigns\",\n description: \"Retrieve a paginated list of email campaigns from SendFox. Use this to fetch all campaigns or navigate through pages of results. Returns campaign details including status, subject, content, and timestamps.\",\n input: SendfoxGetCampaignsInput,\n output: SendfoxGetCampaignsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-campaigns.cjs","names":["z","action"],"sources":["../../src/actions/get-campaigns.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendfox } from \"../app\";\n\nexport const SendfoxGetCampaignsInput = z.object({\n page: z.number().int().describe(\"Page number of the results to fetch (starts at 1). Defaults to 1 if not provided.\").optional(),\n}).describe(\"Request parameters for retrieving paginated campaigns.\");\nconst SendfoxGetCampaigns_CampaignSchema = z.object({\n id: z.number().int().describe(\"Unique campaign ID.\").nullable(),\n lists: z.array(z.unknown()).describe(\"Lists attached to this campaign (array of list objects with id and name).\").nullable().optional(),\n status: z.string().describe(\"Current status of the campaign (e.g., 'draft', 'sent', 'scheduled').\").nullable().optional(),\n sent_at: z.string().describe(\"Timestamp when the campaign was sent, if applicable.\").nullable().optional(),\n subject: z.string().describe(\"Subject line of the campaign email.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the campaign was created.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the campaign was last updated.\").nullable().optional(),\n html_content: z.string().describe(\"HTML content of the campaign email body.\").nullable().optional(),\n scheduled_at: z.string().describe(\"Timestamp when the campaign is scheduled to be sent, if applicable.\").nullable().optional(),\n plain_content: z.string().describe(\"Plain-text content of the campaign email body.\").nullable().optional(),\n}).passthrough().describe(\"Schema for an individual campaign item.\");\nexport const SendfoxGetCampaignsOutput = z.object({\n data: z.array(SendfoxGetCampaigns_CampaignSchema).describe(\"List of campaigns returned by the API.\"),\n total: z.number().int().describe(\"Total number of campaigns across all pages.\").nullable().optional(),\n per_page: z.number().int().describe(\"Number of campaigns per page.\").nullable().optional(),\n last_page: z.number().int().describe(\"Last page number in the paginated results.\").nullable().optional(),\n current_page: z.number().int().describe(\"Current page number in the paginated results.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a paginated list of campaigns.\");\n\nexport const sendfoxGetCampaigns: AppAction<\n typeof SendfoxGetCampaignsInput,\n typeof SendfoxGetCampaignsOutput,\n typeof sendfox.credential\n> = action(\"SENDFOX_GET_CAMPAIGNS\", {\n slug: \"sendfox-get-campaigns\",\n name: \"Get Campaigns\",\n description: \"Retrieve a paginated list of email campaigns from SendFox. Use this to fetch all campaigns or navigate through pages of results. Returns campaign details including status, subject, content, and timestamps.\",\n input: SendfoxGetCampaignsInput,\n output: SendfoxGetCampaignsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,EAChI,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC9D,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,wCAAwC;CACnG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sendfox } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-campaigns.d.ts
|
|
@@ -22,21 +24,7 @@ declare const SendfoxGetCampaignsOutput: z.ZodObject<{
|
|
|
22
24
|
last_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
25
|
current_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
26
|
}, z.core.$loose>;
|
|
25
|
-
declare const sendfoxGetCampaigns:
|
|
26
|
-
page?: number | undefined;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendfox", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendfox", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
generic_api_key: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>;
|
|
27
|
+
declare const sendfoxGetCampaigns: AppAction<typeof SendfoxGetCampaignsInput, typeof SendfoxGetCampaignsOutput, typeof sendfox.credential>;
|
|
40
28
|
//#endregion
|
|
41
29
|
export { sendfoxGetCampaigns };
|
|
42
30
|
//# sourceMappingURL=get-campaigns.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-campaigns.d.cts","names":[],"sources":["../../src/actions/get-campaigns.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-campaigns.d.cts","names":[],"sources":["../../src/actions/get-campaigns.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAexB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAQzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sendfox } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-campaigns.d.ts
|
|
@@ -22,21 +24,7 @@ declare const SendfoxGetCampaignsOutput: z.ZodObject<{
|
|
|
22
24
|
last_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
25
|
current_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
26
|
}, z.core.$loose>;
|
|
25
|
-
declare const sendfoxGetCampaigns:
|
|
26
|
-
page?: number | undefined;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendfox", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendfox", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
generic_api_key: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>;
|
|
27
|
+
declare const sendfoxGetCampaigns: AppAction<typeof SendfoxGetCampaignsInput, typeof SendfoxGetCampaignsOutput, typeof sendfox.credential>;
|
|
40
28
|
//#endregion
|
|
41
29
|
export { sendfoxGetCampaigns };
|
|
42
30
|
//# sourceMappingURL=get-campaigns.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-campaigns.d.mts","names":[],"sources":["../../src/actions/get-campaigns.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-campaigns.d.mts","names":[],"sources":["../../src/actions/get-campaigns.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAexB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAQzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -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 SendfoxGetCampaignsInput = z.object({\n page: z.number().int().describe(\"Page number of the results to fetch (starts at 1). Defaults to 1 if not provided.\").optional(),\n}).describe(\"Request parameters for retrieving paginated campaigns.\");\nconst SendfoxGetCampaigns_CampaignSchema = z.object({\n id: z.number().int().describe(\"Unique campaign ID.\").nullable(),\n lists: z.array(z.unknown()).describe(\"Lists attached to this campaign (array of list objects with id and name).\").nullable().optional(),\n status: z.string().describe(\"Current status of the campaign (e.g., 'draft', 'sent', 'scheduled').\").nullable().optional(),\n sent_at: z.string().describe(\"Timestamp when the campaign was sent, if applicable.\").nullable().optional(),\n subject: z.string().describe(\"Subject line of the campaign email.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the campaign was created.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the campaign was last updated.\").nullable().optional(),\n html_content: z.string().describe(\"HTML content of the campaign email body.\").nullable().optional(),\n scheduled_at: z.string().describe(\"Timestamp when the campaign is scheduled to be sent, if applicable.\").nullable().optional(),\n plain_content: z.string().describe(\"Plain-text content of the campaign email body.\").nullable().optional(),\n}).passthrough().describe(\"Schema for an individual campaign item.\");\nexport const SendfoxGetCampaignsOutput = z.object({\n data: z.array(SendfoxGetCampaigns_CampaignSchema).describe(\"List of campaigns returned by the API.\"),\n total: z.number().int().describe(\"Total number of campaigns across all pages.\").nullable().optional(),\n per_page: z.number().int().describe(\"Number of campaigns per page.\").nullable().optional(),\n last_page: z.number().int().describe(\"Last page number in the paginated results.\").nullable().optional(),\n current_page: z.number().int().describe(\"Current page number in the paginated results.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a paginated list of campaigns.\");\n\nexport const sendfoxGetCampaigns = action(\"SENDFOX_GET_CAMPAIGNS\", {\n slug: \"sendfox-get-campaigns\",\n name: \"Get Campaigns\",\n description: \"Retrieve a paginated list of email campaigns from SendFox. Use this to fetch all campaigns or navigate through pages of results. Returns campaign details including status, subject, content, and timestamps.\",\n input: SendfoxGetCampaignsInput,\n output: SendfoxGetCampaignsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-campaigns.mjs","names":[],"sources":["../../src/actions/get-campaigns.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendfox } from \"../app\";\n\nexport const SendfoxGetCampaignsInput = z.object({\n page: z.number().int().describe(\"Page number of the results to fetch (starts at 1). Defaults to 1 if not provided.\").optional(),\n}).describe(\"Request parameters for retrieving paginated campaigns.\");\nconst SendfoxGetCampaigns_CampaignSchema = z.object({\n id: z.number().int().describe(\"Unique campaign ID.\").nullable(),\n lists: z.array(z.unknown()).describe(\"Lists attached to this campaign (array of list objects with id and name).\").nullable().optional(),\n status: z.string().describe(\"Current status of the campaign (e.g., 'draft', 'sent', 'scheduled').\").nullable().optional(),\n sent_at: z.string().describe(\"Timestamp when the campaign was sent, if applicable.\").nullable().optional(),\n subject: z.string().describe(\"Subject line of the campaign email.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the campaign was created.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the campaign was last updated.\").nullable().optional(),\n html_content: z.string().describe(\"HTML content of the campaign email body.\").nullable().optional(),\n scheduled_at: z.string().describe(\"Timestamp when the campaign is scheduled to be sent, if applicable.\").nullable().optional(),\n plain_content: z.string().describe(\"Plain-text content of the campaign email body.\").nullable().optional(),\n}).passthrough().describe(\"Schema for an individual campaign item.\");\nexport const SendfoxGetCampaignsOutput = z.object({\n data: z.array(SendfoxGetCampaigns_CampaignSchema).describe(\"List of campaigns returned by the API.\"),\n total: z.number().int().describe(\"Total number of campaigns across all pages.\").nullable().optional(),\n per_page: z.number().int().describe(\"Number of campaigns per page.\").nullable().optional(),\n last_page: z.number().int().describe(\"Last page number in the paginated results.\").nullable().optional(),\n current_page: z.number().int().describe(\"Current page number in the paginated results.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a paginated list of campaigns.\");\n\nexport const sendfoxGetCampaigns: AppAction<\n typeof SendfoxGetCampaignsInput,\n typeof SendfoxGetCampaignsOutput,\n typeof sendfox.credential\n> = action(\"SENDFOX_GET_CAMPAIGNS\", {\n slug: \"sendfox-get-campaigns\",\n name: \"Get Campaigns\",\n description: \"Retrieve a paginated list of email campaigns from SendFox. Use this to fetch all campaigns or navigate through pages of results. Returns campaign details including status, subject, content, and timestamps.\",\n input: SendfoxGetCampaignsInput,\n output: SendfoxGetCampaignsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2B,EAAE,OAAO,EAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,EAChI,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,qCAAqC,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC9D,OAAO,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AASnE,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAjBuC,EAAE,OAAO;EAChD,MAAM,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,wCAAwC;EACnG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-contact-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-contact-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetContactByIdInput = z.object({\n contact_id: z.number().int().describe(\"Unique identifier of the contact to retrieve.\"),\n}).describe(\"Request model for retrieving a contact by its ID.\");\nexport const SendfoxGetContactByIdOutput = z.object({\n id: z.number().int().describe(\"Unique numeric identifier of the contact.\").nullable(),\n email: z.string().describe(\"Email address of the contact.\").nullable(),\n lists: z.array(z.unknown()).describe(\"List of mailing list IDs or names the contact is subscribed to.\").nullable().optional(),\n status: z.string().describe(\"Current subscription status (e.g., 'subscribed', 'unsubscribed').\").nullable().optional(),\n confirmed: z.boolean().describe(\"Whether the contact has confirmed their email subscription.\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the contact, if provided.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the contact was created (ISO 8601 format).\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact, if provided.\").nullable().optional(),\n unsubscribed: z.boolean().describe(\"Whether the contact has unsubscribed.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a contact retrieved by ID.\");\n\nexport const sendfoxGetContactById = action(\"SENDFOX_GET_CONTACT_BY_ID\", {\n slug: \"sendfox-get-contact-by-id\",\n name: \"Get Contact by ID\",\n description: \"Retrieves a contact's details by their unique ID from SendFox. Use this tool when you need to look up a specific contact's information after obtaining their ID from a contact list or other API response. Returns contact details including email, name, subscription status, and list memberships.\",\n input: SendfoxGetContactByIdInput,\n output: SendfoxGetContactByIdOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-contact-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-contact-by-id.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendfox } from \"../app\";\n\nexport const SendfoxGetContactByIdInput = z.object({\n contact_id: z.number().int().describe(\"Unique identifier of the contact to retrieve.\"),\n}).describe(\"Request model for retrieving a contact by its ID.\");\nexport const SendfoxGetContactByIdOutput = z.object({\n id: z.number().int().describe(\"Unique numeric identifier of the contact.\").nullable(),\n email: z.string().describe(\"Email address of the contact.\").nullable(),\n lists: z.array(z.unknown()).describe(\"List of mailing list IDs or names the contact is subscribed to.\").nullable().optional(),\n status: z.string().describe(\"Current subscription status (e.g., 'subscribed', 'unsubscribed').\").nullable().optional(),\n confirmed: z.boolean().describe(\"Whether the contact has confirmed their email subscription.\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the contact, if provided.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the contact was created (ISO 8601 format).\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact, if provided.\").nullable().optional(),\n unsubscribed: z.boolean().describe(\"Whether the contact has unsubscribed.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a contact retrieved by ID.\");\n\nexport const sendfoxGetContactById: AppAction<\n typeof SendfoxGetContactByIdInput,\n typeof SendfoxGetContactByIdOutput,\n typeof sendfox.credential\n> = action(\"SENDFOX_GET_CONTACT_BY_ID\", {\n slug: \"sendfox-get-contact-by-id\",\n name: \"Get Contact by ID\",\n description: \"Retrieves a contact's details by their unique ID from SendFox. Use this tool when you need to look up a specific contact's information after obtaining their ID from a contact list or other API response. Returns contact details including email, name, subscription status, and list memberships.\",\n input: SendfoxGetContactByIdInput,\n output: SendfoxGetContactByIdOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,EACvF,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACpF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrE,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,wBAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sendfox } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-contact-by-id.d.ts
|
|
@@ -15,21 +17,7 @@ declare const SendfoxGetContactByIdOutput: z.ZodObject<{
|
|
|
15
17
|
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
18
|
unsubscribed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const sendfoxGetContactById:
|
|
19
|
-
contact_id: number;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendfox", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendfox", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
generic_api_key: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>;
|
|
20
|
+
declare const sendfoxGetContactById: AppAction<typeof SendfoxGetContactByIdInput, typeof SendfoxGetContactByIdOutput, typeof sendfox.credential>;
|
|
33
21
|
//#endregion
|
|
34
22
|
export { sendfoxGetContactById };
|
|
35
23
|
//# sourceMappingURL=get-contact-by-id.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-contact-by-id.d.cts","names":[],"sources":["../../src/actions/get-contact-by-id.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-contact-by-id.d.cts","names":[],"sources":["../../src/actions/get-contact-by-id.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;cAY3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,OAAA,CAAQ,UAAA"}
|