@keystrokehq/moosend 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (261) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-segment-criteria.cjs +1 -0
  4. package/dist/actions/add-segment-criteria.cjs.map +1 -1
  5. package/dist/actions/add-segment-criteria.d.cts +3 -22
  6. package/dist/actions/add-segment-criteria.d.cts.map +1 -1
  7. package/dist/actions/add-segment-criteria.d.mts +3 -22
  8. package/dist/actions/add-segment-criteria.d.mts.map +1 -1
  9. package/dist/actions/add-segment-criteria.mjs +1 -0
  10. package/dist/actions/add-segment-criteria.mjs.map +1 -1
  11. package/dist/actions/add-subscriber.cjs +1 -0
  12. package/dist/actions/add-subscriber.cjs.map +1 -1
  13. package/dist/actions/add-subscriber.d.cts +3 -22
  14. package/dist/actions/add-subscriber.d.cts.map +1 -1
  15. package/dist/actions/add-subscriber.d.mts +3 -22
  16. package/dist/actions/add-subscriber.d.mts.map +1 -1
  17. package/dist/actions/add-subscriber.mjs +1 -0
  18. package/dist/actions/add-subscriber.mjs.map +1 -1
  19. package/dist/actions/clone-campaign.cjs +1 -0
  20. package/dist/actions/clone-campaign.cjs.map +1 -1
  21. package/dist/actions/clone-campaign.d.cts +3 -16
  22. package/dist/actions/clone-campaign.d.cts.map +1 -1
  23. package/dist/actions/clone-campaign.d.mts +3 -16
  24. package/dist/actions/clone-campaign.d.mts.map +1 -1
  25. package/dist/actions/clone-campaign.mjs +1 -0
  26. package/dist/actions/clone-campaign.mjs.map +1 -1
  27. package/dist/actions/create-custom-field.cjs +1 -0
  28. package/dist/actions/create-custom-field.cjs.map +1 -1
  29. package/dist/actions/create-custom-field.d.cts +3 -21
  30. package/dist/actions/create-custom-field.d.cts.map +1 -1
  31. package/dist/actions/create-custom-field.d.mts +3 -21
  32. package/dist/actions/create-custom-field.d.mts.map +1 -1
  33. package/dist/actions/create-custom-field.mjs +1 -0
  34. package/dist/actions/create-custom-field.mjs.map +1 -1
  35. package/dist/actions/create-mailing-list.cjs +1 -0
  36. package/dist/actions/create-mailing-list.cjs.map +1 -1
  37. package/dist/actions/create-mailing-list.d.cts +3 -17
  38. package/dist/actions/create-mailing-list.d.cts.map +1 -1
  39. package/dist/actions/create-mailing-list.d.mts +3 -17
  40. package/dist/actions/create-mailing-list.d.mts.map +1 -1
  41. package/dist/actions/create-mailing-list.mjs +1 -0
  42. package/dist/actions/create-mailing-list.mjs.map +1 -1
  43. package/dist/actions/create-segment.cjs +1 -0
  44. package/dist/actions/create-segment.cjs.map +1 -1
  45. package/dist/actions/create-segment.d.cts +3 -26
  46. package/dist/actions/create-segment.d.cts.map +1 -1
  47. package/dist/actions/create-segment.d.mts +3 -26
  48. package/dist/actions/create-segment.d.mts.map +1 -1
  49. package/dist/actions/create-segment.mjs +1 -0
  50. package/dist/actions/create-segment.mjs.map +1 -1
  51. package/dist/actions/delete-campaign.cjs +1 -0
  52. package/dist/actions/delete-campaign.cjs.map +1 -1
  53. package/dist/actions/delete-campaign.d.cts +3 -16
  54. package/dist/actions/delete-campaign.d.cts.map +1 -1
  55. package/dist/actions/delete-campaign.d.mts +3 -16
  56. package/dist/actions/delete-campaign.d.mts.map +1 -1
  57. package/dist/actions/delete-campaign.mjs +1 -0
  58. package/dist/actions/delete-campaign.mjs.map +1 -1
  59. package/dist/actions/delete-custom-field.cjs +1 -0
  60. package/dist/actions/delete-custom-field.cjs.map +1 -1
  61. package/dist/actions/delete-custom-field.d.cts +3 -17
  62. package/dist/actions/delete-custom-field.d.cts.map +1 -1
  63. package/dist/actions/delete-custom-field.d.mts +3 -17
  64. package/dist/actions/delete-custom-field.d.mts.map +1 -1
  65. package/dist/actions/delete-custom-field.mjs +1 -0
  66. package/dist/actions/delete-custom-field.mjs.map +1 -1
  67. package/dist/actions/delete-mailing-list.cjs +1 -0
  68. package/dist/actions/delete-mailing-list.cjs.map +1 -1
  69. package/dist/actions/delete-mailing-list.d.cts +3 -16
  70. package/dist/actions/delete-mailing-list.d.cts.map +1 -1
  71. package/dist/actions/delete-mailing-list.d.mts +3 -16
  72. package/dist/actions/delete-mailing-list.d.mts.map +1 -1
  73. package/dist/actions/delete-mailing-list.mjs +1 -0
  74. package/dist/actions/delete-mailing-list.mjs.map +1 -1
  75. package/dist/actions/get-all-campaigns.cjs +1 -0
  76. package/dist/actions/get-all-campaigns.cjs.map +1 -1
  77. package/dist/actions/get-all-campaigns.d.cts +3 -16
  78. package/dist/actions/get-all-campaigns.d.cts.map +1 -1
  79. package/dist/actions/get-all-campaigns.d.mts +3 -16
  80. package/dist/actions/get-all-campaigns.d.mts.map +1 -1
  81. package/dist/actions/get-all-campaigns.mjs +1 -0
  82. package/dist/actions/get-all-campaigns.mjs.map +1 -1
  83. package/dist/actions/get-all-subscribers.cjs +1 -0
  84. package/dist/actions/get-all-subscribers.cjs.map +1 -1
  85. package/dist/actions/get-all-subscribers.d.cts +3 -19
  86. package/dist/actions/get-all-subscribers.d.cts.map +1 -1
  87. package/dist/actions/get-all-subscribers.d.mts +3 -19
  88. package/dist/actions/get-all-subscribers.d.mts.map +1 -1
  89. package/dist/actions/get-all-subscribers.mjs +1 -0
  90. package/dist/actions/get-all-subscribers.mjs.map +1 -1
  91. package/dist/actions/get-campaign-details.cjs +1 -0
  92. package/dist/actions/get-campaign-details.cjs.map +1 -1
  93. package/dist/actions/get-campaign-details.d.cts +3 -15
  94. package/dist/actions/get-campaign-details.d.cts.map +1 -1
  95. package/dist/actions/get-campaign-details.d.mts +3 -15
  96. package/dist/actions/get-campaign-details.d.mts.map +1 -1
  97. package/dist/actions/get-campaign-details.mjs +1 -0
  98. package/dist/actions/get-campaign-details.mjs.map +1 -1
  99. package/dist/actions/get-campaign-stats-by-location.cjs +1 -0
  100. package/dist/actions/get-campaign-stats-by-location.cjs.map +1 -1
  101. package/dist/actions/get-campaign-stats-by-location.d.cts +3 -15
  102. package/dist/actions/get-campaign-stats-by-location.d.cts.map +1 -1
  103. package/dist/actions/get-campaign-stats-by-location.d.mts +3 -15
  104. package/dist/actions/get-campaign-stats-by-location.d.mts.map +1 -1
  105. package/dist/actions/get-campaign-stats-by-location.mjs +1 -0
  106. package/dist/actions/get-campaign-stats-by-location.mjs.map +1 -1
  107. package/dist/actions/get-mailing-list-details.cjs +1 -0
  108. package/dist/actions/get-mailing-list-details.cjs.map +1 -1
  109. package/dist/actions/get-mailing-list-details.d.cts +3 -17
  110. package/dist/actions/get-mailing-list-details.d.cts.map +1 -1
  111. package/dist/actions/get-mailing-list-details.d.mts +3 -17
  112. package/dist/actions/get-mailing-list-details.d.mts.map +1 -1
  113. package/dist/actions/get-mailing-list-details.mjs +1 -0
  114. package/dist/actions/get-mailing-list-details.mjs.map +1 -1
  115. package/dist/actions/get-subscriber-by-email.cjs +1 -0
  116. package/dist/actions/get-subscriber-by-email.cjs.map +1 -1
  117. package/dist/actions/get-subscriber-by-email.d.cts +3 -17
  118. package/dist/actions/get-subscriber-by-email.d.cts.map +1 -1
  119. package/dist/actions/get-subscriber-by-email.d.mts +3 -17
  120. package/dist/actions/get-subscriber-by-email.d.mts.map +1 -1
  121. package/dist/actions/get-subscriber-by-email.mjs +1 -0
  122. package/dist/actions/get-subscriber-by-email.mjs.map +1 -1
  123. package/dist/actions/list-all-mailing-lists.cjs +1 -0
  124. package/dist/actions/list-all-mailing-lists.cjs.map +1 -1
  125. package/dist/actions/list-all-mailing-lists.d.cts +4 -21
  126. package/dist/actions/list-all-mailing-lists.d.cts.map +1 -1
  127. package/dist/actions/list-all-mailing-lists.d.mts +4 -21
  128. package/dist/actions/list-all-mailing-lists.d.mts.map +1 -1
  129. package/dist/actions/list-all-mailing-lists.mjs +1 -0
  130. package/dist/actions/list-all-mailing-lists.mjs.map +1 -1
  131. package/dist/actions/list-all-senders.cjs +1 -0
  132. package/dist/actions/list-all-senders.cjs.map +1 -1
  133. package/dist/actions/list-all-senders.d.cts +3 -15
  134. package/dist/actions/list-all-senders.d.cts.map +1 -1
  135. package/dist/actions/list-all-senders.d.mts +3 -15
  136. package/dist/actions/list-all-senders.d.mts.map +1 -1
  137. package/dist/actions/list-all-senders.mjs +1 -0
  138. package/dist/actions/list-all-senders.mjs.map +1 -1
  139. package/dist/actions/list-campaigns-with-paging.cjs +1 -0
  140. package/dist/actions/list-campaigns-with-paging.cjs.map +1 -1
  141. package/dist/actions/list-campaigns-with-paging.d.cts +4 -19
  142. package/dist/actions/list-campaigns-with-paging.d.cts.map +1 -1
  143. package/dist/actions/list-campaigns-with-paging.d.mts +4 -19
  144. package/dist/actions/list-campaigns-with-paging.d.mts.map +1 -1
  145. package/dist/actions/list-campaigns-with-paging.mjs +1 -0
  146. package/dist/actions/list-campaigns-with-paging.mjs.map +1 -1
  147. package/dist/actions/list-segments.cjs +1 -0
  148. package/dist/actions/list-segments.cjs.map +1 -1
  149. package/dist/actions/list-segments.d.cts +3 -16
  150. package/dist/actions/list-segments.d.cts.map +1 -1
  151. package/dist/actions/list-segments.d.mts +3 -16
  152. package/dist/actions/list-segments.d.mts.map +1 -1
  153. package/dist/actions/list-segments.mjs +1 -0
  154. package/dist/actions/list-segments.mjs.map +1 -1
  155. package/dist/actions/remove-multiple-subscribers.cjs +1 -0
  156. package/dist/actions/remove-multiple-subscribers.cjs.map +1 -1
  157. package/dist/actions/remove-multiple-subscribers.d.cts +3 -17
  158. package/dist/actions/remove-multiple-subscribers.d.cts.map +1 -1
  159. package/dist/actions/remove-multiple-subscribers.d.mts +3 -17
  160. package/dist/actions/remove-multiple-subscribers.d.mts.map +1 -1
  161. package/dist/actions/remove-multiple-subscribers.mjs +1 -0
  162. package/dist/actions/remove-multiple-subscribers.mjs.map +1 -1
  163. package/dist/actions/schedule-campaign.cjs +1 -0
  164. package/dist/actions/schedule-campaign.cjs.map +1 -1
  165. package/dist/actions/schedule-campaign.d.cts +3 -18
  166. package/dist/actions/schedule-campaign.d.cts.map +1 -1
  167. package/dist/actions/schedule-campaign.d.mts +3 -18
  168. package/dist/actions/schedule-campaign.d.mts.map +1 -1
  169. package/dist/actions/schedule-campaign.mjs +1 -0
  170. package/dist/actions/schedule-campaign.mjs.map +1 -1
  171. package/dist/actions/send-campaign.cjs +1 -0
  172. package/dist/actions/send-campaign.cjs.map +1 -1
  173. package/dist/actions/send-campaign.d.cts +3 -16
  174. package/dist/actions/send-campaign.d.cts.map +1 -1
  175. package/dist/actions/send-campaign.d.mts +3 -16
  176. package/dist/actions/send-campaign.d.mts.map +1 -1
  177. package/dist/actions/send-campaign.mjs +1 -0
  178. package/dist/actions/send-campaign.mjs.map +1 -1
  179. package/dist/actions/unschedule-campaign.cjs +1 -0
  180. package/dist/actions/unschedule-campaign.cjs.map +1 -1
  181. package/dist/actions/unschedule-campaign.d.cts +3 -16
  182. package/dist/actions/unschedule-campaign.d.cts.map +1 -1
  183. package/dist/actions/unschedule-campaign.d.mts +3 -16
  184. package/dist/actions/unschedule-campaign.d.mts.map +1 -1
  185. package/dist/actions/unschedule-campaign.mjs +1 -0
  186. package/dist/actions/unschedule-campaign.mjs.map +1 -1
  187. package/dist/actions/unsubscribe-from-account.cjs +1 -0
  188. package/dist/actions/unsubscribe-from-account.cjs.map +1 -1
  189. package/dist/actions/unsubscribe-from-account.d.cts +3 -16
  190. package/dist/actions/unsubscribe-from-account.d.cts.map +1 -1
  191. package/dist/actions/unsubscribe-from-account.d.mts +3 -16
  192. package/dist/actions/unsubscribe-from-account.d.mts.map +1 -1
  193. package/dist/actions/unsubscribe-from-account.mjs +1 -0
  194. package/dist/actions/unsubscribe-from-account.mjs.map +1 -1
  195. package/dist/actions/unsubscribe-from-mailing-list.cjs +1 -0
  196. package/dist/actions/unsubscribe-from-mailing-list.cjs.map +1 -1
  197. package/dist/actions/unsubscribe-from-mailing-list.d.cts +3 -17
  198. package/dist/actions/unsubscribe-from-mailing-list.d.cts.map +1 -1
  199. package/dist/actions/unsubscribe-from-mailing-list.d.mts +3 -17
  200. package/dist/actions/unsubscribe-from-mailing-list.d.mts.map +1 -1
  201. package/dist/actions/unsubscribe-from-mailing-list.mjs +1 -0
  202. package/dist/actions/unsubscribe-from-mailing-list.mjs.map +1 -1
  203. package/dist/actions/update-campaign.cjs +1 -0
  204. package/dist/actions/update-campaign.cjs.map +1 -1
  205. package/dist/actions/update-campaign.d.cts +3 -37
  206. package/dist/actions/update-campaign.d.cts.map +1 -1
  207. package/dist/actions/update-campaign.d.mts +3 -37
  208. package/dist/actions/update-campaign.d.mts.map +1 -1
  209. package/dist/actions/update-campaign.mjs +1 -0
  210. package/dist/actions/update-campaign.mjs.map +1 -1
  211. package/dist/actions/update-custom-field.cjs +1 -0
  212. package/dist/actions/update-custom-field.cjs.map +1 -1
  213. package/dist/actions/update-custom-field.d.cts +3 -22
  214. package/dist/actions/update-custom-field.d.cts.map +1 -1
  215. package/dist/actions/update-custom-field.d.mts +3 -22
  216. package/dist/actions/update-custom-field.d.mts.map +1 -1
  217. package/dist/actions/update-custom-field.mjs +1 -0
  218. package/dist/actions/update-custom-field.mjs.map +1 -1
  219. package/dist/actions/update-mailing-list.cjs +1 -0
  220. package/dist/actions/update-mailing-list.cjs.map +1 -1
  221. package/dist/actions/update-mailing-list.d.cts +3 -21
  222. package/dist/actions/update-mailing-list.d.cts.map +1 -1
  223. package/dist/actions/update-mailing-list.d.mts +3 -21
  224. package/dist/actions/update-mailing-list.d.mts.map +1 -1
  225. package/dist/actions/update-mailing-list.mjs +1 -0
  226. package/dist/actions/update-mailing-list.mjs.map +1 -1
  227. package/dist/actions/update-segment-criteria.cjs +1 -0
  228. package/dist/actions/update-segment-criteria.cjs.map +1 -1
  229. package/dist/actions/update-segment-criteria.d.cts +3 -23
  230. package/dist/actions/update-segment-criteria.d.cts.map +1 -1
  231. package/dist/actions/update-segment-criteria.d.mts +3 -23
  232. package/dist/actions/update-segment-criteria.d.mts.map +1 -1
  233. package/dist/actions/update-segment-criteria.mjs +1 -0
  234. package/dist/actions/update-segment-criteria.mjs.map +1 -1
  235. package/dist/actions/update-segment.cjs +1 -0
  236. package/dist/actions/update-segment.cjs.map +1 -1
  237. package/dist/actions/update-segment.d.cts +3 -27
  238. package/dist/actions/update-segment.d.cts.map +1 -1
  239. package/dist/actions/update-segment.d.mts +3 -27
  240. package/dist/actions/update-segment.d.mts.map +1 -1
  241. package/dist/actions/update-segment.mjs +1 -0
  242. package/dist/actions/update-segment.mjs.map +1 -1
  243. package/dist/actions/update-subscriber.cjs +1 -0
  244. package/dist/actions/update-subscriber.cjs.map +1 -1
  245. package/dist/actions/update-subscriber.d.cts +3 -21
  246. package/dist/actions/update-subscriber.d.cts.map +1 -1
  247. package/dist/actions/update-subscriber.d.mts +3 -21
  248. package/dist/actions/update-subscriber.d.mts.map +1 -1
  249. package/dist/actions/update-subscriber.mjs +1 -0
  250. package/dist/actions/update-subscriber.mjs.map +1 -1
  251. package/dist/app.cjs +2 -2
  252. package/dist/app.cjs.map +1 -1
  253. package/dist/app.d.cts +4 -6
  254. package/dist/app.d.cts.map +1 -1
  255. package/dist/app.d.mts +4 -6
  256. package/dist/app.d.mts.map +1 -1
  257. package/dist/app.mjs +0 -1
  258. package/dist/app.mjs.map +1 -1
  259. package/dist/index.d.cts +1 -1
  260. package/dist/index.d.mts +1 -1
  261. package/package.json +2 -2
