@keystrokehq/postalytics 0.1.4 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (205) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-account.cjs +1 -0
  4. package/dist/actions/add-account.cjs.map +1 -1
  5. package/dist/actions/add-account.d.cts +3 -13
  6. package/dist/actions/add-account.d.cts.map +1 -1
  7. package/dist/actions/add-account.d.mts +3 -13
  8. package/dist/actions/add-account.d.mts.map +1 -1
  9. package/dist/actions/add-account.mjs +1 -0
  10. package/dist/actions/add-account.mjs.map +1 -1
  11. package/dist/actions/add-contact.cjs +1 -0
  12. package/dist/actions/add-contact.cjs.map +1 -1
  13. package/dist/actions/add-contact.d.cts +3 -53
  14. package/dist/actions/add-contact.d.cts.map +1 -1
  15. package/dist/actions/add-contact.d.mts +3 -53
  16. package/dist/actions/add-contact.d.mts.map +1 -1
  17. package/dist/actions/add-contact.mjs +1 -0
  18. package/dist/actions/add-contact.mjs.map +1 -1
  19. package/dist/actions/create-new-campaign.cjs +1 -0
  20. package/dist/actions/create-new-campaign.cjs.map +1 -1
  21. package/dist/actions/create-new-campaign.d.cts +3 -14
  22. package/dist/actions/create-new-campaign.d.cts.map +1 -1
  23. package/dist/actions/create-new-campaign.d.mts +3 -14
  24. package/dist/actions/create-new-campaign.d.mts.map +1 -1
  25. package/dist/actions/create-new-campaign.mjs +1 -0
  26. package/dist/actions/create-new-campaign.mjs.map +1 -1
  27. package/dist/actions/create-suppression-list-contact.cjs +1 -0
  28. package/dist/actions/create-suppression-list-contact.cjs.map +1 -1
  29. package/dist/actions/create-suppression-list-contact.d.cts +3 -52
  30. package/dist/actions/create-suppression-list-contact.d.cts.map +1 -1
  31. package/dist/actions/create-suppression-list-contact.d.mts +3 -52
  32. package/dist/actions/create-suppression-list-contact.d.mts.map +1 -1
  33. package/dist/actions/create-suppression-list-contact.mjs +1 -0
  34. package/dist/actions/create-suppression-list-contact.mjs.map +1 -1
  35. package/dist/actions/create-suppression-list.cjs +1 -0
  36. package/dist/actions/create-suppression-list.cjs.map +1 -1
  37. package/dist/actions/create-suppression-list.d.cts +3 -4
  38. package/dist/actions/create-suppression-list.d.cts.map +1 -1
  39. package/dist/actions/create-suppression-list.d.mts +3 -4
  40. package/dist/actions/create-suppression-list.d.mts.map +1 -1
  41. package/dist/actions/create-suppression-list.mjs +1 -0
  42. package/dist/actions/create-suppression-list.mjs.map +1 -1
  43. package/dist/actions/create-template.cjs +1 -0
  44. package/dist/actions/create-template.cjs.map +1 -1
  45. package/dist/actions/create-template.d.cts +3 -12
  46. package/dist/actions/create-template.d.cts.map +1 -1
  47. package/dist/actions/create-template.d.mts +3 -12
  48. package/dist/actions/create-template.d.mts.map +1 -1
  49. package/dist/actions/create-template.mjs +1 -0
  50. package/dist/actions/create-template.mjs.map +1 -1
  51. package/dist/actions/create-webhook.cjs +1 -0
  52. package/dist/actions/create-webhook.cjs.map +1 -1
  53. package/dist/actions/create-webhook.d.cts +3 -5
  54. package/dist/actions/create-webhook.d.cts.map +1 -1
  55. package/dist/actions/create-webhook.d.mts +3 -5
  56. package/dist/actions/create-webhook.d.mts.map +1 -1
  57. package/dist/actions/create-webhook.mjs +1 -0
  58. package/dist/actions/create-webhook.mjs.map +1 -1
  59. package/dist/actions/delete-account.cjs +1 -0
  60. package/dist/actions/delete-account.cjs.map +1 -1
  61. package/dist/actions/delete-account.d.cts +3 -3
  62. package/dist/actions/delete-account.d.cts.map +1 -1
  63. package/dist/actions/delete-account.d.mts +3 -3
  64. package/dist/actions/delete-account.d.mts.map +1 -1
  65. package/dist/actions/delete-account.mjs +1 -0
  66. package/dist/actions/delete-account.mjs.map +1 -1
  67. package/dist/actions/delete-campaign.cjs +1 -0
  68. package/dist/actions/delete-campaign.cjs.map +1 -1
  69. package/dist/actions/delete-campaign.d.cts +3 -3
  70. package/dist/actions/delete-campaign.d.cts.map +1 -1
  71. package/dist/actions/delete-campaign.d.mts +3 -3
  72. package/dist/actions/delete-campaign.d.mts.map +1 -1
  73. package/dist/actions/delete-campaign.mjs +1 -0
  74. package/dist/actions/delete-campaign.mjs.map +1 -1
  75. package/dist/actions/delete-suppression-list-contact.cjs +1 -0
  76. package/dist/actions/delete-suppression-list-contact.cjs.map +1 -1
  77. package/dist/actions/delete-suppression-list-contact.d.cts +3 -4
  78. package/dist/actions/delete-suppression-list-contact.d.cts.map +1 -1
  79. package/dist/actions/delete-suppression-list-contact.d.mts +3 -4
  80. package/dist/actions/delete-suppression-list-contact.d.mts.map +1 -1
  81. package/dist/actions/delete-suppression-list-contact.mjs +1 -0
  82. package/dist/actions/delete-suppression-list-contact.mjs.map +1 -1
  83. package/dist/actions/delete-suppression-list.cjs +1 -0
  84. package/dist/actions/delete-suppression-list.cjs.map +1 -1
  85. package/dist/actions/delete-suppression-list.d.cts +3 -3
  86. package/dist/actions/delete-suppression-list.d.cts.map +1 -1
  87. package/dist/actions/delete-suppression-list.d.mts +3 -3
  88. package/dist/actions/delete-suppression-list.d.mts.map +1 -1
  89. package/dist/actions/delete-suppression-list.mjs +1 -0
  90. package/dist/actions/delete-suppression-list.mjs.map +1 -1
  91. package/dist/actions/get-all-contact-lists.cjs +1 -0
  92. package/dist/actions/get-all-contact-lists.cjs.map +1 -1
  93. package/dist/actions/get-all-contact-lists.d.cts +3 -1
  94. package/dist/actions/get-all-contact-lists.d.cts.map +1 -1
  95. package/dist/actions/get-all-contact-lists.d.mts +3 -1
  96. package/dist/actions/get-all-contact-lists.d.mts.map +1 -1
  97. package/dist/actions/get-all-contact-lists.mjs +1 -0
  98. package/dist/actions/get-all-contact-lists.mjs.map +1 -1
  99. package/dist/actions/get-all-contacts-on-a-list.cjs +1 -0
  100. package/dist/actions/get-all-contacts-on-a-list.cjs.map +1 -1
  101. package/dist/actions/get-all-contacts-on-a-list.d.cts +3 -5
  102. package/dist/actions/get-all-contacts-on-a-list.d.cts.map +1 -1
  103. package/dist/actions/get-all-contacts-on-a-list.d.mts +3 -5
  104. package/dist/actions/get-all-contacts-on-a-list.d.mts.map +1 -1
  105. package/dist/actions/get-all-contacts-on-a-list.mjs +1 -0
  106. package/dist/actions/get-all-contacts-on-a-list.mjs.map +1 -1
  107. package/dist/actions/get-all-drip-campaigns.cjs +1 -0
  108. package/dist/actions/get-all-drip-campaigns.cjs.map +1 -1
  109. package/dist/actions/get-all-drip-campaigns.d.cts +3 -1
  110. package/dist/actions/get-all-drip-campaigns.d.cts.map +1 -1
  111. package/dist/actions/get-all-drip-campaigns.d.mts +3 -1
  112. package/dist/actions/get-all-drip-campaigns.d.mts.map +1 -1
  113. package/dist/actions/get-all-drip-campaigns.mjs +1 -0
  114. package/dist/actions/get-all-drip-campaigns.mjs.map +1 -1
  115. package/dist/actions/get-all-flows.cjs +1 -0
  116. package/dist/actions/get-all-flows.cjs.map +1 -1
  117. package/dist/actions/get-all-flows.d.cts +3 -1
  118. package/dist/actions/get-all-flows.d.cts.map +1 -1
  119. package/dist/actions/get-all-flows.d.mts +3 -1
  120. package/dist/actions/get-all-flows.d.mts.map +1 -1
  121. package/dist/actions/get-all-flows.mjs +1 -0
  122. package/dist/actions/get-all-flows.mjs.map +1 -1
  123. package/dist/actions/get-all-webhooks.cjs +1 -0
  124. package/dist/actions/get-all-webhooks.cjs.map +1 -1
  125. package/dist/actions/get-all-webhooks.d.cts +3 -1
  126. package/dist/actions/get-all-webhooks.d.cts.map +1 -1
  127. package/dist/actions/get-all-webhooks.d.mts +3 -1
  128. package/dist/actions/get-all-webhooks.d.mts.map +1 -1
  129. package/dist/actions/get-all-webhooks.mjs +1 -0
  130. package/dist/actions/get-all-webhooks.mjs.map +1 -1
  131. package/dist/actions/get-integrations.cjs +1 -0
  132. package/dist/actions/get-integrations.cjs.map +1 -1
  133. package/dist/actions/get-integrations.d.cts +3 -1
  134. package/dist/actions/get-integrations.d.cts.map +1 -1
  135. package/dist/actions/get-integrations.d.mts +3 -1
  136. package/dist/actions/get-integrations.d.mts.map +1 -1
  137. package/dist/actions/get-integrations.mjs +1 -0
  138. package/dist/actions/get-integrations.mjs.map +1 -1
  139. package/dist/actions/get-my-account.cjs +1 -0
  140. package/dist/actions/get-my-account.cjs.map +1 -1
  141. package/dist/actions/get-my-account.d.cts +3 -1
  142. package/dist/actions/get-my-account.d.cts.map +1 -1
  143. package/dist/actions/get-my-account.d.mts +3 -1
  144. package/dist/actions/get-my-account.d.mts.map +1 -1
  145. package/dist/actions/get-my-account.mjs +1 -0
  146. package/dist/actions/get-my-account.mjs.map +1 -1
  147. package/dist/actions/get-suppression-list-contact.cjs +1 -0
  148. package/dist/actions/get-suppression-list-contact.cjs.map +1 -1
  149. package/dist/actions/get-suppression-list-contact.d.cts +3 -5
  150. package/dist/actions/get-suppression-list-contact.d.cts.map +1 -1
  151. package/dist/actions/get-suppression-list-contact.d.mts +3 -5
  152. package/dist/actions/get-suppression-list-contact.d.mts.map +1 -1
  153. package/dist/actions/get-suppression-list-contact.mjs +1 -0
  154. package/dist/actions/get-suppression-list-contact.mjs.map +1 -1
  155. package/dist/actions/get-suppression-list-contacts.cjs +1 -0
  156. package/dist/actions/get-suppression-list-contacts.cjs.map +1 -1
  157. package/dist/actions/get-suppression-list-contacts.d.cts +3 -4
  158. package/dist/actions/get-suppression-list-contacts.d.cts.map +1 -1
  159. package/dist/actions/get-suppression-list-contacts.d.mts +3 -4
  160. package/dist/actions/get-suppression-list-contacts.d.mts.map +1 -1
  161. package/dist/actions/get-suppression-list-contacts.mjs +1 -0
  162. package/dist/actions/get-suppression-list-contacts.mjs.map +1 -1
  163. package/dist/actions/get-suppression-list.cjs +1 -0
  164. package/dist/actions/get-suppression-list.cjs.map +1 -1
  165. package/dist/actions/get-suppression-list.d.cts +3 -3
  166. package/dist/actions/get-suppression-list.d.cts.map +1 -1
  167. package/dist/actions/get-suppression-list.d.mts +3 -3
  168. package/dist/actions/get-suppression-list.d.mts.map +1 -1
  169. package/dist/actions/get-suppression-list.mjs +1 -0
  170. package/dist/actions/get-suppression-list.mjs.map +1 -1
  171. package/dist/actions/get-suppression-lists.cjs +1 -0
  172. package/dist/actions/get-suppression-lists.cjs.map +1 -1
  173. package/dist/actions/get-suppression-lists.d.cts +3 -3
  174. package/dist/actions/get-suppression-lists.d.cts.map +1 -1
  175. package/dist/actions/get-suppression-lists.d.mts +3 -3
  176. package/dist/actions/get-suppression-lists.d.mts.map +1 -1
  177. package/dist/actions/get-suppression-lists.mjs +1 -0
  178. package/dist/actions/get-suppression-lists.mjs.map +1 -1
  179. package/dist/actions/update-account.cjs +1 -0
  180. package/dist/actions/update-account.cjs.map +1 -1
  181. package/dist/actions/update-account.d.cts +3 -14
  182. package/dist/actions/update-account.d.cts.map +1 -1
  183. package/dist/actions/update-account.d.mts +3 -14
  184. package/dist/actions/update-account.d.mts.map +1 -1
  185. package/dist/actions/update-account.mjs +1 -0
  186. package/dist/actions/update-account.mjs.map +1 -1
  187. package/dist/actions/update-suppression-list-contact.cjs +1 -0
  188. package/dist/actions/update-suppression-list-contact.cjs.map +1 -1
  189. package/dist/actions/update-suppression-list-contact.d.cts +3 -53
  190. package/dist/actions/update-suppression-list-contact.d.cts.map +1 -1
  191. package/dist/actions/update-suppression-list-contact.d.mts +3 -53
  192. package/dist/actions/update-suppression-list-contact.d.mts.map +1 -1
  193. package/dist/actions/update-suppression-list-contact.mjs +1 -0
  194. package/dist/actions/update-suppression-list-contact.mjs.map +1 -1
  195. package/dist/app.cjs +5 -2
  196. package/dist/app.cjs.map +1 -1
  197. package/dist/app.d.cts +7 -1
  198. package/dist/app.d.cts.map +1 -1
  199. package/dist/app.d.mts +7 -1
  200. package/dist/app.d.mts.map +1 -1
  201. package/dist/app.mjs +3 -2
  202. package/dist/app.mjs.map +1 -1
  203. package/dist/index.d.cts +1 -1
  204. package/dist/index.d.mts +1 -1
  205. package/package.json +2 -2
