Skip to content

Commit eb04489

Browse files
feat: MSG-9000: document duplicate-vetting rejection on order brand external vetting
1 parent 1021667 commit eb04489

2 files changed

Lines changed: 12 additions & 4 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 1037
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/telnyx/telnyx-7b1e3a7121542084b48908b0f883f893cd8c6d641d637c613e009fb79c8aafc4.yml
3-
openapi_spec_hash: 70a95e0804087a3dd65087eee654465b
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/telnyx/telnyx-14ed8a7e9d2b314b6d351bb13357acdeac16ffcf43fad7543dd04d9583b8f033.yml
3+
openapi_spec_hash: 12552068089591be162d789a1fd4edb0
44
config_hash: d3b972f90f1bbecf92ef9592fae471fa

src/telnyx/resources/messaging_10dlc/brand/external_vetting.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,11 @@ def order(
146146
timeout: float | httpx.Timeout | None | NotGiven = not_given,
147147
) -> ExternalVettingOrderResponse:
148148
"""
149-
Order new external vetting for a brand
149+
Order new external vetting for a brand.
150+
151+
Duplicate orders for the same `evpId` and `vettingClass` return `400` with code
152+
`10012` if a successful vetting exists within the last 180 days, or one is
153+
currently being processed. Failed vettings can be retried immediately.
150154
151155
Args:
152156
evp_id: External vetting provider ID for the brand.
@@ -302,7 +306,11 @@ async def order(
302306
timeout: float | httpx.Timeout | None | NotGiven = not_given,
303307
) -> ExternalVettingOrderResponse:
304308
"""
305-
Order new external vetting for a brand
309+
Order new external vetting for a brand.
310+
311+
Duplicate orders for the same `evpId` and `vettingClass` return `400` with code
312+
`10012` if a successful vetting exists within the last 180 days, or one is
313+
currently being processed. Failed vettings can be retried immediately.
306314
307315
Args:
308316
evp_id: External vetting provider ID for the brand.

0 commit comments

Comments
 (0)