@keystrokehq/sendfox 0.1.0 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (145) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/delete-contact-from-list.cjs +1 -1
  4. package/dist/actions/delete-contact-from-list.cjs.map +1 -1
  5. package/dist/actions/delete-contact-from-list.d.cts +20 -3
  6. package/dist/actions/delete-contact-from-list.d.cts.map +1 -1
  7. package/dist/actions/delete-contact-from-list.d.mts +20 -3
  8. package/dist/actions/delete-contact-from-list.d.mts.map +1 -1
  9. package/dist/actions/delete-contact-from-list.mjs +1 -1
  10. package/dist/actions/delete-contact-from-list.mjs.map +1 -1
  11. package/dist/actions/get-automations.cjs +4 -4
  12. package/dist/actions/get-automations.cjs.map +1 -1
  13. package/dist/actions/get-automations.d.cts +11 -3
  14. package/dist/actions/get-automations.d.cts.map +1 -1
  15. package/dist/actions/get-automations.d.mts +11 -3
  16. package/dist/actions/get-automations.d.mts.map +1 -1
  17. package/dist/actions/get-automations.mjs +4 -4
  18. package/dist/actions/get-automations.mjs.map +1 -1
  19. package/dist/actions/get-campaign-by-id.cjs +7 -7
  20. package/dist/actions/get-campaign-by-id.cjs.map +1 -1
  21. package/dist/actions/get-campaign-by-id.d.cts +18 -3
  22. package/dist/actions/get-campaign-by-id.d.cts.map +1 -1
  23. package/dist/actions/get-campaign-by-id.d.mts +18 -3
  24. package/dist/actions/get-campaign-by-id.d.mts.map +1 -1
  25. package/dist/actions/get-campaign-by-id.mjs +7 -7
  26. package/dist/actions/get-campaign-by-id.mjs.map +1 -1
  27. package/dist/actions/get-campaigns.cjs +3 -3
  28. package/dist/actions/get-campaigns.cjs.map +1 -1
  29. package/dist/actions/get-campaigns.d.cts +24 -3
  30. package/dist/actions/get-campaigns.d.cts.map +1 -1
  31. package/dist/actions/get-campaigns.d.mts +24 -3
  32. package/dist/actions/get-campaigns.d.mts.map +1 -1
  33. package/dist/actions/get-campaigns.mjs +3 -3
  34. package/dist/actions/get-campaigns.mjs.map +1 -1
  35. package/dist/actions/get-contact-by-id.cjs +3 -3
  36. package/dist/actions/get-contact-by-id.cjs.map +1 -1
  37. package/dist/actions/get-contact-by-id.d.cts +17 -3
  38. package/dist/actions/get-contact-by-id.d.cts.map +1 -1
  39. package/dist/actions/get-contact-by-id.d.mts +17 -3
  40. package/dist/actions/get-contact-by-id.d.mts.map +1 -1
  41. package/dist/actions/get-contact-by-id.mjs +3 -3
  42. package/dist/actions/get-contact-by-id.mjs.map +1 -1
  43. package/dist/actions/get-contact-fields.cjs +5 -5
  44. package/dist/actions/get-contact-fields.cjs.map +1 -1
  45. package/dist/actions/get-contact-fields.d.cts +9 -3
  46. package/dist/actions/get-contact-fields.d.cts.map +1 -1
  47. package/dist/actions/get-contact-fields.d.mts +9 -3
  48. package/dist/actions/get-contact-fields.d.mts.map +1 -1
  49. package/dist/actions/get-contact-fields.mjs +5 -5
  50. package/dist/actions/get-contact-fields.mjs.map +1 -1
  51. package/dist/actions/get-contacts-in-list.cjs +7 -7
  52. package/dist/actions/get-contacts-in-list.cjs.map +1 -1
  53. package/dist/actions/get-contacts-in-list.d.cts +23 -3
  54. package/dist/actions/get-contacts-in-list.d.cts.map +1 -1
  55. package/dist/actions/get-contacts-in-list.d.mts +23 -3
  56. package/dist/actions/get-contacts-in-list.d.mts.map +1 -1
  57. package/dist/actions/get-contacts-in-list.mjs +7 -7
  58. package/dist/actions/get-contacts-in-list.mjs.map +1 -1
  59. package/dist/actions/get-contacts.cjs +7 -7
  60. package/dist/actions/get-contacts.cjs.map +1 -1
  61. package/dist/actions/get-contacts.d.cts +23 -3
  62. package/dist/actions/get-contacts.d.cts.map +1 -1
  63. package/dist/actions/get-contacts.d.mts +23 -3
  64. package/dist/actions/get-contacts.d.mts.map +1 -1
  65. package/dist/actions/get-contacts.mjs +7 -7
  66. package/dist/actions/get-contacts.mjs.map +1 -1
  67. package/dist/actions/get-current-user.cjs +4 -4
  68. package/dist/actions/get-current-user.cjs.map +1 -1
  69. package/dist/actions/get-current-user.d.cts +16 -3
  70. package/dist/actions/get-current-user.d.cts.map +1 -1
  71. package/dist/actions/get-current-user.d.mts +16 -3
  72. package/dist/actions/get-current-user.d.mts.map +1 -1
  73. package/dist/actions/get-current-user.mjs +4 -4
  74. package/dist/actions/get-current-user.mjs.map +1 -1
  75. package/dist/actions/get-forms.cjs +4 -4
  76. package/dist/actions/get-forms.cjs.map +1 -1
  77. package/dist/actions/get-forms.d.cts +18 -3
  78. package/dist/actions/get-forms.d.cts.map +1 -1
  79. package/dist/actions/get-forms.d.mts +18 -3
  80. package/dist/actions/get-forms.d.mts.map +1 -1
  81. package/dist/actions/get-forms.mjs +4 -4
  82. package/dist/actions/get-forms.mjs.map +1 -1
  83. package/dist/actions/get-list-by-id.cjs +4 -4
  84. package/dist/actions/get-list-by-id.cjs.map +1 -1
  85. package/dist/actions/get-list-by-id.d.cts +13 -3
  86. package/dist/actions/get-list-by-id.d.cts.map +1 -1
  87. package/dist/actions/get-list-by-id.d.mts +13 -3
  88. package/dist/actions/get-list-by-id.d.mts.map +1 -1
  89. package/dist/actions/get-list-by-id.mjs +4 -4
  90. package/dist/actions/get-list-by-id.mjs.map +1 -1
  91. package/dist/actions/get-lists.cjs +9 -9
  92. package/dist/actions/get-lists.cjs.map +1 -1
  93. package/dist/actions/get-lists.d.cts +21 -3
  94. package/dist/actions/get-lists.d.cts.map +1 -1
  95. package/dist/actions/get-lists.d.mts +21 -3
  96. package/dist/actions/get-lists.d.mts.map +1 -1
  97. package/dist/actions/get-lists.mjs +9 -9
  98. package/dist/actions/get-lists.mjs.map +1 -1
  99. package/dist/actions/list-contact-fields.cjs +10 -10
  100. package/dist/actions/list-contact-fields.cjs.map +1 -1
  101. package/dist/actions/list-contact-fields.d.cts +15 -3
  102. package/dist/actions/list-contact-fields.d.cts.map +1 -1
  103. package/dist/actions/list-contact-fields.d.mts +15 -3
  104. package/dist/actions/list-contact-fields.d.mts.map +1 -1
  105. package/dist/actions/list-contact-fields.mjs +10 -10
  106. package/dist/actions/list-contact-fields.mjs.map +1 -1
  107. package/dist/actions/list-unsubscribed-contacts.cjs +7 -7
  108. package/dist/actions/list-unsubscribed-contacts.cjs.map +1 -1
  109. package/dist/actions/list-unsubscribed-contacts.d.cts +23 -3
  110. package/dist/actions/list-unsubscribed-contacts.d.cts.map +1 -1
  111. package/dist/actions/list-unsubscribed-contacts.d.mts +23 -3
  112. package/dist/actions/list-unsubscribed-contacts.d.mts.map +1 -1
  113. package/dist/actions/list-unsubscribed-contacts.mjs +7 -7
  114. package/dist/actions/list-unsubscribed-contacts.mjs.map +1 -1
  115. package/dist/actions/patch-unsubscribe-contact.cjs +2 -2
  116. package/dist/actions/patch-unsubscribe-contact.cjs.map +1 -1
  117. package/dist/actions/patch-unsubscribe-contact.d.cts +16 -3
  118. package/dist/actions/patch-unsubscribe-contact.d.cts.map +1 -1
  119. package/dist/actions/patch-unsubscribe-contact.d.mts +16 -3
  120. package/dist/actions/patch-unsubscribe-contact.d.mts.map +1 -1
  121. package/dist/actions/patch-unsubscribe-contact.mjs +2 -2
  122. package/dist/actions/patch-unsubscribe-contact.mjs.map +1 -1
  123. package/dist/actions/post-create-contact.cjs +3 -3
  124. package/dist/actions/post-create-contact.cjs.map +1 -1
  125. package/dist/actions/post-create-contact.d.cts +23 -3
  126. package/dist/actions/post-create-contact.d.cts.map +1 -1
  127. package/dist/actions/post-create-contact.d.mts +23 -3
  128. package/dist/actions/post-create-contact.d.mts.map +1 -1
  129. package/dist/actions/post-create-contact.mjs +3 -3
  130. package/dist/actions/post-create-contact.mjs.map +1 -1
  131. package/dist/actions/post-create-list.cjs +3 -3
  132. package/dist/actions/post-create-list.cjs.map +1 -1
  133. package/dist/actions/post-create-list.d.cts +12 -3
  134. package/dist/actions/post-create-list.d.cts.map +1 -1
  135. package/dist/actions/post-create-list.d.mts +12 -3
  136. package/dist/actions/post-create-list.d.mts.map +1 -1
  137. package/dist/actions/post-create-list.mjs +3 -3
  138. package/dist/actions/post-create-list.mjs.map +1 -1
  139. package/dist/catalog.cjs +7 -1
  140. package/dist/catalog.cjs.map +1 -1
  141. package/dist/catalog.d.cts +8 -0
  142. package/dist/catalog.d.mts +8 -0
  143. package/dist/catalog.mjs +7 -1
  144. package/dist/catalog.mjs.map +1 -1
  145. package/package.json +2 -2
