You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ec588a9
Browse filesBrowse the repository at this point in the historyBrowse files
* feat(notifications): [1] remove the campaign-message methods whose gateway route was deleted
The gateway removed the duplicate route
GET /{version}/notifications/{emails|sms|push}/campaigns/{campaignId}/messages/{notificationId}.
get_email_campaign_message, get_sms_campaign_message and
get_push_campaign_message (sync and async) are removed with their tests and
docs rows.
Breaking: hub.notifications.get_email_campaign_message,
get_sms_campaign_message and get_push_campaign_message are removed. Use
get_email_campaign_batch_notification / get_sms_campaign_batch_notification /
get_push_campaign_batch_notification(id=campaign_id, batch_id=...,
notification_id=...) instead.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(notifications): [2] add stop_email_campaign, get_email_disable_dependencies, check_email_integration_domain_health, get_email_preferences_by_link
Four Email methods the gateway has and this SDK lacked (sync and async):
- hub.notifications.stop_email_campaign POST .../email/campaigns/{Id}/stop
- hub.notifications.get_email_disable_dependencies GET .../email/disable-dependencies
- hub.notifications.check_email_integration_domain_health POST .../email/integrations/domain-health
- hub.email.get_email_preferences_by_link GET /{version}/email/preferences
(scope optional: the signed unsubscribe-link token is the key)
tests/hub/test_email_routes.py mirrors test_push.py: one case per Email
route (50, routes and verbs from the gateway endpoint manifest) through the
capture transport, a surface-size guard, the auth/project headers, the
no-credentials call for the preferences link (sync and async) and an
async-twin check. docs/hub/notifications.md and docs/hub/email.md list them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(email): [3] send one_click_unsubscribe with scope optional so it works without a token
The gateway marks POST /{version}/email/one-click-unsubscribe as
requiresAuth false: the signed link in the e-mail is the key. With scope
"project" a client with no API key raised NORBIX_NOT_AUTHENTICATED. Sync and
async now use "optional" like get_email_preferences_by_link and the preview
links. Two new tests (sync, async): no credentials -> request sent, no
Authorization header (red with "project", green with "optional").
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
0 commit comments