@keystrokehq/moosend 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (193) hide show
  1. package/dist/actions/add-segment-criteria.cjs +1 -1
  2. package/dist/actions/add-segment-criteria.cjs.map +1 -1
  3. package/dist/actions/add-segment-criteria.d.cts +1 -1
  4. package/dist/actions/add-segment-criteria.d.mts +1 -1
  5. package/dist/actions/add-segment-criteria.mjs +1 -1
  6. package/dist/actions/add-segment-criteria.mjs.map +1 -1
  7. package/dist/actions/add-subscriber.cjs +1 -1
  8. package/dist/actions/add-subscriber.cjs.map +1 -1
  9. package/dist/actions/add-subscriber.d.cts +1 -1
  10. package/dist/actions/add-subscriber.d.mts +1 -1
  11. package/dist/actions/add-subscriber.mjs +1 -1
  12. package/dist/actions/add-subscriber.mjs.map +1 -1
  13. package/dist/actions/clone-campaign.cjs +1 -1
  14. package/dist/actions/clone-campaign.cjs.map +1 -1
  15. package/dist/actions/clone-campaign.d.cts +1 -1
  16. package/dist/actions/clone-campaign.d.mts +1 -1
  17. package/dist/actions/clone-campaign.mjs +1 -1
  18. package/dist/actions/clone-campaign.mjs.map +1 -1
  19. package/dist/actions/create-custom-field.cjs +1 -1
  20. package/dist/actions/create-custom-field.cjs.map +1 -1
  21. package/dist/actions/create-custom-field.d.cts +1 -1
  22. package/dist/actions/create-custom-field.d.mts +1 -1
  23. package/dist/actions/create-custom-field.mjs +1 -1
  24. package/dist/actions/create-custom-field.mjs.map +1 -1
  25. package/dist/actions/create-mailing-list.cjs +1 -1
  26. package/dist/actions/create-mailing-list.cjs.map +1 -1
  27. package/dist/actions/create-mailing-list.d.cts +1 -1
  28. package/dist/actions/create-mailing-list.d.mts +1 -1
  29. package/dist/actions/create-mailing-list.mjs +1 -1
  30. package/dist/actions/create-mailing-list.mjs.map +1 -1
  31. package/dist/actions/create-segment.cjs +2 -2
  32. package/dist/actions/create-segment.cjs.map +1 -1
  33. package/dist/actions/create-segment.d.cts +3 -2
  34. package/dist/actions/create-segment.d.mts +3 -2
  35. package/dist/actions/create-segment.mjs +2 -2
  36. package/dist/actions/create-segment.mjs.map +1 -1
  37. package/dist/actions/delete-campaign.cjs +1 -1
  38. package/dist/actions/delete-campaign.cjs.map +1 -1
  39. package/dist/actions/delete-campaign.d.cts +1 -1
  40. package/dist/actions/delete-campaign.d.mts +1 -1
  41. package/dist/actions/delete-campaign.mjs +1 -1
  42. package/dist/actions/delete-campaign.mjs.map +1 -1
  43. package/dist/actions/delete-custom-field.cjs +1 -1
  44. package/dist/actions/delete-custom-field.cjs.map +1 -1
  45. package/dist/actions/delete-custom-field.d.cts +1 -1
  46. package/dist/actions/delete-custom-field.d.mts +1 -1
  47. package/dist/actions/delete-custom-field.mjs +1 -1
  48. package/dist/actions/delete-custom-field.mjs.map +1 -1
  49. package/dist/actions/delete-mailing-list.cjs +1 -1
  50. package/dist/actions/delete-mailing-list.cjs.map +1 -1
  51. package/dist/actions/delete-mailing-list.d.cts +1 -1
  52. package/dist/actions/delete-mailing-list.d.mts +1 -1
  53. package/dist/actions/delete-mailing-list.mjs +1 -1
  54. package/dist/actions/delete-mailing-list.mjs.map +1 -1
  55. package/dist/actions/get-all-campaigns.cjs +2 -2
  56. package/dist/actions/get-all-campaigns.cjs.map +1 -1
  57. package/dist/actions/get-all-campaigns.d.cts +2 -2
  58. package/dist/actions/get-all-campaigns.d.mts +2 -2
  59. package/dist/actions/get-all-campaigns.mjs +2 -2
  60. package/dist/actions/get-all-campaigns.mjs.map +1 -1
  61. package/dist/actions/get-all-subscribers.cjs +5 -5
  62. package/dist/actions/get-all-subscribers.cjs.map +1 -1
  63. package/dist/actions/get-all-subscribers.d.cts +5 -5
  64. package/dist/actions/get-all-subscribers.d.mts +5 -5
  65. package/dist/actions/get-all-subscribers.mjs +5 -5
  66. package/dist/actions/get-all-subscribers.mjs.map +1 -1
  67. package/dist/actions/get-campaign-details.cjs +1 -1
  68. package/dist/actions/get-campaign-details.cjs.map +1 -1
  69. package/dist/actions/get-campaign-details.d.cts +1 -1
  70. package/dist/actions/get-campaign-details.d.mts +1 -1
  71. package/dist/actions/get-campaign-details.mjs +1 -1
  72. package/dist/actions/get-campaign-details.mjs.map +1 -1
  73. package/dist/actions/get-campaign-stats-by-location.cjs +1 -1
  74. package/dist/actions/get-campaign-stats-by-location.cjs.map +1 -1
  75. package/dist/actions/get-campaign-stats-by-location.d.cts +1 -1
  76. package/dist/actions/get-campaign-stats-by-location.d.mts +1 -1
  77. package/dist/actions/get-campaign-stats-by-location.mjs +1 -1
  78. package/dist/actions/get-campaign-stats-by-location.mjs.map +1 -1
  79. package/dist/actions/get-mailing-list-details.cjs +3 -3
  80. package/dist/actions/get-mailing-list-details.cjs.map +1 -1
  81. package/dist/actions/get-mailing-list-details.d.cts +3 -3
  82. package/dist/actions/get-mailing-list-details.d.mts +3 -3
  83. package/dist/actions/get-mailing-list-details.mjs +3 -3
  84. package/dist/actions/get-mailing-list-details.mjs.map +1 -1
  85. package/dist/actions/get-subscriber-by-email.cjs +3 -3
  86. package/dist/actions/get-subscriber-by-email.cjs.map +1 -1
  87. package/dist/actions/get-subscriber-by-email.d.cts +3 -3
  88. package/dist/actions/get-subscriber-by-email.d.mts +3 -3
  89. package/dist/actions/get-subscriber-by-email.mjs +3 -3
  90. package/dist/actions/get-subscriber-by-email.mjs.map +1 -1
  91. package/dist/actions/list-all-mailing-lists.cjs +5 -5
  92. package/dist/actions/list-all-mailing-lists.cjs.map +1 -1
  93. package/dist/actions/list-all-mailing-lists.d.cts +5 -5
  94. package/dist/actions/list-all-mailing-lists.d.mts +5 -5
  95. package/dist/actions/list-all-mailing-lists.mjs +5 -5
  96. package/dist/actions/list-all-mailing-lists.mjs.map +1 -1
  97. package/dist/actions/list-all-senders.cjs +2 -2
  98. package/dist/actions/list-all-senders.cjs.map +1 -1
  99. package/dist/actions/list-all-senders.d.cts +2 -2
  100. package/dist/actions/list-all-senders.d.mts +2 -2
  101. package/dist/actions/list-all-senders.mjs +2 -2
  102. package/dist/actions/list-all-senders.mjs.map +1 -1
  103. package/dist/actions/list-campaigns-with-paging.cjs +4 -4
  104. package/dist/actions/list-campaigns-with-paging.cjs.map +1 -1
  105. package/dist/actions/list-campaigns-with-paging.d.cts +4 -4
  106. package/dist/actions/list-campaigns-with-paging.d.mts +4 -4
  107. package/dist/actions/list-campaigns-with-paging.mjs +4 -4
  108. package/dist/actions/list-campaigns-with-paging.mjs.map +1 -1
  109. package/dist/actions/list-segments.cjs +5 -5
  110. package/dist/actions/list-segments.cjs.map +1 -1
  111. package/dist/actions/list-segments.d.cts +5 -5
  112. package/dist/actions/list-segments.d.mts +5 -5
  113. package/dist/actions/list-segments.mjs +5 -5
  114. package/dist/actions/list-segments.mjs.map +1 -1
  115. package/dist/actions/remove-multiple-subscribers.cjs +1 -1
  116. package/dist/actions/remove-multiple-subscribers.cjs.map +1 -1
  117. package/dist/actions/remove-multiple-subscribers.d.cts +1 -1
  118. package/dist/actions/remove-multiple-subscribers.d.mts +1 -1
  119. package/dist/actions/remove-multiple-subscribers.mjs +1 -1
  120. package/dist/actions/remove-multiple-subscribers.mjs.map +1 -1
  121. package/dist/actions/schedule-campaign.cjs +1 -1
  122. package/dist/actions/schedule-campaign.cjs.map +1 -1
  123. package/dist/actions/schedule-campaign.d.cts +1 -1
  124. package/dist/actions/schedule-campaign.d.mts +1 -1
  125. package/dist/actions/schedule-campaign.mjs +1 -1
  126. package/dist/actions/schedule-campaign.mjs.map +1 -1
  127. package/dist/actions/send-campaign.cjs +1 -1
  128. package/dist/actions/send-campaign.cjs.map +1 -1
  129. package/dist/actions/send-campaign.d.cts +1 -1
  130. package/dist/actions/send-campaign.d.mts +1 -1
  131. package/dist/actions/send-campaign.mjs +1 -1
  132. package/dist/actions/send-campaign.mjs.map +1 -1
  133. package/dist/actions/unschedule-campaign.cjs +1 -1
  134. package/dist/actions/unschedule-campaign.cjs.map +1 -1
  135. package/dist/actions/unschedule-campaign.d.cts +1 -1
  136. package/dist/actions/unschedule-campaign.d.mts +1 -1
  137. package/dist/actions/unschedule-campaign.mjs +1 -1
  138. package/dist/actions/unschedule-campaign.mjs.map +1 -1
  139. package/dist/actions/unsubscribe-from-account.cjs +1 -1
  140. package/dist/actions/unsubscribe-from-account.cjs.map +1 -1
  141. package/dist/actions/unsubscribe-from-account.d.cts +1 -1
  142. package/dist/actions/unsubscribe-from-account.d.mts +1 -1
  143. package/dist/actions/unsubscribe-from-account.mjs +1 -1
  144. package/dist/actions/unsubscribe-from-account.mjs.map +1 -1
  145. package/dist/actions/unsubscribe-from-mailing-list.cjs +1 -1
  146. package/dist/actions/unsubscribe-from-mailing-list.cjs.map +1 -1
  147. package/dist/actions/unsubscribe-from-mailing-list.d.cts +1 -1
  148. package/dist/actions/unsubscribe-from-mailing-list.d.mts +1 -1
  149. package/dist/actions/unsubscribe-from-mailing-list.mjs +1 -1
  150. package/dist/actions/unsubscribe-from-mailing-list.mjs.map +1 -1
  151. package/dist/actions/update-campaign.cjs +2 -2
  152. package/dist/actions/update-campaign.cjs.map +1 -1
  153. package/dist/actions/update-campaign.d.cts +3 -2
  154. package/dist/actions/update-campaign.d.mts +3 -2
  155. package/dist/actions/update-campaign.mjs +2 -2
  156. package/dist/actions/update-campaign.mjs.map +1 -1
  157. package/dist/actions/update-custom-field.cjs +1 -1
  158. package/dist/actions/update-custom-field.cjs.map +1 -1
  159. package/dist/actions/update-custom-field.d.cts +1 -1
  160. package/dist/actions/update-custom-field.d.mts +1 -1
  161. package/dist/actions/update-custom-field.mjs +1 -1
  162. package/dist/actions/update-custom-field.mjs.map +1 -1
  163. package/dist/actions/update-mailing-list.cjs +2 -2
  164. package/dist/actions/update-mailing-list.cjs.map +1 -1
  165. package/dist/actions/update-mailing-list.d.cts +2 -2
  166. package/dist/actions/update-mailing-list.d.mts +2 -2
  167. package/dist/actions/update-mailing-list.mjs +2 -2
  168. package/dist/actions/update-mailing-list.mjs.map +1 -1
  169. package/dist/actions/update-segment-criteria.cjs +1 -1
  170. package/dist/actions/update-segment-criteria.cjs.map +1 -1
  171. package/dist/actions/update-segment-criteria.d.cts +1 -1
  172. package/dist/actions/update-segment-criteria.d.mts +1 -1
  173. package/dist/actions/update-segment-criteria.mjs +1 -1
  174. package/dist/actions/update-segment-criteria.mjs.map +1 -1
  175. package/dist/actions/update-segment.cjs +3 -3
  176. package/dist/actions/update-segment.cjs.map +1 -1
  177. package/dist/actions/update-segment.d.cts +4 -3
  178. package/dist/actions/update-segment.d.mts +4 -3
  179. package/dist/actions/update-segment.mjs +3 -3
  180. package/dist/actions/update-segment.mjs.map +1 -1
  181. package/dist/actions/update-subscriber.cjs +1 -1
  182. package/dist/actions/update-subscriber.cjs.map +1 -1
  183. package/dist/actions/update-subscriber.d.cts +1 -1
  184. package/dist/actions/update-subscriber.d.mts +1 -1
  185. package/dist/actions/update-subscriber.mjs +1 -1
  186. package/dist/actions/update-subscriber.mjs.map +1 -1
  187. package/dist/catalog.cjs +1 -1
  188. package/dist/catalog.cjs.map +1 -1
  189. package/dist/catalog.d.cts +1 -1
  190. package/dist/catalog.d.mts +1 -1
  191. package/dist/catalog.mjs +1 -1
  192. package/dist/catalog.mjs.map +1 -1
  193. package/package.json +1 -1
