@keystrokehq/sender 0.1.2 → 0.1.4

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 (55) hide show
  1. package/dist/actions/create-field.cjs +2 -2
  2. package/dist/actions/create-field.cjs.map +1 -1
  3. package/dist/actions/create-field.d.cts +2 -2
  4. package/dist/actions/create-field.d.mts +2 -2
  5. package/dist/actions/create-field.mjs +2 -2
  6. package/dist/actions/create-field.mjs.map +1 -1
  7. package/dist/actions/create-or-update-subscriber.cjs +5 -5
  8. package/dist/actions/create-or-update-subscriber.cjs.map +1 -1
  9. package/dist/actions/create-or-update-subscriber.d.cts +6 -6
  10. package/dist/actions/create-or-update-subscriber.d.mts +6 -6
  11. package/dist/actions/create-or-update-subscriber.mjs +5 -5
  12. package/dist/actions/create-or-update-subscriber.mjs.map +1 -1
  13. package/dist/actions/get-all-fields.cjs +2 -2
  14. package/dist/actions/get-all-fields.cjs.map +1 -1
  15. package/dist/actions/get-all-fields.d.cts +2 -2
  16. package/dist/actions/get-all-fields.d.mts +2 -2
  17. package/dist/actions/get-all-fields.mjs +2 -2
  18. package/dist/actions/get-all-fields.mjs.map +1 -1
  19. package/dist/actions/get-all-workflows.cjs +2 -2
  20. package/dist/actions/get-all-workflows.cjs.map +1 -1
  21. package/dist/actions/get-all-workflows.d.cts +2 -2
  22. package/dist/actions/get-all-workflows.d.mts +2 -2
  23. package/dist/actions/get-all-workflows.mjs +2 -2
  24. package/dist/actions/get-all-workflows.mjs.map +1 -1
  25. package/dist/actions/get-campaign-by-id.cjs +1 -1
  26. package/dist/actions/get-campaign-by-id.cjs.map +1 -1
  27. package/dist/actions/get-campaign-by-id.d.cts +1 -1
  28. package/dist/actions/get-campaign-by-id.d.mts +1 -1
  29. package/dist/actions/get-campaign-by-id.mjs +1 -1
  30. package/dist/actions/get-campaign-by-id.mjs.map +1 -1
  31. package/dist/actions/get-group-by-id.cjs +1 -1
  32. package/dist/actions/get-group-by-id.cjs.map +1 -1
  33. package/dist/actions/get-group-by-id.d.cts +1 -1
  34. package/dist/actions/get-group-by-id.d.mts +1 -1
  35. package/dist/actions/get-group-by-id.mjs +1 -1
  36. package/dist/actions/get-group-by-id.mjs.map +1 -1
  37. package/dist/actions/get-subscriber-by-id.cjs +2 -2
  38. package/dist/actions/get-subscriber-by-id.cjs.map +1 -1
  39. package/dist/actions/get-subscriber-by-id.d.cts +2 -2
  40. package/dist/actions/get-subscriber-by-id.d.mts +2 -2
  41. package/dist/actions/get-subscriber-by-id.mjs +2 -2
  42. package/dist/actions/get-subscriber-by-id.mjs.map +1 -1
  43. package/dist/actions/update-subscriber-fields.cjs +4 -4
  44. package/dist/actions/update-subscriber-fields.cjs.map +1 -1
  45. package/dist/actions/update-subscriber-fields.d.cts +4 -4
  46. package/dist/actions/update-subscriber-fields.d.mts +4 -4
  47. package/dist/actions/update-subscriber-fields.mjs +4 -4
  48. package/dist/actions/update-subscriber-fields.mjs.map +1 -1
  49. package/dist/catalog.cjs +1 -1
  50. package/dist/catalog.cjs.map +1 -1
  51. package/dist/catalog.d.cts +1 -1
  52. package/dist/catalog.d.mts +1 -1
  53. package/dist/catalog.mjs +1 -1
  54. package/dist/catalog.mjs.map +1 -1
  55. package/package.json +1 -1
@@ -16,7 +16,7 @@ const SenderCreateField_FieldDataSchema = zod.z.object({
16
16
  zod.z.number(),
17
17
  zod.z.boolean()
18
18
  ]).nullable().optional()
