@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
package/README.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# @keystrokehq/thanks_io
|
|
2
|
+
|
|
3
|
+
Keystroke-managed integration.
|
|
4
|
+
|
|
5
|
+
**App:** `thanks_io`
|
|
6
|
+
**Version:** `20260615_00`
|
|
7
|
+
**Actions:** 29
|
|
8
|
+
|
|
9
|
+
```ts
|
|
10
|
+
import { defineAgent } from "@keystrokehq/keystroke/agent";
|
|
11
|
+
import { thanksIoAddRecipientToMailingList } from "@keystrokehq/thanks_io/actions";
|
|
12
|
+
|
|
13
|
+
export default defineAgent({
|
|
14
|
+
key: "thanks_io-agent",
|
|
15
|
+
tools: [thanksIoAddRecipientToMailingList],
|
|
16
|
+
});
|
|
17
|
+
```
|
package/dist/action.cjs
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const require_app = require("./app.cjs");
|
|
2
|
+
const require_execute = require("./execute.cjs");
|
|
3
|
+
require("zod");
|
|
4
|
+
//#region src/action.ts
|
|
5
|
+
/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
|
|
6
|
+
function action(tool, def) {
|
|
7
|
+
return require_app.thanksIo.action({
|
|
8
|
+
slug: def.slug,
|
|
9
|
+
name: def.name,
|
|
10
|
+
description: def.description,
|
|
11
|
+
input: def.input,
|
|
12
|
+
output: def.output,
|
|
13
|
+
async run(input) {
|
|
14
|
+
return def.output.parse(await require_execute.executeThanksIoTool(tool, input));
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
exports.action = action;
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=action.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["thanksIo","executeThanksIoTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { thanksIo } from \"./app\";\nimport { executeThanksIoTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return thanksIo.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeThanksIoTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
|
package/dist/action.mjs
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { thanksIo } from "./app.mjs";
|
|
2
|
+
import { executeThanksIoTool } from "./execute.mjs";
|
|
3
|
+
import "zod";
|
|
4
|
+
//#region src/action.ts
|
|
5
|
+
/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
|
|
6
|
+
function action(tool, def) {
|
|
7
|
+
return thanksIo.action({
|
|
8
|
+
slug: def.slug,
|
|
9
|
+
name: def.name,
|
|
10
|
+
description: def.description,
|
|
11
|
+
input: def.input,
|
|
12
|
+
output: def.output,
|
|
13
|
+
async run(input) {
|
|
14
|
+
return def.output.parse(await executeThanksIoTool(tool, input));
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
export { action };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=action.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { thanksIo } from \"./app\";\nimport { executeThanksIoTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return thanksIo.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeThanksIoTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/add-recipient-to-mailing-list.ts
|
|
4
|
+
const ThanksIoAddRecipientToMailingListInput = zod.z.object({
|
|
5
|
+
city: zod.z.string().describe("City of the recipient's address"),
|
|
6
|
+
name: zod.z.string().describe("Full name of the recipient"),
|
|
7
|
+
email: zod.z.string().describe("Recipient's email address").optional(),
|
|
8
|
+
phone: zod.z.string().describe("Recipient's phone number").optional(),
|
|
9
|
+
address: zod.z.string().describe("Primary street address of the recipient"),
|
|
10
|
+
country: zod.z.string().describe("Country code of the recipient's address (ISO 3166-1 alpha-2)"),
|
|
11
|
+
address2: zod.z.string().describe("Additional address information (e.g., apartment or suite number)").optional(),
|
|
12
|
+
province: zod.z.string().describe("State or province of the recipient's address"),
|
|
13
|
+
postal_code: zod.z.string().describe("Postal or ZIP code of the recipient's address"),
|
|
14
|
+
mailing_list: zod.z.string().describe("ID of the mailing list to which the recipient will be added")
|
|
15
|
+
}).describe("Request model for adding a recipient to a mailing list.");
|
|
16
|
+
const ThanksIoAddRecipientToMailingListOutput = zod.z.object({
|
|
17
|
+
id: zod.z.string().describe("Unique identifier of the newly added recipient"),
|
|
18
|
+
city: zod.z.string().describe("City of the recipient's address"),
|
|
19
|
+
name: zod.z.string().describe("Full name of the recipient"),
|
|
20
|
+
email: zod.z.string().describe("Recipient's email address").nullable().optional(),
|
|
21
|
+
phone: zod.z.string().describe("Recipient's phone number").nullable().optional(),
|
|
22
|
+
address: zod.z.string().describe("Primary street address of the recipient"),
|
|
23
|
+
country: zod.z.string().describe("Country of the recipient's address"),
|
|
24
|
+
address2: zod.z.string().describe("Additional address information").nullable().optional(),
|
|
25
|
+
province: zod.z.string().describe("State or province of the recipient's address"),
|
|
26
|
+
created_at: zod.z.string().describe("Timestamp when the recipient was added (ISO 8601)"),
|
|
27
|
+
postal_code: zod.z.string().describe("Postal or ZIP code of the recipient's address"),
|
|
28
|
+
mailing_list: zod.z.string().describe("ID of the mailing list the recipient was added to")
|
|
29
|
+
}).describe("Response model after adding a recipient to a mailing list.");
|
|
30
|
+
const thanksIoAddRecipientToMailingList = require_action.action("THANKS_IO_ADD_RECIPIENT_TO_MAILING_LIST", {
|
|
31
|
+
slug: "thanks_io-add-recipient-to-mailing-list",
|
|
32
|
+
name: "Add Recipient to Mailing List",
|
|
33
|
+
description: "Tool to add a new recipient to a mailing list. Use after confirming recipient and list IDs.",
|
|
34
|
+
input: ThanksIoAddRecipientToMailingListInput,
|
|
35
|
+
output: ThanksIoAddRecipientToMailingListOutput
|
|
36
|
+
});
|
|
37
|
+
//#endregion
|
|
38
|
+
exports.thanksIoAddRecipientToMailingList = thanksIoAddRecipientToMailingList;
|
|
39
|
+
|
|
40
|
+
//# sourceMappingURL=add-recipient-to-mailing-list.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-recipient-to-mailing-list.cjs","names":["z","action"],"sources":["../../src/actions/add-recipient-to-mailing-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ThanksIoAddRecipientToMailingListInput: z.ZodTypeAny = 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 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 mailing_list: z.string().describe(\"ID of the mailing list to which the recipient will be added\"),\n}).describe(\"Request model for adding a recipient to a mailing list.\");\nexport const ThanksIoAddRecipientToMailingListOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the newly added 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 of the recipient's address\"),\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 added (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 after adding a recipient to a mailing list.\");\n\nexport const thanksIoAddRecipientToMailingList = action(\"THANKS_IO_ADD_RECIPIENT_TO_MAILING_LIST\", {\n slug: \"thanks_io-add-recipient-to-mailing-list\",\n name: \"Add Recipient to Mailing List\",\n description: \"Tool to add a new recipient to a mailing list. Use after confirming recipient and list IDs.\",\n input: ThanksIoAddRecipientToMailingListInput,\n output: ThanksIoAddRecipientToMailingListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAuDA,IAAAA,EAAE,OAAO;CAC3E,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,2BAA2B,CAAC,CAAC,SAAS;CACjE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAChE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACtE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CAC3F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC3G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC5E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAChF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;AACjG,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,0CAAwDA,IAAAA,EAAE,OAAO;CAC5E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CACxE,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,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACtE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACjE,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,mDAAmD;CACnF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAChF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;AACvF,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAExE,MAAa,oCAAoCC,eAAAA,OAAO,2CAA2C;CACjG,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/add-recipient-to-mailing-list.d.ts
|
|
4
|
+
declare const ThanksIoAddRecipientToMailingListInput: z.ZodTypeAny;
|
|
5
|
+
declare const ThanksIoAddRecipientToMailingListOutput: z.ZodTypeAny;
|
|
6
|
+
declare const thanksIoAddRecipientToMailingList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { thanksIoAddRecipientToMailingList };
|
|
9
|
+
//# sourceMappingURL=add-recipient-to-mailing-list.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-recipient-to-mailing-list.d.cts","names":[],"sources":["../../src/actions/add-recipient-to-mailing-list.ts"],"mappings":";;;cAIa,sCAAA,EAAwC,CAAA,CAAE,UAWe;AAAA,cACzD,uCAAA,EAAyC,CAAA,CAAE,UAaiB;AAAA,cAE5D,iCAAA,gCAAiC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/add-recipient-to-mailing-list.d.ts
|
|
4
|
+
declare const ThanksIoAddRecipientToMailingListInput: z.ZodTypeAny;
|
|
5
|
+
declare const ThanksIoAddRecipientToMailingListOutput: z.ZodTypeAny;
|
|
6
|
+
declare const thanksIoAddRecipientToMailingList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { thanksIoAddRecipientToMailingList };
|
|
9
|
+
//# sourceMappingURL=add-recipient-to-mailing-list.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-recipient-to-mailing-list.d.mts","names":[],"sources":["../../src/actions/add-recipient-to-mailing-list.ts"],"mappings":";;;cAIa,sCAAA,EAAwC,CAAA,CAAE,UAWe;AAAA,cACzD,uCAAA,EAAyC,CAAA,CAAE,UAaiB;AAAA,cAE5D,iCAAA,gCAAiC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const thanksIoAddRecipientToMailingList = action("THANKS_IO_ADD_RECIPIENT_TO_MAILING_LIST", {
|
|
4
|
+
slug: "thanks_io-add-recipient-to-mailing-list",
|
|
5
|
+
name: "Add Recipient to Mailing List",
|
|
6
|
+
description: "Tool to add a new recipient to a mailing list. Use after confirming recipient and list IDs.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
city: z.string().describe("City of the recipient's address"),
|
|
9
|
+
name: z.string().describe("Full name of the recipient"),
|
|
10
|
+
email: z.string().describe("Recipient's email address").optional(),
|
|
11
|
+
phone: z.string().describe("Recipient's phone number").optional(),
|
|
12
|
+
address: z.string().describe("Primary street address of the recipient"),
|
|
13
|
+
country: z.string().describe("Country code of the recipient's address (ISO 3166-1 alpha-2)"),
|
|
14
|
+
address2: z.string().describe("Additional address information (e.g., apartment or suite number)").optional(),
|
|
15
|
+
province: z.string().describe("State or province of the recipient's address"),
|
|
16
|
+
postal_code: z.string().describe("Postal or ZIP code of the recipient's address"),
|
|
17
|
+
mailing_list: z.string().describe("ID of the mailing list to which the recipient will be added")
|
|
18
|
+
}).describe("Request model for adding a recipient to a mailing list."),
|
|
19
|
+
output: z.object({
|
|
20
|
+
id: z.string().describe("Unique identifier of the newly added recipient"),
|
|
21
|
+
city: z.string().describe("City of the recipient's address"),
|
|
22
|
+
name: z.string().describe("Full name of the recipient"),
|
|
23
|
+
email: z.string().describe("Recipient's email address").nullable().optional(),
|
|
24
|
+
phone: z.string().describe("Recipient's phone number").nullable().optional(),
|
|
25
|
+
address: z.string().describe("Primary street address of the recipient"),
|
|
26
|
+
country: z.string().describe("Country of the recipient's address"),
|
|
27
|
+
address2: z.string().describe("Additional address information").nullable().optional(),
|
|
28
|
+
province: z.string().describe("State or province of the recipient's address"),
|
|
29
|
+
created_at: z.string().describe("Timestamp when the recipient was added (ISO 8601)"),
|
|
30
|
+
postal_code: z.string().describe("Postal or ZIP code of the recipient's address"),
|
|
31
|
+
mailing_list: z.string().describe("ID of the mailing list the recipient was added to")
|
|
32
|
+
}).describe("Response model after adding a recipient to a mailing list.")
|
|
33
|
+
});
|
|
34
|
+
//#endregion
|
|
35
|
+
export { thanksIoAddRecipientToMailingList };
|
|
36
|
+
|
|
37
|
+
//# sourceMappingURL=add-recipient-to-mailing-list.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-recipient-to-mailing-list.mjs","names":[],"sources":["../../src/actions/add-recipient-to-mailing-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ThanksIoAddRecipientToMailingListInput: z.ZodTypeAny = 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 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 mailing_list: z.string().describe(\"ID of the mailing list to which the recipient will be added\"),\n}).describe(\"Request model for adding a recipient to a mailing list.\");\nexport const ThanksIoAddRecipientToMailingListOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the newly added 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 of the recipient's address\"),\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 added (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 after adding a recipient to a mailing list.\");\n\nexport const thanksIoAddRecipientToMailingList = action(\"THANKS_IO_ADD_RECIPIENT_TO_MAILING_LIST\", {\n slug: \"thanks_io-add-recipient-to-mailing-list\",\n name: \"Add Recipient to Mailing List\",\n description: \"Tool to add a new recipient to a mailing list. Use after confirming recipient and list IDs.\",\n input: ThanksIoAddRecipientToMailingListInput,\n output: ThanksIoAddRecipientToMailingListOutput,\n});\n"],"mappings":";;AA+BA,MAAa,oCAAoC,OAAO,2CAA2C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA/BkE,EAAE,OAAO;EAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACjE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAChE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;EACtE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;EAC3F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EAC3G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EAC5E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EAChF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CACjG,CAAC,CAAC,CAAC,SAAS,yDAoBH;CACP,QApBmE,EAAE,OAAO;EAC5E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;EACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;EACtE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EACjE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;EACnF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EAChF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACvF,CAAC,CAAC,CAAC,SAAS,4DAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/create-mailing-list.ts
|
|
4
|
+
const ThanksIoCreateMailingListInput = zod.z.object({
|
|
5
|
+
name: zod.z.string().describe("Name of the new mailing list"),
|
|
6
|
+
description: zod.z.string().describe("Brief description of the mailing list (required by API)")
|
|
7
|
+
});
|
|
8
|
+
const ThanksIoCreateMailingListOutput = zod.z.object({
|
|
9
|
+
id: zod.z.union([zod.z.number().int(), zod.z.string()]),
|
|
10
|
+
type: zod.z.string().describe("Type of the mailing list"),
|
|
11
|
+
api_key: zod.z.string().describe("API key associated with the mailing list"),
|
|
12
|
+
user_id: zod.z.number().int().describe("ID of the user who owns the mailing list"),
|
|
13
|
+
created_at: zod.z.string().describe("Creation timestamp"),
|
|
14
|
+
qrcode_url: zod.z.string().describe("URL of the QR code for the mailing list").nullable().optional(),
|
|
15
|
+
updated_at: zod.z.string().describe("Last update timestamp"),
|
|
16
|
+
description: zod.z.string().describe("Description of the mailing list").nullable().optional()
|
|
17
|
+
});
|
|
18
|
+
const thanksIoCreateMailingList = require_action.action("THANKS_IO_CREATE_MAILING_LIST", {
|
|
19
|
+
slug: "thanks_io-create-mailing-list",
|
|
20
|
+
name: "Create Mailing List",
|
|
21
|
+
description: "Tool to create a new mailing list. Use when you need to group contacts under a fresh list before adding recipients.",
|
|
22
|
+
input: ThanksIoCreateMailingListInput,
|
|
23
|
+
output: ThanksIoCreateMailingListOutput
|
|
24
|
+
});
|
|
25
|
+
//#endregion
|
|
26
|
+
exports.thanksIoCreateMailingList = thanksIoCreateMailingList;
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=create-mailing-list.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-mailing-list.cjs","names":["z","action"],"sources":["../../src/actions/create-mailing-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ThanksIoCreateMailingListInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the new mailing list\"),\n description: z.string().describe(\"Brief description of the mailing list (required by API)\"),\n});\nexport const ThanksIoCreateMailingListOutput: z.ZodTypeAny = z.object({\n id: z.union([z.number().int(), z.string()]),\n type: z.string().describe(\"Type of the mailing list\"),\n api_key: z.string().describe(\"API key associated with the mailing list\"),\n user_id: z.number().int().describe(\"ID of the user who owns the mailing list\"),\n created_at: z.string().describe(\"Creation timestamp\"),\n qrcode_url: z.string().describe(\"URL of the QR code for the mailing list\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp\"),\n description: z.string().describe(\"Description of the mailing list\").nullable().optional(),\n});\n\nexport const thanksIoCreateMailingList = action(\"THANKS_IO_CREATE_MAILING_LIST\", {\n slug: \"thanks_io-create-mailing-list\",\n name: \"Create Mailing List\",\n description: \"Tool to create a new mailing list. Use when you need to group contacts under a fresh list before adding recipients.\",\n input: ThanksIoCreateMailingListInput,\n output: ThanksIoCreateMailingListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACxD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;AAC5F,CAAC;AACD,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,IAAIA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC;CAC1C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACpD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACvE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;CACpD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACvD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC;AAED,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/create-mailing-list.d.ts
|
|
4
|
+
declare const ThanksIoCreateMailingListInput: z.ZodTypeAny;
|
|
5
|
+
declare const ThanksIoCreateMailingListOutput: z.ZodTypeAny;
|
|
6
|
+
declare const thanksIoCreateMailingList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { thanksIoCreateMailingList };
|
|
9
|
+
//# sourceMappingURL=create-mailing-list.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-mailing-list.d.cts","names":[],"sources":["../../src/actions/create-mailing-list.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAG7C;AAAA,cACW,+BAAA,EAAiC,CAAA,CAAE,UAS9C;AAAA,cAEW,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/create-mailing-list.d.ts
|
|
4
|
+
declare const ThanksIoCreateMailingListInput: z.ZodTypeAny;
|
|
5
|
+
declare const ThanksIoCreateMailingListOutput: z.ZodTypeAny;
|
|
6
|
+
declare const thanksIoCreateMailingList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { thanksIoCreateMailingList };
|
|
9
|
+
//# sourceMappingURL=create-mailing-list.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-mailing-list.d.mts","names":[],"sources":["../../src/actions/create-mailing-list.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAG7C;AAAA,cACW,+BAAA,EAAiC,CAAA,CAAE,UAS9C;AAAA,cAEW,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const thanksIoCreateMailingList = action("THANKS_IO_CREATE_MAILING_LIST", {
|
|
4
|
+
slug: "thanks_io-create-mailing-list",
|
|
5
|
+
name: "Create Mailing List",
|
|
6
|
+
description: "Tool to create a new mailing list. Use when you need to group contacts under a fresh list before adding recipients.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
name: z.string().describe("Name of the new mailing list"),
|
|
9
|
+
description: z.string().describe("Brief description of the mailing list (required by API)")
|
|
10
|
+
}),
|
|
11
|
+
output: z.object({
|
|
12
|
+
id: z.union([z.number().int(), z.string()]),
|
|
13
|
+
type: z.string().describe("Type of the mailing list"),
|
|
14
|
+
api_key: z.string().describe("API key associated with the mailing list"),
|
|
15
|
+
user_id: z.number().int().describe("ID of the user who owns the mailing list"),
|
|
16
|
+
created_at: z.string().describe("Creation timestamp"),
|
|
17
|
+
qrcode_url: z.string().describe("URL of the QR code for the mailing list").nullable().optional(),
|
|
18
|
+
updated_at: z.string().describe("Last update timestamp"),
|
|
19
|
+
description: z.string().describe("Description of the mailing list").nullable().optional()
|
|
20
|
+
})
|
|
21
|
+
});
|
|
22
|
+
//#endregion
|
|
23
|
+
export { thanksIoCreateMailingList };
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=create-mailing-list.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-mailing-list.mjs","names":[],"sources":["../../src/actions/create-mailing-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ThanksIoCreateMailingListInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the new mailing list\"),\n description: z.string().describe(\"Brief description of the mailing list (required by API)\"),\n});\nexport const ThanksIoCreateMailingListOutput: z.ZodTypeAny = z.object({\n id: z.union([z.number().int(), z.string()]),\n type: z.string().describe(\"Type of the mailing list\"),\n api_key: z.string().describe(\"API key associated with the mailing list\"),\n user_id: z.number().int().describe(\"ID of the user who owns the mailing list\"),\n created_at: z.string().describe(\"Creation timestamp\"),\n qrcode_url: z.string().describe(\"URL of the QR code for the mailing list\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp\"),\n description: z.string().describe(\"Description of the mailing list\").nullable().optional(),\n});\n\nexport const thanksIoCreateMailingList = action(\"THANKS_IO_CREATE_MAILING_LIST\", {\n slug: \"thanks_io-create-mailing-list\",\n name: \"Create Mailing List\",\n description: \"Tool to create a new mailing list. Use when you need to group contacts under a fresh list before adding recipients.\",\n input: ThanksIoCreateMailingListInput,\n output: ThanksIoCreateMailingListOutput,\n});\n"],"mappings":";;AAmBA,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnB0D,EAAE,OAAO;EACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;EACxD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CAC5F,CAgBS;CACP,QAhB2D,EAAE,OAAO;EACpE,IAAI,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC;EAC1C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;EACpD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EACvE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C;EAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;EACpD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;EACvD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/delete-mailing-list.ts
|
|
4
|
+
const ThanksIoDeleteMailingListInput = zod.z.object({ list_id: zod.z.string().describe("The UUID of the mailing list to delete.") }).describe("Request parameters to delete a mailing list.");
|
|
5
|
+
const ThanksIoDeleteMailingListOutput = zod.z.object({
|
|
6
|
+
status: zod.z.string().describe("Operation status, typically 'success'.").nullable().optional(),
|
|
7
|
+
message: zod.z.string().describe("A message describing the outcome of the operation.").nullable().optional()
|
|
8
|
+
}).describe("Response returned after deleting a mailing list.");
|
|
9
|
+
const thanksIoDeleteMailingList = require_action.action("THANKS_IO_DELETE_MAILING_LIST", {
|
|
10
|
+
slug: "thanks_io-delete-mailing-list",
|
|
11
|
+
name: "Delete Mailing List",
|
|
12
|
+
description: "Tool to delete a mailing list. Use when you need to remove an entire mailing list by its ID. Confirm the list ID before calling. Example: \"Delete the mailing list with ID 123e4567-e89b-12d3-a456-426614174000\".",
|
|
13
|
+
input: ThanksIoDeleteMailingListInput,
|
|
14
|
+
output: ThanksIoDeleteMailingListOutput
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
exports.thanksIoDeleteMailingList = thanksIoDeleteMailingList;
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=delete-mailing-list.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-mailing-list.cjs","names":["z","action"],"sources":["../../src/actions/delete-mailing-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ThanksIoDeleteMailingListInput: z.ZodTypeAny = z.object({\n list_id: z.string().describe(\"The UUID of the mailing list to delete.\"),\n}).describe(\"Request parameters to delete a mailing list.\");\nexport const ThanksIoDeleteMailingListOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Operation status, typically 'success'.\").nullable().optional(),\n message: z.string().describe(\"A message describing the outcome of the operation.\").nullable().optional(),\n}).describe(\"Response returned after deleting a mailing list.\");\n\nexport const thanksIoDeleteMailingList = action(\"THANKS_IO_DELETE_MAILING_LIST\", {\n slug: \"thanks_io-delete-mailing-list\",\n name: \"Delete Mailing List\",\n description: \"Tool to delete a mailing list. Use when you need to remove an entire mailing list by its ID. Confirm the list ID before calling. Example: \\\"Delete the mailing list with ID 123e4567-e89b-12d3-a456-426614174000\\\".\",\n input: ThanksIoDeleteMailingListInput,\n output: ThanksIoDeleteMailingListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,EACnE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,EACxE,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-mailing-list.d.ts
|
|
4
|
+
declare const ThanksIoDeleteMailingListInput: z.ZodTypeAny;
|
|
5
|
+
declare const ThanksIoDeleteMailingListOutput: z.ZodTypeAny;
|
|
6
|
+
declare const thanksIoDeleteMailingList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { thanksIoDeleteMailingList };
|
|
9
|
+
//# sourceMappingURL=delete-mailing-list.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-mailing-list.d.cts","names":[],"sources":["../../src/actions/delete-mailing-list.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAEY;AAAA,cAC9C,+BAAA,EAAiC,CAAA,CAAE,UAGe;AAAA,cAElD,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-mailing-list.d.ts
|
|
4
|
+
declare const ThanksIoDeleteMailingListInput: z.ZodTypeAny;
|
|
5
|
+
declare const ThanksIoDeleteMailingListOutput: z.ZodTypeAny;
|
|
6
|
+
declare const thanksIoDeleteMailingList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { thanksIoDeleteMailingList };
|
|
9
|
+
//# sourceMappingURL=delete-mailing-list.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-mailing-list.d.mts","names":[],"sources":["../../src/actions/delete-mailing-list.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAEY;AAAA,cAC9C,+BAAA,EAAiC,CAAA,CAAE,UAGe;AAAA,cAElD,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const thanksIoDeleteMailingList = action("THANKS_IO_DELETE_MAILING_LIST", {
|
|
4
|
+
slug: "thanks_io-delete-mailing-list",
|
|
5
|
+
name: "Delete Mailing List",
|
|
6
|
+
description: "Tool to delete a mailing list. Use when you need to remove an entire mailing list by its ID. Confirm the list ID before calling. Example: \"Delete the mailing list with ID 123e4567-e89b-12d3-a456-426614174000\".",
|
|
7
|
+
input: z.object({ list_id: z.string().describe("The UUID of the mailing list to delete.") }).describe("Request parameters to delete a mailing list."),
|
|
8
|
+
output: z.object({
|
|
9
|
+
status: z.string().describe("Operation status, typically 'success'.").nullable().optional(),
|
|
10
|
+
message: z.string().describe("A message describing the outcome of the operation.").nullable().optional()
|
|
11
|
+
}).describe("Response returned after deleting a mailing list.")
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
export { thanksIoDeleteMailingList };
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=delete-mailing-list.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-mailing-list.mjs","names":[],"sources":["../../src/actions/delete-mailing-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ThanksIoDeleteMailingListInput: z.ZodTypeAny = z.object({\n list_id: z.string().describe(\"The UUID of the mailing list to delete.\"),\n}).describe(\"Request parameters to delete a mailing list.\");\nexport const ThanksIoDeleteMailingListOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Operation status, typically 'success'.\").nullable().optional(),\n message: z.string().describe(\"A message describing the outcome of the operation.\").nullable().optional(),\n}).describe(\"Response returned after deleting a mailing list.\");\n\nexport const thanksIoDeleteMailingList = action(\"THANKS_IO_DELETE_MAILING_LIST\", {\n slug: \"thanks_io-delete-mailing-list\",\n name: \"Delete Mailing List\",\n description: \"Tool to delete a mailing list. Use when you need to remove an entire mailing list by its ID. Confirm the list ID before calling. Example: \\\"Delete the mailing list with ID 123e4567-e89b-12d3-a456-426614174000\\\".\",\n input: ThanksIoDeleteMailingListInput,\n output: ThanksIoDeleteMailingListOutput,\n});\n"],"mappings":";;AAYA,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ0D,EAAE,OAAO,EACnE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,EACxE,CAAC,CAAC,CAAC,SAAS,8CAUH;CACP,QAV2D,EAAE,OAAO;EACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/delete-recipient-from-mailing-list.ts
|
|
4
|
+
const ThanksIoDeleteRecipientFromMailingListInput = zod.z.object({ recipient_id: zod.z.string().describe("Unique identifier of the recipient to remove") }).describe("Request parameters for deleting a recipient from a mailing list.");
|
|
5
|
+
const ThanksIoDeleteRecipientFromMailingListOutput = zod.z.object({
|
|
6
|
+
message: zod.z.string().describe("Deletion status message"),
|
|
7
|
+
success: zod.z.boolean().describe("Indicates if the recipient was successfully deleted")
|
|
8
|
+
}).describe("Response model after deleting a recipient from a mailing list.");
|
|
9
|
+
const thanksIoDeleteRecipientFromMailingList = require_action.action("THANKS_IO_DELETE_RECIPIENT_FROM_MAILING_LIST", {
|
|
10
|
+
slug: "thanks_io-delete-recipient-from-mailing-list",
|
|
11
|
+
name: "Delete Recipient from Mailing List",
|
|
12
|
+
description: "Tool to remove a recipient from a mailing list. Use after confirming the recipient's ID.",
|
|
13
|
+
input: ThanksIoDeleteRecipientFromMailingListInput,
|
|
14
|
+
output: ThanksIoDeleteRecipientFromMailingListOutput
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
exports.thanksIoDeleteRecipientFromMailingList = thanksIoDeleteRecipientFromMailingList;
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=delete-recipient-from-mailing-list.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-recipient-from-mailing-list.cjs","names":["z","action"],"sources":["../../src/actions/delete-recipient-from-mailing-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ThanksIoDeleteRecipientFromMailingListInput: z.ZodTypeAny = z.object({\n recipient_id: z.string().describe(\"Unique identifier of the recipient to remove\"),\n}).describe(\"Request parameters for deleting a recipient from a mailing list.\");\nexport const ThanksIoDeleteRecipientFromMailingListOutput: 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 from a mailing list.\");\n\nexport const thanksIoDeleteRecipientFromMailingList = action(\"THANKS_IO_DELETE_RECIPIENT_FROM_MAILING_LIST\", {\n slug: \"thanks_io-delete-recipient-from-mailing-list\",\n name: \"Delete Recipient from Mailing List\",\n description: \"Tool to remove a recipient from a mailing list. Use after confirming the recipient's ID.\",\n input: ThanksIoDeleteRecipientFromMailingListInput,\n output: ThanksIoDeleteRecipientFromMailingListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA4DA,IAAAA,EAAE,OAAO,EAChF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAClF,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAa,+CAA6DA,IAAAA,EAAE,OAAO;CACjF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACtD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD;AACrF,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAE5E,MAAa,yCAAyCC,eAAAA,OAAO,gDAAgD;CAC3G,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/delete-recipient-from-mailing-list.d.ts
|
|
4
|
+
declare const ThanksIoDeleteRecipientFromMailingListInput: z.ZodTypeAny;
|
|
5
|
+
declare const ThanksIoDeleteRecipientFromMailingListOutput: z.ZodTypeAny;
|
|
6
|
+
declare const thanksIoDeleteRecipientFromMailingList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { thanksIoDeleteRecipientFromMailingList };
|
|
9
|
+
//# sourceMappingURL=delete-recipient-from-mailing-list.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-recipient-from-mailing-list.d.cts","names":[],"sources":["../../src/actions/delete-recipient-from-mailing-list.ts"],"mappings":";;;cAIa,2CAAA,EAA6C,CAAA,CAAE,UAEmB;AAAA,cAClE,4CAAA,EAA8C,CAAA,CAAE,UAGgB;AAAA,cAEhE,sCAAA,gCAAsC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-recipient-from-mailing-list.d.ts
|
|
4
|
+
declare const ThanksIoDeleteRecipientFromMailingListInput: z.ZodTypeAny;
|
|
5
|
+
declare const ThanksIoDeleteRecipientFromMailingListOutput: z.ZodTypeAny;
|
|
6
|
+
declare const thanksIoDeleteRecipientFromMailingList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { thanksIoDeleteRecipientFromMailingList };
|
|
9
|
+
//# sourceMappingURL=delete-recipient-from-mailing-list.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-recipient-from-mailing-list.d.mts","names":[],"sources":["../../src/actions/delete-recipient-from-mailing-list.ts"],"mappings":";;;cAIa,2CAAA,EAA6C,CAAA,CAAE,UAEmB;AAAA,cAClE,4CAAA,EAA8C,CAAA,CAAE,UAGgB;AAAA,cAEhE,sCAAA,gCAAsC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const thanksIoDeleteRecipientFromMailingList = action("THANKS_IO_DELETE_RECIPIENT_FROM_MAILING_LIST", {
|
|
4
|
+
slug: "thanks_io-delete-recipient-from-mailing-list",
|
|
5
|
+
name: "Delete Recipient from Mailing List",
|
|
6
|
+
description: "Tool to remove a recipient from a mailing list. Use after confirming the recipient's ID.",
|
|
7
|
+
input: z.object({ recipient_id: z.string().describe("Unique identifier of the recipient to remove") }).describe("Request parameters for deleting a recipient from a mailing list."),
|
|
8
|
+
output: z.object({
|
|
9
|
+
message: z.string().describe("Deletion status message"),
|
|
10
|
+
success: z.boolean().describe("Indicates if the recipient was successfully deleted")
|
|
11
|
+
}).describe("Response model after deleting a recipient from a mailing list.")
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
export { thanksIoDeleteRecipientFromMailingList };
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=delete-recipient-from-mailing-list.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-recipient-from-mailing-list.mjs","names":[],"sources":["../../src/actions/delete-recipient-from-mailing-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ThanksIoDeleteRecipientFromMailingListInput: z.ZodTypeAny = z.object({\n recipient_id: z.string().describe(\"Unique identifier of the recipient to remove\"),\n}).describe(\"Request parameters for deleting a recipient from a mailing list.\");\nexport const ThanksIoDeleteRecipientFromMailingListOutput: 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 from a mailing list.\");\n\nexport const thanksIoDeleteRecipientFromMailingList = action(\"THANKS_IO_DELETE_RECIPIENT_FROM_MAILING_LIST\", {\n slug: \"thanks_io-delete-recipient-from-mailing-list\",\n name: \"Delete Recipient from Mailing List\",\n description: \"Tool to remove a recipient from a mailing list. Use after confirming the recipient's ID.\",\n input: ThanksIoDeleteRecipientFromMailingListInput,\n output: ThanksIoDeleteRecipientFromMailingListOutput,\n});\n"],"mappings":";;AAYA,MAAa,yCAAyC,OAAO,gDAAgD;CAC3G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZuE,EAAE,OAAO,EAChF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAClF,CAAC,CAAC,CAAC,SAAS,kEAUH;CACP,QAVwE,EAAE,OAAO;EACjF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;EACtD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD;CACrF,CAAC,CAAC,CAAC,SAAS,gEAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/delete-sub-account.ts
|
|
4
|
+
const ThanksIoDeleteSubAccountInput = zod.z.object({ id: zod.z.number().int().describe("The unique ID of the sub-account to delete.") }).describe("Request parameters to delete a sub-account.");
|
|
5
|
+
const ThanksIoDeleteSubAccountOutput = zod.z.object({
|
|
6
|
+
status: zod.z.string().describe("Operation status, typically 'success'.").nullable().optional(),
|
|
7
|
+
message: zod.z.string().describe("A message describing the outcome of the operation.").nullable().optional()
|
|
8
|
+
}).describe("Response returned after deleting a sub-account.");
|
|
9
|
+
const thanksIoDeleteSubAccount = require_action.action("THANKS_IO_DELETE_SUB_ACCOUNT", {
|
|
10
|
+
slug: "thanks_io-delete-sub-account",
|
|
11
|
+
name: "Delete Sub-Account",
|
|
12
|
+
description: "Tool to delete a specific sub-account by ID. Use when you need to remove an existing sub-account. Confirm the ID before calling.",
|
|
13
|
+
input: ThanksIoDeleteSubAccountInput,
|
|
14
|
+
output: ThanksIoDeleteSubAccountOutput
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
exports.thanksIoDeleteSubAccount = thanksIoDeleteSubAccount;
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=delete-sub-account.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-sub-account.cjs","names":["z","action"],"sources":["../../src/actions/delete-sub-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ThanksIoDeleteSubAccountInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The unique ID of the sub-account to delete.\"),\n}).describe(\"Request parameters to delete a sub-account.\");\nexport const ThanksIoDeleteSubAccountOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Operation status, typically 'success'.\").nullable().optional(),\n message: z.string().describe(\"A message describing the outcome of the operation.\").nullable().optional(),\n}).describe(\"Response returned after deleting a sub-account.\");\n\nexport const thanksIoDeleteSubAccount = action(\"THANKS_IO_DELETE_SUB_ACCOUNT\", {\n slug: \"thanks_io-delete-sub-account\",\n name: \"Delete Sub-Account\",\n description: \"Tool to delete a specific sub-account by ID. Use when you need to remove an existing sub-account. Confirm the ID before calling.\",\n input: ThanksIoDeleteSubAccountInput,\n output: ThanksIoDeleteSubAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,EAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,EAC7E,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,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/delete-sub-account.d.ts
|
|
4
|
+
declare const ThanksIoDeleteSubAccountInput: z.ZodTypeAny;
|
|
5
|
+
declare const ThanksIoDeleteSubAccountOutput: z.ZodTypeAny;
|
|
6
|
+
declare const thanksIoDeleteSubAccount: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { thanksIoDeleteSubAccount };
|
|
9
|
+
//# sourceMappingURL=delete-sub-account.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-sub-account.d.cts","names":[],"sources":["../../src/actions/delete-sub-account.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAEY;AAAA,cAC7C,8BAAA,EAAgC,CAAA,CAAE,UAGe;AAAA,cAEjD,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-sub-account.d.ts
|
|
4
|
+
declare const ThanksIoDeleteSubAccountInput: z.ZodTypeAny;
|
|
5
|
+
declare const ThanksIoDeleteSubAccountOutput: z.ZodTypeAny;
|
|
6
|
+
declare const thanksIoDeleteSubAccount: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { thanksIoDeleteSubAccount };
|
|
9
|
+
//# sourceMappingURL=delete-sub-account.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-sub-account.d.mts","names":[],"sources":["../../src/actions/delete-sub-account.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAEY;AAAA,cAC7C,8BAAA,EAAgC,CAAA,CAAE,UAGe;AAAA,cAEjD,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const thanksIoDeleteSubAccount = action("THANKS_IO_DELETE_SUB_ACCOUNT", {
|
|
4
|
+
slug: "thanks_io-delete-sub-account",
|
|
5
|
+
name: "Delete Sub-Account",
|
|
6
|
+
description: "Tool to delete a specific sub-account by ID. Use when you need to remove an existing sub-account. Confirm the ID before calling.",
|
|
7
|
+
input: z.object({ id: z.number().int().describe("The unique ID of the sub-account to delete.") }).describe("Request parameters to delete a sub-account."),
|
|
8
|
+
output: z.object({
|
|
9
|
+
status: z.string().describe("Operation status, typically 'success'.").nullable().optional(),
|
|
10
|
+
message: z.string().describe("A message describing the outcome of the operation.").nullable().optional()
|
|
11
|
+
}).describe("Response returned after deleting a sub-account.")
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
export { thanksIoDeleteSubAccount };
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=delete-sub-account.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-sub-account.mjs","names":[],"sources":["../../src/actions/delete-sub-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ThanksIoDeleteSubAccountInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The unique ID of the sub-account to delete.\"),\n}).describe(\"Request parameters to delete a sub-account.\");\nexport const ThanksIoDeleteSubAccountOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Operation status, typically 'success'.\").nullable().optional(),\n message: z.string().describe(\"A message describing the outcome of the operation.\").nullable().optional(),\n}).describe(\"Response returned after deleting a sub-account.\");\n\nexport const thanksIoDeleteSubAccount = action(\"THANKS_IO_DELETE_SUB_ACCOUNT\", {\n slug: \"thanks_io-delete-sub-account\",\n name: \"Delete Sub-Account\",\n description: \"Tool to delete a specific sub-account by ID. Use when you need to remove an existing sub-account. Confirm the ID before calling.\",\n input: ThanksIoDeleteSubAccountInput,\n output: ThanksIoDeleteSubAccountOutput,\n});\n"],"mappings":";;AAYA,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZyD,EAAE,OAAO,EAClE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,EAC7E,CAAC,CAAC,CAAC,SAAS,6CAUH;CACP,QAV0D,EAAE,OAAO;EACnE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/execute-stored-send.ts
|
|
4
|
+
const ThanksIoExecuteStoredSendInput = zod.z.object({
|
|
5
|
+
uuid: zod.z.string().describe("UUID of the stored send resource to execute"),
|
|
6
|
+
send_type: zod.z.enum([
|
|
7
|
+
"postcard",
|
|
8
|
+
"letter",
|
|
9
|
+
"windowlessletter",
|
|
10
|
+
"notecard",
|
|
11
|
+
"giftcard"
|
|
12
|
+
]).describe("Type of stored send to execute")
|
|
13
|
+
}).describe("Request model to execute a previously created stored send by type and UUID.");
|
|
14
|
+
const ThanksIoExecuteStoredSendOutput = zod.z.object({}).describe("Empty response returned when executing a stored send. Success is indicated by HTTP status code.");
|
|
15
|
+
const thanksIoExecuteStoredSend = require_action.action("THANKS_IO_EXECUTE_STORED_SEND", {
|
|
16
|
+
slug: "thanks_io-execute-stored-send",
|
|
17
|
+
name: "Execute Stored Send",
|
|
18
|
+
description: "Tool to execute a previously created stored send. Use after creating a stored send to trigger delivery. The response body is empty; success is indicated by a 200 or 204 status.",
|
|
19
|
+
input: ThanksIoExecuteStoredSendInput,
|
|
20
|
+
output: ThanksIoExecuteStoredSendOutput
|
|
21
|
+
});
|
|
22
|
+
//#endregion
|
|
23
|
+
exports.thanksIoExecuteStoredSend = thanksIoExecuteStoredSend;
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=execute-stored-send.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execute-stored-send.cjs","names":["z","action"],"sources":["../../src/actions/execute-stored-send.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ThanksIoExecuteStoredSendInput: z.ZodTypeAny = z.object({\n uuid: z.string().describe(\"UUID of the stored send resource to execute\"),\n send_type: z.enum([\"postcard\", \"letter\", \"windowlessletter\", \"notecard\", \"giftcard\"]).describe(\"Type of stored send to execute\"),\n}).describe(\"Request model to execute a previously created stored send by type and UUID.\");\nexport const ThanksIoExecuteStoredSendOutput: z.ZodTypeAny = z.object({}).describe(\"Empty response returned when executing a stored send. Success is indicated by HTTP status code.\");\n\nexport const thanksIoExecuteStoredSend = action(\"THANKS_IO_EXECUTE_STORED_SEND\", {\n slug: \"thanks_io-execute-stored-send\",\n name: \"Execute Stored Send\",\n description: \"Tool to execute a previously created stored send. Use after creating a stored send to trigger delivery. The response body is empty; success is indicated by a 200 or 204 status.\",\n input: ThanksIoExecuteStoredSendInput,\n output: ThanksIoExecuteStoredSendOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACvE,WAAWA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAU;EAAoB;EAAY;CAAU,CAAC,CAAC,CAAC,SAAS,gCAAgC;AACjI,CAAC,CAAC,CAAC,SAAS,6EAA6E;AACzF,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iGAAiG;AAEpL,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/execute-stored-send.d.ts
|
|
4
|
+
declare const ThanksIoExecuteStoredSendInput: z.ZodTypeAny;
|
|
5
|
+
declare const ThanksIoExecuteStoredSendOutput: z.ZodTypeAny;
|
|
6
|
+
declare const thanksIoExecuteStoredSend: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { thanksIoExecuteStoredSend };
|
|
9
|
+
//# sourceMappingURL=execute-stored-send.d.cts.map
|