@@ -12,7 +12,7 @@ const moosendSendCampaign = action("MOOSEND_SEND_CAMPAIGN", {
12
12
  Code: z.number().int().describe("Response code; 0 indicates success.").nullable(),
13
13
  Error: z.string().describe("Error message; null if the request was successful.").nullable().optional(),
14
14
  Context: z.record(z.string(), z.unknown()).describe("Additional context returned by the API.").nullable().optional()
15
- }).describe("Response schema for sending an existing draft campaign.")
15
+ }).passthrough().describe("Response schema for sending an existing draft campaign.")
16
16
  });
17
17
  //#endregion
18
18
  export { moosendSendCampaign };
@@ -1 +1 @@
1
- {"version":3,"file":"send-campaign.mjs","names":[],"sources":["../../src/actions/send-campaign.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendSendCampaignInput = z.object({\n Format: z.string().default(\"json\").describe(\"Response format. Only 'json' is supported.\").optional(),\n CampaignID: z.string().describe(\"The unique identifier of the draft campaign to send.\"),\n}).describe(\"Request schema for sending an existing draft campaign immediately.\");\nexport const MoosendSendCampaignOutput = z.object({\n Code: z.number().int().describe(\"Response code; 0 indicates success.\").nullable(),\n Error: z.string().describe(\"Error message; null if the request was successful.\").nullable().optional(),\n Context: z.record(z.string(), z.unknown()).describe(\"Additional context returned by the API.\").nullable().optional(),\n}).describe(\"Response schema for sending an existing draft campaign.\");\n\nexport const moosendSendCampaign = action(\"MOOSEND_SEND_CAMPAIGN\", {\n slug: \"moosend-send-campaign\",\n name: \"Send Campaign\",\n description: \"Tool to send an existing draft campaign immediately. Use when you want to dispatch a campaign to all recipients after final review.\",\n input: MoosendSendCampaignInput,\n output: MoosendSendCampaignOutput,\n});\n"],"mappings":";;AAcA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdsC,EAAE,OAAO;EAC/C,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACnG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACxF,CAAC,CAAC,CAAC,SAAS,oEAWH;CACP,QAXuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,CAAC,CAAC,CAAC,SAAS,yDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"send-campaign.mjs","names":[],"sources":["../../src/actions/send-campaign.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendSendCampaignInput = z.object({\n Format: z.string().default(\"json\").describe(\"Response format. Only 'json' is supported.\").optional(),\n CampaignID: z.string().describe(\"The unique identifier of the draft campaign to send.\"),\n}).describe(\"Request schema for sending an existing draft campaign immediately.\");\nexport const MoosendSendCampaignOutput = z.object({\n Code: z.number().int().describe(\"Response code; 0 indicates success.\").nullable(),\n Error: z.string().describe(\"Error message; null if the request was successful.\").nullable().optional(),\n Context: z.record(z.string(), z.unknown()).describe(\"Additional context returned by the API.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for sending an existing draft campaign.\");\n\nexport const moosendSendCampaign = action(\"MOOSEND_SEND_CAMPAIGN\", {\n slug: \"moosend-send-campaign\",\n name: \"Send Campaign\",\n description: \"Tool to send an existing draft campaign immediately. Use when you want to dispatch a campaign to all recipients after final review.\",\n input: MoosendSendCampaignInput,\n output: MoosendSendCampaignOutput,\n});\n"],"mappings":";;AAcA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdsC,EAAE,OAAO;EAC/C,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACnG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACxF,CAAC,CAAC,CAAC,SAAS,oEAWH;CACP,QAXuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
@@ -9,7 +9,7 @@ const MoosendUnscheduleCampaignOutput = zod.z.object({
9
9
  Code: zod.z.number().int().describe("Response code, 0 indicates success.").nullable().optional(),
10
10
  Error: zod.z.string().describe("Error message returned by the API, null if successful.").nullable().optional(),
11
11
  Context: zod.z.string().describe("Additional context, always null on success.").nullable().optional()
12
- }).describe("Response model for UnscheduleCampaign action.");
12
+ }).passthrough().describe("Response model for UnscheduleCampaign action.");
13
13
  const moosendUnscheduleCampaign = require_action.action("MOOSEND_UNSCHEDULE_CAMPAIGN", {
14
14
  slug: "moosend-unschedule-campaign",
15
15
  name: "Unschedule Campaign",
@@ -1 +1 @@
1
- {"version":3,"file":"unschedule-campaign.cjs","names":["z","action"],"sources":["../../src/actions/unschedule-campaign.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendUnscheduleCampaignInput = z.object({\n format: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"Response format. Use 'json' (default and recommended) or 'xml'. Note: Only JSON format is fully supported; XML responses are not parsed by this action.\").optional(),\n campaign_id: z.string().describe(\"The ID of the campaign to unschedule.\"),\n}).describe(\"Request model for unscheduling a campaign in Moosend.\");\nexport const MoosendUnscheduleCampaignOutput = z.object({\n Code: z.number().int().describe(\"Response code, 0 indicates success.\").nullable().optional(),\n Error: z.string().describe(\"Error message returned by the API, null if successful.\").nullable().optional(),\n Context: z.string().describe(\"Additional context, always null on success.\").nullable().optional(),\n}).describe(\"Response model for UnscheduleCampaign action.\");\n\nexport const moosendUnscheduleCampaign = action(\"MOOSEND_UNSCHEDULE_CAMPAIGN\", {\n slug: \"moosend-unschedule-campaign\",\n name: \"Unschedule Campaign\",\n description: \"Tool to unschedule a campaign. Removes a previously defined scheduled date and time from a campaign, so that it will be delivered immediately if already queued or when sent.\",\n input: MoosendUnscheduleCampaignInput,\n output: MoosendUnscheduleCampaignOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,QAAQA,IAAAA,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,yJAAyJ,CAAC,CAAC,SAAS;CAC7N,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AAC1E,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAE3D,MAAa,4BAA4BC,eAAAA,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"unschedule-campaign.cjs","names":["z","action"],"sources":["../../src/actions/unschedule-campaign.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendUnscheduleCampaignInput = z.object({\n format: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"Response format. Use 'json' (default and recommended) or 'xml'. Note: Only JSON format is fully supported; XML responses are not parsed by this action.\").optional(),\n campaign_id: z.string().describe(\"The ID of the campaign to unschedule.\"),\n}).describe(\"Request model for unscheduling a campaign in Moosend.\");\nexport const MoosendUnscheduleCampaignOutput = z.object({\n Code: z.number().int().describe(\"Response code, 0 indicates success.\").nullable().optional(),\n Error: z.string().describe(\"Error message returned by the API, null if successful.\").nullable().optional(),\n Context: z.string().describe(\"Additional context, always null on success.\").nullable().optional(),\n}).passthrough().describe(\"Response model for UnscheduleCampaign action.\");\n\nexport const moosendUnscheduleCampaign = action(\"MOOSEND_UNSCHEDULE_CAMPAIGN\", {\n slug: \"moosend-unschedule-campaign\",\n name: \"Unschedule Campaign\",\n description: \"Tool to unschedule a campaign. Removes a previously defined scheduled date and time from a campaign, so that it will be delivered immediately if already queued or when sent.\",\n input: MoosendUnscheduleCampaignInput,\n output: MoosendUnscheduleCampaignOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,QAAQA,IAAAA,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,yJAAyJ,CAAC,CAAC,SAAS;CAC7N,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AAC1E,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,4BAA4BC,eAAAA,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -12,7 +12,7 @@ declare const MoosendUnscheduleCampaignOutput: z.ZodObject<{
12
12
  Code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
13
  Error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  Context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
- }, z.core.$strip>;
15
+ }, z.core.$loose>;
16
16
  declare const moosendUnscheduleCampaign: import("@keystrokehq/action").WorkflowActionDefinition<{
17
17
  campaign_id: string;
18
18
  format?: "json" | "xml" | undefined;
@@ -12,7 +12,7 @@ declare const MoosendUnscheduleCampaignOutput: z.ZodObject<{
12
12
  Code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
13
  Error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  Context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
- }, z.core.$strip>;
15
+ }, z.core.$loose>;
16
16
  declare const moosendUnscheduleCampaign: import("@keystrokehq/action").WorkflowActionDefinition<{
17
17
  campaign_id: string;
18
18
  format?: "json" | "xml" | undefined;
@@ -12,7 +12,7 @@ const moosendUnscheduleCampaign = action("MOOSEND_UNSCHEDULE_CAMPAIGN", {
12
12
  Code: z.number().int().describe("Response code, 0 indicates success.").nullable().optional(),
13
13
  Error: z.string().describe("Error message returned by the API, null if successful.").nullable().optional(),
14
14
  Context: z.string().describe("Additional context, always null on success.").nullable().optional()
15
- }).describe("Response model for UnscheduleCampaign action.")
15
+ }).passthrough().describe("Response model for UnscheduleCampaign action.")
16
16
  });
17
17
  //#endregion
18
18
  export { moosendUnscheduleCampaign };
@@ -1 +1 @@
1
- {"version":3,"file":"unschedule-campaign.mjs","names":[],"sources":["../../src/actions/unschedule-campaign.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendUnscheduleCampaignInput = z.object({\n format: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"Response format. Use 'json' (default and recommended) or 'xml'. Note: Only JSON format is fully supported; XML responses are not parsed by this action.\").optional(),\n campaign_id: z.string().describe(\"The ID of the campaign to unschedule.\"),\n}).describe(\"Request model for unscheduling a campaign in Moosend.\");\nexport const MoosendUnscheduleCampaignOutput = z.object({\n Code: z.number().int().describe(\"Response code, 0 indicates success.\").nullable().optional(),\n Error: z.string().describe(\"Error message returned by the API, null if successful.\").nullable().optional(),\n Context: z.string().describe(\"Additional context, always null on success.\").nullable().optional(),\n}).describe(\"Response model for UnscheduleCampaign action.\");\n\nexport const moosendUnscheduleCampaign = action(\"MOOSEND_UNSCHEDULE_CAMPAIGN\", {\n slug: \"moosend-unschedule-campaign\",\n name: \"Unschedule Campaign\",\n description: \"Tool to unschedule a campaign. Removes a previously defined scheduled date and time from a campaign, so that it will be delivered immediately if already queued or when sent.\",\n input: MoosendUnscheduleCampaignInput,\n output: MoosendUnscheduleCampaignOutput,\n});\n"],"mappings":";;AAcA,MAAa,4BAA4B,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd4C,EAAE,OAAO;EACrD,QAAQ,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,yJAAyJ,CAAC,CAAC,SAAS;EAC7N,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAC1E,CAAC,CAAC,CAAC,SAAS,uDAWH;CACP,QAX6C,EAAE,OAAO;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"unschedule-campaign.mjs","names":[],"sources":["../../src/actions/unschedule-campaign.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendUnscheduleCampaignInput = z.object({\n format: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"Response format. Use 'json' (default and recommended) or 'xml'. Note: Only JSON format is fully supported; XML responses are not parsed by this action.\").optional(),\n campaign_id: z.string().describe(\"The ID of the campaign to unschedule.\"),\n}).describe(\"Request model for unscheduling a campaign in Moosend.\");\nexport const MoosendUnscheduleCampaignOutput = z.object({\n Code: z.number().int().describe(\"Response code, 0 indicates success.\").nullable().optional(),\n Error: z.string().describe(\"Error message returned by the API, null if successful.\").nullable().optional(),\n Context: z.string().describe(\"Additional context, always null on success.\").nullable().optional(),\n}).passthrough().describe(\"Response model for UnscheduleCampaign action.\");\n\nexport const moosendUnscheduleCampaign = action(\"MOOSEND_UNSCHEDULE_CAMPAIGN\", {\n slug: \"moosend-unschedule-campaign\",\n name: \"Unschedule Campaign\",\n description: \"Tool to unschedule a campaign. Removes a previously defined scheduled date and time from a campaign, so that it will be delivered immediately if already queued or when sent.\",\n input: MoosendUnscheduleCampaignInput,\n output: MoosendUnscheduleCampaignOutput,\n});\n"],"mappings":";;AAcA,MAAa,4BAA4B,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd4C,EAAE,OAAO;EACrD,QAAQ,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,yJAAyJ,CAAC,CAAC,SAAS;EAC7N,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAC1E,CAAC,CAAC,CAAC,SAAS,uDAWH;CACP,QAX6C,EAAE,OAAO;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
@@ -9,7 +9,7 @@ const MoosendUnsubscribeFromAccountOutput = zod.z.object({
9
9
  Code: zod.z.number().int().describe("Response code; 0 indicates success.").nullable(),
10
10
  Error: zod.z.string().describe("Error message; null if successful.").nullable().optional(),
11
11
  Context: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional context information about the unsubscribe operation.").nullable().optional()
12
- }).describe("Response schema for UnsubscribeFromAccount action.");
12
+ }).passthrough().describe("Response schema for UnsubscribeFromAccount action.");
13
13
  const moosendUnsubscribeFromAccount = require_action.action("MOOSEND_UNSUBSCRIBE_FROM_ACCOUNT", {
14
14
  slug: "moosend-unsubscribe-from-account",
15
15
  name: "Unsubscribe From Account",
@@ -1 +1 @@
1
- {"version":3,"file":"unsubscribe-from-account.cjs","names":["z","action"],"sources":["../../src/actions/unsubscribe-from-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendUnsubscribeFromAccountInput = z.object({\n Email: z.string().describe(\"The email address of the subscriber to unsubscribe from the account.\"),\n format: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"Response format. Use 'json' (recommended and default) or 'xml'. Note: XML responses require additional parsing.\").optional(),\n}).describe(\"Request schema for unsubscribing a subscriber from the account.\");\nexport const MoosendUnsubscribeFromAccountOutput = z.object({\n Code: z.number().int().describe(\"Response code; 0 indicates success.\").nullable(),\n Error: z.string().describe(\"Error message; null if successful.\").nullable().optional(),\n Context: z.record(z.string(), z.unknown()).describe(\"Additional context information about the unsubscribe operation.\").nullable().optional(),\n}).describe(\"Response schema for UnsubscribeFromAccount action.\");\n\nexport const moosendUnsubscribeFromAccount = action(\"MOOSEND_UNSUBSCRIBE_FROM_ACCOUNT\", {\n slug: \"moosend-unsubscribe-from-account\",\n name: \"Unsubscribe From Account\",\n description: \"Tool to unsubscribe a subscriber from the account. Use when you need to remove a subscriber from all mailing lists. Note: Rate limit is 20 requests per 10 seconds per API key.\",\n input: MoosendUnsubscribeFromAccountInput,\n output: MoosendUnsubscribeFromAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;CACjG,QAAQA,IAAAA,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;AACvL,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"unsubscribe-from-account.cjs","names":["z","action"],"sources":["../../src/actions/unsubscribe-from-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendUnsubscribeFromAccountInput = z.object({\n Email: z.string().describe(\"The email address of the subscriber to unsubscribe from the account.\"),\n format: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"Response format. Use 'json' (recommended and default) or 'xml'. Note: XML responses require additional parsing.\").optional(),\n}).describe(\"Request schema for unsubscribing a subscriber from the account.\");\nexport const MoosendUnsubscribeFromAccountOutput = z.object({\n Code: z.number().int().describe(\"Response code; 0 indicates success.\").nullable(),\n Error: z.string().describe(\"Error message; null if successful.\").nullable().optional(),\n Context: z.record(z.string(), z.unknown()).describe(\"Additional context information about the unsubscribe operation.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for UnsubscribeFromAccount action.\");\n\nexport const moosendUnsubscribeFromAccount = action(\"MOOSEND_UNSUBSCRIBE_FROM_ACCOUNT\", {\n slug: \"moosend-unsubscribe-from-account\",\n name: \"Unsubscribe From Account\",\n description: \"Tool to unsubscribe a subscriber from the account. Use when you need to remove a subscriber from all mailing lists. Note: Rate limit is 20 requests per 10 seconds per API key.\",\n input: MoosendUnsubscribeFromAccountInput,\n output: MoosendUnsubscribeFromAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;CACjG,QAAQA,IAAAA,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;AACvL,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -12,7 +12,7 @@ declare const MoosendUnsubscribeFromAccountOutput: z.ZodObject<{
12
12
  Code: z.ZodNullable<z.ZodNumber>;
13
13
  Error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  Context: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
15
- }, z.core.$strip>;
15
+ }, z.core.$loose>;
16
16
  declare const moosendUnsubscribeFromAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
17
17
  Email: string;
18
18
  format?: "json" | "xml" | undefined;
@@ -12,7 +12,7 @@ declare const MoosendUnsubscribeFromAccountOutput: z.ZodObject<{
12
12
  Code: z.ZodNullable<z.ZodNumber>;
13
13
  Error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  Context: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
15
- }, z.core.$strip>;
15
+ }, z.core.$loose>;
16
16
  declare const moosendUnsubscribeFromAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
17
17
  Email: string;
18
18
  format?: "json" | "xml" | undefined;
@@ -12,7 +12,7 @@ const moosendUnsubscribeFromAccount = action("MOOSEND_UNSUBSCRIBE_FROM_ACCOUNT",
12
12
  Code: z.number().int().describe("Response code; 0 indicates success.").nullable(),
13
13
  Error: z.string().describe("Error message; null if successful.").nullable().optional(),
14
14
  Context: z.record(z.string(), z.unknown()).describe("Additional context information about the unsubscribe operation.").nullable().optional()
15
- }).describe("Response schema for UnsubscribeFromAccount action.")
15
+ }).passthrough().describe("Response schema for UnsubscribeFromAccount action.")
16
16
  });
17
17
  //#endregion
18
18
  export { moosendUnsubscribeFromAccount };
@@ -1 +1 @@
1
- {"version":3,"file":"unsubscribe-from-account.mjs","names":[],"sources":["../../src/actions/unsubscribe-from-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendUnsubscribeFromAccountInput = z.object({\n Email: z.string().describe(\"The email address of the subscriber to unsubscribe from the account.\"),\n format: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"Response format. Use 'json' (recommended and default) or 'xml'. Note: XML responses require additional parsing.\").optional(),\n}).describe(\"Request schema for unsubscribing a subscriber from the account.\");\nexport const MoosendUnsubscribeFromAccountOutput = z.object({\n Code: z.number().int().describe(\"Response code; 0 indicates success.\").nullable(),\n Error: z.string().describe(\"Error message; null if successful.\").nullable().optional(),\n Context: z.record(z.string(), z.unknown()).describe(\"Additional context information about the unsubscribe operation.\").nullable().optional(),\n}).describe(\"Response schema for UnsubscribeFromAccount action.\");\n\nexport const moosendUnsubscribeFromAccount = action(\"MOOSEND_UNSUBSCRIBE_FROM_ACCOUNT\", {\n slug: \"moosend-unsubscribe-from-account\",\n name: \"Unsubscribe From Account\",\n description: \"Tool to unsubscribe a subscriber from the account. Use when you need to remove a subscriber from all mailing lists. Note: Rate limit is 20 requests per 10 seconds per API key.\",\n input: MoosendUnsubscribeFromAccountInput,\n output: MoosendUnsubscribeFromAccountOutput,\n});\n"],"mappings":";;AAcA,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdgD,EAAE,OAAO;EACzD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;EACjG,QAAQ,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CACvL,CAAC,CAAC,CAAC,SAAS,iEAWH;CACP,QAXiD,EAAE,OAAO;EAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"unsubscribe-from-account.mjs","names":[],"sources":["../../src/actions/unsubscribe-from-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendUnsubscribeFromAccountInput = z.object({\n Email: z.string().describe(\"The email address of the subscriber to unsubscribe from the account.\"),\n format: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"Response format. Use 'json' (recommended and default) or 'xml'. Note: XML responses require additional parsing.\").optional(),\n}).describe(\"Request schema for unsubscribing a subscriber from the account.\");\nexport const MoosendUnsubscribeFromAccountOutput = z.object({\n Code: z.number().int().describe(\"Response code; 0 indicates success.\").nullable(),\n Error: z.string().describe(\"Error message; null if successful.\").nullable().optional(),\n Context: z.record(z.string(), z.unknown()).describe(\"Additional context information about the unsubscribe operation.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for UnsubscribeFromAccount action.\");\n\nexport const moosendUnsubscribeFromAccount = action(\"MOOSEND_UNSUBSCRIBE_FROM_ACCOUNT\", {\n slug: \"moosend-unsubscribe-from-account\",\n name: \"Unsubscribe From Account\",\n description: \"Tool to unsubscribe a subscriber from the account. Use when you need to remove a subscriber from all mailing lists. Note: Rate limit is 20 requests per 10 seconds per API key.\",\n input: MoosendUnsubscribeFromAccountInput,\n output: MoosendUnsubscribeFromAccountOutput,\n});\n"],"mappings":";;AAcA,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdgD,EAAE,OAAO;EACzD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;EACjG,QAAQ,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CACvL,CAAC,CAAC,CAAC,SAAS,iEAWH;CACP,QAXiD,EAAE,OAAO;EAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
@@ -10,7 +10,7 @@ const MoosendUnsubscribeFromMailingListOutput = zod.z.object({
10
10
  Code: zod.z.number().int().describe("Response code; 0 indicates success.").nullable(),
11
11
  Error: zod.z.string().describe("Error message; null if successful.").nullable().optional(),
12
12
  Context: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Full subscriber context including unsubscribe timestamp and status.").nullable().optional()
13
- }).describe("Response schema for UnsubscribeFromMailingList action.");
13
+ }).passthrough().describe("Response schema for UnsubscribeFromMailingList action.");
14
14
  const moosendUnsubscribeFromMailingList = require_action.action("MOOSEND_UNSUBSCRIBE_FROM_MAILING_LIST", {
15
15
  slug: "moosend-unsubscribe-from-mailing-list",
16
16
  name: "Unsubscribe from Mailing List",
@@ -1 +1 @@
1
- {"version":3,"file":"unsubscribe-from-mailing-list.cjs","names":["z","action"],"sources":["../../src/actions/unsubscribe-from-mailing-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendUnsubscribeFromMailingListInput = z.object({\n Email: z.string().describe(\"Email address of the subscriber to unsubscribe.\"),\n format: z.string().default(\"json\").describe(\"Response format. Only JSON is supported.\").optional(),\n mailingListID: z.string().describe(\"The unique identifier of the mailing list to unsubscribe from.\"),\n}).describe(\"Request schema for unsubscribing a subscriber from a mailing list.\");\nexport const MoosendUnsubscribeFromMailingListOutput = z.object({\n Code: z.number().int().describe(\"Response code; 0 indicates success.\").nullable(),\n Error: z.string().describe(\"Error message; null if successful.\").nullable().optional(),\n Context: z.record(z.string(), z.unknown()).describe(\"Full subscriber context including unsubscribe timestamp and status.\").nullable().optional(),\n}).describe(\"Response schema for UnsubscribeFromMailingList action.\");\n\nexport const moosendUnsubscribeFromMailingList = action(\"MOOSEND_UNSUBSCRIBE_FROM_MAILING_LIST\", {\n slug: \"moosend-unsubscribe-from-mailing-list\",\n name: \"Unsubscribe from Mailing List\",\n description: \"Tool to unsubscribe a subscriber from a specified mailing list. Use when you need to remove a subscriber's active subscription. Rate limit: 20 requests per 10 seconds per API key.\",\n input: MoosendUnsubscribeFromMailingListInput,\n output: MoosendUnsubscribeFromMailingListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC5E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACjG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;AACrG,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjJ,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAEpE,MAAa,oCAAoCC,eAAAA,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"unsubscribe-from-mailing-list.cjs","names":["z","action"],"sources":["../../src/actions/unsubscribe-from-mailing-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendUnsubscribeFromMailingListInput = z.object({\n Email: z.string().describe(\"Email address of the subscriber to unsubscribe.\"),\n format: z.string().default(\"json\").describe(\"Response format. Only JSON is supported.\").optional(),\n mailingListID: z.string().describe(\"The unique identifier of the mailing list to unsubscribe from.\"),\n}).describe(\"Request schema for unsubscribing a subscriber from a mailing list.\");\nexport const MoosendUnsubscribeFromMailingListOutput = z.object({\n Code: z.number().int().describe(\"Response code; 0 indicates success.\").nullable(),\n Error: z.string().describe(\"Error message; null if successful.\").nullable().optional(),\n Context: z.record(z.string(), z.unknown()).describe(\"Full subscriber context including unsubscribe timestamp and status.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for UnsubscribeFromMailingList action.\");\n\nexport const moosendUnsubscribeFromMailingList = action(\"MOOSEND_UNSUBSCRIBE_FROM_MAILING_LIST\", {\n slug: \"moosend-unsubscribe-from-mailing-list\",\n name: \"Unsubscribe from Mailing List\",\n description: \"Tool to unsubscribe a subscriber from a specified mailing list. Use when you need to remove a subscriber's active subscription. Rate limit: 20 requests per 10 seconds per API key.\",\n input: MoosendUnsubscribeFromMailingListInput,\n output: MoosendUnsubscribeFromMailingListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC5E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACjG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;AACrG,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,oCAAoCC,eAAAA,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -10,7 +10,7 @@ declare const MoosendUnsubscribeFromMailingListOutput: z.ZodObject<{
10
10
  Code: z.ZodNullable<z.ZodNumber>;
11
11
  Error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
12
  Context: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
13
- }, z.core.$strip>;
13
+ }, z.core.$loose>;
14
14
  declare const moosendUnsubscribeFromMailingList: import("@keystrokehq/action").WorkflowActionDefinition<{
15
15
  Email: string;
16
16
  mailingListID: string;
@@ -10,7 +10,7 @@ declare const MoosendUnsubscribeFromMailingListOutput: z.ZodObject<{
10
10
  Code: z.ZodNullable<z.ZodNumber>;
11
11
  Error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
12
  Context: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
13
- }, z.core.$strip>;
13
+ }, z.core.$loose>;
14
14
  declare const moosendUnsubscribeFromMailingList: import("@keystrokehq/action").WorkflowActionDefinition<{
15
15
  Email: string;
16
16
  mailingListID: string;
@@ -13,7 +13,7 @@ const moosendUnsubscribeFromMailingList = action("MOOSEND_UNSUBSCRIBE_FROM_MAILI
13
13
  Code: z.number().int().describe("Response code; 0 indicates success.").nullable(),
14
14
  Error: z.string().describe("Error message; null if successful.").nullable().optional(),
15
15
  Context: z.record(z.string(), z.unknown()).describe("Full subscriber context including unsubscribe timestamp and status.").nullable().optional()
16
- }).describe("Response schema for UnsubscribeFromMailingList action.")
16
+ }).passthrough().describe("Response schema for UnsubscribeFromMailingList action.")
17
17
  });
18
18
  //#endregion
19
19
  export { moosendUnsubscribeFromMailingList };
@@ -1 +1 @@
1
- {"version":3,"file":"unsubscribe-from-mailing-list.mjs","names":[],"sources":["../../src/actions/unsubscribe-from-mailing-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendUnsubscribeFromMailingListInput = z.object({\n Email: z.string().describe(\"Email address of the subscriber to unsubscribe.\"),\n format: z.string().default(\"json\").describe(\"Response format. Only JSON is supported.\").optional(),\n mailingListID: z.string().describe(\"The unique identifier of the mailing list to unsubscribe from.\"),\n}).describe(\"Request schema for unsubscribing a subscriber from a mailing list.\");\nexport const MoosendUnsubscribeFromMailingListOutput = z.object({\n Code: z.number().int().describe(\"Response code; 0 indicates success.\").nullable(),\n Error: z.string().describe(\"Error message; null if successful.\").nullable().optional(),\n Context: z.record(z.string(), z.unknown()).describe(\"Full subscriber context including unsubscribe timestamp and status.\").nullable().optional(),\n}).describe(\"Response schema for UnsubscribeFromMailingList action.\");\n\nexport const moosendUnsubscribeFromMailingList = action(\"MOOSEND_UNSUBSCRIBE_FROM_MAILING_LIST\", {\n slug: \"moosend-unsubscribe-from-mailing-list\",\n name: \"Unsubscribe from Mailing List\",\n description: \"Tool to unsubscribe a subscriber from a specified mailing list. Use when you need to remove a subscriber's active subscription. Rate limit: 20 requests per 10 seconds per API key.\",\n input: MoosendUnsubscribeFromMailingListInput,\n output: MoosendUnsubscribeFromMailingListOutput,\n});\n"],"mappings":";;AAeA,MAAa,oCAAoC,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfoD,EAAE,OAAO;EAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EAC5E,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACjG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CACrG,CAAC,CAAC,CAAC,SAAS,oEAWH;CACP,QAXqD,EAAE,OAAO;EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjJ,CAAC,CAAC,CAAC,SAAS,wDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"unsubscribe-from-mailing-list.mjs","names":[],"sources":["../../src/actions/unsubscribe-from-mailing-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendUnsubscribeFromMailingListInput = z.object({\n Email: z.string().describe(\"Email address of the subscriber to unsubscribe.\"),\n format: z.string().default(\"json\").describe(\"Response format. Only JSON is supported.\").optional(),\n mailingListID: z.string().describe(\"The unique identifier of the mailing list to unsubscribe from.\"),\n}).describe(\"Request schema for unsubscribing a subscriber from a mailing list.\");\nexport const MoosendUnsubscribeFromMailingListOutput = z.object({\n Code: z.number().int().describe(\"Response code; 0 indicates success.\").nullable(),\n Error: z.string().describe(\"Error message; null if successful.\").nullable().optional(),\n Context: z.record(z.string(), z.unknown()).describe(\"Full subscriber context including unsubscribe timestamp and status.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for UnsubscribeFromMailingList action.\");\n\nexport const moosendUnsubscribeFromMailingList = action(\"MOOSEND_UNSUBSCRIBE_FROM_MAILING_LIST\", {\n slug: \"moosend-unsubscribe-from-mailing-list\",\n name: \"Unsubscribe from Mailing List\",\n description: \"Tool to unsubscribe a subscriber from a specified mailing list. Use when you need to remove a subscriber's active subscription. Rate limit: 20 requests per 10 seconds per API key.\",\n input: MoosendUnsubscribeFromMailingListInput,\n output: MoosendUnsubscribeFromMailingListOutput,\n});\n"],"mappings":";;AAeA,MAAa,oCAAoC,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfoD,EAAE,OAAO;EAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EAC5E,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACjG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CACrG,CAAC,CAAC,CAAC,SAAS,oEAWH;CACP,QAXqD,EAAE,OAAO;EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAOhB;AACV,CAAC"}
@@ -15,7 +15,7 @@ const MoosendUpdateCampaignInput = zod.z.object({
15
15
  MailingLists: zod.z.array(zod.z.object({
16
16
  SegmentID: zod.z.string().describe("Optional segment ID within the mailing list.").optional(),
17
17
  MailingListID: zod.z.string().describe("ID of the mailing list to target.")
18
- }).describe("Mailing list entry for campaign targeting.")).describe("List of mailing lists and optional segments to send the campaign to.").optional(),
18
+ }).passthrough().describe("Mailing list entry for campaign targeting.")).describe("List of mailing lists and optional segments to send the campaign to.").optional(),
19
19
  ReplyToEmail: zod.z.string().describe("Reply-to email address for the campaign.").optional(),
20
20
  SenderEmailB: zod.z.string().describe("Sender email for version B of the campaign.").optional(),
21
21
  WebLocationB: zod.z.string().describe("Web location for version B of the campaign.").optional(),
@@ -33,7 +33,7 @@ const MoosendUpdateCampaignOutput = zod.z.object({
33
33
  Code: zod.z.number().int().describe("API response code; 0 indicates success.").nullable(),
34
34
  Error: zod.z.string().describe("Error message if any.").nullable().optional(),
35
35
  Context: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Reserved; always null for update.").nullable().optional()
36
- }).describe("Response model for UpdateCampaign action.");
36
+ }).passthrough().describe("Response model for UpdateCampaign action.");
37
37
  const moosendUpdateCampaign = require_action.action("MOOSEND_UPDATE_CAMPAIGN", {
38
38
  slug: "moosend-update-campaign",
39
39
  name: "Update Campaign",
@@ -1 +1 @@
1
- {"version":3,"file":"update-campaign.cjs","names":["z","action"],"sources":["../../src/actions/update-campaign.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendUpdateCampaignInput = z.object({\n IsAB: z.boolean().describe(\"Flag to indicate an A/B split campaign.\").optional(),\n Name: z.string().describe(\"New name of the campaign.\"),\n format: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"Response format: 'json' or 'xml'.\").optional(),\n Subject: z.string().describe(\"Subject line of the campaign.\").optional(),\n SubjectB: z.string().describe(\"Second subject line for A/B tests.\").optional(),\n CampaignID: z.string().describe(\"ID of the draft campaign to update.\"),\n HoursToTest: z.number().int().describe(\"Number of hours to run A/B test (1-24).\").optional(),\n SenderEmail: z.string().describe(\"Sender email address for the campaign.\").optional(),\n WebLocation: z.string().describe(\"URL to fetch campaign HTML content; CSS will be inlined.\").optional(),\n HTMLContentB: z.string().describe(\"HTML content for version B of the campaign.\").optional(),\n MailingLists: z.array(z.object({\n SegmentID: z.string().describe(\"Optional segment ID within the mailing list.\").optional(),\n MailingListID: z.string().describe(\"ID of the mailing list to target.\"),\n}).describe(\"Mailing list entry for campaign targeting.\")).describe(\"List of mailing lists and optional segments to send the campaign to.\").optional(),\n ReplyToEmail: z.string().describe(\"Reply-to email address for the campaign.\").optional(),\n SenderEmailB: z.string().describe(\"Sender email for version B of the campaign.\").optional(),\n WebLocationB: z.string().describe(\"Web location for version B of the campaign.\").optional(),\n ABCampaignType: z.enum([\"Subjectline\", \"Content\", \"Sender\"]).describe(\"Type of A/B test: Subjectline, Content, or Sender.\").optional(),\n ListPercentage: z.number().int().describe(\"Percentage of list to use for A/B testing (5-40).\").optional(),\n ConfirmationToEmail: z.string().describe(\"Email address to receive send confirmations.\").optional(),\n ABWinnerSelectionType: z.enum([\"OpenRate\", \"TotalUniqueClicks\"]).describe(\"Metric to choose A/B winner: OpenRate or TotalUniqueClicks.\").optional(),\n TrackInGoogleAnalytics: z.boolean().describe(\"Enable Google Analytics tracking if configured.\").optional(),\n}).describe(\"Request model for updating a draft campaign in Moosend.\");\nexport const MoosendUpdateCampaignOutput = z.object({\n Code: z.number().int().describe(\"API response code; 0 indicates success.\").nullable(),\n Error: z.string().describe(\"Error message if any.\").nullable().optional(),\n Context: z.record(z.string(), z.unknown()).describe(\"Reserved; always null for update.\").nullable().optional(),\n}).describe(\"Response model for UpdateCampaign action.\");\n\nexport const moosendUpdateCampaign = action(\"MOOSEND_UPDATE_CAMPAIGN\", {\n slug: \"moosend-update-campaign\",\n name: \"Update Campaign\",\n description: \"Tool to update a draft campaign. Use when you want to modify properties of an existing draft campaign before sending.\",\n input: MoosendUpdateCampaignInput,\n output: MoosendUpdateCamp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names":["z","action"],"sources":["../../src/actions/update-campaign.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendUpdateCampaignInput = z.object({\n IsAB: z.boolean().describe(\"Flag to indicate an A/B split campaign.\").optional(),\n Name: z.string().describe(\"New name of the campaign.\"),\n format: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"Response format: 'json' or 'xml'.\").optional(),\n Subject: z.string().describe(\"Subject line of the campaign.\").optional(),\n SubjectB: z.string().describe(\"Second subject line for A/B tests.\").optional(),\n CampaignID: z.string().describe(\"ID of the draft campaign to update.\"),\n HoursToTest: z.number().int().describe(\"Number of hours to run A/B test (1-24).\").optional(),\n SenderEmail: z.string().describe(\"Sender email address for the campaign.\").optional(),\n WebLocation: z.string().describe(\"URL to fetch campaign HTML content; CSS will be inlined.\").optional(),\n HTMLContentB: z.string().describe(\"HTML content for version B of the campaign.\").optional(),\n MailingLists: z.array(z.object({\n SegmentID: z.string().describe(\"Optional segment ID within the mailing list.\").optional(),\n MailingListID: z.string().describe(\"ID of the mailing list to target.\"),\n}).passthrough().describe(\"Mailing list entry for campaign targeting.\")).describe(\"List of mailing lists and optional segments to send the campaign to.\").optional(),\n ReplyToEmail: z.string().describe(\"Reply-to email address for the campaign.\").optional(),\n SenderEmailB: z.string().describe(\"Sender email for version B of the campaign.\").optional(),\n WebLocationB: z.string().describe(\"Web location for version B of the campaign.\").optional(),\n ABCampaignType: z.enum([\"Subjectline\", \"Content\", \"Sender\"]).describe(\"Type of A/B test: Subjectline, Content, or Sender.\").optional(),\n ListPercentage: z.number().int().describe(\"Percentage of list to use for A/B testing (5-40).\").optional(),\n ConfirmationToEmail: z.string().describe(\"Email address to receive send confirmations.\").optional(),\n ABWinnerSelectionType: z.enum([\"OpenRate\", \"TotalUniqueClicks\"]).describe(\"Metric to choose A/B winner: OpenRate or TotalUniqueClicks.\").optional(),\n TrackInGoogleAnalytics: z.boolean().describe(\"Enable Google Analytics tracking if configured.\").optional(),\n}).describe(\"Request model for updating a draft campaign in Moosend.\");\nexport const MoosendUpdateCampaignOutput = z.object({\n Code: z.number().int().describe(\"API response code; 0 indicates success.\").nullable(),\n Error: z.string().describe(\"Error message if any.\").nullable().optional(),\n Context: z.record(z.string(), z.unknown()).describe(\"Reserved; always null for update.\").nullable().optional(),\n}).passthrough().describe(\"Response model for UpdateCampaign action.\");\n\nexport const moosendUpdateCampaign = action(\"MOOSEND_UPDATE_CAMPAIGN\", {\n slug: \"moosend-update-campaign\",\n name: \"Update Campaign\",\n description: \"Tool to update a draft campaign. Use when you want to modify properties of an existing draft campaign before sending.\",\n input: MoosendUpdateCampaignInput,\n output: MoosendUpdateCampaignOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACrD,QAAQA,IAAAA,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACvG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACvE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACrE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC3F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACtG,cAAcA,IAAAA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C,SAAS;CACpF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -18,7 +18,7 @@ declare const MoosendUpdateCampaignInput: z.ZodObject<{
18
18
  MailingLists: z.ZodOptional<z.ZodArray<z.ZodObject<{
19
19
  SegmentID: z.ZodOptional<z.ZodString>;
20
20
  MailingListID: z.ZodString;
21
- }, z.core.$strip>>>;
21
+ }, z.core.$loose>>>;
22
22
  ReplyToEmail: z.ZodOptional<z.ZodString>;
23
23
  SenderEmailB: z.ZodOptional<z.ZodString>;
24
24
  WebLocationB: z.ZodOptional<z.ZodString>;
@@ -39,7 +39,7 @@ declare const MoosendUpdateCampaignOutput: z.ZodObject<{
39
39
  Code: z.ZodNullable<z.ZodNumber>;
40
40
  Error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
41
  Context: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
42
- }, z.core.$strip>;
42
+ }, z.core.$loose>;
43
43
  declare const moosendUpdateCampaign: import("@keystrokehq/action").WorkflowActionDefinition<{
44
44
  Name: string;
45
45
  CampaignID: string;
@@ -52,6 +52,7 @@ declare const moosendUpdateCampaign: import("@keystrokehq/action").WorkflowActio
52
52
  WebLocation?: string | undefined;
53
53
  HTMLContentB?: string | undefined;
54
54
  MailingLists?: {
55
+ [x: string]: unknown;
55
56
  MailingListID: string;
56
57
  SegmentID?: string | undefined;
57
58
  }[] | undefined;
@@ -18,7 +18,7 @@ declare const MoosendUpdateCampaignInput: z.ZodObject<{
18
18
  MailingLists: z.ZodOptional<z.ZodArray<z.ZodObject<{
19
19
  SegmentID: z.ZodOptional<z.ZodString>;
20
20
  MailingListID: z.ZodString;
21
- }, z.core.$strip>>>;
21
+ }, z.core.$loose>>>;
22
22
  ReplyToEmail: z.ZodOptional<z.ZodString>;
23
23
  SenderEmailB: z.ZodOptional<z.ZodString>;
24
24
  WebLocationB: z.ZodOptional<z.ZodString>;
@@ -39,7 +39,7 @@ declare const MoosendUpdateCampaignOutput: z.ZodObject<{
39
39
  Code: z.ZodNullable<z.ZodNumber>;
40
40
  Error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
41
  Context: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
42
- }, z.core.$strip>;
42
+ }, z.core.$loose>;
43
43
  declare const moosendUpdateCampaign: import("@keystrokehq/action").WorkflowActionDefinition<{
44
44
  Name: string;
45
45
  CampaignID: string;
@@ -52,6 +52,7 @@ declare const moosendUpdateCampaign: import("@keystrokehq/action").WorkflowActio
52
52
  WebLocation?: string | undefined;
53
53
  HTMLContentB?: string | undefined;
54
54
  MailingLists?: {
55
+ [x: string]: unknown;
55
56
  MailingListID: string;
56
57
  SegmentID?: string | undefined;
57
58
  }[] | undefined;
@@ -18,7 +18,7 @@ const moosendUpdateCampaign = action("MOOSEND_UPDATE_CAMPAIGN", {
18
18
  MailingLists: z.array(z.object({
19
19
  SegmentID: z.string().describe("Optional segment ID within the mailing list.").optional(),
20
20
  MailingListID: z.string().describe("ID of the mailing list to target.")
21
- }).describe("Mailing list entry for campaign targeting.")).describe("List of mailing lists and optional segments to send the campaign to.").optional(),
21
+ }).passthrough().describe("Mailing list entry for campaign targeting.")).describe("List of mailing lists and optional segments to send the campaign to.").optional(),
22
22
  ReplyToEmail: z.string().describe("Reply-to email address for the campaign.").optional(),
23
23
  SenderEmailB: z.string().describe("Sender email for version B of the campaign.").optional(),
24
24
  WebLocationB: z.string().describe("Web location for version B of the campaign.").optional(),
@@ -36,7 +36,7 @@ const moosendUpdateCampaign = action("MOOSEND_UPDATE_CAMPAIGN", {
36
36
  Code: z.number().int().describe("API response code; 0 indicates success.").nullable(),
37
37
  Error: z.string().describe("Error message if any.").nullable().optional(),
38
38
  Context: z.record(z.string(), z.unknown()).describe("Reserved; always null for update.").nullable().optional()
39
- }).describe("Response model for UpdateCampaign action.")
39
+ }).passthrough().describe("Response model for UpdateCampaign action.")
40
40
  });
41
41
  //#endregion
42
42
  export { moosendUpdateCampaign };
@@ -1 +1 @@
1
- {"version":3,"file":"update-campaign.mjs","names":[],"sources":["../../src/actions/update-campaign.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendUpdateCampaignInput = z.object({\n IsAB: z.boolean().describe(\"Flag to indicate an A/B split campaign.\").optional(),\n Name: z.string().describe(\"New name of the campaign.\"),\n format: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"Response format: 'json' or 'xml'.\").optional(),\n Subject: z.string().describe(\"Subject line of the campaign.\").optional(),\n SubjectB: z.string().describe(\"Second subject line for A/B tests.\").optional(),\n CampaignID: z.string().describe(\"ID of the draft campaign to update.\"),\n HoursToTest: z.number().int().describe(\"Number of hours to run A/B test (1-24).\").optional(),\n SenderEmail: z.string().describe(\"Sender email address for the campaign.\").optional(),\n WebLocation: z.string().describe(\"URL to fetch campaign HTML content; CSS will be inlined.\").optional(),\n HTMLContentB: z.string().describe(\"HTML content for version B of the campaign.\").optional(),\n MailingLists: z.array(z.object({\n SegmentID: z.string().describe(\"Optional segment ID within the mailing list.\").optional(),\n MailingListID: z.string().describe(\"ID of the mailing list to target.\"),\n}).describe(\"Mailing list entry for campaign targeting.\")).describe(\"List of mailing lists and optional segments to send the campaign to.\").optional(),\n ReplyToEmail: z.string().describe(\"Reply-to email address for the campaign.\").optional(),\n SenderEmailB: z.string().describe(\"Sender email for version B of the campaign.\").optional(),\n WebLocationB: z.string().describe(\"Web location for version B of the campaign.\").optional(),\n ABCampaignType: z.enum([\"Subjectline\", \"Content\", \"Sender\"]).describe(\"Type of A/B test: Subjectline, Content, or Sender.\").optional(),\n ListPercentage: z.number().int().describe(\"Percentage of list to use for A/B testing (5-40).\").optional(),\n ConfirmationToEmail: z.string().describe(\"Email address to receive send confirmations.\").optional(),\n ABWinnerSelectionType: z.enum([\"OpenRate\", \"TotalUniqueClicks\"]).describe(\"Metric to choose A/B winner: OpenRate or TotalUniqueClicks.\").optional(),\n TrackInGoogleAnalytics: z.boolean().describe(\"Enable Google Analytics tracking if configured.\").optional(),\n}).describe(\"Request model for updating a draft campaign in Moosend.\");\nexport const MoosendUpdateCampaignOutput = z.object({\n Code: z.number().int().describe(\"API response code; 0 indicates success.\").nullable(),\n Error: z.string().describe(\"Error message if any.\").nullable().optional(),\n Context: z.record(z.string(), z.unknown()).describe(\"Reserved; always null for update.\").nullable().optional(),\n}).describe(\"Response model for UpdateCampaign action.\");\n\nexport const moosendUpdateCampaign = action(\"MOOSEND_UPDATE_CAMPAIGN\", {\n slug: \"moosend-update-campaign\",\n name: \"Update Campaign\",\n description: \"Tool to update a draft campaign. Use when you want to modify properties of an existing draft campaign before sending.\",\n input: MoosendUpdateCampaignInput,\n output: MoosendUpdateCampaignOutput,\n});\n"],"mappings":";;AAkCA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlCwC,EAAE,OAAO;EACjD,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EACrD,QAAQ,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACvG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,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AA6D,CAAC,CAAC,SAAS;EAClJ,wBAAwB,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,SAAS,yDAWH;CACP,QAXyC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACpF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxE,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-campaign.mjs","names":[],"sources":["../../src/actions/update-campaign.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendUpdateCampaignInput = z.object({\n IsAB: z.boolean().describe(\"Flag to indicate an A/B split campaign.\").optional(),\n Name: z.string().describe(\"New name of the campaign.\"),\n format: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"Response format: 'json' or 'xml'.\").optional(),\n Subject: z.string().describe(\"Subject line of the campaign.\").optional(),\n SubjectB: z.string().describe(\"Second subject line for A/B tests.\").optional(),\n CampaignID: z.string().describe(\"ID of the draft campaign to update.\"),\n HoursToTest: z.number().int().describe(\"Number of hours to run A/B test (1-24).\").optional(),\n SenderEmail: z.string().describe(\"Sender email address for the campaign.\").optional(),\n WebLocation: z.string().describe(\"URL to fetch campaign HTML content; CSS will be inlined.\").optional(),\n HTMLContentB: z.string().describe(\"HTML content for version B of the campaign.\").optional(),\n MailingLists: z.array(z.object({\n SegmentID: z.string().describe(\"Optional segment ID within the mailing list.\").optional(),\n MailingListID: z.string().describe(\"ID of the mailing list to target.\"),\n}).passthrough().describe(\"Mailing list entry for campaign targeting.\")).describe(\"List of mailing lists and optional segments to send the campaign to.\").optional(),\n ReplyToEmail: z.string().describe(\"Reply-to email address for the campaign.\").optional(),\n SenderEmailB: z.string().describe(\"Sender email for version B of the campaign.\").optional(),\n WebLocationB: z.string().describe(\"Web location for version B of the campaign.\").optional(),\n ABCampaignType: z.enum([\"Subjectline\", \"Content\", \"Sender\"]).describe(\"Type of A/B test: Subjectline, Content, or Sender.\").optional(),\n ListPercentage: z.number().int().describe(\"Percentage of list to use for A/B testing (5-40).\").optional(),\n ConfirmationToEmail: z.string().describe(\"Email address to receive send confirmations.\").optional(),\n ABWinnerSelectionType: z.enum([\"OpenRate\", \"TotalUniqueClicks\"]).describe(\"Metric to choose A/B winner: OpenRate or TotalUniqueClicks.\").optional(),\n TrackInGoogleAnalytics: z.boolean().describe(\"Enable Google Analytics tracking if configured.\").optional(),\n}).describe(\"Request model for updating a draft campaign in Moosend.\");\nexport const MoosendUpdateCampaignOutput = z.object({\n Code: z.number().int().describe(\"API response code; 0 indicates success.\").nullable(),\n Error: z.string().describe(\"Error message if any.\").nullable().optional(),\n Context: z.record(z.string(), z.unknown()).describe(\"Reserved; always null for update.\").nullable().optional(),\n}).passthrough().describe(\"Response model for UpdateCampaign action.\");\n\nexport const moosendUpdateCampaign = action(\"MOOSEND_UPDATE_CAMPAIGN\", {\n slug: \"moosend-update-campaign\",\n name: \"Update Campaign\",\n description: \"Tool to update a draft campaign. Use when you want to modify properties of an existing draft campaign before sending.\",\n input: MoosendUpdateCampaignInput,\n output: MoosendUpdateCampaignOutput,\n});\n"],"mappings":";;AAkCA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlCwC,EAAE,OAAO;EACjD,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EACrD,QAAQ,EAAE,KAAK,CAAC,QAAQ,KA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qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EAClG,uBAAuB,EAAE,KAAK,CAAC,YAAY,mBAAmB,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EAClJ,wBAAwB,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,SAAS,yDAWH;CACP,QAXyC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACpF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxE,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
@@ -21,7 +21,7 @@ const MoosendUpdateCustomFieldOutput = zod.z.object({
21
21
  Code: zod.z.number().int().describe("Response code; 0 indicates success.").nullable(),
22
22
  Error: zod.z.string().describe("Error message if the request failed; null if successful.").nullable().optional(),
23
23
  Context: zod.z.string().describe("Additional context or details; null if successful.").nullable().optional()
24
- });
24
+ }).passthrough();
25
25
  const moosendUpdateCustomField = require_action.action("MOOSEND_UPDATE_CUSTOM_FIELD", {
26
26
  slug: "moosend-update-custom-field",
27
27
  name: "Update custom field",
@@ -1 +1 @@
1
- {"version":3,"file":"update-custom-field.cjs","names":["z","action"],"sources":["../../src/actions/update-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendUpdateCustomFieldInput = z.object({\n name: z.string().describe(\"The new name for the custom field.\"),\n format: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"The response format. Use 'json' for JSON responses and 'xml' for XML responses.\").optional(),\n options: z.string().describe(\"Comma-separated options for 'SingleSelectDropdown'; required if custom_field_type is 'SingleSelectDropdown'.\").optional(),\n is_hidden: z.boolean().default(false).describe(\"Whether the custom field is hidden from subscribers on the update profile page.\").optional(),\n is_required: z.boolean().default(false).describe(\"Whether the custom field is mandatory when adding a subscriber.\").optional(),\n custom_field_id: z.string().describe(\"The ID of the custom field to update.\"),\n mailing_list_id: z.string().describe(\"The ID of the mailing list containing the custom field.\"),\n custom_field_type: z.enum([\"Text\", \"Number\", \"DateTime\", \"SingleSelectDropdown\", \"CheckBox\"]).describe(\"Specifies the data type of the custom field; one of 'Text', 'Number', 'DateTime', 'SingleSelectDropdown', 'CheckBox'.\").optional(),\n});\nexport const MoosendUpdateCustomFieldOutput = z.object({\n Code: z.number().int().describe(\"Response code; 0 indicates success.\").nullable(),\n Error: z.string().describe(\"Error message if the request failed; null if successful.\").nullable().optional(),\n Context: z.string().describe(\"Additional context or details; null if successful.\").nullable().optional(),\n});\n\nexport const moosendUpdateCustomField = action(\"MOOSEND_UPDATE_CUSTOM_FIELD\", {\n slug: \"moosend-update-custom-field\",\n name: \"Update custom field\",\n description: \"Tool to update properties of an existing custom field in a mailing list. Use after confirming mailing list and custom field IDs.\",\n input: MoosendUpdateCustomFieldInput,\n output: MoosendUpdateCustomFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC9D,QAAQA,IAAAA,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CACrJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CACtJ,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC3I,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC7H,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAC5E,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CAC9F,mBAAmBA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAU;EAAY;EAAwB;CAAU,CAAC,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;AAC3O,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC;AAED,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-custom-field.cjs","names":["z","action"],"sources":["../../src/actions/update-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendUpdateCustomFieldInput = z.object({\n name: z.string().describe(\"The new name for the custom field.\"),\n format: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"The response format. Use 'json' for JSON responses and 'xml' for XML responses.\").optional(),\n options: z.string().describe(\"Comma-separated options for 'SingleSelectDropdown'; required if custom_field_type is 'SingleSelectDropdown'.\").optional(),\n is_hidden: z.boolean().default(false).describe(\"Whether the custom field is hidden from subscribers on the update profile page.\").optional(),\n is_required: z.boolean().default(false).describe(\"Whether the custom field is mandatory when adding a subscriber.\").optional(),\n custom_field_id: z.string().describe(\"The ID of the custom field to update.\"),\n mailing_list_id: z.string().describe(\"The ID of the mailing list containing the custom field.\"),\n custom_field_type: z.enum([\"Text\", \"Number\", \"DateTime\", \"SingleSelectDropdown\", \"CheckBox\"]).describe(\"Specifies the data type of the custom field; one of 'Text', 'Number', 'DateTime', 'SingleSelectDropdown', 'CheckBox'.\").optional(),\n});\nexport const MoosendUpdateCustomFieldOutput = z.object({\n Code: z.number().int().describe(\"Response code; 0 indicates success.\").nullable(),\n Error: z.string().describe(\"Error message if the request failed; null if successful.\").nullable().optional(),\n Context: z.string().describe(\"Additional context or details; null if successful.\").nullable().optional(),\n}).passthrough();\n\nexport const moosendUpdateCustomField = action(\"MOOSEND_UPDATE_CUSTOM_FIELD\", {\n slug: \"moosend-update-custom-field\",\n name: \"Update custom field\",\n description: \"Tool to update properties of an existing custom field in a mailing list. Use after confirming mailing list and custom field IDs.\",\n input: MoosendUpdateCustomFieldInput,\n output: MoosendUpdateCustomFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC9D,QAAQA,IAAAA,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CACrJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CACtJ,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC3I,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC7H,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAC5E,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CAC9F,mBAAmBA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAU;EAAY;EAAwB;CAAU,CAAC,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;AAC3O,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -24,7 +24,7 @@ declare const MoosendUpdateCustomFieldOutput: z.ZodObject<{
24
24
  Code: z.ZodNullable<z.ZodNumber>;
25
25
  Error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
26
  Context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
- }, z.core.$strip>;
27
+ }, z.core.$loose>;
28
28
  declare const moosendUpdateCustomField: import("@keystrokehq/action").WorkflowActionDefinition<{
29
29
  name: string;
30
30
  custom_field_id: string;
@@ -24,7 +24,7 @@ declare const MoosendUpdateCustomFieldOutput: z.ZodObject<{
24
24
  Code: z.ZodNullable<z.ZodNumber>;
25
25
  Error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
26
  Context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
- }, z.core.$strip>;
27
+ }, z.core.$loose>;
28
28
  declare const moosendUpdateCustomField: import("@keystrokehq/action").WorkflowActionDefinition<{
29
29
  name: string;
30
30
  custom_field_id: string;
@@ -24,7 +24,7 @@ const moosendUpdateCustomField = action("MOOSEND_UPDATE_CUSTOM_FIELD", {
24
24
  Code: z.number().int().describe("Response code; 0 indicates success.").nullable(),
25
25
  Error: z.string().describe("Error message if the request failed; null if successful.").nullable().optional(),
26
26
  Context: z.string().describe("Additional context or details; null if successful.").nullable().optional()
27
- })
27
+ }).passthrough()
28
28
  });