19
- }).describe("Represents the created field data in the response.");
19
+ }).passthrough().describe("Represents the created field data in the response.");
20
20
  const SenderCreateFieldOutput = zod.z.object({
21
21
  data: SenderCreateField_FieldDataSchema.nullable().optional(),
22
22
  message: zod.z.string().describe("Message about the operation result").nullable().optional(),
@@ -24,7 +24,7 @@ const SenderCreateFieldOutput = zod.z.object({
24
24
  fieldkey: zod.z.string().describe("Unique key identifier for the created custom field").nullable().optional(),
25
25
  fieldname: zod.z.string().describe("Display name of the created custom field").nullable().optional(),
26
26
  fieldtype: zod.z.string().describe("Data type of the created field").nullable().optional()
27
- }).describe("Response model for creating a custom subscriber field.");
27
+ }).passthrough().describe("Response model for creating a custom subscriber field.");
28
28
  const senderCreateField = require_action.action("SENDER_CREATE_FIELD", {
29
29
  slug: "sender-create-field",
30
30
  name: "Create Field",
@@ -1 +1 @@
1
- {"version":3,"file":"create-field.cjs","names":["z","action"],"sources":["../../src/actions/create-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SenderCreateFieldInput = z.object({\n type: z.string().describe(\"The data type of the field. Common types include 'text' for string values, 'number' for numeric values, 'date' for dates, and 'money' for currency values.\"),\n title: z.string().describe(\"The display name/title of the custom field. This will be visible when managing subscriber data.\"),\n}).describe(\"Request model for creating a new custom subscriber field.\");\nconst SenderCreateField_FieldDataSchema = z.object({\n fieldkey: z.string().describe(\"Unique key identifier for the created custom field\").nullable().optional(),\n required: z.boolean().describe(\"Indicates whether the field is required\").nullable().optional(),\n fieldname: z.string().describe(\"Display name of the created custom field\").nullable().optional(),\n fieldtype: z.string().describe(\"Data type of the created field\").nullable().optional(),\n default_value: z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable().optional(),\n}).describe(\"Represents the created field data in the response.\");\nexport const SenderCreateFieldOutput = z.object({\n data: SenderCreateField_FieldDataSchema.nullable().optional(),\n message: z.string().describe(\"Message about the operation result\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if the field creation was successful\").nullable().optional(),\n fieldkey: z.string().describe(\"Unique key identifier for the created custom field\").nullable().optional(),\n fieldname: z.string().describe(\"Display name of the created custom field\").nullable().optional(),\n fieldtype: z.string().describe(\"Data type of the created field\").nullable().optional(),\n}).describe(\"Response model for creating a custom subscriber field.\");\n\nexport const senderCreateField = action(\"SENDER_CREATE_FIELD\", {\n slug: \"sender-create-field\",\n name: \"Create Field\",\n description: \"Tool to create a new custom subscriber field in Sender.net. Use when you need to add custom fields for email personalization, segmentation, or storing additional subscriber information like company name, birthday, job title, or other custom attributes.\",\n input: SenderCre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AC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAEpE,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-field.cjs","names":["z","action"],"sources":["../../src/actions/create-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SenderCreateFieldInput = z.object({\n type: z.string().describe(\"The data type of the field. Common types include 'text' for string values, 'number' for numeric values, 'date' for dates, and 'money' for currency values.\"),\n title: z.string().describe(\"The display name/title of the custom field. This will be visible when managing subscriber data.\"),\n}).describe(\"Request model for creating a new custom subscriber field.\");\nconst SenderCreateField_FieldDataSchema = z.object({\n fieldkey: z.string().describe(\"Unique key identifier for the created custom field\").nullable().optional(),\n required: z.boolean().describe(\"Indicates whether the field is required\").nullable().optional(),\n fieldname: z.string().describe(\"Display name of the created custom field\").nullable().optional(),\n fieldtype: z.string().describe(\"Data type of the created field\").nullable().optional(),\n default_value: z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable().optional(),\n}).passthrough().describe(\"Represents the created field data in the response.\");\nexport const SenderCreateFieldOutput = z.object({\n data: SenderCreateField_FieldDataSchema.nullable().optional(),\n message: z.string().describe(\"Message about the operation result\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if the field creation was successful\").nullable().optional(),\n fieldkey: z.string().describe(\"Unique key identifier for the created custom field\").nullable().optional(),\n fieldname: z.string().describe(\"Display name of the created custom field\").nullable().optional(),\n fieldtype: z.string().describe(\"Data type of the created field\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a custom subscriber field.\");\n\nexport const senderCreateField = action(\"SENDER_CREATE_FIELD\", {\n slug: \"sender-create-field\",\n name: \"Create Field\",\n description: \"Tool to create a new custom subscriber field in Sender.net. Use when you need to add custom fields for email personalization, segmentation, or storing additional subscriber information like company name, birthday, job title, or other custom attributes.\",\n input: SenderCreateFieldInput,\n output: SenderCreateFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J;CACtL,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;AAC9H,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,eAAeA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAC9E,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAM,kCAAkC,SAAS,CAAC,CAAC,SAAS;CAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -12,13 +12,13 @@ declare const SenderCreateFieldOutput: z.ZodObject<{
12
12
  fieldname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
13
  fieldtype: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  default_value: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>;
15
- }, z.core.$strip>>>;
15
+ }, z.core.$loose>>>;
16
16
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
18
18
  fieldkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
19
  fieldname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
20
  fieldtype: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
- }, z.core.$strip>;
21
+ }, z.core.$loose>;
22
22
  declare const senderCreateField: import("@keystrokehq/action").WorkflowActionDefinition<{
23
23
  type: string;
24
24
  title: string;
@@ -12,13 +12,13 @@ declare const SenderCreateFieldOutput: z.ZodObject<{
12
12
  fieldname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
13
  fieldtype: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  default_value: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>;
15
- }, z.core.$strip>>>;
15
+ }, z.core.$loose>>>;
16
16
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
18
18
  fieldkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
19
  fieldname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
20
  fieldtype: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
- }, z.core.$strip>;
21
+ }, z.core.$loose>;
22
22
  declare const senderCreateField: import("@keystrokehq/action").WorkflowActionDefinition<{
23
23
  type: string;
24
24
  title: string;
@@ -16,7 +16,7 @@ const SenderCreateField_FieldDataSchema = z.object({
16
16
  z.number(),
17
17
  z.boolean()
18
18
  ]).nullable().optional()
19
- }).describe("Represents the created field data in the response.");
19
+ }).passthrough().describe("Represents the created field data in the response.");
20
20
  const senderCreateField = action("SENDER_CREATE_FIELD", {
21
21
  slug: "sender-create-field",
22
22
  name: "Create Field",
@@ -29,7 +29,7 @@ const senderCreateField = action("SENDER_CREATE_FIELD", {
29
29
  fieldkey: z.string().describe("Unique key identifier for the created custom field").nullable().optional(),
30
30
  fieldname: z.string().describe("Display name of the created custom field").nullable().optional(),
31
31
  fieldtype: z.string().describe("Data type of the created field").nullable().optional()
32
- }).describe("Response model for creating a custom subscriber field.")
32
+ }).passthrough().describe("Response model for creating a custom subscriber field.")
33
33
  });
34
34
  //#endregion
35
35
  export { senderCreateField };
