@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,85 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-suppression-list-contacts.ts
|
|
4
|
+
const PostalyticsGetSuppressionListContactsInput = z.object({
|
|
5
|
+
listId: z.number().int().describe("The listId of the suppression list to get contacts for."),
|
|
6
|
+
offset: z.number().int().describe("Offset count for paging through results.").optional()
|
|
7
|
+
}).describe("Request model for retrieving contacts from a suppression list.");
|
|
8
|
+
const PostalyticsGetSuppressionListContacts_ListDetailsSchema = z.object({
|
|
9
|
+
Id: z.number().int().describe("List ID").nullable().optional(),
|
|
10
|
+
Name: z.string().describe("List name").nullable().optional(),
|
|
11
|
+
Type: z.string().describe("List type").nullable().optional(),
|
|
12
|
+
Total: z.number().int().describe("Total contacts count").nullable().optional(),
|
|
13
|
+
Country: z.string().describe("Country").nullable().optional(),
|
|
14
|
+
CreationDate: z.string().describe("List creation date").nullable().optional()
|
|
15
|
+
}).describe("Model representing suppression list details.");
|
|
16
|
+
const PostalyticsGetSuppressionListContacts_ContactDetailsSchema = z.object({
|
|
17
|
+
Zip: z.string().describe("Zip/Postal code").nullable().optional(),
|
|
18
|
+
City: z.string().describe("City name").nullable().optional(),
|
|
19
|
+
Email: z.string().describe("Email address").nullable().optional(),
|
|
20
|
+
Phone: z.string().describe("Phone number").nullable().optional(),
|
|
21
|
+
State: z.string().describe("State/Province").nullable().optional(),
|
|
22
|
+
DataId: z.number().int().describe("Data ID").nullable().optional(),
|
|
23
|
+
ListId: z.number().int().describe("List ID").nullable().optional(),
|
|
24
|
+
Mobile: z.string().describe("Mobile number").nullable().optional(),
|
|
25
|
+
Address: z.string().describe("Street address").nullable().optional(),
|
|
26
|
+
Company: z.string().describe("Company name").nullable().optional(),
|
|
27
|
+
Country: z.string().describe("Country").nullable().optional(),
|
|
28
|
+
Website: z.string().describe("Website URL").nullable().optional(),
|
|
29
|
+
Address2: z.string().describe("Additional address line").nullable().optional(),
|
|
30
|
+
LastName: z.string().describe("Last name").nullable().optional(),
|
|
31
|
+
FirstName: z.string().describe("First name").nullable().optional(),
|
|
32
|
+
VarField1: z.string().describe("Custom variable field 1").nullable().optional(),
|
|
33
|
+
VarField2: z.string().describe("Custom variable field 2").nullable().optional(),
|
|
34
|
+
VarField3: z.string().describe("Custom variable field 3").nullable().optional(),
|
|
35
|
+
VarField4: z.string().describe("Custom variable field 4").nullable().optional(),
|
|
36
|
+
VarField5: z.string().describe("Custom variable field 5").nullable().optional(),
|
|
37
|
+
VarField6: z.string().describe("Custom variable field 6").nullable().optional(),
|
|
38
|
+
VarField7: z.string().describe("Custom variable field 7").nullable().optional(),
|
|
39
|
+
VarField8: z.string().describe("Custom variable field 8").nullable().optional(),
|
|
40
|
+
VarField9: z.string().describe("Custom variable field 9").nullable().optional(),
|
|
41
|
+
Occupation: z.string().describe("Occupation").nullable().optional(),
|
|
42
|
+
VarField10: z.string().describe("Custom variable field 10").nullable().optional(),
|
|
43
|
+
VarField11: z.string().describe("Custom variable field 11").nullable().optional(),
|
|
44
|
+
VarField12: z.string().describe("Custom variable field 12").nullable().optional(),
|
|
45
|
+
VarField13: z.string().describe("Custom variable field 13").nullable().optional(),
|
|
46
|
+
VarField14: z.string().describe("Custom variable field 14").nullable().optional(),
|
|
47
|
+
VarField15: z.string().describe("Custom variable field 15").nullable().optional(),
|
|
48
|
+
VarField16: z.string().describe("Custom variable field 16").nullable().optional(),
|
|
49
|
+
VarField17: z.string().describe("Custom variable field 17").nullable().optional(),
|
|
50
|
+
VarField18: z.string().describe("Custom variable field 18").nullable().optional(),
|
|
51
|
+
VarField19: z.string().describe("Custom variable field 19").nullable().optional(),
|
|
52
|
+
VarField20: z.string().describe("Custom variable field 20").nullable().optional(),
|
|
53
|
+
VarField21: z.string().describe("Custom variable field 21").nullable().optional(),
|
|
54
|
+
VarField22: z.string().describe("Custom variable field 22").nullable().optional(),
|
|
55
|
+
VarField23: z.string().describe("Custom variable field 23").nullable().optional(),
|
|
56
|
+
VarField24: z.string().describe("Custom variable field 24").nullable().optional(),
|
|
57
|
+
VarField25: z.string().describe("Custom variable field 25").nullable().optional(),
|
|
58
|
+
VarField26: z.string().describe("Custom variable field 26").nullable().optional(),
|
|
59
|
+
VarField27: z.string().describe("Custom variable field 27").nullable().optional(),
|
|
60
|
+
VarField28: z.string().describe("Custom variable field 28").nullable().optional(),
|
|
61
|
+
VarField29: z.string().describe("Custom variable field 29").nullable().optional(),
|
|
62
|
+
VarField30: z.string().describe("Custom variable field 30").nullable().optional(),
|
|
63
|
+
VarField31: z.string().describe("Custom variable field 31").nullable().optional(),
|
|
64
|
+
VarField32: z.string().describe("Custom variable field 32").nullable().optional(),
|
|
65
|
+
VarField33: z.string().describe("Custom variable field 33").nullable().optional(),
|
|
66
|
+
VarField34: z.string().describe("Custom variable field 34").nullable().optional(),
|
|
67
|
+
VarField35: z.string().describe("Custom variable field 35").nullable().optional(),
|
|
68
|
+
CreatedDate: z.string().describe("Date contact was created").nullable().optional(),
|
|
69
|
+
LastUpdateDate: z.string().describe("Date contact was last updated").nullable().optional(),
|
|
70
|
+
HasValidAddress: z.boolean().describe("Whether contact has valid address").nullable().optional()
|
|
71
|
+
}).describe("Model representing a contact in the suppression list.");
|
|
72
|
+
const postalyticsGetSuppressionListContacts = action("POSTALYTICS_GET_SUPPRESSION_LIST_CONTACTS", {
|
|
73
|
+
slug: "postalytics-get-suppression-list-contacts",
|
|
74
|
+
name: "Get Suppression List Contacts",
|
|
75
|
+
description: "Tool to get all contacts on a specified suppression list. Use when you need to retrieve contacts that are suppressed for a particular list.",
|
|
76
|
+
input: PostalyticsGetSuppressionListContactsInput,
|
|
77
|
+
output: z.object({
|
|
78
|
+
ListDetails: PostalyticsGetSuppressionListContacts_ListDetailsSchema.nullable(),
|
|
79
|
+
ContactDetails: z.array(PostalyticsGetSuppressionListContacts_ContactDetailsSchema).describe("Array of contact details on the suppression list")
|
|
80
|
+
}).describe("Response model for suppression list contacts.")
|
|
81
|
+
});
|
|
82
|
+
//#endregion
|
|
83
|
+
export { postalyticsGetSuppressionListContacts };
|
|
84
|
+
|
|
85
|
+
//# sourceMappingURL=get-suppression-list-contacts.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-suppression-list-contacts.mjs","names":[],"sources":["../../src/actions/get-suppression-list-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostalyticsGetSuppressionListContactsInput: z.ZodTypeAny = z.object({\n listId: z.number().int().describe(\"The listId of the suppression list to get contacts for.\"),\n offset: z.number().int().describe(\"Offset count for paging through results.\").optional(),\n}).describe(\"Request model for retrieving contacts from a suppression list.\");\nconst PostalyticsGetSuppressionListContacts_ListDetailsSchema: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"List ID\").nullable().optional(),\n Name: z.string().describe(\"List name\").nullable().optional(),\n Type: z.string().describe(\"List type\").nullable().optional(),\n Total: z.number().int().describe(\"Total contacts count\").nullable().optional(),\n Country: z.string().describe(\"Country\").nullable().optional(),\n CreationDate: z.string().describe(\"List creation date\").nullable().optional(),\n}).describe(\"Model representing suppression list details.\");\nconst PostalyticsGetSuppressionListContacts_ContactDetailsSchema: z.ZodTypeAny = z.object({\n Zip: z.string().describe(\"Zip/Postal code\").nullable().optional(),\n City: z.string().describe(\"City name\").nullable().optional(),\n Email: z.string().describe(\"Email address\").nullable().optional(),\n Phone: z.string().describe(\"Phone number\").nullable().optional(),\n State: z.string().describe(\"State/Province\").nullable().optional(),\n DataId: z.number().int().describe(\"Data ID\").nullable().optional(),\n ListId: z.number().int().describe(\"List ID\").nullable().optional(),\n Mobile: z.string().describe(\"Mobile number\").nullable().optional(),\n Address: z.string().describe(\"Street address\").nullable().optional(),\n Company: z.string().describe(\"Company name\").nullable().optional(),\n Country: z.string().describe(\"Country\").nullable().optional(),\n Website: z.string().describe(\"Website URL\").nullable().optional(),\n Address2: z.string().describe(\"Additional address line\").nullable().optional(),\n LastName: z.string().describe(\"Last name\").nullable().optional(),\n FirstName: z.string().describe(\"First name\").nullable().optional(),\n VarField1: z.string().describe(\"Custom variable field 1\").nullable().optional(),\n VarField2: z.string().describe(\"Custom variable field 2\").nullable().optional(),\n VarField3: z.string().describe(\"Custom variable field 3\").nullable().optional(),\n VarField4: z.string().describe(\"Custom variable field 4\").nullable().optional(),\n VarField5: z.string().describe(\"Custom variable field 5\").nullable().optional(),\n VarField6: z.string().describe(\"Custom variable field 6\").nullable().optional(),\n VarField7: z.string().describe(\"Custom variable field 7\").nullable().optional(),\n VarField8: z.string().describe(\"Custom variable field 8\").nullable().optional(),\n VarField9: z.string().describe(\"Custom variable field 9\").nullable().optional(),\n Occupation: z.string().describe(\"Occupation\").nullable().optional(),\n VarField10: z.string().describe(\"Custom variable field 10\").nullable().optional(),\n VarField11: z.string().describe(\"Custom variable field 11\").nullable().optional(),\n VarField12: z.string().describe(\"Custom variable field 12\").nullable().optional(),\n VarField13: z.string().describe(\"Custom variable field 13\").nullable().optional(),\n VarField14: z.string().describe(\"Custom variable field 14\").nullable().optional(),\n VarField15: z.string().describe(\"Custom variable field 15\").nullable().optional(),\n VarField16: z.string().describe(\"Custom variable field 16\").nullable().optional(),\n VarField17: z.string().describe(\"Custom variable field 17\").nullable().optional(),\n VarField18: z.string().describe(\"Custom variable field 18\").nullable().optional(),\n VarField19: z.string().describe(\"Custom variable field 19\").nullable().optional(),\n VarField20: z.string().describe(\"Custom variable field 20\").nullable().optional(),\n VarField21: z.string().describe(\"Custom variable field 21\").nullable().optional(),\n VarField22: z.string().describe(\"Custom variable field 22\").nullable().optional(),\n VarField23: z.string().describe(\"Custom variable field 23\").nullable().optional(),\n VarField24: z.string().describe(\"Custom variable field 24\").nullable().optional(),\n VarField25: z.string().describe(\"Custom variable field 25\").nullable().optional(),\n VarField26: z.string().describe(\"Custom variable field 26\").nullable().optional(),\n VarField27: z.string().describe(\"Custom variable field 27\").nullable().optional(),\n VarField28: z.string().describe(\"Custom variable field 28\").nullable().optional(),\n VarField29: z.string().describe(\"Custom variable field 29\").nullable().optional(),\n VarField30: z.string().describe(\"Custom variable field 30\").nullable().optional(),\n VarField31: z.string().describe(\"Custom variable field 31\").nullable().optional(),\n VarField32: z.string().describe(\"Custom variable field 32\").nullable().optional(),\n VarField33: z.string().describe(\"Custom variable field 33\").nullable().optional(),\n VarField34: z.string().describe(\"Custom variable field 34\").nullable().optional(),\n VarField35: z.string().describe(\"Custom variable field 35\").nullable().optional(),\n CreatedDate: z.string().describe(\"Date contact was created\").nullable().optional(),\n LastUpdateDate: z.string().describe(\"Date contact was last updated\").nullable().optional(),\n HasValidAddress: z.boolean().describe(\"Whether contact has valid address\").nullable().optional(),\n}).describe(\"Model representing a contact in the suppression list.\");\nexport const PostalyticsGetSuppressionListContactsOutput: z.ZodTypeAny = z.object({\n ListDetails: PostalyticsGetSuppressionListContacts_ListDetailsSchema.nullable(),\n ContactDetails: z.array(PostalyticsGetSuppressionListContacts_ContactDetailsSchema).describe(\"Array of contact details on the suppression list\"),\n}).describe(\"Response model for suppression list contacts.\");\n\nexport const postalyticsGetSuppressionListContacts = action(\"POSTALYTICS_GET_SUPPRESSION_LIST_CONTACTS\", {\n slug: \"postalytics-get-suppression-list-contacts\",\n name: \"Get Suppression List Contacts\",\n description: \"Tool to get all contacts on a specified suppression list. Use when you need to retrieve contacts that are suppressed for a particular list.\",\n input: PostalyticsGetSuppressionListContactsInput,\n output: PostalyticsGetSuppressionListContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA2D,EAAE,OAAO;CAC/E,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD;CAC3F,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,0DAAwE,EAAE,OAAO;CACrF,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAA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OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAMnE,MAAa,wCAAwC,OAAO,6CAA6C;CACvG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVuE,EAAE,OAAO;EAChF,aAAa,wDAAwD,SAAS;EAC9E,gBAAgB,EAAE,MAAM,0DAA0D,CAAC,CAAC,SAAS,kDAAkD;CACjJ,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-suppression-list.ts
|
|
4
|
+
const PostalyticsGetSuppressionListInput = zod.z.object({ id: zod.z.number().int().describe("The id of the suppression list to retrieve.") }).describe("Request model for retrieving a suppression list by ID.");
|
|
5
|
+
const PostalyticsGetSuppressionList_SuppressionListItemSchema = zod.z.object({
|
|
6
|
+
Id: zod.z.number().int().describe("The unique identifier for the list item."),
|
|
7
|
+
Name: zod.z.string().describe("The name of the list item.").nullable().optional(),
|
|
8
|
+
Type: zod.z.string().describe("The type of the list (e.g., 'Suppression').").nullable().optional(),
|
|
9
|
+
Total: zod.z.number().int().describe("The total number of items in the list."),
|
|
10
|
+
Country: zod.z.string().describe("The country associated with the list (e.g., 'US').").nullable().optional(),
|
|
11
|
+
CreationDate: zod.z.string().describe("The date and time when the list was created.")
|
|
12
|
+
}).describe("Model representing a suppression list item.");
|
|
13
|
+
const PostalyticsGetSuppressionListOutput = zod.z.object({ items: zod.z.array(PostalyticsGetSuppressionList_SuppressionListItemSchema).describe("Array containing suppression list details.") }).describe("Response model for suppression list details.\nReturns an array of suppression list items.");
|
|
14
|
+
const postalyticsGetSuppressionList = require_action.action("POSTALYTICS_GET_SUPPRESSION_LIST", {
|
|
15
|
+
slug: "postalytics-get-suppression-list",
|
|
16
|
+
name: "Get Suppression List",
|
|
17
|
+
description: "Tool to get the details of a suppression list based on the id supplied. Use when you need to retrieve information about a specific suppression list.",
|
|
18
|
+
input: PostalyticsGetSuppressionListInput,
|
|
19
|
+
output: PostalyticsGetSuppressionListOutput
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
exports.postalyticsGetSuppressionList = postalyticsGetSuppressionList;
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=get-suppression-list.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-suppression-list.cjs","names":["z","action"],"sources":["../../src/actions/get-suppression-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostalyticsGetSuppressionListInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The id of the suppression list to retrieve.\"),\n}).describe(\"Request model for retrieving a suppression list by ID.\");\nconst PostalyticsGetSuppressionList_SuppressionListItemSchema: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"The unique identifier for the list item.\"),\n Name: z.string().describe(\"The name of the list item.\").nullable().optional(),\n Type: z.string().describe(\"The type of the list (e.g., 'Suppression').\").nullable().optional(),\n Total: z.number().int().describe(\"The total number of items in the list.\"),\n Country: z.string().describe(\"The country associated with the list (e.g., 'US').\").nullable().optional(),\n CreationDate: z.string().describe(\"The date and time when the list was created.\"),\n}).describe(\"Model representing a suppression list item.\");\nexport const PostalyticsGetSuppressionListOutput: z.ZodTypeAny = z.object({\n items: z.array(PostalyticsGetSuppressionList_SuppressionListItemSchema).describe(\"Array containing suppression list details.\"),\n}).describe(\"Response model for suppression list details.\\nReturns an array of suppression list items.\");\n\nexport const postalyticsGetSuppressionList = action(\"POSTALYTICS_GET_SUPPRESSION_LIST\", {\n slug: \"postalytics-get-suppression-list\",\n name: \"Get Suppression List\",\n description: \"Tool to get the details of a suppression list based on the id supplied. Use when you need to retrieve information about a specific suppression list.\",\n input: PostalyticsGetSuppressionListInput,\n output: PostalyticsGetSuppressionListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmDA,IAAAA,EAAE,OAAO,EACvE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,EAC7E,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,0DAAwEA,IAAAA,EAAE,OAAO;CACrF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;AAClF,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,sCAAoDA,IAAAA,EAAE,OAAO,EACxE,OAAOA,IAAAA,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,4CAA4C,EAC/H,CAAC,CAAC,CAAC,SAAS,2FAA2F;AAEvG,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,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-suppression-list.d.ts
|
|
4
|
+
declare const PostalyticsGetSuppressionListInput: z.ZodTypeAny;
|
|
5
|
+
declare const PostalyticsGetSuppressionListOutput: z.ZodTypeAny;
|
|
6
|
+
declare const postalyticsGetSuppressionList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { postalyticsGetSuppressionList };
|
|
9
|
+
//# sourceMappingURL=get-suppression-list.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-suppression-list.d.cts","names":[],"sources":["../../src/actions/get-suppression-list.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAEkB;AAAA,cASxD,mCAAA,EAAqC,CAAA,CAAE,UAEoD;AAAA,cAE3F,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-suppression-list.d.ts
|
|
4
|
+
declare const PostalyticsGetSuppressionListInput: z.ZodTypeAny;
|
|
5
|
+
declare const PostalyticsGetSuppressionListOutput: z.ZodTypeAny;
|
|
6
|
+
declare const postalyticsGetSuppressionList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { postalyticsGetSuppressionList };
|
|
9
|
+
//# sourceMappingURL=get-suppression-list.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-suppression-list.d.mts","names":[],"sources":["../../src/actions/get-suppression-list.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAEkB;AAAA,cASxD,mCAAA,EAAqC,CAAA,CAAE,UAEoD;AAAA,cAE3F,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-suppression-list.ts
|
|
4
|
+
const PostalyticsGetSuppressionListInput = z.object({ id: z.number().int().describe("The id of the suppression list to retrieve.") }).describe("Request model for retrieving a suppression list by ID.");
|
|
5
|
+
const PostalyticsGetSuppressionList_SuppressionListItemSchema = z.object({
|
|
6
|
+
Id: z.number().int().describe("The unique identifier for the list item."),
|
|
7
|
+
Name: z.string().describe("The name of the list item.").nullable().optional(),
|
|
8
|
+
Type: z.string().describe("The type of the list (e.g., 'Suppression').").nullable().optional(),
|
|
9
|
+
Total: z.number().int().describe("The total number of items in the list."),
|
|
10
|
+
Country: z.string().describe("The country associated with the list (e.g., 'US').").nullable().optional(),
|
|
11
|
+
CreationDate: z.string().describe("The date and time when the list was created.")
|
|
12
|
+
}).describe("Model representing a suppression list item.");
|
|
13
|
+
const postalyticsGetSuppressionList = action("POSTALYTICS_GET_SUPPRESSION_LIST", {
|
|
14
|
+
slug: "postalytics-get-suppression-list",
|
|
15
|
+
name: "Get Suppression List",
|
|
16
|
+
description: "Tool to get the details of a suppression list based on the id supplied. Use when you need to retrieve information about a specific suppression list.",
|
|
17
|
+
input: PostalyticsGetSuppressionListInput,
|
|
18
|
+
output: z.object({ items: z.array(PostalyticsGetSuppressionList_SuppressionListItemSchema).describe("Array containing suppression list details.") }).describe("Response model for suppression list details.\nReturns an array of suppression list items.")
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
export { postalyticsGetSuppressionList };
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=get-suppression-list.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-suppression-list.mjs","names":[],"sources":["../../src/actions/get-suppression-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostalyticsGetSuppressionListInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The id of the suppression list to retrieve.\"),\n}).describe(\"Request model for retrieving a suppression list by ID.\");\nconst PostalyticsGetSuppressionList_SuppressionListItemSchema: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"The unique identifier for the list item.\"),\n Name: z.string().describe(\"The name of the list item.\").nullable().optional(),\n Type: z.string().describe(\"The type of the list (e.g., 'Suppression').\").nullable().optional(),\n Total: z.number().int().describe(\"The total number of items in the list.\"),\n Country: z.string().describe(\"The country associated with the list (e.g., 'US').\").nullable().optional(),\n CreationDate: z.string().describe(\"The date and time when the list was created.\"),\n}).describe(\"Model representing a suppression list item.\");\nexport const PostalyticsGetSuppressionListOutput: z.ZodTypeAny = z.object({\n items: z.array(PostalyticsGetSuppressionList_SuppressionListItemSchema).describe(\"Array containing suppression list details.\"),\n}).describe(\"Response model for suppression list details.\\nReturns an array of suppression list items.\");\n\nexport const postalyticsGetSuppressionList = action(\"POSTALYTICS_GET_SUPPRESSION_LIST\", {\n slug: \"postalytics-get-suppression-list\",\n name: \"Get Suppression List\",\n description: \"Tool to get the details of a suppression list based on the id supplied. Use when you need to retrieve information about a specific suppression list.\",\n input: PostalyticsGetSuppressionListInput,\n output: PostalyticsGetSuppressionListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmD,EAAE,OAAO,EACvE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,EAC7E,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,0DAAwE,EAAE,OAAO;CACrF,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;CACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;AAClF,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAKzD,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT+D,EAAE,OAAO,EACxE,OAAO,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,4CAA4C,EAC/H,CAAC,CAAC,CAAC,SAAS,2FAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-suppression-lists.ts
|
|
4
|
+
const PostalyticsGetSuppressionListsInput = zod.z.object({ id: zod.z.number().int().describe("The identifier of a specific suppression list to retrieve. If not provided, all suppression lists will be returned.").optional() }).describe("Request model for retrieving suppression lists.");
|
|
5
|
+
const PostalyticsGetSuppressionLists_SuppressionListItemSchema = zod.z.object({
|
|
6
|
+
Id: zod.z.number().int().describe("Unique identifier for the list item."),
|
|
7
|
+
Name: zod.z.string().describe("Display name of the list item.").nullable().optional(),
|
|
8
|
+
Type: zod.z.string().describe("Category designation (e.g., \"Suppression\").").nullable().optional(),
|
|
9
|
+
Total: zod.z.number().int().describe("Count of items contained in the list."),
|
|
10
|
+
Country: zod.z.string().describe("The country linked to the list.").nullable().optional(),
|
|
11
|
+
CreationDate: zod.z.string().describe("Timestamp indicating when the list was established.")
|
|
12
|
+
}).describe("Model representing a single suppression list item.");
|
|
13
|
+
const PostalyticsGetSuppressionListsOutput = zod.z.object({ lists: zod.z.array(PostalyticsGetSuppressionLists_SuppressionListItemSchema).describe("Array of suppression list items.") }).describe("Response model for retrieving suppression lists.");
|
|
14
|
+
const postalyticsGetSuppressionLists = require_action.action("POSTALYTICS_GET_SUPPRESSION_LISTS", {
|
|
15
|
+
slug: "postalytics-get-suppression-lists",
|
|
16
|
+
name: "Get Suppression Lists",
|
|
17
|
+
description: "Tool to retrieve all suppression lists for the authenticated user. Use when you need to view or manage suppression lists. Returns all lists or a specific list when ID is provided.",
|
|
18
|
+
input: PostalyticsGetSuppressionListsInput,
|
|
19
|
+
output: PostalyticsGetSuppressionListsOutput
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
exports.postalyticsGetSuppressionLists = postalyticsGetSuppressionLists;
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=get-suppression-lists.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-suppression-lists.cjs","names":["z","action"],"sources":["../../src/actions/get-suppression-lists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostalyticsGetSuppressionListsInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The identifier of a specific suppression list to retrieve. If not provided, all suppression lists will be returned.\").optional(),\n}).describe(\"Request model for retrieving suppression lists.\");\nconst PostalyticsGetSuppressionLists_SuppressionListItemSchema: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"Unique identifier for the list item.\"),\n Name: z.string().describe(\"Display name of the list item.\").nullable().optional(),\n Type: z.string().describe(\"Category designation (e.g., \\\"Suppression\\\").\").nullable().optional(),\n Total: z.number().int().describe(\"Count of items contained in the list.\"),\n Country: z.string().describe(\"The country linked to the list.\").nullable().optional(),\n CreationDate: z.string().describe(\"Timestamp indicating when the list was established.\"),\n}).describe(\"Model representing a single suppression list item.\");\nexport const PostalyticsGetSuppressionListsOutput: z.ZodTypeAny = z.object({\n lists: z.array(PostalyticsGetSuppressionLists_SuppressionListItemSchema).describe(\"Array of suppression list items.\"),\n}).describe(\"Response model for retrieving suppression lists.\");\n\nexport const postalyticsGetSuppressionLists = action(\"POSTALYTICS_GET_SUPPRESSION_LISTS\", {\n slug: \"postalytics-get-suppression-lists\",\n name: \"Get Suppression Lists\",\n description: \"Tool to retrieve all suppression lists for the authenticated user. Use when you need to view or manage suppression lists. Returns all lists or a specific list when ID is provided.\",\n input: PostalyticsGetSuppressionListsInput,\n output: PostalyticsGetSuppressionListsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoDA,IAAAA,EAAE,OAAO,EACxE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS,EAChK,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,2DAAyEA,IAAAA,EAAE,OAAO;CACtF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CACxE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;AACzF,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,uCAAqDA,IAAAA,EAAE,OAAO,EACzE,OAAOA,IAAAA,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,kCAAkC,EACtH,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,MAAa,iCAAiCC,eAAAA,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-suppression-lists.d.ts
|
|
4
|
+
declare const PostalyticsGetSuppressionListsInput: z.ZodTypeAny;
|
|
5
|
+
declare const PostalyticsGetSuppressionListsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const postalyticsGetSuppressionLists: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { postalyticsGetSuppressionLists };
|
|
9
|
+
//# sourceMappingURL=get-suppression-lists.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-suppression-lists.d.cts","names":[],"sources":["../../src/actions/get-suppression-lists.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAEU;AAAA,cASjD,oCAAA,EAAsC,CAAA,CAAE,UAEU;AAAA,cAElD,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-suppression-lists.d.ts
|
|
4
|
+
declare const PostalyticsGetSuppressionListsInput: z.ZodTypeAny;
|
|
5
|
+
declare const PostalyticsGetSuppressionListsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const postalyticsGetSuppressionLists: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { postalyticsGetSuppressionLists };
|
|
9
|
+
//# sourceMappingURL=get-suppression-lists.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-suppression-lists.d.mts","names":[],"sources":["../../src/actions/get-suppression-lists.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAEU;AAAA,cASjD,oCAAA,EAAsC,CAAA,CAAE,UAEU;AAAA,cAElD,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-suppression-lists.ts
|
|
4
|
+
const PostalyticsGetSuppressionListsInput = z.object({ id: z.number().int().describe("The identifier of a specific suppression list to retrieve. If not provided, all suppression lists will be returned.").optional() }).describe("Request model for retrieving suppression lists.");
|
|
5
|
+
const PostalyticsGetSuppressionLists_SuppressionListItemSchema = z.object({
|
|
6
|
+
Id: z.number().int().describe("Unique identifier for the list item."),
|
|
7
|
+
Name: z.string().describe("Display name of the list item.").nullable().optional(),
|
|
8
|
+
Type: z.string().describe("Category designation (e.g., \"Suppression\").").nullable().optional(),
|
|
9
|
+
Total: z.number().int().describe("Count of items contained in the list."),
|
|
10
|
+
Country: z.string().describe("The country linked to the list.").nullable().optional(),
|
|
11
|
+
CreationDate: z.string().describe("Timestamp indicating when the list was established.")
|
|
12
|
+
}).describe("Model representing a single suppression list item.");
|
|
13
|
+
const postalyticsGetSuppressionLists = action("POSTALYTICS_GET_SUPPRESSION_LISTS", {
|
|
14
|
+
slug: "postalytics-get-suppression-lists",
|
|
15
|
+
name: "Get Suppression Lists",
|
|
16
|
+
description: "Tool to retrieve all suppression lists for the authenticated user. Use when you need to view or manage suppression lists. Returns all lists or a specific list when ID is provided.",
|
|
17
|
+
input: PostalyticsGetSuppressionListsInput,
|
|
18
|
+
output: z.object({ lists: z.array(PostalyticsGetSuppressionLists_SuppressionListItemSchema).describe("Array of suppression list items.") }).describe("Response model for retrieving suppression lists.")
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
export { postalyticsGetSuppressionLists };
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=get-suppression-lists.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-suppression-lists.mjs","names":[],"sources":["../../src/actions/get-suppression-lists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostalyticsGetSuppressionListsInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The identifier of a specific suppression list to retrieve. If not provided, all suppression lists will be returned.\").optional(),\n}).describe(\"Request model for retrieving suppression lists.\");\nconst PostalyticsGetSuppressionLists_SuppressionListItemSchema: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"Unique identifier for the list item.\"),\n Name: z.string().describe(\"Display name of the list item.\").nullable().optional(),\n Type: z.string().describe(\"Category designation (e.g., \\\"Suppression\\\").\").nullable().optional(),\n Total: z.number().int().describe(\"Count of items contained in the list.\"),\n Country: z.string().describe(\"The country linked to the list.\").nullable().optional(),\n CreationDate: z.string().describe(\"Timestamp indicating when the list was established.\"),\n}).describe(\"Model representing a single suppression list item.\");\nexport const PostalyticsGetSuppressionListsOutput: z.ZodTypeAny = z.object({\n lists: z.array(PostalyticsGetSuppressionLists_SuppressionListItemSchema).describe(\"Array of suppression list items.\"),\n}).describe(\"Response model for retrieving suppression lists.\");\n\nexport const postalyticsGetSuppressionLists = action(\"POSTALYTICS_GET_SUPPRESSION_LISTS\", {\n slug: \"postalytics-get-suppression-lists\",\n name: \"Get Suppression Lists\",\n description: \"Tool to retrieve all suppression lists for the authenticated user. Use when you need to view or manage suppression lists. Returns all lists or a specific list when ID is provided.\",\n input: PostalyticsGetSuppressionListsInput,\n output: PostalyticsGetSuppressionListsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoD,EAAE,OAAO,EACxE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS,EAChK,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,2DAAyE,EAAE,OAAO;CACtF,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CACxE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;AACzF,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAKhE,MAAa,iCAAiC,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATgE,EAAE,OAAO,EACzE,OAAO,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,kCAAkC,EACtH,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_add_account = require("./add-account.cjs");
|
|
3
|
+
const require_add_contact = require("./add-contact.cjs");
|
|
4
|
+
const require_create_new_campaign = require("./create-new-campaign.cjs");
|
|
5
|
+
const require_create_suppression_list = require("./create-suppression-list.cjs");
|
|
6
|
+
const require_create_suppression_list_contact = require("./create-suppression-list-contact.cjs");
|
|
7
|
+
const require_create_template = require("./create-template.cjs");
|
|
8
|
+
const require_create_webhook = require("./create-webhook.cjs");
|
|
9
|
+
const require_delete_account = require("./delete-account.cjs");
|
|
10
|
+
const require_delete_campaign = require("./delete-campaign.cjs");
|
|
11
|
+
const require_delete_suppression_list = require("./delete-suppression-list.cjs");
|
|
12
|
+
const require_delete_suppression_list_contact = require("./delete-suppression-list-contact.cjs");
|
|
13
|
+
const require_get_all_contact_lists = require("./get-all-contact-lists.cjs");
|
|
14
|
+
const require_get_all_contacts_on_a_list = require("./get-all-contacts-on-a-list.cjs");
|
|
15
|
+
const require_get_all_drip_campaigns = require("./get-all-drip-campaigns.cjs");
|
|
16
|
+
const require_get_all_flows = require("./get-all-flows.cjs");
|
|
17
|
+
const require_get_all_webhooks = require("./get-all-webhooks.cjs");
|
|
18
|
+
const require_get_integrations = require("./get-integrations.cjs");
|
|
19
|
+
const require_get_my_account = require("./get-my-account.cjs");
|
|
20
|
+
const require_get_suppression_list = require("./get-suppression-list.cjs");
|
|
21
|
+
const require_get_suppression_list_contact = require("./get-suppression-list-contact.cjs");
|
|
22
|
+
const require_get_suppression_list_contacts = require("./get-suppression-list-contacts.cjs");
|
|
23
|
+
const require_get_suppression_lists = require("./get-suppression-lists.cjs");
|
|
24
|
+
const require_update_account = require("./update-account.cjs");
|
|
25
|
+
const require_update_suppression_list_contact = require("./update-suppression-list-contact.cjs");
|
|
26
|
+
exports.postalyticsAddAccount = require_add_account.postalyticsAddAccount;
|
|
27
|
+
exports.postalyticsAddContact = require_add_contact.postalyticsAddContact;
|
|
28
|
+
exports.postalyticsCreateNewCampaign = require_create_new_campaign.postalyticsCreateNewCampaign;
|
|
29
|
+
exports.postalyticsCreateSuppressionList = require_create_suppression_list.postalyticsCreateSuppressionList;
|
|
30
|
+
exports.postalyticsCreateSuppressionListContact = require_create_suppression_list_contact.postalyticsCreateSuppressionListContact;
|
|
31
|
+
exports.postalyticsCreateTemplate = require_create_template.postalyticsCreateTemplate;
|
|
32
|
+
exports.postalyticsCreateWebhook = require_create_webhook.postalyticsCreateWebhook;
|
|
33
|
+
exports.postalyticsDeleteAccount = require_delete_account.postalyticsDeleteAccount;
|
|
34
|
+
exports.postalyticsDeleteCampaign = require_delete_campaign.postalyticsDeleteCampaign;
|
|
35
|
+
exports.postalyticsDeleteSuppressionList = require_delete_suppression_list.postalyticsDeleteSuppressionList;
|
|
36
|
+
exports.postalyticsDeleteSuppressionListContact = require_delete_suppression_list_contact.postalyticsDeleteSuppressionListContact;
|
|
37
|
+
exports.postalyticsGetAllContactLists = require_get_all_contact_lists.postalyticsGetAllContactLists;
|
|
38
|
+
exports.postalyticsGetAllContactsOnAList = require_get_all_contacts_on_a_list.postalyticsGetAllContactsOnAList;
|
|
39
|
+
exports.postalyticsGetAllDripCampaigns = require_get_all_drip_campaigns.postalyticsGetAllDripCampaigns;
|
|
40
|
+
exports.postalyticsGetAllFlows = require_get_all_flows.postalyticsGetAllFlows;
|
|
41
|
+
exports.postalyticsGetAllWebhooks = require_get_all_webhooks.postalyticsGetAllWebhooks;
|
|
42
|
+
exports.postalyticsGetIntegrations = require_get_integrations.postalyticsGetIntegrations;
|
|
43
|
+
exports.postalyticsGetMyAccount = require_get_my_account.postalyticsGetMyAccount;
|
|
44
|
+
exports.postalyticsGetSuppressionList = require_get_suppression_list.postalyticsGetSuppressionList;
|
|
45
|
+
exports.postalyticsGetSuppressionListContact = require_get_suppression_list_contact.postalyticsGetSuppressionListContact;
|
|
46
|
+
exports.postalyticsGetSuppressionListContacts = require_get_suppression_list_contacts.postalyticsGetSuppressionListContacts;
|
|
47
|
+
exports.postalyticsGetSuppressionLists = require_get_suppression_lists.postalyticsGetSuppressionLists;
|
|
48
|
+
exports.postalyticsUpdateAccount = require_update_account.postalyticsUpdateAccount;
|
|
49
|
+
exports.postalyticsUpdateSuppressionListContact = require_update_suppression_list_contact.postalyticsUpdateSuppressionListContact;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { postalyticsAddAccount } from "./add-account.cjs";
|
|
2
|
+
import { postalyticsAddContact } from "./add-contact.cjs";
|
|
3
|
+
import { postalyticsCreateNewCampaign } from "./create-new-campaign.cjs";
|
|
4
|
+
import { postalyticsCreateSuppressionList } from "./create-suppression-list.cjs";
|
|
5
|
+
import { postalyticsCreateSuppressionListContact } from "./create-suppression-list-contact.cjs";
|
|
6
|
+
import { postalyticsCreateTemplate } from "./create-template.cjs";
|
|
7
|
+
import { postalyticsCreateWebhook } from "./create-webhook.cjs";
|
|
8
|
+
import { postalyticsDeleteAccount } from "./delete-account.cjs";
|
|
9
|
+
import { postalyticsDeleteCampaign } from "./delete-campaign.cjs";
|
|
10
|
+
import { postalyticsDeleteSuppressionList } from "./delete-suppression-list.cjs";
|
|
11
|
+
import { postalyticsDeleteSuppressionListContact } from "./delete-suppression-list-contact.cjs";
|
|
12
|
+
import { postalyticsGetAllContactLists } from "./get-all-contact-lists.cjs";
|
|
13
|
+
import { postalyticsGetAllContactsOnAList } from "./get-all-contacts-on-a-list.cjs";
|
|
14
|
+
import { postalyticsGetAllDripCampaigns } from "./get-all-drip-campaigns.cjs";
|
|
15
|
+
import { postalyticsGetAllFlows } from "./get-all-flows.cjs";
|
|
16
|
+
import { postalyticsGetAllWebhooks } from "./get-all-webhooks.cjs";
|
|
17
|
+
import { postalyticsGetIntegrations } from "./get-integrations.cjs";
|
|
18
|
+
import { postalyticsGetMyAccount } from "./get-my-account.cjs";
|
|
19
|
+
import { postalyticsGetSuppressionList } from "./get-suppression-list.cjs";
|
|
20
|
+
import { postalyticsGetSuppressionListContact } from "./get-suppression-list-contact.cjs";
|
|
21
|
+
import { postalyticsGetSuppressionListContacts } from "./get-suppression-list-contacts.cjs";
|
|
22
|
+
import { postalyticsGetSuppressionLists } from "./get-suppression-lists.cjs";
|
|
23
|
+
import { postalyticsUpdateAccount } from "./update-account.cjs";
|
|
24
|
+
import { postalyticsUpdateSuppressionListContact } from "./update-suppression-list-contact.cjs";
|
|
25
|
+
export { postalyticsAddAccount, postalyticsAddContact, postalyticsCreateNewCampaign, postalyticsCreateSuppressionList, postalyticsCreateSuppressionListContact, postalyticsCreateTemplate, postalyticsCreateWebhook, postalyticsDeleteAccount, postalyticsDeleteCampaign, postalyticsDeleteSuppressionList, postalyticsDeleteSuppressionListContact, postalyticsGetAllContactLists, postalyticsGetAllContactsOnAList, postalyticsGetAllDripCampaigns, postalyticsGetAllFlows, postalyticsGetAllWebhooks, postalyticsGetIntegrations, postalyticsGetMyAccount, postalyticsGetSuppressionList, postalyticsGetSuppressionListContact, postalyticsGetSuppressionListContacts, postalyticsGetSuppressionLists, postalyticsUpdateAccount, postalyticsUpdateSuppressionListContact };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { postalyticsAddAccount } from "./add-account.mjs";
|
|
2
|
+
import { postalyticsAddContact } from "./add-contact.mjs";
|
|
3
|
+
import { postalyticsCreateNewCampaign } from "./create-new-campaign.mjs";
|
|
4
|
+
import { postalyticsCreateSuppressionList } from "./create-suppression-list.mjs";
|
|
5
|
+
import { postalyticsCreateSuppressionListContact } from "./create-suppression-list-contact.mjs";
|
|
6
|
+
import { postalyticsCreateTemplate } from "./create-template.mjs";
|
|
7
|
+
import { postalyticsCreateWebhook } from "./create-webhook.mjs";
|
|
8
|
+
import { postalyticsDeleteAccount } from "./delete-account.mjs";
|
|
9
|
+
import { postalyticsDeleteCampaign } from "./delete-campaign.mjs";
|
|
10
|
+
import { postalyticsDeleteSuppressionList } from "./delete-suppression-list.mjs";
|
|
11
|
+
import { postalyticsDeleteSuppressionListContact } from "./delete-suppression-list-contact.mjs";
|
|
12
|
+
import { postalyticsGetAllContactLists } from "./get-all-contact-lists.mjs";
|
|
13
|
+
import { postalyticsGetAllContactsOnAList } from "./get-all-contacts-on-a-list.mjs";
|
|
14
|
+
import { postalyticsGetAllDripCampaigns } from "./get-all-drip-campaigns.mjs";
|
|
15
|
+
import { postalyticsGetAllFlows } from "./get-all-flows.mjs";
|
|
16
|
+
import { postalyticsGetAllWebhooks } from "./get-all-webhooks.mjs";
|
|
17
|
+
import { postalyticsGetIntegrations } from "./get-integrations.mjs";
|
|
18
|
+
import { postalyticsGetMyAccount } from "./get-my-account.mjs";
|
|
19
|
+
import { postalyticsGetSuppressionList } from "./get-suppression-list.mjs";
|
|
20
|
+
import { postalyticsGetSuppressionListContact } from "./get-suppression-list-contact.mjs";
|
|
21
|
+
import { postalyticsGetSuppressionListContacts } from "./get-suppression-list-contacts.mjs";
|
|
22
|
+
import { postalyticsGetSuppressionLists } from "./get-suppression-lists.mjs";
|
|
23
|
+
import { postalyticsUpdateAccount } from "./update-account.mjs";
|
|
24
|
+
import { postalyticsUpdateSuppressionListContact } from "./update-suppression-list-contact.mjs";
|
|
25
|
+
export { postalyticsAddAccount, postalyticsAddContact, postalyticsCreateNewCampaign, postalyticsCreateSuppressionList, postalyticsCreateSuppressionListContact, postalyticsCreateTemplate, postalyticsCreateWebhook, postalyticsDeleteAccount, postalyticsDeleteCampaign, postalyticsDeleteSuppressionList, postalyticsDeleteSuppressionListContact, postalyticsGetAllContactLists, postalyticsGetAllContactsOnAList, postalyticsGetAllDripCampaigns, postalyticsGetAllFlows, postalyticsGetAllWebhooks, postalyticsGetIntegrations, postalyticsGetMyAccount, postalyticsGetSuppressionList, postalyticsGetSuppressionListContact, postalyticsGetSuppressionListContacts, postalyticsGetSuppressionLists, postalyticsUpdateAccount, postalyticsUpdateSuppressionListContact };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { postalyticsAddAccount } from "./add-account.mjs";
|
|
2
|
+
import { postalyticsAddContact } from "./add-contact.mjs";
|
|
3
|
+
import { postalyticsCreateNewCampaign } from "./create-new-campaign.mjs";
|
|
4
|
+
import { postalyticsCreateSuppressionList } from "./create-suppression-list.mjs";
|
|
5
|
+
import { postalyticsCreateSuppressionListContact } from "./create-suppression-list-contact.mjs";
|
|
6
|
+
import { postalyticsCreateTemplate } from "./create-template.mjs";
|
|
7
|
+
import { postalyticsCreateWebhook } from "./create-webhook.mjs";
|
|
8
|
+
import { postalyticsDeleteAccount } from "./delete-account.mjs";
|
|
9
|
+
import { postalyticsDeleteCampaign } from "./delete-campaign.mjs";
|
|
10
|
+
import { postalyticsDeleteSuppressionList } from "./delete-suppression-list.mjs";
|
|
11
|
+
import { postalyticsDeleteSuppressionListContact } from "./delete-suppression-list-contact.mjs";
|
|
12
|
+
import { postalyticsGetAllContactLists } from "./get-all-contact-lists.mjs";
|
|
13
|
+
import { postalyticsGetAllContactsOnAList } from "./get-all-contacts-on-a-list.mjs";
|
|
14
|
+
import { postalyticsGetAllDripCampaigns } from "./get-all-drip-campaigns.mjs";
|
|
15
|
+
import { postalyticsGetAllFlows } from "./get-all-flows.mjs";
|
|
16
|
+
import { postalyticsGetAllWebhooks } from "./get-all-webhooks.mjs";
|
|
17
|
+
import { postalyticsGetIntegrations } from "./get-integrations.mjs";
|
|
18
|
+
import { postalyticsGetMyAccount } from "./get-my-account.mjs";
|
|
19
|
+
import { postalyticsGetSuppressionList } from "./get-suppression-list.mjs";
|
|
20
|
+
import { postalyticsGetSuppressionListContact } from "./get-suppression-list-contact.mjs";
|
|
21
|
+
import { postalyticsGetSuppressionListContacts } from "./get-suppression-list-contacts.mjs";
|
|
22
|
+
import { postalyticsGetSuppressionLists } from "./get-suppression-lists.mjs";
|
|
23
|
+
import { postalyticsUpdateAccount } from "./update-account.mjs";
|
|
24
|
+
import { postalyticsUpdateSuppressionListContact } from "./update-suppression-list-contact.mjs";
|
|
25
|
+
export { postalyticsAddAccount, postalyticsAddContact, postalyticsCreateNewCampaign, postalyticsCreateSuppressionList, postalyticsCreateSuppressionListContact, postalyticsCreateTemplate, postalyticsCreateWebhook, postalyticsDeleteAccount, postalyticsDeleteCampaign, postalyticsDeleteSuppressionList, postalyticsDeleteSuppressionListContact, postalyticsGetAllContactLists, postalyticsGetAllContactsOnAList, postalyticsGetAllDripCampaigns, postalyticsGetAllFlows, postalyticsGetAllWebhooks, postalyticsGetIntegrations, postalyticsGetMyAccount, postalyticsGetSuppressionList, postalyticsGetSuppressionListContact, postalyticsGetSuppressionListContacts, postalyticsGetSuppressionLists, postalyticsUpdateAccount, postalyticsUpdateSuppressionListContact };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/update-account.ts
|
|
4
|
+
const PostalyticsUpdateAccountInput = zod.z.object({
|
|
5
|
+
phone: zod.z.string().describe("The phone number associated with the account").optional(),
|
|
6
|
+
company: zod.z.string().describe("The company name associated with the account").optional(),
|
|
7
|
+
password: zod.z.string().describe("The password associated with the account. Must follow password guidelines - minimum 8 characters including 1 uppercase letter, 1 lowercase letter, 1 number, and 1 special character"),
|
|
8
|
+
username: zod.z.string().describe("The username associated with the account - must be unique"),
|
|
9
|
+
last_name: zod.z.string().describe("The last name of the account holder"),
|
|
10
|
+
account_id: zod.z.number().int().describe("The unique identifier of the account to update"),
|
|
11
|
+
first_name: zod.z.string().describe("The first name of the account holder"),
|
|
12
|
+
address_zip: zod.z.string().describe("The zip code associated with the account's address").optional(),
|
|
13
|
+
address_city: zod.z.string().describe("The city associated with the account's address").optional(),
|
|
14
|
+
address_state: zod.z.string().describe("The state associated with the account's address").optional(),
|
|
15
|
+
email_address: zod.z.string().describe("The email address associated with the account").optional(),
|
|
16
|
+
address_street: zod.z.string().describe("The street address associated with the account").optional()
|
|
17
|
+
}).describe("Request model for updating an existing account.");
|
|
18
|
+
const PostalyticsUpdateAccountOutput = zod.z.object({
|
|
19
|
+
account_id: zod.z.number().int().describe("The unique account identifier").nullable().optional(),
|
|
20
|
+
updated_date: zod.z.string().describe("The date and time when the account was last updated").nullable().optional()
|
|
21
|
+
}).describe("Response model for updating an existing account.");
|
|
22
|
+
const postalyticsUpdateAccount = require_action.action("POSTALYTICS_UPDATE_ACCOUNT", {
|
|
23
|
+
slug: "postalytics-update-account",
|
|
24
|
+
name: "Update Account",
|
|
25
|
+
description: "Tool to update an existing account in the Postalytics system. Use when you need to modify account information such as contact details, address, or credentials for an existing account.",
|
|
26
|
+
input: PostalyticsUpdateAccountInput,
|
|
27
|
+
output: PostalyticsUpdateAccountOutput
|
|
28
|
+
});
|
|
29
|
+
//#endregion
|
|
30
|
+
exports.postalyticsUpdateAccount = postalyticsUpdateAccount;
|
|
31
|
+
|
|
32
|
+
//# sourceMappingURL=update-account.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-account.cjs","names":["z","action"],"sources":["../../src/actions/update-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostalyticsUpdateAccountInput: z.ZodTypeAny = z.object({\n phone: z.string().describe(\"The phone number associated with the account\").optional(),\n company: z.string().describe(\"The company name associated with the account\").optional(),\n password: z.string().describe(\"The password associated with the account. Must follow password guidelines - minimum 8 characters including 1 uppercase letter, 1 lowercase letter, 1 number, and 1 special character\"),\n username: z.string().describe(\"The username associated with the account - must be unique\"),\n last_name: z.string().describe(\"The last name of the account holder\"),\n account_id: z.number().int().describe(\"The unique identifier of the account to update\"),\n first_name: z.string().describe(\"The first name of the account holder\"),\n address_zip: z.string().describe(\"The zip code associated with the account's address\").optional(),\n address_city: z.string().describe(\"The city associated with the account's address\").optional(),\n address_state: z.string().describe(\"The state associated with the account's address\").optional(),\n email_address: z.string().describe(\"The email address associated with the account\").optional(),\n address_street: z.string().describe(\"The street address associated with the account\").optional(),\n}).describe(\"Request model for updating an existing account.\");\nexport const PostalyticsUpdateAccountOutput: z.ZodTypeAny = z.object({\n account_id: z.number().int().describe(\"The unique account identifier\").nullable().optional(),\n updated_date: z.string().describe(\"The date and time when the account was last updated\").nullable().optional(),\n}).describe(\"Response model for updating an existing account.\");\n\nexport const postalyticsUpdateAccount = action(\"POSTALYTICS_UPDATE_ACCOUNT\", {\n slug: \"postalytics-update-account\",\n name: \"Update Account\",\n description: \"Tool to update an existing account in the Postalytics system. Use when you need to modify account information such as contact details, address, or credentials for an existing account.\",\n input: Postal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C,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,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/update-account.d.ts
|
|
4
|
+
declare const PostalyticsUpdateAccountInput: z.ZodTypeAny;
|
|
5
|
+
declare const PostalyticsUpdateAccountOutput: z.ZodTypeAny;
|
|
6
|
+
declare const postalyticsUpdateAccount: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { postalyticsUpdateAccount };
|
|
9
|
+
//# sourceMappingURL=update-account.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-account.d.cts","names":[],"sources":["../../src/actions/update-account.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAagB;AAAA,cACjD,8BAAA,EAAgC,CAAA,CAAE,UAGgB;AAAA,cAElD,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-account.d.ts
|
|
4
|
+
declare const PostalyticsUpdateAccountInput: z.ZodTypeAny;
|
|
5
|
+
declare const PostalyticsUpdateAccountOutput: z.ZodTypeAny;
|
|
6
|
+
declare const postalyticsUpdateAccount: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { postalyticsUpdateAccount };
|
|
9
|
+
//# sourceMappingURL=update-account.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-account.d.mts","names":[],"sources":["../../src/actions/update-account.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAagB;AAAA,cACjD,8BAAA,EAAgC,CAAA,CAAE,UAGgB;AAAA,cAElD,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const postalyticsUpdateAccount = action("POSTALYTICS_UPDATE_ACCOUNT", {
|
|
4
|
+
slug: "postalytics-update-account",
|
|
5
|
+
name: "Update Account",
|
|
6
|
+
description: "Tool to update an existing account in the Postalytics system. Use when you need to modify account information such as contact details, address, or credentials for an existing account.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
phone: z.string().describe("The phone number associated with the account").optional(),
|
|
9
|
+
company: z.string().describe("The company name associated with the account").optional(),
|
|
10
|
+
password: z.string().describe("The password associated with the account. Must follow password guidelines - minimum 8 characters including 1 uppercase letter, 1 lowercase letter, 1 number, and 1 special character"),
|
|
11
|
+
username: z.string().describe("The username associated with the account - must be unique"),
|
|
12
|
+
last_name: z.string().describe("The last name of the account holder"),
|
|
13
|
+
account_id: z.number().int().describe("The unique identifier of the account to update"),
|
|
14
|
+
first_name: z.string().describe("The first name of the account holder"),
|
|
15
|
+
address_zip: z.string().describe("The zip code associated with the account's address").optional(),
|
|
16
|
+
address_city: z.string().describe("The city associated with the account's address").optional(),
|
|
17
|
+
address_state: z.string().describe("The state associated with the account's address").optional(),
|
|
18
|
+
email_address: z.string().describe("The email address associated with the account").optional(),
|
|
19
|
+
address_street: z.string().describe("The street address associated with the account").optional()
|
|
20
|
+
}).describe("Request model for updating an existing account."),
|
|
21
|
+
output: z.object({
|
|
22
|
+
account_id: z.number().int().describe("The unique account identifier").nullable().optional(),
|
|
23
|
+
updated_date: z.string().describe("The date and time when the account was last updated").nullable().optional()
|
|
24
|
+
}).describe("Response model for updating an existing account.")
|
|
25
|
+
});
|
|
26
|
+
//#endregion
|
|
27
|
+
export { postalyticsUpdateAccount };
|
|
28
|
+
|
|
29
|
+
//# sourceMappingURL=update-account.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-account.mjs","names":[],"sources":["../../src/actions/update-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostalyticsUpdateAccountInput: z.ZodTypeAny = z.object({\n phone: z.string().describe(\"The phone number associated with the account\").optional(),\n company: z.string().describe(\"The company name associated with the account\").optional(),\n password: z.string().describe(\"The password associated with the account. Must follow password guidelines - minimum 8 characters including 1 uppercase letter, 1 lowercase letter, 1 number, and 1 special character\"),\n username: z.string().describe(\"The username associated with the account - must be unique\"),\n last_name: z.string().describe(\"The last name of the account holder\"),\n account_id: z.number().int().describe(\"The unique identifier of the account to update\"),\n first_name: z.string().describe(\"The first name of the account holder\"),\n address_zip: z.string().describe(\"The zip code associated with the account's address\").optional(),\n address_city: z.string().describe(\"The city associated with the account's address\").optional(),\n address_state: z.string().describe(\"The state associated with the account's address\").optional(),\n email_address: z.string().describe(\"The email address associated with the account\").optional(),\n address_street: z.string().describe(\"The street address associated with the account\").optional(),\n}).describe(\"Request model for updating an existing account.\");\nexport const PostalyticsUpdateAccountOutput: z.ZodTypeAny = z.object({\n account_id: z.number().int().describe(\"The unique account identifier\").nullable().optional(),\n updated_date: z.string().describe(\"The date and time when the account was last updated\").nullable().optional(),\n}).describe(\"Response model for updating an existing account.\");\n\nexport const postalyticsUpdateAccount = action(\"POSTALYTICS_UPDATE_ACCOUNT\", {\n slug: \"postalytics-update-account\",\n name: \"Update Account\",\n description: \"Tool to update an existing account in the Postalytics system. Use when you need to modify account information such as contact details, address, or credentials for an existing account.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