chore: update documentation for telephony

This commit is contained in:
Abhishek Kumar 2026-05-02 16:59:17 +05:30
parent 7fd3b96470
commit 6ecd5c2fa6
9 changed files with 108 additions and 26 deletions

View file

@ -6,6 +6,8 @@
# 3. Pydantic request/response models + TS interfaces (datamodel-codegen
# / openapi-typescript)
# 4. Client method mixins (_generated_client.py / _generated_client.ts)
# 5. Full OpenAPI spec for the Mintlify docs site
# (docs/api-reference/openapi.json)
#
# Run from anywhere — the script resolves the repo root relative to itself.
# Requires:
@ -106,4 +108,9 @@ python -m sdk.codegen.client_codegen \
--py-out "sdk/python/src/dograh_sdk/_generated_client.py" \
--ts-out "sdk/typescript/src/_generated_client.ts"
# ── 5. Docs OpenAPI spec ─────────────────────────────────────────────
echo "→ Dumping full OpenAPI spec for docs site..."
python -m scripts.dump_docs_openapi
echo "✓ SDK regenerated."