@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,47 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/mailing-lists-buy-radius-search.ts
4
+ const ThanksIoMailingListsBuyRadiusSearchInput = zod.z.object({
5
+ address: zod.z.string().describe("Full address to use as the center of the radius search"),
6
+ append_data: zod.z.boolean().default(false).describe("Append phone and email to each record for an additional fee").optional(),
7
+ postal_code: zod.z.string().describe("Postal code for the search"),
8
+ record_count: zod.z.number().int().describe("Number of nearest neighbors to search for (1-10000)"),
9
+ record_types: zod.z.enum([
10
+ "all",
11
+ "likelytomove",
12
+ "likelytorefi",
13
+ "absenteeowner",
14
+ "highnetworth",
15
+ "majorityhomeequity",
16
+ "homefreeclear",
17
+ "underwater",
18
+ "kidsinhousehold",
19
+ "newhomeowner",
20
+ "firsttimehomebuyer",
21
+ "renters",
22
+ "retiring",
23
+ "retired",
24
+ "pool",
25
+ "onlybusinesses",
26
+ "newbusiness"
27
+ ]).default("all").describe("Type of records to search for").optional(),
28
+ include_condos: zod.z.boolean().default(false).describe("Include condos in search results").optional(),
29
+ mailing_list_id: zod.z.number().int().describe("Optional ID of existing mailing list to append results to. If not provided, a new list will be created.").optional(),
30
+ use_property_owner: zod.z.boolean().default(false).describe("Use property owner's address when searching for commercial record types").optional()
31
+ }).describe("Request model for buying or appending a radius search mailing list.");
32
+ const ThanksIoMailingListsBuyRadiusSearchOutput = zod.z.object({
33
+ failure: zod.z.boolean().describe("Whether the request failed"),
34
+ message: zod.z.string().describe("Status message of the request, e.g., 'success'"),
35
+ mailing_list_id: zod.z.number().int().describe("Unique identifier of the mailing list")
36
+ }).describe("Response model for buying or appending a radius search mailing list.");
37
+ const thanksIoMailingListsBuyRadiusSearch = require_action.action("THANKS_IO_MAILING_LISTS_BUY_RADIUS_SEARCH", {
38
+ slug: "thanks_io-mailing-lists-buy-radius-search",
39
+ name: "Buy Radius Search Mailing List",
40
+ description: "Tool to buy or append a radius search mailing list based on address and radius. Use when you need targeted mailing lists around a specified address.",
41
+ input: ThanksIoMailingListsBuyRadiusSearchInput,
42
+ output: ThanksIoMailingListsBuyRadiusSearchOutput
43
+ });
44
+ //#endregion
45
+ exports.thanksIoMailingListsBuyRadiusSearch = thanksIoMailingListsBuyRadiusSearch;
46
+
47
+ //# sourceMappingURL=mailing-lists-buy-radius-search.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mailing-lists-buy-radius-search.cjs","names":["z","action"],"sources":["../../src/actions/mailing-lists-buy-radius-search.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ThanksIoMailingListsBuyRadiusSearchInput: z.ZodTypeAny = z.object({\n address: z.string().describe(\"Full address to use as the center of the radius search\"),\n append_data: z.boolean().default(false).describe(\"Append phone and email to each record for an additional fee\").optional(),\n postal_code: z.string().describe(\"Postal code for the search\"),\n record_count: z.number().int().describe(\"Number of nearest neighbors to search for (1-10000)\"),\n record_types: z.enum([\"all\", \"likelytomove\", \"likelytorefi\", \"absenteeowner\", \"highnetworth\", \"majorityhomeequity\", \"homefreeclear\", \"underwater\", \"kidsinhousehold\", \"newhomeowner\", \"firsttimehomebuyer\", \"renters\", \"retiring\", \"retired\", \"pool\", \"onlybusinesses\", \"newbusiness\"]).default(\"all\").describe(\"Type of records to search for\").optional(),\n include_condos: z.boolean().default(false).describe(\"Include condos in search results\").optional(),\n mailing_list_id: z.number().int().describe(\"Optional ID of existing mailing list to append results to. If not provided, a new list will be created.\").optional(),\n use_property_owner: z.boolean().default(false).describe(\"Use property owner's address when searching for commercial record types\").optional(),\n}).describe(\"Request model for buying or appending a radius search mailing list.\");\nexport const ThanksIoMailingListsBuyRadiusSearchOutput: z.ZodTypeAny = z.object({\n failure: z.boolean().describe(\"Whether the request failed\"),\n message: z.string().describe(\"Status message of the request, e.g., 'success'\"),\n mailing_list_id: z.number().int().describe(\"Unique identifier of the mailing list\"),\n}).describe(\"Response model for buying or appending a radius search mailing list.\");\n\nexport const thanksIoMailingListsBuyRadiusSearch = action(\"THANKS_IO_MAILING_LISTS_BUY_RADIUS_SEARCH\", {\n slug: \"thanks_io-mailing-lists-buy-radius-search\",\n name: \"Buy Radius Search Mailing List\",\n description: \"Tool to buy or append a radius search mailing list based on address and radius. Use when you need targeted mailing lists around a specified address.\",\n input: ThanksIoMailingListsBuyRadiusSearchInput,\n output: ThanksIoMailingListsBuyRadiusSearchOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAAyDA,IAAAA,EAAE,OAAO;C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AAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/mailing-lists-buy-radius-search.d.ts
4
+ declare const ThanksIoMailingListsBuyRadiusSearchInput: z.ZodTypeAny;
5
+ declare const ThanksIoMailingListsBuyRadiusSearchOutput: z.ZodTypeAny;
6
+ declare const thanksIoMailingListsBuyRadiusSearch: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { thanksIoMailingListsBuyRadiusSearch };
9
+ //# sourceMappingURL=mailing-lists-buy-radius-search.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mailing-lists-buy-radius-search.d.cts","names":[],"sources":["../../src/actions/mailing-lists-buy-radius-search.ts"],"mappings":";;;cAIa,wCAAA,EAA0C,CAAA,CAAE,UASyB;AAAA,cACrE,yCAAA,EAA2C,CAAA,CAAE,UAIyB;AAAA,cAEtE,mCAAA,gCAAmC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/mailing-lists-buy-radius-search.d.ts
4
+ declare const ThanksIoMailingListsBuyRadiusSearchInput: z.ZodTypeAny;
5
+ declare const ThanksIoMailingListsBuyRadiusSearchOutput: z.ZodTypeAny;
6
+ declare const thanksIoMailingListsBuyRadiusSearch: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { thanksIoMailingListsBuyRadiusSearch };
9
+ //# sourceMappingURL=mailing-lists-buy-radius-search.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mailing-lists-buy-radius-search.d.mts","names":[],"sources":["../../src/actions/mailing-lists-buy-radius-search.ts"],"mappings":";;;cAIa,wCAAA,EAA0C,CAAA,CAAE,UASyB;AAAA,cACrE,yCAAA,EAA2C,CAAA,CAAE,UAIyB;AAAA,cAEtE,mCAAA,gCAAmC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,44 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const thanksIoMailingListsBuyRadiusSearch = action("THANKS_IO_MAILING_LISTS_BUY_RADIUS_SEARCH", {
4
+ slug: "thanks_io-mailing-lists-buy-radius-search",
5
+ name: "Buy Radius Search Mailing List",
6
+ description: "Tool to buy or append a radius search mailing list based on address and radius. Use when you need targeted mailing lists around a specified address.",
7
+ input: z.object({
8
+ address: z.string().describe("Full address to use as the center of the radius search"),
9
+ append_data: z.boolean().default(false).describe("Append phone and email to each record for an additional fee").optional(),
10
+ postal_code: z.string().describe("Postal code for the search"),
11
+ record_count: z.number().int().describe("Number of nearest neighbors to search for (1-10000)"),
12
+ record_types: z.enum([
13
+ "all",
14
+ "likelytomove",
15
+ "likelytorefi",
16
+ "absenteeowner",
17
+ "highnetworth",
18
+ "majorityhomeequity",
19
+ "homefreeclear",
20
+ "underwater",
21
+ "kidsinhousehold",
22
+ "newhomeowner",
23
+ "firsttimehomebuyer",
24
+ "renters",
25
+ "retiring",
26
+ "retired",
27
+ "pool",
28
+ "onlybusinesses",
29
+ "newbusiness"
30
+ ]).default("all").describe("Type of records to search for").optional(),
31
+ include_condos: z.boolean().default(false).describe("Include condos in search results").optional(),
32
+ mailing_list_id: z.number().int().describe("Optional ID of existing mailing list to append results to. If not provided, a new list will be created.").optional(),
33
+ use_property_owner: z.boolean().default(false).describe("Use property owner's address when searching for commercial record types").optional()
34
+ }).describe("Request model for buying or appending a radius search mailing list."),
35
+ output: z.object({
36
+ failure: z.boolean().describe("Whether the request failed"),
37
+ message: z.string().describe("Status message of the request, e.g., 'success'"),
38
+ mailing_list_id: z.number().int().describe("Unique identifier of the mailing list")
39
+ }).describe("Response model for buying or appending a radius search mailing list.")
40
+ });
41
+ //#endregion
42
+ export { thanksIoMailingListsBuyRadiusSearch };
43
+
44
+ //# sourceMappingURL=mailing-lists-buy-radius-search.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mailing-lists-buy-radius-search.mjs","names":[],"sources":["../../src/actions/mailing-lists-buy-radius-search.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ThanksIoMailingListsBuyRadiusSearchInput: z.ZodTypeAny = z.object({\n address: z.string().describe(\"Full address to use as the center of the radius search\"),\n append_data: z.boolean().default(false).describe(\"Append phone and email to each record for an additional fee\").optional(),\n postal_code: z.string().describe(\"Postal code for the search\"),\n record_count: z.number().int().describe(\"Number of nearest neighbors to search for (1-10000)\"),\n record_types: z.enum([\"all\", \"likelytomove\", \"likelytorefi\", \"absenteeowner\", \"highnetworth\", \"majorityhomeequity\", \"homefreeclear\", \"underwater\", \"kidsinhousehold\", \"newhomeowner\", \"firsttimehomebuyer\", \"renters\", \"retiring\", \"retired\", \"pool\", \"onlybusinesses\", \"newbusiness\"]).default(\"all\").describe(\"Type of records to search for\").optional(),\n include_condos: z.boolean().default(false).describe(\"Include condos in search results\").optional(),\n mailing_list_id: z.number().int().describe(\"Optional ID of existing mailing list to append results to. If not provided, a new list will be created.\").optional(),\n use_property_owner: z.boolean().default(false).describe(\"Use property owner's address when searching for commercial record types\").optional(),\n}).describe(\"Request model for buying or appending a radius search mailing list.\");\nexport const ThanksIoMailingListsBuyRadiusSearchOutput: z.ZodTypeAny = z.object({\n failure: z.boolean().describe(\"Whether the request failed\"),\n message: z.string().describe(\"Status message of the request, e.g., 'success'\"),\n mailing_list_id: z.number().int().describe(\"Unique identifier of the mailing list\"),\n}).describe(\"Response model for buying or appending a radius search mailing list.\");\n\nexport const thanksIoMailingListsBuyRadiusSearch = action(\"THANKS_IO_MAILING_LISTS_BUY_RADIUS_SEARCH\", {\n slug: \"thanks_io-mailing-lists-buy-radius-search\",\n name: \"Buy Radius Search Mailing List\",\n description: \"Tool to buy or append a radius search mailing list based on address and radius. Use when you need targeted mailing lists around a specified address.\",\n input: ThanksIoMailingListsBuyRadiusSearchInput,\n output: ThanksIoMailingListsBuyRadiusSearchOutput,\n});\n"],"mappings":";;AAoBA,MAAa,sCAAsC,OAAO,6CAA6C;CACrG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBoE,EAAE,OAAO;EAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;EACrF,aAAa,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EACzH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EAC7D,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;EAC7F,cAAc,EAAE,KAAK;GAAC;GAAO;GAAgB;GAAgB;GAAiB;GAAgB;GAAsB;GAAiB;GAAc;GAAmB;GAAgB;GAAsB;GAAW;GAAY;GAAW;GAAQ;GAAkB;EAAa,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EAC1V,gBAAgB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACjG,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;EAC/J,oBAAoB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC9I,CAAC,CAAC,CAAC,SAAS,qEAWH;CACP,QAXqE,EAAE,OAAO;EAC9E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B;EAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;EAC7E,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CACpF,CAAC,CAAC,CAAC,SAAS,sEAOF;AACV,CAAC"}
@@ -0,0 +1,38 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/order-preview-letter.ts
4
+ const ThanksIoOrderPreviewLetterInput = zod.z.object({
5
+ message: zod.z.string().describe("Handwritten message content to appear on the letter cover page.").optional(),
6
+ preview: zod.z.boolean().describe("Must be true to generate and return PDF preview URLs instead of placing an order."),
7
+ recipients: zod.z.array(zod.z.object({
8
+ city: zod.z.string().describe("City name."),
9
+ name: zod.z.string().describe("Full name of the recipient."),
10
+ state: zod.z.string().describe("State or province code."),
11
+ address: zod.z.string().describe("Street address line 1."),
12
+ country: zod.z.string().describe("Country code (defaults to US if not provided).").optional(),
13
+ address2: zod.z.string().describe("Street address line 2 (apartment, suite, etc.).").optional(),
14
+ postal_code: zod.z.string().describe("Postal or ZIP code.")
15
+ }).describe("Recipient details for the letter.")).describe("List of recipients for the letter. Required if mailing_lists not provided.").optional(),
16
+ return_city: zod.z.string().describe("City for the return address.").optional(),
17
+ return_name: zod.z.string().describe("Name to print on the return address block.").optional(),
18
+ return_state: zod.z.string().describe("State or province for the return address.").optional(),
19
+ mailing_lists: zod.z.array(zod.z.number().int()).describe("IDs of mailing lists to preview. Required if recipients not provided.").optional(),
20
+ return_address: zod.z.string().describe("Street address line 1 for the return address.").optional(),
21
+ return_address2: zod.z.string().describe("Street address line 2 for the return address.").optional(),
22
+ additional_pages: zod.z.string().describe("URL to a PDF file containing additional pages to include in the letter. Up to 10 pages allowed, printed double-sided.").optional(),
23
+ handwriting_style: zod.z.number().int().describe("ID of the handwriting style to use for the letter body.").optional(),
24
+ return_postal_code: zod.z.string().describe("Postal or ZIP code for the return address.").optional(),
25
+ custom_background_image: zod.z.string().describe("URL to the background image for the letter (JPEG/PNG).").optional()
26
+ }).describe("Request payload for previewing a letter send as PDF.");
27
+ const ThanksIoOrderPreviewLetterOutput = zod.z.object({ previews: zod.z.array(zod.z.string()).describe("List of URLs pointing to generated PDF preview images.") });
28
+ const thanksIoOrderPreviewLetter = require_action.action("THANKS_IO_ORDER_PREVIEW_LETTER", {
29
+ slug: "thanks_io-order-preview-letter",
30
+ name: "Preview letter send",
31
+ description: "Tool to preview a letter send as PDF. Use when you need to confirm letter content before placing the final order. Returns PDF preview URLs.",
32
+ input: ThanksIoOrderPreviewLetterInput,
33
+ output: ThanksIoOrderPreviewLetterOutput
34
+ });
35
+ //#endregion
36
+ exports.thanksIoOrderPreviewLetter = thanksIoOrderPreviewLetter;
37
+
38
+ //# sourceMappingURL=order-preview-letter.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"order-preview-letter.cjs","names":["z","action"],"sources":["../../src/actions/order-preview-letter.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ThanksIoOrderPreviewLetterInput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Handwritten message content to appear on the letter cover page.\").optional(),\n preview: z.boolean().describe(\"Must be true to generate and return PDF preview URLs instead of placing an order.\"),\n recipients: z.array(z.object({\n city: z.string().describe(\"City name.\"),\n name: z.string().describe(\"Full name of the recipient.\"),\n state: z.string().describe(\"State or province code.\"),\n address: z.string().describe(\"Street address line 1.\"),\n country: z.string().describe(\"Country code (defaults to US if not provided).\").optional(),\n address2: z.string().describe(\"Street address line 2 (apartment, suite, etc.).\").optional(),\n postal_code: z.string().describe(\"Postal or ZIP code.\"),\n}).describe(\"Recipient details for the letter.\")).describe(\"List of recipients for the letter. Required if mailing_lists not provided.\").optional(),\n return_city: z.string().describe(\"City for the return address.\").optional(),\n return_name: z.string().describe(\"Name to print on the return address block.\").optional(),\n return_state: z.string().describe(\"State or province for the return address.\").optional(),\n mailing_lists: z.array(z.number().int()).describe(\"IDs of mailing lists to preview. Required if recipients not provided.\").optional(),\n return_address: z.string().describe(\"Street address line 1 for the return address.\").optional(),\n return_address2: z.string().describe(\"Street address line 2 for the return address.\").optional(),\n additional_pages: z.string().describe(\"URL to a PDF file containing additional pages to include in the letter. Up to 10 pages allowed, printed double-sided.\").optional(),\n handwriting_style: z.number().int().describe(\"ID of the handwriting style to use for the letter body.\").optional(),\n return_postal_code: z.string().describe(\"Postal or ZIP code for the return address.\").optional(),\n custom_background_image: z.string().describe(\"URL to the background image for the letter (JPEG/PNG).\").optional(),\n}).describe(\"Request payload for previewing a letter send as PDF.\");\nexport const ThanksIoOrderPreviewLetterOutput: z.ZodTypeAny = z.object({\n previews: z.array(z.string()).describe(\"List of URLs pointing to generated PDF preview images.\"),\n});\n\nexport const thanksIoOrderPreviewLetter = action(\"THANKS_IO_ORDER_PREVIEW_LETTER\", {\n slug: \"thanks_io-order-preview-letter\",\n name: \"Preview letter send\",\n description: \"Tool to preview a letter send as PDF. Use when you need to confirm letter content before placing the final order. Returns PDF preview URLs.\",\n input: ThanksIoOrderPreviewLetterInput,\n output: ThanksIoOrderPreviewLetterOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACzG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mFAAmF;CACjH,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC7B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY;EACtC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;EACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;EACpD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;EACrD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACxF,UAAUA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EACjG,CAAC;AAED,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,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/order-preview-letter.d.ts
4
+ declare const ThanksIoOrderPreviewLetterInput: z.ZodTypeAny;
5
+ declare const ThanksIoOrderPreviewLetterOutput: z.ZodTypeAny;
6
+ declare const thanksIoOrderPreviewLetter: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { thanksIoOrderPreviewLetter };
9
+ //# sourceMappingURL=order-preview-letter.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"order-preview-letter.d.cts","names":[],"sources":["../../src/actions/order-preview-letter.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAsBmB;AAAA,cACtD,gCAAA,EAAkC,CAAA,CAAE,UAE/C;AAAA,cAEW,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/order-preview-letter.d.ts
4
+ declare const ThanksIoOrderPreviewLetterInput: z.ZodTypeAny;
5
+ declare const ThanksIoOrderPreviewLetterOutput: z.ZodTypeAny;
6
+ declare const thanksIoOrderPreviewLetter: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { thanksIoOrderPreviewLetter };
9
+ //# sourceMappingURL=order-preview-letter.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"order-preview-letter.d.mts","names":[],"sources":["../../src/actions/order-preview-letter.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAsBmB;AAAA,cACtD,gCAAA,EAAkC,CAAA,CAAE,UAE/C;AAAA,cAEW,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,35 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const thanksIoOrderPreviewLetter = action("THANKS_IO_ORDER_PREVIEW_LETTER", {
4
+ slug: "thanks_io-order-preview-letter",
5
+ name: "Preview letter send",
6
+ description: "Tool to preview a letter send as PDF. Use when you need to confirm letter content before placing the final order. Returns PDF preview URLs.",
7
+ input: z.object({
8
+ message: z.string().describe("Handwritten message content to appear on the letter cover page.").optional(),
9
+ preview: z.boolean().describe("Must be true to generate and return PDF preview URLs instead of placing an order."),
10
+ recipients: z.array(z.object({
11
+ city: z.string().describe("City name."),
12
+ name: z.string().describe("Full name of the recipient."),
13
+ state: z.string().describe("State or province code."),
14
+ address: z.string().describe("Street address line 1."),
15
+ country: z.string().describe("Country code (defaults to US if not provided).").optional(),
16
+ address2: z.string().describe("Street address line 2 (apartment, suite, etc.).").optional(),
17
+ postal_code: z.string().describe("Postal or ZIP code.")
18
+ }).describe("Recipient details for the letter.")).describe("List of recipients for the letter. Required if mailing_lists not provided.").optional(),
19
+ return_city: z.string().describe("City for the return address.").optional(),
20
+ return_name: z.string().describe("Name to print on the return address block.").optional(),
21
+ return_state: z.string().describe("State or province for the return address.").optional(),
22
+ mailing_lists: z.array(z.number().int()).describe("IDs of mailing lists to preview. Required if recipients not provided.").optional(),
23
+ return_address: z.string().describe("Street address line 1 for the return address.").optional(),
24
+ return_address2: z.string().describe("Street address line 2 for the return address.").optional(),
25
+ additional_pages: z.string().describe("URL to a PDF file containing additional pages to include in the letter. Up to 10 pages allowed, printed double-sided.").optional(),
26
+ handwriting_style: z.number().int().describe("ID of the handwriting style to use for the letter body.").optional(),
27
+ return_postal_code: z.string().describe("Postal or ZIP code for the return address.").optional(),
28
+ custom_background_image: z.string().describe("URL to the background image for the letter (JPEG/PNG).").optional()
29
+ }).describe("Request payload for previewing a letter send as PDF."),
30
+ output: z.object({ previews: z.array(z.string()).describe("List of URLs pointing to generated PDF preview images.") })
31
+ });
32
+ //#endregion
33
+ export { thanksIoOrderPreviewLetter };
34
+
35
+ //# sourceMappingURL=order-preview-letter.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"order-preview-letter.mjs","names":[],"sources":["../../src/actions/order-preview-letter.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ThanksIoOrderPreviewLetterInput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Handwritten message content to appear on the letter cover page.\").optional(),\n preview: z.boolean().describe(\"Must be true to generate and return PDF preview URLs instead of placing an order.\"),\n recipients: z.array(z.object({\n city: z.string().describe(\"City name.\"),\n name: z.string().describe(\"Full name of the recipient.\"),\n state: z.string().describe(\"State or province code.\"),\n address: z.string().describe(\"Street address line 1.\"),\n country: z.string().describe(\"Country code (defaults to US if not provided).\").optional(),\n address2: z.string().describe(\"Street address line 2 (apartment, suite, etc.).\").optional(),\n postal_code: z.string().describe(\"Postal or ZIP code.\"),\n}).describe(\"Recipient details for the letter.\")).describe(\"List of recipients for the letter. Required if mailing_lists not provided.\").optional(),\n return_city: z.string().describe(\"City for the return address.\").optional(),\n return_name: z.string().describe(\"Name to print on the return address block.\").optional(),\n return_state: z.string().describe(\"State or province for the return address.\").optional(),\n mailing_lists: z.array(z.number().int()).describe(\"IDs of mailing lists to preview. Required if recipients not provided.\").optional(),\n return_address: z.string().describe(\"Street address line 1 for the return address.\").optional(),\n return_address2: z.string().describe(\"Street address line 2 for the return address.\").optional(),\n additional_pages: z.string().describe(\"URL to a PDF file containing additional pages to include in the letter. Up to 10 pages allowed, printed double-sided.\").optional(),\n handwriting_style: z.number().int().describe(\"ID of the handwriting style to use for the letter body.\").optional(),\n return_postal_code: z.string().describe(\"Postal or ZIP code for the return address.\").optional(),\n custom_background_image: z.string().describe(\"URL to the background image for the letter (JPEG/PNG).\").optional(),\n}).describe(\"Request payload for previewing a letter send as PDF.\");\nexport const ThanksIoOrderPreviewLetterOutput: z.ZodTypeAny = z.object({\n previews: z.array(z.string()).describe(\"List of URLs pointing to generated PDF preview images.\"),\n});\n\nexport const thanksIoOrderPreviewLetter = action(\"THANKS_IO_ORDER_PREVIEW_LETTER\", {\n slug: \"thanks_io-order-preview-letter\",\n name: \"Preview letter send\",\n description: \"Tool to preview a letter send as PDF. Use when you need to confirm letter content before placing the final order. Returns PDF preview URLs.\",\n input: ThanksIoOrderPreviewLetterInput,\n output: ThanksIoOrderPreviewLetterOutput,\n});\n"],"mappings":";;AA+BA,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA/B2D,EAAE,OAAO;EACpE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EACzG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,mFAAmF;EACjH,YAAY,EAAE,MAAM,EAAE,OAAO;GAC7B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY;GACtC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;GACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;GACpD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;GACrD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;GACxF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;GAC1F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;EACxD,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EAChJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EAC1E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACxF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACxF,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EACpI,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAC9F,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAC/F,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;EACxK,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EACjH,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC/F,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAClH,CAAC,CAAC,CAAC,SAAS,sDASH;CACP,QAT4D,EAAE,OAAO,EACrE,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wDAAwD,EACjG,CAOU;AACV,CAAC"}
@@ -0,0 +1,33 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/order-preview-notecard.ts
4
+ const ThanksIoOrderPreviewNotecardInput = zod.z.object({
5
+ message: zod.z.string().describe("Handwritten message content to place inside the notecard."),
6
+ preview: zod.z.boolean().describe("Must be true to return preview images instead of sending."),
7
+ recipients: zod.z.array(zod.z.object({
8
+ city: zod.z.string().describe("City"),
9
+ name: zod.z.string().describe("Recipient's full name"),
10
+ address: zod.z.string().describe("Street address"),
11
+ country: zod.z.string().describe("Country code, e.g., 'US'"),
12
+ province: zod.z.string().describe("State or province"),
13
+ postal_code: zod.z.string().describe("Postal code")
14
+ }).describe("Individual notecard recipient.")).describe("List of recipient objects for the notecard preview."),
15
+ image_template: zod.z.number().int().describe("ID of a pre-saved notecard image template."),
16
+ handwriting_style: zod.z.number().int().describe("ID of the handwriting style to use.")
17
+ }).describe("Parameters for previewing a notecard send, returning front/back images when preview is true.");
18
+ const ThanksIoOrderPreviewNotecard_OrderPreviewNotecardDataSchema = zod.z.object({ previews: zod.z.array(zod.z.string()).describe("Array of URLs for generated preview images (front/back).") }).describe("Data object containing preview image URLs.");
19
+ const ThanksIoOrderPreviewNotecardOutput = zod.z.object({
20
+ data: ThanksIoOrderPreviewNotecard_OrderPreviewNotecardDataSchema.nullable(),
21
+ message: zod.z.string().describe("Result message from the API (e.g., 'OK').")
22
+ }).describe("Response schema for notecard preview.");
23
+ const thanksIoOrderPreviewNotecard = require_action.action("THANKS_IO_ORDER_PREVIEW_NOTECARD", {
24
+ slug: "thanks_io-order-preview-notecard",
25
+ name: "Preview Notecard",
26
+ description: "Tool to preview a notecard send. Use when you need front and back images before placing an actual notecard order.",
27
+ input: ThanksIoOrderPreviewNotecardInput,
28
+ output: ThanksIoOrderPreviewNotecardOutput
29
+ });
30
+ //#endregion
31
+ exports.thanksIoOrderPreviewNotecard = thanksIoOrderPreviewNotecard;
32
+
33
+ //# sourceMappingURL=order-preview-notecard.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"order-preview-notecard.cjs","names":["z","action"],"sources":["../../src/actions/order-preview-notecard.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ThanksIoOrderPreviewNotecardInput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Handwritten message content to place inside the notecard.\"),\n preview: z.boolean().describe(\"Must be true to return preview images instead of sending.\"),\n recipients: z.array(z.object({\n city: z.string().describe(\"City\"),\n name: z.string().describe(\"Recipient's full name\"),\n address: z.string().describe(\"Street address\"),\n country: z.string().describe(\"Country code, e.g., 'US'\"),\n province: z.string().describe(\"State or province\"),\n postal_code: z.string().describe(\"Postal code\"),\n}).describe(\"Individual notecard recipient.\")).describe(\"List of recipient objects for the notecard preview.\"),\n image_template: z.number().int().describe(\"ID of a pre-saved notecard image template.\"),\n handwriting_style: z.number().int().describe(\"ID of the handwriting style to use.\"),\n}).describe(\"Parameters for previewing a notecard send, returning front/back images when preview is true.\");\nconst ThanksIoOrderPreviewNotecard_OrderPreviewNotecardDataSchema: z.ZodTypeAny = z.object({\n previews: z.array(z.string()).describe(\"Array of URLs for generated preview images (front/back).\"),\n}).describe(\"Data object containing preview image URLs.\");\nexport const ThanksIoOrderPreviewNotecardOutput: z.ZodTypeAny = z.object({\n data: ThanksIoOrderPreviewNotecard_OrderPreviewNotecardDataSchema.nullable(),\n message: z.string().describe(\"Result message from the API (e.g., 'OK').\"),\n}).describe(\"Response schema for notecard preview.\");\n\nexport const thanksIoOrderPreviewNotecard = action(\"THANKS_IO_ORDER_PREVIEW_NOTECARD\", {\n slug: \"thanks_io-order-preview-notecard\",\n name: \"Preview Notecard\",\n description: \"Tool to preview a notecard send. Use when you need front and back images before placing an actual notecard order.\",\n input: ThanksIoOrderPreviewNotecardInput,\n output: ThanksIoOrderPreviewNotecardOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACxF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D;CACzF,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC7B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,MAAM;EAChC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;EACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;EAC7C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;EACvD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;EACjD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;CAChD,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,CAAC,SAAS,qDAAqD;CAC3G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;CACtF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;AACpF,CAAC,CAAC,CAAC,SAAS,8FAA8F;AAC1G,MAAM,8DAA4EA,IAAAA,EAAE,OAAO,EACzF,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0DAA0D,EACnG,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,MAAM,4DAA4D,SAAS;CAC3E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;AAC1E,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAEnD,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,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/order-preview-notecard.d.ts
4
+ declare const ThanksIoOrderPreviewNotecardInput: z.ZodTypeAny;
5
+ declare const ThanksIoOrderPreviewNotecardOutput: z.ZodTypeAny;
6
+ declare const thanksIoOrderPreviewNotecard: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { thanksIoOrderPreviewNotecard };
9
+ //# sourceMappingURL=order-preview-notecard.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"order-preview-notecard.d.cts","names":[],"sources":["../../src/actions/order-preview-notecard.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAayD;AAAA,cAI9F,kCAAA,EAAoC,CAAA,CAAE,UAGC;AAAA,cAEvC,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/order-preview-notecard.d.ts
4
+ declare const ThanksIoOrderPreviewNotecardInput: z.ZodTypeAny;
5
+ declare const ThanksIoOrderPreviewNotecardOutput: z.ZodTypeAny;
6
+ declare const thanksIoOrderPreviewNotecard: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { thanksIoOrderPreviewNotecard };
9
+ //# sourceMappingURL=order-preview-notecard.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"order-preview-notecard.d.mts","names":[],"sources":["../../src/actions/order-preview-notecard.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAayD;AAAA,cAI9F,kCAAA,EAAoC,CAAA,CAAE,UAGC;AAAA,cAEvC,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,32 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/order-preview-notecard.ts
4
+ const ThanksIoOrderPreviewNotecardInput = z.object({
5
+ message: z.string().describe("Handwritten message content to place inside the notecard."),
6
+ preview: z.boolean().describe("Must be true to return preview images instead of sending."),
7
+ recipients: z.array(z.object({
8
+ city: z.string().describe("City"),
9
+ name: z.string().describe("Recipient's full name"),
10
+ address: z.string().describe("Street address"),
11
+ country: z.string().describe("Country code, e.g., 'US'"),
12
+ province: z.string().describe("State or province"),
13
+ postal_code: z.string().describe("Postal code")
14
+ }).describe("Individual notecard recipient.")).describe("List of recipient objects for the notecard preview."),
15
+ image_template: z.number().int().describe("ID of a pre-saved notecard image template."),
16
+ handwriting_style: z.number().int().describe("ID of the handwriting style to use.")
17
+ }).describe("Parameters for previewing a notecard send, returning front/back images when preview is true.");
18
+ const ThanksIoOrderPreviewNotecard_OrderPreviewNotecardDataSchema = z.object({ previews: z.array(z.string()).describe("Array of URLs for generated preview images (front/back).") }).describe("Data object containing preview image URLs.");
19
+ const thanksIoOrderPreviewNotecard = action("THANKS_IO_ORDER_PREVIEW_NOTECARD", {
20
+ slug: "thanks_io-order-preview-notecard",
21
+ name: "Preview Notecard",
22
+ description: "Tool to preview a notecard send. Use when you need front and back images before placing an actual notecard order.",
23
+ input: ThanksIoOrderPreviewNotecardInput,
24
+ output: z.object({
25
+ data: ThanksIoOrderPreviewNotecard_OrderPreviewNotecardDataSchema.nullable(),
26
+ message: z.string().describe("Result message from the API (e.g., 'OK').")
27
+ }).describe("Response schema for notecard preview.")
28
+ });
29
+ //#endregion
30
+ export { thanksIoOrderPreviewNotecard };
31
+
32
+ //# sourceMappingURL=order-preview-notecard.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"order-preview-notecard.mjs","names":[],"sources":["../../src/actions/order-preview-notecard.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ThanksIoOrderPreviewNotecardInput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Handwritten message content to place inside the notecard.\"),\n preview: z.boolean().describe(\"Must be true to return preview images instead of sending.\"),\n recipients: z.array(z.object({\n city: z.string().describe(\"City\"),\n name: z.string().describe(\"Recipient's full name\"),\n address: z.string().describe(\"Street address\"),\n country: z.string().describe(\"Country code, e.g., 'US'\"),\n province: z.string().describe(\"State or province\"),\n postal_code: z.string().describe(\"Postal code\"),\n}).describe(\"Individual notecard recipient.\")).describe(\"List of recipient objects for the notecard preview.\"),\n image_template: z.number().int().describe(\"ID of a pre-saved notecard image template.\"),\n handwriting_style: z.number().int().describe(\"ID of the handwriting style to use.\"),\n}).describe(\"Parameters for previewing a notecard send, returning front/back images when preview is true.\");\nconst ThanksIoOrderPreviewNotecard_OrderPreviewNotecardDataSchema: z.ZodTypeAny = z.object({\n previews: z.array(z.string()).describe(\"Array of URLs for generated preview images (front/back).\"),\n}).describe(\"Data object containing preview image URLs.\");\nexport const ThanksIoOrderPreviewNotecardOutput: z.ZodTypeAny = z.object({\n data: ThanksIoOrderPreviewNotecard_OrderPreviewNotecardDataSchema.nullable(),\n message: z.string().describe(\"Result message from the API (e.g., 'OK').\"),\n}).describe(\"Response schema for notecard preview.\");\n\nexport const thanksIoOrderPreviewNotecard = action(\"THANKS_IO_ORDER_PREVIEW_NOTECARD\", {\n slug: \"thanks_io-order-preview-notecard\",\n name: \"Preview Notecard\",\n description: \"Tool to preview a notecard send. Use when you need front and back images before placing an actual notecard order.\",\n input: ThanksIoOrderPreviewNotecardInput,\n output: ThanksIoOrderPreviewNotecardOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkD,EAAE,OAAO;CACtE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACxF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D;CACzF,YAAY,EAAE,MAAM,EAAE,OAAO;EAC7B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,MAAM;EAChC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;EAC7C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;EACvD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;EACjD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;CAChD,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,CAAC,SAAS,qDAAqD;CAC3G,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;CACtF,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;AACpF,CAAC,CAAC,CAAC,SAAS,8FAA8F;AAC1G,MAAM,8DAA4E,EAAE,OAAO,EACzF,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0DAA0D,EACnG,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAMxD,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV8D,EAAE,OAAO;EACvE,MAAM,4DAA4D,SAAS;EAC3E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CAC1E,CAAC,CAAC,CAAC,SAAS,uCAOF;AACV,CAAC"}
@@ -0,0 +1,32 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/order-preview-windowless-letter.ts
4
+ const ThanksIoOrderPreviewWindowlessLetterInput = zod.z.object({
5
+ message: zod.z.string().describe("Handwritten message content. Required if 'message_template' not set").optional(),
6
+ preview: zod.z.boolean().describe("Must be true to return a PDF preview of the letter send"),
7
+ recipients: zod.z.array(zod.z.object({
8
+ city: zod.z.string().describe("City name"),
9
+ name: zod.z.string().describe("Recipient's full name"),
10
+ address: zod.z.string().describe("Street address"),
11
+ country: zod.z.string().describe("Country code (ISO 3166-1 alpha-2)"),
12
+ province: zod.z.string().describe("State or province code"),
13
+ postal_code: zod.z.string().describe("Postal or ZIP code")
14
+ }).describe("Recipient for a windowless letter send.")).describe("List of recipients for the preview send"),
15
+ front_image_url: zod.z.string().describe("URL to the cover image for the windowless letter"),
16
+ message_template: zod.z.string().describe("ID of a stored message template. Required if 'message' not set").optional(),
17
+ handwriting_color: zod.z.string().describe("Ink color for handwriting (e.g., 'blue','black', or hex code)").optional(),
18
+ handwriting_style: zod.z.string().describe("ID of handwriting style to use").optional(),
19
+ additional_pages_url: zod.z.string().describe("URL to a single-page PDF to print on back of cover image").optional()
20
+ }).describe("Parameters for previewing a windowless letter send, returning a PDF preview when 'preview' is true.");
21
+ const ThanksIoOrderPreviewWindowlessLetterOutput = zod.z.object({ previews: zod.z.array(zod.z.string()).describe("List of URLs pointing to generated preview images.") }).describe("Response schema for windowless letter preview.");
22
+ const thanksIoOrderPreviewWindowlessLetter = require_action.action("THANKS_IO_ORDER_PREVIEW_WINDOWLESS_LETTER", {
23
+ slug: "thanks_io-order-preview-windowless-letter",
24
+ name: "Preview Windowless Letter",
25
+ description: "Tool to preview a windowless letter send. Use when you need a PDF preview of the cover-only letter before placing an order.",
26
+ input: ThanksIoOrderPreviewWindowlessLetterInput,
27
+ output: ThanksIoOrderPreviewWindowlessLetterOutput
28
+ });
29
+ //#endregion
30
+ exports.thanksIoOrderPreviewWindowlessLetter = thanksIoOrderPreviewWindowlessLetter;
31
+
32
+ //# sourceMappingURL=order-preview-windowless-letter.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"order-preview-windowless-letter.cjs","names":["z","action"],"sources":["../../src/actions/order-preview-windowless-letter.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ThanksIoOrderPreviewWindowlessLetterInput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Handwritten message content. Required if 'message_template' not set\").optional(),\n preview: z.boolean().describe(\"Must be true to return a PDF preview of the letter send\"),\n recipients: z.array(z.object({\n city: z.string().describe(\"City name\"),\n name: z.string().describe(\"Recipient's full name\"),\n address: z.string().describe(\"Street address\"),\n country: z.string().describe(\"Country code (ISO 3166-1 alpha-2)\"),\n province: z.string().describe(\"State or province code\"),\n postal_code: z.string().describe(\"Postal or ZIP code\"),\n}).describe(\"Recipient for a windowless letter send.\")).describe(\"List of recipients for the preview send\"),\n front_image_url: z.string().describe(\"URL to the cover image for the windowless letter\"),\n message_template: z.string().describe(\"ID of a stored message template. Required if 'message' not set\").optional(),\n handwriting_color: z.string().describe(\"Ink color for handwriting (e.g., 'blue','black', or hex code)\").optional(),\n handwriting_style: z.string().describe(\"ID of handwriting style to use\").optional(),\n additional_pages_url: z.string().describe(\"URL to a single-page PDF to print on back of cover image\").optional(),\n}).describe(\"Parameters for previewing a windowless letter send, returning a PDF preview when 'preview' is true.\");\nexport const ThanksIoOrderPreviewWindowlessLetterOutput: z.ZodTypeAny = z.object({\n previews: z.array(z.string()).describe(\"List of URLs pointing to generated preview images.\"),\n}).describe(\"Response schema for windowless letter preview.\");\n\nexport const thanksIoOrderPreviewWindowlessLetter = action(\"THANKS_IO_ORDER_PREVIEW_WINDOWLESS_LETTER\", {\n slug: \"thanks_io-order-preview-windowless-letter\",\n name: \"Preview Windowless Letter\",\n description: \"Tool to preview a windowless letter send. Use when you need a PDF preview of the cover-only letter before placing an order.\",\n input: ThanksIoOrderPreviewWindowlessLetterInput,\n output: ThanksIoOrderPreviewWindowlessLetterOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA0DA,IAAAA,EAAE,OAAO;CAC9E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC7G,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD;CACvF,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC7B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW;EACrC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;EACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;EAC7C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EAChE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;EACtD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;CACvD,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,CAAC,SAAS,yCAAyC;CACxG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACvF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACjH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACjH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAClF,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,qGAAqG;AACjH,MAAa,6CAA2DA,IAAAA,EAAE,OAAO,EAC/E,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oDAAoD,EAC7F,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,uCAAuCC,eAAAA,OAAO,6CAA6C;CACtG,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/order-preview-windowless-letter.d.ts
4
+ declare const ThanksIoOrderPreviewWindowlessLetterInput: z.ZodTypeAny;
5
+ declare const ThanksIoOrderPreviewWindowlessLetterOutput: z.ZodTypeAny;
6
+ declare const thanksIoOrderPreviewWindowlessLetter: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { thanksIoOrderPreviewWindowlessLetter };
9
+ //# sourceMappingURL=order-preview-windowless-letter.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"order-preview-windowless-letter.d.cts","names":[],"sources":["../../src/actions/order-preview-windowless-letter.ts"],"mappings":";;;cAIa,yCAAA,EAA2C,CAAA,CAAE,UAgBwD;AAAA,cACrG,0CAAA,EAA4C,CAAA,CAAE,UAEE;AAAA,cAEhD,oCAAA,gCAAoC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/order-preview-windowless-letter.d.ts
4
+ declare const ThanksIoOrderPreviewWindowlessLetterInput: z.ZodTypeAny;
5
+ declare const ThanksIoOrderPreviewWindowlessLetterOutput: z.ZodTypeAny;
6
+ declare const thanksIoOrderPreviewWindowlessLetter: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { thanksIoOrderPreviewWindowlessLetter };
9
+ //# sourceMappingURL=order-preview-windowless-letter.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"order-preview-windowless-letter.d.mts","names":[],"sources":["../../src/actions/order-preview-windowless-letter.ts"],"mappings":";;;cAIa,yCAAA,EAA2C,CAAA,CAAE,UAgBwD;AAAA,cACrG,0CAAA,EAA4C,CAAA,CAAE,UAEE;AAAA,cAEhD,oCAAA,gCAAoC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,29 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const thanksIoOrderPreviewWindowlessLetter = action("THANKS_IO_ORDER_PREVIEW_WINDOWLESS_LETTER", {
4
+ slug: "thanks_io-order-preview-windowless-letter",
5
+ name: "Preview Windowless Letter",
6
+ description: "Tool to preview a windowless letter send. Use when you need a PDF preview of the cover-only letter before placing an order.",
7
+ input: z.object({
8
+ message: z.string().describe("Handwritten message content. Required if 'message_template' not set").optional(),
9
+ preview: z.boolean().describe("Must be true to return a PDF preview of the letter send"),
10
+ recipients: z.array(z.object({
11
+ city: z.string().describe("City name"),
12
+ name: z.string().describe("Recipient's full name"),
13
+ address: z.string().describe("Street address"),
14
+ country: z.string().describe("Country code (ISO 3166-1 alpha-2)"),
15
+ province: z.string().describe("State or province code"),
16
+ postal_code: z.string().describe("Postal or ZIP code")
17
+ }).describe("Recipient for a windowless letter send.")).describe("List of recipients for the preview send"),
18
+ front_image_url: z.string().describe("URL to the cover image for the windowless letter"),
19
+ message_template: z.string().describe("ID of a stored message template. Required if 'message' not set").optional(),
20
+ handwriting_color: z.string().describe("Ink color for handwriting (e.g., 'blue','black', or hex code)").optional(),
21
+ handwriting_style: z.string().describe("ID of handwriting style to use").optional(),
22
+ additional_pages_url: z.string().describe("URL to a single-page PDF to print on back of cover image").optional()
23
+ }).describe("Parameters for previewing a windowless letter send, returning a PDF preview when 'preview' is true."),
24
+ output: z.object({ previews: z.array(z.string()).describe("List of URLs pointing to generated preview images.") }).describe("Response schema for windowless letter preview.")
25
+ });
26
+ //#endregion
27
+ export { thanksIoOrderPreviewWindowlessLetter };
28
+
29
+ //# sourceMappingURL=order-preview-windowless-letter.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"order-preview-windowless-letter.mjs","names":[],"sources":["../../src/actions/order-preview-windowless-letter.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ThanksIoOrderPreviewWindowlessLetterInput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Handwritten message content. Required if 'message_template' not set\").optional(),\n preview: z.boolean().describe(\"Must be true to return a PDF preview of the letter send\"),\n recipients: z.array(z.object({\n city: z.string().describe(\"City name\"),\n name: z.string().describe(\"Recipient's full name\"),\n address: z.string().describe(\"Street address\"),\n country: z.string().describe(\"Country code (ISO 3166-1 alpha-2)\"),\n province: z.string().describe(\"State or province code\"),\n postal_code: z.string().describe(\"Postal or ZIP code\"),\n}).describe(\"Recipient for a windowless letter send.\")).describe(\"List of recipients for the preview send\"),\n front_image_url: z.string().describe(\"URL to the cover image for the windowless letter\"),\n message_template: z.string().describe(\"ID of a stored message template. Required if 'message' not set\").optional(),\n handwriting_color: z.string().describe(\"Ink color for handwriting (e.g., 'blue','black', or hex code)\").optional(),\n handwriting_style: z.string().describe(\"ID of handwriting style to use\").optional(),\n additional_pages_url: z.string().describe(\"URL to a single-page PDF to print on back of cover image\").optional(),\n}).describe(\"Parameters for previewing a windowless letter send, returning a PDF preview when 'preview' is true.\");\nexport const ThanksIoOrderPreviewWindowlessLetterOutput: z.ZodTypeAny = z.object({\n previews: z.array(z.string()).describe(\"List of URLs pointing to generated preview images.\"),\n}).describe(\"Response schema for windowless letter preview.\");\n\nexport const thanksIoOrderPreviewWindowlessLetter = action(\"THANKS_IO_ORDER_PREVIEW_WINDOWLESS_LETTER\", {\n slug: \"thanks_io-order-preview-windowless-letter\",\n name: \"Preview Windowless Letter\",\n description: \"Tool to preview a windowless letter send. Use when you need a PDF preview of the cover-only letter before placing an order.\",\n input: ThanksIoOrderPreviewWindowlessLetterInput,\n output: ThanksIoOrderPreviewWindowlessLetterOutput,\n});\n"],"mappings":";;AAyBA,MAAa,uCAAuC,OAAO,6CAA6C;CACtG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzBqE,EAAE,OAAO;EAC9E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EAC7G,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD;EACvF,YAAY,EAAE,MAAM,EAAE,OAAO;GAC7B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW;GACrC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;GACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;GAC7C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;GAChE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;GACtD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;EACvD,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,CAAC,SAAS,yCAAyC;EACxG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;EACvF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EACjH,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;EACjH,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAClF,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,SAAS,qGASH;CACP,QATsE,EAAE,OAAO,EAC/E,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oDAAoD,EAC7F,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
@@ -0,0 +1,61 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/orders-list.ts
4
+ const ThanksIoOrdersListInput = zod.z.object({
5
+ items_per_page: zod.z.number().int().describe("Number of items to return per page (default: 25).").optional(),
6
+ sub_account_id: zod.z.number().int().describe("Filter orders by this sub-account ID.").optional()
7
+ }).describe("Request parameters for listing recent orders. Use items_per_page to cap results and sub_account_id to filter.");
8
+ const ThanksIoOrdersList_OrderTimestampSchema = zod.z.object({
9
+ date: zod.z.string().describe("Timestamp string in ISO format."),
10
+ timezone: zod.z.string().describe("Timezone identifier."),
11
+ timezone_type: zod.z.number().int().describe("Internal timezone type.")
12
+ });
13
+ const ThanksIoOrdersList_OrderSummarySchema = zod.z.object({
14
+ id: zod.z.number().int().describe("Unique ID of the order."),
15
+ size: zod.z.string().describe("Size of the item (e.g., '4x6').").nullable().optional(),
16
+ type: zod.z.string().describe("Type of order (postcard, letter, etc.).").nullable().optional(),
17
+ style: zod.z.number().int().describe("Handwriting style ID used.").nullable().optional(),
18
+ method: zod.z.string().describe("How the order was placed (API, UI, etc.).").nullable().optional(),
19
+ status: zod.z.string().describe("Current status of the order.").nullable().optional(),
20
+ message: zod.z.string().describe("Message content sent in the order.").nullable().optional(),
21
+ created_at: zod.z.union([ThanksIoOrdersList_OrderTimestampSchema, zod.z.string()]).nullable().optional(),
22
+ updated_at: zod.z.union([ThanksIoOrdersList_OrderTimestampSchema, zod.z.string()]).nullable().optional(),
23
+ front_image: zod.z.string().describe("URL of the front image.").nullable().optional(),
24
+ grand_total: zod.z.number().int().describe("Grand total cost in cents.").nullable().optional(),
25
+ sub_account_id: zod.z.number().int().describe("ID of the sub-account used.").nullable().optional(),
26
+ total_recipients: zod.z.number().int().describe("Actual number of recipients processed.").nullable().optional(),
27
+ authorization_total: zod.z.number().int().describe("Authorization total in cents.").nullable().optional(),
28
+ high_quality_preview: zod.z.string().describe("URL to high-quality preview PDF, if available.").nullable().optional(),
29
+ total_estimated_recipients: zod.z.number().int().describe("Estimated number of recipients for the order.").nullable().optional()
30
+ });
31
+ const ThanksIoOrdersList_PaginationMetaSchema = zod.z.object({
32
+ to: zod.z.number().int().describe("Ending item index on this page.").nullable().optional(),
33
+ from: zod.z.number().int().describe("Starting item index on this page.").nullable().optional(),
34
+ path: zod.z.string().describe("Base URL path for pagination.").nullable().optional(),
35
+ total: zod.z.number().int().describe("Total number of items.").nullable().optional(),
36
+ per_page: zod.z.union([zod.z.number().int(), zod.z.string()]).nullable().optional(),
37
+ last_page: zod.z.number().int().describe("Last page number.").nullable().optional(),
38
+ current_page: zod.z.number().int().describe("Current page number.").nullable().optional()
39
+ });
40
+ const ThanksIoOrdersList_PaginationLinksSchema = zod.z.object({
41
+ last: zod.z.string().describe("URL of the last page of results.").nullable().optional(),
42
+ next: zod.z.string().describe("URL of the next page, if any.").nullable().optional(),
43
+ prev: zod.z.string().describe("URL of the previous page, if any.").nullable().optional(),
44
+ first: zod.z.string().describe("URL of the first page of results.").nullable().optional()
45
+ });
46
+ const ThanksIoOrdersListOutput = zod.z.object({
47
+ data: zod.z.array(ThanksIoOrdersList_OrderSummarySchema).describe("List of order summaries.").nullable().optional(),
48
+ meta: ThanksIoOrdersList_PaginationMetaSchema.nullable().optional(),
49
+ links: ThanksIoOrdersList_PaginationLinksSchema.nullable().optional()
50
+ }).describe("Response schema for list of recent orders.");
51
+ const thanksIoOrdersList = require_action.action("THANKS_IO_ORDERS_LIST", {
52
+ slug: "thanks_io-orders-list",
53
+ name: "List Orders",
54
+ description: "Tool to list recent orders. Use after placing orders to fetch the latest history, optionally filtering by sub-account or limiting the result count.",
55
+ input: ThanksIoOrdersListInput,
56
+ output: ThanksIoOrdersListOutput
57
+ });
58
+ //#endregion
59
+ exports.thanksIoOrdersList = thanksIoOrdersList;
60
+
61
+ //# sourceMappingURL=orders-list.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"orders-list.cjs","names":["z","action"],"sources":["../../src/actions/orders-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ThanksIoOrdersListInput: z.ZodTypeAny = z.object({\n items_per_page: z.number().int().describe(\"Number of items to return per page (default: 25).\").optional(),\n sub_account_id: z.number().int().describe(\"Filter orders by this sub-account ID.\").optional(),\n}).describe(\"Request parameters for listing recent orders. Use items_per_page to cap results and sub_account_id to filter.\");\nconst ThanksIoOrdersList_OrderTimestampSchema: z.ZodTypeAny = z.object({\n date: z.string().describe(\"Timestamp string in ISO format.\"),\n timezone: z.string().describe(\"Timezone identifier.\"),\n timezone_type: z.number().int().describe(\"Internal timezone type.\"),\n});\nconst ThanksIoOrdersList_OrderSummarySchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique ID of the order.\"),\n size: z.string().describe(\"Size of the item (e.g., '4x6').\").nullable().optional(),\n type: z.string().describe(\"Type of order (postcard, letter, etc.).\").nullable().optional(),\n style: z.number().int().describe(\"Handwriting style ID used.\").nullable().optional(),\n method: z.string().describe(\"How the order was placed (API, UI, etc.).\").nullable().optional(),\n status: z.string().describe(\"Current status of the order.\").nullable().optional(),\n message: z.string().describe(\"Message content sent in the order.\").nullable().optional(),\n created_at: z.union([ThanksIoOrdersList_OrderTimestampSchema, z.string()]).nullable().optional(),\n updated_at: z.union([ThanksIoOrdersList_OrderTimestampSchema, z.string()]).nullable().optional(),\n front_image: z.string().describe(\"URL of the front image.\").nullable().optional(),\n grand_total: z.number().int().describe(\"Grand total cost in cents.\").nullable().optional(),\n sub_account_id: z.number().int().describe(\"ID of the sub-account used.\").nullable().optional(),\n total_recipients: z.number().int().describe(\"Actual number of recipients processed.\").nullable().optional(),\n authorization_total: z.number().int().describe(\"Authorization total in cents.\").nullable().optional(),\n high_quality_preview: z.string().describe(\"URL to high-quality preview PDF, if available.\").nullable().optional(),\n total_estimated_recipients: z.number().int().describe(\"Estimated number of recipients for the order.\").nullable().optional(),\n});\nconst ThanksIoOrdersList_PaginationMetaSchema: z.ZodTypeAny = z.object({\n to: z.number().int().describe(\"Ending item index on this page.\").nullable().optional(),\n from: z.number().int().describe(\"Starting item index on this page.\").nullable().optional(),\n path: z.string().describe(\"Base URL path for pagination.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of items.\").nullable().optional(),\n per_page: z.union([z.number().int(), z.string()]).nullable().optional(),\n last_page: z.number().int().describe(\"Last page number.\").nullable().optional(),\n current_page: z.number().int().describe(\"Current page number.\").nullable().optional(),\n});\nconst ThanksIoOrdersList_PaginationLinksSchema: z.ZodTypeAny = z.object({\n last: z.string().describe(\"URL of the last page of results.\").nullable().optional(),\n next: z.string().describe(\"URL of the next page, if any.\").nullable().optional(),\n prev: z.string().describe(\"URL of the previous page, if any.\").nullable().optional(),\n first: z.string().describe(\"URL of the first page of results.\").nullable().optional(),\n});\nexport const ThanksIoOrdersListOutput: z.ZodTypeAny = z.object({\n data: z.array(ThanksIoOrdersList_OrderSummarySchema).describe(\"List of order summaries.\").nullable().optional(),\n meta: ThanksIoOrdersList_PaginationMetaSchema.nullable().optional(),\n links: ThanksIoOrdersList_PaginationLinksSchema.nullable().optional(),\n}).describe(\"Response schema for list of recent orders.\");\n\nexport const thanksIoOrdersList = action(\"THANKS_IO_ORDERS_LIST\", {\n slug: \"thanks_io-orders-list\",\n name: \"List Orders\",\n description: \"Tool to list recent orders. Use after placing orders to fetch the latest history, optionally filtering by sub-account or limiting the result count.\",\n input: ThanksIoOrdersListInput,\n output: ThanksIoOrdersListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACxG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,+GAA+G;AAC3H,MAAM,0CAAwDA,IAAAA,EAAE,OAAO;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC3D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CACpD,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB;AACpE,CAAC;AACD,MAAM,wCAAsDA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SA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