@keystrokehq/postalytics 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-account.cjs +32 -0
- package/dist/actions/add-account.cjs.map +1 -0
- package/dist/actions/add-account.d.cts +9 -0
- package/dist/actions/add-account.d.cts.map +1 -0
- package/dist/actions/add-account.d.mts +9 -0
- package/dist/actions/add-account.d.mts.map +1 -0
- package/dist/actions/add-account.mjs +29 -0
- package/dist/actions/add-account.mjs.map +1 -0
- package/dist/actions/add-contact.cjs +68 -0
- package/dist/actions/add-contact.cjs.map +1 -0
- package/dist/actions/add-contact.d.cts +9 -0
- package/dist/actions/add-contact.d.cts.map +1 -0
- package/dist/actions/add-contact.d.mts +9 -0
- package/dist/actions/add-contact.d.mts.map +1 -0
- package/dist/actions/add-contact.mjs +65 -0
- package/dist/actions/add-contact.mjs.map +1 -0
- package/dist/actions/create-new-campaign.cjs +32 -0
- package/dist/actions/create-new-campaign.cjs.map +1 -0
- package/dist/actions/create-new-campaign.d.cts +9 -0
- package/dist/actions/create-new-campaign.d.cts.map +1 -0
- package/dist/actions/create-new-campaign.d.mts +9 -0
- package/dist/actions/create-new-campaign.d.mts.map +1 -0
- package/dist/actions/create-new-campaign.mjs +29 -0
- package/dist/actions/create-new-campaign.mjs.map +1 -0
- package/dist/actions/create-suppression-list-contact.cjs +134 -0
- package/dist/actions/create-suppression-list-contact.cjs.map +1 -0
- package/dist/actions/create-suppression-list-contact.d.cts +9 -0
- package/dist/actions/create-suppression-list-contact.d.cts.map +1 -0
- package/dist/actions/create-suppression-list-contact.d.mts +9 -0
- package/dist/actions/create-suppression-list-contact.d.mts.map +1 -0
- package/dist/actions/create-suppression-list-contact.mjs +133 -0
- package/dist/actions/create-suppression-list-contact.mjs.map +1 -0
- package/dist/actions/create-suppression-list.cjs +27 -0
- package/dist/actions/create-suppression-list.cjs.map +1 -0
- package/dist/actions/create-suppression-list.d.cts +9 -0
- package/dist/actions/create-suppression-list.d.cts.map +1 -0
- package/dist/actions/create-suppression-list.d.mts +9 -0
- package/dist/actions/create-suppression-list.d.mts.map +1 -0
- package/dist/actions/create-suppression-list.mjs +26 -0
- package/dist/actions/create-suppression-list.mjs.map +1 -0
- package/dist/actions/create-template.cjs +30 -0
- package/dist/actions/create-template.cjs.map +1 -0
- package/dist/actions/create-template.d.cts +9 -0
- package/dist/actions/create-template.d.cts.map +1 -0
- package/dist/actions/create-template.d.mts +9 -0
- package/dist/actions/create-template.d.mts.map +1 -0
- package/dist/actions/create-template.mjs +27 -0
- package/dist/actions/create-template.mjs.map +1 -0
- package/dist/actions/create-webhook.cjs +28 -0
- package/dist/actions/create-webhook.cjs.map +1 -0
- package/dist/actions/create-webhook.d.cts +9 -0
- package/dist/actions/create-webhook.d.cts.map +1 -0
- package/dist/actions/create-webhook.d.mts +9 -0
- package/dist/actions/create-webhook.d.mts.map +1 -0
- package/dist/actions/create-webhook.mjs +25 -0
- package/dist/actions/create-webhook.mjs.map +1 -0
- package/dist/actions/delete-account.cjs +19 -0
- package/dist/actions/delete-account.cjs.map +1 -0
- package/dist/actions/delete-account.d.cts +9 -0
- package/dist/actions/delete-account.d.cts.map +1 -0
- package/dist/actions/delete-account.d.mts +9 -0
- package/dist/actions/delete-account.d.mts.map +1 -0
- package/dist/actions/delete-account.mjs +16 -0
- package/dist/actions/delete-account.mjs.map +1 -0
- package/dist/actions/delete-campaign.cjs +16 -0
- package/dist/actions/delete-campaign.cjs.map +1 -0
- package/dist/actions/delete-campaign.d.cts +9 -0
- package/dist/actions/delete-campaign.d.cts.map +1 -0
- package/dist/actions/delete-campaign.d.mts +9 -0
- package/dist/actions/delete-campaign.d.mts.map +1 -0
- package/dist/actions/delete-campaign.mjs +13 -0
- package/dist/actions/delete-campaign.mjs.map +1 -0
- package/dist/actions/delete-suppression-list-contact.cjs +19 -0
- package/dist/actions/delete-suppression-list-contact.cjs.map +1 -0
- package/dist/actions/delete-suppression-list-contact.d.cts +9 -0
- package/dist/actions/delete-suppression-list-contact.d.cts.map +1 -0
- package/dist/actions/delete-suppression-list-contact.d.mts +9 -0
- package/dist/actions/delete-suppression-list-contact.d.mts.map +1 -0
- package/dist/actions/delete-suppression-list-contact.mjs +16 -0
- package/dist/actions/delete-suppression-list-contact.mjs.map +1 -0
- package/dist/actions/delete-suppression-list.cjs +16 -0
- package/dist/actions/delete-suppression-list.cjs.map +1 -0
- package/dist/actions/delete-suppression-list.d.cts +9 -0
- package/dist/actions/delete-suppression-list.d.cts.map +1 -0
- package/dist/actions/delete-suppression-list.d.mts +9 -0
- package/dist/actions/delete-suppression-list.d.mts.map +1 -0
- package/dist/actions/delete-suppression-list.mjs +13 -0
- package/dist/actions/delete-suppression-list.mjs.map +1 -0
- package/dist/actions/get-all-contact-lists.cjs +22 -0
- package/dist/actions/get-all-contact-lists.cjs.map +1 -0
- package/dist/actions/get-all-contact-lists.d.cts +9 -0
- package/dist/actions/get-all-contact-lists.d.cts.map +1 -0
- package/dist/actions/get-all-contact-lists.d.mts +9 -0
- package/dist/actions/get-all-contact-lists.d.mts.map +1 -0
- package/dist/actions/get-all-contact-lists.mjs +21 -0
- package/dist/actions/get-all-contact-lists.mjs.map +1 -0
- package/dist/actions/get-all-contacts-on-a-list.cjs +70 -0
- package/dist/actions/get-all-contacts-on-a-list.cjs.map +1 -0
- package/dist/actions/get-all-contacts-on-a-list.d.cts +9 -0
- package/dist/actions/get-all-contacts-on-a-list.d.cts.map +1 -0
- package/dist/actions/get-all-contacts-on-a-list.d.mts +9 -0
- package/dist/actions/get-all-contacts-on-a-list.d.mts.map +1 -0
- package/dist/actions/get-all-contacts-on-a-list.mjs +69 -0
- package/dist/actions/get-all-contacts-on-a-list.mjs.map +1 -0
- package/dist/actions/get-all-drip-campaigns.cjs +20 -0
- package/dist/actions/get-all-drip-campaigns.cjs.map +1 -0
- package/dist/actions/get-all-drip-campaigns.d.cts +9 -0
- package/dist/actions/get-all-drip-campaigns.d.cts.map +1 -0
- package/dist/actions/get-all-drip-campaigns.d.mts +9 -0
- package/dist/actions/get-all-drip-campaigns.d.mts.map +1 -0
- package/dist/actions/get-all-drip-campaigns.mjs +19 -0
- package/dist/actions/get-all-drip-campaigns.mjs.map +1 -0
- package/dist/actions/get-all-flows.cjs +25 -0
- package/dist/actions/get-all-flows.cjs.map +1 -0
- package/dist/actions/get-all-flows.d.cts +9 -0
- package/dist/actions/get-all-flows.d.cts.map +1 -0
- package/dist/actions/get-all-flows.d.mts +9 -0
- package/dist/actions/get-all-flows.d.mts.map +1 -0
- package/dist/actions/get-all-flows.mjs +24 -0
- package/dist/actions/get-all-flows.mjs.map +1 -0
- package/dist/actions/get-all-webhooks.cjs +23 -0
- package/dist/actions/get-all-webhooks.cjs.map +1 -0
- package/dist/actions/get-all-webhooks.d.cts +9 -0
- package/dist/actions/get-all-webhooks.d.cts.map +1 -0
- package/dist/actions/get-all-webhooks.d.mts +9 -0
- package/dist/actions/get-all-webhooks.d.mts.map +1 -0
- package/dist/actions/get-all-webhooks.mjs +22 -0
- package/dist/actions/get-all-webhooks.mjs.map +1 -0
- package/dist/actions/get-integrations.cjs +23 -0
- package/dist/actions/get-integrations.cjs.map +1 -0
- package/dist/actions/get-integrations.d.cts +9 -0
- package/dist/actions/get-integrations.d.cts.map +1 -0
- package/dist/actions/get-integrations.d.mts +9 -0
- package/dist/actions/get-integrations.d.mts.map +1 -0
- package/dist/actions/get-integrations.mjs +22 -0
- package/dist/actions/get-integrations.mjs.map +1 -0
- package/dist/actions/get-my-account.cjs +32 -0
- package/dist/actions/get-my-account.cjs.map +1 -0
- package/dist/actions/get-my-account.d.cts +9 -0
- package/dist/actions/get-my-account.d.cts.map +1 -0
- package/dist/actions/get-my-account.d.mts +9 -0
- package/dist/actions/get-my-account.d.mts.map +1 -0
- package/dist/actions/get-my-account.mjs +31 -0
- package/dist/actions/get-my-account.mjs.map +1 -0
- package/dist/actions/get-suppression-list-contact.cjs +87 -0
- package/dist/actions/get-suppression-list-contact.cjs.map +1 -0
- package/dist/actions/get-suppression-list-contact.d.cts +9 -0
- package/dist/actions/get-suppression-list-contact.d.cts.map +1 -0
- package/dist/actions/get-suppression-list-contact.d.mts +9 -0
- package/dist/actions/get-suppression-list-contact.d.mts.map +1 -0
- package/dist/actions/get-suppression-list-contact.mjs +86 -0
- package/dist/actions/get-suppression-list-contact.mjs.map +1 -0
- package/dist/actions/get-suppression-list-contacts.cjs +86 -0
- package/dist/actions/get-suppression-list-contacts.cjs.map +1 -0
- package/dist/actions/get-suppression-list-contacts.d.cts +9 -0
- package/dist/actions/get-suppression-list-contacts.d.cts.map +1 -0
- package/dist/actions/get-suppression-list-contacts.d.mts +9 -0
- package/dist/actions/get-suppression-list-contacts.d.mts.map +1 -0
- package/dist/actions/get-suppression-list-contacts.mjs +85 -0
- package/dist/actions/get-suppression-list-contacts.mjs.map +1 -0
- package/dist/actions/get-suppression-list.cjs +24 -0
- package/dist/actions/get-suppression-list.cjs.map +1 -0
- package/dist/actions/get-suppression-list.d.cts +9 -0
- package/dist/actions/get-suppression-list.d.cts.map +1 -0
- package/dist/actions/get-suppression-list.d.mts +9 -0
- package/dist/actions/get-suppression-list.d.mts.map +1 -0
- package/dist/actions/get-suppression-list.mjs +23 -0
- package/dist/actions/get-suppression-list.mjs.map +1 -0
- package/dist/actions/get-suppression-lists.cjs +24 -0
- package/dist/actions/get-suppression-lists.cjs.map +1 -0
- package/dist/actions/get-suppression-lists.d.cts +9 -0
- package/dist/actions/get-suppression-lists.d.cts.map +1 -0
- package/dist/actions/get-suppression-lists.d.mts +9 -0
- package/dist/actions/get-suppression-lists.d.mts.map +1 -0
- package/dist/actions/get-suppression-lists.mjs +23 -0
- package/dist/actions/get-suppression-lists.mjs.map +1 -0
- package/dist/actions/index.cjs +49 -0
- package/dist/actions/index.d.cts +25 -0
- package/dist/actions/index.d.mts +25 -0
- package/dist/actions/index.mjs +25 -0
- package/dist/actions/update-account.cjs +32 -0
- package/dist/actions/update-account.cjs.map +1 -0
- package/dist/actions/update-account.d.cts +9 -0
- package/dist/actions/update-account.d.cts.map +1 -0
- package/dist/actions/update-account.d.mts +9 -0
- package/dist/actions/update-account.d.mts.map +1 -0
- package/dist/actions/update-account.mjs +29 -0
- package/dist/actions/update-account.mjs.map +1 -0
- package/dist/actions/update-suppression-list-contact.cjs +135 -0
- package/dist/actions/update-suppression-list-contact.cjs.map +1 -0
- package/dist/actions/update-suppression-list-contact.d.cts +9 -0
- package/dist/actions/update-suppression-list-contact.d.cts.map +1 -0
- package/dist/actions/update-suppression-list-contact.d.mts +9 -0
- package/dist/actions/update-suppression-list-contact.d.mts.map +1 -0
- package/dist/actions/update-suppression-list-contact.mjs +134 -0
- package/dist/actions/update-suppression-list-contact.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 +54 -0
- package/dist/index.d.cts +27 -0
- package/dist/index.d.mts +27 -0
- package/dist/index.mjs +28 -0
- package/package.json +49 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const postalyticsCreateTemplate = action("POSTALYTICS_CREATE_TEMPLATE", {
|
|
4
|
+
slug: "postalytics-create-template",
|
|
5
|
+
name: "Create Template",
|
|
6
|
+
description: "Tool to create a new template with full HTML for postcard or letter. Use when you need to create a template by providing complete HTML markup or image URLs for front/back. The template can be used for various mail types including postcards, letters, and bifolds.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
back: z.string().describe("URL for full-sized back image or letter content. Used when is_full_html is false.").optional(),
|
|
9
|
+
html: z.string().describe("Complete HTML markup for the template following Postalytics formatting standards."),
|
|
10
|
+
name: z.string().describe("Template identifier name (e.g., 'The Architect', 'Welcome Postcard')."),
|
|
11
|
+
size: z.string().describe("Template dimensions: '0'=letter, '1'=4x6 postcard, '2'=6x9 postcard, '3'=6x11 postcard, '6'=12x9 bifold, '7'=6x18 bifold."),
|
|
12
|
+
count: z.number().int().describe("Page count for letter templates. Default: 0.").optional(),
|
|
13
|
+
front: z.string().describe("URL for full-sized front image or letter content. Used when is_full_html is false.").optional(),
|
|
14
|
+
is_proofed: z.boolean().default(false).describe("Indicates proofing status; bypasses web app safeguards when true. Default: false.").optional(),
|
|
15
|
+
font_family: z.string().describe("CSS font family designation (e.g., 'sans-serif', 'Arial').").optional(),
|
|
16
|
+
is_full_html: z.boolean().default(true).describe("Determines whether HTML is sent as complete markup (true) or as separate front/back images (false). Default: true.").optional(),
|
|
17
|
+
is_double_sided: z.boolean().describe("Specifies double-sided letter configuration. Default: false.").optional()
|
|
18
|
+
}).describe("Request model for creating a new template with full HTML for postcard or letter."),
|
|
19
|
+
output: z.object({
|
|
20
|
+
template_id: z.number().int().describe("Unique template identifier assigned by the system."),
|
|
21
|
+
created_date: z.string().describe("ISO format timestamp of template creation (e.g., '1999-02-19T12:00:00.00:00').")
|
|
22
|
+
}).describe("Response model for creating a template.")
|
|
23
|
+
});
|
|
24
|
+
//#endregion
|
|
25
|
+
export { postalyticsCreateTemplate };
|
|
26
|
+
|
|
27
|
+
//# sourceMappingURL=create-template.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-template.mjs","names":[],"sources":["../../src/actions/create-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostalyticsCreateTemplateInput: z.ZodTypeAny = z.object({\n back: z.string().describe(\"URL for full-sized back image or letter content. Used when is_full_html is false.\").optional(),\n html: z.string().describe(\"Complete HTML markup for the template following Postalytics formatting standards.\"),\n name: z.string().describe(\"Template identifier name (e.g., 'The Architect', 'Welcome Postcard').\"),\n size: z.string().describe(\"Template dimensions: '0'=letter, '1'=4x6 postcard, '2'=6x9 postcard, '3'=6x11 postcard, '6'=12x9 bifold, '7'=6x18 bifold.\"),\n count: z.number().int().describe(\"Page count for letter templates. Default: 0.\").optional(),\n front: z.string().describe(\"URL for full-sized front image or letter content. Used when is_full_html is false.\").optional(),\n is_proofed: z.boolean().default(false).describe(\"Indicates proofing status; bypasses web app safeguards when true. Default: false.\").optional(),\n font_family: z.string().describe(\"CSS font family designation (e.g., 'sans-serif', 'Arial').\").optional(),\n is_full_html: z.boolean().default(true).describe(\"Determines whether HTML is sent as complete markup (true) or as separate front/back images (false). Default: true.\").optional(),\n is_double_sided: z.boolean().describe(\"Specifies double-sided letter configuration. Default: false.\").optional(),\n}).describe(\"Request model for creating a new template with full HTML for postcard or letter.\");\nexport const PostalyticsCreateTemplateOutput: z.ZodTypeAny = z.object({\n template_id: z.number().int().describe(\"Unique template identifier assigned by the system.\"),\n created_date: z.string().describe(\"ISO format timestamp of template creation (e.g., '1999-02-19T12:00:00.00:00').\"),\n}).describe(\"Response model for creating a template.\");\n\nexport const postalyticsCreateTemplate = action(\"POSTALYTICS_CREATE_TEMPLATE\", {\n slug: \"postalytics-create-template\",\n name: \"Create Template\",\n description: \"Tool to create a new template with full HTML for postcard or letter. Use when you need to create a template by providing complete HTML markup or image URLs for front/back. The template can be used for various mail types including postcards, letters, and bifolds.\",\n input: PostalyticsCreateTemplateInput,\n output: PostalyticsCreateTemplateOutput,\n});\n"],"mappings":";;AAqBA,MAAa,4BAA4B,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArB0D,EAAE,OAAO;EACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EACxH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;EACjG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;EACrJ,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EAC1F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;EAC1H,YAAY,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EAC9I,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACxG,cAAc,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;EAChL,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,SAAS,kFAUH;CACP,QAV2D,EAAE,OAAO;EACpE,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;EAC3F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;CACpH,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/create-webhook.ts
|
|
4
|
+
const PostalyticsCreateWebhookInput = zod.z.object({
|
|
5
|
+
url: zod.z.string().describe("The destination URL that will receive webhook event notifications."),
|
|
6
|
+
name: zod.z.string().describe("Human-readable name for the webhook to help identify it."),
|
|
7
|
+
events: zod.z.array(zod.z.string()).describe("List of campaign event types to subscribe to. Common events include 'sent', 'delivered', 'opened', 'clicked'.")
|
|
8
|
+
}).describe("Request model for creating a new webhook.");
|
|
9
|
+
const PostalyticsCreateWebhookOutput = zod.z.object({
|
|
10
|
+
url: zod.z.string().describe("Destination URL that receives webhook event notifications").nullable().optional(),
|
|
11
|
+
name: zod.z.string().describe("Human-readable name of the webhook").nullable().optional(),
|
|
12
|
+
events: zod.z.array(zod.z.string()).describe("List of subscribed event types").nullable().optional(),
|
|
13
|
+
campaign_id: zod.z.string().describe("Unique identifier for the associated campaign").nullable().optional(),
|
|
14
|
+
created_date: zod.z.string().describe("ISO 8601 timestamp indicating when the webhook was created").nullable().optional(),
|
|
15
|
+
campaign_name: zod.z.string().describe("Human-readable name of the campaign").nullable().optional(),
|
|
16
|
+
is_subscribed: zod.z.number().int().describe("Webhook subscription status (1=enabled, 0=disabled)").nullable().optional()
|
|
17
|
+
}).describe("Response model for creating a webhook.");
|
|
18
|
+
const postalyticsCreateWebhook = require_action.action("POSTALYTICS_CREATE_WEBHOOK", {
|
|
19
|
+
slug: "postalytics-create-webhook",
|
|
20
|
+
name: "Create Webhook",
|
|
21
|
+
description: "Tool to create a new webhook to receive campaign event notifications from Postalytics. Use when you need to set up a webhook endpoint that will be notified about campaign events like sent, delivered, opened, or clicked.",
|
|
22
|
+
input: PostalyticsCreateWebhookInput,
|
|
23
|
+
output: PostalyticsCreateWebhookOutput
|
|
24
|
+
});
|
|
25
|
+
//#endregion
|
|
26
|
+
exports.postalyticsCreateWebhook = postalyticsCreateWebhook;
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=create-webhook.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-webhook.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostalyticsCreateWebhookInput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The destination URL that will receive webhook event notifications.\"),\n name: z.string().describe(\"Human-readable name for the webhook to help identify it.\"),\n events: z.array(z.string()).describe(\"List of campaign event types to subscribe to. Common events include 'sent', 'delivered', 'opened', 'clicked'.\"),\n}).describe(\"Request model for creating a new webhook.\");\nexport const PostalyticsCreateWebhookOutput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"Destination URL that receives webhook event notifications\").nullable().optional(),\n name: z.string().describe(\"Human-readable name of the webhook\").nullable().optional(),\n events: z.array(z.string()).describe(\"List of subscribed event types\").nullable().optional(),\n campaign_id: z.string().describe(\"Unique identifier for the associated campaign\").nullable().optional(),\n created_date: z.string().describe(\"ISO 8601 timestamp indicating when the webhook was created\").nullable().optional(),\n campaign_name: z.string().describe(\"Human-readable name of the campaign\").nullable().optional(),\n is_subscribed: z.number().int().describe(\"Webhook subscription status (1=enabled, 0=disabled)\").nullable().optional(),\n}).describe(\"Response model for creating a webhook.\");\n\nexport const postalyticsCreateWebhook = action(\"POSTALYTICS_CREATE_WEBHOOK\", {\n slug: \"postalytics-create-webhook\",\n name: \"Create Webhook\",\n description: \"Tool to create a new webhook to receive campaign event notifications from Postalytics. Use when you need to set up a webhook endpoint that will be notified about campaign events like sent, delivered, opened, or clicked.\",\n input: PostalyticsCreateWebhookInput,\n output: PostalyticsCreateWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CAC7F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACpF,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+GAA+G;AACtJ,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAEpD,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/create-webhook.d.ts
|
|
4
|
+
declare const PostalyticsCreateWebhookInput: z.ZodTypeAny;
|
|
5
|
+
declare const PostalyticsCreateWebhookOutput: z.ZodTypeAny;
|
|
6
|
+
declare const postalyticsCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { postalyticsCreateWebhook };
|
|
9
|
+
//# sourceMappingURL=create-webhook.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-webhook.d.cts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAIU;AAAA,cAC3C,8BAAA,EAAgC,CAAA,CAAE,UAQM;AAAA,cAExC,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/create-webhook.d.ts
|
|
4
|
+
declare const PostalyticsCreateWebhookInput: z.ZodTypeAny;
|
|
5
|
+
declare const PostalyticsCreateWebhookOutput: z.ZodTypeAny;
|
|
6
|
+
declare const postalyticsCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { postalyticsCreateWebhook };
|
|
9
|
+
//# sourceMappingURL=create-webhook.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-webhook.d.mts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAIU;AAAA,cAC3C,8BAAA,EAAgC,CAAA,CAAE,UAQM;AAAA,cAExC,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const postalyticsCreateWebhook = action("POSTALYTICS_CREATE_WEBHOOK", {
|
|
4
|
+
slug: "postalytics-create-webhook",
|
|
5
|
+
name: "Create Webhook",
|
|
6
|
+
description: "Tool to create a new webhook to receive campaign event notifications from Postalytics. Use when you need to set up a webhook endpoint that will be notified about campaign events like sent, delivered, opened, or clicked.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
url: z.string().describe("The destination URL that will receive webhook event notifications."),
|
|
9
|
+
name: z.string().describe("Human-readable name for the webhook to help identify it."),
|
|
10
|
+
events: z.array(z.string()).describe("List of campaign event types to subscribe to. Common events include 'sent', 'delivered', 'opened', 'clicked'.")
|
|
11
|
+
}).describe("Request model for creating a new webhook."),
|
|
12
|
+
output: z.object({
|
|
13
|
+
url: z.string().describe("Destination URL that receives webhook event notifications").nullable().optional(),
|
|
14
|
+
name: z.string().describe("Human-readable name of the webhook").nullable().optional(),
|
|
15
|
+
events: z.array(z.string()).describe("List of subscribed event types").nullable().optional(),
|
|
16
|
+
campaign_id: z.string().describe("Unique identifier for the associated campaign").nullable().optional(),
|
|
17
|
+
created_date: z.string().describe("ISO 8601 timestamp indicating when the webhook was created").nullable().optional(),
|
|
18
|
+
campaign_name: z.string().describe("Human-readable name of the campaign").nullable().optional(),
|
|
19
|
+
is_subscribed: z.number().int().describe("Webhook subscription status (1=enabled, 0=disabled)").nullable().optional()
|
|
20
|
+
}).describe("Response model for creating a webhook.")
|
|
21
|
+
});
|
|
22
|
+
//#endregion
|
|
23
|
+
export { postalyticsCreateWebhook };
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=create-webhook.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-webhook.mjs","names":[],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostalyticsCreateWebhookInput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The destination URL that will receive webhook event notifications.\"),\n name: z.string().describe(\"Human-readable name for the webhook to help identify it.\"),\n events: z.array(z.string()).describe(\"List of campaign event types to subscribe to. Common events include 'sent', 'delivered', 'opened', 'clicked'.\"),\n}).describe(\"Request model for creating a new webhook.\");\nexport const PostalyticsCreateWebhookOutput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"Destination URL that receives webhook event notifications\").nullable().optional(),\n name: z.string().describe(\"Human-readable name of the webhook\").nullable().optional(),\n events: z.array(z.string()).describe(\"List of subscribed event types\").nullable().optional(),\n campaign_id: z.string().describe(\"Unique identifier for the associated campaign\").nullable().optional(),\n created_date: z.string().describe(\"ISO 8601 timestamp indicating when the webhook was created\").nullable().optional(),\n campaign_name: z.string().describe(\"Human-readable name of the campaign\").nullable().optional(),\n is_subscribed: z.number().int().describe(\"Webhook subscription status (1=enabled, 0=disabled)\").nullable().optional(),\n}).describe(\"Response model for creating a webhook.\");\n\nexport const postalyticsCreateWebhook = action(\"POSTALYTICS_CREATE_WEBHOOK\", {\n slug: \"postalytics-create-webhook\",\n name: \"Create Webhook\",\n description: \"Tool to create a new webhook to receive campaign event notifications from Postalytics. Use when you need to set up a webhook endpoint that will be notified about campaign events like sent, delivered, opened, or clicked.\",\n input: PostalyticsCreateWebhookInput,\n output: PostalyticsCreateWebhookOutput,\n});\n"],"mappings":";;AAmBA,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnByD,EAAE,OAAO;EAClE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;EAC7F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;EACpF,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+GAA+G;CACtJ,CAAC,CAAC,CAAC,SAAS,2CAeH;CACP,QAf0D,EAAE,OAAO;EACnE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,CAAC,CAAC,CAAC,SAAS,wCAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/delete-account.ts
|
|
4
|
+
const PostalyticsDeleteAccountInput = zod.z.object({ account_id: zod.z.number().int().describe("The unique identifier of the account to delete. Only sub accounts and sub user accounts can be deleted. Cannot delete parent accounts.") }).describe("Request parameters to delete a Postalytics account.");
|
|
5
|
+
const PostalyticsDeleteAccountOutput = zod.z.object({
|
|
6
|
+
account_id: zod.z.number().int().describe("The unique identifier of the deleted account").nullable().optional(),
|
|
7
|
+
deleted_date: zod.z.string().describe("Timestamp indicating when the account deletion was completed").nullable().optional()
|
|
8
|
+
}).describe("Response schema for delete account action.");
|
|
9
|
+
const postalyticsDeleteAccount = require_action.action("POSTALYTICS_DELETE_ACCOUNT", {
|
|
10
|
+
slug: "postalytics-delete-account",
|
|
11
|
+
name: "Delete Account",
|
|
12
|
+
description: "Tool to delete a Postalytics account and all associated campaigns, templates, and lists. Use when you need to permanently remove a sub account or sub user account. Cannot delete parent accounts.",
|
|
13
|
+
input: PostalyticsDeleteAccountInput,
|
|
14
|
+
output: PostalyticsDeleteAccountOutput
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
exports.postalyticsDeleteAccount = postalyticsDeleteAccount;
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=delete-account.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-account.cjs","names":["z","action"],"sources":["../../src/actions/delete-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostalyticsDeleteAccountInput: z.ZodTypeAny = z.object({\n account_id: z.number().int().describe(\"The unique identifier of the account to delete. Only sub accounts and sub user accounts can be deleted. Cannot delete parent accounts.\"),\n}).describe(\"Request parameters to delete a Postalytics account.\");\nexport const PostalyticsDeleteAccountOutput: z.ZodTypeAny = z.object({\n account_id: z.number().int().describe(\"The unique identifier of the deleted account\").nullable().optional(),\n deleted_date: z.string().describe(\"Timestamp indicating when the account deletion was completed\").nullable().optional(),\n}).describe(\"Response schema for delete account action.\");\n\nexport const postalyticsDeleteAccount = action(\"POSTALYTICS_DELETE_ACCOUNT\", {\n slug: \"postalytics-delete-account\",\n name: \"Delete Account\",\n description: \"Tool to delete a Postalytics account and all associated campaigns, templates, and lists. Use when you need to permanently remove a sub account or sub user account. Cannot delete parent accounts.\",\n input: PostalyticsDeleteAccountInput,\n output: PostalyticsDeleteAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,EAClE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wIAAwI,EAChL,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-account.d.ts
|
|
4
|
+
declare const PostalyticsDeleteAccountInput: z.ZodTypeAny;
|
|
5
|
+
declare const PostalyticsDeleteAccountOutput: z.ZodTypeAny;
|
|
6
|
+
declare const postalyticsDeleteAccount: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { postalyticsDeleteAccount };
|
|
9
|
+
//# sourceMappingURL=delete-account.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-account.d.cts","names":[],"sources":["../../src/actions/delete-account.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAEoB;AAAA,cACrD,8BAAA,EAAgC,CAAA,CAAE,UAGU;AAAA,cAE5C,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-account.d.ts
|
|
4
|
+
declare const PostalyticsDeleteAccountInput: z.ZodTypeAny;
|
|
5
|
+
declare const PostalyticsDeleteAccountOutput: z.ZodTypeAny;
|
|
6
|
+
declare const postalyticsDeleteAccount: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { postalyticsDeleteAccount };
|
|
9
|
+
//# sourceMappingURL=delete-account.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-account.d.mts","names":[],"sources":["../../src/actions/delete-account.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAEoB;AAAA,cACrD,8BAAA,EAAgC,CAAA,CAAE,UAGU;AAAA,cAE5C,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 postalyticsDeleteAccount = action("POSTALYTICS_DELETE_ACCOUNT", {
|
|
4
|
+
slug: "postalytics-delete-account",
|
|
5
|
+
name: "Delete Account",
|
|
6
|
+
description: "Tool to delete a Postalytics account and all associated campaigns, templates, and lists. Use when you need to permanently remove a sub account or sub user account. Cannot delete parent accounts.",
|
|
7
|
+
input: z.object({ account_id: z.number().int().describe("The unique identifier of the account to delete. Only sub accounts and sub user accounts can be deleted. Cannot delete parent accounts.") }).describe("Request parameters to delete a Postalytics account."),
|
|
8
|
+
output: z.object({
|
|
9
|
+
account_id: z.number().int().describe("The unique identifier of the deleted account").nullable().optional(),
|
|
10
|
+
deleted_date: z.string().describe("Timestamp indicating when the account deletion was completed").nullable().optional()
|
|
11
|
+
}).describe("Response schema for delete account action.")
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
export { postalyticsDeleteAccount };
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=delete-account.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-account.mjs","names":[],"sources":["../../src/actions/delete-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostalyticsDeleteAccountInput: z.ZodTypeAny = z.object({\n account_id: z.number().int().describe(\"The unique identifier of the account to delete. Only sub accounts and sub user accounts can be deleted. Cannot delete parent accounts.\"),\n}).describe(\"Request parameters to delete a Postalytics account.\");\nexport const PostalyticsDeleteAccountOutput: z.ZodTypeAny = z.object({\n account_id: z.number().int().describe(\"The unique identifier of the deleted account\").nullable().optional(),\n deleted_date: z.string().describe(\"Timestamp indicating when the account deletion was completed\").nullable().optional(),\n}).describe(\"Response schema for delete account action.\");\n\nexport const postalyticsDeleteAccount = action(\"POSTALYTICS_DELETE_ACCOUNT\", {\n slug: \"postalytics-delete-account\",\n name: \"Delete Account\",\n description: \"Tool to delete a Postalytics account and all associated campaigns, templates, and lists. Use when you need to permanently remove a sub account or sub user account. Cannot delete parent accounts.\",\n input: PostalyticsDeleteAccountInput,\n output: PostalyticsDeleteAccountOutput,\n});\n"],"mappings":";;AAYA,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZyD,EAAE,OAAO,EAClE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wIAAwI,EAChL,CAAC,CAAC,CAAC,SAAS,qDAUH;CACP,QAV0D,EAAE,OAAO;EACnE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/delete-campaign.ts
|
|
4
|
+
const PostalyticsDeleteCampaignInput = zod.z.object({ id: zod.z.number().int().describe("Integer contains the Id of the campaign to delete.") }).describe("Request parameters to delete a campaign.");
|
|
5
|
+
const PostalyticsDeleteCampaignOutput = zod.z.object({ deleted_date: zod.z.string().describe("The date and time when the campaign was deleted in ISO 8601 date-time format.").nullable().optional() }).describe("Response schema for delete campaign action.");
|
|
6
|
+
const postalyticsDeleteCampaign = require_action.action("POSTALYTICS_DELETE_CAMPAIGN", {
|
|
7
|
+
slug: "postalytics-delete-campaign",
|
|
8
|
+
name: "Delete Campaign",
|
|
9
|
+
description: "Tool to delete a campaign from the system. Use when you need to remove a campaign that is no longer needed.",
|
|
10
|
+
input: PostalyticsDeleteCampaignInput,
|
|
11
|
+
output: PostalyticsDeleteCampaignOutput
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
exports.postalyticsDeleteCampaign = postalyticsDeleteCampaign;
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=delete-campaign.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-campaign.cjs","names":["z","action"],"sources":["../../src/actions/delete-campaign.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostalyticsDeleteCampaignInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Integer contains the Id of the campaign to delete.\"),\n}).describe(\"Request parameters to delete a campaign.\");\nexport const PostalyticsDeleteCampaignOutput: z.ZodTypeAny = z.object({\n deleted_date: z.string().describe(\"The date and time when the campaign was deleted in ISO 8601 date-time format.\").nullable().optional(),\n}).describe(\"Response schema for delete campaign action.\");\n\nexport const postalyticsDeleteCampaign = action(\"POSTALYTICS_DELETE_CAMPAIGN\", {\n slug: \"postalytics-delete-campaign\",\n name: \"Delete Campaign\",\n description: \"Tool to delete a campaign from the system. Use when you need to remove a campaign that is no longer needed.\",\n input: PostalyticsDeleteCampaignInput,\n output: PostalyticsDeleteCampaignOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,EACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,EACpF,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzI,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,4BAA4BC,eAAAA,OAAO,+BAA+B;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-campaign.d.ts
|
|
4
|
+
declare const PostalyticsDeleteCampaignInput: z.ZodTypeAny;
|
|
5
|
+
declare const PostalyticsDeleteCampaignOutput: z.ZodTypeAny;
|
|
6
|
+
declare const postalyticsDeleteCampaign: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { postalyticsDeleteCampaign };
|
|
9
|
+
//# sourceMappingURL=delete-campaign.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-campaign.d.cts","names":[],"sources":["../../src/actions/delete-campaign.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAEQ;AAAA,cAC1C,+BAAA,EAAiC,CAAA,CAAE,UAEU;AAAA,cAE7C,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-campaign.d.ts
|
|
4
|
+
declare const PostalyticsDeleteCampaignInput: z.ZodTypeAny;
|
|
5
|
+
declare const PostalyticsDeleteCampaignOutput: z.ZodTypeAny;
|
|
6
|
+
declare const postalyticsDeleteCampaign: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { postalyticsDeleteCampaign };
|
|
9
|
+
//# sourceMappingURL=delete-campaign.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-campaign.d.mts","names":[],"sources":["../../src/actions/delete-campaign.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAEQ;AAAA,cAC1C,+BAAA,EAAiC,CAAA,CAAE,UAEU;AAAA,cAE7C,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const postalyticsDeleteCampaign = action("POSTALYTICS_DELETE_CAMPAIGN", {
|
|
4
|
+
slug: "postalytics-delete-campaign",
|
|
5
|
+
name: "Delete Campaign",
|
|
6
|
+
description: "Tool to delete a campaign from the system. Use when you need to remove a campaign that is no longer needed.",
|
|
7
|
+
input: z.object({ id: z.number().int().describe("Integer contains the Id of the campaign to delete.") }).describe("Request parameters to delete a campaign."),
|
|
8
|
+
output: z.object({ deleted_date: z.string().describe("The date and time when the campaign was deleted in ISO 8601 date-time format.").nullable().optional() }).describe("Response schema for delete campaign action.")
|
|
9
|
+
});
|
|
10
|
+
//#endregion
|
|
11
|
+
export { postalyticsDeleteCampaign };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=delete-campaign.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-campaign.mjs","names":[],"sources":["../../src/actions/delete-campaign.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostalyticsDeleteCampaignInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Integer contains the Id of the campaign to delete.\"),\n}).describe(\"Request parameters to delete a campaign.\");\nexport const PostalyticsDeleteCampaignOutput: z.ZodTypeAny = z.object({\n deleted_date: z.string().describe(\"The date and time when the campaign was deleted in ISO 8601 date-time format.\").nullable().optional(),\n}).describe(\"Response schema for delete campaign action.\");\n\nexport const postalyticsDeleteCampaign = action(\"POSTALYTICS_DELETE_CAMPAIGN\", {\n slug: \"postalytics-delete-campaign\",\n name: \"Delete Campaign\",\n description: \"Tool to delete a campaign from the system. Use when you need to remove a campaign that is no longer needed.\",\n input: PostalyticsDeleteCampaignInput,\n output: PostalyticsDeleteCampaignOutput,\n});\n"],"mappings":";;AAWA,MAAa,4BAA4B,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX0D,EAAE,OAAO,EACnE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,EACpF,CAAC,CAAC,CAAC,SAAS,0CASH;CACP,QAT2D,EAAE,OAAO,EACpE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzI,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/delete-suppression-list-contact.ts
|
|
4
|
+
const PostalyticsDeleteSuppressionListContactInput = zod.z.object({
|
|
5
|
+
list_id: zod.z.number().int().describe("The ID of the suppression list"),
|
|
6
|
+
contact_id: zod.z.number().int().describe("The ID of the contact to be deleted from the list")
|
|
7
|
+
}).describe("Request parameters to delete a contact from a suppression list.");
|
|
8
|
+
const PostalyticsDeleteSuppressionListContactOutput = zod.z.object({ Message: zod.z.string().describe("Confirmation message indicating the result of the contact deletion").nullable().optional() }).describe("Response schema for delete suppression list contact action.");
|
|
9
|
+
const postalyticsDeleteSuppressionListContact = require_action.action("POSTALYTICS_DELETE_SUPPRESSION_LIST_CONTACT", {
|
|
10
|
+
slug: "postalytics-delete-suppression-list-contact",
|
|
11
|
+
name: "Delete Suppression List Contact",
|
|
12
|
+
description: "Tool to delete a specific contact from a suppression list. Use when you need to remove a contact from a suppression list in Postalytics.",
|
|
13
|
+
input: PostalyticsDeleteSuppressionListContactInput,
|
|
14
|
+
output: PostalyticsDeleteSuppressionListContactOutput
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
exports.postalyticsDeleteSuppressionListContact = postalyticsDeleteSuppressionListContact;
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=delete-suppression-list-contact.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-suppression-list-contact.cjs","names":["z","action"],"sources":["../../src/actions/delete-suppression-list-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostalyticsDeleteSuppressionListContactInput: z.ZodTypeAny = z.object({\n list_id: z.number().int().describe(\"The ID of the suppression list\"),\n contact_id: z.number().int().describe(\"The ID of the contact to be deleted from the list\"),\n}).describe(\"Request parameters to delete a contact from a suppression list.\");\nexport const PostalyticsDeleteSuppressionListContactOutput: z.ZodTypeAny = z.object({\n Message: z.string().describe(\"Confirmation message indicating the result of the contact deletion\").nullable().optional(),\n}).describe(\"Response schema for delete suppression list contact action.\");\n\nexport const postalyticsDeleteSuppressionListContact = action(\"POSTALYTICS_DELETE_SUPPRESSION_LIST_CONTACT\", {\n slug: \"postalytics-delete-suppression-list-contact\",\n name: \"Delete Suppression List Contact\",\n description: \"Tool to delete a specific contact from a suppression list. Use when you need to remove a contact from a suppression list in Postalytics.\",\n input: PostalyticsDeleteSuppressionListContactInput,\n output: PostalyticsDeleteSuppressionListContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+CAA6DA,IAAAA,EAAE,OAAO;CACjF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;CACnE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;AAC3F,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,gDAA8DA,IAAAA,EAAE,OAAO,EAClF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzH,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAEzE,MAAa,0CAA0CC,eAAAA,OAAO,+CAA+C;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-suppression-list-contact.d.ts
|
|
4
|
+
declare const PostalyticsDeleteSuppressionListContactInput: z.ZodTypeAny;
|
|
5
|
+
declare const PostalyticsDeleteSuppressionListContactOutput: z.ZodTypeAny;
|
|
6
|
+
declare const postalyticsDeleteSuppressionListContact: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { postalyticsDeleteSuppressionListContact };
|
|
9
|
+
//# sourceMappingURL=delete-suppression-list-contact.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-suppression-list-contact.d.cts","names":[],"sources":["../../src/actions/delete-suppression-list-contact.ts"],"mappings":";;;cAIa,4CAAA,EAA8C,CAAA,CAAE,UAGiB;AAAA,cACjE,6CAAA,EAA+C,CAAA,CAAE,UAEY;AAAA,cAE7D,uCAAA,gCAAuC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-suppression-list-contact.d.ts
|
|
4
|
+
declare const PostalyticsDeleteSuppressionListContactInput: z.ZodTypeAny;
|
|
5
|
+
declare const PostalyticsDeleteSuppressionListContactOutput: z.ZodTypeAny;
|
|
6
|
+
declare const postalyticsDeleteSuppressionListContact: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { postalyticsDeleteSuppressionListContact };
|
|
9
|
+
//# sourceMappingURL=delete-suppression-list-contact.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-suppression-list-contact.d.mts","names":[],"sources":["../../src/actions/delete-suppression-list-contact.ts"],"mappings":";;;cAIa,4CAAA,EAA8C,CAAA,CAAE,UAGiB;AAAA,cACjE,6CAAA,EAA+C,CAAA,CAAE,UAEY;AAAA,cAE7D,uCAAA,gCAAuC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const postalyticsDeleteSuppressionListContact = action("POSTALYTICS_DELETE_SUPPRESSION_LIST_CONTACT", {
|
|
4
|
+
slug: "postalytics-delete-suppression-list-contact",
|
|
5
|
+
name: "Delete Suppression List Contact",
|
|
6
|
+
description: "Tool to delete a specific contact from a suppression list. Use when you need to remove a contact from a suppression list in Postalytics.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
list_id: z.number().int().describe("The ID of the suppression list"),
|
|
9
|
+
contact_id: z.number().int().describe("The ID of the contact to be deleted from the list")
|
|
10
|
+
}).describe("Request parameters to delete a contact from a suppression list."),
|
|
11
|
+
output: z.object({ Message: z.string().describe("Confirmation message indicating the result of the contact deletion").nullable().optional() }).describe("Response schema for delete suppression list contact action.")
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
export { postalyticsDeleteSuppressionListContact };
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=delete-suppression-list-contact.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-suppression-list-contact.mjs","names":[],"sources":["../../src/actions/delete-suppression-list-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostalyticsDeleteSuppressionListContactInput: z.ZodTypeAny = z.object({\n list_id: z.number().int().describe(\"The ID of the suppression list\"),\n contact_id: z.number().int().describe(\"The ID of the contact to be deleted from the list\"),\n}).describe(\"Request parameters to delete a contact from a suppression list.\");\nexport const PostalyticsDeleteSuppressionListContactOutput: z.ZodTypeAny = z.object({\n Message: z.string().describe(\"Confirmation message indicating the result of the contact deletion\").nullable().optional(),\n}).describe(\"Response schema for delete suppression list contact action.\");\n\nexport const postalyticsDeleteSuppressionListContact = action(\"POSTALYTICS_DELETE_SUPPRESSION_LIST_CONTACT\", {\n slug: \"postalytics-delete-suppression-list-contact\",\n name: \"Delete Suppression List Contact\",\n description: \"Tool to delete a specific contact from a suppression list. Use when you need to remove a contact from a suppression list in Postalytics.\",\n input: PostalyticsDeleteSuppressionListContactInput,\n output: PostalyticsDeleteSuppressionListContactOutput,\n});\n"],"mappings":";;AAYA,MAAa,0CAA0C,OAAO,+CAA+C;CAC3G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZwE,EAAE,OAAO;EACjF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;EACnE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CAC3F,CAAC,CAAC,CAAC,SAAS,iEASH;CACP,QATyE,EAAE,OAAO,EAClF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzH,CAAC,CAAC,CAAC,SAAS,6DAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/delete-suppression-list.ts
|
|
4
|
+
const PostalyticsDeleteSuppressionListInput = zod.z.object({ id: zod.z.number().int().describe("The ID of the suppression list to delete") }).describe("Request parameters to delete a suppression list.");
|
|
5
|
+
const PostalyticsDeleteSuppressionListOutput = zod.z.object({ Message: zod.z.string().describe("Confirmation message indicating the result of the deletion operation").nullable().optional() }).describe("Response schema for delete suppression list action.");
|
|
6
|
+
const postalyticsDeleteSuppressionList = require_action.action("POSTALYTICS_DELETE_SUPPRESSION_LIST", {
|
|
7
|
+
slug: "postalytics-delete-suppression-list",
|
|
8
|
+
name: "Delete Suppression List",
|
|
9
|
+
description: "Tool to delete a specified suppression list. Use when you need to remove a suppression list that is no longer needed.",
|
|
10
|
+
input: PostalyticsDeleteSuppressionListInput,
|
|
11
|
+
output: PostalyticsDeleteSuppressionListOutput
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
exports.postalyticsDeleteSuppressionList = postalyticsDeleteSuppressionList;
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=delete-suppression-list.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-suppression-list.cjs","names":["z","action"],"sources":["../../src/actions/delete-suppression-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostalyticsDeleteSuppressionListInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The ID of the suppression list to delete\"),\n}).describe(\"Request parameters to delete a suppression list.\");\nexport const PostalyticsDeleteSuppressionListOutput: z.ZodTypeAny = z.object({\n Message: z.string().describe(\"Confirmation message indicating the result of the deletion operation\").nullable().optional(),\n}).describe(\"Response schema for delete suppression list action.\");\n\nexport const postalyticsDeleteSuppressionList = action(\"POSTALYTICS_DELETE_SUPPRESSION_LIST\", {\n slug: \"postalytics-delete-suppression-list\",\n name: \"Delete Suppression List\",\n description: \"Tool to delete a specified suppression list. Use when you need to remove a suppression list that is no longer needed.\",\n input: PostalyticsDeleteSuppressionListInput,\n output: PostalyticsDeleteSuppressionListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsDA,IAAAA,EAAE,OAAO,EAC1E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,EAC1E,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,yCAAuDA,IAAAA,EAAE,OAAO,EAC3E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC3H,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAEjE,MAAa,mCAAmCC,eAAAA,OAAO,uCAAuC;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/delete-suppression-list.d.ts
|
|
4
|
+
declare const PostalyticsDeleteSuppressionListInput: z.ZodTypeAny;
|
|
5
|
+
declare const PostalyticsDeleteSuppressionListOutput: z.ZodTypeAny;
|
|
6
|
+
declare const postalyticsDeleteSuppressionList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { postalyticsDeleteSuppressionList };
|
|
9
|
+
//# sourceMappingURL=delete-suppression-list.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-suppression-list.d.cts","names":[],"sources":["../../src/actions/delete-suppression-list.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAES;AAAA,cAClD,sCAAA,EAAwC,CAAA,CAAE,UAEW;AAAA,cAErD,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-suppression-list.d.ts
|
|
4
|
+
declare const PostalyticsDeleteSuppressionListInput: z.ZodTypeAny;
|
|
5
|
+
declare const PostalyticsDeleteSuppressionListOutput: z.ZodTypeAny;
|
|
6
|
+
declare const postalyticsDeleteSuppressionList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { postalyticsDeleteSuppressionList };
|
|
9
|
+
//# sourceMappingURL=delete-suppression-list.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-suppression-list.d.mts","names":[],"sources":["../../src/actions/delete-suppression-list.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAES;AAAA,cAClD,sCAAA,EAAwC,CAAA,CAAE,UAEW;AAAA,cAErD,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const postalyticsDeleteSuppressionList = action("POSTALYTICS_DELETE_SUPPRESSION_LIST", {
|
|
4
|
+
slug: "postalytics-delete-suppression-list",
|
|
5
|
+
name: "Delete Suppression List",
|
|
6
|
+
description: "Tool to delete a specified suppression list. Use when you need to remove a suppression list that is no longer needed.",
|
|
7
|
+
input: z.object({ id: z.number().int().describe("The ID of the suppression list to delete") }).describe("Request parameters to delete a suppression list."),
|
|
8
|
+
output: z.object({ Message: z.string().describe("Confirmation message indicating the result of the deletion operation").nullable().optional() }).describe("Response schema for delete suppression list action.")
|
|
9
|
+
});
|
|
10
|
+
//#endregion
|
|
11
|
+
export { postalyticsDeleteSuppressionList };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=delete-suppression-list.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-suppression-list.mjs","names":[],"sources":["../../src/actions/delete-suppression-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostalyticsDeleteSuppressionListInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The ID of the suppression list to delete\"),\n}).describe(\"Request parameters to delete a suppression list.\");\nexport const PostalyticsDeleteSuppressionListOutput: z.ZodTypeAny = z.object({\n Message: z.string().describe(\"Confirmation message indicating the result of the deletion operation\").nullable().optional(),\n}).describe(\"Response schema for delete suppression list action.\");\n\nexport const postalyticsDeleteSuppressionList = action(\"POSTALYTICS_DELETE_SUPPRESSION_LIST\", {\n slug: \"postalytics-delete-suppression-list\",\n name: \"Delete Suppression List\",\n description: \"Tool to delete a specified suppression list. Use when you need to remove a suppression list that is no longer needed.\",\n input: PostalyticsDeleteSuppressionListInput,\n output: PostalyticsDeleteSuppressionListOutput,\n});\n"],"mappings":";;AAWA,MAAa,mCAAmC,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXiE,EAAE,OAAO,EAC1E,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,EAC1E,CAAC,CAAC,CAAC,SAAS,kDASH;CACP,QATkE,EAAE,OAAO,EAC3E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC3H,CAAC,CAAC,CAAC,SAAS,qDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-all-contact-lists.ts
|
|
4
|
+
const PostalyticsGetAllContactListsInput = zod.z.object({}).describe("Request model for retrieving all contact lists.\nNo parameters required - retrieves all contact lists for the authenticated account.");
|
|
5
|
+
const PostalyticsGetAllContactLists_ContactListSchema = zod.z.object({
|
|
6
|
+
name: zod.z.string().describe("The name of the contact list.").nullable().optional(),
|
|
7
|
+
count: zod.z.number().int().describe("The count of items in the contact list."),
|
|
8
|
+
created_date: zod.z.string().describe("The date and time when the contact list was created.").nullable().optional(),
|
|
9
|
+
contact_list_id: zod.z.number().int().describe("The unique id of the contact list.")
|
|
10
|
+
}).describe("Model representing a single contact list.");
|
|
11
|
+
const PostalyticsGetAllContactListsOutput = zod.z.object({ contact_lists: zod.z.array(PostalyticsGetAllContactLists_ContactListSchema).describe("List of all contact lists in the account.") }).describe("Response model containing all contact lists.");
|
|
12
|
+
const postalyticsGetAllContactLists = require_action.action("POSTALYTICS_GET_ALL_CONTACT_LISTS", {
|
|
13
|
+
slug: "postalytics-get-all-contact-lists",
|
|
14
|
+
name: "Get All Contact Lists",
|
|
15
|
+
description: "Tool to retrieve all contact lists for an account. Use when you need to get a complete list of contact lists including their IDs, names, item counts, and creation dates.",
|
|
16
|
+
input: PostalyticsGetAllContactListsInput,
|
|
17
|
+
output: PostalyticsGetAllContactListsOutput
|
|
18
|
+
});
|
|
19
|
+
//#endregion
|
|
20
|
+
exports.postalyticsGetAllContactLists = postalyticsGetAllContactLists;
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=get-all-contact-lists.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-all-contact-lists.cjs","names":["z","action"],"sources":["../../src/actions/get-all-contact-lists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostalyticsGetAllContactListsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving all contact lists.\\nNo parameters required - retrieves all contact lists for the authenticated account.\");\nconst PostalyticsGetAllContactLists_ContactListSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the contact list.\").nullable().optional(),\n count: z.number().int().describe(\"The count of items in the contact list.\"),\n created_date: z.string().describe(\"The date and time when the contact list was created.\").nullable().optional(),\n contact_list_id: z.number().int().describe(\"The unique id of the contact list.\"),\n}).describe(\"Model representing a single contact list.\");\nexport const PostalyticsGetAllContactListsOutput: z.ZodTypeAny = z.object({\n contact_lists: z.array(PostalyticsGetAllContactLists_ContactListSchema).describe(\"List of all contact lists in the account.\"),\n}).describe(\"Response model containing all contact lists.\");\n\nexport const postalyticsGetAllContactLists = action(\"POSTALYTICS_GET_ALL_CONTACT_LISTS\", {\n slug: \"postalytics-get-all-contact-lists\",\n name: \"Get All Contact Lists\",\n description: \"Tool to retrieve all contact lists for an account. Use when you need to get a complete list of contact lists including their IDs, names, item counts, and creation dates.\",\n input: PostalyticsGetAllContactListsInput,\n output: PostalyticsGetAllContactListsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmDA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sIAAsI;AAC5N,MAAM,kDAAgEA,IAAAA,EAAE,OAAO;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;CAC1E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;AACjF,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAa,sCAAoDA,IAAAA,EAAE,OAAO,EACxE,eAAeA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,2CAA2C,EAC9H,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-all-contact-lists.d.ts
|
|
4
|
+
declare const PostalyticsGetAllContactListsInput: z.ZodTypeAny;
|
|
5
|
+
declare const PostalyticsGetAllContactListsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const postalyticsGetAllContactLists: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { postalyticsGetAllContactLists };
|
|
9
|
+
//# sourceMappingURL=get-all-contact-lists.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-all-contact-lists.d.cts","names":[],"sources":["../../src/actions/get-all-contact-lists.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAA0K;AAAA,cAOhN,mCAAA,EAAqC,CAAA,CAAE,UAEO;AAAA,cAE9C,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-all-contact-lists.d.ts
|
|
4
|
+
declare const PostalyticsGetAllContactListsInput: z.ZodTypeAny;
|
|
5
|
+
declare const PostalyticsGetAllContactListsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const postalyticsGetAllContactLists: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { postalyticsGetAllContactLists };
|
|
9
|
+
//# sourceMappingURL=get-all-contact-lists.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-all-contact-lists.d.mts","names":[],"sources":["../../src/actions/get-all-contact-lists.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAA0K;AAAA,cAOhN,mCAAA,EAAqC,CAAA,CAAE,UAEO;AAAA,cAE9C,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-all-contact-lists.ts
|
|
4
|
+
const PostalyticsGetAllContactListsInput = z.object({}).describe("Request model for retrieving all contact lists.\nNo parameters required - retrieves all contact lists for the authenticated account.");
|
|
5
|
+
const PostalyticsGetAllContactLists_ContactListSchema = z.object({
|
|
6
|
+
name: z.string().describe("The name of the contact list.").nullable().optional(),
|
|
7
|
+
count: z.number().int().describe("The count of items in the contact list."),
|
|
8
|
+
created_date: z.string().describe("The date and time when the contact list was created.").nullable().optional(),
|
|
9
|
+
contact_list_id: z.number().int().describe("The unique id of the contact list.")
|
|
10
|
+
}).describe("Model representing a single contact list.");
|
|
11
|
+
const postalyticsGetAllContactLists = action("POSTALYTICS_GET_ALL_CONTACT_LISTS", {
|
|
12
|
+
slug: "postalytics-get-all-contact-lists",
|
|
13
|
+
name: "Get All Contact Lists",
|
|
14
|
+
description: "Tool to retrieve all contact lists for an account. Use when you need to get a complete list of contact lists including their IDs, names, item counts, and creation dates.",
|
|
15
|
+
input: PostalyticsGetAllContactListsInput,
|
|
16
|
+
output: z.object({ contact_lists: z.array(PostalyticsGetAllContactLists_ContactListSchema).describe("List of all contact lists in the account.") }).describe("Response model containing all contact lists.")
|
|
17
|
+
});
|
|
18
|
+
//#endregion
|
|
19
|
+
export { postalyticsGetAllContactLists };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=get-all-contact-lists.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-all-contact-lists.mjs","names":[],"sources":["../../src/actions/get-all-contact-lists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostalyticsGetAllContactListsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving all contact lists.\\nNo parameters required - retrieves all contact lists for the authenticated account.\");\nconst PostalyticsGetAllContactLists_ContactListSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the contact list.\").nullable().optional(),\n count: z.number().int().describe(\"The count of items in the contact list.\"),\n created_date: z.string().describe(\"The date and time when the contact list was created.\").nullable().optional(),\n contact_list_id: z.number().int().describe(\"The unique id of the contact list.\"),\n}).describe(\"Model representing a single contact list.\");\nexport const PostalyticsGetAllContactListsOutput: z.ZodTypeAny = z.object({\n contact_lists: z.array(PostalyticsGetAllContactLists_ContactListSchema).describe(\"List of all contact lists in the account.\"),\n}).describe(\"Response model containing all contact lists.\");\n\nexport const postalyticsGetAllContactLists = action(\"POSTALYTICS_GET_ALL_CONTACT_LISTS\", {\n slug: \"postalytics-get-all-contact-lists\",\n name: \"Get All Contact Lists\",\n description: \"Tool to retrieve all contact lists for an account. Use when you need to get a complete list of contact lists including their IDs, names, item counts, and creation dates.\",\n input: PostalyticsGetAllContactListsInput,\n output: PostalyticsGetAllContactListsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sIAAsI;AAC5N,MAAM,kDAAgE,EAAE,OAAO;CAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;CAC1E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;AACjF,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAKvD,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT+D,EAAE,OAAO,EACxE,eAAe,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,2CAA2C,EAC9H,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
|