@keystrokehq/postalytics 0.1.4 → 0.1.6
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/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-account.cjs +1 -0
- package/dist/actions/add-account.cjs.map +1 -1
- package/dist/actions/add-account.d.cts +3 -13
- package/dist/actions/add-account.d.cts.map +1 -1
- package/dist/actions/add-account.d.mts +3 -13
- package/dist/actions/add-account.d.mts.map +1 -1
- package/dist/actions/add-account.mjs +1 -0
- package/dist/actions/add-account.mjs.map +1 -1
- package/dist/actions/add-contact.cjs +1 -0
- package/dist/actions/add-contact.cjs.map +1 -1
- package/dist/actions/add-contact.d.cts +3 -53
- package/dist/actions/add-contact.d.cts.map +1 -1
- package/dist/actions/add-contact.d.mts +3 -53
- package/dist/actions/add-contact.d.mts.map +1 -1
- package/dist/actions/add-contact.mjs +1 -0
- package/dist/actions/add-contact.mjs.map +1 -1
- package/dist/actions/create-new-campaign.cjs +1 -0
- package/dist/actions/create-new-campaign.cjs.map +1 -1
- package/dist/actions/create-new-campaign.d.cts +3 -14
- package/dist/actions/create-new-campaign.d.cts.map +1 -1
- package/dist/actions/create-new-campaign.d.mts +3 -14
- package/dist/actions/create-new-campaign.d.mts.map +1 -1
- package/dist/actions/create-new-campaign.mjs +1 -0
- package/dist/actions/create-new-campaign.mjs.map +1 -1
- package/dist/actions/create-suppression-list-contact.cjs +1 -0
- package/dist/actions/create-suppression-list-contact.cjs.map +1 -1
- package/dist/actions/create-suppression-list-contact.d.cts +3 -52
- package/dist/actions/create-suppression-list-contact.d.cts.map +1 -1
- package/dist/actions/create-suppression-list-contact.d.mts +3 -52
- package/dist/actions/create-suppression-list-contact.d.mts.map +1 -1
- package/dist/actions/create-suppression-list-contact.mjs +1 -0
- package/dist/actions/create-suppression-list-contact.mjs.map +1 -1
- package/dist/actions/create-suppression-list.cjs +1 -0
- package/dist/actions/create-suppression-list.cjs.map +1 -1
- package/dist/actions/create-suppression-list.d.cts +3 -4
- package/dist/actions/create-suppression-list.d.cts.map +1 -1
- package/dist/actions/create-suppression-list.d.mts +3 -4
- package/dist/actions/create-suppression-list.d.mts.map +1 -1
- package/dist/actions/create-suppression-list.mjs +1 -0
- package/dist/actions/create-suppression-list.mjs.map +1 -1
- package/dist/actions/create-template.cjs +1 -0
- package/dist/actions/create-template.cjs.map +1 -1
- package/dist/actions/create-template.d.cts +3 -12
- package/dist/actions/create-template.d.cts.map +1 -1
- package/dist/actions/create-template.d.mts +3 -12
- package/dist/actions/create-template.d.mts.map +1 -1
- package/dist/actions/create-template.mjs +1 -0
- package/dist/actions/create-template.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +1 -0
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +3 -5
- package/dist/actions/create-webhook.d.cts.map +1 -1
- package/dist/actions/create-webhook.d.mts +3 -5
- package/dist/actions/create-webhook.d.mts.map +1 -1
- package/dist/actions/create-webhook.mjs +1 -0
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/delete-account.cjs +1 -0
- package/dist/actions/delete-account.cjs.map +1 -1
- package/dist/actions/delete-account.d.cts +3 -3
- package/dist/actions/delete-account.d.cts.map +1 -1
- package/dist/actions/delete-account.d.mts +3 -3
- package/dist/actions/delete-account.d.mts.map +1 -1
- package/dist/actions/delete-account.mjs +1 -0
- package/dist/actions/delete-account.mjs.map +1 -1
- package/dist/actions/delete-campaign.cjs +1 -0
- package/dist/actions/delete-campaign.cjs.map +1 -1
- package/dist/actions/delete-campaign.d.cts +3 -3
- package/dist/actions/delete-campaign.d.cts.map +1 -1
- package/dist/actions/delete-campaign.d.mts +3 -3
- package/dist/actions/delete-campaign.d.mts.map +1 -1
- package/dist/actions/delete-campaign.mjs +1 -0
- package/dist/actions/delete-campaign.mjs.map +1 -1
- package/dist/actions/delete-suppression-list-contact.cjs +1 -0
- package/dist/actions/delete-suppression-list-contact.cjs.map +1 -1
- package/dist/actions/delete-suppression-list-contact.d.cts +3 -4
- package/dist/actions/delete-suppression-list-contact.d.cts.map +1 -1
- package/dist/actions/delete-suppression-list-contact.d.mts +3 -4
- package/dist/actions/delete-suppression-list-contact.d.mts.map +1 -1
- package/dist/actions/delete-suppression-list-contact.mjs +1 -0
- package/dist/actions/delete-suppression-list-contact.mjs.map +1 -1
- package/dist/actions/delete-suppression-list.cjs +1 -0
- package/dist/actions/delete-suppression-list.cjs.map +1 -1
- package/dist/actions/delete-suppression-list.d.cts +3 -3
- package/dist/actions/delete-suppression-list.d.cts.map +1 -1
- package/dist/actions/delete-suppression-list.d.mts +3 -3
- package/dist/actions/delete-suppression-list.d.mts.map +1 -1
- package/dist/actions/delete-suppression-list.mjs +1 -0
- package/dist/actions/delete-suppression-list.mjs.map +1 -1
- package/dist/actions/get-all-contact-lists.cjs +1 -0
- package/dist/actions/get-all-contact-lists.cjs.map +1 -1
- package/dist/actions/get-all-contact-lists.d.cts +3 -1
- package/dist/actions/get-all-contact-lists.d.cts.map +1 -1
- package/dist/actions/get-all-contact-lists.d.mts +3 -1
- package/dist/actions/get-all-contact-lists.d.mts.map +1 -1
- package/dist/actions/get-all-contact-lists.mjs +1 -0
- package/dist/actions/get-all-contact-lists.mjs.map +1 -1
- package/dist/actions/get-all-contacts-on-a-list.cjs +1 -0
- package/dist/actions/get-all-contacts-on-a-list.cjs.map +1 -1
- package/dist/actions/get-all-contacts-on-a-list.d.cts +3 -5
- package/dist/actions/get-all-contacts-on-a-list.d.cts.map +1 -1
- package/dist/actions/get-all-contacts-on-a-list.d.mts +3 -5
- package/dist/actions/get-all-contacts-on-a-list.d.mts.map +1 -1
- package/dist/actions/get-all-contacts-on-a-list.mjs +1 -0
- package/dist/actions/get-all-contacts-on-a-list.mjs.map +1 -1
- package/dist/actions/get-all-drip-campaigns.cjs +1 -0
- package/dist/actions/get-all-drip-campaigns.cjs.map +1 -1
- package/dist/actions/get-all-drip-campaigns.d.cts +3 -1
- package/dist/actions/get-all-drip-campaigns.d.cts.map +1 -1
- package/dist/actions/get-all-drip-campaigns.d.mts +3 -1
- package/dist/actions/get-all-drip-campaigns.d.mts.map +1 -1
- package/dist/actions/get-all-drip-campaigns.mjs +1 -0
- package/dist/actions/get-all-drip-campaigns.mjs.map +1 -1
- package/dist/actions/get-all-flows.cjs +1 -0
- package/dist/actions/get-all-flows.cjs.map +1 -1
- package/dist/actions/get-all-flows.d.cts +3 -1
- package/dist/actions/get-all-flows.d.cts.map +1 -1
- package/dist/actions/get-all-flows.d.mts +3 -1
- package/dist/actions/get-all-flows.d.mts.map +1 -1
- package/dist/actions/get-all-flows.mjs +1 -0
- package/dist/actions/get-all-flows.mjs.map +1 -1
- package/dist/actions/get-all-webhooks.cjs +1 -0
- package/dist/actions/get-all-webhooks.cjs.map +1 -1
- package/dist/actions/get-all-webhooks.d.cts +3 -1
- package/dist/actions/get-all-webhooks.d.cts.map +1 -1
- package/dist/actions/get-all-webhooks.d.mts +3 -1
- package/dist/actions/get-all-webhooks.d.mts.map +1 -1
- package/dist/actions/get-all-webhooks.mjs +1 -0
- package/dist/actions/get-all-webhooks.mjs.map +1 -1
- package/dist/actions/get-integrations.cjs +1 -0
- package/dist/actions/get-integrations.cjs.map +1 -1
- package/dist/actions/get-integrations.d.cts +3 -1
- package/dist/actions/get-integrations.d.cts.map +1 -1
- package/dist/actions/get-integrations.d.mts +3 -1
- package/dist/actions/get-integrations.d.mts.map +1 -1
- package/dist/actions/get-integrations.mjs +1 -0
- package/dist/actions/get-integrations.mjs.map +1 -1
- package/dist/actions/get-my-account.cjs +1 -0
- package/dist/actions/get-my-account.cjs.map +1 -1
- package/dist/actions/get-my-account.d.cts +3 -1
- package/dist/actions/get-my-account.d.cts.map +1 -1
- package/dist/actions/get-my-account.d.mts +3 -1
- package/dist/actions/get-my-account.d.mts.map +1 -1
- package/dist/actions/get-my-account.mjs +1 -0
- package/dist/actions/get-my-account.mjs.map +1 -1
- package/dist/actions/get-suppression-list-contact.cjs +1 -0
- package/dist/actions/get-suppression-list-contact.cjs.map +1 -1
- package/dist/actions/get-suppression-list-contact.d.cts +3 -5
- package/dist/actions/get-suppression-list-contact.d.cts.map +1 -1
- package/dist/actions/get-suppression-list-contact.d.mts +3 -5
- package/dist/actions/get-suppression-list-contact.d.mts.map +1 -1
- package/dist/actions/get-suppression-list-contact.mjs +1 -0
- package/dist/actions/get-suppression-list-contact.mjs.map +1 -1
- package/dist/actions/get-suppression-list-contacts.cjs +1 -0
- package/dist/actions/get-suppression-list-contacts.cjs.map +1 -1
- package/dist/actions/get-suppression-list-contacts.d.cts +3 -4
- package/dist/actions/get-suppression-list-contacts.d.cts.map +1 -1
- package/dist/actions/get-suppression-list-contacts.d.mts +3 -4
- package/dist/actions/get-suppression-list-contacts.d.mts.map +1 -1
- package/dist/actions/get-suppression-list-contacts.mjs +1 -0
- package/dist/actions/get-suppression-list-contacts.mjs.map +1 -1
- package/dist/actions/get-suppression-list.cjs +1 -0
- package/dist/actions/get-suppression-list.cjs.map +1 -1
- package/dist/actions/get-suppression-list.d.cts +3 -3
- package/dist/actions/get-suppression-list.d.cts.map +1 -1
- package/dist/actions/get-suppression-list.d.mts +3 -3
- package/dist/actions/get-suppression-list.d.mts.map +1 -1
- package/dist/actions/get-suppression-list.mjs +1 -0
- package/dist/actions/get-suppression-list.mjs.map +1 -1
- package/dist/actions/get-suppression-lists.cjs +1 -0
- package/dist/actions/get-suppression-lists.cjs.map +1 -1
- package/dist/actions/get-suppression-lists.d.cts +3 -3
- package/dist/actions/get-suppression-lists.d.cts.map +1 -1
- package/dist/actions/get-suppression-lists.d.mts +3 -3
- package/dist/actions/get-suppression-lists.d.mts.map +1 -1
- package/dist/actions/get-suppression-lists.mjs +1 -0
- package/dist/actions/get-suppression-lists.mjs.map +1 -1
- package/dist/actions/update-account.cjs +1 -0
- package/dist/actions/update-account.cjs.map +1 -1
- package/dist/actions/update-account.d.cts +3 -14
- package/dist/actions/update-account.d.cts.map +1 -1
- package/dist/actions/update-account.d.mts +3 -14
- package/dist/actions/update-account.d.mts.map +1 -1
- package/dist/actions/update-account.mjs +1 -0
- package/dist/actions/update-account.mjs.map +1 -1
- package/dist/actions/update-suppression-list-contact.cjs +1 -0
- package/dist/actions/update-suppression-list-contact.cjs.map +1 -1
- package/dist/actions/update-suppression-list-contact.d.cts +3 -53
- package/dist/actions/update-suppression-list-contact.d.cts.map +1 -1
- package/dist/actions/update-suppression-list-contact.d.mts +3 -53
- package/dist/actions/update-suppression-list-contact.d.mts.map +1 -1
- package/dist/actions/update-suppression-list-contact.mjs +1 -0
- package/dist/actions/update-suppression-list-contact.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { postalytics } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-webhook.d.ts
|
|
@@ -15,11 +17,7 @@ declare const PostalyticsCreateWebhookOutput: z.ZodObject<{
|
|
|
15
17
|
campaign_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
18
|
is_subscribed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const postalyticsCreateWebhook:
|
|
19
|
-
url: string;
|
|
20
|
-
name: string;
|
|
21
|
-
events: string[];
|
|
22
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
20
|
+
declare const postalyticsCreateWebhook: AppAction<typeof PostalyticsCreateWebhookInput, typeof PostalyticsCreateWebhookOutput, typeof postalytics.credential>;
|
|
23
21
|
//#endregion
|
|
24
22
|
export { postalyticsCreateWebhook };
|
|
25
23
|
//# sourceMappingURL=create-webhook.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-webhook.d.cts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-webhook.d.cts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAK7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;cAU9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { postalytics } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-webhook.d.ts
|
|
@@ -15,11 +17,7 @@ declare const PostalyticsCreateWebhookOutput: z.ZodObject<{
|
|
|
15
17
|
campaign_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
18
|
is_subscribed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const postalyticsCreateWebhook:
|
|
19
|
-
url: string;
|
|
20
|
-
name: string;
|
|
21
|
-
events: string[];
|
|
22
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
20
|
+
declare const postalyticsCreateWebhook: AppAction<typeof PostalyticsCreateWebhookInput, typeof PostalyticsCreateWebhookOutput, typeof postalytics.credential>;
|
|
23
21
|
//#endregion
|
|
24
22
|
export { postalyticsCreateWebhook };
|
|
25
23
|
//# sourceMappingURL=create-webhook.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-webhook.d.mts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-webhook.d.mts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAK7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;cAU9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1 +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.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.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}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"create-webhook.mjs","names":[],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postalytics } from \"../app\";\n\nexport const PostalyticsCreateWebhookInput = 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.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}).passthrough().describe(\"Response model for creating a webhook.\");\n\nexport const postalyticsCreateWebhook: AppAction<\n typeof PostalyticsCreateWebhookInput,\n typeof PostalyticsCreateWebhookOutput,\n typeof postalytics.credential\n> = 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":";;;AAqBA,MAAa,2BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvB2C,EAAE,OAAO;EACpD,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,2CAmBH;CACP,QAnB4C,EAAE,OAAO;EACrD,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,YAAY,CAAC,CAAC,SAAS,wCAWhB;AACV,CAAC"}
|
|
@@ -1 +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.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.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}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"delete-account.cjs","names":["z","action"],"sources":["../../src/actions/delete-account.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postalytics } from \"../app\";\n\nexport const PostalyticsDeleteAccountInput = 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.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}).passthrough().describe(\"Response schema for delete account action.\");\n\nexport const postalyticsDeleteAccount: AppAction<\n typeof PostalyticsDeleteAccountInput,\n typeof PostalyticsDeleteAccountOutput,\n typeof postalytics.credential\n> = 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":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wIAAwI,EAChL,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,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,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,2BAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { postalytics } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-account.d.ts
|
|
@@ -8,9 +10,7 @@ declare const PostalyticsDeleteAccountOutput: z.ZodObject<{
|
|
|
8
10
|
account_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9
11
|
deleted_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const postalyticsDeleteAccount:
|
|
12
|
-
account_id: number;
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
13
|
+
declare const postalyticsDeleteAccount: AppAction<typeof PostalyticsDeleteAccountInput, typeof PostalyticsDeleteAccountOutput, typeof postalytics.credential>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { postalyticsDeleteAccount };
|
|
16
16
|
//# sourceMappingURL=delete-account.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-account.d.cts","names":[],"sources":["../../src/actions/delete-account.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-account.d.cts","names":[],"sources":["../../src/actions/delete-account.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAK9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { postalytics } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-account.d.ts
|
|
@@ -8,9 +10,7 @@ declare const PostalyticsDeleteAccountOutput: z.ZodObject<{
|
|
|
8
10
|
account_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9
11
|
deleted_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const postalyticsDeleteAccount:
|
|
12
|
-
account_id: number;
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
13
|
+
declare const postalyticsDeleteAccount: AppAction<typeof PostalyticsDeleteAccountInput, typeof PostalyticsDeleteAccountOutput, typeof postalytics.credential>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { postalyticsDeleteAccount };
|
|
16
16
|
//# sourceMappingURL=delete-account.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-account.d.mts","names":[],"sources":["../../src/actions/delete-account.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-account.d.mts","names":[],"sources":["../../src/actions/delete-account.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAK9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1 +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.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.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}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"delete-account.mjs","names":[],"sources":["../../src/actions/delete-account.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postalytics } from \"../app\";\n\nexport const PostalyticsDeleteAccountInput = 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.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}).passthrough().describe(\"Response schema for delete account action.\");\n\nexport const postalyticsDeleteAccount: AppAction<\n typeof PostalyticsDeleteAccountInput,\n typeof PostalyticsDeleteAccountOutput,\n typeof postalytics.credential\n> = 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":";;;AAcA,MAAa,2BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB2C,EAAE,OAAO,EACpD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wIAAwI,EAChL,CAAC,CAAC,CAAC,SAAS,qDAcH;CACP,QAd4C,EAAE,OAAO;EACrD,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,YAAY,CAAC,CAAC,SAAS,4CAWhB;AACV,CAAC"}
|
|
@@ -1 +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.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.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}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"delete-campaign.cjs","names":["z","action"],"sources":["../../src/actions/delete-campaign.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postalytics } from \"../app\";\n\nexport const PostalyticsDeleteCampaignInput = 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.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}).passthrough().describe(\"Response schema for delete campaign action.\");\n\nexport const postalyticsDeleteCampaign: AppAction<\n typeof PostalyticsDeleteCampaignInput,\n typeof PostalyticsDeleteCampaignOutput,\n typeof postalytics.credential\n> = 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":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,EACpF,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,4BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { postalytics } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-campaign.d.ts
|
|
@@ -7,9 +9,7 @@ declare const PostalyticsDeleteCampaignInput: z.ZodObject<{
|
|
|
7
9
|
declare const PostalyticsDeleteCampaignOutput: z.ZodObject<{
|
|
8
10
|
deleted_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const postalyticsDeleteCampaign:
|
|
11
|
-
id: number;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
|
+
declare const postalyticsDeleteCampaign: AppAction<typeof PostalyticsDeleteCampaignInput, typeof PostalyticsDeleteCampaignOutput, typeof postalytics.credential>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { postalyticsDeleteCampaign };
|
|
15
15
|
//# sourceMappingURL=delete-campaign.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-campaign.d.cts","names":[],"sources":["../../src/actions/delete-campaign.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-campaign.d.cts","names":[],"sources":["../../src/actions/delete-campaign.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { postalytics } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-campaign.d.ts
|
|
@@ -7,9 +9,7 @@ declare const PostalyticsDeleteCampaignInput: z.ZodObject<{
|
|
|
7
9
|
declare const PostalyticsDeleteCampaignOutput: z.ZodObject<{
|
|
8
10
|
deleted_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const postalyticsDeleteCampaign:
|
|
11
|
-
id: number;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
|
+
declare const postalyticsDeleteCampaign: AppAction<typeof PostalyticsDeleteCampaignInput, typeof PostalyticsDeleteCampaignOutput, typeof postalytics.credential>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { postalyticsDeleteCampaign };
|
|
15
15
|
//# sourceMappingURL=delete-campaign.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-campaign.d.mts","names":[],"sources":["../../src/actions/delete-campaign.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-campaign.d.mts","names":[],"sources":["../../src/actions/delete-campaign.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1 +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.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.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}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"delete-campaign.mjs","names":[],"sources":["../../src/actions/delete-campaign.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postalytics } from \"../app\";\n\nexport const PostalyticsDeleteCampaignInput = 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.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}).passthrough().describe(\"Response schema for delete campaign action.\");\n\nexport const postalyticsDeleteCampaign: AppAction<\n typeof PostalyticsDeleteCampaignInput,\n typeof PostalyticsDeleteCampaignOutput,\n typeof postalytics.credential\n> = 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":";;;AAaA,MAAa,4BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf4C,EAAE,OAAO,EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,EACpF,CAAC,CAAC,CAAC,SAAS,0CAaH;CACP,QAb6C,EAAE,OAAO,EACtD,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAWhB;AACV,CAAC"}
|
|
@@ -1 +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.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.object({\n Message: z.string().describe(\"Confirmation message indicating the result of the contact deletion\").nullable().optional(),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"delete-suppression-list-contact.cjs","names":["z","action"],"sources":["../../src/actions/delete-suppression-list-contact.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postalytics } from \"../app\";\n\nexport const PostalyticsDeleteSuppressionListContactInput = 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.object({\n Message: z.string().describe(\"Confirmation message indicating the result of the contact deletion\").nullable().optional(),\n}).passthrough().describe(\"Response schema for delete suppression list contact action.\");\n\nexport const postalyticsDeleteSuppressionListContact: AppAction<\n typeof PostalyticsDeleteSuppressionListContactInput,\n typeof PostalyticsDeleteSuppressionListContactOutput,\n typeof postalytics.credential\n> = 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":";;;;AAMA,MAAa,+CAA+CA,IAAAA,EAAE,OAAO;CACnE,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,gDAAgDA,IAAAA,EAAE,OAAO,EACpE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAEvF,MAAa,0CAITC,eAAAA,OAAO,+CAA+C;CACxD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { postalytics } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-suppression-list-contact.d.ts
|
|
@@ -8,10 +10,7 @@ declare const PostalyticsDeleteSuppressionListContactInput: z.ZodObject<{
|
|
|
8
10
|
declare const PostalyticsDeleteSuppressionListContactOutput: z.ZodObject<{
|
|
9
11
|
Message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const postalyticsDeleteSuppressionListContact:
|
|
12
|
-
list_id: number;
|
|
13
|
-
contact_id: number;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
13
|
+
declare const postalyticsDeleteSuppressionListContact: AppAction<typeof PostalyticsDeleteSuppressionListContactInput, typeof PostalyticsDeleteSuppressionListContactOutput, typeof postalytics.credential>;
|
|
15
14
|
//#endregion
|
|
16
15
|
export { postalyticsDeleteSuppressionListContact };
|
|
17
16
|
//# sourceMappingURL=delete-suppression-list-contact.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-suppression-list-contact.d.cts","names":[],"sources":["../../src/actions/delete-suppression-list-contact.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-suppression-list-contact.d.cts","names":[],"sources":["../../src/actions/delete-suppression-list-contact.ts"],"mappings":";;;;;cAMa,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;cAI5C,6CAAA,EAA6C,CAAA,CAAA,SAAA;;;cAI7C,uCAAA,EAAyC,SAAA,QAC7C,4CAAA,SACA,6CAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { postalytics } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-suppression-list-contact.d.ts
|
|
@@ -8,10 +10,7 @@ declare const PostalyticsDeleteSuppressionListContactInput: z.ZodObject<{
|
|
|
8
10
|
declare const PostalyticsDeleteSuppressionListContactOutput: z.ZodObject<{
|
|
9
11
|
Message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const postalyticsDeleteSuppressionListContact:
|
|
12
|
-
list_id: number;
|
|
13
|
-
contact_id: number;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
13
|
+
declare const postalyticsDeleteSuppressionListContact: AppAction<typeof PostalyticsDeleteSuppressionListContactInput, typeof PostalyticsDeleteSuppressionListContactOutput, typeof postalytics.credential>;
|
|
15
14
|
//#endregion
|
|
16
15
|
export { postalyticsDeleteSuppressionListContact };
|
|
17
16
|
//# sourceMappingURL=delete-suppression-list-contact.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-suppression-list-contact.d.mts","names":[],"sources":["../../src/actions/delete-suppression-list-contact.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-suppression-list-contact.d.mts","names":[],"sources":["../../src/actions/delete-suppression-list-contact.ts"],"mappings":";;;;;cAMa,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;cAI5C,6CAAA,EAA6C,CAAA,CAAA,SAAA;;;cAI7C,uCAAA,EAAyC,SAAA,QAC7C,4CAAA,SACA,6CAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1 +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.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.object({\n Message: z.string().describe(\"Confirmation message indicating the result of the contact deletion\").nullable().optional(),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"delete-suppression-list-contact.mjs","names":[],"sources":["../../src/actions/delete-suppression-list-contact.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postalytics } from \"../app\";\n\nexport const PostalyticsDeleteSuppressionListContactInput = 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.object({\n Message: z.string().describe(\"Confirmation message indicating the result of the contact deletion\").nullable().optional(),\n}).passthrough().describe(\"Response schema for delete suppression list contact action.\");\n\nexport const postalyticsDeleteSuppressionListContact: AppAction<\n typeof PostalyticsDeleteSuppressionListContactInput,\n typeof PostalyticsDeleteSuppressionListContactOutput,\n typeof postalytics.credential\n> = 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":";;;AAcA,MAAa,0CAIT,OAAO,+CAA+C;CACxD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB0D,EAAE,OAAO;EACnE,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,iEAaH;CACP,QAb2D,EAAE,OAAO,EACpE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAWhB;AACV,CAAC"}
|
|
@@ -1 +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.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.object({\n Message: z.string().describe(\"Confirmation message indicating the result of the deletion operation\").nullable().optional(),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"delete-suppression-list.cjs","names":["z","action"],"sources":["../../src/actions/delete-suppression-list.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postalytics } from \"../app\";\n\nexport const PostalyticsDeleteSuppressionListInput = 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.object({\n Message: z.string().describe(\"Confirmation message indicating the result of the deletion operation\").nullable().optional(),\n}).passthrough().describe(\"Response schema for delete suppression list action.\");\n\nexport const postalyticsDeleteSuppressionList: AppAction<\n typeof PostalyticsDeleteSuppressionListInput,\n typeof PostalyticsDeleteSuppressionListOutput,\n typeof postalytics.credential\n> = 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":";;;;AAMA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,EAC1E,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,mCAITC,eAAAA,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { postalytics } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-suppression-list.d.ts
|
|
@@ -7,9 +9,7 @@ declare const PostalyticsDeleteSuppressionListInput: z.ZodObject<{
|
|
|
7
9
|
declare const PostalyticsDeleteSuppressionListOutput: z.ZodObject<{
|
|
8
10
|
Message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const postalyticsDeleteSuppressionList:
|
|
11
|
-
id: number;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
|
+
declare const postalyticsDeleteSuppressionList: AppAction<typeof PostalyticsDeleteSuppressionListInput, typeof PostalyticsDeleteSuppressionListOutput, typeof postalytics.credential>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { postalyticsDeleteSuppressionList };
|
|
15
15
|
//# sourceMappingURL=delete-suppression-list.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-suppression-list.d.cts","names":[],"sources":["../../src/actions/delete-suppression-list.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-suppression-list.d.cts","names":[],"sources":["../../src/actions/delete-suppression-list.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAGrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;cAItC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { postalytics } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-suppression-list.d.ts
|
|
@@ -7,9 +9,7 @@ declare const PostalyticsDeleteSuppressionListInput: z.ZodObject<{
|
|
|
7
9
|
declare const PostalyticsDeleteSuppressionListOutput: z.ZodObject<{
|
|
8
10
|
Message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const postalyticsDeleteSuppressionList:
|
|
11
|
-
id: number;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
|
+
declare const postalyticsDeleteSuppressionList: AppAction<typeof PostalyticsDeleteSuppressionListInput, typeof PostalyticsDeleteSuppressionListOutput, typeof postalytics.credential>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { postalyticsDeleteSuppressionList };
|
|
15
15
|
//# sourceMappingURL=delete-suppression-list.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-suppression-list.d.mts","names":[],"sources":["../../src/actions/delete-suppression-list.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-suppression-list.d.mts","names":[],"sources":["../../src/actions/delete-suppression-list.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAGrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;cAItC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1 +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.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.object({\n Message: z.string().describe(\"Confirmation message indicating the result of the deletion operation\").nullable().optional(),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"delete-suppression-list.mjs","names":[],"sources":["../../src/actions/delete-suppression-list.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postalytics } from \"../app\";\n\nexport const PostalyticsDeleteSuppressionListInput = 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.object({\n Message: z.string().describe(\"Confirmation message indicating the result of the deletion operation\").nullable().optional(),\n}).passthrough().describe(\"Response schema for delete suppression list action.\");\n\nexport const postalyticsDeleteSuppressionList: AppAction<\n typeof PostalyticsDeleteSuppressionListInput,\n typeof PostalyticsDeleteSuppressionListOutput,\n typeof postalytics.credential\n> = 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":";;;AAaA,MAAa,mCAIT,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfmD,EAAE,OAAO,EAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,EAC1E,CAAC,CAAC,CAAC,SAAS,kDAaH;CACP,QAboD,EAAE,OAAO,EAC7D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAWhB;AACV,CAAC"}
|
|
@@ -1 +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.object({}).describe(\"Request model for retrieving all contact lists.\\nNo parameters required - retrieves all contact lists for the authenticated account.\");\nconst PostalyticsGetAllContactLists_ContactListSchema = 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.\").nullable(),\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.\").nullable(),\n}).passthrough().describe(\"Model representing a single contact list.\");\nexport const PostalyticsGetAllContactListsOutput = z.object({\n contact_lists: z.array(PostalyticsGetAllContactLists_ContactListSchema).describe(\"List of all contact lists in the account.\"),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"get-all-contact-lists.cjs","names":["z","action"],"sources":["../../src/actions/get-all-contact-lists.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postalytics } from \"../app\";\n\nexport const PostalyticsGetAllContactListsInput = 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.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.\").nullable(),\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.\").nullable(),\n}).passthrough().describe(\"Model representing a single contact list.\");\nexport const PostalyticsGetAllContactListsOutput = z.object({\n contact_lists: z.array(PostalyticsGetAllContactLists_ContactListSchema).describe(\"List of all contact lists in the account.\"),\n}).passthrough().describe(\"Response model containing all contact lists.\");\n\nexport const postalyticsGetAllContactLists: AppAction<\n typeof PostalyticsGetAllContactListsInput,\n typeof PostalyticsGetAllContactListsOutput,\n typeof postalytics.credential\n> = 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":";;;;AAMA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sIAAsI;AAC9M,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,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,CAAC,CAAC,SAAS;CACrF,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,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,eAAeA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,2CAA2C,EAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,gCAITC,eAAAA,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { postalytics } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-all-contact-lists.d.ts
|
|
@@ -10,7 +12,7 @@ declare const PostalyticsGetAllContactListsOutput: z.ZodObject<{
|
|
|
10
12
|
contact_list_id: z.ZodNullable<z.ZodNumber>;
|
|
11
13
|
}, z.core.$loose>>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const postalyticsGetAllContactLists:
|
|
15
|
+
declare const postalyticsGetAllContactLists: AppAction<typeof PostalyticsGetAllContactListsInput, typeof PostalyticsGetAllContactListsOutput, typeof postalytics.credential>;
|
|
14
16
|
//#endregion
|
|
15
17
|
export { postalyticsGetAllContactLists };
|
|
16
18
|
//# sourceMappingURL=get-all-contact-lists.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-all-contact-lists.d.cts","names":[],"sources":["../../src/actions/get-all-contact-lists.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-all-contact-lists.d.cts","names":[],"sources":["../../src/actions/get-all-contact-lists.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAOlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;cAInC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { postalytics } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-all-contact-lists.d.ts
|
|
@@ -10,7 +12,7 @@ declare const PostalyticsGetAllContactListsOutput: z.ZodObject<{
|
|
|
10
12
|
contact_list_id: z.ZodNullable<z.ZodNumber>;
|
|
11
13
|
}, z.core.$loose>>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const postalyticsGetAllContactLists:
|
|
15
|
+
declare const postalyticsGetAllContactLists: AppAction<typeof PostalyticsGetAllContactListsInput, typeof PostalyticsGetAllContactListsOutput, typeof postalytics.credential>;
|
|
14
16
|
//#endregion
|
|
15
17
|
export { postalyticsGetAllContactLists };
|
|
16
18
|
//# sourceMappingURL=get-all-contact-lists.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-all-contact-lists.d.mts","names":[],"sources":["../../src/actions/get-all-contact-lists.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-all-contact-lists.d.mts","names":[],"sources":["../../src/actions/get-all-contact-lists.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAOlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;cAInC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1 +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.object({}).describe(\"Request model for retrieving all contact lists.\\nNo parameters required - retrieves all contact lists for the authenticated account.\");\nconst PostalyticsGetAllContactLists_ContactListSchema = 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.\").nullable(),\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.\").nullable(),\n}).passthrough().describe(\"Model representing a single contact list.\");\nexport const PostalyticsGetAllContactListsOutput = z.object({\n contact_lists: z.array(PostalyticsGetAllContactLists_ContactListSchema).describe(\"List of all contact lists in the account.\"),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"get-all-contact-lists.mjs","names":[],"sources":["../../src/actions/get-all-contact-lists.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postalytics } from \"../app\";\n\nexport const PostalyticsGetAllContactListsInput = 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.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.\").nullable(),\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.\").nullable(),\n}).passthrough().describe(\"Model representing a single contact list.\");\nexport const PostalyticsGetAllContactListsOutput = z.object({\n contact_lists: z.array(PostalyticsGetAllContactLists_ContactListSchema).describe(\"List of all contact lists in the account.\"),\n}).passthrough().describe(\"Response model containing all contact lists.\");\n\nexport const postalyticsGetAllContactLists: AppAction<\n typeof PostalyticsGetAllContactListsInput,\n typeof PostalyticsGetAllContactListsOutput,\n typeof postalytics.credential\n> = 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":";;;;AAMA,MAAa,qCAAqC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sIAAsI;AAC9M,MAAM,kDAAkD,EAAE,OAAO;CAC/D,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,CAAC,CAAC,SAAS;CACrF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAKrE,MAAa,gCAIT,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbiD,EAAE,OAAO,EAC1D,eAAe,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,2CAA2C,EAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-all-contacts-on-a-list.cjs","names":["z","action"],"sources":["../../src/actions/get-all-contacts-on-a-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostalyticsGetAllContactsOnAListInput = z.object({\n limit: z.number().int().describe(\"Maximum number of contacts to return per page. Controls pagination page size.\").optional(),\n start: z.number().int().describe(\"Pagination offset for retrieving contacts. Use 0 for the first page.\").optional(),\n list_id: z.number().int().describe(\"The unique identifier of the contact list to retrieve contacts from.\"),\n}).describe(\"Request model for retrieving all contacts from a specific contact list.\");\nconst PostalyticsGetAllContactsOnAList_ContactSchema = z.object({\n zip: z.string().describe(\"ZIP or postal code (5-9 digits).\").nullable().optional(),\n city: z.string().describe(\"City name (max 50 characters).\").nullable().optional(),\n var1: z.string().describe(\"Custom variable field 1 (max 255 characters).\").nullable().optional(),\n var2: z.string().describe(\"Custom variable field 2 (max 255 characters).\").nullable().optional(),\n var3: z.string().describe(\"Custom variable field 3 (max 255 characters).\").nullable().optional(),\n var4: z.string().describe(\"Custom variable field 4 (max 255 characters).\").nullable().optional(),\n var5: z.string().describe(\"Custom variable field 5 (max 255 characters).\").nullable().optional(),\n var6: z.string().describe(\"Custom variable field 6 (max 255 characters).\").nullable().optional(),\n var7: z.string().describe(\"Custom variable field 7 (max 255 characters).\").nullable().optional(),\n var8: z.string().describe(\"Custom variable field 8 (max 255 characters).\").nullable().optional(),\n var9: z.string().describe(\"Custom variable field 9 (max 255 characters).\").nullable().optional(),\n email: z.string().describe(\"Contact's email address (max 100 characters).\").nullable().optional(),\n phone: z.string().describe(\"Phone number (max 50 characters).\").nullable().optional(),\n state: z.string().describe(\"State code, typically 2 characters (e.g., 'CA', 'NY').\").nullable().optional(),\n var10: z.string().describe(\"Custom variable field 10 (max 255 characters).\").nullable().optional(),\n var11: z.string().describe(\"Custom variable field 11 (max 255 characters).\").nullable().optional(),\n var12: z.string().describe(\"Custom variable field 12 (max 255 characters).\").nullable().optional(),\n var13: z.string().describe(\"Custom variable field 13 (max 255 characters).\").nullable().optional(),\n var14: z.string().describe(\"Custom variable field 14 (max 255 characters).\").nullable().optional(),\n var15: z.string().describe(\"Custom variable field 15 (max 255 characters).\").nullable().optional(),\n var16: z.string().describe(\"Custom variable field 16 (max 255 characters).\").nullable().optional(),\n var17: z.string().describe(\"Custom variable field 17 (max 255 characters).\").nullable().optional(),\n var18: z.string().describe(\"Custom variable field 18 (max 255 characters).\").nullable().optional(),\n var19: z.string().describe(\"Custom variable field 19 (max 255 characters).\").nullable().optional(),\n var20: z.string().describe(\"Custom variable field 20 (max 255 characters).\").nullable().optional(),\n var21: z.string().describe(\"Custom variable field 21 (max 255 characters).\").nullable().optional(),\n var22: z.string().describe(\"Custom variable field 22 (max 255 characters).\").nullable().optional(),\n var23: z.string().describe(\"Custom variable field 23 (max 255 characters).\").nullable().optional(),\n var24: z.string().describe(\"Custom variable field 24 (max 255 characters).\").nullable().optional(),\n var25: z.string().describe(\"Custom variable field 25 (max 255 characters).\").nullable().optional(),\n var26: z.string().describe(\"Custom variable field 26 (max 255 characters).\").nullable().optional(),\n var27: z.string().describe(\"Custom variable field 27 (max 255 characters).\").nullable().optional(),\n var28: z.string().describe(\"Custom variable field 28 (max 255 characters).\").nullable().optional(),\n var29: z.string().describe(\"Custom variable field 29 (max 255 characters).\").nullable().optional(),\n var30: z.string().describe(\"Custom variable field 30 (max 255 characters).\").nullable().optional(),\n var31: z.string().describe(\"Custom variable field 31 (max 255 characters).\").nullable().optional(),\n var32: z.string().describe(\"Custom variable field 32 (max 255 characters).\").nullable().optional(),\n var33: z.string().describe(\"Custom variable field 33 (max 255 characters).\").nullable().optional(),\n var34: z.string().describe(\"Custom variable field 34 (max 255 characters).\").nullable().optional(),\n var35: z.string().describe(\"Custom variable field 35 (max 255 characters).\").nullable().optional(),\n mobile: z.string().describe(\"Mobile phone number (max 50 characters).\").nullable().optional(),\n address: z.string().describe(\"Street address (max 64 characters).\").nullable().optional(),\n company: z.string().describe(\"Company or organization name (max 40 characters).\").nullable().optional(),\n website: z.string().describe(\"Website URL (max 500 characters).\").nullable().optional(),\n address_2: z.string().describe(\"Secondary address line for apartment or suite (max 64 characters).\").nullable().optional(),\n last_name: z.string().describe(\"Contact's last name (max 20 characters).\").nullable().optional(),\n first_name: z.string().describe(\"Contact's first name (max 20 characters).\").nullable().optional(),\n occupation: z.string().describe(\"Occupation (max 255 characters).\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single contact from the contact list.\");\nexport const PostalyticsGetAllContactsOnAListOutput = z.object({\n contacts: z.array(PostalyticsGetAllContactsOnAList_ContactSchema).describe(\"Array of contacts from the specified contact list.\"),\n}).passthrough().describe(\"Response model containing all contacts from the specified list.\");\n\nexport const postalyticsGetAllContactsOnAList = action(\"POSTALYTICS_GET_ALL_CONTACTS_ON_A_LIST\", {\n slug: \"postalytics-get-all-contacts-on-a-list\",\n name: \"Get All Contacts on a List\",\n description: \"Tool to retrieve all contacts from a specified contact list with pagination support. Use when you need to get contacts from a list, with optional pagination using start offset and limit parameters.\",\n input: PostalyticsGetAllContactsOnAListInput,\n output: PostalyticsGetAllContactsOnAListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC3H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAClH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE;AAC3G,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EA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ACjG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AACtF,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,UAAUA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,oDAAoD,EACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAE3F,MAAa,mCAAmCC,eAAAA,OAAO,0CAA0C;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"get-all-contacts-on-a-list.cjs","names":["z","action"],"sources":["../../src/actions/get-all-contacts-on-a-list.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postalytics } from \"../app\";\n\nexport const PostalyticsGetAllContactsOnAListInput = z.object({\n limit: z.number().int().describe(\"Maximum number of contacts to return per page. Controls pagination page size.\").optional(),\n start: z.number().int().describe(\"Pagination offset for retrieving contacts. Use 0 for the first page.\").optional(),\n list_id: z.number().int().describe(\"The unique identifier of the contact list to retrieve contacts from.\"),\n}).describe(\"Request model for retrieving all contacts from a specific contact list.\");\nconst PostalyticsGetAllContactsOnAList_ContactSchema = z.object({\n zip: z.string().describe(\"ZIP or postal code (5-9 digits).\").nullable().optional(),\n city: z.string().describe(\"City name (max 50 characters).\").nullable().optional(),\n var1: z.string().describe(\"Custom variable field 1 (max 255 characters).\").nullable().optional(),\n var2: z.string().describe(\"Custom variable field 2 (max 255 characters).\").nullable().optional(),\n var3: z.string().describe(\"Custom variable field 3 (max 255 characters).\").nullable().optional(),\n var4: z.string().describe(\"Custom variable field 4 (max 255 characters).\").nullable().optional(),\n var5: z.string().describe(\"Custom variable field 5 (max 255 characters).\").nullable().optional(),\n var6: z.string().describe(\"Custom variable field 6 (max 255 characters).\").nullable().optional(),\n var7: z.string().describe(\"Custom variable field 7 (max 255 characters).\").nullable().optional(),\n var8: z.string().describe(\"Custom variable field 8 (max 255 characters).\").nullable().optional(),\n var9: z.string().describe(\"Custom variable field 9 (max 255 characters).\").nullable().optional(),\n email: z.string().describe(\"Contact's email address (max 100 characters).\").nullable().optional(),\n phone: z.string().describe(\"Phone number (max 50 characters).\").nullable().optional(),\n state: z.string().describe(\"State code, typically 2 characters (e.g., 'CA', 'NY').\").nullable().optional(),\n var10: z.string().describe(\"Custom variable field 10 (max 255 characters).\").nullable().optional(),\n var11: z.string().describe(\"Custom variable field 11 (max 255 characters).\").nullable().optional(),\n var12: z.string().describe(\"Custom variable field 12 (max 255 characters).\").nullable().optional(),\n var13: z.string().describe(\"Custom variable field 13 (max 255 characters).\").nullable().optional(),\n var14: z.string().describe(\"Custom variable field 14 (max 255 characters).\").nullable().optional(),\n var15: z.string().describe(\"Custom variable field 15 (max 255 characters).\").nullable().optional(),\n var16: z.string().describe(\"Custom variable field 16 (max 255 characters).\").nullable().optional(),\n var17: z.string().describe(\"Custom variable field 17 (max 255 characters).\").nullable().optional(),\n var18: z.string().describe(\"Custom variable field 18 (max 255 characters).\").nullable().optional(),\n var19: z.string().describe(\"Custom variable field 19 (max 255 characters).\").nullable().optional(),\n var20: z.string().describe(\"Custom variable field 20 (max 255 characters).\").nullable().optional(),\n var21: z.string().describe(\"Custom variable field 21 (max 255 characters).\").nullable().optional(),\n var22: z.string().describe(\"Custom variable field 22 (max 255 characters).\").nullable().optional(),\n var23: z.string().describe(\"Custom variable field 23 (max 255 characters).\").nullable().optional(),\n var24: z.string().describe(\"Custom variable field 24 (max 255 characters).\").nullable().optional(),\n var25: z.string().describe(\"Custom variable field 25 (max 255 characters).\").nullable().optional(),\n var26: z.string().describe(\"Custom variable field 26 (max 255 characters).\").nullable().optional(),\n var27: z.string().describe(\"Custom variable field 27 (max 255 characters).\").nullable().optional(),\n var28: z.string().describe(\"Custom variable field 28 (max 255 characters).\").nullable().optional(),\n var29: z.string().describe(\"Custom variable field 29 (max 255 characters).\").nullable().optional(),\n var30: z.string().describe(\"Custom variable field 30 (max 255 characters).\").nullable().optional(),\n var31: z.string().describe(\"Custom variable field 31 (max 255 characters).\").nullable().optional(),\n var32: z.string().describe(\"Custom variable field 32 (max 255 characters).\").nullable().optional(),\n var33: z.string().describe(\"Custom variable field 33 (max 255 characters).\").nullable().optional(),\n var34: z.string().describe(\"Custom variable field 34 (max 255 characters).\").nullable().optional(),\n var35: z.string().describe(\"Custom variable field 35 (max 255 characters).\").nullable().optional(),\n mobile: z.string().describe(\"Mobile phone number (max 50 characters).\").nullable().optional(),\n address: z.string().describe(\"Street address (max 64 characters).\").nullable().optional(),\n company: z.string().describe(\"Company or organization name (max 40 characters).\").nullable().optional(),\n website: z.string().describe(\"Website URL (max 500 characters).\").nullable().optional(),\n address_2: z.string().describe(\"Secondary address line for apartment or suite (max 64 characters).\").nullable().optional(),\n last_name: z.string().describe(\"Contact's last name (max 20 characters).\").nullable().optional(),\n first_name: z.string().describe(\"Contact's first name (max 20 characters).\").nullable().optional(),\n occupation: z.string().describe(\"Occupation (max 255 characters).\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single contact from the contact list.\");\nexport const PostalyticsGetAllContactsOnAListOutput = z.object({\n contacts: z.array(PostalyticsGetAllContactsOnAList_ContactSchema).describe(\"Array of contacts from the specified contact list.\"),\n}).passthrough().describe(\"Response model containing all contacts from the specified list.\");\n\nexport const postalyticsGetAllContactsOnAList: AppAction<\n typeof PostalyticsGetAllContactsOnAListInput,\n typeof PostalyticsGetAllContactsOnAListOutput,\n typeof postalytics.credential\n> = action(\"POSTALYTICS_GET_ALL_CONTACTS_ON_A_LIST\", {\n slug: \"postalytics-get-all-contacts-on-a-list\",\n name: \"Get All Contacts on a List\",\n description: \"Tool to retrieve all contacts from a specified contact list with pagination support. Use when you need to get contacts from a list, with optional pagination using start offset and limit parameters.\",\n input: PostalyticsGetAllContactsOnAListInput,\n output: PostalyticsGetAllContactsOnAListOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC3H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAClH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE;AAC3G,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC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