@keystrokehq/thanks_io 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 (266) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/add-recipient-to-mailing-list.cjs +40 -0
  7. package/dist/actions/add-recipient-to-mailing-list.cjs.map +1 -0
  8. package/dist/actions/add-recipient-to-mailing-list.d.cts +9 -0
  9. package/dist/actions/add-recipient-to-mailing-list.d.cts.map +1 -0
  10. package/dist/actions/add-recipient-to-mailing-list.d.mts +9 -0
  11. package/dist/actions/add-recipient-to-mailing-list.d.mts.map +1 -0
  12. package/dist/actions/add-recipient-to-mailing-list.mjs +37 -0
  13. package/dist/actions/add-recipient-to-mailing-list.mjs.map +1 -0
  14. package/dist/actions/create-mailing-list.cjs +28 -0
  15. package/dist/actions/create-mailing-list.cjs.map +1 -0
  16. package/dist/actions/create-mailing-list.d.cts +9 -0
  17. package/dist/actions/create-mailing-list.d.cts.map +1 -0
  18. package/dist/actions/create-mailing-list.d.mts +9 -0
  19. package/dist/actions/create-mailing-list.d.mts.map +1 -0
  20. package/dist/actions/create-mailing-list.mjs +25 -0
  21. package/dist/actions/create-mailing-list.mjs.map +1 -0
  22. package/dist/actions/delete-mailing-list.cjs +19 -0
  23. package/dist/actions/delete-mailing-list.cjs.map +1 -0
  24. package/dist/actions/delete-mailing-list.d.cts +9 -0
  25. package/dist/actions/delete-mailing-list.d.cts.map +1 -0
  26. package/dist/actions/delete-mailing-list.d.mts +9 -0
  27. package/dist/actions/delete-mailing-list.d.mts.map +1 -0
  28. package/dist/actions/delete-mailing-list.mjs +16 -0
  29. package/dist/actions/delete-mailing-list.mjs.map +1 -0
  30. package/dist/actions/delete-recipient-from-mailing-list.cjs +19 -0
  31. package/dist/actions/delete-recipient-from-mailing-list.cjs.map +1 -0
  32. package/dist/actions/delete-recipient-from-mailing-list.d.cts +9 -0
  33. package/dist/actions/delete-recipient-from-mailing-list.d.cts.map +1 -0
  34. package/dist/actions/delete-recipient-from-mailing-list.d.mts +9 -0
  35. package/dist/actions/delete-recipient-from-mailing-list.d.mts.map +1 -0
  36. package/dist/actions/delete-recipient-from-mailing-list.mjs +16 -0
  37. package/dist/actions/delete-recipient-from-mailing-list.mjs.map +1 -0
  38. package/dist/actions/delete-sub-account.cjs +19 -0
  39. package/dist/actions/delete-sub-account.cjs.map +1 -0
  40. package/dist/actions/delete-sub-account.d.cts +9 -0
  41. package/dist/actions/delete-sub-account.d.cts.map +1 -0
  42. package/dist/actions/delete-sub-account.d.mts +9 -0
  43. package/dist/actions/delete-sub-account.d.mts.map +1 -0
  44. package/dist/actions/delete-sub-account.mjs +16 -0
  45. package/dist/actions/delete-sub-account.mjs.map +1 -0
  46. package/dist/actions/execute-stored-send.cjs +25 -0
  47. package/dist/actions/execute-stored-send.cjs.map +1 -0
  48. package/dist/actions/execute-stored-send.d.cts +9 -0
  49. package/dist/actions/execute-stored-send.d.cts.map +1 -0
  50. package/dist/actions/execute-stored-send.d.mts +9 -0
  51. package/dist/actions/execute-stored-send.d.mts.map +1 -0
  52. package/dist/actions/execute-stored-send.mjs +22 -0
  53. package/dist/actions/execute-stored-send.mjs.map +1 -0
  54. package/dist/actions/index.cjs +59 -0
  55. package/dist/actions/index.d.cts +30 -0
  56. package/dist/actions/index.d.mts +30 -0
  57. package/dist/actions/index.mjs +30 -0
  58. package/dist/actions/list-handwriting-styles.cjs +21 -0
  59. package/dist/actions/list-handwriting-styles.cjs.map +1 -0
  60. package/dist/actions/list-handwriting-styles.d.cts +9 -0
  61. package/dist/actions/list-handwriting-styles.d.cts.map +1 -0
  62. package/dist/actions/list-handwriting-styles.d.mts +9 -0
  63. package/dist/actions/list-handwriting-styles.d.mts.map +1 -0
  64. package/dist/actions/list-handwriting-styles.mjs +20 -0
  65. package/dist/actions/list-handwriting-styles.mjs.map +1 -0
  66. package/dist/actions/list-image-templates.cjs +30 -0
  67. package/dist/actions/list-image-templates.cjs.map +1 -0
  68. package/dist/actions/list-image-templates.d.cts +9 -0
  69. package/dist/actions/list-image-templates.d.cts.map +1 -0
  70. package/dist/actions/list-image-templates.d.mts +9 -0
  71. package/dist/actions/list-image-templates.d.mts.map +1 -0
  72. package/dist/actions/list-image-templates.mjs +29 -0
  73. package/dist/actions/list-image-templates.mjs.map +1 -0
  74. package/dist/actions/list-mailing-lists.cjs +16 -0
  75. package/dist/actions/list-mailing-lists.cjs.map +1 -0
  76. package/dist/actions/list-mailing-lists.d.cts +9 -0
  77. package/dist/actions/list-mailing-lists.d.cts.map +1 -0
  78. package/dist/actions/list-mailing-lists.d.mts +9 -0
  79. package/dist/actions/list-mailing-lists.d.mts.map +1 -0
  80. package/dist/actions/list-mailing-lists.mjs +13 -0
  81. package/dist/actions/list-mailing-lists.mjs.map +1 -0
  82. package/dist/actions/list-message-templates.cjs +26 -0
  83. package/dist/actions/list-message-templates.cjs.map +1 -0
  84. package/dist/actions/list-message-templates.d.cts +9 -0
  85. package/dist/actions/list-message-templates.d.cts.map +1 -0
  86. package/dist/actions/list-message-templates.d.mts +9 -0
  87. package/dist/actions/list-message-templates.d.mts.map +1 -0
  88. package/dist/actions/list-message-templates.mjs +25 -0
  89. package/dist/actions/list-message-templates.mjs.map +1 -0
  90. package/dist/actions/mailing-lists-buy-radius-search.cjs +47 -0
  91. package/dist/actions/mailing-lists-buy-radius-search.cjs.map +1 -0
  92. package/dist/actions/mailing-lists-buy-radius-search.d.cts +9 -0
  93. package/dist/actions/mailing-lists-buy-radius-search.d.cts.map +1 -0
  94. package/dist/actions/mailing-lists-buy-radius-search.d.mts +9 -0
  95. package/dist/actions/mailing-lists-buy-radius-search.d.mts.map +1 -0
  96. package/dist/actions/mailing-lists-buy-radius-search.mjs +44 -0
  97. package/dist/actions/mailing-lists-buy-radius-search.mjs.map +1 -0
  98. package/dist/actions/order-preview-letter.cjs +38 -0
  99. package/dist/actions/order-preview-letter.cjs.map +1 -0
  100. package/dist/actions/order-preview-letter.d.cts +9 -0
  101. package/dist/actions/order-preview-letter.d.cts.map +1 -0
  102. package/dist/actions/order-preview-letter.d.mts +9 -0
  103. package/dist/actions/order-preview-letter.d.mts.map +1 -0
  104. package/dist/actions/order-preview-letter.mjs +35 -0
  105. package/dist/actions/order-preview-letter.mjs.map +1 -0
  106. package/dist/actions/order-preview-notecard.cjs +33 -0
  107. package/dist/actions/order-preview-notecard.cjs.map +1 -0
  108. package/dist/actions/order-preview-notecard.d.cts +9 -0
  109. package/dist/actions/order-preview-notecard.d.cts.map +1 -0
  110. package/dist/actions/order-preview-notecard.d.mts +9 -0
  111. package/dist/actions/order-preview-notecard.d.mts.map +1 -0
  112. package/dist/actions/order-preview-notecard.mjs +32 -0
  113. package/dist/actions/order-preview-notecard.mjs.map +1 -0
  114. package/dist/actions/order-preview-windowless-letter.cjs +32 -0
  115. package/dist/actions/order-preview-windowless-letter.cjs.map +1 -0
  116. package/dist/actions/order-preview-windowless-letter.d.cts +9 -0
  117. package/dist/actions/order-preview-windowless-letter.d.cts.map +1 -0
  118. package/dist/actions/order-preview-windowless-letter.d.mts +9 -0
  119. package/dist/actions/order-preview-windowless-letter.d.mts.map +1 -0
  120. package/dist/actions/order-preview-windowless-letter.mjs +29 -0
  121. package/dist/actions/order-preview-windowless-letter.mjs.map +1 -0
  122. package/dist/actions/orders-list.cjs +61 -0
  123. package/dist/actions/orders-list.cjs.map +1 -0
  124. package/dist/actions/orders-list.d.cts +9 -0
  125. package/dist/actions/orders-list.d.cts.map +1 -0
  126. package/dist/actions/orders-list.d.mts +9 -0
  127. package/dist/actions/orders-list.d.mts.map +1 -0
  128. package/dist/actions/orders-list.mjs +60 -0
  129. package/dist/actions/orders-list.mjs.map +1 -0
  130. package/dist/actions/orders-search-by-address.cjs +72 -0
  131. package/dist/actions/orders-search-by-address.cjs.map +1 -0
  132. package/dist/actions/orders-search-by-address.d.cts +9 -0
  133. package/dist/actions/orders-search-by-address.d.cts.map +1 -0
  134. package/dist/actions/orders-search-by-address.d.mts +9 -0
  135. package/dist/actions/orders-search-by-address.d.mts.map +1 -0
  136. package/dist/actions/orders-search-by-address.mjs +71 -0
  137. package/dist/actions/orders-search-by-address.mjs.map +1 -0
  138. package/dist/actions/recipients-create-multi.cjs +51 -0
  139. package/dist/actions/recipients-create-multi.cjs.map +1 -0
  140. package/dist/actions/recipients-create-multi.d.cts +9 -0
  141. package/dist/actions/recipients-create-multi.d.cts.map +1 -0
  142. package/dist/actions/recipients-create-multi.d.mts +9 -0
  143. package/dist/actions/recipients-create-multi.d.mts.map +1 -0
  144. package/dist/actions/recipients-create-multi.mjs +50 -0
  145. package/dist/actions/recipients-create-multi.mjs.map +1 -0
  146. package/dist/actions/recipients-delete-by-address.cjs +22 -0
  147. package/dist/actions/recipients-delete-by-address.cjs.map +1 -0
  148. package/dist/actions/recipients-delete-by-address.d.cts +9 -0
  149. package/dist/actions/recipients-delete-by-address.d.cts.map +1 -0
  150. package/dist/actions/recipients-delete-by-address.d.mts +9 -0
  151. package/dist/actions/recipients-delete-by-address.d.mts.map +1 -0
  152. package/dist/actions/recipients-delete-by-address.mjs +19 -0
  153. package/dist/actions/recipients-delete-by-address.mjs.map +1 -0
  154. package/dist/actions/recipients-get-details.cjs +33 -0
  155. package/dist/actions/recipients-get-details.cjs.map +1 -0
  156. package/dist/actions/recipients-get-details.d.cts +9 -0
  157. package/dist/actions/recipients-get-details.d.cts.map +1 -0
  158. package/dist/actions/recipients-get-details.d.mts +9 -0
  159. package/dist/actions/recipients-get-details.d.mts.map +1 -0
  160. package/dist/actions/recipients-get-details.mjs +30 -0
  161. package/dist/actions/recipients-get-details.mjs.map +1 -0
  162. package/dist/actions/recipients-search-by-email.cjs +52 -0
  163. package/dist/actions/recipients-search-by-email.cjs.map +1 -0
  164. package/dist/actions/recipients-search-by-email.d.cts +9 -0
  165. package/dist/actions/recipients-search-by-email.d.cts.map +1 -0
  166. package/dist/actions/recipients-search-by-email.d.mts +9 -0
  167. package/dist/actions/recipients-search-by-email.d.mts.map +1 -0
  168. package/dist/actions/recipients-search-by-email.mjs +51 -0
  169. package/dist/actions/recipients-search-by-email.mjs.map +1 -0
  170. package/dist/actions/recipients-update.cjs +49 -0
  171. package/dist/actions/recipients-update.cjs.map +1 -0
  172. package/dist/actions/recipients-update.d.cts +9 -0
  173. package/dist/actions/recipients-update.d.cts.map +1 -0
  174. package/dist/actions/recipients-update.d.mts +9 -0
  175. package/dist/actions/recipients-update.d.mts.map +1 -0
  176. package/dist/actions/recipients-update.mjs +46 -0
  177. package/dist/actions/recipients-update.mjs.map +1 -0
  178. package/dist/actions/send-postcard.cjs +91 -0
  179. package/dist/actions/send-postcard.cjs.map +1 -0
  180. package/dist/actions/send-postcard.d.cts +9 -0
  181. package/dist/actions/send-postcard.d.cts.map +1 -0
  182. package/dist/actions/send-postcard.d.mts +9 -0
  183. package/dist/actions/send-postcard.d.mts.map +1 -0
  184. package/dist/actions/send-postcard.mjs +90 -0
  185. package/dist/actions/send-postcard.mjs.map +1 -0
  186. package/dist/actions/stored-send-notecard.cjs +39 -0
  187. package/dist/actions/stored-send-notecard.cjs.map +1 -0
  188. package/dist/actions/stored-send-notecard.d.cts +9 -0
  189. package/dist/actions/stored-send-notecard.d.cts.map +1 -0
  190. package/dist/actions/stored-send-notecard.d.mts +9 -0
  191. package/dist/actions/stored-send-notecard.d.mts.map +1 -0
  192. package/dist/actions/stored-send-notecard.mjs +36 -0
  193. package/dist/actions/stored-send-notecard.mjs.map +1 -0
  194. package/dist/actions/stored-send-postcard.cjs +44 -0
  195. package/dist/actions/stored-send-postcard.cjs.map +1 -0
  196. package/dist/actions/stored-send-postcard.d.cts +9 -0
  197. package/dist/actions/stored-send-postcard.d.cts.map +1 -0
  198. package/dist/actions/stored-send-postcard.d.mts +9 -0
  199. package/dist/actions/stored-send-postcard.d.mts.map +1 -0
  200. package/dist/actions/stored-send-postcard.mjs +41 -0
  201. package/dist/actions/stored-send-postcard.mjs.map +1 -0
  202. package/dist/actions/stored-send-windowless-letter.cjs +28 -0
  203. package/dist/actions/stored-send-windowless-letter.cjs.map +1 -0
  204. package/dist/actions/stored-send-windowless-letter.d.cts +9 -0
  205. package/dist/actions/stored-send-windowless-letter.d.cts.map +1 -0
  206. package/dist/actions/stored-send-windowless-letter.d.mts +9 -0
  207. package/dist/actions/stored-send-windowless-letter.d.mts.map +1 -0
  208. package/dist/actions/stored-send-windowless-letter.mjs +25 -0
  209. package/dist/actions/stored-send-windowless-letter.mjs.map +1 -0
  210. package/dist/actions/sub-accounts-create.cjs +37 -0
  211. package/dist/actions/sub-accounts-create.cjs.map +1 -0
  212. package/dist/actions/sub-accounts-create.d.cts +9 -0
  213. package/dist/actions/sub-accounts-create.d.cts.map +1 -0
  214. package/dist/actions/sub-accounts-create.d.mts +9 -0
  215. package/dist/actions/sub-accounts-create.d.mts.map +1 -0
  216. package/dist/actions/sub-accounts-create.mjs +34 -0
  217. package/dist/actions/sub-accounts-create.mjs.map +1 -0
  218. package/dist/actions/sub-accounts-list.cjs +29 -0
  219. package/dist/actions/sub-accounts-list.cjs.map +1 -0
  220. package/dist/actions/sub-accounts-list.d.cts +9 -0
  221. package/dist/actions/sub-accounts-list.d.cts.map +1 -0
  222. package/dist/actions/sub-accounts-list.d.mts +9 -0
  223. package/dist/actions/sub-accounts-list.d.mts.map +1 -0
  224. package/dist/actions/sub-accounts-list.mjs +28 -0
  225. package/dist/actions/sub-accounts-list.mjs.map +1 -0
  226. package/dist/actions/sub-accounts-show.cjs +29 -0
  227. package/dist/actions/sub-accounts-show.cjs.map +1 -0
  228. package/dist/actions/sub-accounts-show.d.cts +9 -0
  229. package/dist/actions/sub-accounts-show.d.cts.map +1 -0
  230. package/dist/actions/sub-accounts-show.d.mts +9 -0
  231. package/dist/actions/sub-accounts-show.d.mts.map +1 -0
  232. package/dist/actions/sub-accounts-show.mjs +26 -0
  233. package/dist/actions/sub-accounts-show.mjs.map +1 -0
  234. package/dist/actions/sub-accounts-update.cjs +36 -0
  235. package/dist/actions/sub-accounts-update.cjs.map +1 -0
  236. package/dist/actions/sub-accounts-update.d.cts +9 -0
  237. package/dist/actions/sub-accounts-update.d.cts.map +1 -0
  238. package/dist/actions/sub-accounts-update.d.mts +9 -0
  239. package/dist/actions/sub-accounts-update.d.mts.map +1 -0
  240. package/dist/actions/sub-accounts-update.mjs +33 -0
  241. package/dist/actions/sub-accounts-update.mjs.map +1 -0
  242. package/dist/app.cjs +9 -0
  243. package/dist/app.cjs.map +1 -0
  244. package/dist/app.d.cts +5 -0
  245. package/dist/app.d.cts.map +1 -0
  246. package/dist/app.d.mts +5 -0
  247. package/dist/app.d.mts.map +1 -0
  248. package/dist/app.mjs +10 -0
  249. package/dist/app.mjs.map +1 -0
  250. package/dist/catalog.cjs +15 -0
  251. package/dist/catalog.cjs.map +1 -0
  252. package/dist/catalog.d.cts +14 -0
  253. package/dist/catalog.d.cts.map +1 -0
  254. package/dist/catalog.d.mts +14 -0
  255. package/dist/catalog.d.mts.map +1 -0
  256. package/dist/catalog.mjs +15 -0
  257. package/dist/catalog.mjs.map +1 -0
  258. package/dist/execute.cjs +18 -0
  259. package/dist/execute.cjs.map +1 -0
  260. package/dist/execute.mjs +18 -0
  261. package/dist/execute.mjs.map +1 -0
  262. package/dist/index.cjs +64 -0
  263. package/dist/index.d.cts +32 -0
  264. package/dist/index.d.mts +32 -0
  265. package/dist/index.mjs +33 -0
  266. package/package.json +49 -0