@@ -1,3 +1,5 @@
1
+ import { moosend } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-all-campaigns.d.ts
@@ -10,22 +12,7 @@ declare const MoosendGetAllCampaignsOutput: z.ZodObject<{
10
12
  Error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
13
  Context: z.ZodRecord<z.ZodString, z.ZodUnknown>;
12
14
  }, z.core.$loose>;
13
- declare const moosendGetAllCampaigns: import("@keystrokehq/action").WorkflowActionDefinition<{
14
- page?: number | undefined;
15
- format?: string | undefined;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"moosend", z.ZodObject<{
17
- connectionId: z.ZodString;
18
- entityId: z.ZodString;
19
- instanceId: z.ZodString;
20
- }, z.core.$strip>, z.ZodObject<{
21
- generic_api_key: z.ZodString;
22
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"moosend", z.ZodObject<{
23
- connectionId: z.ZodString;
24
- entityId: z.ZodString;
25
- instanceId: z.ZodString;
26
- }, z.core.$strip>, z.ZodObject<{
27
- generic_api_key: z.ZodString;
28
- }, z.core.$strip>>]>;
15
+ declare const moosendGetAllCampaigns: AppAction<typeof MoosendGetAllCampaignsInput, typeof MoosendGetAllCampaignsOutput, typeof moosend.credential>;
29
16
  //#endregion
30
17
  export { moosendGetAllCampaigns };
31
18
  //# sourceMappingURL=get-all-campaigns.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-all-campaigns.d.mts","names":[],"sources":["../../src/actions/get-all-campaigns.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAI3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;cAM5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"get-all-campaigns.d.mts","names":[],"sources":["../../src/actions/get-all-campaigns.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAI3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;cAM5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const moosendGetAllCampaigns = action("MOOSEND_GET_ALL_CAMPAIGNS", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-all-campaigns.mjs","names":[],"sources":["../../src/actions/get-all-campaigns.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendGetAllCampaignsInput = z.object({\n page: z.number().int().default(1).describe(\"Page number of campaign results to retrieve. Defaults to 1.\").optional(),\n format: z.string().default(\"json\").describe(\"Response format. Only 'json' is supported.\").optional(),\n});\nexport const MoosendGetAllCampaignsOutput = z.object({\n Code: z.number().int().describe(\"Response code; 0 indicates success.\").nullable(),\n Error: z.string().describe(\"Error message, if any; null on success.\").nullable().optional(),\n Context: z.record(z.string(), z.unknown()).describe(\"Context object containing paging info and list of campaigns.\"),\n}).passthrough();\n\nexport const moosendGetAllCampaigns = action(\"MOOSEND_GET_ALL_CAMPAIGNS\", {\n slug: \"moosend-get-all-campaigns\",\n name: \"Get all campaigns\",\n description: \"Tool to retrieve a list of all campaigns in your account. Use after acquiring valid API credentials to explore campaign data.\",\n input: MoosendGetAllCampaignsInput,\n output: MoosendGetAllCampaignsOutput,\n});\n"],"mappings":";;AAcA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdyC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EACnH,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACrG,CAWS;CACP,QAX0C,EAAE,OAAO;EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8DAA8D;CACpH,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"get-all-campaigns.mjs","names":[],"sources":["../../src/actions/get-all-campaigns.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { moosend } from \"../app\";\n\nexport const MoosendGetAllCampaignsInput = z.object({\n page: z.number().int().default(1).describe(\"Page number of campaign results to retrieve. Defaults to 1.\").optional(),\n format: z.string().default(\"json\").describe(\"Response format. Only 'json' is supported.\").optional(),\n});\nexport const MoosendGetAllCampaignsOutput = z.object({\n Code: z.number().int().describe(\"Response code; 0 indicates success.\").nullable(),\n Error: z.string().describe(\"Error message, if any; null on success.\").nullable().optional(),\n Context: z.record(z.string(), z.unknown()).describe(\"Context object containing paging info and list of campaigns.\"),\n}).passthrough();\n\nexport const moosendGetAllCampaigns: AppAction<\n typeof MoosendGetAllCampaignsInput,\n typeof MoosendGetAllCampaignsOutput,\n typeof moosend.credential\n> = action(\"MOOSEND_GET_ALL_CAMPAIGNS\", {\n slug: \"moosend-get-all-campaigns\",\n name: \"Get all campaigns\",\n description: \"Tool to retrieve a list of all campaigns in your account. Use after acquiring valid API credentials to explore campaign data.\",\n input: MoosendGetAllCampaignsInput,\n output: MoosendGetAllCampaignsOutput,\n});\n"],"mappings":";;;AAgBA,MAAa,yBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlByC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EACnH,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACrG,CAeS;CACP,QAf0C,EAAE,OAAO;EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8DAA8D;CACpH,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-all-subscribers.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-all-subscribers.cjs","names":["z","action"],"sources":["../../src/actions/get-all-subscribers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendGetAllSubscribersInput = z.object({\n Page: z.number().int().default(1).describe(\"Page number of subscriber results to retrieve. Use this with page_size to paginate through large lists.\").optional(),\n format: z.string().default(\"json\").describe(\"Response format.\").optional(),\n status: z.enum([\"Subscribed\", \"Unsubscribed\", \"Bounced\", \"Removed\"]).default(\"Subscribed\").describe(\"The subscription status to filter by. 'Subscribed' returns active subscribers, 'Unsubscribed' returns those who opted out, 'Bounced' returns email addresses that bounced, 'Removed' returns manually removed subscribers.\").optional(),\n PageSize: z.number().int().default(100).describe(\"Number of subscriber records to return per page. Maximum recommended is 500.\").optional(),\n mailingListID: z.string().describe(\"The ID of the mailing list containing the subscribers.\"),\n}).describe(\"Request schema for GetAllSubscribers\");\nconst MoosendGetAllSubscribers_PagingModelSchema = z.object({\n PageSize: z.number().int().describe(\"Number of items per page.\").nullable(),\n CurrentPage: z.number().int().describe(\"Current page number.\").nullable(),\n TotalResults: z.number().int().describe(\"Total number of results.\").nullable(),\n SortExpression: z.string().describe(\"Sort expression used.\").nullable().optional(),\n TotalPageCount: z.number().int().describe(\"Total number of pages available.\").nullable(),\n SortIsAscending: z.boolean().describe(\"True if sorted ascending.\").nullable(),\n}).passthrough();\nconst MoosendGetAllSubscribers_CustomFieldModelSchema = z.object({\n Name: z.string().describe(\"The name of the custom field.\").nullable(),\n Value: z.union([z.string(), z.number().int()]),\n CustomFieldID: z.string().describe(\"The ID of the custom field.\").nullable(),\n}).passthrough();\nconst MoosendGetAllSubscribers_SubscriberModelSchema = z.object({\n ID: z.string().describe(\"Subscriber unique identifier.\").nullable(),\n Name: z.string().describe(\"Name of the subscriber.\").nullable().optional(),\n Tags: z.array(z.string()).describe(\"Tags associated with the subscriber.\"),\n Email: z.string().describe(\"Email address of the subscriber.\").nullable(),\n Mobile: z.string().describe(\"Mobile number of the subscriber.\").nullable().optional(),\n CreatedOn: z.string().describe(\"Timestamp when the subscriber was created.\").nullable(),\n RemovedOn: z.string().describe(\"Timestamp when the subscriber was removed; null if not removed.\").nullable().optional(),\n UpdatedOn: z.string().describe(\"Timestamp when the subscriber was last updated.\").nullable().optional(),\n Preferences: z.array(z.string()).describe(\"Preference values for the subscriber.\").nullable().optional(),\n CustomFields: z.array(MoosendGetAllSubscribers_CustomFieldModelSchema).describe(\"List of custom fields for the subscriber.\"),\n SubscribeType: z.number().int().describe(\"Subscription status code.\").nullable(),\n UnsubscribedOn: z.string().describe(\"Timestamp when unsubscribed; null if still subscribed.\").nullable().optional(),\n SubscribeMethod: z.number().int().describe(\"Method used to subscribe the member.\").nullable(),\n UnsubscribedFromID: z.string().describe(\"ID from which unsubscribed; null if not applicable.\").nullable().optional(),\n}).passthrough();\nconst MoosendGetAllSubscribers_ContextModelSchema = z.object({\n Paging: MoosendGetAllSubscribers_PagingModelSchema.nullable(),\n Subscribers: z.array(MoosendGetAllSubscribers_SubscriberModelSchema).describe(\"List of subscribers on the mailing list.\"),\n}).passthrough();\nexport const MoosendGetAllSubscribersOutput = 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 on success.\").nullable().optional(),\n Context: MoosendGetAllSubscribers_ContextModelSchema.nullable().optional(),\n}).passthrough();\n\nexport const moosendGetAllSubscribers = action(\"MOOSEND_GET_ALL_SUBSCRIBERS\", {\n slug: \"moosend-get-all-subscribers\",\n name: \"Get All Subscribers\",\n description: \"Retrieves all subscribers from a specified mailing list, filtered by their subscription status (Subscribed, Unsubscribed, Bounced, or Removed). Returns paginated results with subscriber details including email, name, custom fields, and subscription timestamps.\",\n input: MoosendGetAllSubscribersInput,\n output: MoosendGetAllSubscribersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CAC/J,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAc;EAAgB;EAAW;CAAS,CAAC,CAAC,CAAC,QAAQ,YAAY,CAAC,CAAC,SAAS,4NAA4N,CAAC,CAAC,SAAS;CAC3U,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CAC1I,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;AAC7F,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC1E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACxE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC7E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,gBAAgBA,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AAC"}
1
+ {"version":3,"file":"get-all-subscribers.cjs","names":["z","action"],"sources":["../../src/actions/get-all-subscribers.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { moosend } from \"../app\";\n\nexport const MoosendGetAllSubscribersInput = z.object({\n Page: z.number().int().default(1).describe(\"Page number of subscriber results to retrieve. Use this with page_size to paginate through large lists.\").optional(),\n format: z.string().default(\"json\").describe(\"Response format.\").optional(),\n status: z.enum([\"Subscribed\", \"Unsubscribed\", \"Bounced\", \"Removed\"]).default(\"Subscribed\").describe(\"The subscription status to filter by. 'Subscribed' returns active subscribers, 'Unsubscribed' returns those who opted out, 'Bounced' returns email addresses that bounced, 'Removed' returns manually removed subscribers.\").optional(),\n PageSize: z.number().int().default(100).describe(\"Number of subscriber records to return per page. Maximum recommended is 500.\").optional(),\n mailingListID: z.string().describe(\"The ID of the mailing list containing the subscribers.\"),\n}).describe(\"Request schema for GetAllSubscribers\");\nconst MoosendGetAllSubscribers_PagingModelSchema = z.object({\n PageSize: z.number().int().describe(\"Number of items per page.\").nullable(),\n CurrentPage: z.number().int().describe(\"Current page number.\").nullable(),\n TotalResults: z.number().int().describe(\"Total number of results.\").nullable(),\n SortExpression: z.string().describe(\"Sort expression used.\").nullable().optional(),\n TotalPageCount: z.number().int().describe(\"Total number of pages available.\").nullable(),\n SortIsAscending: z.boolean().describe(\"True if sorted ascending.\").nullable(),\n}).passthrough();\nconst MoosendGetAllSubscribers_CustomFieldModelSchema = z.object({\n Name: z.string().describe(\"The name of the custom field.\").nullable(),\n Value: z.union([z.string(), z.number().int()]),\n CustomFieldID: z.string().describe(\"The ID of the custom field.\").nullable(),\n}).passthrough();\nconst MoosendGetAllSubscribers_SubscriberModelSchema = z.object({\n ID: z.string().describe(\"Subscriber unique identifier.\").nullable(),\n Name: z.string().describe(\"Name of the subscriber.\").nullable().optional(),\n Tags: z.array(z.string()).describe(\"Tags associated with the subscriber.\"),\n Email: z.string().describe(\"Email address of the subscriber.\").nullable(),\n Mobile: z.string().describe(\"Mobile number of the subscriber.\").nullable().optional(),\n CreatedOn: z.string().describe(\"Timestamp when the subscriber was created.\").nullable(),\n RemovedOn: z.string().describe(\"Timestamp when the subscriber was removed; null if not removed.\").nullable().optional(),\n UpdatedOn: z.string().describe(\"Timestamp when the subscriber was last updated.\").nullable().optional(),\n Preferences: z.array(z.string()).describe(\"Preference values for the subscriber.\").nullable().optional(),\n CustomFields: z.array(MoosendGetAllSubscribers_CustomFieldModelSchema).describe(\"List of custom fields for the subscriber.\"),\n SubscribeType: z.number().int().describe(\"Subscription status code.\").nullable(),\n UnsubscribedOn: z.string().describe(\"Timestamp when unsubscribed; null if still subscribed.\").nullable().optional(),\n SubscribeMethod: z.number().int().describe(\"Method used to subscribe the member.\").nullable(),\n UnsubscribedFromID: z.string().describe(\"ID from which unsubscribed; null if not applicable.\").nullable().optional(),\n}).passthrough();\nconst MoosendGetAllSubscribers_ContextModelSchema = z.object({\n Paging: MoosendGetAllSubscribers_PagingModelSchema.nullable(),\n Subscribers: z.array(MoosendGetAllSubscribers_SubscriberModelSchema).describe(\"List of subscribers on the mailing list.\"),\n}).passthrough();\nexport const MoosendGetAllSubscribersOutput = 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 on success.\").nullable().optional(),\n Context: MoosendGetAllSubscribers_ContextModelSchema.nullable().optional(),\n}).passthrough();\n\nexport const moosendGetAllSubscribers: AppAction<\n typeof MoosendGetAllSubscribersInput,\n typeof MoosendGetAllSubscribersOutput,\n typeof moosend.credential\n> = action(\"MOOSEND_GET_ALL_SUBSCRIBERS\", {\n slug: \"moosend-get-all-subscribers\",\n name: \"Get All Subscribers\",\n description: \"Retrieves all subscribers from a specified mailing list, filtered by their subscription status (Subscribed, Unsubscribed, Bounced, or Removed). Returns paginated results with subscriber details including email, name, custom fields, and subscription timestamps.\",\n input: MoosendGetAllS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
  //#region src/actions/get-all-subscribers.d.ts
@@ -47,25 +49,7 @@ declare const MoosendGetAllSubscribersOutput: z.ZodObject<{
47
49
  }, z.core.$loose>>;
48
50
  }, z.core.$loose>>>;
49
51
  }, z.core.$loose>;
50
- declare const moosendGetAllSubscribers: import("@keystrokehq/action").WorkflowActionDefinition<{
51
- mailingListID: string;
52
- Page?: number | undefined;
53
- format?: string | undefined;
54
- status?: "Subscribed" | "Unsubscribed" | "Bounced" | "Removed" | undefined;
55
- PageSize?: number | undefined;
56
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"moosend", z.ZodObject<{
57
- connectionId: z.ZodString;
58
- entityId: z.ZodString;
59
- instanceId: z.ZodString;
60
- }, z.core.$strip>, z.ZodObject<{
61
- generic_api_key: z.ZodString;
62
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"moosend", z.ZodObject<{
63
- connectionId: z.ZodString;
64
- entityId: z.ZodString;
65
- instanceId: z.ZodString;
66
- }, z.core.$strip>, z.ZodObject<{
67
- generic_api_key: z.ZodString;
68
- }, z.core.$strip>>]>;
52
+ declare const moosendGetAllSubscribers: AppAction<typeof MoosendGetAllSubscribersInput, typeof MoosendGetAllSubscribersOutput, typeof moosend.credential>;
69
53
  //#endregion
70
54
  export { moosendGetAllSubscribers };
71
55
  //# sourceMappingURL=get-all-subscribers.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-all-subscribers.d.cts","names":[],"sources":["../../src/actions/get-all-subscribers.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAwC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"get-all-subscribers.d.cts","names":[],"sources":["../../src/actions/get-all-subscribers.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAwC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { moosend } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-all-subscribers.d.ts
@@ -47,25 +49,7 @@ declare const MoosendGetAllSubscribersOutput: z.ZodObject<{
47
49
  }, z.core.$loose>>;
48
50
  }, z.core.$loose>>>;
49
51
  }, z.core.$loose>;
