@keystrokehq/sendfox 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/delete-contact-from-list.cjs +1 -1
- package/dist/actions/delete-contact-from-list.cjs.map +1 -1
- package/dist/actions/delete-contact-from-list.d.cts +20 -3
- package/dist/actions/delete-contact-from-list.d.cts.map +1 -1
- package/dist/actions/delete-contact-from-list.d.mts +20 -3
- package/dist/actions/delete-contact-from-list.d.mts.map +1 -1
- package/dist/actions/delete-contact-from-list.mjs +1 -1
- package/dist/actions/delete-contact-from-list.mjs.map +1 -1
- package/dist/actions/get-automations.cjs +4 -4
- package/dist/actions/get-automations.cjs.map +1 -1
- package/dist/actions/get-automations.d.cts +11 -3
- package/dist/actions/get-automations.d.cts.map +1 -1
- package/dist/actions/get-automations.d.mts +11 -3
- package/dist/actions/get-automations.d.mts.map +1 -1
- package/dist/actions/get-automations.mjs +4 -4
- package/dist/actions/get-automations.mjs.map +1 -1
- package/dist/actions/get-campaign-by-id.cjs +7 -7
- package/dist/actions/get-campaign-by-id.cjs.map +1 -1
- package/dist/actions/get-campaign-by-id.d.cts +18 -3
- package/dist/actions/get-campaign-by-id.d.cts.map +1 -1
- package/dist/actions/get-campaign-by-id.d.mts +18 -3
- package/dist/actions/get-campaign-by-id.d.mts.map +1 -1
- package/dist/actions/get-campaign-by-id.mjs +7 -7
- package/dist/actions/get-campaign-by-id.mjs.map +1 -1
- package/dist/actions/get-campaigns.cjs +3 -3
- package/dist/actions/get-campaigns.cjs.map +1 -1
- package/dist/actions/get-campaigns.d.cts +24 -3
- package/dist/actions/get-campaigns.d.cts.map +1 -1
- package/dist/actions/get-campaigns.d.mts +24 -3
- package/dist/actions/get-campaigns.d.mts.map +1 -1
- package/dist/actions/get-campaigns.mjs +3 -3
- package/dist/actions/get-campaigns.mjs.map +1 -1
- package/dist/actions/get-contact-by-id.cjs +3 -3
- package/dist/actions/get-contact-by-id.cjs.map +1 -1
- package/dist/actions/get-contact-by-id.d.cts +17 -3
- package/dist/actions/get-contact-by-id.d.cts.map +1 -1
- package/dist/actions/get-contact-by-id.d.mts +17 -3
- package/dist/actions/get-contact-by-id.d.mts.map +1 -1
- package/dist/actions/get-contact-by-id.mjs +3 -3
- package/dist/actions/get-contact-by-id.mjs.map +1 -1
- package/dist/actions/get-contact-fields.cjs +5 -5
- package/dist/actions/get-contact-fields.cjs.map +1 -1
- package/dist/actions/get-contact-fields.d.cts +9 -3
- package/dist/actions/get-contact-fields.d.cts.map +1 -1
- package/dist/actions/get-contact-fields.d.mts +9 -3
- package/dist/actions/get-contact-fields.d.mts.map +1 -1
- package/dist/actions/get-contact-fields.mjs +5 -5
- package/dist/actions/get-contact-fields.mjs.map +1 -1
- package/dist/actions/get-contacts-in-list.cjs +7 -7
- package/dist/actions/get-contacts-in-list.cjs.map +1 -1
- package/dist/actions/get-contacts-in-list.d.cts +23 -3
- package/dist/actions/get-contacts-in-list.d.cts.map +1 -1
- package/dist/actions/get-contacts-in-list.d.mts +23 -3
- package/dist/actions/get-contacts-in-list.d.mts.map +1 -1
- package/dist/actions/get-contacts-in-list.mjs +7 -7
- package/dist/actions/get-contacts-in-list.mjs.map +1 -1
- package/dist/actions/get-contacts.cjs +7 -7
- package/dist/actions/get-contacts.cjs.map +1 -1
- package/dist/actions/get-contacts.d.cts +23 -3
- package/dist/actions/get-contacts.d.cts.map +1 -1
- package/dist/actions/get-contacts.d.mts +23 -3
- package/dist/actions/get-contacts.d.mts.map +1 -1
- package/dist/actions/get-contacts.mjs +7 -7
- package/dist/actions/get-contacts.mjs.map +1 -1
- package/dist/actions/get-current-user.cjs +4 -4
- package/dist/actions/get-current-user.cjs.map +1 -1
- package/dist/actions/get-current-user.d.cts +16 -3
- package/dist/actions/get-current-user.d.cts.map +1 -1
- package/dist/actions/get-current-user.d.mts +16 -3
- package/dist/actions/get-current-user.d.mts.map +1 -1
- package/dist/actions/get-current-user.mjs +4 -4
- package/dist/actions/get-current-user.mjs.map +1 -1
- package/dist/actions/get-forms.cjs +4 -4
- package/dist/actions/get-forms.cjs.map +1 -1
- package/dist/actions/get-forms.d.cts +18 -3
- package/dist/actions/get-forms.d.cts.map +1 -1
- package/dist/actions/get-forms.d.mts +18 -3
- package/dist/actions/get-forms.d.mts.map +1 -1
- package/dist/actions/get-forms.mjs +4 -4
- package/dist/actions/get-forms.mjs.map +1 -1
- package/dist/actions/get-list-by-id.cjs +4 -4
- package/dist/actions/get-list-by-id.cjs.map +1 -1
- package/dist/actions/get-list-by-id.d.cts +13 -3
- package/dist/actions/get-list-by-id.d.cts.map +1 -1
- package/dist/actions/get-list-by-id.d.mts +13 -3
- package/dist/actions/get-list-by-id.d.mts.map +1 -1
- package/dist/actions/get-list-by-id.mjs +4 -4
- package/dist/actions/get-list-by-id.mjs.map +1 -1
- package/dist/actions/get-lists.cjs +9 -9
- package/dist/actions/get-lists.cjs.map +1 -1
- package/dist/actions/get-lists.d.cts +21 -3
- package/dist/actions/get-lists.d.cts.map +1 -1
- package/dist/actions/get-lists.d.mts +21 -3
- package/dist/actions/get-lists.d.mts.map +1 -1
- package/dist/actions/get-lists.mjs +9 -9
- package/dist/actions/get-lists.mjs.map +1 -1
- package/dist/actions/list-contact-fields.cjs +10 -10
- package/dist/actions/list-contact-fields.cjs.map +1 -1
- package/dist/actions/list-contact-fields.d.cts +15 -3
- package/dist/actions/list-contact-fields.d.cts.map +1 -1
- package/dist/actions/list-contact-fields.d.mts +15 -3
- package/dist/actions/list-contact-fields.d.mts.map +1 -1
- package/dist/actions/list-contact-fields.mjs +10 -10
- package/dist/actions/list-contact-fields.mjs.map +1 -1
- package/dist/actions/list-unsubscribed-contacts.cjs +7 -7
- package/dist/actions/list-unsubscribed-contacts.cjs.map +1 -1
- package/dist/actions/list-unsubscribed-contacts.d.cts +23 -3
- package/dist/actions/list-unsubscribed-contacts.d.cts.map +1 -1
- package/dist/actions/list-unsubscribed-contacts.d.mts +23 -3
- package/dist/actions/list-unsubscribed-contacts.d.mts.map +1 -1
- package/dist/actions/list-unsubscribed-contacts.mjs +7 -7
- package/dist/actions/list-unsubscribed-contacts.mjs.map +1 -1
- package/dist/actions/patch-unsubscribe-contact.cjs +2 -2
- package/dist/actions/patch-unsubscribe-contact.cjs.map +1 -1
- package/dist/actions/patch-unsubscribe-contact.d.cts +16 -3
- package/dist/actions/patch-unsubscribe-contact.d.cts.map +1 -1
- package/dist/actions/patch-unsubscribe-contact.d.mts +16 -3
- package/dist/actions/patch-unsubscribe-contact.d.mts.map +1 -1
- package/dist/actions/patch-unsubscribe-contact.mjs +2 -2
- package/dist/actions/patch-unsubscribe-contact.mjs.map +1 -1
- package/dist/actions/post-create-contact.cjs +3 -3
- package/dist/actions/post-create-contact.cjs.map +1 -1
- package/dist/actions/post-create-contact.d.cts +23 -3
- package/dist/actions/post-create-contact.d.cts.map +1 -1
- package/dist/actions/post-create-contact.d.mts +23 -3
- package/dist/actions/post-create-contact.d.mts.map +1 -1
- package/dist/actions/post-create-contact.mjs +3 -3
- package/dist/actions/post-create-contact.mjs.map +1 -1
- package/dist/actions/post-create-list.cjs +3 -3
- package/dist/actions/post-create-list.cjs.map +1 -1
- package/dist/actions/post-create-list.d.cts +12 -3
- package/dist/actions/post-create-list.d.cts.map +1 -1
- package/dist/actions/post-create-list.d.mts +12 -3
- package/dist/actions/post-create-list.d.mts.map +1 -1
- package/dist/actions/post-create-list.mjs +3 -3
- package/dist/actions/post-create-list.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,9 +1,29 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-contacts.d.ts
|
|
4
|
-
declare const SendfoxGetContactsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SendfoxGetContactsInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
email: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const SendfoxGetContactsOutput: z.ZodObject<{
|
|
9
|
+
data: z.ZodArray<z.ZodObject<{
|
|
10
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
11
|
+
email: z.ZodNullable<z.ZodString>;
|
|
12
|
+
last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
ip_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
unsubscribed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
}, z.core.$loose>>;
|
|
19
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
20
|
+
per_page: z.ZodNullable<z.ZodNumber>;
|
|
21
|
+
current_page: z.ZodNullable<z.ZodNumber>;
|
|
22
|
+
}, z.core.$loose>;
|
|
23
|
+
declare const sendfoxGetContacts: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
|
+
page?: number | undefined;
|
|
25
|
+
email?: string | undefined;
|
|
26
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
27
|
//#endregion
|
|
8
28
|
export { sendfoxGetContacts };
|
|
9
29
|
//# sourceMappingURL=get-contacts.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-contacts.d.cts","names":[],"sources":["../../src/actions/get-contacts.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"get-contacts.d.cts","names":[],"sources":["../../src/actions/get-contacts.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAcvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAOxB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -1,9 +1,29 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-contacts.d.ts
|
|
4
|
-
declare const SendfoxGetContactsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SendfoxGetContactsInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
email: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const SendfoxGetContactsOutput: z.ZodObject<{
|
|
9
|
+
data: z.ZodArray<z.ZodObject<{
|
|
10
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
11
|
+
email: z.ZodNullable<z.ZodString>;
|
|
12
|
+
last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
ip_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
unsubscribed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
}, z.core.$loose>>;
|
|
19
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
20
|
+
per_page: z.ZodNullable<z.ZodNumber>;
|
|
21
|
+
current_page: z.ZodNullable<z.ZodNumber>;
|
|
22
|
+
}, z.core.$loose>;
|
|
23
|
+
declare const sendfoxGetContacts: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
|
+
page?: number | undefined;
|
|
25
|
+
email?: string | undefined;
|
|
26
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
27
|
//#endregion
|
|
8
28
|
export { sendfoxGetContacts };
|
|
9
29
|
//# sourceMappingURL=get-contacts.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-contacts.d.mts","names":[],"sources":["../../src/actions/get-contacts.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"get-contacts.d.mts","names":[],"sources":["../../src/actions/get-contacts.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAcvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAOxB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -6,15 +6,15 @@ const SendfoxGetContactsInput = z.object({
|
|
|
6
6
|
email: z.string().describe("Filter contacts by exact email address to find a specific contact.").optional()
|
|
7
7
|
}).describe("Request parameters for retrieving a paginated list of contacts.");
|
|
8
8
|
const SendfoxGetContacts_ContactSchema = z.object({
|
|
9
|
-
id: z.number().int().describe("Unique identifier for the contact."),
|
|
10
|
-
email: z.string().describe("Email address of the contact."),
|
|
9
|
+
id: z.number().int().describe("Unique identifier for the contact.").nullable(),
|
|
10
|
+
email: z.string().describe("Email address of the contact.").nullable(),
|
|
11
11
|
last_name: z.string().describe("Last name of the contact.").nullable().optional(),
|
|
12
12
|
created_at: z.string().describe("Timestamp when the contact was created (ISO8601).").nullable().optional(),
|
|
13
13
|
first_name: z.string().describe("First name of the contact.").nullable().optional(),
|
|
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",
|
|
@@ -22,10 +22,10 @@ const sendfoxGetContacts = action("SENDFOX_GET_CONTACTS", {
|
|
|
22
22
|
input: SendfoxGetContactsInput,
|
|
23
23
|
output: z.object({
|
|
24
24
|
data: z.array(SendfoxGetContacts_ContactSchema).describe("List of contacts returned by the API."),
|
|
25
|
-
total: z.number().int().describe("Total number of contacts available."),
|
|
26
|
-
per_page: z.number().int().describe("Number of contacts returned per page."),
|
|
27
|
-
current_page: z.number().int().describe("Current page number in the pagination.")
|
|
28
|
-
}).describe("Response schema for a paginated list of contacts.")
|
|
25
|
+
total: z.number().int().describe("Total number of contacts available.").nullable(),
|
|
26
|
+
per_page: z.number().int().describe("Number of contacts returned per page.").nullable(),
|
|
27
|
+
current_page: z.number().int().describe("Current page number in the pagination.").nullable()
|
|
28
|
+
}).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
|
|
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"}
|
|
@@ -3,9 +3,9 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-current-user.ts
|
|
4
4
|
const SendfoxGetCurrentUserInput = zod.z.object({}).describe("Request model for retrieving current authenticated user information.\nThis endpoint requires no parameters.");
|
|
5
5
|
const SendfoxGetCurrentUserOutput = zod.z.object({
|
|
6
|
-
id: zod.z.number().int().describe("Unique identifier of the user."),
|
|
7
|
-
name: zod.z.string().describe("Name of the authenticated user."),
|
|
8
|
-
email: zod.z.string().describe("Email address of the authenticated user."),
|
|
6
|
+
id: zod.z.number().int().describe("Unique identifier of the user.").nullable(),
|
|
7
|
+
name: zod.z.string().describe("Name of the authenticated user.").nullable(),
|
|
8
|
+
email: zod.z.string().describe("Email address of the authenticated user.").nullable(),
|
|
9
9
|
country: zod.z.string().describe("Country of the user.").nullable().optional(),
|
|
10
10
|
language: zod.z.string().describe("Preferred language of the user.").nullable().optional(),
|
|
11
11
|
timezone: zod.z.string().describe("Timezone of the user.").nullable().optional(),
|
|
@@ -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
|
|
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"}
|
|
@@ -1,9 +1,22 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-current-user.d.ts
|
|
4
|
-
declare const SendfoxGetCurrentUserInput: z.
|
|
5
|
-
declare const SendfoxGetCurrentUserOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const SendfoxGetCurrentUserInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const SendfoxGetCurrentUserOutput: z.ZodObject<{
|
|
6
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
7
|
+
name: z.ZodNullable<z.ZodString>;
|
|
8
|
+
email: z.ZodNullable<z.ZodString>;
|
|
9
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
google_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
disabled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
vanity_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
disable_optimization: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
+
device_verification_enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
17
|
+
contact_referrals_enabled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
}, z.core.$loose>;
|
|
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]>;
|
|
7
20
|
//#endregion
|
|
8
21
|
export { sendfoxGetCurrentUser };
|
|
9
22
|
//# sourceMappingURL=get-current-user.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-current-user.d.cts","names":[],"sources":["../../src/actions/get-current-user.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"get-current-user.d.cts","names":[],"sources":["../../src/actions/get-current-user.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAe3B,qBAAA,gCAAqB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1,9 +1,22 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-current-user.d.ts
|
|
4
|
-
declare const SendfoxGetCurrentUserInput: z.
|
|
5
|
-
declare const SendfoxGetCurrentUserOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const SendfoxGetCurrentUserInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const SendfoxGetCurrentUserOutput: z.ZodObject<{
|
|
6
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
7
|
+
name: z.ZodNullable<z.ZodString>;
|
|
8
|
+
email: z.ZodNullable<z.ZodString>;
|
|
9
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
google_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
disabled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
vanity_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
disable_optimization: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
+
device_verification_enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
17
|
+
contact_referrals_enabled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
}, z.core.$loose>;
|
|
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]>;
|
|
7
20
|
//#endregion
|
|
8
21
|
export { sendfoxGetCurrentUser };
|
|
9
22
|
//# sourceMappingURL=get-current-user.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-current-user.d.mts","names":[],"sources":["../../src/actions/get-current-user.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"get-current-user.d.mts","names":[],"sources":["../../src/actions/get-current-user.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAe3B,qBAAA,gCAAqB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -6,9 +6,9 @@ const sendfoxGetCurrentUser = action("SENDFOX_GET_CURRENT_USER", {
|
|
|
6
6
|
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.",
|
|
7
7
|
input: z.object({}).describe("Request model for retrieving current authenticated user information.\nThis endpoint requires no parameters."),
|
|
8
8
|
output: z.object({
|
|
9
|
-
id: z.number().int().describe("Unique identifier of the user."),
|
|
10
|
-
name: z.string().describe("Name of the authenticated user."),
|
|
11
|
-
email: z.string().describe("Email address of the authenticated user."),
|
|
9
|
+
id: z.number().int().describe("Unique identifier of the user.").nullable(),
|
|
10
|
+
name: z.string().describe("Name of the authenticated user.").nullable(),
|
|
11
|
+
email: z.string().describe("Email address of the authenticated user.").nullable(),
|
|
12
12
|
country: z.string().describe("Country of the user.").nullable().optional(),
|
|
13
13
|
language: z.string().describe("Preferred language of the user.").nullable().optional(),
|
|
14
14
|
timezone: z.string().describe("Timezone of the user.").nullable().optional(),
|
|
@@ -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
|
|
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"}
|
|
@@ -3,18 +3,18 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-forms.ts
|
|
4
4
|
const SendfoxGetFormsInput = zod.z.object({ query: zod.z.string().describe("Search query for filtering forms by title or other attributes.").optional() }).describe("Request parameters for retrieving a paginated list of forms.");
|
|
5
5
|
const SendfoxGetForms_FormSchema = zod.z.object({
|
|
6
|
-
id: zod.z.number().int().describe("Unique identifier for the form."),
|
|
7
|
-
title: zod.z.string().describe("Title of the form."),
|
|
6
|
+
id: zod.z.number().int().describe("Unique identifier for the form.").nullable(),
|
|
7
|
+
title: zod.z.string().describe("Title of the form.").nullable(),
|
|
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
|
|
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"}
|
|
@@ -1,9 +1,24 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-forms.d.ts
|
|
4
|
-
declare const SendfoxGetFormsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SendfoxGetFormsInput: z.ZodObject<{
|
|
5
|
+
query: z.ZodOptional<z.ZodString>;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const SendfoxGetFormsOutput: z.ZodObject<{
|
|
8
|
+
data: z.ZodArray<z.ZodObject<{
|
|
9
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
title: z.ZodNullable<z.ZodString>;
|
|
11
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
landing_page_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
+
}, z.core.$loose>>;
|
|
15
|
+
total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
+
per_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
+
current_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
}, z.core.$loose>;
|
|
19
|
+
declare const sendfoxGetForms: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
|
+
query?: string | undefined;
|
|
21
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
22
|
//#endregion
|
|
8
23
|
export { sendfoxGetForms };
|
|
9
24
|
//# sourceMappingURL=get-forms.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-forms.d.cts","names":[],"sources":["../../src/actions/get-forms.ts"],"mappings":";;;cAIa,oBAAA,
|
|
1
|
+
{"version":3,"file":"get-forms.d.cts","names":[],"sources":["../../src/actions/get-forms.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAUpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAOrB,eAAA,gCAAe,wBAAA"}
|
|
@@ -1,9 +1,24 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-forms.d.ts
|
|
4
|
-
declare const SendfoxGetFormsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SendfoxGetFormsInput: z.ZodObject<{
|
|
5
|
+
query: z.ZodOptional<z.ZodString>;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const SendfoxGetFormsOutput: z.ZodObject<{
|
|
8
|
+
data: z.ZodArray<z.ZodObject<{
|
|
9
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
title: z.ZodNullable<z.ZodString>;
|
|
11
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
landing_page_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
+
}, z.core.$loose>>;
|
|
15
|
+
total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
+
per_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
+
current_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
}, z.core.$loose>;
|
|
19
|
+
declare const sendfoxGetForms: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
|
+
query?: string | undefined;
|
|
21
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
22
|
//#endregion
|
|
8
23
|
export { sendfoxGetForms };
|
|
9
24
|
//# sourceMappingURL=get-forms.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-forms.d.mts","names":[],"sources":["../../src/actions/get-forms.ts"],"mappings":";;;cAIa,oBAAA,
|
|
1
|
+
{"version":3,"file":"get-forms.d.mts","names":[],"sources":["../../src/actions/get-forms.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAUpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAOrB,eAAA,gCAAe,wBAAA"}
|
|
@@ -3,12 +3,12 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/get-forms.ts
|
|
4
4
|
const SendfoxGetFormsInput = z.object({ query: z.string().describe("Search query for filtering forms by title or other attributes.").optional() }).describe("Request parameters for retrieving a paginated list of forms.");
|
|
5
5
|
const SendfoxGetForms_FormSchema = z.object({
|
|
6
|
-
id: z.number().int().describe("Unique identifier for the form."),
|
|
7
|
-
title: z.string().describe("Title of the form."),
|
|
6
|
+
id: z.number().int().describe("Unique identifier for the form.").nullable(),
|
|
7
|
+
title: z.string().describe("Title of the form.").nullable(),
|
|
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
|
|
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"}
|
|
@@ -3,12 +3,12 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-list-by-id.ts
|
|
4
4
|
const SendfoxGetListByIdInput = zod.z.object({ list_id: zod.z.number().int().describe("The unique numeric identifier of the contact list to retrieve. You can obtain list IDs from the 'Get Lists' action.") }).describe("Request model for retrieving a contact list by its ID.");
|
|
5
5
|
const SendfoxGetListByIdOutput = zod.z.object({
|
|
6
|
-
id: zod.z.number().int().describe("The unique numeric identifier of the list."),
|
|
7
|
-
name: zod.z.string().describe("The display name of the contact list."),
|
|
6
|
+
id: zod.z.number().int().describe("The unique numeric identifier of the list.").nullable(),
|
|
7
|
+
name: zod.z.string().describe("The display name of the contact list.").nullable(),
|
|
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
|
-
contact_count: zod.z.number().int().describe("The total number of contacts currently in this list.")
|
|
11
|
-
}).describe("Response model for a contact list retrieved by its ID.");
|
|
10
|
+
contact_count: zod.z.number().int().describe("The total number of contacts currently in this list.").nullable()
|
|
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
|
|
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"}
|
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-list-by-id.d.ts
|
|
4
|
-
declare const SendfoxGetListByIdInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SendfoxGetListByIdInput: z.ZodObject<{
|
|
5
|
+
list_id: z.ZodNumber;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const SendfoxGetListByIdOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
9
|
+
name: z.ZodNullable<z.ZodString>;
|
|
10
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
contact_count: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
}, z.core.$loose>;
|
|
14
|
+
declare const sendfoxGetListById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
|
+
list_id: number;
|
|
16
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
17
|
//#endregion
|
|
8
18
|
export { sendfoxGetListById };
|
|
9
19
|
//# sourceMappingURL=get-list-by-id.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-list-by-id.d.cts","names":[],"sources":["../../src/actions/get-list-by-id.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"get-list-by-id.d.cts","names":[],"sources":["../../src/actions/get-list-by-id.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;cAQxB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-list-by-id.d.ts
|
|
4
|
-
declare const SendfoxGetListByIdInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SendfoxGetListByIdInput: z.ZodObject<{
|
|
5
|
+
list_id: z.ZodNumber;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const SendfoxGetListByIdOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
9
|
+
name: z.ZodNullable<z.ZodString>;
|
|
10
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
contact_count: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
}, z.core.$loose>;
|
|
14
|
+
declare const sendfoxGetListById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
|
+
list_id: number;
|
|
16
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
17
|
//#endregion
|
|
8
18
|
export { sendfoxGetListById };
|
|
9
19
|
//# sourceMappingURL=get-list-by-id.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-list-by-id.d.mts","names":[],"sources":["../../src/actions/get-list-by-id.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"get-list-by-id.d.mts","names":[],"sources":["../../src/actions/get-list-by-id.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;cAQxB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -6,12 +6,12 @@ const sendfoxGetListById = action("SENDFOX_GET_LIST_BY_ID", {
|
|
|
6
6
|
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.",
|
|
7
7
|
input: z.object({ 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.") }).describe("Request model for retrieving a contact list by its ID."),
|
|
8
8
|
output: z.object({
|
|
9
|
-
id: z.number().int().describe("The unique numeric identifier of the list."),
|
|
10
|
-
name: z.string().describe("The display name of the contact list."),
|
|
9
|
+
id: z.number().int().describe("The unique numeric identifier of the list.").nullable(),
|
|
10
|
+
name: z.string().describe("The display name of the contact list.").nullable(),
|
|
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
|
-
contact_count: z.number().int().describe("The total number of contacts currently in this list.")
|
|
14
|
-
}).describe("Response model for a contact list retrieved by its ID.")
|
|
13
|
+
contact_count: z.number().int().describe("The total number of contacts currently in this list.").nullable()
|
|
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
|
|
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"}
|