@@ -1 +1 @@
1
- {"version":3,"file":"create-field.mjs","names":[],"sources":["../../src/actions/create-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SenderCreateFieldInput = z.object({\n type: z.string().describe(\"The data type of the field. Common types include 'text' for string values, 'number' for numeric values, 'date' for dates, and 'money' for currency values.\"),\n title: z.string().describe(\"The display name/title of the custom field. This will be visible when managing subscriber data.\"),\n}).describe(\"Request model for creating a new custom subscriber field.\");\nconst SenderCreateField_FieldDataSchema = z.object({\n fieldkey: z.string().describe(\"Unique key identifier for the created custom field\").nullable().optional(),\n required: z.boolean().describe(\"Indicates whether the field is required\").nullable().optional(),\n fieldname: z.string().describe(\"Display name of the created custom field\").nullable().optional(),\n fieldtype: z.string().describe(\"Data type of the created field\").nullable().optional(),\n default_value: z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable().optional(),\n}).describe(\"Represents the created field data in the response.\");\nexport const SenderCreateFieldOutput = z.object({\n data: SenderCreateField_FieldDataSchema.nullable().optional(),\n message: z.string().describe(\"Message about the operation result\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if the field creation was successful\").nullable().optional(),\n fieldkey: z.string().describe(\"Unique key identifier for the created custom field\").nullable().optional(),\n fieldname: z.string().describe(\"Display name of the created custom field\").nullable().optional(),\n fieldtype: z.string().describe(\"Data type of the created field\").nullable().optional(),\n}).describe(\"Response model for creating a custom subscriber field.\");\n\nexport const senderCreateField = action(\"SENDER_CREATE_FIELD\", {\n slug: \"sender-create-field\",\n name: \"Create Field\",\n description: \"Tool to create a new custom subscriber field in Sender.net. Use when you need to add custom fields for email personalization, segmentation, or storing additional subscriber information like company name, birthday, job title, or other custom attributes.\",\n input: SenderCreateFieldInput,\n output: SenderCreateFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J;CACtL,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;AAC9H,CAAC,CAAC,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ACV,CAAC"}
1
+ {"version":3,"file":"create-field.mjs","names":[],"sources":["../../src/actions/create-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SenderCreateFieldInput = z.object({\n type: z.string().describe(\"The data type of the field. Common types include 'text' for string values, 'number' for numeric values, 'date' for dates, and 'money' for currency values.\"),\n title: z.string().describe(\"The display name/title of the custom field. This will be visible when managing subscriber data.\"),\n}).describe(\"Request model for creating a new custom subscriber field.\");\nconst SenderCreateField_FieldDataSchema = z.object({\n fieldkey: z.string().describe(\"Unique key identifier for the created custom field\").nullable().optional(),\n required: z.boolean().describe(\"Indicates whether the field is required\").nullable().optional(),\n fieldname: z.string().describe(\"Display name of the created custom field\").nullable().optional(),\n fieldtype: z.string().describe(\"Data type of the created field\").nullable().optional(),\n default_value: z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable().optional(),\n}).passthrough().describe(\"Represents the created field data in the response.\");\nexport const SenderCreateFieldOutput = z.object({\n data: SenderCreateField_FieldDataSchema.nullable().optional(),\n message: z.string().describe(\"Message about the operation result\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if the field creation was successful\").nullable().optional(),\n fieldkey: z.string().describe(\"Unique key identifier for the created custom field\").nullable().optional(),\n fieldname: z.string().describe(\"Display name of the created custom field\").nullable().optional(),\n fieldtype: z.string().describe(\"Data type of the created field\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a custom subscriber field.\");\n\nexport const senderCreateField = action(\"SENDER_CREATE_FIELD\", {\n slug: \"sender-create-field\",\n name: \"Create Field\",\n description: \"Tool to create a new custom subscriber field in Sender.net. Use when you need to add custom fields for email personalization, segmentation, or storing additional subscriber information like company name, birthday, job title, or other custom attributes.\",\n input: SenderCreateFieldInput,\n output: SenderCreateFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J;CACtL,OAAO,EAAE,OAAO,C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SAAS,CAAC,CAAC,SAAS;CACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAOhB;AACV,CAAC"}
@@ -4,7 +4,7 @@ let zod = require("zod");
4
4
  const SenderCreateOrUpdateSubscriberInput = zod.z.object({
5
5
  email: zod.z.string().describe("Subscriber's email address. This is required and will be used to identify existing subscribers."),
6
6
  phone: zod.z.string().describe("Subscriber's phone number.").optional(),
7
- fields: zod.z.object({}).describe("Custom fields object for additional subscriber attributes such as birthday, gender, location, company, title, or other relevant data.").optional(),
7
+ fields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom fields object for additional subscriber attributes such as birthday, gender, location, company, title, or other relevant data.").optional(),
8
8
  groups: zod.z.array(zod.z.string()).describe("Array of group IDs to assign the subscriber to.").optional(),
9
9
  lastname: zod.z.string().describe("Subscriber's last name.").optional(),
10
10
  firstname: zod.z.string().describe("Subscriber's first name.").optional(),
@@ -14,22 +14,22 @@ const SenderCreateOrUpdateSubscriber_SubscriberResponseDataSchema = zod.z.object
14
14
  id: zod.z.string().describe("Subscriber's unique identifier").nullable().optional(),
15
15
  email: zod.z.string().describe("Subscriber's email address").nullable().optional(),
16
16
  phone: zod.z.string().describe("Subscriber's phone number").nullable().optional(),
17
- fields: zod.z.object({}).describe("Custom field values").nullable().optional(),
17
+ fields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom field values").nullable().optional(),
18
18
  groups: zod.z.array(zod.z.string()).describe("Array of group IDs the subscriber belongs to").nullable().optional(),
19
19
  lastname: zod.z.string().describe("Subscriber's last name").nullable().optional(),
20
20
  firstname: zod.z.string().describe("Subscriber's first name").nullable().optional(),
21
21
  created_at: zod.z.string().describe("Timestamp when the subscriber was created").nullable().optional(),
22
22
  updated_at: zod.z.string().describe("Timestamp when the subscriber was last updated").nullable().optional()
23
- }).describe("Subscriber data in the response.");
23
+ }).passthrough().describe("Subscriber data in the response.");
24
24
  const SenderCreateOrUpdateSubscriberOutput = zod.z.object({
25
25
  data: SenderCreateOrUpdateSubscriber_SubscriberResponseDataSchema.nullable().optional(),
26
26
  message: zod.z.union([
27
27
  zod.z.string(),
28
28
  zod.z.array(zod.z.string()),
29
- zod.z.object({})
29
+ zod.z.record(zod.z.string(), zod.z.unknown())
30
30
  ]).nullable().optional(),
31
31
  success: zod.z.boolean().describe("Indicates if the operation was successful").nullable().optional()
32
- }).describe("Response model for creating or updating a subscriber.");
32
+ }).passthrough().describe("Response model for creating or updating a subscriber.");
33
33
  const senderCreateOrUpdateSubscriber = require_action.action("SENDER_CREATE_OR_UPDATE_SUBSCRIBER", {
34
34
  slug: "sender-create-or-update-subscriber",
35
35
  name: "Create Or Update Subscriber",
@@ -1 +1 @@
1
- {"version":3,"file":"create-or-update-subscriber.cjs","names":["z","action"],"sources":["../../src/actions/create-or-update-subscriber.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SenderCreateOrUpdateSubscriberInput = z.object({\n email: z.string().describe(\"Subscriber's email address. This is required and will be used to identify existing subscribers.\"),\n phone: z.string().describe(\"Subscriber's phone number.\").optional(),\n fields: z.object({}).describe(\"Custom fields object for additional subscriber attributes such as birthday, gender, location, company, title, or other relevant data.\").optional(),\n groups: z.array(z.string()).describe(\"Array of group IDs to assign the subscriber to.\").optional(),\n lastname: z.string().describe(\"Subscriber's last name.\").optional(),\n firstname: z.string().describe(\"Subscriber's first name.\").optional(),\n trigger_automation: z.boolean().describe(\"Whether to trigger email automations for this subscriber. Default is true when not specified.\").optional(),\n}).describe(\"Request model for creating or updating a subscriber.\");\nconst SenderCreateOrUpdateSubscriber_SubscriberResponseDataSchema = z.object({\n id: z.string().describe(\"Subscriber's unique identifier\").nullable().optional(),\n email: z.string().describe(\"Subscriber's email address\").nullable().optional(),\n phone: z.string().describe(\"Subscriber's phone number\").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 lastname: z.string().describe(\"Subscriber's last name\").nullable().optional(),\n firstname: z.string().describe(\"Subscriber's first name\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the subscriber was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the subscriber was last updated\").nullable().optional(),\n}).describe(\"Subscriber data in the response.\");\nexport const SenderCreateOrUpdateSubscriberOutput = z.object({\n data: SenderCreateOrUpdateSubscriber_SubscriberResponseDataSchema.nullable().optional(),\n message: z.union([z.string(), z.array(z.string()), z.object({})]).nullable().optional(),\n success: z.boolean().describe(\"Indicates if the operation was successful\").nullable().optional(),\n}).describe(\"Response model for creating or updating a subscriber.\");\n\nexport const senderCreateOrUpdateSubscriber = action(\"SENDER_CREATE_OR_UPDATE_SUBSCRIBER\", {\n slug: \"sender-create-or-update-subscriber\",\n name: \"Create Or Update Subscriber\",\n description: \"Tool to create a new subscriber or update an existing one in Sender.net. Use when you need to add new subscribers to your email list or update existing subscriber information. This performs an upsert operation - creates if the email doesn't exist, updates if it does.\",\n input: SenderCreateOrUpdateSubscriberInput,\n output: SenderCreateOrUpdateSubscriberOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;CAC5H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAClE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS;CAChL,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACjG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAClE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACpE,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,OAAO;EAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAEnE,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-or-update-subscriber.cjs","names":["z","action"],"sources":["../../src/actions/create-or-update-subscriber.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SenderCreateOrUpdateSubscriberInput = z.object({\n email: z.string().describe(\"Subscriber's email address. This is required and will be used to identify existing subscribers.\"),\n phone: z.string().describe(\"Subscriber's phone number.\").optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"Custom fields object for additional subscriber attributes such as birthday, gender, location, company, title, or other relevant data.\").optional(),\n groups: z.array(z.string()).describe(\"Array of group IDs to assign the subscriber to.\").optional(),\n lastname: z.string().describe(\"Subscriber's last name.\").optional(),\n firstname: z.string().describe(\"Subscriber's first name.\").optional(),\n trigger_automation: z.boolean().describe(\"Whether to trigger email automations for this subscriber. Default is true when not specified.\").optional(),\n}).describe(\"Request model for creating or updating a subscriber.\");\nconst SenderCreateOrUpdateSubscriber_SubscriberResponseDataSchema = z.object({\n id: z.string().describe(\"Subscriber's unique identifier\").nullable().optional(),\n email: z.string().describe(\"Subscriber's email address\").nullable().optional(),\n phone: z.string().describe(\"Subscriber's phone number\").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 lastname: z.string().describe(\"Subscriber's last name\").nullable().optional(),\n firstname: z.string().describe(\"Subscriber's first name\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the subscriber was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the subscriber was last updated\").nullable().optional(),\n}).passthrough().describe(\"Subscriber data in the response.\");\nexport const SenderCreateOrUpdateSubscriberOutput = z.object({\n data: SenderCreateOrUpdateSubscriber_SubscriberResponseDataSchema.nullable().optional(),\n message: z.union([z.string(), z.array(z.string()), z.record(z.string(), z.unknown())]).nullable().optional(),\n success: z.boolean().describe(\"Indicates if the operation was successful\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating or updating a subscriber.\");\n\nexport const senderCreateOrUpdateSubscriber = action(\"SENDER_CREATE_OR_UPDATE_SUBSCRIBER\", {\n slug: \"sender-create-or-update-subscriber\",\n name: \"Create Or Update Subscriber\",\n description: \"Tool to create a new subscriber or update an existing one in Sender.net. Use when you need to add new subscribers to your email list or update existing subscriber information. This performs an upsert operation - creates if the email doesn't exist, updates if it does.\",\n input: SenderCreateOrUpdateSubscriberInput,\n output: SenderCreateOrUpdateSubscriberOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;CAC5H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAClE,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS;CACrM,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACjG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAClE,WAAWA,IAAAA,EAAE,OAAO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AAAA,EAAE,OAAO;CAC3D,MAAM,4DAA4D,SAAS,CAAC,CAAC,SAAS;CACtF,SAASA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC;EAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -4,7 +4,7 @@ import { z } from "zod";
4
4
  declare const SenderCreateOrUpdateSubscriberInput: z.ZodObject<{
5
5
  email: z.ZodString;
6
6
  phone: z.ZodOptional<z.ZodString>;
7
- fields: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
7
+ fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8
8
  groups: z.ZodOptional<z.ZodArray<z.ZodString>>;
9
9
  lastname: z.ZodOptional<z.ZodString>;
10
10
  firstname: z.ZodOptional<z.ZodString>;
@@ -15,20 +15,20 @@ declare const SenderCreateOrUpdateSubscriberOutput: z.ZodObject<{
15
15
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
- fields: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
18
+ fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
19
19
  groups: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
20
20
  lastname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
22
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
23
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
- }, z.core.$strip>>>;
25
- message: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodObject<{}, z.core.$strip>]>>>;
24
+ }, z.core.$loose>>>;
25
+ message: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
26
26
  success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
27
- }, z.core.$strip>;
27
+ }, z.core.$loose>;
28
28
  declare const senderCreateOrUpdateSubscriber: import("@keystrokehq/action").WorkflowActionDefinition<{
29
29
  email: string;
30
30
  phone?: string | undefined;
31
- fields?: Record<string, never> | undefined;
31
+ fields?: Record<string, unknown> | undefined;
32
32
  groups?: string[] | undefined;
33
33
  lastname?: string | undefined;
34
34
  firstname?: string | undefined;
@@ -4,7 +4,7 @@ import { z } from "zod";
4
4
  declare const SenderCreateOrUpdateSubscriberInput: z.ZodObject<{
5
5
  email: z.ZodString;
6
6
  phone: z.ZodOptional<z.ZodString>;
7
- fields: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
7
+ fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8
8
  groups: z.ZodOptional<z.ZodArray<z.ZodString>>;
9
9
  lastname: z.ZodOptional<z.ZodString>;
10
10
  firstname: z.ZodOptional<z.ZodString>;
@@ -15,20 +15,20 @@ declare const SenderCreateOrUpdateSubscriberOutput: z.ZodObject<{
15
15
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
- fields: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
18
+ fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
19
19
  groups: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
20
20
  lastname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
22
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
23
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
- }, z.core.$strip>>>;
25
- message: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodObject<{}, z.core.$strip>]>>>;
24
+ }, z.core.$loose>>>;
25
+ message: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
26
26
  success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
27
- }, z.core.$strip>;
27
+ }, z.core.$loose>;
28
28
  declare const senderCreateOrUpdateSubscriber: import("@keystrokehq/action").WorkflowActionDefinition<{
29
29
  email: string;
30
30
  phone?: string | undefined;
31
- fields?: Record<string, never> | undefined;
31
+ fields?: Record<string, unknown> | undefined;
32
32
  groups?: string[] | undefined;
33
33
  lastname?: string | undefined;
34
34
  firstname?: string | undefined;
@@ -4,7 +4,7 @@ import { z } from "zod";
4
4
  const SenderCreateOrUpdateSubscriberInput = z.object({
5
5
  email: z.string().describe("Subscriber's email address. This is required and will be used to identify existing subscribers."),
6
6
  phone: z.string().describe("Subscriber's phone number.").optional(),
7
- fields: z.object({}).describe("Custom fields object for additional subscriber attributes such as birthday, gender, location, company, title, or other relevant data.").optional(),
7
+ fields: z.record(z.string(), z.unknown()).describe("Custom fields object for additional subscriber attributes such as birthday, gender, location, company, title, or other relevant data.").optional(),
8
8
  groups: z.array(z.string()).describe("Array of group IDs to assign the subscriber to.").optional(),
9
9
  lastname: z.string().describe("Subscriber's last name.").optional(),
10
10
  firstname: z.string().describe("Subscriber's first name.").optional(),
@@ -14,13 +14,13 @@ const SenderCreateOrUpdateSubscriber_SubscriberResponseDataSchema = z.object({
14
14
  id: z.string().describe("Subscriber's unique identifier").nullable().optional(),
15
15
  email: z.string().describe("Subscriber's email address").nullable().optional(),
16
16
  phone: z.string().describe("Subscriber's phone number").nullable().optional(),
17
- fields: z.object({}).describe("Custom field values").nullable().optional(),
17
+ fields: z.record(z.string(), z.unknown()).describe("Custom field values").nullable().optional(),
18
18
  groups: z.array(z.string()).describe("Array of group IDs the subscriber belongs to").nullable().optional(),
19
19
  lastname: z.string().describe("Subscriber's last name").nullable().optional(),
20
20
  firstname: z.string().describe("Subscriber's first name").nullable().optional(),
21
21
  created_at: z.string().describe("Timestamp when the subscriber was created").nullable().optional(),
22
22
  updated_at: z.string().describe("Timestamp when the subscriber was last updated").nullable().optional()
23
- }).describe("Subscriber data in the response.");
23
+ }).passthrough().describe("Subscriber data in the response.");
24
24
  const senderCreateOrUpdateSubscriber = action("SENDER_CREATE_OR_UPDATE_SUBSCRIBER", {
25
25
  slug: "sender-create-or-update-subscriber",
26
26
  name: "Create Or Update Subscriber",
@@ -31,10 +31,10 @@ const senderCreateOrUpdateSubscriber = action("SENDER_CREATE_OR_UPDATE_SUBSCRIBE
31
31
  message: z.union([
32
32
  z.string(),
33
33
  z.array(z.string()),
34
- z.object({})
34
+ z.record(z.string(), z.unknown())
35
35
  ]).nullable().optional(),
36
36
  success: z.boolean().describe("Indicates if the operation was successful").nullable().optional()
37
- }).describe("Response model for creating or updating a subscriber.")
37
+ }).passthrough().describe("Response model for creating or updating a subscriber.")
38
38
  });