29
29
  //#endregion
30
30
  export { moosendUpdateCustomField };
@@ -1 +1 @@
1
- {"version":3,"file":"update-custom-field.mjs","names":[],"sources":["../../src/actions/update-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendUpdateCustomFieldInput = z.object({\n name: z.string().describe(\"The new name for the custom field.\"),\n format: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"The response format. Use 'json' for JSON responses and 'xml' for XML responses.\").optional(),\n options: z.string().describe(\"Comma-separated options for 'SingleSelectDropdown'; required if custom_field_type is 'SingleSelectDropdown'.\").optional(),\n is_hidden: z.boolean().default(false).describe(\"Whether the custom field is hidden from subscribers on the update profile page.\").optional(),\n is_required: z.boolean().default(false).describe(\"Whether the custom field is mandatory when adding a subscriber.\").optional(),\n custom_field_id: z.string().describe(\"The ID of the custom field to update.\"),\n mailing_list_id: z.string().describe(\"The ID of the mailing list containing the custom field.\"),\n custom_field_type: z.enum([\"Text\", \"Number\", \"DateTime\", \"SingleSelectDropdown\", \"CheckBox\"]).describe(\"Specifies the data type of the custom field; one of 'Text', 'Number', 'DateTime', 'SingleSelectDropdown', 'CheckBox'.\").optional(),\n});\nexport const MoosendUpdateCustomFieldOutput = z.object({\n Code: z.number().int().describe(\"Response code; 0 indicates success.\").nullable(),\n Error: z.string().describe(\"Error message if the request failed; null if successful.\").nullable().optional(),\n Context: z.string().describe(\"Additional context or details; null if successful.\").nullable().optional(),\n});\n\nexport const moosendUpdateCustomField = action(\"MOOSEND_UPDATE_CUSTOM_FIELD\", {\n slug: \"moosend-update-custom-field\",\n name: \"Update custom field\",\n description: \"Tool to update properties of an existing custom field in a mailing list. Use after confirming mailing list and custom field IDs.\",\n input: MoosendUpdateCustomFieldInput,\n output: MoosendUpdateCustomFieldOutput,\n});\n"],"mappings":";;AAoBA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApB2C,EAAE,OAAO;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EAC9D,QAAQ,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EACrJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;EACtJ,WAAW,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EAC3I,aAAa,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EAC7H,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EAC5E,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;EAC9F,mBAAmB,EAAE,KAAK;GAAC;GAAQ;GAAU;GAAY;GAAwB;EAAU,CAAC,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CAC3O,CAWS;CACP,QAX4C,EAAE,OAAO;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"update-custom-field.mjs","names":[],"sources":["../../src/actions/update-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendUpdateCustomFieldInput = z.object({\n name: z.string().describe(\"The new name for the custom field.\"),\n format: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"The response format. Use 'json' for JSON responses and 'xml' for XML responses.\").optional(),\n options: z.string().describe(\"Comma-separated options for 'SingleSelectDropdown'; required if custom_field_type is 'SingleSelectDropdown'.\").optional(),\n is_hidden: z.boolean().default(false).describe(\"Whether the custom field is hidden from subscribers on the update profile page.\").optional(),\n is_required: z.boolean().default(false).describe(\"Whether the custom field is mandatory when adding a subscriber.\").optional(),\n custom_field_id: z.string().describe(\"The ID of the custom field to update.\"),\n mailing_list_id: z.string().describe(\"The ID of the mailing list containing the custom field.\"),\n custom_field_type: z.enum([\"Text\", \"Number\", \"DateTime\", \"SingleSelectDropdown\", \"CheckBox\"]).describe(\"Specifies the data type of the custom field; one of 'Text', 'Number', 'DateTime', 'SingleSelectDropdown', 'CheckBox'.\").optional(),\n});\nexport const MoosendUpdateCustomFieldOutput = z.object({\n Code: z.number().int().describe(\"Response code; 0 indicates success.\").nullable(),\n Error: z.string().describe(\"Error message if the request failed; null if successful.\").nullable().optional(),\n Context: z.string().describe(\"Additional context or details; null if successful.\").nullable().optional(),\n}).passthrough();\n\nexport const moosendUpdateCustomField = action(\"MOOSEND_UPDATE_CUSTOM_FIELD\", {\n slug: \"moosend-update-custom-field\",\n name: \"Update custom field\",\n description: \"Tool to update properties of an existing custom field in a mailing list. Use after confirming mailing list and custom field IDs.\",\n input: MoosendUpdateCustomFieldInput,\n output: MoosendUpdateCustomFieldOutput,\n});\n"],"mappings":";;AAoBA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApB2C,EAAE,OAAO;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EAC9D,QAAQ,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EACrJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;EACtJ,WAAW,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EAC3I,aAAa,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EAC7H,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EAC5E,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;EAC9F,mBAAmB,EAAE,KAAK;GAAC;GAAQ;GAAU;GAAY;GAAwB;EAAU,CAAC,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CAC3O,CAWS;CACP,QAX4C,EAAE,OAAO;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -19,12 +19,12 @@ const MoosendUpdateMailingList_MailingListContextSchema = zod.z.object({
19
19
  Description: zod.z.string().describe("Mailing list description.").nullable().optional(),
20
20
  SenderEmail: zod.z.string().describe("Sender email address.").nullable(),
21
21
  ReplyToEmail: zod.z.string().describe("Reply-to email address.").nullable()
22
- }).describe("Context schema containing updated mailing list details");
22
+ }).passthrough().describe("Context schema containing updated mailing list details");
23
23
  const MoosendUpdateMailingListOutput = zod.z.object({
24
24
  Code: zod.z.number().int().describe("Response code; 0 indicates success.").nullable(),
25
25
  Error: zod.z.string().describe("Error message if any.").nullable().optional(),
26
26
  Context: zod.z.union([MoosendUpdateMailingList_MailingListContextSchema, zod.z.string()]).nullable().optional()
27
- }).describe("Response schema for `UpdateMailingList`");
27
+ }).passthrough().describe("Response schema for `UpdateMailingList`");
28
28
  const moosendUpdateMailingList = require_action.action("MOOSEND_UPDATE_MAILING_LIST", {
29
29
  slug: "moosend-update-mailing-list",
30
30
  name: "Update Mailing List",
@@ -1 +1 @@
1
- {"version":3,"file":"update-mailing-list.cjs","names":["z","action"],"sources":["../../src/actions/update-mailing-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendUpdateMailingListInput = z.object({\n name: z.string().describe(\"New name for the mailing list.\").optional(),\n format: z.string().default(\"json\").describe(\"Response format, either 'json' or 'xml'.\").optional(),\n description: z.string().describe(\"A description for the mailing list.\").optional(),\n sender_name: z.string().describe(\"Sender name for the mailing list.\").optional(),\n sender_email: z.string().describe(\"Sender email address for the mailing list.\").optional(),\n reply_to_email: z.string().describe(\"Reply-to email address for the mailing list.\").optional(),\n mailing_list_id: z.string().describe(\"The unique identifier of the mailing list to update.\"),\n}).describe(\"Request schema for `UpdateMailingList`\");\nconst MoosendUpdateMailingList_MailingListContextSchema = z.object({\n ID: z.string().describe(\"The mailing list ID.\").nullable(),\n Name: z.string().describe(\"Mailing list name.\").nullable(),\n CreatedOn: z.string().describe(\"Date-time when the list was created.\").nullable(),\n UpdatedOn: z.string().describe(\"Date-time when the list was last updated.\").nullable(),\n SenderName: z.string().describe(\"Sender name.\").nullable(),\n Description: z.string().describe(\"Mailing list description.\").nullable().optional(),\n SenderEmail: z.string().describe(\"Sender email address.\").nullable(),\n ReplyToEmail: z.string().describe(\"Reply-to email address.\").nullable(),\n}).describe(\"Context schema containing updated mailing list details\");\nexport const MoosendUpdateMailingListOutput = z.object({\n Code: z.number().int().describe(\"Response code; 0 indicates success.\").nullable(),\n Error: z.string().describe(\"Error message if any.\").nullable().optional(),\n Context: z.union([MoosendUpdateMailingList_MailingListContextSchema, z.string()]).nullable().optional(),\n}).describe(\"Response schema for `UpdateMailingList`\");\n\nexport const moosendUpdateMailingList = action(\"MOOSEND_UPDATE_MAILING_LIST\", {\n slug: \"moosend-update-mailing-list\",\n name: \"Update Mailing List\",\n description: \"Tool to update the properties of an existing mailing list. Use when you need to change list metadata after confirming the list ID.\",\n input: MoosendUpdateMailingListInput,\n output: MoosendUpdateMailingListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACjG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACjF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC/E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACzF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC7F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;AAC7F,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACzD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAChF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACrF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACzD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACnE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,SAASA,IAAAA,EAAE,MAAM,CAAC,mDAAmDA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAErD,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-mailing-list.cjs","names":["z","action"],"sources":["../../src/actions/update-mailing-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendUpdateMailingListInput = z.object({\n name: z.string().describe(\"New name for the mailing list.\").optional(),\n format: z.string().default(\"json\").describe(\"Response format, either 'json' or 'xml'.\").optional(),\n description: z.string().describe(\"A description for the mailing list.\").optional(),\n sender_name: z.string().describe(\"Sender name for the mailing list.\").optional(),\n sender_email: z.string().describe(\"Sender email address for the mailing list.\").optional(),\n reply_to_email: z.string().describe(\"Reply-to email address for the mailing list.\").optional(),\n mailing_list_id: z.string().describe(\"The unique identifier of the mailing list to update.\"),\n}).describe(\"Request schema for `UpdateMailingList`\");\nconst MoosendUpdateMailingList_MailingListContextSchema = z.object({\n ID: z.string().describe(\"The mailing list ID.\").nullable(),\n Name: z.string().describe(\"Mailing list name.\").nullable(),\n CreatedOn: z.string().describe(\"Date-time when the list was created.\").nullable(),\n UpdatedOn: z.string().describe(\"Date-time when the list was last updated.\").nullable(),\n SenderName: z.string().describe(\"Sender name.\").nullable(),\n Description: z.string().describe(\"Mailing list description.\").nullable().optional(),\n SenderEmail: z.string().describe(\"Sender email address.\").nullable(),\n ReplyToEmail: z.string().describe(\"Reply-to email address.\").nullable(),\n}).passthrough().describe(\"Context schema containing updated mailing list details\");\nexport const MoosendUpdateMailingListOutput = z.object({\n Code: z.number().int().describe(\"Response code; 0 indicates success.\").nullable(),\n Error: z.string().describe(\"Error message if any.\").nullable().optional(),\n Context: z.union([MoosendUpdateMailingList_MailingListContextSchema, z.string()]).nullable().optional(),\n}).passthrough().describe(\"Response schema for `UpdateMailingList`\");\n\nexport const moosendUpdateMailingList = action(\"MOOSEND_UPDATE_MAILING_LIST\", {\n slug: \"moosend-update-mailing-list\",\n name: \"Update Mailing List\",\n description: \"Tool to update the properties of an existing mailing list. Use when you need to change list metadata after confirming the list ID.\",\n input: MoosendUpdateMailingListInput,\n output: MoosendUpdateMailingListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ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AO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,SAASA,IAAAA,EAAE,MAAM,CAAC,mDAAmDA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -22,8 +22,8 @@ declare const MoosendUpdateMailingListOutput: z.ZodObject<{
22
22
  Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
23
  SenderEmail: z.ZodNullable<z.ZodString>;
24
24
  ReplyToEmail: z.ZodNullable<z.ZodString>;
25
- }, z.core.$strip>, z.ZodString]>>>;
26
- }, z.core.$strip>;
25
+ }, z.core.$loose>, z.ZodString]>>>;
26
+ }, z.core.$loose>;
27
27
  declare const moosendUpdateMailingList: import("@keystrokehq/action").WorkflowActionDefinition<{
28
28
  mailing_list_id: string;
29
29
  name?: string | undefined;
@@ -22,8 +22,8 @@ declare const MoosendUpdateMailingListOutput: z.ZodObject<{
22
22
  Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
23
  SenderEmail: z.ZodNullable<z.ZodString>;
24
24
  ReplyToEmail: z.ZodNullable<z.ZodString>;
25
- }, z.core.$strip>, z.ZodString]>>>;
26
- }, z.core.$strip>;
25
+ }, z.core.$loose>, z.ZodString]>>>;
26
+ }, z.core.$loose>;
27
27
  declare const moosendUpdateMailingList: import("@keystrokehq/action").WorkflowActionDefinition<{
28
28
  mailing_list_id: string;
29
29
  name?: string | undefined;
@@ -19,7 +19,7 @@ const MoosendUpdateMailingList_MailingListContextSchema = z.object({
19
19
  Description: z.string().describe("Mailing list description.").nullable().optional(),
20
20
  SenderEmail: z.string().describe("Sender email address.").nullable(),
21
21
  ReplyToEmail: z.string().describe("Reply-to email address.").nullable()
22
- }).describe("Context schema containing updated mailing list details");
22
+ }).passthrough().describe("Context schema containing updated mailing list details");
23
23
  const moosendUpdateMailingList = action("MOOSEND_UPDATE_MAILING_LIST", {
24
24
  slug: "moosend-update-mailing-list",
25
25
  name: "Update Mailing List",
@@ -29,7 +29,7 @@ const moosendUpdateMailingList = action("MOOSEND_UPDATE_MAILING_LIST", {
29
29
  Code: z.number().int().describe("Response code; 0 indicates success.").nullable(),
30
30
  Error: z.string().describe("Error message if any.").nullable().optional(),
31
31
  Context: z.union([MoosendUpdateMailingList_MailingListContextSchema, z.string()]).nullable().optional()
32
- }).describe("Response schema for `UpdateMailingList`")
32
+ }).passthrough().describe("Response schema for `UpdateMailingList`")
33
33
  });
