Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.43.0"
".": "0.44.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 12
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sequenzy/sequenzy-82ff31e45759730b6301de597bf2c06729584d65cd5e9716961ff3bb7a72a939.yml
openapi_spec_hash: 564c0e85855f3e92ea07775a5fc9f172
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sequenzy/sequenzy-5f9701982d400470e967d7bbc9054439d7243987231445dc9a71f3c7809e6fc2.yml
openapi_spec_hash: 2b3b6c678ef9af4378f15938586bf3cd
config_hash: 51c1d1194ac58d8c8e3162839c8f84dd
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.44.0 (2026-08-13)

Full Changelog: [v0.43.0...v0.44.0](https://github.com/Sequenzy/sequenzy-typescript/compare/v0.43.0...v0.44.0)

### Features

* **api:** api update ([f0518a1](https://github.com/Sequenzy/sequenzy-typescript/commit/f0518a1c4a48aafb9aa99ff2100693c74912b1c1))

## 0.43.0 (2026-08-10)

Full Changelog: [v0.42.0...v0.43.0](https://github.com/Sequenzy/sequenzy-typescript/compare/v0.42.0...v0.43.0)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sequenzy",
"version": "0.43.0",
"version": "0.44.0",
"description": "The official TypeScript library for the Sequenzy API",
"author": "Sequenzy <nic@sequenzy.com>",
"types": "dist/index.d.ts",
Expand Down
21 changes: 18 additions & 3 deletions src/resources/transactional.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,10 @@ export class Transactional extends APIResource {
* **Attachments:**
*
* - Attachments can be provided as Base64-encoded content or URLs
* - Maximum total attachment size: 40MB per email
* - Maximum 10 attachments and 7MB total per email
* - Any file type supported (PDFs, images, documents, etc.)
* - Set `contentId` on an attachment to embed it as an inline image referenced
* from the HTML as `<img src="cid:VALUE">`
*
* A successful response means the email was accepted for background processing.
* Transactional emails are not blocked by subscriber unsubscribe or double opt-in
Expand Down Expand Up @@ -370,7 +372,10 @@ export interface TransactionalSendParams {
* - `content`: Base64-encoded file content
* - `path`: URL to fetch the file from
*
* Maximum total size: 40MB per email.
* Set `contentId` to embed the file as an inline image the HTML references with
* `<img src="cid:VALUE">` instead of attaching it.
*
* Maximum 10 attachments and 7MB total per email.
*/
attachments?: Array<TransactionalSendParams.Attachment>;

Expand Down Expand Up @@ -493,7 +498,17 @@ export namespace TransactionalSendParams {
content?: string;

/**
* MIME type of the attachment (optional, auto-detected if not provided)
* Content-ID that embeds the file as an inline image instead of attaching it.
* Reference it from the HTML body as `<img src="cid:VALUE">`; the message is then
* sent as multipart/related, which is the only embedded-image form Gmail renders.
* If nothing in the HTML references the value, the file is sent as a normal
* attachment.
*/
contentId?: string;

/**
* MIME type of the attachment (optional, auto-detected from the filename if not
* provided)
*/
contentType?: string;

Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '0.43.0'; // x-release-please-version
export const VERSION = '0.44.0'; // x-release-please-version
1 change: 1 addition & 0 deletions tests/api-resources/transactional.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ describe('resource transactional', () => {
{
filename: 'invoice.pdf',
content: 'JVBERi0xLjQKJeLjz9MKMSAwIG9iago8PC...',
contentId: 'ticket-qr',
contentType: 'application/pdf',
path: 'https://example.com/invoices/123.pdf',
},
Expand Down
Loading