Skip to content

Commit db7adbe

Browse files
authored
python: Move OperationalWebhook to new codegen (#1656)
2 parents ea02fe7 + 348fcc1 commit db7adbe

File tree

4 files changed

+278
-163
lines changed

4 files changed

+278
-163
lines changed

ChangeLog.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Changelog
22

33
## Unreleased
4-
* Libs/Python **(Breaking)**: `PostOptions` and `ListOptions` are no longer used in methods for `Authentication`,`Endpoint`,`EventType`,`Integration`,`MessageAttempt`,`Message` and `Statistics` resources. Instead each API call now has it's own `{Resource}{Operation}Options`. (Both sync and async)
4+
* Libs/Python **(Breaking)**: `PostOptions` and `ListOptions` are no longer used in methods for `Authentication`,`Endpoint`,`EventType`,`Integration`,`MessageAttempt`,`Message`, `Statistics` and `OperationalWebhookEndpoint` resources. Instead each API call now has its own `{Resource}{Operation}Options`. (Both sync and async)
55
* Libs/Python: In `Application` the `dashboard_access` method is deprecated in favor of `app_portal_access`. (Both sync and async)
66
* Libs/Python **(Breaking)**: `EndpointStatsOptions` is renamed to `EndpointGetStatsOptions`
77
* Libs/Python **(Breaking)**: `MessageAttemptListOptions` is removed in favor of call specific `{Resource}{Operation}Options`

python/svix/api/__init__.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,12 @@
6060
MessageAttemptListAttemptedDestinationsOptions,
6161
MessageAttemptResendOptions,
6262
)
63-
from .operational_webhook import (
63+
from .operational_webhook_endpoint import (
6464
OperationalWebhookEndpointAsync,
6565
OperationalWebhookEndpoint,
66+
OperationalWebhookEndpointListOptions,
67+
OperationalWebhookEndpointCreateOptions,
68+
OperationalWebhookEndpointRotateSecretOptions,
6669
)
6770
from .statistics import StatisticsAsync, Statistics, StatisticsAggregateAppStatsOptions
6871

python/svix/api/operational_webhook.py

-161
This file was deleted.

0 commit comments

Comments
 (0)