39
39
  //#endregion
40
40
  export { senderCreateOrUpdateSubscriber };
@@ -1 +1 @@
1
- {"version":3,"file":"create-or-update-subscriber.mjs","names":[],"sources":["../../src/actions/create-or-update-subscriber.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SenderCreateOrUpdateSubscriberInput = z.object({\n email: z.string().describe(\"Subscriber's email address. This is required and will be used to identify existing subscribers.\"),\n phone: z.string().describe(\"Subscriber's phone number.\").optional(),\n fields: z.object({}).describe(\"Custom fields object for additional subscriber attributes such as birthday, gender, location, company, title, or other relevant data.\").optional(),\n groups: z.array(z.string()).describe(\"Array of group IDs to assign the subscriber to.\").optional(),\n lastname: z.string().describe(\"Subscriber's last name.\").optional(),\n firstname: z.string().describe(\"Subscriber's first name.\").optional(),\n trigger_automation: z.boolean().describe(\"Whether to trigger email automations for this subscriber. Default is true when not specified.\").optional(),\n}).describe(\"Request model for creating or updating a subscriber.\");\nconst SenderCreateOrUpdateSubscriber_SubscriberResponseDataSchema = z.object({\n id: z.string().describe(\"Subscriber's unique identifier\").nullable().optional(),\n email: z.string().describe(\"Subscriber's email address\").nullable().optional(),\n phone: z.string().describe(\"Subscriber's phone number\").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 lastname: z.string().describe(\"Subscriber's last name\").nullable().optional(),\n firstname: z.string().describe(\"Subscriber's first name\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the subscriber was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the subscriber was last updated\").nullable().optional(),\n}).describe(\"Subscriber data in the response.\");\nexport const SenderCreateOrUpdateSubscriberOutput = z.object({\n data: SenderCreateOrUpdateSubscriber_SubscriberResponseDataSchema.nullable().optional(),\n message: z.union([z.string(), z.array(z.string()), z.object({})]).nullable().optional(),\n success: z.boolean().describe(\"Indicates if the operation was successful\").nullable().optional(),\n}).describe(\"Response model for creating or updating a subscriber.\");\n\nexport const senderCreateOrUpdateSubscriber = action(\"SENDER_CREATE_OR_UPDATE_SUBSCRIBER\", {\n slug: \"sender-create-or-update-subscriber\",\n name: \"Create Or Update Subscriber\",\n description: \"Tool to create a new subscriber or update an existing one in Sender.net. Use when you need to add new subscribers to your email list or update existing subscriber information. This performs an upsert operation - creates if the email doesn't exist, updates if it does.\",\n input: SenderCreateOrUpdateSubscriberInput,\n output: SenderCreateOrUpdateSubscriberOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;CAC5H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAClE,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS;CAChL,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACjG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAClE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACpE,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;AACrJ,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,8DAA8D,EAAE,OAAO;CAC3E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAO9C,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXkD,EAAE,OAAO;EAC3D,MAAM,4DAA4D,SAAS,CAAC,CAAC,SAAS;EACtF,SAAS,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG,EAAE,MAAM,EAAE,OAAO,CAAC;GAAG,EAAE,OAAO,CAAC,CAAC;EAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-or-update-subscriber.mjs","names":[],"sources":["../../src/actions/create-or-update-subscriber.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SenderCreateOrUpdateSubscriberInput = z.object({\n email: z.string().describe(\"Subscriber's email address. This is required and will be used to identify existing subscribers.\"),\n phone: z.string().describe(\"Subscriber's phone number.\").optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"Custom fields object for additional subscriber attributes such as birthday, gender, location, company, title, or other relevant data.\").optional(),\n groups: z.array(z.string()).describe(\"Array of group IDs to assign the subscriber to.\").optional(),\n lastname: z.string().describe(\"Subscriber's last name.\").optional(),\n firstname: z.string().describe(\"Subscriber's first name.\").optional(),\n trigger_automation: z.boolean().describe(\"Whether to trigger email automations for this subscriber. Default is true when not specified.\").optional(),\n}).describe(\"Request model for creating or updating a subscriber.\");\nconst SenderCreateOrUpdateSubscriber_SubscriberResponseDataSchema = z.object({\n id: z.string().describe(\"Subscriber's unique identifier\").nullable().optional(),\n email: z.string().describe(\"Subscriber's email address\").nullable().optional(),\n phone: z.string().describe(\"Subscriber's phone number\").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 lastname: z.string().describe(\"Subscriber's last name\").nullable().optional(),\n firstname: z.string().describe(\"Subscriber's first name\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the subscriber was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the subscriber was last updated\").nullable().optional(),\n}).passthrough().describe(\"Subscriber data in the response.\");\nexport const SenderCreateOrUpdateSubscriberOutput = z.object({\n data: SenderCreateOrUpdateSubscriber_SubscriberResponseDataSchema.nullable().optional(),\n message: z.union([z.string(), z.array(z.string()), z.record(z.string(), z.unknown())]).nullable().optional(),\n success: z.boolean().describe(\"Indicates if the operation was successful\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating or updating a subscriber.\");\n\nexport const senderCreateOrUpdateSubscriber = action(\"SENDER_CREATE_OR_UPDATE_SUBSCRIBER\", {\n slug: \"sender-create-or-update-subscriber\",\n name: \"Create Or Update Subscriber\",\n description: \"Tool to create a new subscriber or update an existing one in Sender.net. Use when you need to add new subscribers to your email list or update existing subscriber information. This performs an upsert operation - creates if the email doesn't exist, updates if it does.\",\n input: SenderCreateOrUpdateSubscriberInput,\n output: SenderCreateOrUpdateSubscriberOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,O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AAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAO5D,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXkD,EAAE,OAAO;EAC3D,MAAM,4DAA4D,SAAS,CAAC,CAAC,SAAS;EACtF,SAAS,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG,EAAE,MAAM,EAAE,OAAO,CAAC;GAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC;EAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAOhB;AACV,CAAC"}
@@ -13,8 +13,8 @@ const SenderGetAllFields_FieldItemSchema = zod.z.object({
13
13
  zod.z.number(),
14
14
  zod.z.boolean()
15
15
  ]).nullable().optional()
16
- }).describe("Represents a single custom subscriber field.");
17
- const SenderGetAllFieldsOutput = zod.z.object({ data: zod.z.array(SenderGetAllFields_FieldItemSchema).describe("List of custom subscriber fields.").nullable().optional() }).describe("Response model for listing all custom subscriber fields.");
16
+ }).passthrough().describe("Represents a single custom subscriber field.");
17
+ const SenderGetAllFieldsOutput = zod.z.object({ data: zod.z.array(SenderGetAllFields_FieldItemSchema).describe("List of custom subscriber fields.").nullable().optional() }).passthrough().describe("Response model for listing all custom subscriber fields.");
18
18
  const senderGetAllFields = require_action.action("SENDER_GET_ALL_FIELDS", {
19
19
  slug: "sender-get-all-fields",
20
20
  name: "Get All Fields",
@@ -1 +1 @@
1
- {"version":3,"file":"get-all-fields.cjs","names":["z","action"],"sources":["../../src/actions/get-all-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SenderGetAllFieldsInput = z.object({}).describe(\"Request model for retrieving all custom subscriber fields. No parameters required.\");\nconst SenderGetAllFields_FieldItemSchema = z.object({\n fieldkey: z.string().describe(\"Unique key identifier for the custom field.\").nullable().optional(),\n required: z.boolean().describe(\"Indicates whether the field is required.\").nullable().optional(),\n fieldname: z.string().describe(\"Display name of the custom field.\").nullable().optional(),\n fieldtype: z.string().describe(\"Data type of the field (e.g., text, number, date).\").nullable().optional(),\n default_value: z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable().optional(),\n}).describe(\"Represents a single custom subscriber field.\");\nexport const SenderGetAllFieldsOutput = z.object({\n data: z.array(SenderGetAllFields_FieldItemSchema).describe(\"List of custom subscriber fields.\").nullable().optional(),\n}).describe(\"Response model for listing all custom subscriber fields.\");\n\nexport const senderGetAllFields = action(\"SENDER_GET_ALL_FIELDS\", {\n slug: \"sender-get-all-fields\",\n name: \"Get All Fields\",\n description: \"Tool to retrieve a list of all custom subscriber fields configured in the Sender.net account. Use when you need to view available fields for email personalization, segmentation, or managing subscriber data.\",\n input: SenderGetAllFieldsInput,\n output: SenderGetAllFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oFAAoF;AACjJ,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,eAAeA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,MAAMA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtH,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAEtE,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-all-fields.cjs","names":["z","action"],"sources":["../../src/actions/get-all-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SenderGetAllFieldsInput = z.object({}).describe(\"Request model for retrieving all custom subscriber fields. No parameters required.\");\nconst SenderGetAllFields_FieldItemSchema = z.object({\n fieldkey: z.string().describe(\"Unique key identifier for the custom field.\").nullable().optional(),\n required: z.boolean().describe(\"Indicates whether the field is required.\").nullable().optional(),\n fieldname: z.string().describe(\"Display name of the custom field.\").nullable().optional(),\n fieldtype: z.string().describe(\"Data type of the field (e.g., text, number, date).\").nullable().optional(),\n default_value: z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable().optional(),\n}).passthrough().describe(\"Represents a single custom subscriber field.\");\nexport const SenderGetAllFieldsOutput = z.object({\n data: z.array(SenderGetAllFields_FieldItemSchema).describe(\"List of custom subscriber fields.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing all custom subscriber fields.\");\n\nexport const senderGetAllFields = action(\"SENDER_GET_ALL_FIELDS\", {\n slug: \"sender-get-all-fields\",\n name: \"Get All Fields\",\n description: \"Tool to retrieve a list of all custom subscriber fields configured in the Sender.net account. Use when you need to view available fields for email personalization, segmentation, or managing subscriber data.\",\n input: SenderGetAllFieldsInput,\n output: SenderGetAllFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oFAAoF;AACjJ,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,eAAeA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,MAAMA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAEpF,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -9,8 +9,8 @@ declare const SenderGetAllFieldsOutput: z.ZodObject<{
9
9
  fieldname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
10
  fieldtype: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
11
  default_value: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>;
12
- }, z.core.$strip>>>>;
13
- }, z.core.$strip>;
12
+ }, z.core.$loose>>>>;
13
+ }, z.core.$loose>;
14
14
  declare const senderGetAllFields: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
15
15
  //#endregion
16
16
  export { senderGetAllFields };
@@ -9,8 +9,8 @@ declare const SenderGetAllFieldsOutput: z.ZodObject<{
9
9
  fieldname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
10
  fieldtype: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
11
  default_value: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>;
12
- }, z.core.$strip>>>>;
13
- }, z.core.$strip>;
12
+ }, z.core.$loose>>>>;
13
+ }, z.core.$loose>;
14
14
  declare const senderGetAllFields: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
