@keystrokehq/textit 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (282) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/create-campaign.cjs +29 -0
  7. package/dist/actions/create-campaign.cjs.map +1 -0
  8. package/dist/actions/create-campaign.d.cts +9 -0
  9. package/dist/actions/create-campaign.d.cts.map +1 -0
  10. package/dist/actions/create-campaign.d.mts +9 -0
  11. package/dist/actions/create-campaign.d.mts.map +1 -0
  12. package/dist/actions/create-campaign.mjs +28 -0
  13. package/dist/actions/create-campaign.mjs.map +1 -0
  14. package/dist/actions/create-group.cjs +23 -0
  15. package/dist/actions/create-group.cjs.map +1 -0
  16. package/dist/actions/create-group.d.cts +9 -0
  17. package/dist/actions/create-group.d.cts.map +1 -0
  18. package/dist/actions/create-group.d.mts +9 -0
  19. package/dist/actions/create-group.d.mts.map +1 -0
  20. package/dist/actions/create-group.mjs +20 -0
  21. package/dist/actions/create-group.mjs.map +1 -0
  22. package/dist/actions/create-label.cjs +20 -0
  23. package/dist/actions/create-label.cjs.map +1 -0
  24. package/dist/actions/create-label.d.cts +9 -0
  25. package/dist/actions/create-label.d.cts.map +1 -0
  26. package/dist/actions/create-label.d.mts +9 -0
  27. package/dist/actions/create-label.d.mts.map +1 -0
  28. package/dist/actions/create-label.mjs +17 -0
  29. package/dist/actions/create-label.mjs.map +1 -0
  30. package/dist/actions/delete-contact.cjs +16 -0
  31. package/dist/actions/delete-contact.cjs.map +1 -0
  32. package/dist/actions/delete-contact.d.cts +9 -0
  33. package/dist/actions/delete-contact.d.cts.map +1 -0
  34. package/dist/actions/delete-contact.d.mts +9 -0
  35. package/dist/actions/delete-contact.d.mts.map +1 -0
  36. package/dist/actions/delete-contact.mjs +13 -0
  37. package/dist/actions/delete-contact.mjs.map +1 -0
  38. package/dist/actions/delete-group.cjs +19 -0
  39. package/dist/actions/delete-group.cjs.map +1 -0
  40. package/dist/actions/delete-group.d.cts +9 -0
  41. package/dist/actions/delete-group.d.cts.map +1 -0
  42. package/dist/actions/delete-group.d.mts +9 -0
  43. package/dist/actions/delete-group.d.mts.map +1 -0
  44. package/dist/actions/delete-group.mjs +16 -0
  45. package/dist/actions/delete-group.mjs.map +1 -0
  46. package/dist/actions/delete-label.cjs +19 -0
  47. package/dist/actions/delete-label.cjs.map +1 -0
  48. package/dist/actions/delete-label.d.cts +9 -0
  49. package/dist/actions/delete-label.d.cts.map +1 -0
  50. package/dist/actions/delete-label.d.mts +9 -0
  51. package/dist/actions/delete-label.d.mts.map +1 -0
  52. package/dist/actions/delete-label.mjs +16 -0
  53. package/dist/actions/delete-label.mjs.map +1 -0
  54. package/dist/actions/get-campaign.cjs +26 -0
  55. package/dist/actions/get-campaign.cjs.map +1 -0
  56. package/dist/actions/get-campaign.d.cts +9 -0
  57. package/dist/actions/get-campaign.d.cts.map +1 -0
  58. package/dist/actions/get-campaign.d.mts +9 -0
  59. package/dist/actions/get-campaign.d.mts.map +1 -0
  60. package/dist/actions/get-campaign.mjs +25 -0
  61. package/dist/actions/get-campaign.mjs.map +1 -0
  62. package/dist/actions/get-workspace.cjs +24 -0
  63. package/dist/actions/get-workspace.cjs.map +1 -0
  64. package/dist/actions/get-workspace.d.cts +9 -0
  65. package/dist/actions/get-workspace.d.cts.map +1 -0
  66. package/dist/actions/get-workspace.d.mts +9 -0
  67. package/dist/actions/get-workspace.d.mts.map +1 -0
  68. package/dist/actions/get-workspace.mjs +21 -0
  69. package/dist/actions/get-workspace.mjs.map +1 -0
  70. package/dist/actions/index.cjs +63 -0
  71. package/dist/actions/index.d.cts +32 -0
  72. package/dist/actions/index.d.mts +32 -0
  73. package/dist/actions/index.mjs +32 -0
  74. package/dist/actions/list-archives.cjs +35 -0
  75. package/dist/actions/list-archives.cjs.map +1 -0
  76. package/dist/actions/list-archives.d.cts +9 -0
  77. package/dist/actions/list-archives.d.cts.map +1 -0
  78. package/dist/actions/list-archives.d.mts +9 -0
  79. package/dist/actions/list-archives.d.mts.map +1 -0
  80. package/dist/actions/list-archives.mjs +34 -0
  81. package/dist/actions/list-archives.mjs.map +1 -0
  82. package/dist/actions/list-broadcasts.cjs +35 -0
  83. package/dist/actions/list-broadcasts.cjs.map +1 -0
  84. package/dist/actions/list-broadcasts.d.cts +9 -0
  85. package/dist/actions/list-broadcasts.d.cts.map +1 -0
  86. package/dist/actions/list-broadcasts.d.mts +9 -0
  87. package/dist/actions/list-broadcasts.d.mts.map +1 -0
  88. package/dist/actions/list-broadcasts.mjs +34 -0
  89. package/dist/actions/list-broadcasts.mjs.map +1 -0
  90. package/dist/actions/list-campaign-events2.cjs +51 -0
  91. package/dist/actions/list-campaign-events2.cjs.map +1 -0
  92. package/dist/actions/list-campaign-events2.d.cts +9 -0
  93. package/dist/actions/list-campaign-events2.d.cts.map +1 -0
  94. package/dist/actions/list-campaign-events2.d.mts +9 -0
  95. package/dist/actions/list-campaign-events2.d.mts.map +1 -0
  96. package/dist/actions/list-campaign-events2.mjs +50 -0
  97. package/dist/actions/list-campaign-events2.mjs.map +1 -0
  98. package/dist/actions/list-campaigns.cjs +35 -0
  99. package/dist/actions/list-campaigns.cjs.map +1 -0
  100. package/dist/actions/list-campaigns.d.cts +9 -0
  101. package/dist/actions/list-campaigns.d.cts.map +1 -0
  102. package/dist/actions/list-campaigns.d.mts +9 -0
  103. package/dist/actions/list-campaigns.d.mts.map +1 -0
  104. package/dist/actions/list-campaigns.mjs +34 -0
  105. package/dist/actions/list-campaigns.mjs.map +1 -0
  106. package/dist/actions/list-channels.cjs +35 -0
  107. package/dist/actions/list-channels.cjs.map +1 -0
  108. package/dist/actions/list-channels.d.cts +9 -0
  109. package/dist/actions/list-channels.d.cts.map +1 -0
  110. package/dist/actions/list-channels.d.mts +9 -0
  111. package/dist/actions/list-channels.d.mts.map +1 -0
  112. package/dist/actions/list-channels.mjs +34 -0
  113. package/dist/actions/list-channels.mjs.map +1 -0
  114. package/dist/actions/list-classifiers.cjs +30 -0
  115. package/dist/actions/list-classifiers.cjs.map +1 -0
  116. package/dist/actions/list-classifiers.d.cts +9 -0
  117. package/dist/actions/list-classifiers.d.cts.map +1 -0
  118. package/dist/actions/list-classifiers.d.mts +9 -0
  119. package/dist/actions/list-classifiers.d.mts.map +1 -0
  120. package/dist/actions/list-classifiers.mjs +29 -0
  121. package/dist/actions/list-classifiers.mjs.map +1 -0
  122. package/dist/actions/list-contacts.cjs +47 -0
  123. package/dist/actions/list-contacts.cjs.map +1 -0
  124. package/dist/actions/list-contacts.d.cts +9 -0
  125. package/dist/actions/list-contacts.d.cts.map +1 -0
  126. package/dist/actions/list-contacts.d.mts +9 -0
  127. package/dist/actions/list-contacts.d.mts.map +1 -0
  128. package/dist/actions/list-contacts.mjs +46 -0
  129. package/dist/actions/list-contacts.mjs.map +1 -0
  130. package/dist/actions/list-fields.cjs +40 -0
  131. package/dist/actions/list-fields.cjs.map +1 -0
  132. package/dist/actions/list-fields.d.cts +9 -0
  133. package/dist/actions/list-fields.d.cts.map +1 -0
  134. package/dist/actions/list-fields.d.mts +9 -0
  135. package/dist/actions/list-fields.d.mts.map +1 -0
  136. package/dist/actions/list-fields.mjs +39 -0
  137. package/dist/actions/list-fields.mjs.map +1 -0
  138. package/dist/actions/list-flow-starts.cjs +44 -0
  139. package/dist/actions/list-flow-starts.cjs.map +1 -0
  140. package/dist/actions/list-flow-starts.d.cts +9 -0
  141. package/dist/actions/list-flow-starts.d.cts.map +1 -0
  142. package/dist/actions/list-flow-starts.d.mts +9 -0
  143. package/dist/actions/list-flow-starts.d.mts.map +1 -0
  144. package/dist/actions/list-flow-starts.mjs +43 -0
  145. package/dist/actions/list-flow-starts.mjs.map +1 -0
  146. package/dist/actions/list-flows.cjs +59 -0
  147. package/dist/actions/list-flows.cjs.map +1 -0
  148. package/dist/actions/list-flows.d.cts +9 -0
  149. package/dist/actions/list-flows.d.cts.map +1 -0
  150. package/dist/actions/list-flows.d.mts +9 -0
  151. package/dist/actions/list-flows.d.mts.map +1 -0
  152. package/dist/actions/list-flows.mjs +58 -0
  153. package/dist/actions/list-flows.mjs.map +1 -0
  154. package/dist/actions/list-globals.cjs +26 -0
  155. package/dist/actions/list-globals.cjs.map +1 -0
  156. package/dist/actions/list-globals.d.cts +9 -0
  157. package/dist/actions/list-globals.d.cts.map +1 -0
  158. package/dist/actions/list-globals.d.mts +9 -0
  159. package/dist/actions/list-globals.d.mts.map +1 -0
  160. package/dist/actions/list-globals.mjs +25 -0
  161. package/dist/actions/list-globals.mjs.map +1 -0
  162. package/dist/actions/list-groups2.cjs +32 -0
  163. package/dist/actions/list-groups2.cjs.map +1 -0
  164. package/dist/actions/list-groups2.d.cts +9 -0
  165. package/dist/actions/list-groups2.d.cts.map +1 -0
  166. package/dist/actions/list-groups2.d.mts +9 -0
  167. package/dist/actions/list-groups2.d.mts.map +1 -0
  168. package/dist/actions/list-groups2.mjs +31 -0
  169. package/dist/actions/list-groups2.mjs.map +1 -0
  170. package/dist/actions/list-labels2.cjs +29 -0
  171. package/dist/actions/list-labels2.cjs.map +1 -0
  172. package/dist/actions/list-labels2.d.cts +9 -0
  173. package/dist/actions/list-labels2.d.cts.map +1 -0
  174. package/dist/actions/list-labels2.d.mts +9 -0
  175. package/dist/actions/list-labels2.d.mts.map +1 -0
  176. package/dist/actions/list-labels2.mjs +28 -0
  177. package/dist/actions/list-labels2.mjs.map +1 -0
  178. package/dist/actions/list-messages.cjs +68 -0
  179. package/dist/actions/list-messages.cjs.map +1 -0
  180. package/dist/actions/list-messages.d.cts +9 -0
  181. package/dist/actions/list-messages.d.cts.map +1 -0
  182. package/dist/actions/list-messages.d.mts +9 -0
  183. package/dist/actions/list-messages.d.mts.map +1 -0
  184. package/dist/actions/list-messages.mjs +67 -0
  185. package/dist/actions/list-messages.mjs.map +1 -0
  186. package/dist/actions/list-resthook-events.cjs +28 -0
  187. package/dist/actions/list-resthook-events.cjs.map +1 -0
  188. package/dist/actions/list-resthook-events.d.cts +9 -0
  189. package/dist/actions/list-resthook-events.d.cts.map +1 -0
  190. package/dist/actions/list-resthook-events.d.mts +9 -0
  191. package/dist/actions/list-resthook-events.d.mts.map +1 -0
  192. package/dist/actions/list-resthook-events.mjs +27 -0
  193. package/dist/actions/list-resthook-events.mjs.map +1 -0
  194. package/dist/actions/list-resthook-subscribers.cjs +29 -0
  195. package/dist/actions/list-resthook-subscribers.cjs.map +1 -0
  196. package/dist/actions/list-resthook-subscribers.d.cts +9 -0
  197. package/dist/actions/list-resthook-subscribers.d.cts.map +1 -0
  198. package/dist/actions/list-resthook-subscribers.d.mts +9 -0
  199. package/dist/actions/list-resthook-subscribers.d.mts.map +1 -0
  200. package/dist/actions/list-resthook-subscribers.mjs +28 -0
  201. package/dist/actions/list-resthook-subscribers.mjs.map +1 -0
  202. package/dist/actions/list-resthooks.cjs +29 -0
  203. package/dist/actions/list-resthooks.cjs.map +1 -0
  204. package/dist/actions/list-resthooks.d.cts +9 -0
  205. package/dist/actions/list-resthooks.d.cts.map +1 -0
  206. package/dist/actions/list-resthooks.d.mts +9 -0
  207. package/dist/actions/list-resthooks.d.mts.map +1 -0
  208. package/dist/actions/list-resthooks.mjs +28 -0
  209. package/dist/actions/list-resthooks.mjs.map +1 -0
  210. package/dist/actions/list-runs.cjs +45 -0
  211. package/dist/actions/list-runs.cjs.map +1 -0
  212. package/dist/actions/list-runs.d.cts +9 -0
  213. package/dist/actions/list-runs.d.cts.map +1 -0
  214. package/dist/actions/list-runs.d.mts +9 -0
  215. package/dist/actions/list-runs.d.mts.map +1 -0
  216. package/dist/actions/list-runs.mjs +44 -0
  217. package/dist/actions/list-runs.mjs.map +1 -0
  218. package/dist/actions/list-tickets.cjs +55 -0
  219. package/dist/actions/list-tickets.cjs.map +1 -0
  220. package/dist/actions/list-tickets.d.cts +9 -0
  221. package/dist/actions/list-tickets.d.cts.map +1 -0
  222. package/dist/actions/list-tickets.d.mts +9 -0
  223. package/dist/actions/list-tickets.d.mts.map +1 -0
  224. package/dist/actions/list-tickets.mjs +54 -0
  225. package/dist/actions/list-tickets.mjs.map +1 -0
  226. package/dist/actions/list-topics2.cjs +34 -0
  227. package/dist/actions/list-topics2.cjs.map +1 -0
  228. package/dist/actions/list-topics2.d.cts +9 -0
  229. package/dist/actions/list-topics2.d.cts.map +1 -0
  230. package/dist/actions/list-topics2.d.mts +9 -0
  231. package/dist/actions/list-topics2.d.mts.map +1 -0
  232. package/dist/actions/list-topics2.mjs +33 -0
  233. package/dist/actions/list-topics2.mjs.map +1 -0
  234. package/dist/actions/list-users.cjs +37 -0
  235. package/dist/actions/list-users.cjs.map +1 -0
  236. package/dist/actions/list-users.d.cts +9 -0
  237. package/dist/actions/list-users.d.cts.map +1 -0
  238. package/dist/actions/list-users.d.mts +9 -0
  239. package/dist/actions/list-users.d.mts.map +1 -0
  240. package/dist/actions/list-users.mjs +36 -0
  241. package/dist/actions/list-users.mjs.map +1 -0
  242. package/dist/actions/send-broadcast.cjs +42 -0
  243. package/dist/actions/send-broadcast.cjs.map +1 -0
  244. package/dist/actions/send-broadcast.d.cts +9 -0
  245. package/dist/actions/send-broadcast.d.cts.map +1 -0
  246. package/dist/actions/send-broadcast.d.mts +9 -0
  247. package/dist/actions/send-broadcast.d.mts.map +1 -0
  248. package/dist/actions/send-broadcast.mjs +41 -0
  249. package/dist/actions/send-broadcast.mjs.map +1 -0
  250. package/dist/actions/update-contact.cjs +40 -0
  251. package/dist/actions/update-contact.cjs.map +1 -0
  252. package/dist/actions/update-contact.d.cts +9 -0
  253. package/dist/actions/update-contact.d.cts.map +1 -0
  254. package/dist/actions/update-contact.d.mts +9 -0
  255. package/dist/actions/update-contact.d.mts.map +1 -0
  256. package/dist/actions/update-contact.mjs +39 -0
  257. package/dist/actions/update-contact.mjs.map +1 -0
  258. package/dist/app.cjs +9 -0
  259. package/dist/app.cjs.map +1 -0
  260. package/dist/app.d.cts +5 -0
  261. package/dist/app.d.cts.map +1 -0
  262. package/dist/app.d.mts +5 -0
  263. package/dist/app.d.mts.map +1 -0
  264. package/dist/app.mjs +10 -0
  265. package/dist/app.mjs.map +1 -0
  266. package/dist/catalog.cjs +15 -0
  267. package/dist/catalog.cjs.map +1 -0
  268. package/dist/catalog.d.cts +14 -0
  269. package/dist/catalog.d.cts.map +1 -0
  270. package/dist/catalog.d.mts +14 -0
  271. package/dist/catalog.d.mts.map +1 -0
  272. package/dist/catalog.mjs +15 -0
  273. package/dist/catalog.mjs.map +1 -0
  274. package/dist/execute.cjs +18 -0
  275. package/dist/execute.cjs.map +1 -0
  276. package/dist/execute.mjs +18 -0
  277. package/dist/execute.mjs.map +1 -0
  278. package/dist/index.cjs +68 -0
  279. package/dist/index.d.cts +34 -0
  280. package/dist/index.d.mts +34 -0
  281. package/dist/index.mjs +35 -0
  282. package/package.json +49 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-globals.d.mts","names":[],"sources":["../../src/actions/list-globals.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAEmB;AAAA,cAO7C,uBAAA,EAAyB,CAAA,CAAE,UAImC;AAAA,cAE9D,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,25 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-globals.ts