@@ -1,3 +1,5 @@
1
+ import { postalytics } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-all-contacts-on-a-list.d.ts
@@ -58,11 +60,7 @@ declare const PostalyticsGetAllContactsOnAListOutput: z.ZodObject<{
58
60
  occupation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
61
  }, z.core.$loose>>;
60
62
  }, z.core.$loose>;
61
- declare const postalyticsGetAllContactsOnAList: import("@keystrokehq/action").WorkflowActionDefinition<{
62
- list_id: number;
63
- limit?: number | undefined;
64
- start?: number | undefined;
65
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
63
+ declare const postalyticsGetAllContactsOnAList: AppAction<typeof PostalyticsGetAllContactsOnAListInput, typeof PostalyticsGetAllContactsOnAListOutput, typeof postalytics.credential>;
66
64
  //#endregion
67
65
  export { postalyticsGetAllContactsOnAList };
68
66
  //# sourceMappingURL=get-all-contacts-on-a-list.d.cts.map
@@ -1 +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,EAAqC,CAAA,CAAA,SAAA;;;;;cAuDrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAItC,gCAAA,gCAAgC,wBAAA"}
1
+ {"version":3,"file":"get-all-contacts-on-a-list.d.cts","names":[],"sources":["../../src/actions/get-all-contacts-on-a-list.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;cAuDrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAItC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,WAAA,CAAY,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { postalytics } 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-contacts-on-a-list.d.ts
@@ -58,11 +60,7 @@ declare const PostalyticsGetAllContactsOnAListOutput: z.ZodObject<{
58
60
  occupation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
61
  }, z.core.$loose>>;
60
62
  }, z.core.$loose>;
61
- declare const postalyticsGetAllContactsOnAList: import("@keystrokehq/action").WorkflowActionDefinition<{
62
- list_id: number;
63
- limit?: number | undefined;
64
- start?: number | undefined;
65
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
63
+ declare const postalyticsGetAllContactsOnAList: AppAction<typeof PostalyticsGetAllContactsOnAListInput, typeof PostalyticsGetAllContactsOnAListOutput, typeof postalytics.credential>;
66
64
  //#endregion
67
65
  export { postalyticsGetAllContactsOnAList };
68
66
  //# sourceMappingURL=get-all-contacts-on-a-list.d.mts.map
@@ -1 +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,EAAqC,CAAA,CAAA,SAAA;;;;;cAuDrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAItC,gCAAA,gCAAgC,wBAAA"}
1
+ {"version":3,"file":"get-all-contacts-on-a-list.d.mts","names":[],"sources":["../../src/actions/get-all-contacts-on-a-list.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;cAuDrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAItC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,WAAA,CAAY,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-contacts-on-a-list.ts
@@ -1 +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.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.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}).passthrough().describe(\"Model representing a single contact from the contact list.\");\nexport const PostalyticsGetAllContactsOnAListOutput = z.object({\n contacts: z.array(PostalyticsGetAllContactsOnAList_ContactSchema).describe(\"Array of contacts from the specified contact list.\"),\n}).passthrough().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,wCAAwC,EAAE,OAAO;CAC5D,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,iDAAiD,EAAE,OAAO;CAC9D,KAAK,EAAE,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SAAS,CAAC,CAAC,SAAS;CACtG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAKtF,MAAa,mCAAmC,OAAO,0CAA0C;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToD,EAAE,OAAO,EAC7D,UAAU,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,oDAAoD,EACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-all-contacts-on-a-list.mjs","names":[],"sources":["../../src/actions/get-all-contacts-on-a-list.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postalytics } from \"../app\";\n\nexport const PostalyticsGetAllContactsOnAListInput = 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.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}).passthrough().describe(\"Model representing a single contact from the contact list.\");\nexport const PostalyticsGetAllContactsOnAListOutput = z.object({\n contacts: z.array(PostalyticsGetAllContactsOnAList_ContactSchema).describe(\"Array of contacts from the specified contact list.\"),\n}).passthrough().describe(\"Response model containing all contacts from the specified list.\");\n\nexport const postalyticsGetAllContactsOnAList: AppAction<\n typeof PostalyticsGetAllContactsOnAListInput,\n typeof PostalyticsGetAllContactsOnAListOutput,\n typeof postalytics.credential\n> = 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":";;;;AAMA,MAAa,wCAAwC,EAAE,OAAO;CAC5D,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,iDAAiD,EAAE,OAAO;CAC9D,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,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAA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AAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAKtF,MAAa,mCAIT,OAAO,0CAA0C;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAboD,EAAE,OAAO,EAC7D,UAAU,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,oDAAoD,EACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAWhB;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-drip-campaigns.ts
@@ -1 +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.object({}).describe(\"Request model for retrieving all drip campaigns. No parameters are required.\");\nconst PostalyticsGetAllDripCampaigns_DripCampaignItemSchema = 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}).passthrough().describe(\"Represents a single drip campaign with its endpoint ID and name.\");\nexport const PostalyticsGetAllDripCampaignsOutput = z.object({\n campaigns: z.array(PostalyticsGetAllDripCampaigns_DripCampaignItemSchema).describe(\"List of all triggered drip campaigns in the account.\"),\n}).passthrough().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,sCAAsCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8EAA8E;AACvJ,MAAM,wDAAwDA,IAAAA,EAAE,OAAO;CACrE,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,YAAY,CAAC,CAAC,SAAS,kEAAkE;AAC5F,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,WAAWA,IAAAA,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,sDAAsD,EAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-all-drip-campaigns.cjs","names":["z","action"],"sources":["../../src/actions/get-all-drip-campaigns.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postalytics } from \"../app\";\n\nexport const PostalyticsGetAllDripCampaignsInput = z.object({}).describe(\"Request model for retrieving all drip campaigns. No parameters are required.\");\nconst PostalyticsGetAllDripCampaigns_DripCampaignItemSchema = 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}).passthrough().describe(\"Represents a single drip campaign with its endpoint ID and name.\");\nexport const PostalyticsGetAllDripCampaignsOutput = z.object({\n campaigns: z.array(PostalyticsGetAllDripCampaigns_DripCampaignItemSchema).describe(\"List of all triggered drip campaigns in the account.\"),\n}).passthrough().describe(\"Response model for retrieving all drip campaigns.\");\n\nexport const postalyticsGetAllDripCampaigns: AppAction<\n typeof PostalyticsGetAllDripCampaignsInput,\n typeof PostalyticsGetAllDripCampaignsOutput,\n typeof postalytics.credential\n> = 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":";;;;AAMA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8EAA8E;AACvJ,MAAM,wDAAwDA,IAAAA,EAAE,OAAO;CACrE,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,YAAY,CAAC,CAAC,SAAS,kEAAkE;AAC5F,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,WAAWA,IAAAA,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,sDAAsD,EAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,iCAITC,eAAAA,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { postalytics } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-all-drip-campaigns.d.ts
@@ -8,7 +10,7 @@ declare const PostalyticsGetAllDripCampaignsOutput: z.ZodObject<{
8
10
  endpoint_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
11
  }, z.core.$loose>>;
10
12
  }, z.core.$loose>;
11
- declare const postalyticsGetAllDripCampaigns: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const postalyticsGetAllDripCampaigns: AppAction<typeof PostalyticsGetAllDripCampaignsInput, typeof PostalyticsGetAllDripCampaignsOutput, typeof postalytics.credential>;
12
14
  //#endregion
13
15
  export { postalyticsGetAllDripCampaigns };
14
16
  //# sourceMappingURL=get-all-drip-campaigns.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-all-drip-campaigns.d.cts","names":[],"sources":["../../src/actions/get-all-drip-campaigns.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;cAIpC,8BAAA,gCAA8B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-all-drip-campaigns.d.cts","names":[],"sources":["../../src/actions/get-all-drip-campaigns.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;cAIpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,WAAA,CAAY,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { postalytics } 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-drip-campaigns.d.ts
@@ -8,7 +10,7 @@ declare const PostalyticsGetAllDripCampaignsOutput: z.ZodObject<{
8
10
  endpoint_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
11
  }, z.core.$loose>>;
10
12
  }, z.core.$loose>;
11
- declare const postalyticsGetAllDripCampaigns: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const postalyticsGetAllDripCampaigns: AppAction<typeof PostalyticsGetAllDripCampaignsInput, typeof PostalyticsGetAllDripCampaignsOutput, typeof postalytics.credential>;
12
14
  //#endregion
13
15
  export { postalyticsGetAllDripCampaigns };
14
16
  //# sourceMappingURL=get-all-drip-campaigns.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-all-drip-campaigns.d.mts","names":[],"sources":["../../src/actions/get-all-drip-campaigns.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;cAIpC,8BAAA,gCAA8B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-all-drip-campaigns.d.mts","names":[],"sources":["../../src/actions/get-all-drip-campaigns.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;cAIpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,WAAA,CAAY,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-drip-campaigns.ts
@@ -1 +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.object({}).describe(\"Request model for retrieving all drip campaigns. No parameters are required.\");\nconst PostalyticsGetAllDripCampaigns_DripCampaignItemSchema = 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}).passthrough().describe(\"Represents a single drip campaign with its endpoint ID and name.\");\nexport const PostalyticsGetAllDripCampaignsOutput = z.object({\n campaigns: z.array(PostalyticsGetAllDripCampaigns_DripCampaignItemSchema).describe(\"List of all triggered drip campaigns in the account.\"),\n}).passthrough().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,sCAAsC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8EAA8E;AACvJ,MAAM,wDAAwD,EAAE,OAAO;CACrE,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,YAAY,CAAC,CAAC,SAAS,kEAAkE;AAK5F,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkD,EAAE,OAAO,EAC3D,WAAW,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,sDAAsD,EAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-all-drip-campaigns.mjs","names":[],"sources":["../../src/actions/get-all-drip-campaigns.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postalytics } from \"../app\";\n\nexport const PostalyticsGetAllDripCampaignsInput = z.object({}).describe(\"Request model for retrieving all drip campaigns. No parameters are required.\");\nconst PostalyticsGetAllDripCampaigns_DripCampaignItemSchema = 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}).passthrough().describe(\"Represents a single drip campaign with its endpoint ID and name.\");\nexport const PostalyticsGetAllDripCampaignsOutput = z.object({\n campaigns: z.array(PostalyticsGetAllDripCampaigns_DripCampaignItemSchema).describe(\"List of all triggered drip campaigns in the account.\"),\n}).passthrough().describe(\"Response model for retrieving all drip campaigns.\");\n\nexport const postalyticsGetAllDripCampaigns: AppAction<\n typeof PostalyticsGetAllDripCampaignsInput,\n typeof PostalyticsGetAllDripCampaignsOutput,\n typeof postalytics.credential\n> = 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":";;;;AAMA,MAAa,sCAAsC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8EAA8E;AACvJ,MAAM,wDAAwD,EAAE,OAAO;CACrE,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,YAAY,CAAC,CAAC,SAAS,kEAAkE;AAK5F,MAAa,iCAIT,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbkD,EAAE,OAAO,EAC3D,WAAW,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,sDAAsD,EAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAWhB;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-flows.ts
@@ -1 +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.object({}).describe(\"Request model for retrieving all flows. No parameters are required.\");\nconst PostalyticsGetAllFlows_FlowSchema = 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}).passthrough().describe(\"Model representing a single flow object.\");\nexport const PostalyticsGetAllFlowsOutput = z.object({\n flows: z.array(PostalyticsGetAllFlows_FlowSchema).describe(\"List of all flows\"),\n}).passthrough().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,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACtI,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,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,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,OAAOA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,mBAAmB,EAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4EAA4E;AAEtG,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-all-flows.cjs","names":["z","action"],"sources":["../../src/actions/get-all-flows.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postalytics } from \"../app\";\n\nexport const PostalyticsGetAllFlowsInput = z.object({}).describe(\"Request model for retrieving all flows. No parameters are required.\");\nconst PostalyticsGetAllFlows_FlowSchema = 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}).passthrough().describe(\"Model representing a single flow object.\");\nexport const PostalyticsGetAllFlowsOutput = z.object({\n flows: z.array(PostalyticsGetAllFlows_FlowSchema).describe(\"List of all flows\"),\n}).passthrough().describe(\"Response model for retrieving all flows. Returns an array of Flow objects.\");\n\nexport const postalyticsGetAllFlows: AppAction<\n typeof PostalyticsGetAllFlowsInput,\n typeof PostalyticsGetAllFlowsOutput,\n typeof postalytics.credential\n> = 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":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACtI,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,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,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,OAAOA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,mBAAmB,EAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4EAA4E;AAEtG,MAAa,yBAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { postalytics } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-all-flows.d.ts
@@ -13,7 +15,7 @@ declare const PostalyticsGetAllFlowsOutput: z.ZodObject<{
13
15
  lastModifiedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
16
  }, z.core.$loose>>;
15
17
  }, z.core.$loose>;
16
- declare const postalyticsGetAllFlows: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ declare const postalyticsGetAllFlows: AppAction<typeof PostalyticsGetAllFlowsInput, typeof PostalyticsGetAllFlowsOutput, typeof postalytics.credential>;
17
19
  //#endregion
18
20
  export { postalyticsGetAllFlows };
19
21
  //# sourceMappingURL=get-all-flows.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-all-flows.d.cts","names":[],"sources":["../../src/actions/get-all-flows.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;cAI5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-all-flows.d.cts","names":[],"sources":["../../src/actions/get-all-flows.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,WAAA,CAAY,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { postalytics } 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-flows.d.ts
@@ -13,7 +15,7 @@ declare const PostalyticsGetAllFlowsOutput: z.ZodObject<{
13
15
  lastModifiedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
16
  }, z.core.$loose>>;
15
17
  }, z.core.$loose>;
16
- declare const postalyticsGetAllFlows: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ declare const postalyticsGetAllFlows: AppAction<typeof PostalyticsGetAllFlowsInput, typeof PostalyticsGetAllFlowsOutput, typeof postalytics.credential>;
17
19
  //#endregion
18
20
  export { postalyticsGetAllFlows };
19
21
  //# sourceMappingURL=get-all-flows.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-all-flows.d.mts","names":[],"sources":["../../src/actions/get-all-flows.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;cAI5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-all-flows.d.mts","names":[],"sources":["../../src/actions/get-all-flows.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,WAAA,CAAY,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-flows.ts
@@ -1 +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.object({}).describe(\"Request model for retrieving all flows. No parameters are required.\");\nconst PostalyticsGetAllFlows_FlowSchema = 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}).passthrough().describe(\"Model representing a single flow object.\");\nexport const PostalyticsGetAllFlowsOutput = z.object({\n flows: z.array(PostalyticsGetAllFlows_FlowSchema).describe(\"List of all flows\"),\n}).passthrough().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,8BAA8B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACtI,MAAM,oCAAoC,EAAE,OAAO;CACjD,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,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAKpE,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0C,EAAE,OAAO,EACnD,OAAO,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,mBAAmB,EAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4EAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-all-flows.mjs","names":[],"sources":["../../src/actions/get-all-flows.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postalytics } from \"../app\";\n\nexport const PostalyticsGetAllFlowsInput = z.object({}).describe(\"Request model for retrieving all flows. No parameters are required.\");\nconst PostalyticsGetAllFlows_FlowSchema = 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}).passthrough().describe(\"Model representing a single flow object.\");\nexport const PostalyticsGetAllFlowsOutput = z.object({\n flows: z.array(PostalyticsGetAllFlows_FlowSchema).describe(\"List of all flows\"),\n}).passthrough().describe(\"Response model for retrieving all flows. Returns an array of Flow objects.\");\n\nexport const postalyticsGetAllFlows: AppAction<\n typeof PostalyticsGetAllFlowsInput,\n typeof PostalyticsGetAllFlowsOutput,\n typeof postalytics.credential\n> = 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":";;;;AAMA,MAAa,8BAA8B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACtI,MAAM,oCAAoC,EAAE,OAAO;CACjD,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,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAKpE,MAAa,yBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb0C,EAAE,OAAO,EACnD,OAAO,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,mBAAmB,EAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4EAWhB;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-webhooks.ts
@@ -1 +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.object({}).describe(\"Request model for retrieving all webhooks. No parameters are required.\");\nconst PostalyticsGetAllWebhooks_WebhookSchema = 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}).passthrough().describe(\"Model representing a single webhook object.\");\nexport const PostalyticsGetAllWebhooksOutput = z.object({\n webhooks: z.array(PostalyticsGetAllWebhooks_WebhookSchema).describe(\"List of all webhooks configured for the account\").nullable().optional(),\n}).passthrough().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,iCAAiCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wEAAwE;AAC5I,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,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,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,UAAUA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kFAAkF;AAE5G,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-all-webhooks.cjs","names":["z","action"],"sources":["../../src/actions/get-all-webhooks.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postalytics } from \"../app\";\n\nexport const PostalyticsGetAllWebhooksInput = z.object({}).describe(\"Request model for retrieving all webhooks. No parameters are required.\");\nconst PostalyticsGetAllWebhooks_WebhookSchema = 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}).passthrough().describe(\"Model representing a single webhook object.\");\nexport const PostalyticsGetAllWebhooksOutput = z.object({\n webhooks: z.array(PostalyticsGetAllWebhooks_WebhookSchema).describe(\"List of all webhooks configured for the account\").nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving all webhooks. Returns an array of webhook objects.\");\n\nexport const postalyticsGetAllWebhooks: AppAction<\n typeof PostalyticsGetAllWebhooksInput,\n typeof PostalyticsGetAllWebhooksOutput,\n typeof postalytics.credential\n> = 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":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wEAAwE;AAC5I,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,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,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,UAAUA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kFAAkF;AAE5G,MAAa,4BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { postalytics } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-all-webhooks.d.ts
@@ -11,7 +13,7 @@ declare const PostalyticsGetAllWebhooksOutput: z.ZodObject<{
11
13
  is_subscribed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
14
  }, z.core.$loose>>>>;
13
15
  }, z.core.$loose>;
14
- declare const postalyticsGetAllWebhooks: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
16
+ declare const postalyticsGetAllWebhooks: AppAction<typeof PostalyticsGetAllWebhooksInput, typeof PostalyticsGetAllWebhooksOutput, typeof postalytics.credential>;
15
17
  //#endregion
16
18
  export { postalyticsGetAllWebhooks };
17
19
  //# sourceMappingURL=get-all-webhooks.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-all-webhooks.d.cts","names":[],"sources":["../../src/actions/get-all-webhooks.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQ9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-all-webhooks.d.cts","names":[],"sources":["../../src/actions/get-all-webhooks.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQ9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,WAAA,CAAY,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { postalytics } 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-webhooks.d.ts
@@ -11,7 +13,7 @@ declare const PostalyticsGetAllWebhooksOutput: z.ZodObject<{
11
13
  is_subscribed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
14
  }, z.core.$loose>>>>;
13
15
  }, z.core.$loose>;
14
- declare const postalyticsGetAllWebhooks: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
16
+ declare const postalyticsGetAllWebhooks: AppAction<typeof PostalyticsGetAllWebhooksInput, typeof PostalyticsGetAllWebhooksOutput, typeof postalytics.credential>;
15
17
  //#endregion
16
18
  export { postalyticsGetAllWebhooks };
17
19
  //# sourceMappingURL=get-all-webhooks.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-all-webhooks.d.mts","names":[],"sources":["../../src/actions/get-all-webhooks.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQ9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-all-webhooks.d.mts","names":[],"sources":["../../src/actions/get-all-webhooks.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQ9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,WAAA,CAAY,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-webhooks.ts
@@ -1 +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.object({}).describe(\"Request model for retrieving all webhooks. No parameters are required.\");\nconst PostalyticsGetAllWebhooks_WebhookSchema = 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}).passthrough().describe(\"Model representing a single webhook object.\");\nexport const PostalyticsGetAllWebhooksOutput = z.object({\n webhooks: z.array(PostalyticsGetAllWebhooks_WebhookSchema).describe(\"List of all webhooks configured for the account\").nullable().optional(),\n}).passthrough().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,iCAAiC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wEAAwE;AAC5I,MAAM,0CAA0C,EAAE,OAAO;CACvD,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,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAKvE,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6C,EAAE,OAAO,EACtD,UAAU,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kFAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-all-webhooks.mjs","names":[],"sources":["../../src/actions/get-all-webhooks.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postalytics } from \"../app\";\n\nexport const PostalyticsGetAllWebhooksInput = z.object({}).describe(\"Request model for retrieving all webhooks. No parameters are required.\");\nconst PostalyticsGetAllWebhooks_WebhookSchema = 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}).passthrough().describe(\"Model representing a single webhook object.\");\nexport const PostalyticsGetAllWebhooksOutput = z.object({\n webhooks: z.array(PostalyticsGetAllWebhooks_WebhookSchema).describe(\"List of all webhooks configured for the account\").nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving all webhooks. Returns an array of webhook objects.\");\n\nexport const postalyticsGetAllWebhooks: AppAction<\n typeof PostalyticsGetAllWebhooksInput,\n typeof PostalyticsGetAllWebhooksOutput,\n typeof postalytics.credential\n> = 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":";;;;AAMA,MAAa,iCAAiC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wEAAwE;AAC5I,MAAM,0CAA0C,EAAE,OAAO;CACvD,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,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAKvE,MAAa,4BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb6C,EAAE,OAAO,EACtD,UAAU,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kFAWhB;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-integrations.ts
@@ -1 +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.object({}).describe(\"Request model for retrieving Connect integrations. No parameters are required.\");\nconst PostalyticsGetIntegrations_IntegrationItemSchema = 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}).passthrough().describe(\"Model representing a single integration connection.\");\nexport const PostalyticsGetIntegrationsOutput = z.object({\n integrations: z.array(PostalyticsGetIntegrations_IntegrationItemSchema).describe(\"List of integration connections configured for the account.\"),\n}).passthrough().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,kCAAkCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gFAAgF;AACrJ,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,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,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,cAAcA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,6DAA6D,EAChJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,6BAA6BC,eAAAA,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-integrations.cjs","names":["z","action"],"sources":["../../src/actions/get-integrations.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postalytics } from \"../app\";\n\nexport const PostalyticsGetIntegrationsInput = z.object({}).describe(\"Request model for retrieving Connect integrations. No parameters are required.\");\nconst PostalyticsGetIntegrations_IntegrationItemSchema = 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}).passthrough().describe(\"Model representing a single integration connection.\");\nexport const PostalyticsGetIntegrationsOutput = z.object({\n integrations: z.array(PostalyticsGetIntegrations_IntegrationItemSchema).describe(\"List of integration connections configured for the account.\"),\n}).passthrough().describe(\"Response model for retrieving Connect integrations.\");\n\nexport const postalyticsGetIntegrations: AppAction<\n typeof PostalyticsGetIntegrationsInput,\n typeof PostalyticsGetIntegrationsOutput,\n typeof postalytics.credential\n> = 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":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gFAAgF;AACrJ,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,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,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,cAAcA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,6DAA6D,EAChJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,6BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { postalytics } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-integrations.d.ts
@@ -11,7 +13,7 @@ declare const PostalyticsGetIntegrationsOutput: z.ZodObject<{
11
13
  intergrationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
14
  }, z.core.$loose>>;
13
15
  }, z.core.$loose>;
14
- declare const postalyticsGetIntegrations: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
16
+ declare const postalyticsGetIntegrations: AppAction<typeof PostalyticsGetIntegrationsInput, typeof PostalyticsGetIntegrationsOutput, typeof postalytics.credential>;
15
17
  //#endregion
16
18
  export { postalyticsGetIntegrations };
17
19
  //# sourceMappingURL=get-integrations.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-integrations.d.cts","names":[],"sources":["../../src/actions/get-integrations.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQ/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;cAIhC,0BAAA,gCAA0B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-integrations.d.cts","names":[],"sources":["../../src/actions/get-integrations.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQ/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;cAIhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,WAAA,CAAY,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { postalytics } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-integrations.d.ts
@@ -11,7 +13,7 @@ declare const PostalyticsGetIntegrationsOutput: z.ZodObject<{
11
13
  intergrationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
14
  }, z.core.$loose>>;
13
15
  }, z.core.$loose>;
14
- declare const postalyticsGetIntegrations: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
16
+ declare const postalyticsGetIntegrations: AppAction<typeof PostalyticsGetIntegrationsInput, typeof PostalyticsGetIntegrationsOutput, typeof postalytics.credential>;
15
17
  //#endregion
16
18
  export { postalyticsGetIntegrations };
17
19
  //# sourceMappingURL=get-integrations.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-integrations.d.mts","names":[],"sources":["../../src/actions/get-integrations.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQ/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;cAIhC,0BAAA,gCAA0B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-integrations.d.mts","names":[],"sources":["../../src/actions/get-integrations.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQ/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;cAIhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,WAAA,CAAY,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-integrations.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-integrations.mjs","names":[],"sources":["../../src/actions/get-integrations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostalyticsGetIntegrationsInput = z.object({}).describe(\"Request model for retrieving Connect integrations. No parameters are required.\");\nconst PostalyticsGetIntegrations_IntegrationItemSchema = 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}).passthrough().describe(\"Model representing a single integration connection.\");\nexport const PostalyticsGetIntegrationsOutput = z.object({\n integrations: z.array(PostalyticsGetIntegrations_IntegrationItemSchema).describe(\"List of integration connections configured for the account.\"),\n}).passthrough().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,kCAAkC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gFAAgF;AACrJ,MAAM,mDAAmD,EAAE,OAAO;CAChE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAK/E,MAAa,6BAA6B,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8C,EAAE,OAAO,EACvD,cAAc,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,6DAA6D,EAChJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-integrations.mjs","names":[],"sources":["../../src/actions/get-integrations.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postalytics } from \"../app\";\n\nexport const PostalyticsGetIntegrationsInput = z.object({}).describe(\"Request model for retrieving Connect integrations. No parameters are required.\");\nconst PostalyticsGetIntegrations_IntegrationItemSchema = 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}).passthrough().describe(\"Model representing a single integration connection.\");\nexport const PostalyticsGetIntegrationsOutput = z.object({\n integrations: z.array(PostalyticsGetIntegrations_IntegrationItemSchema).describe(\"List of integration connections configured for the account.\"),\n}).passthrough().describe(\"Response model for retrieving Connect integrations.\");\n\nexport const postalyticsGetIntegrations: AppAction<\n typeof PostalyticsGetIntegrationsInput,\n typeof PostalyticsGetIntegrationsOutput,\n typeof postalytics.credential\n> = 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":";;;;AAMA,MAAa,kCAAkC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gFAAgF;AACrJ,MAAM,mDAAmD,EAAE,OAAO;CAChE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAK/E,MAAa,6BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb8C,EAAE,OAAO,EACvD,cAAc,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,6DAA6D,EAChJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAWhB;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-my-account.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-my-account.cjs","names":["z","action"],"sources":["../../src/actions/get-my-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostalyticsGetMyAccountInput = z.object({}).describe(\"Request model for retrieving account information. No parameters are required.\");\nconst PostalyticsGetMyAccount_AccountDetailsSchema = z.object({\n phone: z.string().describe(\"The phone number associated with the account\").nullable().optional(),\n api_key: z.string().describe(\"The API key associated with the account\").nullable().optional(),\n company: z.string().describe(\"The company name associated with the account\").nullable().optional(),\n password: z.string().describe(\"Password field (always empty for security purposes)\").nullable().optional(),\n username: z.string().describe(\"The username associated with the account\").nullable().optional(),\n last_name: z.string().describe(\"The last name of the account holder\").nullable().optional(),\n account_id: z.number().int().describe(\"The unique account identifier\").nullable(),\n first_name: z.string().describe(\"The first name of the account holder\").nullable().optional(),\n address_zip: z.string().describe(\"The zip code associated with the account's address\").nullable().optional(),\n address_city: z.string().describe(\"The city associated with the account's address\").nullable().optional(),\n created_date: z.string().describe(\"The date and time when the account was created\").nullable(),\n address_state: z.string().describe(\"The state associated with the account's address\").nullable().optional(),\n email_address: z.string().describe(\"The email address associated with the account\").nullable().optional(),\n address_street: z.string().describe(\"The street address associated with the account\").nullable().optional(),\n}).passthrough().describe(\"Account details for the authenticated user.\");\nexport const PostalyticsGetMyAccountOutput = z.object({\n accounts: z.array(PostalyticsGetMyAccount_AccountDetailsSchema).describe(\"List of account details for the authenticated user\"),\n}).passthrough().describe(\"Response model for retrieving account information.\");\n\nexport const postalyticsGetMyAccount = action(\"POSTALYTICS_GET_MY_ACCOUNT\", {\n slug: \"postalytics-get-my-account\",\n name: \"Get My Account\",\n description: \"Tool to retrieve basic account information for the authenticated user. Use when you need to get account details such as contact information, address, or API key.\",\n input: PostalyticsGetMyAccountInput,\n output: PostalyticsGetMyAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+EAA+E;AACjJ,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC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AAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,UAAUA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,oDAAoD,EAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-my-account.cjs","names":["z","action"],"sources":["../../src/actions/get-my-account.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postalytics } from \"../app\";\n\nexport const PostalyticsGetMyAccountInput = z.object({}).describe(\"Request model for retrieving account information. No parameters are required.\");\nconst PostalyticsGetMyAccount_AccountDetailsSchema = z.object({\n phone: z.string().describe(\"The phone number associated with the account\").nullable().optional(),\n api_key: z.string().describe(\"The API key associated with the account\").nullable().optional(),\n company: z.string().describe(\"The company name associated with the account\").nullable().optional(),\n password: z.string().describe(\"Password field (always empty for security purposes)\").nullable().optional(),\n username: z.string().describe(\"The username associated with the account\").nullable().optional(),\n last_name: z.string().describe(\"The last name of the account holder\").nullable().optional(),\n account_id: z.number().int().describe(\"The unique account identifier\").nullable(),\n first_name: z.string().describe(\"The first name of the account holder\").nullable().optional(),\n address_zip: z.string().describe(\"The zip code associated with the account's address\").nullable().optional(),\n address_city: z.string().describe(\"The city associated with the account's address\").nullable().optional(),\n created_date: z.string().describe(\"The date and time when the account was created\").nullable(),\n address_state: z.string().describe(\"The state associated with the account's address\").nullable().optional(),\n email_address: z.string().describe(\"The email address associated with the account\").nullable().optional(),\n address_street: z.string().describe(\"The street address associated with the account\").nullable().optional(),\n}).passthrough().describe(\"Account details for the authenticated user.\");\nexport const PostalyticsGetMyAccountOutput = z.object({\n accounts: z.array(PostalyticsGetMyAccount_AccountDetailsSchema).describe(\"List of account details for the authenticated user\"),\n}).passthrough().describe(\"Response model for retrieving account information.\");\n\nexport const postalyticsGetMyAccount: AppAction<\n typeof PostalyticsGetMyAccountInput,\n typeof PostalyticsGetMyAccountOutput,\n typeof postalytics.credential\n> = action(\"POSTALYTICS_GET_MY_ACCOUNT\", {\n slug: \"postalytics-get-my-account\",\n name: \"Get My Account\",\n description: \"Tool to retrieve basic account information for the authenticated user. Use when you need to get account details such as contact information, address, or API key.\",\n input: PostalyticsGetMyAccountInput,\n output: PostalyticsGetMyAccountOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+EAA+E;AACjJ,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAChF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC7F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,UAAUA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,oDAAoD,EAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,0BAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { postalytics } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-my-account.d.ts
@@ -20,7 +22,7 @@ declare const PostalyticsGetMyAccountOutput: z.ZodObject<{
20
22
  address_street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
23
  }, z.core.$loose>>;
22
24
  }, z.core.$loose>;
23
- declare const postalyticsGetMyAccount: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
25
+ declare const postalyticsGetMyAccount: AppAction<typeof PostalyticsGetMyAccountInput, typeof PostalyticsGetMyAccountOutput, typeof postalytics.credential>;
24
26
  //#endregion
25
27
  export { postalyticsGetMyAccount };
26
28
  //# sourceMappingURL=get-my-account.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-my-account.d.cts","names":[],"sources":["../../src/actions/get-my-account.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAiB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-my-account.d.cts","names":[],"sources":["../../src/actions/get-my-account.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAiB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,WAAA,CAAY,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { postalytics } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-my-account.d.ts
@@ -20,7 +22,7 @@ declare const PostalyticsGetMyAccountOutput: z.ZodObject<{
20
22
  address_street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
23
  }, z.core.$loose>>;
22
24
  }, z.core.$loose>;
23
- declare const postalyticsGetMyAccount: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
25
+ declare const postalyticsGetMyAccount: AppAction<typeof PostalyticsGetMyAccountInput, typeof PostalyticsGetMyAccountOutput, typeof postalytics.credential>;
24
26
  //#endregion
25
27
  export { postalyticsGetMyAccount };
26
28
  //# sourceMappingURL=get-my-account.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-my-account.d.mts","names":[],"sources":["../../src/actions/get-my-account.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAiB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-my-account.d.mts","names":[],"sources":["../../src/actions/get-my-account.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAiB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,WAAA,CAAY,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-my-account.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-my-account.mjs","names":[],"sources":["../../src/actions/get-my-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostalyticsGetMyAccountInput = z.object({}).describe(\"Request model for retrieving account information. No parameters are required.\");\nconst PostalyticsGetMyAccount_AccountDetailsSchema = z.object({\n phone: z.string().describe(\"The phone number associated with the account\").nullable().optional(),\n api_key: z.string().describe(\"The API key associated with the account\").nullable().optional(),\n company: z.string().describe(\"The company name associated with the account\").nullable().optional(),\n password: z.string().describe(\"Password field (always empty for security purposes)\").nullable().optional(),\n username: z.string().describe(\"The username associated with the account\").nullable().optional(),\n last_name: z.string().describe(\"The last name of the account holder\").nullable().optional(),\n account_id: z.number().int().describe(\"The unique account identifier\").nullable(),\n first_name: z.string().describe(\"The first name of the account holder\").nullable().optional(),\n address_zip: z.string().describe(\"The zip code associated with the account's address\").nullable().optional(),\n address_city: z.string().describe(\"The city associated with the account's address\").nullable().optional(),\n created_date: z.string().describe(\"The date and time when the account was created\").nullable(),\n address_state: z.string().describe(\"The state associated with the account's address\").nullable().optional(),\n email_address: z.string().describe(\"The email address associated with the account\").nullable().optional(),\n address_street: z.string().describe(\"The street address associated with the account\").nullable().optional(),\n}).passthrough().describe(\"Account details for the authenticated user.\");\nexport const PostalyticsGetMyAccountOutput = z.object({\n accounts: z.array(PostalyticsGetMyAccount_AccountDetailsSchema).describe(\"List of account details for the authenticated user\"),\n}).passthrough().describe(\"Response model for retrieving account information.\");\n\nexport const postalyticsGetMyAccount = action(\"POSTALYTICS_GET_MY_ACCOUNT\", {\n slug: \"postalytics-get-my-account\",\n name: \"Get My Account\",\n description: \"Tool to retrieve basic account information for the authenticated user. Use when you need to get account details such as contact information, address, or API key.\",\n input: PostalyticsGetMyAccountInput,\n output: PostalyticsGetMyAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+EAA+E;AACjJ,MAAM,+CAA+C,EAAE,OAAO;CAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8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AAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-my-account.mjs","names":[],"sources":["../../src/actions/get-my-account.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postalytics } from \"../app\";\n\nexport const PostalyticsGetMyAccountInput = z.object({}).describe(\"Request model for retrieving account information. No parameters are required.\");\nconst PostalyticsGetMyAccount_AccountDetailsSchema = z.object({\n phone: z.string().describe(\"The phone number associated with the account\").nullable().optional(),\n api_key: z.string().describe(\"The API key associated with the account\").nullable().optional(),\n company: z.string().describe(\"The company name associated with the account\").nullable().optional(),\n password: z.string().describe(\"Password field (always empty for security purposes)\").nullable().optional(),\n username: z.string().describe(\"The username associated with the account\").nullable().optional(),\n last_name: z.string().describe(\"The last name of the account holder\").nullable().optional(),\n account_id: z.number().int().describe(\"The unique account identifier\").nullable(),\n first_name: z.string().describe(\"The first name of the account holder\").nullable().optional(),\n address_zip: z.string().describe(\"The zip code associated with the account's address\").nullable().optional(),\n address_city: z.string().describe(\"The city associated with the account's address\").nullable().optional(),\n created_date: z.string().describe(\"The date and time when the account was created\").nullable(),\n address_state: z.string().describe(\"The state associated with the account's address\").nullable().optional(),\n email_address: z.string().describe(\"The email address associated with the account\").nullable().optional(),\n address_street: z.string().describe(\"The street address associated with the account\").nullable().optional(),\n}).passthrough().describe(\"Account details for the authenticated user.\");\nexport const PostalyticsGetMyAccountOutput = z.object({\n accounts: z.array(PostalyticsGetMyAccount_AccountDetailsSchema).describe(\"List of account details for the authenticated user\"),\n}).passthrough().describe(\"Response model for retrieving account information.\");\n\nexport const postalyticsGetMyAccount: AppAction<\n typeof PostalyticsGetMyAccountInput,\n typeof PostalyticsGetMyAccountOutput,\n typeof postalytics.credential\n> = action(\"POSTALYTICS_GET_MY_ACCOUNT\", {\n slug: \"postalytics-get-my-account\",\n name: \"Get My Account\",\n description: \"Tool to retrieve basic account information for the authenticated user. Use when you need to get account details such as contact information, address, or API key.\",\n input: PostalyticsGetMyAccountInput,\n output: PostalyticsGetMyAccountOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+EAA+E;AACjJ,MAAM,+CAA+C,EAAE,OAAO;CAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAChF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC7F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;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