From 4d57c7f49a55a220423a1b3ce6be018f953c3f1b Mon Sep 17 00:00:00 2001 From: voj-tech-j Date: Sat, 18 Apr 2026 18:43:58 +0200 Subject: [PATCH] chore: sync with upstream openapi.json --- CHANGELOG.md | 9 +++++++++ .../test_emails.cpython-313-pytest-9.0.3.pyc | Bin 54283 -> 54261 bytes tests/test_emails.py | 1 - 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 37ac4fc..e787c6b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed +- Synced with the latest OpenAPI spec: `ListEmailsResponse` and + `ListProjectsResponse` no longer carry a top-level `success` flag; + `ErrorCode` gained `retrieval_error`, `insufficient_scope`, and + `schedule_cancellation_failed`; the webhook event-type typo + `engagament.*` was corrected to `engagement.*`. No SDK behavior + change — `error_code` values and webhook `events` strings continue + to accept any value, so callers don't need to update their code. + ### Fixed - `emails.list()`, `emails.get()`, and `emails.list_events()` were reading responses at the wrong nesting level and silently returned empty results diff --git a/tests/__pycache__/test_emails.cpython-313-pytest-9.0.3.pyc b/tests/__pycache__/test_emails.cpython-313-pytest-9.0.3.pyc index 593885198a384a3552023562f12f4eb42789ed87..e667ee64c383eddc8c810b35b31b2d002ff1e85d 100644 GIT binary patch delta 739 zcmZvZUr19?9LMkP-kt02-R}PBY@4$bgw4#=!;&Ri2r+c2ZFo{lj6@TOaOnE~5avr1 z1{uGydcvfU8h77(2X+kH`UMeIK5|t8C-%;`RI~o#6qhi5 zzuOC~tnFUb1~zP(sFUs7t3YqsE2X9d_I$!5!d{k1zft7^Zh7&+R1^v^JJkmp@W_j= zaDuf>n?$*oyCt0ObMci+tKNq!`sbb&mPHS#gO!kn?0}R*KT5f9bcVtZGrX!2VLe9Y z>g6K+eyI`1_B-+ZTo+tM=j$|-ab~fPGr0_Lrg4?IA`%i`qxqONUkdVSv=76XLa4-+ SOq;n0!2d(wx}3tvO!N=9j@TFg delta 722 zcmYjNT}YEr82;Y#?eF`xZ<|Z^lQVNDY?adsE7Ud?DYdDY9>pju!G`p+l~bVtDe0!L zNO>t|7hM!(S%h+KB&OL#7na6`5zC7jK@kbHF!8d!Z{765dEV#n@IKFZ&-w&E{D?QM zNs`FPWi?mWlA+PsS6ZgCVSp*&SlHPuk9m!~?J2@0zqRHS-ppb|Aw zlb2AlS6vA-&&y+_e;3ZWMf|wmfiFk%QGcKme~xS-G#{rz$mbu`VTx6y9kORR z2GlC74aIoJe;FVYV^@cO(S~+uvsazVFwjEk#AHJ-PstGEqn2}?_eh>1+}1b)ZTPuy zRPW(ew0#5J-Qm7IHqb=DcmX)>GMBY*c4ykQ8Ckzi0nA41?8{J81TAa3zA8Ww3*0_UK!Z=?J;e7eU%}686L)#A;#|s(Zzl!tVS2I`I$7w+x*75?kZ1%8-blEJ3D|T(Pv97voqI28 zobs}9@R)!TA!%WHwZnlx~Kxxi0CtXpNvM6AdVMVtm da`wc)nXo@ri*?Igh7JJtFHXVV{W!H;{}-I9+w1@U diff --git a/tests/test_emails.py b/tests/test_emails.py index 9fe35c6..afd97b6 100644 --- a/tests/test_emails.py +++ b/tests/test_emails.py @@ -168,7 +168,6 @@ def test_list_regression_nested_events_wrapper( empty list when the API actually had emails. """ mock_client.get.return_value = { - "success": True, "message": "Emails retrieved successfully.", "data": { "events": {