Skip to content

Commit 4543fc1

Browse files
committed
rename for typo
1 parent 23ec039 commit 4543fc1

File tree

13 files changed

+25
-27
lines changed

13 files changed

+25
-27
lines changed

.openapi-generator/FILES

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ bandwidth/models/rbm_message_media.py
148148
bandwidth/models/rbm_open_url_enum.py
149149
bandwidth/models/rbm_standalone_card.py
150150
bandwidth/models/rbm_suggestion_response.py
151-
bandwidth/models/rbm_veb_view_enum.py
151+
bandwidth/models/rbm_web_view_enum.py
152152
bandwidth/models/recording_available_callback.py
153153
bandwidth/models/recording_complete_callback.py
154154
bandwidth/models/recording_state_enum.py
@@ -333,7 +333,7 @@ docs/RbmMessageMedia.md
333333
docs/RbmOpenUrlEnum.md
334334
docs/RbmStandaloneCard.md
335335
docs/RbmSuggestionResponse.md
336-
docs/RbmVebViewEnum.md
336+
docs/RbmWebViewEnum.md
337337
docs/RecordingAvailableCallback.md
338338
docs/RecordingCompleteCallback.md
339339
docs/RecordingStateEnum.md

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ Class | Method | HTTP request | Description
286286
- [RbmOpenUrlEnum](docs/RbmOpenUrlEnum.md)
287287
- [RbmStandaloneCard](docs/RbmStandaloneCard.md)
288288
- [RbmSuggestionResponse](docs/RbmSuggestionResponse.md)
289-
- [RbmVebViewEnum](docs/RbmVebViewEnum.md)
289+
- [RbmWebViewEnum](docs/RbmWebViewEnum.md)
290290
- [RecordingAvailableCallback](docs/RecordingAvailableCallback.md)
291291
- [RecordingCompleteCallback](docs/RecordingCompleteCallback.md)
292292
- [RecordingStateEnum](docs/RecordingStateEnum.md)

bandwidth.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ info:
88
99
version: 1.0.0
1010
security:
11-
- OAuth2: []
1211
- Basic: []
1312
- OAuth2: []
1413
tags:
@@ -2393,7 +2392,7 @@ components:
23932392
- BROWSER
23942393
- WEBVIEW
23952394
example: WEBVIEW
2396-
rbmVebViewEnum:
2395+
rbmWebViewEnum:
23972396
type: string
23982397
description: >-
23992398
Defines the layout of the WebView on a mobile device. It must be defined
@@ -2515,7 +2514,7 @@ components:
25152514
application:
25162515
$ref: '#/components/schemas/rbmOpenUrlEnum'
25172516
webviewViewMode:
2518-
$ref: '#/components/schemas/rbmVebViewEnum'
2517+
$ref: '#/components/schemas/rbmWebViewEnum'
25192518
required:
25202519
- url
25212520
multiChannelFullActions:

bandwidth/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@
168168
"RbmOpenUrlEnum",
169169
"RbmStandaloneCard",
170170
"RbmSuggestionResponse",
171-
"RbmVebViewEnum",
171+
"RbmWebViewEnum",
172172
"RecordingAvailableCallback",
173173
"RecordingCompleteCallback",
174174
"RecordingStateEnum",
@@ -371,7 +371,7 @@
371371
from bandwidth.models.rbm_open_url_enum import RbmOpenUrlEnum as RbmOpenUrlEnum
372372
from bandwidth.models.rbm_standalone_card import RbmStandaloneCard as RbmStandaloneCard
373373
from bandwidth.models.rbm_suggestion_response import RbmSuggestionResponse as RbmSuggestionResponse
374-
from bandwidth.models.rbm_veb_view_enum import RbmVebViewEnum as RbmVebViewEnum
374+
from bandwidth.models.rbm_web_view_enum import RbmWebViewEnum as RbmWebViewEnum
375375
from bandwidth.models.recording_available_callback import RecordingAvailableCallback as RecordingAvailableCallback
376376
from bandwidth.models.recording_complete_callback import RecordingCompleteCallback as RecordingCompleteCallback
377377
from bandwidth.models.recording_state_enum import RecordingStateEnum as RecordingStateEnum

