@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,23 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-contact-by-id.d.ts
|
|
4
|
-
declare const SendfoxGetContactByIdInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SendfoxGetContactByIdInput: z.ZodObject<{
|
|
5
|
+
contact_id: z.ZodNumber;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const SendfoxGetContactByIdOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
9
|
+
email: z.ZodNullable<z.ZodString>;
|
|
10
|
+
lists: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
11
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
confirmed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
13
|
+
last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
unsubscribed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
declare const sendfoxGetContactById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
|
+
contact_id: number;
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
21
|
//#endregion
|
|
8
22
|
export { sendfoxGetContactById };
|
|
9
23
|
//# sourceMappingURL=get-contact-by-id.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-contact-by-id.d.cts","names":[],"sources":["../../src/actions/get-contact-by-id.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"get-contact-by-id.d.cts","names":[],"sources":["../../src/actions/get-contact-by-id.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;cAY3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-contact-by-id.d.ts
|
|
4
|
-
declare const SendfoxGetContactByIdInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SendfoxGetContactByIdInput: z.ZodObject<{
|
|
5
|
+
contact_id: z.ZodNumber;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const SendfoxGetContactByIdOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
9
|
+
email: z.ZodNullable<z.ZodString>;
|
|
10
|
+
lists: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
11
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
confirmed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
13
|
+
last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
unsubscribed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
declare const sendfoxGetContactById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
|
+
contact_id: number;
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
21
|
//#endregion
|
|
8
22
|
export { sendfoxGetContactById };
|
|
9
23
|
//# sourceMappingURL=get-contact-by-id.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-contact-by-id.d.mts","names":[],"sources":["../../src/actions/get-contact-by-id.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"get-contact-by-id.d.mts","names":[],"sources":["../../src/actions/get-contact-by-id.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;cAY3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -6,8 +6,8 @@ const sendfoxGetContactById = action("SENDFOX_GET_CONTACT_BY_ID", {
|
|
|
6
6
|
description: "Retrieves a contact's details by their unique ID from SendFox. Use this tool when you need to look up a specific contact's information after obtaining their ID from a contact list or other API response. Returns contact details including email, name, subscription status, and list memberships.",
|
|
7
7
|
input: z.object({ contact_id: z.number().int().describe("Unique identifier of the contact to retrieve.") }).describe("Request model for retrieving a contact by its ID."),
|
|
8
8
|
output: z.object({
|
|
9
|
-
id: z.number().int().describe("Unique numeric identifier of the contact."),
|
|
10
|
-
email: z.string().describe("Email address of the contact."),
|
|
9
|
+
id: z.number().int().describe("Unique numeric identifier of the contact.").nullable(),
|
|
10
|
+
email: z.string().describe("Email address of the contact.").nullable(),
|
|
11
11
|
lists: z.array(z.unknown()).describe("List of mailing list IDs or names the contact is subscribed to.").nullable().optional(),
|
|
12
12
|
status: z.string().describe("Current subscription status (e.g., 'subscribed', 'unsubscribed').").nullable().optional(),
|
|
13
13
|
confirmed: z.boolean().describe("Whether the contact has confirmed their email subscription.").nullable().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-contact-by-id.mjs","names":[],"sources":["../../src/actions/get-contact-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetContactByIdInput
|
|
1
|
+
{"version":3,"file":"get-contact-by-id.mjs","names":[],"sources":["../../src/actions/get-contact-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetContactByIdInput = z.object({\n contact_id: z.number().int().describe(\"Unique identifier of the contact to retrieve.\"),\n}).describe(\"Request model for retrieving a contact by its ID.\");\nexport const SendfoxGetContactByIdOutput = z.object({\n id: z.number().int().describe(\"Unique numeric identifier of the contact.\").nullable(),\n email: z.string().describe(\"Email address of the contact.\").nullable(),\n lists: z.array(z.unknown()).describe(\"List of mailing list IDs or names the contact is subscribed to.\").nullable().optional(),\n status: z.string().describe(\"Current subscription status (e.g., 'subscribed', 'unsubscribed').\").nullable().optional(),\n confirmed: z.boolean().describe(\"Whether the contact has confirmed their email subscription.\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the contact, if provided.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the contact was created (ISO 8601 format).\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact, if provided.\").nullable().optional(),\n unsubscribed: z.boolean().describe(\"Whether the contact has unsubscribed.\").nullable().optional(),\n}).describe(\"Response model for a contact retrieved by ID.\");\n\nexport const sendfoxGetContactById = action(\"SENDFOX_GET_CONTACT_BY_ID\", {\n slug: \"sendfox-get-contact-by-id\",\n name: \"Get Contact by ID\",\n description: \"Retrieves a contact's details by their unique ID from SendFox. Use this tool when you need to look up a specific contact's information after obtaining their ID from a contact list or other API response. Returns contact details including email, name, subscription status, and list memberships.\",\n input: SendfoxGetContactByIdInput,\n output: SendfoxGetContactByIdOutput,\n});\n"],"mappings":";;AAmBA,MAAa,wBAAwB,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBwC,EAAE,OAAO,EACjD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,EACvF,CAAC,CAAC,CAAC,SAAS,mDAiBH;CACP,QAjByC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACpF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACrE,OAAO,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
|
|
@@ -3,9 +3,9 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-contact-fields.ts
|
|
4
4
|
const SendfoxGetContactFieldsInput = zod.z.object({}).describe("Request schema for retrieving contact fields. No parameters required.");
|
|
5
5
|
const SendfoxGetContactFields_ContactFieldSchema = zod.z.object({
|
|
6
|
-
id: zod.z.number().int().describe("Unique identifier for the contact field"),
|
|
7
|
-
name: zod.z.string().describe("Name of the contact field (e.g., 'birthday', 'company')"),
|
|
8
|
-
type: zod.z.string().describe("Data type of the field (e.g., 'text', 'date', 'number')")
|
|
6
|
+
id: zod.z.number().int().describe("Unique identifier for the contact field").nullable(),
|
|
7
|
+
name: zod.z.string().describe("Name of the contact field (e.g., 'birthday', 'company')").nullable(),
|
|
8
|
+
type: zod.z.string().describe("Data type of the field (e.g., 'text', 'date', 'number')").nullable()
|
|
9
9
|
}).describe("Represents a contact field in SendFox.");
|
|
10
10
|
const SendfoxGetContactFieldsOutput = zod.z.object({ fields: zod.z.array(SendfoxGetContactFields_ContactFieldSchema).describe("List of contact fields configured in the SendFox account. May be empty if no custom fields exist.").nullable().optional() }).describe("Response schema containing list of contact fields.");
|
|
11
11
|
const sendfoxGetContactFields = require_action.action("SENDFOX_GET_CONTACT_FIELDS", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-contact-fields.cjs","names":["z","action"],"sources":["../../src/actions/get-contact-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetContactFieldsInput
|
|
1
|
+
{"version":3,"file":"get-contact-fields.cjs","names":["z","action"],"sources":["../../src/actions/get-contact-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetContactFieldsInput = z.object({}).describe(\"Request schema for retrieving contact fields. No parameters required.\");\nconst SendfoxGetContactFields_ContactFieldSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the contact field\").nullable(),\n name: z.string().describe(\"Name of the contact field (e.g., 'birthday', 'company')\").nullable(),\n type: z.string().describe(\"Data type of the field (e.g., 'text', 'date', 'number')\").nullable(),\n}).describe(\"Represents a contact field in SendFox.\");\nexport const SendfoxGetContactFieldsOutput = z.object({\n fields: z.array(SendfoxGetContactFields_ContactFieldSchema).describe(\"List of contact fields configured in the SendFox account. May be empty if no custom fields exist.\").nullable().optional(),\n}).describe(\"Response schema containing list of contact fields.\");\n\nexport const sendfoxGetContactFields = action(\"SENDFOX_GET_CONTACT_FIELDS\", {\n slug: \"sendfox-get-contact-fields\",\n name: \"Get Contact Fields\",\n description: \"Retrieves all contact fields available in the SendFox account. Use this to discover available fields before creating or updating contacts. Returns standard fields (email, first_name, last_name) and any custom fields configured in the account.\",\n input: SendfoxGetContactFieldsInput,\n output: SendfoxGetContactFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACzI,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC9F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,QAAQA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAChM,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-contact-fields.d.ts
|
|
4
|
-
declare const SendfoxGetContactFieldsInput: z.
|
|
5
|
-
declare const SendfoxGetContactFieldsOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const SendfoxGetContactFieldsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const SendfoxGetContactFieldsOutput: z.ZodObject<{
|
|
6
|
+
fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
7
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
8
|
+
name: z.ZodNullable<z.ZodString>;
|
|
9
|
+
type: z.ZodNullable<z.ZodString>;
|
|
10
|
+
}, z.core.$strip>>>>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const sendfoxGetContactFields: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { sendfoxGetContactFields };
|
|
9
15
|
//# sourceMappingURL=get-contact-fields.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-contact-fields.d.cts","names":[],"sources":["../../src/actions/get-contact-fields.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"get-contact-fields.d.cts","names":[],"sources":["../../src/actions/get-contact-fields.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAM5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-contact-fields.d.ts
|
|
4
|
-
declare const SendfoxGetContactFieldsInput: z.
|
|
5
|
-
declare const SendfoxGetContactFieldsOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const SendfoxGetContactFieldsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const SendfoxGetContactFieldsOutput: z.ZodObject<{
|
|
6
|
+
fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
7
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
8
|
+
name: z.ZodNullable<z.ZodString>;
|
|
9
|
+
type: z.ZodNullable<z.ZodString>;
|
|
10
|
+
}, z.core.$strip>>>>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const sendfoxGetContactFields: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { sendfoxGetContactFields };
|
|
9
15
|
//# sourceMappingURL=get-contact-fields.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-contact-fields.d.mts","names":[],"sources":["../../src/actions/get-contact-fields.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"get-contact-fields.d.mts","names":[],"sources":["../../src/actions/get-contact-fields.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAM5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -3,9 +3,9 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/get-contact-fields.ts
|
|
4
4
|
const SendfoxGetContactFieldsInput = z.object({}).describe("Request schema for retrieving contact fields. No parameters required.");
|
|
5
5
|
const SendfoxGetContactFields_ContactFieldSchema = z.object({
|
|
6
|
-
id: z.number().int().describe("Unique identifier for the contact field"),
|
|
7
|
-
name: z.string().describe("Name of the contact field (e.g., 'birthday', 'company')"),
|
|
8
|
-
type: z.string().describe("Data type of the field (e.g., 'text', 'date', 'number')")
|
|
6
|
+
id: z.number().int().describe("Unique identifier for the contact field").nullable(),
|
|
7
|
+
name: z.string().describe("Name of the contact field (e.g., 'birthday', 'company')").nullable(),
|
|
8
|
+
type: z.string().describe("Data type of the field (e.g., 'text', 'date', 'number')").nullable()
|
|
9
9
|
}).describe("Represents a contact field in SendFox.");
|
|
10
10
|
const sendfoxGetContactFields = action("SENDFOX_GET_CONTACT_FIELDS", {
|
|
11
11
|
slug: "sendfox-get-contact-fields",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-contact-fields.mjs","names":[],"sources":["../../src/actions/get-contact-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetContactFieldsInput
|
|
1
|
+
{"version":3,"file":"get-contact-fields.mjs","names":[],"sources":["../../src/actions/get-contact-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetContactFieldsInput = z.object({}).describe(\"Request schema for retrieving contact fields. No parameters required.\");\nconst SendfoxGetContactFields_ContactFieldSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the contact field\").nullable(),\n name: z.string().describe(\"Name of the contact field (e.g., 'birthday', 'company')\").nullable(),\n type: z.string().describe(\"Data type of the field (e.g., 'text', 'date', 'number')\").nullable(),\n}).describe(\"Represents a contact field in SendFox.\");\nexport const SendfoxGetContactFieldsOutput = z.object({\n fields: z.array(SendfoxGetContactFields_ContactFieldSchema).describe(\"List of contact fields configured in the SendFox account. May be empty if no custom fields exist.\").nullable().optional(),\n}).describe(\"Response schema containing list of contact fields.\");\n\nexport const sendfoxGetContactFields = action(\"SENDFOX_GET_CONTACT_FIELDS\", {\n slug: \"sendfox-get-contact-fields\",\n name: \"Get Contact Fields\",\n description: \"Retrieves all contact fields available in the SendFox account. Use this to discover available fields before creating or updating contacts. Returns standard fields (email, first_name, last_name) and any custom fields configured in the account.\",\n input: SendfoxGetContactFieldsInput,\n output: SendfoxGetContactFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACzI,MAAM,6CAA6C,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC9F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAKpD,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2C,EAAE,OAAO,EACpD,QAAQ,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAChM,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
|
|
@@ -6,8 +6,8 @@ const SendfoxGetContactsInListInput = zod.z.object({
|
|
|
6
6
|
list_id: zod.z.number().int().describe("Unique identifier of the list to retrieve contacts from.")
|
|
7
7
|
}).describe("Request schema for retrieving contacts in a specific list.");
|
|
8
8
|
const SendfoxGetContactsInList_ContactSchema = 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 SendfoxGetContactsInList_ContactSchema = zod.z.object({
|
|
|
17
17
|
}).describe("Schema representing a Sendfox contact.");
|
|
18
18
|
const SendfoxGetContactsInListOutput = zod.z.object({
|
|
19
19
|
data: zod.z.array(SendfoxGetContactsInList_ContactSchema).describe("List of contacts in the specified list."),
|
|
20
|
-
total: zod.z.number().int().describe("Total number of contacts in the list."),
|
|
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 contacts in the list.").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 paginated list of contacts in a specific list.");
|
|
24
24
|
const sendfoxGetContactsInList = require_action.action("SENDFOX_GET_CONTACTS_IN_LIST", {
|
|
25
25
|
slug: "sendfox-get-contacts-in-list",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-contacts-in-list.cjs","names":["z","action"],"sources":["../../src/actions/get-contacts-in-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetContactsInListInput
|
|
1
|
+
{"version":3,"file":"get-contacts-in-list.cjs","names":["z","action"],"sources":["../../src/actions/get-contacts-in-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetContactsInListInput = z.object({\n query: z.string().describe(\"Search query for filtering contacts by name or email.\").optional(),\n list_id: z.number().int().describe(\"Unique identifier of the list to retrieve contacts from.\"),\n}).describe(\"Request schema for retrieving contacts in a specific list.\");\nconst SendfoxGetContactsInList_ContactSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the contact.\").nullable(),\n email: z.string().describe(\"Email address of the contact.\").nullable(),\n last_name: z.string().describe(\"Last name of the contact.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the contact was created (ISO8601).\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact.\").nullable().optional(),\n ip_address: z.string().describe(\"IP address from which the contact subscribed.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the contact was last updated (ISO8601).\").nullable().optional(),\n unsubscribed_at: z.string().describe(\"Timestamp when the contact unsubscribed (ISO8601), null if still subscribed.\").nullable().optional(),\n}).describe(\"Schema representing a Sendfox contact.\");\nexport const SendfoxGetContactsInListOutput = z.object({\n data: z.array(SendfoxGetContactsInList_ContactSchema).describe(\"List of contacts in the specified list.\"),\n total: z.number().int().describe(\"Total number of contacts in the list.\").nullable(),\n per_page: z.number().int().describe(\"Number of contacts returned per page.\").nullable(),\n current_page: z.number().int().describe(\"Current page number in the pagination.\").nullable(),\n}).describe(\"Response schema for paginated list of contacts in a specific list.\");\n\nexport const sendfoxGetContactsInList = action(\"SENDFOX_GET_CONTACTS_IN_LIST\", {\n slug: \"sendfox-get-contacts-in-list\",\n name: \"Get Contacts in List\",\n description: \"Tool to retrieve contacts in a specific list. Use when you need to fetch all contacts belonging to a particular list, optionally filtering by search query.\",\n input: SendfoxGetContactsInListInput,\n output: SendfoxGetContactsInListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC7F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D;AAC/F,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,yCAAyC;CACxG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACnF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACtF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAEhF,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,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/get-contacts-in-list.d.ts
|
|
4
|
-
declare const SendfoxGetContactsInListInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SendfoxGetContactsInListInput: z.ZodObject<{
|
|
5
|
+
query: z.ZodOptional<z.ZodString>;
|
|
6
|
+
list_id: z.ZodNumber;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const SendfoxGetContactsInListOutput: 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 sendfoxGetContactsInList: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
|
+
list_id: number;
|
|
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 { sendfoxGetContactsInList };
|
|
9
29
|
//# sourceMappingURL=get-contacts-in-list.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-contacts-in-list.d.cts","names":[],"sources":["../../src/actions/get-contacts-in-list.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"get-contacts-in-list.d.cts","names":[],"sources":["../../src/actions/get-contacts-in-list.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAc7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAO9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -1,9 +1,29 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-contacts-in-list.d.ts
|
|
4
|
-
declare const SendfoxGetContactsInListInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SendfoxGetContactsInListInput: z.ZodObject<{
|
|
5
|
+
query: z.ZodOptional<z.ZodString>;
|
|
6
|
+
list_id: z.ZodNumber;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const SendfoxGetContactsInListOutput: 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 sendfoxGetContactsInList: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
|
+
list_id: number;
|
|
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 { sendfoxGetContactsInList };
|
|
9
29
|
//# sourceMappingURL=get-contacts-in-list.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-contacts-in-list.d.mts","names":[],"sources":["../../src/actions/get-contacts-in-list.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"get-contacts-in-list.d.mts","names":[],"sources":["../../src/actions/get-contacts-in-list.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAc7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAO9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -6,8 +6,8 @@ const SendfoxGetContactsInListInput = z.object({
|
|
|
6
6
|
list_id: z.number().int().describe("Unique identifier of the list to retrieve contacts from.")
|
|
7
7
|
}).describe("Request schema for retrieving contacts in a specific list.");
|
|
8
8
|
const SendfoxGetContactsInList_ContactSchema = 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 sendfoxGetContactsInList = action("SENDFOX_GET_CONTACTS_IN_LIST", {
|
|
|
22
22
|
input: SendfoxGetContactsInListInput,
|
|
23
23
|
output: z.object({
|
|
24
24
|
data: z.array(SendfoxGetContactsInList_ContactSchema).describe("List of contacts in the specified list."),
|
|
25
|
-
total: z.number().int().describe("Total number of contacts in the list."),
|
|
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 contacts in the list.").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 paginated list of contacts in a specific list.")
|
|
29
29
|
});
|
|
30
30
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-contacts-in-list.mjs","names":[],"sources":["../../src/actions/get-contacts-in-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetContactsInListInput
|
|
1
|
+
{"version":3,"file":"get-contacts-in-list.mjs","names":[],"sources":["../../src/actions/get-contacts-in-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetContactsInListInput = z.object({\n query: z.string().describe(\"Search query for filtering contacts by name or email.\").optional(),\n list_id: z.number().int().describe(\"Unique identifier of the list to retrieve contacts from.\"),\n}).describe(\"Request schema for retrieving contacts in a specific list.\");\nconst SendfoxGetContactsInList_ContactSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the contact.\").nullable(),\n email: z.string().describe(\"Email address of the contact.\").nullable(),\n last_name: z.string().describe(\"Last name of the contact.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the contact was created (ISO8601).\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact.\").nullable().optional(),\n ip_address: z.string().describe(\"IP address from which the contact subscribed.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the contact was last updated (ISO8601).\").nullable().optional(),\n unsubscribed_at: z.string().describe(\"Timestamp when the contact unsubscribed (ISO8601), null if still subscribed.\").nullable().optional(),\n}).describe(\"Schema representing a Sendfox contact.\");\nexport const SendfoxGetContactsInListOutput = z.object({\n data: z.array(SendfoxGetContactsInList_ContactSchema).describe(\"List of contacts in the specified list.\"),\n total: z.number().int().describe(\"Total number of contacts in the list.\").nullable(),\n per_page: z.number().int().describe(\"Number of contacts returned per page.\").nullable(),\n current_page: z.number().int().describe(\"Current page number in the pagination.\").nullable(),\n}).describe(\"Response schema for paginated list of contacts in a specific list.\");\n\nexport const sendfoxGetContactsInList = action(\"SENDFOX_GET_CONTACTS_IN_LIST\", {\n slug: \"sendfox-get-contacts-in-list\",\n name: \"Get Contacts in List\",\n description: \"Tool to retrieve contacts in a specific list. Use when you need to fetch all contacts belonging to a particular list, optionally filtering by search query.\",\n input: SendfoxGetContactsInListInput,\n output: SendfoxGetContactsInListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC7F,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D;AAC/F,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,yCAAyC,EAAE,OAAO;CACtD,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,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAQpD,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZ4C,EAAE,OAAO;EACrD,MAAM,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,yCAAyC;EACxG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EACnF,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,oEAOF;AACV,CAAC"}
|
|
@@ -6,8 +6,8 @@ const SendfoxGetContactsInput = zod.z.object({
|
|
|
6
6
|
email: zod.z.string().describe("Filter contacts by exact email address to find a specific contact.").optional()
|
|
7
7
|
}).describe("Request parameters for retrieving a paginated list of contacts.");
|
|
8
8
|
const SendfoxGetContacts_ContactSchema = 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 SendfoxGetContacts_ContactSchema = zod.z.object({
|
|
|
17
17
|
}).describe("Schema representing a Sendfox contact.");
|
|
18
18
|
const SendfoxGetContactsOutput = zod.z.object({
|
|
19
19
|
data: zod.z.array(SendfoxGetContacts_ContactSchema).describe("List of contacts returned by the API."),
|
|
20
|
-
total: zod.z.number().int().describe("Total number of 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 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 contacts.");
|
|
24
24
|
const sendfoxGetContacts = require_action.action("SENDFOX_GET_CONTACTS", {
|
|
25
25
|
slug: "sendfox-get-contacts",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-contacts.cjs","names":["z","action"],"sources":["../../src/actions/get-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetContactsInput
|
|
1
|
+
{"version":3,"file":"get-contacts.cjs","names":["z","action"],"sources":["../../src/actions/get-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetContactsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (starts at 1).\").optional(),\n email: z.string().describe(\"Filter contacts by exact email address to find a specific contact.\").optional(),\n}).describe(\"Request parameters for retrieving a paginated list of contacts.\");\nconst SendfoxGetContacts_ContactSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the contact.\").nullable(),\n email: z.string().describe(\"Email address of the contact.\").nullable(),\n last_name: z.string().describe(\"Last name of the contact.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the contact was created (ISO8601).\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact.\").nullable().optional(),\n ip_address: z.string().describe(\"IP address from which the contact subscribed.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the contact was last updated (ISO8601).\").nullable().optional(),\n unsubscribed_at: z.string().describe(\"Timestamp when the contact unsubscribed (ISO8601), null if still subscribed.\").nullable().optional(),\n}).describe(\"Schema representing a Sendfox contact.\");\nexport const SendfoxGetContactsOutput = z.object({\n data: z.array(SendfoxGetContacts_ContactSchema).describe(\"List of contacts returned by the API.\"),\n total: z.number().int().describe(\"Total number of 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 contacts.\");\n\nexport const sendfoxGetContacts = action(\"SENDFOX_GET_CONTACTS\", {\n slug: \"sendfox-get-contacts\",\n name: \"Get Contacts\",\n description: \"Tool to retrieve a paginated list of contacts. Use when you need to fetch contacts in pages, optionally filtering by email.\",\n input: SendfoxGetContactsInput,\n output: SendfoxGetContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,uCAAuC;CAChG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACjF,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,mDAAmD;AAE/D,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,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/get-contacts.d.ts
|
|
4
|
-
declare const SendfoxGetContactsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SendfoxGetContactsInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
email: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const SendfoxGetContactsOutput: 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 sendfoxGetContacts: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
|
+
page?: number | undefined;
|
|
25
|
+
email?: string | undefined;
|
|
26
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
27
|
//#endregion
|
|
8
28
|
export { sendfoxGetContacts };
|
|
9
29
|
//# sourceMappingURL=get-contacts.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-contacts.d.cts","names":[],"sources":["../../src/actions/get-contacts.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"get-contacts.d.cts","names":[],"sources":["../../src/actions/get-contacts.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAcvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAOxB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -1,9 +1,29 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-contacts.d.ts
|
|
4
|
-
declare const SendfoxGetContactsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SendfoxGetContactsInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
email: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const SendfoxGetContactsOutput: 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 sendfoxGetContacts: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
|
+
page?: number | undefined;
|
|
25
|
+
email?: string | undefined;
|
|
26
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
27
|
//#endregion
|
|
8
28
|
export { sendfoxGetContacts };
|
|
9
29
|
//# sourceMappingURL=get-contacts.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-contacts.d.mts","names":[],"sources":["../../src/actions/get-contacts.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"get-contacts.d.mts","names":[],"sources":["../../src/actions/get-contacts.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAcvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAOxB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -6,8 +6,8 @@ const SendfoxGetContactsInput = z.object({
|
|
|
6
6
|
email: z.string().describe("Filter contacts by exact email address to find a specific contact.").optional()
|
|
7
7
|
}).describe("Request parameters for retrieving a paginated list of contacts.");
|
|
8
8
|
const SendfoxGetContacts_ContactSchema = 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 sendfoxGetContacts = action("SENDFOX_GET_CONTACTS", {
|
|
|
22
22
|
input: SendfoxGetContactsInput,
|
|
23
23
|
output: z.object({
|
|
24
24
|
data: z.array(SendfoxGetContacts_ContactSchema).describe("List of contacts returned by the API."),
|
|
25
|
-
total: z.number().int().describe("Total number of 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 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 contacts.")
|
|
29
29
|
});
|
|
30
30
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-contacts.mjs","names":[],"sources":["../../src/actions/get-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetContactsInput
|
|
1
|
+
{"version":3,"file":"get-contacts.mjs","names":[],"sources":["../../src/actions/get-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetContactsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (starts at 1).\").optional(),\n email: z.string().describe(\"Filter contacts by exact email address to find a specific contact.\").optional(),\n}).describe(\"Request parameters for retrieving a paginated list of contacts.\");\nconst SendfoxGetContacts_ContactSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the contact.\").nullable(),\n email: z.string().describe(\"Email address of the contact.\").nullable(),\n last_name: z.string().describe(\"Last name of the contact.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the contact was created (ISO8601).\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact.\").nullable().optional(),\n ip_address: z.string().describe(\"IP address from which the contact subscribed.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the contact was last updated (ISO8601).\").nullable().optional(),\n unsubscribed_at: z.string().describe(\"Timestamp when the contact unsubscribed (ISO8601), null if still subscribed.\").nullable().optional(),\n}).describe(\"Schema representing a Sendfox contact.\");\nexport const SendfoxGetContactsOutput = z.object({\n data: z.array(SendfoxGetContacts_ContactSchema).describe(\"List of contacts returned by the API.\"),\n total: z.number().int().describe(\"Total number of 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 contacts.\");\n\nexport const sendfoxGetContacts = action(\"SENDFOX_GET_CONTACTS\", {\n slug: \"sendfox-get-contacts\",\n name: \"Get Contacts\",\n description: \"Tool to retrieve a paginated list of contacts. Use when you need to fetch contacts in pages, optionally filtering by email.\",\n input: SendfoxGetContactsInput,\n output: SendfoxGetContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,mCAAmC,EAAE,OAAO;CAChD,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,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAQpD,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZsC,EAAE,OAAO;EAC/C,MAAM,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,uCAAuC;EAChG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EACjF,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,mDAOF;AACV,CAAC"}
|
|
@@ -3,9 +3,9 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-current-user.ts
|
|
4
4
|
const SendfoxGetCurrentUserInput = zod.z.object({}).describe("Request model for retrieving current authenticated user information.\nThis endpoint requires no parameters.");
|
|
5
5
|
const SendfoxGetCurrentUserOutput = zod.z.object({
|
|
6
|
-
id: zod.z.number().int().describe("Unique identifier of the user."),
|
|
7
|
-
name: zod.z.string().describe("Name of the authenticated user."),
|
|
8
|
-
email: zod.z.string().describe("Email address of the authenticated user."),
|
|
6
|
+
id: zod.z.number().int().describe("Unique identifier of the user.").nullable(),
|
|
7
|
+
name: zod.z.string().describe("Name of the authenticated user.").nullable(),
|
|
8
|
+
email: zod.z.string().describe("Email address of the authenticated user.").nullable(),
|
|
9
9
|
country: zod.z.string().describe("Country of the user.").nullable().optional(),
|
|
10
10
|
language: zod.z.string().describe("Preferred language of the user.").nullable().optional(),
|
|
11
11
|
timezone: zod.z.string().describe("Timezone of the user.").nullable().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-current-user.cjs","names":["z","action"],"sources":["../../src/actions/get-current-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetCurrentUserInput
|
|
1
|
+
{"version":3,"file":"get-current-user.cjs","names":["z","action"],"sources":["../../src/actions/get-current-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetCurrentUserInput = z.object({}).describe(\"Request model for retrieving current authenticated user information.\\nThis endpoint requires no parameters.\");\nexport const SendfoxGetCurrentUserOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the user.\").nullable(),\n name: z.string().describe(\"Name of the authenticated user.\").nullable(),\n email: z.string().describe(\"Email address of the authenticated user.\").nullable(),\n country: z.string().describe(\"Country of the user.\").nullable().optional(),\n language: z.string().describe(\"Preferred language of the user.\").nullable().optional(),\n timezone: z.string().describe(\"Timezone of the user.\").nullable().optional(),\n google_id: z.string().describe(\"Google ID associated with the user account.\").nullable().optional(),\n disabled_at: z.string().describe(\"Timestamp when the user account was disabled (ISO 8601 format).\").nullable().optional(),\n vanity_path: z.string().describe(\"Vanity path for the user's account.\").nullable().optional(),\n disable_optimization: z.number().int().describe(\"Flag indicating if optimization is disabled.\").nullable().optional(),\n device_verification_enabled: z.boolean().describe(\"Flag indicating if device verification is enabled.\").nullable().optional(),\n contact_referrals_enabled_at: z.string().describe(\"Timestamp when contact referrals were enabled (ISO 8601 format).\").nullable().optional(),\n}).describe(\"Response model for current user information.\");\n\nexport const sendfoxGetCurrentUser = action(\"SENDFOX_GET_CURRENT_USER\", {\n slug: \"sendfox-get-current-user\",\n name: \"Get Current User\",\n description: \"Tool to retrieve information about the authenticated user from SendFox. Returns user details including name, email, contact count, and contact limit. Use this tool when you need to check account information or verify authentication status.\",\n input: SendfoxGetCurrentUserInput,\n output: SendfoxGetCurrentUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6GAA6G;AAC7K,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,6BAA6BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5I,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|