50
- declare const moosendGetAllSubscribers: import("@keystrokehq/action").WorkflowActionDefinition<{
51
- mailingListID: string;
52
- Page?: number | undefined;
53
- format?: string | undefined;
54
- status?: "Subscribed" | "Unsubscribed" | "Bounced" | "Removed" | undefined;
55
- PageSize?: number | undefined;
56
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"moosend", z.ZodObject<{
57
- connectionId: z.ZodString;
58
- entityId: z.ZodString;
59
- instanceId: z.ZodString;
60
- }, z.core.$strip>, z.ZodObject<{
61
- generic_api_key: z.ZodString;
62
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"moosend", z.ZodObject<{
63
- connectionId: z.ZodString;
64
- entityId: z.ZodString;
65
- instanceId: z.ZodString;
66
- }, z.core.$strip>, z.ZodObject<{
67
- generic_api_key: z.ZodString;
68
- }, z.core.$strip>>]>;
52
+ declare const moosendGetAllSubscribers: AppAction<typeof MoosendGetAllSubscribersInput, typeof MoosendGetAllSubscribersOutput, typeof moosend.credential>;
69
53
  //#endregion
70
54
  export { moosendGetAllSubscribers };
71
55
  //# sourceMappingURL=get-all-subscribers.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-all-subscribers.d.mts","names":[],"sources":["../../src/actions/get-all-subscribers.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAwC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"get-all-subscribers.d.mts","names":[],"sources":["../../src/actions/get-all-subscribers.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAwC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-all-subscribers.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-all-subscribers.mjs","names":[],"sources":["../../src/actions/get-all-subscribers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendGetAllSubscribersInput = z.object({\n Page: z.number().int().default(1).describe(\"Page number of subscriber results to retrieve. Use this with page_size to paginate through large lists.\").optional(),\n format: z.string().default(\"json\").describe(\"Response format.\").optional(),\n status: z.enum([\"Subscribed\", \"Unsubscribed\", \"Bounced\", \"Removed\"]).default(\"Subscribed\").describe(\"The subscription status to filter by. 'Subscribed' returns active subscribers, 'Unsubscribed' returns those who opted out, 'Bounced' returns email addresses that bounced, 'Removed' returns manually removed subscribers.\").optional(),\n PageSize: z.number().int().default(100).describe(\"Number of subscriber records to return per page. Maximum recommended is 500.\").optional(),\n mailingListID: z.string().describe(\"The ID of the mailing list containing the subscribers.\"),\n}).describe(\"Request schema for GetAllSubscribers\");\nconst MoosendGetAllSubscribers_PagingModelSchema = z.object({\n PageSize: z.number().int().describe(\"Number of items per page.\").nullable(),\n CurrentPage: z.number().int().describe(\"Current page number.\").nullable(),\n TotalResults: z.number().int().describe(\"Total number of results.\").nullable(),\n SortExpression: z.string().describe(\"Sort expression used.\").nullable().optional(),\n TotalPageCount: z.number().int().describe(\"Total number of pages available.\").nullable(),\n SortIsAscending: z.boolean().describe(\"True if sorted ascending.\").nullable(),\n}).passthrough();\nconst MoosendGetAllSubscribers_CustomFieldModelSchema = z.object({\n Name: z.string().describe(\"The name of the custom field.\").nullable(),\n Value: z.union([z.string(), z.number().int()]),\n CustomFieldID: z.string().describe(\"The ID of the custom field.\").nullable(),\n}).passthrough();\nconst MoosendGetAllSubscribers_SubscriberModelSchema = z.object({\n ID: z.string().describe(\"Subscriber unique identifier.\").nullable(),\n Name: z.string().describe(\"Name of the subscriber.\").nullable().optional(),\n Tags: z.array(z.string()).describe(\"Tags associated with the subscriber.\"),\n Email: z.string().describe(\"Email address of the subscriber.\").nullable(),\n Mobile: z.string().describe(\"Mobile number of the subscriber.\").nullable().optional(),\n CreatedOn: z.string().describe(\"Timestamp when the subscriber was created.\").nullable(),\n RemovedOn: z.string().describe(\"Timestamp when the subscriber was removed; null if not removed.\").nullable().optional(),\n UpdatedOn: z.string().describe(\"Timestamp when the subscriber was last updated.\").nullable().optional(),\n Preferences: z.array(z.string()).describe(\"Preference values for the subscriber.\").nullable().optional(),\n CustomFields: z.array(MoosendGetAllSubscribers_CustomFieldModelSchema).describe(\"List of custom fields for the subscriber.\"),\n SubscribeType: z.number().int().describe(\"Subscription status code.\").nullable(),\n UnsubscribedOn: z.string().describe(\"Timestamp when unsubscribed; null if still subscribed.\").nullable().optional(),\n SubscribeMethod: z.number().int().describe(\"Method used to subscribe the member.\").nullable(),\n UnsubscribedFromID: z.string().describe(\"ID from which unsubscribed; null if not applicable.\").nullable().optional(),\n}).passthrough();\nconst MoosendGetAllSubscribers_ContextModelSchema = z.object({\n Paging: MoosendGetAllSubscribers_PagingModelSchema.nullable(),\n Subscribers: z.array(MoosendGetAllSubscribers_SubscriberModelSchema).describe(\"List of subscribers on the mailing list.\"),\n}).passthrough();\nexport const MoosendGetAllSubscribersOutput = 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 on success.\").nullable().optional(),\n Context: MoosendGetAllSubscribers_ContextModelSchema.nullable().optional(),\n}).passthrough();\n\nexport const moosendGetAllSubscribers = action(\"MOOSEND_GET_ALL_SUBSCRIBERS\", {\n slug: \"moosend-get-all-subscribers\",\n name: \"Get All Subscribers\",\n description: \"Retrieves all subscribers from a specified mailing list, filtered by their subscription status (Subscribed, Unsubscribed, Bounced, or Removed). Returns paginated results with subscriber details including email, name, custom fields, and subscription timestamps.\",\n input: MoosendGetAllSubscribersInput,\n output: MoosendGetAllSubscribersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CAC/J,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACzE,QAAQ,EAAE,KAAK;EAAC;EAAc;EAAgB;EAAW;CAAS,CAAC,CAAC,CAAC,QAAQ,YAAY,CAAC,CAAC,SAAS,4NAA4N,CAAC,CAAC,SAAS;CAC3U,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CAC1I,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;AAC7F,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,6CAA6C,EAAE,OAAO;CAC1D,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC1E,aAAa,EAAE,OAA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file":"get-all-subscribers.mjs","names":[],"sources":["../../src/actions/get-all-subscribers.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { moosend } from \"../app\";\n\nexport const MoosendGetAllSubscribersInput = z.object({\n Page: z.number().int().default(1).describe(\"Page number of subscriber results to retrieve. Use this with page_size to paginate through large lists.\").optional(),\n format: z.string().default(\"json\").describe(\"Response format.\").optional(),\n status: z.enum([\"Subscribed\", \"Unsubscribed\", \"Bounced\", \"Removed\"]).default(\"Subscribed\").describe(\"The subscription status to filter by. 'Subscribed' returns active subscribers, 'Unsubscribed' returns those who opted out, 'Bounced' returns email addresses that bounced, 'Removed' returns manually removed subscribers.\").optional(),\n PageSize: z.number().int().default(100).describe(\"Number of subscriber records to return per page. Maximum recommended is 500.\").optional(),\n mailingListID: z.string().describe(\"The ID of the mailing list containing the subscribers.\"),\n}).describe(\"Request schema for GetAllSubscribers\");\nconst MoosendGetAllSubscribers_PagingModelSchema = z.object({\n PageSize: z.number().int().describe(\"Number of items per page.\").nullable(),\n CurrentPage: z.number().int().describe(\"Current page number.\").nullable(),\n TotalResults: z.number().int().describe(\"Total number of results.\").nullable(),\n SortExpression: z.string().describe(\"Sort expression used.\").nullable().optional(),\n TotalPageCount: z.number().int().describe(\"Total number of pages available.\").nullable(),\n SortIsAscending: z.boolean().describe(\"True if sorted ascending.\").nullable(),\n}).passthrough();\nconst MoosendGetAllSubscribers_CustomFieldModelSchema = z.object({\n Name: z.string().describe(\"The name of the custom field.\").nullable(),\n Value: z.union([z.string(), z.number().int()]),\n CustomFieldID: z.string().describe(\"The ID of the custom field.\").nullable(),\n}).passthrough();\nconst MoosendGetAllSubscribers_SubscriberModelSchema = z.object({\n ID: z.string().describe(\"Subscriber unique identifier.\").nullable(),\n Name: z.string().describe(\"Name of the subscriber.\").nullable().optional(),\n Tags: z.array(z.string()).describe(\"Tags associated with the subscriber.\"),\n Email: z.string().describe(\"Email address of the subscriber.\").nullable(),\n Mobile: z.string().describe(\"Mobile number of the subscriber.\").nullable().optional(),\n CreatedOn: z.string().describe(\"Timestamp when the subscriber was created.\").nullable(),\n RemovedOn: z.string().describe(\"Timestamp when the subscriber was removed; null if not removed.\").nullable().optional(),\n UpdatedOn: z.string().describe(\"Timestamp when the subscriber was last updated.\").nullable().optional(),\n Preferences: z.array(z.string()).describe(\"Preference values for the subscriber.\").nullable().optional(),\n CustomFields: z.array(MoosendGetAllSubscribers_CustomFieldModelSchema).describe(\"List of custom fields for the subscriber.\"),\n SubscribeType: z.number().int().describe(\"Subscription status code.\").nullable(),\n UnsubscribedOn: z.string().describe(\"Timestamp when unsubscribed; null if still subscribed.\").nullable().optional(),\n SubscribeMethod: z.number().int().describe(\"Method used to subscribe the member.\").nullable(),\n UnsubscribedFromID: z.string().describe(\"ID from which unsubscribed; null if not applicable.\").nullable().optional(),\n}).passthrough();\nconst MoosendGetAllSubscribers_ContextModelSchema = z.object({\n Paging: MoosendGetAllSubscribers_PagingModelSchema.nullable(),\n Subscribers: z.array(MoosendGetAllSubscribers_SubscriberModelSchema).describe(\"List of subscribers on the mailing list.\"),\n}).passthrough();\nexport const MoosendGetAllSubscribersOutput = 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 on success.\").nullable().optional(),\n Context: MoosendGetAllSubscribers_ContextModelSchema.nullable().optional(),\n}).passthrough();\n\nexport const moosendGetAllSubscribers: AppAction<\n typeof MoosendGetAllSubscribersInput,\n typeof MoosendGetAllSubscribersOutput,\n typeof moosend.credential\n> = action(\"MOOSEND_GET_ALL_SUBSCRIBERS\", {\n slug: \"moosend-get-all-subscribers\",\n name: \"Get All Subscribers\",\n description: \"Retrieves all subscribers from a specified mailing list, filtered by their subscription status (Subscribed, Unsubscribed, Bounced, or Removed). Returns paginated results with subscriber details including email, name, custom fields, and subscription timestamps.\",\n input: MoosendGetAllSubscribersInput,\n output: MoosendGetAllSub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,SAAS;CAClH,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC5F,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,8CAA8C,EAAE,OAAO;CAC3D,QAAQ,2CAA2C,SAAS;CAC5D,aAAa,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,0CAA0C;AAC1H,CAAC,CAAC,CAAC,YAAY;AAOf,MAAa,2BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf4C,EAAE,OAAO;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,SAAS,4CAA4C,SAAS,CAAC,CAAC,SAAS;CAC3E,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-campaign-details.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-campaign-details.cjs","names":["z","action"],"sources":["../../src/actions/get-campaign-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendGetCampaignDetailsInput = z.object({\n campaign_id: z.string().describe(\"The unique identifier of the campaign whose details are to be retrieved.\"),\n}).describe(\"Request schema for retrieving campaign details.\");\nexport const MoosendGetCampaignDetailsOutput = z.object({\n Code: z.number().int().describe(\"Response code from Moosend API. 0 indicates success, other values indicate errors.\").nullable(),\n Error: z.string().describe(\"Error message if the request failed; null when successful.\").nullable().optional(),\n Context: z.record(z.string(), z.unknown()).describe(\"Complete campaign data including ID, name, subject, status, mailing lists, content, sender info, tracking settings, ABTesting configuration, delivery settings, and more. Null when an error occurs.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieving campaign details.\");\n\nexport const moosendGetCampaignDetails = action(\"MOOSEND_GET_CAMPAIGN_DETAILS\", {\n slug: \"moosend-get-campaign-details\",\n name: \"Get Campaign Details\",\n description: \"Retrieves comprehensive details about a specific campaign by its ID. Returns complete campaign information including configuration, status, content, and settings. Use this when you need to inspect or verify campaign properties.\",\n input: MoosendGetCampaignDetailsInput,\n output: MoosendGetCampaignDetailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,EAC7G,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC/H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sMAAsM,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClR,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-campaign-details.cjs","names":["z","action"],"sources":["../../src/actions/get-campaign-details.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { moosend } from \"../app\";\n\nexport const MoosendGetCampaignDetailsInput = z.object({\n campaign_id: z.string().describe(\"The unique identifier of the campaign whose details are to be retrieved.\"),\n}).describe(\"Request schema for retrieving campaign details.\");\nexport const MoosendGetCampaignDetailsOutput = z.object({\n Code: z.number().int().describe(\"Response code from Moosend API. 0 indicates success, other values indicate errors.\").nullable(),\n Error: z.string().describe(\"Error message if the request failed; null when successful.\").nullable().optional(),\n Context: z.record(z.string(), z.unknown()).describe(\"Complete campaign data including ID, name, subject, status, mailing lists, content, sender info, tracking settings, ABTesting configuration, delivery settings, and more. Null when an error occurs.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieving campaign details.\");\n\nexport const moosendGetCampaignDetails: AppAction<\n typeof MoosendGetCampaignDetailsInput,\n typeof MoosendGetCampaignDetailsOutput,\n typeof moosend.credential\n> = action(\"MOOSEND_GET_CAMPAIGN_DETAILS\", {\n slug: \"moosend-get-campaign-details\",\n name: \"Get Campaign Details\",\n description: \"Retrieves comprehensive details about a specific campaign by its ID. Returns complete campaign information including configuration, status, content, and settings. Use this when you need to inspect or verify campaign properties.\",\n input: MoosendGetCampaignDetailsInput,\n output: MoosendGetCampaignDetailsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,EAC7G,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC/H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sMAAsM,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClR,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,4BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { moosend } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-campaign-details.d.ts
@@ -9,21 +11,7 @@ declare const MoosendGetCampaignDetailsOutput: z.ZodObject<{
9
11
  Error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
12
  Context: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
11
13
  }, z.core.$loose>;
12
- declare const moosendGetCampaignDetails: import("@keystrokehq/action").WorkflowActionDefinition<{
13
- campaign_id: string;
14
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"moosend", z.ZodObject<{
15
- connectionId: z.ZodString;
16
- entityId: z.ZodString;
17
- instanceId: z.ZodString;
18
- }, z.core.$strip>, z.ZodObject<{
19
- generic_api_key: z.ZodString;
20
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"moosend", z.ZodObject<{
21
- connectionId: z.ZodString;
22
- entityId: z.ZodString;
23
- instanceId: z.ZodString;
24
- }, z.core.$strip>, z.ZodObject<{
25
- generic_api_key: z.ZodString;
26
- }, z.core.$strip>>]>;
14
+ declare const moosendGetCampaignDetails: AppAction<typeof MoosendGetCampaignDetailsInput, typeof MoosendGetCampaignDetailsOutput, typeof moosend.credential>;
27
15
  //#endregion
28
16
  export { moosendGetCampaignDetails };
29
17
  //# sourceMappingURL=get-campaign-details.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-campaign-details.d.cts","names":[],"sources":["../../src/actions/get-campaign-details.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAM/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"get-campaign-details.d.cts","names":[],"sources":["../../src/actions/get-campaign-details.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAM/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { moosend } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-campaign-details.d.ts
@@ -9,21 +11,7 @@ declare const MoosendGetCampaignDetailsOutput: z.ZodObject<{
9
11
  Error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
12
  Context: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
11
13
  }, z.core.$loose>;
12
- declare const moosendGetCampaignDetails: import("@keystrokehq/action").WorkflowActionDefinition<{
13
- campaign_id: string;
14
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"moosend", z.ZodObject<{
15
- connectionId: z.ZodString;
16
- entityId: z.ZodString;
17
- instanceId: z.ZodString;
18
- }, z.core.$strip>, z.ZodObject<{
19
- generic_api_key: z.ZodString;
20
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"moosend", z.ZodObject<{
21
- connectionId: z.ZodString;
22
- entityId: z.ZodString;
23
- instanceId: z.ZodString;
24
- }, z.core.$strip>, z.ZodObject<{
25
- generic_api_key: z.ZodString;
26
- }, z.core.$strip>>]>;
14
+ declare const moosendGetCampaignDetails: AppAction<typeof MoosendGetCampaignDetailsInput, typeof MoosendGetCampaignDetailsOutput, typeof moosend.credential>;
27
15
  //#endregion
28
16
  export { moosendGetCampaignDetails };
29
17
  //# sourceMappingURL=get-campaign-details.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-campaign-details.d.mts","names":[],"sources":["../../src/actions/get-campaign-details.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAM/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"get-campaign-details.d.mts","names":[],"sources":["../../src/actions/get-campaign-details.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAM/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const moosendGetCampaignDetails = action("MOOSEND_GET_CAMPAIGN_DETAILS", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-campaign-details.mjs","names":[],"sources":["../../src/actions/get-campaign-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendGetCampaignDetailsInput = z.object({\n campaign_id: z.string().describe(\"The unique identifier of the campaign whose details are to be retrieved.\"),\n}).describe(\"Request schema for retrieving campaign details.\");\nexport const MoosendGetCampaignDetailsOutput = z.object({\n Code: z.number().int().describe(\"Response code from Moosend API. 0 indicates success, other values indicate errors.\").nullable(),\n Error: z.string().describe(\"Error message if the request failed; null when successful.\").nullable().optional(),\n Context: z.record(z.string(), z.unknown()).describe(\"Complete campaign data including ID, name, subject, status, mailing lists, content, sender info, tracking settings, ABTesting configuration, delivery settings, and more. Null when an error occurs.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieving campaign details.\");\n\nexport const moosendGetCampaignDetails = action(\"MOOSEND_GET_CAMPAIGN_DETAILS\", {\n slug: \"moosend-get-campaign-details\",\n name: \"Get Campaign Details\",\n description: \"Retrieves comprehensive details about a specific campaign by its ID. Returns complete campaign information including configuration, status, content, and settings. Use this when you need to inspect or verify campaign properties.\",\n input: MoosendGetCampaignDetailsInput,\n output: MoosendGetCampaignDetailsOutput,\n});\n"],"mappings":";;AAaA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb4C,EAAE,OAAO,EACrD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,EAC7G,CAAC,CAAC,CAAC,SAAS,iDAWH;CACP,QAX6C,EAAE,OAAO;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;EAC/H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sMAAsM,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClR,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-campaign-details.mjs","names":[],"sources":["../../src/actions/get-campaign-details.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { moosend } from \"../app\";\n\nexport const MoosendGetCampaignDetailsInput = z.object({\n campaign_id: z.string().describe(\"The unique identifier of the campaign whose details are to be retrieved.\"),\n}).describe(\"Request schema for retrieving campaign details.\");\nexport const MoosendGetCampaignDetailsOutput = z.object({\n Code: z.number().int().describe(\"Response code from Moosend API. 0 indicates success, other values indicate errors.\").nullable(),\n Error: z.string().describe(\"Error message if the request failed; null when successful.\").nullable().optional(),\n Context: z.record(z.string(), z.unknown()).describe(\"Complete campaign data including ID, name, subject, status, mailing lists, content, sender info, tracking settings, ABTesting configuration, delivery settings, and more. Null when an error occurs.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieving campaign details.\");\n\nexport const moosendGetCampaignDetails: AppAction<\n typeof MoosendGetCampaignDetailsInput,\n typeof MoosendGetCampaignDetailsOutput,\n typeof moosend.credential\n> = action(\"MOOSEND_GET_CAMPAIGN_DETAILS\", {\n slug: \"moosend-get-campaign-details\",\n name: \"Get Campaign Details\",\n description: \"Retrieves comprehensive details about a specific campaign by its ID. Returns complete campaign information including configuration, status, content, and settings. Use this when you need to inspect or verify campaign properties.\",\n input: MoosendGetCampaignDetailsInput,\n output: MoosendGetCampaignDetailsOutput,\n});\n"],"mappings":";;;AAeA,MAAa,4BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB4C,EAAE,OAAO,EACrD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,EAC7G,CAAC,CAAC,CAAC,SAAS,iDAeH;CACP,QAf6C,EAAE,OAAO;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;EAC/H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sMAAsM,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClR,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-campaign-stats-by-location.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-campaign-stats-by-location.cjs","names":["z","action"],"sources":["../../src/actions/get-campaign-stats-by-location.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendGetCampaignStatsByLocationInput = z.object({\n campaign_id: z.string().describe(\"The unique identifier of the campaign to retrieve location statistics for.\"),\n}).describe(\"Request schema for retrieving campaign statistics by country.\");\nexport const MoosendGetCampaignStatsByLocationOutput = z.object({\n Code: z.number().int().describe(\"Response code from Moosend API. 0 indicates success, other values indicate errors.\").nullable(),\n Error: z.string().describe(\"Error message if the request failed; null when successful.\").nullable().optional(),\n Context: z.record(z.string(), z.unknown()).describe(\"Complete location statistics data containing detailed report of campaign opens (unique and total) by country. Null when an error occurs.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieving campaign statistics by country.\");\n\nexport const moosendGetCampaignStatsByLocation = action(\"MOOSEND_GET_CAMPAIGN_STATS_BY_LOCATION\", {\n slug: \"moosend-get-campaign-stats-by-location\",\n name: \"Get Campaign Stats by Location\",\n description: \"Retrieves a detailed report of campaign opens (unique and total) by country. Use this when you need to analyze the geographic distribution of email campaign engagement.\",\n input: MoosendGetCampaignStatsByLocationInput,\n output: MoosendGetCampaignStatsByLocationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,EAC/G,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC/H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAE1F,MAAa,oCAAoCC,eAAAA,OAAO,0CAA0C;CAChG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-campaign-stats-by-location.cjs","names":["z","action"],"sources":["../../src/actions/get-campaign-stats-by-location.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { moosend } from \"../app\";\n\nexport const MoosendGetCampaignStatsByLocationInput = z.object({\n campaign_id: z.string().describe(\"The unique identifier of the campaign to retrieve location statistics for.\"),\n}).describe(\"Request schema for retrieving campaign statistics by country.\");\nexport const MoosendGetCampaignStatsByLocationOutput = z.object({\n Code: z.number().int().describe(\"Response code from Moosend API. 0 indicates success, other values indicate errors.\").nullable(),\n Error: z.string().describe(\"Error message if the request failed; null when successful.\").nullable().optional(),\n Context: z.record(z.string(), z.unknown()).describe(\"Complete location statistics data containing detailed report of campaign opens (unique and total) by country. Null when an error occurs.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieving campaign statistics by country.\");\n\nexport const moosendGetCampaignStatsByLocation: AppAction<\n typeof MoosendGetCampaignStatsByLocationInput,\n typeof MoosendGetCampaignStatsByLocationOutput,\n typeof moosend.credential\n> = action(\"MOOSEND_GET_CAMPAIGN_STATS_BY_LOCATION\", {\n slug: \"moosend-get-campaign-stats-by-location\",\n name: \"Get Campaign Stats by Location\",\n description: \"Retrieves a detailed report of campaign opens (unique and total) by country. Use this when you need to analyze the geographic distribution of email campaign engagement.\",\n input: MoosendGetCampaignStatsByLocationInput,\n output: MoosendGetCampaignStatsByLocationOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,EAC/G,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC/H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAE1F,MAAa,oCAITC,eAAAA,OAAO,0CAA0C;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { moosend } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-campaign-stats-by-location.d.ts
@@ -9,21 +11,7 @@ declare const MoosendGetCampaignStatsByLocationOutput: z.ZodObject<{
9
11
  Error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
12
  Context: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
11
13
  }, z.core.$loose>;
12
- declare const moosendGetCampaignStatsByLocation: import("@keystrokehq/action").WorkflowActionDefinition<{
13
- campaign_id: string;
14
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"moosend", z.ZodObject<{
15
- connectionId: z.ZodString;
16
- entityId: z.ZodString;
17
- instanceId: z.ZodString;
18
- }, z.core.$strip>, z.ZodObject<{
19
- generic_api_key: z.ZodString;
20
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"moosend", z.ZodObject<{
21
- connectionId: z.ZodString;
22
- entityId: z.ZodString;
23
- instanceId: z.ZodString;
24
- }, z.core.$strip>, z.ZodObject<{
25
- generic_api_key: z.ZodString;
26
- }, z.core.$strip>>]>;
14
+ declare const moosendGetCampaignStatsByLocation: AppAction<typeof MoosendGetCampaignStatsByLocationInput, typeof MoosendGetCampaignStatsByLocationOutput, typeof moosend.credential>;
27
15
  //#endregion
28
16
  export { moosendGetCampaignStatsByLocation };
29
17
  //# sourceMappingURL=get-campaign-stats-by-location.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-campaign-stats-by-location.d.cts","names":[],"sources":["../../src/actions/get-campaign-stats-by-location.ts"],"mappings":";;;cAIa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;cAGtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;cAMvC,iCAAA,gCAAiC,wBAAA"}
1
+ {"version":3,"file":"get-campaign-stats-by-location.d.cts","names":[],"sources":["../../src/actions/get-campaign-stats-by-location.ts"],"mappings":";;;;;cAMa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;cAGtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;cAMvC,iCAAA,EAAmC,SAAA,QACvC,sCAAA,SACA,uCAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { moosend } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-campaign-stats-by-location.d.ts
@@ -9,21 +11,7 @@ declare const MoosendGetCampaignStatsByLocationOutput: z.ZodObject<{
9
11
  Error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
12
  Context: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
11
13
  }, z.core.$loose>;
12
- declare const moosendGetCampaignStatsByLocation: import("@keystrokehq/action").WorkflowActionDefinition<{
13
- campaign_id: string;
14
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"moosend", z.ZodObject<{
15
- connectionId: z.ZodString;
16
- entityId: z.ZodString;
17
- instanceId: z.ZodString;
18
- }, z.core.$strip>, z.ZodObject<{
19
- generic_api_key: z.ZodString;
20
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"moosend", z.ZodObject<{
21
- connectionId: z.ZodString;
22
- entityId: z.ZodString;
23
- instanceId: z.ZodString;
24
- }, z.core.$strip>, z.ZodObject<{
25
- generic_api_key: z.ZodString;
26
- }, z.core.$strip>>]>;
14
+ declare const moosendGetCampaignStatsByLocation: AppAction<typeof MoosendGetCampaignStatsByLocationInput, typeof MoosendGetCampaignStatsByLocationOutput, typeof moosend.credential>;
27
15
  //#endregion
28
16
  export { moosendGetCampaignStatsByLocation };
29
17
  //# sourceMappingURL=get-campaign-stats-by-location.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-campaign-stats-by-location.d.mts","names":[],"sources":["../../src/actions/get-campaign-stats-by-location.ts"],"mappings":";;;cAIa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;cAGtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;cAMvC,iCAAA,gCAAiC,wBAAA"}
1
+ {"version":3,"file":"get-campaign-stats-by-location.d.mts","names":[],"sources":["../../src/actions/get-campaign-stats-by-location.ts"],"mappings":";;;;;cAMa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;cAGtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;cAMvC,iCAAA,EAAmC,SAAA,QACvC,sCAAA,SACA,uCAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const moosendGetCampaignStatsByLocation = action("MOOSEND_GET_CAMPAIGN_STATS_BY_LOCATION", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-campaign-stats-by-location.mjs","names":[],"sources":["../../src/actions/get-campaign-stats-by-location.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendGetCampaignStatsByLocationInput = z.object({\n campaign_id: z.string().describe(\"The unique identifier of the campaign to retrieve location statistics for.\"),\n}).describe(\"Request schema for retrieving campaign statistics by country.\");\nexport const MoosendGetCampaignStatsByLocationOutput = z.object({\n Code: z.number().int().describe(\"Response code from Moosend API. 0 indicates success, other values indicate errors.\").nullable(),\n Error: z.string().describe(\"Error message if the request failed; null when successful.\").nullable().optional(),\n Context: z.record(z.string(), z.unknown()).describe(\"Complete location statistics data containing detailed report of campaign opens (unique and total) by country. Null when an error occurs.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieving campaign statistics by country.\");\n\nexport const moosendGetCampaignStatsByLocation = action(\"MOOSEND_GET_CAMPAIGN_STATS_BY_LOCATION\", {\n slug: \"moosend-get-campaign-stats-by-location\",\n name: \"Get Campaign Stats by Location\",\n description: \"Retrieves a detailed report of campaign opens (unique and total) by country. Use this when you need to analyze the geographic distribution of email campaign engagement.\",\n input: MoosendGetCampaignStatsByLocationInput,\n output: MoosendGetCampaignStatsByLocationOutput,\n});\n"],"mappings":";;AAaA,MAAa,oCAAoC,OAAO,0CAA0C;CAChG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAboD,EAAE,OAAO,EAC7D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,EAC/G,CAAC,CAAC,CAAC,SAAS,+DAWH;CACP,QAXqD,EAAE,OAAO;EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;EAC/H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-campaign-stats-by-location.mjs","names":[],"sources":["../../src/actions/get-campaign-stats-by-location.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { moosend } from \"../app\";\n\nexport const MoosendGetCampaignStatsByLocationInput = z.object({\n campaign_id: z.string().describe(\"The unique identifier of the campaign to retrieve location statistics for.\"),\n}).describe(\"Request schema for retrieving campaign statistics by country.\");\nexport const MoosendGetCampaignStatsByLocationOutput = z.object({\n Code: z.number().int().describe(\"Response code from Moosend API. 0 indicates success, other values indicate errors.\").nullable(),\n Error: z.string().describe(\"Error message if the request failed; null when successful.\").nullable().optional(),\n Context: z.record(z.string(), z.unknown()).describe(\"Complete location statistics data containing detailed report of campaign opens (unique and total) by country. Null when an error occurs.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieving campaign statistics by country.\");\n\nexport const moosendGetCampaignStatsByLocation: AppAction<\n typeof MoosendGetCampaignStatsByLocationInput,\n typeof MoosendGetCampaignStatsByLocationOutput,\n typeof moosend.credential\n> = action(\"MOOSEND_GET_CAMPAIGN_STATS_BY_LOCATION\", {\n slug: \"moosend-get-campaign-stats-by-location\",\n name: \"Get Campaign Stats by Location\",\n description: \"Retrieves a detailed report of campaign opens (unique and total) by country. Use this when you need to analyze the geographic distribution of email campaign engagement.\",\n input: MoosendGetCampaignStatsByLocationInput,\n output: MoosendGetCampaignStatsByLocationOutput,\n});\n"],"mappings":";;;AAeA,MAAa,oCAIT,OAAO,0CAA0C;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBoD,EAAE,OAAO,EAC7D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,EAC/G,CAAC,CAAC,CAAC,SAAS,+DAeH;CACP,QAfqD,EAAE,OAAO;EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;EAC/H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-mailing-list-details.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-mailing-list-details.cjs","names":["z","action"],"sources":["../../src/actions/get-mailing-list-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendGetMailingListDetailsInput = z.object({\n format: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"Response format: 'json' or 'xml'.\").optional(),\n mailing_list_id: z.string().describe(\"The ID of the mailing list to be returned.\"),\n with_statistics: z.enum([\"true\", \"false\"]).describe(\"Whether to include statistics in the response.\").optional(),\n}).describe(\"Request schema for retrieving mailing list details.\");\nconst MoosendGetMailingListDetails_CustomFieldDefinitionSchema = z.object({\n ID: z.string().describe(\"Custom field identifier.\").nullable(),\n Name: z.string().describe(\"Field name.\").nullable(),\n Type: z.number().int().describe(\"Field type: 0=text, 1=number, 2=dateTime, 3=singleSelectDropdown, 5=checkbox.\").nullable(),\n Context: z.string().describe(\"Options for dropdown types; null otherwise.\").nullable().optional(),\n IsRequired: z.boolean().describe(\"Whether field is mandatory.\").nullable(),\n}).passthrough().describe(\"Custom field definition model.\");\nconst MoosendGetMailingListDetails_MailingListContextSchema = z.object({\n ID: z.string().describe(\"The unique identifier for the mailing list.\").nullable(),\n Name: z.string().describe(\"The mailing list name.\").nullable(),\n Status: z.number().int().describe(\"List status: 0=created, 1=imported, 2=importing, 3=deleted.\").nullable(),\n CreatedBy: z.string().describe(\"IP address where list was created.\").nullable().optional(),\n CreatedOn: z.string().describe(\"Timestamp of creation.\").nullable(),\n UpdatedBy: z.string().describe(\"IP address of last update.\").nullable().optional(),\n UpdatedOn: z.string().describe(\"Timestamp of last update.\").nullable().optional(),\n ImportOperation: z.record(z.string(), z.unknown()).describe(\"Latest import operation details.\").nullable().optional(),\n ActiveMemberCount: z.number().int().describe(\"Number of active members.\").nullable(),\n BouncedMemberCount: z.number().int().describe(\"Count of bounced email addresses.\").nullable(),\n RemovedMemberCount: z.number().int().describe(\"Count of removed addresses.\").nullable(),\n CustomFieldsDefinition: z.array(MoosendGetMailingListDetails_CustomFieldDefinitionSchema).describe(\"Custom field definitions for the list.\"),\n UnsubscribedMemberCount: z.number().int().describe(\"Number of unsubscribed emails.\").nullable(),\n}).passthrough().describe(\"Mailing list context containing all details.\");\nexport const MoosendGetMailingListDetailsOutput = z.object({\n Code: z.number().int().describe(\"Response code from Moosend API. 0 indicates success, other values indicate errors.\").nullable(),\n Error: z.string().describe(\"Error message if the request failed; null when successful.\").nullable().optional(),\n Context: MoosendGetMailingListDetails_MailingListContextSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieving mailing list details.\");\n\nexport const moosendGetMailingListDetails = action(\"MOOSEND_GET_MAILING_LIST_DETAILS\", {\n slug: \"moosend-get-mailing-list-details\",\n name: \"Get Mailing List Details\",\n description: \"Gets details for a given mailing list including name, member counts, status, and custom field definitions. Optionally include subscriber statistics. Use this when you need to inspect mailing list properties or verify list configuration.\",\n input: MoosendGetMailingListDetailsInput,\n output: MoosendGetMailingListDetailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,QAAQA,IAAAA,EAAE,KAAK,C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SAAS,sDAAsD;AAEhF,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-mailing-list-details.cjs","names":["z","action"],"sources":["../../src/actions/get-mailing-list-details.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { moosend } from \"../app\";\n\nexport const MoosendGetMailingListDetailsInput = z.object({\n format: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"Response format: 'json' or 'xml'.\").optional(),\n mailing_list_id: z.string().describe(\"The ID of the mailing list to be returned.\"),\n with_statistics: z.enum([\"true\", \"false\"]).describe(\"Whether to include statistics in the response.\").optional(),\n}).describe(\"Request schema for retrieving mailing list details.\");\nconst MoosendGetMailingListDetails_CustomFieldDefinitionSchema = z.object({\n ID: z.string().describe(\"Custom field identifier.\").nullable(),\n Name: z.string().describe(\"Field name.\").nullable(),\n Type: z.number().int().describe(\"Field type: 0=text, 1=number, 2=dateTime, 3=singleSelectDropdown, 5=checkbox.\").nullable(),\n Context: z.string().describe(\"Options for dropdown types; null otherwise.\").nullable().optional(),\n IsRequired: z.boolean().describe(\"Whether field is mandatory.\").nullable(),\n}).passthrough().describe(\"Custom field definition model.\");\nconst MoosendGetMailingListDetails_MailingListContextSchema = z.object({\n ID: z.string().describe(\"The unique identifier for the mailing list.\").nullable(),\n Name: z.string().describe(\"The mailing list name.\").nullable(),\n Status: z.number().int().describe(\"List status: 0=created, 1=imported, 2=importing, 3=deleted.\").nullable(),\n CreatedBy: z.string().describe(\"IP address where list was created.\").nullable().optional(),\n CreatedOn: z.string().describe(\"Timestamp of creation.\").nullable(),\n UpdatedBy: z.string().describe(\"IP address of last update.\").nullable().optional(),\n UpdatedOn: z.string().describe(\"Timestamp of last update.\").nullable().optional(),\n ImportOperation: z.record(z.string(), z.unknown()).describe(\"Latest import operation details.\").nullable().optional(),\n ActiveMemberCount: z.number().int().describe(\"Number of active members.\").nullable(),\n BouncedMemberCount: z.number().int().describe(\"Count of bounced email addresses.\").nullable(),\n RemovedMemberCount: z.number().int().describe(\"Count of removed addresses.\").nullable(),\n CustomFieldsDefinition: z.array(MoosendGetMailingListDetails_CustomFieldDefinitionSchema).describe(\"Custom field definitions for the list.\"),\n UnsubscribedMemberCount: z.number().int().describe(\"Number of unsubscribed emails.\").nullable(),\n}).passthrough().describe(\"Mailing list context containing all details.\");\nexport const MoosendGetMailingListDetailsOutput = z.object({\n Code: z.number().int().describe(\"Response code from Moosend API. 0 indicates success, other values indicate errors.\").nullable(),\n Error: z.string().describe(\"Error message if the request failed; null when successful.\").nullable().optional(),\n Context: MoosendGetMailingListDetails_MailingListContextSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieving mailing list details.\");\n\nexport const moosendGetMailingListDetails: AppAction<\n typeof MoosendGetMailingListDetailsInput,\n typeof MoosendGetMailingListDetailsOutput,\n typeof moosend.credential\n> = action(\"MOOSEND_GET_MAILING_LIST_DETAILS\", {\n slug: \"moosend-get-mailing-list-details\",\n name: \"Get Mailing List Details\",\n description: \"Gets details for a given mailing list including name, member counts, status, and custom field definitions. Optionally include subscriber statistics. Use this when you need to inspect mailing list properties or verify list configuration.\",\n input: MoosendGetMailingListDetailsInput,\n output: MoosendGetMailingListDetailsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,QAAQA,IAAAA,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACvG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACjF,iBAAiBA,IAAAA,EAAE,KAAK,CAAC,QAAQ,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AACjH,CAAC,C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AOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACnF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC5F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACtF,wBAAwBA,IAAAA,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,wCAAwC;CAC3I,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC/H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,SAAS,sDAAsD,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,+BAITC,eAAAA,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { moosend } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-mailing-list-details.d.ts
@@ -37,23 +39,7 @@ declare const MoosendGetMailingListDetailsOutput: z.ZodObject<{
37
39
  UnsubscribedMemberCount: z.ZodNullable<z.ZodNumber>;
38
40
  }, z.core.$loose>>>;
39
41
  }, z.core.$loose>;
40
- declare const moosendGetMailingListDetails: import("@keystrokehq/action").WorkflowActionDefinition<{
41
- mailing_list_id: string;
42
- format?: "json" | "xml" | undefined;
43
- with_statistics?: "true" | "false" | undefined;
44
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"moosend", z.ZodObject<{
45
- connectionId: z.ZodString;
46
- entityId: z.ZodString;
47
- instanceId: z.ZodString;
48
- }, z.core.$strip>, z.ZodObject<{
49
- generic_api_key: z.ZodString;
50
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"moosend", z.ZodObject<{
51
- connectionId: z.ZodString;
52
- entityId: z.ZodString;
53
- instanceId: z.ZodString;
54
- }, z.core.$strip>, z.ZodObject<{
55
- generic_api_key: z.ZodString;
56
- }, z.core.$strip>>]>;
42
+ declare const moosendGetMailingListDetails: AppAction<typeof MoosendGetMailingListDetailsInput, typeof MoosendGetMailingListDetailsOutput, typeof moosend.credential>;
57
43
  //#endregion
58
44
  export { moosendGetMailingListDetails };
59
45
  //# sourceMappingURL=get-mailing-list-details.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-mailing-list-details.d.cts","names":[],"sources":["../../src/actions/get-mailing-list-details.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;cA2BjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAMlC,4BAAA,gCAA4B,wBAAA"}
1
+ {"version":3,"file":"get-mailing-list-details.d.cts","names":[],"sources":["../../src/actions/get-mailing-list-details.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;cA2BjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAMlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { moosend } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-mailing-list-details.d.ts
@@ -37,23 +39,7 @@ declare const MoosendGetMailingListDetailsOutput: z.ZodObject<{
37
39
  UnsubscribedMemberCount: z.ZodNullable<z.ZodNumber>;
38
40
  }, z.core.$loose>>>;
39
41
  }, z.core.$loose>;
40
- declare const moosendGetMailingListDetails: import("@keystrokehq/action").WorkflowActionDefinition<{
41
- mailing_list_id: string;
42
- format?: "json" | "xml" | undefined;
43
- with_statistics?: "true" | "false" | undefined;
44
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"moosend", z.ZodObject<{
45
- connectionId: z.ZodString;
46
- entityId: z.ZodString;
47
- instanceId: z.ZodString;
48
- }, z.core.$strip>, z.ZodObject<{
49
- generic_api_key: z.ZodString;
50
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"moosend", z.ZodObject<{
51
- connectionId: z.ZodString;
52
- entityId: z.ZodString;
53
- instanceId: z.ZodString;
54
- }, z.core.$strip>, z.ZodObject<{
55
- generic_api_key: z.ZodString;
56
- }, z.core.$strip>>]>;
42
+ declare const moosendGetMailingListDetails: AppAction<typeof MoosendGetMailingListDetailsInput, typeof MoosendGetMailingListDetailsOutput, typeof moosend.credential>;
57
43
  //#endregion
58
44
  export { moosendGetMailingListDetails };
59
45
  //# sourceMappingURL=get-mailing-list-details.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-mailing-list-details.d.mts","names":[],"sources":["../../src/actions/get-mailing-list-details.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;cA2BjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAMlC,4BAAA,gCAA4B,wBAAA"}
1
+ {"version":3,"file":"get-mailing-list-details.d.mts","names":[],"sources":["../../src/actions/get-mailing-list-details.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;cA2BjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAMlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-mailing-list-details.ts