@@ -3,22 +3,22 @@ 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
- }).describe("Represents a single contact list in SendFox.");
9
+ }).passthrough().describe("Represents a single contact list in SendFox.");
10
10
  const SendfoxGetLists_PaginationDataSchema = zod.z.object({
11
11
  to: zod.z.number().int().describe("Ending record number on this page.").nullable().optional(),
12
12
  from: zod.z.number().int().describe("Starting record number on this page.").nullable().optional(),
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.")
17
- }).describe("Pagination metadata returned by SendFox API.");
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
+ }).passthrough().describe("Pagination metadata returned by SendFox API.");
18
18
  const SendfoxGetListsOutput = zod.z.object({
19
19
  lists: zod.z.array(SendfoxGetLists_ListItemSchema).describe("Array of contact lists returned by the API."),
20
20
  pagination: SendfoxGetLists_PaginationDataSchema.nullable().optional()
21
- }).describe("Response schema for paginated contact lists from SendFox.");
21
+ }).passthrough().describe("Response schema for paginated contact lists from SendFox.");
22
22
  const sendfoxGetLists = require_action.action("SENDFOX_GET_LISTS", {
23
23
  slug: "sendfox-get-lists",
24
24
  name: "Get Lists",
@@ -1 +1 @@
1
- {"version":3,"file":"get-lists.cjs","names":["z","action"],"sources":["../../src/actions/get-lists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetListsInput: z.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the contact list.\"),\n name: z.string().describe(\"Name of the contact list.\"),\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.ZodTypeAny = 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.\"),\n per_page: z.number().int().describe(\"Number of records per page.\"),\n last_page: z.number().int().describe(\"Total number of pages available.\"),\n current_page: z.number().int().describe(\"Current page number.\"),\n}).describe(\"Pagination metadata returned by SendFox API.\");\nexport const SendfoxGetListsOutput: z.ZodTypeAny = 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,uBAAqCA,IAAAA,EAAE,OAAO,EACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,EAClI,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,iCAA+CA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACrD,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,uCAAqDA,IAAAA,EAAE,OAAO;CAClE,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;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CACjE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC;CACvE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB;AAChE,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,wBAAsCA,IAAAA,EAAE,OAAO;CAC1D,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
+ {"version":3,"file":"get-lists.cjs","names":["z","action"],"sources":["../../src/actions/get-lists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetListsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (starts at 1). If not specified, returns the first page.\").optional(),\n}).describe(\"Request schema for retrieving paginated contact lists from SendFox.\");\nconst SendfoxGetLists_ListItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the contact list.\").nullable(),\n name: z.string().describe(\"Name of the contact list.\").nullable(),\n contact_count: z.number().int().describe(\"Number of contacts in the list (may not be included in paginated responses).\").nullable().optional(),\n}).passthrough().describe(\"Represents a single contact list in SendFox.\");\nconst SendfoxGetLists_PaginationDataSchema = z.object({\n to: z.number().int().describe(\"Ending record number on this page.\").nullable().optional(),\n from: z.number().int().describe(\"Starting record number on this page.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of records across all pages.\").nullable(),\n per_page: z.number().int().describe(\"Number of records per page.\").nullable(),\n last_page: z.number().int().describe(\"Total number of pages available.\").nullable(),\n current_page: z.number().int().describe(\"Current page number.\").nullable(),\n}).passthrough().describe(\"Pagination metadata returned by SendFox API.\");\nexport const SendfoxGetListsOutput = z.object({\n lists: z.array(SendfoxGetLists_ListItemSchema).describe(\"Array of contact lists returned by the API.\"),\n pagination: SendfoxGetLists_PaginationDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for paginated contact lists from SendFox.\");\n\nexport const sendfoxGetLists = action(\"SENDFOX_GET_LISTS\", {\n slug: \"sendfox-get-lists\",\n name: \"Get Lists\",\n description: \"Retrieve all contact lists from your SendFox account with pagination support. Use this tool when you need to: - Fetch all available contact lists for your account - Get list IDs to use with other SendFox actions (e.g., adding contacts to lists) - Check list names and browse through paginated results Returns a list of contact lists with their IDs and names, along with pagination metadata.\",\n input: SendfoxGetListsInput,\n output: SendfoxGetListsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,EAClI,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC5E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAClF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,OAAOA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,6CAA6C;CACrG,YAAY,qCAAqC,SAAS,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -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.ZodTypeAny;
5
- declare const SendfoxGetListsOutput: z.ZodTypeAny;
6
- declare const sendfoxGetLists: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
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.$loose>>;
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.$loose>>>;
21
+ }, z.core.$loose>;
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,EAAsB,CAAA,CAAE,UAE6C;AAAA,cAcrE,qBAAA,EAAuB,CAAA,CAAE,UAGkC;AAAA,cAE3D,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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.ZodTypeAny;
5
- declare const SendfoxGetListsOutput: z.ZodTypeAny;
6
- declare const sendfoxGetLists: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
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.$loose>>;
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.$loose>>>;
21
+ }, z.core.$loose>;
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,EAAsB,CAAA,CAAE,UAE6C;AAAA,cAcrE,qBAAA,EAAuB,CAAA,CAAE,UAGkC;AAAA,cAE3D,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,18 +3,18 @@ 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
- }).describe("Represents a single contact list in SendFox.");
9
+ }).passthrough().describe("Represents a single contact list in SendFox.");
10
10
  const SendfoxGetLists_PaginationDataSchema = z.object({
11
11
  to: z.number().int().describe("Ending record number on this page.").nullable().optional(),
12
12
  from: z.number().int().describe("Starting record number on this page.").nullable().optional(),
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.")
17
- }).describe("Pagination metadata returned by SendFox API.");
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
+ }).passthrough().describe("Pagination metadata returned by SendFox API.");
18
18
  const sendfoxGetLists = action("SENDFOX_GET_LISTS", {
19
19
  slug: "sendfox-get-lists",
20
20
  name: "Get Lists",
@@ -23,7 +23,7 @@ const sendfoxGetLists = action("SENDFOX_GET_LISTS", {
23
23
  output: z.object({
24
24
  lists: z.array(SendfoxGetLists_ListItemSchema).describe("Array of contact lists returned by the API."),
25
25
  pagination: SendfoxGetLists_PaginationDataSchema.nullable().optional()
26
- }).describe("Response schema for paginated contact lists from SendFox.")
26
+ }).passthrough().describe("Response schema for paginated contact lists from SendFox.")
27
27
  });
