@keystrokehq/sendfox 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/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 +20 -3
- package/dist/actions/delete-contact-from-list.d.cts.map +1 -1
- package/dist/actions/delete-contact-from-list.d.mts +20 -3
- package/dist/actions/delete-contact-from-list.d.mts.map +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 +4 -4
- package/dist/actions/get-automations.cjs.map +1 -1
- package/dist/actions/get-automations.d.cts +11 -3
- package/dist/actions/get-automations.d.cts.map +1 -1
- package/dist/actions/get-automations.d.mts +11 -3
- package/dist/actions/get-automations.d.mts.map +1 -1
- package/dist/actions/get-automations.mjs +4 -4
- package/dist/actions/get-automations.mjs.map +1 -1
- package/dist/actions/get-campaign-by-id.cjs +7 -7
- package/dist/actions/get-campaign-by-id.cjs.map +1 -1
- package/dist/actions/get-campaign-by-id.d.cts +18 -3
- package/dist/actions/get-campaign-by-id.d.cts.map +1 -1
- package/dist/actions/get-campaign-by-id.d.mts +18 -3
- package/dist/actions/get-campaign-by-id.d.mts.map +1 -1
- package/dist/actions/get-campaign-by-id.mjs +7 -7
- package/dist/actions/get-campaign-by-id.mjs.map +1 -1
- package/dist/actions/get-campaigns.cjs +3 -3
- package/dist/actions/get-campaigns.cjs.map +1 -1
- package/dist/actions/get-campaigns.d.cts +24 -3
- package/dist/actions/get-campaigns.d.cts.map +1 -1
- package/dist/actions/get-campaigns.d.mts +24 -3
- package/dist/actions/get-campaigns.d.mts.map +1 -1
- package/dist/actions/get-campaigns.mjs +3 -3
- package/dist/actions/get-campaigns.mjs.map +1 -1
- package/dist/actions/get-contact-by-id.cjs +3 -3
- package/dist/actions/get-contact-by-id.cjs.map +1 -1
- package/dist/actions/get-contact-by-id.d.cts +17 -3
- package/dist/actions/get-contact-by-id.d.cts.map +1 -1
- package/dist/actions/get-contact-by-id.d.mts +17 -3
- package/dist/actions/get-contact-by-id.d.mts.map +1 -1
- package/dist/actions/get-contact-by-id.mjs +3 -3
- package/dist/actions/get-contact-by-id.mjs.map +1 -1
- package/dist/actions/get-contact-fields.cjs +5 -5
- package/dist/actions/get-contact-fields.cjs.map +1 -1
- package/dist/actions/get-contact-fields.d.cts +9 -3
- package/dist/actions/get-contact-fields.d.cts.map +1 -1
- package/dist/actions/get-contact-fields.d.mts +9 -3
- package/dist/actions/get-contact-fields.d.mts.map +1 -1
- package/dist/actions/get-contact-fields.mjs +5 -5
- package/dist/actions/get-contact-fields.mjs.map +1 -1
- package/dist/actions/get-contacts-in-list.cjs +7 -7
- package/dist/actions/get-contacts-in-list.cjs.map +1 -1
- package/dist/actions/get-contacts-in-list.d.cts +23 -3
- package/dist/actions/get-contacts-in-list.d.cts.map +1 -1
- package/dist/actions/get-contacts-in-list.d.mts +23 -3
- package/dist/actions/get-contacts-in-list.d.mts.map +1 -1
- package/dist/actions/get-contacts-in-list.mjs +7 -7
- package/dist/actions/get-contacts-in-list.mjs.map +1 -1
- package/dist/actions/get-contacts.cjs +7 -7
- package/dist/actions/get-contacts.cjs.map +1 -1
- package/dist/actions/get-contacts.d.cts +23 -3
- package/dist/actions/get-contacts.d.cts.map +1 -1
- package/dist/actions/get-contacts.d.mts +23 -3
- package/dist/actions/get-contacts.d.mts.map +1 -1
- package/dist/actions/get-contacts.mjs +7 -7
- package/dist/actions/get-contacts.mjs.map +1 -1
- package/dist/actions/get-current-user.cjs +4 -4
- package/dist/actions/get-current-user.cjs.map +1 -1
- package/dist/actions/get-current-user.d.cts +16 -3
- package/dist/actions/get-current-user.d.cts.map +1 -1
- package/dist/actions/get-current-user.d.mts +16 -3
- package/dist/actions/get-current-user.d.mts.map +1 -1
- package/dist/actions/get-current-user.mjs +4 -4
- package/dist/actions/get-current-user.mjs.map +1 -1
- package/dist/actions/get-forms.cjs +4 -4
- package/dist/actions/get-forms.cjs.map +1 -1
- package/dist/actions/get-forms.d.cts +18 -3
- package/dist/actions/get-forms.d.cts.map +1 -1
- package/dist/actions/get-forms.d.mts +18 -3
- package/dist/actions/get-forms.d.mts.map +1 -1
- package/dist/actions/get-forms.mjs +4 -4
- package/dist/actions/get-forms.mjs.map +1 -1
- package/dist/actions/get-list-by-id.cjs +4 -4
- package/dist/actions/get-list-by-id.cjs.map +1 -1
- package/dist/actions/get-list-by-id.d.cts +13 -3
- package/dist/actions/get-list-by-id.d.cts.map +1 -1
- package/dist/actions/get-list-by-id.d.mts +13 -3
- package/dist/actions/get-list-by-id.d.mts.map +1 -1
- package/dist/actions/get-list-by-id.mjs +4 -4
- package/dist/actions/get-list-by-id.mjs.map +1 -1
- package/dist/actions/get-lists.cjs +9 -9
- package/dist/actions/get-lists.cjs.map +1 -1
- package/dist/actions/get-lists.d.cts +21 -3
- package/dist/actions/get-lists.d.cts.map +1 -1
- package/dist/actions/get-lists.d.mts +21 -3
- package/dist/actions/get-lists.d.mts.map +1 -1
- package/dist/actions/get-lists.mjs +9 -9
- package/dist/actions/get-lists.mjs.map +1 -1
- package/dist/actions/list-contact-fields.cjs +10 -10
- package/dist/actions/list-contact-fields.cjs.map +1 -1
- package/dist/actions/list-contact-fields.d.cts +15 -3
- package/dist/actions/list-contact-fields.d.cts.map +1 -1
- package/dist/actions/list-contact-fields.d.mts +15 -3
- package/dist/actions/list-contact-fields.d.mts.map +1 -1
- package/dist/actions/list-contact-fields.mjs +10 -10
- package/dist/actions/list-contact-fields.mjs.map +1 -1
- package/dist/actions/list-unsubscribed-contacts.cjs +7 -7
- package/dist/actions/list-unsubscribed-contacts.cjs.map +1 -1
- package/dist/actions/list-unsubscribed-contacts.d.cts +23 -3
- package/dist/actions/list-unsubscribed-contacts.d.cts.map +1 -1
- package/dist/actions/list-unsubscribed-contacts.d.mts +23 -3
- package/dist/actions/list-unsubscribed-contacts.d.mts.map +1 -1
- package/dist/actions/list-unsubscribed-contacts.mjs +7 -7
- package/dist/actions/list-unsubscribed-contacts.mjs.map +1 -1
- package/dist/actions/patch-unsubscribe-contact.cjs +2 -2
- package/dist/actions/patch-unsubscribe-contact.cjs.map +1 -1
- package/dist/actions/patch-unsubscribe-contact.d.cts +16 -3
- package/dist/actions/patch-unsubscribe-contact.d.cts.map +1 -1
- package/dist/actions/patch-unsubscribe-contact.d.mts +16 -3
- package/dist/actions/patch-unsubscribe-contact.d.mts.map +1 -1
- package/dist/actions/patch-unsubscribe-contact.mjs +2 -2
- package/dist/actions/patch-unsubscribe-contact.mjs.map +1 -1
- package/dist/actions/post-create-contact.cjs +3 -3
- package/dist/actions/post-create-contact.cjs.map +1 -1
- package/dist/actions/post-create-contact.d.cts +23 -3
- package/dist/actions/post-create-contact.d.cts.map +1 -1
- package/dist/actions/post-create-contact.d.mts +23 -3
- package/dist/actions/post-create-contact.d.mts.map +1 -1
- package/dist/actions/post-create-contact.mjs +3 -3
- package/dist/actions/post-create-contact.mjs.map +1 -1
- package/dist/actions/post-create-list.cjs +3 -3
- package/dist/actions/post-create-list.cjs.map +1 -1
- package/dist/actions/post-create-list.d.cts +12 -3
- package/dist/actions/post-create-list.d.cts.map +1 -1
- package/dist/actions/post-create-list.d.mts +12 -3
- package/dist/actions/post-create-list.d.mts.map +1 -1
- package/dist/actions/post-create-list.mjs +3 -3
- package/dist/actions/post-create-list.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,9 +1,22 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/patch-unsubscribe-contact.d.ts
|
|
4
|
-
declare const SendfoxPatchUnsubscribeContactInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SendfoxPatchUnsubscribeContactInput: z.ZodObject<{
|
|
5
|
+
email: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const SendfoxPatchUnsubscribeContactOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9
|
+
email: z.ZodNullable<z.ZodString>;
|
|
10
|
+
last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
ip_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
unsubscribed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
|
+
declare const sendfoxPatchUnsubscribeContact: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
|
+
email: string;
|
|
19
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
20
|
//#endregion
|
|
8
21
|
export { sendfoxPatchUnsubscribeContact };
|
|
9
22
|
//# sourceMappingURL=patch-unsubscribe-contact.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patch-unsubscribe-contact.d.cts","names":[],"sources":["../../src/actions/patch-unsubscribe-contact.ts"],"mappings":";;;cAIa,mCAAA,
|
|
1
|
+
{"version":3,"file":"patch-unsubscribe-contact.d.cts","names":[],"sources":["../../src/actions/patch-unsubscribe-contact.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAGnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;cAWpC,8BAAA,gCAA8B,wBAAA"}
|
|
@@ -1,9 +1,22 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/patch-unsubscribe-contact.d.ts
|
|
4
|
-
declare const SendfoxPatchUnsubscribeContactInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SendfoxPatchUnsubscribeContactInput: z.ZodObject<{
|
|
5
|
+
email: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const SendfoxPatchUnsubscribeContactOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9
|
+
email: z.ZodNullable<z.ZodString>;
|
|
10
|
+
last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
ip_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
unsubscribed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
|
+
declare const sendfoxPatchUnsubscribeContact: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
|
+
email: string;
|
|
19
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
20
|
//#endregion
|
|
8
21
|
export { sendfoxPatchUnsubscribeContact };
|
|
9
22
|
//# sourceMappingURL=patch-unsubscribe-contact.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patch-unsubscribe-contact.d.mts","names":[],"sources":["../../src/actions/patch-unsubscribe-contact.ts"],"mappings":";;;cAIa,mCAAA,
|
|
1
|
+
{"version":3,"file":"patch-unsubscribe-contact.d.mts","names":[],"sources":["../../src/actions/patch-unsubscribe-contact.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAGnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;cAWpC,8BAAA,gCAA8B,wBAAA"}
|
|
@@ -7,14 +7,14 @@ const sendfoxPatchUnsubscribeContact = action("SENDFOX_PATCH_UNSUBSCRIBE_CONTACT
|
|
|
7
7
|
input: z.object({ email: z.string().describe("Email address of the contact to unsubscribe. The contact must exist in your SendFox account.") }).describe("Request parameters for unsubscribing a SendFox contact."),
|
|
8
8
|
output: z.object({
|
|
9
9
|
id: z.number().int().describe("The unique identifier of the contact.").nullable().optional(),
|
|
10
|
-
email: z.string().describe("The email address of the unsubscribed contact."),
|
|
10
|
+
email: z.string().describe("The email address of the unsubscribed contact.").nullable(),
|
|
11
11
|
last_name: z.string().describe("The last name of the contact.").nullable().optional(),
|
|
12
12
|
created_at: z.string().describe("The timestamp when the contact was created.").nullable().optional(),
|
|
13
13
|
first_name: z.string().describe("The first name of the contact.").nullable().optional(),
|
|
14
14
|
ip_address: z.string().describe("The IP address of the contact.").nullable().optional(),
|
|
15
15
|
updated_at: z.string().describe("The timestamp when the contact was last updated.").nullable().optional(),
|
|
16
16
|
unsubscribed_at: z.string().describe("The timestamp when the contact was unsubscribed. Set after this action completes.").nullable().optional()
|
|
17
|
-
}).describe("Response schema for unsubscribing a contact. Returns the contact details with updated unsubscribed_at timestamp.")
|
|
17
|
+
}).passthrough().describe("Response schema for unsubscribing a contact. Returns the contact details with updated unsubscribed_at timestamp.")
|
|
18
18
|
});
|
|
19
19
|
//#endregion
|
|
20
20
|
export { sendfoxPatchUnsubscribeContact };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patch-unsubscribe-contact.mjs","names":[],"sources":["../../src/actions/patch-unsubscribe-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxPatchUnsubscribeContactInput
|
|
1
|
+
{"version":3,"file":"patch-unsubscribe-contact.mjs","names":[],"sources":["../../src/actions/patch-unsubscribe-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxPatchUnsubscribeContactInput = z.object({\n email: z.string().describe(\"Email address of the contact to unsubscribe. The contact must exist in your SendFox account.\"),\n}).describe(\"Request parameters for unsubscribing a SendFox contact.\");\nexport const SendfoxPatchUnsubscribeContactOutput = z.object({\n id: z.number().int().describe(\"The unique identifier of the contact.\").nullable().optional(),\n email: z.string().describe(\"The email address of the unsubscribed contact.\").nullable(),\n last_name: z.string().describe(\"The last name of the contact.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp when the contact was created.\").nullable().optional(),\n first_name: z.string().describe(\"The first name of the contact.\").nullable().optional(),\n ip_address: z.string().describe(\"The IP address of the contact.\").nullable().optional(),\n updated_at: z.string().describe(\"The timestamp when the contact was last updated.\").nullable().optional(),\n unsubscribed_at: z.string().describe(\"The timestamp when the contact was unsubscribed. Set after this action completes.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for unsubscribing a contact. Returns the contact details with updated unsubscribed_at timestamp.\");\n\nexport const sendfoxPatchUnsubscribeContact = action(\"SENDFOX_PATCH_UNSUBSCRIBE_CONTACT\", {\n slug: \"sendfox-patch-unsubscribe-contact\",\n name: \"Unsubscribe Contact\",\n description: \"Unsubscribe a contact from all email communications in your SendFox account. Use this tool when you need to: - Globally unsubscribe a contact from all future emails - Honor unsubscribe requests from subscribers - Mark a contact as opted-out The contact will be marked as unsubscribed but remains in your contacts database. This is a permanent action - the contact will not receive any future campaigns.\",\n input: SendfoxPatchUnsubscribeContactInput,\n output: SendfoxPatchUnsubscribeContactOutput,\n});\n"],"mappings":";;AAkBA,MAAa,iCAAiC,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBiD,EAAE,OAAO,EAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,EAC3H,CAAC,CAAC,CAAC,SAAS,yDAgBH;CACP,QAhBkD,EAAE,OAAO;EAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACtF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kHAOhB;AACV,CAAC"}
|
|
@@ -8,8 +8,8 @@ const SendfoxPostCreateContactInput = zod.z.object({
|
|
|
8
8
|
first_name: zod.z.string().describe("First name of the contact. Optional but recommended for personalization.").optional()
|
|
9
9
|
}).describe("Request model for creating a new contact in SendFox.");
|
|
10
10
|
const SendfoxPostCreateContactOutput = zod.z.object({
|
|
11
|
-
id: zod.z.number().int().describe("Unique identifier of the contact in SendFox."),
|
|
12
|
-
email: zod.z.string().describe("Email address of the contact."),
|
|
11
|
+
id: zod.z.number().int().describe("Unique identifier of the contact in SendFox.").nullable(),
|
|
12
|
+
email: zod.z.string().describe("Email address of the contact.").nullable(),
|
|
13
13
|
lists: zod.z.array(zod.z.number().int()).describe("List IDs the contact belongs to.").nullable().optional(),
|
|
14
14
|
status: zod.z.string().describe("Subscription status of the contact (e.g., 'subscribed', 'unsubscribed').").nullable().optional(),
|
|
15
15
|
last_name: zod.z.string().describe("Last name of the contact, if provided.").nullable().optional(),
|
|
@@ -17,7 +17,7 @@ const SendfoxPostCreateContactOutput = zod.z.object({
|
|
|
17
17
|
first_name: zod.z.string().describe("First name of the contact, if provided.").nullable().optional(),
|
|
18
18
|
updated_at: zod.z.string().describe("Timestamp when the contact was last updated (ISO 8601 format).").nullable().optional(),
|
|
19
19
|
unsubscribed_at: zod.z.string().describe("Timestamp when the contact unsubscribed, if applicable.").nullable().optional()
|
|
20
|
-
}).describe("Response model for a created or updated SendFox contact.");
|
|
20
|
+
}).passthrough().describe("Response model for a created or updated SendFox contact.");
|
|
21
21
|
const sendfoxPostCreateContact = require_action.action("SENDFOX_POST_CREATE_CONTACT", {
|
|
22
22
|
slug: "sendfox-post-create-contact",
|
|
23
23
|
name: "Create Contact",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-create-contact.cjs","names":["z","action"],"sources":["../../src/actions/post-create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxPostCreateContactInput
|
|
1
|
+
{"version":3,"file":"post-create-contact.cjs","names":["z","action"],"sources":["../../src/actions/post-create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxPostCreateContactInput = z.object({\n email: z.string().describe(\"Email address of the contact to create. Must be a valid email format.\"),\n lists: z.array(z.number().int()).describe(\"Array of list IDs to add the contact to. Use the Get Lists action to retrieve available list IDs.\").optional(),\n last_name: z.string().describe(\"Last name of the contact. Optional.\").optional(),\n first_name: z.string().describe(\"First name of the contact. Optional but recommended for personalization.\").optional(),\n}).describe(\"Request model for creating a new contact in SendFox.\");\nexport const SendfoxPostCreateContactOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact in SendFox.\").nullable(),\n email: z.string().describe(\"Email address of the contact.\").nullable(),\n lists: z.array(z.number().int()).describe(\"List IDs the contact belongs to.\").nullable().optional(),\n status: z.string().describe(\"Subscription status of the contact (e.g., 'subscribed', 'unsubscribed').\").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 updated_at: z.string().describe(\"Timestamp when the contact was last updated (ISO 8601 format).\").nullable().optional(),\n unsubscribed_at: z.string().describe(\"Timestamp when the contact unsubscribed, if applicable.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a created or updated SendFox contact.\");\n\nexport const sendfoxPostCreateContact = action(\"SENDFOX_POST_CREATE_CONTACT\", {\n slug: \"sendfox-post-create-contact\",\n name: \"Create Contact\",\n description: \"Create a new contact (subscriber) in your SendFox account. Use this tool when you need to: - Add a new subscriber to your email list - Create a contact with optional first/last name - Add a contact to one or more specific lists If the contact already exists, their information will be updated with the provided data.\",\n input: SendfoxPostCreateContactInput,\n output: SendfoxPostCreateContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CAClG,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CACxJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrE,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,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,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAEpF,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,29 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/post-create-contact.d.ts
|
|
4
|
-
declare const SendfoxPostCreateContactInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SendfoxPostCreateContactInput: z.ZodObject<{
|
|
5
|
+
email: z.ZodString;
|
|
6
|
+
lists: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
7
|
+
last_name: z.ZodOptional<z.ZodString>;
|
|
8
|
+
first_name: z.ZodOptional<z.ZodString>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const SendfoxPostCreateContactOutput: z.ZodObject<{
|
|
11
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
12
|
+
email: z.ZodNullable<z.ZodString>;
|
|
13
|
+
lists: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
14
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
unsubscribed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
}, z.core.$loose>;
|
|
21
|
+
declare const sendfoxPostCreateContact: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
|
+
email: string;
|
|
23
|
+
lists?: number[] | undefined;
|
|
24
|
+
last_name?: string | undefined;
|
|
25
|
+
first_name?: string | undefined;
|
|
26
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
27
|
//#endregion
|
|
8
28
|
export { sendfoxPostCreateContact };
|
|
9
29
|
//# sourceMappingURL=post-create-contact.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-create-contact.d.cts","names":[],"sources":["../../src/actions/post-create-contact.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"post-create-contact.d.cts","names":[],"sources":["../../src/actions/post-create-contact.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;cAM7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;cAY9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -1,9 +1,29 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/post-create-contact.d.ts
|
|
4
|
-
declare const SendfoxPostCreateContactInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SendfoxPostCreateContactInput: z.ZodObject<{
|
|
5
|
+
email: z.ZodString;
|
|
6
|
+
lists: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
7
|
+
last_name: z.ZodOptional<z.ZodString>;
|
|
8
|
+
first_name: z.ZodOptional<z.ZodString>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const SendfoxPostCreateContactOutput: z.ZodObject<{
|
|
11
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
12
|
+
email: z.ZodNullable<z.ZodString>;
|
|
13
|
+
lists: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
14
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
unsubscribed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
}, z.core.$loose>;
|
|
21
|
+
declare const sendfoxPostCreateContact: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
|
+
email: string;
|
|
23
|
+
lists?: number[] | undefined;
|
|
24
|
+
last_name?: string | undefined;
|
|
25
|
+
first_name?: string | undefined;
|
|
26
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
27
|
//#endregion
|
|
8
28
|
export { sendfoxPostCreateContact };
|
|
9
29
|
//# sourceMappingURL=post-create-contact.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-create-contact.d.mts","names":[],"sources":["../../src/actions/post-create-contact.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"post-create-contact.d.mts","names":[],"sources":["../../src/actions/post-create-contact.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;cAM7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;cAY9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -11,8 +11,8 @@ const sendfoxPostCreateContact = action("SENDFOX_POST_CREATE_CONTACT", {
|
|
|
11
11
|
first_name: z.string().describe("First name of the contact. Optional but recommended for personalization.").optional()
|
|
12
12
|
}).describe("Request model for creating a new contact in SendFox."),
|
|
13
13
|
output: z.object({
|
|
14
|
-
id: z.number().int().describe("Unique identifier of the contact in SendFox."),
|
|
15
|
-
email: z.string().describe("Email address of the contact."),
|
|
14
|
+
id: z.number().int().describe("Unique identifier of the contact in SendFox.").nullable(),
|
|
15
|
+
email: z.string().describe("Email address of the contact.").nullable(),
|
|
16
16
|
lists: z.array(z.number().int()).describe("List IDs the contact belongs to.").nullable().optional(),
|
|
17
17
|
status: z.string().describe("Subscription status of the contact (e.g., 'subscribed', 'unsubscribed').").nullable().optional(),
|
|
18
18
|
last_name: z.string().describe("Last name of the contact, if provided.").nullable().optional(),
|
|
@@ -20,7 +20,7 @@ const sendfoxPostCreateContact = action("SENDFOX_POST_CREATE_CONTACT", {
|
|
|
20
20
|
first_name: z.string().describe("First name of the contact, if provided.").nullable().optional(),
|
|
21
21
|
updated_at: z.string().describe("Timestamp when the contact was last updated (ISO 8601 format).").nullable().optional(),
|
|
22
22
|
unsubscribed_at: z.string().describe("Timestamp when the contact unsubscribed, if applicable.").nullable().optional()
|
|
23
|
-
}).describe("Response model for a created or updated SendFox contact.")
|
|
23
|
+
}).passthrough().describe("Response model for a created or updated SendFox contact.")
|
|
24
24
|
});
|
|
25
25
|
//#endregion
|
|
26
26
|
export { sendfoxPostCreateContact };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-create-contact.mjs","names":[],"sources":["../../src/actions/post-create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxPostCreateContactInput
|
|
1
|
+
{"version":3,"file":"post-create-contact.mjs","names":[],"sources":["../../src/actions/post-create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxPostCreateContactInput = z.object({\n email: z.string().describe(\"Email address of the contact to create. Must be a valid email format.\"),\n lists: z.array(z.number().int()).describe(\"Array of list IDs to add the contact to. Use the Get Lists action to retrieve available list IDs.\").optional(),\n last_name: z.string().describe(\"Last name of the contact. Optional.\").optional(),\n first_name: z.string().describe(\"First name of the contact. Optional but recommended for personalization.\").optional(),\n}).describe(\"Request model for creating a new contact in SendFox.\");\nexport const SendfoxPostCreateContactOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact in SendFox.\").nullable(),\n email: z.string().describe(\"Email address of the contact.\").nullable(),\n lists: z.array(z.number().int()).describe(\"List IDs the contact belongs to.\").nullable().optional(),\n status: z.string().describe(\"Subscription status of the contact (e.g., 'subscribed', 'unsubscribed').\").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 updated_at: z.string().describe(\"Timestamp when the contact was last updated (ISO 8601 format).\").nullable().optional(),\n unsubscribed_at: z.string().describe(\"Timestamp when the contact unsubscribed, if applicable.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a created or updated SendFox contact.\");\n\nexport const sendfoxPostCreateContact = action(\"SENDFOX_POST_CREATE_CONTACT\", {\n slug: \"sendfox-post-create-contact\",\n name: \"Create Contact\",\n description: \"Create a new contact (subscriber) in your SendFox account. Use this tool when you need to: - Add a new subscriber to your email list - Create a contact with optional first/last name - Add a contact to one or more specific lists If the contact already exists, their information will be updated with the provided data.\",\n input: SendfoxPostCreateContactInput,\n output: SendfoxPostCreateContactOutput,\n});\n"],"mappings":";;AAsBA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtB2C,EAAE,OAAO;EACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;EAClG,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;EACxJ,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACvH,CAAC,CAAC,CAAC,SAAS,sDAiBH;CACP,QAjB4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACvF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACrE,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,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,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAOhB;AACV,CAAC"}
|
|
@@ -3,11 +3,11 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/post-create-list.ts
|
|
4
4
|
const SendfoxPostCreateListInput = zod.z.object({ name: zod.z.string().describe("Name of the contact list to create") }).describe("Request schema for creating a new contact list.");
|
|
5
5
|
const SendfoxPostCreateListOutput = zod.z.object({
|
|
6
|
-
id: zod.z.number().int().describe("Unique identifier of the newly created list."),
|
|
7
|
-
name: zod.z.string().describe("Name of the created list."),
|
|
6
|
+
id: zod.z.number().int().describe("Unique identifier of the newly created list.").nullable(),
|
|
7
|
+
name: zod.z.string().describe("Name of the created list.").nullable(),
|
|
8
8
|
created_at: zod.z.string().describe("Date/time the list was created in ISO 8601 format.").nullable().optional(),
|
|
9
9
|
contact_count: zod.z.number().int().describe("Number of contacts in the list (typically 0 for new lists).").nullable().optional()
|
|
10
|
-
}).describe("Response schema for the newly created contact list.");
|
|
10
|
+
}).passthrough().describe("Response schema for the newly created contact list.");
|
|
11
11
|
const sendfoxPostCreateList = require_action.action("SENDFOX_POST_CREATE_LIST", {
|
|
12
12
|
slug: "sendfox-post-create-list",
|
|
13
13
|
name: "Create List",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-create-list.cjs","names":["z","action"],"sources":["../../src/actions/post-create-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxPostCreateListInput
|
|
1
|
+
{"version":3,"file":"post-create-list.cjs","names":["z","action"],"sources":["../../src/actions/post-create-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxPostCreateListInput = z.object({\n name: z.string().describe(\"Name of the contact list to create\"),\n}).describe(\"Request schema for creating a new contact list.\");\nexport const SendfoxPostCreateListOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the newly created list.\").nullable(),\n name: z.string().describe(\"Name of the created list.\").nullable(),\n created_at: z.string().describe(\"Date/time the list was created in ISO 8601 format.\").nullable().optional(),\n contact_count: z.number().int().describe(\"Number of contacts in the list (typically 0 for new lists).\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the newly created contact list.\");\n\nexport const sendfoxPostCreateList = action(\"SENDFOX_POST_CREATE_LIST\", {\n slug: \"sendfox-post-create-list\",\n name: \"Create List\",\n description: \"Create a new contact list in your SendFox account. Use this tool when you need to: - Create a new mailing list for organizing contacts - Set up a list before adding subscribers to it - Segment your audience by creating topic-specific lists The list will be created with 0 contacts initially. After creation, use other SendFox actions to add contacts to this list. Returns the created list's ID, name, and metadata.\",\n input: SendfoxPostCreateListInput,\n output: SendfoxPostCreateListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,EAChE,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/post-create-list.d.ts
|
|
4
|
-
declare const SendfoxPostCreateListInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SendfoxPostCreateListInput: z.ZodObject<{
|
|
5
|
+
name: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const SendfoxPostCreateListOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
9
|
+
name: z.ZodNullable<z.ZodString>;
|
|
10
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
contact_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
+
}, z.core.$loose>;
|
|
13
|
+
declare const sendfoxPostCreateList: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
|
+
name: string;
|
|
15
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
16
|
//#endregion
|
|
8
17
|
export { sendfoxPostCreateList };
|
|
9
18
|
//# sourceMappingURL=post-create-list.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-create-list.d.cts","names":[],"sources":["../../src/actions/post-create-list.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"post-create-list.d.cts","names":[],"sources":["../../src/actions/post-create-list.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;cAO3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/post-create-list.d.ts
|
|
4
|
-
declare const SendfoxPostCreateListInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SendfoxPostCreateListInput: z.ZodObject<{
|
|
5
|
+
name: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const SendfoxPostCreateListOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
9
|
+
name: z.ZodNullable<z.ZodString>;
|
|
10
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
contact_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
+
}, z.core.$loose>;
|
|
13
|
+
declare const sendfoxPostCreateList: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
|
+
name: string;
|
|
15
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
16
|
//#endregion
|
|
8
17
|
export { sendfoxPostCreateList };
|
|
9
18
|
//# sourceMappingURL=post-create-list.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-create-list.d.mts","names":[],"sources":["../../src/actions/post-create-list.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"post-create-list.d.mts","names":[],"sources":["../../src/actions/post-create-list.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;cAO3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -6,11 +6,11 @@ const sendfoxPostCreateList = action("SENDFOX_POST_CREATE_LIST", {
|
|
|
6
6
|
description: "Create a new contact list in your SendFox account. Use this tool when you need to: - Create a new mailing list for organizing contacts - Set up a list before adding subscribers to it - Segment your audience by creating topic-specific lists The list will be created with 0 contacts initially. After creation, use other SendFox actions to add contacts to this list. Returns the created list's ID, name, and metadata.",
|
|
7
7
|
input: z.object({ name: z.string().describe("Name of the contact list to create") }).describe("Request schema for creating a new contact list."),
|
|
8
8
|
output: z.object({
|
|
9
|
-
id: z.number().int().describe("Unique identifier of the newly created list."),
|
|
10
|
-
name: z.string().describe("Name of the created list."),
|
|
9
|
+
id: z.number().int().describe("Unique identifier of the newly created list.").nullable(),
|
|
10
|
+
name: z.string().describe("Name of the created list.").nullable(),
|
|
11
11
|
created_at: z.string().describe("Date/time the list was created in ISO 8601 format.").nullable().optional(),
|
|
12
12
|
contact_count: z.number().int().describe("Number of contacts in the list (typically 0 for new lists).").nullable().optional()
|
|
13
|
-
}).describe("Response schema for the newly created contact list.")
|
|
13
|
+
}).passthrough().describe("Response schema for the newly created contact list.")
|
|
14
14
|
});
|
|
15
15
|
//#endregion
|
|
16
16
|
export { sendfoxPostCreateList };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-create-list.mjs","names":[],"sources":["../../src/actions/post-create-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxPostCreateListInput
|
|
1
|
+
{"version":3,"file":"post-create-list.mjs","names":[],"sources":["../../src/actions/post-create-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxPostCreateListInput = z.object({\n name: z.string().describe(\"Name of the contact list to create\"),\n}).describe(\"Request schema for creating a new contact list.\");\nexport const SendfoxPostCreateListOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the newly created list.\").nullable(),\n name: z.string().describe(\"Name of the created list.\").nullable(),\n created_at: z.string().describe(\"Date/time the list was created in ISO 8601 format.\").nullable().optional(),\n contact_count: z.number().int().describe(\"Number of contacts in the list (typically 0 for new lists).\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the newly created contact list.\");\n\nexport const sendfoxPostCreateList = action(\"SENDFOX_POST_CREATE_LIST\", {\n slug: \"sendfox-post-create-list\",\n name: \"Create List\",\n description: \"Create a new contact list in your SendFox account. Use this tool when you need to: - Create a new mailing list for organizing contacts - Set up a list before adding subscribers to it - Segment your audience by creating topic-specific lists The list will be created with 0 contacts initially. After creation, use other SendFox actions to add contacts to this list. Returns the created list's ID, name, and metadata.\",\n input: SendfoxPostCreateListInput,\n output: SendfoxPostCreateListOutput,\n});\n"],"mappings":";;AAcA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdwC,EAAE,OAAO,EACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,EAChE,CAAC,CAAC,CAAC,SAAS,iDAYH;CACP,QAZyC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACvF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAChE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
|
package/dist/catalog.cjs
CHANGED
|
@@ -7,7 +7,13 @@ const sendfoxCatalog = {
|
|
|
7
7
|
"category": "Email Newsletters",
|
|
8
8
|
"logo": "https://logos.composio.dev/api/sendfox",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
|
-
"oauthScopes": []
|
|
10
|
+
"oauthScopes": [],
|
|
11
|
+
"credentialFields": { "api_key": {
|
|
12
|
+
"label": "Personal Access Token",
|
|
13
|
+
"secret": true,
|
|
14
|
+
"description": "Your Sendfox Personal Access Token. Create one at https://sendfox.com/account/oauth"
|
|
15
|
+
} },
|
|
16
|
+
"credentialScheme": "API_KEY"
|
|
11
17
|
};
|
|
12
18
|
//#endregion
|
|
13
19
|
exports.sendfoxCatalog = sendfoxCatalog;
|
package/dist/catalog.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const sendfoxCatalog = {\n \"slug\": \"sendfox\",\n \"name\": \"Sendfox\",\n \"description\": \"Sendfox is an affordable email marketing platform for content creators. Manage contacts, create email campaigns, automate sequences, and grow your audience.\",\n \"category\": \"Email Newsletters\",\n \"logo\": \"https://logos.composio.dev/api/sendfox\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const sendfoxCatalog = {\n \"slug\": \"sendfox\",\n \"name\": \"Sendfox\",\n \"description\": \"Sendfox is an affordable email marketing platform for content creators. Manage contacts, create email campaigns, automate sequences, and grow your audience.\",\n \"category\": \"Email Newsletters\",\n \"logo\": \"https://logos.composio.dev/api/sendfox\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"Personal Access Token\",\n \"secret\": true,\n \"description\": \"Your Sendfox Personal Access Token. Create one at https://sendfox.com/account/oauth\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|
package/dist/catalog.d.cts
CHANGED
|
@@ -8,6 +8,14 @@ declare const sendfoxCatalog: {
|
|
|
8
8
|
readonly logo: "https://logos.composio.dev/api/sendfox";
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
|
+
readonly credentialFields: {
|
|
12
|
+
readonly api_key: {
|
|
13
|
+
readonly label: "Personal Access Token";
|
|
14
|
+
readonly secret: true;
|
|
15
|
+
readonly description: "Your Sendfox Personal Access Token. Create one at https://sendfox.com/account/oauth";
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
readonly credentialScheme: "API_KEY";
|
|
11
19
|
};
|
|
12
20
|
//#endregion
|
|
13
21
|
export { sendfoxCatalog };
|
package/dist/catalog.d.mts
CHANGED
|
@@ -8,6 +8,14 @@ declare const sendfoxCatalog: {
|
|
|
8
8
|
readonly logo: "https://logos.composio.dev/api/sendfox";
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
|
+
readonly credentialFields: {
|
|
12
|
+
readonly api_key: {
|
|
13
|
+
readonly label: "Personal Access Token";
|
|
14
|
+
readonly secret: true;
|
|
15
|
+
readonly description: "Your Sendfox Personal Access Token. Create one at https://sendfox.com/account/oauth";
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
readonly credentialScheme: "API_KEY";
|
|
11
19
|
};
|
|
12
20
|
//#endregion
|
|
13
21
|
export { sendfoxCatalog };
|
package/dist/catalog.mjs
CHANGED
|
@@ -7,7 +7,13 @@ const sendfoxCatalog = {
|
|
|
7
7
|
"category": "Email Newsletters",
|
|
8
8
|
"logo": "https://logos.composio.dev/api/sendfox",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
|
-
"oauthScopes": []
|
|
10
|
+
"oauthScopes": [],
|
|
11
|
+
"credentialFields": { "api_key": {
|
|
12
|
+
"label": "Personal Access Token",
|
|
13
|
+
"secret": true,
|
|
14
|
+
"description": "Your Sendfox Personal Access Token. Create one at https://sendfox.com/account/oauth"
|
|
15
|
+
} },
|
|
16
|
+
"credentialScheme": "API_KEY"
|
|
11
17
|
};
|
|
12
18
|
//#endregion
|
|
13
19
|
export { sendfoxCatalog };
|
package/dist/catalog.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const sendfoxCatalog = {\n \"slug\": \"sendfox\",\n \"name\": \"Sendfox\",\n \"description\": \"Sendfox is an affordable email marketing platform for content creators. Manage contacts, create email campaigns, automate sequences, and grow your audience.\",\n \"category\": \"Email Newsletters\",\n \"logo\": \"https://logos.composio.dev/api/sendfox\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const sendfoxCatalog = {\n \"slug\": \"sendfox\",\n \"name\": \"Sendfox\",\n \"description\": \"Sendfox is an affordable email marketing platform for content creators. Manage contacts, create email campaigns, automate sequences, and grow your audience.\",\n \"category\": \"Email Newsletters\",\n \"logo\": \"https://logos.composio.dev/api/sendfox\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"Personal Access Token\",\n \"secret\": true,\n \"description\": \"Your Sendfox Personal Access Token. Create one at https://sendfox.com/account/oauth\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/sendfox",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@keystrokehq/keystroke": "
|
|
34
|
+
"@keystrokehq/keystroke": ">=0.1.4",
|
|
35
35
|
"zod": "^4.4.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|