@avallon-labs/sdk 26.12.0 → 27.0.0-staging.767

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -4398,7 +4398,8 @@ type ReplyToEmailBodyAttachmentsItem = {
4398
4398
 
4399
4399
  type ReplyToEmailBody = {
4400
4400
  /** @minLength 1 */
4401
- body_text: string;
4401
+ body: string;
4402
+ is_html?: boolean;
4402
4403
  to?: string[];
4403
4404
  cc?: string[];
4404
4405
  bcc?: string[];
@@ -4507,7 +4508,8 @@ type SendEmailBody = {
4507
4508
  /** @minLength 1 */
4508
4509
  subject: string;
4509
4510
  /** @minLength 1 */
4510
- body_text: string;
4511
+ body: string;
4512
+ is_html?: boolean;
4511
4513
  /** @deprecated */
4512
4514
  claim_id?: string;
4513
4515
  /** @maxItems 10 */
@@ -7001,6 +7003,8 @@ declare const useListEmailThreads: <TError = ErrorType<ErrorResponse>>(params?:
7001
7003
 
7002
7004
  Optionally include additional recipients via `to` (merged with the original sender), `cc`, and `bcc` arrays.
7003
7005
 
7006
+ The `body` is HTML by default. Set `is_html` to `false` to provide plain text instead; it is converted to HTML before sending.
7007
+
7004
7008
  Attach up to 10 files per request via the `attachments` array, each as a base64-encoded string. The total request body is limited to 6 MB, which leaves roughly 4 MB of decoded attachment data after base64 inflation. Larger requests are rejected with a 413 error.
7005
7009
  * @summary Reply to email
7006
7010
  */
@@ -7036,6 +7040,8 @@ declare const useReplyToEmail: <TError = ErrorType<ErrorResponse>>(emailId: stri
7036
7040
  /**
7037
7041
  * Send a new email through an inbox. The provider-assigned thread id is returned and persisted on the stored email row, so subsequent inbound replies on that thread are linked to this send.
7038
7042
 
7043
+ The `body` is HTML by default. Set `is_html` to `false` to provide plain text instead; it is converted to HTML before sending.
7044
+
7039
7045
  Attach up to 10 files per request via the `attachments` array, each as a base64-encoded string. The total request body is limited to 6 MB, which leaves roughly 4 MB of decoded attachment data after base64 inflation. Larger requests are rejected with a 413 error.
7040
7046
  * @summary Send email
7041
7047
  */