@keystrokehq/sender 0.1.0 → 0.1.3

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 (73) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-field.cjs +2 -2
  4. package/dist/actions/create-field.cjs.map +1 -1
  5. package/dist/actions/create-field.d.cts +22 -3
  6. package/dist/actions/create-field.d.cts.map +1 -1
  7. package/dist/actions/create-field.d.mts +22 -3
  8. package/dist/actions/create-field.d.mts.map +1 -1
  9. package/dist/actions/create-field.mjs +2 -2
  10. package/dist/actions/create-field.mjs.map +1 -1
  11. package/dist/actions/create-or-update-subscriber.cjs +5 -5
  12. package/dist/actions/create-or-update-subscriber.cjs.map +1 -1
  13. package/dist/actions/create-or-update-subscriber.d.cts +33 -3
  14. package/dist/actions/create-or-update-subscriber.d.cts.map +1 -1
  15. package/dist/actions/create-or-update-subscriber.d.mts +33 -3
  16. package/dist/actions/create-or-update-subscriber.d.mts.map +1 -1
  17. package/dist/actions/create-or-update-subscriber.mjs +5 -5
  18. package/dist/actions/create-or-update-subscriber.mjs.map +1 -1
  19. package/dist/actions/get-all-fields.cjs +2 -2
  20. package/dist/actions/get-all-fields.cjs.map +1 -1
  21. package/dist/actions/get-all-fields.d.cts +11 -3
  22. package/dist/actions/get-all-fields.d.cts.map +1 -1
  23. package/dist/actions/get-all-fields.d.mts +11 -3
  24. package/dist/actions/get-all-fields.d.mts.map +1 -1
  25. package/dist/actions/get-all-fields.mjs +2 -2
  26. package/dist/actions/get-all-fields.mjs.map +1 -1
  27. package/dist/actions/get-all-workflows.cjs +2 -2
  28. package/dist/actions/get-all-workflows.cjs.map +1 -1
  29. package/dist/actions/get-all-workflows.d.cts +11 -3
  30. package/dist/actions/get-all-workflows.d.cts.map +1 -1
  31. package/dist/actions/get-all-workflows.d.mts +11 -3
  32. package/dist/actions/get-all-workflows.d.mts.map +1 -1
  33. package/dist/actions/get-all-workflows.mjs +2 -2
  34. package/dist/actions/get-all-workflows.mjs.map +1 -1
  35. package/dist/actions/get-campaign-by-id.cjs +1 -1
  36. package/dist/actions/get-campaign-by-id.cjs.map +1 -1
  37. package/dist/actions/get-campaign-by-id.d.cts +24 -3
  38. package/dist/actions/get-campaign-by-id.d.cts.map +1 -1
  39. package/dist/actions/get-campaign-by-id.d.mts +24 -3
  40. package/dist/actions/get-campaign-by-id.d.mts.map +1 -1
  41. package/dist/actions/get-campaign-by-id.mjs +1 -1
  42. package/dist/actions/get-campaign-by-id.mjs.map +1 -1
  43. package/dist/actions/get-group-by-id.cjs +1 -1
  44. package/dist/actions/get-group-by-id.cjs.map +1 -1
  45. package/dist/actions/get-group-by-id.d.cts +17 -3
  46. package/dist/actions/get-group-by-id.d.cts.map +1 -1
  47. package/dist/actions/get-group-by-id.d.mts +17 -3
  48. package/dist/actions/get-group-by-id.d.mts.map +1 -1
  49. package/dist/actions/get-group-by-id.mjs +1 -1
  50. package/dist/actions/get-group-by-id.mjs.map +1 -1
  51. package/dist/actions/get-subscriber-by-id.cjs +2 -2
  52. package/dist/actions/get-subscriber-by-id.cjs.map +1 -1
  53. package/dist/actions/get-subscriber-by-id.d.cts +17 -3
  54. package/dist/actions/get-subscriber-by-id.d.cts.map +1 -1
  55. package/dist/actions/get-subscriber-by-id.d.mts +17 -3
  56. package/dist/actions/get-subscriber-by-id.d.mts.map +1 -1
  57. package/dist/actions/get-subscriber-by-id.mjs +2 -2
  58. package/dist/actions/get-subscriber-by-id.mjs.map +1 -1
  59. package/dist/actions/update-subscriber-fields.cjs +4 -4
  60. package/dist/actions/update-subscriber-fields.cjs.map +1 -1
  61. package/dist/actions/update-subscriber-fields.d.cts +30 -3
  62. package/dist/actions/update-subscriber-fields.d.cts.map +1 -1
  63. package/dist/actions/update-subscriber-fields.d.mts +30 -3
  64. package/dist/actions/update-subscriber-fields.d.mts.map +1 -1
  65. package/dist/actions/update-subscriber-fields.mjs +4 -4
  66. package/dist/actions/update-subscriber-fields.mjs.map +1 -1
  67. package/dist/catalog.cjs +7 -1
  68. package/dist/catalog.cjs.map +1 -1
  69. package/dist/catalog.d.cts +8 -0
  70. package/dist/catalog.d.mts +8 -0
  71. package/dist/catalog.mjs +7 -1
  72. package/dist/catalog.mjs.map +1 -1
  73. package/package.json +2 -2
