@keystrokehq/postalytics 0.1.0

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 (226) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/add-account.cjs +32 -0
  7. package/dist/actions/add-account.cjs.map +1 -0
  8. package/dist/actions/add-account.d.cts +9 -0
  9. package/dist/actions/add-account.d.cts.map +1 -0
  10. package/dist/actions/add-account.d.mts +9 -0
  11. package/dist/actions/add-account.d.mts.map +1 -0
  12. package/dist/actions/add-account.mjs +29 -0
  13. package/dist/actions/add-account.mjs.map +1 -0
  14. package/dist/actions/add-contact.cjs +68 -0
  15. package/dist/actions/add-contact.cjs.map +1 -0
  16. package/dist/actions/add-contact.d.cts +9 -0
  17. package/dist/actions/add-contact.d.cts.map +1 -0
  18. package/dist/actions/add-contact.d.mts +9 -0
  19. package/dist/actions/add-contact.d.mts.map +1 -0
  20. package/dist/actions/add-contact.mjs +65 -0
  21. package/dist/actions/add-contact.mjs.map +1 -0
  22. package/dist/actions/create-new-campaign.cjs +32 -0
  23. package/dist/actions/create-new-campaign.cjs.map +1 -0
  24. package/dist/actions/create-new-campaign.d.cts +9 -0
  25. package/dist/actions/create-new-campaign.d.cts.map +1 -0
  26. package/dist/actions/create-new-campaign.d.mts +9 -0
  27. package/dist/actions/create-new-campaign.d.mts.map +1 -0
  28. package/dist/actions/create-new-campaign.mjs +29 -0
  29. package/dist/actions/create-new-campaign.mjs.map +1 -0
  30. package/dist/actions/create-suppression-list-contact.cjs +134 -0
  31. package/dist/actions/create-suppression-list-contact.cjs.map +1 -0
  32. package/dist/actions/create-suppression-list-contact.d.cts +9 -0
  33. package/dist/actions/create-suppression-list-contact.d.cts.map +1 -0
  34. package/dist/actions/create-suppression-list-contact.d.mts +9 -0
  35. package/dist/actions/create-suppression-list-contact.d.mts.map +1 -0
  36. package/dist/actions/create-suppression-list-contact.mjs +133 -0
  37. package/dist/actions/create-suppression-list-contact.mjs.map +1 -0
  38. package/dist/actions/create-suppression-list.cjs +27 -0
  39. package/dist/actions/create-suppression-list.cjs.map +1 -0
  40. package/dist/actions/create-suppression-list.d.cts +9 -0
  41. package/dist/actions/create-suppression-list.d.cts.map +1 -0
  42. package/dist/actions/create-suppression-list.d.mts +9 -0
  43. package/dist/actions/create-suppression-list.d.mts.map +1 -0
  44. package/dist/actions/create-suppression-list.mjs +26 -0
  45. package/dist/actions/create-suppression-list.mjs.map +1 -0
  46. package/dist/actions/create-template.cjs +30 -0
  47. package/dist/actions/create-template.cjs.map +1 -0
  48. package/dist/actions/create-template.d.cts +9 -0
  49. package/dist/actions/create-template.d.cts.map +1 -0
  50. package/dist/actions/create-template.d.mts +9 -0
  51. package/dist/actions/create-template.d.mts.map +1 -0
  52. package/dist/actions/create-template.mjs +27 -0
  53. package/dist/actions/create-template.mjs.map +1 -0
  54. package/dist/actions/create-webhook.cjs +28 -0
  55. package/dist/actions/create-webhook.cjs.map +1 -0
  56. package/dist/actions/create-webhook.d.cts +9 -0
  57. package/dist/actions/create-webhook.d.cts.map +1 -0
  58. package/dist/actions/create-webhook.d.mts +9 -0
  59. package/dist/actions/create-webhook.d.mts.map +1 -0
  60. package/dist/actions/create-webhook.mjs +25 -0
  61. package/dist/actions/create-webhook.mjs.map +1 -0
  62. package/dist/actions/delete-account.cjs +19 -0
  63. package/dist/actions/delete-account.cjs.map +1 -0
  64. package/dist/actions/delete-account.d.cts +9 -0
  65. package/dist/actions/delete-account.d.cts.map +1 -0
  66. package/dist/actions/delete-account.d.mts +9 -0
  67. package/dist/actions/delete-account.d.mts.map +1 -0
  68. package/dist/actions/delete-account.mjs +16 -0
  69. package/dist/actions/delete-account.mjs.map +1 -0
  70. package/dist/actions/delete-campaign.cjs +16 -0
  71. package/dist/actions/delete-campaign.cjs.map +1 -0
  72. package/dist/actions/delete-campaign.d.cts +9 -0
  73. package/dist/actions/delete-campaign.d.cts.map +1 -0
  74. package/dist/actions/delete-campaign.d.mts +9 -0
  75. package/dist/actions/delete-campaign.d.mts.map +1 -0
  76. package/dist/actions/delete-campaign.mjs +13 -0
  77. package/dist/actions/delete-campaign.mjs.map +1 -0
  78. package/dist/actions/delete-suppression-list-contact.cjs +19 -0
  79. package/dist/actions/delete-suppression-list-contact.cjs.map +1 -0
  80. package/dist/actions/delete-suppression-list-contact.d.cts +9 -0
  81. package/dist/actions/delete-suppression-list-contact.d.cts.map +1 -0
  82. package/dist/actions/delete-suppression-list-contact.d.mts +9 -0
  83. package/dist/actions/delete-suppression-list-contact.d.mts.map +1 -0
  84. package/dist/actions/delete-suppression-list-contact.mjs +16 -0
  85. package/dist/actions/delete-suppression-list-contact.mjs.map +1 -0
  86. package/dist/actions/delete-suppression-list.cjs +16 -0
  87. package/dist/actions/delete-suppression-list.cjs.map +1 -0
  88. package/dist/actions/delete-suppression-list.d.cts +9 -0
  89. package/dist/actions/delete-suppression-list.d.cts.map +1 -0
  90. package/dist/actions/delete-suppression-list.d.mts +9 -0
  91. package/dist/actions/delete-suppression-list.d.mts.map +1 -0
  92. package/dist/actions/delete-suppression-list.mjs +13 -0
  93. package/dist/actions/delete-suppression-list.mjs.map +1 -0
  94. package/dist/actions/get-all-contact-lists.cjs +22 -0
  95. package/dist/actions/get-all-contact-lists.cjs.map +1 -0
  96. package/dist/actions/get-all-contact-lists.d.cts +9 -0
  97. package/dist/actions/get-all-contact-lists.d.cts.map +1 -0
  98. package/dist/actions/get-all-contact-lists.d.mts +9 -0
  99. package/dist/actions/get-all-contact-lists.d.mts.map +1 -0
  100. package/dist/actions/get-all-contact-lists.mjs +21 -0
  101. package/dist/actions/get-all-contact-lists.mjs.map +1 -0
  102. package/dist/actions/get-all-contacts-on-a-list.cjs +70 -0
  103. package/dist/actions/get-all-contacts-on-a-list.cjs.map +1 -0
  104. package/dist/actions/get-all-contacts-on-a-list.d.cts +9 -0
  105. package/dist/actions/get-all-contacts-on-a-list.d.cts.map +1 -0
  106. package/dist/actions/get-all-contacts-on-a-list.d.mts +9 -0
  107. package/dist/actions/get-all-contacts-on-a-list.d.mts.map +1 -0
  108. package/dist/actions/get-all-contacts-on-a-list.mjs +69 -0
  109. package/dist/actions/get-all-contacts-on-a-list.mjs.map +1 -0
  110. package/dist/actions/get-all-drip-campaigns.cjs +20 -0
  111. package/dist/actions/get-all-drip-campaigns.cjs.map +1 -0
  112. package/dist/actions/get-all-drip-campaigns.d.cts +9 -0
  113. package/dist/actions/get-all-drip-campaigns.d.cts.map +1 -0
  114. package/dist/actions/get-all-drip-campaigns.d.mts +9 -0
  115. package/dist/actions/get-all-drip-campaigns.d.mts.map +1 -0
  116. package/dist/actions/get-all-drip-campaigns.mjs +19 -0
  117. package/dist/actions/get-all-drip-campaigns.mjs.map +1 -0
  118. package/dist/actions/get-all-flows.cjs +25 -0
  119. package/dist/actions/get-all-flows.cjs.map +1 -0
  120. package/dist/actions/get-all-flows.d.cts +9 -0
  121. package/dist/actions/get-all-flows.d.cts.map +1 -0
  122. package/dist/actions/get-all-flows.d.mts +9 -0
  123. package/dist/actions/get-all-flows.d.mts.map +1 -0
  124. package/dist/actions/get-all-flows.mjs +24 -0
  125. package/dist/actions/get-all-flows.mjs.map +1 -0
  126. package/dist/actions/get-all-webhooks.cjs +23 -0
  127. package/dist/actions/get-all-webhooks.cjs.map +1 -0
  128. package/dist/actions/get-all-webhooks.d.cts +9 -0
  129. package/dist/actions/get-all-webhooks.d.cts.map +1 -0
  130. package/dist/actions/get-all-webhooks.d.mts +9 -0
  131. package/dist/actions/get-all-webhooks.d.mts.map +1 -0
  132. package/dist/actions/get-all-webhooks.mjs +22 -0
  133. package/dist/actions/get-all-webhooks.mjs.map +1 -0
  134. package/dist/actions/get-integrations.cjs +23 -0
  135. package/dist/actions/get-integrations.cjs.map +1 -0
  136. package/dist/actions/get-integrations.d.cts +9 -0
  137. package/dist/actions/get-integrations.d.cts.map +1 -0
  138. package/dist/actions/get-integrations.d.mts +9 -0
  139. package/dist/actions/get-integrations.d.mts.map +1 -0
  140. package/dist/actions/get-integrations.mjs +22 -0
  141. package/dist/actions/get-integrations.mjs.map +1 -0
  142. package/dist/actions/get-my-account.cjs +32 -0
  143. package/dist/actions/get-my-account.cjs.map +1 -0
  144. package/dist/actions/get-my-account.d.cts +9 -0
  145. package/dist/actions/get-my-account.d.cts.map +1 -0
  146. package/dist/actions/get-my-account.d.mts +9 -0
  147. package/dist/actions/get-my-account.d.mts.map +1 -0
  148. package/dist/actions/get-my-account.mjs +31 -0
  149. package/dist/actions/get-my-account.mjs.map +1 -0
  150. package/dist/actions/get-suppression-list-contact.cjs +87 -0
  151. package/dist/actions/get-suppression-list-contact.cjs.map +1 -0
  152. package/dist/actions/get-suppression-list-contact.d.cts +9 -0
  153. package/dist/actions/get-suppression-list-contact.d.cts.map +1 -0
  154. package/dist/actions/get-suppression-list-contact.d.mts +9 -0
  155. package/dist/actions/get-suppression-list-contact.d.mts.map +1 -0
  156. package/dist/actions/get-suppression-list-contact.mjs +86 -0
  157. package/dist/actions/get-suppression-list-contact.mjs.map +1 -0
  158. package/dist/actions/get-suppression-list-contacts.cjs +86 -0
  159. package/dist/actions/get-suppression-list-contacts.cjs.map +1 -0
  160. package/dist/actions/get-suppression-list-contacts.d.cts +9 -0
  161. package/dist/actions/get-suppression-list-contacts.d.cts.map +1 -0
  162. package/dist/actions/get-suppression-list-contacts.d.mts +9 -0
  163. package/dist/actions/get-suppression-list-contacts.d.mts.map +1 -0
  164. package/dist/actions/get-suppression-list-contacts.mjs +85 -0
  165. package/dist/actions/get-suppression-list-contacts.mjs.map +1 -0
  166. package/dist/actions/get-suppression-list.cjs +24 -0
  167. package/dist/actions/get-suppression-list.cjs.map +1 -0
  168. package/dist/actions/get-suppression-list.d.cts +9 -0
  169. package/dist/actions/get-suppression-list.d.cts.map +1 -0
  170. package/dist/actions/get-suppression-list.d.mts +9 -0
  171. package/dist/actions/get-suppression-list.d.mts.map +1 -0
  172. package/dist/actions/get-suppression-list.mjs +23 -0
  173. package/dist/actions/get-suppression-list.mjs.map +1 -0
  174. package/dist/actions/get-suppression-lists.cjs +24 -0
  175. package/dist/actions/get-suppression-lists.cjs.map +1 -0
  176. package/dist/actions/get-suppression-lists.d.cts +9 -0
  177. package/dist/actions/get-suppression-lists.d.cts.map +1 -0
  178. package/dist/actions/get-suppression-lists.d.mts +9 -0
  179. package/dist/actions/get-suppression-lists.d.mts.map +1 -0
  180. package/dist/actions/get-suppression-lists.mjs +23 -0
  181. package/dist/actions/get-suppression-lists.mjs.map +1 -0
  182. package/dist/actions/index.cjs +49 -0
  183. package/dist/actions/index.d.cts +25 -0
  184. package/dist/actions/index.d.mts +25 -0
  185. package/dist/actions/index.mjs +25 -0
  186. package/dist/actions/update-account.cjs +32 -0
  187. package/dist/actions/update-account.cjs.map +1 -0
  188. package/dist/actions/update-account.d.cts +9 -0
  189. package/dist/actions/update-account.d.cts.map +1 -0
  190. package/dist/actions/update-account.d.mts +9 -0
  191. package/dist/actions/update-account.d.mts.map +1 -0
  192. package/dist/actions/update-account.mjs +29 -0
  193. package/dist/actions/update-account.mjs.map +1 -0
  194. package/dist/actions/update-suppression-list-contact.cjs +135 -0
  195. package/dist/actions/update-suppression-list-contact.cjs.map +1 -0
  196. package/dist/actions/update-suppression-list-contact.d.cts +9 -0
  197. package/dist/actions/update-suppression-list-contact.d.cts.map +1 -0
  198. package/dist/actions/update-suppression-list-contact.d.mts +9 -0
  199. package/dist/actions/update-suppression-list-contact.d.mts.map +1 -0
  200. package/dist/actions/update-suppression-list-contact.mjs +134 -0
  201. package/dist/actions/update-suppression-list-contact.mjs.map +1 -0
  202. package/dist/app.cjs +9 -0
  203. package/dist/app.cjs.map +1 -0
  204. package/dist/app.d.cts +5 -0
  205. package/dist/app.d.cts.map +1 -0
  206. package/dist/app.d.mts +5 -0
  207. package/dist/app.d.mts.map +1 -0
  208. package/dist/app.mjs +10 -0
  209. package/dist/app.mjs.map +1 -0
  210. package/dist/catalog.cjs +15 -0
  211. package/dist/catalog.cjs.map +1 -0
  212. package/dist/catalog.d.cts +14 -0
  213. package/dist/catalog.d.cts.map +1 -0
  214. package/dist/catalog.d.mts +14 -0
  215. package/dist/catalog.d.mts.map +1 -0
  216. package/dist/catalog.mjs +15 -0
  217. package/dist/catalog.mjs.map +1 -0
  218. package/dist/execute.cjs +18 -0
  219. package/dist/execute.cjs.map +1 -0
  220. package/dist/execute.mjs +18 -0
  221. package/dist/execute.mjs.map +1 -0
  222. package/dist/index.cjs +54 -0
  223. package/dist/index.d.cts +27 -0
  224. package/dist/index.d.mts +27 -0
  225. package/dist/index.mjs +28 -0
  226. package/package.json +49 -0
