@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.
- package/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/add-recipient-to-mailing-list.cjs +40 -0
- package/dist/actions/add-recipient-to-mailing-list.cjs.map +1 -0
- package/dist/actions/add-recipient-to-mailing-list.d.cts +9 -0
- package/dist/actions/add-recipient-to-mailing-list.d.cts.map +1 -0
- package/dist/actions/add-recipient-to-mailing-list.d.mts +9 -0
- package/dist/actions/add-recipient-to-mailing-list.d.mts.map +1 -0
- package/dist/actions/add-recipient-to-mailing-list.mjs +37 -0
- package/dist/actions/add-recipient-to-mailing-list.mjs.map +1 -0
- package/dist/actions/create-mailing-list.cjs +28 -0
- package/dist/actions/create-mailing-list.cjs.map +1 -0
- package/dist/actions/create-mailing-list.d.cts +9 -0
- package/dist/actions/create-mailing-list.d.cts.map +1 -0
- package/dist/actions/create-mailing-list.d.mts +9 -0
- package/dist/actions/create-mailing-list.d.mts.map +1 -0
- package/dist/actions/create-mailing-list.mjs +25 -0
- package/dist/actions/create-mailing-list.mjs.map +1 -0
- package/dist/actions/delete-mailing-list.cjs +19 -0
- package/dist/actions/delete-mailing-list.cjs.map +1 -0
- package/dist/actions/delete-mailing-list.d.cts +9 -0
- package/dist/actions/delete-mailing-list.d.cts.map +1 -0
- package/dist/actions/delete-mailing-list.d.mts +9 -0
- package/dist/actions/delete-mailing-list.d.mts.map +1 -0
- package/dist/actions/delete-mailing-list.mjs +16 -0
- package/dist/actions/delete-mailing-list.mjs.map +1 -0
- package/dist/actions/delete-recipient-from-mailing-list.cjs +19 -0
- package/dist/actions/delete-recipient-from-mailing-list.cjs.map +1 -0
- package/dist/actions/delete-recipient-from-mailing-list.d.cts +9 -0
- package/dist/actions/delete-recipient-from-mailing-list.d.cts.map +1 -0
- package/dist/actions/delete-recipient-from-mailing-list.d.mts +9 -0
- package/dist/actions/delete-recipient-from-mailing-list.d.mts.map +1 -0
- package/dist/actions/delete-recipient-from-mailing-list.mjs +16 -0
- package/dist/actions/delete-recipient-from-mailing-list.mjs.map +1 -0
- package/dist/actions/delete-sub-account.cjs +19 -0
- package/dist/actions/delete-sub-account.cjs.map +1 -0
- package/dist/actions/delete-sub-account.d.cts +9 -0
- package/dist/actions/delete-sub-account.d.cts.map +1 -0
- package/dist/actions/delete-sub-account.d.mts +9 -0
- package/dist/actions/delete-sub-account.d.mts.map +1 -0
- package/dist/actions/delete-sub-account.mjs +16 -0
- package/dist/actions/delete-sub-account.mjs.map +1 -0
- package/dist/actions/execute-stored-send.cjs +25 -0
- package/dist/actions/execute-stored-send.cjs.map +1 -0
- package/dist/actions/execute-stored-send.d.cts +9 -0
- package/dist/actions/execute-stored-send.d.cts.map +1 -0
- package/dist/actions/execute-stored-send.d.mts +9 -0
- package/dist/actions/execute-stored-send.d.mts.map +1 -0
- package/dist/actions/execute-stored-send.mjs +22 -0
- package/dist/actions/execute-stored-send.mjs.map +1 -0
- package/dist/actions/index.cjs +59 -0
- package/dist/actions/index.d.cts +30 -0
- package/dist/actions/index.d.mts +30 -0
- package/dist/actions/index.mjs +30 -0
- package/dist/actions/list-handwriting-styles.cjs +21 -0
- package/dist/actions/list-handwriting-styles.cjs.map +1 -0
- package/dist/actions/list-handwriting-styles.d.cts +9 -0
- package/dist/actions/list-handwriting-styles.d.cts.map +1 -0
- package/dist/actions/list-handwriting-styles.d.mts +9 -0
- package/dist/actions/list-handwriting-styles.d.mts.map +1 -0
- package/dist/actions/list-handwriting-styles.mjs +20 -0
- package/dist/actions/list-handwriting-styles.mjs.map +1 -0
- package/dist/actions/list-image-templates.cjs +30 -0
- package/dist/actions/list-image-templates.cjs.map +1 -0
- package/dist/actions/list-image-templates.d.cts +9 -0
- package/dist/actions/list-image-templates.d.cts.map +1 -0
- package/dist/actions/list-image-templates.d.mts +9 -0
- package/dist/actions/list-image-templates.d.mts.map +1 -0
- package/dist/actions/list-image-templates.mjs +29 -0
- package/dist/actions/list-image-templates.mjs.map +1 -0
- package/dist/actions/list-mailing-lists.cjs +16 -0
- package/dist/actions/list-mailing-lists.cjs.map +1 -0
- package/dist/actions/list-mailing-lists.d.cts +9 -0
- package/dist/actions/list-mailing-lists.d.cts.map +1 -0
- package/dist/actions/list-mailing-lists.d.mts +9 -0
- package/dist/actions/list-mailing-lists.d.mts.map +1 -0
- package/dist/actions/list-mailing-lists.mjs +13 -0
- package/dist/actions/list-mailing-lists.mjs.map +1 -0
- package/dist/actions/list-message-templates.cjs +26 -0
- package/dist/actions/list-message-templates.cjs.map +1 -0
- package/dist/actions/list-message-templates.d.cts +9 -0
- package/dist/actions/list-message-templates.d.cts.map +1 -0
- package/dist/actions/list-message-templates.d.mts +9 -0
- package/dist/actions/list-message-templates.d.mts.map +1 -0
- package/dist/actions/list-message-templates.mjs +25 -0
- package/dist/actions/list-message-templates.mjs.map +1 -0
- package/dist/actions/mailing-lists-buy-radius-search.cjs +47 -0
- package/dist/actions/mailing-lists-buy-radius-search.cjs.map +1 -0
- package/dist/actions/mailing-lists-buy-radius-search.d.cts +9 -0
- package/dist/actions/mailing-lists-buy-radius-search.d.cts.map +1 -0
- package/dist/actions/mailing-lists-buy-radius-search.d.mts +9 -0
- package/dist/actions/mailing-lists-buy-radius-search.d.mts.map +1 -0
- package/dist/actions/mailing-lists-buy-radius-search.mjs +44 -0
- package/dist/actions/mailing-lists-buy-radius-search.mjs.map +1 -0
- package/dist/actions/order-preview-letter.cjs +38 -0
- package/dist/actions/order-preview-letter.cjs.map +1 -0
- package/dist/actions/order-preview-letter.d.cts +9 -0
- package/dist/actions/order-preview-letter.d.cts.map +1 -0
- package/dist/actions/order-preview-letter.d.mts +9 -0
- package/dist/actions/order-preview-letter.d.mts.map +1 -0
- package/dist/actions/order-preview-letter.mjs +35 -0
- package/dist/actions/order-preview-letter.mjs.map +1 -0
- package/dist/actions/order-preview-notecard.cjs +33 -0
- package/dist/actions/order-preview-notecard.cjs.map +1 -0
- package/dist/actions/order-preview-notecard.d.cts +9 -0
- package/dist/actions/order-preview-notecard.d.cts.map +1 -0
- package/dist/actions/order-preview-notecard.d.mts +9 -0
- package/dist/actions/order-preview-notecard.d.mts.map +1 -0
- package/dist/actions/order-preview-notecard.mjs +32 -0
- package/dist/actions/order-preview-notecard.mjs.map +1 -0
- package/dist/actions/order-preview-windowless-letter.cjs +32 -0
- package/dist/actions/order-preview-windowless-letter.cjs.map +1 -0
- package/dist/actions/order-preview-windowless-letter.d.cts +9 -0
- package/dist/actions/order-preview-windowless-letter.d.cts.map +1 -0
- package/dist/actions/order-preview-windowless-letter.d.mts +9 -0
- package/dist/actions/order-preview-windowless-letter.d.mts.map +1 -0
- package/dist/actions/order-preview-windowless-letter.mjs +29 -0
- package/dist/actions/order-preview-windowless-letter.mjs.map +1 -0
- package/dist/actions/orders-list.cjs +61 -0
- package/dist/actions/orders-list.cjs.map +1 -0
- package/dist/actions/orders-list.d.cts +9 -0
- package/dist/actions/orders-list.d.cts.map +1 -0
- package/dist/actions/orders-list.d.mts +9 -0
- package/dist/actions/orders-list.d.mts.map +1 -0
- package/dist/actions/orders-list.mjs +60 -0
- package/dist/actions/orders-list.mjs.map +1 -0
- package/dist/actions/orders-search-by-address.cjs +72 -0
- package/dist/actions/orders-search-by-address.cjs.map +1 -0
- package/dist/actions/orders-search-by-address.d.cts +9 -0
- package/dist/actions/orders-search-by-address.d.cts.map +1 -0
- package/dist/actions/orders-search-by-address.d.mts +9 -0
- package/dist/actions/orders-search-by-address.d.mts.map +1 -0
- package/dist/actions/orders-search-by-address.mjs +71 -0
- package/dist/actions/orders-search-by-address.mjs.map +1 -0
- package/dist/actions/recipients-create-multi.cjs +51 -0
- package/dist/actions/recipients-create-multi.cjs.map +1 -0
- package/dist/actions/recipients-create-multi.d.cts +9 -0
- package/dist/actions/recipients-create-multi.d.cts.map +1 -0
- package/dist/actions/recipients-create-multi.d.mts +9 -0
- package/dist/actions/recipients-create-multi.d.mts.map +1 -0
- package/dist/actions/recipients-create-multi.mjs +50 -0
- package/dist/actions/recipients-create-multi.mjs.map +1 -0
- package/dist/actions/recipients-delete-by-address.cjs +22 -0
- package/dist/actions/recipients-delete-by-address.cjs.map +1 -0
- package/dist/actions/recipients-delete-by-address.d.cts +9 -0
- package/dist/actions/recipients-delete-by-address.d.cts.map +1 -0
- package/dist/actions/recipients-delete-by-address.d.mts +9 -0
- package/dist/actions/recipients-delete-by-address.d.mts.map +1 -0
- package/dist/actions/recipients-delete-by-address.mjs +19 -0
- package/dist/actions/recipients-delete-by-address.mjs.map +1 -0
- package/dist/actions/recipients-get-details.cjs +33 -0
- package/dist/actions/recipients-get-details.cjs.map +1 -0
- package/dist/actions/recipients-get-details.d.cts +9 -0
- package/dist/actions/recipients-get-details.d.cts.map +1 -0
- package/dist/actions/recipients-get-details.d.mts +9 -0
- package/dist/actions/recipients-get-details.d.mts.map +1 -0
- package/dist/actions/recipients-get-details.mjs +30 -0
- package/dist/actions/recipients-get-details.mjs.map +1 -0
- package/dist/actions/recipients-search-by-email.cjs +52 -0
- package/dist/actions/recipients-search-by-email.cjs.map +1 -0
- package/dist/actions/recipients-search-by-email.d.cts +9 -0
- package/dist/actions/recipients-search-by-email.d.cts.map +1 -0
- package/dist/actions/recipients-search-by-email.d.mts +9 -0
- package/dist/actions/recipients-search-by-email.d.mts.map +1 -0
- package/dist/actions/recipients-search-by-email.mjs +51 -0
- package/dist/actions/recipients-search-by-email.mjs.map +1 -0
- package/dist/actions/recipients-update.cjs +49 -0
- package/dist/actions/recipients-update.cjs.map +1 -0
- package/dist/actions/recipients-update.d.cts +9 -0
- package/dist/actions/recipients-update.d.cts.map +1 -0
- package/dist/actions/recipients-update.d.mts +9 -0
- package/dist/actions/recipients-update.d.mts.map +1 -0
- package/dist/actions/recipients-update.mjs +46 -0
- package/dist/actions/recipients-update.mjs.map +1 -0
- package/dist/actions/send-postcard.cjs +91 -0
- package/dist/actions/send-postcard.cjs.map +1 -0
- package/dist/actions/send-postcard.d.cts +9 -0
- package/dist/actions/send-postcard.d.cts.map +1 -0
- package/dist/actions/send-postcard.d.mts +9 -0
- package/dist/actions/send-postcard.d.mts.map +1 -0
- package/dist/actions/send-postcard.mjs +90 -0
- package/dist/actions/send-postcard.mjs.map +1 -0
- package/dist/actions/stored-send-notecard.cjs +39 -0
- package/dist/actions/stored-send-notecard.cjs.map +1 -0
- package/dist/actions/stored-send-notecard.d.cts +9 -0
- package/dist/actions/stored-send-notecard.d.cts.map +1 -0
- package/dist/actions/stored-send-notecard.d.mts +9 -0
- package/dist/actions/stored-send-notecard.d.mts.map +1 -0
- package/dist/actions/stored-send-notecard.mjs +36 -0
- package/dist/actions/stored-send-notecard.mjs.map +1 -0
- package/dist/actions/stored-send-postcard.cjs +44 -0
- package/dist/actions/stored-send-postcard.cjs.map +1 -0
- package/dist/actions/stored-send-postcard.d.cts +9 -0
- package/dist/actions/stored-send-postcard.d.cts.map +1 -0
- package/dist/actions/stored-send-postcard.d.mts +9 -0
- package/dist/actions/stored-send-postcard.d.mts.map +1 -0
- package/dist/actions/stored-send-postcard.mjs +41 -0
- package/dist/actions/stored-send-postcard.mjs.map +1 -0
- package/dist/actions/stored-send-windowless-letter.cjs +28 -0
- package/dist/actions/stored-send-windowless-letter.cjs.map +1 -0
- package/dist/actions/stored-send-windowless-letter.d.cts +9 -0
- package/dist/actions/stored-send-windowless-letter.d.cts.map +1 -0
- package/dist/actions/stored-send-windowless-letter.d.mts +9 -0
- package/dist/actions/stored-send-windowless-letter.d.mts.map +1 -0
- package/dist/actions/stored-send-windowless-letter.mjs +25 -0
- package/dist/actions/stored-send-windowless-letter.mjs.map +1 -0
- package/dist/actions/sub-accounts-create.cjs +37 -0
- package/dist/actions/sub-accounts-create.cjs.map +1 -0
- package/dist/actions/sub-accounts-create.d.cts +9 -0
- package/dist/actions/sub-accounts-create.d.cts.map +1 -0
- package/dist/actions/sub-accounts-create.d.mts +9 -0
- package/dist/actions/sub-accounts-create.d.mts.map +1 -0
- package/dist/actions/sub-accounts-create.mjs +34 -0
- package/dist/actions/sub-accounts-create.mjs.map +1 -0
- package/dist/actions/sub-accounts-list.cjs +29 -0
- package/dist/actions/sub-accounts-list.cjs.map +1 -0
- package/dist/actions/sub-accounts-list.d.cts +9 -0
- package/dist/actions/sub-accounts-list.d.cts.map +1 -0
- package/dist/actions/sub-accounts-list.d.mts +9 -0
- package/dist/actions/sub-accounts-list.d.mts.map +1 -0
- package/dist/actions/sub-accounts-list.mjs +28 -0
- package/dist/actions/sub-accounts-list.mjs.map +1 -0
- package/dist/actions/sub-accounts-show.cjs +29 -0
- package/dist/actions/sub-accounts-show.cjs.map +1 -0
- package/dist/actions/sub-accounts-show.d.cts +9 -0
- package/dist/actions/sub-accounts-show.d.cts.map +1 -0
- package/dist/actions/sub-accounts-show.d.mts +9 -0
- package/dist/actions/sub-accounts-show.d.mts.map +1 -0
- package/dist/actions/sub-accounts-show.mjs +26 -0
- package/dist/actions/sub-accounts-show.mjs.map +1 -0
- package/dist/actions/sub-accounts-update.cjs +36 -0
- package/dist/actions/sub-accounts-update.cjs.map +1 -0
- package/dist/actions/sub-accounts-update.d.cts +9 -0
- package/dist/actions/sub-accounts-update.d.cts.map +1 -0
- package/dist/actions/sub-accounts-update.d.mts +9 -0
- package/dist/actions/sub-accounts-update.d.mts.map +1 -0
- package/dist/actions/sub-accounts-update.mjs +33 -0
- package/dist/actions/sub-accounts-update.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +64 -0
- package/dist/index.d.cts +32 -0
- package/dist/index.d.mts +32 -0
- package/dist/index.mjs +33 -0
- package/package.json +49 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/recipients-get-details.ts
|
|
4
|
+
const ThanksIoRecipientsGetDetailsInput = zod.z.object({ recipient_id: zod.z.string().describe("Unique identifier of the recipient to retrieve") }).describe("Request model for retrieving a recipient's details.");
|
|
5
|
+
const ThanksIoRecipientsGetDetailsOutput = zod.z.object({
|
|
6
|
+
id: zod.z.string().describe("Unique identifier of the recipient"),
|
|
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("Email address of the recipient").nullable().optional(),
|
|
10
|
+
phone: zod.z.string().describe("Phone number of the recipient").nullable().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").nullable().optional(),
|
|
14
|
+
custom2: zod.z.string().describe("Custom field 2").nullable().optional(),
|
|
15
|
+
custom3: zod.z.string().describe("Custom field 3").nullable().optional(),
|
|
16
|
+
custom4: zod.z.string().describe("Custom field 4").nullable().optional(),
|
|
17
|
+
address2: zod.z.string().describe("Additional address information (e.g., suite or apartment)").nullable().optional(),
|
|
18
|
+
province: zod.z.string().describe("State or province of the recipient's address"),
|
|
19
|
+
created_at: zod.z.string().describe("Timestamp when the recipient was created (ISO 8601)"),
|
|
20
|
+
updated_at: zod.z.string().describe("Timestamp when the recipient was last updated (ISO 8601)"),
|
|
21
|
+
postal_code: zod.z.string().describe("Postal or ZIP code of the recipient's address")
|
|
22
|
+
}).describe("Response model representing the recipient details.");
|
|
23
|
+
const thanksIoRecipientsGetDetails = require_action.action("THANKS_IO_RECIPIENTS_GET_DETAILS", {
|
|
24
|
+
slug: "thanks_io-recipients-get-details",
|
|
25
|
+
name: "Get Recipient Details",
|
|
26
|
+
description: "Tool to get details for a specific recipient by ID. Use to verify a recipient’s full address and custom fields.",
|
|
27
|
+
input: ThanksIoRecipientsGetDetailsInput,
|
|
28
|
+
output: ThanksIoRecipientsGetDetailsOutput
|
|
29
|
+
});
|
|
30
|
+
//#endregion
|
|
31
|
+
exports.thanksIoRecipientsGetDetails = thanksIoRecipientsGetDetails;
|
|
32
|
+
|
|
33
|
+
//# sourceMappingURL=recipients-get-details.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recipients-get-details.cjs","names":["z","action"],"sources":["../../src/actions/recipients-get-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ThanksIoRecipientsGetDetailsInput: z.ZodTypeAny = z.object({\n recipient_id: z.string().describe(\"Unique identifier of the recipient to retrieve\"),\n}).describe(\"Request model for retrieving a recipient's details.\");\nexport const ThanksIoRecipientsGetDetailsOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the 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(\"Email address of the recipient\").nullable().optional(),\n phone: z.string().describe(\"Phone number of the recipient\").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 (ISO 3166-1 alpha-2)\"),\n custom1: z.string().describe(\"Custom field 1\").nullable().optional(),\n custom2: z.string().describe(\"Custom field 2\").nullable().optional(),\n custom3: z.string().describe(\"Custom field 3\").nullable().optional(),\n custom4: z.string().describe(\"Custom field 4\").nullable().optional(),\n address2: z.string().describe(\"Additional address information (e.g., suite or apartment)\").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 updated_at: z.string().describe(\"Timestamp when the recipient was last updated (ISO 8601)\"),\n postal_code: z.string().describe(\"Postal or ZIP code of the recipient's address\"),\n}).describe(\"Response model representing the recipient details.\");\n\nexport const thanksIoRecipientsGetDetails = action(\"THANKS_IO_RECIPIENTS_GET_DETAILS\", {\n slug: \"thanks_io-recipients-get-details\",\n name: \"Get Recipient Details\",\n description: \"Tool to get details for a specific recipient by ID. Use to verify a recipient’s full address and custom fields.\",\n input: ThanksIoRecipientsGetDetailsInput,\n output: ThanksIoRecipientsGetDetailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO,EACtE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EACpF,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACtE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CAC3F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC5E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CACrF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CAC1F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;AAClF,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,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/recipients-get-details.d.ts
|
|
4
|
+
declare const ThanksIoRecipientsGetDetailsInput: z.ZodTypeAny;
|
|
5
|
+
declare const ThanksIoRecipientsGetDetailsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const thanksIoRecipientsGetDetails: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { thanksIoRecipientsGetDetails };
|
|
9
|
+
//# sourceMappingURL=recipients-get-details.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recipients-get-details.d.cts","names":[],"sources":["../../src/actions/recipients-get-details.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAEgB;AAAA,cACrD,kCAAA,EAAoC,CAAA,CAAE,UAiBc;AAAA,cAEpD,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/recipients-get-details.d.ts
|
|
4
|
+
declare const ThanksIoRecipientsGetDetailsInput: z.ZodTypeAny;
|
|
5
|
+
declare const ThanksIoRecipientsGetDetailsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const thanksIoRecipientsGetDetails: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { thanksIoRecipientsGetDetails };
|
|
9
|
+
//# sourceMappingURL=recipients-get-details.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recipients-get-details.d.mts","names":[],"sources":["../../src/actions/recipients-get-details.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAEgB;AAAA,cACrD,kCAAA,EAAoC,CAAA,CAAE,UAiBc;AAAA,cAEpD,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const thanksIoRecipientsGetDetails = action("THANKS_IO_RECIPIENTS_GET_DETAILS", {
|
|
4
|
+
slug: "thanks_io-recipients-get-details",
|
|
5
|
+
name: "Get Recipient Details",
|
|
6
|
+
description: "Tool to get details for a specific recipient by ID. Use to verify a recipient’s full address and custom fields.",
|
|
7
|
+
input: z.object({ recipient_id: z.string().describe("Unique identifier of the recipient to retrieve") }).describe("Request model for retrieving a recipient's details."),
|
|
8
|
+
output: z.object({
|
|
9
|
+
id: z.string().describe("Unique identifier of the recipient"),
|
|
10
|
+
city: z.string().describe("City of the recipient's address"),
|
|
11
|
+
name: z.string().describe("Full name of the recipient"),
|
|
12
|
+
email: z.string().describe("Email address of the recipient").nullable().optional(),
|
|
13
|
+
phone: z.string().describe("Phone number of the recipient").nullable().optional(),
|
|
14
|
+
address: z.string().describe("Primary street address of the recipient"),
|
|
15
|
+
country: z.string().describe("Country code of the recipient's address (ISO 3166-1 alpha-2)"),
|
|
16
|
+
custom1: z.string().describe("Custom field 1").nullable().optional(),
|
|
17
|
+
custom2: z.string().describe("Custom field 2").nullable().optional(),
|
|
18
|
+
custom3: z.string().describe("Custom field 3").nullable().optional(),
|
|
19
|
+
custom4: z.string().describe("Custom field 4").nullable().optional(),
|
|
20
|
+
address2: z.string().describe("Additional address information (e.g., suite or apartment)").nullable().optional(),
|
|
21
|
+
province: z.string().describe("State or province of the recipient's address"),
|
|
22
|
+
created_at: z.string().describe("Timestamp when the recipient was created (ISO 8601)"),
|
|
23
|
+
updated_at: z.string().describe("Timestamp when the recipient was last updated (ISO 8601)"),
|
|
24
|
+
postal_code: z.string().describe("Postal or ZIP code of the recipient's address")
|
|
25
|
+
}).describe("Response model representing the recipient details.")
|
|
26
|
+
});
|
|
27
|
+
//#endregion
|
|
28
|
+
export { thanksIoRecipientsGetDetails };
|
|
29
|
+
|
|
30
|
+
//# sourceMappingURL=recipients-get-details.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recipients-get-details.mjs","names":[],"sources":["../../src/actions/recipients-get-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ThanksIoRecipientsGetDetailsInput: z.ZodTypeAny = z.object({\n recipient_id: z.string().describe(\"Unique identifier of the recipient to retrieve\"),\n}).describe(\"Request model for retrieving a recipient's details.\");\nexport const ThanksIoRecipientsGetDetailsOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the 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(\"Email address of the recipient\").nullable().optional(),\n phone: z.string().describe(\"Phone number of the recipient\").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 (ISO 3166-1 alpha-2)\"),\n custom1: z.string().describe(\"Custom field 1\").nullable().optional(),\n custom2: z.string().describe(\"Custom field 2\").nullable().optional(),\n custom3: z.string().describe(\"Custom field 3\").nullable().optional(),\n custom4: z.string().describe(\"Custom field 4\").nullable().optional(),\n address2: z.string().describe(\"Additional address information (e.g., suite or apartment)\").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 updated_at: z.string().describe(\"Timestamp when the recipient was last updated (ISO 8601)\"),\n postal_code: z.string().describe(\"Postal or ZIP code of the recipient's address\"),\n}).describe(\"Response model representing the recipient details.\");\n\nexport const thanksIoRecipientsGetDetails = action(\"THANKS_IO_RECIPIENTS_GET_DETAILS\", {\n slug: \"thanks_io-recipients-get-details\",\n name: \"Get Recipient Details\",\n description: \"Tool to get details for a specific recipient by ID. Use to verify a recipient’s full address and custom fields.\",\n input: ThanksIoRecipientsGetDetailsInput,\n output: ThanksIoRecipientsGetDetailsOutput,\n});\n"],"mappings":";;AA0BA,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA1B6D,EAAE,OAAO,EACtE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EACpF,CAAC,CAAC,C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let zod = require("zod");
|
|
3
|
+
//#region src/actions/recipients-search-by-email.ts
|
|
4
|
+
const ThanksIoRecipientsSearchByEmailInput = zod.z.object({
|
|
5
|
+
email: zod.z.string().describe("Email address to search for."),
|
|
6
|
+
limit: zod.z.number().int().describe("Maximum number of recipients to return; defaults to server limit if unset.").optional(),
|
|
7
|
+
mailing_list_ids: zod.z.array(zod.z.number().int()).describe("Array of mailing list IDs to search in.")
|
|
8
|
+
}).describe("Request model for searching recipients by email across mailing lists.");
|
|
9
|
+
const ThanksIoRecipientsSearchByEmail_RecipientSchema = zod.z.object({
|
|
10
|
+
id: zod.z.number().int().describe("Unique recipient ID."),
|
|
11
|
+
dob: zod.z.string().describe("Date of birth if available.").nullable().optional(),
|
|
12
|
+
city: zod.z.string().describe("City of the recipient's address.").nullable().optional(),
|
|
13
|
+
name: zod.z.string().describe("Full name of the recipient.").nullable().optional(),
|
|
14
|
+
address: zod.z.string().describe("Primary street address.").nullable().optional(),
|
|
15
|
+
country: zod.z.string().describe("Country code (ISO 3166-1 alpha-2).").nullable().optional(),
|
|
16
|
+
custom1: zod.z.string().describe("Custom field 1.").nullable().optional(),
|
|
17
|
+
custom2: zod.z.string().describe("Custom field 2.").nullable().optional(),
|
|
18
|
+
address2: zod.z.string().describe("Secondary address line, if any.").nullable().optional(),
|
|
19
|
+
province: zod.z.string().describe("State or province code.").nullable().optional(),
|
|
20
|
+
created_at: zod.z.string().describe("Timestamp when the recipient was created.").nullable().optional(),
|
|
21
|
+
session_id: zod.z.string().describe("Session identifier, if available.").nullable().optional(),
|
|
22
|
+
updated_at: zod.z.string().describe("Timestamp when last updated.").nullable().optional(),
|
|
23
|
+
can_deliver: zod.z.boolean().describe("Whether deliverable at this address.").nullable().optional(),
|
|
24
|
+
postal_code: zod.z.string().describe("Postal or ZIP code.").nullable().optional(),
|
|
25
|
+
deliverability: zod.z.string().describe("Deliverability status.").nullable().optional(),
|
|
26
|
+
mailing_list_id: zod.z.number().int().describe("Mailing list ID the recipient belongs to.")
|
|
27
|
+
}).describe("Represents a single recipient matching the search criteria.");
|
|
28
|
+
const ThanksIoRecipientsSearchByEmailOutput = zod.z.object({
|
|
29
|
+
to: zod.z.number().int().describe("Index of last recipient on this page (null when no results).").nullable().optional(),
|
|
30
|
+
data: zod.z.array(ThanksIoRecipientsSearchByEmail_RecipientSchema).describe("List of matching recipients on this page."),
|
|
31
|
+
from: zod.z.number().int().describe("Index of first recipient on this page (null when no results).").nullable().optional(),
|
|
32
|
+
path: zod.z.string().describe("Base API path for this endpoint."),
|
|
33
|
+
total: zod.z.number().int().describe("Total matching recipients across all pages."),
|
|
34
|
+
per_page: zod.z.number().int().describe("Results per page as returned by server."),
|
|
35
|
+
last_page: zod.z.number().int().describe("Total number of pages available."),
|
|
36
|
+
current_page: zod.z.number().int().describe("Current page of results."),
|
|
37
|
+
last_page_url: zod.z.string().describe("URL of the last page of results."),
|
|
38
|
+
next_page_url: zod.z.string().describe("URL of the next page, if any.").nullable().optional(),
|
|
39
|
+
prev_page_url: zod.z.string().describe("URL of the previous page, if any.").nullable().optional(),
|
|
40
|
+
first_page_url: zod.z.string().describe("URL of the first page of results.")
|
|
41
|
+
}).describe("Paginated results for a recipient-by-email search.");
|
|
42
|
+
const thanksIoRecipientsSearchByEmail = require_action.action("THANKS_IO_RECIPIENTS_SEARCH_BY_EMAIL", {
|
|
43
|
+
slug: "thanks_io-recipients-search-by-email",
|
|
44
|
+
name: "Search Recipients by Email",
|
|
45
|
+
description: "Tool to search recipients by email across mailing lists. Use when you need to find all recipients matching an email in specific lists. Example: \"Find recipients with email test@test.com in lists [1,2,3].\"",
|
|
46
|
+
input: ThanksIoRecipientsSearchByEmailInput,
|
|
47
|
+
output: ThanksIoRecipientsSearchByEmailOutput
|
|
48
|
+
});
|
|
49
|
+
//#endregion
|
|
50
|
+
exports.thanksIoRecipientsSearchByEmail = thanksIoRecipientsSearchByEmail;
|
|
51
|
+
|
|
52
|
+
//# sourceMappingURL=recipients-search-by-email.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recipients-search-by-email.cjs","names":["z","action"],"sources":["../../src/actions/recipients-search-by-email.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ThanksIoRecipientsSearchByEmailInput: z.ZodTypeAny = z.object({\n email: z.string().describe(\"Email address to search for.\"),\n limit: z.number().int().describe(\"Maximum number of recipients to return; defaults to server limit if unset.\").optional(),\n mailing_list_ids: z.array(z.number().int()).describe(\"Array of mailing list IDs to search in.\"),\n}).describe(\"Request model for searching recipients by email across mailing lists.\");\nconst ThanksIoRecipientsSearchByEmail_RecipientSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique recipient ID.\"),\n dob: z.string().describe(\"Date of birth if available.\").nullable().optional(),\n city: z.string().describe(\"City of the recipient's address.\").nullable().optional(),\n name: z.string().describe(\"Full name of the recipient.\").nullable().optional(),\n address: z.string().describe(\"Primary street address.\").nullable().optional(),\n country: z.string().describe(\"Country code (ISO 3166-1 alpha-2).\").nullable().optional(),\n custom1: z.string().describe(\"Custom field 1.\").nullable().optional(),\n custom2: z.string().describe(\"Custom field 2.\").nullable().optional(),\n address2: z.string().describe(\"Secondary address line, if any.\").nullable().optional(),\n province: z.string().describe(\"State or province code.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the recipient was created.\").nullable().optional(),\n session_id: z.string().describe(\"Session identifier, if available.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when last updated.\").nullable().optional(),\n can_deliver: z.boolean().describe(\"Whether deliverable at this address.\").nullable().optional(),\n postal_code: z.string().describe(\"Postal or ZIP code.\").nullable().optional(),\n deliverability: z.string().describe(\"Deliverability status.\").nullable().optional(),\n mailing_list_id: z.number().int().describe(\"Mailing list ID the recipient belongs to.\"),\n}).describe(\"Represents a single recipient matching the search criteria.\");\nexport const ThanksIoRecipientsSearchByEmailOutput: z.ZodTypeAny = z.object({\n to: z.number().int().describe(\"Index of last recipient on this page (null when no results).\").nullable().optional(),\n data: z.array(ThanksIoRecipientsSearchByEmail_RecipientSchema).describe(\"List of matching recipients on this page.\"),\n from: z.number().int().describe(\"Index of first recipient on this page (null when no results).\").nullable().optional(),\n path: z.string().describe(\"Base API path for this endpoint.\"),\n total: z.number().int().describe(\"Total matching recipients across all pages.\"),\n per_page: z.number().int().describe(\"Results per page as returned by server.\"),\n last_page: z.number().int().describe(\"Total number of pages available.\"),\n current_page: z.number().int().describe(\"Current page of results.\"),\n last_page_url: z.string().describe(\"URL of the last page of results.\"),\n next_page_url: z.string().describe(\"URL of the next page, if any.\").nullable().optional(),\n prev_page_url: z.string().describe(\"URL of the previous page, if any.\").nullable().optional(),\n first_page_url: z.string().describe(\"URL of the first page of results.\"),\n}).describe(\"Paginated results for a recipient-by-email search.\");\n\nexport const thanksIoRecipientsSearchByEmail = action(\"THANKS_IO_RECIPIENTS_SEARCH_BY_EMAIL\", {\n slug: \"thanks_io-recipients-search-by-email\",\n name: \"Search Recipients by Email\",\n description: \"Tool to search recipients by email across mailing lists. Use when you need to find all recipients matching an email in specific lists. Example: \\\"Find recipients with email test@test.com in lists [1,2,3].\\\"\",\n input: ThanksIoRecipientsSearchByEmailInput,\n output: ThanksIoRecipientsSearchByEmailOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAqDA,IAAAA,EAAE,OAAO;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACzD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACxH,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAChG,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,kDAAgEA,IAAAA,EAAE,OAAO;CAC7E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAA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,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;AACzE,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,kCAAkCC,eAAAA,OAAO,wCAAwC;CAC5F,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-search-by-email.d.ts
|
|
4
|
+
declare const ThanksIoRecipientsSearchByEmailInput: z.ZodTypeAny;
|
|
5
|
+
declare const ThanksIoRecipientsSearchByEmailOutput: z.ZodTypeAny;
|
|
6
|
+
declare const thanksIoRecipientsSearchByEmail: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { thanksIoRecipientsSearchByEmail };
|
|
9
|
+
//# sourceMappingURL=recipients-search-by-email.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recipients-search-by-email.d.cts","names":[],"sources":["../../src/actions/recipients-search-by-email.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAI+B;AAAA,cAoBvE,qCAAA,EAAuC,CAAA,CAAE,UAaW;AAAA,cAEpD,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/recipients-search-by-email.d.ts
|
|
4
|
+
declare const ThanksIoRecipientsSearchByEmailInput: z.ZodTypeAny;
|
|
5
|
+
declare const ThanksIoRecipientsSearchByEmailOutput: z.ZodTypeAny;
|
|
6
|
+
declare const thanksIoRecipientsSearchByEmail: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { thanksIoRecipientsSearchByEmail };
|
|
9
|
+
//# sourceMappingURL=recipients-search-by-email.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recipients-search-by-email.d.mts","names":[],"sources":["../../src/actions/recipients-search-by-email.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAI+B;AAAA,cAoBvE,qCAAA,EAAuC,CAAA,CAAE,UAaW;AAAA,cAEpD,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/recipients-search-by-email.ts
|
|
4
|
+
const ThanksIoRecipientsSearchByEmailInput = z.object({
|
|
5
|
+
email: z.string().describe("Email address to search for."),
|
|
6
|
+
limit: z.number().int().describe("Maximum number of recipients to return; defaults to server limit if unset.").optional(),
|
|
7
|
+
mailing_list_ids: z.array(z.number().int()).describe("Array of mailing list IDs to search in.")
|
|
8
|
+
}).describe("Request model for searching recipients by email across mailing lists.");
|
|
9
|
+
const ThanksIoRecipientsSearchByEmail_RecipientSchema = z.object({
|
|
10
|
+
id: z.number().int().describe("Unique recipient ID."),
|
|
11
|
+
dob: z.string().describe("Date of birth if available.").nullable().optional(),
|
|
12
|
+
city: z.string().describe("City of the recipient's address.").nullable().optional(),
|
|
13
|
+
name: z.string().describe("Full name of the recipient.").nullable().optional(),
|
|
14
|
+
address: z.string().describe("Primary street address.").nullable().optional(),
|
|
15
|
+
country: z.string().describe("Country code (ISO 3166-1 alpha-2).").nullable().optional(),
|
|
16
|
+
custom1: z.string().describe("Custom field 1.").nullable().optional(),
|
|
17
|
+
custom2: z.string().describe("Custom field 2.").nullable().optional(),
|
|
18
|
+
address2: z.string().describe("Secondary address line, if any.").nullable().optional(),
|
|
19
|
+
province: z.string().describe("State or province code.").nullable().optional(),
|
|
20
|
+
created_at: z.string().describe("Timestamp when the recipient was created.").nullable().optional(),
|
|
21
|
+
session_id: z.string().describe("Session identifier, if available.").nullable().optional(),
|
|
22
|
+
updated_at: z.string().describe("Timestamp when last updated.").nullable().optional(),
|
|
23
|
+
can_deliver: z.boolean().describe("Whether deliverable at this address.").nullable().optional(),
|
|
24
|
+
postal_code: z.string().describe("Postal or ZIP code.").nullable().optional(),
|
|
25
|
+
deliverability: z.string().describe("Deliverability status.").nullable().optional(),
|
|
26
|
+
mailing_list_id: z.number().int().describe("Mailing list ID the recipient belongs to.")
|
|
27
|
+
}).describe("Represents a single recipient matching the search criteria.");
|
|
28
|
+
const thanksIoRecipientsSearchByEmail = action("THANKS_IO_RECIPIENTS_SEARCH_BY_EMAIL", {
|
|
29
|
+
slug: "thanks_io-recipients-search-by-email",
|
|
30
|
+
name: "Search Recipients by Email",
|
|
31
|
+
description: "Tool to search recipients by email across mailing lists. Use when you need to find all recipients matching an email in specific lists. Example: \"Find recipients with email test@test.com in lists [1,2,3].\"",
|
|
32
|
+
input: ThanksIoRecipientsSearchByEmailInput,
|
|
33
|
+
output: z.object({
|
|
34
|
+
to: z.number().int().describe("Index of last recipient on this page (null when no results).").nullable().optional(),
|
|
35
|
+
data: z.array(ThanksIoRecipientsSearchByEmail_RecipientSchema).describe("List of matching recipients on this page."),
|
|
36
|
+
from: z.number().int().describe("Index of first recipient on this page (null when no results).").nullable().optional(),
|
|
37
|
+
path: z.string().describe("Base API path for this endpoint."),
|
|
38
|
+
total: z.number().int().describe("Total matching recipients across all pages."),
|
|
39
|
+
per_page: z.number().int().describe("Results per page as returned by server."),
|
|
40
|
+
last_page: z.number().int().describe("Total number of pages available."),
|
|
41
|
+
current_page: z.number().int().describe("Current page of results."),
|
|
42
|
+
last_page_url: z.string().describe("URL of the last page of results."),
|
|
43
|
+
next_page_url: z.string().describe("URL of the next page, if any.").nullable().optional(),
|
|
44
|
+
prev_page_url: z.string().describe("URL of the previous page, if any.").nullable().optional(),
|
|
45
|
+
first_page_url: z.string().describe("URL of the first page of results.")
|
|
46
|
+
}).describe("Paginated results for a recipient-by-email search.")
|
|
47
|
+
});
|
|
48
|
+
//#endregion
|
|
49
|
+
export { thanksIoRecipientsSearchByEmail };
|
|
50
|
+
|
|
51
|
+
//# sourceMappingURL=recipients-search-by-email.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recipients-search-by-email.mjs","names":[],"sources":["../../src/actions/recipients-search-by-email.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ThanksIoRecipientsSearchByEmailInput: z.ZodTypeAny = z.object({\n email: z.string().describe(\"Email address to search for.\"),\n limit: z.number().int().describe(\"Maximum number of recipients to return; defaults to server limit if unset.\").optional(),\n mailing_list_ids: z.array(z.number().int()).describe(\"Array of mailing list IDs to search in.\"),\n}).describe(\"Request model for searching recipients by email across mailing lists.\");\nconst ThanksIoRecipientsSearchByEmail_RecipientSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique recipient ID.\"),\n dob: z.string().describe(\"Date of birth if available.\").nullable().optional(),\n city: z.string().describe(\"City of the recipient's address.\").nullable().optional(),\n name: z.string().describe(\"Full name of the recipient.\").nullable().optional(),\n address: z.string().describe(\"Primary street address.\").nullable().optional(),\n country: z.string().describe(\"Country code (ISO 3166-1 alpha-2).\").nullable().optional(),\n custom1: z.string().describe(\"Custom field 1.\").nullable().optional(),\n custom2: z.string().describe(\"Custom field 2.\").nullable().optional(),\n address2: z.string().describe(\"Secondary address line, if any.\").nullable().optional(),\n province: z.string().describe(\"State or province code.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the recipient was created.\").nullable().optional(),\n session_id: z.string().describe(\"Session identifier, if available.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when last updated.\").nullable().optional(),\n can_deliver: z.boolean().describe(\"Whether deliverable at this address.\").nullable().optional(),\n postal_code: z.string().describe(\"Postal or ZIP code.\").nullable().optional(),\n deliverability: z.string().describe(\"Deliverability status.\").nullable().optional(),\n mailing_list_id: z.number().int().describe(\"Mailing list ID the recipient belongs to.\"),\n}).describe(\"Represents a single recipient matching the search criteria.\");\nexport const ThanksIoRecipientsSearchByEmailOutput: z.ZodTypeAny = z.object({\n to: z.number().int().describe(\"Index of last recipient on this page (null when no results).\").nullable().optional(),\n data: z.array(ThanksIoRecipientsSearchByEmail_RecipientSchema).describe(\"List of matching recipients on this page.\"),\n from: z.number().int().describe(\"Index of first recipient on this page (null when no results).\").nullable().optional(),\n path: z.string().describe(\"Base API path for this endpoint.\"),\n total: z.number().int().describe(\"Total matching recipients across all pages.\"),\n per_page: z.number().int().describe(\"Results per page as returned by server.\"),\n last_page: z.number().int().describe(\"Total number of pages available.\"),\n current_page: z.number().int().describe(\"Current page of results.\"),\n last_page_url: z.string().describe(\"URL of the last page of results.\"),\n next_page_url: z.string().describe(\"URL of the next page, if any.\").nullable().optional(),\n prev_page_url: z.string().describe(\"URL of the previous page, if any.\").nullable().optional(),\n first_page_url: z.string().describe(\"URL of the first page of results.\"),\n}).describe(\"Paginated results for a recipient-by-email search.\");\n\nexport const thanksIoRecipientsSearchByEmail = action(\"THANKS_IO_RECIPIENTS_SEARCH_BY_EMAIL\", {\n slug: \"thanks_io-recipients-search-by-email\",\n name: \"Search Recipients by Email\",\n description: \"Tool to search recipients by email across mailing lists. Use when you need to find all recipients matching an email in specific lists. Example: \\\"Find recipients with email test@test.com in lists [1,2,3].\\\"\",\n input: ThanksIoRecipientsSearchByEmailInput,\n output: ThanksIoRecipientsSearchByEmailOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAqD,EAAE,OAAO;CACzE,O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CAAC,SAAS,0BAA0B;EAClE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EACrE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CACzE,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/recipients-update.ts
|
|
4
|
+
const ThanksIoRecipientsUpdateInput = zod.z.object({
|
|
5
|
+
city: zod.z.string().describe("City of the recipient's address").optional(),
|
|
6
|
+
name: zod.z.string().describe("Full name of the recipient").optional(),
|
|
7
|
+
email: zod.z.string().describe("Email address of the recipient").optional(),
|
|
8
|
+
phone: zod.z.string().describe("Phone number of the recipient").optional(),
|
|
9
|
+
address: zod.z.string().describe("Primary street address of the recipient").optional(),
|
|
10
|
+
country: zod.z.string().describe("Country code of the recipient's address (ISO 3166-1 alpha-2)").optional(),
|
|
11
|
+
custom1: zod.z.string().describe("Custom field 1 for the recipient").optional(),
|
|
12
|
+
custom2: zod.z.string().describe("Custom field 2 for the recipient").optional(),
|
|
13
|
+
custom3: zod.z.string().describe("Custom field 3 for the recipient").optional(),
|
|
14
|
+
custom4: zod.z.string().describe("Custom field 4 for the recipient").optional(),
|
|
15
|
+
address2: zod.z.string().describe("Additional address information (e.g., apartment or suite number)").optional(),
|
|
16
|
+
province: zod.z.string().describe("State or province of the recipient's address").optional(),
|
|
17
|
+
postal_code: zod.z.string().describe("Postal or ZIP code of the recipient's address").optional(),
|
|
18
|
+
recipient_id: zod.z.string().describe("Unique identifier of the recipient to update")
|
|
19
|
+
}).describe("Request model for updating an existing recipient's details. Use when modifying recipient information after validating the recipient ID.");
|
|
20
|
+
const ThanksIoRecipientsUpdateOutput = zod.z.object({
|
|
21
|
+
id: zod.z.string().describe("Unique identifier of the recipient"),
|
|
22
|
+
city: zod.z.string().describe("City of the recipient's address").nullable().optional(),
|
|
23
|
+
name: zod.z.string().describe("Full name of the recipient").nullable().optional(),
|
|
24
|
+
email: zod.z.string().describe("Email address of the recipient").nullable().optional(),
|
|
25
|
+
phone: zod.z.string().describe("Phone number of the recipient").nullable().optional(),
|
|
26
|
+
address: zod.z.string().describe("Primary street address of the recipient").nullable().optional(),
|
|
27
|
+
country: zod.z.string().describe("Country code of the recipient's address").nullable().optional(),
|
|
28
|
+
custom1: zod.z.string().describe("Custom field 1 for the recipient").nullable().optional(),
|
|
29
|
+
custom2: zod.z.string().describe("Custom field 2 for the recipient").nullable().optional(),
|
|
30
|
+
custom3: zod.z.string().describe("Custom field 3 for the recipient").nullable().optional(),
|
|
31
|
+
custom4: zod.z.string().describe("Custom field 4 for the recipient").nullable().optional(),
|
|
32
|
+
address2: zod.z.string().describe("Additional address information").nullable().optional(),
|
|
33
|
+
province: zod.z.string().describe("State or province of the recipient's address").nullable().optional(),
|
|
34
|
+
created_at: zod.z.string().describe("Timestamp when the recipient was created").nullable().optional(),
|
|
35
|
+
updated_at: zod.z.string().describe("Timestamp when the recipient was last updated").nullable().optional(),
|
|
36
|
+
postal_code: zod.z.string().describe("Postal or ZIP code of the recipient's address").nullable().optional(),
|
|
37
|
+
mailing_list: zod.z.string().describe("ID of the mailing list the recipient belongs to").nullable().optional()
|
|
38
|
+
}).describe("Response model for the updated recipient.");
|
|
39
|
+
const thanksIoRecipientsUpdate = require_action.action("THANKS_IO_RECIPIENTS_UPDATE", {
|
|
40
|
+
slug: "thanks_io-recipients-update",
|
|
41
|
+
name: "Update Recipient",
|
|
42
|
+
description: "Tool to update existing recipient details by recipient ID. Use when modifying recipient data after confirming the recipient exists.",
|
|
43
|
+
input: ThanksIoRecipientsUpdateInput,
|
|
44
|
+
output: ThanksIoRecipientsUpdateOutput
|
|
45
|
+
});
|
|
46
|
+
//#endregion
|
|
47
|
+
exports.thanksIoRecipientsUpdate = thanksIoRecipientsUpdate;
|
|
48
|
+
|
|
49
|
+
//# sourceMappingURL=recipients-update.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recipients-update.cjs","names":["z","action"],"sources":["../../src/actions/recipients-update.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ThanksIoRecipientsUpdateInput: z.ZodTypeAny = z.object({\n city: z.string().describe(\"City of the recipient's address\").optional(),\n name: z.string().describe(\"Full name of the recipient\").optional(),\n email: z.string().describe(\"Email address of the recipient\").optional(),\n phone: z.string().describe(\"Phone number of the recipient\").optional(),\n address: z.string().describe(\"Primary street address of the recipient\").optional(),\n country: z.string().describe(\"Country code of the recipient's address (ISO 3166-1 alpha-2)\").optional(),\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\").optional(),\n postal_code: z.string().describe(\"Postal or ZIP code of the recipient's address\").optional(),\n recipient_id: z.string().describe(\"Unique identifier of the recipient to update\"),\n}).describe(\"Request model for updating an existing recipient's details. Use when modifying recipient information after validating the recipient ID.\");\nexport const ThanksIoRecipientsUpdateOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the recipient\"),\n city: z.string().describe(\"City of the recipient's address\").nullable().optional(),\n name: z.string().describe(\"Full name of the recipient\").nullable().optional(),\n email: z.string().describe(\"Email address of the recipient\").nullable().optional(),\n phone: z.string().describe(\"Phone number of the recipient\").nullable().optional(),\n address: z.string().describe(\"Primary street address of the recipient\").nullable().optional(),\n country: z.string().describe(\"Country code of the recipient's address\").nullable().optional(),\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\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the recipient was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the recipient was last updated\").nullable().optional(),\n postal_code: z.string().describe(\"Postal or ZIP code of the recipient's address\").nullable().optional(),\n mailing_list: z.string().describe(\"ID of the mailing list the recipient belongs to\").nullable().optional(),\n}).describe(\"Response model for the updated recipient.\");\n\nexport const thanksIoRecipientsUpdate = action(\"THANKS_IO_RECIPIENTS_UPDATE\", {\n slug: \"thanks_io-recipients-update\",\n name: \"Update Recipient\",\n description: \"Tool to update existing recipient details by recipient ID. Use when modifying recipient data after confirming the recipient exists.\",\n input: ThanksIoRecipientsUpdateInput,\n output: ThanksIoRecipientsUpdateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8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
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/recipients-update.d.ts
|
|
4
|
+
declare const ThanksIoRecipientsUpdateInput: z.ZodTypeAny;
|
|
5
|
+
declare const ThanksIoRecipientsUpdateOutput: z.ZodTypeAny;
|
|
6
|
+
declare const thanksIoRecipientsUpdate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { thanksIoRecipientsUpdate };
|
|
9
|
+
//# sourceMappingURL=recipients-update.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recipients-update.d.cts","names":[],"sources":["../../src/actions/recipients-update.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAewG;AAAA,cACzI,8BAAA,EAAgC,CAAA,CAAE,UAkBS;AAAA,cAE3C,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/recipients-update.d.ts
|
|
4
|
+
declare const ThanksIoRecipientsUpdateInput: z.ZodTypeAny;
|
|
5
|
+
declare const ThanksIoRecipientsUpdateOutput: z.ZodTypeAny;
|
|
6
|
+
declare const thanksIoRecipientsUpdate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { thanksIoRecipientsUpdate };
|
|
9
|
+
//# sourceMappingURL=recipients-update.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recipients-update.d.mts","names":[],"sources":["../../src/actions/recipients-update.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAewG;AAAA,cACzI,8BAAA,EAAgC,CAAA,CAAE,UAkBS;AAAA,cAE3C,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const thanksIoRecipientsUpdate = action("THANKS_IO_RECIPIENTS_UPDATE", {
|
|
4
|
+
slug: "thanks_io-recipients-update",
|
|
5
|
+
name: "Update Recipient",
|
|
6
|
+
description: "Tool to update existing recipient details by recipient ID. Use when modifying recipient data after confirming the recipient exists.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
city: z.string().describe("City of the recipient's address").optional(),
|
|
9
|
+
name: z.string().describe("Full name of the recipient").optional(),
|
|
10
|
+
email: z.string().describe("Email address of the recipient").optional(),
|
|
11
|
+
phone: z.string().describe("Phone number of the recipient").optional(),
|
|
12
|
+
address: z.string().describe("Primary street address of the recipient").optional(),
|
|
13
|
+
country: z.string().describe("Country code of the recipient's address (ISO 3166-1 alpha-2)").optional(),
|
|
14
|
+
custom1: z.string().describe("Custom field 1 for the recipient").optional(),
|
|
15
|
+
custom2: z.string().describe("Custom field 2 for the recipient").optional(),
|
|
16
|
+
custom3: z.string().describe("Custom field 3 for the recipient").optional(),
|
|
17
|
+
custom4: z.string().describe("Custom field 4 for the recipient").optional(),
|
|
18
|
+
address2: z.string().describe("Additional address information (e.g., apartment or suite number)").optional(),
|
|
19
|
+
province: z.string().describe("State or province of the recipient's address").optional(),
|
|
20
|
+
postal_code: z.string().describe("Postal or ZIP code of the recipient's address").optional(),
|
|
21
|
+
recipient_id: z.string().describe("Unique identifier of the recipient to update")
|
|
22
|
+
}).describe("Request model for updating an existing recipient's details. Use when modifying recipient information after validating the recipient ID."),
|
|
23
|
+
output: z.object({
|
|
24
|
+
id: z.string().describe("Unique identifier of the recipient"),
|
|
25
|
+
city: z.string().describe("City of the recipient's address").nullable().optional(),
|
|
26
|
+
name: z.string().describe("Full name of the recipient").nullable().optional(),
|
|
27
|
+
email: z.string().describe("Email address of the recipient").nullable().optional(),
|
|
28
|
+
phone: z.string().describe("Phone number of the recipient").nullable().optional(),
|
|
29
|
+
address: z.string().describe("Primary street address of the recipient").nullable().optional(),
|
|
30
|
+
country: z.string().describe("Country code of the recipient's address").nullable().optional(),
|
|
31
|
+
custom1: z.string().describe("Custom field 1 for the recipient").nullable().optional(),
|
|
32
|
+
custom2: z.string().describe("Custom field 2 for the recipient").nullable().optional(),
|
|
33
|
+
custom3: z.string().describe("Custom field 3 for the recipient").nullable().optional(),
|
|
34
|
+
custom4: z.string().describe("Custom field 4 for the recipient").nullable().optional(),
|
|
35
|
+
address2: z.string().describe("Additional address information").nullable().optional(),
|
|
36
|
+
province: z.string().describe("State or province of the recipient's address").nullable().optional(),
|
|
37
|
+
created_at: z.string().describe("Timestamp when the recipient was created").nullable().optional(),
|
|
38
|
+
updated_at: z.string().describe("Timestamp when the recipient was last updated").nullable().optional(),
|
|
39
|
+
postal_code: z.string().describe("Postal or ZIP code of the recipient's address").nullable().optional(),
|
|
40
|
+
mailing_list: z.string().describe("ID of the mailing list the recipient belongs to").nullable().optional()
|
|
41
|
+
}).describe("Response model for the updated recipient.")
|
|
42
|
+
});
|
|
43
|
+
//#endregion
|
|
44
|
+
export { thanksIoRecipientsUpdate };
|
|
45
|
+
|
|
46
|
+
//# sourceMappingURL=recipients-update.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recipients-update.mjs","names":[],"sources":["../../src/actions/recipients-update.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ThanksIoRecipientsUpdateInput: z.ZodTypeAny = z.object({\n city: z.string().describe(\"City of the recipient's address\").optional(),\n name: z.string().describe(\"Full name of the recipient\").optional(),\n email: z.string().describe(\"Email address of the recipient\").optional(),\n phone: z.string().describe(\"Phone number of the recipient\").optional(),\n address: z.string().describe(\"Primary street address of the recipient\").optional(),\n country: z.string().describe(\"Country code of the recipient's address (ISO 3166-1 alpha-2)\").optional(),\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\").optional(),\n postal_code: z.string().describe(\"Postal or ZIP code of the recipient's address\").optional(),\n recipient_id: z.string().describe(\"Unique identifier of the recipient to update\"),\n}).describe(\"Request model for updating an existing recipient's details. Use when modifying recipient information after validating the recipient ID.\");\nexport const ThanksIoRecipientsUpdateOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the recipient\"),\n city: z.string().describe(\"City of the recipient's address\").nullable().optional(),\n name: z.string().describe(\"Full name of the recipient\").nullable().optional(),\n email: z.string().describe(\"Email address of the recipient\").nullable().optional(),\n phone: z.string().describe(\"Phone number of the recipient\").nullable().optional(),\n address: z.string().describe(\"Primary street address of the recipient\").nullable().optional(),\n country: z.string().describe(\"Country code of the recipient's address\").nullable().optional(),\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\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the recipient was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the recipient was last updated\").nullable().optional(),\n postal_code: z.string().describe(\"Postal or ZIP code of the recipient's address\").nullable().optional(),\n mailing_list: z.string().describe(\"ID of the mailing list the recipient belongs to\").nullable().optional(),\n}).describe(\"Response model for the updated recipient.\");\n\nexport const thanksIoRecipientsUpdate = action(\"THANKS_IO_RECIPIENTS_UPDATE\", {\n slug: \"thanks_io-recipients-update\",\n name: \"Update Recipient\",\n description: \"Tool to update existing recipient details by recipient ID. Use when modifying recipient data after confirming the recipient exists.\",\n input: ThanksIoRecipientsUpdateInput,\n output: ThanksIoRecipientsUpdateOutput,\n});\n"],"mappings":";;AAwCA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxCyD,EAAE,OAAO;EAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACjE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACrE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACjF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACtG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC1E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC1E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC1E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EAC3G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACvF,aAAa,EAAE,OAAO,CAAC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CAAC,CAAC,SAAS;EAClG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/send-postcard.ts
|
|
4
|
+
const ThanksIoSendPostcardInput = zod.z.object({
|
|
5
|
+
size: zod.z.enum([
|
|
6
|
+
"4x6",
|
|
7
|
+
"6x9",
|
|
8
|
+
"6x11"
|
|
9
|
+
]).default("4x6").describe("Postcard size; defaults to '4x6'").optional(),
|
|
10
|
+
message: zod.z.string().describe("Handwritten message content (required if 'message_template' is not provided)").optional(),
|
|
11
|
+
preview: zod.z.boolean().describe("If true, returns a preview of the postcard without sending. Useful for validation.").optional(),
|
|
12
|
+
qrcode_url: zod.z.string().describe("URL to auto-generate a QR code on the back of the postcard").optional(),
|
|
13
|
+
recipients: zod.z.array(zod.z.object({
|
|
14
|
+
city: zod.z.string().describe("City"),
|
|
15
|
+
name: zod.z.string().describe("Recipient's full name"),
|
|
16
|
+
address: zod.z.string().describe("Street address"),
|
|
17
|
+
country: zod.z.string().describe("Country"),
|
|
18
|
+
custom1: zod.z.string().describe("Custom field 1").optional(),
|
|
19
|
+
custom2: zod.z.string().describe("Custom field 2").optional(),
|
|
20
|
+
custom3: zod.z.string().describe("Custom field 3").optional(),
|
|
21
|
+
custom4: zod.z.string().describe("Custom field 4").optional(),
|
|
22
|
+
province: zod.z.string().describe("State or province"),
|
|
23
|
+
postal_code: zod.z.string().describe("Postal code")
|
|
24
|
+
}).describe("Individual postcard recipient.")).describe("Explicit recipient objects").optional(),
|
|
25
|
+
return_city: zod.z.string().describe("City for the return address").optional(),
|
|
26
|
+
return_name: zod.z.string().describe("Name for the return address").optional(),
|
|
27
|
+
sub_account: zod.z.string().describe("ID of the sub-account to bill this order").optional(),
|
|
28
|
+
return_state: zod.z.string().describe("State for the return address").optional(),
|
|
29
|
+
mailing_lists: zod.z.array(zod.z.string()).describe("List of mailing-list IDs to send to").optional(),
|
|
30
|
+
radius_search: zod.z.object({
|
|
31
|
+
address: zod.z.string().describe("Center address for radius search"),
|
|
32
|
+
preview: zod.z.boolean().default(false).describe("Return a preview of count and cost only").optional(),
|
|
33
|
+
append_data: zod.z.boolean().default(false).describe("Append phone and email to each record").optional(),
|
|
34
|
+
record_count: zod.z.number().int().describe("Number of nearest neighbors (1-10000)"),
|
|
35
|
+
record_types: zod.z.enum([
|
|
36
|
+
"all",
|
|
37
|
+
"likelytomove",
|
|
38
|
+
"movers",
|
|
39
|
+
"mortgage",
|
|
40
|
+
"owner"
|
|
41
|
+
]).default("all").describe("Type of records (defaults to 'all'). Options: 'all', 'likelytomove', 'movers', 'mortgage', 'owner'.").optional(),
|
|
42
|
+
include_condos: zod.z.boolean().default(true).describe("Include condos in the search").optional(),
|
|
43
|
+
use_property_owner: zod.z.boolean().default(false).describe("Use property owner's address for commercial records").optional()
|
|
44
|
+
}).describe("Parameters for a radius-based address search.").optional(),
|
|
45
|
+
image_template: zod.z.string().describe("ID of a pre-saved front-image template (required if 'front_image_url' is not provided)").optional(),
|
|
46
|
+
return_address: zod.z.string().describe("Street address for the return address").optional(),
|
|
47
|
+
front_image_url: zod.z.string().describe("URL to the image for the front of the postcard (required if 'image_template' is not provided)").optional(),
|
|
48
|
+
return_address2: zod.z.string().describe("Additional street address information").optional(),
|
|
49
|
+
email_additional: zod.z.string().describe("Email address to receive order alerts (e.g., QR scan notifications)").optional(),
|
|
50
|
+
message_template: zod.z.string().describe("ID of a pre-saved message template (required if 'message' is not provided)").optional(),
|
|
51
|
+
handwriting_color: zod.z.string().describe("Handwriting ink color (e.g., 'blue', 'black', '#4287f5')").optional(),
|
|
52
|
+
handwriting_style: zod.z.string().describe("ID of the handwriting style to use").optional(),
|
|
53
|
+
return_postal_code: zod.z.string().describe("Postal code for the return address").optional(),
|
|
54
|
+
send_standard_mail: zod.z.boolean().describe("If true, sends as USPS Standard Mail postage class").optional(),
|
|
55
|
+
use_custom_background: zod.z.boolean().describe("Whether to use a custom background image").optional(),
|
|
56
|
+
custom_background_image: zod.z.string().describe("URL to a custom background image (1875×1275 px)").optional()
|
|
57
|
+
}).describe("Request schema for sending a postcard via Thanks.io.");
|
|
58
|
+
const ThanksIoSendPostcard_CostSchema = zod.z.object({
|
|
59
|
+
plan: zod.z.string().describe("Cost plan"),
|
|
60
|
+
sub_total: zod.z.string().describe("Subtotal amount"),
|
|
61
|
+
grand_total: zod.z.string().describe("Total amount"),
|
|
62
|
+
international: zod.z.string().describe("International cost"),
|
|
63
|
+
united_states: zod.z.string().describe("United States cost")
|
|
64
|
+
}).describe("Cost breakdown for preview responses.");
|
|
65
|
+
const ThanksIoSendPostcard_PreviewDataSchema = zod.z.object({
|
|
66
|
+
cost: ThanksIoSendPostcard_CostSchema.nullable(),
|
|
67
|
+
address: zod.z.string().describe("Center address for preview"),
|
|
68
|
+
neighbor_count: zod.z.number().int().describe("Number of neighbors found")
|
|
69
|
+
}).describe("Preview data returned when 'preview' True.");
|
|
70
|
+
const ThanksIoSendPostcard_PreviewResponseSchema = zod.z.object({ previews: zod.z.array(zod.z.string()).describe("Array of preview image URLs").nullable().optional() }).describe("Preview response containing preview image URLs.");
|
|
71
|
+
const ThanksIoSendPostcardOutput = zod.z.object({
|
|
72
|
+
data: zod.z.union([
|
|
73
|
+
ThanksIoSendPostcard_PreviewDataSchema,
|
|
74
|
+
ThanksIoSendPostcard_PreviewResponseSchema,
|
|
75
|
+
zod.z.record(zod.z.string(), zod.z.unknown())
|
|
76
|
+
]).nullable().optional(),
|
|
77
|
+
status: zod.z.string().describe("Status of the request (e.g., '200')").nullable().optional(),
|
|
78
|
+
message: zod.z.string().describe("Result message (e.g., 'Order being processed', 'OK')").nullable().optional(),
|
|
79
|
+
previews: zod.z.array(zod.z.string()).describe("Preview image URLs (when preview=true)").nullable().optional()
|
|
80
|
+
}).describe("Response schema for a send postcard request.");
|
|
81
|
+
const thanksIoSendPostcard = require_action.action("THANKS_IO_SEND_POSTCARD", {
|
|
82
|
+
slug: "thanks_io-send-postcard",
|
|
83
|
+
name: "Send Postcard",
|
|
84
|
+
description: "Tool to send a customized postcard. Use when you need to dispatch a physical postcard with a chosen image and handwritten message.",
|
|
85
|
+
input: ThanksIoSendPostcardInput,
|
|
86
|
+
output: ThanksIoSendPostcardOutput
|
|
87
|
+
});
|
|
88
|
+
//#endregion
|
|
89
|
+
exports.thanksIoSendPostcard = thanksIoSendPostcard;
|
|
90
|
+
|
|
91
|
+
//# sourceMappingURL=send-postcard.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-postcard.cjs","names":["z","action"],"sources":["../../src/actions/send-postcard.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ThanksIoSendPostcardInput: z.ZodTypeAny = z.object({\n size: z.enum([\"4x6\", \"6x9\", \"6x11\"]).default(\"4x6\").describe(\"Postcard size; defaults to '4x6'\").optional(),\n message: z.string().describe(\"Handwritten message content (required if 'message_template' is not provided)\").optional(),\n preview: z.boolean().describe(\"If true, returns a preview of the postcard without sending. Useful for validation.\").optional(),\n qrcode_url: z.string().describe(\"URL to auto-generate a QR code on the back of the postcard\").optional(),\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\"),\n custom1: z.string().describe(\"Custom field 1\").optional(),\n custom2: z.string().describe(\"Custom field 2\").optional(),\n custom3: z.string().describe(\"Custom field 3\").optional(),\n custom4: z.string().describe(\"Custom field 4\").optional(),\n province: z.string().describe(\"State or province\"),\n postal_code: z.string().describe(\"Postal code\"),\n}).describe(\"Individual postcard recipient.\")).describe(\"Explicit recipient objects\").optional(),\n return_city: z.string().describe(\"City for the return address\").optional(),\n return_name: z.string().describe(\"Name for the return address\").optional(),\n sub_account: z.string().describe(\"ID of the sub-account to bill this order\").optional(),\n return_state: z.string().describe(\"State for the return address\").optional(),\n mailing_lists: z.array(z.string()).describe(\"List of mailing-list IDs to send to\").optional(),\n radius_search: z.object({\n address: z.string().describe(\"Center address for radius search\"),\n preview: z.boolean().default(false).describe(\"Return a preview of count and cost only\").optional(),\n append_data: z.boolean().default(false).describe(\"Append phone and email to each record\").optional(),\n record_count: z.number().int().describe(\"Number of nearest neighbors (1-10000)\"),\n record_types: z.enum([\"all\", \"likelytomove\", \"movers\", \"mortgage\", \"owner\"]).default(\"all\").describe(\"Type of records (defaults to 'all'). Options: 'all', 'likelytomove', 'movers', 'mortgage', 'owner'.\").optional(),\n include_condos: z.boolean().default(true).describe(\"Include condos in the search\").optional(),\n use_property_owner: z.boolean().default(false).describe(\"Use property owner's address for commercial records\").optional(),\n}).describe(\"Parameters for a radius-based address search.\").optional(),\n image_template: z.string().describe(\"ID of a pre-saved front-image template (required if 'front_image_url' is not provided)\").optional(),\n return_address: z.string().describe(\"Street address for the return address\").optional(),\n front_image_url: z.string().describe(\"URL to the image for the front of the postcard (required if 'image_template' is not provided)\").optional(),\n return_address2: z.string().describe(\"Additional street address information\").optional(),\n email_additional: z.string().describe(\"Email address to receive order alerts (e.g., QR scan notifications)\").optional(),\n message_template: z.string().describe(\"ID of a pre-saved message template (required if 'message' is not provided)\").optional(),\n handwriting_color: z.string().describe(\"Handwriting ink color (e.g., 'blue', 'black', '#4287f5')\").optional(),\n handwriting_style: z.string().describe(\"ID of the handwriting style to use\").optional(),\n return_postal_code: z.string().describe(\"Postal code for the return address\").optional(),\n send_standard_mail: z.boolean().describe(\"If true, sends as USPS Standard Mail postage class\").optional(),\n use_custom_background: z.boolean().describe(\"Whether to use a custom background image\").optional(),\n custom_background_image: z.string().describe(\"URL to a custom background image (1875×1275 px)\").optional(),\n}).describe(\"Request schema for sending a postcard via Thanks.io.\");\nconst ThanksIoSendPostcard_CostSchema: z.ZodTypeAny = z.object({\n plan: z.string().describe(\"Cost plan\"),\n sub_total: z.string().describe(\"Subtotal amount\"),\n grand_total: z.string().describe(\"Total amount\"),\n international: z.string().describe(\"International cost\"),\n united_states: z.string().describe(\"United States cost\"),\n}).describe(\"Cost breakdown for preview responses.\");\nconst ThanksIoSendPostcard_PreviewDataSchema: z.ZodTypeAny = z.object({\n cost: ThanksIoSendPostcard_CostSchema.nullable(),\n address: z.string().describe(\"Center address for preview\"),\n neighbor_count: z.number().int().describe(\"Number of neighbors found\"),\n}).describe(\"Preview data returned when 'preview' True.\");\nconst ThanksIoSendPostcard_PreviewResponseSchema: z.ZodTypeAny = z.object({\n previews: z.array(z.string()).describe(\"Array of preview image URLs\").nullable().optional(),\n}).describe(\"Preview response containing preview image URLs.\");\nexport const ThanksIoSendPostcardOutput: z.ZodTypeAny = z.object({\n data: z.union([ThanksIoSendPostcard_PreviewDataSchema, ThanksIoSendPostcard_PreviewResponseSchema, z.record(z.string(), z.unknown())]).nullable().optional(),\n status: z.string().describe(\"Status of the request (e.g., '200')\").nullable().optional(),\n message: z.string().describe(\"Result message (e.g., 'Order being processed', 'OK')\").nullable().optional(),\n previews: z.array(z.string()).describe(\"Preview image URLs (when preview=true)\").nullable().optional(),\n}).describe(\"Response schema for a send postcard request.\");\n\nexport const thanksIoSendPostcard = action(\"THANKS_IO_SEND_POSTCARD\", {\n slug: \"thanks_io-send-postcard\",\n name: \"Send Postcard\",\n description: \"Tool to send a customized postcard. Use when you need to dispatch a physical postcard with a chosen image and handwritten message.\",\n input: ThanksIoSendPostcard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P,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/send-postcard.d.ts
|
|
4
|
+
declare const ThanksIoSendPostcardInput: z.ZodTypeAny;
|
|
5
|
+
declare const ThanksIoSendPostcardOutput: z.ZodTypeAny;
|
|
6
|
+
declare const thanksIoSendPostcard: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { thanksIoSendPostcard };
|
|
9
|
+
//# sourceMappingURL=send-postcard.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-postcard.d.cts","names":[],"sources":["../../src/actions/send-postcard.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UA2CyB;AAAA,cAgBtD,0BAAA,EAA4B,CAAA,CAAE,UAKgB;AAAA,cAE9C,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/send-postcard.d.ts
|
|
4
|
+
declare const ThanksIoSendPostcardInput: z.ZodTypeAny;
|
|
5
|
+
declare const ThanksIoSendPostcardOutput: z.ZodTypeAny;
|
|
6
|
+
declare const thanksIoSendPostcard: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { thanksIoSendPostcard };
|
|
9
|
+
//# sourceMappingURL=send-postcard.d.mts.map
|