15
15
  //#endregion
16
16
  export { senderGetAllFields };
@@ -13,13 +13,13 @@ const SenderGetAllFields_FieldItemSchema = z.object({
13
13
  z.number(),
14
14
  z.boolean()
15
15
  ]).nullable().optional()
16
- }).describe("Represents a single custom subscriber field.");
16
+ }).passthrough().describe("Represents a single custom subscriber field.");
17
17
  const senderGetAllFields = action("SENDER_GET_ALL_FIELDS", {
18
18
  slug: "sender-get-all-fields",
19
19
  name: "Get All Fields",
20
20
  description: "Tool to retrieve a list of all custom subscriber fields configured in the Sender.net account. Use when you need to view available fields for email personalization, segmentation, or managing subscriber data.",
21
21
  input: SenderGetAllFieldsInput,
22
- output: z.object({ data: z.array(SenderGetAllFields_FieldItemSchema).describe("List of custom subscriber fields.").nullable().optional() }).describe("Response model for listing all custom subscriber fields.")
22
+ output: z.object({ data: z.array(SenderGetAllFields_FieldItemSchema).describe("List of custom subscriber fields.").nullable().optional() }).passthrough().describe("Response model for listing all custom subscriber fields.")
23
23
  });
24
24
  //#endregion
25
25
  export { senderGetAllFields };
