Skip to content

Commit 295ac0e

Browse files
authored
Merge pull request #31 from FreeClimbAPI/VCSWP-18905
Update OutDial model
2 parents 568d2c4 + 3c84dea commit 295ac0e

File tree

11 files changed

+31
-23
lines changed

11 files changed

+31
-23
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
99

1010
None
1111

12+
<a name="4.1.2"></a>
13+
14+
## [4.1.2] - 2023-02-21
15+
16+
### Changed
17+
18+
- OutDial PerCL command callingNumber and destination types fixed
19+
1220
<a name="4.1.1"></a>
1321

1422
## [4.1.1] - 2023-02-14

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ FreeClimb is a cloud-based application programming interface (API) that puts the
44
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
55

66
- API version: 1.0.0
7-
- Package version: 4.1.1
7+
- Package version: 4.1.2
88
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
99
For more information, please visit [https://www.freeclimb.com/support/](https://www.freeclimb.com/support/)
1010

docs/OutDial.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**action_url** | **str** | URL to which FreeClimb sends an HTTP POST request. |
88
**call_connect_url** | **str** | URL to which FreeClimb makes an HTTP POST request informing the result of the OutDial. |
9-
**calling_number** | **float** | he caller ID to show to the called party when FreeClimb calls. This can be one of the following: The To or From number provided in the first Webhook to your webserver. Any phone number you have purchased from FreeClimb. |
10-
**destination** | **float** | E.164 representation of the phone number to Call. |
9+
**calling_number** | **str** | he caller ID to show to the called party when FreeClimb calls. This can be one of the following: The To or From number provided in the first Webhook to your webserver. Any phone number you have purchased from FreeClimb. |
10+
**destination** | **str** | E.164 representation of the phone number to Call. |
1111
**if_machine** | [**IfMachine**](IfMachine.md) | | [optional]
1212
**if_machine_url** | **str** | When the &#x60;ifMachine&#x60; flag is set to &#x60;redirect&#x60;, this attribute specifies a URL to which FreeClimb makes a POST request when an answering machine or a fax machine is detected. This URL is required if the &#x60;ifMachine&#x60; flag is set to &#x60;redirect&#x60;. Otherwise, it should not be included. | [optional]
1313
**send_digits** | **str** | DTMF tones to play to the outdialed Call. This is typically used to dial a number and then dial an extension. | [optional]

docs/OutDialAllOf.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**action_url** | **str** | URL to which FreeClimb sends an HTTP POST request. |
77
**call_connect_url** | **str** | URL to which FreeClimb makes an HTTP POST request informing the result of the OutDial. |
8-
**calling_number** | **float** | he caller ID to show to the called party when FreeClimb calls. This can be one of the following: The To or From number provided in the first Webhook to your webserver. Any phone number you have purchased from FreeClimb. |
9-
**destination** | **float** | E.164 representation of the phone number to Call. |
8+
**calling_number** | **str** | he caller ID to show to the called party when FreeClimb calls. This can be one of the following: The To or From number provided in the first Webhook to your webserver. Any phone number you have purchased from FreeClimb. |
9+
**destination** | **str** | E.164 representation of the phone number to Call. |
1010
**if_machine** | [**IfMachine**](IfMachine.md) | | [optional]
1111
**if_machine_url** | **str** | When the &#x60;ifMachine&#x60; flag is set to &#x60;redirect&#x60;, this attribute specifies a URL to which FreeClimb makes a POST request when an answering machine or a fax machine is detected. This URL is required if the &#x60;ifMachine&#x60; flag is set to &#x60;redirect&#x60;. Otherwise, it should not be included. | [optional]
1212
**send_digits** | **str** | DTMF tones to play to the outdialed Call. This is typically used to dial a number and then dial an extension. | [optional]

freeclimb/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"""
1212

1313

14-
__version__ = "4.1.1"
14+
__version__ = "4.1.2"
1515

1616
# import ApiClient
1717
from freeclimb.api_client import ApiClient

freeclimb/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
7777
self.default_headers[header_name] = header_value
7878
self.cookie = cookie
7979
# Set default User-Agent.
80-
self.user_agent = 'OpenAPI-Generator/4.1.1/python'
80+
self.user_agent = 'OpenAPI-Generator/4.1.2/python'
8181

8282
def __enter__(self):
8383
return self

freeclimb/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ def to_debug_report(self):
405405
"OS: {env}\n"\
406406
"Python Version: {pyversion}\n"\
407407
"Version of the API: 1.0.0\n"\
408-
"SDK Package Version: 4.1.1".\
408+
"SDK Package Version: 4.1.2".\
409409
format(env=sys.platform, pyversion=sys.version)
410410

411411
def get_host_settings(self):

freeclimb/model/out_dial.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ def openapi_types():
142142
return {
143143
'action_url': (str,), # noqa: E501
144144
'call_connect_url': (str,), # noqa: E501
145-
'calling_number': (float,), # noqa: E501
146-
'destination': (float,), # noqa: E501
145+
'calling_number': (str,), # noqa: E501
146+
'destination': (str,), # noqa: E501
147147
'if_machine': (IfMachine,), # noqa: E501
148148
'if_machine_url': (str,), # noqa: E501
149149
'send_digits': (str,), # noqa: E501
@@ -183,8 +183,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
183183
Keyword Args:
184184
action_url (str): URL to which FreeClimb sends an HTTP POST request.
185185
call_connect_url (str): URL to which FreeClimb makes an HTTP POST request informing the result of the OutDial.
186-
calling_number (float): he caller ID to show to the called party when FreeClimb calls. This can be one of the following: The To or From number provided in the first Webhook to your webserver. Any phone number you have purchased from FreeClimb.
187-
destination (float): E.164 representation of the phone number to Call.
186+
calling_number (str): he caller ID to show to the called party when FreeClimb calls. This can be one of the following: The To or From number provided in the first Webhook to your webserver. Any phone number you have purchased from FreeClimb.
187+
destination (str): E.164 representation of the phone number to Call.
188188
_check_type (bool): if True, values for parameters in openapi_types
189189
will be type checked and a TypeError will be
190190
raised if the wrong type is input.
@@ -293,8 +293,8 @@ def __init__(self, *args, **kwargs): # noqa: E501
293293
Keyword Args:
294294
action_url (str): URL to which FreeClimb sends an HTTP POST request.
295295
call_connect_url (str): URL to which FreeClimb makes an HTTP POST request informing the result of the OutDial.
296-
calling_number (float): he caller ID to show to the called party when FreeClimb calls. This can be one of the following: The To or From number provided in the first Webhook to your webserver. Any phone number you have purchased from FreeClimb.
297-
destination (float): E.164 representation of the phone number to Call.
296+
calling_number (str): he caller ID to show to the called party when FreeClimb calls. This can be one of the following: The To or From number provided in the first Webhook to your webserver. Any phone number you have purchased from FreeClimb.
297+
destination (str): E.164 representation of the phone number to Call.
298298
_check_type (bool): if True, values for parameters in openapi_types
299299
will be type checked and a TypeError will be
300300
raised if the wrong type is input.

freeclimb/model/out_dial_all_of.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ def openapi_types():
9191
return {
9292
'action_url': (str,), # noqa: E501
9393
'call_connect_url': (str,), # noqa: E501
94-
'calling_number': (float,), # noqa: E501
95-
'destination': (float,), # noqa: E501
94+
'calling_number': (str,), # noqa: E501
95+
'destination': (str,), # noqa: E501
9696
'if_machine': (IfMachine,), # noqa: E501
9797
'if_machine_url': (str,), # noqa: E501
9898
'send_digits': (str,), # noqa: E501
@@ -132,8 +132,8 @@ def _from_openapi_data(cls, action_url, call_connect_url, calling_number, destin
132132
Args:
133133
action_url (str): URL to which FreeClimb sends an HTTP POST request.
134134
call_connect_url (str): URL to which FreeClimb makes an HTTP POST request informing the result of the OutDial.
135-
calling_number (float): he caller ID to show to the called party when FreeClimb calls. This can be one of the following: The To or From number provided in the first Webhook to your webserver. Any phone number you have purchased from FreeClimb.
136-
destination (float): E.164 representation of the phone number to Call.
135+
calling_number (str): he caller ID to show to the called party when FreeClimb calls. This can be one of the following: The To or From number provided in the first Webhook to your webserver. Any phone number you have purchased from FreeClimb.
136+
destination (str): E.164 representation of the phone number to Call.
137137
138138
Keyword Args:
139139
_check_type (bool): if True, values for parameters in openapi_types
@@ -229,8 +229,8 @@ def __init__(self, action_url, call_connect_url, calling_number, destination, *a
229229
Args:
230230
action_url (str): URL to which FreeClimb sends an HTTP POST request.
231231
call_connect_url (str): URL to which FreeClimb makes an HTTP POST request informing the result of the OutDial.
232-
calling_number (float): he caller ID to show to the called party when FreeClimb calls. This can be one of the following: The To or From number provided in the first Webhook to your webserver. Any phone number you have purchased from FreeClimb.
233-
destination (float): E.164 representation of the phone number to Call.
232+
calling_number (str): he caller ID to show to the called party when FreeClimb calls. This can be one of the following: The To or From number provided in the first Webhook to your webserver. Any phone number you have purchased from FreeClimb.
233+
destination (str): E.164 representation of the phone number to Call.
234234
235235
Keyword Args:
236236
_check_type (bool): if True, values for parameters in openapi_types

openapi.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -751,11 +751,11 @@
751751
},
752752
"callingNumber": {
753753
"description": "he caller ID to show to the called party when FreeClimb calls. This can be one of the following: The To or From number provided in the first Webhook to your webserver. Any phone number you have purchased from FreeClimb.",
754-
"type": "number"
754+
"type": "string"
755755
},
756756
"destination": {
757757
"description": "E.164 representation of the phone number to Call. ",
758-
"type": "number"
758+
"type": "string"
759759
},
760760
"ifMachine": {
761761
"$ref": "#/components/schemas/IfMachine"

0 commit comments

Comments
 (0)