@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,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/orders-list.d.ts
4
+ declare const ThanksIoOrdersListInput: z.ZodTypeAny;
5
+ declare const ThanksIoOrdersListOutput: z.ZodTypeAny;
6
+ declare const thanksIoOrdersList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { thanksIoOrdersList };
9
+ //# sourceMappingURL=orders-list.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"orders-list.d.cts","names":[],"sources":["../../src/actions/orders-list.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAGoF;AAAA,cAuC/G,wBAAA,EAA0B,CAAA,CAAE,UAIgB;AAAA,cAE5C,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/orders-list.d.ts
4
+ declare const ThanksIoOrdersListInput: z.ZodTypeAny;
5
+ declare const ThanksIoOrdersListOutput: z.ZodTypeAny;
6
+ declare const thanksIoOrdersList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { thanksIoOrdersList };
9
+ //# sourceMappingURL=orders-list.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"orders-list.d.mts","names":[],"sources":["../../src/actions/orders-list.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAGoF;AAAA,cAuC/G,wBAAA,EAA0B,CAAA,CAAE,UAIgB;AAAA,cAE5C,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,60 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/orders-list.ts
4
+ const ThanksIoOrdersListInput = z.object({
5
+ items_per_page: z.number().int().describe("Number of items to return per page (default: 25).").optional(),
6
+ sub_account_id: 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 = z.object({
9
+ date: z.string().describe("Timestamp string in ISO format."),
10
+ timezone: z.string().describe("Timezone identifier."),
11
+ timezone_type: z.number().int().describe("Internal timezone type.")
12
+ });
13
+ const ThanksIoOrdersList_OrderSummarySchema = z.object({
14
+ id: z.number().int().describe("Unique ID of the order."),
15
+ size: z.string().describe("Size of the item (e.g., '4x6').").nullable().optional(),
16
+ type: z.string().describe("Type of order (postcard, letter, etc.).").nullable().optional(),
17
+ style: z.number().int().describe("Handwriting style ID used.").nullable().optional(),
18
+ method: z.string().describe("How the order was placed (API, UI, etc.).").nullable().optional(),
19
+ status: z.string().describe("Current status of the order.").nullable().optional(),
20
+ message: z.string().describe("Message content sent in the order.").nullable().optional(),
21
+ created_at: z.union([ThanksIoOrdersList_OrderTimestampSchema, z.string()]).nullable().optional(),
22
+ updated_at: z.union([ThanksIoOrdersList_OrderTimestampSchema, z.string()]).nullable().optional(),
23
+ front_image: z.string().describe("URL of the front image.").nullable().optional(),
24
+ grand_total: z.number().int().describe("Grand total cost in cents.").nullable().optional(),
25
+ sub_account_id: z.number().int().describe("ID of the sub-account used.").nullable().optional(),
26
+ total_recipients: z.number().int().describe("Actual number of recipients processed.").nullable().optional(),
27
+ authorization_total: z.number().int().describe("Authorization total in cents.").nullable().optional(),
28
+ high_quality_preview: z.string().describe("URL to high-quality preview PDF, if available.").nullable().optional(),
29
+ total_estimated_recipients: z.number().int().describe("Estimated number of recipients for the order.").nullable().optional()
30
+ });
31
+ const ThanksIoOrdersList_PaginationMetaSchema = z.object({
32
+ to: z.number().int().describe("Ending item index on this page.").nullable().optional(),
33
+ from: z.number().int().describe("Starting item index on this page.").nullable().optional(),
34
+ path: z.string().describe("Base URL path for pagination.").nullable().optional(),
35
+ total: z.number().int().describe("Total number of items.").nullable().optional(),
36
+ per_page: z.union([z.number().int(), z.string()]).nullable().optional(),
37
+ last_page: z.number().int().describe("Last page number.").nullable().optional(),
38
+ current_page: z.number().int().describe("Current page number.").nullable().optional()
39
+ });
40
+ const ThanksIoOrdersList_PaginationLinksSchema = z.object({
41
+ last: z.string().describe("URL of the last page of results.").nullable().optional(),
42
+ next: z.string().describe("URL of the next page, if any.").nullable().optional(),
43
+ prev: z.string().describe("URL of the previous page, if any.").nullable().optional(),
44
+ first: z.string().describe("URL of the first page of results.").nullable().optional()
45
+ });
46
+ const thanksIoOrdersList = action("THANKS_IO_ORDERS_LIST", {
47
+ slug: "thanks_io-orders-list",
48
+ name: "List Orders",
49
+ 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.",
50
+ input: ThanksIoOrdersListInput,
51
+ output: z.object({
52
+ data: z.array(ThanksIoOrdersList_OrderSummarySchema).describe("List of order summaries.").nullable().optional(),
53
+ meta: ThanksIoOrdersList_PaginationMetaSchema.nullable().optional(),
54
+ links: ThanksIoOrdersList_PaginationLinksSchema.nullable().optional()
55
+ }).describe("Response schema for list of recent orders.")
56
+ });
57
+ //#endregion
58
+ export { thanksIoOrdersList };
59
+
60
+ //# sourceMappingURL=orders-list.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"orders-list.mjs","names":[],"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,0BAAwC,EAAE,OAAO;CAC5D,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACxG,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,+GAA+G;AAC3H,MAAM,0CAAwD,EAAE,OAAO;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC3D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CACpD,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB;AACpE,CAAC;AACD,MAAM,wCAAsD,EAAE,OAAO;CACnE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAA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AE,OAAO;EAC7D,MAAM,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,MAAM,wCAAwC,SAAS,CAAC,CAAC,SAAS;EAClE,OAAO,yCAAyC,SAAS,CAAC,CAAC,SAAS;CACtE,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
@@ -0,0 +1,72 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/orders-search-by-address.ts
4
+ const ThanksIoOrdersSearchByAddressInput = zod.z.object({
5
+ page: zod.z.number().int().default(1).describe("Page number for paginated results, default is 1.").optional(),
6
+ address: zod.z.string().describe("Street address to search orders by."),
7
+ per_page: zod.z.number().int().default(50).describe("Number of results per page, between 1 and 100, default is 50.").optional()
8
+ });
9
+ const ThanksIoOrdersSearchByAddress_OrderDetailsSchema = zod.z.object({
10
+ size: zod.z.string().describe("Size of the mail piece (e.g., 4x6)."),
11
+ type: zod.z.string().describe("Type of the order (e.g., postcard, letter)."),
12
+ style: zod.z.number().int().describe("Handwriting style ID used."),
13
+ method: zod.z.string().describe("Submission method (e.g., API, Card Builder)."),
14
+ status: zod.z.string().describe("Final status of the order (e.g., Fulfilled)."),
15
+ message: zod.z.string().describe("Message content of the order."),
16
+ created_at: zod.z.string().describe("Timestamp when the order was created."),
17
+ updated_at: zod.z.string().describe("Timestamp when the order was last updated."),
18
+ front_image: zod.z.string().describe("URL of the front image used."),
19
+ grand_total: zod.z.number().int().describe("Grand total amount charged in cents."),
20
+ sub_account_id: zod.z.number().int().describe("Sub account ID used for the order, if any.").nullable().optional(),
21
+ total_recipients: zod.z.number().int().describe("Actual total recipients processed."),
22
+ authorization_total: zod.z.number().int().describe("Authorization total amount in cents."),
23
+ high_quality_preview: zod.z.string().describe("URL of the high-quality preview PDF, if any.").nullable().optional(),
24
+ total_estimated_recipients: zod.z.number().int().describe("Estimated number of recipients for the order.")
25
+ });
26
+ const ThanksIoOrdersSearchByAddress_StatsSchema = zod.z.object({
27
+ failed: zod.z.number().int().describe("Number of items failed."),
28
+ printed: zod.z.number().int().describe("Number of items printed."),
29
+ delivered: zod.z.number().int().describe("Number of items delivered."),
30
+ re_routed: zod.z.number().int().describe("Number of items re-routed."),
31
+ in_transit: zod.z.number().int().describe("Number of items in transit."),
32
+ processing: zod.z.number().int().describe("Number of items currently processing."),
33
+ in_local_area: zod.z.number().int().describe("Number of items in local area."),
34
+ returned_to_sender: zod.z.number().int().describe("Number of items returned to sender."),
35
+ processed_for_delivery: zod.z.number().int().describe("Number processed for delivery.")
36
+ });
37
+ const ThanksIoOrdersSearchByAddress_OrderContainerSchema = zod.z.object({
38
+ id: zod.z.number().int().describe("ID of the order container."),
39
+ order: ThanksIoOrdersSearchByAddress_OrderDetailsSchema.nullable(),
40
+ stats: ThanksIoOrdersSearchByAddress_StatsSchema.nullable(),
41
+ errors: zod.z.array(zod.z.string()).describe("List of errors encountered during processing, if any."),
42
+ returned: zod.z.array(zod.z.string()).describe("List of returned item identifiers, if any.")
43
+ });
44
+ const ThanksIoOrdersSearchByAddress_MatchedOrderItemSchema = zod.z.object({
45
+ city: zod.z.string().describe("Recipient city."),
46
+ name: zod.z.string().describe("Recipient full name of the matched order."),
47
+ status: zod.z.string().describe("Current processing status of this order item."),
48
+ address: zod.z.string().describe("Recipient address line 1."),
49
+ country: zod.z.string().describe("Recipient country code (e.g., US)."),
50
+ failure: zod.z.string().describe("Failure reason for this order item, if any.").nullable().optional(),
51
+ address2: zod.z.string().describe("Recipient address line 2 (if any).").nullable().optional(),
52
+ order_id: zod.z.number().int().describe("The ID of the matched order."),
53
+ province: zod.z.string().describe("Recipient state or province."),
54
+ created_at: zod.z.string().describe("Timestamp when the order was created."),
55
+ postal_code: zod.z.string().describe("Recipient postal code."),
56
+ individual_price: zod.z.number().describe("Price of this individual order item in cents.")
57
+ });
58
+ const ThanksIoOrdersSearchByAddressOutput = zod.z.object({
59
+ orders: zod.z.array(ThanksIoOrdersSearchByAddress_OrderContainerSchema).describe("List of full orders matching the search criteria."),
60
+ matched_order_items: zod.z.array(ThanksIoOrdersSearchByAddress_MatchedOrderItemSchema).describe("List of individual matched order items for the search.")
61
+ });
62
+ const thanksIoOrdersSearchByAddress = require_action.action("THANKS_IO_ORDERS_SEARCH_BY_ADDRESS", {
63
+ slug: "thanks_io-orders-search-by-address",
64
+ name: "Search Orders by Recipient Street Address",
65
+ description: "Tool to search orders by recipient street address. Use when you need to find all orders sent to a specific street address.",
66
+ input: ThanksIoOrdersSearchByAddressInput,
67
+ output: ThanksIoOrdersSearchByAddressOutput
68
+ });
69
+ //#endregion
70
+ exports.thanksIoOrdersSearchByAddress = thanksIoOrdersSearchByAddress;
71
+
72
+ //# sourceMappingURL=orders-search-by-address.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"orders-search-by-address.cjs","names":["z","action"],"sources":["../../src/actions/orders-search-by-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ThanksIoOrdersSearchByAddressInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number for paginated results, default is 1.\").optional(),\n address: z.string().describe(\"Street address to search orders by.\"),\n per_page: z.number().int().default(50).describe(\"Number of results per page, between 1 and 100, default is 50.\").optional(),\n});\nconst ThanksIoOrdersSearchByAddress_OrderDetailsSchema: z.ZodTypeAny = z.object({\n size: z.string().describe(\"Size of the mail piece (e.g., 4x6).\"),\n type: z.string().describe(\"Type of the order (e.g., postcard, letter).\"),\n style: z.number().int().describe(\"Handwriting style ID used.\"),\n method: z.string().describe(\"Submission method (e.g., API, Card Builder).\"),\n status: z.string().describe(\"Final status of the order (e.g., Fulfilled).\"),\n message: z.string().describe(\"Message content of the order.\"),\n created_at: z.string().describe(\"Timestamp when the order was created.\"),\n updated_at: z.string().describe(\"Timestamp when the order was last updated.\"),\n front_image: z.string().describe(\"URL of the front image used.\"),\n grand_total: z.number().int().describe(\"Grand total amount charged in cents.\"),\n sub_account_id: z.number().int().describe(\"Sub account ID used for the order, if any.\").nullable().optional(),\n total_recipients: z.number().int().describe(\"Actual total recipients processed.\"),\n authorization_total: z.number().int().describe(\"Authorization total amount in cents.\"),\n high_quality_preview: z.string().describe(\"URL of the high-quality preview PDF, if any.\").nullable().optional(),\n total_estimated_recipients: z.number().int().describe(\"Estimated number of recipients for the order.\"),\n});\nconst ThanksIoOrdersSearchByAddress_StatsSchema: z.ZodTypeAny = z.object({\n failed: z.number().int().describe(\"Number of items failed.\"),\n printed: z.number().int().describe(\"Number of items printed.\"),\n delivered: z.number().int().describe(\"Number of items delivered.\"),\n re_routed: z.number().int().describe(\"Number of items re-routed.\"),\n in_transit: z.number().int().describe(\"Number of items in transit.\"),\n processing: z.number().int().describe(\"Number of items currently processing.\"),\n in_local_area: z.number().int().describe(\"Number of items in local area.\"),\n returned_to_sender: z.number().int().describe(\"Number of items returned to sender.\"),\n processed_for_delivery: z.number().int().describe(\"Number processed for delivery.\"),\n});\nconst ThanksIoOrdersSearchByAddress_OrderContainerSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the order container.\"),\n order: ThanksIoOrdersSearchByAddress_OrderDetailsSchema.nullable(),\n stats: ThanksIoOrdersSearchByAddress_StatsSchema.nullable(),\n errors: z.array(z.string()).describe(\"List of errors encountered during processing, if any.\"),\n returned: z.array(z.string()).describe(\"List of returned item identifiers, if any.\"),\n});\nconst ThanksIoOrdersSearchByAddress_MatchedOrderItemSchema: z.ZodTypeAny = z.object({\n city: z.string().describe(\"Recipient city.\"),\n name: z.string().describe(\"Recipient full name of the matched order.\"),\n status: z.string().describe(\"Current processing status of this order item.\"),\n address: z.string().describe(\"Recipient address line 1.\"),\n country: z.string().describe(\"Recipient country code (e.g., US).\"),\n failure: z.string().describe(\"Failure reason for this order item, if any.\").nullable().optional(),\n address2: z.string().describe(\"Recipient address line 2 (if any).\").nullable().optional(),\n order_id: z.number().int().describe(\"The ID of the matched order.\"),\n province: z.string().describe(\"Recipient state or province.\"),\n created_at: z.string().describe(\"Timestamp when the order was created.\"),\n postal_code: z.string().describe(\"Recipient postal code.\"),\n individual_price: z.number().describe(\"Price of this individual order item in cents.\"),\n});\nexport const ThanksIoOrdersSearchByAddressOutput: z.ZodTypeAny = z.object({\n orders: z.array(ThanksIoOrdersSearchByAddress_OrderContainerSchema).describe(\"List of full orders matching the search criteria.\"),\n matched_order_items: z.array(ThanksIoOrdersSearchByAddress_MatchedOrderItemSchema).describe(\"List of individual matched order items for the search.\"),\n});\n\nexport const thanksIoOrdersSearchByAddress = action(\"THANKS_IO_ORDERS_SEARCH_BY_ADDRESS\", {\n slug: \"thanks_io-orders-search-by-address\",\n name: \"Search Orders by Recipient Street Address\",\n description: \"Tool to search orders by recipient street address. Use when you need to find all orders sent to a specific street address.\",\n input: ThanksIoOrdersSearchByAddressInput,\n output: ThanksIoOrdersSearchByAddressOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACxG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AAC5H,CAAC;AACD,MAAM,mDAAiEA,IAAAA,EAAE,OAAO;CAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B;CAC7D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C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CAAC,SAAS;CACxF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;CAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC5D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACvE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CACzD,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;AACvF,CAAC;AACD,MAAa,sCAAoDA,IAAAA,EAAE,OAAO;CACxE,QAAQA,IAAAA,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,mDAAmD;CAChI,qBAAqBA,IAAAA,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,wDAAwD;AACtJ,CAAC;AAED,MAAa,gCAAgCC,eAAAA,OAAO,sCAAsC;CACxF,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/orders-search-by-address.d.ts
4
+ declare const ThanksIoOrdersSearchByAddressInput: z.ZodTypeAny;
5
+ declare const ThanksIoOrdersSearchByAddressOutput: z.ZodTypeAny;
6
+ declare const thanksIoOrdersSearchByAddress: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { thanksIoOrdersSearchByAddress };
9
+ //# sourceMappingURL=orders-search-by-address.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"orders-search-by-address.d.cts","names":[],"sources":["../../src/actions/orders-search-by-address.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAIjD;AAAA,cAkDW,mCAAA,EAAqC,CAAA,CAAE,UAGlD;AAAA,cAEW,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/orders-search-by-address.d.ts
4
+ declare const ThanksIoOrdersSearchByAddressInput: z.ZodTypeAny;
5
+ declare const ThanksIoOrdersSearchByAddressOutput: z.ZodTypeAny;
6
+ declare const thanksIoOrdersSearchByAddress: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { thanksIoOrdersSearchByAddress };
9
+ //# sourceMappingURL=orders-search-by-address.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"orders-search-by-address.d.mts","names":[],"sources":["../../src/actions/orders-search-by-address.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAIjD;AAAA,cAkDW,mCAAA,EAAqC,CAAA,CAAE,UAGlD;AAAA,cAEW,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,71 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/orders-search-by-address.ts
4
+ const ThanksIoOrdersSearchByAddressInput = z.object({
5
+ page: z.number().int().default(1).describe("Page number for paginated results, default is 1.").optional(),
6
+ address: z.string().describe("Street address to search orders by."),
7
+ per_page: z.number().int().default(50).describe("Number of results per page, between 1 and 100, default is 50.").optional()
8
+ });
9
+ const ThanksIoOrdersSearchByAddress_OrderDetailsSchema = z.object({
10
+ size: z.string().describe("Size of the mail piece (e.g., 4x6)."),
11
+ type: z.string().describe("Type of the order (e.g., postcard, letter)."),
12
+ style: z.number().int().describe("Handwriting style ID used."),
13
+ method: z.string().describe("Submission method (e.g., API, Card Builder)."),
14
+ status: z.string().describe("Final status of the order (e.g., Fulfilled)."),
15
+ message: z.string().describe("Message content of the order."),
16
+ created_at: z.string().describe("Timestamp when the order was created."),
17
+ updated_at: z.string().describe("Timestamp when the order was last updated."),
18
+ front_image: z.string().describe("URL of the front image used."),
19
+ grand_total: z.number().int().describe("Grand total amount charged in cents."),
20
+ sub_account_id: z.number().int().describe("Sub account ID used for the order, if any.").nullable().optional(),
21
+ total_recipients: z.number().int().describe("Actual total recipients processed."),
22
+ authorization_total: z.number().int().describe("Authorization total amount in cents."),
23
+ high_quality_preview: z.string().describe("URL of the high-quality preview PDF, if any.").nullable().optional(),
24
+ total_estimated_recipients: z.number().int().describe("Estimated number of recipients for the order.")
25
+ });
26
+ const ThanksIoOrdersSearchByAddress_StatsSchema = z.object({
27
+ failed: z.number().int().describe("Number of items failed."),
28
+ printed: z.number().int().describe("Number of items printed."),
29
+ delivered: z.number().int().describe("Number of items delivered."),
30
+ re_routed: z.number().int().describe("Number of items re-routed."),
31
+ in_transit: z.number().int().describe("Number of items in transit."),
32
+ processing: z.number().int().describe("Number of items currently processing."),
33
+ in_local_area: z.number().int().describe("Number of items in local area."),
34
+ returned_to_sender: z.number().int().describe("Number of items returned to sender."),
35
+ processed_for_delivery: z.number().int().describe("Number processed for delivery.")
36
+ });
37
+ const ThanksIoOrdersSearchByAddress_OrderContainerSchema = z.object({
38
+ id: z.number().int().describe("ID of the order container."),
39
+ order: ThanksIoOrdersSearchByAddress_OrderDetailsSchema.nullable(),
40
+ stats: ThanksIoOrdersSearchByAddress_StatsSchema.nullable(),
41
+ errors: z.array(z.string()).describe("List of errors encountered during processing, if any."),
42
+ returned: z.array(z.string()).describe("List of returned item identifiers, if any.")
43
+ });
44
+ const ThanksIoOrdersSearchByAddress_MatchedOrderItemSchema = z.object({
45
+ city: z.string().describe("Recipient city."),
46
+ name: z.string().describe("Recipient full name of the matched order."),
47
+ status: z.string().describe("Current processing status of this order item."),
48
+ address: z.string().describe("Recipient address line 1."),
49
+ country: z.string().describe("Recipient country code (e.g., US)."),
50
+ failure: z.string().describe("Failure reason for this order item, if any.").nullable().optional(),
51
+ address2: z.string().describe("Recipient address line 2 (if any).").nullable().optional(),
52
+ order_id: z.number().int().describe("The ID of the matched order."),
53
+ province: z.string().describe("Recipient state or province."),
54
+ created_at: z.string().describe("Timestamp when the order was created."),
55
+ postal_code: z.string().describe("Recipient postal code."),
56
+ individual_price: z.number().describe("Price of this individual order item in cents.")
57
+ });
58
+ const thanksIoOrdersSearchByAddress = action("THANKS_IO_ORDERS_SEARCH_BY_ADDRESS", {
59
+ slug: "thanks_io-orders-search-by-address",
60
+ name: "Search Orders by Recipient Street Address",
61
+ description: "Tool to search orders by recipient street address. Use when you need to find all orders sent to a specific street address.",
62
+ input: ThanksIoOrdersSearchByAddressInput,
63
+ output: z.object({
64
+ orders: z.array(ThanksIoOrdersSearchByAddress_OrderContainerSchema).describe("List of full orders matching the search criteria."),
65
+ matched_order_items: z.array(ThanksIoOrdersSearchByAddress_MatchedOrderItemSchema).describe("List of individual matched order items for the search.")
66
+ })
67
+ });
68
+ //#endregion
69
+ export { thanksIoOrdersSearchByAddress };
70
+
71
+ //# sourceMappingURL=orders-search-by-address.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"orders-search-by-address.mjs","names":[],"sources":["../../src/actions/orders-search-by-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ThanksIoOrdersSearchByAddressInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number for paginated results, default is 1.\").optional(),\n address: z.string().describe(\"Street address to search orders by.\"),\n per_page: z.number().int().default(50).describe(\"Number of results per page, between 1 and 100, default is 50.\").optional(),\n});\nconst ThanksIoOrdersSearchByAddress_OrderDetailsSchema: z.ZodTypeAny = z.object({\n size: z.string().describe(\"Size of the mail piece (e.g., 4x6).\"),\n type: z.string().describe(\"Type of the order (e.g., postcard, letter).\"),\n style: z.number().int().describe(\"Handwriting style ID used.\"),\n method: z.string().describe(\"Submission method (e.g., API, Card Builder).\"),\n status: z.string().describe(\"Final status of the order (e.g., Fulfilled).\"),\n message: z.string().describe(\"Message content of the order.\"),\n created_at: z.string().describe(\"Timestamp when the order was created.\"),\n updated_at: z.string().describe(\"Timestamp when the order was last updated.\"),\n front_image: z.string().describe(\"URL of the front image used.\"),\n grand_total: z.number().int().describe(\"Grand total amount charged in cents.\"),\n sub_account_id: z.number().int().describe(\"Sub account ID used for the order, if any.\").nullable().optional(),\n total_recipients: z.number().int().describe(\"Actual total recipients processed.\"),\n authorization_total: z.number().int().describe(\"Authorization total amount in cents.\"),\n high_quality_preview: z.string().describe(\"URL of the high-quality preview PDF, if any.\").nullable().optional(),\n total_estimated_recipients: z.number().int().describe(\"Estimated number of recipients for the order.\"),\n});\nconst ThanksIoOrdersSearchByAddress_StatsSchema: z.ZodTypeAny = z.object({\n failed: z.number().int().describe(\"Number of items failed.\"),\n printed: z.number().int().describe(\"Number of items printed.\"),\n delivered: z.number().int().describe(\"Number of items delivered.\"),\n re_routed: z.number().int().describe(\"Number of items re-routed.\"),\n in_transit: z.number().int().describe(\"Number of items in transit.\"),\n processing: z.number().int().describe(\"Number of items currently processing.\"),\n in_local_area: z.number().int().describe(\"Number of items in local area.\"),\n returned_to_sender: z.number().int().describe(\"Number of items returned to sender.\"),\n processed_for_delivery: z.number().int().describe(\"Number processed for delivery.\"),\n});\nconst ThanksIoOrdersSearchByAddress_OrderContainerSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the order container.\"),\n order: ThanksIoOrdersSearchByAddress_OrderDetailsSchema.nullable(),\n stats: ThanksIoOrdersSearchByAddress_StatsSchema.nullable(),\n errors: z.array(z.string()).describe(\"List of errors encountered during processing, if any.\"),\n returned: z.array(z.string()).describe(\"List of returned item identifiers, if any.\"),\n});\nconst ThanksIoOrdersSearchByAddress_MatchedOrderItemSchema: z.ZodTypeAny = z.object({\n city: z.string().describe(\"Recipient city.\"),\n name: z.string().describe(\"Recipient full name of the matched order.\"),\n status: z.string().describe(\"Current processing status of this order item.\"),\n address: z.string().describe(\"Recipient address line 1.\"),\n country: z.string().describe(\"Recipient country code (e.g., US).\"),\n failure: z.string().describe(\"Failure reason for this order item, if any.\").nullable().optional(),\n address2: z.string().describe(\"Recipient address line 2 (if any).\").nullable().optional(),\n order_id: z.number().int().describe(\"The ID of the matched order.\"),\n province: z.string().describe(\"Recipient state or province.\"),\n created_at: z.string().describe(\"Timestamp when the order was created.\"),\n postal_code: z.string().describe(\"Recipient postal code.\"),\n individual_price: z.number().describe(\"Price of this individual order item in cents.\"),\n});\nexport const ThanksIoOrdersSearchByAddressOutput: z.ZodTypeAny = z.object({\n orders: z.array(ThanksIoOrdersSearchByAddress_OrderContainerSchema).describe(\"List of full orders matching the search criteria.\"),\n matched_order_items: z.array(ThanksIoOrdersSearchByAddress_MatchedOrderItemSchema).describe(\"List of individual matched order items for the search.\"),\n});\n\nexport const thanksIoOrdersSearchByAddress = action(\"THANKS_IO_ORDERS_SEARCH_BY_ADDRESS\", {\n slug: \"thanks_io-orders-search-by-address\",\n name: \"Search Orders by Recipient Street Address\",\n description: \"Tool to search orders by recipient street address. Use when you need to find all orders sent to a specific street address.\",\n input: ThanksIoOrdersSearchByAddressInput,\n output: ThanksIoOrdersSearchByAddressOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmD,EAAE,OAAO;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACxG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAClE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AAC5H,CAAC;AACD,MAAM,mDAAiE,EAAE,OAAO;CAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6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CAAC,CAAC,SAAS,uCAAuC;CACvE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CACzD,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;AACvF,CAAC;AAMD,MAAa,gCAAgC,OAAO,sCAAsC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV+D,EAAE,OAAO;EACxE,QAAQ,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,mDAAmD;EAChI,qBAAqB,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,wDAAwD;CACtJ,CAOU;AACV,CAAC"}
@@ -0,0 +1,51 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/recipients-create-multi.ts
4
+ const ThanksIoRecipientsCreateMultiInput = zod.z.object({
5
+ list_id: zod.z.string().describe("ID of the mailing list to which recipients will be added"),
6
+ recipients: zod.z.array(zod.z.object({
7
+ city: zod.z.string().describe("City of the recipient's address"),
8
+ name: zod.z.string().describe("Full name of the recipient"),
9
+ email: zod.z.string().describe("Recipient's email address").optional(),
10
+ phone: zod.z.string().describe("Recipient's phone number").optional(),
11
+ address: zod.z.string().describe("Primary street address of the recipient"),
12
+ country: zod.z.string().describe("Country code of the recipient's address (ISO 3166-1 alpha-2)"),
13
+ custom1: zod.z.string().describe("Custom field 1 for the recipient").optional(),
14
+ custom2: zod.z.string().describe("Custom field 2 for the recipient").optional(),
15
+ custom3: zod.z.string().describe("Custom field 3 for the recipient").optional(),
16
+ custom4: zod.z.string().describe("Custom field 4 for the recipient").optional(),
17
+ address2: zod.z.string().describe("Additional address information (e.g., apartment or suite number)").optional(),
18
+ province: zod.z.string().describe("State or province of the recipient's address"),
19
+ postal_code: zod.z.string().describe("Postal or ZIP code of the recipient's address")
20
+ }).describe("Model representing a recipient to be created.")).describe("List of recipients to create at once in the mailing list")
21
+ }).describe("Request model for creating multiple recipients in a mailing list.");
22
+ const ThanksIoRecipientsCreateMulti_RecipientCreateResponseSchema = zod.z.object({
23
+ id: zod.z.string().describe("Unique identifier of the newly created recipient"),
24
+ city: zod.z.string().describe("City of the recipient's address"),
25
+ name: zod.z.string().describe("Full name of the recipient"),
26
+ email: zod.z.string().describe("Recipient's email address").nullable().optional(),
27
+ phone: zod.z.string().describe("Recipient's phone number").nullable().optional(),
28
+ address: zod.z.string().describe("Primary street address of the recipient"),
29
+ country: zod.z.string().describe("Country code of the recipient's address"),
30
+ custom1: zod.z.string().describe("Custom field 1 for the recipient").nullable().optional(),
31
+ custom2: zod.z.string().describe("Custom field 2 for the recipient").nullable().optional(),
32
+ custom3: zod.z.string().describe("Custom field 3 for the recipient").nullable().optional(),
33
+ custom4: zod.z.string().describe("Custom field 4 for the recipient").nullable().optional(),
34
+ address2: zod.z.string().describe("Additional address information").nullable().optional(),
35
+ province: zod.z.string().describe("State or province of the recipient's address"),
36
+ created_at: zod.z.string().describe("Timestamp when the recipient was created (ISO 8601)"),
37
+ postal_code: zod.z.string().describe("Postal or ZIP code of the recipient's address"),
38
+ mailing_list: zod.z.string().describe("ID of the mailing list the recipient was added to")
39
+ }).describe("Response model for a single created recipient.");
40
+ const ThanksIoRecipientsCreateMultiOutput = zod.z.object({ recipients: zod.z.array(ThanksIoRecipientsCreateMulti_RecipientCreateResponseSchema).describe("List of recipients created successfully") }).describe("Response model for creating multiple recipients.");
41
+ const thanksIoRecipientsCreateMulti = require_action.action("THANKS_IO_RECIPIENTS_CREATE_MULTI", {
42
+ slug: "thanks_io-recipients-create-multi",
43
+ name: "Create Multiple Recipients",
44
+ description: "Tool to create multiple recipients at once in a mailing list. Use when batching recipient additions for efficiency.",
45
+ input: ThanksIoRecipientsCreateMultiInput,
46
+ output: ThanksIoRecipientsCreateMultiOutput
47
+ });
48
+ //#endregion
49
+ exports.thanksIoRecipientsCreateMulti = thanksIoRecipientsCreateMulti;
50
+
51
+ //# sourceMappingURL=recipients-create-multi.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recipients-create-multi.cjs","names":["z","action"],"sources":["../../src/actions/recipients-create-multi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ThanksIoRecipientsCreateMultiInput: z.ZodTypeAny = z.object({\n list_id: z.string().describe(\"ID of the mailing list to which recipients will be added\"),\n recipients: z.array(z.object({\n city: z.string().describe(\"City of the recipient's address\"),\n name: z.string().describe(\"Full name of the recipient\"),\n email: z.string().describe(\"Recipient's email address\").optional(),\n phone: z.string().describe(\"Recipient's phone number\").optional(),\n address: z.string().describe(\"Primary street address of the recipient\"),\n country: z.string().describe(\"Country code of the recipient's address (ISO 3166-1 alpha-2)\"),\n custom1: z.string().describe(\"Custom field 1 for the recipient\").optional(),\n custom2: z.string().describe(\"Custom field 2 for the recipient\").optional(),\n custom3: z.string().describe(\"Custom field 3 for the recipient\").optional(),\n custom4: z.string().describe(\"Custom field 4 for the recipient\").optional(),\n address2: z.string().describe(\"Additional address information (e.g., apartment or suite number)\").optional(),\n province: z.string().describe(\"State or province of the recipient's address\"),\n postal_code: z.string().describe(\"Postal or ZIP code of the recipient's address\"),\n}).describe(\"Model representing a recipient to be created.\")).describe(\"List of recipients to create at once in the mailing list\"),\n}).describe(\"Request model for creating multiple recipients in a mailing list.\");\nconst ThanksIoRecipientsCreateMulti_RecipientCreateResponseSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the newly created recipient\"),\n city: z.string().describe(\"City of the recipient's address\"),\n name: z.string().describe(\"Full name of the recipient\"),\n email: z.string().describe(\"Recipient's email address\").nullable().optional(),\n phone: z.string().describe(\"Recipient's phone number\").nullable().optional(),\n address: z.string().describe(\"Primary street address of the recipient\"),\n country: z.string().describe(\"Country code of the recipient's address\"),\n custom1: z.string().describe(\"Custom field 1 for the recipient\").nullable().optional(),\n custom2: z.string().describe(\"Custom field 2 for the recipient\").nullable().optional(),\n custom3: z.string().describe(\"Custom field 3 for the recipient\").nullable().optional(),\n custom4: z.string().describe(\"Custom field 4 for the recipient\").nullable().optional(),\n address2: z.string().describe(\"Additional address information\").nullable().optional(),\n province: z.string().describe(\"State or province of the recipient's address\"),\n created_at: z.string().describe(\"Timestamp when the recipient was created (ISO 8601)\"),\n postal_code: z.string().describe(\"Postal or ZIP code of the recipient's address\"),\n mailing_list: z.string().describe(\"ID of the mailing list the recipient was added to\"),\n}).describe(\"Response model for a single created recipient.\");\nexport const ThanksIoRecipientsCreateMultiOutput: z.ZodTypeAny = z.object({\n recipients: z.array(ThanksIoRecipientsCreateMulti_RecipientCreateResponseSchema).describe(\"List of recipients created successfully\"),\n}).describe(\"Response model for creating multiple recipients.\");\n\nexport const thanksIoRecipientsCreateMulti = action(\"THANKS_IO_RECIPIENTS_CREATE_MULTI\", {\n slug: \"thanks_io-recipients-create-multi\",\n name: \"Create Multiple Recipients\",\n description: \"Tool to create multiple recipients at once in a mailing list. Use when batching recipient additions for efficiency.\",\n input: ThanksIoRecipientsCreateMultiInput,\n output: ThanksIoRecipientsCreateMultiOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACvF,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC7B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;EAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACjE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAChE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;EACtE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;EAC3F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SA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AC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC5E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CACrF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAChF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;AACvF,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAa,sCAAoDA,IAAAA,EAAE,OAAO,EACxE,YAAYA,IAAAA,EAAE,MAAM,2DAA2D,CAAC,CAAC,SAAS,yCAAyC,EACrI,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,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/recipients-create-multi.d.ts
4
+ declare const ThanksIoRecipientsCreateMultiInput: z.ZodTypeAny;
5
+ declare const ThanksIoRecipientsCreateMultiOutput: z.ZodTypeAny;
6
+ declare const thanksIoRecipientsCreateMulti: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { thanksIoRecipientsCreateMulti };
9
+ //# sourceMappingURL=recipients-create-multi.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recipients-create-multi.d.cts","names":[],"sources":["../../src/actions/recipients-create-multi.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAiB6B;AAAA,cAmBnE,mCAAA,EAAqC,CAAA,CAAE,UAEW;AAAA,cAElD,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/recipients-create-multi.d.ts
4
+ declare const ThanksIoRecipientsCreateMultiInput: z.ZodTypeAny;
5
+ declare const ThanksIoRecipientsCreateMultiOutput: z.ZodTypeAny;
6
+ declare const thanksIoRecipientsCreateMulti: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { thanksIoRecipientsCreateMulti };
9
+ //# sourceMappingURL=recipients-create-multi.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recipients-create-multi.d.mts","names":[],"sources":["../../src/actions/recipients-create-multi.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAiB6B;AAAA,cAmBnE,mCAAA,EAAqC,CAAA,CAAE,UAEW;AAAA,cAElD,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,50 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/recipients-create-multi.ts
4
+ const ThanksIoRecipientsCreateMultiInput = z.object({
5
+ list_id: z.string().describe("ID of the mailing list to which recipients will be added"),
6
+ recipients: z.array(z.object({
7
+ city: z.string().describe("City of the recipient's address"),
8
+ name: z.string().describe("Full name of the recipient"),
9
+ email: z.string().describe("Recipient's email address").optional(),
10
+ phone: z.string().describe("Recipient's phone number").optional(),
11
+ address: z.string().describe("Primary street address of the recipient"),
12
+ country: z.string().describe("Country code of the recipient's address (ISO 3166-1 alpha-2)"),
13
+ custom1: z.string().describe("Custom field 1 for the recipient").optional(),
14
+ custom2: z.string().describe("Custom field 2 for the recipient").optional(),
15
+ custom3: z.string().describe("Custom field 3 for the recipient").optional(),
16
+ custom4: z.string().describe("Custom field 4 for the recipient").optional(),
17
+ address2: z.string().describe("Additional address information (e.g., apartment or suite number)").optional(),
18
+ province: z.string().describe("State or province of the recipient's address"),
19
+ postal_code: z.string().describe("Postal or ZIP code of the recipient's address")
20
+ }).describe("Model representing a recipient to be created.")).describe("List of recipients to create at once in the mailing list")
21
+ }).describe("Request model for creating multiple recipients in a mailing list.");
22
+ const ThanksIoRecipientsCreateMulti_RecipientCreateResponseSchema = z.object({
23
+ id: z.string().describe("Unique identifier of the newly created recipient"),
24
+ city: z.string().describe("City of the recipient's address"),
25
+ name: z.string().describe("Full name of the recipient"),
26
+ email: z.string().describe("Recipient's email address").nullable().optional(),
27
+ phone: z.string().describe("Recipient's phone number").nullable().optional(),
28
+ address: z.string().describe("Primary street address of the recipient"),
29
+ country: z.string().describe("Country code of the recipient's address"),
30
+ custom1: z.string().describe("Custom field 1 for the recipient").nullable().optional(),
31
+ custom2: z.string().describe("Custom field 2 for the recipient").nullable().optional(),
32
+ custom3: z.string().describe("Custom field 3 for the recipient").nullable().optional(),
33
+ custom4: z.string().describe("Custom field 4 for the recipient").nullable().optional(),
34
+ address2: z.string().describe("Additional address information").nullable().optional(),
35
+ province: z.string().describe("State or province of the recipient's address"),
36
+ created_at: z.string().describe("Timestamp when the recipient was created (ISO 8601)"),
37
+ postal_code: z.string().describe("Postal or ZIP code of the recipient's address"),
38
+ mailing_list: z.string().describe("ID of the mailing list the recipient was added to")
39
+ }).describe("Response model for a single created recipient.");
40
+ const thanksIoRecipientsCreateMulti = action("THANKS_IO_RECIPIENTS_CREATE_MULTI", {
41
+ slug: "thanks_io-recipients-create-multi",
42
+ name: "Create Multiple Recipients",
43
+ description: "Tool to create multiple recipients at once in a mailing list. Use when batching recipient additions for efficiency.",
44
+ input: ThanksIoRecipientsCreateMultiInput,
45
+ output: z.object({ recipients: z.array(ThanksIoRecipientsCreateMulti_RecipientCreateResponseSchema).describe("List of recipients created successfully") }).describe("Response model for creating multiple recipients.")
46
+ });
47
+ //#endregion
48
+ export { thanksIoRecipientsCreateMulti };
49
+
50
+ //# sourceMappingURL=recipients-create-multi.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recipients-create-multi.mjs","names":[],"sources":["../../src/actions/recipients-create-multi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ThanksIoRecipientsCreateMultiInput: z.ZodTypeAny = z.object({\n list_id: z.string().describe(\"ID of the mailing list to which recipients will be added\"),\n recipients: z.array(z.object({\n city: z.string().describe(\"City of the recipient's address\"),\n name: z.string().describe(\"Full name of the recipient\"),\n email: z.string().describe(\"Recipient's email address\").optional(),\n phone: z.string().describe(\"Recipient's phone number\").optional(),\n address: z.string().describe(\"Primary street address of the recipient\"),\n country: z.string().describe(\"Country code of the recipient's address (ISO 3166-1 alpha-2)\"),\n custom1: z.string().describe(\"Custom field 1 for the recipient\").optional(),\n custom2: z.string().describe(\"Custom field 2 for the recipient\").optional(),\n custom3: z.string().describe(\"Custom field 3 for the recipient\").optional(),\n custom4: z.string().describe(\"Custom field 4 for the recipient\").optional(),\n address2: z.string().describe(\"Additional address information (e.g., apartment or suite number)\").optional(),\n province: z.string().describe(\"State or province of the recipient's address\"),\n postal_code: z.string().describe(\"Postal or ZIP code of the recipient's address\"),\n}).describe(\"Model representing a recipient to be created.\")).describe(\"List of recipients to create at once in the mailing list\"),\n}).describe(\"Request model for creating multiple recipients in a mailing list.\");\nconst ThanksIoRecipientsCreateMulti_RecipientCreateResponseSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the newly created recipient\"),\n city: z.string().describe(\"City of the recipient's address\"),\n name: z.string().describe(\"Full name of the recipient\"),\n email: z.string().describe(\"Recipient's email address\").nullable().optional(),\n phone: z.string().describe(\"Recipient's phone number\").nullable().optional(),\n address: z.string().describe(\"Primary street address of the recipient\"),\n country: z.string().describe(\"Country code of the recipient's address\"),\n custom1: z.string().describe(\"Custom field 1 for the recipient\").nullable().optional(),\n custom2: z.string().describe(\"Custom field 2 for the recipient\").nullable().optional(),\n custom3: z.string().describe(\"Custom field 3 for the recipient\").nullable().optional(),\n custom4: z.string().describe(\"Custom field 4 for the recipient\").nullable().optional(),\n address2: z.string().describe(\"Additional address information\").nullable().optional(),\n province: z.string().describe(\"State or province of the recipient's address\"),\n created_at: z.string().describe(\"Timestamp when the recipient was created (ISO 8601)\"),\n postal_code: z.string().describe(\"Postal or ZIP code of the recipient's address\"),\n mailing_list: z.string().describe(\"ID of the mailing list the recipient was added to\"),\n}).describe(\"Response model for a single created recipient.\");\nexport const ThanksIoRecipientsCreateMultiOutput: z.ZodTypeAny = z.object({\n recipients: z.array(ThanksIoRecipientsCreateMulti_RecipientCreateResponseSchema).describe(\"List of recipients created successfully\"),\n}).describe(\"Response model for creating multiple recipients.\");\n\nexport const thanksIoRecipientsCreateMulti = action(\"THANKS_IO_RECIPIENTS_CREATE_MULTI\", {\n slug: \"thanks_io-recipients-create-multi\",\n name: \"Create Multiple Recipients\",\n description: \"Tool to create multiple recipients at once in a mailing list. Use when batching recipient additions for efficiency.\",\n input: ThanksIoRecipientsCreateMultiInput,\n output: ThanksIoRecipientsCreateMultiOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmD,EAAE,OAAO;CACvE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACvF,YAAY,EAAE,MAAM,EAAE,OAAO;EAC7B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EACtD,OAAO,EAAE,O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AAS,yCAAyC;CACtE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CACrF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAChF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;AACvF,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAK5D,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT+D,EAAE,OAAO,EACxE,YAAY,EAAE,MAAM,2DAA2D,CAAC,CAAC,SAAS,yCAAyC,EACrI,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
@@ -0,0 +1,22 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/recipients-delete-by-address.ts
4
+ const ThanksIoRecipientsDeleteByAddressInput = zod.z.object({
5
+ address: zod.z.string().describe("Full street address of the recipient"),
6
+ postal_code: zod.z.string().describe("Postal or ZIP code of the recipient's address")
7
+ }).describe("Request parameters to delete a recipient by address and postal code.");
8
+ const ThanksIoRecipientsDeleteByAddressOutput = zod.z.object({
9
+ message: zod.z.string().describe("Deletion status message"),
10
+ success: zod.z.boolean().describe("Indicates if the recipient was successfully deleted")
11
+ }).describe("Response model after deleting a recipient by address.");
12
+ const thanksIoRecipientsDeleteByAddress = require_action.action("THANKS_IO_RECIPIENTS_DELETE_BY_ADDRESS", {
13
+ slug: "thanks_io-recipients-delete-by-address",
14
+ name: "Delete Recipient by Address",
15
+ description: "Tool to delete a recipient by address and postal code. Use when you need to remove a recipient without their ID.",
16
+ input: ThanksIoRecipientsDeleteByAddressInput,
17
+ output: ThanksIoRecipientsDeleteByAddressOutput
18
+ });
19
+ //#endregion
20
+ exports.thanksIoRecipientsDeleteByAddress = thanksIoRecipientsDeleteByAddress;
21
+
22
+ //# sourceMappingURL=recipients-delete-by-address.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recipients-delete-by-address.cjs","names":["z","action"],"sources":["../../src/actions/recipients-delete-by-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ThanksIoRecipientsDeleteByAddressInput: z.ZodTypeAny = z.object({\n address: z.string().describe(\"Full street address of the recipient\"),\n postal_code: z.string().describe(\"Postal or ZIP code of the recipient's address\"),\n}).describe(\"Request parameters to delete a recipient by address and postal code.\");\nexport const ThanksIoRecipientsDeleteByAddressOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Deletion status message\"),\n success: z.boolean().describe(\"Indicates if the recipient was successfully deleted\"),\n}).describe(\"Response model after deleting a recipient by address.\");\n\nexport const thanksIoRecipientsDeleteByAddress = action(\"THANKS_IO_RECIPIENTS_DELETE_BY_ADDRESS\", {\n slug: \"thanks_io-recipients-delete-by-address\",\n name: \"Delete Recipient by Address\",\n description: \"Tool to delete a recipient by address and postal code. Use when you need to remove a recipient without their ID.\",\n input: ThanksIoRecipientsDeleteByAddressInput,\n output: ThanksIoRecipientsDeleteByAddressOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAuDA,IAAAA,EAAE,OAAO;CAC3E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACnE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;AAClF,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAa,0CAAwDA,IAAAA,EAAE,OAAO;CAC5E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACtD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD;AACrF,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAEnE,MAAa,oCAAoCC,eAAAA,OAAO,0CAA0C;CAChG,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/recipients-delete-by-address.d.ts
4
+ declare const ThanksIoRecipientsDeleteByAddressInput: z.ZodTypeAny;
5
+ declare const ThanksIoRecipientsDeleteByAddressOutput: z.ZodTypeAny;
6
+ declare const thanksIoRecipientsDeleteByAddress: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { thanksIoRecipientsDeleteByAddress };
9
+ //# sourceMappingURL=recipients-delete-by-address.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recipients-delete-by-address.d.cts","names":[],"sources":["../../src/actions/recipients-delete-by-address.ts"],"mappings":";;;cAIa,sCAAA,EAAwC,CAAA,CAAE,UAG4B;AAAA,cACtE,uCAAA,EAAyC,CAAA,CAAE,UAGY;AAAA,cAEvD,iCAAA,gCAAiC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/recipients-delete-by-address.d.ts
4
+ declare const ThanksIoRecipientsDeleteByAddressInput: z.ZodTypeAny;
5
+ declare const ThanksIoRecipientsDeleteByAddressOutput: z.ZodTypeAny;
6
+ declare const thanksIoRecipientsDeleteByAddress: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { thanksIoRecipientsDeleteByAddress };
9
+ //# sourceMappingURL=recipients-delete-by-address.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recipients-delete-by-address.d.mts","names":[],"sources":["../../src/actions/recipients-delete-by-address.ts"],"mappings":";;;cAIa,sCAAA,EAAwC,CAAA,CAAE,UAG4B;AAAA,cACtE,uCAAA,EAAyC,CAAA,CAAE,UAGY;AAAA,cAEvD,iCAAA,gCAAiC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,19 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const thanksIoRecipientsDeleteByAddress = action("THANKS_IO_RECIPIENTS_DELETE_BY_ADDRESS", {
4
+ slug: "thanks_io-recipients-delete-by-address",
5
+ name: "Delete Recipient by Address",
6
+ description: "Tool to delete a recipient by address and postal code. Use when you need to remove a recipient without their ID.",
7
+ input: z.object({
8
+ address: z.string().describe("Full street address of the recipient"),
9
+ postal_code: z.string().describe("Postal or ZIP code of the recipient's address")
10
+ }).describe("Request parameters to delete a recipient by address and postal code."),
11
+ output: z.object({
12
+ message: z.string().describe("Deletion status message"),
13
+ success: z.boolean().describe("Indicates if the recipient was successfully deleted")
14
+ }).describe("Response model after deleting a recipient by address.")
15
+ });
16
+ //#endregion
17
+ export { thanksIoRecipientsDeleteByAddress };
18
+
19
+ //# sourceMappingURL=recipients-delete-by-address.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recipients-delete-by-address.mjs","names":[],"sources":["../../src/actions/recipients-delete-by-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ThanksIoRecipientsDeleteByAddressInput: z.ZodTypeAny = z.object({\n address: z.string().describe(\"Full street address of the recipient\"),\n postal_code: z.string().describe(\"Postal or ZIP code of the recipient's address\"),\n}).describe(\"Request parameters to delete a recipient by address and postal code.\");\nexport const ThanksIoRecipientsDeleteByAddressOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Deletion status message\"),\n success: z.boolean().describe(\"Indicates if the recipient was successfully deleted\"),\n}).describe(\"Response model after deleting a recipient by address.\");\n\nexport const thanksIoRecipientsDeleteByAddress = action(\"THANKS_IO_RECIPIENTS_DELETE_BY_ADDRESS\", {\n slug: \"thanks_io-recipients-delete-by-address\",\n name: \"Delete Recipient by Address\",\n description: \"Tool to delete a recipient by address and postal code. Use when you need to remove a recipient without their ID.\",\n input: ThanksIoRecipientsDeleteByAddressInput,\n output: ThanksIoRecipientsDeleteByAddressOutput,\n});\n"],"mappings":";;AAaA,MAAa,oCAAoC,OAAO,0CAA0C;CAChG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbkE,EAAE,OAAO;EAC3E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;EACnE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAClF,CAAC,CAAC,CAAC,SAAS,sEAUH;CACP,QAVmE,EAAE,OAAO;EAC5E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;EACtD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD;CACrF,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}