@keystrokehq/sendfox 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/delete-contact-from-list.cjs +1 -1
- package/dist/actions/delete-contact-from-list.cjs.map +1 -1
- package/dist/actions/delete-contact-from-list.d.cts +1 -1
- package/dist/actions/delete-contact-from-list.d.mts +1 -1
- package/dist/actions/delete-contact-from-list.mjs +1 -1
- package/dist/actions/delete-contact-from-list.mjs.map +1 -1
- package/dist/actions/get-automations.cjs +2 -2
- package/dist/actions/get-automations.cjs.map +1 -1
- package/dist/actions/get-automations.d.cts +2 -2
- package/dist/actions/get-automations.d.mts +2 -2
- package/dist/actions/get-automations.mjs +2 -2
- package/dist/actions/get-automations.mjs.map +1 -1
- package/dist/actions/get-campaign-by-id.cjs +1 -1
- package/dist/actions/get-campaign-by-id.cjs.map +1 -1
- package/dist/actions/get-campaign-by-id.d.cts +1 -1
- package/dist/actions/get-campaign-by-id.d.mts +1 -1
- package/dist/actions/get-campaign-by-id.mjs +1 -1
- package/dist/actions/get-campaign-by-id.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-contact-by-id.cjs +1 -1
- package/dist/actions/get-contact-by-id.cjs.map +1 -1
- package/dist/actions/get-contact-by-id.d.cts +1 -1
- package/dist/actions/get-contact-by-id.d.mts +1 -1
- package/dist/actions/get-contact-by-id.mjs +1 -1
- package/dist/actions/get-contact-by-id.mjs.map +1 -1
- package/dist/actions/get-contact-fields.cjs +2 -2
- package/dist/actions/get-contact-fields.cjs.map +1 -1
- package/dist/actions/get-contact-fields.d.cts +2 -2
- package/dist/actions/get-contact-fields.d.mts +2 -2
- package/dist/actions/get-contact-fields.mjs +2 -2
- package/dist/actions/get-contact-fields.mjs.map +1 -1
- package/dist/actions/get-contacts-in-list.cjs +2 -2
- package/dist/actions/get-contacts-in-list.cjs.map +1 -1
- package/dist/actions/get-contacts-in-list.d.cts +2 -2
- package/dist/actions/get-contacts-in-list.d.mts +2 -2
- package/dist/actions/get-contacts-in-list.mjs +2 -2
- package/dist/actions/get-contacts-in-list.mjs.map +1 -1
- package/dist/actions/get-contacts.cjs +2 -2
- package/dist/actions/get-contacts.cjs.map +1 -1
- package/dist/actions/get-contacts.d.cts +2 -2
- package/dist/actions/get-contacts.d.mts +2 -2
- package/dist/actions/get-contacts.mjs +2 -2
- package/dist/actions/get-contacts.mjs.map +1 -1
- package/dist/actions/get-current-user.cjs +1 -1
- package/dist/actions/get-current-user.cjs.map +1 -1
- package/dist/actions/get-current-user.d.cts +1 -1
- package/dist/actions/get-current-user.d.mts +1 -1
- package/dist/actions/get-current-user.mjs +1 -1
- package/dist/actions/get-current-user.mjs.map +1 -1
- package/dist/actions/get-forms.cjs +2 -2
- package/dist/actions/get-forms.cjs.map +1 -1
- package/dist/actions/get-forms.d.cts +2 -2
- package/dist/actions/get-forms.d.mts +2 -2
- package/dist/actions/get-forms.mjs +2 -2
- package/dist/actions/get-forms.mjs.map +1 -1
- package/dist/actions/get-list-by-id.cjs +1 -1
- package/dist/actions/get-list-by-id.cjs.map +1 -1
- package/dist/actions/get-list-by-id.d.cts +1 -1
- package/dist/actions/get-list-by-id.d.mts +1 -1
- package/dist/actions/get-list-by-id.mjs +1 -1
- package/dist/actions/get-list-by-id.mjs.map +1 -1
- package/dist/actions/get-lists.cjs +3 -3
- package/dist/actions/get-lists.cjs.map +1 -1
- package/dist/actions/get-lists.d.cts +3 -3
- package/dist/actions/get-lists.d.mts +3 -3
- package/dist/actions/get-lists.mjs +3 -3
- package/dist/actions/get-lists.mjs.map +1 -1
- package/dist/actions/list-contact-fields.cjs +3 -3
- package/dist/actions/list-contact-fields.cjs.map +1 -1
- package/dist/actions/list-contact-fields.d.cts +3 -3
- package/dist/actions/list-contact-fields.d.mts +3 -3
- package/dist/actions/list-contact-fields.mjs +3 -3
- package/dist/actions/list-contact-fields.mjs.map +1 -1
- package/dist/actions/list-unsubscribed-contacts.cjs +2 -2
- package/dist/actions/list-unsubscribed-contacts.cjs.map +1 -1
- package/dist/actions/list-unsubscribed-contacts.d.cts +2 -2
- package/dist/actions/list-unsubscribed-contacts.d.mts +2 -2
- package/dist/actions/list-unsubscribed-contacts.mjs +2 -2
- package/dist/actions/list-unsubscribed-contacts.mjs.map +1 -1
- package/dist/actions/patch-unsubscribe-contact.cjs +1 -1
- package/dist/actions/patch-unsubscribe-contact.cjs.map +1 -1
- package/dist/actions/patch-unsubscribe-contact.d.cts +1 -1
- package/dist/actions/patch-unsubscribe-contact.d.mts +1 -1
- package/dist/actions/patch-unsubscribe-contact.mjs +1 -1
- package/dist/actions/patch-unsubscribe-contact.mjs.map +1 -1
- package/dist/actions/post-create-contact.cjs +1 -1
- package/dist/actions/post-create-contact.cjs.map +1 -1
- package/dist/actions/post-create-contact.d.cts +1 -1
- package/dist/actions/post-create-contact.d.mts +1 -1
- package/dist/actions/post-create-contact.mjs +1 -1
- package/dist/actions/post-create-contact.mjs.map +1 -1
- package/dist/actions/post-create-list.cjs +1 -1
- package/dist/actions/post-create-list.cjs.map +1 -1
- package/dist/actions/post-create-list.d.cts +1 -1
- package/dist/actions/post-create-list.d.mts +1 -1
- package/dist/actions/post-create-list.mjs +1 -1
- package/dist/actions/post-create-list.mjs.map +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -16,7 +16,7 @@ const SendfoxDeleteContactFromListOutput = zod.z.object({
|
|
|
16
16
|
ip_address: zod.z.string().describe("IP address associated with the contact.").nullable().optional(),
|
|
17
17
|
updated_at: zod.z.string().describe("ISO 8601 timestamp when the contact was last updated.").nullable().optional(),
|
|
18
18
|
unsubscribed_at: zod.z.string().describe("ISO 8601 timestamp when the contact unsubscribed, if applicable.").nullable().optional()
|
|
19
|
-
}).describe("Response schema after removing a contact from a SendFox list.\nReturns the contact details after removal from the specified list.");
|
|
19
|
+
}).passthrough().describe("Response schema after removing a contact from a SendFox list.\nReturns the contact details after removal from the specified list.");
|
|
20
20
|
const sendfoxDeleteContactFromList = require_action.action("SENDFOX_DELETE_CONTACT_FROM_LIST", {
|
|
21
21
|
slug: "sendfox-delete-contact-from-list",
|
|
22
22
|
name: "Delete Contact from List",
|
|
@@ -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}).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":";;;AAIA,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,SAAS,mIAAmI;
|
|
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":";;;AAIA,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,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -16,7 +16,7 @@ declare const SendfoxDeleteContactFromListOutput: z.ZodObject<{
|
|
|
16
16
|
ip_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
unsubscribed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>;
|
|
20
20
|
declare const sendfoxDeleteContactFromList: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
21
|
list_id: number;
|
|
22
22
|
contact_id: number;
|
|
@@ -16,7 +16,7 @@ declare const SendfoxDeleteContactFromListOutput: z.ZodObject<{
|
|
|
16
16
|
ip_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
unsubscribed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>;
|
|
20
20
|
declare const sendfoxDeleteContactFromList: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
21
|
list_id: number;
|
|
22
22
|
contact_id: number;
|
|
@@ -19,7 +19,7 @@ const sendfoxDeleteContactFromList = action("SENDFOX_DELETE_CONTACT_FROM_LIST",
|
|
|
19
19
|
ip_address: z.string().describe("IP address associated with the contact.").nullable().optional(),
|
|
20
20
|
updated_at: z.string().describe("ISO 8601 timestamp when the contact was last updated.").nullable().optional(),
|
|
21
21
|
unsubscribed_at: z.string().describe("ISO 8601 timestamp when the contact unsubscribed, if applicable.").nullable().optional()
|
|
22
|
-
}).describe("Response schema after removing a contact from a SendFox list.\nReturns the contact details after removal from the specified list.")
|
|
22
|
+
}).passthrough().describe("Response schema after removing a contact from a SendFox list.\nReturns the contact details after removal from the specified list.")
|
|
23
23
|
});
|
|
24
24
|
//#endregion
|
|
25
25
|
export { sendfoxDeleteContactFromList };
|
|
@@ -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}).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":";;AAqBA,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArB+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,yEAkBH;CACP,QAlBgD,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,SAAS,
|
|
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":";;AAqBA,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArB+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,yEAkBH;CACP,QAlBgD,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,mIAOhB;AACV,CAAC"}
|
|
@@ -8,8 +8,8 @@ const SendfoxGetAutomations_AutomationSchema = zod.z.object({
|
|
|
8
8
|
user_id: zod.z.number().int().describe("ID of the user who owns this automation").nullable().optional(),
|
|
9
9
|
created_at: zod.z.string().describe("ISO 8601 timestamp when the automation was created").nullable().optional(),
|
|
10
10
|
updated_at: zod.z.string().describe("ISO 8601 timestamp when the automation was last updated").nullable().optional()
|
|
11
|
-
}).describe("Represents a SendFox automation.");
|
|
12
|
-
const SendfoxGetAutomationsOutput = zod.z.object({ automations: zod.z.array(SendfoxGetAutomations_AutomationSchema).describe("List of automations") }).describe("Response schema for list of automations.");
|
|
11
|
+
}).passthrough().describe("Represents a SendFox automation.");
|
|
12
|
+
const SendfoxGetAutomationsOutput = zod.z.object({ automations: zod.z.array(SendfoxGetAutomations_AutomationSchema).describe("List of automations") }).passthrough().describe("Response schema for list of automations.");
|
|
13
13
|
const sendfoxGetAutomations = require_action.action("SENDFOX_GET_AUTOMATIONS", {
|
|
14
14
|
slug: "sendfox-get-automations",
|
|
15
15
|
name: "Get Automations",
|
|
@@ -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}).describe(\"Represents a SendFox automation.\");\nexport const SendfoxGetAutomationsOutput = z.object({\n automations: z.array(SendfoxGetAutomations_AutomationSchema).describe(\"List of automations\"),\n}).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":";;;AAIA,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,SAAS,kCAAkC;
|
|
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":";;;AAIA,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,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,8 +9,8 @@ declare const SendfoxGetAutomationsOutput: z.ZodObject<{
|
|
|
9
9
|
user_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10
10
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
11
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
-
}, z.core.$
|
|
13
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>>;
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const sendfoxGetAutomations: 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 { sendfoxGetAutomations };
|
|
@@ -9,8 +9,8 @@ declare const SendfoxGetAutomationsOutput: z.ZodObject<{
|
|
|
9
9
|
user_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10
10
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
11
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
-
}, z.core.$
|
|
13
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>>;
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const sendfoxGetAutomations: 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 { sendfoxGetAutomations };
|
|
@@ -8,13 +8,13 @@ const SendfoxGetAutomations_AutomationSchema = z.object({
|
|
|
8
8
|
user_id: z.number().int().describe("ID of the user who owns this automation").nullable().optional(),
|
|
9
9
|
created_at: z.string().describe("ISO 8601 timestamp when the automation was created").nullable().optional(),
|
|
10
10
|
updated_at: z.string().describe("ISO 8601 timestamp when the automation was last updated").nullable().optional()
|
|
11
|
-
}).describe("Represents a SendFox automation.");
|
|
11
|
+
}).passthrough().describe("Represents a SendFox automation.");
|
|
12
12
|
const sendfoxGetAutomations = action("SENDFOX_GET_AUTOMATIONS", {
|
|
13
13
|
slug: "sendfox-get-automations",
|
|
14
14
|
name: "Get Automations",
|
|
15
15
|
description: "Tool to retrieve a list of automations. Use when you need to list all automations for your SendFox account.",
|
|
16
16
|
input: SendfoxGetAutomationsInput,
|
|
17
|
-
output: z.object({ automations: z.array(SendfoxGetAutomations_AutomationSchema).describe("List of automations") }).describe("Response schema for list of automations.")
|
|
17
|
+
output: z.object({ automations: z.array(SendfoxGetAutomations_AutomationSchema).describe("List of automations") }).passthrough().describe("Response schema for list of automations.")
|
|
18
18
|
});
|
|
19
19
|
//#endregion
|
|
20
20
|
export { sendfoxGetAutomations };
|
|
@@ -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}).describe(\"Represents a SendFox automation.\");\nexport const SendfoxGetAutomationsOutput = z.object({\n automations: z.array(SendfoxGetAutomations_AutomationSchema).describe(\"List of automations\"),\n}).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":";;;AAIA,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,SAAS,kCAAkC;
|
|
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":";;;AAIA,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,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyC,EAAE,OAAO,EAClD,aAAa,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,qBAAqB,EAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAOhB;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ const SendfoxGetCampaignByIdOutput = zod.z.object({
|
|
|
13
13
|
from_email: zod.z.string().describe("Sender email address used for the campaign.").nullable(),
|
|
14
14
|
updated_at: zod.z.string().describe("Timestamp when the campaign was last updated (ISO 8601 format).").nullable().optional(),
|
|
15
15
|
scheduled_at: zod.z.string().describe("Timestamp when the campaign is scheduled to be sent (ISO 8601 format). Null if not scheduled.").nullable().optional()
|
|
16
|
-
}).describe("Response model for a campaign retrieved by ID.");
|
|
16
|
+
}).passthrough().describe("Response model for a campaign retrieved by ID.");
|
|
17
17
|
const sendfoxGetCampaignById = require_action.action("SENDFOX_GET_CAMPAIGN_BY_ID", {
|
|
18
18
|
slug: "sendfox-get-campaign-by-id",
|
|
19
19
|
name: "Get Campaign by ID",
|
|
@@ -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}).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":";;;AAIA,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,SAAS,gDAAgD;
|
|
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":";;;AAIA,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,yBAAyBC,eAAAA,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -15,7 +15,7 @@ declare const SendfoxGetCampaignByIdOutput: z.ZodObject<{
|
|
|
15
15
|
from_email: z.ZodNullable<z.ZodString>;
|
|
16
16
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
scheduled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const sendfoxGetCampaignById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
id: number;
|
|
21
21
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -15,7 +15,7 @@ declare const SendfoxGetCampaignByIdOutput: z.ZodObject<{
|
|
|
15
15
|
from_email: z.ZodNullable<z.ZodString>;
|
|
16
16
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
scheduled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const sendfoxGetCampaignById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
id: number;
|
|
21
21
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -16,7 +16,7 @@ const sendfoxGetCampaignById = action("SENDFOX_GET_CAMPAIGN_BY_ID", {
|
|
|
16
16
|
from_email: z.string().describe("Sender email address used for the campaign.").nullable(),
|
|
17
17
|
updated_at: z.string().describe("Timestamp when the campaign was last updated (ISO 8601 format).").nullable().optional(),
|
|
18
18
|
scheduled_at: z.string().describe("Timestamp when the campaign is scheduled to be sent (ISO 8601 format). Null if not scheduled.").nullable().optional()
|
|
19
|
-
}).describe("Response model for a campaign retrieved by ID.")
|
|
19
|
+
}).passthrough().describe("Response model for a campaign retrieved by ID.")
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { sendfoxGetCampaignById };
|
|
@@ -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}).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":";;AAoBA,MAAa,yBAAyB,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApByC,EAAE,OAAO,EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,EAChF,CAAC,CAAC,CAAC,SAAS,oDAkBH;CACP,QAlB0C,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,SAAS,
|
|
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":";;AAoBA,MAAa,yBAAyB,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApByC,EAAE,OAAO,EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,EAChF,CAAC,CAAC,CAAC,SAAS,oDAkBH;CACP,QAlB0C,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,gDAOhB;AACV,CAAC"}
|
|
@@ -13,14 +13,14 @@ const SendfoxGetCampaigns_CampaignSchema = zod.z.object({
|
|
|
13
13
|
html_content: zod.z.string().describe("HTML content of the campaign email body.").nullable().optional(),
|
|
14
14
|
scheduled_at: zod.z.string().describe("Timestamp when the campaign is scheduled to be sent, if applicable.").nullable().optional(),
|
|
15
15
|
plain_content: zod.z.string().describe("Plain-text content of the campaign email body.").nullable().optional()
|
|
16
|
-
}).describe("Schema for an individual campaign item.");
|
|
16
|
+
}).passthrough().describe("Schema for an individual campaign item.");
|
|
17
17
|
const SendfoxGetCampaignsOutput = zod.z.object({
|
|
18
18
|
data: zod.z.array(SendfoxGetCampaigns_CampaignSchema).describe("List of campaigns returned by the API."),
|
|
19
19
|
total: zod.z.number().int().describe("Total number of campaigns across all pages.").nullable().optional(),
|
|
20
20
|
per_page: zod.z.number().int().describe("Number of campaigns per page.").nullable().optional(),
|
|
21
21
|
last_page: zod.z.number().int().describe("Last page number in the paginated results.").nullable().optional(),
|
|
22
22
|
current_page: zod.z.number().int().describe("Current page number in the paginated results.").nullable().optional()
|
|
23
|
-
}).describe("Response schema for a paginated list of campaigns.");
|
|
23
|
+
}).passthrough().describe("Response schema for a paginated list of campaigns.");
|
|
24
24
|
const sendfoxGetCampaigns = require_action.action("SENDFOX_GET_CAMPAIGNS", {
|
|
25
25
|
slug: "sendfox-get-campaigns",
|
|
26
26
|
name: "Get 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 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}).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}).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":";;;AAIA,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,SAAS,yCAAyC;
|
|
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":";;;AAIA,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,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -16,12 +16,12 @@ declare const SendfoxGetCampaignsOutput: z.ZodObject<{
|
|
|
16
16
|
html_content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
scheduled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
plain_content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>;
|
|
20
20
|
total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
21
|
per_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
22
|
last_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
23
|
current_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>;
|
|
25
25
|
declare const sendfoxGetCampaigns: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
26
26
|
page?: number | undefined;
|
|
27
27
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -16,12 +16,12 @@ declare const SendfoxGetCampaignsOutput: z.ZodObject<{
|
|
|
16
16
|
html_content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
scheduled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
plain_content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>;
|
|
20
20
|
total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
21
|
per_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
22
|
last_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
23
|
current_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>;
|
|
25
25
|
declare const sendfoxGetCampaigns: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
26
26
|
page?: number | undefined;
|
|
27
27
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -13,7 +13,7 @@ const SendfoxGetCampaigns_CampaignSchema = z.object({
|
|
|
13
13
|
html_content: z.string().describe("HTML content of the campaign email body.").nullable().optional(),
|
|
14
14
|
scheduled_at: z.string().describe("Timestamp when the campaign is scheduled to be sent, if applicable.").nullable().optional(),
|
|
15
15
|
plain_content: z.string().describe("Plain-text content of the campaign email body.").nullable().optional()
|
|
16
|
-
}).describe("Schema for an individual campaign item.");
|
|
16
|
+
}).passthrough().describe("Schema for an individual campaign item.");
|
|
17
17
|
const sendfoxGetCampaigns = action("SENDFOX_GET_CAMPAIGNS", {
|
|
18
18
|
slug: "sendfox-get-campaigns",
|
|
19
19
|
name: "Get Campaigns",
|
|
@@ -25,7 +25,7 @@ const sendfoxGetCampaigns = action("SENDFOX_GET_CAMPAIGNS", {
|
|
|
25
25
|
per_page: z.number().int().describe("Number of campaigns per page.").nullable().optional(),
|
|
26
26
|
last_page: z.number().int().describe("Last page number in the paginated results.").nullable().optional(),
|
|
27
27
|
current_page: z.number().int().describe("Current page number in the paginated results.").nullable().optional()
|
|
28
|
-
}).describe("Response schema for a paginated list of campaigns.")
|
|
28
|
+
}).passthrough().describe("Response schema for a paginated list of campaigns.")
|
|
29
29
|
});
|
|
30
30
|
//#endregion
|
|
31
31
|
export { sendfoxGetCampaigns };
|
|
@@ -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}).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}).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":";;;AAIA,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,SAAS,yCAAyC;
|
|
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":";;;AAIA,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,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbuC,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,oDAOhB;AACV,CAAC"}
|
|
@@ -12,7 +12,7 @@ const SendfoxGetContactByIdOutput = zod.z.object({
|
|
|
12
12
|
created_at: zod.z.string().describe("Timestamp when the contact was created (ISO 8601 format).").nullable().optional(),
|
|
13
13
|
first_name: zod.z.string().describe("First name of the contact, if provided.").nullable().optional(),
|
|
14
14
|
unsubscribed: zod.z.boolean().describe("Whether the contact has unsubscribed.").nullable().optional()
|
|
15
|
-
}).describe("Response model for a contact retrieved by ID.");
|
|
15
|
+
}).passthrough().describe("Response model for a contact retrieved by ID.");
|
|
16
16
|
const sendfoxGetContactById = require_action.action("SENDFOX_GET_CONTACT_BY_ID", {
|
|
17
17
|
slug: "sendfox-get-contact-by-id",
|
|
18
18
|
name: "Get Contact by ID",
|
|
@@ -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}).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":";;;AAIA,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,SAAS,+CAA+C;
|
|
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":";;;AAIA,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,wBAAwBC,eAAAA,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -14,7 +14,7 @@ declare const SendfoxGetContactByIdOutput: z.ZodObject<{
|
|
|
14
14
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
unsubscribed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const sendfoxGetContactById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
contact_id: number;
|
|
20
20
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -14,7 +14,7 @@ declare const SendfoxGetContactByIdOutput: z.ZodObject<{
|
|
|
14
14
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
unsubscribed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const sendfoxGetContactById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
contact_id: number;
|
|
20
20
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -15,7 +15,7 @@ const sendfoxGetContactById = action("SENDFOX_GET_CONTACT_BY_ID", {
|
|
|
15
15
|
created_at: z.string().describe("Timestamp when the contact was created (ISO 8601 format).").nullable().optional(),
|
|
16
16
|
first_name: z.string().describe("First name of the contact, if provided.").nullable().optional(),
|
|
17
17
|
unsubscribed: z.boolean().describe("Whether the contact has unsubscribed.").nullable().optional()
|
|
18
|
-
}).describe("Response model for a contact retrieved by ID.")
|
|
18
|
+
}).passthrough().describe("Response model for a contact retrieved by ID.")
|
|
19
19
|
});
|
|
20
20
|
//#endregion
|
|
21
21
|
export { sendfoxGetContactById };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-contact-by-id.mjs","names":[],"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}).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":";;AAmBA,MAAa,wBAAwB,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBwC,EAAE,OAAO,EACjD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,EACvF,CAAC,CAAC,CAAC,SAAS,mDAiBH;CACP,QAjByC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACpF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACrE,OAAO,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,SAAS,+
|
|
1
|
+
{"version":3,"file":"get-contact-by-id.mjs","names":[],"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":";;AAmBA,MAAa,wBAAwB,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBwC,EAAE,OAAO,EACjD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,EACvF,CAAC,CAAC,CAAC,SAAS,mDAiBH;CACP,QAjByC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACpF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACrE,OAAO,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
|
|
@@ -6,8 +6,8 @@ const SendfoxGetContactFields_ContactFieldSchema = zod.z.object({
|
|
|
6
6
|
id: zod.z.number().int().describe("Unique identifier for the contact field").nullable(),
|
|
7
7
|
name: zod.z.string().describe("Name of the contact field (e.g., 'birthday', 'company')").nullable(),
|
|
8
8
|
type: zod.z.string().describe("Data type of the field (e.g., 'text', 'date', 'number')").nullable()
|
|
9
|
-
}).describe("Represents a contact field in SendFox.");
|
|
10
|
-
const SendfoxGetContactFieldsOutput = zod.z.object({ fields: zod.z.array(SendfoxGetContactFields_ContactFieldSchema).describe("List of contact fields configured in the SendFox account. May be empty if no custom fields exist.").nullable().optional() }).describe("Response schema containing list of contact fields.");
|
|
9
|
+
}).passthrough().describe("Represents a contact field in SendFox.");
|
|
10
|
+
const SendfoxGetContactFieldsOutput = zod.z.object({ fields: zod.z.array(SendfoxGetContactFields_ContactFieldSchema).describe("List of contact fields configured in the SendFox account. May be empty if no custom fields exist.").nullable().optional() }).passthrough().describe("Response schema containing list of contact fields.");
|
|
11
11
|
const sendfoxGetContactFields = require_action.action("SENDFOX_GET_CONTACT_FIELDS", {
|
|
12
12
|
slug: "sendfox-get-contact-fields",
|
|
13
13
|
name: "Get Contact Fields",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-contact-fields.cjs","names":["z","action"],"sources":["../../src/actions/get-contact-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetContactFieldsInput = z.object({}).describe(\"Request schema for retrieving contact fields. No parameters required.\");\nconst SendfoxGetContactFields_ContactFieldSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the contact field\").nullable(),\n name: z.string().describe(\"Name of the contact field (e.g., 'birthday', 'company')\").nullable(),\n type: z.string().describe(\"Data type of the field (e.g., 'text', 'date', 'number')\").nullable(),\n}).describe(\"Represents a contact field in SendFox.\");\nexport const SendfoxGetContactFieldsOutput = z.object({\n fields: z.array(SendfoxGetContactFields_ContactFieldSchema).describe(\"List of contact fields configured in the SendFox account. May be empty if no custom fields exist.\").nullable().optional(),\n}).describe(\"Response schema containing list of contact fields.\");\n\nexport const sendfoxGetContactFields = action(\"SENDFOX_GET_CONTACT_FIELDS\", {\n slug: \"sendfox-get-contact-fields\",\n name: \"Get Contact Fields\",\n description: \"Retrieves all contact fields available in the SendFox account. Use this to discover available fields before creating or updating contacts. Returns standard fields (email, first_name, last_name) and any custom fields configured in the account.\",\n input: SendfoxGetContactFieldsInput,\n output: SendfoxGetContactFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACzI,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC9F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,wCAAwC;
|
|
1
|
+
{"version":3,"file":"get-contact-fields.cjs","names":["z","action"],"sources":["../../src/actions/get-contact-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetContactFieldsInput = z.object({}).describe(\"Request schema for retrieving contact fields. No parameters required.\");\nconst SendfoxGetContactFields_ContactFieldSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the contact field\").nullable(),\n name: z.string().describe(\"Name of the contact field (e.g., 'birthday', 'company')\").nullable(),\n type: z.string().describe(\"Data type of the field (e.g., 'text', 'date', 'number')\").nullable(),\n}).passthrough().describe(\"Represents a contact field in SendFox.\");\nexport const SendfoxGetContactFieldsOutput = z.object({\n fields: z.array(SendfoxGetContactFields_ContactFieldSchema).describe(\"List of contact fields configured in the SendFox account. May be empty if no custom fields exist.\").nullable().optional(),\n}).passthrough().describe(\"Response schema containing list of contact fields.\");\n\nexport const sendfoxGetContactFields = action(\"SENDFOX_GET_CONTACT_FIELDS\", {\n slug: \"sendfox-get-contact-fields\",\n name: \"Get Contact Fields\",\n description: \"Retrieves all contact fields available in the SendFox account. Use this to discover available fields before creating or updating contacts. Returns standard fields (email, first_name, last_name) and any custom fields configured in the account.\",\n input: SendfoxGetContactFieldsInput,\n output: SendfoxGetContactFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACzI,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC9F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,QAAQA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAChM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,8 +7,8 @@ declare const SendfoxGetContactFieldsOutput: z.ZodObject<{
|
|
|
7
7
|
id: z.ZodNullable<z.ZodNumber>;
|
|
8
8
|
name: z.ZodNullable<z.ZodString>;
|
|
9
9
|
type: z.ZodNullable<z.ZodString>;
|
|
10
|
-
}, z.core.$
|
|
11
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>>>>;
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const sendfoxGetContactFields: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { sendfoxGetContactFields };
|
|
@@ -7,8 +7,8 @@ declare const SendfoxGetContactFieldsOutput: z.ZodObject<{
|
|
|
7
7
|
id: z.ZodNullable<z.ZodNumber>;
|
|
8
8
|
name: z.ZodNullable<z.ZodString>;
|
|
9
9
|
type: z.ZodNullable<z.ZodString>;
|
|
10
|
-
}, z.core.$
|
|
11
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>>>>;
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const sendfoxGetContactFields: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { sendfoxGetContactFields };
|
|
@@ -6,13 +6,13 @@ const SendfoxGetContactFields_ContactFieldSchema = z.object({
|
|
|
6
6
|
id: z.number().int().describe("Unique identifier for the contact field").nullable(),
|
|
7
7
|
name: z.string().describe("Name of the contact field (e.g., 'birthday', 'company')").nullable(),
|
|
8
8
|
type: z.string().describe("Data type of the field (e.g., 'text', 'date', 'number')").nullable()
|
|
9
|
-
}).describe("Represents a contact field in SendFox.");
|
|
9
|
+
}).passthrough().describe("Represents a contact field in SendFox.");
|
|
10
10
|
const sendfoxGetContactFields = action("SENDFOX_GET_CONTACT_FIELDS", {
|
|
11
11
|
slug: "sendfox-get-contact-fields",
|
|
12
12
|
name: "Get Contact Fields",
|
|
13
13
|
description: "Retrieves all contact fields available in the SendFox account. Use this to discover available fields before creating or updating contacts. Returns standard fields (email, first_name, last_name) and any custom fields configured in the account.",
|
|
14
14
|
input: SendfoxGetContactFieldsInput,
|
|
15
|
-
output: z.object({ fields: z.array(SendfoxGetContactFields_ContactFieldSchema).describe("List of contact fields configured in the SendFox account. May be empty if no custom fields exist.").nullable().optional() }).describe("Response schema containing list of contact fields.")
|
|
15
|
+
output: z.object({ fields: z.array(SendfoxGetContactFields_ContactFieldSchema).describe("List of contact fields configured in the SendFox account. May be empty if no custom fields exist.").nullable().optional() }).passthrough().describe("Response schema containing list of contact fields.")
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { sendfoxGetContactFields };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-contact-fields.mjs","names":[],"sources":["../../src/actions/get-contact-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetContactFieldsInput = z.object({}).describe(\"Request schema for retrieving contact fields. No parameters required.\");\nconst SendfoxGetContactFields_ContactFieldSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the contact field\").nullable(),\n name: z.string().describe(\"Name of the contact field (e.g., 'birthday', 'company')\").nullable(),\n type: z.string().describe(\"Data type of the field (e.g., 'text', 'date', 'number')\").nullable(),\n}).describe(\"Represents a contact field in SendFox.\");\nexport const SendfoxGetContactFieldsOutput = z.object({\n fields: z.array(SendfoxGetContactFields_ContactFieldSchema).describe(\"List of contact fields configured in the SendFox account. May be empty if no custom fields exist.\").nullable().optional(),\n}).describe(\"Response schema containing list of contact fields.\");\n\nexport const sendfoxGetContactFields = action(\"SENDFOX_GET_CONTACT_FIELDS\", {\n slug: \"sendfox-get-contact-fields\",\n name: \"Get Contact Fields\",\n description: \"Retrieves all contact fields available in the SendFox account. Use this to discover available fields before creating or updating contacts. Returns standard fields (email, first_name, last_name) and any custom fields configured in the account.\",\n input: SendfoxGetContactFieldsInput,\n output: SendfoxGetContactFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACzI,MAAM,6CAA6C,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC9F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,wCAAwC;
|
|
1
|
+
{"version":3,"file":"get-contact-fields.mjs","names":[],"sources":["../../src/actions/get-contact-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetContactFieldsInput = z.object({}).describe(\"Request schema for retrieving contact fields. No parameters required.\");\nconst SendfoxGetContactFields_ContactFieldSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the contact field\").nullable(),\n name: z.string().describe(\"Name of the contact field (e.g., 'birthday', 'company')\").nullable(),\n type: z.string().describe(\"Data type of the field (e.g., 'text', 'date', 'number')\").nullable(),\n}).passthrough().describe(\"Represents a contact field in SendFox.\");\nexport const SendfoxGetContactFieldsOutput = z.object({\n fields: z.array(SendfoxGetContactFields_ContactFieldSchema).describe(\"List of contact fields configured in the SendFox account. May be empty if no custom fields exist.\").nullable().optional(),\n}).passthrough().describe(\"Response schema containing list of contact fields.\");\n\nexport const sendfoxGetContactFields = action(\"SENDFOX_GET_CONTACT_FIELDS\", {\n slug: \"sendfox-get-contact-fields\",\n name: \"Get Contact Fields\",\n description: \"Retrieves all contact fields available in the SendFox account. Use this to discover available fields before creating or updating contacts. Returns standard fields (email, first_name, last_name) and any custom fields configured in the account.\",\n input: SendfoxGetContactFieldsInput,\n output: SendfoxGetContactFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACzI,MAAM,6CAA6C,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC9F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAKlE,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2C,EAAE,OAAO,EACpD,QAAQ,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAChM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
|
|
@@ -14,13 +14,13 @@ const SendfoxGetContactsInList_ContactSchema = zod.z.object({
|
|
|
14
14
|
ip_address: zod.z.string().describe("IP address from which the contact subscribed.").nullable().optional(),
|
|
15
15
|
updated_at: zod.z.string().describe("Timestamp when the contact was last updated (ISO8601).").nullable().optional(),
|
|
16
16
|
unsubscribed_at: zod.z.string().describe("Timestamp when the contact unsubscribed (ISO8601), null if still subscribed.").nullable().optional()
|
|
17
|
-
}).describe("Schema representing a Sendfox contact.");
|
|
17
|
+
}).passthrough().describe("Schema representing a Sendfox contact.");
|
|
18
18
|
const SendfoxGetContactsInListOutput = zod.z.object({
|
|
19
19
|
data: zod.z.array(SendfoxGetContactsInList_ContactSchema).describe("List of contacts in the specified list."),
|
|
20
20
|
total: zod.z.number().int().describe("Total number of contacts in the list.").nullable(),
|
|
21
21
|
per_page: zod.z.number().int().describe("Number of contacts returned per page.").nullable(),
|
|
22
22
|
current_page: zod.z.number().int().describe("Current page number in the pagination.").nullable()
|
|
23
|
-
}).describe("Response schema for paginated list of contacts in a specific list.");
|
|
23
|
+
}).passthrough().describe("Response schema for paginated list of contacts in a specific list.");
|
|
24
24
|
const sendfoxGetContactsInList = require_action.action("SENDFOX_GET_CONTACTS_IN_LIST", {
|
|
25
25
|
slug: "sendfox-get-contacts-in-list",
|
|
26
26
|
name: "Get Contacts in List",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-contacts-in-list.cjs","names":["z","action"],"sources":["../../src/actions/get-contacts-in-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetContactsInListInput = z.object({\n query: z.string().describe(\"Search query for filtering contacts by name or email.\").optional(),\n list_id: z.number().int().describe(\"Unique identifier of the list to retrieve contacts from.\"),\n}).describe(\"Request schema for retrieving contacts in a specific list.\");\nconst SendfoxGetContactsInList_ContactSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the contact.\").nullable(),\n email: z.string().describe(\"Email address of the contact.\").nullable(),\n last_name: z.string().describe(\"Last name of the contact.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the contact was created (ISO8601).\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact.\").nullable().optional(),\n ip_address: z.string().describe(\"IP address from which the contact subscribed.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the contact was last updated (ISO8601).\").nullable().optional(),\n unsubscribed_at: z.string().describe(\"Timestamp when the contact unsubscribed (ISO8601), null if still subscribed.\").nullable().optional(),\n}).describe(\"Schema representing a Sendfox contact.\");\nexport const SendfoxGetContactsInListOutput = z.object({\n data: z.array(SendfoxGetContactsInList_ContactSchema).describe(\"List of contacts in the specified list.\"),\n total: z.number().int().describe(\"Total number of contacts in the list.\").nullable(),\n per_page: z.number().int().describe(\"Number of contacts returned per page.\").nullable(),\n current_page: z.number().int().describe(\"Current page number in the pagination.\").nullable(),\n}).describe(\"Response schema for paginated list of contacts in a specific list.\");\n\nexport const sendfoxGetContactsInList = action(\"SENDFOX_GET_CONTACTS_IN_LIST\", {\n slug: \"sendfox-get-contacts-in-list\",\n name: \"Get Contacts in List\",\n description: \"Tool to retrieve contacts in a specific list. Use when you need to fetch all contacts belonging to a particular list, optionally filtering by search query.\",\n input: SendfoxGetContactsInListInput,\n output: SendfoxGetContactsInListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC7F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D;AAC/F,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,SAAS,wCAAwC;
|
|
1
|
+
{"version":3,"file":"get-contacts-in-list.cjs","names":["z","action"],"sources":["../../src/actions/get-contacts-in-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetContactsInListInput = z.object({\n query: z.string().describe(\"Search query for filtering contacts by name or email.\").optional(),\n list_id: z.number().int().describe(\"Unique identifier of the list to retrieve contacts from.\"),\n}).describe(\"Request schema for retrieving contacts in a specific list.\");\nconst SendfoxGetContactsInList_ContactSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the contact.\").nullable(),\n email: z.string().describe(\"Email address of the contact.\").nullable(),\n last_name: z.string().describe(\"Last name of the contact.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the contact was created (ISO8601).\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact.\").nullable().optional(),\n ip_address: z.string().describe(\"IP address from which the contact subscribed.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the contact was last updated (ISO8601).\").nullable().optional(),\n unsubscribed_at: z.string().describe(\"Timestamp when the contact unsubscribed (ISO8601), null if still subscribed.\").nullable().optional(),\n}).passthrough().describe(\"Schema representing a Sendfox contact.\");\nexport const SendfoxGetContactsInListOutput = z.object({\n data: z.array(SendfoxGetContactsInList_ContactSchema).describe(\"List of contacts in the specified list.\"),\n total: z.number().int().describe(\"Total number of contacts in the list.\").nullable(),\n per_page: z.number().int().describe(\"Number of contacts returned per page.\").nullable(),\n current_page: z.number().int().describe(\"Current page number in the pagination.\").nullable(),\n}).passthrough().describe(\"Response schema for paginated list of contacts in a specific list.\");\n\nexport const sendfoxGetContactsInList = action(\"SENDFOX_GET_CONTACTS_IN_LIST\", {\n slug: \"sendfox-get-contacts-in-list\",\n name: \"Get Contacts in List\",\n description: \"Tool to retrieve contacts in a specific list. Use when you need to fetch all contacts belonging to a particular list, optionally filtering by search query.\",\n input: SendfoxGetContactsInListInput,\n output: SendfoxGetContactsInListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC7F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D;AAC/F,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,yCAAyC;CACxG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACnF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACtF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAAoE;AAE9F,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|