@keystrokehq/sendfox 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/delete-contact-from-list.cjs.map +1 -1
- package/dist/actions/delete-contact-from-list.d.cts +20 -3
- package/dist/actions/delete-contact-from-list.d.cts.map +1 -1
- package/dist/actions/delete-contact-from-list.d.mts +20 -3
- package/dist/actions/delete-contact-from-list.d.mts.map +1 -1
- package/dist/actions/delete-contact-from-list.mjs.map +1 -1
- package/dist/actions/get-automations.cjs +2 -2
- package/dist/actions/get-automations.cjs.map +1 -1
- package/dist/actions/get-automations.d.cts +11 -3
- package/dist/actions/get-automations.d.cts.map +1 -1
- package/dist/actions/get-automations.d.mts +11 -3
- package/dist/actions/get-automations.d.mts.map +1 -1
- package/dist/actions/get-automations.mjs +2 -2
- package/dist/actions/get-automations.mjs.map +1 -1
- package/dist/actions/get-campaign-by-id.cjs +6 -6
- package/dist/actions/get-campaign-by-id.cjs.map +1 -1
- package/dist/actions/get-campaign-by-id.d.cts +18 -3
- package/dist/actions/get-campaign-by-id.d.cts.map +1 -1
- package/dist/actions/get-campaign-by-id.d.mts +18 -3
- package/dist/actions/get-campaign-by-id.d.mts.map +1 -1
- package/dist/actions/get-campaign-by-id.mjs +6 -6
- package/dist/actions/get-campaign-by-id.mjs.map +1 -1
- package/dist/actions/get-campaigns.cjs +1 -1
- package/dist/actions/get-campaigns.cjs.map +1 -1
- package/dist/actions/get-campaigns.d.cts +24 -3
- package/dist/actions/get-campaigns.d.cts.map +1 -1
- package/dist/actions/get-campaigns.d.mts +24 -3
- package/dist/actions/get-campaigns.d.mts.map +1 -1
- package/dist/actions/get-campaigns.mjs +1 -1
- package/dist/actions/get-campaigns.mjs.map +1 -1
- package/dist/actions/get-contact-by-id.cjs +2 -2
- package/dist/actions/get-contact-by-id.cjs.map +1 -1
- package/dist/actions/get-contact-by-id.d.cts +17 -3
- package/dist/actions/get-contact-by-id.d.cts.map +1 -1
- package/dist/actions/get-contact-by-id.d.mts +17 -3
- package/dist/actions/get-contact-by-id.d.mts.map +1 -1
- package/dist/actions/get-contact-by-id.mjs +2 -2
- package/dist/actions/get-contact-by-id.mjs.map +1 -1
- package/dist/actions/get-contact-fields.cjs +3 -3
- package/dist/actions/get-contact-fields.cjs.map +1 -1
- package/dist/actions/get-contact-fields.d.cts +9 -3
- package/dist/actions/get-contact-fields.d.cts.map +1 -1
- package/dist/actions/get-contact-fields.d.mts +9 -3
- package/dist/actions/get-contact-fields.d.mts.map +1 -1
- package/dist/actions/get-contact-fields.mjs +3 -3
- package/dist/actions/get-contact-fields.mjs.map +1 -1
- package/dist/actions/get-contacts-in-list.cjs +5 -5
- package/dist/actions/get-contacts-in-list.cjs.map +1 -1
- package/dist/actions/get-contacts-in-list.d.cts +23 -3
- package/dist/actions/get-contacts-in-list.d.cts.map +1 -1
- package/dist/actions/get-contacts-in-list.d.mts +23 -3
- package/dist/actions/get-contacts-in-list.d.mts.map +1 -1
- package/dist/actions/get-contacts-in-list.mjs +5 -5
- package/dist/actions/get-contacts-in-list.mjs.map +1 -1
- package/dist/actions/get-contacts.cjs +5 -5
- package/dist/actions/get-contacts.cjs.map +1 -1
- package/dist/actions/get-contacts.d.cts +23 -3
- package/dist/actions/get-contacts.d.cts.map +1 -1
- package/dist/actions/get-contacts.d.mts +23 -3
- package/dist/actions/get-contacts.d.mts.map +1 -1
- package/dist/actions/get-contacts.mjs +5 -5
- package/dist/actions/get-contacts.mjs.map +1 -1
- package/dist/actions/get-current-user.cjs +3 -3
- package/dist/actions/get-current-user.cjs.map +1 -1
- package/dist/actions/get-current-user.d.cts +16 -3
- package/dist/actions/get-current-user.d.cts.map +1 -1
- package/dist/actions/get-current-user.d.mts +16 -3
- package/dist/actions/get-current-user.d.mts.map +1 -1
- package/dist/actions/get-current-user.mjs +3 -3
- package/dist/actions/get-current-user.mjs.map +1 -1
- package/dist/actions/get-forms.cjs +2 -2
- package/dist/actions/get-forms.cjs.map +1 -1
- package/dist/actions/get-forms.d.cts +18 -3
- package/dist/actions/get-forms.d.cts.map +1 -1
- package/dist/actions/get-forms.d.mts +18 -3
- package/dist/actions/get-forms.d.mts.map +1 -1
- package/dist/actions/get-forms.mjs +2 -2
- package/dist/actions/get-forms.mjs.map +1 -1
- package/dist/actions/get-list-by-id.cjs +3 -3
- package/dist/actions/get-list-by-id.cjs.map +1 -1
- package/dist/actions/get-list-by-id.d.cts +13 -3
- package/dist/actions/get-list-by-id.d.cts.map +1 -1
- package/dist/actions/get-list-by-id.d.mts +13 -3
- package/dist/actions/get-list-by-id.d.mts.map +1 -1
- package/dist/actions/get-list-by-id.mjs +3 -3
- package/dist/actions/get-list-by-id.mjs.map +1 -1
- package/dist/actions/get-lists.cjs +6 -6
- package/dist/actions/get-lists.cjs.map +1 -1
- package/dist/actions/get-lists.d.cts +21 -3
- package/dist/actions/get-lists.d.cts.map +1 -1
- package/dist/actions/get-lists.d.mts +21 -3
- package/dist/actions/get-lists.d.mts.map +1 -1
- package/dist/actions/get-lists.mjs +6 -6
- package/dist/actions/get-lists.mjs.map +1 -1
- package/dist/actions/list-contact-fields.cjs +7 -7
- package/dist/actions/list-contact-fields.cjs.map +1 -1
- package/dist/actions/list-contact-fields.d.cts +15 -3
- package/dist/actions/list-contact-fields.d.cts.map +1 -1
- package/dist/actions/list-contact-fields.d.mts +15 -3
- package/dist/actions/list-contact-fields.d.mts.map +1 -1
- package/dist/actions/list-contact-fields.mjs +7 -7
- package/dist/actions/list-contact-fields.mjs.map +1 -1
- package/dist/actions/list-unsubscribed-contacts.cjs +5 -5
- package/dist/actions/list-unsubscribed-contacts.cjs.map +1 -1
- package/dist/actions/list-unsubscribed-contacts.d.cts +23 -3
- package/dist/actions/list-unsubscribed-contacts.d.cts.map +1 -1
- package/dist/actions/list-unsubscribed-contacts.d.mts +23 -3
- package/dist/actions/list-unsubscribed-contacts.d.mts.map +1 -1
- package/dist/actions/list-unsubscribed-contacts.mjs +5 -5
- package/dist/actions/list-unsubscribed-contacts.mjs.map +1 -1
- package/dist/actions/patch-unsubscribe-contact.cjs +1 -1
- package/dist/actions/patch-unsubscribe-contact.cjs.map +1 -1
- package/dist/actions/patch-unsubscribe-contact.d.cts +16 -3
- package/dist/actions/patch-unsubscribe-contact.d.cts.map +1 -1
- package/dist/actions/patch-unsubscribe-contact.d.mts +16 -3
- package/dist/actions/patch-unsubscribe-contact.d.mts.map +1 -1
- package/dist/actions/patch-unsubscribe-contact.mjs +1 -1
- package/dist/actions/patch-unsubscribe-contact.mjs.map +1 -1
- package/dist/actions/post-create-contact.cjs +2 -2
- package/dist/actions/post-create-contact.cjs.map +1 -1
- package/dist/actions/post-create-contact.d.cts +23 -3
- package/dist/actions/post-create-contact.d.cts.map +1 -1
- package/dist/actions/post-create-contact.d.mts +23 -3
- package/dist/actions/post-create-contact.d.mts.map +1 -1
- package/dist/actions/post-create-contact.mjs +2 -2
- package/dist/actions/post-create-contact.mjs.map +1 -1
- package/dist/actions/post-create-list.cjs +2 -2
- package/dist/actions/post-create-list.cjs.map +1 -1
- package/dist/actions/post-create-list.d.cts +12 -3
- package/dist/actions/post-create-list.d.cts.map +1 -1
- package/dist/actions/post-create-list.d.mts +12 -3
- package/dist/actions/post-create-list.d.mts.map +1 -1
- package/dist/actions/post-create-list.mjs +2 -2
- package/dist/actions/post-create-list.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,9 +1,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.$strip>;
|
|
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.$strip>;
|
|
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(),
|
|
@@ -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}).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,8CAOF;AACV,CAAC"}
|
|
@@ -3,8 +3,8 @@ 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()
|
|
@@ -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}).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;AACjD,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,SAAS,gDAAgD;AAE5D,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.$strip>>;
|
|
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.$strip>;
|
|
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.$strip>>;
|
|
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.$strip>;
|
|
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,8 +3,8 @@ 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()
|
|
@@ -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}).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;AAQjD,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,SAAS,gDAOF;AACV,CAAC"}
|
|
@@ -3,11 +3,11 @@ 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.")
|
|
10
|
+
contact_count: zod.z.number().int().describe("The total number of contacts currently in this list.").nullable()
|
|
11
11
|
}).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",
|
|
@@ -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}).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;AAEpE,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.$strip>;
|
|
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.$strip>;
|
|
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,11 +6,11 @@ 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.")
|
|
13
|
+
contact_count: z.number().int().describe("The total number of contacts currently in this list.").nullable()
|
|
14
14
|
}).describe("Response model for a contact list retrieved by its ID.")
|
|
15
15
|
});
|
|
16
16
|
//#endregion
|
|
@@ -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}).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,wDAOF;AACV,CAAC"}
|
|
@@ -3,17 +3,17 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-lists.ts
|
|
4
4
|
const SendfoxGetListsInput = zod.z.object({ page: zod.z.number().int().describe("Page number for pagination (starts at 1). If not specified, returns the first page.").optional() }).describe("Request schema for retrieving paginated contact lists from SendFox.");
|
|
5
5
|
const SendfoxGetLists_ListItemSchema = zod.z.object({
|
|
6
|
-
id: zod.z.number().int().describe("Unique identifier for the contact list."),
|
|
7
|
-
name: zod.z.string().describe("Name of the contact list."),
|
|
6
|
+
id: zod.z.number().int().describe("Unique identifier for the contact list.").nullable(),
|
|
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
9
|
}).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(),
|
|
13
|
-
total: zod.z.number().int().describe("Total number of records across all pages."),
|
|
14
|
-
per_page: zod.z.number().int().describe("Number of records per page."),
|
|
15
|
-
last_page: zod.z.number().int().describe("Total number of pages available."),
|
|
16
|
-
current_page: zod.z.number().int().describe("Current page number.")
|
|
13
|
+
total: zod.z.number().int().describe("Total number of records across all pages.").nullable(),
|
|
14
|
+
per_page: zod.z.number().int().describe("Number of records per page.").nullable(),
|
|
15
|
+
last_page: zod.z.number().int().describe("Total number of pages available.").nullable(),
|
|
16
|
+
current_page: zod.z.number().int().describe("Current page number.").nullable()
|
|
17
17
|
}).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."),
|
|
@@ -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
|
|
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;AAC1D,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,SAAS,8CAA8C;AAC1D,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,SAAS,2DAA2D;AAEvE,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-lists.d.ts
|
|
4
|
-
declare const SendfoxGetListsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SendfoxGetListsInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const SendfoxGetListsOutput: z.ZodObject<{
|
|
8
|
+
lists: z.ZodArray<z.ZodObject<{
|
|
9
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
name: z.ZodNullable<z.ZodString>;
|
|
11
|
+
contact_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
+
}, z.core.$strip>>;
|
|
13
|
+
pagination: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14
|
+
to: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
|
+
from: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
17
|
+
per_page: z.ZodNullable<z.ZodNumber>;
|
|
18
|
+
last_page: z.ZodNullable<z.ZodNumber>;
|
|
19
|
+
current_page: z.ZodNullable<z.ZodNumber>;
|
|
20
|
+
}, z.core.$strip>>>;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
declare const sendfoxGetLists: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
|
+
page?: number | undefined;
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
25
|
//#endregion
|
|
8
26
|
export { sendfoxGetLists };
|
|
9
27
|
//# sourceMappingURL=get-lists.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-lists.d.cts","names":[],"sources":["../../src/actions/get-lists.ts"],"mappings":";;;cAIa,oBAAA,
|
|
1
|
+
{"version":3,"file":"get-lists.d.cts","names":[],"sources":["../../src/actions/get-lists.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAgBpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAKrB,eAAA,gCAAe,wBAAA"}
|
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-lists.d.ts
|
|
4
|
-
declare const SendfoxGetListsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SendfoxGetListsInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const SendfoxGetListsOutput: z.ZodObject<{
|
|
8
|
+
lists: z.ZodArray<z.ZodObject<{
|
|
9
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
name: z.ZodNullable<z.ZodString>;
|
|
11
|
+
contact_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
+
}, z.core.$strip>>;
|
|
13
|
+
pagination: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14
|
+
to: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
|
+
from: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
17
|
+
per_page: z.ZodNullable<z.ZodNumber>;
|
|
18
|
+
last_page: z.ZodNullable<z.ZodNumber>;
|
|
19
|
+
current_page: z.ZodNullable<z.ZodNumber>;
|
|
20
|
+
}, z.core.$strip>>>;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
declare const sendfoxGetLists: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
|
+
page?: number | undefined;
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
25
|
//#endregion
|
|
8
26
|
export { sendfoxGetLists };
|
|
9
27
|
//# sourceMappingURL=get-lists.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-lists.d.mts","names":[],"sources":["../../src/actions/get-lists.ts"],"mappings":";;;cAIa,oBAAA,
|
|
1
|
+
{"version":3,"file":"get-lists.d.mts","names":[],"sources":["../../src/actions/get-lists.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAgBpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAKrB,eAAA,gCAAe,wBAAA"}
|
|
@@ -3,17 +3,17 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/get-lists.ts
|
|
4
4
|
const SendfoxGetListsInput = z.object({ page: z.number().int().describe("Page number for pagination (starts at 1). If not specified, returns the first page.").optional() }).describe("Request schema for retrieving paginated contact lists from SendFox.");
|
|
5
5
|
const SendfoxGetLists_ListItemSchema = z.object({
|
|
6
|
-
id: z.number().int().describe("Unique identifier for the contact list."),
|
|
7
|
-
name: z.string().describe("Name of the contact list."),
|
|
6
|
+
id: z.number().int().describe("Unique identifier for the contact list.").nullable(),
|
|
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
9
|
}).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(),
|
|
13
|
-
total: z.number().int().describe("Total number of records across all pages."),
|
|
14
|
-
per_page: z.number().int().describe("Number of records per page."),
|
|
15
|
-
last_page: z.number().int().describe("Total number of pages available."),
|
|
16
|
-
current_page: z.number().int().describe("Current page number.")
|
|
13
|
+
total: z.number().int().describe("Total number of records across all pages.").nullable(),
|
|
14
|
+
per_page: z.number().int().describe("Number of records per page.").nullable(),
|
|
15
|
+
last_page: z.number().int().describe("Total number of pages available.").nullable(),
|
|
16
|
+
current_page: z.number().int().describe("Current page number.").nullable()
|
|
17
17
|
}).describe("Pagination metadata returned by SendFox API.");
|
|
18
18
|
const sendfoxGetLists = action("SENDFOX_GET_LISTS", {
|
|
19
19
|
slug: "sendfox-get-lists",
|
|
@@ -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
|
|
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;AAC1D,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,SAAS,8CAA8C;AAM1D,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,SAAS,2DAOF;AACV,CAAC"}
|
|
@@ -3,16 +3,16 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/list-contact-fields.ts
|
|
4
4
|
const SendfoxListContactFieldsInput = zod.z.object({}).describe("Request schema for listing contact fields. No parameters required.");
|
|
5
5
|
const SendfoxListContactFields_ContactFieldItemSchema = zod.z.object({
|
|
6
|
-
id: zod.z.number().int().describe("Unique identifier for the contact field."),
|
|
7
|
-
name: zod.z.string().describe("Internal name/key of the custom contact field."),
|
|
8
|
-
type: zod.z.string().describe("Data type of the custom contact field (e.g., 'text', 'date')."),
|
|
9
|
-
label: zod.z.string().describe("Display label of the custom contact field.")
|
|
6
|
+
id: zod.z.number().int().describe("Unique identifier for the contact field.").nullable(),
|
|
7
|
+
name: zod.z.string().describe("Internal name/key of the custom contact field.").nullable(),
|
|
8
|
+
type: zod.z.string().describe("Data type of the custom contact field (e.g., 'text', 'date').").nullable(),
|
|
9
|
+
label: zod.z.string().describe("Display label of the custom contact field.").nullable()
|
|
10
10
|
}).describe("Represents a single custom contact field in SendFox.");
|
|
11
11
|
const SendfoxListContactFields_PaginatedDataSchema = zod.z.object({
|
|
12
12
|
data: zod.z.array(SendfoxListContactFields_ContactFieldItemSchema).describe("Array of custom contact fields defined by the user."),
|
|
13
|
-
total: zod.z.number().int().describe("Total number of custom contact fields available."),
|
|
14
|
-
per_page: zod.z.number().int().describe("Number of contact fields returned per page."),
|
|
15
|
-
current_page: zod.z.number().int().describe("Current page number in the pagination.")
|
|
13
|
+
total: zod.z.number().int().describe("Total number of custom contact fields available.").nullable(),
|
|
14
|
+
per_page: zod.z.number().int().describe("Number of contact fields returned per page.").nullable(),
|
|
15
|
+
current_page: zod.z.number().int().describe("Current page number in the pagination.").nullable()
|
|
16
16
|
}).describe("Paginated data wrapper for contact fields.");
|
|
17
17
|
const SendfoxListContactFieldsOutput = zod.z.object({ data: SendfoxListContactFields_PaginatedDataSchema.nullable() }).describe("Response schema for paginated list of custom contact fields.");
|
|
18
18
|
const sendfoxListContactFields = require_action.action("SENDFOX_LIST_CONTACT_FIELDS", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-contact-fields.cjs","names":["z","action"],"sources":["../../src/actions/list-contact-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxListContactFieldsInput
|
|
1
|
+
{"version":3,"file":"list-contact-fields.cjs","names":["z","action"],"sources":["../../src/actions/list-contact-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxListContactFieldsInput = z.object({}).describe(\"Request schema for listing contact fields. No parameters required.\");\nconst SendfoxListContactFields_ContactFieldItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the contact field.\").nullable(),\n name: z.string().describe(\"Internal name/key of the custom contact field.\").nullable(),\n type: z.string().describe(\"Data type of the custom contact field (e.g., 'text', 'date').\").nullable(),\n label: z.string().describe(\"Display label of the custom contact field.\").nullable(),\n}).describe(\"Represents a single custom contact field in SendFox.\");\nconst SendfoxListContactFields_PaginatedDataSchema = z.object({\n data: z.array(SendfoxListContactFields_ContactFieldItemSchema).describe(\"Array of custom contact fields defined by the user.\"),\n total: z.number().int().describe(\"Total number of custom contact fields available.\").nullable(),\n per_page: z.number().int().describe(\"Number of contact fields returned per page.\").nullable(),\n current_page: z.number().int().describe(\"Current page number in the pagination.\").nullable(),\n}).describe(\"Paginated data wrapper for contact fields.\");\nexport const SendfoxListContactFieldsOutput = z.object({\n data: SendfoxListContactFields_PaginatedDataSchema.nullable(),\n}).describe(\"Response schema for paginated list of custom contact fields.\");\n\nexport const sendfoxListContactFields = action(\"SENDFOX_LIST_CONTACT_FIELDS\", {\n slug: \"sendfox-list-contact-fields\",\n name: \"List Contact Fields\",\n description: \"Tool to list all custom contact fields defined by the user. Returns a paginated list of contact fields with their IDs, names, and timestamps.\",\n input: SendfoxListContactFieldsInput,\n output: SendfoxListContactFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE;AACvI,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACpG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,qDAAqD;CAC7H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC9F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC5F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,MAAM,6CAA6C,SAAS,EAC9D,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAE1E,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|