28
28
  //#endregion
29
29
  export { sendfoxGetLists };
@@ -1 +1 @@
1
- {"version":3,"file":"get-lists.mjs","names":[],"sources":["../../src/actions/get-lists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetListsInput: z.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the contact list.\"),\n name: z.string().describe(\"Name of the contact list.\"),\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.ZodTypeAny = 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.\"),\n per_page: z.number().int().describe(\"Number of records per page.\"),\n last_page: z.number().int().describe(\"Total number of pages available.\"),\n current_page: z.number().int().describe(\"Current page number.\"),\n}).describe(\"Pagination metadata returned by SendFox API.\");\nexport const SendfoxGetListsOutput: z.ZodTypeAny = 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,uBAAqC,EAAE,OAAO,EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,EAClI,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,iCAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACrD,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,uCAAqD,EAAE,OAAO;CAClE,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;CAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CACjE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC;CACvE,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB;AAChE,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAM1D,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAViD,EAAE,OAAO;EAC1D,OAAO,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,6CAA6C;EACrG,YAAY,qCAAqC,SAAS,CAAC,CAAC,SAAS;CACvE,CAAC,CAAC,CAAC,SAAS,2DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-lists.mjs","names":[],"sources":["../../src/actions/get-lists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetListsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (starts at 1). If not specified, returns the first page.\").optional(),\n}).describe(\"Request schema for retrieving paginated contact lists from SendFox.\");\nconst SendfoxGetLists_ListItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the contact list.\").nullable(),\n name: z.string().describe(\"Name of the contact list.\").nullable(),\n contact_count: z.number().int().describe(\"Number of contacts in the list (may not be included in paginated responses).\").nullable().optional(),\n}).passthrough().describe(\"Represents a single contact list in SendFox.\");\nconst SendfoxGetLists_PaginationDataSchema = z.object({\n to: z.number().int().describe(\"Ending record number on this page.\").nullable().optional(),\n from: z.number().int().describe(\"Starting record number on this page.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of records across all pages.\").nullable(),\n per_page: z.number().int().describe(\"Number of records per page.\").nullable(),\n last_page: z.number().int().describe(\"Total number of pages available.\").nullable(),\n current_page: z.number().int().describe(\"Current page number.\").nullable(),\n}).passthrough().describe(\"Pagination metadata returned by SendFox API.\");\nexport const SendfoxGetListsOutput = z.object({\n lists: z.array(SendfoxGetLists_ListItemSchema).describe(\"Array of contact lists returned by the API.\"),\n pagination: SendfoxGetLists_PaginationDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for paginated contact lists from SendFox.\");\n\nexport const sendfoxGetLists = action(\"SENDFOX_GET_LISTS\", {\n slug: \"sendfox-get-lists\",\n name: \"Get Lists\",\n description: \"Retrieve all contact lists from your SendFox account with pagination support. Use this tool when you need to: - Fetch all available contact lists for your account - Get list IDs to use with other SendFox actions (e.g., adding contacts to lists) - Check list names and browse through paginated results Returns a list of contact lists with their IDs and names, along with pagination metadata.\",\n input: SendfoxGetListsInput,\n output: SendfoxGetListsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuB,EAAE,OAAO,EAC3C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,EAClI,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,iCAAiC,EAAE,OAAO;CAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACvF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC5E,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAClF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAMxE,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVmC,EAAE,OAAO;EAC5C,OAAO,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,6CAA6C;EACrG,YAAY,qCAAqC,SAAS,CAAC,CAAC,SAAS;CACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAOhB;AACV,CAAC"}
@@ -3,18 +3,18 @@ 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.")
10
- }).describe("Represents a single custom contact field in SendFox.");
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
+ }).passthrough().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.")
16
- }).describe("Paginated data wrapper for contact fields.");
17
- const SendfoxListContactFieldsOutput = zod.z.object({ data: SendfoxListContactFields_PaginatedDataSchema.nullable() }).describe("Response schema for paginated list of custom contact fields.");
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
+ }).passthrough().describe("Paginated data wrapper for contact fields.");
17
+ const SendfoxListContactFieldsOutput = zod.z.object({ data: SendfoxListContactFields_PaginatedDataSchema.nullable() }).passthrough().describe("Response schema for paginated list of custom contact fields.");
18
18
  const sendfoxListContactFields = require_action.action("SENDFOX_LIST_CONTACT_FIELDS", {
19
19
  slug: "sendfox-list-contact-fields",
20
20
  name: "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: z.ZodTypeAny = z.object({}).describe(\"Request schema for listing contact fields. No parameters required.\");\nconst SendfoxListContactFields_ContactFieldItemSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the contact field.\"),\n name: z.string().describe(\"Internal name/key of the custom contact field.\"),\n type: z.string().describe(\"Data type of the custom contact field (e.g., 'text', 'date').\"),\n label: z.string().describe(\"Display label of the custom contact field.\"),\n}).describe(\"Represents a single custom contact field in SendFox.\");\nconst SendfoxListContactFields_PaginatedDataSchema: z.ZodTypeAny = 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.\"),\n per_page: z.number().int().describe(\"Number of contact fields returned per page.\"),\n current_page: z.number().int().describe(\"Current page number in the pagination.\"),\n}).describe(\"Paginated data wrapper for contact fields.\");\nexport const SendfoxListContactFieldsOutput: z.ZodTypeAny = 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,gCAA8CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE;AACrJ,MAAM,kDAAgEA,IAAAA,EAAE,OAAO;CAC7E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CACzF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;AACzE,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,+CAA6DA,IAAAA,EAAE,OAAO;CAC1E,MAAMA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,qDAAqD;CAC7H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;CACnF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;CACjF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;AAClF,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,EACnE,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"}
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":";;;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,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,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-contact-fields.d.ts
4
- declare const SendfoxListContactFieldsInput: z.ZodTypeAny;
5
- declare const SendfoxListContactFieldsOutput: z.ZodTypeAny;
6
- declare const sendfoxListContactFields: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendfoxListContactFieldsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const SendfoxListContactFieldsOutput: z.ZodObject<{
6
+ data: z.ZodNullable<z.ZodObject<{
7
+ data: z.ZodArray<z.ZodObject<{
8
+ id: z.ZodNullable<z.ZodNumber>;
9
+ name: z.ZodNullable<z.ZodString>;
10
+ type: z.ZodNullable<z.ZodString>;
11
+ label: z.ZodNullable<z.ZodString>;
12
+ }, z.core.$loose>>;
13
+ total: z.ZodNullable<z.ZodNumber>;
14
+ per_page: z.ZodNullable<z.ZodNumber>;
15
+ current_page: z.ZodNullable<z.ZodNumber>;
16
+ }, z.core.$loose>>;
17
+ }, z.core.$loose>;
18
+ declare const sendfoxListContactFields: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { sendfoxListContactFields };
9
21
  //# 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":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAAwG;AAAA,cAazI,8BAAA,EAAgC,CAAA,CAAE,UAE4B;AAAA,cAE9D,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-contact-fields.d.cts","names":[],"sources":["../../src/actions/list-contact-fields.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAa7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAI9B,wBAAA,gCAAwB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-contact-fields.d.ts
4
- declare const SendfoxListContactFieldsInput: z.ZodTypeAny;
5
- declare const SendfoxListContactFieldsOutput: z.ZodTypeAny;
6
- declare const sendfoxListContactFields: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendfoxListContactFieldsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const SendfoxListContactFieldsOutput: z.ZodObject<{
6
+ data: z.ZodNullable<z.ZodObject<{
7
+ data: z.ZodArray<z.ZodObject<{
8
+ id: z.ZodNullable<z.ZodNumber>;
9
+ name: z.ZodNullable<z.ZodString>;
10
+ type: z.ZodNullable<z.ZodString>;
11
+ label: z.ZodNullable<z.ZodString>;
12
+ }, z.core.$loose>>;
13
+ total: z.ZodNullable<z.ZodNumber>;
14
+ per_page: z.ZodNullable<z.ZodNumber>;
15
+ current_page: z.ZodNullable<z.ZodNumber>;
16
+ }, z.core.$loose>>;
17
+ }, z.core.$loose>;
18
+ declare const sendfoxListContactFields: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { sendfoxListContactFields };
9
21
  //# 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":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAAwG;AAAA,cAazI,8BAAA,EAAgC,CAAA,CAAE,UAE4B;AAAA,cAE9D,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-contact-fields.d.mts","names":[],"sources":["../../src/actions/list-contact-fields.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAa7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAI9B,wBAAA,gCAAwB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -3,23 +3,23 @@ import { z } from "zod";
3
3
  //#region src/actions/list-contact-fields.ts
4
4
  const SendfoxListContactFieldsInput = z.object({}).describe("Request schema for listing contact fields. No parameters required.");
5
5
  const SendfoxListContactFields_ContactFieldItemSchema = z.object({
6
- id: z.number().int().describe("Unique identifier for the contact field."),
7
- name: z.string().describe("Internal name/key of the custom contact field."),
8
- type: z.string().describe("Data type of the custom contact field (e.g., 'text', 'date')."),
9
- label: z.string().describe("Display label of the custom contact field.")
10
- }).describe("Represents a single custom contact field in SendFox.");
6
+ id: z.number().int().describe("Unique identifier for the contact field.").nullable(),
7
+ name: z.string().describe("Internal name/key of the custom contact field.").nullable(),
8
+ type: z.string().describe("Data type of the custom contact field (e.g., 'text', 'date').").nullable(),
9
+ label: z.string().describe("Display label of the custom contact field.").nullable()
10
+ }).passthrough().describe("Represents a single custom contact field in SendFox.");
11
11
  const SendfoxListContactFields_PaginatedDataSchema = z.object({
12
12
  data: z.array(SendfoxListContactFields_ContactFieldItemSchema).describe("Array of custom contact fields defined by the user."),
13
- total: z.number().int().describe("Total number of custom contact fields available."),
14
- per_page: z.number().int().describe("Number of contact fields returned per page."),
15
- current_page: z.number().int().describe("Current page number in the pagination.")
16
- }).describe("Paginated data wrapper for contact fields.");
13
+ total: z.number().int().describe("Total number of custom contact fields available.").nullable(),
14
+ per_page: z.number().int().describe("Number of contact fields returned per page.").nullable(),
15
+ current_page: z.number().int().describe("Current page number in the pagination.").nullable()
16
+ }).passthrough().describe("Paginated data wrapper for contact fields.");
17
17
  const sendfoxListContactFields = action("SENDFOX_LIST_CONTACT_FIELDS", {
18
18
  slug: "sendfox-list-contact-fields",
19
19
  name: "List Contact Fields",
20
20
  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.",
21
21
  input: SendfoxListContactFieldsInput,
22
- output: z.object({ data: SendfoxListContactFields_PaginatedDataSchema.nullable() }).describe("Response schema for paginated list of custom contact fields.")
22
+ output: z.object({ data: SendfoxListContactFields_PaginatedDataSchema.nullable() }).passthrough().describe("Response schema for paginated list of custom contact fields.")
23
23
  });
