@keystrokehq/sendfox 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/delete-contact-from-list.cjs +1 -1
- package/dist/actions/delete-contact-from-list.cjs.map +1 -1
- package/dist/actions/delete-contact-from-list.d.cts +1 -1
- package/dist/actions/delete-contact-from-list.d.mts +1 -1
- package/dist/actions/delete-contact-from-list.mjs +1 -1
- package/dist/actions/delete-contact-from-list.mjs.map +1 -1
- package/dist/actions/get-automations.cjs +2 -2
- package/dist/actions/get-automations.cjs.map +1 -1
- package/dist/actions/get-automations.d.cts +2 -2
- package/dist/actions/get-automations.d.mts +2 -2
- package/dist/actions/get-automations.mjs +2 -2
- package/dist/actions/get-automations.mjs.map +1 -1
- package/dist/actions/get-campaign-by-id.cjs +1 -1
- package/dist/actions/get-campaign-by-id.cjs.map +1 -1
- package/dist/actions/get-campaign-by-id.d.cts +1 -1
- package/dist/actions/get-campaign-by-id.d.mts +1 -1
- package/dist/actions/get-campaign-by-id.mjs +1 -1
- package/dist/actions/get-campaign-by-id.mjs.map +1 -1
- package/dist/actions/get-campaigns.cjs +2 -2
- package/dist/actions/get-campaigns.cjs.map +1 -1
- package/dist/actions/get-campaigns.d.cts +2 -2
- package/dist/actions/get-campaigns.d.mts +2 -2
- package/dist/actions/get-campaigns.mjs +2 -2
- package/dist/actions/get-campaigns.mjs.map +1 -1
- package/dist/actions/get-contact-by-id.cjs +1 -1
- package/dist/actions/get-contact-by-id.cjs.map +1 -1
- package/dist/actions/get-contact-by-id.d.cts +1 -1
- package/dist/actions/get-contact-by-id.d.mts +1 -1
- package/dist/actions/get-contact-by-id.mjs +1 -1
- package/dist/actions/get-contact-by-id.mjs.map +1 -1
- package/dist/actions/get-contact-fields.cjs +2 -2
- package/dist/actions/get-contact-fields.cjs.map +1 -1
- package/dist/actions/get-contact-fields.d.cts +2 -2
- package/dist/actions/get-contact-fields.d.mts +2 -2
- package/dist/actions/get-contact-fields.mjs +2 -2
- package/dist/actions/get-contact-fields.mjs.map +1 -1
- package/dist/actions/get-contacts-in-list.cjs +2 -2
- package/dist/actions/get-contacts-in-list.cjs.map +1 -1
- package/dist/actions/get-contacts-in-list.d.cts +2 -2
- package/dist/actions/get-contacts-in-list.d.mts +2 -2
- package/dist/actions/get-contacts-in-list.mjs +2 -2
- package/dist/actions/get-contacts-in-list.mjs.map +1 -1
- package/dist/actions/get-contacts.cjs +2 -2
- package/dist/actions/get-contacts.cjs.map +1 -1
- package/dist/actions/get-contacts.d.cts +2 -2
- package/dist/actions/get-contacts.d.mts +2 -2
- package/dist/actions/get-contacts.mjs +2 -2
- package/dist/actions/get-contacts.mjs.map +1 -1
- package/dist/actions/get-current-user.cjs +1 -1
- package/dist/actions/get-current-user.cjs.map +1 -1
- package/dist/actions/get-current-user.d.cts +1 -1
- package/dist/actions/get-current-user.d.mts +1 -1
- package/dist/actions/get-current-user.mjs +1 -1
- package/dist/actions/get-current-user.mjs.map +1 -1
- package/dist/actions/get-forms.cjs +2 -2
- package/dist/actions/get-forms.cjs.map +1 -1
- package/dist/actions/get-forms.d.cts +2 -2
- package/dist/actions/get-forms.d.mts +2 -2
- package/dist/actions/get-forms.mjs +2 -2
- package/dist/actions/get-forms.mjs.map +1 -1
- package/dist/actions/get-list-by-id.cjs +1 -1
- package/dist/actions/get-list-by-id.cjs.map +1 -1
- package/dist/actions/get-list-by-id.d.cts +1 -1
- package/dist/actions/get-list-by-id.d.mts +1 -1
- package/dist/actions/get-list-by-id.mjs +1 -1
- package/dist/actions/get-list-by-id.mjs.map +1 -1
- package/dist/actions/get-lists.cjs +3 -3
- package/dist/actions/get-lists.cjs.map +1 -1
- package/dist/actions/get-lists.d.cts +3 -3
- package/dist/actions/get-lists.d.mts +3 -3
- package/dist/actions/get-lists.mjs +3 -3
- package/dist/actions/get-lists.mjs.map +1 -1
- package/dist/actions/list-contact-fields.cjs +3 -3
- package/dist/actions/list-contact-fields.cjs.map +1 -1
- package/dist/actions/list-contact-fields.d.cts +3 -3
- package/dist/actions/list-contact-fields.d.mts +3 -3
- package/dist/actions/list-contact-fields.mjs +3 -3
- package/dist/actions/list-contact-fields.mjs.map +1 -1
- package/dist/actions/list-unsubscribed-contacts.cjs +2 -2
- package/dist/actions/list-unsubscribed-contacts.cjs.map +1 -1
- package/dist/actions/list-unsubscribed-contacts.d.cts +2 -2
- package/dist/actions/list-unsubscribed-contacts.d.mts +2 -2
- package/dist/actions/list-unsubscribed-contacts.mjs +2 -2
- package/dist/actions/list-unsubscribed-contacts.mjs.map +1 -1
- package/dist/actions/patch-unsubscribe-contact.cjs +1 -1
- package/dist/actions/patch-unsubscribe-contact.cjs.map +1 -1
- package/dist/actions/patch-unsubscribe-contact.d.cts +1 -1
- package/dist/actions/patch-unsubscribe-contact.d.mts +1 -1
- package/dist/actions/patch-unsubscribe-contact.mjs +1 -1
- package/dist/actions/patch-unsubscribe-contact.mjs.map +1 -1
- package/dist/actions/post-create-contact.cjs +1 -1
- package/dist/actions/post-create-contact.cjs.map +1 -1
- package/dist/actions/post-create-contact.d.cts +1 -1
- package/dist/actions/post-create-contact.d.mts +1 -1
- package/dist/actions/post-create-contact.mjs +1 -1
- package/dist/actions/post-create-contact.mjs.map +1 -1
- package/dist/actions/post-create-list.cjs +1 -1
- package/dist/actions/post-create-list.cjs.map +1 -1
- package/dist/actions/post-create-list.d.cts +1 -1
- package/dist/actions/post-create-list.d.mts +1 -1
- package/dist/actions/post-create-list.mjs +1 -1
- package/dist/actions/post-create-list.mjs.map +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -15,11 +15,11 @@ declare const SendfoxGetContactsInListOutput: z.ZodObject<{
|
|
|
15
15
|
ip_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
unsubscribed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>;
|
|
19
19
|
total: z.ZodNullable<z.ZodNumber>;
|
|
20
20
|
per_page: z.ZodNullable<z.ZodNumber>;
|
|
21
21
|
current_page: z.ZodNullable<z.ZodNumber>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>;
|
|
23
23
|
declare const sendfoxGetContactsInList: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
24
|
list_id: number;
|
|
25
25
|
query?: string | undefined;
|
|
@@ -15,11 +15,11 @@ declare const SendfoxGetContactsInListOutput: z.ZodObject<{
|
|
|
15
15
|
ip_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
unsubscribed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>;
|
|
19
19
|
total: z.ZodNullable<z.ZodNumber>;
|
|
20
20
|
per_page: z.ZodNullable<z.ZodNumber>;
|
|
21
21
|
current_page: z.ZodNullable<z.ZodNumber>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>;
|
|
23
23
|
declare const sendfoxGetContactsInList: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
24
|
list_id: number;
|
|
25
25
|
query?: string | undefined;
|
|
@@ -14,7 +14,7 @@ const SendfoxGetContactsInList_ContactSchema = z.object({
|
|
|
14
14
|
ip_address: z.string().describe("IP address from which the contact subscribed.").nullable().optional(),
|
|
15
15
|
updated_at: z.string().describe("Timestamp when the contact was last updated (ISO8601).").nullable().optional(),
|
|
16
16
|
unsubscribed_at: z.string().describe("Timestamp when the contact unsubscribed (ISO8601), null if still subscribed.").nullable().optional()
|
|
17
|
-
}).describe("Schema representing a Sendfox contact.");
|
|
17
|
+
}).passthrough().describe("Schema representing a Sendfox contact.");
|
|
18
18
|
const sendfoxGetContactsInList = action("SENDFOX_GET_CONTACTS_IN_LIST", {
|
|
19
19
|
slug: "sendfox-get-contacts-in-list",
|
|
20
20
|
name: "Get Contacts in List",
|
|
@@ -25,7 +25,7 @@ const sendfoxGetContactsInList = action("SENDFOX_GET_CONTACTS_IN_LIST", {
|
|
|
25
25
|
total: z.number().int().describe("Total number of contacts in the list.").nullable(),
|
|
26
26
|
per_page: z.number().int().describe("Number of contacts returned per page.").nullable(),
|
|
27
27
|
current_page: z.number().int().describe("Current page number in the pagination.").nullable()
|
|
28
|
-
}).describe("Response schema for paginated list of contacts in a specific list.")
|
|
28
|
+
}).passthrough().describe("Response schema for paginated list of contacts in a specific list.")
|
|
29
29
|
});
|
|
30
30
|
//#endregion
|
|
31
31
|
export { sendfoxGetContactsInList };
|
|
@@ -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 = 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;
|
|
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}).passthrough().describe(\"Schema representing a Sendfox contact.\");\nexport const SendfoxGetContactsInListOutput = z.object({\n data: z.array(SendfoxGetContactsInList_ContactSchema).describe(\"List of contacts in the specified list.\"),\n total: z.number().int().describe(\"Total number of contacts in the list.\").nullable(),\n per_page: z.number().int().describe(\"Number of contacts returned per page.\").nullable(),\n current_page: z.number().int().describe(\"Current page number in the pagination.\").nullable(),\n}).passthrough().describe(\"Response schema for paginated list of contacts in a specific list.\");\n\nexport const sendfoxGetContactsInList = action(\"SENDFOX_GET_CONTACTS_IN_LIST\", {\n slug: \"sendfox-get-contacts-in-list\",\n name: \"Get Contacts in List\",\n description: \"Tool to retrieve contacts in a specific list. Use when you need to fetch all contacts belonging to a particular list, optionally filtering by search query.\",\n input: SendfoxGetContactsInListInput,\n output: SendfoxGetContactsInListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,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,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAQlE,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,YAAY,CAAC,CAAC,SAAS,oEAOhB;AACV,CAAC"}
|
|
@@ -14,13 +14,13 @@ const SendfoxGetContacts_ContactSchema = zod.z.object({
|
|
|
14
14
|
ip_address: zod.z.string().describe("IP address from which the contact subscribed.").nullable().optional(),
|
|
15
15
|
updated_at: zod.z.string().describe("Timestamp when the contact was last updated (ISO8601).").nullable().optional(),
|
|
16
16
|
unsubscribed_at: zod.z.string().describe("Timestamp when the contact unsubscribed (ISO8601), null if still subscribed.").nullable().optional()
|
|
17
|
-
}).describe("Schema representing a Sendfox contact.");
|
|
17
|
+
}).passthrough().describe("Schema representing a Sendfox contact.");
|
|
18
18
|
const SendfoxGetContactsOutput = zod.z.object({
|
|
19
19
|
data: zod.z.array(SendfoxGetContacts_ContactSchema).describe("List of contacts returned by the API."),
|
|
20
20
|
total: zod.z.number().int().describe("Total number of contacts available.").nullable(),
|
|
21
21
|
per_page: zod.z.number().int().describe("Number of contacts returned per page.").nullable(),
|
|
22
22
|
current_page: zod.z.number().int().describe("Current page number in the pagination.").nullable()
|
|
23
|
-
}).describe("Response schema for a paginated list of contacts.");
|
|
23
|
+
}).passthrough().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",
|
|
26
26
|
name: "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 = 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;
|
|
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}).passthrough().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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,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,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -15,11 +15,11 @@ declare const SendfoxGetContactsOutput: z.ZodObject<{
|
|
|
15
15
|
ip_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
unsubscribed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>;
|
|
19
19
|
total: z.ZodNullable<z.ZodNumber>;
|
|
20
20
|
per_page: z.ZodNullable<z.ZodNumber>;
|
|
21
21
|
current_page: z.ZodNullable<z.ZodNumber>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>;
|
|
23
23
|
declare const sendfoxGetContacts: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
24
|
page?: number | undefined;
|
|
25
25
|
email?: string | undefined;
|
|
@@ -15,11 +15,11 @@ declare const SendfoxGetContactsOutput: z.ZodObject<{
|
|
|
15
15
|
ip_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
unsubscribed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>;
|
|
19
19
|
total: z.ZodNullable<z.ZodNumber>;
|
|
20
20
|
per_page: z.ZodNullable<z.ZodNumber>;
|
|
21
21
|
current_page: z.ZodNullable<z.ZodNumber>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>;
|
|
23
23
|
declare const sendfoxGetContacts: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
24
|
page?: number | undefined;
|
|
25
25
|
email?: string | undefined;
|
|
@@ -14,7 +14,7 @@ const SendfoxGetContacts_ContactSchema = z.object({
|
|
|
14
14
|
ip_address: z.string().describe("IP address from which the contact subscribed.").nullable().optional(),
|
|
15
15
|
updated_at: z.string().describe("Timestamp when the contact was last updated (ISO8601).").nullable().optional(),
|
|
16
16
|
unsubscribed_at: z.string().describe("Timestamp when the contact unsubscribed (ISO8601), null if still subscribed.").nullable().optional()
|
|
17
|
-
}).describe("Schema representing a Sendfox contact.");
|
|
17
|
+
}).passthrough().describe("Schema representing a Sendfox contact.");
|
|
18
18
|
const sendfoxGetContacts = action("SENDFOX_GET_CONTACTS", {
|
|
19
19
|
slug: "sendfox-get-contacts",
|
|
20
20
|
name: "Get Contacts",
|
|
@@ -25,7 +25,7 @@ const sendfoxGetContacts = action("SENDFOX_GET_CONTACTS", {
|
|
|
25
25
|
total: z.number().int().describe("Total number of contacts available.").nullable(),
|
|
26
26
|
per_page: z.number().int().describe("Number of contacts returned per page.").nullable(),
|
|
27
27
|
current_page: z.number().int().describe("Current page number in the pagination.").nullable()
|
|
28
|
-
}).describe("Response schema for a paginated list of contacts.")
|
|
28
|
+
}).passthrough().describe("Response schema for a paginated list of contacts.")
|
|
29
29
|
});
|
|
30
30
|
//#endregion
|
|
31
31
|
export { sendfoxGetContacts };
|
|
@@ -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 = 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;
|
|
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}).passthrough().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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAQlE,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,YAAY,CAAC,CAAC,SAAS,mDAOhB;AACV,CAAC"}
|
|
@@ -15,7 +15,7 @@ const SendfoxGetCurrentUserOutput = zod.z.object({
|
|
|
15
15
|
disable_optimization: zod.z.number().int().describe("Flag indicating if optimization is disabled.").nullable().optional(),
|
|
16
16
|
device_verification_enabled: zod.z.boolean().describe("Flag indicating if device verification is enabled.").nullable().optional(),
|
|
17
17
|
contact_referrals_enabled_at: zod.z.string().describe("Timestamp when contact referrals were enabled (ISO 8601 format).").nullable().optional()
|
|
18
|
-
}).describe("Response model for current user information.");
|
|
18
|
+
}).passthrough().describe("Response model for current user information.");
|
|
19
19
|
const sendfoxGetCurrentUser = require_action.action("SENDFOX_GET_CURRENT_USER", {
|
|
20
20
|
slug: "sendfox-get-current-user",
|
|
21
21
|
name: "Get Current User",
|
|
@@ -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 = 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;
|
|
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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -15,7 +15,7 @@ declare const SendfoxGetCurrentUserOutput: z.ZodObject<{
|
|
|
15
15
|
disable_optimization: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
16
|
device_verification_enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
17
17
|
contact_referrals_enabled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const sendfoxGetCurrentUser: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { sendfoxGetCurrentUser };
|
|
@@ -15,7 +15,7 @@ declare const SendfoxGetCurrentUserOutput: z.ZodObject<{
|
|
|
15
15
|
disable_optimization: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
16
|
device_verification_enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
17
17
|
contact_referrals_enabled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const sendfoxGetCurrentUser: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { sendfoxGetCurrentUser };
|
|
@@ -18,7 +18,7 @@ const sendfoxGetCurrentUser = action("SENDFOX_GET_CURRENT_USER", {
|
|
|
18
18
|
disable_optimization: z.number().int().describe("Flag indicating if optimization is disabled.").nullable().optional(),
|
|
19
19
|
device_verification_enabled: z.boolean().describe("Flag indicating if device verification is enabled.").nullable().optional(),
|
|
20
20
|
contact_referrals_enabled_at: z.string().describe("Timestamp when contact referrals were enabled (ISO 8601 format).").nullable().optional()
|
|
21
|
-
}).describe("Response model for current user information.")
|
|
21
|
+
}).passthrough().describe("Response model for current user information.")
|
|
22
22
|
});
|
|
23
23
|
//#endregion
|
|
24
24
|
export { sendfoxGetCurrentUser };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-current-user.mjs","names":[],"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":";;AAoBA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBwC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6GAoBvD;CACP,QApByC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAChF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,6BAA6B,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5I,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"get-current-user.mjs","names":[],"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}).passthrough().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":";;AAoBA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBwC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6GAoBvD;CACP,QApByC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAChF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,6BAA6B,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
|
|
@@ -8,13 +8,13 @@ const SendfoxGetForms_FormSchema = zod.z.object({
|
|
|
8
8
|
created_at: zod.z.string().describe("Timestamp when the form was created (ISO8601).").nullable().optional(),
|
|
9
9
|
updated_at: zod.z.string().describe("Timestamp when the form was last updated (ISO8601).").nullable().optional(),
|
|
10
10
|
landing_page_id: zod.z.number().int().describe("ID of the associated landing page, if any.").nullable().optional()
|
|
11
|
-
}).describe("Schema representing a SendFox form.");
|
|
11
|
+
}).passthrough().describe("Schema representing a SendFox form.");
|
|
12
12
|
const SendfoxGetFormsOutput = zod.z.object({
|
|
13
13
|
data: zod.z.array(SendfoxGetForms_FormSchema).describe("List of forms returned by the API."),
|
|
14
14
|
total: zod.z.number().int().describe("Total number of forms available.").nullable().optional(),
|
|
15
15
|
per_page: zod.z.number().int().describe("Number of forms returned per page.").nullable().optional(),
|
|
16
16
|
current_page: zod.z.number().int().describe("Current page number in the pagination.").nullable().optional()
|
|
17
|
-
}).describe("Response schema for a paginated list of forms.");
|
|
17
|
+
}).passthrough().describe("Response schema for a paginated list of forms.");
|
|
18
18
|
const sendfoxGetForms = require_action.action("SENDFOX_GET_FORMS", {
|
|
19
19
|
slug: "sendfox-get-forms",
|
|
20
20
|
name: "Get Forms",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-forms.cjs","names":["z","action"],"sources":["../../src/actions/get-forms.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetFormsInput = z.object({\n query: z.string().describe(\"Search query for filtering forms by title or other attributes.\").optional(),\n}).describe(\"Request parameters for retrieving a paginated list of forms.\");\nconst SendfoxGetForms_FormSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the form.\").nullable(),\n title: z.string().describe(\"Title of the form.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the form was created (ISO8601).\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the form was last updated (ISO8601).\").nullable().optional(),\n landing_page_id: z.number().int().describe(\"ID of the associated landing page, if any.\").nullable().optional(),\n}).describe(\"Schema representing a SendFox form.\");\nexport const SendfoxGetFormsOutput = z.object({\n data: z.array(SendfoxGetForms_FormSchema).describe(\"List of forms returned by the API.\"),\n total: z.number().int().describe(\"Total number of forms available.\").nullable().optional(),\n per_page: z.number().int().describe(\"Number of forms returned per page.\").nullable().optional(),\n current_page: z.number().int().describe(\"Current page number in the pagination.\").nullable().optional(),\n}).describe(\"Response schema for a paginated list of forms.\");\n\nexport const sendfoxGetForms = action(\"SENDFOX_GET_FORMS\", {\n slug: \"sendfox-get-forms\",\n name: \"Get Forms\",\n description: \"Tool to retrieve a paginated list of forms from SendFox. Use when you need to fetch all forms or search for specific forms by query.\",\n input: SendfoxGetFormsInput,\n output: SendfoxGetFormsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,EACxG,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,6BAA6BA,IAAAA,EAAE,OAAO;CAC1C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC1D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,qCAAqC;
|
|
1
|
+
{"version":3,"file":"get-forms.cjs","names":["z","action"],"sources":["../../src/actions/get-forms.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetFormsInput = z.object({\n query: z.string().describe(\"Search query for filtering forms by title or other attributes.\").optional(),\n}).describe(\"Request parameters for retrieving a paginated list of forms.\");\nconst SendfoxGetForms_FormSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the form.\").nullable(),\n title: z.string().describe(\"Title of the form.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the form was created (ISO8601).\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the form was last updated (ISO8601).\").nullable().optional(),\n landing_page_id: z.number().int().describe(\"ID of the associated landing page, if any.\").nullable().optional(),\n}).passthrough().describe(\"Schema representing a SendFox form.\");\nexport const SendfoxGetFormsOutput = z.object({\n data: z.array(SendfoxGetForms_FormSchema).describe(\"List of forms returned by the API.\"),\n total: z.number().int().describe(\"Total number of forms available.\").nullable().optional(),\n per_page: z.number().int().describe(\"Number of forms returned per page.\").nullable().optional(),\n current_page: z.number().int().describe(\"Current page number in the pagination.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a paginated list of forms.\");\n\nexport const sendfoxGetForms = action(\"SENDFOX_GET_FORMS\", {\n slug: \"sendfox-get-forms\",\n name: \"Get Forms\",\n description: \"Tool to retrieve a paginated list of forms from SendFox. Use when you need to fetch all forms or search for specific forms by query.\",\n input: SendfoxGetFormsInput,\n output: SendfoxGetFormsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,EACxG,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,6BAA6BA,IAAAA,EAAE,OAAO;CAC1C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC1D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,MAAMA,IAAAA,EAAE,MAAM,0BAA0B,CAAC,CAAC,SAAS,oCAAoC;CACvF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,11 +11,11 @@ declare const SendfoxGetFormsOutput: z.ZodObject<{
|
|
|
11
11
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
landing_page_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>;
|
|
15
15
|
total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
16
|
per_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
17
|
current_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const sendfoxGetForms: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
query?: string | undefined;
|
|
21
21
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -11,11 +11,11 @@ declare const SendfoxGetFormsOutput: z.ZodObject<{
|
|
|
11
11
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
landing_page_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>;
|
|
15
15
|
total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
16
|
per_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
17
|
current_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const sendfoxGetForms: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
query?: string | undefined;
|
|
21
21
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,7 +8,7 @@ const SendfoxGetForms_FormSchema = z.object({
|
|
|
8
8
|
created_at: z.string().describe("Timestamp when the form was created (ISO8601).").nullable().optional(),
|
|
9
9
|
updated_at: z.string().describe("Timestamp when the form was last updated (ISO8601).").nullable().optional(),
|
|
10
10
|
landing_page_id: z.number().int().describe("ID of the associated landing page, if any.").nullable().optional()
|
|
11
|
-
}).describe("Schema representing a SendFox form.");
|
|
11
|
+
}).passthrough().describe("Schema representing a SendFox form.");
|
|
12
12
|
const sendfoxGetForms = action("SENDFOX_GET_FORMS", {
|
|
13
13
|
slug: "sendfox-get-forms",
|
|
14
14
|
name: "Get Forms",
|
|
@@ -19,7 +19,7 @@ const sendfoxGetForms = action("SENDFOX_GET_FORMS", {
|
|
|
19
19
|
total: z.number().int().describe("Total number of forms available.").nullable().optional(),
|
|
20
20
|
per_page: z.number().int().describe("Number of forms returned per page.").nullable().optional(),
|
|
21
21
|
current_page: z.number().int().describe("Current page number in the pagination.").nullable().optional()
|
|
22
|
-
}).describe("Response schema for a paginated list of forms.")
|
|
22
|
+
}).passthrough().describe("Response schema for a paginated list of forms.")
|
|
23
23
|
});
|
|
24
24
|
//#endregion
|
|
25
25
|
export { sendfoxGetForms };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-forms.mjs","names":[],"sources":["../../src/actions/get-forms.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetFormsInput = z.object({\n query: z.string().describe(\"Search query for filtering forms by title or other attributes.\").optional(),\n}).describe(\"Request parameters for retrieving a paginated list of forms.\");\nconst SendfoxGetForms_FormSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the form.\").nullable(),\n title: z.string().describe(\"Title of the form.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the form was created (ISO8601).\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the form was last updated (ISO8601).\").nullable().optional(),\n landing_page_id: z.number().int().describe(\"ID of the associated landing page, if any.\").nullable().optional(),\n}).describe(\"Schema representing a SendFox form.\");\nexport const SendfoxGetFormsOutput = z.object({\n data: z.array(SendfoxGetForms_FormSchema).describe(\"List of forms returned by the API.\"),\n total: z.number().int().describe(\"Total number of forms available.\").nullable().optional(),\n per_page: z.number().int().describe(\"Number of forms returned per page.\").nullable().optional(),\n current_page: z.number().int().describe(\"Current page number in the pagination.\").nullable().optional(),\n}).describe(\"Response schema for a paginated list of forms.\");\n\nexport const sendfoxGetForms = action(\"SENDFOX_GET_FORMS\", {\n slug: \"sendfox-get-forms\",\n name: \"Get Forms\",\n description: \"Tool to retrieve a paginated list of forms from SendFox. Use when you need to fetch all forms or search for specific forms by query.\",\n input: SendfoxGetFormsInput,\n output: SendfoxGetFormsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuB,EAAE,OAAO,EAC3C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,EACxG,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,6BAA6B,EAAE,OAAO;CAC1C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC1D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,qCAAqC;
|
|
1
|
+
{"version":3,"file":"get-forms.mjs","names":[],"sources":["../../src/actions/get-forms.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetFormsInput = z.object({\n query: z.string().describe(\"Search query for filtering forms by title or other attributes.\").optional(),\n}).describe(\"Request parameters for retrieving a paginated list of forms.\");\nconst SendfoxGetForms_FormSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the form.\").nullable(),\n title: z.string().describe(\"Title of the form.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the form was created (ISO8601).\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the form was last updated (ISO8601).\").nullable().optional(),\n landing_page_id: z.number().int().describe(\"ID of the associated landing page, if any.\").nullable().optional(),\n}).passthrough().describe(\"Schema representing a SendFox form.\");\nexport const SendfoxGetFormsOutput = z.object({\n data: z.array(SendfoxGetForms_FormSchema).describe(\"List of forms returned by the API.\"),\n total: z.number().int().describe(\"Total number of forms available.\").nullable().optional(),\n per_page: z.number().int().describe(\"Number of forms returned per page.\").nullable().optional(),\n current_page: z.number().int().describe(\"Current page number in the pagination.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a paginated list of forms.\");\n\nexport const sendfoxGetForms = action(\"SENDFOX_GET_FORMS\", {\n slug: \"sendfox-get-forms\",\n name: \"Get Forms\",\n description: \"Tool to retrieve a paginated list of forms from SendFox. Use when you need to fetch all forms or search for specific forms by query.\",\n input: SendfoxGetFormsInput,\n output: SendfoxGetFormsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuB,EAAE,OAAO,EAC3C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,EACxG,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,6BAA6B,EAAE,OAAO;CAC1C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC1D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAQ/D,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZmC,EAAE,OAAO;EAC5C,MAAM,EAAE,MAAM,0BAA0B,CAAC,CAAC,SAAS,oCAAoC;EACvF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ const SendfoxGetListByIdOutput = zod.z.object({
|
|
|
8
8
|
created_at: zod.z.string().describe("The date/time when the list was created (ISO 8601 format).").nullable().optional(),
|
|
9
9
|
updated_at: zod.z.string().describe("The date/time when the list was last updated (ISO 8601 format).").nullable().optional(),
|
|
10
10
|
contact_count: zod.z.number().int().describe("The total number of contacts currently in this list.").nullable()
|
|
11
|
-
}).describe("Response model for a contact list retrieved by its ID.");
|
|
11
|
+
}).passthrough().describe("Response model for a contact list retrieved by its ID.");
|
|
12
12
|
const sendfoxGetListById = require_action.action("SENDFOX_GET_LIST_BY_ID", {
|
|
13
13
|
slug: "sendfox-get-list-by-id",
|
|
14
14
|
name: "Get List by ID",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-list-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-list-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetListByIdInput = z.object({\n list_id: z.number().int().describe(\"The unique numeric identifier of the contact list to retrieve. You can obtain list IDs from the 'Get Lists' action.\"),\n}).describe(\"Request model for retrieving a contact list by its ID.\");\nexport const SendfoxGetListByIdOutput = z.object({\n id: z.number().int().describe(\"The unique numeric identifier of the list.\").nullable(),\n name: z.string().describe(\"The display name of the contact list.\").nullable(),\n created_at: z.string().describe(\"The date/time when the list was created (ISO 8601 format).\").nullable().optional(),\n updated_at: z.string().describe(\"The date/time when the list was last updated (ISO 8601 format).\").nullable().optional(),\n contact_count: z.number().int().describe(\"The total number of contacts currently in this list.\").nullable(),\n}).describe(\"Response model for a contact list retrieved by its ID.\");\n\nexport const sendfoxGetListById = action(\"SENDFOX_GET_LIST_BY_ID\", {\n slug: \"sendfox-get-list-by-id\",\n name: \"Get List by ID\",\n description: \"Retrieves details of a specific contact list by its ID from SendFox. Use this tool when you need information about a particular list (name, contact count, timestamps). Requires a valid list_id which can be obtained from the 'Get Lists' action.\",\n input: SendfoxGetListByIdInput,\n output: SendfoxGetListByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qHAAqH,EAC1J,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACrF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,wDAAwD;
|
|
1
|
+
{"version":3,"file":"get-list-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-list-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetListByIdInput = z.object({\n list_id: z.number().int().describe(\"The unique numeric identifier of the contact list to retrieve. You can obtain list IDs from the 'Get Lists' action.\"),\n}).describe(\"Request model for retrieving a contact list by its ID.\");\nexport const SendfoxGetListByIdOutput = z.object({\n id: z.number().int().describe(\"The unique numeric identifier of the list.\").nullable(),\n name: z.string().describe(\"The display name of the contact list.\").nullable(),\n created_at: z.string().describe(\"The date/time when the list was created (ISO 8601 format).\").nullable().optional(),\n updated_at: z.string().describe(\"The date/time when the list was last updated (ISO 8601 format).\").nullable().optional(),\n contact_count: z.number().int().describe(\"The total number of contacts currently in this list.\").nullable(),\n}).passthrough().describe(\"Response model for a contact list retrieved by its ID.\");\n\nexport const sendfoxGetListById = action(\"SENDFOX_GET_LIST_BY_ID\", {\n slug: \"sendfox-get-list-by-id\",\n name: \"Get List by ID\",\n description: \"Retrieves details of a specific contact list by its ID from SendFox. Use this tool when you need information about a particular list (name, contact count, timestamps). Requires a valid list_id which can be obtained from the 'Get Lists' action.\",\n input: SendfoxGetListByIdInput,\n output: SendfoxGetListByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qHAAqH,EAC1J,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACrF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,qBAAqBC,eAAAA,OAAO,0BAA0B;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -10,7 +10,7 @@ declare const SendfoxGetListByIdOutput: z.ZodObject<{
|
|
|
10
10
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
11
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
contact_count: z.ZodNullable<z.ZodNumber>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const sendfoxGetListById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
15
|
list_id: number;
|
|
16
16
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -10,7 +10,7 @@ declare const SendfoxGetListByIdOutput: z.ZodObject<{
|
|
|
10
10
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
11
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
contact_count: z.ZodNullable<z.ZodNumber>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const sendfoxGetListById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
15
|
list_id: number;
|
|
16
16
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -11,7 +11,7 @@ const sendfoxGetListById = action("SENDFOX_GET_LIST_BY_ID", {
|
|
|
11
11
|
created_at: z.string().describe("The date/time when the list was created (ISO 8601 format).").nullable().optional(),
|
|
12
12
|
updated_at: z.string().describe("The date/time when the list was last updated (ISO 8601 format).").nullable().optional(),
|
|
13
13
|
contact_count: z.number().int().describe("The total number of contacts currently in this list.").nullable()
|
|
14
|
-
}).describe("Response model for a contact list retrieved by its ID.")
|
|
14
|
+
}).passthrough().describe("Response model for a contact list retrieved by its ID.")
|
|
15
15
|
});
|
|
16
16
|
//#endregion
|
|
17
17
|
export { sendfoxGetListById };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-list-by-id.mjs","names":[],"sources":["../../src/actions/get-list-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetListByIdInput = z.object({\n list_id: z.number().int().describe(\"The unique numeric identifier of the contact list to retrieve. You can obtain list IDs from the 'Get Lists' action.\"),\n}).describe(\"Request model for retrieving a contact list by its ID.\");\nexport const SendfoxGetListByIdOutput = z.object({\n id: z.number().int().describe(\"The unique numeric identifier of the list.\").nullable(),\n name: z.string().describe(\"The display name of the contact list.\").nullable(),\n created_at: z.string().describe(\"The date/time when the list was created (ISO 8601 format).\").nullable().optional(),\n updated_at: z.string().describe(\"The date/time when the list was last updated (ISO 8601 format).\").nullable().optional(),\n contact_count: z.number().int().describe(\"The total number of contacts currently in this list.\").nullable(),\n}).describe(\"Response model for a contact list retrieved by its ID.\");\n\nexport const sendfoxGetListById = action(\"SENDFOX_GET_LIST_BY_ID\", {\n slug: \"sendfox-get-list-by-id\",\n name: \"Get List by ID\",\n description: \"Retrieves details of a specific contact list by its ID from SendFox. Use this tool when you need information about a particular list (name, contact count, timestamps). Requires a valid list_id which can be obtained from the 'Get Lists' action.\",\n input: SendfoxGetListByIdInput,\n output: SendfoxGetListByIdOutput,\n});\n"],"mappings":";;AAeA,MAAa,qBAAqB,OAAO,0BAA0B;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfqC,EAAE,OAAO,EAC9C,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qHAAqH,EAC1J,CAAC,CAAC,CAAC,SAAS,wDAaH;CACP,QAbsC,EAAE,OAAO;EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACrF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC5G,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"get-list-by-id.mjs","names":[],"sources":["../../src/actions/get-list-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetListByIdInput = z.object({\n list_id: z.number().int().describe(\"The unique numeric identifier of the contact list to retrieve. You can obtain list IDs from the 'Get Lists' action.\"),\n}).describe(\"Request model for retrieving a contact list by its ID.\");\nexport const SendfoxGetListByIdOutput = z.object({\n id: z.number().int().describe(\"The unique numeric identifier of the list.\").nullable(),\n name: z.string().describe(\"The display name of the contact list.\").nullable(),\n created_at: z.string().describe(\"The date/time when the list was created (ISO 8601 format).\").nullable().optional(),\n updated_at: z.string().describe(\"The date/time when the list was last updated (ISO 8601 format).\").nullable().optional(),\n contact_count: z.number().int().describe(\"The total number of contacts currently in this list.\").nullable(),\n}).passthrough().describe(\"Response model for a contact list retrieved by its ID.\");\n\nexport const sendfoxGetListById = action(\"SENDFOX_GET_LIST_BY_ID\", {\n slug: \"sendfox-get-list-by-id\",\n name: \"Get List by ID\",\n description: \"Retrieves details of a specific contact list by its ID from SendFox. Use this tool when you need information about a particular list (name, contact count, timestamps). Requires a valid list_id which can be obtained from the 'Get Lists' action.\",\n input: SendfoxGetListByIdInput,\n output: SendfoxGetListByIdOutput,\n});\n"],"mappings":";;AAeA,MAAa,qBAAqB,OAAO,0BAA0B;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfqC,EAAE,OAAO,EAC9C,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qHAAqH,EAC1J,CAAC,CAAC,CAAC,SAAS,wDAaH;CACP,QAbsC,EAAE,OAAO;EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACrF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAOhB;AACV,CAAC"}
|
|
@@ -6,7 +6,7 @@ const SendfoxGetLists_ListItemSchema = zod.z.object({
|
|
|
6
6
|
id: zod.z.number().int().describe("Unique identifier for the contact list.").nullable(),
|
|
7
7
|
name: zod.z.string().describe("Name of the contact list.").nullable(),
|
|
8
8
|
contact_count: zod.z.number().int().describe("Number of contacts in the list (may not be included in paginated responses).").nullable().optional()
|
|
9
|
-
}).describe("Represents a single contact list in SendFox.");
|
|
9
|
+
}).passthrough().describe("Represents a single contact list in SendFox.");
|
|
10
10
|
const SendfoxGetLists_PaginationDataSchema = zod.z.object({
|
|
11
11
|
to: zod.z.number().int().describe("Ending record number on this page.").nullable().optional(),
|
|
12
12
|
from: zod.z.number().int().describe("Starting record number on this page.").nullable().optional(),
|
|
@@ -14,11 +14,11 @@ const SendfoxGetLists_PaginationDataSchema = zod.z.object({
|
|
|
14
14
|
per_page: zod.z.number().int().describe("Number of records per page.").nullable(),
|
|
15
15
|
last_page: zod.z.number().int().describe("Total number of pages available.").nullable(),
|
|
16
16
|
current_page: zod.z.number().int().describe("Current page number.").nullable()
|
|
17
|
-
}).describe("Pagination metadata returned by SendFox API.");
|
|
17
|
+
}).passthrough().describe("Pagination metadata returned by SendFox API.");
|
|
18
18
|
const SendfoxGetListsOutput = zod.z.object({
|
|
19
19
|
lists: zod.z.array(SendfoxGetLists_ListItemSchema).describe("Array of contact lists returned by the API."),
|
|
20
20
|
pagination: SendfoxGetLists_PaginationDataSchema.nullable().optional()
|
|
21
|
-
}).describe("Response schema for paginated contact lists from SendFox.");
|
|
21
|
+
}).passthrough().describe("Response schema for paginated contact lists from SendFox.");
|
|
22
22
|
const sendfoxGetLists = require_action.action("SENDFOX_GET_LISTS", {
|
|
23
23
|
slug: "sendfox-get-lists",
|
|
24
24
|
name: "Get Lists",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-lists.cjs","names":["z","action"],"sources":["../../src/actions/get-lists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetListsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (starts at 1). If not specified, returns the first page.\").optional(),\n}).describe(\"Request schema for retrieving paginated contact lists from SendFox.\");\nconst SendfoxGetLists_ListItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the contact list.\").nullable(),\n name: z.string().describe(\"Name of the contact list.\").nullable(),\n contact_count: z.number().int().describe(\"Number of contacts in the list (may not be included in paginated responses).\").nullable().optional(),\n}).describe(\"Represents a single contact list in SendFox.\");\nconst SendfoxGetLists_PaginationDataSchema = z.object({\n to: z.number().int().describe(\"Ending record number on this page.\").nullable().optional(),\n from: z.number().int().describe(\"Starting record number on this page.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of records across all pages.\").nullable(),\n per_page: z.number().int().describe(\"Number of records per page.\").nullable(),\n last_page: z.number().int().describe(\"Total number of pages available.\").nullable(),\n current_page: z.number().int().describe(\"Current page number.\").nullable(),\n}).describe(\"Pagination metadata returned by SendFox API.\");\nexport const SendfoxGetListsOutput = z.object({\n lists: z.array(SendfoxGetLists_ListItemSchema).describe(\"Array of contact lists returned by the API.\"),\n pagination: SendfoxGetLists_PaginationDataSchema.nullable().optional(),\n}).describe(\"Response schema for paginated contact lists from SendFox.\");\n\nexport const sendfoxGetLists = action(\"SENDFOX_GET_LISTS\", {\n slug: \"sendfox-get-lists\",\n name: \"Get Lists\",\n description: \"Retrieve all contact lists from your SendFox account with pagination support. Use this tool when you need to: - Fetch all available contact lists for your account - Get list IDs to use with other SendFox actions (e.g., adding contacts to lists) - Check list names and browse through paginated results Returns a list of contact lists with their IDs and names, along with pagination metadata.\",\n input: SendfoxGetListsInput,\n output: SendfoxGetListsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,EAClI,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/I,CAAC,CAAC,CAAC,SAAS,8CAA8C;
|
|
1
|
+
{"version":3,"file":"get-lists.cjs","names":["z","action"],"sources":["../../src/actions/get-lists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetListsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (starts at 1). If not specified, returns the first page.\").optional(),\n}).describe(\"Request schema for retrieving paginated contact lists from SendFox.\");\nconst SendfoxGetLists_ListItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the contact list.\").nullable(),\n name: z.string().describe(\"Name of the contact list.\").nullable(),\n contact_count: z.number().int().describe(\"Number of contacts in the list (may not be included in paginated responses).\").nullable().optional(),\n}).passthrough().describe(\"Represents a single contact list in SendFox.\");\nconst SendfoxGetLists_PaginationDataSchema = z.object({\n to: z.number().int().describe(\"Ending record number on this page.\").nullable().optional(),\n from: z.number().int().describe(\"Starting record number on this page.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of records across all pages.\").nullable(),\n per_page: z.number().int().describe(\"Number of records per page.\").nullable(),\n last_page: z.number().int().describe(\"Total number of pages available.\").nullable(),\n current_page: z.number().int().describe(\"Current page number.\").nullable(),\n}).passthrough().describe(\"Pagination metadata returned by SendFox API.\");\nexport const SendfoxGetListsOutput = z.object({\n lists: z.array(SendfoxGetLists_ListItemSchema).describe(\"Array of contact lists returned by the API.\"),\n pagination: SendfoxGetLists_PaginationDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for paginated contact lists from SendFox.\");\n\nexport const sendfoxGetLists = action(\"SENDFOX_GET_LISTS\", {\n slug: \"sendfox-get-lists\",\n name: \"Get Lists\",\n description: \"Retrieve all contact lists from your SendFox account with pagination support. Use this tool when you need to: - Fetch all available contact lists for your account - Get list IDs to use with other SendFox actions (e.g., adding contacts to lists) - Check list names and browse through paginated results Returns a list of contact lists with their IDs and names, along with pagination metadata.\",\n input: SendfoxGetListsInput,\n output: SendfoxGetListsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,EAClI,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC5E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAClF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,OAAOA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,6CAA6C;CACrG,YAAY,qCAAqC,SAAS,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ declare const SendfoxGetListsOutput: z.ZodObject<{
|
|
|
9
9
|
id: z.ZodNullable<z.ZodNumber>;
|
|
10
10
|
name: z.ZodNullable<z.ZodString>;
|
|
11
11
|
contact_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>>;
|
|
13
13
|
pagination: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14
14
|
to: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
15
|
from: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -17,8 +17,8 @@ declare const SendfoxGetListsOutput: z.ZodObject<{
|
|
|
17
17
|
per_page: z.ZodNullable<z.ZodNumber>;
|
|
18
18
|
last_page: z.ZodNullable<z.ZodNumber>;
|
|
19
19
|
current_page: z.ZodNullable<z.ZodNumber>;
|
|
20
|
-
}, z.core.$
|
|
21
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>>;
|
|
21
|
+
}, z.core.$loose>;
|
|
22
22
|
declare const sendfoxGetLists: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
page?: number | undefined;
|
|
24
24
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -9,7 +9,7 @@ declare const SendfoxGetListsOutput: z.ZodObject<{
|
|
|
9
9
|
id: z.ZodNullable<z.ZodNumber>;
|
|
10
10
|
name: z.ZodNullable<z.ZodString>;
|
|
11
11
|
contact_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>>;
|
|
13
13
|
pagination: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14
14
|
to: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
15
|
from: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -17,8 +17,8 @@ declare const SendfoxGetListsOutput: z.ZodObject<{
|
|
|
17
17
|
per_page: z.ZodNullable<z.ZodNumber>;
|
|
18
18
|
last_page: z.ZodNullable<z.ZodNumber>;
|
|
19
19
|
current_page: z.ZodNullable<z.ZodNumber>;
|
|
20
|
-
}, z.core.$
|
|
21
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>>;
|
|
21
|
+
}, z.core.$loose>;
|
|
22
22
|
declare const sendfoxGetLists: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
page?: number | undefined;
|
|
24
24
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -6,7 +6,7 @@ const SendfoxGetLists_ListItemSchema = z.object({
|
|
|
6
6
|
id: z.number().int().describe("Unique identifier for the contact list.").nullable(),
|
|
7
7
|
name: z.string().describe("Name of the contact list.").nullable(),
|
|
8
8
|
contact_count: z.number().int().describe("Number of contacts in the list (may not be included in paginated responses).").nullable().optional()
|
|
9
|
-
}).describe("Represents a single contact list in SendFox.");
|
|
9
|
+
}).passthrough().describe("Represents a single contact list in SendFox.");
|
|
10
10
|
const SendfoxGetLists_PaginationDataSchema = z.object({
|
|
11
11
|
to: z.number().int().describe("Ending record number on this page.").nullable().optional(),
|
|
12
12
|
from: z.number().int().describe("Starting record number on this page.").nullable().optional(),
|
|
@@ -14,7 +14,7 @@ const SendfoxGetLists_PaginationDataSchema = z.object({
|
|
|
14
14
|
per_page: z.number().int().describe("Number of records per page.").nullable(),
|
|
15
15
|
last_page: z.number().int().describe("Total number of pages available.").nullable(),
|
|
16
16
|
current_page: z.number().int().describe("Current page number.").nullable()
|
|
17
|
-
}).describe("Pagination metadata returned by SendFox API.");
|
|
17
|
+
}).passthrough().describe("Pagination metadata returned by SendFox API.");
|
|
18
18
|
const sendfoxGetLists = action("SENDFOX_GET_LISTS", {
|
|
19
19
|
slug: "sendfox-get-lists",
|
|
20
20
|
name: "Get Lists",
|
|
@@ -23,7 +23,7 @@ const sendfoxGetLists = action("SENDFOX_GET_LISTS", {
|
|
|
23
23
|
output: z.object({
|
|
24
24
|
lists: z.array(SendfoxGetLists_ListItemSchema).describe("Array of contact lists returned by the API."),
|
|
25
25
|
pagination: SendfoxGetLists_PaginationDataSchema.nullable().optional()
|
|
26
|
-
}).describe("Response schema for paginated contact lists from SendFox.")
|
|
26
|
+
}).passthrough().describe("Response schema for paginated contact lists from SendFox.")
|
|
27
27
|
});
|
|
28
28
|
//#endregion
|
|
29
29
|
export { sendfoxGetLists };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-lists.mjs","names":[],"sources":["../../src/actions/get-lists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetListsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (starts at 1). If not specified, returns the first page.\").optional(),\n}).describe(\"Request schema for retrieving paginated contact lists from SendFox.\");\nconst SendfoxGetLists_ListItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the contact list.\").nullable(),\n name: z.string().describe(\"Name of the contact list.\").nullable(),\n contact_count: z.number().int().describe(\"Number of contacts in the list (may not be included in paginated responses).\").nullable().optional(),\n}).describe(\"Represents a single contact list in SendFox.\");\nconst SendfoxGetLists_PaginationDataSchema = z.object({\n to: z.number().int().describe(\"Ending record number on this page.\").nullable().optional(),\n from: z.number().int().describe(\"Starting record number on this page.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of records across all pages.\").nullable(),\n per_page: z.number().int().describe(\"Number of records per page.\").nullable(),\n last_page: z.number().int().describe(\"Total number of pages available.\").nullable(),\n current_page: z.number().int().describe(\"Current page number.\").nullable(),\n}).describe(\"Pagination metadata returned by SendFox API.\");\nexport const SendfoxGetListsOutput = z.object({\n lists: z.array(SendfoxGetLists_ListItemSchema).describe(\"Array of contact lists returned by the API.\"),\n pagination: SendfoxGetLists_PaginationDataSchema.nullable().optional(),\n}).describe(\"Response schema for paginated contact lists from SendFox.\");\n\nexport const sendfoxGetLists = action(\"SENDFOX_GET_LISTS\", {\n slug: \"sendfox-get-lists\",\n name: \"Get Lists\",\n description: \"Retrieve all contact lists from your SendFox account with pagination support. Use this tool when you need to: - Fetch all available contact lists for your account - Get list IDs to use with other SendFox actions (e.g., adding contacts to lists) - Check list names and browse through paginated results Returns a list of contact lists with their IDs and names, along with pagination metadata.\",\n input: SendfoxGetListsInput,\n output: SendfoxGetListsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuB,EAAE,OAAO,EAC3C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,EAClI,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,iCAAiC,EAAE,OAAO;CAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/I,CAAC,CAAC,CAAC,SAAS,8CAA8C;
|
|
1
|
+
{"version":3,"file":"get-lists.mjs","names":[],"sources":["../../src/actions/get-lists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetListsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (starts at 1). If not specified, returns the first page.\").optional(),\n}).describe(\"Request schema for retrieving paginated contact lists from SendFox.\");\nconst SendfoxGetLists_ListItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the contact list.\").nullable(),\n name: z.string().describe(\"Name of the contact list.\").nullable(),\n contact_count: z.number().int().describe(\"Number of contacts in the list (may not be included in paginated responses).\").nullable().optional(),\n}).passthrough().describe(\"Represents a single contact list in SendFox.\");\nconst SendfoxGetLists_PaginationDataSchema = z.object({\n to: z.number().int().describe(\"Ending record number on this page.\").nullable().optional(),\n from: z.number().int().describe(\"Starting record number on this page.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of records across all pages.\").nullable(),\n per_page: z.number().int().describe(\"Number of records per page.\").nullable(),\n last_page: z.number().int().describe(\"Total number of pages available.\").nullable(),\n current_page: z.number().int().describe(\"Current page number.\").nullable(),\n}).passthrough().describe(\"Pagination metadata returned by SendFox API.\");\nexport const SendfoxGetListsOutput = z.object({\n lists: z.array(SendfoxGetLists_ListItemSchema).describe(\"Array of contact lists returned by the API.\"),\n pagination: SendfoxGetLists_PaginationDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for paginated contact lists from SendFox.\");\n\nexport const sendfoxGetLists = action(\"SENDFOX_GET_LISTS\", {\n slug: \"sendfox-get-lists\",\n name: \"Get Lists\",\n description: \"Retrieve all contact lists from your SendFox account with pagination support. Use this tool when you need to: - Fetch all available contact lists for your account - Get list IDs to use with other SendFox actions (e.g., adding contacts to lists) - Check list names and browse through paginated results Returns a list of contact lists with their IDs and names, along with pagination metadata.\",\n input: SendfoxGetListsInput,\n output: SendfoxGetListsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuB,EAAE,OAAO,EAC3C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,EAClI,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,iCAAiC,EAAE,OAAO;CAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACvF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC5E,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAClF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAMxE,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVmC,EAAE,OAAO;EAC5C,OAAO,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,6CAA6C;EACrG,YAAY,qCAAqC,SAAS,CAAC,CAAC,SAAS;CACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAOhB;AACV,CAAC"}
|