@keystrokehq/sendfox 0.1.4 → 0.1.6
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 -0
- package/dist/actions/delete-contact-from-list.cjs.map +1 -1
- package/dist/actions/delete-contact-from-list.d.cts +3 -4
- package/dist/actions/delete-contact-from-list.d.cts.map +1 -1
- package/dist/actions/delete-contact-from-list.d.mts +3 -4
- package/dist/actions/delete-contact-from-list.d.mts.map +1 -1
- package/dist/actions/delete-contact-from-list.mjs +1 -0
- package/dist/actions/delete-contact-from-list.mjs.map +1 -1
- package/dist/actions/get-automations.cjs +1 -0
- package/dist/actions/get-automations.cjs.map +1 -1
- package/dist/actions/get-automations.d.cts +3 -1
- package/dist/actions/get-automations.d.cts.map +1 -1
- package/dist/actions/get-automations.d.mts +3 -1
- package/dist/actions/get-automations.d.mts.map +1 -1
- package/dist/actions/get-automations.mjs +1 -0
- package/dist/actions/get-automations.mjs.map +1 -1
- package/dist/actions/get-campaign-by-id.cjs +1 -0
- package/dist/actions/get-campaign-by-id.cjs.map +1 -1
- package/dist/actions/get-campaign-by-id.d.cts +3 -3
- package/dist/actions/get-campaign-by-id.d.cts.map +1 -1
- package/dist/actions/get-campaign-by-id.d.mts +3 -3
- package/dist/actions/get-campaign-by-id.d.mts.map +1 -1
- package/dist/actions/get-campaign-by-id.mjs +1 -0
- package/dist/actions/get-campaign-by-id.mjs.map +1 -1
- package/dist/actions/get-campaigns.cjs +1 -0
- package/dist/actions/get-campaigns.cjs.map +1 -1
- package/dist/actions/get-campaigns.d.cts +3 -3
- package/dist/actions/get-campaigns.d.cts.map +1 -1
- package/dist/actions/get-campaigns.d.mts +3 -3
- package/dist/actions/get-campaigns.d.mts.map +1 -1
- package/dist/actions/get-campaigns.mjs +1 -0
- package/dist/actions/get-campaigns.mjs.map +1 -1
- package/dist/actions/get-contact-by-id.cjs +1 -0
- package/dist/actions/get-contact-by-id.cjs.map +1 -1
- package/dist/actions/get-contact-by-id.d.cts +3 -3
- package/dist/actions/get-contact-by-id.d.cts.map +1 -1
- package/dist/actions/get-contact-by-id.d.mts +3 -3
- package/dist/actions/get-contact-by-id.d.mts.map +1 -1
- package/dist/actions/get-contact-by-id.mjs +1 -0
- package/dist/actions/get-contact-by-id.mjs.map +1 -1
- package/dist/actions/get-contact-fields.cjs +1 -0
- package/dist/actions/get-contact-fields.cjs.map +1 -1
- package/dist/actions/get-contact-fields.d.cts +3 -1
- package/dist/actions/get-contact-fields.d.cts.map +1 -1
- package/dist/actions/get-contact-fields.d.mts +3 -1
- package/dist/actions/get-contact-fields.d.mts.map +1 -1
- package/dist/actions/get-contact-fields.mjs +1 -0
- package/dist/actions/get-contact-fields.mjs.map +1 -1
- package/dist/actions/get-contacts-in-list.cjs +1 -0
- package/dist/actions/get-contacts-in-list.cjs.map +1 -1
- package/dist/actions/get-contacts-in-list.d.cts +3 -4
- package/dist/actions/get-contacts-in-list.d.cts.map +1 -1
- package/dist/actions/get-contacts-in-list.d.mts +3 -4
- package/dist/actions/get-contacts-in-list.d.mts.map +1 -1
- package/dist/actions/get-contacts-in-list.mjs +1 -0
- package/dist/actions/get-contacts-in-list.mjs.map +1 -1
- package/dist/actions/get-contacts.cjs +1 -0
- package/dist/actions/get-contacts.cjs.map +1 -1
- package/dist/actions/get-contacts.d.cts +3 -4
- package/dist/actions/get-contacts.d.cts.map +1 -1
- package/dist/actions/get-contacts.d.mts +3 -4
- package/dist/actions/get-contacts.d.mts.map +1 -1
- package/dist/actions/get-contacts.mjs +1 -0
- package/dist/actions/get-contacts.mjs.map +1 -1
- package/dist/actions/get-current-user.cjs +1 -0
- package/dist/actions/get-current-user.cjs.map +1 -1
- package/dist/actions/get-current-user.d.cts +3 -1
- package/dist/actions/get-current-user.d.cts.map +1 -1
- package/dist/actions/get-current-user.d.mts +3 -1
- package/dist/actions/get-current-user.d.mts.map +1 -1
- package/dist/actions/get-current-user.mjs +1 -0
- package/dist/actions/get-current-user.mjs.map +1 -1
- package/dist/actions/get-forms.cjs +1 -0
- package/dist/actions/get-forms.cjs.map +1 -1
- package/dist/actions/get-forms.d.cts +3 -3
- package/dist/actions/get-forms.d.cts.map +1 -1
- package/dist/actions/get-forms.d.mts +3 -3
- package/dist/actions/get-forms.d.mts.map +1 -1
- package/dist/actions/get-forms.mjs +1 -0
- package/dist/actions/get-forms.mjs.map +1 -1
- package/dist/actions/get-list-by-id.cjs +1 -0
- package/dist/actions/get-list-by-id.cjs.map +1 -1
- package/dist/actions/get-list-by-id.d.cts +3 -3
- package/dist/actions/get-list-by-id.d.cts.map +1 -1
- package/dist/actions/get-list-by-id.d.mts +3 -3
- package/dist/actions/get-list-by-id.d.mts.map +1 -1
- package/dist/actions/get-list-by-id.mjs +1 -0
- package/dist/actions/get-list-by-id.mjs.map +1 -1
- package/dist/actions/get-lists.cjs +1 -0
- package/dist/actions/get-lists.cjs.map +1 -1
- package/dist/actions/get-lists.d.cts +3 -3
- package/dist/actions/get-lists.d.cts.map +1 -1
- package/dist/actions/get-lists.d.mts +3 -3
- package/dist/actions/get-lists.d.mts.map +1 -1
- package/dist/actions/get-lists.mjs +1 -0
- package/dist/actions/get-lists.mjs.map +1 -1
- package/dist/actions/list-contact-fields.cjs +1 -0
- package/dist/actions/list-contact-fields.cjs.map +1 -1
- package/dist/actions/list-contact-fields.d.cts +3 -1
- package/dist/actions/list-contact-fields.d.cts.map +1 -1
- package/dist/actions/list-contact-fields.d.mts +3 -1
- package/dist/actions/list-contact-fields.d.mts.map +1 -1
- package/dist/actions/list-contact-fields.mjs +1 -0
- package/dist/actions/list-contact-fields.mjs.map +1 -1
- package/dist/actions/list-unsubscribed-contacts.cjs +1 -0
- package/dist/actions/list-unsubscribed-contacts.cjs.map +1 -1
- package/dist/actions/list-unsubscribed-contacts.d.cts +3 -4
- package/dist/actions/list-unsubscribed-contacts.d.cts.map +1 -1
- package/dist/actions/list-unsubscribed-contacts.d.mts +3 -4
- package/dist/actions/list-unsubscribed-contacts.d.mts.map +1 -1
- package/dist/actions/list-unsubscribed-contacts.mjs +1 -0
- package/dist/actions/list-unsubscribed-contacts.mjs.map +1 -1
- package/dist/actions/patch-unsubscribe-contact.cjs +1 -0
- package/dist/actions/patch-unsubscribe-contact.cjs.map +1 -1
- package/dist/actions/patch-unsubscribe-contact.d.cts +3 -3
- package/dist/actions/patch-unsubscribe-contact.d.cts.map +1 -1
- package/dist/actions/patch-unsubscribe-contact.d.mts +3 -3
- package/dist/actions/patch-unsubscribe-contact.d.mts.map +1 -1
- package/dist/actions/patch-unsubscribe-contact.mjs +1 -0
- package/dist/actions/patch-unsubscribe-contact.mjs.map +1 -1
- package/dist/actions/post-create-contact.cjs +1 -0
- package/dist/actions/post-create-contact.cjs.map +1 -1
- package/dist/actions/post-create-contact.d.cts +3 -6
- package/dist/actions/post-create-contact.d.cts.map +1 -1
- package/dist/actions/post-create-contact.d.mts +3 -6
- package/dist/actions/post-create-contact.d.mts.map +1 -1
- package/dist/actions/post-create-contact.mjs +1 -0
- package/dist/actions/post-create-contact.mjs.map +1 -1
- package/dist/actions/post-create-list.cjs +1 -0
- package/dist/actions/post-create-list.cjs.map +1 -1
- package/dist/actions/post-create-list.d.cts +3 -3
- package/dist/actions/post-create-list.d.cts.map +1 -1
- package/dist/actions/post-create-list.d.mts +3 -3
- package/dist/actions/post-create-list.d.mts.map +1 -1
- package/dist/actions/post-create-list.mjs +1 -0
- package/dist/actions/post-create-list.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sendfox } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-lists.d.ts
|
|
@@ -19,9 +21,7 @@ declare const SendfoxGetListsOutput: z.ZodObject<{
|
|
|
19
21
|
current_page: z.ZodNullable<z.ZodNumber>;
|
|
20
22
|
}, z.core.$loose>>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const sendfoxGetLists:
|
|
23
|
-
page?: number | undefined;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
24
|
+
declare const sendfoxGetLists: AppAction<typeof SendfoxGetListsInput, typeof SendfoxGetListsOutput, typeof sendfox.credential>;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { sendfoxGetLists };
|
|
27
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":"
|
|
1
|
+
{"version":3,"file":"get-lists.d.mts","names":[],"sources":["../../src/actions/get-lists.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAgBpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAKrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-lists.mjs","names":[],"sources":["../../src/actions/get-lists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetListsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (starts at 1). If not specified, returns the first page.\").optional(),\n}).describe(\"Request schema for retrieving paginated contact lists from SendFox.\");\nconst SendfoxGetLists_ListItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the contact list.\").nullable(),\n name: z.string().describe(\"Name of the contact list.\").nullable(),\n contact_count: z.number().int().describe(\"Number of contacts in the list (may not be included in paginated responses).\").nullable().optional(),\n}).passthrough().describe(\"Represents a single contact list in SendFox.\");\nconst SendfoxGetLists_PaginationDataSchema = z.object({\n to: z.number().int().describe(\"Ending record number on this page.\").nullable().optional(),\n from: z.number().int().describe(\"Starting record number on this page.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of records across all pages.\").nullable(),\n per_page: z.number().int().describe(\"Number of records per page.\").nullable(),\n last_page: z.number().int().describe(\"Total number of pages available.\").nullable(),\n current_page: z.number().int().describe(\"Current page number.\").nullable(),\n}).passthrough().describe(\"Pagination metadata returned by SendFox API.\");\nexport const SendfoxGetListsOutput = z.object({\n lists: z.array(SendfoxGetLists_ListItemSchema).describe(\"Array of contact lists returned by the API.\"),\n pagination: SendfoxGetLists_PaginationDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for paginated contact lists from SendFox.\");\n\nexport const sendfoxGetLists = action(\"SENDFOX_GET_LISTS\", {\n slug: \"sendfox-get-lists\",\n name: \"Get Lists\",\n description: \"Retrieve all contact lists from your SendFox account with pagination support. Use this tool when you need to: - Fetch all available contact lists for your account - Get list IDs to use with other SendFox actions (e.g., adding contacts to lists) - Check list names and browse through paginated results Returns a list of contact lists with their IDs and names, along with pagination metadata.\",\n input: SendfoxGetListsInput,\n output: SendfoxGetListsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-lists.mjs","names":[],"sources":["../../src/actions/get-lists.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendfox } from \"../app\";\n\nexport const SendfoxGetListsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (starts at 1). If not specified, returns the first page.\").optional(),\n}).describe(\"Request schema for retrieving paginated contact lists from SendFox.\");\nconst SendfoxGetLists_ListItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the contact list.\").nullable(),\n name: z.string().describe(\"Name of the contact list.\").nullable(),\n contact_count: z.number().int().describe(\"Number of contacts in the list (may not be included in paginated responses).\").nullable().optional(),\n}).passthrough().describe(\"Represents a single contact list in SendFox.\");\nconst SendfoxGetLists_PaginationDataSchema = z.object({\n to: z.number().int().describe(\"Ending record number on this page.\").nullable().optional(),\n from: z.number().int().describe(\"Starting record number on this page.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of records across all pages.\").nullable(),\n per_page: z.number().int().describe(\"Number of records per page.\").nullable(),\n last_page: z.number().int().describe(\"Total number of pages available.\").nullable(),\n current_page: z.number().int().describe(\"Current page number.\").nullable(),\n}).passthrough().describe(\"Pagination metadata returned by SendFox API.\");\nexport const SendfoxGetListsOutput = z.object({\n lists: z.array(SendfoxGetLists_ListItemSchema).describe(\"Array of contact lists returned by the API.\"),\n pagination: SendfoxGetLists_PaginationDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for paginated contact lists from SendFox.\");\n\nexport const sendfoxGetLists: AppAction<\n typeof SendfoxGetListsInput,\n typeof SendfoxGetListsOutput,\n typeof sendfox.credential\n> = 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":";;;;AAMA,MAAa,uBAAuB,EAAE,OAAO,EAC3C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,EAClI,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,iCAAiC,EAAE,OAAO;CAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACvF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC5E,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAClF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAMxE,MAAa,kBAIT,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdmC,EAAE,OAAO;EAC5C,OAAO,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,6CAA6C;EACrG,YAAY,qCAAqC,SAAS,CAAC,CAAC,SAAS;CACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAWhB;AACV,CAAC"}
|
|
@@ -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 = 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}).passthrough().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}).passthrough().describe(\"Paginated data wrapper for contact fields.\");\nexport const SendfoxListContactFieldsOutput = z.object({\n data: SendfoxListContactFields_PaginatedDataSchema.nullable(),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"list-contact-fields.cjs","names":["z","action"],"sources":["../../src/actions/list-contact-fields.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendfox } from \"../app\";\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}).passthrough().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}).passthrough().describe(\"Paginated data wrapper for contact fields.\");\nexport const SendfoxListContactFieldsOutput = z.object({\n data: SendfoxListContactFields_PaginatedDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for paginated list of custom contact fields.\");\n\nexport const sendfoxListContactFields: AppAction<\n typeof SendfoxListContactFieldsInput,\n typeof SendfoxListContactFieldsOutput,\n typeof sendfox.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,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,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,MAAM,6CAA6C,SAAS,EAC9D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AAExF,MAAa,2BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sendfox } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-contact-fields.d.ts
|
|
@@ -15,7 +17,7 @@ declare const SendfoxListContactFieldsOutput: z.ZodObject<{
|
|
|
15
17
|
current_page: z.ZodNullable<z.ZodNumber>;
|
|
16
18
|
}, z.core.$loose>>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const sendfoxListContactFields:
|
|
20
|
+
declare const sendfoxListContactFields: AppAction<typeof SendfoxListContactFieldsInput, typeof SendfoxListContactFieldsOutput, typeof sendfox.credential>;
|
|
19
21
|
//#endregion
|
|
20
22
|
export { sendfoxListContactFields };
|
|
21
23
|
//# sourceMappingURL=list-contact-fields.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-contact-fields.d.cts","names":[],"sources":["../../src/actions/list-contact-fields.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-contact-fields.d.cts","names":[],"sources":["../../src/actions/list-contact-fields.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAa7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sendfox } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-contact-fields.d.ts
|
|
@@ -15,7 +17,7 @@ declare const SendfoxListContactFieldsOutput: z.ZodObject<{
|
|
|
15
17
|
current_page: z.ZodNullable<z.ZodNumber>;
|
|
16
18
|
}, z.core.$loose>>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const sendfoxListContactFields:
|
|
20
|
+
declare const sendfoxListContactFields: AppAction<typeof SendfoxListContactFieldsInput, typeof SendfoxListContactFieldsOutput, typeof sendfox.credential>;
|
|
19
21
|
//#endregion
|
|
20
22
|
export { sendfoxListContactFields };
|
|
21
23
|
//# sourceMappingURL=list-contact-fields.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-contact-fields.d.mts","names":[],"sources":["../../src/actions/list-contact-fields.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-contact-fields.d.mts","names":[],"sources":["../../src/actions/list-contact-fields.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAa7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-contact-fields.mjs","names":[],"sources":["../../src/actions/list-contact-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxListContactFieldsInput = 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}).passthrough().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}).passthrough().describe(\"Paginated data wrapper for contact fields.\");\nexport const SendfoxListContactFieldsOutput = z.object({\n data: SendfoxListContactFields_PaginatedDataSchema.nullable(),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"list-contact-fields.mjs","names":[],"sources":["../../src/actions/list-contact-fields.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendfox } from \"../app\";\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}).passthrough().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}).passthrough().describe(\"Paginated data wrapper for contact fields.\");\nexport const SendfoxListContactFieldsOutput = z.object({\n data: SendfoxListContactFields_PaginatedDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for paginated list of custom contact fields.\");\n\nexport const sendfoxListContactFields: AppAction<\n typeof SendfoxListContactFieldsInput,\n typeof SendfoxListContactFieldsOutput,\n typeof sendfox.credential\n> = 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":";;;;AAMA,MAAa,gCAAgC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE;AACvI,MAAM,kDAAkD,EAAE,OAAO;CAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACpG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAM,+CAA+C,EAAE,OAAO;CAC5D,MAAM,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,qDAAqD;CAC7H,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC9F,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC5F,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAKtE,MAAa,2BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb4C,EAAE,OAAO,EACrD,MAAM,6CAA6C,SAAS,EAC9D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-unsubscribed-contacts.cjs","names":["z","action"],"sources":["../../src/actions/list-unsubscribed-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxListUnsubscribedContactsInput = z.object({\n page: z.number().int().describe(\"Page number to retrieve.\").optional(),\n query: z.string().describe(\"Search query for filtering unsubscribed contacts by name or email.\").optional(),\n}).describe(\"Request parameters for retrieving a paginated list of unsubscribed contacts.\");\nconst SendfoxListUnsubscribedContacts_UnsubscribedContactSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the contact.\").nullable(),\n email: z.string().describe(\"Email address of the contact.\").nullable(),\n last_name: z.string().describe(\"Last name of the contact.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the contact was created (ISO8601).\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact.\").nullable().optional(),\n ip_address: z.string().describe(\"IP address from which the contact subscribed.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the contact was last updated (ISO8601).\").nullable().optional(),\n unsubscribed_at: z.string().describe(\"Timestamp when the contact unsubscribed (ISO8601).\").nullable().optional(),\n}).passthrough().describe(\"Schema representing an unsubscribed Sendfox contact.\");\nexport const SendfoxListUnsubscribedContactsOutput = z.object({\n data: z.array(SendfoxListUnsubscribedContacts_UnsubscribedContactSchema).describe(\"List of unsubscribed contacts returned by the API.\"),\n total: z.number().int().describe(\"Total number of unsubscribed contacts available.\").nullable(),\n per_page: z.number().int().describe(\"Number of contacts returned per page.\").nullable(),\n current_page: z.number().int().describe(\"Current page number in the pagination.\").nullable(),\n}).passthrough().describe(\"Response schema for a paginated list of unsubscribed contacts.\");\n\nexport const sendfoxListUnsubscribedContacts = action(\"SENDFOX_LIST_UNSUBSCRIBED_CONTACTS\", {\n slug: \"sendfox-list-unsubscribed-contacts\",\n name: \"List Unsubscribed Contacts\",\n description: \"Tool to retrieve a paginated list of contacts who have unsubscribed. Use when you need to fetch unsubscribed contacts, optionally filtering by search query.\",\n input: SendfoxListUnsubscribedContactsInput,\n output: SendfoxListUnsubscribedContactsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-unsubscribed-contacts.cjs","names":["z","action"],"sources":["../../src/actions/list-unsubscribed-contacts.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendfox } from \"../app\";\n\nexport const SendfoxListUnsubscribedContactsInput = z.object({\n page: z.number().int().describe(\"Page number to retrieve.\").optional(),\n query: z.string().describe(\"Search query for filtering unsubscribed contacts by name or email.\").optional(),\n}).describe(\"Request parameters for retrieving a paginated list of unsubscribed contacts.\");\nconst SendfoxListUnsubscribedContacts_UnsubscribedContactSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the contact.\").nullable(),\n email: z.string().describe(\"Email address of the contact.\").nullable(),\n last_name: z.string().describe(\"Last name of the contact.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the contact was created (ISO8601).\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact.\").nullable().optional(),\n ip_address: z.string().describe(\"IP address from which the contact subscribed.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the contact was last updated (ISO8601).\").nullable().optional(),\n unsubscribed_at: z.string().describe(\"Timestamp when the contact unsubscribed (ISO8601).\").nullable().optional(),\n}).passthrough().describe(\"Schema representing an unsubscribed Sendfox contact.\");\nexport const SendfoxListUnsubscribedContactsOutput = z.object({\n data: z.array(SendfoxListUnsubscribedContacts_UnsubscribedContactSchema).describe(\"List of unsubscribed contacts returned by the API.\"),\n total: z.number().int().describe(\"Total number of unsubscribed contacts available.\").nullable(),\n per_page: z.number().int().describe(\"Number of contacts returned per page.\").nullable(),\n current_page: z.number().int().describe(\"Current page number in the pagination.\").nullable(),\n}).passthrough().describe(\"Response schema for a paginated list of unsubscribed contacts.\");\n\nexport const sendfoxListUnsubscribedContacts: AppAction<\n typeof SendfoxListUnsubscribedContactsInput,\n typeof SendfoxListUnsubscribedContactsOutput,\n typeof sendfox.credential\n> = action(\"SENDFOX_LIST_UNSUBSCRIBED_CONTACTS\", {\n slug: \"sendfox-list-unsubscribed-contacts\",\n name: \"List Unsubscribed Contacts\",\n description: \"Tool to retrieve a paginated list of contacts who have unsubscribed. Use when you need to fetch unsubscribed contacts, optionally filtering by search query.\",\n input: SendfoxListUnsubscribedContactsInput,\n output: SendfoxListUnsubscribedContactsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAC1F,MAAM,4DAA4DA,IAAAA,EAAE,OAAO;CACzE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,MAAM,yDAAyD,CAAC,CAAC,SAAS,oDAAoD;CACtI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC9F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACtF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAE1F,MAAa,kCAITC,eAAAA,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sendfox } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-unsubscribed-contacts.d.ts
|
|
@@ -20,10 +22,7 @@ declare const SendfoxListUnsubscribedContactsOutput: z.ZodObject<{
|
|
|
20
22
|
per_page: z.ZodNullable<z.ZodNumber>;
|
|
21
23
|
current_page: z.ZodNullable<z.ZodNumber>;
|
|
22
24
|
}, z.core.$loose>;
|
|
23
|
-
declare const sendfoxListUnsubscribedContacts:
|
|
24
|
-
page?: number | undefined;
|
|
25
|
-
query?: string | undefined;
|
|
26
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
25
|
+
declare const sendfoxListUnsubscribedContacts: AppAction<typeof SendfoxListUnsubscribedContactsInput, typeof SendfoxListUnsubscribedContactsOutput, typeof sendfox.credential>;
|
|
27
26
|
//#endregion
|
|
28
27
|
export { sendfoxListUnsubscribedContacts };
|
|
29
28
|
//# sourceMappingURL=list-unsubscribed-contacts.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-unsubscribed-contacts.d.cts","names":[],"sources":["../../src/actions/list-unsubscribed-contacts.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-unsubscribed-contacts.d.cts","names":[],"sources":["../../src/actions/list-unsubscribed-contacts.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;cAcpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAOrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sendfox } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-unsubscribed-contacts.d.ts
|
|
@@ -20,10 +22,7 @@ declare const SendfoxListUnsubscribedContactsOutput: z.ZodObject<{
|
|
|
20
22
|
per_page: z.ZodNullable<z.ZodNumber>;
|
|
21
23
|
current_page: z.ZodNullable<z.ZodNumber>;
|
|
22
24
|
}, z.core.$loose>;
|
|
23
|
-
declare const sendfoxListUnsubscribedContacts:
|
|
24
|
-
page?: number | undefined;
|
|
25
|
-
query?: string | undefined;
|
|
26
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
25
|
+
declare const sendfoxListUnsubscribedContacts: AppAction<typeof SendfoxListUnsubscribedContactsInput, typeof SendfoxListUnsubscribedContactsOutput, typeof sendfox.credential>;
|
|
27
26
|
//#endregion
|
|
28
27
|
export { sendfoxListUnsubscribedContacts };
|
|
29
28
|
//# sourceMappingURL=list-unsubscribed-contacts.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-unsubscribed-contacts.d.mts","names":[],"sources":["../../src/actions/list-unsubscribed-contacts.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-unsubscribed-contacts.d.mts","names":[],"sources":["../../src/actions/list-unsubscribed-contacts.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;cAcpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAOrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-unsubscribed-contacts.mjs","names":[],"sources":["../../src/actions/list-unsubscribed-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxListUnsubscribedContactsInput = z.object({\n page: z.number().int().describe(\"Page number to retrieve.\").optional(),\n query: z.string().describe(\"Search query for filtering unsubscribed contacts by name or email.\").optional(),\n}).describe(\"Request parameters for retrieving a paginated list of unsubscribed contacts.\");\nconst SendfoxListUnsubscribedContacts_UnsubscribedContactSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the contact.\").nullable(),\n email: z.string().describe(\"Email address of the contact.\").nullable(),\n last_name: z.string().describe(\"Last name of the contact.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the contact was created (ISO8601).\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact.\").nullable().optional(),\n ip_address: z.string().describe(\"IP address from which the contact subscribed.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the contact was last updated (ISO8601).\").nullable().optional(),\n unsubscribed_at: z.string().describe(\"Timestamp when the contact unsubscribed (ISO8601).\").nullable().optional(),\n}).passthrough().describe(\"Schema representing an unsubscribed Sendfox contact.\");\nexport const SendfoxListUnsubscribedContactsOutput = z.object({\n data: z.array(SendfoxListUnsubscribedContacts_UnsubscribedContactSchema).describe(\"List of unsubscribed contacts returned by the API.\"),\n total: z.number().int().describe(\"Total number of unsubscribed contacts available.\").nullable(),\n per_page: z.number().int().describe(\"Number of contacts returned per page.\").nullable(),\n current_page: z.number().int().describe(\"Current page number in the pagination.\").nullable(),\n}).passthrough().describe(\"Response schema for a paginated list of unsubscribed contacts.\");\n\nexport const sendfoxListUnsubscribedContacts = action(\"SENDFOX_LIST_UNSUBSCRIBED_CONTACTS\", {\n slug: \"sendfox-list-unsubscribed-contacts\",\n name: \"List Unsubscribed Contacts\",\n description: \"Tool to retrieve a paginated list of contacts who have unsubscribed. Use when you need to fetch unsubscribed contacts, optionally filtering by search query.\",\n input: SendfoxListUnsubscribedContactsInput,\n output: SendfoxListUnsubscribedContactsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-unsubscribed-contacts.mjs","names":[],"sources":["../../src/actions/list-unsubscribed-contacts.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendfox } from \"../app\";\n\nexport const SendfoxListUnsubscribedContactsInput = z.object({\n page: z.number().int().describe(\"Page number to retrieve.\").optional(),\n query: z.string().describe(\"Search query for filtering unsubscribed contacts by name or email.\").optional(),\n}).describe(\"Request parameters for retrieving a paginated list of unsubscribed contacts.\");\nconst SendfoxListUnsubscribedContacts_UnsubscribedContactSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the contact.\").nullable(),\n email: z.string().describe(\"Email address of the contact.\").nullable(),\n last_name: z.string().describe(\"Last name of the contact.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the contact was created (ISO8601).\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact.\").nullable().optional(),\n ip_address: z.string().describe(\"IP address from which the contact subscribed.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the contact was last updated (ISO8601).\").nullable().optional(),\n unsubscribed_at: z.string().describe(\"Timestamp when the contact unsubscribed (ISO8601).\").nullable().optional(),\n}).passthrough().describe(\"Schema representing an unsubscribed Sendfox contact.\");\nexport const SendfoxListUnsubscribedContactsOutput = z.object({\n data: z.array(SendfoxListUnsubscribedContacts_UnsubscribedContactSchema).describe(\"List of unsubscribed contacts returned by the API.\"),\n total: z.number().int().describe(\"Total number of unsubscribed contacts available.\").nullable(),\n per_page: z.number().int().describe(\"Number of contacts returned per page.\").nullable(),\n current_page: z.number().int().describe(\"Current page number in the pagination.\").nullable(),\n}).passthrough().describe(\"Response schema for a paginated list of unsubscribed contacts.\");\n\nexport const sendfoxListUnsubscribedContacts: AppAction<\n typeof SendfoxListUnsubscribedContactsInput,\n typeof SendfoxListUnsubscribedContactsOutput,\n typeof sendfox.credential\n> = action(\"SENDFOX_LIST_UNSUBSCRIBED_CONTACTS\", {\n slug: \"sendfox-list-unsubscribed-contacts\",\n name: \"List Unsubscribed Contacts\",\n description: \"Tool to retrieve a paginated list of contacts who have unsubscribed. Use when you need to fetch unsubscribed contacts, optionally filtering by search query.\",\n input: SendfoxListUnsubscribedContactsInput,\n output: SendfoxListUnsubscribedContactsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uCAAuC,EAAE,OAAO;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAC1F,MAAM,4DAA4D,EAAE,OAAO;CACzE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAQhF,MAAa,kCAIT,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhBmD,EAAE,OAAO;EAC5D,MAAM,EAAE,MAAM,yDAAyD,CAAC,CAAC,SAAS,oDAAoD;EACtI,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC9F,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EACtF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patch-unsubscribe-contact.cjs","names":["z","action"],"sources":["../../src/actions/patch-unsubscribe-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxPatchUnsubscribeContactInput = z.object({\n email: z.string().describe(\"Email address of the contact to unsubscribe. The contact must exist in your SendFox account.\"),\n}).describe(\"Request parameters for unsubscribing a SendFox contact.\");\nexport const SendfoxPatchUnsubscribeContactOutput = z.object({\n id: z.number().int().describe(\"The unique identifier of the contact.\").nullable().optional(),\n email: z.string().describe(\"The email address of the unsubscribed contact.\").nullable(),\n last_name: z.string().describe(\"The last name of the contact.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp when the contact was created.\").nullable().optional(),\n first_name: z.string().describe(\"The first name of the contact.\").nullable().optional(),\n ip_address: z.string().describe(\"The IP address of the contact.\").nullable().optional(),\n updated_at: z.string().describe(\"The timestamp when the contact was last updated.\").nullable().optional(),\n unsubscribed_at: z.string().describe(\"The timestamp when the contact was unsubscribed. Set after this action completes.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for unsubscribing a contact. Returns the contact details with updated unsubscribed_at timestamp.\");\n\nexport const sendfoxPatchUnsubscribeContact = action(\"SENDFOX_PATCH_UNSUBSCRIBE_CONTACT\", {\n slug: \"sendfox-patch-unsubscribe-contact\",\n name: \"Unsubscribe Contact\",\n description: \"Unsubscribe a contact from all email communications in your SendFox account. Use this tool when you need to: - Globally unsubscribe a contact from all future emails - Honor unsubscribe requests from subscribers - Mark a contact as opted-out The contact will be marked as unsubscribed but remains in your contacts database. This is a permanent action - the contact will not receive any future campaigns.\",\n input: SendfoxPatchUnsubscribeContactInput,\n output: SendfoxPatchUnsubscribeContactOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"patch-unsubscribe-contact.cjs","names":["z","action"],"sources":["../../src/actions/patch-unsubscribe-contact.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendfox } from \"../app\";\n\nexport const SendfoxPatchUnsubscribeContactInput = z.object({\n email: z.string().describe(\"Email address of the contact to unsubscribe. The contact must exist in your SendFox account.\"),\n}).describe(\"Request parameters for unsubscribing a SendFox contact.\");\nexport const SendfoxPatchUnsubscribeContactOutput = z.object({\n id: z.number().int().describe(\"The unique identifier of the contact.\").nullable().optional(),\n email: z.string().describe(\"The email address of the unsubscribed contact.\").nullable(),\n last_name: z.string().describe(\"The last name of the contact.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp when the contact was created.\").nullable().optional(),\n first_name: z.string().describe(\"The first name of the contact.\").nullable().optional(),\n ip_address: z.string().describe(\"The IP address of the contact.\").nullable().optional(),\n updated_at: z.string().describe(\"The timestamp when the contact was last updated.\").nullable().optional(),\n unsubscribed_at: z.string().describe(\"The timestamp when the contact was unsubscribed. Set after this action completes.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for unsubscribing a contact. Returns the contact details with updated unsubscribed_at timestamp.\");\n\nexport const sendfoxPatchUnsubscribeContact: AppAction<\n typeof SendfoxPatchUnsubscribeContactInput,\n typeof SendfoxPatchUnsubscribeContactOutput,\n typeof sendfox.credential\n> = action(\"SENDFOX_PATCH_UNSUBSCRIBE_CONTACT\", {\n slug: \"sendfox-patch-unsubscribe-contact\",\n name: \"Unsubscribe Contact\",\n description: \"Unsubscribe a contact from all email communications in your SendFox account. Use this tool when you need to: - Globally unsubscribe a contact from all future emails - Honor unsubscribe requests from subscribers - Mark a contact as opted-out The contact will be marked as unsubscribed but remains in your contacts database. This is a permanent action - the contact will not receive any future campaigns.\",\n input: SendfoxPatchUnsubscribeContactInput,\n output: SendfoxPatchUnsubscribeContactOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,EAC3H,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACtF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kHAAkH;AAE5I,MAAa,iCAITC,eAAAA,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sendfox } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/patch-unsubscribe-contact.d.ts
|
|
@@ -14,9 +16,7 @@ declare const SendfoxPatchUnsubscribeContactOutput: z.ZodObject<{
|
|
|
14
16
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
17
|
unsubscribed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const sendfoxPatchUnsubscribeContact:
|
|
18
|
-
email: string;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
|
+
declare const sendfoxPatchUnsubscribeContact: AppAction<typeof SendfoxPatchUnsubscribeContactInput, typeof SendfoxPatchUnsubscribeContactOutput, typeof sendfox.credential>;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { sendfoxPatchUnsubscribeContact };
|
|
22
22
|
//# sourceMappingURL=patch-unsubscribe-contact.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patch-unsubscribe-contact.d.cts","names":[],"sources":["../../src/actions/patch-unsubscribe-contact.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"patch-unsubscribe-contact.d.cts","names":[],"sources":["../../src/actions/patch-unsubscribe-contact.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAGnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;cAWpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sendfox } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/patch-unsubscribe-contact.d.ts
|
|
@@ -14,9 +16,7 @@ declare const SendfoxPatchUnsubscribeContactOutput: z.ZodObject<{
|
|
|
14
16
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
17
|
unsubscribed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const sendfoxPatchUnsubscribeContact:
|
|
18
|
-
email: string;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
|
+
declare const sendfoxPatchUnsubscribeContact: AppAction<typeof SendfoxPatchUnsubscribeContactInput, typeof SendfoxPatchUnsubscribeContactOutput, typeof sendfox.credential>;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { sendfoxPatchUnsubscribeContact };
|
|
22
22
|
//# sourceMappingURL=patch-unsubscribe-contact.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patch-unsubscribe-contact.d.mts","names":[],"sources":["../../src/actions/patch-unsubscribe-contact.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"patch-unsubscribe-contact.d.mts","names":[],"sources":["../../src/actions/patch-unsubscribe-contact.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAGnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;cAWpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patch-unsubscribe-contact.mjs","names":[],"sources":["../../src/actions/patch-unsubscribe-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxPatchUnsubscribeContactInput = z.object({\n email: z.string().describe(\"Email address of the contact to unsubscribe. The contact must exist in your SendFox account.\"),\n}).describe(\"Request parameters for unsubscribing a SendFox contact.\");\nexport const SendfoxPatchUnsubscribeContactOutput = z.object({\n id: z.number().int().describe(\"The unique identifier of the contact.\").nullable().optional(),\n email: z.string().describe(\"The email address of the unsubscribed contact.\").nullable(),\n last_name: z.string().describe(\"The last name of the contact.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp when the contact was created.\").nullable().optional(),\n first_name: z.string().describe(\"The first name of the contact.\").nullable().optional(),\n ip_address: z.string().describe(\"The IP address of the contact.\").nullable().optional(),\n updated_at: z.string().describe(\"The timestamp when the contact was last updated.\").nullable().optional(),\n unsubscribed_at: z.string().describe(\"The timestamp when the contact was unsubscribed. Set after this action completes.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for unsubscribing a contact. Returns the contact details with updated unsubscribed_at timestamp.\");\n\nexport const sendfoxPatchUnsubscribeContact = action(\"SENDFOX_PATCH_UNSUBSCRIBE_CONTACT\", {\n slug: \"sendfox-patch-unsubscribe-contact\",\n name: \"Unsubscribe Contact\",\n description: \"Unsubscribe a contact from all email communications in your SendFox account. Use this tool when you need to: - Globally unsubscribe a contact from all future emails - Honor unsubscribe requests from subscribers - Mark a contact as opted-out The contact will be marked as unsubscribed but remains in your contacts database. This is a permanent action - the contact will not receive any future campaigns.\",\n input: SendfoxPatchUnsubscribeContactInput,\n output: SendfoxPatchUnsubscribeContactOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"patch-unsubscribe-contact.mjs","names":[],"sources":["../../src/actions/patch-unsubscribe-contact.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendfox } from \"../app\";\n\nexport const SendfoxPatchUnsubscribeContactInput = z.object({\n email: z.string().describe(\"Email address of the contact to unsubscribe. The contact must exist in your SendFox account.\"),\n}).describe(\"Request parameters for unsubscribing a SendFox contact.\");\nexport const SendfoxPatchUnsubscribeContactOutput = z.object({\n id: z.number().int().describe(\"The unique identifier of the contact.\").nullable().optional(),\n email: z.string().describe(\"The email address of the unsubscribed contact.\").nullable(),\n last_name: z.string().describe(\"The last name of the contact.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp when the contact was created.\").nullable().optional(),\n first_name: z.string().describe(\"The first name of the contact.\").nullable().optional(),\n ip_address: z.string().describe(\"The IP address of the contact.\").nullable().optional(),\n updated_at: z.string().describe(\"The timestamp when the contact was last updated.\").nullable().optional(),\n unsubscribed_at: z.string().describe(\"The timestamp when the contact was unsubscribed. Set after this action completes.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for unsubscribing a contact. Returns the contact details with updated unsubscribed_at timestamp.\");\n\nexport const sendfoxPatchUnsubscribeContact: AppAction<\n typeof SendfoxPatchUnsubscribeContactInput,\n typeof SendfoxPatchUnsubscribeContactOutput,\n typeof sendfox.credential\n> = action(\"SENDFOX_PATCH_UNSUBSCRIBE_CONTACT\", {\n slug: \"sendfox-patch-unsubscribe-contact\",\n name: \"Unsubscribe Contact\",\n description: \"Unsubscribe a contact from all email communications in your SendFox account. Use this tool when you need to: - Globally unsubscribe a contact from all future emails - Honor unsubscribe requests from subscribers - Mark a contact as opted-out The contact will be marked as unsubscribed but remains in your contacts database. This is a permanent action - the contact will not receive any future campaigns.\",\n input: SendfoxPatchUnsubscribeContactInput,\n output: SendfoxPatchUnsubscribeContactOutput,\n});\n"],"mappings":";;;AAoBA,MAAa,iCAIT,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBiD,EAAE,OAAO,EAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,EAC3H,CAAC,CAAC,CAAC,SAAS,yDAoBH;CACP,QApBkD,EAAE,OAAO;EAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACtF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kHAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-create-contact.cjs","names":["z","action"],"sources":["../../src/actions/post-create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxPostCreateContactInput = z.object({\n email: z.string().describe(\"Email address of the contact to create. Must be a valid email format.\"),\n lists: z.array(z.number().int()).describe(\"Array of list IDs to add the contact to. Use the Get Lists action to retrieve available list IDs.\").optional(),\n last_name: z.string().describe(\"Last name of the contact. Optional.\").optional(),\n first_name: z.string().describe(\"First name of the contact. Optional but recommended for personalization.\").optional(),\n}).describe(\"Request model for creating a new contact in SendFox.\");\nexport const SendfoxPostCreateContactOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact in SendFox.\").nullable(),\n email: z.string().describe(\"Email address of the contact.\").nullable(),\n lists: z.array(z.number().int()).describe(\"List IDs the contact belongs to.\").nullable().optional(),\n status: z.string().describe(\"Subscription status of the contact (e.g., 'subscribed', 'unsubscribed').\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the contact, if provided.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the contact was created (ISO 8601 format).\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact, if provided.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the contact was last updated (ISO 8601 format).\").nullable().optional(),\n unsubscribed_at: z.string().describe(\"Timestamp when the contact unsubscribed, if applicable.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a created or updated SendFox contact.\");\n\nexport const sendfoxPostCreateContact = action(\"SENDFOX_POST_CREATE_CONTACT\", {\n slug: \"sendfox-post-create-contact\",\n name: \"Create Contact\",\n description: \"Create a new contact (subscriber) in your SendFox account. Use this tool when you need to: - Add a new subscriber to your email list - Create a contact with optional first/last name - Add a contact to one or more specific lists If the contact already exists, their information will be updated with the provided data.\",\n input: SendfoxPostCreateContactInput,\n output: SendfoxPostCreateContactOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"post-create-contact.cjs","names":["z","action"],"sources":["../../src/actions/post-create-contact.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendfox } from \"../app\";\n\nexport const SendfoxPostCreateContactInput = z.object({\n email: z.string().describe(\"Email address of the contact to create. Must be a valid email format.\"),\n lists: z.array(z.number().int()).describe(\"Array of list IDs to add the contact to. Use the Get Lists action to retrieve available list IDs.\").optional(),\n last_name: z.string().describe(\"Last name of the contact. Optional.\").optional(),\n first_name: z.string().describe(\"First name of the contact. Optional but recommended for personalization.\").optional(),\n}).describe(\"Request model for creating a new contact in SendFox.\");\nexport const SendfoxPostCreateContactOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact in SendFox.\").nullable(),\n email: z.string().describe(\"Email address of the contact.\").nullable(),\n lists: z.array(z.number().int()).describe(\"List IDs the contact belongs to.\").nullable().optional(),\n status: z.string().describe(\"Subscription status of the contact (e.g., 'subscribed', 'unsubscribed').\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the contact, if provided.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the contact was created (ISO 8601 format).\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact, if provided.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the contact was last updated (ISO 8601 format).\").nullable().optional(),\n unsubscribed_at: z.string().describe(\"Timestamp when the contact unsubscribed, if applicable.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a created or updated SendFox contact.\");\n\nexport const sendfoxPostCreateContact: AppAction<\n typeof SendfoxPostCreateContactInput,\n typeof SendfoxPostCreateContactOutput,\n typeof sendfox.credential\n> = action(\"SENDFOX_POST_CREATE_CONTACT\", {\n slug: \"sendfox-post-create-contact\",\n name: \"Create Contact\",\n description: \"Create a new contact (subscriber) in your SendFox account. Use this tool when you need to: - Add a new subscriber to your email list - Create a contact with optional first/last name - Add a contact to one or more specific lists If the contact already exists, their information will be updated with the provided data.\",\n input: SendfoxPostCreateContactInput,\n output: SendfoxPostCreateContactOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CAClG,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CACxJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrE,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAEpF,MAAa,2BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sendfox } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/post-create-contact.d.ts
|
|
@@ -18,12 +20,7 @@ declare const SendfoxPostCreateContactOutput: z.ZodObject<{
|
|
|
18
20
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
21
|
unsubscribed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const sendfoxPostCreateContact:
|
|
22
|
-
email: string;
|
|
23
|
-
lists?: number[] | undefined;
|
|
24
|
-
last_name?: string | undefined;
|
|
25
|
-
first_name?: string | undefined;
|
|
26
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
23
|
+
declare const sendfoxPostCreateContact: AppAction<typeof SendfoxPostCreateContactInput, typeof SendfoxPostCreateContactOutput, typeof sendfox.credential>;
|
|
27
24
|
//#endregion
|
|
28
25
|
export { sendfoxPostCreateContact };
|
|
29
26
|
//# sourceMappingURL=post-create-contact.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-create-contact.d.cts","names":[],"sources":["../../src/actions/post-create-contact.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"post-create-contact.d.cts","names":[],"sources":["../../src/actions/post-create-contact.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;cAM7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;cAY9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sendfox } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/post-create-contact.d.ts
|
|
@@ -18,12 +20,7 @@ declare const SendfoxPostCreateContactOutput: z.ZodObject<{
|
|
|
18
20
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
21
|
unsubscribed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const sendfoxPostCreateContact:
|
|
22
|
-
email: string;
|
|
23
|
-
lists?: number[] | undefined;
|
|
24
|
-
last_name?: string | undefined;
|
|
25
|
-
first_name?: string | undefined;
|
|
26
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
23
|
+
declare const sendfoxPostCreateContact: AppAction<typeof SendfoxPostCreateContactInput, typeof SendfoxPostCreateContactOutput, typeof sendfox.credential>;
|
|
27
24
|
//#endregion
|
|
28
25
|
export { sendfoxPostCreateContact };
|
|
29
26
|
//# sourceMappingURL=post-create-contact.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-create-contact.d.mts","names":[],"sources":["../../src/actions/post-create-contact.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"post-create-contact.d.mts","names":[],"sources":["../../src/actions/post-create-contact.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;cAM7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;cAY9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-create-contact.mjs","names":[],"sources":["../../src/actions/post-create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxPostCreateContactInput = z.object({\n email: z.string().describe(\"Email address of the contact to create. Must be a valid email format.\"),\n lists: z.array(z.number().int()).describe(\"Array of list IDs to add the contact to. Use the Get Lists action to retrieve available list IDs.\").optional(),\n last_name: z.string().describe(\"Last name of the contact. Optional.\").optional(),\n first_name: z.string().describe(\"First name of the contact. Optional but recommended for personalization.\").optional(),\n}).describe(\"Request model for creating a new contact in SendFox.\");\nexport const SendfoxPostCreateContactOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact in SendFox.\").nullable(),\n email: z.string().describe(\"Email address of the contact.\").nullable(),\n lists: z.array(z.number().int()).describe(\"List IDs the contact belongs to.\").nullable().optional(),\n status: z.string().describe(\"Subscription status of the contact (e.g., 'subscribed', 'unsubscribed').\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the contact, if provided.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the contact was created (ISO 8601 format).\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact, if provided.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the contact was last updated (ISO 8601 format).\").nullable().optional(),\n unsubscribed_at: z.string().describe(\"Timestamp when the contact unsubscribed, if applicable.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a created or updated SendFox contact.\");\n\nexport const sendfoxPostCreateContact = action(\"SENDFOX_POST_CREATE_CONTACT\", {\n slug: \"sendfox-post-create-contact\",\n name: \"Create Contact\",\n description: \"Create a new contact (subscriber) in your SendFox account. Use this tool when you need to: - Add a new subscriber to your email list - Create a contact with optional first/last name - Add a contact to one or more specific lists If the contact already exists, their information will be updated with the provided data.\",\n input: SendfoxPostCreateContactInput,\n output: SendfoxPostCreateContactOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"post-create-contact.mjs","names":[],"sources":["../../src/actions/post-create-contact.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendfox } from \"../app\";\n\nexport const SendfoxPostCreateContactInput = z.object({\n email: z.string().describe(\"Email address of the contact to create. Must be a valid email format.\"),\n lists: z.array(z.number().int()).describe(\"Array of list IDs to add the contact to. Use the Get Lists action to retrieve available list IDs.\").optional(),\n last_name: z.string().describe(\"Last name of the contact. Optional.\").optional(),\n first_name: z.string().describe(\"First name of the contact. Optional but recommended for personalization.\").optional(),\n}).describe(\"Request model for creating a new contact in SendFox.\");\nexport const SendfoxPostCreateContactOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact in SendFox.\").nullable(),\n email: z.string().describe(\"Email address of the contact.\").nullable(),\n lists: z.array(z.number().int()).describe(\"List IDs the contact belongs to.\").nullable().optional(),\n status: z.string().describe(\"Subscription status of the contact (e.g., 'subscribed', 'unsubscribed').\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the contact, if provided.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the contact was created (ISO 8601 format).\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact, if provided.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the contact was last updated (ISO 8601 format).\").nullable().optional(),\n unsubscribed_at: z.string().describe(\"Timestamp when the contact unsubscribed, if applicable.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a created or updated SendFox contact.\");\n\nexport const sendfoxPostCreateContact: AppAction<\n typeof SendfoxPostCreateContactInput,\n typeof SendfoxPostCreateContactOutput,\n typeof sendfox.credential\n> = action(\"SENDFOX_POST_CREATE_CONTACT\", {\n slug: \"sendfox-post-create-contact\",\n name: \"Create Contact\",\n description: \"Create a new contact (subscriber) in your SendFox account. Use this tool when you need to: - Add a new subscriber to your email list - Create a contact with optional first/last name - Add a contact to one or more specific lists If the contact already exists, their information will be updated with the provided data.\",\n input: SendfoxPostCreateContactInput,\n output: SendfoxPostCreateContactOutput,\n});\n"],"mappings":";;;AAwBA,MAAa,2BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA1B2C,EAAE,OAAO;EACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;EAClG,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;EACxJ,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACvH,CAAC,CAAC,CAAC,SAAS,sDAqBH;CACP,QArB4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACvF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACrE,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-create-list.cjs","names":["z","action"],"sources":["../../src/actions/post-create-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxPostCreateListInput = z.object({\n name: z.string().describe(\"Name of the contact list to create\"),\n}).describe(\"Request schema for creating a new contact list.\");\nexport const SendfoxPostCreateListOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the newly created list.\").nullable(),\n name: z.string().describe(\"Name of the created list.\").nullable(),\n created_at: z.string().describe(\"Date/time the list was created in ISO 8601 format.\").nullable().optional(),\n contact_count: z.number().int().describe(\"Number of contacts in the list (typically 0 for new lists).\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the newly created contact list.\");\n\nexport const sendfoxPostCreateList = action(\"SENDFOX_POST_CREATE_LIST\", {\n slug: \"sendfox-post-create-list\",\n name: \"Create List\",\n description: \"Create a new contact list in your SendFox account. Use this tool when you need to: - Create a new mailing list for organizing contacts - Set up a list before adding subscribers to it - Segment your audience by creating topic-specific lists The list will be created with 0 contacts initially. After creation, use other SendFox actions to add contacts to this list. Returns the created list's ID, name, and metadata.\",\n input: SendfoxPostCreateListInput,\n output: SendfoxPostCreateListOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"post-create-list.cjs","names":["z","action"],"sources":["../../src/actions/post-create-list.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendfox } from \"../app\";\n\nexport const SendfoxPostCreateListInput = z.object({\n name: z.string().describe(\"Name of the contact list to create\"),\n}).describe(\"Request schema for creating a new contact list.\");\nexport const SendfoxPostCreateListOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the newly created list.\").nullable(),\n name: z.string().describe(\"Name of the created list.\").nullable(),\n created_at: z.string().describe(\"Date/time the list was created in ISO 8601 format.\").nullable().optional(),\n contact_count: z.number().int().describe(\"Number of contacts in the list (typically 0 for new lists).\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the newly created contact list.\");\n\nexport const sendfoxPostCreateList: AppAction<\n typeof SendfoxPostCreateListInput,\n typeof SendfoxPostCreateListOutput,\n typeof sendfox.credential\n> = action(\"SENDFOX_POST_CREATE_LIST\", {\n slug: \"sendfox-post-create-list\",\n name: \"Create List\",\n description: \"Create a new contact list in your SendFox account. Use this tool when you need to: - Create a new mailing list for organizing contacts - Set up a list before adding subscribers to it - Segment your audience by creating topic-specific lists The list will be created with 0 contacts initially. After creation, use other SendFox actions to add contacts to this list. Returns the created list's ID, name, and metadata.\",\n input: SendfoxPostCreateListInput,\n output: SendfoxPostCreateListOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,EAChE,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,wBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sendfox } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/post-create-list.d.ts
|
|
@@ -10,9 +12,7 @@ declare const SendfoxPostCreateListOutput: z.ZodObject<{
|
|
|
10
12
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
13
|
contact_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const sendfoxPostCreateList:
|
|
14
|
-
name: string;
|
|
15
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
|
+
declare const sendfoxPostCreateList: AppAction<typeof SendfoxPostCreateListInput, typeof SendfoxPostCreateListOutput, typeof sendfox.credential>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { sendfoxPostCreateList };
|
|
18
18
|
//# sourceMappingURL=post-create-list.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-create-list.d.cts","names":[],"sources":["../../src/actions/post-create-list.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"post-create-list.d.cts","names":[],"sources":["../../src/actions/post-create-list.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;cAO3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sendfox } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/post-create-list.d.ts
|
|
@@ -10,9 +12,7 @@ declare const SendfoxPostCreateListOutput: z.ZodObject<{
|
|
|
10
12
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
13
|
contact_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const sendfoxPostCreateList:
|
|
14
|
-
name: string;
|
|
15
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
|
+
declare const sendfoxPostCreateList: AppAction<typeof SendfoxPostCreateListInput, typeof SendfoxPostCreateListOutput, typeof sendfox.credential>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { sendfoxPostCreateList };
|
|
18
18
|
//# sourceMappingURL=post-create-list.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-create-list.d.mts","names":[],"sources":["../../src/actions/post-create-list.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"post-create-list.d.mts","names":[],"sources":["../../src/actions/post-create-list.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;cAO3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-create-list.mjs","names":[],"sources":["../../src/actions/post-create-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxPostCreateListInput = z.object({\n name: z.string().describe(\"Name of the contact list to create\"),\n}).describe(\"Request schema for creating a new contact list.\");\nexport const SendfoxPostCreateListOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the newly created list.\").nullable(),\n name: z.string().describe(\"Name of the created list.\").nullable(),\n created_at: z.string().describe(\"Date/time the list was created in ISO 8601 format.\").nullable().optional(),\n contact_count: z.number().int().describe(\"Number of contacts in the list (typically 0 for new lists).\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the newly created contact list.\");\n\nexport const sendfoxPostCreateList = action(\"SENDFOX_POST_CREATE_LIST\", {\n slug: \"sendfox-post-create-list\",\n name: \"Create List\",\n description: \"Create a new contact list in your SendFox account. Use this tool when you need to: - Create a new mailing list for organizing contacts - Set up a list before adding subscribers to it - Segment your audience by creating topic-specific lists The list will be created with 0 contacts initially. After creation, use other SendFox actions to add contacts to this list. Returns the created list's ID, name, and metadata.\",\n input: SendfoxPostCreateListInput,\n output: SendfoxPostCreateListOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"post-create-list.mjs","names":[],"sources":["../../src/actions/post-create-list.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendfox } from \"../app\";\n\nexport const SendfoxPostCreateListInput = z.object({\n name: z.string().describe(\"Name of the contact list to create\"),\n}).describe(\"Request schema for creating a new contact list.\");\nexport const SendfoxPostCreateListOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the newly created list.\").nullable(),\n name: z.string().describe(\"Name of the created list.\").nullable(),\n created_at: z.string().describe(\"Date/time the list was created in ISO 8601 format.\").nullable().optional(),\n contact_count: z.number().int().describe(\"Number of contacts in the list (typically 0 for new lists).\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the newly created contact list.\");\n\nexport const sendfoxPostCreateList: AppAction<\n typeof SendfoxPostCreateListInput,\n typeof SendfoxPostCreateListOutput,\n typeof sendfox.credential\n> = action(\"SENDFOX_POST_CREATE_LIST\", {\n slug: \"sendfox-post-create-list\",\n name: \"Create List\",\n description: \"Create a new contact list in your SendFox account. Use this tool when you need to: - Create a new mailing list for organizing contacts - Set up a list before adding subscribers to it - Segment your audience by creating topic-specific lists The list will be created with 0 contacts initially. After creation, use other SendFox actions to add contacts to this list. Returns the created list's ID, name, and metadata.\",\n input: SendfoxPostCreateListInput,\n output: SendfoxPostCreateListOutput,\n});\n"],"mappings":";;;AAgBA,MAAa,wBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBwC,EAAE,OAAO,EACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,EAChE,CAAC,CAAC,CAAC,SAAS,iDAgBH;CACP,QAhByC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACvF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAChE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAWhB;AACV,CAAC"}
|
package/dist/app.cjs
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
|
|
1
2
|
//#region src/app.ts
|
|
2
|
-
const
|
|
3
|
+
const credential = { generic_api_key: require("zod").z.string() };
|
|
4
|
+
const sendfox = (0, _keystrokehq_keystroke_app.defineApp)({
|
|
3
5
|
slug: "sendfox",
|
|
4
|
-
auth: "keystroke"
|
|
6
|
+
auth: "keystroke",
|
|
7
|
+
credential
|
|
5
8
|
});
|
|
6
9
|
//#endregion
|
|
7
10
|
exports.sendfox = sendfox;
|
package/dist/app.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const sendfox = defineApp({\n slug: \"sendfox\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,WAAA,
|
|
1
|
+
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const sendfox: KeystrokeApp<\"sendfox\", typeof credential> = defineApp({\n slug: \"sendfox\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,WAAA,GAAA,2BAAA,UAAA,CAAgE;CAC3E,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
|