@keystrokehq/sender 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.
Files changed (98) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/create-field.cjs +38 -0
  7. package/dist/actions/create-field.cjs.map +1 -0
  8. package/dist/actions/create-field.d.cts +9 -0
  9. package/dist/actions/create-field.d.cts.map +1 -0
  10. package/dist/actions/create-field.d.mts +9 -0
  11. package/dist/actions/create-field.d.mts.map +1 -0
  12. package/dist/actions/create-field.mjs +37 -0
  13. package/dist/actions/create-field.mjs.map +1 -0
  14. package/dist/actions/create-or-update-subscriber.cjs +43 -0
  15. package/dist/actions/create-or-update-subscriber.cjs.map +1 -0
  16. package/dist/actions/create-or-update-subscriber.d.cts +9 -0
  17. package/dist/actions/create-or-update-subscriber.d.cts.map +1 -0
  18. package/dist/actions/create-or-update-subscriber.d.mts +9 -0
  19. package/dist/actions/create-or-update-subscriber.d.mts.map +1 -0
  20. package/dist/actions/create-or-update-subscriber.mjs +42 -0
  21. package/dist/actions/create-or-update-subscriber.mjs.map +1 -0
  22. package/dist/actions/get-all-fields.cjs +28 -0
  23. package/dist/actions/get-all-fields.cjs.map +1 -0
  24. package/dist/actions/get-all-fields.d.cts +9 -0
  25. package/dist/actions/get-all-fields.d.cts.map +1 -0
  26. package/dist/actions/get-all-fields.d.mts +9 -0
  27. package/dist/actions/get-all-fields.d.mts.map +1 -0
  28. package/dist/actions/get-all-fields.mjs +27 -0
  29. package/dist/actions/get-all-fields.mjs.map +1 -0
  30. package/dist/actions/get-all-workflows.cjs +23 -0
  31. package/dist/actions/get-all-workflows.cjs.map +1 -0
  32. package/dist/actions/get-all-workflows.d.cts +9 -0
  33. package/dist/actions/get-all-workflows.d.cts.map +1 -0
  34. package/dist/actions/get-all-workflows.d.mts +9 -0
  35. package/dist/actions/get-all-workflows.d.mts.map +1 -0
  36. package/dist/actions/get-all-workflows.mjs +22 -0
  37. package/dist/actions/get-all-workflows.mjs.map +1 -0
  38. package/dist/actions/get-campaign-by-id.cjs +33 -0
  39. package/dist/actions/get-campaign-by-id.cjs.map +1 -0
  40. package/dist/actions/get-campaign-by-id.d.cts +9 -0
  41. package/dist/actions/get-campaign-by-id.d.cts.map +1 -0
  42. package/dist/actions/get-campaign-by-id.d.mts +9 -0
  43. package/dist/actions/get-campaign-by-id.d.mts.map +1 -0
  44. package/dist/actions/get-campaign-by-id.mjs +30 -0
  45. package/dist/actions/get-campaign-by-id.mjs.map +1 -0
  46. package/dist/actions/get-group-by-id.cjs +26 -0
  47. package/dist/actions/get-group-by-id.cjs.map +1 -0
  48. package/dist/actions/get-group-by-id.d.cts +9 -0
  49. package/dist/actions/get-group-by-id.d.cts.map +1 -0
  50. package/dist/actions/get-group-by-id.d.mts +9 -0
  51. package/dist/actions/get-group-by-id.d.mts.map +1 -0
  52. package/dist/actions/get-group-by-id.mjs +23 -0
  53. package/dist/actions/get-group-by-id.mjs.map +1 -0
  54. package/dist/actions/get-subscriber-by-id.cjs +26 -0
  55. package/dist/actions/get-subscriber-by-id.cjs.map +1 -0
  56. package/dist/actions/get-subscriber-by-id.d.cts +9 -0
  57. package/dist/actions/get-subscriber-by-id.d.cts.map +1 -0
  58. package/dist/actions/get-subscriber-by-id.d.mts +9 -0
  59. package/dist/actions/get-subscriber-by-id.d.mts.map +1 -0
  60. package/dist/actions/get-subscriber-by-id.mjs +23 -0
  61. package/dist/actions/get-subscriber-by-id.mjs.map +1 -0
  62. package/dist/actions/index.cjs +17 -0
  63. package/dist/actions/index.d.cts +9 -0
  64. package/dist/actions/index.d.mts +9 -0
  65. package/dist/actions/index.mjs +9 -0
  66. package/dist/actions/update-subscriber-fields.cjs +39 -0
  67. package/dist/actions/update-subscriber-fields.cjs.map +1 -0
  68. package/dist/actions/update-subscriber-fields.d.cts +9 -0
  69. package/dist/actions/update-subscriber-fields.d.cts.map +1 -0
  70. package/dist/actions/update-subscriber-fields.d.mts +9 -0
  71. package/dist/actions/update-subscriber-fields.d.mts.map +1 -0
  72. package/dist/actions/update-subscriber-fields.mjs +38 -0
  73. package/dist/actions/update-subscriber-fields.mjs.map +1 -0
  74. package/dist/app.cjs +9 -0
  75. package/dist/app.cjs.map +1 -0
  76. package/dist/app.d.cts +5 -0
  77. package/dist/app.d.cts.map +1 -0
  78. package/dist/app.d.mts +5 -0
  79. package/dist/app.d.mts.map +1 -0
  80. package/dist/app.mjs +10 -0
  81. package/dist/app.mjs.map +1 -0
  82. package/dist/catalog.cjs +15 -0
  83. package/dist/catalog.cjs.map +1 -0
  84. package/dist/catalog.d.cts +14 -0
  85. package/dist/catalog.d.cts.map +1 -0
  86. package/dist/catalog.d.mts +14 -0
  87. package/dist/catalog.d.mts.map +1 -0
  88. package/dist/catalog.mjs +15 -0
  89. package/dist/catalog.mjs.map +1 -0
  90. package/dist/execute.cjs +18 -0
  91. package/dist/execute.cjs.map +1 -0
  92. package/dist/execute.mjs +18 -0
  93. package/dist/execute.mjs.map +1 -0
  94. package/dist/index.cjs +22 -0
  95. package/dist/index.d.cts +11 -0
  96. package/dist/index.d.mts +11 -0
  97. package/dist/index.mjs +12 -0
  98. package/package.json +49 -0
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-campaign-by-id.d.ts
4
+ declare const SenderGetCampaignByIdInput: z.ZodTypeAny;
5
+ declare const SenderGetCampaignByIdOutput: z.ZodTypeAny;
6
+ declare const senderGetCampaignById: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { senderGetCampaignById };
9
+ //# sourceMappingURL=get-campaign-by-id.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-campaign-by-id.d.cts","names":[],"sources":["../../src/actions/get-campaign-by-id.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAE2B;AAAA,cACzD,2BAAA,EAA6B,CAAA,CAAE,UAiBuB;AAAA,cAEtD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-campaign-by-id.d.ts
4
+ declare const SenderGetCampaignByIdInput: z.ZodTypeAny;
5
+ declare const SenderGetCampaignByIdOutput: z.ZodTypeAny;
6
+ declare const senderGetCampaignById: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { senderGetCampaignById };
9
+ //# sourceMappingURL=get-campaign-by-id.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-campaign-by-id.d.mts","names":[],"sources":["../../src/actions/get-campaign-by-id.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAE2B;AAAA,cACzD,2BAAA,EAA6B,CAAA,CAAE,UAiBuB;AAAA,cAEtD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,30 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const senderGetCampaignById = action("SENDER_GET_CAMPAIGN_BY_ID", {
4
+ slug: "sender-get-campaign-by-id",
5
+ name: "Get Campaign By ID",
6
+ description: "Tool to retrieve a specific campaign by its unique ID from Sender. Use when you need detailed information about a campaign including delivery metrics and engagement statistics.",
7
+ input: z.object({ campaign_id: z.string().describe("The unique identifier of the campaign to retrieve. Example: '1'") }).describe("Request model for retrieving a specific campaign by ID."),
8
+ output: z.object({
9
+ opened: z.number().int().describe("Total number of opens.").nullable().optional(),
10
+ status: z.string().describe("Campaign status (draft, scheduled, sent, etc.).").nullable().optional(),
11
+ clicked: z.number().int().describe("Total number of clicks.").nullable().optional(),
12
+ sent_at: z.string().describe("Timestamp when campaign was sent.").nullable().optional(),
13
+ subject: z.string().describe("Email subject line.").nullable().optional(),
14
+ created_at: z.string().describe("Timestamp when campaign was created.").nullable().optional(),
15
+ campaign_id: z.string().describe("Unique identifier for the campaign.").nullable().optional(),
16
+ hard_bounced: z.number().int().describe("Number of permanent delivery failures.").nullable().optional(),
17
+ soft_bounced: z.number().int().describe("Number of temporary delivery failures.").nullable().optional(),
18
+ unique_opens: z.number().int().describe("Number of unique recipients who opened.").nullable().optional(),
19
+ unsubscribed: z.number().int().describe("Number of unsubscribe events.").nullable().optional(),
20
+ campaign_name: z.string().describe("Name of the campaign.").nullable().optional(),
21
+ unique_clicks: z.number().int().describe("Number of unique recipients who clicked.").nullable().optional(),
22
+ spam_complaints: z.number().int().describe("Number of spam reports.").nullable().optional(),
23
+ total_emails_sent: z.number().int().describe("Total number of emails sent.").nullable().optional(),
24
+ total_emails_delivered: z.number().int().describe("Number of successfully delivered emails.").nullable().optional()
25
+ }).describe("Response model for a campaign retrieved from Sender.")
26
+ });
27
+ //#endregion
28
+ export { senderGetCampaignById };
29
+
30
+ //# sourceMappingURL=get-campaign-by-id.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-campaign-by-id.mjs","names":[],"sources":["../../src/actions/get-campaign-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SenderGetCampaignByIdInput: z.ZodTypeAny = z.object({\n campaign_id: z.string().describe(\"The unique identifier of the campaign to retrieve. Example: '1'\"),\n}).describe(\"Request model for retrieving a specific campaign by ID.\");\nexport const SenderGetCampaignByIdOutput: z.ZodTypeAny = z.object({\n opened: z.number().int().describe(\"Total number of opens.\").nullable().optional(),\n status: z.string().describe(\"Campaign status (draft, scheduled, sent, etc.).\").nullable().optional(),\n clicked: z.number().int().describe(\"Total number of clicks.\").nullable().optional(),\n sent_at: z.string().describe(\"Timestamp when campaign was sent.\").nullable().optional(),\n subject: z.string().describe(\"Email subject line.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when campaign was created.\").nullable().optional(),\n campaign_id: z.string().describe(\"Unique identifier for the campaign.\").nullable().optional(),\n hard_bounced: z.number().int().describe(\"Number of permanent delivery failures.\").nullable().optional(),\n soft_bounced: z.number().int().describe(\"Number of temporary delivery failures.\").nullable().optional(),\n unique_opens: z.number().int().describe(\"Number of unique recipients who opened.\").nullable().optional(),\n unsubscribed: z.number().int().describe(\"Number of unsubscribe events.\").nullable().optional(),\n campaign_name: z.string().describe(\"Name of the campaign.\").nullable().optional(),\n unique_clicks: z.number().int().describe(\"Number of unique recipients who clicked.\").nullable().optional(),\n spam_complaints: z.number().int().describe(\"Number of spam reports.\").nullable().optional(),\n total_emails_sent: z.number().int().describe(\"Total number of emails sent.\").nullable().optional(),\n total_emails_delivered: z.number().int().describe(\"Number of successfully delivered emails.\").nullable().optional(),\n}).describe(\"Response model for a campaign retrieved from Sender.\");\n\nexport const senderGetCampaignById = action(\"SENDER_GET_CAMPAIGN_BY_ID\", {\n slug: \"sender-get-campaign-by-id\",\n name: \"Get Campaign By ID\",\n description: \"Tool to retrieve a specific campaign by its unique ID from Sender. Use when you need detailed information about a campaign including delivery metrics and engagement statistics.\",\n input: SenderGetCampaignByIdInput,\n output: SenderGetCampaignByIdOutput,\n});\n"],"mappings":";;AA0BA,MAAa,wBAAwB,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA1BsD,EAAE,OAAO,EAC/D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,EACpG,CAAC,CAAC,CAAC,SAAS,yDAwBH;CACP,QAxBuD,EAAE,OAAO;EAChE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;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AC,SAAS,CAAC,CAAC,SAAS;EAC1F,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
@@ -0,0 +1,26 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-group-by-id.ts
4
+ const SenderGetGroupByIdInput = zod.z.object({ group_id: zod.z.string().describe("The unique identifier of the group to retrieve. Example: 'dBEVzJ'") }).describe("Request model for retrieving a specific subscriber group by ID.");
5
+ const SenderGetGroupByIdOutput = zod.z.object({
6
+ id: zod.z.string().describe("Unique identifier for the group.").nullable().optional(),
7
+ name: zod.z.string().describe("Name of the group.").nullable().optional(),
8
+ total: zod.z.number().int().describe("Total number of subscribers in the group.").nullable().optional(),
9
+ active: zod.z.number().int().describe("Number of active subscribers in the group.").nullable().optional(),
10
+ bounced: zod.z.number().int().describe("Number of bounced subscribers in the group.").nullable().optional(),
11
+ created_at: zod.z.string().describe("Timestamp when the group was created.").nullable().optional(),
12
+ updated_at: zod.z.string().describe("Timestamp when the group was last updated.").nullable().optional(),
13
+ unconfirmed: zod.z.number().int().describe("Number of unconfirmed subscribers in the group.").nullable().optional(),
14
+ unsubscribed: zod.z.number().int().describe("Number of unsubscribed subscribers in the group.").nullable().optional()
15
+ }).describe("Response model for a subscriber group retrieved from Sender.");
16
+ const senderGetGroupById = require_action.action("SENDER_GET_GROUP_BY_ID", {
17
+ slug: "sender-get-group-by-id",
18
+ name: "Get Group By ID",
19
+ description: "Tool to retrieve a specific subscriber group by its unique ID from Sender. Use when you need detailed information about a single group including subscriber counts.",
20
+ input: SenderGetGroupByIdInput,
21
+ output: SenderGetGroupByIdOutput
22
+ });
23
+ //#endregion
24
+ exports.senderGetGroupById = senderGetGroupById;
25
+
26
+ //# sourceMappingURL=get-group-by-id.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-group-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-group-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SenderGetGroupByIdInput: z.ZodTypeAny = z.object({\n group_id: z.string().describe(\"The unique identifier of the group to retrieve. Example: 'dBEVzJ'\"),\n}).describe(\"Request model for retrieving a specific subscriber group by ID.\");\nexport const SenderGetGroupByIdOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the group.\").nullable().optional(),\n name: z.string().describe(\"Name of the group.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of subscribers in the group.\").nullable().optional(),\n active: z.number().int().describe(\"Number of active subscribers in the group.\").nullable().optional(),\n bounced: z.number().int().describe(\"Number of bounced subscribers in the group.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the group was created.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the group was last updated.\").nullable().optional(),\n unconfirmed: z.number().int().describe(\"Number of unconfirmed subscribers in the group.\").nullable().optional(),\n unsubscribed: z.number().int().describe(\"Number of unsubscribed subscribers in the group.\").nullable().optional(),\n}).describe(\"Response model for a subscriber group retrieved from Sender.\");\n\nexport const senderGetGroupById = action(\"SENDER_GET_GROUP_BY_ID\", {\n slug: \"sender-get-group-by-id\",\n name: \"Get Group By ID\",\n description: \"Tool to retrieve a specific subscriber group by its unique ID from Sender. Use when you need detailed information about a single group including subscriber counts.\",\n input: SenderGetGroupByIdInput,\n output: SenderGetGroupByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,EAC5D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,EACnG,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,2BAAyCA,IAAA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are const SenderGetGroupByIdOutput: z.ZodTypeAny;
6
+ declare const senderGetGroupById: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { senderGetGroupById };
9
+ //# sourceMappingURL=get-group-by-id.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-group-by-id.d.cts","names":[],"sources":["../../src/actions/get-group-by-id.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAEsC;AAAA,cACjE,wBAAA,EAA0B,CAAA,CAAE,UAUkC;AAAA,cAE9D,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-group-by-id.d.ts
4
+ declare const SenderGetGroupByIdInput: z.ZodTypeAny;
5
+ declare const SenderGetGroupByIdOutput: z.ZodTypeAny;
6
+ declare const senderGetGroupById: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { senderGetGroupById };
9
+ //# sourceMappingURL=get-group-by-id.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-group-by-id.d.mts","names":[],"sources":["../../src/actions/get-group-by-id.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAEsC;AAAA,cACjE,wBAAA,EAA0B,CAAA,CAAE,UAUkC;AAAA,cAE9D,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,23 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const senderGetGroupById = action("SENDER_GET_GROUP_BY_ID", {
4
+ slug: "sender-get-group-by-id",
5
+ name: "Get Group By ID",
6
+ description: "Tool to retrieve a specific subscriber group by its unique ID from Sender. Use when you need detailed information about a single group including subscriber counts.",
7
+ input: z.object({ group_id: z.string().describe("The unique identifier of the group to retrieve. Example: 'dBEVzJ'") }).describe("Request model for retrieving a specific subscriber group by ID."),
8
+ output: z.object({
9
+ id: z.string().describe("Unique identifier for the group.").nullable().optional(),
10
+ name: z.string().describe("Name of the group.").nullable().optional(),
11
+ total: z.number().int().describe("Total number of subscribers in the group.").nullable().optional(),
12
+ active: z.number().int().describe("Number of active subscribers in the group.").nullable().optional(),
13
+ bounced: z.number().int().describe("Number of bounced subscribers in the group.").nullable().optional(),
14
+ created_at: z.string().describe("Timestamp when the group was created.").nullable().optional(),
15
+ updated_at: z.string().describe("Timestamp when the group was last updated.").nullable().optional(),
16
+ unconfirmed: z.number().int().describe("Number of unconfirmed subscribers in the group.").nullable().optional(),
17
+ unsubscribed: z.number().int().describe("Number of unsubscribed subscribers in the group.").nullable().optional()
18
+ }).describe("Response model for a subscriber group retrieved from Sender.")
19
+ });
20
+ //#endregion
21
+ export { senderGetGroupById };
22
+
23
+ //# sourceMappingURL=get-group-by-id.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-group-by-id.mjs","names":[],"sources":["../../src/actions/get-group-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SenderGetGroupByIdInput: z.ZodTypeAny = z.object({\n group_id: z.string().describe(\"The unique identifier of the group to retrieve. Example: 'dBEVzJ'\"),\n}).describe(\"Request model for retrieving a specific subscriber group by ID.\");\nexport const SenderGetGroupByIdOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the group.\").nullable().optional(),\n name: z.string().describe(\"Name of the group.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of subscribers in the group.\").nullable().optional(),\n active: z.number().int().describe(\"Number of active subscribers in the group.\").nullable().optional(),\n bounced: z.number().int().describe(\"Number of bounced subscribers in the group.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the group was created.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the group was last updated.\").nullable().optional(),\n unconfirmed: z.number().int().describe(\"Number of unconfirmed subscribers in the group.\").nullable().optional(),\n unsubscribed: z.number().int().describe(\"Number of unsubscribed subscribers in the group.\").nullable().optional(),\n}).describe(\"Response model for a subscriber group retrieved from Sender.\");\n\nexport const senderGetGroupById = action(\"SENDER_GET_GROUP_BY_ID\", {\n slug: \"sender-get-group-by-id\",\n name: \"Get Group By ID\",\n description: \"Tool to retrieve a specific subscriber group by its unique ID from Sender. Use when you need detailed information about a single group including subscriber counts.\",\n input: SenderGetGroupByIdInput,\n output: SenderGetGroupByIdOutput,\n});\n"],"mappings":";;AAmBA,MAAa,qBAAqB,OAAO,0BAA0B;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBmD,EAAE,OAAO,EAC5D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,EACnG,CAAC,CAAC,CAAC,SAAS,iEAiBH;CACP,QAjBoD,EAAE,OAAO;EAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,CAAC,CAAC,CAAC,SAAS,8DAOF;AACV,CAAC"}
@@ -0,0 +1,26 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-subscriber-by-id.ts
4
+ const SenderGetSubscriberByIdInput = zod.z.object({ subscriber_id: zod.z.string().describe("The unique identifier of the subscriber to retrieve. Example: 'MJABNBP'") }).describe("Request model for retrieving a subscriber by their unique ID.");
5
+ const SenderGetSubscriberByIdOutput = zod.z.object({
6
+ id: zod.z.string().describe("Unique subscriber identifier").nullable().optional(),
7
+ email: zod.z.string().describe("Subscriber email address").nullable().optional(),
8
+ fields: zod.z.object({}).describe("Custom field values").nullable().optional(),
9
+ groups: zod.z.array(zod.z.string()).describe("Array of group IDs the subscriber belongs to").nullable().optional(),
10
+ status: zod.z.string().describe("Subscriber status (active, unsubscribed, bounced)").nullable().optional(),
11
+ created: zod.z.string().describe("ISO 8601 timestamp of creation").nullable().optional(),
12
+ updated: zod.z.string().describe("ISO 8601 timestamp of last update").nullable().optional(),
13
+ lastname: zod.z.string().describe("Subscriber last name").nullable().optional(),
14
+ firstname: zod.z.string().describe("Subscriber first name").nullable().optional()
15
+ }).describe("Response model for a subscriber retrieved from Sender.");
16
+ const senderGetSubscriberById = require_action.action("SENDER_GET_SUBSCRIBER_BY_ID", {
17
+ slug: "sender-get-subscriber-by-id",
18
+ name: "Get Subscriber By ID",
19
+ description: "Tool to retrieve a specific subscriber by their unique ID from Sender. Use when you need to fetch detailed information about a single subscriber including their status, groups, and custom fields.",
20
+ input: SenderGetSubscriberByIdInput,
21
+ output: SenderGetSubscriberByIdOutput
22
+ });
23
+ //#endregion
24
+ exports.senderGetSubscriberById = senderGetSubscriberById;
25
+
26
+ //# sourceMappingURL=get-subscriber-by-id.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-subscriber-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-subscriber-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SenderGetSubscriberByIdInput: z.ZodTypeAny = z.object({\n subscriber_id: z.string().describe(\"The unique identifier of the subscriber to retrieve. Example: 'MJABNBP'\"),\n}).describe(\"Request model for retrieving a subscriber by their unique ID.\");\nexport const SenderGetSubscriberByIdOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique subscriber identifier\").nullable().optional(),\n email: z.string().describe(\"Subscriber email address\").nullable().optional(),\n fields: z.object({}).describe(\"Custom field values\").nullable().optional(),\n groups: z.array(z.string()).describe(\"Array of group IDs the subscriber belongs to\").nullable().optional(),\n status: z.string().describe(\"Subscriber status (active, unsubscribed, bounced)\").nullable().optional(),\n created: z.string().describe(\"ISO 8601 timestamp of creation\").nullable().optional(),\n updated: z.string().describe(\"ISO 8601 timestamp of last update\").nullable().optional(),\n lastname: z.string().describe(\"Subscriber last name\").nullable().optional(),\n firstname: z.string().describe(\"Subscriber first name\").nullable().optional(),\n}).describe(\"Response model for a subscriber retrieved from Sender.\");\n\nexport const senderGetSubscriberById = action(\"SENDER_GET_SUBSCRIBER_BY_ID\", {\n slug: \"sender-get-subscriber-by-id\",\n name: \"Get Subscriber By ID\",\n description: \"Tool to retrieve a specific subscriber by their unique ID from Sender. Use when you need to fetch detailed information about a single subscriber including their status, groups, and custom fields.\",\n input: SenderGetSubscriberByIdInput,\n output: SenderGetSubscriberByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAA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z } from "zod";
2
+
3
+ //#region src/actions/get-subscriber-by-id.d.ts
4
+ declare const SenderGetSubscriberByIdInput: z.ZodTypeAny;
5
+ declare const SenderGetSubscriberByIdOutput: z.ZodTypeAny;
6
+ declare const senderGetSubscriberById: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { senderGetSubscriberById };
9
+ //# sourceMappingURL=get-subscriber-by-id.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-subscriber-by-id.d.cts","names":[],"sources":["../../src/actions/get-subscriber-by-id.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAE+B;AAAA,cAC/D,6BAAA,EAA+B,CAAA,CAAE,UAUuB;AAAA,cAExD,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-subscriber-by-id.d.ts
4
+ declare const SenderGetSubscriberByIdInput: z.ZodTypeAny;
5
+ declare const SenderGetSubscriberByIdOutput: z.ZodTypeAny;
6
+ declare const senderGetSubscriberById: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { senderGetSubscriberById };
9
+ //# sourceMappingURL=get-subscriber-by-id.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-subscriber-by-id.d.mts","names":[],"sources":["../../src/actions/get-subscriber-by-id.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAE+B;AAAA,cAC/D,6BAAA,EAA+B,CAAA,CAAE,UAUuB;AAAA,cAExD,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,23 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const senderGetSubscriberById = action("SENDER_GET_SUBSCRIBER_BY_ID", {
4
+ slug: "sender-get-subscriber-by-id",
5
+ name: "Get Subscriber By ID",
6
+ description: "Tool to retrieve a specific subscriber by their unique ID from Sender. Use when you need to fetch detailed information about a single subscriber including their status, groups, and custom fields.",
7
+ input: z.object({ subscriber_id: z.string().describe("The unique identifier of the subscriber to retrieve. Example: 'MJABNBP'") }).describe("Request model for retrieving a subscriber by their unique ID."),
8
+ output: z.object({
9
+ id: z.string().describe("Unique subscriber identifier").nullable().optional(),
10
+ email: z.string().describe("Subscriber email address").nullable().optional(),
11
+ fields: z.object({}).describe("Custom field values").nullable().optional(),
12
+ groups: z.array(z.string()).describe("Array of group IDs the subscriber belongs to").nullable().optional(),
13
+ status: z.string().describe("Subscriber status (active, unsubscribed, bounced)").nullable().optional(),
14
+ created: z.string().describe("ISO 8601 timestamp of creation").nullable().optional(),
15
+ updated: z.string().describe("ISO 8601 timestamp of last update").nullable().optional(),
16
+ lastname: z.string().describe("Subscriber last name").nullable().optional(),
17
+ firstname: z.string().describe("Subscriber first name").nullable().optional()
18
+ }).describe("Response model for a subscriber retrieved from Sender.")
19
+ });
20
+ //#endregion
21
+ export { senderGetSubscriberById };
22
+
23
+ //# sourceMappingURL=get-subscriber-by-id.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-subscriber-by-id.mjs","names":[],"sources":["../../src/actions/get-subscriber-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SenderGetSubscriberByIdInput: z.ZodTypeAny = z.object({\n subscriber_id: z.string().describe(\"The unique identifier of the subscriber to retrieve. Example: 'MJABNBP'\"),\n}).describe(\"Request model for retrieving a subscriber by their unique ID.\");\nexport const SenderGetSubscriberByIdOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique subscriber identifier\").nullable().optional(),\n email: z.string().describe(\"Subscriber email address\").nullable().optional(),\n fields: z.object({}).describe(\"Custom field values\").nullable().optional(),\n groups: z.array(z.string()).describe(\"Array of group IDs the subscriber belongs to\").nullable().optional(),\n status: z.string().describe(\"Subscriber status (active, unsubscribed, bounced)\").nullable().optional(),\n created: z.string().describe(\"ISO 8601 timestamp of creation\").nullable().optional(),\n updated: z.string().describe(\"ISO 8601 timestamp of last update\").nullable().optional(),\n lastname: z.string().describe(\"Subscriber last name\").nullable().optional(),\n firstname: z.string().describe(\"Subscriber first name\").nullable().optional(),\n}).describe(\"Response model for a subscriber retrieved from Sender.\");\n\nexport const senderGetSubscriberById = action(\"SENDER_GET_SUBSCRIBER_BY_ID\", {\n slug: \"sender-get-subscriber-by-id\",\n name: \"Get Subscriber By ID\",\n description: \"Tool to retrieve a specific subscriber by their unique ID from Sender. Use when you need to fetch detailed information about a single subscriber including their status, groups, and custom fields.\",\n input: SenderGetSubscriberByIdInput,\n output: SenderGetSubscriberByIdOutput,\n});\n"],"mappings":";;AAmBA,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBwD,EAAE,OAAO,EACjE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,EAC9G,CAAC,CAAC,CAAC,SAAS,+DAiBH;CACP,QAjByD,EAAE,OAAO;EAClE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,CAAC,CAAC,CAAC,SAAS,wDAOF;AACV,CAAC"}
@@ -0,0 +1,17 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_create_field = require("./create-field.cjs");
3
+ const require_create_or_update_subscriber = require("./create-or-update-subscriber.cjs");
4
+ const require_get_all_fields = require("./get-all-fields.cjs");
5
+ const require_get_all_workflows = require("./get-all-workflows.cjs");
6
+ const require_get_campaign_by_id = require("./get-campaign-by-id.cjs");
7
+ const require_get_group_by_id = require("./get-group-by-id.cjs");
8
+ const require_get_subscriber_by_id = require("./get-subscriber-by-id.cjs");
9
+ const require_update_subscriber_fields = require("./update-subscriber-fields.cjs");
10
+ exports.senderCreateField = require_create_field.senderCreateField;
11
+ exports.senderCreateOrUpdateSubscriber = require_create_or_update_subscriber.senderCreateOrUpdateSubscriber;
12
+ exports.senderGetAllFields = require_get_all_fields.senderGetAllFields;
13
+ exports.senderGetAllWorkflows = require_get_all_workflows.senderGetAllWorkflows;
14
+ exports.senderGetCampaignById = require_get_campaign_by_id.senderGetCampaignById;
15
+ exports.senderGetGroupById = require_get_group_by_id.senderGetGroupById;
16
+ exports.senderGetSubscriberById = require_get_subscriber_by_id.senderGetSubscriberById;
17
+ exports.senderUpdateSubscriberFields = require_update_subscriber_fields.senderUpdateSubscriberFields;
@@ -0,0 +1,9 @@
1
+ import { senderCreateField } from "./create-field.cjs";
2
+ import { senderCreateOrUpdateSubscriber } from "./create-or-update-subscriber.cjs";
3
+ import { senderGetAllFields } from "./get-all-fields.cjs";
4
+ import { senderGetAllWorkflows } from "./get-all-workflows.cjs";
5
+ import { senderGetCampaignById } from "./get-campaign-by-id.cjs";
6
+ import { senderGetGroupById } from "./get-group-by-id.cjs";
7
+ import { senderGetSubscriberById } from "./get-subscriber-by-id.cjs";
8
+ import { senderUpdateSubscriberFields } from "./update-subscriber-fields.cjs";
9
+ export { senderCreateField, senderCreateOrUpdateSubscriber, senderGetAllFields, senderGetAllWorkflows, senderGetCampaignById, senderGetGroupById, senderGetSubscriberById, senderUpdateSubscriberFields };
@@ -0,0 +1,9 @@
1
+ import { senderCreateField } from "./create-field.mjs";
2
+ import { senderCreateOrUpdateSubscriber } from "./create-or-update-subscriber.mjs";
3
+ import { senderGetAllFields } from "./get-all-fields.mjs";
4
+ import { senderGetAllWorkflows } from "./get-all-workflows.mjs";
5
+ import { senderGetCampaignById } from "./get-campaign-by-id.mjs";
6
+ import { senderGetGroupById } from "./get-group-by-id.mjs";
7
+ import { senderGetSubscriberById } from "./get-subscriber-by-id.mjs";
8
+ import { senderUpdateSubscriberFields } from "./update-subscriber-fields.mjs";
9
+ export { senderCreateField, senderCreateOrUpdateSubscriber, senderGetAllFields, senderGetAllWorkflows, senderGetCampaignById, senderGetGroupById, senderGetSubscriberById, senderUpdateSubscriberFields };
@@ -0,0 +1,9 @@
1
+ import { senderCreateField } from "./create-field.mjs";
2
+ import { senderCreateOrUpdateSubscriber } from "./create-or-update-subscriber.mjs";
3
+ import { senderGetAllFields } from "./get-all-fields.mjs";
4
+ import { senderGetAllWorkflows } from "./get-all-workflows.mjs";
5
+ import { senderGetCampaignById } from "./get-campaign-by-id.mjs";
6
+ import { senderGetGroupById } from "./get-group-by-id.mjs";
7
+ import { senderGetSubscriberById } from "./get-subscriber-by-id.mjs";
8
+ import { senderUpdateSubscriberFields } from "./update-subscriber-fields.mjs";
9
+ export { senderCreateField, senderCreateOrUpdateSubscriber, senderGetAllFields, senderGetAllWorkflows, senderGetCampaignById, senderGetGroupById, senderGetSubscriberById, senderUpdateSubscriberFields };
@@ -0,0 +1,39 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/update-subscriber-fields.ts
4
+ const SenderUpdateSubscriberFieldsInput = zod.z.object({
5
+ email: zod.z.string().describe("The subscriber's email address").optional(),
6
+ groups: zod.z.array(zod.z.string()).describe("Array of group IDs to assign the subscriber to").optional(),
7
+ lastname: zod.z.string().describe("The subscriber's last name").optional(),
8
+ firstname: zod.z.string().describe("The subscriber's first name").optional(),
9
+ subscriber_id: zod.z.string().describe("The unique identifier of the subscriber to update")
10
+ }).describe("Request model for updating subscriber fields and information.");
11
+ const SenderUpdateSubscriberFields_GroupInfoSchema = zod.z.object({
12
+ id: zod.z.string().describe("Group identifier").nullable().optional(),
13
+ name: zod.z.string().describe("Group name").nullable().optional()
14
+ }).describe("Represents a group the subscriber belongs to.");
15
+ const SenderUpdateSubscriberFields_SubscriberDataSchema = zod.z.object({
16
+ id: zod.z.string().describe("The subscriber's unique identifier").nullable().optional(),
17
+ email: zod.z.string().describe("The subscriber's email address").nullable().optional(),
18
+ fields: zod.z.object({}).describe("Custom field key-value pairs").nullable().optional(),
19
+ groups: zod.z.array(SenderUpdateSubscriberFields_GroupInfoSchema).describe("Array of group objects the subscriber belongs to").nullable().optional(),
20
+ lastname: zod.z.string().describe("The subscriber's last name").nullable().optional(),
21
+ firstname: zod.z.string().describe("The subscriber's first name").nullable().optional(),
22
+ created_at: zod.z.string().describe("Timestamp of when the subscriber was created").nullable().optional(),
23
+ updated_at: zod.z.string().describe("Timestamp of the last update").nullable().optional()
24
+ }).describe("The updated subscriber information.");
25
+ const SenderUpdateSubscriberFieldsOutput = zod.z.object({
26
+ data: SenderUpdateSubscriberFields_SubscriberDataSchema.nullable().optional(),
27
+ success: zod.z.boolean().describe("Indicates if the update was successful").nullable().optional()
28
+ }).describe("Response model for updating subscriber fields.");
29
+ const senderUpdateSubscriberFields = require_action.action("SENDER_UPDATE_SUBSCRIBER_FIELDS", {
30
+ slug: "sender-update-subscriber-fields",
31
+ name: "Update Subscriber Fields",
32
+ description: "Tool to update custom fields and information for an existing subscriber in Sender.net. Use when you need to modify subscriber details such as email, first name, last name, groups, or custom fields for email personalization and segmentation.",
33
+ input: SenderUpdateSubscriberFieldsInput,
34
+ output: SenderUpdateSubscriberFieldsOutput
35
+ });
36
+ //#endregion
37
+ exports.senderUpdateSubscriberFields = senderUpdateSubscriberFields;
38
+
39
+ //# sourceMappingURL=update-subscriber-fields.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-subscriber-fields.cjs","names":["z","action"],"sources":["../../src/actions/update-subscriber-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SenderUpdateSubscriberFieldsInput: z.ZodTypeAny = z.object({\n email: z.string().describe(\"The subscriber's email address\").optional(),\n groups: z.array(z.string()).describe(\"Array of group IDs to assign the subscriber to\").optional(),\n lastname: z.string().describe(\"The subscriber's last name\").optional(),\n firstname: z.string().describe(\"The subscriber's first name\").optional(),\n subscriber_id: z.string().describe(\"The unique identifier of the subscriber to update\"),\n}).describe(\"Request model for updating subscriber fields and information.\");\nconst SenderUpdateSubscriberFields_GroupInfoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Group identifier\").nullable().optional(),\n name: z.string().describe(\"Group name\").nullable().optional(),\n}).describe(\"Represents a group the subscriber belongs to.\");\nconst SenderUpdateSubscriberFields_SubscriberDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The subscriber's unique identifier\").nullable().optional(),\n email: z.string().describe(\"The subscriber's email address\").nullable().optional(),\n fields: z.object({}).describe(\"Custom field key-value pairs\").nullable().optional(),\n groups: z.array(SenderUpdateSubscriberFields_GroupInfoSchema).describe(\"Array of group objects the subscriber belongs to\").nullable().optional(),\n lastname: z.string().describe(\"The subscriber's last name\").nullable().optional(),\n firstname: z.string().describe(\"The subscriber's first name\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of when the subscriber was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp of the last update\").nullable().optional(),\n}).describe(\"The updated subscriber information.\");\nexport const SenderUpdateSubscriberFieldsOutput: z.ZodTypeAny = z.object({\n data: SenderUpdateSubscriberFields_SubscriberDataSchema.nullable().optional(),\n success: z.boolean().describe(\"Indicates if the update was successful\").nullable().optional(),\n}).describe(\"Response model for updating subscriber fields.\");\n\nexport const senderUpdateSubscriberFields = action(\"SENDER_UPDATE_SUBSCRIBER_FIELDS\", {\n slug: \"sender-update-subscriber-fields\",\n name: \"Update Subscriber Fields\",\n description: \"Tool to update custom fields and information for an existing subscriber in Sender.net. Use when you need to modify subscriber details such as email, first name, last name, groups, or custom fields for email personalization and segmentation.\",\n input: SenderUpdateSubscriberFieldsInput,\n output: SenderUpdateSubscriberFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAChG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACrE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACvE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;AACxF,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,+CAA6DA,IAAAA,EAAE,OAAO;CAC1E,IAAIA,IAAAA,EAAE,OAAO,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C,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,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-subscriber-fields.d.ts
4
+ declare const SenderUpdateSubscriberFieldsInput: z.ZodTypeAny;
5
+ declare const SenderUpdateSubscriberFieldsOutput: z.ZodTypeAny;
6
+ declare const senderUpdateSubscriberFields: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { senderUpdateSubscriberFields };
9
+ //# sourceMappingURL=update-subscriber-fields.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-subscriber-fields.d.cts","names":[],"sources":["../../src/actions/update-subscriber-fields.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAM0B;AAAA,cAe/D,kCAAA,EAAoC,CAAA,CAAE,UAGU;AAAA,cAEhD,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/update-subscriber-fields.d.ts
4
+ declare const SenderUpdateSubscriberFieldsInput: z.ZodTypeAny;
5
+ declare const SenderUpdateSubscriberFieldsOutput: z.ZodTypeAny;
6
+ declare const senderUpdateSubscriberFields: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { senderUpdateSubscriberFields };
9
+ //# sourceMappingURL=update-subscriber-fields.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-subscriber-fields.d.mts","names":[],"sources":["../../src/actions/update-subscriber-fields.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAM0B;AAAA,cAe/D,kCAAA,EAAoC,CAAA,CAAE,UAGU;AAAA,cAEhD,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,38 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/update-subscriber-fields.ts
4
+ const SenderUpdateSubscriberFieldsInput = z.object({
5
+ email: z.string().describe("The subscriber's email address").optional(),
6
+ groups: z.array(z.string()).describe("Array of group IDs to assign the subscriber to").optional(),
7
+ lastname: z.string().describe("The subscriber's last name").optional(),
8
+ firstname: z.string().describe("The subscriber's first name").optional(),
9
+ subscriber_id: z.string().describe("The unique identifier of the subscriber to update")
10
+ }).describe("Request model for updating subscriber fields and information.");
11
+ const SenderUpdateSubscriberFields_GroupInfoSchema = z.object({
12
+ id: z.string().describe("Group identifier").nullable().optional(),
13
+ name: z.string().describe("Group name").nullable().optional()
14
+ }).describe("Represents a group the subscriber belongs to.");
15
+ const SenderUpdateSubscriberFields_SubscriberDataSchema = z.object({
16
+ id: z.string().describe("The subscriber's unique identifier").nullable().optional(),
17
+ email: z.string().describe("The subscriber's email address").nullable().optional(),
18
+ fields: z.object({}).describe("Custom field key-value pairs").nullable().optional(),
19
+ groups: z.array(SenderUpdateSubscriberFields_GroupInfoSchema).describe("Array of group objects the subscriber belongs to").nullable().optional(),
20
+ lastname: z.string().describe("The subscriber's last name").nullable().optional(),
21
+ firstname: z.string().describe("The subscriber's first name").nullable().optional(),
22
+ created_at: z.string().describe("Timestamp of when the subscriber was created").nullable().optional(),
23
+ updated_at: z.string().describe("Timestamp of the last update").nullable().optional()
24
+ }).describe("The updated subscriber information.");
25
+ const senderUpdateSubscriberFields = action("SENDER_UPDATE_SUBSCRIBER_FIELDS", {
26
+ slug: "sender-update-subscriber-fields",
27
+ name: "Update Subscriber Fields",
28
+ description: "Tool to update custom fields and information for an existing subscriber in Sender.net. Use when you need to modify subscriber details such as email, first name, last name, groups, or custom fields for email personalization and segmentation.",
29
+ input: SenderUpdateSubscriberFieldsInput,
30
+ output: z.object({
31
+ data: SenderUpdateSubscriberFields_SubscriberDataSchema.nullable().optional(),
32
+ success: z.boolean().describe("Indicates if the update was successful").nullable().optional()
33
+ }).describe("Response model for updating subscriber fields.")
34
+ });
35
+ //#endregion
36
+ export { senderUpdateSubscriberFields };
37
+
38
+ //# sourceMappingURL=update-subscriber-fields.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-subscriber-fields.mjs","names":[],"sources":["../../src/actions/update-subscriber-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SenderUpdateSubscriberFieldsInput: z.ZodTypeAny = z.object({\n email: z.string().describe(\"The subscriber's email address\").optional(),\n groups: z.array(z.string()).describe(\"Array of group IDs to assign the subscriber to\").optional(),\n lastname: z.string().describe(\"The subscriber's last name\").optional(),\n firstname: z.string().describe(\"The subscriber's first name\").optional(),\n subscriber_id: z.string().describe(\"The unique identifier of the subscriber to update\"),\n}).describe(\"Request model for updating subscriber fields and information.\");\nconst SenderUpdateSubscriberFields_GroupInfoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Group identifier\").nullable().optional(),\n name: z.string().describe(\"Group name\").nullable().optional(),\n}).describe(\"Represents a group the subscriber belongs to.\");\nconst SenderUpdateSubscriberFields_SubscriberDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The subscriber's unique identifier\").nullable().optional(),\n email: z.string().describe(\"The subscriber's email address\").nullable().optional(),\n fields: z.object({}).describe(\"Custom field key-value pairs\").nullable().optional(),\n groups: z.array(SenderUpdateSubscriberFields_GroupInfoSchema).describe(\"Array of group objects the subscriber belongs to\").nullable().optional(),\n lastname: z.string().describe(\"The subscriber's last name\").nullable().optional(),\n firstname: z.string().describe(\"The subscriber's first name\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of when the subscriber was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp of the last update\").nullable().optional(),\n}).describe(\"The updated subscriber information.\");\nexport const SenderUpdateSubscriberFieldsOutput: z.ZodTypeAny = z.object({\n data: SenderUpdateSubscriberFields_SubscriberDataSchema.nullable().optional(),\n success: z.boolean().describe(\"Indicates if the update was successful\").nullable().optional(),\n}).describe(\"Response model for updating subscriber fields.\");\n\nexport const senderUpdateSubscriberFields = action(\"SENDER_UPDATE_SUBSCRIBER_FIELDS\", {\n slug: \"sender-update-subscriber-fields\",\n name: \"Update Subscriber Fields\",\n description: \"Tool to update custom fields and information for an existing subscriber in Sender.net. Use when you need to modify subscriber details such as email, first name, last name, groups, or custom fields for email personalization and segmentation.\",\n input: SenderUpdateSubscriberFieldsInput,\n output: SenderUpdateSubscriberFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkD,EAAE,OAAO;CACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAChG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACrE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACvE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;AACxF,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,+CAA6D,EAAE,OAAO;CAC1E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9D,CAAC,CAAC,CAAC,SAAS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endregion
7
+ exports.sender = sender;
8
+
9
+ //# sourceMappingURL=app.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const sender = defineApp({\n slug: \"sender\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,UAAA,uCAAA,CAAA,CAAA,UAAA,CAAmB;CAC9B,MAAM;CACN,MAAM;AACR,CAAC"}
package/dist/app.d.cts ADDED
@@ -0,0 +1,5 @@
1
+ //#region src/app.d.ts
2
+ declare const sender: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
3
+ //#endregion
4
+ export { sender };
5
+ //# sourceMappingURL=app.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,MAAA,6BAAM,GAAA,+BAAA,UAAA"}
package/dist/app.d.mts ADDED
@@ -0,0 +1,5 @@
1
+ //#region src/app.d.ts
2
+ declare const sender: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
3
+ //#endregion
4
+ export { sender };
5
+ //# sourceMappingURL=app.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,MAAA,6BAAM,GAAA,+BAAA,UAAA"}
package/dist/app.mjs ADDED
@@ -0,0 +1,10 @@
1
+ import { defineApp } from "@keystrokehq/keystroke/app";
2
+ //#region src/app.ts
3
+ const sender = defineApp({
4
+ slug: "sender",
5
+ auth: "keystroke"
6
+ });
7
+ //#endregion
8
+ export { sender };
9
+
10
+ //# sourceMappingURL=app.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const sender = defineApp({\n slug: \"sender\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,SAAS,UAAU;CAC9B,MAAM;CACN,MAAM;AACR,CAAC"}
@@ -0,0 +1,15 @@
1
+ //#region src/catalog.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ const senderCatalog = {
4
+ "slug": "sender",
5
+ "name": "Sender",
6
+ "description": "Email marketing platform for creating campaigns, automating workflows, and tracking results",
7
+ "category": "Email Newsletters",
8
+ "logo": "https://logos.composio.dev/api/sender",
9
+ "authKind": "keystroke",
10
+ "oauthScopes": []
11
+ };
12
+ //#endregion
13
+ exports.senderCatalog = senderCatalog;
14
+
15
+ //# sourceMappingURL=catalog.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const senderCatalog = {\n \"slug\": \"sender\",\n \"name\": \"Sender\",\n \"description\": \"Email marketing platform for creating campaigns, automating workflows, and tracking results\",\n \"category\": \"Email Newsletters\",\n \"logo\": \"https://logos.composio.dev/api/sender\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,gBAAgB;CAC3B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
@@ -0,0 +1,14 @@
1
+ //#region src/catalog.d.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ declare const senderCatalog: {
4
+ readonly slug: "sender";
5
+ readonly name: "Sender";
6
+ readonly description: "Email marketing platform for creating campaigns, automating workflows, and tracking results";
7
+ readonly category: "Email Newsletters";
8
+ readonly logo: "https://logos.composio.dev/api/sender";
9
+ readonly authKind: "keystroke";
10
+ readonly oauthScopes: readonly [];
11
+ };
12
+ //#endregion
13
+ export { senderCatalog };
14
+ //# sourceMappingURL=catalog.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.d.cts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,aAAA;EAAA"}
@@ -0,0 +1,14 @@
1
+ //#region src/catalog.d.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ declare const senderCatalog: {
4
+ readonly slug: "sender";
5
+ readonly name: "Sender";
6
+ readonly description: "Email marketing platform for creating campaigns, automating workflows, and tracking results";
7
+ readonly category: "Email Newsletters";
8
+ readonly logo: "https://logos.composio.dev/api/sender";
9
+ readonly authKind: "keystroke";
10
+ readonly oauthScopes: readonly [];
11
+ };
12
+ //#endregion
13
+ export { senderCatalog };
14
+ //# sourceMappingURL=catalog.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.d.mts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,aAAA;EAAA"}
@@ -0,0 +1,15 @@
1
+ //#region src/catalog.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ const senderCatalog = {
4
+ "slug": "sender",
5
+ "name": "Sender",
6
+ "description": "Email marketing platform for creating campaigns, automating workflows, and tracking results",
7
+ "category": "Email Newsletters",
8
+ "logo": "https://logos.composio.dev/api/sender",
9
+ "authKind": "keystroke",
10
+ "oauthScopes": []
11
+ };
12
+ //#endregion
13
+ export { senderCatalog };
14
+
15
+ //# sourceMappingURL=catalog.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const senderCatalog = {\n \"slug\": \"sender\",\n \"name\": \"Sender\",\n \"description\": \"Email marketing platform for creating campaigns, automating workflows, and tracking results\",\n \"category\": \"Email Newsletters\",\n \"logo\": \"https://logos.composio.dev/api/sender\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,gBAAgB;CAC3B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}