From 3ce4517485ffa2bcc31315a921189da2563511f7 Mon Sep 17 00:00:00 2001 From: Pavel Stejskal Date: Mon, 26 Feb 2024 10:31:46 +0100 Subject: [PATCH] Add Envelope.name and deprecate Envelope.emailSubject --- CHANGELOG.md | 4 ++++ src/Resource/Envelope.php | 3 +++ 2 files changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 77fb9c1..65400de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,10 @@ Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) princip - Add `DeactivateAccount` endpoint - Add `MyAccount.idpAlias` - Add `IdentifyScenarioInfo.approvalMode` +- Add `Envelope.name` + +### Deprecated +- Deprecate `Envelope.emailSubject` ## [2.2.0] - 2023-12-18 ### Added diff --git a/src/Resource/Envelope.php b/src/Resource/Envelope.php index 5cc1c1e..515da71 100644 --- a/src/Resource/Envelope.php +++ b/src/Resource/Envelope.php @@ -15,6 +15,9 @@ class Envelope extends BaseResource public ?string $metadata = null; + public string $name; + + /** @deprecated use $name instead */ public string $emailSubject; public string $emailBody;