24
24
  //#endregion
25
25
  export { sendfoxListContactFields };
@@ -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.ZodTypeAny = z.object({}).describe(\"Request schema for listing contact fields. No parameters required.\");\nconst SendfoxListContactFields_ContactFieldItemSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the contact field.\"),\n name: z.string().describe(\"Internal name/key of the custom contact field.\"),\n type: z.string().describe(\"Data type of the custom contact field (e.g., 'text', 'date').\"),\n label: z.string().describe(\"Display label of the custom contact field.\"),\n}).describe(\"Represents a single custom contact field in SendFox.\");\nconst SendfoxListContactFields_PaginatedDataSchema: z.ZodTypeAny = 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.\"),\n per_page: z.number().int().describe(\"Number of contact fields returned per page.\"),\n current_page: z.number().int().describe(\"Current page number in the pagination.\"),\n}).describe(\"Paginated data wrapper for contact fields.\");\nexport const SendfoxListContactFieldsOutput: z.ZodTypeAny = 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,gCAA8C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE;AACrJ,MAAM,kDAAgE,EAAE,OAAO;CAC7E,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CACzF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;AACzE,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,+CAA6D,EAAE,OAAO;CAC1E,MAAM,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,qDAAqD;CAC7H,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;CACnF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;CACjF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;AAClF,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAKxD,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0D,EAAE,OAAO,EACnE,MAAM,6CAA6C,SAAS,EAC9D,CAAC,CAAC,CAAC,SAAS,8DAOF;AACV,CAAC"}
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":";;;AAIA,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,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4C,EAAE,OAAO,EACrD,MAAM,6CAA6C,SAAS,EAC9D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAOhB;AACV,CAAC"}
@@ -6,21 +6,21 @@ const SendfoxListUnsubscribedContactsInput = zod.z.object({
6
6
  query: zod.z.string().describe("Search query for filtering unsubscribed contacts by name or email.").optional()
7
7
  }).describe("Request parameters for retrieving a paginated list of unsubscribed contacts.");