bandwidth/models/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@
143143
from bandwidth.models.rbm_open_url_enum import RbmOpenUrlEnum
144144
from bandwidth.models.rbm_standalone_card import RbmStandaloneCard
145145
from bandwidth.models.rbm_suggestion_response import RbmSuggestionResponse
146-
from bandwidth.models.rbm_veb_view_enum import RbmVebViewEnum
146+
from bandwidth.models.rbm_web_view_enum import RbmWebViewEnum
147147
from bandwidth.models.recording_available_callback import RecordingAvailableCallback
148148
from bandwidth.models.recording_complete_callback import RecordingCompleteCallback
149149
from bandwidth.models.recording_state_enum import RecordingStateEnum

bandwidth/models/rbm_action_open_url.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
from typing_extensions import Annotated
2424
from bandwidth.models.rbm_action_type_enum import RbmActionTypeEnum
2525
from bandwidth.models.rbm_open_url_enum import RbmOpenUrlEnum
26-
from bandwidth.models.rbm_veb_view_enum import RbmVebViewEnum
26+
from bandwidth.models.rbm_web_view_enum import RbmWebViewEnum
2727
from typing import Optional, Set
2828
from typing_extensions import Self
2929

@@ -36,7 +36,7 @@ class RbmActionOpenUrl(BaseModel):
3636
postback_data: Union[Annotated[bytes, Field(strict=True, max_length=2048)], Annotated[str, Field(strict=True, max_length=2048)]] = Field(description="Base64 payload the customer receives when the reply is clicked.", alias="postbackData")
3737
url: Annotated[str, Field(strict=True, max_length=2048)] = Field(description="The URL to open in browser.")
3838
application: Optional[RbmOpenUrlEnum] = None
39-
webview_view_mode: Optional[RbmVebViewEnum] = Field(default=None, alias="webviewViewMode")
39+
webview_view_mode: Optional[RbmWebViewEnum] = Field(default=None, alias="webviewViewMode")
4040
additional_properties: Dict[str, Any] = {}
4141
__properties: ClassVar[List[str]] = ["type", "text", "postbackData", "url", "application", "webviewViewMode"]
4242

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from typing_extensions import Self
2020

2121

22-
class RbmVebViewEnum(str, Enum):
22+
class RbmWebViewEnum(str, Enum):
2323
"""
2424
Defines the layout of the WebView on a mobile device. It must be defined when application is set to `WEBVIEW` - `FULL` WebView takes the full screen. - `HALF` WebView takes half of the screen. - `TALL` WebView takes three-quarters of the screen.
2525
"""
@@ -33,7 +33,7 @@ class RbmVebViewEnum(str, Enum):
3333

3434
@classmethod
3535
def from_json(cls, json_str: str) -> Self:
36-
"""Create an instance of RbmVebViewEnum from a JSON string"""
36+
"""Create an instance of RbmWebViewEnum from a JSON string"""
3737
return cls(json.loads(json_str))
3838

3939

custom_templates/configuration.mustache

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,6 @@ conf = {{{packageName}}}.Configuration(
646646
if self.temp_access_token and self.temp_access_token_expiration > now + 60:
647647
return self.temp_access_token
648648
else:
649-
print("Fetching new access token")
650649
_bytes = f"{self.client_id}:{self.client_secret}".encode('utf-8')
651650
_encoded_string = base64.b64encode(_bytes).decode('utf-8')
652651
auth_header = f"Basic {_encoded_string}"

docs/MultiChannelAction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Name | Type | Description | Notes
1818
**description** | **str** | The description of the event. | [optional]
1919
**url** | **str** | The URL to open in browser. |
2020
**application** | [**RbmOpenUrlEnum**](RbmOpenUrlEnum.md) | | [optional]
21-
**webview_view_mode** | [**RbmVebViewEnum**](RbmVebViewEnum.md) | | [optional]
21+
**webview_view_mode** | [**RbmWebViewEnum**](RbmWebViewEnum.md) | | [optional]
2222

2323
## Example
2424

docs/RbmActionOpenUrl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
1010
**postback_data** | **bytearray** | Base64 payload the customer receives when the reply is clicked. |
1111
**url** | **str** | The URL to open in browser. |
1212
**application** | [**RbmOpenUrlEnum**](RbmOpenUrlEnum.md) | | [optional]
13-
**webview_view_mode** | [**RbmVebViewEnum**](RbmVebViewEnum.md) | | [optional]
13+
**webview_view_mode** | [**RbmWebViewEnum**](RbmWebViewEnum.md) | | [optional]
1414

1515
## Example
1616

0 commit comments

Comments
 (0)