Free, Open Source, Self-Hosted WhatsApp API Gateway
TypeScript apibotgatewayself-hostedwhatsappwhatsapp-apiwhatsapp-automationwhatsapp-botwhatsapp-gatewaywhatsapp-gateway-apiwhatsapp-webwhatsapp-web-api
docs(sdk): mark the create-session proxyType as deprecated
Yudhi Armyndharis1173f8bdcd1f
diff --git a/sdk/java/src/main/java/com/rmyndharis/openwa/model/CreateSessionRequest.java b/sdk/java/src/main/java/com/rmyndharis/openwa/model/CreateSessionRequest.javaindex 58998b002..52d30162c 100644--- a/sdk/java/src/main/java/com/rmyndharis/openwa/model/CreateSessionRequest.java+++ b/sdk/java/src/main/java/com/rmyndharis/openwa/model/CreateSessionRequest.java@@ -34,7 +34,8 @@ public record CreateSessionRequest(String name, Map<String, Object> config, Strireturn this;}- /** One of {@code http}, {@code https}, {@code socks4}, {@code socks5}. */+ /** Deprecated and ignored by the server: the proxyUrl scheme selects the proxy protocol. */+ @Deprecatedpublic Builder proxyType(ProxyType v) {this.proxyType = v;return this;diff --git a/sdk/python/openwa/types.py b/sdk/python/openwa/types.pyindex 97f25640c..9c40b6070 100644--- a/sdk/python/openwa/types.py+++ b/sdk/python/openwa/types.py@@ -308,6 +308,7 @@ class CreateSessionRequest(TypedDict):name: strconfig: NotRequired[dict[str, Any]]proxyUrl: NotRequired[str]+ # Deprecated and ignored by the server: the proxyUrl scheme selects the proxy protocol.proxyType: NotRequired[Literal['http', 'https', 'socks4', 'socks5']]