Free, Open Source, Self-Hosted WhatsApp API Gateway
TypeScript apibotgatewayself-hostedwhatsappwhatsapp-apiwhatsapp-automationwhatsapp-botwhatsapp-gatewaywhatsapp-gateway-apiwhatsapp-webwhatsapp-web-api
docs(sdk): stop promising a retryCount default on webhook update
Yudhi Armyndharis792cd1cec51c
diff --git a/sdk/javascript/src/types.ts b/sdk/javascript/src/types.tsindex 49741d626..c1a74fd7c 100644--- a/sdk/javascript/src/types.ts+++ b/sdk/javascript/src/types.ts@@ -979,7 +979,10 @@ export interface CreateWebhookRequest {secret?: string;headers?: Record<string, string>;filters?: WebhookFilters | null;- /** 0–5; default 3. Server DTO field is `retryCount`. */+ /**+ * Total delivery attempts per event including the first, 0 to 5 (0 and 1 both mean one attempt); default 3 on+ * create, while an update that omits it keeps the current value. Server DTO field is `retryCount`.+ */retryCount?: number;}diff --git a/sdk/python/openwa/types.py b/sdk/python/openwa/types.pyindex 1d7e3d16d..3473f33dd 100644--- a/sdk/python/openwa/types.py+++ b/sdk/python/openwa/types.py@@ -930,7 +930,8 @@ class UpdateWebhookRequest(TypedDict, total=False):secret: strheaders: dict[str, str]filters: WebhookFilters | None- # Server DTO field is ``retryCount`` (0-5; default 3).+ # Total delivery attempts per event including the first, 0 to 5 (0 and 1 both mean one attempt);+ # omit to keep the current value. Server DTO field is ``retryCount``.retryCount: intactive: bool