diff --git a/ENDPOINTS.md b/ENDPOINTS.md index 5c6360ee..0036c715 100644 --- a/ENDPOINTS.md +++ b/ENDPOINTS.md @@ -1,6 +1,6 @@ **THIS FILE WAS AUTO-GENERATED DO NOT EDIT** -Generated for: catalystwan-0.35.0.dev4 +Generated for: catalystwan-0.35.0.dev6 All URIs are relative to */dataservice* HTTP request | Supported Versions | Method | Payload Type | Return Type | Tenancy Mode diff --git a/catalystwan/models/configuration/feature_profile/sdwan/application_priority/__init__.py b/catalystwan/models/configuration/feature_profile/sdwan/application_priority/__init__.py index 44f00c5c..3f5270c0 100644 --- a/catalystwan/models/configuration/feature_profile/sdwan/application_priority/__init__.py +++ b/catalystwan/models/configuration/feature_profile/sdwan/application_priority/__init__.py @@ -93,7 +93,6 @@ TrafficCategoryMatch, TrafficClass, TrafficClassMatch, - TrafficDataDirection, TrafficPolicyParcel, TrafficPolicyTarget, TrafficTargetType, @@ -195,7 +194,6 @@ "ServiceAreaValue", "SequenceIpType", "TrafficPolicyTarget", - "TrafficDataDirection", "SetVpn", "SetTlocList", "SetDscp", diff --git a/catalystwan/models/configuration/feature_profile/sdwan/application_priority/traffic_policy.py b/catalystwan/models/configuration/feature_profile/sdwan/application_priority/traffic_policy.py index d6ba947e..1057742c 100644 --- a/catalystwan/models/configuration/feature_profile/sdwan/application_priority/traffic_policy.py +++ b/catalystwan/models/configuration/feature_profile/sdwan/application_priority/traffic_policy.py @@ -31,13 +31,18 @@ VersionedField, ) from catalystwan.models.configuration.feature_profile.common import RefIdItem -from catalystwan.models.policy.centralized import TrafficDataDirection from catalystwan.models.policy.policy_definition import DNSTypeEntryType, LossProtectionType +TrafficPolicyDirection = Literal[ + "service", + "tunnel", + "all", +] + class TrafficPolicyTarget(BaseModel): model_config = ConfigDict(populate_by_name=True, extra="forbid") - direction: Global[TrafficDataDirection] + direction: Global[TrafficPolicyDirection] vpn: Global[List[str]]