@@ -0,0 +1,70 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-all-contacts-on-a-list.ts
4
+ const PostalyticsGetAllContactsOnAListInput = zod.z.object({
5
+ limit: zod.z.number().int().describe("Maximum number of contacts to return per page. Controls pagination page size.").optional(),
6
+ start: zod.z.number().int().describe("Pagination offset for retrieving contacts. Use 0 for the first page.").optional(),
7
+ list_id: zod.z.number().int().describe("The unique identifier of the contact list to retrieve contacts from.")
8
+ }).describe("Request model for retrieving all contacts from a specific contact list.");
9
+ const PostalyticsGetAllContactsOnAList_ContactSchema = zod.z.object({
10
+ zip: zod.z.string().describe("ZIP or postal code (5-9 digits).").nullable().optional(),
11
+ city: zod.z.string().describe("City name (max 50 characters).").nullable().optional(),
12
+ var1: zod.z.string().describe("Custom variable field 1 (max 255 characters).").nullable().optional(),
13
+ var2: zod.z.string().describe("Custom variable field 2 (max 255 characters).").nullable().optional(),
14
+ var3: zod.z.string().describe("Custom variable field 3 (max 255 characters).").nullable().optional(),
15
+ var4: zod.z.string().describe("Custom variable field 4 (max 255 characters).").nullable().optional(),
16
+ var5: zod.z.string().describe("Custom variable field 5 (max 255 characters).").nullable().optional(),
17
+ var6: zod.z.string().describe("Custom variable field 6 (max 255 characters).").nullable().optional(),
18
+ var7: zod.z.string().describe("Custom variable field 7 (max 255 characters).").nullable().optional(),
19
+ var8: zod.z.string().describe("Custom variable field 8 (max 255 characters).").nullable().optional(),
20
+ var9: zod.z.string().describe("Custom variable field 9 (max 255 characters).").nullable().optional(),
21
+ email: zod.z.string().describe("Contact's email address (max 100 characters).").nullable().optional(),
22
+ phone: zod.z.string().describe("Phone number (max 50 characters).").nullable().optional(),
23
+ state: zod.z.string().describe("State code, typically 2 characters (e.g., 'CA', 'NY').").nullable().optional(),
24
+ var10: zod.z.string().describe("Custom variable field 10 (max 255 characters).").nullable().optional(),
25
+ var11: zod.z.string().describe("Custom variable field 11 (max 255 characters).").nullable().optional(),
26
+ var12: zod.z.string().describe("Custom variable field 12 (max 255 characters).").nullable().optional(),
27
+ var13: zod.z.string().describe("Custom variable field 13 (max 255 characters).").nullable().optional(),
28
+ var14: zod.z.string().describe("Custom variable field 14 (max 255 characters).").nullable().optional(),
29
+ var15: zod.z.string().describe("Custom variable field 15 (max 255 characters).").nullable().optional(),
30
+ var16: zod.z.string().describe("Custom variable field 16 (max 255 characters).").nullable().optional(),
31
+ var17: zod.z.string().describe("Custom variable field 17 (max 255 characters).").nullable().optional(),
32
+ var18: zod.z.string().describe("Custom variable field 18 (max 255 characters).").nullable().optional(),
33
+ var19: zod.z.string().describe("Custom variable field 19 (max 255 characters).").nullable().optional(),
34
+ var20: zod.z.string().describe("Custom variable field 20 (max 255 characters).").nullable().optional(),
35
+ var21: zod.z.string().describe("Custom variable field 21 (max 255 characters).").nullable().optional(),
36
+ var22: zod.z.string().describe("Custom variable field 22 (max 255 characters).").nullable().optional(),
37
+ var23: zod.z.string().describe("Custom variable field 23 (max 255 characters).").nullable().optional(),
38
+ var24: zod.z.string().describe("Custom variable field 24 (max 255 characters).").nullable().optional(),
39
+ var25: zod.z.string().describe("Custom variable field 25 (max 255 characters).").nullable().optional(),
40
+ var26: zod.z.string().describe("Custom variable field 26 (max 255 characters).").nullable().optional(),
41
+ var27: zod.z.string().describe("Custom variable field 27 (max 255 characters).").nullable().optional(),
42
+ var28: zod.z.string().describe("Custom variable field 28 (max 255 characters).").nullable().optional(),
43
+ var29: zod.z.string().describe("Custom variable field 29 (max 255 characters).").nullable().optional(),
44
+ var30: zod.z.string().describe("Custom variable field 30 (max 255 characters).").nullable().optional(),
45
+ var31: zod.z.string().describe("Custom variable field 31 (max 255 characters).").nullable().optional(),
46
+ var32: zod.z.string().describe("Custom variable field 32 (max 255 characters).").nullable().optional(),
47
+ var33: zod.z.string().describe("Custom variable field 33 (max 255 characters).").nullable().optional(),
48
+ var34: zod.z.string().describe("Custom variable field 34 (max 255 characters).").nullable().optional(),
49
+ var35: zod.z.string().describe("Custom variable field 35 (max 255 characters).").nullable().optional(),
50
+ mobile: zod.z.string().describe("Mobile phone number (max 50 characters).").nullable().optional(),
51
+ address: zod.z.string().describe("Street address (max 64 characters).").nullable().optional(),
52
+ company: zod.z.string().describe("Company or organization name (max 40 characters).").nullable().optional(),
53
+ website: zod.z.string().describe("Website URL (max 500 characters).").nullable().optional(),
54
+ address_2: zod.z.string().describe("Secondary address line for apartment or suite (max 64 characters).").nullable().optional(),
55
+ last_name: zod.z.string().describe("Contact's last name (max 20 characters).").nullable().optional(),
56
+ first_name: zod.z.string().describe("Contact's first name (max 20 characters).").nullable().optional(),
57
+ occupation: zod.z.string().describe("Occupation (max 255 characters).").nullable().optional()
58
+ }).describe("Model representing a single contact from the contact list.");
59
+ const PostalyticsGetAllContactsOnAListOutput = zod.z.object({ contacts: zod.z.array(PostalyticsGetAllContactsOnAList_ContactSchema).describe("Array of contacts from the specified contact list.") }).describe("Response model containing all contacts from the specified list.");
60
+ const postalyticsGetAllContactsOnAList = require_action.action("POSTALYTICS_GET_ALL_CONTACTS_ON_A_LIST", {
61
+ slug: "postalytics-get-all-contacts-on-a-list",
62
+ name: "Get All Contacts on a List",
63
+ description: "Tool to retrieve all contacts from a specified contact list with pagination support. Use when you need to get contacts from a list, with optional pagination using start offset and limit parameters.",
64
+ input: PostalyticsGetAllContactsOnAListInput,
65
+ output: PostalyticsGetAllContactsOnAListOutput
66
+ });
67
+ //#endregion
68
+ exports.postalyticsGetAllContactsOnAList = postalyticsGetAllContactsOnAList;
69
+
70
+ //# sourceMappingURL=get-all-contacts-on-a-list.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-all-contacts-on-a-list.cjs","names":["z","action"],"sources":["../../src/actions/get-all-contacts-on-a-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostalyticsGetAllContactsOnAListInput: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Maximum number of contacts to return per page. Controls pagination page size.\").optional(),\n start: z.number().int().describe(\"Pagination offset for retrieving contacts. Use 0 for the first page.\").optional(),\n list_id: z.number().int().describe(\"The unique identifier of the contact list to retrieve contacts from.\"),\n}).describe(\"Request model for retrieving all contacts from a specific contact list.\");\nconst PostalyticsGetAllContactsOnAList_ContactSchema: z.ZodTypeAny = z.object({\n zip: z.string().describe(\"ZIP or postal code (5-9 digits).\").nullable().optional(),\n city: z.string().describe(\"City name (max 50 characters).\").nullable().optional(),\n var1: z.string().describe(\"Custom variable field 1 (max 255 characters).\").nullable().optional(),\n var2: z.string().describe(\"Custom variable field 2 (max 255 characters).\").nullable().optional(),\n var3: z.string().describe(\"Custom variable field 3 (max 255 characters).\").nullable().optional(),\n var4: z.string().describe(\"Custom variable field 4 (max 255 characters).\").nullable().optional(),\n var5: z.string().describe(\"Custom variable field 5 (max 255 characters).\").nullable().optional(),\n var6: z.string().describe(\"Custom variable field 6 (max 255 characters).\").nullable().optional(),\n var7: z.string().describe(\"Custom variable field 7 (max 255 characters).\").nullable().optional(),\n var8: z.string().describe(\"Custom variable field 8 (max 255 characters).\").nullable().optional(),\n var9: z.string().describe(\"Custom variable field 9 (max 255 characters).\").nullable().optional(),\n email: z.string().describe(\"Contact's email address (max 100 characters).\").nullable().optional(),\n phone: z.string().describe(\"Phone number (max 50 characters).\").nullable().optional(),\n state: z.string().describe(\"State code, typically 2 characters (e.g., 'CA', 'NY').\").nullable().optional(),\n var10: z.string().describe(\"Custom variable field 10 (max 255 characters).\").nullable().optional(),\n var11: z.string().describe(\"Custom variable field 11 (max 255 characters).\").nullable().optional(),\n var12: z.string().describe(\"Custom variable field 12 (max 255 characters).\").nullable().optional(),\n var13: z.string().describe(\"Custom variable field 13 (max 255 characters).\").nullable().optional(),\n var14: z.string().describe(\"Custom variable field 14 (max 255 characters).\").nullable().optional(),\n var15: z.string().describe(\"Custom variable field 15 (max 255 characters).\").nullable().optional(),\n var16: z.string().describe(\"Custom variable field 16 (max 255 characters).\").nullable().optional(),\n var17: z.string().describe(\"Custom variable field 17 (max 255 characters).\").nullable().optional(),\n var18: z.string().describe(\"Custom variable field 18 (max 255 characters).\").nullable().optional(),\n var19: z.string().describe(\"Custom variable field 19 (max 255 characters).\").nullable().optional(),\n var20: z.string().describe(\"Custom variable field 20 (max 255 characters).\").nullable().optional(),\n var21: z.string().describe(\"Custom variable field 21 (max 255 characters).\").nullable().optional(),\n var22: z.string().describe(\"Custom variable field 22 (max 255 characters).\").nullable().optional(),\n var23: z.string().describe(\"Custom variable field 23 (max 255 characters).\").nullable().optional(),\n var24: z.string().describe(\"Custom variable field 24 (max 255 characters).\").nullable().optional(),\n var25: z.string().describe(\"Custom variable field 25 (max 255 characters).\").nullable().optional(),\n var26: z.string().describe(\"Custom variable field 26 (max 255 characters).\").nullable().optional(),\n var27: z.string().describe(\"Custom variable field 27 (max 255 characters).\").nullable().optional(),\n var28: z.string().describe(\"Custom variable field 28 (max 255 characters).\").nullable().optional(),\n var29: z.string().describe(\"Custom variable field 29 (max 255 characters).\").nullable().optional(),\n var30: z.string().describe(\"Custom variable field 30 (max 255 characters).\").nullable().optional(),\n var31: z.string().describe(\"Custom variable field 31 (max 255 characters).\").nullable().optional(),\n var32: z.string().describe(\"Custom variable field 32 (max 255 characters).\").nullable().optional(),\n var33: z.string().describe(\"Custom variable field 33 (max 255 characters).\").nullable().optional(),\n var34: z.string().describe(\"Custom variable field 34 (max 255 characters).\").nullable().optional(),\n var35: z.string().describe(\"Custom variable field 35 (max 255 characters).\").nullable().optional(),\n mobile: z.string().describe(\"Mobile phone number (max 50 characters).\").nullable().optional(),\n address: z.string().describe(\"Street address (max 64 characters).\").nullable().optional(),\n company: z.string().describe(\"Company or organization name (max 40 characters).\").nullable().optional(),\n website: z.string().describe(\"Website URL (max 500 characters).\").nullable().optional(),\n address_2: z.string().describe(\"Secondary address line for apartment or suite (max 64 characters).\").nullable().optional(),\n last_name: z.string().describe(\"Contact's last name (max 20 characters).\").nullable().optional(),\n first_name: z.string().describe(\"Contact's first name (max 20 characters).\").nullable().optional(),\n occupation: z.string().describe(\"Occupation (max 255 characters).\").nullable().optional(),\n}).describe(\"Model representing a single contact from the contact list.\");\nexport const PostalyticsGetAllContactsOnAListOutput: z.ZodTypeAny = z.object({\n contacts: z.array(PostalyticsGetAllContactsOnAList_ContactSchema).describe(\"Array of contacts from the specified contact list.\"),\n}).describe(\"Response model containing all contacts from the specified list.\");\n\nexport const postalyticsGetAllContactsOnAList = action(\"POSTALYTICS_GET_ALL_CONTACTS_ON_A_LIST\", {\n slug: \"postalytics-get-all-contacts-on-a-list\",\n name: \"Get All Contacts on a List\",\n description: \"Tool to retrieve all contacts from a specified contact list with pagination support. Use when you need to get contacts from a list, with optional pagination using start offset and limit parameters.\",\n input: PostalyticsGetAllContactsOnAListInput,\n output: PostalyticsGetAllContactsOnAListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsDA,IAAAA,EAAE,OAAO;CAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC3H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAClH,SAASA,IAAAA,EAAE,OAAO,CAAC,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/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-all-contacts-on-a-list.d.ts
4
+ declare const PostalyticsGetAllContactsOnAListInput: z.ZodTypeAny;
5
+ declare const PostalyticsGetAllContactsOnAListOutput: z.ZodTypeAny;
6
+ declare const postalyticsGetAllContactsOnAList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { postalyticsGetAllContactsOnAList };
9
+ //# sourceMappingURL=get-all-contacts-on-a-list.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-all-contacts-on-a-list.d.cts","names":[],"sources":["../../src/actions/get-all-contacts-on-a-list.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAIgC;AAAA,cAmDzE,sCAAA,EAAwC,CAAA,CAAE,UAEuB;AAAA,cAEjE,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-all-contacts-on-a-list.d.ts
4
+ declare const PostalyticsGetAllContactsOnAListInput: z.ZodTypeAny;
5
+ declare const PostalyticsGetAllContactsOnAListOutput: z.ZodTypeAny;
6
+ declare const postalyticsGetAllContactsOnAList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { postalyticsGetAllContactsOnAList };
9
+ //# sourceMappingURL=get-all-contacts-on-a-list.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-all-contacts-on-a-list.d.mts","names":[],"sources":["../../src/actions/get-all-contacts-on-a-list.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAIgC;AAAA,cAmDzE,sCAAA,EAAwC,CAAA,CAAE,UAEuB;AAAA,cAEjE,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,69 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-all-contacts-on-a-list.ts
4
+ const PostalyticsGetAllContactsOnAListInput = z.object({
5
+ limit: z.number().int().describe("Maximum number of contacts to return per page. Controls pagination page size.").optional(),
6
+ start: z.number().int().describe("Pagination offset for retrieving contacts. Use 0 for the first page.").optional(),
7
+ list_id: z.number().int().describe("The unique identifier of the contact list to retrieve contacts from.")
8
+ }).describe("Request model for retrieving all contacts from a specific contact list.");
9
+ const PostalyticsGetAllContactsOnAList_ContactSchema = z.object({
10
+ zip: z.string().describe("ZIP or postal code (5-9 digits).").nullable().optional(),
11
+ city: z.string().describe("City name (max 50 characters).").nullable().optional(),
12
+ var1: z.string().describe("Custom variable field 1 (max 255 characters).").nullable().optional(),
13
+ var2: z.string().describe("Custom variable field 2 (max 255 characters).").nullable().optional(),
14
+ var3: z.string().describe("Custom variable field 3 (max 255 characters).").nullable().optional(),
15
+ var4: z.string().describe("Custom variable field 4 (max 255 characters).").nullable().optional(),
16
+ var5: z.string().describe("Custom variable field 5 (max 255 characters).").nullable().optional(),
17
+ var6: z.string().describe("Custom variable field 6 (max 255 characters).").nullable().optional(),
18
+ var7: z.string().describe("Custom variable field 7 (max 255 characters).").nullable().optional(),
19
+ var8: z.string().describe("Custom variable field 8 (max 255 characters).").nullable().optional(),
20
+ var9: z.string().describe("Custom variable field 9 (max 255 characters).").nullable().optional(),
21
+ email: z.string().describe("Contact's email address (max 100 characters).").nullable().optional(),
22
+ phone: z.string().describe("Phone number (max 50 characters).").nullable().optional(),
23
+ state: z.string().describe("State code, typically 2 characters (e.g., 'CA', 'NY').").nullable().optional(),
24
+ var10: z.string().describe("Custom variable field 10 (max 255 characters).").nullable().optional(),
25
+ var11: z.string().describe("Custom variable field 11 (max 255 characters).").nullable().optional(),
26
+ var12: z.string().describe("Custom variable field 12 (max 255 characters).").nullable().optional(),
27
+ var13: z.string().describe("Custom variable field 13 (max 255 characters).").nullable().optional(),
28
+ var14: z.string().describe("Custom variable field 14 (max 255 characters).").nullable().optional(),
29
+ var15: z.string().describe("Custom variable field 15 (max 255 characters).").nullable().optional(),
30
+ var16: z.string().describe("Custom variable field 16 (max 255 characters).").nullable().optional(),
31
+ var17: z.string().describe("Custom variable field 17 (max 255 characters).").nullable().optional(),
32
+ var18: z.string().describe("Custom variable field 18 (max 255 characters).").nullable().optional(),
33
+ var19: z.string().describe("Custom variable field 19 (max 255 characters).").nullable().optional(),
34
+ var20: z.string().describe("Custom variable field 20 (max 255 characters).").nullable().optional(),
35
+ var21: z.string().describe("Custom variable field 21 (max 255 characters).").nullable().optional(),
36
+ var22: z.string().describe("Custom variable field 22 (max 255 characters).").nullable().optional(),
37
+ var23: z.string().describe("Custom variable field 23 (max 255 characters).").nullable().optional(),
38
+ var24: z.string().describe("Custom variable field 24 (max 255 characters).").nullable().optional(),
39
+ var25: z.string().describe("Custom variable field 25 (max 255 characters).").nullable().optional(),
40
+ var26: z.string().describe("Custom variable field 26 (max 255 characters).").nullable().optional(),
41
+ var27: z.string().describe("Custom variable field 27 (max 255 characters).").nullable().optional(),
42
+ var28: z.string().describe("Custom variable field 28 (max 255 characters).").nullable().optional(),
43
+ var29: z.string().describe("Custom variable field 29 (max 255 characters).").nullable().optional(),
44
+ var30: z.string().describe("Custom variable field 30 (max 255 characters).").nullable().optional(),
45
+ var31: z.string().describe("Custom variable field 31 (max 255 characters).").nullable().optional(),
46
+ var32: z.string().describe("Custom variable field 32 (max 255 characters).").nullable().optional(),
47
+ var33: z.string().describe("Custom variable field 33 (max 255 characters).").nullable().optional(),
48
+ var34: z.string().describe("Custom variable field 34 (max 255 characters).").nullable().optional(),
49
+ var35: z.string().describe("Custom variable field 35 (max 255 characters).").nullable().optional(),
50
+ mobile: z.string().describe("Mobile phone number (max 50 characters).").nullable().optional(),
51
+ address: z.string().describe("Street address (max 64 characters).").nullable().optional(),
52
+ company: z.string().describe("Company or organization name (max 40 characters).").nullable().optional(),
53
+ website: z.string().describe("Website URL (max 500 characters).").nullable().optional(),
54
+ address_2: z.string().describe("Secondary address line for apartment or suite (max 64 characters).").nullable().optional(),
55
+ last_name: z.string().describe("Contact's last name (max 20 characters).").nullable().optional(),
56
+ first_name: z.string().describe("Contact's first name (max 20 characters).").nullable().optional(),
57
+ occupation: z.string().describe("Occupation (max 255 characters).").nullable().optional()
58
+ }).describe("Model representing a single contact from the contact list.");
59
+ const postalyticsGetAllContactsOnAList = action("POSTALYTICS_GET_ALL_CONTACTS_ON_A_LIST", {
60
+ slug: "postalytics-get-all-contacts-on-a-list",
61
+ name: "Get All Contacts on a List",
62
+ description: "Tool to retrieve all contacts from a specified contact list with pagination support. Use when you need to get contacts from a list, with optional pagination using start offset and limit parameters.",
63
+ input: PostalyticsGetAllContactsOnAListInput,
64
+ output: z.object({ contacts: z.array(PostalyticsGetAllContactsOnAList_ContactSchema).describe("Array of contacts from the specified contact list.") }).describe("Response model containing all contacts from the specified list.")
65
+ });
66
+ //#endregion
67
+ export { postalyticsGetAllContactsOnAList };
68
+
69
+ //# sourceMappingURL=get-all-contacts-on-a-list.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-all-contacts-on-a-list.mjs","names":[],"sources":["../../src/actions/get-all-contacts-on-a-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostalyticsGetAllContactsOnAListInput: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Maximum number of contacts to return per page. Controls pagination page size.\").optional(),\n start: z.number().int().describe(\"Pagination offset for retrieving contacts. Use 0 for the first page.\").optional(),\n list_id: z.number().int().describe(\"The unique identifier of the contact list to retrieve contacts from.\"),\n}).describe(\"Request model for retrieving all contacts from a specific contact list.\");\nconst PostalyticsGetAllContactsOnAList_ContactSchema: z.ZodTypeAny = z.object({\n zip: z.string().describe(\"ZIP or postal code (5-9 digits).\").nullable().optional(),\n city: z.string().describe(\"City name (max 50 characters).\").nullable().optional(),\n var1: z.string().describe(\"Custom variable field 1 (max 255 characters).\").nullable().optional(),\n var2: z.string().describe(\"Custom variable field 2 (max 255 characters).\").nullable().optional(),\n var3: z.string().describe(\"Custom variable field 3 (max 255 characters).\").nullable().optional(),\n var4: z.string().describe(\"Custom variable field 4 (max 255 characters).\").nullable().optional(),\n var5: z.string().describe(\"Custom variable field 5 (max 255 characters).\").nullable().optional(),\n var6: z.string().describe(\"Custom variable field 6 (max 255 characters).\").nullable().optional(),\n var7: z.string().describe(\"Custom variable field 7 (max 255 characters).\").nullable().optional(),\n var8: z.string().describe(\"Custom variable field 8 (max 255 characters).\").nullable().optional(),\n var9: z.string().describe(\"Custom variable field 9 (max 255 characters).\").nullable().optional(),\n email: z.string().describe(\"Contact's email address (max 100 characters).\").nullable().optional(),\n phone: z.string().describe(\"Phone number (max 50 characters).\").nullable().optional(),\n state: z.string().describe(\"State code, typically 2 characters (e.g., 'CA', 'NY').\").nullable().optional(),\n var10: z.string().describe(\"Custom variable field 10 (max 255 characters).\").nullable().optional(),\n var11: z.string().describe(\"Custom variable field 11 (max 255 characters).\").nullable().optional(),\n var12: z.string().describe(\"Custom variable field 12 (max 255 characters).\").nullable().optional(),\n var13: z.string().describe(\"Custom variable field 13 (max 255 characters).\").nullable().optional(),\n var14: z.string().describe(\"Custom variable field 14 (max 255 characters).\").nullable().optional(),\n var15: z.string().describe(\"Custom variable field 15 (max 255 characters).\").nullable().optional(),\n var16: z.string().describe(\"Custom variable field 16 (max 255 characters).\").nullable().optional(),\n var17: z.string().describe(\"Custom variable field 17 (max 255 characters).\").nullable().optional(),\n var18: z.string().describe(\"Custom variable field 18 (max 255 characters).\").nullable().optional(),\n var19: z.string().describe(\"Custom variable field 19 (max 255 characters).\").nullable().optional(),\n var20: z.string().describe(\"Custom variable field 20 (max 255 characters).\").nullable().optional(),\n var21: z.string().describe(\"Custom variable field 21 (max 255 characters).\").nullable().optional(),\n var22: z.string().describe(\"Custom variable field 22 (max 255 characters).\").nullable().optional(),\n var23: z.string().describe(\"Custom variable field 23 (max 255 characters).\").nullable().optional(),\n var24: z.string().describe(\"Custom variable field 24 (max 255 characters).\").nullable().optional(),\n var25: z.string().describe(\"Custom variable field 25 (max 255 characters).\").nullable().optional(),\n var26: z.string().describe(\"Custom variable field 26 (max 255 characters).\").nullable().optional(),\n var27: z.string().describe(\"Custom variable field 27 (max 255 characters).\").nullable().optional(),\n var28: z.string().describe(\"Custom variable field 28 (max 255 characters).\").nullable().optional(),\n var29: z.string().describe(\"Custom variable field 29 (max 255 characters).\").nullable().optional(),\n var30: z.string().describe(\"Custom variable field 30 (max 255 characters).\").nullable().optional(),\n var31: z.string().describe(\"Custom variable field 31 (max 255 characters).\").nullable().optional(),\n var32: z.string().describe(\"Custom variable field 32 (max 255 characters).\").nullable().optional(),\n var33: z.string().describe(\"Custom variable field 33 (max 255 characters).\").nullable().optional(),\n var34: z.string().describe(\"Custom variable field 34 (max 255 characters).\").nullable().optional(),\n var35: z.string().describe(\"Custom variable field 35 (max 255 characters).\").nullable().optional(),\n mobile: z.string().describe(\"Mobile phone number (max 50 characters).\").nullable().optional(),\n address: z.string().describe(\"Street address (max 64 characters).\").nullable().optional(),\n company: z.string().describe(\"Company or organization name (max 40 characters).\").nullable().optional(),\n website: z.string().describe(\"Website URL (max 500 characters).\").nullable().optional(),\n address_2: z.string().describe(\"Secondary address line for apartment or suite (max 64 characters).\").nullable().optional(),\n last_name: z.string().describe(\"Contact's last name (max 20 characters).\").nullable().optional(),\n first_name: z.string().describe(\"Contact's first name (max 20 characters).\").nullable().optional(),\n occupation: z.string().describe(\"Occupation (max 255 characters).\").nullable().optional(),\n}).describe(\"Model representing a single contact from the contact list.\");\nexport const PostalyticsGetAllContactsOnAListOutput: z.ZodTypeAny = z.object({\n contacts: z.array(PostalyticsGetAllContactsOnAList_ContactSchema).describe(\"Array of contacts from the specified contact list.\"),\n}).describe(\"Response model containing all contacts from the specified list.\");\n\nexport const postalyticsGetAllContactsOnAList = action(\"POSTALYTICS_GET_ALL_CONTACTS_ON_A_LIST\", {\n slug: \"postalytics-get-all-contacts-on-a-list\",\n name: \"Get All Contacts on a List\",\n description: \"Tool to retrieve all contacts from a specified contact list with pagination support. Use when you need to get contacts from a list, with optional pagination using start offset and limit parameters.\",\n input: PostalyticsGetAllContactsOnAListInput,\n output: PostalyticsGetAllContactsOnAListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsD,EAAE,OAAO;CAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC3H,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAClH,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE;AAC3G,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,iDAA+D,EAAE,OAAO;CAC5E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,MAAM,EAA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SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAKxE,MAAa,mCAAmC,OAAO,0CAA0C;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkE,EAAE,OAAO,EAC3E,UAAU,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,oDAAoD,EACjI,CAAC,CAAC,CAAC,SAAS,iEAOF;AACV,CAAC"}
@@ -0,0 +1,20 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-all-drip-campaigns.ts
4
+ const PostalyticsGetAllDripCampaignsInput = zod.z.object({}).describe("Request model for retrieving all drip campaigns. No parameters are required.");
5
+ const PostalyticsGetAllDripCampaigns_DripCampaignItemSchema = zod.z.object({
6
+ name: zod.z.string().describe("The name of the drip campaign.").nullable().optional(),
7
+ endpoint_id: zod.z.string().describe("The unique identifier for the endpoint associated with the drip campaign.").nullable().optional()
8
+ }).describe("Represents a single drip campaign with its endpoint ID and name.");
9
+ const PostalyticsGetAllDripCampaignsOutput = zod.z.object({ campaigns: zod.z.array(PostalyticsGetAllDripCampaigns_DripCampaignItemSchema).describe("List of all triggered drip campaigns in the account.") }).describe("Response model for retrieving all drip campaigns.");
10
+ const postalyticsGetAllDripCampaigns = require_action.action("POSTALYTICS_GET_ALL_DRIP_CAMPAIGNS", {
11
+ slug: "postalytics-get-all-drip-campaigns",
12
+ name: "Get All Drip Campaigns",
13
+ description: "Tool to retrieve all triggered drip campaign names and endpoint IDs in the account. Use when you need to list all available drip campaigns for the authenticated user.",
14
+ input: PostalyticsGetAllDripCampaignsInput,
15
+ output: PostalyticsGetAllDripCampaignsOutput
16
+ });
17
+ //#endregion
18
+ exports.postalyticsGetAllDripCampaigns = postalyticsGetAllDripCampaigns;
19
+
20
+ //# sourceMappingURL=get-all-drip-campaigns.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-all-drip-campaigns.cjs","names":["z","action"],"sources":["../../src/actions/get-all-drip-campaigns.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostalyticsGetAllDripCampaignsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving all drip campaigns. No parameters are required.\");\nconst PostalyticsGetAllDripCampaigns_DripCampaignItemSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the drip campaign.\").nullable().optional(),\n endpoint_id: z.string().describe(\"The unique identifier for the endpoint associated with the drip campaign.\").nullable().optional(),\n}).describe(\"Represents a single drip campaign with its endpoint ID and name.\");\nexport const PostalyticsGetAllDripCampaignsOutput: z.ZodTypeAny = z.object({\n campaigns: z.array(PostalyticsGetAllDripCampaigns_DripCampaignItemSchema).describe(\"List of all triggered drip campaigns in the account.\"),\n}).describe(\"Response model for retrieving all drip campaigns.\");\n\nexport const postalyticsGetAllDripCampaigns = action(\"POSTALYTICS_GET_ALL_DRIP_CAMPAIGNS\", {\n slug: \"postalytics-get-all-drip-campaigns\",\n name: \"Get All Drip Campaigns\",\n description: \"Tool to retrieve all triggered drip campaign names and endpoint IDs in the account. Use when you need to list all available drip campaigns for the authenticated user.\",\n input: PostalyticsGetAllDripCampaignsInput,\n output: PostalyticsGetAllDripCampaignsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoDA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8EAA8E;AACrK,MAAM,wDAAsEA,IAAAA,EAAE,OAAO;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAa,uCAAqDA,IAAAA,EAAE,OAAO,EACzE,WAAWA,IAAAA,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,sDAAsD,EAC3I,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAE/D,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-all-drip-campaigns.d.ts
4
+ declare const PostalyticsGetAllDripCampaignsInput: z.ZodTypeAny;
5
+ declare const PostalyticsGetAllDripCampaignsOutput: z.ZodTypeAny;
6
+ declare const postalyticsGetAllDripCampaigns: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { postalyticsGetAllDripCampaigns };
9
+ //# sourceMappingURL=get-all-drip-campaigns.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-all-drip-campaigns.d.cts","names":[],"sources":["../../src/actions/get-all-drip-campaigns.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAAkH;AAAA,cAKzJ,oCAAA,EAAsC,CAAA,CAAE,UAEW;AAAA,cAEnD,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-all-drip-campaigns.d.ts
4
+ declare const PostalyticsGetAllDripCampaignsInput: z.ZodTypeAny;
5
+ declare const PostalyticsGetAllDripCampaignsOutput: z.ZodTypeAny;
6
+ declare const postalyticsGetAllDripCampaigns: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { postalyticsGetAllDripCampaigns };
9
+ //# sourceMappingURL=get-all-drip-campaigns.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-all-drip-campaigns.d.mts","names":[],"sources":["../../src/actions/get-all-drip-campaigns.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAAkH;AAAA,cAKzJ,oCAAA,EAAsC,CAAA,CAAE,UAEW;AAAA,cAEnD,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,19 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-all-drip-campaigns.ts
4
+ const PostalyticsGetAllDripCampaignsInput = z.object({}).describe("Request model for retrieving all drip campaigns. No parameters are required.");
5
+ const PostalyticsGetAllDripCampaigns_DripCampaignItemSchema = z.object({
6
+ name: z.string().describe("The name of the drip campaign.").nullable().optional(),
7
+ endpoint_id: z.string().describe("The unique identifier for the endpoint associated with the drip campaign.").nullable().optional()
8
+ }).describe("Represents a single drip campaign with its endpoint ID and name.");
9
+ const postalyticsGetAllDripCampaigns = action("POSTALYTICS_GET_ALL_DRIP_CAMPAIGNS", {
10
+ slug: "postalytics-get-all-drip-campaigns",
11
+ name: "Get All Drip Campaigns",
12
+ description: "Tool to retrieve all triggered drip campaign names and endpoint IDs in the account. Use when you need to list all available drip campaigns for the authenticated user.",
13
+ input: PostalyticsGetAllDripCampaignsInput,
14
+ output: z.object({ campaigns: z.array(PostalyticsGetAllDripCampaigns_DripCampaignItemSchema).describe("List of all triggered drip campaigns in the account.") }).describe("Response model for retrieving all drip campaigns.")
15
+ });
16
+ //#endregion
17
+ export { postalyticsGetAllDripCampaigns };
18
+
19
+ //# sourceMappingURL=get-all-drip-campaigns.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-all-drip-campaigns.mjs","names":[],"sources":["../../src/actions/get-all-drip-campaigns.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostalyticsGetAllDripCampaignsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving all drip campaigns. No parameters are required.\");\nconst PostalyticsGetAllDripCampaigns_DripCampaignItemSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the drip campaign.\").nullable().optional(),\n endpoint_id: z.string().describe(\"The unique identifier for the endpoint associated with the drip campaign.\").nullable().optional(),\n}).describe(\"Represents a single drip campaign with its endpoint ID and name.\");\nexport const PostalyticsGetAllDripCampaignsOutput: z.ZodTypeAny = z.object({\n campaigns: z.array(PostalyticsGetAllDripCampaigns_DripCampaignItemSchema).describe(\"List of all triggered drip campaigns in the account.\"),\n}).describe(\"Response model for retrieving all drip campaigns.\");\n\nexport const postalyticsGetAllDripCampaigns = action(\"POSTALYTICS_GET_ALL_DRIP_CAMPAIGNS\", {\n slug: \"postalytics-get-all-drip-campaigns\",\n name: \"Get All Drip Campaigns\",\n description: \"Tool to retrieve all triggered drip campaign names and endpoint IDs in the account. Use when you need to list all available drip campaigns for the authenticated user.\",\n input: PostalyticsGetAllDripCampaignsInput,\n output: PostalyticsGetAllDripCampaignsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8EAA8E;AACrK,MAAM,wDAAsE,EAAE,OAAO;CACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAK9E,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATgE,EAAE,OAAO,EACzE,WAAW,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,sDAAsD,EAC3I,CAAC,CAAC,CAAC,SAAS,mDAOF;AACV,CAAC"}
@@ -0,0 +1,25 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-all-flows.ts
4
+ const PostalyticsGetAllFlowsInput = zod.z.object({}).describe("Request model for retrieving all flows. No parameters are required.");
5
+ const PostalyticsGetAllFlows_FlowSchema = zod.z.object({
6
+ name: zod.z.string().describe("The name of the flow").nullable().optional(),
7
+ flowId: zod.z.number().int().describe("The id of the flow").nullable().optional(),
8
+ isActive: zod.z.boolean().describe("Active status of the flow. 1 = published and active, 0 = draft mode").nullable().optional(),
9
+ createDate: zod.z.string().describe("The date and time when the flow was created").nullable().optional(),
10
+ endpointId: zod.z.string().describe("The endpointId of the flow").nullable().optional(),
11
+ contactListId: zod.z.number().int().describe("The id of the contactlist associated with this flow").nullable().optional(),
12
+ lastModifiedDate: zod.z.string().describe("The date and time when the flow was last modified").nullable().optional()
13
+ }).describe("Model representing a single flow object.");
14
+ const PostalyticsGetAllFlowsOutput = zod.z.object({ flows: zod.z.array(PostalyticsGetAllFlows_FlowSchema).describe("List of all flows") }).describe("Response model for retrieving all flows. Returns an array of Flow objects.");
15
+ const postalyticsGetAllFlows = require_action.action("POSTALYTICS_GET_ALL_FLOWS", {
16
+ slug: "postalytics-get-all-flows",
17
+ name: "Get All Flows",
18
+ description: "Tool to retrieve all flows for the requester's account. Use when you need to list or browse available flows.",
19
+ input: PostalyticsGetAllFlowsInput,
20
+ output: PostalyticsGetAllFlowsOutput
21
+ });
22
+ //#endregion
23
+ exports.postalyticsGetAllFlows = postalyticsGetAllFlows;
24
+
25
+ //# sourceMappingURL=get-all-flows.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-all-flows.cjs","names":["z","action"],"sources":["../../src/actions/get-all-flows.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostalyticsGetAllFlowsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving all flows. No parameters are required.\");\nconst PostalyticsGetAllFlows_FlowSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the flow\").nullable().optional(),\n flowId: z.number().int().describe(\"The id of the flow\").nullable().optional(),\n isActive: z.boolean().describe(\"Active status of the flow. 1 = published and active, 0 = draft mode\").nullable().optional(),\n createDate: z.string().describe(\"The date and time when the flow was created\").nullable().optional(),\n endpointId: z.string().describe(\"The endpointId of the flow\").nullable().optional(),\n contactListId: z.number().int().describe(\"The id of the contactlist associated with this flow\").nullable().optional(),\n lastModifiedDate: z.string().describe(\"The date and time when the flow was last modified\").nullable().optional(),\n}).describe(\"Model representing a single flow object.\");\nexport const PostalyticsGetAllFlowsOutput: z.ZodTypeAny = z.object({\n flows: z.array(PostalyticsGetAllFlows_FlowSchema).describe(\"List of all flows\"),\n}).describe(\"Response model for retrieving all flows. Returns an array of Flow objects.\");\n\nexport const postalyticsGetAllFlows = action(\"POSTALYTICS_GET_ALL_FLOWS\", {\n slug: \"postalytics-get-all-flows\",\n name: \"Get All Flows\",\n description: \"Tool to retrieve all flows for the requester's account. Use when you need to list or browse available flows.\",\n input: PostalyticsGetAllFlowsInput,\n output: PostalyticsGetAllFlowsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACpJ,MAAM,oCAAkDA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,EACjE,OAAOA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,mBAAmB,EAChF,CAAC,CAAC,CAAC,SAAS,4EAA4E;AAExF,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-all-flows.d.ts
4
+ declare const PostalyticsGetAllFlowsInput: z.ZodTypeAny;
5
+ declare const PostalyticsGetAllFlowsOutput: z.ZodTypeAny;
6
+ declare const postalyticsGetAllFlows: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { postalyticsGetAllFlows };
9
+ //# sourceMappingURL=get-all-flows.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-all-flows.d.cts","names":[],"sources":["../../src/actions/get-all-flows.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAAyG;AAAA,cAUxI,4BAAA,EAA8B,CAAA,CAAE,UAE4C;AAAA,cAE5E,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-all-flows.d.ts
4
+ declare const PostalyticsGetAllFlowsInput: z.ZodTypeAny;
5
+ declare const PostalyticsGetAllFlowsOutput: z.ZodTypeAny;
6
+ declare const postalyticsGetAllFlows: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { postalyticsGetAllFlows };
9
+ //# sourceMappingURL=get-all-flows.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-all-flows.d.mts","names":[],"sources":["../../src/actions/get-all-flows.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAAyG;AAAA,cAUxI,4BAAA,EAA8B,CAAA,CAAE,UAE4C;AAAA,cAE5E,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,24 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-all-flows.ts
4
+ const PostalyticsGetAllFlowsInput = z.object({}).describe("Request model for retrieving all flows. No parameters are required.");
5
+ const PostalyticsGetAllFlows_FlowSchema = z.object({
6
+ name: z.string().describe("The name of the flow").nullable().optional(),
7
+ flowId: z.number().int().describe("The id of the flow").nullable().optional(),
8
+ isActive: z.boolean().describe("Active status of the flow. 1 = published and active, 0 = draft mode").nullable().optional(),
9
+ createDate: z.string().describe("The date and time when the flow was created").nullable().optional(),
10
+ endpointId: z.string().describe("The endpointId of the flow").nullable().optional(),
11
+ contactListId: z.number().int().describe("The id of the contactlist associated with this flow").nullable().optional(),
12
+ lastModifiedDate: z.string().describe("The date and time when the flow was last modified").nullable().optional()
13
+ }).describe("Model representing a single flow object.");
14
+ const postalyticsGetAllFlows = action("POSTALYTICS_GET_ALL_FLOWS", {
15
+ slug: "postalytics-get-all-flows",
16
+ name: "Get All Flows",
17
+ description: "Tool to retrieve all flows for the requester's account. Use when you need to list or browse available flows.",
18
+ input: PostalyticsGetAllFlowsInput,
19
+ output: z.object({ flows: z.array(PostalyticsGetAllFlows_FlowSchema).describe("List of all flows") }).describe("Response model for retrieving all flows. Returns an array of Flow objects.")
20
+ });
21
+ //#endregion
22
+ export { postalyticsGetAllFlows };
23
+
24
+ //# sourceMappingURL=get-all-flows.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-all-flows.mjs","names":[],"sources":["../../src/actions/get-all-flows.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostalyticsGetAllFlowsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving all flows. No parameters are required.\");\nconst PostalyticsGetAllFlows_FlowSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the flow\").nullable().optional(),\n flowId: z.number().int().describe(\"The id of the flow\").nullable().optional(),\n isActive: z.boolean().describe(\"Active status of the flow. 1 = published and active, 0 = draft mode\").nullable().optional(),\n createDate: z.string().describe(\"The date and time when the flow was created\").nullable().optional(),\n endpointId: z.string().describe(\"The endpointId of the flow\").nullable().optional(),\n contactListId: z.number().int().describe(\"The id of the contactlist associated with this flow\").nullable().optional(),\n lastModifiedDate: z.string().describe(\"The date and time when the flow was last modified\").nullable().optional(),\n}).describe(\"Model representing a single flow object.\");\nexport const PostalyticsGetAllFlowsOutput: z.ZodTypeAny = z.object({\n flows: z.array(PostalyticsGetAllFlows_FlowSchema).describe(\"List of all flows\"),\n}).describe(\"Response model for retrieving all flows. Returns an array of Flow objects.\");\n\nexport const postalyticsGetAllFlows = action(\"POSTALYTICS_GET_ALL_FLOWS\", {\n slug: \"postalytics-get-all-flows\",\n name: \"Get All Flows\",\n description: \"Tool to retrieve all flows for the requester's account. Use when you need to list or browse available flows.\",\n input: PostalyticsGetAllFlowsInput,\n output: PostalyticsGetAllFlowsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACpJ,MAAM,oCAAkD,EAAE,OAAO;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAKtD,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwD,EAAE,OAAO,EACjE,OAAO,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,mBAAmB,EAChF,CAAC,CAAC,CAAC,SAAS,4EAOF;AACV,CAAC"}
@@ -0,0 +1,23 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-all-webhooks.ts
4
+ const PostalyticsGetAllWebhooksInput = zod.z.object({}).describe("Request model for retrieving all webhooks. No parameters are required.");
5
+ const PostalyticsGetAllWebhooks_WebhookSchema = zod.z.object({
6
+ url: zod.z.string().describe("Destination URL that receives webhook event notifications").nullable().optional(),
7
+ campaign_id: zod.z.string().describe("Unique identifier for the associated campaign").nullable().optional(),
8
+ created_date: zod.z.string().describe("ISO 8601 timestamp indicating when the webhook was created").nullable().optional(),
9
+ campaign_name: zod.z.string().describe("Human-readable name of the campaign").nullable().optional(),
10
+ is_subscribed: zod.z.number().int().describe("Webhook subscription status (1=enabled, 0=disabled)").nullable().optional()
11
+ }).describe("Model representing a single webhook object.");
12
+ const PostalyticsGetAllWebhooksOutput = zod.z.object({ webhooks: zod.z.array(PostalyticsGetAllWebhooks_WebhookSchema).describe("List of all webhooks configured for the account").nullable().optional() }).describe("Response model for retrieving all webhooks. Returns an array of webhook objects.");
13
+ const postalyticsGetAllWebhooks = require_action.action("POSTALYTICS_GET_ALL_WEBHOOKS", {
14
+ slug: "postalytics-get-all-webhooks",
15
+ name: "Get All Webhooks",
16
+ description: "Tool to retrieve all webhooks configured for the authenticated account. Use when you need to view webhook configurations for campaigns.",
17
+ input: PostalyticsGetAllWebhooksInput,
18
+ output: PostalyticsGetAllWebhooksOutput
19
+ });
20
+ //#endregion
21
+ exports.postalyticsGetAllWebhooks = postalyticsGetAllWebhooks;
22
+
23
+ //# sourceMappingURL=get-all-webhooks.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-all-webhooks.cjs","names":["z","action"],"sources":["../../src/actions/get-all-webhooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostalyticsGetAllWebhooksInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving all webhooks. No parameters are required.\");\nconst PostalyticsGetAllWebhooks_WebhookSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"Destination URL that receives webhook event notifications\").nullable().optional(),\n campaign_id: z.string().describe(\"Unique identifier for the associated campaign\").nullable().optional(),\n created_date: z.string().describe(\"ISO 8601 timestamp indicating when the webhook was created\").nullable().optional(),\n campaign_name: z.string().describe(\"Human-readable name of the campaign\").nullable().optional(),\n is_subscribed: z.number().int().describe(\"Webhook subscription status (1=enabled, 0=disabled)\").nullable().optional(),\n}).describe(\"Model representing a single webhook object.\");\nexport const PostalyticsGetAllWebhooksOutput: z.ZodTypeAny = z.object({\n webhooks: z.array(PostalyticsGetAllWebhooks_WebhookSchema).describe(\"List of all webhooks configured for the account\").nullable().optional(),\n}).describe(\"Response model for retrieving all webhooks. Returns an array of webhook objects.\");\n\nexport const postalyticsGetAllWebhooks = action(\"POSTALYTICS_GET_ALL_WEBHOOKS\", {\n slug: \"postalytics-get-all-webhooks\",\n name: \"Get All Webhooks\",\n description: \"Tool to retrieve all webhooks configured for the authenticated account. Use when you need to view webhook configurations for campaigns.\",\n input: PostalyticsGetAllWebhooksInput,\n output: PostalyticsGetAllWebhooksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wEAAwE;AAC1J,MAAM,0CAAwDA,IAAAA,EAAE,OAAO;CACrE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,UAAUA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7I,CAAC,CAAC,CAAC,SAAS,kFAAkF;AAE9F,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-all-webhooks.d.ts
4
+ declare const PostalyticsGetAllWebhooksInput: z.ZodTypeAny;
5
+ declare const PostalyticsGetAllWebhooksOutput: z.ZodTypeAny;
6
+ declare const postalyticsGetAllWebhooks: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { postalyticsGetAllWebhooks };
9
+ //# sourceMappingURL=get-all-webhooks.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-all-webhooks.d.cts","names":[],"sources":["../../src/actions/get-all-webhooks.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAA4G;AAAA,cAQ9I,+BAAA,EAAiC,CAAA,CAAE,UAE+C;AAAA,cAElF,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-all-webhooks.d.ts
4
+ declare const PostalyticsGetAllWebhooksInput: z.ZodTypeAny;
5
+ declare const PostalyticsGetAllWebhooksOutput: z.ZodTypeAny;
6
+ declare const postalyticsGetAllWebhooks: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { postalyticsGetAllWebhooks };
9
+ //# sourceMappingURL=get-all-webhooks.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-all-webhooks.d.mts","names":[],"sources":["../../src/actions/get-all-webhooks.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAA4G;AAAA,cAQ9I,+BAAA,EAAiC,CAAA,CAAE,UAE+C;AAAA,cAElF,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,22 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-all-webhooks.ts
4
+ const PostalyticsGetAllWebhooksInput = z.object({}).describe("Request model for retrieving all webhooks. No parameters are required.");
5
+ const PostalyticsGetAllWebhooks_WebhookSchema = z.object({
6
+ url: z.string().describe("Destination URL that receives webhook event notifications").nullable().optional(),
7
+ campaign_id: z.string().describe("Unique identifier for the associated campaign").nullable().optional(),
8
+ created_date: z.string().describe("ISO 8601 timestamp indicating when the webhook was created").nullable().optional(),
9
+ campaign_name: z.string().describe("Human-readable name of the campaign").nullable().optional(),
10
+ is_subscribed: z.number().int().describe("Webhook subscription status (1=enabled, 0=disabled)").nullable().optional()
11
+ }).describe("Model representing a single webhook object.");
12
+ const postalyticsGetAllWebhooks = action("POSTALYTICS_GET_ALL_WEBHOOKS", {
13
+ slug: "postalytics-get-all-webhooks",
14
+ name: "Get All Webhooks",
15
+ description: "Tool to retrieve all webhooks configured for the authenticated account. Use when you need to view webhook configurations for campaigns.",
16
+ input: PostalyticsGetAllWebhooksInput,
17
+ output: z.object({ webhooks: z.array(PostalyticsGetAllWebhooks_WebhookSchema).describe("List of all webhooks configured for the account").nullable().optional() }).describe("Response model for retrieving all webhooks. Returns an array of webhook objects.")
18
+ });
19
+ //#endregion
20
+ export { postalyticsGetAllWebhooks };
21
+
22
+ //# sourceMappingURL=get-all-webhooks.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-all-webhooks.mjs","names":[],"sources":["../../src/actions/get-all-webhooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostalyticsGetAllWebhooksInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving all webhooks. No parameters are required.\");\nconst PostalyticsGetAllWebhooks_WebhookSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"Destination URL that receives webhook event notifications\").nullable().optional(),\n campaign_id: z.string().describe(\"Unique identifier for the associated campaign\").nullable().optional(),\n created_date: z.string().describe(\"ISO 8601 timestamp indicating when the webhook was created\").nullable().optional(),\n campaign_name: z.string().describe(\"Human-readable name of the campaign\").nullable().optional(),\n is_subscribed: z.number().int().describe(\"Webhook subscription status (1=enabled, 0=disabled)\").nullable().optional(),\n}).describe(\"Model representing a single webhook object.\");\nexport const PostalyticsGetAllWebhooksOutput: z.ZodTypeAny = z.object({\n webhooks: z.array(PostalyticsGetAllWebhooks_WebhookSchema).describe(\"List of all webhooks configured for the account\").nullable().optional(),\n}).describe(\"Response model for retrieving all webhooks. Returns an array of webhook objects.\");\n\nexport const postalyticsGetAllWebhooks = action(\"POSTALYTICS_GET_ALL_WEBHOOKS\", {\n slug: \"postalytics-get-all-webhooks\",\n name: \"Get All Webhooks\",\n description: \"Tool to retrieve all webhooks configured for the authenticated account. Use when you need to view webhook configurations for campaigns.\",\n input: PostalyticsGetAllWebhooksInput,\n output: PostalyticsGetAllWebhooksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wEAAwE;AAC1J,MAAM,0CAAwD,EAAE,OAAO;CACrE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAKzD,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2D,EAAE,OAAO,EACpE,UAAU,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7I,CAAC,CAAC,CAAC,SAAS,kFAOF;AACV,CAAC"}
@@ -0,0 +1,23 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-integrations.ts
4
+ const PostalyticsGetIntegrationsInput = zod.z.object({}).describe("Request model for retrieving Connect integrations. No parameters are required.");
5
+ const PostalyticsGetIntegrations_IntegrationItemSchema = zod.z.object({
6
+ pluginId: zod.z.number().int().describe("Identifier for the integration source type.").nullable().optional(),
7
+ isConnect: zod.z.number().int().describe("Boolean indicator for marketplace app integrations.").nullable().optional(),
8
+ displayName: zod.z.string().describe("User-defined name for the integration connection.").nullable().optional(),
9
+ userPluginId: zod.z.number().int().describe("Unique ID for this user's specific connection instance.").nullable().optional(),
10
+ intergrationName: zod.z.string().describe("Name of the external CRM or data source.").nullable().optional()
11
+ }).describe("Model representing a single integration connection.");
12
+ const PostalyticsGetIntegrationsOutput = zod.z.object({ integrations: zod.z.array(PostalyticsGetIntegrations_IntegrationItemSchema).describe("List of integration connections configured for the account.") }).describe("Response model for retrieving Connect integrations.");
13
+ const postalyticsGetIntegrations = require_action.action("POSTALYTICS_GET_INTEGRATIONS", {
14
+ slug: "postalytics-get-integrations",
15
+ name: "Get Integrations",
16
+ description: "Tool to retrieve all Connect integrations configured for the authenticated user's account. Use when you need to view CRM or data source integrations.",
17
+ input: PostalyticsGetIntegrationsInput,
18
+ output: PostalyticsGetIntegrationsOutput
19
+ });
20
+ //#endregion
21
+ exports.postalyticsGetIntegrations = postalyticsGetIntegrations;
22
+
23
+ //# sourceMappingURL=get-integrations.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-integrations.cjs","names":["z","action"],"sources":["../../src/actions/get-integrations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostalyticsGetIntegrationsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving Connect integrations. No parameters are required.\");\nconst PostalyticsGetIntegrations_IntegrationItemSchema: z.ZodTypeAny = z.object({\n pluginId: z.number().int().describe(\"Identifier for the integration source type.\").nullable().optional(),\n isConnect: z.number().int().describe(\"Boolean indicator for marketplace app integrations.\").nullable().optional(),\n displayName: z.string().describe(\"User-defined name for the integration connection.\").nullable().optional(),\n userPluginId: z.number().int().describe(\"Unique ID for this user's specific connection instance.\").nullable().optional(),\n intergrationName: z.string().describe(\"Name of the external CRM or data source.\").nullable().optional(),\n}).describe(\"Model representing a single integration connection.\");\nexport const PostalyticsGetIntegrationsOutput: z.ZodTypeAny = z.object({\n integrations: z.array(PostalyticsGetIntegrations_IntegrationItemSchema).describe(\"List of integration connections configured for the account.\"),\n}).describe(\"Response model for retrieving Connect integrations.\");\n\nexport const postalyticsGetIntegrations = action(\"POSTALYTICS_GET_INTEGRATIONS\", {\n slug: \"postalytics-get-integrations\",\n name: \"Get Integrations\",\n description: \"Tool to retrieve all Connect integrations configured for the authenticated user's account. Use when you need to view CRM or data source integrations.\",\n input: PostalyticsGetIntegrationsInput,\n output: PostalyticsGetIntegrationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gFAAgF;AACnK,MAAM,mDAAiEA,IAAAA,EAAE,OAAO;CAC9E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,mCAAiDA,IAAAA,EAAE,OAAO,EACrE,cAAcA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,6DAA6D,EAChJ,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAEjE,MAAa,6BAA6BC,eAAAA,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-integrations.d.ts
4
+ declare const PostalyticsGetIntegrationsInput: z.ZodTypeAny;
5
+ declare const PostalyticsGetIntegrationsOutput: z.ZodTypeAny;
6
+ declare const postalyticsGetIntegrations: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { postalyticsGetIntegrations };
9
+ //# sourceMappingURL=get-integrations.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-integrations.d.cts","names":[],"sources":["../../src/actions/get-integrations.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAAoH;AAAA,cAQvJ,gCAAA,EAAkC,CAAA,CAAE,UAEiB;AAAA,cAErD,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-integrations.d.ts
4
+ declare const PostalyticsGetIntegrationsInput: z.ZodTypeAny;
5
+ declare const PostalyticsGetIntegrationsOutput: z.ZodTypeAny;
6
+ declare const postalyticsGetIntegrations: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { postalyticsGetIntegrations };
9
+ //# sourceMappingURL=get-integrations.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-integrations.d.mts","names":[],"sources":["../../src/actions/get-integrations.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAAoH;AAAA,cAQvJ,gCAAA,EAAkC,CAAA,CAAE,UAEiB;AAAA,cAErD,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}