4
+ const TextitListGlobalsInput = z.object({ cursor: z.string().describe("Cursor for pagination. Extract from the 'next' URL of previous response.").optional() }).describe("Request model for listing global variables.");
5
+ const TextitListGlobals_GlobalSchema = z.object({
6
+ key: z.string().describe("The key/name of the global variable."),
7
+ name: z.string().describe("The display name of the global variable."),
8
+ value: z.string().describe("The value of the global variable."),
9
+ modified_on: z.string().describe("UTC timestamp when the global variable was last modified (ISO 8601 format).")
10
+ }).describe("Model representing a single global variable.");
11
+ const textitListGlobals = action("TEXTIT_LIST_GLOBALS", {
12
+ slug: "textit-list-globals",
13
+ name: "List Globals",
14
+ description: "Tool to list global variables. Use when you need to retrieve all workspace-level variables after authenticating.",
15
+ input: TextitListGlobalsInput,
16
+ output: z.object({
17
+ next: z.string().describe("URL to the next page of results, if any.").nullable().optional(),
18
+ results: z.array(TextitListGlobals_GlobalSchema).describe("List of global variable objects."),
19
+ previous: z.string().describe("URL to the previous page of results, if any.").nullable().optional()
20
+ }).describe("Response model for listing global variables with pagination.")
21
+ });
22
+ //#endregion
23
+ export { textitListGlobals };
24
+
25
+ //# sourceMappingURL=list-globals.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-globals.mjs","names":[],"sources":["../../src/actions/list-globals.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TextitListGlobalsInput: z.ZodTypeAny = z.object({\n cursor: z.string().describe(\"Cursor for pagination. Extract from the 'next' URL of previous response.\").optional(),\n}).describe(\"Request model for listing global variables.\");\nconst TextitListGlobals_GlobalSchema: z.ZodTypeAny = z.object({\n key: z.string().describe(\"The key/name of the global variable.\"),\n name: z.string().describe(\"The display name of the global variable.\"),\n value: z.string().describe(\"The value of the global variable.\"),\n modified_on: z.string().describe(\"UTC timestamp when the global variable was last modified (ISO 8601 format).\"),\n}).describe(\"Model representing a single global variable.\");\nexport const TextitListGlobalsOutput: z.ZodTypeAny = z.object({\n next: z.string().describe(\"URL to the next page of results, if any.\").nullable().optional(),\n results: z.array(TextitListGlobals_GlobalSchema).describe(\"List of global variable objects.\"),\n previous: z.string().describe(\"URL to the previous page of results, if any.\").nullable().optional(),\n}).describe(\"Response model for listing global variables with pagination.\");\n\nexport const textitListGlobals = action(\"TEXTIT_LIST_GLOBALS\", {\n slug: \"textit-list-globals\",\n name: \"List Globals\",\n description: \"Tool to list global variables. Use when you need to retrieve all workspace-level variables after authenticating.\",\n input: TextitListGlobalsInput,\n output: TextitListGlobalsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuC,EAAE,OAAO,EAC3D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,EACnH,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,iCAA+C,EAAE,OAAO;CAC5D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACpE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC9D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;AAChH,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAO1D,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXmD,EAAE,OAAO;EAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,kCAAkC;EAC5F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,CAAC,CAAC,CAAC,SAAS,8DAOF;AACV,CAAC"}
@@ -0,0 +1,32 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-groups2.ts
4
+ const TextitListGroups2Input = zod.z.object({
5
+ name: zod.z.string().describe("Filter by group name").optional(),
6
+ uuid: zod.z.string().describe("Filter by group UUID").optional(),
7
+ cursor: zod.z.string().describe("Cursor for pagination. Extract from the 'next' URL of previous response.").optional()
8
+ }).describe("Request model for listing contact groups with optional filtering by uuid or name.");
9
+ const TextitListGroups2_GroupSchema = zod.z.object({
10
+ name: zod.z.string().describe("Name of the group"),
11
+ uuid: zod.z.string().describe("Unique identifier for the group"),
12
+ count: zod.z.number().int().describe("Number of contacts in the group"),
13
+ query: zod.z.string().describe("Query string used for dynamic groups, or null for static groups").nullable().optional(),
14
+ status: zod.z.string().describe("Status of the group (e.g., 'ready')"),
15
+ system: zod.z.boolean().describe("Whether this is a system group")
16
+ }).describe("Model representing a single contact group.");
17
+ const TextitListGroups2Output = zod.z.object({
18
+ next: zod.z.string().describe("URL to the next page of results, or null if there is no next page").nullable().optional(),
19
+ results: zod.z.array(TextitListGroups2_GroupSchema).describe("List of groups returned on this page"),
20
+ previous: zod.z.string().describe("URL to the previous page of results, or null if there is no previous page").nullable().optional()
21
+ }).describe("Response model for listing contact groups with pagination.");
22
+ const textitListGroups2 = require_action.action("TEXTIT_LIST_GROUPS2", {
23
+ slug: "textit-list-groups2",
24
+ name: "List Groups",
25
+ description: "Tool to list contact groups for your organization. Use when you need to fetch groups with optional filtering by uuid or name.",
26
+ input: TextitListGroups2Input,
27
+ output: TextitListGroups2Output
28
+ });
29
+ //#endregion
30
+ exports.textitListGroups2 = textitListGroups2;
31
+
32
+ //# sourceMappingURL=list-groups2.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-groups2.cjs","names":["z","action"],"sources":["../../src/actions/list-groups2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TextitListGroups2Input: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Filter by group name\").optional(),\n uuid: z.string().describe(\"Filter by group UUID\").optional(),\n cursor: z.string().describe(\"Cursor for pagination. Extract from the 'next' URL of previous response.\").optional(),\n}).describe(\"Request model for listing contact groups with optional filtering by uuid or name.\");\nconst TextitListGroups2_GroupSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the group\"),\n uuid: z.string().describe(\"Unique identifier for the group\"),\n count: z.number().int().describe(\"Number of contacts in the group\"),\n query: z.string().describe(\"Query string used for dynamic groups, or null for static groups\").nullable().optional(),\n status: z.string().describe(\"Status of the group (e.g., 'ready')\"),\n system: z.boolean().describe(\"Whether this is a system group\"),\n}).describe(\"Model representing a single contact group.\");\nexport const TextitListGroups2Output: z.ZodTypeAny = z.object({\n next: z.string().describe(\"URL to the next page of results, or null if there is no next page\").nullable().optional(),\n results: z.array(TextitListGroups2_GroupSchema).describe(\"List of groups returned on this page\"),\n previous: z.string().describe(\"URL to the previous page of results, or null if there is no previous page\").nullable().optional(),\n}).describe(\"Response model for listing contact groups with pagination.\");\n\nexport const textitListGroups2 = action(\"TEXTIT_LIST_GROUPS2\", {\n slug: \"textit-list-groups2\",\n name: \"List Groups\",\n description: \"Tool to list contact groups for your organization. Use when you need to fetch groups with optional filtering by uuid or name.\",\n input: TextitListGroups2Input,\n output: TextitListGroups2Output,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,MAAM,gCAA8CA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CAClE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACjE,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC;AAC/D,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,SAASA,IAAAA,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,sCAAsC;CAC/F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjI,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAExE,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-groups2.d.ts
4
+ declare const TextitListGroups2Input: z.ZodTypeAny;
5
+ declare const TextitListGroups2Output: z.ZodTypeAny;
6
+ declare const textitListGroups2: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { textitListGroups2 };
9
+ //# sourceMappingURL=list-groups2.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-groups2.d.cts","names":[],"sources":["../../src/actions/list-groups2.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAIyD;AAAA,cASnF,uBAAA,EAAyB,CAAA,CAAE,UAIiC;AAAA,cAE5D,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-groups2.d.ts
4
+ declare const TextitListGroups2Input: z.ZodTypeAny;
5
+ declare const TextitListGroups2Output: z.ZodTypeAny;
6
+ declare const textitListGroups2: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { textitListGroups2 };
9
+ //# sourceMappingURL=list-groups2.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-groups2.d.mts","names":[],"sources":["../../src/actions/list-groups2.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAIyD;AAAA,cASnF,uBAAA,EAAyB,CAAA,CAAE,UAIiC;AAAA,cAE5D,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,31 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-groups2.ts
4
+ const TextitListGroups2Input = z.object({
5
+ name: z.string().describe("Filter by group name").optional(),
6
+ uuid: z.string().describe("Filter by group UUID").optional(),
7
+ cursor: z.string().describe("Cursor for pagination. Extract from the 'next' URL of previous response.").optional()
8
+ }).describe("Request model for listing contact groups with optional filtering by uuid or name.");
9
+ const TextitListGroups2_GroupSchema = z.object({
10
+ name: z.string().describe("Name of the group"),
11
+ uuid: z.string().describe("Unique identifier for the group"),
12
+ count: z.number().int().describe("Number of contacts in the group"),
13
+ query: z.string().describe("Query string used for dynamic groups, or null for static groups").nullable().optional(),
14
+ status: z.string().describe("Status of the group (e.g., 'ready')"),
15
+ system: z.boolean().describe("Whether this is a system group")
16
+ }).describe("Model representing a single contact group.");
17
+ const textitListGroups2 = action("TEXTIT_LIST_GROUPS2", {
18
+ slug: "textit-list-groups2",
19
+ name: "List Groups",
20
+ description: "Tool to list contact groups for your organization. Use when you need to fetch groups with optional filtering by uuid or name.",
21
+ input: TextitListGroups2Input,
22
+ output: z.object({
23
+ next: z.string().describe("URL to the next page of results, or null if there is no next page").nullable().optional(),
24
+ results: z.array(TextitListGroups2_GroupSchema).describe("List of groups returned on this page"),
25
+ previous: z.string().describe("URL to the previous page of results, or null if there is no previous page").nullable().optional()
26
+ }).describe("Response model for listing contact groups with pagination.")
27
+ });
28
+ //#endregion
29
+ export { textitListGroups2 };
30
+
31
+ //# sourceMappingURL=list-groups2.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-groups2.mjs","names":[],"sources":["../../src/actions/list-groups2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TextitListGroups2Input: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Filter by group name\").optional(),\n uuid: z.string().describe(\"Filter by group UUID\").optional(),\n cursor: z.string().describe(\"Cursor for pagination. Extract from the 'next' URL of previous response.\").optional(),\n}).describe(\"Request model for listing contact groups with optional filtering by uuid or name.\");\nconst TextitListGroups2_GroupSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the group\"),\n uuid: z.string().describe(\"Unique identifier for the group\"),\n count: z.number().int().describe(\"Number of contacts in the group\"),\n query: z.string().describe(\"Query string used for dynamic groups, or null for static groups\").nullable().optional(),\n status: z.string().describe(\"Status of the group (e.g., 'ready')\"),\n system: z.boolean().describe(\"Whether this is a system group\"),\n}).describe(\"Model representing a single contact group.\");\nexport const TextitListGroups2Output: z.ZodTypeAny = z.object({\n next: z.string().describe(\"URL to the next page of results, or null if there is no next page\").nullable().optional(),\n results: z.array(TextitListGroups2_GroupSchema).describe(\"List of groups returned on this page\"),\n previous: z.string().describe(\"URL to the previous page of results, or null if there is no previous page\").nullable().optional(),\n}).describe(\"Response model for listing contact groups with pagination.\");\n\nexport const textitListGroups2 = action(\"TEXTIT_LIST_GROUPS2\", {\n slug: \"textit-list-groups2\",\n name: \"List Groups\",\n description: \"Tool to list contact groups for your organization. Use when you need to fetch groups with optional filtering by uuid or name.\",\n input: TextitListGroups2Input,\n output: TextitListGroups2Output,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuC,EAAE,OAAO;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,MAAM,gCAA8C,EAAE,OAAO;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CAClE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACjE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC;AAC/D,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAOxD,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXmD,EAAE,OAAO;EAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,SAAS,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,sCAAsC;EAC/F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,CAAC,CAAC,CAAC,SAAS,4DAOF;AACV,CAAC"}
@@ -0,0 +1,29 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-labels2.ts
4
+ const TextitListLabels2Input = zod.z.object({
5
+ name: zod.z.string().describe("Filter by label name").optional(),
6
+ uuid: zod.z.string().describe("Filter by label UUID").optional(),
7
+ cursor: zod.z.string().describe("Cursor for pagination. Extract from the 'next' URL of previous response.").optional()
8
+ }).describe("Request model for listing message labels with optional filtering.");
9
+ const TextitListLabels2_LabelSchema = zod.z.object({
10
+ name: zod.z.string().describe("Name of the label"),
11
+ uuid: zod.z.string().describe("Unique identifier for the label"),
12
+ count: zod.z.number().int().describe("Number of messages with this label")
13
+ }).describe("A single message label object.");
14
+ const TextitListLabels2Output = zod.z.object({
15
+ next: zod.z.string().describe("URL to the next page of results, if any").nullable().optional(),
16
+ results: zod.z.array(TextitListLabels2_LabelSchema).describe("List of label objects on this page"),
17
+ previous: zod.z.string().describe("URL to the previous page of results, if any").nullable().optional()
18
+ }).describe("Response model for list_labels_2 endpoint, providing paginated message labels.");
19
+ const textitListLabels2 = require_action.action("TEXTIT_LIST_LABELS2", {
20
+ slug: "textit-list-labels2",
21
+ name: "List Labels 2",
22
+ description: "Tool to retrieve a list of message labels for your organization. Use when you need to filter labels by UUID or name.",
23
+ input: TextitListLabels2Input,
24
+ output: TextitListLabels2Output
25
+ });
26
+ //#endregion
27
+ exports.textitListLabels2 = textitListLabels2;
28
+
29
+ //# sourceMappingURL=list-labels2.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-labels2.cjs","names":["z","action"],"sources":["../../src/actions/list-labels2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TextitListLabels2Input: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Filter by label name\").optional(),\n uuid: z.string().describe(\"Filter by label UUID\").optional(),\n cursor: z.string().describe(\"Cursor for pagination. Extract from the 'next' URL of previous response.\").optional(),\n}).describe(\"Request model for listing message labels with optional filtering.\");\nconst TextitListLabels2_LabelSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the label\"),\n uuid: z.string().describe(\"Unique identifier for the label\"),\n count: z.number().int().describe(\"Number of messages with this label\"),\n}).describe(\"A single message label object.\");\nexport const TextitListLabels2Output: z.ZodTypeAny = z.object({\n next: z.string().describe(\"URL to the next page of results, if any\").nullable().optional(),\n results: z.array(TextitListLabels2_LabelSchema).describe(\"List of label objects on this page\"),\n previous: z.string().describe(\"URL to the previous page of results, if any\").nullable().optional(),\n}).describe(\"Response model for list_labels_2 endpoint, providing paginated message labels.\");\n\nexport const textitListLabels2 = action(\"TEXTIT_LIST_LABELS2\", {\n slug: \"textit-list-labels2\",\n name: \"List Labels 2\",\n description: \"Tool to retrieve a list of message labels for your organization. Use when you need to filter labels by UUID or name.\",\n input: TextitListLabels2Input,\n output: TextitListLabels2Output,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,gCAA8CA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;AACvE,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAC5C,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,SAASA,IAAAA,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,oCAAoC;CAC7F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAE5F,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-labels2.d.ts
4
+ declare const TextitListLabels2Input: z.ZodTypeAny;
5
+ declare const TextitListLabels2Output: z.ZodTypeAny;
6
+ declare const textitListLabels2: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { textitListLabels2 };
9
+ //# sourceMappingURL=list-labels2.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-labels2.d.cts","names":[],"sources":["../../src/actions/list-labels2.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAIyC;AAAA,cAMnE,uBAAA,EAAyB,CAAA,CAAE,UAIqD;AAAA,cAEhF,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-labels2.d.ts
4
+ declare const TextitListLabels2Input: z.ZodTypeAny;
5
+ declare const TextitListLabels2Output: z.ZodTypeAny;
6
+ declare const textitListLabels2: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { textitListLabels2 };
9
+ //# sourceMappingURL=list-labels2.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-labels2.d.mts","names":[],"sources":["../../src/actions/list-labels2.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAIyC;AAAA,cAMnE,uBAAA,EAAyB,CAAA,CAAE,UAIqD;AAAA,cAEhF,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,28 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-labels2.ts
4
+ const TextitListLabels2Input = z.object({
5
+ name: z.string().describe("Filter by label name").optional(),
6
+ uuid: z.string().describe("Filter by label UUID").optional(),
7
+ cursor: z.string().describe("Cursor for pagination. Extract from the 'next' URL of previous response.").optional()
8
+ }).describe("Request model for listing message labels with optional filtering.");
9
+ const TextitListLabels2_LabelSchema = z.object({
10
+ name: z.string().describe("Name of the label"),
11
+ uuid: z.string().describe("Unique identifier for the label"),
12
+ count: z.number().int().describe("Number of messages with this label")
13
+ }).describe("A single message label object.");
14
+ const textitListLabels2 = action("TEXTIT_LIST_LABELS2", {
15
+ slug: "textit-list-labels2",
16
+ name: "List Labels 2",
17
+ description: "Tool to retrieve a list of message labels for your organization. Use when you need to filter labels by UUID or name.",
18
+ input: TextitListLabels2Input,
19
+ output: z.object({
20
+ next: z.string().describe("URL to the next page of results, if any").nullable().optional(),
21
+ results: z.array(TextitListLabels2_LabelSchema).describe("List of label objects on this page"),
22
+ previous: z.string().describe("URL to the previous page of results, if any").nullable().optional()
23
+ }).describe("Response model for list_labels_2 endpoint, providing paginated message labels.")
24
+ });
25
+ //#endregion
26
+ export { textitListLabels2 };
27
+
28
+ //# sourceMappingURL=list-labels2.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-labels2.mjs","names":[],"sources":["../../src/actions/list-labels2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TextitListLabels2Input: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Filter by label name\").optional(),\n uuid: z.string().describe(\"Filter by label UUID\").optional(),\n cursor: z.string().describe(\"Cursor for pagination. Extract from the 'next' URL of previous response.\").optional(),\n}).describe(\"Request model for listing message labels with optional filtering.\");\nconst TextitListLabels2_LabelSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the label\"),\n uuid: z.string().describe(\"Unique identifier for the label\"),\n count: z.number().int().describe(\"Number of messages with this label\"),\n}).describe(\"A single message label object.\");\nexport const TextitListLabels2Output: z.ZodTypeAny = z.object({\n next: z.string().describe(\"URL to the next page of results, if any\").nullable().optional(),\n results: z.array(TextitListLabels2_LabelSchema).describe(\"List of label objects on this page\"),\n previous: z.string().describe(\"URL to the previous page of results, if any\").nullable().optional(),\n}).describe(\"Response model for list_labels_2 endpoint, providing paginated message labels.\");\n\nexport const textitListLabels2 = action(\"TEXTIT_LIST_LABELS2\", {\n slug: \"textit-list-labels2\",\n name: \"List Labels 2\",\n description: \"Tool to retrieve a list of message labels for your organization. Use when you need to filter labels by UUID or name.\",\n input: TextitListLabels2Input,\n output: TextitListLabels2Output,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuC,EAAE,OAAO;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,gCAA8C,EAAE,OAAO;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;AACvE,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAO5C,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXmD,EAAE,OAAO;EAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,SAAS,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,oCAAoC;EAC7F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,SAAS,gFAOF;AACV,CAAC"}
@@ -0,0 +1,68 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-messages.ts
4
+ const TextitListMessagesInput = zod.z.object({
5
+ uuid: zod.z.string().describe("Filter by message UUID").optional(),
6
+ after: zod.z.string().describe("Filter by created_on after this ISO 8601 datetime").optional(),
7
+ before: zod.z.string().describe("Filter by created_on before this ISO 8601 datetime").optional(),
8
+ folder: zod.z.enum([
9
+ "inbox",
10
+ "flows",
11
+ "archived",
12
+ "outbox",
13
+ "sent",
14
+ "failed"
15
+ ]).describe("Enumeration of message folder types.").optional(),
16
+ contact: zod.z.string().describe("Filter by contact UUID").optional(),
17
+ broadcast: zod.z.string().describe("Filter by broadcast UUID").optional()
18
+ }).describe("Request model for listing messages with optional filters.");
19
+ const TextitListMessages_MessageFlowSchema = zod.z.object({
20
+ name: zod.z.string().describe("Name of the flow").nullable().optional(),
21
+ uuid: zod.z.string().describe("UUID of the flow").nullable().optional()
22
+ }).describe("Flow information for a message.");
23
+ const TextitListMessages_MessageLabelSchema = zod.z.object({
24
+ name: zod.z.string().describe("Name of the label").nullable().optional(),
25
+ uuid: zod.z.string().describe("UUID of the label").nullable().optional()
26
+ }).describe("Label information for a message.");
27
+ const TextitListMessages_MessageChannelSchema = zod.z.object({
28
+ name: zod.z.string().describe("Name of the channel").nullable().optional(),
29
+ uuid: zod.z.string().describe("UUID of the channel").nullable().optional()
30
+ }).describe("Channel information for a message.");
31
+ const TextitListMessages_MessageContactSchema = zod.z.object({
32
+ name: zod.z.string().describe("Name of the contact").nullable().optional(),
33
+ uuid: zod.z.string().describe("UUID of the contact").nullable().optional()
34
+ }).describe("Contact information for a message.");
35
+ const TextitListMessages_MessageSchema = zod.z.object({
36
+ urn: zod.z.string().describe("URN associated with the message").nullable().optional(),
37
+ flow: TextitListMessages_MessageFlowSchema.nullable().optional(),
38
+ text: zod.z.string().describe("Text content of the message").nullable().optional(),
39
+ type: zod.z.string().describe("Type of the message (text, voice, etc.)").nullable().optional(),
40
+ uuid: zod.z.string().describe("Unique identifier of the message").nullable().optional(),
41
+ labels: zod.z.array(TextitListMessages_MessageLabelSchema).describe("Labels applied to the message").nullable().optional(),
42
+ status: zod.z.string().describe("Status of the message (queued, sent, delivered, failed, etc.)").nullable().optional(),
43
+ channel: TextitListMessages_MessageChannelSchema.nullable().optional(),
44
+ contact: TextitListMessages_MessageContactSchema.nullable().optional(),
45
+ sent_on: zod.z.string().describe("Timestamp when the message was sent (ISO 8601)").nullable().optional(),
46
+ direction: zod.z.string().describe("Direction of the message (in or out)").nullable().optional(),
47
+ created_on: zod.z.string().describe("Timestamp when the message was created (ISO 8601)").nullable().optional(),
48
+ visibility: zod.z.string().describe("Visibility of the message (visible, archived, deleted)").nullable().optional(),
49
+ attachments: zod.z.array(zod.z.string()).describe("Attachments included with the message").nullable().optional(),
50
+ modified_on: zod.z.string().describe("Timestamp when the message was last modified (ISO 8601)").nullable().optional(),
51
+ quick_replies: zod.z.array(zod.z.string()).describe("Quick reply options for the message").nullable().optional()
52
+ }).describe("Representation of a TextIt message.");
53
+ const TextitListMessagesOutput = zod.z.object({
54
+ next: zod.z.string().describe("URL to the next page of results, if any").nullable().optional(),
55
+ results: zod.z.array(TextitListMessages_MessageSchema).describe("List of message objects"),
56
+ previous: zod.z.string().describe("URL to the previous page of results, if any").nullable().optional()
57
+ }).describe("Paginated list of messages.");
58
+ const textitListMessages = require_action.action("TEXTIT_LIST_MESSAGES", {
59
+ slug: "textit-list-messages",
60
+ name: "List Messages",
61
+ description: "Tool to retrieve a list of messages. Use when you need to fetch messages with optional filters (UUID, folder, contact, broadcast, or date range). Results are paginated.",
62
+ input: TextitListMessagesInput,
63
+ output: TextitListMessagesOutput
64
+ });
65
+ //#endregion
66
+ exports.textitListMessages = textitListMessages;
67
+
68
+ //# sourceMappingURL=list-messages.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-messages.cjs","names":["z","action"],"sources":["../../src/actions/list-messages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TextitListMessagesInput: z.ZodTypeAny = z.object({\n uuid: z.string().describe(\"Filter by message UUID\").optional(),\n after: z.string().describe(\"Filter by created_on after this ISO 8601 datetime\").optional(),\n before: z.string().describe(\"Filter by created_on before this ISO 8601 datetime\").optional(),\n folder: z.enum([\"inbox\", \"flows\", \"archived\", \"outbox\", \"sent\", \"failed\"]).describe(\"Enumeration of message folder types.\").optional(),\n contact: z.string().describe(\"Filter by contact UUID\").optional(),\n broadcast: z.string().describe(\"Filter by broadcast UUID\").optional(),\n}).describe(\"Request model for listing messages with optional filters.\");\nconst TextitListMessages_MessageFlowSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the flow\").nullable().optional(),\n uuid: z.string().describe(\"UUID of the flow\").nullable().optional(),\n}).describe(\"Flow information for a message.\");\nconst TextitListMessages_MessageLabelSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the label\").nullable().optional(),\n uuid: z.string().describe(\"UUID of the label\").nullable().optional(),\n}).describe(\"Label information for a message.\");\nconst TextitListMessages_MessageChannelSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the channel\").nullable().optional(),\n uuid: z.string().describe(\"UUID of the channel\").nullable().optional(),\n}).describe(\"Channel information for a message.\");\nconst TextitListMessages_MessageContactSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the contact\").nullable().optional(),\n uuid: z.string().describe(\"UUID of the contact\").nullable().optional(),\n}).describe(\"Contact information for a message.\");\nconst TextitListMessages_MessageSchema: z.ZodTypeAny = z.object({\n urn: z.string().describe(\"URN associated with the message\").nullable().optional(),\n flow: TextitListMessages_MessageFlowSchema.nullable().optional(),\n text: z.string().describe(\"Text content of the message\").nullable().optional(),\n type: z.string().describe(\"Type of the message (text, voice, etc.)\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier of the message\").nullable().optional(),\n labels: z.array(TextitListMessages_MessageLabelSchema).describe(\"Labels applied to the message\").nullable().optional(),\n status: z.string().describe(\"Status of the message (queued, sent, delivered, failed, etc.)\").nullable().optional(),\n channel: TextitListMessages_MessageChannelSchema.nullable().optional(),\n contact: TextitListMessages_MessageContactSchema.nullable().optional(),\n sent_on: z.string().describe(\"Timestamp when the message was sent (ISO 8601)\").nullable().optional(),\n direction: z.string().describe(\"Direction of the message (in or out)\").nullable().optional(),\n created_on: z.string().describe(\"Timestamp when the message was created (ISO 8601)\").nullable().optional(),\n visibility: z.string().describe(\"Visibility of the message (visible, archived, deleted)\").nullable().optional(),\n attachments: z.array(z.string()).describe(\"Attachments included with the message\").nullable().optional(),\n modified_on: z.string().describe(\"Timestamp when the message was last modified (ISO 8601)\").nullable().optional(),\n quick_replies: z.array(z.string()).describe(\"Quick reply options for the message\").nullable().optional(),\n}).describe(\"Representation of a TextIt message.\");\nexport const TextitListMessagesOutput: z.ZodTypeAny = z.object({\n next: z.string().describe(\"URL to the next page of results, if any\").nullable().optional(),\n results: z.array(TextitListMessages_MessageSchema).describe(\"List of message objects\"),\n previous: z.string().describe(\"URL to the previous page of results, if any\").nullable().optional(),\n}).describe(\"Paginated list of messages.\");\n\nexport const textitListMessages = action(\"TEXTIT_LIST_MESSAGES\", {\n slug: \"textit-list-messages\",\n name: \"List Messages\",\n description: \"Tool to retrieve a list of messages. Use when you need to fetch messages with optional filters (UUID, folder, contact, broadcast, or date range). Results are paginated.\",\n input: TextitListMessagesInput,\n output: TextitListMessagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,E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essagesOutput: z.ZodTypeAny;
6
+ declare const textitListMessages: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { textitListMessages };
9
+ //# sourceMappingURL=list-messages.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-messages.d.cts","names":[],"sources":["../../src/actions/list-messages.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAOgC;AAAA,cAmC3D,wBAAA,EAA0B,CAAA,CAAE,UAIC;AAAA,cAE7B,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-messages.d.ts
4
+ declare const TextitListMessagesInput: z.ZodTypeAny;
5
+ declare const TextitListMessagesOutput: z.ZodTypeAny;
6
+ declare const textitListMessages: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { textitListMessages };
9
+ //# sourceMappingURL=list-messages.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-messages.d.mts","names":[],"sources":["../../src/actions/list-messages.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAOgC;AAAA,cAmC3D,wBAAA,EAA0B,CAAA,CAAE,UAIC;AAAA,cAE7B,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,67 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-messages.ts
4
+ const TextitListMessagesInput = z.object({
5
+ uuid: z.string().describe("Filter by message UUID").optional(),
6
+ after: z.string().describe("Filter by created_on after this ISO 8601 datetime").optional(),
7
+ before: z.string().describe("Filter by created_on before this ISO 8601 datetime").optional(),
8
+ folder: z.enum([
9
+ "inbox",
10
+ "flows",
11
+ "archived",
12
+ "outbox",
13
+ "sent",
14
+ "failed"
15
+ ]).describe("Enumeration of message folder types.").optional(),
16
+ contact: z.string().describe("Filter by contact UUID").optional(),
17
+ broadcast: z.string().describe("Filter by broadcast UUID").optional()
18
+ }).describe("Request model for listing messages with optional filters.");
19
+ const TextitListMessages_MessageFlowSchema = z.object({
20
+ name: z.string().describe("Name of the flow").nullable().optional(),
21
+ uuid: z.string().describe("UUID of the flow").nullable().optional()
22
+ }).describe("Flow information for a message.");
23
+ const TextitListMessages_MessageLabelSchema = z.object({
24
+ name: z.string().describe("Name of the label").nullable().optional(),
25
+ uuid: z.string().describe("UUID of the label").nullable().optional()
26
+ }).describe("Label information for a message.");
27
+ const TextitListMessages_MessageChannelSchema = z.object({
28
+ name: z.string().describe("Name of the channel").nullable().optional(),
29
+ uuid: z.string().describe("UUID of the channel").nullable().optional()
30
+ }).describe("Channel information for a message.");
31
+ const TextitListMessages_MessageContactSchema = z.object({
32
+ name: z.string().describe("Name of the contact").nullable().optional(),
33
+ uuid: z.string().describe("UUID of the contact").nullable().optional()
34
+ }).describe("Contact information for a message.");
35
+ const TextitListMessages_MessageSchema = z.object({
36
+ urn: z.string().describe("URN associated with the message").nullable().optional(),
37
+ flow: TextitListMessages_MessageFlowSchema.nullable().optional(),
38
+ text: z.string().describe("Text content of the message").nullable().optional(),
39
+ type: z.string().describe("Type of the message (text, voice, etc.)").nullable().optional(),
40
+ uuid: z.string().describe("Unique identifier of the message").nullable().optional(),
41
+ labels: z.array(TextitListMessages_MessageLabelSchema).describe("Labels applied to the message").nullable().optional(),
42
+ status: z.string().describe("Status of the message (queued, sent, delivered, failed, etc.)").nullable().optional(),
43
+ channel: TextitListMessages_MessageChannelSchema.nullable().optional(),
44
+ contact: TextitListMessages_MessageContactSchema.nullable().optional(),
45
+ sent_on: z.string().describe("Timestamp when the message was sent (ISO 8601)").nullable().optional(),
46
+ direction: z.string().describe("Direction of the message (in or out)").nullable().optional(),
47
+ created_on: z.string().describe("Timestamp when the message was created (ISO 8601)").nullable().optional(),
48
+ visibility: z.string().describe("Visibility of the message (visible, archived, deleted)").nullable().optional(),
49
+ attachments: z.array(z.string()).describe("Attachments included with the message").nullable().optional(),
50
+ modified_on: z.string().describe("Timestamp when the message was last modified (ISO 8601)").nullable().optional(),
51
+ quick_replies: z.array(z.string()).describe("Quick reply options for the message").nullable().optional()
52
+ }).describe("Representation of a TextIt message.");
53
+ const textitListMessages = action("TEXTIT_LIST_MESSAGES", {
54
+ slug: "textit-list-messages",
55
+ name: "List Messages",
56
+ description: "Tool to retrieve a list of messages. Use when you need to fetch messages with optional filters (UUID, folder, contact, broadcast, or date range). Results are paginated.",
57
+ input: TextitListMessagesInput,
58
+ output: z.object({
59
+ next: z.string().describe("URL to the next page of results, if any").nullable().optional(),
60
+ results: z.array(TextitListMessages_MessageSchema).describe("List of message objects"),
61
+ previous: z.string().describe("URL to the previous page of results, if any").nullable().optional()
62
+ }).describe("Paginated list of messages.")
63
+ });
64
+ //#endregion
65
+ export { textitListMessages };
66
+
67
+ //# sourceMappingURL=list-messages.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-messages.mjs","names":[],"sources":["../../src/actions/list-messages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TextitListMessagesInput: z.ZodTypeAny = z.object({\n uuid: z.string().describe(\"Filter by message UUID\").optional(),\n after: z.string().describe(\"Filter by created_on after this ISO 8601 datetime\").optional(),\n before: z.string().describe(\"Filter by created_on before this ISO 8601 datetime\").optional(),\n folder: z.enum([\"inbox\", \"flows\", \"archived\", \"outbox\", \"sent\", \"failed\"]).describe(\"Enumeration of message folder types.\").optional(),\n contact: z.string().describe(\"Filter by contact UUID\").optional(),\n broadcast: z.string().describe(\"Filter by broadcast UUID\").optional(),\n}).describe(\"Request model for listing messages with optional filters.\");\nconst TextitListMessages_MessageFlowSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the flow\").nullable().optional(),\n uuid: z.string().describe(\"UUID of the flow\").nullable().optional(),\n}).describe(\"Flow information for a message.\");\nconst TextitListMessages_MessageLabelSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the label\").nullable().optional(),\n uuid: z.string().describe(\"UUID of the label\").nullable().optional(),\n}).describe(\"Label information for a message.\");\nconst TextitListMessages_MessageChannelSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the channel\").nullable().optional(),\n uuid: z.string().describe(\"UUID of the channel\").nullable().optional(),\n}).describe(\"Channel information for a message.\");\nconst TextitListMessages_MessageContactSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the contact\").nullable().optional(),\n uuid: z.string().describe(\"UUID of the contact\").nullable().optional(),\n}).describe(\"Contact information for a message.\");\nconst TextitListMessages_MessageSchema: z.ZodTypeAny = z.object({\n urn: z.string().describe(\"URN associated with the message\").nullable().optional(),\n flow: TextitListMessages_MessageFlowSchema.nullable().optional(),\n text: z.string().describe(\"Text content of the message\").nullable().optional(),\n type: z.string().describe(\"Type of the message (text, voice, etc.)\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier of the message\").nullable().optional(),\n labels: z.array(TextitListMessages_MessageLabelSchema).describe(\"Labels applied to the message\").nullable().optional(),\n status: z.string().describe(\"Status of the message (queued, sent, delivered, failed, etc.)\").nullable().optional(),\n channel: TextitListMessages_MessageChannelSchema.nullable().optional(),\n contact: TextitListMessages_MessageContactSchema.nullable().optional(),\n sent_on: z.string().describe(\"Timestamp when the message was sent (ISO 8601)\").nullable().optional(),\n direction: z.string().describe(\"Direction of the message (in or out)\").nullable().optional(),\n created_on: z.string().describe(\"Timestamp when the message was created (ISO 8601)\").nullable().optional(),\n visibility: z.string().describe(\"Visibility of the message (visible, archived, deleted)\").nullable().optional(),\n attachments: z.array(z.string()).describe(\"Attachments included with the message\").nullable().optional(),\n modified_on: z.string().describe(\"Timestamp when the message was last modified (ISO 8601)\").nullable().optional(),\n quick_replies: z.array(z.string()).describe(\"Quick reply options for the message\").nullable().optional(),\n}).describe(\"Representation of a TextIt message.\");\nexport const TextitListMessagesOutput: z.ZodTypeAny = z.object({\n next: z.string().describe(\"URL to the next page of results, if any\").nullable().optional(),\n results: z.array(TextitListMessages_MessageSchema).describe(\"List of message objects\"),\n previous: z.string().describe(\"URL to the previous page of results, if any\").nullable().optional(),\n}).describe(\"Paginated list of messages.\");\n\nexport const textitListMessages = action(\"TEXTIT_LIST_MESSAGES\", {\n slug: \"textit-list-messages\",\n name: \"List Messages\",\n description: \"Tool to retrieve a list of messages. Use when you need to fetch messages with optional filters (UUID, folder, contact, broadcast, or date range). Results are paginated.\",\n input: TextitListMessagesInput,\n output: TextitListMessagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACzF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC3F,QAAQ,EAAE,KAAK;EAAC;EAAS;EAAS;EAAY;EAAU;EAAQ;CAAQ,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACrI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAChE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AACtE,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,uCAAqD,EAAE,OAAO;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,MAAM,EAAE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,SAAS,yBAAyB;EACrF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,SAAS,6BAOF;AACV,CAAC"}
@@ -0,0 +1,28 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-resthook-events.ts
4
+ const TextitListResthookEventsInput = zod.z.object({
5
+ cursor: zod.z.string().describe("Cursor for pagination. Extract from the 'next' URL of previous response.").optional(),
6
+ resthook: zod.z.string().describe("Filter by resthook slug to show only events for a specific resthook").optional()
7
+ }).describe("Request model for listing resthook events with optional filter.");
8
+ const TextitListResthookEvents_ResthookEventSchema = zod.z.object({
9
+ data: zod.z.object({}).describe("The event data payload that was sent to the webhook"),
10
+ resthook: zod.z.string().describe("The slug of the resthook"),
11
+ created_on: zod.z.string().describe("ISO 8601 timestamp when the event was created")
12
+ }).describe("A single resthook event record.");
13
+ const TextitListResthookEventsOutput = zod.z.object({
14
+ next: zod.z.string().describe("URL to the next page of results, if any").nullable().optional(),
15
+ results: zod.z.array(TextitListResthookEvents_ResthookEventSchema).describe("List of resthook event objects, most recently created first"),
16
+ previous: zod.z.string().describe("URL to the previous page of results, if any").nullable().optional()
17
+ }).describe("Paginated response containing recent resthook events.");
18
+ const textitListResthookEvents = require_action.action("TEXTIT_LIST_RESTHOOK_EVENTS", {
19
+ slug: "textit-list-resthook-events",
20
+ name: "List Resthook Events",
21
+ description: "Tool to retrieve recent resthook events for your organization. Use when you need to inspect webhook events that have been triggered, optionally filtered by resthook slug. Events are returned in reverse chronological order.",
22
+ input: TextitListResthookEventsInput,
23
+ output: TextitListResthookEventsOutput
24
+ });
25
+ //#endregion
26
+ exports.textitListResthookEvents = textitListResthookEvents;
27
+
28
+ //# sourceMappingURL=list-resthook-events.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-resthook-events.cjs","names":["z","action"],"sources":["../../src/actions/list-resthook-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TextitListResthookEventsInput: z.ZodTypeAny = z.object({\n cursor: z.string().describe(\"Cursor for pagination. Extract from the 'next' URL of previous response.\").optional(),\n resthook: z.string().describe(\"Filter by resthook slug to show only events for a specific resthook\").optional(),\n}).describe(\"Request model for listing resthook events with optional filter.\");\nconst TextitListResthookEvents_ResthookEventSchema: z.ZodTypeAny = z.object({\n data: z.object({}).describe(\"The event data payload that was sent to the webhook\"),\n resthook: z.string().describe(\"The slug of the resthook\"),\n created_on: z.string().describe(\"ISO 8601 timestamp when the event was created\"),\n}).describe(\"A single resthook event record.\");\nexport const TextitListResthookEventsOutput: z.ZodTypeAny = z.object({\n next: z.string().describe(\"URL to the next page of results, if any\").nullable().optional(),\n results: z.array(TextitListResthookEvents_ResthookEventSchema).describe(\"List of resthook event objects, most recently created first\"),\n previous: z.string().describe(\"URL to the previous page of results, if any\").nullable().optional(),\n}).describe(\"Paginated response containing recent resthook events.\");\n\nexport const textitListResthookEvents = action(\"TEXTIT_LIST_RESTHOOK_EVENTS\", {\n slug: \"textit-list-resthook-events\",\n name: \"List Resthook Events\",\n description: \"Tool to retrieve recent resthook events for your organization. Use when you need to inspect webhook events that have been triggered, optionally filtered by resthook slug. Events are returned in reverse chronological order.\",\n input: TextitListResthookEventsInput,\n output: TextitListResthookEventsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACjH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,+CAA6DA,IAAAA,EAAE,OAAO;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qDAAqD;CACjF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACxD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;AACjF,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAC7C,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,SAASA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,6DAA6D;CACrI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAEnE,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-resthook-events.d.ts
4
+ declare const TextitListResthookEventsInput: z.ZodTypeAny;
5
+ declare const TextitListResthookEventsOutput: z.ZodTypeAny;
6
+ declare const textitListResthookEvents: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { textitListResthookEvents };
9
+ //# sourceMappingURL=list-resthook-events.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-resthook-events.d.cts","names":[],"sources":["../../src/actions/list-resthook-events.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAGgC;AAAA,cAMjE,8BAAA,EAAgC,CAAA,CAAE,UAIqB;AAAA,cAEvD,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-resthook-events.d.ts
4
+ declare const TextitListResthookEventsInput: z.ZodTypeAny;
5
+ declare const TextitListResthookEventsOutput: z.ZodTypeAny;
6
+ declare const textitListResthookEvents: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { textitListResthookEvents };
9
+ //# sourceMappingURL=list-resthook-events.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-resthook-events.d.mts","names":[],"sources":["../../src/actions/list-resthook-events.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAGgC;AAAA,cAMjE,8BAAA,EAAgC,CAAA,CAAE,UAIqB;AAAA,cAEvD,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,27 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-resthook-events.ts
4
+ const TextitListResthookEventsInput = z.object({
5
+ cursor: z.string().describe("Cursor for pagination. Extract from the 'next' URL of previous response.").optional(),
6
+ resthook: z.string().describe("Filter by resthook slug to show only events for a specific resthook").optional()
7
+ }).describe("Request model for listing resthook events with optional filter.");
8
+ const TextitListResthookEvents_ResthookEventSchema = z.object({
9
+ data: z.object({}).describe("The event data payload that was sent to the webhook"),
10
+ resthook: z.string().describe("The slug of the resthook"),
11
+ created_on: z.string().describe("ISO 8601 timestamp when the event was created")
12
+ }).describe("A single resthook event record.");
13
+ const textitListResthookEvents = action("TEXTIT_LIST_RESTHOOK_EVENTS", {
14
+ slug: "textit-list-resthook-events",
15
+ name: "List Resthook Events",
16
+ description: "Tool to retrieve recent resthook events for your organization. Use when you need to inspect webhook events that have been triggered, optionally filtered by resthook slug. Events are returned in reverse chronological order.",
17
+ input: TextitListResthookEventsInput,
18
+ output: z.object({
19
+ next: z.string().describe("URL to the next page of results, if any").nullable().optional(),
20
+ results: z.array(TextitListResthookEvents_ResthookEventSchema).describe("List of resthook event objects, most recently created first"),
21
+ previous: z.string().describe("URL to the previous page of results, if any").nullable().optional()
22
+ }).describe("Paginated response containing recent resthook events.")
23
+ });
24
+ //#endregion
25
+ export { textitListResthookEvents };
26
+
27
+ //# sourceMappingURL=list-resthook-events.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-resthook-events.mjs","names":[],"sources":["../../src/actions/list-resthook-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TextitListResthookEventsInput: z.ZodTypeAny = z.object({\n cursor: z.string().describe(\"Cursor for pagination. Extract from the 'next' URL of previous response.\").optional(),\n resthook: z.string().describe(\"Filter by resthook slug to show only events for a specific resthook\").optional(),\n}).describe(\"Request model for listing resthook events with optional filter.\");\nconst TextitListResthookEvents_ResthookEventSchema: z.ZodTypeAny = z.object({\n data: z.object({}).describe(\"The event data payload that was sent to the webhook\"),\n resthook: z.string().describe(\"The slug of the resthook\"),\n created_on: z.string().describe(\"ISO 8601 timestamp when the event was created\"),\n}).describe(\"A single resthook event record.\");\nexport const TextitListResthookEventsOutput: z.ZodTypeAny = z.object({\n next: z.string().describe(\"URL to the next page of results, if any\").nullable().optional(),\n results: z.array(TextitListResthookEvents_ResthookEventSchema).describe(\"List of resthook event objects, most recently created first\"),\n previous: z.string().describe(\"URL to the previous page of results, if any\").nullable().optional(),\n}).describe(\"Paginated response containing recent resthook events.\");\n\nexport const textitListResthookEvents = action(\"TEXTIT_LIST_RESTHOOK_EVENTS\", {\n slug: \"textit-list-resthook-events\",\n name: \"List Resthook Events\",\n description: \"Tool to retrieve recent resthook events for your organization. Use when you need to inspect webhook events that have been triggered, optionally filtered by resthook slug. Events are returned in reverse chronological order.\",\n input: TextitListResthookEventsInput,\n output: TextitListResthookEventsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8C,EAAE,OAAO;CAClE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACjH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,+CAA6D,EAAE,OAAO;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qDAAqD;CACjF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACxD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;AACjF,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAO7C,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX0D,EAAE,OAAO;EACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,SAAS,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,6DAA6D;EACrI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
@@ -0,0 +1,29 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-resthook-subscribers.ts
4
+ const TextitListResthookSubscribersInput = zod.z.object({
5
+ cursor: zod.z.string().describe("Cursor for pagination. Extract from the 'next' URL of previous response.").optional(),
6
+ resthook: zod.z.string().describe("Filter subscribers by resthook slug").optional()
7
+ }).describe("Request model for listing resthook subscribers with optional filtering.");
8
+ const TextitListResthookSubscribers_ResthookSubscriberSchema = zod.z.object({
9
+ id: zod.z.number().int().describe("Unique identifier for the subscriber"),
10
+ resthook: zod.z.string().describe("Slug of the resthook that this subscriber is listening to"),
11
+ created_on: zod.z.string().describe("Timestamp when the subscriber was created (ISO 8601)"),
12
+ target_url: zod.z.string().describe("Target URL that receives webhook events")
13
+ }).describe("A single resthook subscriber object representing a webhook target URL.");
14
+ const TextitListResthookSubscribersOutput = zod.z.object({
15
+ next: zod.z.string().describe("URL to the next page of results, if any").nullable().optional(),
16
+ results: zod.z.array(TextitListResthookSubscribers_ResthookSubscriberSchema).describe("List of resthook subscriber objects"),
17
+ previous: zod.z.string().describe("URL to the previous page of results, if any").nullable().optional()
18
+ }).describe("Response model for listing resthook subscribers with pagination.");
19
+ const textitListResthookSubscribers = require_action.action("TEXTIT_LIST_RESTHOOK_SUBSCRIBERS", {
20
+ slug: "textit-list-resthook-subscribers",
21
+ name: "List Resthook Subscribers",
22
+ description: "Tool to list webhook subscribers for your organization's resthooks. Use when you need to retrieve the target URLs that receive webhook events for specific resthooks.",
23
+ input: TextitListResthookSubscribersInput,
24
+ output: TextitListResthookSubscribersOutput
25
+ });
26
+ //#endregion
27
+ exports.textitListResthookSubscribers = textitListResthookSubscribers;
28
+
29
+ //# sourceMappingURL=list-resthook-subscribers.cjs.map