@@ -1 +1 @@
1
- {"version":3,"file":"get-all-fields.mjs","names":[],"sources":["../../src/actions/get-all-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SenderGetAllFieldsInput = z.object({}).describe(\"Request model for retrieving all custom subscriber fields. No parameters required.\");\nconst SenderGetAllFields_FieldItemSchema = z.object({\n fieldkey: z.string().describe(\"Unique key identifier for the custom field.\").nullable().optional(),\n required: z.boolean().describe(\"Indicates whether the field is required.\").nullable().optional(),\n fieldname: z.string().describe(\"Display name of the custom field.\").nullable().optional(),\n fieldtype: z.string().describe(\"Data type of the field (e.g., text, number, date).\").nullable().optional(),\n default_value: z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable().optional(),\n}).describe(\"Represents a single custom subscriber field.\");\nexport const SenderGetAllFieldsOutput = z.object({\n data: z.array(SenderGetAllFields_FieldItemSchema).describe(\"List of custom subscriber fields.\").nullable().optional(),\n}).describe(\"Response model for listing all custom subscriber fields.\");\n\nexport const senderGetAllFields = action(\"SENDER_GET_ALL_FIELDS\", {\n slug: \"sender-get-all-fields\",\n name: \"Get All Fields\",\n description: \"Tool to retrieve a list of all custom subscriber fields configured in the Sender.net account. Use when you need to view available fields for email personalization, segmentation, or managing subscriber data.\",\n input: SenderGetAllFieldsInput,\n output: SenderGetAllFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oFAAoF;AACjJ,MAAM,qCAAqC,EAAE,OAAO;CAClD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,eAAe,EAAE,MAAM;EAAC,EAAE,OAAO;EAAG,EAAE,OAAO,CAAC,CAAC,IAAI;EAAG,EAAE,OAAO;EAAG,EAAE,QAAQ;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAK1D,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsC,EAAE,OAAO,EAC/C,MAAM,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtH,CAAC,CAAC,CAAC,SAAS,0DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-all-fields.mjs","names":[],"sources":["../../src/actions/get-all-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SenderGetAllFieldsInput = z.object({}).describe(\"Request model for retrieving all custom subscriber fields. No parameters required.\");\nconst SenderGetAllFields_FieldItemSchema = z.object({\n fieldkey: z.string().describe(\"Unique key identifier for the custom field.\").nullable().optional(),\n required: z.boolean().describe(\"Indicates whether the field is required.\").nullable().optional(),\n fieldname: z.string().describe(\"Display name of the custom field.\").nullable().optional(),\n fieldtype: z.string().describe(\"Data type of the field (e.g., text, number, date).\").nullable().optional(),\n default_value: z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable().optional(),\n}).passthrough().describe(\"Represents a single custom subscriber field.\");\nexport const SenderGetAllFieldsOutput = z.object({\n data: z.array(SenderGetAllFields_FieldItemSchema).describe(\"List of custom subscriber fields.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing all custom subscriber fields.\");\n\nexport const senderGetAllFields = action(\"SENDER_GET_ALL_FIELDS\", {\n slug: \"sender-get-all-fields\",\n name: \"Get All Fields\",\n description: \"Tool to retrieve a list of all custom subscriber fields configured in the Sender.net account. Use when you need to view available fields for email personalization, segmentation, or managing subscriber data.\",\n input: SenderGetAllFieldsInput,\n output: SenderGetAllFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oFAAoF;AACjJ,MAAM,qCAAqC,EAAE,OAAO;CAClD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,eAAe,EAAE,MAAM;EAAC,EAAE,OAAO;EAAG,EAAE,OAAO,CAAC,CAAC,IAAI;EAAG,EAAE,OAAO;EAAG,EAAE,QAAQ;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAKxE,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsC,EAAE,OAAO,EAC/C,MAAM,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAOhB;AACV,CAAC"}
@@ -8,8 +8,8 @@ const SenderGetAllWorkflows_WorkflowSchema = zod.z.object({
8
8
  status: zod.z.string().describe("Status of the workflow (e.g., active, inactive).").nullable().optional(),
9
9
  created_at: zod.z.string().describe("Timestamp when the workflow was created.").nullable().optional(),
10
10
  updated_at: zod.z.string().describe("Timestamp when the workflow was last updated.").nullable().optional()
11
- }).describe("Represents a single automation workflow.");
12
- const SenderGetAllWorkflowsOutput = zod.z.object({ data: zod.z.array(SenderGetAllWorkflows_WorkflowSchema).describe("List of automation workflows.").nullable().optional() }).describe("Response model for listing all automation workflows.");
11
+ }).passthrough().describe("Represents a single automation workflow.");
12
+ const SenderGetAllWorkflowsOutput = zod.z.object({ data: zod.z.array(SenderGetAllWorkflows_WorkflowSchema).describe("List of automation workflows.").nullable().optional() }).passthrough().describe("Response model for listing all automation workflows.");
13
13
  const senderGetAllWorkflows = require_action.action("SENDER_GET_ALL_WORKFLOWS", {
14
14
  slug: "sender-get-all-workflows",
15
15
  name: "Get All Workflows",
@@ -1 +1 @@
1
- {"version":3,"file":"get-all-workflows.cjs","names":["z","action"],"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}).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}).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,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAChJ,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,MAAMA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpH,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-all-workflows.cjs","names":["z","action"],"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,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAChJ,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,MAAMA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -9,8 +9,8 @@ declare const SenderGetAllWorkflowsOutput: z.ZodObject<{
9
9
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
10
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
11
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
- }, z.core.$strip>>>>;
13
- }, z.core.$strip>;
12
+ }, z.core.$loose>>>>;
13
+ }, z.core.$loose>;
14
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]>;
15
15
  //#endregion
