@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,33 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-topics2.ts
4
+ const TextitListTopics2Input = z.object({
5
+ uuid: z.string().describe("Filter by topic UUID to retrieve a specific topic.").optional(),
6
+ cursor: 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 = z.object({
9
+ open: z.number().int().describe("Number of open messages in the topic.").nullable().optional(),
10
+ closed: 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 = z.object({
13
+ name: z.string().describe("Topic name."),
14
+ uuid: z.string().describe("Unique identifier for the topic."),
15
+ counts: TextitListTopics2_TopicCountsSchema.nullable().optional(),
16
+ system: z.boolean().describe("Whether this is a system topic."),
17
+ created_on: z.string().describe("Date topic was created (ISO 8601).")
18
+ }).describe("A topic object as returned by TextIt.");
19
+ const textitListTopics2 = action("TEXTIT_LIST_TOPICS2", {
20
+ slug: "textit-list-topics2",
21
+ name: "List Topics V2",
22
+ description: "Tool to list topics in the workspace for categorizing tickets. Use when you need to retrieve topics, optionally filtered by UUID.",
23
+ input: TextitListTopics2Input,
24
+ output: z.object({
25
+ next: z.string().describe("URL to the next page of results.").nullable().optional(),
26
+ results: z.array(TextitListTopics2_TopicSchema).describe("List of topic objects."),
27
+ previous: z.string().describe("URL to the previous page of results.").nullable().optional()
28
+ }).describe("Response model for list topics endpoint.")
29
+ });
30
+ //#endregion
31
+ export { textitListTopics2 };
32
+
33
+ //# sourceMappingURL=list-topics2.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-topics2.mjs","names":[],"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,yBAAuC,EAAE,OAAO;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACzF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,sCAAoD,EAAE,OAAO;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,gCAA8C,EAAE,OAAO;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;CACvC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC5D,QAAQ,oCAAoC,SAAS,CAAC,CAAC,SAAS;CAChE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC;CAC9D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;AACtE,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAOnD,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXmD,EAAE,OAAO;EAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,SAAS,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,wBAAwB;EACjF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,SAAS,0CAOF;AACV,CAAC"}
@@ -0,0 +1,37 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-users.ts
4
+ const TextitListUsersInput = zod.z.object({
5
+ uuid: zod.z.string().describe("Filter users by their UUID.").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 users with optional filtering.");
8
+ const TextitListUsers_TeamSchema = zod.z.object({
9
+ name: zod.z.string().describe("Name of the team.").nullable().optional(),
10
+ uuid: zod.z.string().describe("UUID of the team.").nullable().optional()
11
+ }).describe("Team information for a user.");
12
+ const TextitListUsers_UserSchema = zod.z.object({
13
+ role: zod.z.string().describe("Role of the user in the workspace."),
14
+ team: TextitListUsers_TeamSchema.nullable().optional(),
15
+ uuid: zod.z.string().describe("Unique identifier of the user."),
16
+ email: zod.z.string().describe("Email address of the user."),
17
+ avatar: zod.z.string().describe("Avatar URL of the user, if available.").nullable().optional(),
18
+ last_name: zod.z.string().describe("Last name of the user."),
19
+ created_on: zod.z.string().describe("Timestamp when the user was created (ISO 8601)."),
20
+ first_name: zod.z.string().describe("First name of the user.")
21
+ }).describe("Representation of a TextIt user.");
22
+ const TextitListUsersOutput = zod.z.object({
23
+ next: zod.z.string().describe("URL to the next page of results, if any.").nullable().optional(),
24
+ results: zod.z.array(TextitListUsers_UserSchema).describe("List of user objects."),
25
+ previous: zod.z.string().describe("URL to the previous page of results, if any.").nullable().optional()
26
+ }).describe("Paginated list of users in the workspace.");
27
+ const textitListUsers = require_action.action("TEXTIT_LIST_USERS", {
28
+ slug: "textit-list-users",
29
+ name: "List Users",
30
+ description: "Tool to retrieve a list of user logins in your workspace with their roles and teams. Use when you need to fetch users with optional UUID filter. Results are ordered by newest created first.",
31
+ input: TextitListUsersInput,
32
+ output: TextitListUsersOutput
33
+ });
34
+ //#endregion
35
+ exports.textitListUsers = textitListUsers;
36
+
37
+ //# sourceMappingURL=list-users.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-users.cjs","names":["z","action"],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TextitListUsersInput: z.ZodTypeAny = z.object({\n uuid: z.string().describe(\"Filter users by their 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 users with optional filtering.\");\nconst TextitListUsers_TeamSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the team.\").nullable().optional(),\n uuid: z.string().describe(\"UUID of the team.\").nullable().optional(),\n}).describe(\"Team information for a user.\");\nconst TextitListUsers_UserSchema: z.ZodTypeAny = z.object({\n role: z.string().describe(\"Role of the user in the workspace.\"),\n team: TextitListUsers_TeamSchema.nullable().optional(),\n uuid: z.string().describe(\"Unique identifier of the user.\"),\n email: z.string().describe(\"Email address of the user.\"),\n avatar: z.string().describe(\"Avatar URL of the user, if available.\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the user.\"),\n created_on: z.string().describe(\"Timestamp when the user was created (ISO 8601).\"),\n first_name: z.string().describe(\"First name of the user.\"),\n}).describe(\"Representation of a TextIt user.\");\nexport const TextitListUsersOutput: z.ZodTypeAny = z.object({\n next: z.string().describe(\"URL to the next page of results, if any.\").nullable().optional(),\n results: z.array(TextitListUsers_UserSchema).describe(\"List of user objects.\"),\n previous: z.string().describe(\"URL to the previous page of results, if any.\").nullable().optional(),\n}).describe(\"Paginated list of users in the workspace.\");\n\nexport const textitListUsers = action(\"TEXTIT_LIST_USERS\", {\n slug: \"textit-list-users\",\n name: \"List Users\",\n description: \"Tool to retrieve a list of user logins in your workspace with their roles and teams. Use when you need to fetch users with optional UUID filter. Results are ordered by newest created first.\",\n input: TextitListUsersInput,\n output: TextitListUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,6BAA2CA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrE,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAC1C,MAAM,6BAA2CA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC9D,MAAM,2BAA2B,SAAS,CAAC,CAAC,SAAS;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC1D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACvD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CACvD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CACjF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;AAC3D,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,MAAa,wBAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,MAAM,0BAA0B,CAAC,CAAC,SAAS,uBAAuB;CAC7E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,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-users.d.ts
4
+ declare const TextitListUsersInput: z.ZodTypeAny;
5
+ declare const TextitListUsersOutput: z.ZodTypeAny;
6
+ declare const textitListUsers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { textitListUsers };
9
+ //# sourceMappingURL=list-users.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-users.d.cts","names":[],"sources":["../../src/actions/list-users.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAGkC;AAAA,cAe1D,qBAAA,EAAuB,CAAA,CAAE,UAIkB;AAAA,cAE3C,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-users.d.ts
4
+ declare const TextitListUsersInput: z.ZodTypeAny;
5
+ declare const TextitListUsersOutput: z.ZodTypeAny;
6
+ declare const textitListUsers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { textitListUsers };
9
+ //# sourceMappingURL=list-users.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-users.d.mts","names":[],"sources":["../../src/actions/list-users.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAGkC;AAAA,cAe1D,qBAAA,EAAuB,CAAA,CAAE,UAIkB;AAAA,cAE3C,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,36 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-users.ts
4
+ const TextitListUsersInput = z.object({
5
+ uuid: z.string().describe("Filter users by their UUID.").optional(),
6
+ cursor: z.string().describe("Cursor for pagination. Extract from the 'next' URL of previous response.").optional()
7
+ }).describe("Request model for listing users with optional filtering.");
8
+ const TextitListUsers_TeamSchema = z.object({
9
+ name: z.string().describe("Name of the team.").nullable().optional(),
10
+ uuid: z.string().describe("UUID of the team.").nullable().optional()
11
+ }).describe("Team information for a user.");
12
+ const TextitListUsers_UserSchema = z.object({
13
+ role: z.string().describe("Role of the user in the workspace."),
14
+ team: TextitListUsers_TeamSchema.nullable().optional(),
15
+ uuid: z.string().describe("Unique identifier of the user."),
16
+ email: z.string().describe("Email address of the user."),
17
+ avatar: z.string().describe("Avatar URL of the user, if available.").nullable().optional(),
18
+ last_name: z.string().describe("Last name of the user."),
19
+ created_on: z.string().describe("Timestamp when the user was created (ISO 8601)."),
20
+ first_name: z.string().describe("First name of the user.")
21
+ }).describe("Representation of a TextIt user.");
22
+ const textitListUsers = action("TEXTIT_LIST_USERS", {
23
+ slug: "textit-list-users",
24
+ name: "List Users",
25
+ description: "Tool to retrieve a list of user logins in your workspace with their roles and teams. Use when you need to fetch users with optional UUID filter. Results are ordered by newest created first.",
26
+ input: TextitListUsersInput,
27
+ output: z.object({
28
+ next: z.string().describe("URL to the next page of results, if any.").nullable().optional(),
29
+ results: z.array(TextitListUsers_UserSchema).describe("List of user objects."),
30
+ previous: z.string().describe("URL to the previous page of results, if any.").nullable().optional()
31
+ }).describe("Paginated list of users in the workspace.")
32
+ });
33
+ //#endregion
34
+ export { textitListUsers };
35
+
36
+ //# sourceMappingURL=list-users.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-users.mjs","names":[],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TextitListUsersInput: z.ZodTypeAny = z.object({\n uuid: z.string().describe(\"Filter users by their 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 users with optional filtering.\");\nconst TextitListUsers_TeamSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the team.\").nullable().optional(),\n uuid: z.string().describe(\"UUID of the team.\").nullable().optional(),\n}).describe(\"Team information for a user.\");\nconst TextitListUsers_UserSchema: z.ZodTypeAny = z.object({\n role: z.string().describe(\"Role of the user in the workspace.\"),\n team: TextitListUsers_TeamSchema.nullable().optional(),\n uuid: z.string().describe(\"Unique identifier of the user.\"),\n email: z.string().describe(\"Email address of the user.\"),\n avatar: z.string().describe(\"Avatar URL of the user, if available.\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the user.\"),\n created_on: z.string().describe(\"Timestamp when the user was created (ISO 8601).\"),\n first_name: z.string().describe(\"First name of the user.\"),\n}).describe(\"Representation of a TextIt user.\");\nexport const TextitListUsersOutput: z.ZodTypeAny = z.object({\n next: z.string().describe(\"URL to the next page of results, if any.\").nullable().optional(),\n results: z.array(TextitListUsers_UserSchema).describe(\"List of user objects.\"),\n previous: z.string().describe(\"URL to the previous page of results, if any.\").nullable().optional(),\n}).describe(\"Paginated list of users in the workspace.\");\n\nexport const textitListUsers = action(\"TEXTIT_LIST_USERS\", {\n slug: \"textit-list-users\",\n name: \"List Users\",\n description: \"Tool to retrieve a list of user logins in your workspace with their roles and teams. Use when you need to fetch users with optional UUID filter. Results are ordered by newest created first.\",\n input: TextitListUsersInput,\n output: TextitListUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAqC,EAAE,OAAO;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,6BAA2C,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrE,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAC1C,MAAM,6BAA2C,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC9D,MAAM,2BAA2B,SAAS,CAAC,CAAC,SAAS;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACvD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CACvD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CACjF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;AAC3D,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAO9C,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXiD,EAAE,OAAO;EAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,MAAM,0BAA0B,CAAC,CAAC,SAAS,uBAAuB;EAC7E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
@@ -0,0 +1,42 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/send-broadcast.ts
4
+ const TextitSendBroadcastInput = zod.z.object({
5
+ text: zod.z.object({}).describe("The message text translations, with ISO-639-3 language codes as keys."),
6
+ urns: zod.z.array(zod.z.string()).describe("The URNs (Uniform Resource Names) of contacts to send the broadcast to. Each URN should be in full E.164 format. Maximum of 100 URNs.").optional(),
7
+ groups: zod.z.array(zod.z.string()).describe("The UUIDs of contact groups to send the broadcast to. Maximum of 100 groups.").optional(),
8
+ contacts: zod.z.array(zod.z.string()).describe("The UUIDs of contacts to send the broadcast to. Maximum of 100 contacts.").optional(),
9
+ attachments: zod.z.object({}).describe("The attachment translations, with ISO-639-3 language codes as keys. Each list contains media object UUIDs.").optional(),
10
+ base_language: zod.z.string().describe("The default translation language, specified as an ISO-639-3 language code.").optional(),
11
+ quick_replies: zod.z.object({}).describe("The quick replies translations, with ISO-639-3 language codes as keys. Each list contains quick reply objects with 'text' and optional 'extra'.").optional()
12
+ }).describe("Request model for sending a new broadcast message in TextIt.");
13
+ const TextitSendBroadcast_GroupInfoSchema = zod.z.object({
14
+ name: zod.z.string().describe("Name of the contact group."),
15
+ uuid: zod.z.string().describe("UUID of the group.")
16
+ }).describe("Model for group information in broadcast response.");
17
+ const TextitSendBroadcast_ContactInfoSchema = zod.z.object({
18
+ name: zod.z.string().describe("Display name of the contact.").nullable().optional(),
19
+ uuid: zod.z.string().describe("UUID of the contact.")
20
+ }).describe("Model for contact information in broadcast response.");
21
+ const TextitSendBroadcastOutput = zod.z.object({
22
+ id: zod.z.number().int().describe("The ID of the broadcast."),
23
+ text: zod.z.object({}).describe("The message text translations, with ISO-639-3 language codes as keys."),
24
+ urns: zod.z.array(zod.z.string()).describe("The URNs that received the broadcast."),
25
+ groups: zod.z.array(TextitSendBroadcast_GroupInfoSchema).describe("The groups that received the broadcast."),
26
+ contacts: zod.z.array(TextitSendBroadcast_ContactInfoSchema).describe("The contacts that received the broadcast."),
27
+ created_on: zod.z.string().describe("The timestamp when the broadcast was created, in UTC format (YYYY-MM-DDThh:mm:ss.ssssssZ)."),
28
+ attachments: zod.z.object({}).describe("The attachment translations, with ISO-639-3 language codes as keys. Each list contains media object UUIDs.").nullable().optional(),
29
+ base_language: zod.z.string().describe("The default translation language, specified as an ISO-639-3 language code.").nullable().optional(),
30
+ quick_replies: zod.z.object({}).describe("The quick replies translations, with ISO-639-3 language codes as keys. Each list contains quick reply objects with 'text' and optional 'extra'.").nullable().optional()
31
+ }).describe("Response model for a sent broadcast message in TextIt.");
32
+ const textitSendBroadcast = require_action.action("TEXTIT_SEND_BROADCAST", {
33
+ slug: "textit-send-broadcast",
34
+ name: "Send Broadcast",
35
+ description: "Tool to send a new broadcast message. Use after composing message translations and selecting recipients (urns, contacts, or groups).",
36
+ input: TextitSendBroadcastInput,
37
+ output: TextitSendBroadcastOutput
38
+ });
39
+ //#endregion
40
+ exports.textitSendBroadcast = textitSendBroadcast;
41
+
42
+ //# sourceMappingURL=send-broadcast.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"send-broadcast.cjs","names":["z","action"],"sources":["../../src/actions/send-broadcast.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TextitSendBroadcastInput: z.ZodTypeAny = z.object({\n text: z.object({}).describe(\"The message text translations, with ISO-639-3 language codes as keys.\"),\n urns: z.array(z.string()).describe(\"The URNs (Uniform Resource Names) of contacts to send the broadcast to. Each URN should be in full E.164 format. Maximum of 100 URNs.\").optional(),\n groups: z.array(z.string()).describe(\"The UUIDs of contact groups to send the broadcast to. Maximum of 100 groups.\").optional(),\n contacts: z.array(z.string()).describe(\"The UUIDs of contacts to send the broadcast to. Maximum of 100 contacts.\").optional(),\n attachments: z.object({}).describe(\"The attachment translations, with ISO-639-3 language codes as keys. Each list contains media object UUIDs.\").optional(),\n base_language: z.string().describe(\"The default translation language, specified as an ISO-639-3 language code.\").optional(),\n quick_replies: z.object({}).describe(\"The quick replies translations, with ISO-639-3 language codes as keys. Each list contains quick reply objects with 'text' and optional 'extra'.\").optional(),\n}).describe(\"Request model for sending a new broadcast message in TextIt.\");\nconst TextitSendBroadcast_GroupInfoSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the contact group.\"),\n uuid: z.string().describe(\"UUID of the group.\"),\n}).describe(\"Model for group information in broadcast response.\");\nconst TextitSendBroadcast_ContactInfoSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Display name of the contact.\").nullable().optional(),\n uuid: z.string().describe(\"UUID of the contact.\"),\n}).describe(\"Model for contact information in broadcast response.\");\nexport const TextitSendBroadcastOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The ID of the broadcast.\"),\n text: z.object({}).describe(\"The message text translations, with ISO-639-3 language codes as keys.\"),\n urns: z.array(z.string()).describe(\"The URNs that received the broadcast.\"),\n groups: z.array(TextitSendBroadcast_GroupInfoSchema).describe(\"The groups that received the broadcast.\"),\n contacts: z.array(TextitSendBroadcast_ContactInfoSchema).describe(\"The contacts that received the broadcast.\"),\n created_on: z.string().describe(\"The timestamp when the broadcast was created, in UTC format (YYYY-MM-DDThh:mm:ss.ssssssZ).\"),\n attachments: z.object({}).describe(\"The attachment translations, with ISO-639-3 language codes as keys. Each list contains media object UUIDs.\").nullable().optional(),\n base_language: z.string().describe(\"The default translation language, specified as an ISO-639-3 language code.\").nullable().optional(),\n quick_replies: z.object({}).describe(\"The quick replies translations, with ISO-639-3 language codes as keys. Each list contains quick reply objects with 'text' and optional 'extra'.\").nullable().optional(),\n}).describe(\"Response model for a sent broadcast message in TextIt.\");\n\nexport const textitSendBroadcast = action(\"TEXTIT_SEND_BROADCAST\", {\n slug: \"textit-send-broadcast\",\n name: \"Send Broadcast\",\n description: \"Tool to send a new broadcast message. Use after composing message translations and selecting recipients (urns, contacts, or groups).\",\n input: TextitSendBroadcastInput,\n output: TextitSendBroadcastOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uEAAuE;CACnG,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS;CACrL,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CAC9H,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAC5H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CAC1J,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAC1H,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;AACnM,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,sCAAoDA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;AAChD,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,wCAAsDA,IAAAA,EAAE,OAAO;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;AAClD,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uEAAuE;CACnG,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC;CAC1E,QAAQA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,yCAAyC;CACvG,UAAUA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,2CAA2C;CAC7G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F;CAC5H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrK,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9M,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAEpE,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/send-broadcast.d.ts
4
+ declare const TextitSendBroadcastInput: z.ZodTypeAny;
5
+ declare const TextitSendBroadcastOutput: z.ZodTypeAny;
6
+ declare const textitSendBroadcast: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { textitSendBroadcast };
9
+ //# sourceMappingURL=send-broadcast.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"send-broadcast.d.cts","names":[],"sources":["../../src/actions/send-broadcast.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAQkC;AAAA,cAS9D,yBAAA,EAA2B,CAAA,CAAE,UAU2B;AAAA,cAExD,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/send-broadcast.d.ts
4
+ declare const TextitSendBroadcastInput: z.ZodTypeAny;
5
+ declare const TextitSendBroadcastOutput: z.ZodTypeAny;
6
+ declare const textitSendBroadcast: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { textitSendBroadcast };
9
+ //# sourceMappingURL=send-broadcast.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"send-broadcast.d.mts","names":[],"sources":["../../src/actions/send-broadcast.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAQkC;AAAA,cAS9D,yBAAA,EAA2B,CAAA,CAAE,UAU2B;AAAA,cAExD,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,41 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/send-broadcast.ts
4
+ const TextitSendBroadcastInput = z.object({
5
+ text: z.object({}).describe("The message text translations, with ISO-639-3 language codes as keys."),
6
+ urns: z.array(z.string()).describe("The URNs (Uniform Resource Names) of contacts to send the broadcast to. Each URN should be in full E.164 format. Maximum of 100 URNs.").optional(),
7
+ groups: z.array(z.string()).describe("The UUIDs of contact groups to send the broadcast to. Maximum of 100 groups.").optional(),
8
+ contacts: z.array(z.string()).describe("The UUIDs of contacts to send the broadcast to. Maximum of 100 contacts.").optional(),
9
+ attachments: z.object({}).describe("The attachment translations, with ISO-639-3 language codes as keys. Each list contains media object UUIDs.").optional(),
10
+ base_language: z.string().describe("The default translation language, specified as an ISO-639-3 language code.").optional(),
11
+ quick_replies: z.object({}).describe("The quick replies translations, with ISO-639-3 language codes as keys. Each list contains quick reply objects with 'text' and optional 'extra'.").optional()
12
+ }).describe("Request model for sending a new broadcast message in TextIt.");
13
+ const TextitSendBroadcast_GroupInfoSchema = z.object({
14
+ name: z.string().describe("Name of the contact group."),
15
+ uuid: z.string().describe("UUID of the group.")
16
+ }).describe("Model for group information in broadcast response.");
17
+ const TextitSendBroadcast_ContactInfoSchema = z.object({
18
+ name: z.string().describe("Display name of the contact.").nullable().optional(),
19
+ uuid: z.string().describe("UUID of the contact.")
20
+ }).describe("Model for contact information in broadcast response.");
21
+ const textitSendBroadcast = action("TEXTIT_SEND_BROADCAST", {
22
+ slug: "textit-send-broadcast",
23
+ name: "Send Broadcast",
24
+ description: "Tool to send a new broadcast message. Use after composing message translations and selecting recipients (urns, contacts, or groups).",
25
+ input: TextitSendBroadcastInput,
26
+ output: z.object({
27
+ id: z.number().int().describe("The ID of the broadcast."),
28
+ text: z.object({}).describe("The message text translations, with ISO-639-3 language codes as keys."),
29
+ urns: z.array(z.string()).describe("The URNs that received the broadcast."),
30
+ groups: z.array(TextitSendBroadcast_GroupInfoSchema).describe("The groups that received the broadcast."),
31
+ contacts: z.array(TextitSendBroadcast_ContactInfoSchema).describe("The contacts that received the broadcast."),
32
+ created_on: z.string().describe("The timestamp when the broadcast was created, in UTC format (YYYY-MM-DDThh:mm:ss.ssssssZ)."),
33
+ attachments: z.object({}).describe("The attachment translations, with ISO-639-3 language codes as keys. Each list contains media object UUIDs.").nullable().optional(),
34
+ base_language: z.string().describe("The default translation language, specified as an ISO-639-3 language code.").nullable().optional(),
35
+ quick_replies: z.object({}).describe("The quick replies translations, with ISO-639-3 language codes as keys. Each list contains quick reply objects with 'text' and optional 'extra'.").nullable().optional()
36
+ }).describe("Response model for a sent broadcast message in TextIt.")
37
+ });
38
+ //#endregion
39
+ export { textitSendBroadcast };
40
+
41
+ //# sourceMappingURL=send-broadcast.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"send-broadcast.mjs","names":[],"sources":["../../src/actions/send-broadcast.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TextitSendBroadcastInput: z.ZodTypeAny = z.object({\n text: z.object({}).describe(\"The message text translations, with ISO-639-3 language codes as keys.\"),\n urns: z.array(z.string()).describe(\"The URNs (Uniform Resource Names) of contacts to send the broadcast to. Each URN should be in full E.164 format. Maximum of 100 URNs.\").optional(),\n groups: z.array(z.string()).describe(\"The UUIDs of contact groups to send the broadcast to. Maximum of 100 groups.\").optional(),\n contacts: z.array(z.string()).describe(\"The UUIDs of contacts to send the broadcast to. Maximum of 100 contacts.\").optional(),\n attachments: z.object({}).describe(\"The attachment translations, with ISO-639-3 language codes as keys. Each list contains media object UUIDs.\").optional(),\n base_language: z.string().describe(\"The default translation language, specified as an ISO-639-3 language code.\").optional(),\n quick_replies: z.object({}).describe(\"The quick replies translations, with ISO-639-3 language codes as keys. Each list contains quick reply objects with 'text' and optional 'extra'.\").optional(),\n}).describe(\"Request model for sending a new broadcast message in TextIt.\");\nconst TextitSendBroadcast_GroupInfoSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the contact group.\"),\n uuid: z.string().describe(\"UUID of the group.\"),\n}).describe(\"Model for group information in broadcast response.\");\nconst TextitSendBroadcast_ContactInfoSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Display name of the contact.\").nullable().optional(),\n uuid: z.string().describe(\"UUID of the contact.\"),\n}).describe(\"Model for contact information in broadcast response.\");\nexport const TextitSendBroadcastOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The ID of the broadcast.\"),\n text: z.object({}).describe(\"The message text translations, with ISO-639-3 language codes as keys.\"),\n urns: z.array(z.string()).describe(\"The URNs that received the broadcast.\"),\n groups: z.array(TextitSendBroadcast_GroupInfoSchema).describe(\"The groups that received the broadcast.\"),\n contacts: z.array(TextitSendBroadcast_ContactInfoSchema).describe(\"The contacts that received the broadcast.\"),\n created_on: z.string().describe(\"The timestamp when the broadcast was created, in UTC format (YYYY-MM-DDThh:mm:ss.ssssssZ).\"),\n attachments: z.object({}).describe(\"The attachment translations, with ISO-639-3 language codes as keys. Each list contains media object UUIDs.\").nullable().optional(),\n base_language: z.string().describe(\"The default translation language, specified as an ISO-639-3 language code.\").nullable().optional(),\n quick_replies: z.object({}).describe(\"The quick replies translations, with ISO-639-3 language codes as keys. Each list contains quick reply objects with 'text' and optional 'extra'.\").nullable().optional(),\n}).describe(\"Response model for a sent broadcast message in TextIt.\");\n\nexport const textitSendBroadcast = action(\"TEXTIT_SEND_BROADCAST\", {\n slug: \"textit-send-broadcast\",\n name: \"Send Broadcast\",\n description: \"Tool to send a new broadcast message. Use after composing message translations and selecting recipients (urns, contacts, or groups).\",\n input: TextitSendBroadcastInput,\n output: TextitSendBroadcastOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uEAAuE;CACnG,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS;CACrL,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CAC9H,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAC5H,aAAa,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CAC1J,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAC1H,eAAe,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;AACnM,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,sCAAoD,EAAE,OAAO;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;AAChD,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,wCAAsD,EAAE,OAAO;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;AAClD,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAalE,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAjBqD,EAAE,OAAO;EAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uEAAuE;EACnG,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC;EAC1E,QAAQ,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,yCAAyC;EACvG,UAAU,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,2CAA2C;EAC7G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F;EAC5H,aAAa,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrK,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,eAAe,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9M,CAAC,CAAC,CAAC,SAAS,wDAOF;AACV,CAAC"}
@@ -0,0 +1,40 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/update-contact.ts
4
+ const TextitUpdateContactInput = zod.z.object({
5
+ urn: zod.z.string().describe("A URN identifying the contact to update (e.g., tel:+250788123123).").optional(),
6
+ name: zod.z.string().describe("The contact's display name.").optional(),
7
+ urns: zod.z.array(zod.z.string()).describe("List of URNs to associate with the contact (up to 100 items).").optional(),
8
+ uuid: zod.z.string().describe("The UUID of the contact to update.").optional(),
9
+ fields: zod.z.object({}).describe("Key-value pairs for custom contact fields (up to 100 items).").optional(),
10
+ groups: zod.z.array(zod.z.string()).describe("List of group UUIDs to assign the contact to (up to 100 items).").optional(),
11
+ language: zod.z.string().describe("Preferred language of the contact (3-letter ISO code).").optional()
12
+ }).describe("Request model for updating an existing contact in TextIt.");
13
+ const TextitUpdateContact_GroupSchema = zod.z.object({
14
+ name: zod.z.string().describe("Name of the group."),
15
+ uuid: zod.z.string().describe("UUID of the group.")
16
+ });
17
+ const TextitUpdateContactOutput = zod.z.object({
18
+ flow: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Flow the contact is currently in, if any.").nullable().optional(),
19
+ name: zod.z.string().describe("Display name of the contact.").nullable().optional(),
20
+ urns: zod.z.array(zod.z.string()).describe("URNs associated with the contact."),
21
+ uuid: zod.z.string().describe("UUID of the contact."),
22
+ fields: zod.z.object({}).describe("Custom data fields for the contact.").nullable().optional(),
23
+ groups: zod.z.array(TextitUpdateContact_GroupSchema).describe("Groups the contact belongs to.").nullable().optional(),
24
+ status: zod.z.string().describe("Status of the contact, one of 'active', 'blocked', 'stopped', or 'archived'."),
25
+ language: zod.z.string().describe("Preferred language of the contact (3-letter ISO code).").nullable().optional(),
26
+ created_on: zod.z.string().describe("Timestamp when the contact was created."),
27
+ modified_on: zod.z.string().describe("Timestamp when the contact was last modified."),
28
+ last_seen_on: zod.z.string().describe("Timestamp when the contact last communicated.").nullable().optional()
29
+ }).describe("Response model for an updated contact in TextIt.");
30
+ const textitUpdateContact = require_action.action("TEXTIT_UPDATE_CONTACT", {
31
+ slug: "textit-update-contact",
32
+ name: "Update Contact",
33
+ description: "Tool to update an existing contact. Use after identifying the contact's UUID or URN and preparing details.",
34
+ input: TextitUpdateContactInput,
35
+ output: TextitUpdateContactOutput
36
+ });
37
+ //#endregion
38
+ exports.textitUpdateContact = textitUpdateContact;
39
+
40
+ //# sourceMappingURL=update-contact.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-contact.cjs","names":["z","action"],"sources":["../../src/actions/update-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TextitUpdateContactInput: z.ZodTypeAny = z.object({\n urn: z.string().describe(\"A URN identifying the contact to update (e.g., tel:+250788123123).\").optional(),\n name: z.string().describe(\"The contact's display name.\").optional(),\n urns: z.array(z.string()).describe(\"List of URNs to associate with the contact (up to 100 items).\").optional(),\n uuid: z.string().describe(\"The UUID of the contact to update.\").optional(),\n fields: z.object({}).describe(\"Key-value pairs for custom contact fields (up to 100 items).\").optional(),\n groups: z.array(z.string()).describe(\"List of group UUIDs to assign the contact to (up to 100 items).\").optional(),\n language: z.string().describe(\"Preferred language of the contact (3-letter ISO code).\").optional(),\n}).describe(\"Request model for updating an existing contact in TextIt.\");\nconst TextitUpdateContact_GroupSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the group.\"),\n uuid: z.string().describe(\"UUID of the group.\"),\n});\nexport const TextitUpdateContactOutput: z.ZodTypeAny = z.object({\n flow: z.record(z.string(), z.unknown()).describe(\"Flow the contact is currently in, if any.\").nullable().optional(),\n name: z.string().describe(\"Display name of the contact.\").nullable().optional(),\n urns: z.array(z.string()).describe(\"URNs associated with the contact.\"),\n uuid: z.string().describe(\"UUID of the contact.\"),\n fields: z.object({}).describe(\"Custom data fields for the contact.\").nullable().optional(),\n groups: z.array(TextitUpdateContact_GroupSchema).describe(\"Groups the contact belongs to.\").nullable().optional(),\n status: z.string().describe(\"Status of the contact, one of 'active', 'blocked', 'stopped', or 'archived'.\"),\n language: z.string().describe(\"Preferred language of the contact (3-letter ISO code).\").nullable().optional(),\n created_on: z.string().describe(\"Timestamp when the contact was created.\"),\n modified_on: z.string().describe(\"Timestamp when the contact was last modified.\"),\n last_seen_on: z.string().describe(\"Timestamp when the contact last communicated.\").nullable().optional(),\n}).describe(\"Response model for an updated contact in TextIt.\");\n\nexport const textitUpdateContact = action(\"TEXTIT_UPDATE_CONTACT\", {\n slug: \"textit-update-contact\",\n name: \"Update Contact\",\n description: \"Tool to update an existing contact. Use after identifying the contact's UUID or URN and preparing details.\",\n input: TextitUpdateContactInput,\n output: TextitUpdateContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CACxG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC7G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACvG,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACjH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,kCAAgDA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;AAChD,CAAC;AACD,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mCAAmC;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CAChD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,QAAQA,IAAAA,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;CAC1G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACzE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAChF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,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/update-contact.d.ts
4
+ declare const TextitUpdateContactInput: z.ZodTypeAny;
5
+ declare const TextitUpdateContactOutput: z.ZodTypeAny;
6
+ declare const textitUpdateContact: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { textitUpdateContact };
9
+ //# sourceMappingURL=update-contact.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-contact.d.cts","names":[],"sources":["../../src/actions/update-contact.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAQ+B;AAAA,cAK3D,yBAAA,EAA2B,CAAA,CAAE,UAYqB;AAAA,cAElD,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/update-contact.d.ts
4
+ declare const TextitUpdateContactInput: z.ZodTypeAny;
5
+ declare const TextitUpdateContactOutput: z.ZodTypeAny;
6
+ declare const textitUpdateContact: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { textitUpdateContact };
9
+ //# sourceMappingURL=update-contact.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-contact.d.mts","names":[],"sources":["../../src/actions/update-contact.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAQ+B;AAAA,cAK3D,yBAAA,EAA2B,CAAA,CAAE,UAYqB;AAAA,cAElD,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,39 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/update-contact.ts
4
+ const TextitUpdateContactInput = z.object({
5
+ urn: z.string().describe("A URN identifying the contact to update (e.g., tel:+250788123123).").optional(),
6
+ name: z.string().describe("The contact's display name.").optional(),
7
+ urns: z.array(z.string()).describe("List of URNs to associate with the contact (up to 100 items).").optional(),
8
+ uuid: z.string().describe("The UUID of the contact to update.").optional(),
9
+ fields: z.object({}).describe("Key-value pairs for custom contact fields (up to 100 items).").optional(),
10
+ groups: z.array(z.string()).describe("List of group UUIDs to assign the contact to (up to 100 items).").optional(),
11
+ language: z.string().describe("Preferred language of the contact (3-letter ISO code).").optional()
12
+ }).describe("Request model for updating an existing contact in TextIt.");
13
+ const TextitUpdateContact_GroupSchema = z.object({
14
+ name: z.string().describe("Name of the group."),
15
+ uuid: z.string().describe("UUID of the group.")
16
+ });
17
+ const textitUpdateContact = action("TEXTIT_UPDATE_CONTACT", {
18
+ slug: "textit-update-contact",
19
+ name: "Update Contact",
20
+ description: "Tool to update an existing contact. Use after identifying the contact's UUID or URN and preparing details.",
21
+ input: TextitUpdateContactInput,
22
+ output: z.object({
23
+ flow: z.record(z.string(), z.unknown()).describe("Flow the contact is currently in, if any.").nullable().optional(),
24
+ name: z.string().describe("Display name of the contact.").nullable().optional(),
25
+ urns: z.array(z.string()).describe("URNs associated with the contact."),
26
+ uuid: z.string().describe("UUID of the contact."),
27
+ fields: z.object({}).describe("Custom data fields for the contact.").nullable().optional(),
28
+ groups: z.array(TextitUpdateContact_GroupSchema).describe("Groups the contact belongs to.").nullable().optional(),
29
+ status: z.string().describe("Status of the contact, one of 'active', 'blocked', 'stopped', or 'archived'."),
30
+ language: z.string().describe("Preferred language of the contact (3-letter ISO code).").nullable().optional(),
31
+ created_on: z.string().describe("Timestamp when the contact was created."),
32
+ modified_on: z.string().describe("Timestamp when the contact was last modified."),
33
+ last_seen_on: z.string().describe("Timestamp when the contact last communicated.").nullable().optional()
34
+ }).describe("Response model for an updated contact in TextIt.")
35
+ });
36
+ //#endregion
37
+ export { textitUpdateContact };
38
+
39
+ //# sourceMappingURL=update-contact.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-contact.mjs","names":[],"sources":["../../src/actions/update-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TextitUpdateContactInput: z.ZodTypeAny = z.object({\n urn: z.string().describe(\"A URN identifying the contact to update (e.g., tel:+250788123123).\").optional(),\n name: z.string().describe(\"The contact's display name.\").optional(),\n urns: z.array(z.string()).describe(\"List of URNs to associate with the contact (up to 100 items).\").optional(),\n uuid: z.string().describe(\"The UUID of the contact to update.\").optional(),\n fields: z.object({}).describe(\"Key-value pairs for custom contact fields (up to 100 items).\").optional(),\n groups: z.array(z.string()).describe(\"List of group UUIDs to assign the contact to (up to 100 items).\").optional(),\n language: z.string().describe(\"Preferred language of the contact (3-letter ISO code).\").optional(),\n}).describe(\"Request model for updating an existing contact in TextIt.\");\nconst TextitUpdateContact_GroupSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the group.\"),\n uuid: z.string().describe(\"UUID of the group.\"),\n});\nexport const TextitUpdateContactOutput: z.ZodTypeAny = z.object({\n flow: z.record(z.string(), z.unknown()).describe(\"Flow the contact is currently in, if any.\").nullable().optional(),\n name: z.string().describe(\"Display name of the contact.\").nullable().optional(),\n urns: z.array(z.string()).describe(\"URNs associated with the contact.\"),\n uuid: z.string().describe(\"UUID of the contact.\"),\n fields: z.object({}).describe(\"Custom data fields for the contact.\").nullable().optional(),\n groups: z.array(TextitUpdateContact_GroupSchema).describe(\"Groups the contact belongs to.\").nullable().optional(),\n status: z.string().describe(\"Status of the contact, one of 'active', 'blocked', 'stopped', or 'archived'.\"),\n language: z.string().describe(\"Preferred language of the contact (3-letter ISO code).\").nullable().optional(),\n created_on: z.string().describe(\"Timestamp when the contact was created.\"),\n modified_on: z.string().describe(\"Timestamp when the contact was last modified.\"),\n last_seen_on: z.string().describe(\"Timestamp when the contact last communicated.\").nullable().optional(),\n}).describe(\"Response model for an updated contact in TextIt.\");\n\nexport const textitUpdateContact = action(\"TEXTIT_UPDATE_CONTACT\", {\n slug: \"textit-update-contact\",\n name: \"Update Contact\",\n description: \"Tool to update an existing contact. Use after identifying the contact's UUID or URN and preparing details.\",\n input: TextitUpdateContactInput,\n output: TextitUpdateContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO;CAC7D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CACxG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC7G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACvG,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACjH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,kCAAgD,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;CAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;AAChD,CAAC;AAeD,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAnBqD,EAAE,OAAO;EAC9D,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mCAAmC;EACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;EAChD,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,QAAQ,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;EAC1G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;EACzE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EAChF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
package/dist/app.cjs ADDED
@@ -0,0 +1,9 @@
1
+ //#region src/app.ts
2
+ const textit = (0, require("@keystrokehq/keystroke/app").defineApp)({
3
+ slug: "textit",
4
+ auth: "keystroke"
5
+ });
6
+ //#endregion
7
+ exports.textit = textit;
8
+
9
+ //# sourceMappingURL=app.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const textit = defineApp({\n slug: \"textit\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,UAAA,uCAAA,CAAA,CAAA,UAAA,CAAmB;CAC9B,MAAM;CACN,MAAM;AACR,CAAC"}
package/dist/app.d.cts ADDED
@@ -0,0 +1,5 @@
1
+ //#region src/app.d.ts
2
+ declare const textit: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
3
+ //#endregion
4
+ export { textit };
5
+ //# sourceMappingURL=app.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,MAAA,6BAAM,GAAA,+BAAA,UAAA"}
package/dist/app.d.mts ADDED
@@ -0,0 +1,5 @@
1
+ //#region src/app.d.ts
2
+ declare const textit: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
3
+ //#endregion
4
+ export { textit };
5
+ //# sourceMappingURL=app.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,MAAA,6BAAM,GAAA,+BAAA,UAAA"}
package/dist/app.mjs ADDED
@@ -0,0 +1,10 @@
1
+ import { defineApp } from "@keystrokehq/keystroke/app";
2
+ //#region src/app.ts
3
+ const textit = defineApp({
4
+ slug: "textit",
5
+ auth: "keystroke"
6
+ });
7
+ //#endregion
8
+ export { textit };
9
+
10
+ //# sourceMappingURL=app.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const textit = defineApp({\n slug: \"textit\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,SAAS,UAAU;CAC9B,MAAM;CACN,MAAM;AACR,CAAC"}
@@ -0,0 +1,15 @@
1
+ //#region src/catalog.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ const textitCatalog = {
4
+ "slug": "textit",
5
+ "name": "Textit",
6
+ "description": "TextIt is a platform that enables users to build scalable, interactive chatbots across various channels without writing code.",
7
+ "category": "AI Chatbots",
8
+ "logo": "https://logos.composio.dev/api/textit",
9
+ "authKind": "keystroke",
10
+ "oauthScopes": []
11
+ };
12
+ //#endregion
13
+ exports.textitCatalog = textitCatalog;
14
+
15
+ //# sourceMappingURL=catalog.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const textitCatalog = {\n \"slug\": \"textit\",\n \"name\": \"Textit\",\n \"description\": \"TextIt is a platform that enables users to build scalable, interactive chatbots across various channels without writing code.\",\n \"category\": \"AI Chatbots\",\n \"logo\": \"https://logos.composio.dev/api/textit\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,gBAAgB;CAC3B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
@@ -0,0 +1,14 @@
1
+ //#region src/catalog.d.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ declare const textitCatalog: {
4
+ readonly slug: "textit";
5
+ readonly name: "Textit";
6
+ readonly description: "TextIt is a platform that enables users to build scalable, interactive chatbots across various channels without writing code.";
7
+ readonly category: "AI Chatbots";
8
+ readonly logo: "https://logos.composio.dev/api/textit";
9
+ readonly authKind: "keystroke";
10
+ readonly oauthScopes: readonly [];
11
+ };
12
+ //#endregion
13
+ export { textitCatalog };
14
+ //# sourceMappingURL=catalog.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.d.cts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,aAAA;EAAA"}
@@ -0,0 +1,14 @@
1
+ //#region src/catalog.d.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ declare const textitCatalog: {
4
+ readonly slug: "textit";
5
+ readonly name: "Textit";
6
+ readonly description: "TextIt is a platform that enables users to build scalable, interactive chatbots across various channels without writing code.";
7
+ readonly category: "AI Chatbots";
8
+ readonly logo: "https://logos.composio.dev/api/textit";
9
+ readonly authKind: "keystroke";
10
+ readonly oauthScopes: readonly [];
11
+ };
12
+ //#endregion
13
+ export { textitCatalog };
14
+ //# sourceMappingURL=catalog.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.d.mts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,aAAA;EAAA"}
@@ -0,0 +1,15 @@
1
+ //#region src/catalog.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ const textitCatalog = {
4
+ "slug": "textit",
5
+ "name": "Textit",
6
+ "description": "TextIt is a platform that enables users to build scalable, interactive chatbots across various channels without writing code.",
7
+ "category": "AI Chatbots",
8
+ "logo": "https://logos.composio.dev/api/textit",
9
+ "authKind": "keystroke",
10
+ "oauthScopes": []
11
+ };
12
+ //#endregion
13
+ export { textitCatalog };
14
+
15
+ //# sourceMappingURL=catalog.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const textitCatalog = {\n \"slug\": \"textit\",\n \"name\": \"Textit\",\n \"description\": \"TextIt is a platform that enables users to build scalable, interactive chatbots across various channels without writing code.\",\n \"category\": \"AI Chatbots\",\n \"logo\": \"https://logos.composio.dev/api/textit\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,gBAAgB;CAC3B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}