@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-resthook-subscribers.cjs","names":["z","action"],"sources":["../../src/actions/list-resthook-subscribers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TextitListResthookSubscribersInput: 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 subscribers by resthook slug\").optional(),\n}).describe(\"Request model for listing resthook subscribers with optional filtering.\");\nconst TextitListResthookSubscribers_ResthookSubscriberSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the subscriber\"),\n resthook: z.string().describe(\"Slug of the resthook that this subscriber is listening to\"),\n created_on: z.string().describe(\"Timestamp when the subscriber was created (ISO 8601)\"),\n target_url: z.string().describe(\"Target URL that receives webhook events\"),\n}).describe(\"A single resthook subscriber object representing a webhook target URL.\");\nexport const TextitListResthookSubscribersOutput: z.ZodTypeAny = z.object({\n next: z.string().describe(\"URL to the next page of results, if any\").nullable().optional(),\n results: z.array(TextitListResthookSubscribers_ResthookSubscriberSchema).describe(\"List of resthook subscriber objects\"),\n previous: z.string().describe(\"URL to the previous page of results, if any\").nullable().optional(),\n}).describe(\"Response model for listing resthook subscribers with pagination.\");\n\nexport const textitListResthookSubscribers = action(\"TEXTIT_LIST_RESTHOOK_SUBSCRIBERS\", {\n slug: \"textit-list-resthook-subscribers\",\n name: \"List Resthook Subscribers\",\n 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.\",\n input: TextitListResthookSubscribersInput,\n output: TextitListResthookSubscribersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACjH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,yDAAuEA,IAAAA,EAAE,OAAO;CACpF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC;CACpE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACzF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;AAC3E,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAa,sCAAoDA,IAAAA,EAAE,OAAO;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,SAASA,IAAAA,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,qCAAqC;CACvH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAE9E,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,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-subscribers.d.ts
4
+ declare const TextitListResthookSubscribersInput: z.ZodTypeAny;
5
+ declare const TextitListResthookSubscribersOutput: z.ZodTypeAny;
6
+ declare const textitListResthookSubscribers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { textitListResthookSubscribers };
9
+ //# sourceMappingURL=list-resthook-subscribers.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-resthook-subscribers.d.cts","names":[],"sources":["../../src/actions/list-resthook-subscribers.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAGmC;AAAA,cAOzE,mCAAA,EAAqC,CAAA,CAAE,UAI2B;AAAA,cAElE,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-resthook-subscribers.d.ts
4
+ declare const TextitListResthookSubscribersInput: z.ZodTypeAny;
5
+ declare const TextitListResthookSubscribersOutput: z.ZodTypeAny;
6
+ declare const textitListResthookSubscribers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { textitListResthookSubscribers };
9
+ //# sourceMappingURL=list-resthook-subscribers.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-resthook-subscribers.d.mts","names":[],"sources":["../../src/actions/list-resthook-subscribers.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAGmC;AAAA,cAOzE,mCAAA,EAAqC,CAAA,CAAE,UAI2B;AAAA,cAElE,6BAAA,gCAA6B,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-resthook-subscribers.ts
4
+ const TextitListResthookSubscribersInput = 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 subscribers by resthook slug").optional()
7
+ }).describe("Request model for listing resthook subscribers with optional filtering.");
8
+ const TextitListResthookSubscribers_ResthookSubscriberSchema = z.object({
9
+ id: z.number().int().describe("Unique identifier for the subscriber"),
10
+ resthook: z.string().describe("Slug of the resthook that this subscriber is listening to"),
11
+ created_on: z.string().describe("Timestamp when the subscriber was created (ISO 8601)"),
12
+ target_url: z.string().describe("Target URL that receives webhook events")
13
+ }).describe("A single resthook subscriber object representing a webhook target URL.");
14
+ const textitListResthookSubscribers = action("TEXTIT_LIST_RESTHOOK_SUBSCRIBERS", {
15
+ slug: "textit-list-resthook-subscribers",
16
+ name: "List Resthook Subscribers",
17
+ 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.",
18
+ input: TextitListResthookSubscribersInput,
19
+ output: z.object({
20
+ next: z.string().describe("URL to the next page of results, if any").nullable().optional(),
21
+ results: z.array(TextitListResthookSubscribers_ResthookSubscriberSchema).describe("List of resthook subscriber objects"),
22
+ previous: z.string().describe("URL to the previous page of results, if any").nullable().optional()
23
+ }).describe("Response model for listing resthook subscribers with pagination.")
24
+ });
25
+ //#endregion
26
+ export { textitListResthookSubscribers };
27
+
28
+ //# sourceMappingURL=list-resthook-subscribers.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-resthook-subscribers.mjs","names":[],"sources":["../../src/actions/list-resthook-subscribers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TextitListResthookSubscribersInput: 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 subscribers by resthook slug\").optional(),\n}).describe(\"Request model for listing resthook subscribers with optional filtering.\");\nconst TextitListResthookSubscribers_ResthookSubscriberSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the subscriber\"),\n resthook: z.string().describe(\"Slug of the resthook that this subscriber is listening to\"),\n created_on: z.string().describe(\"Timestamp when the subscriber was created (ISO 8601)\"),\n target_url: z.string().describe(\"Target URL that receives webhook events\"),\n}).describe(\"A single resthook subscriber object representing a webhook target URL.\");\nexport const TextitListResthookSubscribersOutput: z.ZodTypeAny = z.object({\n next: z.string().describe(\"URL to the next page of results, if any\").nullable().optional(),\n results: z.array(TextitListResthookSubscribers_ResthookSubscriberSchema).describe(\"List of resthook subscriber objects\"),\n previous: z.string().describe(\"URL to the previous page of results, if any\").nullable().optional(),\n}).describe(\"Response model for listing resthook subscribers with pagination.\");\n\nexport const textitListResthookSubscribers = action(\"TEXTIT_LIST_RESTHOOK_SUBSCRIBERS\", {\n slug: \"textit-list-resthook-subscribers\",\n name: \"List Resthook Subscribers\",\n 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.\",\n input: TextitListResthookSubscribersInput,\n output: TextitListResthookSubscribersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmD,EAAE,OAAO;CACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACjH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,yDAAuE,EAAE,OAAO;CACpF,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC;CACpE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACzF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;AAC3E,CAAC,CAAC,CAAC,SAAS,wEAAwE;AAOpF,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX+D,EAAE,OAAO;EACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,SAAS,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,qCAAqC;EACvH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,SAAS,kEAOF;AACV,CAAC"}
@@ -0,0 +1,29 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-resthooks.ts
4
+ const TextitListResthooksInput = zod.z.object({
5
+ after: zod.z.string().describe("Cursor value to fetch records after this one.").optional(),
6
+ before: zod.z.string().describe("Cursor value to fetch records before this one.").optional(),
7
+ page_size: zod.z.number().int().describe("Number of records per page (must be >= 1).").optional()
8
+ }).describe("Request model for listing resthooks with optional pagination.");
9
+ const TextitListResthooks_ResthookSchema = zod.z.object({
10
+ resthook: zod.z.string().describe("The slug for the resthook."),
11
+ created_on: zod.z.string().describe("UTC timestamp when the resthook was created."),
12
+ modified_on: zod.z.string().describe("UTC timestamp when the resthook was last modified.")
13
+ }).describe("A resthook object as returned by TextIt.");
14
+ const TextitListResthooksOutput = zod.z.object({
15
+ next: zod.z.string().describe("URL to the next page of results, or null if none.").nullable().optional(),
16
+ results: zod.z.array(TextitListResthooks_ResthookSchema).describe("List of resthook objects, most recently modified first."),
17
+ previous: zod.z.string().describe("URL to the previous page of results, or null if none.").nullable().optional()
18
+ }).describe("Response model for list resthooks endpoint.");
19
+ const textitListResthooks = require_action.action("TEXTIT_LIST_RESTHOOKS", {
20
+ slug: "textit-list-resthooks",
21
+ name: "List Resthooks",
22
+ description: "Tool to list configured resthooks (webhooks). Use when you need to retrieve the resthooks configured in your TextIt account.",
23
+ input: TextitListResthooksInput,
24
+ output: TextitListResthooksOutput
25
+ });
26
+ //#endregion
27
+ exports.textitListResthooks = textitListResthooks;
28
+
29
+ //# sourceMappingURL=list-resthooks.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-resthooks.cjs","names":["z","action"],"sources":["../../src/actions/list-resthooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TextitListResthooksInput: z.ZodTypeAny = z.object({\n after: z.string().describe(\"Cursor value to fetch records after this one.\").optional(),\n before: z.string().describe(\"Cursor value to fetch records before this one.\").optional(),\n page_size: z.number().int().describe(\"Number of records per page (must be >= 1).\").optional(),\n}).describe(\"Request model for listing resthooks with optional pagination.\");\nconst TextitListResthooks_ResthookSchema: z.ZodTypeAny = z.object({\n resthook: z.string().describe(\"The slug for the resthook.\"),\n created_on: z.string().describe(\"UTC timestamp when the resthook was created.\"),\n modified_on: z.string().describe(\"UTC timestamp when the resthook was last modified.\"),\n}).describe(\"A resthook object as returned by TextIt.\");\nexport const TextitListResthooksOutput: z.ZodTypeAny = z.object({\n next: z.string().describe(\"URL to the next page of results, or null if none.\").nullable().optional(),\n results: z.array(TextitListResthooks_ResthookSchema).describe(\"List of resthook objects, most recently modified first.\"),\n previous: z.string().describe(\"URL to the previous page of results, or null if none.\").nullable().optional(),\n}).describe(\"Response model for list resthooks endpoint.\");\n\nexport const textitListResthooks = action(\"TEXTIT_LIST_RESTHOOKS\", {\n slug: \"textit-list-resthooks\",\n name: \"List Resthooks\",\n description: \"Tool to list configured resthooks (webhooks). Use when you need to retrieve the resthooks configured in your TextIt account.\",\n input: TextitListResthooksInput,\n output: TextitListResthooksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACrF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACvF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,qCAAmDA,IAAAA,EAAE,OAAO;CAChE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CAC1D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;AACvF,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,SAASA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,yDAAyD;CACvH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,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-resthooks.d.ts
4
+ declare const TextitListResthooksInput: z.ZodTypeAny;
5
+ declare const TextitListResthooksOutput: z.ZodTypeAny;
6
+ declare const textitListResthooks: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { textitListResthooks };
9
+ //# sourceMappingURL=list-resthooks.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-resthooks.d.cts","names":[],"sources":["../../src/actions/list-resthooks.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAImC;AAAA,cAM/D,yBAAA,EAA2B,CAAA,CAAE,UAIgB;AAAA,cAE7C,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-resthooks.d.ts
4
+ declare const TextitListResthooksInput: z.ZodTypeAny;
5
+ declare const TextitListResthooksOutput: z.ZodTypeAny;
6
+ declare const textitListResthooks: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { textitListResthooks };
9
+ //# sourceMappingURL=list-resthooks.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-resthooks.d.mts","names":[],"sources":["../../src/actions/list-resthooks.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAImC;AAAA,cAM/D,yBAAA,EAA2B,CAAA,CAAE,UAIgB;AAAA,cAE7C,mBAAA,gCAAmB,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-resthooks.ts
4
+ const TextitListResthooksInput = z.object({
5
+ after: z.string().describe("Cursor value to fetch records after this one.").optional(),
6
+ before: z.string().describe("Cursor value to fetch records before this one.").optional(),
7
+ page_size: z.number().int().describe("Number of records per page (must be >= 1).").optional()
8
+ }).describe("Request model for listing resthooks with optional pagination.");
9
+ const TextitListResthooks_ResthookSchema = z.object({
10
+ resthook: z.string().describe("The slug for the resthook."),
11
+ created_on: z.string().describe("UTC timestamp when the resthook was created."),
12
+ modified_on: z.string().describe("UTC timestamp when the resthook was last modified.")
13
+ }).describe("A resthook object as returned by TextIt.");
14
+ const textitListResthooks = action("TEXTIT_LIST_RESTHOOKS", {
15
+ slug: "textit-list-resthooks",
16
+ name: "List Resthooks",
17
+ description: "Tool to list configured resthooks (webhooks). Use when you need to retrieve the resthooks configured in your TextIt account.",
18
+ input: TextitListResthooksInput,
19
+ output: z.object({
20
+ next: z.string().describe("URL to the next page of results, or null if none.").nullable().optional(),
21
+ results: z.array(TextitListResthooks_ResthookSchema).describe("List of resthook objects, most recently modified first."),
22
+ previous: z.string().describe("URL to the previous page of results, or null if none.").nullable().optional()
23
+ }).describe("Response model for list resthooks endpoint.")
24
+ });
25
+ //#endregion
26
+ export { textitListResthooks };
27
+
28
+ //# sourceMappingURL=list-resthooks.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-resthooks.mjs","names":[],"sources":["../../src/actions/list-resthooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TextitListResthooksInput: z.ZodTypeAny = z.object({\n after: z.string().describe(\"Cursor value to fetch records after this one.\").optional(),\n before: z.string().describe(\"Cursor value to fetch records before this one.\").optional(),\n page_size: z.number().int().describe(\"Number of records per page (must be >= 1).\").optional(),\n}).describe(\"Request model for listing resthooks with optional pagination.\");\nconst TextitListResthooks_ResthookSchema: z.ZodTypeAny = z.object({\n resthook: z.string().describe(\"The slug for the resthook.\"),\n created_on: z.string().describe(\"UTC timestamp when the resthook was created.\"),\n modified_on: z.string().describe(\"UTC timestamp when the resthook was last modified.\"),\n}).describe(\"A resthook object as returned by TextIt.\");\nexport const TextitListResthooksOutput: z.ZodTypeAny = z.object({\n next: z.string().describe(\"URL to the next page of results, or null if none.\").nullable().optional(),\n results: z.array(TextitListResthooks_ResthookSchema).describe(\"List of resthook objects, most recently modified first.\"),\n previous: z.string().describe(\"URL to the previous page of results, or null if none.\").nullable().optional(),\n}).describe(\"Response model for list resthooks endpoint.\");\n\nexport const textitListResthooks = action(\"TEXTIT_LIST_RESTHOOKS\", {\n slug: \"textit-list-resthooks\",\n name: \"List Resthooks\",\n description: \"Tool to list configured resthooks (webhooks). Use when you need to retrieve the resthooks configured in your TextIt account.\",\n input: TextitListResthooksInput,\n output: TextitListResthooksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO;CAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACrF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACvF,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,qCAAmD,EAAE,OAAO;CAChE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CAC1D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC9E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;AACvF,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAOtD,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXqD,EAAE,OAAO;EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,SAAS,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,yDAAyD;EACvH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
@@ -0,0 +1,45 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-runs.ts
4
+ const TextitListRunsInput = zod.z.object({
5
+ flow: zod.z.string().describe("UUID of a flow to filter runs.").optional(),
6
+ page: zod.z.number().int().describe("Page number of results to retrieve, must be >= 1.").optional(),
7
+ text: zod.z.string().describe("Search text within run results.").optional(),
8
+ after: zod.z.string().describe("Only include runs created after this ISO 8601 timestamp.").optional(),
9
+ group: zod.z.string().describe("UUID of a group to filter runs by contact group.").optional(),
10
+ before: zod.z.string().describe("Only include runs created before this ISO 8601 timestamp.").optional(),
11
+ parent: zod.z.string().describe("UUID of a parent run to filter child runs.").optional(),
12
+ contact: zod.z.string().describe("UUID of a contact to filter runs.").optional(),
13
+ archived: zod.z.boolean().describe("If true, only archived runs are returned; if false, only unarchived runs.").optional(),
14
+ ordering: zod.z.string().describe("Sort results by field(s), prefix with '-' for descending (e.g., '-created_on').").optional(),
15
+ statuses: zod.z.string().describe("Comma-separated list of run statuses to include (e.g., active,completed,expired).").optional()
16
+ }).describe("Request model for listing flow runs with optional filters and pagination.");
17
+ const TextitListRuns_RunSchema = zod.z.object({
18
+ id: zod.z.string().describe("UUID of the run."),
19
+ flow: zod.z.string().describe("UUID of the flow associated with this run."),
20
+ group: zod.z.string().describe("UUID of the group for the run, if any.").nullable().optional(),
21
+ parent: zod.z.string().describe("UUID of the parent run if this is a child run.").nullable().optional(),
22
+ status: zod.z.string().describe("Status of the run (e.g., active, completed, expired)."),
23
+ contact: zod.z.string().describe("UUID of the contact associated with this run."),
24
+ results: zod.z.object({}).describe("Mapping of result keys to their counts."),
25
+ archived: zod.z.boolean().describe("Whether this run is archived."),
26
+ created_on: zod.z.string().describe("ISO 8601 timestamp when the run was created."),
27
+ modified_on: zod.z.string().describe("ISO 8601 timestamp when the run was last modified.")
28
+ }).describe("Representation of a flow run.");
29
+ const TextitListRunsOutput = zod.z.object({
30
+ next: zod.z.string().describe("URL to the next page of results, or null if none.").nullable().optional(),
31
+ count: zod.z.number().int().describe("Total number of runs matching the filters.").nullable().optional(),
32
+ results: zod.z.array(TextitListRuns_RunSchema).describe("List of flow runs."),
33
+ previous: zod.z.string().describe("URL to the previous page of results, or null if none.").nullable().optional()
34
+ }).describe("Response model for list runs endpoint.");
35
+ const textitListRuns = require_action.action("TEXTIT_LIST_RUNS", {
36
+ slug: "textit-list-runs",
37
+ name: "List Runs",
38
+ description: "Tool to retrieve a list of flow runs. Use when you need to filter or browse run history by flow, contact, or status.",
39
+ input: TextitListRunsInput,
40
+ output: TextitListRunsOutput
41
+ });
42
+ //#endregion
43
+ exports.textitListRuns = textitListRuns;
44
+
45
+ //# sourceMappingURL=list-runs.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-runs.cjs","names":["z","action"],"sources":["../../src/actions/list-runs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TextitListRunsInput: z.ZodTypeAny = z.object({\n flow: z.string().describe(\"UUID of a flow to filter runs.\").optional(),\n page: z.number().int().describe(\"Page number of results to retrieve, must be >= 1.\").optional(),\n text: z.string().describe(\"Search text within run results.\").optional(),\n after: z.string().describe(\"Only include runs created after this ISO 8601 timestamp.\").optional(),\n group: z.string().describe(\"UUID of a group to filter runs by contact group.\").optional(),\n before: z.string().describe(\"Only include runs created before this ISO 8601 timestamp.\").optional(),\n parent: z.string().describe(\"UUID of a parent run to filter child runs.\").optional(),\n contact: z.string().describe(\"UUID of a contact to filter runs.\").optional(),\n archived: z.boolean().describe(\"If true, only archived runs are returned; if false, only unarchived runs.\").optional(),\n ordering: z.string().describe(\"Sort results by field(s), prefix with '-' for descending (e.g., '-created_on').\").optional(),\n statuses: z.string().describe(\"Comma-separated list of run statuses to include (e.g., active,completed,expired).\").optional(),\n}).describe(\"Request model for listing flow runs with optional filters and pagination.\");\nconst TextitListRuns_RunSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"UUID of the run.\"),\n flow: z.string().describe(\"UUID of the flow associated with this run.\"),\n group: z.string().describe(\"UUID of the group for the run, if any.\").nullable().optional(),\n parent: z.string().describe(\"UUID of the parent run if this is a child run.\").nullable().optional(),\n status: z.string().describe(\"Status of the run (e.g., active, completed, expired).\"),\n contact: z.string().describe(\"UUID of the contact associated with this run.\"),\n results: z.object({}).describe(\"Mapping of result keys to their counts.\"),\n archived: z.boolean().describe(\"Whether this run is archived.\"),\n created_on: z.string().describe(\"ISO 8601 timestamp when the run was created.\"),\n modified_on: z.string().describe(\"ISO 8601 timestamp when the run was last modified.\"),\n}).describe(\"Representation of a flow run.\");\nexport const TextitListRunsOutput: z.ZodTypeAny = z.object({\n next: z.string().describe(\"URL to the next page of results, or null if none.\").nullable().optional(),\n count: z.number().int().describe(\"Total number of runs matching the filters.\").nullable().optional(),\n results: z.array(TextitListRuns_RunSchema).describe(\"List of flow runs.\"),\n previous: z.string().describe(\"URL to the previous page of results, or null if none.\").nullable().optional(),\n}).describe(\"Response model for list runs endpoint.\");\n\nexport const textitListRuns = action(\"TEXTIT_LIST_RUNS\", {\n slug: \"textit-list-runs\",\n name: \"List Runs\",\n description: \"Tool to retrieve a list of flow runs. Use when you need to filter or browse run history by flow, contact, or status.\",\n input: TextitListRunsInput,\n output: TextitListRunsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAChG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACxF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAClG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACnF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC3E,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACrH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC1H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACvF,MAAM,2BAAyCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC1C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACnF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC5E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yCAAyC;CACxE,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B;CAC9D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;AACvF,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAC3C,MAAa,uBAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,SAASA,IAAAA,EAAE,MAAM,wBAAwB,CAAC,CAAC,SAAS,oBAAoB;CACxE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAEpD,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,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-runs.d.ts
4
+ declare const TextitListRunsInput: z.ZodTypeAny;
5
+ declare const TextitListRunsOutput: z.ZodTypeAny;
6
+ declare const textitListRuns: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { textitListRuns };
9
+ //# sourceMappingURL=list-runs.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-runs.d.cts","names":[],"sources":["../../src/actions/list-runs.ts"],"mappings":";;;cAIa,mBAAA,EAAqB,CAAA,CAAE,UAYoD;AAAA,cAa3E,oBAAA,EAAsB,CAAA,CAAE,UAKgB;AAAA,cAExC,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-runs.d.ts
4
+ declare const TextitListRunsInput: z.ZodTypeAny;
5
+ declare const TextitListRunsOutput: z.ZodTypeAny;
6
+ declare const textitListRuns: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { textitListRuns };
9
+ //# sourceMappingURL=list-runs.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-runs.d.mts","names":[],"sources":["../../src/actions/list-runs.ts"],"mappings":";;;cAIa,mBAAA,EAAqB,CAAA,CAAE,UAYoD;AAAA,cAa3E,oBAAA,EAAsB,CAAA,CAAE,UAKgB;AAAA,cAExC,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,44 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-runs.ts
4
+ const TextitListRunsInput = z.object({
5
+ flow: z.string().describe("UUID of a flow to filter runs.").optional(),
6
+ page: z.number().int().describe("Page number of results to retrieve, must be >= 1.").optional(),
7
+ text: z.string().describe("Search text within run results.").optional(),
8
+ after: z.string().describe("Only include runs created after this ISO 8601 timestamp.").optional(),
9
+ group: z.string().describe("UUID of a group to filter runs by contact group.").optional(),
10
+ before: z.string().describe("Only include runs created before this ISO 8601 timestamp.").optional(),
11
+ parent: z.string().describe("UUID of a parent run to filter child runs.").optional(),
12
+ contact: z.string().describe("UUID of a contact to filter runs.").optional(),
13
+ archived: z.boolean().describe("If true, only archived runs are returned; if false, only unarchived runs.").optional(),
14
+ ordering: z.string().describe("Sort results by field(s), prefix with '-' for descending (e.g., '-created_on').").optional(),
15
+ statuses: z.string().describe("Comma-separated list of run statuses to include (e.g., active,completed,expired).").optional()
16
+ }).describe("Request model for listing flow runs with optional filters and pagination.");
17
+ const TextitListRuns_RunSchema = z.object({
18
+ id: z.string().describe("UUID of the run."),
19
+ flow: z.string().describe("UUID of the flow associated with this run."),
20
+ group: z.string().describe("UUID of the group for the run, if any.").nullable().optional(),
21
+ parent: z.string().describe("UUID of the parent run if this is a child run.").nullable().optional(),
22
+ status: z.string().describe("Status of the run (e.g., active, completed, expired)."),
23
+ contact: z.string().describe("UUID of the contact associated with this run."),
24
+ results: z.object({}).describe("Mapping of result keys to their counts."),
25
+ archived: z.boolean().describe("Whether this run is archived."),
26
+ created_on: z.string().describe("ISO 8601 timestamp when the run was created."),
27
+ modified_on: z.string().describe("ISO 8601 timestamp when the run was last modified.")
28
+ }).describe("Representation of a flow run.");
29
+ const textitListRuns = action("TEXTIT_LIST_RUNS", {
30
+ slug: "textit-list-runs",
31
+ name: "List Runs",
32
+ description: "Tool to retrieve a list of flow runs. Use when you need to filter or browse run history by flow, contact, or status.",
33
+ input: TextitListRunsInput,
34
+ output: z.object({
35
+ next: z.string().describe("URL to the next page of results, or null if none.").nullable().optional(),
36
+ count: z.number().int().describe("Total number of runs matching the filters.").nullable().optional(),
37
+ results: z.array(TextitListRuns_RunSchema).describe("List of flow runs."),
38
+ previous: z.string().describe("URL to the previous page of results, or null if none.").nullable().optional()
39
+ }).describe("Response model for list runs endpoint.")
40
+ });
41
+ //#endregion
42
+ export { textitListRuns };
43
+
44
+ //# sourceMappingURL=list-runs.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-runs.mjs","names":[],"sources":["../../src/actions/list-runs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TextitListRunsInput: z.ZodTypeAny = z.object({\n flow: z.string().describe(\"UUID of a flow to filter runs.\").optional(),\n page: z.number().int().describe(\"Page number of results to retrieve, must be >= 1.\").optional(),\n text: z.string().describe(\"Search text within run results.\").optional(),\n after: z.string().describe(\"Only include runs created after this ISO 8601 timestamp.\").optional(),\n group: z.string().describe(\"UUID of a group to filter runs by contact group.\").optional(),\n before: z.string().describe(\"Only include runs created before this ISO 8601 timestamp.\").optional(),\n parent: z.string().describe(\"UUID of a parent run to filter child runs.\").optional(),\n contact: z.string().describe(\"UUID of a contact to filter runs.\").optional(),\n archived: z.boolean().describe(\"If true, only archived runs are returned; if false, only unarchived runs.\").optional(),\n ordering: z.string().describe(\"Sort results by field(s), prefix with '-' for descending (e.g., '-created_on').\").optional(),\n statuses: z.string().describe(\"Comma-separated list of run statuses to include (e.g., active,completed,expired).\").optional(),\n}).describe(\"Request model for listing flow runs with optional filters and pagination.\");\nconst TextitListRuns_RunSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"UUID of the run.\"),\n flow: z.string().describe(\"UUID of the flow associated with this run.\"),\n group: z.string().describe(\"UUID of the group for the run, if any.\").nullable().optional(),\n parent: z.string().describe(\"UUID of the parent run if this is a child run.\").nullable().optional(),\n status: z.string().describe(\"Status of the run (e.g., active, completed, expired).\"),\n contact: z.string().describe(\"UUID of the contact associated with this run.\"),\n results: z.object({}).describe(\"Mapping of result keys to their counts.\"),\n archived: z.boolean().describe(\"Whether this run is archived.\"),\n created_on: z.string().describe(\"ISO 8601 timestamp when the run was created.\"),\n modified_on: z.string().describe(\"ISO 8601 timestamp when the run was last modified.\"),\n}).describe(\"Representation of a flow run.\");\nexport const TextitListRunsOutput: z.ZodTypeAny = z.object({\n next: z.string().describe(\"URL to the next page of results, or null if none.\").nullable().optional(),\n count: z.number().int().describe(\"Total number of runs matching the filters.\").nullable().optional(),\n results: z.array(TextitListRuns_RunSchema).describe(\"List of flow runs.\"),\n previous: z.string().describe(\"URL to the previous page of results, or null if none.\").nullable().optional(),\n}).describe(\"Response model for list runs endpoint.\");\n\nexport const textitListRuns = action(\"TEXTIT_LIST_RUNS\", {\n slug: \"textit-list-runs\",\n name: \"List Runs\",\n description: \"Tool to retrieve a list of flow runs. Use when you need to filter or browse run history by flow, contact, or status.\",\n input: TextitListRunsInput,\n output: TextitListRunsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAoC,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAChG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACxF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAClG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACnF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC3E,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACrH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC1H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACvF,MAAM,2BAAyC,EAAE,OAAO;CACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC1C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACnF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC5E,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yCAAyC;CACxE,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B;CAC9D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC9E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;AACvF,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAQ3C,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZgD,EAAE,OAAO;EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,SAAS,EAAE,MAAM,wBAAwB,CAAC,CAAC,SAAS,oBAAoB;EACxE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,SAAS,wCAOF;AACV,CAAC"}
@@ -0,0 +1,55 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-tickets.ts
4
+ const TextitListTicketsInput = zod.z.object({
5
+ uuid: zod.z.string().describe("Filter tickets by their UUID").optional(),
6
+ topic: zod.z.string().describe("Filter tickets by topic UUID").optional(),
7
+ cursor: zod.z.string().describe("Cursor for pagination. Extract from the 'next' URL of previous response.").optional(),
8
+ contact: zod.z.string().describe("Filter tickets by contact UUID").optional(),
9
+ assignee: zod.z.string().describe("Filter tickets by assignee email address").optional()
10
+ }).describe("Request model for listing support tickets with optional filters.");
11
+ const TextitListTickets_TicketTopicSchema = zod.z.object({
12
+ name: zod.z.string().describe("Name of the topic"),
13
+ uuid: zod.z.string().describe("UUID of the topic")
14
+ }).describe("Topic information within a ticket.");
15
+ const TextitListTickets_TicketContactSchema = zod.z.object({
16
+ name: zod.z.string().describe("Name of the contact"),
17
+ uuid: zod.z.string().describe("UUID of the contact")
18
+ }).describe("Contact information within a ticket.");
19
+ const TextitListTickets_TicketAssigneeSchema = zod.z.object({
20
+ name: zod.z.string().describe("Name of the assignee"),
21
+ email: zod.z.string().describe("Email address of the assignee")
22
+ }).describe("Assignee information within a ticket.");
23
+ const TextitListTickets_TicketFlowSchema = zod.z.object({
24
+ name: zod.z.string().describe("Name of the flow"),
25
+ uuid: zod.z.string().describe("UUID of the flow")
26
+ }).describe("Flow information within a ticket.");
27
+ const TextitListTickets_TicketSchema = zod.z.object({
28
+ body: zod.z.string().describe("Body content of the ticket, if any").nullable().optional(),
29
+ uuid: zod.z.string().describe("Unique identifier of the ticket"),
30
+ topic: TextitListTickets_TicketTopicSchema.nullable(),
31
+ status: zod.z.string().describe("Status of the ticket (open or closed)"),
32
+ contact: TextitListTickets_TicketContactSchema.nullable(),
33
+ assignee: TextitListTickets_TicketAssigneeSchema.nullable().optional(),
34
+ closed_on: zod.z.string().describe("Timestamp when the ticket was closed (ISO 8601), if closed").nullable().optional(),
35
+ opened_by: zod.z.object({}).describe("User who opened the ticket, if any").nullable().optional(),
36
+ opened_in: TextitListTickets_TicketFlowSchema.nullable().optional(),
37
+ opened_on: zod.z.string().describe("Timestamp when the ticket was opened (ISO 8601)"),
38
+ modified_on: zod.z.string().describe("Timestamp when the ticket was last modified (ISO 8601)")
39
+ }).describe("Representation of a TextIt support ticket.");
40
+ const TextitListTicketsOutput = zod.z.object({
41
+ next: zod.z.string().describe("URL to the next page of results, if any").nullable().optional(),
42
+ results: zod.z.array(TextitListTickets_TicketSchema).describe("List of ticket objects"),
43
+ previous: zod.z.string().describe("URL to the previous page of results, if any").nullable().optional()
44
+ }).describe("Paginated list of support tickets.");
45
+ const textitListTickets = require_action.action("TEXTIT_LIST_TICKETS", {
46
+ slug: "textit-list-tickets",
47
+ name: "List Tickets",
48
+ description: "Tool to retrieve support tickets for your organization. Use when you need to fetch tickets with optional filters (UUID, contact, topic, or assignee). Returns paginated ticket data.",
49
+ input: TextitListTicketsInput,
50
+ output: TextitListTicketsOutput
51
+ });
52
+ //#endregion
53
+ exports.textitListTickets = textitListTickets;
54
+
55
+ //# sourceMappingURL=list-tickets.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-tickets.cjs","names":["z","action"],"sources":["../../src/actions/list-tickets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TextitListTicketsInput: z.ZodTypeAny = z.object({\n uuid: z.string().describe(\"Filter tickets by their UUID\").optional(),\n topic: z.string().describe(\"Filter tickets by topic UUID\").optional(),\n cursor: z.string().describe(\"Cursor for pagination. Extract from the 'next' URL of previous response.\").optional(),\n contact: z.string().describe(\"Filter tickets by contact UUID\").optional(),\n assignee: z.string().describe(\"Filter tickets by assignee email address\").optional(),\n}).describe(\"Request model for listing support tickets with optional filters.\");\nconst TextitListTickets_TicketTopicSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the topic\"),\n uuid: z.string().describe(\"UUID of the topic\"),\n}).describe(\"Topic information within a ticket.\");\nconst TextitListTickets_TicketContactSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the contact\"),\n uuid: z.string().describe(\"UUID of the contact\"),\n}).describe(\"Contact information within a ticket.\");\nconst TextitListTickets_TicketAssigneeSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the assignee\"),\n email: z.string().describe(\"Email address of the assignee\"),\n}).describe(\"Assignee information within a ticket.\");\nconst TextitListTickets_TicketFlowSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the flow\"),\n uuid: z.string().describe(\"UUID of the flow\"),\n}).describe(\"Flow information within a ticket.\");\nconst TextitListTickets_TicketSchema: z.ZodTypeAny = z.object({\n body: z.string().describe(\"Body content of the ticket, if any\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier of the ticket\"),\n topic: TextitListTickets_TicketTopicSchema.nullable(),\n status: z.string().describe(\"Status of the ticket (open or closed)\"),\n contact: TextitListTickets_TicketContactSchema.nullable(),\n assignee: TextitListTickets_TicketAssigneeSchema.nullable().optional(),\n closed_on: z.string().describe(\"Timestamp when the ticket was closed (ISO 8601), if closed\").nullable().optional(),\n opened_by: z.object({}).describe(\"User who opened the ticket, if any\").nullable().optional(),\n opened_in: TextitListTickets_TicketFlowSchema.nullable().optional(),\n opened_on: z.string().describe(\"Timestamp when the ticket was opened (ISO 8601)\"),\n modified_on: z.string().describe(\"Timestamp when the ticket was last modified (ISO 8601)\"),\n}).describe(\"Representation of a TextIt support ticket.\");\nexport const TextitListTicketsOutput: z.ZodTypeAny = z.object({\n next: z.string().describe(\"URL to the next page of results, if any\").nullable().optional(),\n results: z.array(TextitListTickets_TicketSchema).describe(\"List of ticket objects\"),\n previous: z.string().describe(\"URL to the previous page of results, if any\").nullable().optional(),\n}).describe(\"Paginated list of support tickets.\");\n\nexport const textitListTickets = action(\"TEXTIT_LIST_TICKETS\", {\n slug: \"textit-list-tickets\",\n name: \"List Tickets\",\n description: \"Tool to retrieve support tickets for your organization. Use when you need to fetch tickets with optional filters (UUID, contact, topic, or assignee). Returns paginated ticket data.\",\n input: TextitListTicketsInput,\n output: TextitListTicketsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACjH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACxE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,sCAAoDA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;AAC/C,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,wCAAsDA,IAAAA,EAAE,OAAO;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;AACjD,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,yCAAuDA,IAAAA,EAAE,OAAO;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;AAC5D,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,qCAAmDA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;AAC9C,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAM,iCAA+CA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC3D,OAAO,oCAAoC,SAAS;CACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACnE,SAAS,sCAAsC,SAAS;CACxD,UAAU,uCAAuC,SAAS,CAAC,CAAC,SAAS;CACrE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,WAAW,mCAAmC,SAAS,CAAC,CAAC,SAAS;CAClE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAChF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;AAC3F,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,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,8BAA8B,CAAC,CAAC,SAAS,wBAAwB;CAClF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAEhD,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-tickets.d.ts
4
+ declare const TextitListTicketsInput: z.ZodTypeAny;
5
+ declare const TextitListTicketsOutput: z.ZodTypeAny;
6
+ declare const textitListTickets: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { textitListTickets };
9
+ //# sourceMappingURL=list-tickets.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-tickets.d.cts","names":[],"sources":["../../src/actions/list-tickets.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAMwC;AAAA,cA8BlE,uBAAA,EAAyB,CAAA,CAAE,UAIS;AAAA,cAEpC,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-tickets.d.ts
4
+ declare const TextitListTicketsInput: z.ZodTypeAny;
5
+ declare const TextitListTicketsOutput: z.ZodTypeAny;
6
+ declare const textitListTickets: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { textitListTickets };
9
+ //# sourceMappingURL=list-tickets.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-tickets.d.mts","names":[],"sources":["../../src/actions/list-tickets.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAMwC;AAAA,cA8BlE,uBAAA,EAAyB,CAAA,CAAE,UAIS;AAAA,cAEpC,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,54 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-tickets.ts
4
+ const TextitListTicketsInput = z.object({
5
+ uuid: z.string().describe("Filter tickets by their UUID").optional(),
6
+ topic: z.string().describe("Filter tickets by topic UUID").optional(),
7
+ cursor: z.string().describe("Cursor for pagination. Extract from the 'next' URL of previous response.").optional(),
8
+ contact: z.string().describe("Filter tickets by contact UUID").optional(),
9
+ assignee: z.string().describe("Filter tickets by assignee email address").optional()
10
+ }).describe("Request model for listing support tickets with optional filters.");
11
+ const TextitListTickets_TicketTopicSchema = z.object({
12
+ name: z.string().describe("Name of the topic"),
13
+ uuid: z.string().describe("UUID of the topic")
14
+ }).describe("Topic information within a ticket.");
15
+ const TextitListTickets_TicketContactSchema = z.object({
16
+ name: z.string().describe("Name of the contact"),
17
+ uuid: z.string().describe("UUID of the contact")
18
+ }).describe("Contact information within a ticket.");
19
+ const TextitListTickets_TicketAssigneeSchema = z.object({
20
+ name: z.string().describe("Name of the assignee"),
21
+ email: z.string().describe("Email address of the assignee")
22
+ }).describe("Assignee information within a ticket.");
23
+ const TextitListTickets_TicketFlowSchema = z.object({
24
+ name: z.string().describe("Name of the flow"),
25
+ uuid: z.string().describe("UUID of the flow")
26
+ }).describe("Flow information within a ticket.");
27
+ const TextitListTickets_TicketSchema = z.object({
28
+ body: z.string().describe("Body content of the ticket, if any").nullable().optional(),
29
+ uuid: z.string().describe("Unique identifier of the ticket"),
30
+ topic: TextitListTickets_TicketTopicSchema.nullable(),
31
+ status: z.string().describe("Status of the ticket (open or closed)"),
32
+ contact: TextitListTickets_TicketContactSchema.nullable(),
33
+ assignee: TextitListTickets_TicketAssigneeSchema.nullable().optional(),
34
+ closed_on: z.string().describe("Timestamp when the ticket was closed (ISO 8601), if closed").nullable().optional(),
35
+ opened_by: z.object({}).describe("User who opened the ticket, if any").nullable().optional(),
36
+ opened_in: TextitListTickets_TicketFlowSchema.nullable().optional(),
37
+ opened_on: z.string().describe("Timestamp when the ticket was opened (ISO 8601)"),
38
+ modified_on: z.string().describe("Timestamp when the ticket was last modified (ISO 8601)")
39
+ }).describe("Representation of a TextIt support ticket.");
40
+ const textitListTickets = action("TEXTIT_LIST_TICKETS", {
41
+ slug: "textit-list-tickets",
42
+ name: "List Tickets",
43
+ description: "Tool to retrieve support tickets for your organization. Use when you need to fetch tickets with optional filters (UUID, contact, topic, or assignee). Returns paginated ticket data.",
44
+ input: TextitListTicketsInput,
45
+ output: z.object({
46
+ next: z.string().describe("URL to the next page of results, if any").nullable().optional(),
47
+ results: z.array(TextitListTickets_TicketSchema).describe("List of ticket objects"),
48
+ previous: z.string().describe("URL to the previous page of results, if any").nullable().optional()
49
+ }).describe("Paginated list of support tickets.")
50
+ });
51
+ //#endregion
52
+ export { textitListTickets };
53
+
54
+ //# sourceMappingURL=list-tickets.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-tickets.mjs","names":[],"sources":["../../src/actions/list-tickets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TextitListTicketsInput: z.ZodTypeAny = z.object({\n uuid: z.string().describe(\"Filter tickets by their UUID\").optional(),\n topic: z.string().describe(\"Filter tickets by topic UUID\").optional(),\n cursor: z.string().describe(\"Cursor for pagination. Extract from the 'next' URL of previous response.\").optional(),\n contact: z.string().describe(\"Filter tickets by contact UUID\").optional(),\n assignee: z.string().describe(\"Filter tickets by assignee email address\").optional(),\n}).describe(\"Request model for listing support tickets with optional filters.\");\nconst TextitListTickets_TicketTopicSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the topic\"),\n uuid: z.string().describe(\"UUID of the topic\"),\n}).describe(\"Topic information within a ticket.\");\nconst TextitListTickets_TicketContactSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the contact\"),\n uuid: z.string().describe(\"UUID of the contact\"),\n}).describe(\"Contact information within a ticket.\");\nconst TextitListTickets_TicketAssigneeSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the assignee\"),\n email: z.string().describe(\"Email address of the assignee\"),\n}).describe(\"Assignee information within a ticket.\");\nconst TextitListTickets_TicketFlowSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the flow\"),\n uuid: z.string().describe(\"UUID of the flow\"),\n}).describe(\"Flow information within a ticket.\");\nconst TextitListTickets_TicketSchema: z.ZodTypeAny = z.object({\n body: z.string().describe(\"Body content of the ticket, if any\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier of the ticket\"),\n topic: TextitListTickets_TicketTopicSchema.nullable(),\n status: z.string().describe(\"Status of the ticket (open or closed)\"),\n contact: TextitListTickets_TicketContactSchema.nullable(),\n assignee: TextitListTickets_TicketAssigneeSchema.nullable().optional(),\n closed_on: z.string().describe(\"Timestamp when the ticket was closed (ISO 8601), if closed\").nullable().optional(),\n opened_by: z.object({}).describe(\"User who opened the ticket, if any\").nullable().optional(),\n opened_in: TextitListTickets_TicketFlowSchema.nullable().optional(),\n opened_on: z.string().describe(\"Timestamp when the ticket was opened (ISO 8601)\"),\n modified_on: z.string().describe(\"Timestamp when the ticket was last modified (ISO 8601)\"),\n}).describe(\"Representation of a TextIt support ticket.\");\nexport const TextitListTicketsOutput: z.ZodTypeAny = z.object({\n next: z.string().describe(\"URL to the next page of results, if any\").nullable().optional(),\n results: z.array(TextitListTickets_TicketSchema).describe(\"List of ticket objects\"),\n previous: z.string().describe(\"URL to the previous page of results, if any\").nullable().optional(),\n}).describe(\"Paginated list of support tickets.\");\n\nexport const textitListTickets = action(\"TEXTIT_LIST_TICKETS\", {\n slug: \"textit-list-tickets\",\n name: \"List Tickets\",\n description: \"Tool to retrieve support tickets for your organization. Use when you need to fetch tickets with optional filters (UUID, contact, topic, or assignee). Returns paginated ticket data.\",\n input: TextitListTicketsInput,\n output: TextitListTicketsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuC,EAAE,OAAO;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACjH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACxE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,sCAAoD,EAAE,OAAO;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;AAC/C,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,wCAAsD,EAAE,OAAO;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;AACjD,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,yCAAuD,EAAE,OAAO;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;AAC5D,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,qCAAmD,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;AAC9C,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAM,iCAA+C,EAAE,OAAO;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC3D,OAAO,oCAAoC,SAAS;CACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACnE,SAAS,sCAAsC,SAAS;CACxD,UAAU,uCAAuC,SAAS,CAAC,CAAC,SAAS;CACrE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,WAAW,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,WAAW,mCAAmC,SAAS,CAAC,CAAC,SAAS;CAClE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAChF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;AAC3F,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,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,SAAS,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,wBAAwB;EAClF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,SAAS,oCAOF;AACV,CAAC"}
@@ -0,0 +1,34 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-topics2.ts
4
+ const TextitListTopics2Input = zod.z.object({
5
+ uuid: zod.z.string().describe("Filter by topic UUID to retrieve a specific topic.").optional(),
6
+ cursor: zod.z.string().describe("Cursor for pagination. Extract from the 'next' URL of previous response.").optional()
7
+ }).describe("Request model for listing topics with optional UUID filter.");
8
+ const TextitListTopics2_TopicCountsSchema = zod.z.object({
9
+ open: zod.z.number().int().describe("Number of open messages in the topic.").nullable().optional(),
10
+ closed: zod.z.number().int().describe("Number of closed messages in the topic.").nullable().optional()
11
+ }).describe("Counts object for topic message statistics.");
12
+ const TextitListTopics2_TopicSchema = zod.z.object({
13
+ name: zod.z.string().describe("Topic name."),
14
+ uuid: zod.z.string().describe("Unique identifier for the topic."),
15
+ counts: TextitListTopics2_TopicCountsSchema.nullable().optional(),
16
+ system: zod.z.boolean().describe("Whether this is a system topic."),
17
+ created_on: zod.z.string().describe("Date topic was created (ISO 8601).")
18
+ }).describe("A topic object as returned by TextIt.");
19
+ const TextitListTopics2Output = zod.z.object({
20
+ next: zod.z.string().describe("URL to the next page of results.").nullable().optional(),
21
+ results: zod.z.array(TextitListTopics2_TopicSchema).describe("List of topic objects."),
22
+ previous: zod.z.string().describe("URL to the previous page of results.").nullable().optional()
23
+ }).describe("Response model for list topics endpoint.");
24
+ const textitListTopics2 = require_action.action("TEXTIT_LIST_TOPICS2", {
25
+ slug: "textit-list-topics2",
26
+ name: "List Topics V2",
27
+ description: "Tool to list topics in the workspace for categorizing tickets. Use when you need to retrieve topics, optionally filtered by UUID.",
28
+ input: TextitListTopics2Input,
29
+ output: TextitListTopics2Output
30
+ });
31
+ //#endregion
32
+ exports.textitListTopics2 = textitListTopics2;
33
+
34
+ //# sourceMappingURL=list-topics2.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-topics2.cjs","names":["z","action"],"sources":["../../src/actions/list-topics2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TextitListTopics2Input: z.ZodTypeAny = z.object({\n uuid: z.string().describe(\"Filter by topic UUID to retrieve a specific topic.\").optional(),\n cursor: z.string().describe(\"Cursor for pagination. Extract from the 'next' URL of previous response.\").optional(),\n}).describe(\"Request model for listing topics with optional UUID filter.\");\nconst TextitListTopics2_TopicCountsSchema: z.ZodTypeAny = z.object({\n open: z.number().int().describe(\"Number of open messages in the topic.\").nullable().optional(),\n closed: z.number().int().describe(\"Number of closed messages in the topic.\").nullable().optional(),\n}).describe(\"Counts object for topic message statistics.\");\nconst TextitListTopics2_TopicSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Topic name.\"),\n uuid: z.string().describe(\"Unique identifier for the topic.\"),\n counts: TextitListTopics2_TopicCountsSchema.nullable().optional(),\n system: z.boolean().describe(\"Whether this is a system topic.\"),\n created_on: z.string().describe(\"Date topic was created (ISO 8601).\"),\n}).describe(\"A topic object as returned by TextIt.\");\nexport const TextitListTopics2Output: z.ZodTypeAny = z.object({\n next: z.string().describe(\"URL to the next page of results.\").nullable().optional(),\n results: z.array(TextitListTopics2_TopicSchema).describe(\"List of topic objects.\"),\n previous: z.string().describe(\"URL to the previous page of results.\").nullable().optional(),\n}).describe(\"Response model for list topics endpoint.\");\n\nexport const textitListTopics2 = action(\"TEXTIT_LIST_TOPICS2\", {\n slug: \"textit-list-topics2\",\n name: \"List Topics V2\",\n description: \"Tool to list topics in the workspace for categorizing tickets. Use when you need to retrieve topics, optionally filtered by UUID.\",\n input: TextitListTopics2Input,\n output: TextitListTopics2Output,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACzF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,sCAAoDA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,gCAA8CA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;CACvC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC5D,QAAQ,oCAAoC,SAAS,CAAC,CAAC,SAAS;CAChE,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC;CAC9D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;AACtE,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,SAASA,IAAAA,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,wBAAwB;CACjF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAEtD,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-topics2.d.ts
4
+ declare const TextitListTopics2Input: z.ZodTypeAny;
5
+ declare const TextitListTopics2Output: z.ZodTypeAny;
6
+ declare const textitListTopics2: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { textitListTopics2 };
9
+ //# sourceMappingURL=list-topics2.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-topics2.d.cts","names":[],"sources":["../../src/actions/list-topics2.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAGmC;AAAA,cAY7D,uBAAA,EAAyB,CAAA,CAAE,UAIe;AAAA,cAE1C,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-topics2.d.ts
4
+ declare const TextitListTopics2Input: z.ZodTypeAny;
5
+ declare const TextitListTopics2Output: z.ZodTypeAny;
6
+ declare const textitListTopics2: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { textitListTopics2 };
9
+ //# sourceMappingURL=list-topics2.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-topics2.d.mts","names":[],"sources":["../../src/actions/list-topics2.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAGmC;AAAA,cAY7D,uBAAA,EAAyB,CAAA,CAAE,UAIe;AAAA,cAE1C,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}