8
8
  const SendfoxListUnsubscribedContacts_UnsubscribedContactSchema = zod.z.object({
9
- id: zod.z.number().int().describe("Unique identifier for the contact."),
10
- email: zod.z.string().describe("Email address of the contact."),
9
+ id: zod.z.number().int().describe("Unique identifier for the contact.").nullable(),
10
+ email: zod.z.string().describe("Email address of the contact.").nullable(),
11
11
  last_name: zod.z.string().describe("Last name of the contact.").nullable().optional(),
12
12
  created_at: zod.z.string().describe("Timestamp when the contact was created (ISO8601).").nullable().optional(),
13
13
  first_name: zod.z.string().describe("First name of the contact.").nullable().optional(),
14
14
  ip_address: zod.z.string().describe("IP address from which the contact subscribed.").nullable().optional(),
15
15
  updated_at: zod.z.string().describe("Timestamp when the contact was last updated (ISO8601).").nullable().optional(),
16
16
  unsubscribed_at: zod.z.string().describe("Timestamp when the contact unsubscribed (ISO8601).").nullable().optional()
17
- }).describe("Schema representing an unsubscribed Sendfox contact.");
17
+ }).passthrough().describe("Schema representing an unsubscribed Sendfox contact.");
18
18
  const SendfoxListUnsubscribedContactsOutput = zod.z.object({
19
19
  data: zod.z.array(SendfoxListUnsubscribedContacts_UnsubscribedContactSchema).describe("List of unsubscribed contacts returned by the API."),
20
- total: zod.z.number().int().describe("Total number of unsubscribed contacts available."),
21
- per_page: zod.z.number().int().describe("Number of contacts returned per page."),
22
- current_page: zod.z.number().int().describe("Current page number in the pagination.")
23
- }).describe("Response schema for a paginated list of unsubscribed contacts.");
20
+ total: zod.z.number().int().describe("Total number of unsubscribed contacts available.").nullable(),
21
+ per_page: zod.z.number().int().describe("Number of contacts returned per page.").nullable(),
22
+ current_page: zod.z.number().int().describe("Current page number in the pagination.").nullable()
23
+ }).passthrough().describe("Response schema for a paginated list of unsubscribed contacts.");
24
24
  const sendfoxListUnsubscribedContacts = require_action.action("SENDFOX_LIST_UNSUBSCRIBED_CONTACTS", {
25
25
  slug: "sendfox-list-unsubscribed-contacts",
26
26
  name: "List Unsubscribed Contacts",
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the contact.\"),\n email: z.string().describe(\"Email address of the contact.\"),\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}).describe(\"Schema representing an unsubscribed Sendfox contact.\");\nexport const SendfoxListUnsubscribedContactsOutput: z.ZodTypeAny = 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.\"),\n per_page: z.number().int().describe(\"Number of contacts returned per page.\"),\n current_page: z.number().int().describe(\"Current page number in the pagination.\"),\n}).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":";;;AAIA,MAAa,uCAAqDA,IAAAA,EAAE,OAAO;CACzE,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,4DAA0EA,IAAAA,EAAE,OAAO;CACvF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;CAClE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC1D,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,SAAS,sDAAsD;AAClE,MAAa,wCAAsDA,IAAAA,EAAE,OAAO;CAC1E,MAAMA,IAAAA,EAAE,MAAM,yDAAyD,CAAC,CAAC,SAAS,oDAAoD;CACtI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;CACnF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CAC3E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;AAClF,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAE5E,MAAa,kCAAkCC,eAAAA,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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":";;;AAIA,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,kCAAkCC,eAAAA,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,29 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-unsubscribed-contacts.d.ts
4
- declare const SendfoxListUnsubscribedContactsInput: z.ZodTypeAny;
5
- declare const SendfoxListUnsubscribedContactsOutput: z.ZodTypeAny;
6
- declare const sendfoxListUnsubscribedContacts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendfoxListUnsubscribedContactsInput: z.ZodObject<{
5
+ page: z.ZodOptional<z.ZodNumber>;
6
+ query: z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const SendfoxListUnsubscribedContactsOutput: z.ZodObject<{
9
+ data: z.ZodArray<z.ZodObject<{
10
+ id: z.ZodNullable<z.ZodNumber>;
11
+ email: z.ZodNullable<z.ZodString>;
12
+ last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ ip_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ unsubscribed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ }, z.core.$loose>>;
19
+ total: z.ZodNullable<z.ZodNumber>;
20
+ per_page: z.ZodNullable<z.ZodNumber>;
21
+ current_page: z.ZodNullable<z.ZodNumber>;
22
+ }, z.core.$loose>;
23
+ declare const sendfoxListUnsubscribedContacts: import("@keystrokehq/action").WorkflowActionDefinition<{
24
+ page?: number | undefined;
25
+ query?: string | undefined;
26
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
27
  //#endregion
8
28
  export { sendfoxListUnsubscribedContacts };
9
29
  //# 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":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAGsC;AAAA,cAW9E,qCAAA,EAAuC,CAAA,CAAE,UAKuB;AAAA,cAEhE,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-unsubscribed-contacts.d.cts","names":[],"sources":["../../src/actions/list-unsubscribed-contacts.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;cAcpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAOrC,+BAAA,gCAA+B,wBAAA"}
@@ -1,9 +1,29 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-unsubscribed-contacts.d.ts
4
- declare const SendfoxListUnsubscribedContactsInput: z.ZodTypeAny;
5
- declare const SendfoxListUnsubscribedContactsOutput: z.ZodTypeAny;
6
- declare const sendfoxListUnsubscribedContacts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendfoxListUnsubscribedContactsInput: z.ZodObject<{
5
+ page: z.ZodOptional<z.ZodNumber>;
6
+ query: z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const SendfoxListUnsubscribedContactsOutput: z.ZodObject<{
9
+ data: z.ZodArray<z.ZodObject<{
10
+ id: z.ZodNullable<z.ZodNumber>;
11
+ email: z.ZodNullable<z.ZodString>;
12
+ last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ ip_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ unsubscribed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ }, z.core.$loose>>;
19
+ total: z.ZodNullable<z.ZodNumber>;
20
+ per_page: z.ZodNullable<z.ZodNumber>;
21
+ current_page: z.ZodNullable<z.ZodNumber>;
22
+ }, z.core.$loose>;
23
+ declare const sendfoxListUnsubscribedContacts: import("@keystrokehq/action").WorkflowActionDefinition<{
24
+ page?: number | undefined;
25
+ query?: string | undefined;
26
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
27
  //#endregion
8
28
  export { sendfoxListUnsubscribedContacts };
9
29
  //# 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":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAGsC;AAAA,cAW9E,qCAAA,EAAuC,CAAA,CAAE,UAKuB;AAAA,cAEhE,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-unsubscribed-contacts.d.mts","names":[],"sources":["../../src/actions/list-unsubscribed-contacts.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;cAcpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAOrC,+BAAA,gCAA+B,wBAAA"}
@@ -6,15 +6,15 @@ const SendfoxListUnsubscribedContactsInput = z.object({
6
6
  query: z.string().describe("Search query for filtering unsubscribed contacts by name or email.").optional()
7
7
  }).describe("Request parameters for retrieving a paginated list of unsubscribed contacts.");
8
8
  const SendfoxListUnsubscribedContacts_UnsubscribedContactSchema = z.object({
9
- id: z.number().int().describe("Unique identifier for the contact."),
10
- email: z.string().describe("Email address of the contact."),
9
+ id: z.number().int().describe("Unique identifier for the contact.").nullable(),
10
+ email: z.string().describe("Email address of the contact.").nullable(),
11
11
  last_name: z.string().describe("Last name of the contact.").nullable().optional(),
12
12
  created_at: z.string().describe("Timestamp when the contact was created (ISO8601).").nullable().optional(),
13
13
  first_name: z.string().describe("First name of the contact.").nullable().optional(),
14
14
  ip_address: z.string().describe("IP address from which the contact subscribed.").nullable().optional(),
15
15
  updated_at: z.string().describe("Timestamp when the contact was last updated (ISO8601).").nullable().optional(),
16
16
  unsubscribed_at: z.string().describe("Timestamp when the contact unsubscribed (ISO8601).").nullable().optional()
17
- }).describe("Schema representing an unsubscribed Sendfox contact.");
17
+ }).passthrough().describe("Schema representing an unsubscribed Sendfox contact.");
18
18
  const sendfoxListUnsubscribedContacts = action("SENDFOX_LIST_UNSUBSCRIBED_CONTACTS", {
19
19
  slug: "sendfox-list-unsubscribed-contacts",
20
20
  name: "List Unsubscribed Contacts",
@@ -22,10 +22,10 @@ const sendfoxListUnsubscribedContacts = action("SENDFOX_LIST_UNSUBSCRIBED_CONTAC
22
22
  input: SendfoxListUnsubscribedContactsInput,
23
23
  output: z.object({
24
24
  data: z.array(SendfoxListUnsubscribedContacts_UnsubscribedContactSchema).describe("List of unsubscribed contacts returned by the API."),
25
- total: z.number().int().describe("Total number of unsubscribed contacts available."),
26
- per_page: z.number().int().describe("Number of contacts returned per page."),
27
- current_page: z.number().int().describe("Current page number in the pagination.")
28
- }).describe("Response schema for a paginated list of unsubscribed contacts.")
25
+ total: z.number().int().describe("Total number of unsubscribed contacts available.").nullable(),
26
+ per_page: z.number().int().describe("Number of contacts returned per page.").nullable(),
27
+ current_page: z.number().int().describe("Current page number in the pagination.").nullable()
28
+ }).passthrough().describe("Response schema for a paginated list of unsubscribed contacts.")
29
29
  });
30
30
  //#endregion
31
31
  export { sendfoxListUnsubscribedContacts };
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the contact.\"),\n email: z.string().describe(\"Email address of the contact.\"),\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}).describe(\"Schema representing an unsubscribed Sendfox contact.\");\nexport const SendfoxListUnsubscribedContactsOutput: z.ZodTypeAny = 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.\"),\n per_page: z.number().int().describe(\"Number of contacts returned per page.\"),\n current_page: z.number().int().describe(\"Current page number in the pagination.\"),\n}).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":";;;AAIA,MAAa,uCAAqD,EAAE,OAAO;CACzE,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,4DAA0E,EAAE,OAAO;CACvF,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;CAClE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC1D,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,SAAS,sDAAsD;AAQlE,MAAa,kCAAkC,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZiE,EAAE,OAAO;EAC1E,MAAM,EAAE,MAAM,yDAAyD,CAAC,CAAC,SAAS,oDAAoD;EACtI,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;EACnF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;EAC3E,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;CAClF,CAAC,CAAC,CAAC,SAAS,gEAOF;AACV,CAAC"}
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":";;;AAIA,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,kCAAkC,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZmD,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,gEAOhB;AACV,CAAC"}
@@ -4,14 +4,14 @@ let zod = require("zod");
4
4
  const SendfoxPatchUnsubscribeContactInput = zod.z.object({ email: zod.z.string().describe("Email address of the contact to unsubscribe. The contact must exist in your SendFox account.") }).describe("Request parameters for unsubscribing a SendFox contact.");
5
5
  const SendfoxPatchUnsubscribeContactOutput = zod.z.object({
6
6
  id: zod.z.number().int().describe("The unique identifier of the contact.").nullable().optional(),
7
- email: zod.z.string().describe("The email address of the unsubscribed contact."),
7
+ email: zod.z.string().describe("The email address of the unsubscribed contact.").nullable(),
8
8
  last_name: zod.z.string().describe("The last name of the contact.").nullable().optional(),
9
9
  created_at: zod.z.string().describe("The timestamp when the contact was created.").nullable().optional(),
10
10
  first_name: zod.z.string().describe("The first name of the contact.").nullable().optional(),
11
11
  ip_address: zod.z.string().describe("The IP address of the contact.").nullable().optional(),
12
12
  updated_at: zod.z.string().describe("The timestamp when the contact was last updated.").nullable().optional(),
13
13
  unsubscribed_at: zod.z.string().describe("The timestamp when the contact was unsubscribed. Set after this action completes.").nullable().optional()
14
- }).describe("Response schema for unsubscribing a contact. Returns the contact details with updated unsubscribed_at timestamp.");
14
+ }).passthrough().describe("Response schema for unsubscribing a contact. Returns the contact details with updated unsubscribed_at timestamp.");
15
15
  const sendfoxPatchUnsubscribeContact = require_action.action("SENDFOX_PATCH_UNSUBSCRIBE_CONTACT", {
16
16
  slug: "sendfox-patch-unsubscribe-contact",
17
17
  name: "Unsubscribe Contact",
@@ -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.ZodTypeAny = 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.ZodTypeAny = 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.\"),\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}).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":";;;AAIA,MAAa,sCAAoDA,IAAAA,EAAE,OAAO,EACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,EAC3H,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,uCAAqDA,IAAAA,EAAE,OAAO;CACzE,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;CAC3E,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,SAAS,kHAAkH;AAE9H,MAAa,iCAAiCC,eAAAA,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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":";;;AAIA,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,iCAAiCC,eAAAA,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}