34
34
  //#endregion
35
35
  export { moosendUpdateMailingList };
@@ -1 +1 @@
1
- {"version":3,"file":"update-mailing-list.mjs","names":[],"sources":["../../src/actions/update-mailing-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendUpdateMailingListInput = z.object({\n name: z.string().describe(\"New name for the mailing list.\").optional(),\n format: z.string().default(\"json\").describe(\"Response format, either 'json' or 'xml'.\").optional(),\n description: z.string().describe(\"A description for the mailing list.\").optional(),\n sender_name: z.string().describe(\"Sender name for the mailing list.\").optional(),\n sender_email: z.string().describe(\"Sender email address for the mailing list.\").optional(),\n reply_to_email: z.string().describe(\"Reply-to email address for the mailing list.\").optional(),\n mailing_list_id: z.string().describe(\"The unique identifier of the mailing list to update.\"),\n}).describe(\"Request schema for `UpdateMailingList`\");\nconst MoosendUpdateMailingList_MailingListContextSchema = z.object({\n ID: z.string().describe(\"The mailing list ID.\").nullable(),\n Name: z.string().describe(\"Mailing list name.\").nullable(),\n CreatedOn: z.string().describe(\"Date-time when the list was created.\").nullable(),\n UpdatedOn: z.string().describe(\"Date-time when the list was last updated.\").nullable(),\n SenderName: z.string().describe(\"Sender name.\").nullable(),\n Description: z.string().describe(\"Mailing list description.\").nullable().optional(),\n SenderEmail: z.string().describe(\"Sender email address.\").nullable(),\n ReplyToEmail: z.string().describe(\"Reply-to email address.\").nullable(),\n}).describe(\"Context schema containing updated mailing list details\");\nexport const MoosendUpdateMailingListOutput = z.object({\n Code: z.number().int().describe(\"Response code; 0 indicates success.\").nullable(),\n Error: z.string().describe(\"Error message if any.\").nullable().optional(),\n Context: z.union([MoosendUpdateMailingList_MailingListContextSchema, z.string()]).nullable().optional(),\n}).describe(\"Response schema for `UpdateMailingList`\");\n\nexport const moosendUpdateMailingList = action(\"MOOSEND_UPDATE_MAILING_LIST\", {\n slug: \"moosend-update-mailing-list\",\n name: \"Update Mailing List\",\n description: \"Tool to update the properties of an existing mailing list. Use when you need to change list metadata after confirming the list ID.\",\n input: MoosendUpdateMailingListInput,\n output: MoosendUpdateMailingListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACjG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACjF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC/E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACzF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC7F,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;AAC7F,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,oDAAoD,EAAE,OAAO;CACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACzD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAChF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACrF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACzD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACnE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAOpE,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX4C,EAAE,OAAO;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxE,SAAS,EAAE,MAAM,CAAC,mDAAmD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-mailing-list.mjs","names":[],"sources":["../../src/actions/update-mailing-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendUpdateMailingListInput = z.object({\n name: z.string().describe(\"New name for the mailing list.\").optional(),\n format: z.string().default(\"json\").describe(\"Response format, either 'json' or 'xml'.\").optional(),\n description: z.string().describe(\"A description for the mailing list.\").optional(),\n sender_name: z.string().describe(\"Sender name for the mailing list.\").optional(),\n sender_email: z.string().describe(\"Sender email address for the mailing list.\").optional(),\n reply_to_email: z.string().describe(\"Reply-to email address for the mailing list.\").optional(),\n mailing_list_id: z.string().describe(\"The unique identifier of the mailing list to update.\"),\n}).describe(\"Request schema for `UpdateMailingList`\");\nconst MoosendUpdateMailingList_MailingListContextSchema = z.object({\n ID: z.string().describe(\"The mailing list ID.\").nullable(),\n Name: z.string().describe(\"Mailing list name.\").nullable(),\n CreatedOn: z.string().describe(\"Date-time when the list was created.\").nullable(),\n UpdatedOn: z.string().describe(\"Date-time when the list was last updated.\").nullable(),\n SenderName: z.string().describe(\"Sender name.\").nullable(),\n Description: z.string().describe(\"Mailing list description.\").nullable().optional(),\n SenderEmail: z.string().describe(\"Sender email address.\").nullable(),\n ReplyToEmail: z.string().describe(\"Reply-to email address.\").nullable(),\n}).passthrough().describe(\"Context schema containing updated mailing list details\");\nexport const MoosendUpdateMailingListOutput = z.object({\n Code: z.number().int().describe(\"Response code; 0 indicates success.\").nullable(),\n Error: z.string().describe(\"Error message if any.\").nullable().optional(),\n Context: z.union([MoosendUpdateMailingList_MailingListContextSchema, z.string()]).nullable().optional(),\n}).passthrough().describe(\"Response schema for `UpdateMailingList`\");\n\nexport const moosendUpdateMailingList = action(\"MOOSEND_UPDATE_MAILING_LIST\", {\n slug: \"moosend-update-mailing-list\",\n name: \"Update Mailing List\",\n description: \"Tool to update the properties of an existing mailing list. Use when you need to change list metadata after confirming the list ID.\",\n input: MoosendUpdateMailingListInput,\n output: MoosendUpdateMailingListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,M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C,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxE,SAAS,EAAE,MAAM,CAAC,mDAAmD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
@@ -16,7 +16,7 @@ const MoosendUpdateSegmentCriteriaOutput = zod.z.object({
16
16
  Code: zod.z.number().int().describe("Response code; 0 indicates success.").nullable(),
17
17
  Error: zod.z.string().describe("Error message; null if successful.").nullable().optional(),
18
18
  Context: zod.z.number().int().describe("Contains the updated criteria ID.").nullable().optional()
19
- }).describe("Response schema for UpdateSegmentCriteria action.");
19
+ }).passthrough().describe("Response schema for UpdateSegmentCriteria action.");
20
20
  const moosendUpdateSegmentCriteria = require_action.action("MOOSEND_UPDATE_SEGMENT_CRITERIA", {
21
21
  slug: "moosend-update-segment-criteria",
22
22
  name: "Update Segment Criteria",