@keystrokehq/sendfox 0.1.0 → 0.1.2
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.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.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 +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 +2 -2
- package/dist/actions/get-automations.mjs.map +1 -1
- package/dist/actions/get-campaign-by-id.cjs +6 -6
- 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 +6 -6
- package/dist/actions/get-campaign-by-id.mjs.map +1 -1
- package/dist/actions/get-campaigns.cjs +1 -1
- 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 +1 -1
- package/dist/actions/get-campaigns.mjs.map +1 -1
- package/dist/actions/get-contact-by-id.cjs +2 -2
- 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 +2 -2
- package/dist/actions/get-contact-by-id.mjs.map +1 -1
- package/dist/actions/get-contact-fields.cjs +3 -3
- 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 +3 -3
- package/dist/actions/get-contact-fields.mjs.map +1 -1
- package/dist/actions/get-contacts-in-list.cjs +5 -5
- 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 +5 -5
- package/dist/actions/get-contacts-in-list.mjs.map +1 -1
- package/dist/actions/get-contacts.cjs +5 -5
- 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 +5 -5
- package/dist/actions/get-contacts.mjs.map +1 -1
- package/dist/actions/get-current-user.cjs +3 -3
- 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 +3 -3
- 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 +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 +2 -2
- package/dist/actions/get-forms.mjs.map +1 -1
- package/dist/actions/get-list-by-id.cjs +3 -3
- 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 +3 -3
- package/dist/actions/get-list-by-id.mjs.map +1 -1
- package/dist/actions/get-lists.cjs +6 -6
- 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 +6 -6
- package/dist/actions/get-lists.mjs.map +1 -1
- package/dist/actions/list-contact-fields.cjs +7 -7
- 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 +7 -7
- package/dist/actions/list-contact-fields.mjs.map +1 -1
- package/dist/actions/list-unsubscribed-contacts.cjs +5 -5
- 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 +5 -5
- 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 +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 +1 -1
- package/dist/actions/patch-unsubscribe-contact.mjs.map +1 -1
- package/dist/actions/post-create-contact.cjs +2 -2
- 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 +2 -2
- package/dist/actions/post-create-contact.mjs.map +1 -1
- package/dist/actions/post-create-list.cjs +2 -2
- 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 +2 -2
- 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,21 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-contact-fields.d.ts
|
|
4
|
-
declare const SendfoxListContactFieldsInput: z.
|
|
5
|
-
declare const SendfoxListContactFieldsOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const SendfoxListContactFieldsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const SendfoxListContactFieldsOutput: z.ZodObject<{
|
|
6
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
7
|
+
data: z.ZodArray<z.ZodObject<{
|
|
8
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
9
|
+
name: z.ZodNullable<z.ZodString>;
|
|
10
|
+
type: z.ZodNullable<z.ZodString>;
|
|
11
|
+
label: z.ZodNullable<z.ZodString>;
|
|
12
|
+
}, z.core.$strip>>;
|
|
13
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
14
|
+
per_page: z.ZodNullable<z.ZodNumber>;
|
|
15
|
+
current_page: z.ZodNullable<z.ZodNumber>;
|
|
16
|
+
}, z.core.$strip>>;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
declare const sendfoxListContactFields: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
19
|
//#endregion
|
|
8
20
|
export { sendfoxListContactFields };
|
|
9
21
|
//# sourceMappingURL=list-contact-fields.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-contact-fields.d.cts","names":[],"sources":["../../src/actions/list-contact-fields.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"list-contact-fields.d.cts","names":[],"sources":["../../src/actions/list-contact-fields.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAa7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAI9B,wBAAA,gCAAwB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-contact-fields.d.ts
|
|
4
|
-
declare const SendfoxListContactFieldsInput: z.
|
|
5
|
-
declare const SendfoxListContactFieldsOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const SendfoxListContactFieldsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const SendfoxListContactFieldsOutput: z.ZodObject<{
|
|
6
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
7
|
+
data: z.ZodArray<z.ZodObject<{
|
|
8
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
9
|
+
name: z.ZodNullable<z.ZodString>;
|
|
10
|
+
type: z.ZodNullable<z.ZodString>;
|
|
11
|
+
label: z.ZodNullable<z.ZodString>;
|
|
12
|
+
}, z.core.$strip>>;
|
|
13
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
14
|
+
per_page: z.ZodNullable<z.ZodNumber>;
|
|
15
|
+
current_page: z.ZodNullable<z.ZodNumber>;
|
|
16
|
+
}, z.core.$strip>>;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
declare const sendfoxListContactFields: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
19
|
//#endregion
|
|
8
20
|
export { sendfoxListContactFields };
|
|
9
21
|
//# sourceMappingURL=list-contact-fields.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-contact-fields.d.mts","names":[],"sources":["../../src/actions/list-contact-fields.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"list-contact-fields.d.mts","names":[],"sources":["../../src/actions/list-contact-fields.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAa7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAI9B,wBAAA,gCAAwB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -3,16 +3,16 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/list-contact-fields.ts
|
|
4
4
|
const SendfoxListContactFieldsInput = z.object({}).describe("Request schema for listing contact fields. No parameters required.");
|
|
5
5
|
const SendfoxListContactFields_ContactFieldItemSchema = z.object({
|
|
6
|
-
id: z.number().int().describe("Unique identifier for the contact field."),
|
|
7
|
-
name: z.string().describe("Internal name/key of the custom contact field."),
|
|
8
|
-
type: z.string().describe("Data type of the custom contact field (e.g., 'text', 'date')."),
|
|
9
|
-
label: z.string().describe("Display label of the custom contact field.")
|
|
6
|
+
id: z.number().int().describe("Unique identifier for the contact field.").nullable(),
|
|
7
|
+
name: z.string().describe("Internal name/key of the custom contact field.").nullable(),
|
|
8
|
+
type: z.string().describe("Data type of the custom contact field (e.g., 'text', 'date').").nullable(),
|
|
9
|
+
label: z.string().describe("Display label of the custom contact field.").nullable()
|
|
10
10
|
}).describe("Represents a single custom contact field in SendFox.");
|
|
11
11
|
const SendfoxListContactFields_PaginatedDataSchema = z.object({
|
|
12
12
|
data: z.array(SendfoxListContactFields_ContactFieldItemSchema).describe("Array of custom contact fields defined by the user."),
|
|
13
|
-
total: z.number().int().describe("Total number of custom contact fields available."),
|
|
14
|
-
per_page: z.number().int().describe("Number of contact fields returned per page."),
|
|
15
|
-
current_page: z.number().int().describe("Current page number in the pagination.")
|
|
13
|
+
total: z.number().int().describe("Total number of custom contact fields available.").nullable(),
|
|
14
|
+
per_page: z.number().int().describe("Number of contact fields returned per page.").nullable(),
|
|
15
|
+
current_page: z.number().int().describe("Current page number in the pagination.").nullable()
|
|
16
16
|
}).describe("Paginated data wrapper for contact fields.");
|
|
17
17
|
const sendfoxListContactFields = action("SENDFOX_LIST_CONTACT_FIELDS", {
|
|
18
18
|
slug: "sendfox-list-contact-fields",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-contact-fields.mjs","names":[],"sources":["../../src/actions/list-contact-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxListContactFieldsInput
|
|
1
|
+
{"version":3,"file":"list-contact-fields.mjs","names":[],"sources":["../../src/actions/list-contact-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxListContactFieldsInput = z.object({}).describe(\"Request schema for listing contact fields. No parameters required.\");\nconst SendfoxListContactFields_ContactFieldItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the contact field.\").nullable(),\n name: z.string().describe(\"Internal name/key of the custom contact field.\").nullable(),\n type: z.string().describe(\"Data type of the custom contact field (e.g., 'text', 'date').\").nullable(),\n label: z.string().describe(\"Display label of the custom contact field.\").nullable(),\n}).describe(\"Represents a single custom contact field in SendFox.\");\nconst SendfoxListContactFields_PaginatedDataSchema = z.object({\n data: z.array(SendfoxListContactFields_ContactFieldItemSchema).describe(\"Array of custom contact fields defined by the user.\"),\n total: z.number().int().describe(\"Total number of custom contact fields available.\").nullable(),\n per_page: z.number().int().describe(\"Number of contact fields returned per page.\").nullable(),\n current_page: z.number().int().describe(\"Current page number in the pagination.\").nullable(),\n}).describe(\"Paginated data wrapper for contact fields.\");\nexport const SendfoxListContactFieldsOutput = z.object({\n data: SendfoxListContactFields_PaginatedDataSchema.nullable(),\n}).describe(\"Response schema for paginated list of custom contact fields.\");\n\nexport const sendfoxListContactFields = action(\"SENDFOX_LIST_CONTACT_FIELDS\", {\n slug: \"sendfox-list-contact-fields\",\n name: \"List Contact Fields\",\n description: \"Tool to list all custom contact fields defined by the user. Returns a paginated list of contact fields with their IDs, names, and timestamps.\",\n input: SendfoxListContactFieldsInput,\n output: SendfoxListContactFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE;AACvI,MAAM,kDAAkD,EAAE,OAAO;CAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACpG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,+CAA+C,EAAE,OAAO;CAC5D,MAAM,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,qDAAqD;CAC7H,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC9F,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC5F,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAKxD,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4C,EAAE,OAAO,EACrD,MAAM,6CAA6C,SAAS,EAC9D,CAAC,CAAC,CAAC,SAAS,8DAOF;AACV,CAAC"}
|
|
@@ -6,8 +6,8 @@ const SendfoxListUnsubscribedContactsInput = zod.z.object({
|
|
|
6
6
|
query: zod.z.string().describe("Search query for filtering unsubscribed contacts by name or email.").optional()
|
|
7
7
|
}).describe("Request parameters for retrieving a paginated list of unsubscribed contacts.");
|
|
8
8
|
const SendfoxListUnsubscribedContacts_UnsubscribedContactSchema = zod.z.object({
|
|
9
|
-
id: zod.z.number().int().describe("Unique identifier for the contact."),
|
|
10
|
-
email: zod.z.string().describe("Email address of the contact."),
|
|
9
|
+
id: zod.z.number().int().describe("Unique identifier for the contact.").nullable(),
|
|
10
|
+
email: zod.z.string().describe("Email address of the contact.").nullable(),
|
|
11
11
|
last_name: zod.z.string().describe("Last name of the contact.").nullable().optional(),
|
|
12
12
|
created_at: zod.z.string().describe("Timestamp when the contact was created (ISO8601).").nullable().optional(),
|
|
13
13
|
first_name: zod.z.string().describe("First name of the contact.").nullable().optional(),
|
|
@@ -17,9 +17,9 @@ const SendfoxListUnsubscribedContacts_UnsubscribedContactSchema = zod.z.object({
|
|
|
17
17
|
}).describe("Schema representing an unsubscribed Sendfox contact.");
|
|
18
18
|
const SendfoxListUnsubscribedContactsOutput = zod.z.object({
|
|
19
19
|
data: zod.z.array(SendfoxListUnsubscribedContacts_UnsubscribedContactSchema).describe("List of unsubscribed contacts returned by the API."),
|
|
20
|
-
total: zod.z.number().int().describe("Total number of unsubscribed contacts available."),
|
|
21
|
-
per_page: zod.z.number().int().describe("Number of contacts returned per page."),
|
|
22
|
-
current_page: zod.z.number().int().describe("Current page number in the pagination.")
|
|
20
|
+
total: zod.z.number().int().describe("Total number of unsubscribed contacts available.").nullable(),
|
|
21
|
+
per_page: zod.z.number().int().describe("Number of contacts returned per page.").nullable(),
|
|
22
|
+
current_page: zod.z.number().int().describe("Current page number in the pagination.").nullable()
|
|
23
23
|
}).describe("Response schema for a paginated list of unsubscribed contacts.");
|
|
24
24
|
const sendfoxListUnsubscribedContacts = require_action.action("SENDFOX_LIST_UNSUBSCRIBED_CONTACTS", {
|
|
25
25
|
slug: "sendfox-list-unsubscribed-contacts",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-unsubscribed-contacts.cjs","names":["z","action"],"sources":["../../src/actions/list-unsubscribed-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxListUnsubscribedContactsInput
|
|
1
|
+
{"version":3,"file":"list-unsubscribed-contacts.cjs","names":["z","action"],"sources":["../../src/actions/list-unsubscribed-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxListUnsubscribedContactsInput = z.object({\n page: z.number().int().describe(\"Page number to retrieve.\").optional(),\n query: z.string().describe(\"Search query for filtering unsubscribed contacts by name or email.\").optional(),\n}).describe(\"Request parameters for retrieving a paginated list of unsubscribed contacts.\");\nconst SendfoxListUnsubscribedContacts_UnsubscribedContactSchema = 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).\").nullable().optional(),\n}).describe(\"Schema representing an unsubscribed Sendfox contact.\");\nexport const SendfoxListUnsubscribedContactsOutput = z.object({\n data: z.array(SendfoxListUnsubscribedContacts_UnsubscribedContactSchema).describe(\"List of unsubscribed contacts returned by the API.\"),\n total: z.number().int().describe(\"Total number of unsubscribed contacts available.\").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 a paginated list of unsubscribed contacts.\");\n\nexport const sendfoxListUnsubscribedContacts = action(\"SENDFOX_LIST_UNSUBSCRIBED_CONTACTS\", {\n slug: \"sendfox-list-unsubscribed-contacts\",\n name: \"List Unsubscribed Contacts\",\n description: \"Tool to retrieve a paginated list of contacts who have unsubscribed. Use when you need to fetch unsubscribed contacts, optionally filtering by search query.\",\n input: SendfoxListUnsubscribedContactsInput,\n output: SendfoxListUnsubscribedContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAC1F,MAAM,4DAA4DA,IAAAA,EAAE,OAAO;CACzE,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,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,MAAM,yDAAyD,CAAC,CAAC,SAAS,oDAAoD;CACtI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC9F,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,SAAS,gEAAgE;AAE5E,MAAa,kCAAkCC,eAAAA,OAAO,sCAAsC;CAC1F,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/list-unsubscribed-contacts.d.ts
|
|
4
|
-
declare const SendfoxListUnsubscribedContactsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SendfoxListUnsubscribedContactsInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
query: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const SendfoxListUnsubscribedContactsOutput: z.ZodObject<{
|
|
9
|
+
data: z.ZodArray<z.ZodObject<{
|
|
10
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
11
|
+
email: z.ZodNullable<z.ZodString>;
|
|
12
|
+
last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
ip_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
unsubscribed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
}, z.core.$strip>>;
|
|
19
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
20
|
+
per_page: z.ZodNullable<z.ZodNumber>;
|
|
21
|
+
current_page: z.ZodNullable<z.ZodNumber>;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
declare const sendfoxListUnsubscribedContacts: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
|
+
page?: number | undefined;
|
|
25
|
+
query?: string | undefined;
|
|
26
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
27
|
//#endregion
|
|
8
28
|
export { sendfoxListUnsubscribedContacts };
|
|
9
29
|
//# sourceMappingURL=list-unsubscribed-contacts.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-unsubscribed-contacts.d.cts","names":[],"sources":["../../src/actions/list-unsubscribed-contacts.ts"],"mappings":";;;cAIa,oCAAA,
|
|
1
|
+
{"version":3,"file":"list-unsubscribed-contacts.d.cts","names":[],"sources":["../../src/actions/list-unsubscribed-contacts.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;cAcpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAOrC,+BAAA,gCAA+B,wBAAA"}
|
|
@@ -1,9 +1,29 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-unsubscribed-contacts.d.ts
|
|
4
|
-
declare const SendfoxListUnsubscribedContactsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SendfoxListUnsubscribedContactsInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
query: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const SendfoxListUnsubscribedContactsOutput: z.ZodObject<{
|
|
9
|
+
data: z.ZodArray<z.ZodObject<{
|
|
10
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
11
|
+
email: z.ZodNullable<z.ZodString>;
|
|
12
|
+
last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
ip_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
unsubscribed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
}, z.core.$strip>>;
|
|
19
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
20
|
+
per_page: z.ZodNullable<z.ZodNumber>;
|
|
21
|
+
current_page: z.ZodNullable<z.ZodNumber>;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
declare const sendfoxListUnsubscribedContacts: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
|
+
page?: number | undefined;
|
|
25
|
+
query?: string | undefined;
|
|
26
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
27
|
//#endregion
|
|
8
28
|
export { sendfoxListUnsubscribedContacts };
|
|
9
29
|
//# sourceMappingURL=list-unsubscribed-contacts.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-unsubscribed-contacts.d.mts","names":[],"sources":["../../src/actions/list-unsubscribed-contacts.ts"],"mappings":";;;cAIa,oCAAA,
|
|
1
|
+
{"version":3,"file":"list-unsubscribed-contacts.d.mts","names":[],"sources":["../../src/actions/list-unsubscribed-contacts.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;cAcpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAOrC,+BAAA,gCAA+B,wBAAA"}
|
|
@@ -6,8 +6,8 @@ const SendfoxListUnsubscribedContactsInput = z.object({
|
|
|
6
6
|
query: z.string().describe("Search query for filtering unsubscribed contacts by name or email.").optional()
|
|
7
7
|
}).describe("Request parameters for retrieving a paginated list of unsubscribed contacts.");
|
|
8
8
|
const SendfoxListUnsubscribedContacts_UnsubscribedContactSchema = z.object({
|
|
9
|
-
id: z.number().int().describe("Unique identifier for the contact."),
|
|
10
|
-
email: z.string().describe("Email address of the contact."),
|
|
9
|
+
id: z.number().int().describe("Unique identifier for the contact.").nullable(),
|
|
10
|
+
email: z.string().describe("Email address of the contact.").nullable(),
|
|
11
11
|
last_name: z.string().describe("Last name of the contact.").nullable().optional(),
|
|
12
12
|
created_at: z.string().describe("Timestamp when the contact was created (ISO8601).").nullable().optional(),
|
|
13
13
|
first_name: z.string().describe("First name of the contact.").nullable().optional(),
|
|
@@ -22,9 +22,9 @@ const sendfoxListUnsubscribedContacts = action("SENDFOX_LIST_UNSUBSCRIBED_CONTAC
|
|
|
22
22
|
input: SendfoxListUnsubscribedContactsInput,
|
|
23
23
|
output: z.object({
|
|
24
24
|
data: z.array(SendfoxListUnsubscribedContacts_UnsubscribedContactSchema).describe("List of unsubscribed contacts returned by the API."),
|
|
25
|
-
total: z.number().int().describe("Total number of unsubscribed contacts available."),
|
|
26
|
-
per_page: z.number().int().describe("Number of contacts returned per page."),
|
|
27
|
-
current_page: z.number().int().describe("Current page number in the pagination.")
|
|
25
|
+
total: z.number().int().describe("Total number of unsubscribed contacts available.").nullable(),
|
|
26
|
+
per_page: z.number().int().describe("Number of contacts returned per page.").nullable(),
|
|
27
|
+
current_page: z.number().int().describe("Current page number in the pagination.").nullable()
|
|
28
28
|
}).describe("Response schema for a paginated list of unsubscribed contacts.")
|
|
29
29
|
});
|
|
30
30
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-unsubscribed-contacts.mjs","names":[],"sources":["../../src/actions/list-unsubscribed-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxListUnsubscribedContactsInput
|
|
1
|
+
{"version":3,"file":"list-unsubscribed-contacts.mjs","names":[],"sources":["../../src/actions/list-unsubscribed-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxListUnsubscribedContactsInput = z.object({\n page: z.number().int().describe(\"Page number to retrieve.\").optional(),\n query: z.string().describe(\"Search query for filtering unsubscribed contacts by name or email.\").optional(),\n}).describe(\"Request parameters for retrieving a paginated list of unsubscribed contacts.\");\nconst SendfoxListUnsubscribedContacts_UnsubscribedContactSchema = 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).\").nullable().optional(),\n}).describe(\"Schema representing an unsubscribed Sendfox contact.\");\nexport const SendfoxListUnsubscribedContactsOutput = z.object({\n data: z.array(SendfoxListUnsubscribedContacts_UnsubscribedContactSchema).describe(\"List of unsubscribed contacts returned by the API.\"),\n total: z.number().int().describe(\"Total number of unsubscribed contacts available.\").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 a paginated list of unsubscribed contacts.\");\n\nexport const sendfoxListUnsubscribedContacts = action(\"SENDFOX_LIST_UNSUBSCRIBED_CONTACTS\", {\n slug: \"sendfox-list-unsubscribed-contacts\",\n name: \"List Unsubscribed Contacts\",\n description: \"Tool to retrieve a paginated list of contacts who have unsubscribed. Use when you need to fetch unsubscribed contacts, optionally filtering by search query.\",\n input: SendfoxListUnsubscribedContactsInput,\n output: SendfoxListUnsubscribedContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuC,EAAE,OAAO;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAC1F,MAAM,4DAA4D,EAAE,OAAO;CACzE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAQlE,MAAa,kCAAkC,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZmD,EAAE,OAAO;EAC5D,MAAM,EAAE,MAAM,yDAAyD,CAAC,CAAC,SAAS,oDAAoD;EACtI,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC9F,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EACtF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,SAAS,gEAOF;AACV,CAAC"}
|
|
@@ -4,7 +4,7 @@ let zod = require("zod");
|
|
|
4
4
|
const SendfoxPatchUnsubscribeContactInput = zod.z.object({ email: zod.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.");
|
|
5
5
|
const SendfoxPatchUnsubscribeContactOutput = zod.z.object({
|
|
6
6
|
id: zod.z.number().int().describe("The unique identifier of the contact.").nullable().optional(),
|
|
7
|
-
email: zod.z.string().describe("The email address of the unsubscribed contact."),
|
|
7
|
+
email: zod.z.string().describe("The email address of the unsubscribed contact.").nullable(),
|
|
8
8
|
last_name: zod.z.string().describe("The last name of the contact.").nullable().optional(),
|
|
9
9
|
created_at: zod.z.string().describe("The timestamp when the contact was created.").nullable().optional(),
|
|
10
10
|
first_name: zod.z.string().describe("The first name of the contact.").nullable().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patch-unsubscribe-contact.cjs","names":["z","action"],"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.cjs","names":["z","action"],"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}).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":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,EAC3H,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACtF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChJ,CAAC,CAAC,CAAC,SAAS,kHAAkH;AAE9H,MAAa,iCAAiCC,eAAAA,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -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.$strip>;
|
|
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.$strip>;
|
|
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,7 +7,7 @@ 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(),
|
|
@@ -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}).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,SAAS,kHAOF;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(),
|
|
@@ -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}).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,SAAS,0DAA0D;AAEtE,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.$strip>;
|
|
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.$strip>;
|
|
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(),
|
|
@@ -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}).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,SAAS,0DAOF;AACV,CAAC"}
|
|
@@ -3,8 +3,8 @@ 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
10
|
}).describe("Response schema for the newly created contact 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}).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,SAAS,qDAAqD;AAEjE,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|