@@ -1,9 +1,17 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-all-workflows.d.ts
4
- declare const SenderGetAllWorkflowsInput: z.ZodTypeAny;
5
- declare const SenderGetAllWorkflowsOutput: z.ZodTypeAny;
6
- declare const senderGetAllWorkflows: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SenderGetAllWorkflowsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const SenderGetAllWorkflowsOutput: z.ZodObject<{
6
+ data: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
7
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ }, z.core.$loose>>>>;
13
+ }, z.core.$loose>;
14
+ declare const senderGetAllWorkflows: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
15
  //#endregion
8
16
  export { senderGetAllWorkflows };
9
17
  //# sourceMappingURL=get-all-workflows.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-all-workflows.d.mts","names":[],"sources":["../../src/actions/get-all-workflows.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAAoH;AAAA,cAQlJ,2BAAA,EAA6B,CAAA,CAAE,UAEuB;AAAA,cAEtD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-all-workflows.d.mts","names":[],"sources":["../../src/actions/get-all-workflows.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQ1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -8,13 +8,13 @@ const SenderGetAllWorkflows_WorkflowSchema = z.object({
8
8
  status: z.string().describe("Status of the workflow (e.g., active, inactive).").nullable().optional(),
9
9
  created_at: z.string().describe("Timestamp when the workflow was created.").nullable().optional(),
10
10
  updated_at: z.string().describe("Timestamp when the workflow was last updated.").nullable().optional()
11
- }).describe("Represents a single automation workflow.");
11
+ }).passthrough().describe("Represents a single automation workflow.");
12
12
  const senderGetAllWorkflows = action("SENDER_GET_ALL_WORKFLOWS", {
13
13
  slug: "sender-get-all-workflows",
14
14
  name: "Get All Workflows",
15
15
  description: "Tool to retrieve a list of all automation workflows in the Sender account. Use when you need to view or manage automation workflows.",
16
16
  input: SenderGetAllWorkflowsInput,
17
- output: z.object({ data: z.array(SenderGetAllWorkflows_WorkflowSchema).describe("List of automation workflows.").nullable().optional() }).describe("Response model for listing all automation workflows.")
17
+ output: z.object({ data: z.array(SenderGetAllWorkflows_WorkflowSchema).describe("List of automation workflows.").nullable().optional() }).passthrough().describe("Response model for listing all automation workflows.")
18
18
  });
19
19
  //#endregion
20
20
  export { senderGetAllWorkflows };
