Skip to content

Commit aee8355

Browse files
feat(api): manual updates
1 parent 0a01290 commit aee8355

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 846
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/telnyx%2Ftelnyx-cb0994e7d39146470cf25daa458555be4691e50795b9cb9be0cdd76a7d6bf357.yml
33
openapi_spec_hash: df09e67ae6d4df81593b396048046de5
4-
config_hash: 53adc7ec630d90dd582727459f58a597
4+
config_hash: 154c313d0f3d72cbcec91e9f8a370eec

api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2123,7 +2123,7 @@ Types:
21232123

21242124
```python
21252125
from telnyx.types import (
2126-
Error,
2126+
APIError,
21272127
MessagingError,
21282128
OutboundMessagePayload,
21292129
MessageRetrieveResponse,

src/telnyx/types/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
from .fax import Fax as Fax
99
from .fqdn import Fqdn as Fqdn
1010
from .room import Room as Room
11-
from .error import Error as Error
1211
from .record import Record as Record
1312
from .shared import (
1413
Metadata as Metadata,
@@ -30,6 +29,7 @@
3029
from .address import Address as Address
3130
from .sim_card import SimCard as SimCard
3231
from .vertical import Vertical as Vertical
32+
from .api_error import APIError as APIError
3333
from .dtmf_type import DtmfType as DtmfType
3434
from .interface import Interface as Interface
3535
from .rcs_agent import RcsAgent as RcsAgent

src/telnyx/types/addresses/action_validate_response.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
from pydantic import Field as FieldInfo
77

8-
from ..error import Error
98
from ..._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."""
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
from .._models import BaseModel
66

7-
__all__ = ["Error", "Source"]
7+
__all__ = ["APIError", "Source"]
88

99

1010
class 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

0 commit comments

Comments
 (0)