@credal/actions 0.2.82 → 0.2.83

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.
@@ -3158,7 +3158,7 @@ export const resendSendEmailHtmlDefinition = {
3158
3158
  scopes: [],
3159
3159
  parameters: {
3160
3160
  type: "object",
3161
- required: ["to", "subject", "html"],
3161
+ required: ["to", "subject", "content"],
3162
3162
  properties: {
3163
3163
  to: {
3164
3164
  type: "string",
@@ -3168,9 +3168,9 @@ export const resendSendEmailHtmlDefinition = {
3168
3168
  type: "string",
3169
3169
  description: "The subject of the email",
3170
3170
  },
3171
- html: {
3171
+ content: {
3172
3172
  type: "string",
3173
- description: "The HTML content of the email",
3173
+ description: "The HTML content of the email to be sent",
3174
3174
  },
3175
3175
  },
3176
3176
  },
@@ -3084,15 +3084,15 @@ export type resendSendEmailFunction = ActionFunction<resendSendEmailParamsType,
3084
3084
  export declare const resendSendEmailHtmlParamsSchema: z.ZodObject<{
3085
3085
  to: z.ZodString;
3086
3086
  subject: z.ZodString;
3087
- html: z.ZodString;
3087
+ content: z.ZodString;
3088
3088
  }, "strip", z.ZodTypeAny, {
3089
+ content: string;
3089
3090
  subject: string;
3090
3091
  to: string;
3091
- html: string;
3092
3092
  }, {
3093
+ content: string;
3093
3094
  subject: string;
3094
3095
  to: string;
3095
- html: string;
3096
3096
  }>;
3097
3097
  export type resendSendEmailHtmlParamsType = z.infer<typeof resendSendEmailHtmlParamsSchema>;
3098
3098
  export declare const resendSendEmailHtmlOutputSchema: z.ZodObject<{
@@ -946,7 +946,7 @@ export const resendSendEmailOutputSchema = z.object({
946
946
  export const resendSendEmailHtmlParamsSchema = z.object({
947
947
  to: z.string().describe("The email address to send the email to"),
948
948
  subject: z.string().describe("The subject of the email"),
949
- html: z.string().describe("The HTML content of the email"),
949
+ content: z.string().describe("The HTML content of the email to be sent"),
950
950
  });
951
951
  export const resendSendEmailHtmlOutputSchema = z.object({
952
952
  success: z.boolean().describe("Whether the email was sent successfully"),
@@ -18,7 +18,7 @@ const sendEmailHtml = (_a) => __awaiter(void 0, [_a], void 0, function* ({ param
18
18
  bcc: authParams.emailBcc,
19
19
  to: params.to,
20
20
  subject: params.subject,
21
- html: params.html,
21
+ html: params.content,
22
22
  });
23
23
  if (result.error) {
24
24
  throw new Error(result.error.message);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@credal/actions",
3
- "version": "0.2.82",
3
+ "version": "0.2.83",
4
4
  "type": "module",
5
5
  "description": "AI Actions by Credal AI",
6
6
  "sideEffects": false,