Skip to content

Commit 4abe8f5

Browse files
authored
Resolve VCSWP-23775 (#59)
* Update SDK with latest spec changes * Update format package to work for all Python3 versions * Add changelog entry to SDK PR * Update latest changelog entry date * Resolve MR comments * Update Python SDK version
1 parent b45ef57 commit 4abe8f5

File tree

106 files changed

+905
-146
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+905
-146
lines changed

.openapi-generator/FILES

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ docs/SetTalk.md
127127
docs/Sms.md
128128
docs/StartRecordCall.md
129129
docs/TFN.md
130+
docs/TFNCampaign.md
130131
docs/TerminateConference.md
131132
docs/TranscribeReason.md
132133
docs/TranscribeTermReason.md
@@ -275,6 +276,7 @@ freeclimb/models/sms_toll_free_campaigns_list_result.py
275276
freeclimb/models/start_record_call.py
276277
freeclimb/models/terminate_conference.py
277278
freeclimb/models/tfn.py
279+
freeclimb/models/tfn_campaign.py
278280
freeclimb/models/transcribe_reason.py
279281
freeclimb/models/transcribe_term_reason.py
280282
freeclimb/models/transcribe_utterance.py
@@ -422,6 +424,7 @@ test/test_sms_toll_free_campaigns_list_result.py
422424
test/test_start_record_call.py
423425
test/test_terminate_conference.py
424426
test/test_tfn.py
427+
test/test_tfn_campaign.py
425428
test/test_transcribe_reason.py
426429
test/test_transcribe_term_reason.py
427430
test/test_transcribe_utterance.py

CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,30 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
99

1010
None
1111

12+
<a name="5.1.0"></a>
13+
14+
## [5.1.0] - 2025-02-05
15+
16+
### Added
17+
18+
- CampaignTFN and MessageResultsAllOfTfn models
19+
1220
<a name="5.0.0"></a>
1321

1422
## [5.0.0] - 2025-01-08
1523

1624
### Added
25+
1726
- Webhook classes
1827
- More idiomated Enum management
1928

2029
### Changed
30+
2131
- Use upgraded openapi generator
2232

2333
### Removed
24-
- *AllOf model files
34+
35+
- \*AllOf model files
2536

2637
<a name="4.9.0"></a>
2738

README.md

Lines changed: 2 additions & 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: 5.0.0
7+
- Package version: 5.1.0
88
- Generator version: 7.9.0
99
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
1010
For more information, please visit [https://www.freeclimb.com/support/](https://www.freeclimb.com/support/)
@@ -303,6 +303,7 @@ Class | Method | HTTP request | Description
303303
- [Sms](docs/Sms.md)
304304
- [StartRecordCall](docs/StartRecordCall.md)
305305
- [TFN](docs/TFN.md)
306+
- [TFNCampaign](docs/TFNCampaign.md)
306307
- [TerminateConference](docs/TerminateConference.md)
307308
- [TranscribeReason](docs/TranscribeReason.md)
308309
- [TranscribeTermReason](docs/TranscribeTermReason.md)

docs/MessageResult.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ Name | Type | Description | Notes
2121
**campaign_id** | **str** | The unique identifier for the campaign associated with the message | [optional]
2222
**segment_count** | **float** | The number of segments into which the message was split | [optional]
2323
**media_urls** | **List[str]** | an array of HTTP URLs which were attached this this message | [optional]
24+
**tfn** | [**TFN**](TFN.md) | | [optional]
25+
**phone_number_id** | **str** | String that uniquely identifies the phoneNumber resource used to send this Message | [optional]
26+
**application_id** | **str** | String that uniquely identifies the Application resource used to send this Message | [optional]
2427

2528
## Example
2629

docs/TFNCampaign.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# TFNCampaign
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**account_id** | **str** | ID of the account that created this participant. |
9+
**campaign_id** | **str** | TFNCampaignId |
10+
**use_case** | **str** | |
11+
**registration_status** | [**SMSTollFreeCampaignRegistrationStatus**](SMSTollFreeCampaignRegistrationStatus.md) | |
12+
**date_created** | **str** | |
13+
**date_updated** | **str** | |
14+
**date_created_iso** | **str** | |
15+
**date_updated_iso** | **str** | |
16+
**revision** | **int** | |
17+
18+
## Example
19+
20+
```python
21+
from freeclimb.models.tfn_campaign import TFNCampaign
22+
23+
# TODO update the JSON string below
24+
json = "{}"
25+
# create an instance of TFNCampaign from a JSON string
26+
tfn_campaign_instance = TFNCampaign.from_json(json)
27+
# print the JSON string representation of the object
28+
print(TFNCampaign.to_json())
29+
30+
# convert the object into a dict
31+
tfn_campaign_dict = tfn_campaign_instance.to_dict()
32+
# create an instance of TFNCampaign from a dict
33+
tfn_campaign_from_dict = TFNCampaign.from_dict(tfn_campaign_dict)
34+
```
35+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
36+
37+

freeclimb/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
""" # noqa: E501
1616

1717

18-
__version__ = "5.0.0"
18+
__version__ = "5.1.0"
1919

2020
# import apis into sdk package
2121
from freeclimb.api.default_api import DefaultApi as DefaultApi
@@ -248,6 +248,7 @@
248248
from freeclimb.models.sms import Sms as Sms
249249
from freeclimb.models.start_record_call import StartRecordCall as StartRecordCall
250250
from freeclimb.models.tfn import TFN as TFN
251+
from freeclimb.models.tfn_campaign import TFNCampaign as TFNCampaign
251252
from freeclimb.models.terminate_conference import (
252253
TerminateConference as TerminateConference,
253254
)

freeclimb/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def __init__(
8888
self.default_headers[header_name] = header_value
8989
self.cookie = cookie
9090
# Set default User-Agent.
91-
self.user_agent = "OpenAPI-Generator/5.0.0/python"
91+
self.user_agent = "OpenAPI-Generator/5.1.0/python"
9292
self.client_side_validation = configuration.client_side_validation
9393

9494
def __enter__(self):

freeclimb/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ def to_debug_report(self):
427427
"OS: {env}\n"
428428
"Python Version: {pyversion}\n"
429429
"Version of the API: 1.0.0\n"
430-
"SDK Package Version: 5.0.0".format(env=sys.platform, pyversion=sys.version)
430+
"SDK Package Version: 5.1.0".format(env=sys.platform, pyversion=sys.version)
431431
)
432432

433433
def get_host_settings(self):

freeclimb/model_utils.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
"""
2-
FreeClimb API
2+
FreeClimb API
33
4-
FreeClimb is a cloud-based application programming interface (API) that puts the power of the Vail platform in your hands. FreeClimb simplifies the process of creating applications that can use a full range of telephony features without requiring specialized or on-site telephony equipment. Using the FreeClimb REST API to write applications is easy! You have the option to use the language of your choice or hit the API directly. Your application can execute a command by issuing a RESTful request to the FreeClimb API. The base URL to send HTTP requests to the FreeClimb REST API is: /apiserver. FreeClimb authenticates and processes your request. # noqa: E501
4+
FreeClimb is a cloud-based application programming interface (API) that puts the power of the Vail platform in your hands. FreeClimb simplifies the process of creating applications that can use a full range of telephony features without requiring specialized or on-site telephony equipment. Using the FreeClimb REST API to write applications is easy! You have the option to use the language of your choice or hit the API directly. Your application can execute a command by issuing a RESTful request to the FreeClimb API. The base URL to send HTTP requests to the FreeClimb REST API is: /apiserver. FreeClimb authenticates and processes your request. # noqa: E501
55
6-
The version of the OpenAPI document: 1.0.0
7-
8-
Generated by: https://openapi-generator.tech
6+
The version of the OpenAPI document: 1.0.0
7+
8+
Generated by: https://openapi-generator.tech
99
"""
1010

1111
from datetime import date, datetime # noqa: F401

freeclimb/models/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@
231231
from freeclimb.models.sms import Sms as Sms
232232
from freeclimb.models.start_record_call import StartRecordCall as StartRecordCall
233233
from freeclimb.models.tfn import TFN as TFN
234+
from freeclimb.models.tfn_campaign import TFNCampaign as TFNCampaign
234235
from freeclimb.models.terminate_conference import (
235236
TerminateConference as TerminateConference,
236237
)

0 commit comments

Comments
 (0)