File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11configured_endpoints : 846
22openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/telnyx%2Ftelnyx-cb0994e7d39146470cf25daa458555be4691e50795b9cb9be0cdd76a7d6bf357.yml
33openapi_spec_hash : df09e67ae6d4df81593b396048046de5
4- config_hash : 53adc7ec630d90dd582727459f58a597
4+ config_hash : 154c313d0f3d72cbcec91e9f8a370eec
Original file line number Diff line number Diff line change @@ -2123,7 +2123,7 @@ Types:
21232123
21242124``` python
21252125from telnyx.types import (
2126- Error ,
2126+ APIError ,
21272127 MessagingError,
21282128 OutboundMessagePayload,
21292129 MessageRetrieveResponse,
Original file line number Diff line number Diff line change 88from .fax import Fax as Fax
99from .fqdn import Fqdn as Fqdn
1010from .room import Room as Room
11- from .error import Error as Error
1211from .record import Record as Record
1312from .shared import (
1413 Metadata as Metadata ,
3029from .address import Address as Address
3130from .sim_card import SimCard as SimCard
3231from .vertical import Vertical as Vertical
32+ from .api_error import APIError as APIError
3333from .dtmf_type import DtmfType as DtmfType
3434from .interface import Interface as Interface
3535from .rcs_agent import RcsAgent as RcsAgent
Original file line number Diff line number Diff line change 55
66from pydantic import Field as FieldInfo
77
8- from ..error import Error
98from ..._models import BaseModel
9+ from ..api_error import APIError
1010
1111__all__ = ["ActionValidateResponse" , "Data" , "DataSuggested" ]
1212
@@ -54,7 +54,7 @@ class Data(BaseModel):
5454 suggested : DataSuggested
5555 """Provides normalized address when available."""
5656
57- errors : Optional [List [Error ]] = None
57+ errors : Optional [List [APIError ]] = None
5858
5959 record_type : Optional [str ] = None
6060 """Identifies the type of the resource."""
Original file line number Diff line number Diff line change 44
55from .._models import BaseModel
66
7- __all__ = ["Error " , "Source" ]
7+ __all__ = ["APIError " , "Source" ]
88
99
1010class Source (BaseModel ):
@@ -15,7 +15,7 @@ class Source(BaseModel):
1515 """JSON pointer (RFC6901) to the offending entity."""
1616
1717
18- class Error (BaseModel ):
18+ class APIError (BaseModel ):
1919 code : str
2020
2121 title : str
You can’t perform that action at this time.
0 commit comments