16
16
  export { senderGetAllWorkflows };
@@ -9,8 +9,8 @@ declare const SenderGetAllWorkflowsOutput: z.ZodObject<{
9
9
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
10
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
11
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
- }, z.core.$strip>>>>;
13
- }, z.core.$strip>;
12
+ }, z.core.$loose>>>>;
13
+ }, z.core.$loose>;
14
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]>;
15
15
  //#endregion
16
16
  export { senderGetAllWorkflows };
@@ -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.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}).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}).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,SAAS,0CAA0C;AAKtD,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,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.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}).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;CAChF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,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,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C,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,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,wBAAwBC,eAAAA,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -21,7 +21,7 @@ declare const SenderGetCampaignByIdOutput: z.ZodObject<{
21
21
  spam_complaints: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
22
  total_emails_sent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
23
  total_emails_delivered: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
- }, z.core.$strip>;
24
+ }, z.core.$loose>;
25
25
  declare const senderGetCampaignById: import("@keystrokehq/action").WorkflowActionDefinition<{
26
26
  campaign_id: string;
27
27
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -21,7 +21,7 @@ declare const SenderGetCampaignByIdOutput: z.ZodObject<{
21
21
  spam_complaints: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
22
  total_emails_sent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
23
  total_emails_delivered: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
- }, z.core.$strip>;
24
+ }, z.core.$loose>;
25
25
  declare const senderGetCampaignById: import("@keystrokehq/action").WorkflowActionDefinition<{
26
26
  campaign_id: string;
27
27
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -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.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}).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,CA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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":";;AA0B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,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.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}).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,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAE1E,MAAa,qBAAqBC,eAAAA,OAAO,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,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AAExF,MAAa,qBAAqBC,eAAAA,OAAO,0BAA0B;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -14,7 +14,7 @@ declare const SenderGetGroupByIdOutput: z.ZodObject<{
14
14
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
15
  unconfirmed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
16
  unsubscribed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
- }, z.core.$strip>;
17
+ }, z.core.$loose>;
18
18
  declare const senderGetGroupById: import("@keystrokehq/action").WorkflowActionDefinition<{
19
19
  group_id: string;
20
20
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -14,7 +14,7 @@ declare const SenderGetGroupByIdOutput: z.ZodObject<{
14
14
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
15
  unconfirmed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
16
  unsubscribed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
- }, z.core.$strip>;
17
+ }, z.core.$loose>;
18
18
  declare const senderGetGroupById: import("@keystrokehq/action").WorkflowActionDefinition<{
19
19
  group_id: string;
20
20
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -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.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}).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,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.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.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,+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,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+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aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -7,14 +7,14 @@ declare const SenderGetSubscriberByIdInput: z.ZodObject<{
7
7
  declare const SenderGetSubscriberByIdOutput: z.ZodObject<{
8
8
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
9
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
- fields: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
10
+ fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
11
11
  groups: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
12
12
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
13
  created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
15
  lastname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
- }, z.core.$strip>;
17
+ }, z.core.$loose>;
18
18
  declare const senderGetSubscriberById: import("@keystrokehq/action").WorkflowActionDefinition<{
19
19
  subscriber_id: string;
20
20
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -7,14 +7,14 @@ declare const SenderGetSubscriberByIdInput: z.ZodObject<{
7
7
  declare const SenderGetSubscriberByIdOutput: z.ZodObject<{
8
8
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
9
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
- fields: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
10
+ fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
11
11
  groups: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
12
12
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
13
  created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
15
  lastname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
- }, z.core.$strip>;
17
+ }, z.core.$loose>;
18
18
  declare const senderGetSubscriberById: import("@keystrokehq/action").WorkflowActionDefinition<{
19
19
  subscriber_id: string;
20
20
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -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.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.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,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,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.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}).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.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.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,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,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9D,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,QAAQA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,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,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,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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BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,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,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,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,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -12,18 +12,18 @@ declare const SenderUpdateSubscriberFieldsOutput: z.ZodObject<{
12
12
  data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
13
13
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
- fields: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
15
+ fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
16
16
  groups: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
17
17
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
18
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
- }, z.core.$strip>>>>;
19
+ }, z.core.$loose>>>>;
20
20
  lastname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