@@ -1 +1 @@
1
- {"version":3,"file":"get-all-workflows.mjs","names":[],"sources":["../../src/actions/get-all-workflows.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SenderGetAllWorkflowsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving all automation workflows. No parameters required.\");\nconst SenderGetAllWorkflows_WorkflowSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the workflow.\").nullable().optional(),\n name: z.string().describe(\"Name of the workflow.\").nullable().optional(),\n status: z.string().describe(\"Status of the workflow (e.g., active, inactive).\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the workflow was created.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the workflow was last updated.\").nullable().optional(),\n}).describe(\"Represents a single automation workflow.\");\nexport const SenderGetAllWorkflowsOutput: z.ZodTypeAny = z.object({\n data: z.array(SenderGetAllWorkflows_WorkflowSchema).describe(\"List of automation workflows.\").nullable().optional(),\n}).describe(\"Response model for listing all automation workflows.\");\n\nexport const senderGetAllWorkflows = action(\"SENDER_GET_ALL_WORKFLOWS\", {\n slug: \"sender-get-all-workflows\",\n name: \"Get All Workflows\",\n description: \"Tool to retrieve a list of all automation workflows in the Sender account. Use when you need to view or manage automation workflows.\",\n input: SenderGetAllWorkflowsInput,\n output: SenderGetAllWorkflowsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAC9J,MAAM,uCAAqD,EAAE,OAAO;CAClE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAKtD,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuD,EAAE,OAAO,EAChE,MAAM,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpH,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-all-workflows.mjs","names":[],"sources":["../../src/actions/get-all-workflows.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SenderGetAllWorkflowsInput = z.object({}).describe(\"Request model for retrieving all automation workflows. No parameters required.\");\nconst SenderGetAllWorkflows_WorkflowSchema = z.object({\n id: z.string().describe(\"Unique identifier for the workflow.\").nullable().optional(),\n name: z.string().describe(\"Name of the workflow.\").nullable().optional(),\n status: z.string().describe(\"Status of the workflow (e.g., active, inactive).\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the workflow was created.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the workflow was last updated.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single automation workflow.\");\nexport const SenderGetAllWorkflowsOutput = z.object({\n data: z.array(SenderGetAllWorkflows_WorkflowSchema).describe(\"List of automation workflows.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing all automation workflows.\");\n\nexport const senderGetAllWorkflows = action(\"SENDER_GET_ALL_WORKFLOWS\", {\n slug: \"sender-get-all-workflows\",\n name: \"Get All Workflows\",\n description: \"Tool to retrieve a list of all automation workflows in the Sender account. Use when you need to view or manage automation workflows.\",\n input: SenderGetAllWorkflowsInput,\n output: SenderGetAllWorkflowsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAChJ,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAKpE,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyC,EAAE,OAAO,EAClD,MAAM,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
@@ -19,7 +19,7 @@ const SenderGetCampaignByIdOutput = zod.z.object({
19
19
  spam_complaints: zod.z.number().int().describe("Number of spam reports.").nullable().optional(),
20
20
  total_emails_sent: zod.z.number().int().describe("Total number of emails sent.").nullable().optional(),
21
21
  total_emails_delivered: zod.z.number().int().describe("Number of successfully delivered emails.").nullable().optional()
22
- }).describe("Response model for a campaign retrieved from Sender.");
22
+ }).passthrough().describe("Response model for a campaign retrieved from Sender.");
23
23
  const senderGetCampaignById = require_action.action("SENDER_GET_CAMPAIGN_BY_ID", {
24
24
  slug: "sender-get-campaign-by-id",
25
25
  name: "Get Campaign By ID",
@@ -1 +1 @@
1
- {"version":3,"file":"get-campaign-by-id.cjs","names":["z","action"],"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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SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,wBAAwBC,eAAAA,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-campaign-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-campaign-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SenderGetCampaignByIdInput = 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.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}).passthrough().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":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,EACpG,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACh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,CAAC,SAAS;CACzG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,wBAAwBC,eAAAA,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,30 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const SenderGetCampaignByIdInput: z.ZodObject<{
5
+ campaign_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SenderGetCampaignByIdOutput: z.ZodObject<{
8
+ opened: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
9
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ clicked: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
+ sent_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ campaign_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ hard_bounced: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
+ soft_bounced: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
+ unique_opens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
+ unsubscribed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
+ campaign_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ unique_clicks: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
+ spam_complaints: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
+ total_emails_sent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
+ total_emails_delivered: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
+ }, z.core.$loose>;
25
+ declare const senderGetCampaignById: import("@keystrokehq/action").WorkflowActionDefinition<{
26
+ campaign_id: string;
27
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
28
  //#endregion
8
29
  export { senderGetCampaignById };
9
30
  //# sourceMappingURL=get-campaign-by-id.d.cts.map
@@ -1 +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"}
1
+ {"version":3,"file":"get-campaign-by-id.d.cts","names":[],"sources":["../../src/actions/get-campaign-by-id.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAmB3B,qBAAA,gCAAqB,wBAAA"}
@@ -1,9 +1,30 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const SenderGetCampaignByIdInput: z.ZodObject<{
5
+ campaign_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SenderGetCampaignByIdOutput: z.ZodObject<{
8
+ opened: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
9
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ clicked: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
+ sent_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ campaign_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ hard_bounced: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
+ soft_bounced: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
+ unique_opens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
+ unsubscribed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
+ campaign_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ unique_clicks: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
+ spam_complaints: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
+ total_emails_sent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
+ total_emails_delivered: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
+ }, z.core.$loose>;
25
+ declare const senderGetCampaignById: import("@keystrokehq/action").WorkflowActionDefinition<{
26
+ campaign_id: string;
27
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
28
  //#endregion
8
29
  export { senderGetCampaignById };
9
30
  //# sourceMappingURL=get-campaign-by-id.d.mts.map
@@ -1 +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"}
1
+ {"version":3,"file":"get-campaign-by-id.d.mts","names":[],"sources":["../../src/actions/get-campaign-by-id.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAmB3B,qBAAA,gCAAqB,wBAAA"}
@@ -22,7 +22,7 @@ const senderGetCampaignById = action("SENDER_GET_CAMPAIGN_BY_ID", {
22
22
  spam_complaints: z.number().int().describe("Number of spam reports.").nullable().optional(),
23
23
  total_emails_sent: z.number().int().describe("Total number of emails sent.").nullable().optional(),
24
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.")
25
+ }).passthrough().describe("Response model for a campaign retrieved from Sender.")
26
26
  });
27
27
  //#endregion
28
28
  export { senderGetCampaignById };
@@ -1 +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,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AI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,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"}
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.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.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}).passthrough().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,OA1BwC,EAAE,OAAO,EACjD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,EACpG,CAAC,CAAC,CAAC,SAAS,yDAwBH;CACP,QAxByC,EAAE,OAAO;EAClD,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,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,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
@@ -12,7 +12,7 @@ const SenderGetGroupByIdOutput = zod.z.object({
12
12
  updated_at: zod.z.string().describe("Timestamp when the group was last updated.").nullable().optional(),
13
13
  unconfirmed: zod.z.number().int().describe("Number of unconfirmed subscribers in the group.").nullable().optional(),
14
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.");
15
+ }).passthrough().describe("Response model for a subscriber group retrieved from Sender.");
16
16
  const senderGetGroupById = require_action.action("SENDER_GET_GROUP_BY_ID", {
17
17
  slug: "sender-get-group-by-id",
18
18
  name: "Get Group By ID",
@@ -1 +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: SenderG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AO,0BAA0B;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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.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.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}).passthrough().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,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,EACnG,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAA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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]>;
4
+ declare const SenderGetGroupByIdInput: z.ZodObject<{
5
+ group_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SenderGetGroupByIdOutput: z.ZodObject<{
8
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
+ active: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
+ bounced: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ unconfirmed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
+ unsubscribed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
+ }, z.core.$loose>;
18
+ declare const senderGetGroupById: import("@keystrokehq/action").WorkflowActionDefinition<{
19
+ group_id: string;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
21
  //#endregion
8
22
  export { senderGetGroupById };
9
23
  //# sourceMappingURL=get-group-by-id.d.cts.map
@@ -1 +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"}
1
+ {"version":3,"file":"get-group-by-id.d.cts","names":[],"sources":["../../src/actions/get-group-by-id.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;cAYxB,kBAAA,gCAAkB,wBAAA"}
@@ -1,9 +1,23 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const SenderGetGroupByIdInput: z.ZodObject<{
5
+ group_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SenderGetGroupByIdOutput: z.ZodObject<{
8
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
+ active: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
+ bounced: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ unconfirmed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
+ unsubscribed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
+ }, z.core.$loose>;
18
+ declare const senderGetGroupById: import("@keystrokehq/action").WorkflowActionDefinition<{
19
+ group_id: string;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
21
  //#endregion
8
22
  export { senderGetGroupById };
9
23
  //# sourceMappingURL=get-group-by-id.d.mts.map
@@ -1 +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"}
1
+ {"version":3,"file":"get-group-by-id.d.mts","names":[],"sources":["../../src/actions/get-group-by-id.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;cAYxB,kBAAA,gCAAkB,wBAAA"}
@@ -15,7 +15,7 @@ const senderGetGroupById = action("SENDER_GET_GROUP_BY_ID", {
15
15
  updated_at: z.string().describe("Timestamp when the group was last updated.").nullable().optional(),
16
16
  unconfirmed: z.number().int().describe("Number of unconfirmed subscribers in the group.").nullable().optional(),
17
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.")
18
+ }).passthrough().describe("Response model for a subscriber group retrieved from Sender.")
19
19
  });
20
20
  //#endregion
21
21
  export { senderGetGroupById };
@@ -1 +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"}
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.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.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}).passthrough().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,OAnBqC,EAAE,OAAO,EAC9C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,EACnG,CAAC,CAAC,CAAC,SAAS,iEAiBH;CACP,QAjBsC,EAAE,OAAO;EAC/C,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,YAAY,CAAC,CAAC,SAAS,8DAOhB;AACV,CAAC"}
@@ -5,14 +5,14 @@ const SenderGetSubscriberByIdInput = zod.z.object({ subscriber_id: zod.z.string(
5
5
  const SenderGetSubscriberByIdOutput = zod.z.object({
6
6
  id: zod.z.string().describe("Unique subscriber identifier").nullable().optional(),
7
7
  email: zod.z.string().describe("Subscriber email address").nullable().optional(),
8
- fields: zod.z.object({}).describe("Custom field values").nullable().optional(),
8
+ fields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom field values").nullable().optional(),
9
9
  groups: zod.z.array(zod.z.string()).describe("Array of group IDs the subscriber belongs to").nullable().optional(),
10
10
  status: zod.z.string().describe("Subscriber status (active, unsubscribed, bounced)").nullable().optional(),
11
11
  created: zod.z.string().describe("ISO 8601 timestamp of creation").nullable().optional(),
12
12
  updated: zod.z.string().describe("ISO 8601 timestamp of last update").nullable().optional(),
13
13
  lastname: zod.z.string().describe("Subscriber last name").nullable().optional(),
14
14
  firstname: zod.z.string().describe("Subscriber first name").nullable().optional()
15
- }).describe("Response model for a subscriber retrieved from Sender.");
15
+ }).passthrough().describe("Response model for a subscriber retrieved from Sender.");
16
16
  const senderGetSubscriberById = require_action.action("SENDER_GET_SUBSCRIBER_BY_ID", {
17
17
  slug: "sender-get-subscriber-by-id",
18
18
  name: "Get Subscriber By ID",
@@ -1 +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,IAAAA,EAAE,OAAO,EACjE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,EAC9G,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAEpE,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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.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.object({\n id: z.string().describe(\"Unique subscriber identifier\").nullable().optional(),\n email: z.string().describe(\"Subscriber email address\").nullable().optional(),\n fields: z.record(z.string(), z.unknown()).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}).passthrough().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,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,EAC9G,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,23 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const SenderGetSubscriberByIdInput: z.ZodObject<{
5
+ subscriber_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SenderGetSubscriberByIdOutput: z.ZodObject<{
8
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
11
+ groups: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
12
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ lastname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ }, z.core.$loose>;
18
+ declare const senderGetSubscriberById: import("@keystrokehq/action").WorkflowActionDefinition<{
19
+ subscriber_id: string;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
21
  //#endregion
8
22
  export { senderGetSubscriberById };
9
23
  //# sourceMappingURL=get-subscriber-by-id.d.cts.map
@@ -1 +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"}
1
+ {"version":3,"file":"get-subscriber-by-id.d.cts","names":[],"sources":["../../src/actions/get-subscriber-by-id.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAG5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;cAY7B,uBAAA,gCAAuB,wBAAA"}
@@ -1,9 +1,23 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const SenderGetSubscriberByIdInput: z.ZodObject<{
5
+ subscriber_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SenderGetSubscriberByIdOutput: z.ZodObject<{
8
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
11
+ groups: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
12
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ lastname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ }, z.core.$loose>;
18
+ declare const senderGetSubscriberById: import("@keystrokehq/action").WorkflowActionDefinition<{
19
+ subscriber_id: string;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
21
  //#endregion
8
22
  export { senderGetSubscriberById };
9
23
  //# sourceMappingURL=get-subscriber-by-id.d.mts.map
@@ -1 +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"}
1
+ {"version":3,"file":"get-subscriber-by-id.d.mts","names":[],"sources":["../../src/actions/get-subscriber-by-id.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAG5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;cAY7B,uBAAA,gCAAuB,wBAAA"}
@@ -8,14 +8,14 @@ const senderGetSubscriberById = action("SENDER_GET_SUBSCRIBER_BY_ID", {
8
8
  output: z.object({
9
9
  id: z.string().describe("Unique subscriber identifier").nullable().optional(),
10
10
  email: z.string().describe("Subscriber email address").nullable().optional(),
11
- fields: z.object({}).describe("Custom field values").nullable().optional(),
11
+ fields: z.record(z.string(), z.unknown()).describe("Custom field values").nullable().optional(),
12
12
  groups: z.array(z.string()).describe("Array of group IDs the subscriber belongs to").nullable().optional(),
13
13
  status: z.string().describe("Subscriber status (active, unsubscribed, bounced)").nullable().optional(),
14
14
  created: z.string().describe("ISO 8601 timestamp of creation").nullable().optional(),
15
15
  updated: z.string().describe("ISO 8601 timestamp of last update").nullable().optional(),
16
16
  lastname: z.string().describe("Subscriber last name").nullable().optional(),
17
17
  firstname: z.string().describe("Subscriber first name").nullable().optional()
18
- }).describe("Response model for a subscriber retrieved from Sender.")
18
+ }).passthrough().describe("Response model for a subscriber retrieved from Sender.")
19
19
  });
20
20
  //#endregion
21
21
  export { senderGetSubscriberById };
@@ -1 +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"}
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.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.object({\n id: z.string().describe(\"Unique subscriber identifier\").nullable().optional(),\n email: z.string().describe(\"Subscriber email address\").nullable().optional(),\n fields: z.record(z.string(), z.unknown()).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}).passthrough().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,OAnB0C,EAAE,OAAO,EACnD,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,EAC9G,CAAC,CAAC,CAAC,SAAS,+DAiBH;CACP,QAjB2C,EAAE,OAAO;EACpD,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,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,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,YAAY,CAAC,CAAC,SAAS,wDAOhB;AACV,CAAC"}
@@ -11,21 +11,21 @@ const SenderUpdateSubscriberFieldsInput = zod.z.object({
11
11
  const SenderUpdateSubscriberFields_GroupInfoSchema = zod.z.object({
12
12
  id: zod.z.string().describe("Group identifier").nullable().optional(),
13
13
  name: zod.z.string().describe("Group name").nullable().optional()
14
- }).describe("Represents a group the subscriber belongs to.");
14
+ }).passthrough().describe("Represents a group the subscriber belongs to.");
15
15
  const SenderUpdateSubscriberFields_SubscriberDataSchema = zod.z.object({
16
16
  id: zod.z.string().describe("The subscriber's unique identifier").nullable().optional(),
17
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(),
18
+ fields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom field key-value pairs").nullable().optional(),
19
19
  groups: zod.z.array(SenderUpdateSubscriberFields_GroupInfoSchema).describe("Array of group objects the subscriber belongs to").nullable().optional(),
20
20
  lastname: zod.z.string().describe("The subscriber's last name").nullable().optional(),
21
21
  firstname: zod.z.string().describe("The subscriber's first name").nullable().optional(),
22
22
  created_at: zod.z.string().describe("Timestamp of when the subscriber was created").nullable().optional(),
23
23
  updated_at: zod.z.string().describe("Timestamp of the last update").nullable().optional()
24
- }).describe("The updated subscriber information.");
24
+ }).passthrough().describe("The updated subscriber information.");
25
25
  const SenderUpdateSubscriberFieldsOutput = zod.z.object({
26
26
  data: SenderUpdateSubscriberFields_SubscriberDataSchema.nullable().optional(),
27
27
  success: zod.z.boolean().describe("Indicates if the update was successful").nullable().optional()
28
- }).describe("Response model for updating subscriber fields.");
28
+ }).passthrough().describe("Response model for updating subscriber fields.");
29
29
  const senderUpdateSubscriberFields = require_action.action("SENDER_UPDATE_SUBSCRIBER_FIELDS", {
30
30
  slug: "sender-update-subscriber-fields",
31
31
  name: "Update Subscriber Fields",
@@ -1 +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,C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,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,MAAM,kDAAkD,SAAS,CAAC,CAAC,SAAS;CAC5E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,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"}
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.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.object({\n id: z.string().describe(\"Group identifier\").nullable().optional(),\n name: z.string().describe(\"Group name\").nullable().optional(),\n}).passthrough().describe(\"Represents a group the subscriber belongs to.\");\nconst SenderUpdateSubscriberFields_SubscriberDataSchema = 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.record(z.string(), z.unknown()).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}).passthrough().describe(\"The updated subscriber information.\");\nexport const SenderUpdateSubscriberFieldsOutput = z.object({\n data: SenderUpdateSubscriberFields_SubscriberDataSchema.nullable().optional(),\n success: z.boolean().describe(\"Indicates if the update was successful\").nullable().optional(),\n}).passthrough().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,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,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,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,IA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,CAAC,SAAS;CAC5E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,36 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const SenderUpdateSubscriberFieldsInput: z.ZodObject<{
5
+ email: z.ZodOptional<z.ZodString>;
6
+ groups: z.ZodOptional<z.ZodArray<z.ZodString>>;
7
+ lastname: z.ZodOptional<z.ZodString>;
8
+ firstname: z.ZodOptional<z.ZodString>;
9
+ subscriber_id: z.ZodString;
10
+ }, z.core.$strip>;
11
+ declare const SenderUpdateSubscriberFieldsOutput: z.ZodObject<{
12
+ data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
13
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
16
+ groups: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
17
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ }, z.core.$loose>>>>;
20
+ lastname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ }, z.core.$loose>>>;
25
+ success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
26
+ }, z.core.$loose>;
27
+ declare const senderUpdateSubscriberFields: import("@keystrokehq/action").WorkflowActionDefinition<{
28
+ subscriber_id: string;
29
+ email?: string | undefined;
30
+ groups?: string[] | undefined;
31
+ lastname?: string | undefined;
32
+ firstname?: string | undefined;
33
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
34
  //#endregion
8
35
  export { senderUpdateSubscriberFields };
9
36
  //# sourceMappingURL=update-subscriber-fields.d.cts.map
@@ -1 +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"}
1
+ {"version":3,"file":"update-subscriber-fields.d.cts","names":[],"sources":["../../src/actions/update-subscriber-fields.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;cAqBjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAKlC,4BAAA,gCAA4B,wBAAA"}