@@ -0,0 +1,34 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const thanksIoSubAccountsCreate = action("THANKS_IO_SUB_ACCOUNTS_CREATE", {
4
+ slug: "thanks_io-sub-accounts-create",
5
+ name: "Create Sub-Account",
6
+ description: "Tool to create a new sub-account. Use when you need to manage separate profiles with distinct return addresses and settings.",
7
+ input: z.object({
8
+ title: z.string().describe("Name of the sub-account"),
9
+ return_city: z.string().describe("City for the return address (optional)").optional(),
10
+ return_name: z.string().describe("Name for the return address (optional)").optional(),
11
+ return_state: z.string().describe("State for the return address (2-letter code, optional)").optional(),
12
+ return_address: z.string().describe("Primary return street address (optional)").optional(),
13
+ return_address2: z.string().describe("Secondary return street address (optional)").optional(),
14
+ return_postal_code: z.string().describe("Postal code for the return address (optional)").optional()
15
+ }).describe("Request model for creating a new sub-account."),
16
+ output: z.object({
17
+ id: z.union([z.number().int(), z.string()]),
18
+ title: z.string().describe("Name of the sub-account"),
19
+ user_id: z.union([z.number().int(), z.string()]).nullable().optional(),
20
+ created_at: z.string().describe("ISO 8601 creation timestamp").nullable().optional(),
21
+ updated_at: z.string().describe("ISO 8601 last update timestamp").nullable().optional(),
22
+ return_city: z.string().describe("City for the return address").nullable().optional(),
23
+ return_name: z.string().describe("Name for the return address").nullable().optional(),
24
+ return_state: z.string().describe("State for the return address").nullable().optional(),
25
+ return_address: z.string().describe("Primary return street address").nullable().optional(),
26
+ return_address2: z.string().describe("Secondary return street address").nullable().optional(),
27
+ default_envelope: z.string().describe("Default envelope for this sub-account").nullable().optional(),
28
+ return_postal_code: z.string().describe("Postal code for the return address").nullable().optional()
29
+ }).describe("Response model for a newly created sub-account.")
30
+ });
31
+ //#endregion
32
+ export { thanksIoSubAccountsCreate };
33
+
34
+ //# sourceMappingURL=sub-accounts-create.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sub-accounts-create.mjs","names":[],"sources":["../../src/actions/sub-accounts-create.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ThanksIoSubAccountsCreateInput: z.ZodTypeAny = z.object({\n title: z.string().describe(\"Name of the sub-account\"),\n return_city: z.string().describe(\"City for the return address (optional)\").optional(),\n return_name: z.string().describe(\"Name for the return address (optional)\").optional(),\n return_state: z.string().describe(\"State for the return address (2-letter code, optional)\").optional(),\n return_address: z.string().describe(\"Primary return street address (optional)\").optional(),\n return_address2: z.string().describe(\"Secondary return street address (optional)\").optional(),\n return_postal_code: z.string().describe(\"Postal code for the return address (optional)\").optional(),\n}).describe(\"Request model for creating a new sub-account.\");\nexport const ThanksIoSubAccountsCreateOutput: z.ZodTypeAny = z.object({\n id: z.union([z.number().int(), z.string()]),\n title: z.string().describe(\"Name of the sub-account\"),\n user_id: z.union([z.number().int(), z.string()]).nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 creation timestamp\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 last update timestamp\").nullable().optional(),\n return_city: z.string().describe(\"City for the return address\").nullable().optional(),\n return_name: z.string().describe(\"Name for the return address\").nullable().optional(),\n return_state: z.string().describe(\"State for the return address\").nullable().optional(),\n return_address: z.string().describe(\"Primary return street address\").nullable().optional(),\n return_address2: z.string().describe(\"Secondary return street address\").nullable().optional(),\n default_envelope: z.string().describe(\"Default envelope for this sub-account\").nullable().optional(),\n return_postal_code: z.string().describe(\"Postal code for the return address\").nullable().optional(),\n}).describe(\"Response model for a newly created sub-account.\");\n\nexport const thanksIoSubAccountsCreate = action(\"THANKS_IO_SUB_ACCOUNTS_CREATE\", {\n slug: \"thanks_io-sub-accounts-create\",\n name: \"Create Sub-Account\",\n description: \"Tool to create a new sub-account. Use when you need to manage separate profiles with distinct return addresses and settings.\",\n input: ThanksIoSubAccountsCreateInput,\n output: ThanksIoSubAccountsCreateOutput,\n});\n"],"mappings":";;AA4BA,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA5B0D,EAAE,OAAO;EACnE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;EACpD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACpF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EACrG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACzF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC5F,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACpG,CAAC,CAAC,CAAC,SAAS,+CAoBH;CACP,QApB2D,EAAE,OAAO;EACpE,IAAI,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC;EAC1C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;EACpD,SAAS,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
@@ -0,0 +1,29 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/sub-accounts-list.ts
4
+ const ThanksIoSubAccountsListInput = zod.z.object({}).describe("Request model for listing sub-accounts. No parameters required.");
5
+ const ThanksIoSubAccountsList_SubAccountSchema = zod.z.object({
6
+ id: zod.z.string().describe("Unique identifier for the sub-account"),
7
+ name: zod.z.string().describe("Name of the sub-account"),
8
+ userId: zod.z.number().int().describe("Owner user ID for this sub-account"),
9
+ createdAt: zod.z.string().describe("Timestamp when the sub-account was created"),
10
+ updatedAt: zod.z.string().describe("Timestamp when the sub-account was last updated"),
11
+ returnCity: zod.z.string().describe("Return city").nullable().optional(),
12
+ returnName: zod.z.string().describe("Return recipient name").nullable().optional(),
13
+ returnAddress: zod.z.string().describe("Return address line 1").nullable().optional(),
14
+ returnAddress2: zod.z.string().describe("Return address line 2").nullable().optional(),
15
+ returnProvince: zod.z.string().describe("Return province/state").nullable().optional(),
16
+ returnPostalCode: zod.z.string().describe("Return postal code").nullable().optional()
17
+ }).describe("A single sub-account resource.");
18
+ const ThanksIoSubAccountsListOutput = zod.z.object({ sub_accounts: zod.z.array(ThanksIoSubAccountsList_SubAccountSchema).describe("All sub-accounts associated with the account") }).describe("Response model containing the list of sub-accounts.");
19
+ const thanksIoSubAccountsList = require_action.action("THANKS_IO_SUB_ACCOUNTS_LIST", {
20
+ slug: "thanks_io-sub-accounts-list",
21
+ name: "List Sub Accounts",
22
+ description: "Tool to list all available sub-accounts. Use when you need to select a sub-account for operations requiring a sub-account context.",
23
+ input: ThanksIoSubAccountsListInput,
24
+ output: ThanksIoSubAccountsListOutput
25
+ });
26
+ //#endregion
27
+ exports.thanksIoSubAccountsList = thanksIoSubAccountsList;
28
+
29
+ //# sourceMappingURL=sub-accounts-list.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sub-accounts-list.cjs","names":["z","action"],"sources":["../../src/actions/sub-accounts-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ThanksIoSubAccountsListInput: z.ZodTypeAny = z.object({}).describe(\"Request model for listing sub-accounts. No parameters required.\");\nconst ThanksIoSubAccountsList_SubAccountSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the sub-account\"),\n name: z.string().describe(\"Name of the sub-account\"),\n userId: z.number().int().describe(\"Owner user ID for this sub-account\"),\n createdAt: z.string().describe(\"Timestamp when the sub-account was created\"),\n updatedAt: z.string().describe(\"Timestamp when the sub-account was last updated\"),\n returnCity: z.string().describe(\"Return city\").nullable().optional(),\n returnName: z.string().describe(\"Return recipient name\").nullable().optional(),\n returnAddress: z.string().describe(\"Return address line 1\").nullable().optional(),\n returnAddress2: z.string().describe(\"Return address line 2\").nullable().optional(),\n returnProvince: z.string().describe(\"Return province/state\").nullable().optional(),\n returnPostalCode: z.string().describe(\"Return postal code\").nullable().optional(),\n}).describe(\"A single sub-account resource.\");\nexport const ThanksIoSubAccountsListOutput: z.ZodTypeAny = z.object({\n sub_accounts: z.array(ThanksIoSubAccountsList_SubAccountSchema).describe(\"All sub-accounts associated with the account\"),\n}).describe(\"Response model containing the list of sub-accounts.\");\n\nexport const thanksIoSubAccountsList = action(\"THANKS_IO_SUB_ACCOUNTS_LIST\", {\n slug: \"thanks_io-sub-accounts-list\",\n name: \"List Sub Accounts\",\n description: \"Tool to list all available sub-accounts. Use when you need to select a sub-account for operations requiring a sub-account context.\",\n input: ThanksIoSubAccountsListInput,\n output: ThanksIoSubAccountsListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iEAAiE;AACjJ,MAAM,2CAAyDA,IAAAA,EAAE,OAAO;CACtE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;CACtE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CAC3E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAChF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAC5C,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,EAClE,cAAcA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,8CAA8C,EACzH,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAEjE,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,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/sub-accounts-list.d.ts
4
+ declare const ThanksIoSubAccountsListInput: z.ZodTypeAny;
5
+ declare const ThanksIoSubAccountsListOutput: z.ZodTypeAny;
6
+ declare const thanksIoSubAccountsList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { thanksIoSubAccountsList };
9
+ //# sourceMappingURL=sub-accounts-list.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sub-accounts-list.d.cts","names":[],"sources":["../../src/actions/sub-accounts-list.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAAqG;AAAA,cAcrI,6BAAA,EAA+B,CAAA,CAAE,UAEoB;AAAA,cAErD,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/sub-accounts-list.d.ts
4
+ declare const ThanksIoSubAccountsListInput: z.ZodTypeAny;
5
+ declare const ThanksIoSubAccountsListOutput: z.ZodTypeAny;
6
+ declare const thanksIoSubAccountsList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { thanksIoSubAccountsList };
9
+ //# sourceMappingURL=sub-accounts-list.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sub-accounts-list.d.mts","names":[],"sources":["../../src/actions/sub-accounts-list.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAAqG;AAAA,cAcrI,6BAAA,EAA+B,CAAA,CAAE,UAEoB;AAAA,cAErD,uBAAA,gCAAuB,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/sub-accounts-list.ts
4
+ const ThanksIoSubAccountsListInput = z.object({}).describe("Request model for listing sub-accounts. No parameters required.");
5
+ const ThanksIoSubAccountsList_SubAccountSchema = z.object({
6
+ id: z.string().describe("Unique identifier for the sub-account"),
7
+ name: z.string().describe("Name of the sub-account"),
8
+ userId: z.number().int().describe("Owner user ID for this sub-account"),
9
+ createdAt: z.string().describe("Timestamp when the sub-account was created"),
10
+ updatedAt: z.string().describe("Timestamp when the sub-account was last updated"),
11
+ returnCity: z.string().describe("Return city").nullable().optional(),
12
+ returnName: z.string().describe("Return recipient name").nullable().optional(),
13
+ returnAddress: z.string().describe("Return address line 1").nullable().optional(),
14
+ returnAddress2: z.string().describe("Return address line 2").nullable().optional(),
15
+ returnProvince: z.string().describe("Return province/state").nullable().optional(),
16
+ returnPostalCode: z.string().describe("Return postal code").nullable().optional()
17
+ }).describe("A single sub-account resource.");
18
+ const thanksIoSubAccountsList = action("THANKS_IO_SUB_ACCOUNTS_LIST", {
19
+ slug: "thanks_io-sub-accounts-list",
20
+ name: "List Sub Accounts",
21
+ description: "Tool to list all available sub-accounts. Use when you need to select a sub-account for operations requiring a sub-account context.",
22
+ input: ThanksIoSubAccountsListInput,
23
+ output: z.object({ sub_accounts: z.array(ThanksIoSubAccountsList_SubAccountSchema).describe("All sub-accounts associated with the account") }).describe("Response model containing the list of sub-accounts.")
24
+ });
25
+ //#endregion
26
+ export { thanksIoSubAccountsList };
27
+
28
+ //# sourceMappingURL=sub-accounts-list.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sub-accounts-list.mjs","names":[],"sources":["../../src/actions/sub-accounts-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ThanksIoSubAccountsListInput: z.ZodTypeAny = z.object({}).describe(\"Request model for listing sub-accounts. No parameters required.\");\nconst ThanksIoSubAccountsList_SubAccountSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the sub-account\"),\n name: z.string().describe(\"Name of the sub-account\"),\n userId: z.number().int().describe(\"Owner user ID for this sub-account\"),\n createdAt: z.string().describe(\"Timestamp when the sub-account was created\"),\n updatedAt: z.string().describe(\"Timestamp when the sub-account was last updated\"),\n returnCity: z.string().describe(\"Return city\").nullable().optional(),\n returnName: z.string().describe(\"Return recipient name\").nullable().optional(),\n returnAddress: z.string().describe(\"Return address line 1\").nullable().optional(),\n returnAddress2: z.string().describe(\"Return address line 2\").nullable().optional(),\n returnProvince: z.string().describe(\"Return province/state\").nullable().optional(),\n returnPostalCode: z.string().describe(\"Return postal code\").nullable().optional(),\n}).describe(\"A single sub-account resource.\");\nexport const ThanksIoSubAccountsListOutput: z.ZodTypeAny = z.object({\n sub_accounts: z.array(ThanksIoSubAccountsList_SubAccountSchema).describe(\"All sub-accounts associated with the account\"),\n}).describe(\"Response model containing the list of sub-accounts.\");\n\nexport const thanksIoSubAccountsList = action(\"THANKS_IO_SUB_ACCOUNTS_LIST\", {\n slug: \"thanks_io-sub-accounts-list\",\n name: \"List Sub Accounts\",\n description: \"Tool to list all available sub-accounts. Use when you need to select a sub-account for operations requiring a sub-account context.\",\n input: ThanksIoSubAccountsListInput,\n output: ThanksIoSubAccountsListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iEAAiE;AACjJ,MAAM,2CAAyD,EAAE,OAAO;CACtE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;CACtE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CAC3E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAChF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAK5C,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyD,EAAE,OAAO,EAClE,cAAc,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,8CAA8C,EACzH,CAAC,CAAC,CAAC,SAAS,qDAOF;AACV,CAAC"}
@@ -0,0 +1,29 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/sub-accounts-show.ts
4
+ const ThanksIoSubAccountsShowInput = zod.z.object({ sub_account_id: zod.z.string().describe("Unique identifier of the sub-account to retrieve") }).describe("Request model for retrieving a sub-account's details by ID.");
5
+ const ThanksIoSubAccountsShowOutput = zod.z.object({
6
+ id: zod.z.union([zod.z.string(), zod.z.number().int()]),
7
+ title: zod.z.string().describe("Name of the sub-account"),
8
+ user_id: zod.z.number().int().describe("Owner user ID for this sub-account"),
9
+ created_at: zod.z.string().describe("Timestamp when the sub-account was created"),
10
+ updated_at: zod.z.string().describe("Timestamp when the sub-account was last updated"),
11
+ return_city: zod.z.string().describe("Default return city").nullable().optional(),
12
+ return_name: zod.z.string().describe("Default return recipient name").nullable().optional(),
13
+ return_state: zod.z.string().describe("Default return province/state").nullable().optional(),
14
+ return_address: zod.z.string().describe("Default return address line 1").nullable().optional(),
15
+ return_address2: zod.z.string().describe("Default return address line 2").nullable().optional(),
16
+ default_envelope: zod.z.string().describe("Default envelope for this sub-account").nullable().optional(),
17
+ return_postal_code: zod.z.string().describe("Default return postal code").nullable().optional()
18
+ }).describe("Response model representing the details of a sub-account.");
19
+ const thanksIoSubAccountsShow = require_action.action("THANKS_IO_SUB_ACCOUNTS_SHOW", {
20
+ slug: "thanks_io-sub-accounts-show",
21
+ name: "Get Sub Account Details",
22
+ description: "Tool to retrieve details for a specific sub-account by ID. Use when you need full configuration of a sub-account before performing sub-account scoped operations.",
23
+ input: ThanksIoSubAccountsShowInput,
24
+ output: ThanksIoSubAccountsShowOutput
25
+ });
26
+ //#endregion
27
+ exports.thanksIoSubAccountsShow = thanksIoSubAccountsShow;
28
+
29
+ //# sourceMappingURL=sub-accounts-show.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sub-accounts-show.cjs","names":["z","action"],"sources":["../../src/actions/sub-accounts-show.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ThanksIoSubAccountsShowInput: z.ZodTypeAny = z.object({\n sub_account_id: z.string().describe(\"Unique identifier of the sub-account to retrieve\"),\n}).describe(\"Request model for retrieving a sub-account's details by ID.\");\nexport const ThanksIoSubAccountsShowOutput: z.ZodTypeAny = z.object({\n id: z.union([z.string(), z.number().int()]),\n title: z.string().describe(\"Name of the sub-account\"),\n user_id: z.number().int().describe(\"Owner user ID for this sub-account\"),\n created_at: z.string().describe(\"Timestamp when the sub-account was created\"),\n updated_at: z.string().describe(\"Timestamp when the sub-account was last updated\"),\n return_city: z.string().describe(\"Default return city\").nullable().optional(),\n return_name: z.string().describe(\"Default return recipient name\").nullable().optional(),\n return_state: z.string().describe(\"Default return province/state\").nullable().optional(),\n return_address: z.string().describe(\"Default return address line 1\").nullable().optional(),\n return_address2: z.string().describe(\"Default return address line 2\").nullable().optional(),\n default_envelope: z.string().describe(\"Default envelope for this sub-account\").nullable().optional(),\n return_postal_code: z.string().describe(\"Default return postal code\").nullable().optional(),\n}).describe(\"Response model representing the details of a sub-account.\");\n\nexport const thanksIoSubAccountsShow = action(\"THANKS_IO_SUB_ACCOUNTS_SHOW\", {\n slug: \"thanks_io-sub-accounts-show\",\n name: \"Get Sub Account Details\",\n description: \"Tool to retrieve details for a specific sub-account by ID. Use when you need full configuration of a sub-account before performing sub-account scoped operations.\",\n input: ThanksIoSubAccountsShowInput,\n output: ThanksIoSubAccountsShowOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,EACjE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,EACxF,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;CAC1C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACpD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;CACvE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CAC5E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CACjF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAEvE,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,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/sub-accounts-show.d.ts
4
+ declare const ThanksIoSubAccountsShowInput: z.ZodTypeAny;
5
+ declare const ThanksIoSubAccountsShowOutput: z.ZodTypeAny;
6
+ declare const thanksIoSubAccountsShow: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { thanksIoSubAccountsShow };
9
+ //# sourceMappingURL=sub-accounts-show.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sub-accounts-show.d.cts","names":[],"sources":["../../src/actions/sub-accounts-show.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAE6B;AAAA,cAC7D,6BAAA,EAA+B,CAAA,CAAE,UAa0B;AAAA,cAE3D,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/sub-accounts-show.d.ts
4
+ declare const ThanksIoSubAccountsShowInput: z.ZodTypeAny;
5
+ declare const ThanksIoSubAccountsShowOutput: z.ZodTypeAny;
6
+ declare const thanksIoSubAccountsShow: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { thanksIoSubAccountsShow };
9
+ //# sourceMappingURL=sub-accounts-show.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sub-accounts-show.d.mts","names":[],"sources":["../../src/actions/sub-accounts-show.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAE6B;AAAA,cAC7D,6BAAA,EAA+B,CAAA,CAAE,UAa0B;AAAA,cAE3D,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,26 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const thanksIoSubAccountsShow = action("THANKS_IO_SUB_ACCOUNTS_SHOW", {
4
+ slug: "thanks_io-sub-accounts-show",
5
+ name: "Get Sub Account Details",
6
+ description: "Tool to retrieve details for a specific sub-account by ID. Use when you need full configuration of a sub-account before performing sub-account scoped operations.",
7
+ input: z.object({ sub_account_id: z.string().describe("Unique identifier of the sub-account to retrieve") }).describe("Request model for retrieving a sub-account's details by ID."),
8
+ output: z.object({
9
+ id: z.union([z.string(), z.number().int()]),
10
+ title: z.string().describe("Name of the sub-account"),
11
+ user_id: z.number().int().describe("Owner user ID for this sub-account"),
12
+ created_at: z.string().describe("Timestamp when the sub-account was created"),
13
+ updated_at: z.string().describe("Timestamp when the sub-account was last updated"),
14
+ return_city: z.string().describe("Default return city").nullable().optional(),
15
+ return_name: z.string().describe("Default return recipient name").nullable().optional(),
16
+ return_state: z.string().describe("Default return province/state").nullable().optional(),
17
+ return_address: z.string().describe("Default return address line 1").nullable().optional(),
18
+ return_address2: z.string().describe("Default return address line 2").nullable().optional(),
19
+ default_envelope: z.string().describe("Default envelope for this sub-account").nullable().optional(),
20
+ return_postal_code: z.string().describe("Default return postal code").nullable().optional()
21
+ }).describe("Response model representing the details of a sub-account.")
22
+ });
23
+ //#endregion
24
+ export { thanksIoSubAccountsShow };
25
+
26
+ //# sourceMappingURL=sub-accounts-show.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sub-accounts-show.mjs","names":[],"sources":["../../src/actions/sub-accounts-show.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ThanksIoSubAccountsShowInput: z.ZodTypeAny = z.object({\n sub_account_id: z.string().describe(\"Unique identifier of the sub-account to retrieve\"),\n}).describe(\"Request model for retrieving a sub-account's details by ID.\");\nexport const ThanksIoSubAccountsShowOutput: z.ZodTypeAny = z.object({\n id: z.union([z.string(), z.number().int()]),\n title: z.string().describe(\"Name of the sub-account\"),\n user_id: z.number().int().describe(\"Owner user ID for this sub-account\"),\n created_at: z.string().describe(\"Timestamp when the sub-account was created\"),\n updated_at: z.string().describe(\"Timestamp when the sub-account was last updated\"),\n return_city: z.string().describe(\"Default return city\").nullable().optional(),\n return_name: z.string().describe(\"Default return recipient name\").nullable().optional(),\n return_state: z.string().describe(\"Default return province/state\").nullable().optional(),\n return_address: z.string().describe(\"Default return address line 1\").nullable().optional(),\n return_address2: z.string().describe(\"Default return address line 2\").nullable().optional(),\n default_envelope: z.string().describe(\"Default envelope for this sub-account\").nullable().optional(),\n return_postal_code: z.string().describe(\"Default return postal code\").nullable().optional(),\n}).describe(\"Response model representing the details of a sub-account.\");\n\nexport const thanksIoSubAccountsShow = action(\"THANKS_IO_SUB_ACCOUNTS_SHOW\", {\n slug: \"thanks_io-sub-accounts-show\",\n name: \"Get Sub Account Details\",\n description: \"Tool to retrieve details for a specific sub-account by ID. Use when you need full configuration of a sub-account before performing sub-account scoped operations.\",\n input: ThanksIoSubAccountsShowInput,\n output: ThanksIoSubAccountsShowOutput,\n});\n"],"mappings":";;AAsBA,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBwD,EAAE,OAAO,EACjE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,EACxF,CAAC,CAAC,CAAC,SAAS,6DAoBH;CACP,QApByD,EAAE,OAAO;EAClE,IAAI,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;EAC1C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;EACpD,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;EACvE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EACjF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,SAAS,2DAOF;AACV,CAAC"}
@@ -0,0 +1,36 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/sub-accounts-update.ts
4
+ const ThanksIoSubAccountsUpdateInput = zod.z.object({
5
+ title: zod.z.string().describe("New name for the sub-account.").optional(),
6
+ return_city: zod.z.string().describe("New city for the return address.").optional(),
7
+ return_name: zod.z.string().describe("New return recipient name.").optional(),
8
+ return_state: zod.z.string().describe("New state/province for the return address (2-letter code).").optional(),
9
+ return_address: zod.z.string().describe("New primary return street address.").optional(),
10
+ sub_account_id: zod.z.string().describe("Unique identifier of the sub-account to update."),
11
+ return_address2: zod.z.string().describe("New secondary return address (optional).").optional(),
12
+ return_postal_code: zod.z.string().describe("New postal code for the return address.").optional()
13
+ }).describe("Request model for updating an existing sub-account.");
14
+ const ThanksIoSubAccountsUpdateOutput = zod.z.object({
15
+ id: zod.z.union([zod.z.number().int(), zod.z.string()]),
16
+ title: zod.z.string().describe("Name of the sub-account"),
17
+ created_at: zod.z.string().describe("ISO 8601 creation timestamp").nullable().optional(),
18
+ updated_at: zod.z.string().describe("ISO 8601 last update timestamp").nullable().optional(),
19
+ return_city: zod.z.string().describe("Return city").nullable().optional(),
20
+ return_name: zod.z.string().describe("Return recipient name").nullable().optional(),
21
+ return_state: zod.z.string().describe("Return state/province").nullable().optional(),
22
+ return_address: zod.z.string().describe("Primary return street address").nullable().optional(),
23
+ return_address2: zod.z.string().describe("Secondary return street address").nullable().optional(),
24
+ return_postal_code: zod.z.string().describe("Return postal code").nullable().optional()
25
+ }).describe("Response model for the updated sub-account resource.");
26
+ const thanksIoSubAccountsUpdate = require_action.action("THANKS_IO_SUB_ACCOUNTS_UPDATE", {
27
+ slug: "thanks_io-sub-accounts-update",
28
+ name: "Update Sub-Account",
29
+ description: "Tool to update details for a specific sub-account. Use when modifying title or return address details of a sub-account. Confirm sub-account ID before calling.",
30
+ input: ThanksIoSubAccountsUpdateInput,
31
+ output: ThanksIoSubAccountsUpdateOutput
32
+ });
33
+ //#endregion
34
+ exports.thanksIoSubAccountsUpdate = thanksIoSubAccountsUpdate;
35
+
36
+ //# sourceMappingURL=sub-accounts-update.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sub-accounts-update.cjs","names":["z","action"],"sources":["../../src/actions/sub-accounts-update.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ThanksIoSubAccountsUpdateInput: z.ZodTypeAny = z.object({\n title: z.string().describe(\"New name for the sub-account.\").optional(),\n return_city: z.string().describe(\"New city for the return address.\").optional(),\n return_name: z.string().describe(\"New return recipient name.\").optional(),\n return_state: z.string().describe(\"New state/province for the return address (2-letter code).\").optional(),\n return_address: z.string().describe(\"New primary return street address.\").optional(),\n sub_account_id: z.string().describe(\"Unique identifier of the sub-account to update.\"),\n return_address2: z.string().describe(\"New secondary return address (optional).\").optional(),\n return_postal_code: z.string().describe(\"New postal code for the return address.\").optional(),\n}).describe(\"Request model for updating an existing sub-account.\");\nexport const ThanksIoSubAccountsUpdateOutput: z.ZodTypeAny = z.object({\n id: z.union([z.number().int(), z.string()]),\n title: z.string().describe(\"Name of the sub-account\"),\n created_at: z.string().describe(\"ISO 8601 creation timestamp\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 last update timestamp\").nullable().optional(),\n return_city: z.string().describe(\"Return city\").nullable().optional(),\n return_name: z.string().describe(\"Return recipient name\").nullable().optional(),\n return_state: z.string().describe(\"Return state/province\").nullable().optional(),\n return_address: z.string().describe(\"Primary return street address\").nullable().optional(),\n return_address2: z.string().describe(\"Secondary return street address\").nullable().optional(),\n return_postal_code: z.string().describe(\"Return postal code\").nullable().optional(),\n}).describe(\"Response model for the updated sub-account resource.\");\n\nexport const thanksIoSubAccountsUpdate = action(\"THANKS_IO_SUB_ACCOUNTS_UPDATE\", {\n slug: \"thanks_io-sub-accounts-update\",\n name: \"Update Sub-Account\",\n description: \"Tool to update details for a specific sub-account. Use when modifying title or return address details of a sub-account. Confirm sub-account ID before calling.\",\n input: ThanksIoSubAccountsUpdateInput,\n output: ThanksIoSubAccountsUpdateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACzG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACnF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CACrF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC1F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,IAAIA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC;CAC1C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACpD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/sub-accounts-update.d.ts
4
+ declare const ThanksIoSubAccountsUpdateInput: z.ZodTypeAny;
5
+ declare const ThanksIoSubAccountsUpdateOutput: z.ZodTypeAny;
6
+ declare const thanksIoSubAccountsUpdate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { thanksIoSubAccountsUpdate };
9
+ //# sourceMappingURL=sub-accounts-update.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sub-accounts-update.d.cts","names":[],"sources":["../../src/actions/sub-accounts-update.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UASmB;AAAA,cACrD,+BAAA,EAAiC,CAAA,CAAE,UAWmB;AAAA,cAEtD,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/sub-accounts-update.d.ts
4
+ declare const ThanksIoSubAccountsUpdateInput: z.ZodTypeAny;
5
+ declare const ThanksIoSubAccountsUpdateOutput: z.ZodTypeAny;
6
+ declare const thanksIoSubAccountsUpdate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { thanksIoSubAccountsUpdate };
9
+ //# sourceMappingURL=sub-accounts-update.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sub-accounts-update.d.mts","names":[],"sources":["../../src/actions/sub-accounts-update.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UASmB;AAAA,cACrD,+BAAA,EAAiC,CAAA,CAAE,UAWmB;AAAA,cAEtD,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,33 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const thanksIoSubAccountsUpdate = action("THANKS_IO_SUB_ACCOUNTS_UPDATE", {
4
+ slug: "thanks_io-sub-accounts-update",
5
+ name: "Update Sub-Account",
6
+ description: "Tool to update details for a specific sub-account. Use when modifying title or return address details of a sub-account. Confirm sub-account ID before calling.",
7
+ input: z.object({
8
+ title: z.string().describe("New name for the sub-account.").optional(),
9
+ return_city: z.string().describe("New city for the return address.").optional(),
10
+ return_name: z.string().describe("New return recipient name.").optional(),
11
+ return_state: z.string().describe("New state/province for the return address (2-letter code).").optional(),
12
+ return_address: z.string().describe("New primary return street address.").optional(),
13
+ sub_account_id: z.string().describe("Unique identifier of the sub-account to update."),
14
+ return_address2: z.string().describe("New secondary return address (optional).").optional(),
15
+ return_postal_code: z.string().describe("New postal code for the return address.").optional()
16
+ }).describe("Request model for updating an existing sub-account."),
17
+ output: z.object({
18
+ id: z.union([z.number().int(), z.string()]),
19
+ title: z.string().describe("Name of the sub-account"),
20
+ created_at: z.string().describe("ISO 8601 creation timestamp").nullable().optional(),
21
+ updated_at: z.string().describe("ISO 8601 last update timestamp").nullable().optional(),
22
+ return_city: z.string().describe("Return city").nullable().optional(),
23
+ return_name: z.string().describe("Return recipient name").nullable().optional(),
24
+ return_state: z.string().describe("Return state/province").nullable().optional(),
25
+ return_address: z.string().describe("Primary return street address").nullable().optional(),
26
+ return_address2: z.string().describe("Secondary return street address").nullable().optional(),
27
+ return_postal_code: z.string().describe("Return postal code").nullable().optional()
28
+ }).describe("Response model for the updated sub-account resource.")
29
+ });
30
+ //#endregion
31
+ export { thanksIoSubAccountsUpdate };
32
+
33
+ //# sourceMappingURL=sub-accounts-update.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sub-accounts-update.mjs","names":[],"sources":["../../src/actions/sub-accounts-update.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ThanksIoSubAccountsUpdateInput: z.ZodTypeAny = z.object({\n title: z.string().describe(\"New name for the sub-account.\").optional(),\n return_city: z.string().describe(\"New city for the return address.\").optional(),\n return_name: z.string().describe(\"New return recipient name.\").optional(),\n return_state: z.string().describe(\"New state/province for the return address (2-letter code).\").optional(),\n return_address: z.string().describe(\"New primary return street address.\").optional(),\n sub_account_id: z.string().describe(\"Unique identifier of the sub-account to update.\"),\n return_address2: z.string().describe(\"New secondary return address (optional).\").optional(),\n return_postal_code: z.string().describe(\"New postal code for the return address.\").optional(),\n}).describe(\"Request model for updating an existing sub-account.\");\nexport const ThanksIoSubAccountsUpdateOutput: z.ZodTypeAny = z.object({\n id: z.union([z.number().int(), z.string()]),\n title: z.string().describe(\"Name of the sub-account\"),\n created_at: z.string().describe(\"ISO 8601 creation timestamp\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 last update timestamp\").nullable().optional(),\n return_city: z.string().describe(\"Return city\").nullable().optional(),\n return_name: z.string().describe(\"Return recipient name\").nullable().optional(),\n return_state: z.string().describe(\"Return state/province\").nullable().optional(),\n return_address: z.string().describe(\"Primary return street address\").nullable().optional(),\n return_address2: z.string().describe(\"Secondary return street address\").nullable().optional(),\n return_postal_code: z.string().describe(\"Return postal code\").nullable().optional(),\n}).describe(\"Response model for the updated sub-account resource.\");\n\nexport const thanksIoSubAccountsUpdate = action(\"THANKS_IO_SUB_ACCOUNTS_UPDATE\", {\n slug: \"thanks_io-sub-accounts-update\",\n name: \"Update Sub-Account\",\n description: \"Tool to update details for a specific sub-account. Use when modifying title or return address details of a sub-account. Confirm sub-account ID before calling.\",\n input: ThanksIoSubAccountsUpdateInput,\n output: ThanksIoSubAccountsUpdateOutput,\n});\n"],"mappings":";;AA2BA,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3B0D,EAAE,OAAO;EACnE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACrE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC9E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACxE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACzG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACnF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EACrF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAC1F,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,SAAS,qDAkBH;CACP,QAlB2D,EAAE,OAAO;EACpE,IAAI,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC;EAC1C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;EACpD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
package/dist/app.cjs ADDED
@@ -0,0 +1,9 @@
1
+ //#region src/app.ts
2
+ const thanksIo = (0, require("@keystrokehq/keystroke/app").defineApp)({
3
+ slug: "thanks_io",
4
+ auth: "keystroke"
5
+ });
6
+ //#endregion
7
+ exports.thanksIo = thanksIo;
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 thanksIo = defineApp({\n slug: \"thanks_io\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,YAAA,uCAAA,CAAA,CAAA,UAAA,CAAqB;CAChC,MAAM;CACN,MAAM;AACR,CAAC"}
package/dist/app.d.cts ADDED
@@ -0,0 +1,5 @@
1
+ //#region src/app.d.ts
2
+ declare const thanksIo: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
3
+ //#endregion
4
+ export { thanksIo };
5
+ //# sourceMappingURL=app.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,QAAA,6BAAQ,GAAA,+BAAA,UAAA"}
package/dist/app.d.mts ADDED
@@ -0,0 +1,5 @@
1
+ //#region src/app.d.ts
2
+ declare const thanksIo: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
3
+ //#endregion
4
+ export { thanksIo };
5
+ //# sourceMappingURL=app.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,QAAA,6BAAQ,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 thanksIo = defineApp({
4
+ slug: "thanks_io",
5
+ auth: "keystroke"
6
+ });
7
+ //#endregion
8
+ export { thanksIo };
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 thanksIo = defineApp({\n slug: \"thanks_io\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,WAAW,UAAU;CAChC,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 thanksIoCatalog = {
4
+ "slug": "thanks_io",
5
+ "name": "Thanks.io",
6
+ "description": "thanks.io is a direct mail automation platform that enables users to send personalized postcards, letters, and notecards with handwritten fonts.",
7
+ "category": "Marketing Automation",
8
+ "logo": "https://logos.composio.dev/api/thanks_io",
9
+ "authKind": "keystroke",
10
+ "oauthScopes": []
11
+ };
12
+ //#endregion
13
+ exports.thanksIoCatalog = thanksIoCatalog;
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 thanksIoCatalog = {\n \"slug\": \"thanks_io\",\n \"name\": \"Thanks.io\",\n \"description\": \"thanks.io is a direct mail automation platform that enables users to send personalized postcards, letters, and notecards with handwritten fonts.\",\n \"category\": \"Marketing Automation\",\n \"logo\": \"https://logos.composio.dev/api/thanks_io\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,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 thanksIoCatalog: {
4
+ readonly slug: "thanks_io";
5
+ readonly name: "Thanks.io";
6
+ readonly description: "thanks.io is a direct mail automation platform that enables users to send personalized postcards, letters, and notecards with handwritten fonts.";
7
+ readonly category: "Marketing Automation";
8
+ readonly logo: "https://logos.composio.dev/api/thanks_io";
9
+ readonly authKind: "keystroke";
10
+ readonly oauthScopes: readonly [];
11
+ };
12
+ //#endregion
13
+ export { thanksIoCatalog };
14
+ //# sourceMappingURL=catalog.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.d.cts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,eAAA;EAAA"}
@@ -0,0 +1,14 @@
1
+ //#region src/catalog.d.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ declare const thanksIoCatalog: {
4
+ readonly slug: "thanks_io";
5
+ readonly name: "Thanks.io";
6
+ readonly description: "thanks.io is a direct mail automation platform that enables users to send personalized postcards, letters, and notecards with handwritten fonts.";
7
+ readonly category: "Marketing Automation";
8
+ readonly logo: "https://logos.composio.dev/api/thanks_io";
9
+ readonly authKind: "keystroke";
10
+ readonly oauthScopes: readonly [];
11
+ };
12
+ //#endregion
13
+ export { thanksIoCatalog };
14
+ //# sourceMappingURL=catalog.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.d.mts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,eAAA;EAAA"}
@@ -0,0 +1,15 @@
1
+ //#region src/catalog.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ const thanksIoCatalog = {
4
+ "slug": "thanks_io",
5
+ "name": "Thanks.io",
6
+ "description": "thanks.io is a direct mail automation platform that enables users to send personalized postcards, letters, and notecards with handwritten fonts.",
7
+ "category": "Marketing Automation",
8
+ "logo": "https://logos.composio.dev/api/thanks_io",
9
+ "authKind": "keystroke",
10
+ "oauthScopes": []
11
+ };
12
+ //#endregion
13
+ export { thanksIoCatalog };
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 thanksIoCatalog = {\n \"slug\": \"thanks_io\",\n \"name\": \"Thanks.io\",\n \"description\": \"thanks.io is a direct mail automation platform that enables users to send personalized postcards, letters, and notecards with handwritten fonts.\",\n \"category\": \"Marketing Automation\",\n \"logo\": \"https://logos.composio.dev/api/thanks_io\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
@@ -0,0 +1,18 @@
1
+ let _keystrokehq_keystroke_client = require("@keystrokehq/keystroke/client");
2
+ //#region src/execute.ts
3
+ const APP_SLUG = "thanks_io";
4
+ /** Pinned app version — updated on regeneration. */
5
+ const APP_VERSION = "20260615_00";
6
+ async function executeThanksIoTool(tool, args) {
7
+ const { result } = await (0, _keystrokehq_keystroke_client.createKeystrokeClient)().tools.execute({
8
+ app: APP_SLUG,
9
+ tool,
10
+ arguments: args,
11
+ version: APP_VERSION
12
+ });
13
+ return result;
14
+ }
15
+ //#endregion
16
+ exports.executeThanksIoTool = executeThanksIoTool;
17
+
18
+ //# sourceMappingURL=execute.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"execute.cjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"thanks_io\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeThanksIoTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,oBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,OAAA,GAAA,8BAAA,sBAAA,CAA4B,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
@@ -0,0 +1,18 @@
1
+ import { createKeystrokeClient } from "@keystrokehq/keystroke/client";
2
+ //#region src/execute.ts
3
+ const APP_SLUG = "thanks_io";
4
+ /** Pinned app version — updated on regeneration. */
5
+ const APP_VERSION = "20260615_00";
6
+ async function executeThanksIoTool(tool, args) {
7
+ const { result } = await createKeystrokeClient().tools.execute({
8
+ app: APP_SLUG,
9
+ tool,
10
+ arguments: args,
11
+ version: APP_VERSION
12
+ });
13
+ return result;
14
+ }
15
+ //#endregion
16
+ export { executeThanksIoTool };
17
+
18
+ //# sourceMappingURL=execute.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"execute.mjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"thanks_io\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeThanksIoTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,oBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,MAAM,sBAAsB,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}