22
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
23
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
- }, z.core.$strip>>>;
24
+ }, z.core.$loose>>>;
25
25
  success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
26
- }, z.core.$strip>;
26
+ }, z.core.$loose>;
27
27
  declare const senderUpdateSubscriberFields: import("@keystrokehq/action").WorkflowActionDefinition<{
28
28
  subscriber_id: string;
29
29
  email?: string | undefined;
@@ -12,18 +12,18 @@ declare const SenderUpdateSubscriberFieldsOutput: z.ZodObject<{
12
12
  data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
13
13
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
- fields: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
15
+ fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
16
16
  groups: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
17
17
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
18
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
- }, z.core.$strip>>>>;
19
+ }, z.core.$loose>>>>;
20
20
  lastname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
22
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
23
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
- }, z.core.$strip>>>;
24
+ }, z.core.$loose>>>;
25
25
  success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
26
- }, z.core.$strip>;
26
+ }, z.core.$loose>;
27
27
  declare const senderUpdateSubscriberFields: import("@keystrokehq/action").WorkflowActionDefinition<{
28
28
  subscriber_id: string;
29
29
  email?: string | undefined;
@@ -11,17 +11,17 @@ const SenderUpdateSubscriberFieldsInput = z.object({
11
11
  const SenderUpdateSubscriberFields_GroupInfoSchema = z.object({
12
12
  id: z.string().describe("Group identifier").nullable().optional(),
13
13
  name: 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 = z.object({
16
16
  id: z.string().describe("The subscriber's unique identifier").nullable().optional(),
17
17
  email: z.string().describe("The subscriber's email address").nullable().optional(),
18
- fields: z.object({}).describe("Custom field key-value pairs").nullable().optional(),
18
+ fields: z.record(z.string(), z.unknown()).describe("Custom field key-value pairs").nullable().optional(),
19
19
  groups: z.array(SenderUpdateSubscriberFields_GroupInfoSchema).describe("Array of group objects the subscriber belongs to").nullable().optional(),
20
20
  lastname: z.string().describe("The subscriber's last name").nullable().optional(),
21
21
  firstname: z.string().describe("The subscriber's first name").nullable().optional(),
22
22
  created_at: z.string().describe("Timestamp of when the subscriber was created").nullable().optional(),
23
23
  updated_at: 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 senderUpdateSubscriberFields = action("SENDER_UPDATE_SUBSCRIBER_FIELDS", {
26
26
  slug: "sender-update-subscriber-fields",
27
27
  name: "Update Subscriber Fields",
@@ -30,7 +30,7 @@ const senderUpdateSubscriberFields = action("SENDER_UPDATE_SUBSCRIBER_FIELDS", {
30
30
  output: z.object({
31
31
  data: SenderUpdateSubscriberFields_SubscriberDataSchema.nullable().optional(),
32
32
  success: z.boolean().describe("Indicates if the update was successful").nullable().optional()
33
- }).describe("Response model for updating subscriber fields.")
33
+ }).passthrough().describe("Response model for updating subscriber fields.")
34
34
  });
35
35
  //#endregion
36
36
  export { senderUpdateSubscriberFields };
@@ -1 +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.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}).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.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.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,oCAAoC,EAAE,OAAO;CACxD,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,+CAA+C,EAAE,OAAO;CAC5D,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,+CAA+C;AAC3D,MAAM,oDAAoD,EAAE,OAAO;CACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,QAAQ,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAMjD,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVgD,EAAE,OAAO;EACzD,MAAM,kDAAkD,SAAS,CAAC,CAAC,SAAS;EAC5E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
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.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,oCAAoC,EAAE,OAAO;CACxD,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,MA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S;EAC5E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
package/dist/catalog.cjs CHANGED
@@ -8,7 +8,7 @@ const senderCatalog = {
8
8
  "logo": "https://logos.composio.dev/api/sender",
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
- "credentialFields": { "api_token": {
11
+ "credentialFields": { "generic_api_key": {
12
12
  "label": "API Token",
13
13
  "secret": true,
14
14
  "description": "Navigate to Settings > API access tokens in your Sender account to create a token"
@@ -1 +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 \"credentialFields\": {\n \"api_token\": {\n \"label\": \"API Token\",\n \"secret\": true,\n \"description\": \"Navigate to Settings > API access tokens in your Sender account to create a token\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,gBAAgB;CAC3B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,aAAa;EACX,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
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 \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"API Token\",\n \"secret\": true,\n \"description\": \"Navigate to Settings > API access tokens in your Sender account to create a token\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,gBAAgB;CAC3B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
@@ -9,7 +9,7 @@ declare const senderCatalog: {
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
11
  readonly credentialFields: {
12
- readonly api_token: {
12
+ readonly generic_api_key: {
13
13
  readonly label: "API Token";
14
14
  readonly secret: true;
15
15
  readonly description: "Navigate to Settings > API access tokens in your Sender account to create a token";
@@ -9,7 +9,7 @@ declare const senderCatalog: {
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
11
  readonly credentialFields: {
12
- readonly api_token: {
12
+ readonly generic_api_key: {
13
13
  readonly label: "API Token";
14
14
  readonly secret: true;
15
15
  readonly description: "Navigate to Settings > API access tokens in your Sender account to create a token";
package/dist/catalog.mjs CHANGED
@@ -8,7 +8,7 @@ const senderCatalog = {
8
8
  "logo": "https://logos.composio.dev/api/sender",
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
- "credentialFields": { "api_token": {
11
+ "credentialFields": { "generic_api_key": {
12
12
  "label": "API Token",
13
13
  "secret": true,
14
14
  "description": "Navigate to Settings > API access tokens in your Sender account to create a token"
@@ -1 +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 \"credentialFields\": {\n \"api_token\": {\n \"label\": \"API Token\",\n \"secret\": true,\n \"description\": \"Navigate to Settings > API access tokens in your Sender account to create a token\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,gBAAgB;CAC3B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,aAAa;EACX,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
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 \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"API Token\",\n \"secret\": true,\n \"description\": \"Navigate to Settings > API access tokens in your Sender account to create a token\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,gBAAgB;CAC3B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/sender",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"