Skip to content

Commit 8dd893a

Browse files
authored
Resolve VCSWP-23775 (#58)
* Update SDK with latest spec changes * Add changelog entry to SDK PR * Update latest changelog entry date
1 parent 0db6066 commit 8dd893a

File tree

160 files changed

+43208
-2121
lines changed

Some content is hidden

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

160 files changed

+43208
-2121
lines changed

.openapi-generator/FILES

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ docs/SetTalk.md
131131
docs/Sms.md
132132
docs/StartRecordCall.md
133133
docs/TFN.md
134+
docs/TFNCampaign.md
134135
docs/TerminateConference.md
135136
docs/TranscribeReason.md
136137
docs/TranscribeTermReason.md
@@ -277,6 +278,7 @@ lib/freeclimb/models/sms_toll_free_campaigns_list_result.rb
277278
lib/freeclimb/models/start_record_call.rb
278279
lib/freeclimb/models/terminate_conference.rb
279280
lib/freeclimb/models/tfn.rb
281+
lib/freeclimb/models/tfn_campaign.rb
280282
lib/freeclimb/models/transcribe_reason.rb
281283
lib/freeclimb/models/transcribe_term_reason.rb
282284
lib/freeclimb/models/transcribe_utterance.rb
@@ -417,6 +419,7 @@ spec/models/sms_toll_free_campaign_spec.rb
417419
spec/models/sms_toll_free_campaigns_list_result_spec.rb
418420
spec/models/start_record_call_spec.rb
419421
spec/models/terminate_conference_spec.rb
422+
spec/models/tfn_campaign_spec.rb
420423
spec/models/tfn_spec.rb
421424
spec/models/transcribe_reason_spec.rb
422425
spec/models/transcribe_term_reason_spec.rb

.rubocop.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# This file is based on https://github.com/rails/rails/blob/master/.rubocop.yml (MIT license)
22
# Automatically generated by OpenAPI Generator (https://openapi-generator.tech)
3+
require: rubocop-rspec
4+
35
AllCops:
46
TargetRubyVersion: 2.4
57
# RuboCop has a bunch of cops enabled by default. This setting tells RuboCop

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

Gemfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ gemspec
55
group :development, :test do
66
gem 'rake', '~> 13.0.6'
77
gem 'pry-byebug'
8-
gem 'rubocop', '~> 0.66.0'
8+
gem 'rubocop', '~> 1.71.1'
99
gem "webmock", "~> 3.14"
1010
gem "factory_bot", "~> 6.2"
1111
gem "facets", "~> 3.1"
12+
gem 'rubocop-rspec', require: false
1213
end

Gemfile.lock

Lines changed: 30 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
PATH
22
remote: .
33
specs:
4-
freeclimb (5.0.0)
4+
freeclimb (5.1.0)
55
typhoeus (~> 1.0, >= 1.0.1)
66

77
GEM
88
remote: https://rubygems.org/
99
specs:
10-
activesupport (8.0.1)
10+
activesupport (7.2.2.1)
1111
base64
1212
benchmark (>= 0.3)
1313
bigdecimal
@@ -19,7 +19,6 @@ GEM
1919
minitest (>= 5.1)
2020
securerandom (>= 0.3)
2121
tzinfo (~> 2.0, >= 2.0.5)
22-
uri (>= 0.13.1)
2322
addressable (2.8.7)
2423
public_suffix (>= 2.0.2, < 7.0)
2524
ast (2.4.2)
@@ -33,7 +32,6 @@ GEM
3332
crack (1.0.0)
3433
bigdecimal
3534
rexml
36-
date (3.4.1)
3735
diff-lcs (1.5.1)
3836
drb (2.2.1)
3937
ethon (0.16.0)
@@ -42,25 +40,26 @@ GEM
4240
factory_bot (6.5.0)
4341
activesupport (>= 5.0.0)
4442
ffi (1.17.1)
45-
ffi (1.17.1-aarch64-linux-gnu)
43+
ffi (1.17.1-aarch64-linux)
4644
ffi (1.17.1-aarch64-linux-musl)
47-
ffi (1.17.1-arm-linux-gnu)
45+
ffi (1.17.1-arm-linux)
4846
ffi (1.17.1-arm-linux-musl)
4947
ffi (1.17.1-arm64-darwin)
50-
ffi (1.17.1-x86-linux-gnu)
48+
ffi (1.17.1-x86-linux)
5149
ffi (1.17.1-x86-linux-musl)
5250
ffi (1.17.1-x86_64-darwin)
53-
ffi (1.17.1-x86_64-linux-gnu)
51+
ffi (1.17.1-x86_64-linux)
5452
ffi (1.17.1-x86_64-linux-musl)
5553
hashdiff (1.1.2)
5654
i18n (1.14.6)
5755
concurrent-ruby (~> 1.0)
58-
jaro_winkler (1.5.6)
56+
json (2.9.1)
57+
language_server-protocol (3.17.0.4)
5958
logger (1.6.4)
6059
method_source (1.1.0)
6160
minitest (5.25.4)
6261
parallel (1.26.3)
63-
parser (3.3.6.0)
62+
parser (3.3.7.0)
6463
ast (~> 2.4.1)
6564
racc
6665
pry (0.14.2)
@@ -69,13 +68,11 @@ GEM
6968
pry-byebug (3.10.1)
7069
byebug (~> 11.0)
7170
pry (>= 0.13, < 0.15)
72-
psych (5.2.2)
73-
date
74-
stringio
7571
public_suffix (6.0.1)
7672
racc (1.8.1)
7773
rainbow (3.1.1)
7874
rake (13.0.6)
75+
regexp_parser (2.10.0)
7976
rexml (3.4.0)
8077
rspec (3.13.0)
8178
rspec-core (~> 3.13.0)
@@ -90,39 +87,45 @@ GEM
9087
diff-lcs (>= 1.2.0, < 2.0)
9188
rspec-support (~> 3.13.0)
9289
rspec-support (3.13.2)
93-
rubocop (0.66.0)
94-
jaro_winkler (~> 1.5.1)
90+
rubocop (1.71.1)
91+
json (~> 2.3)
92+
language_server-protocol (>= 3.17.0)
9593
parallel (~> 1.10)
96-
parser (>= 2.5, != 2.5.1.1)
97-
psych (>= 3.1.0)
94+
parser (>= 3.3.0.2)
9895
rainbow (>= 2.2.2, < 4.0)
96+
regexp_parser (>= 2.9.3, < 3.0)
97+
rubocop-ast (>= 1.38.0, < 2.0)
9998
ruby-progressbar (~> 1.7)
100-
unicode-display_width (>= 1.4.0, < 1.6)
99+
unicode-display_width (>= 2.4.0, < 4.0)
100+
rubocop-ast (1.38.0)
101+
parser (>= 3.3.1.0)
102+
rubocop-rspec (3.4.0)
103+
rubocop (~> 1.61)
101104
ruby-progressbar (1.13.0)
102105
securerandom (0.4.1)
103-
stringio (3.1.2)
104106
typhoeus (1.4.1)
105107
ethon (>= 0.9.0)
106108
tzinfo (2.0.6)
107109
concurrent-ruby (~> 1.0)
108-
unicode-display_width (1.5.0)
109-
uri (1.0.2)
110+
unicode-display_width (3.1.4)
111+
unicode-emoji (~> 4.0, >= 4.0.4)
112+
unicode-emoji (4.0.4)
110113
webmock (3.24.0)
111114
addressable (>= 2.8.0)
112115
crack (>= 0.3.2)
113116
hashdiff (>= 0.4.0, < 2.0.0)
114117

115118
PLATFORMS
116-
aarch64-linux-gnu
119+
aarch64-linux
117120
aarch64-linux-musl
118-
arm-linux-gnu
121+
arm-linux
119122
arm-linux-musl
120123
arm64-darwin
121124
ruby
122-
x86-linux-gnu
125+
x86-linux
123126
x86-linux-musl
124127
x86_64-darwin
125-
x86_64-linux-gnu
128+
x86_64-linux
126129
x86_64-linux-musl
127130

128131
DEPENDENCIES
@@ -132,7 +135,8 @@ DEPENDENCIES
132135
pry-byebug
133136
rake (~> 13.0.6)
134137
rspec (~> 3.6, >= 3.6.0)
135-
rubocop (~> 0.66.0)
138+
rubocop (~> 1.71.1)
139+
rubocop-rspec
136140
webmock (~> 3.14)
137141

138142
BUNDLED WITH

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ FreeClimb is a cloud-based application programming interface (API) that puts the
77
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
88

99
- API version: 1.0.0
10-
- Package version: 5.0.0
10+
- Package version: 5.1.0
1111
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
1212
For more information, please visit [https://www.freeclimb.com/support/](https://www.freeclimb.com/support/)
1313

1414
## Installation
1515

1616
Add this to the Gemfile:
1717

18-
gem 'freeclimb', '~> 5.0.0'
18+
gem 'freeclimb', '~> 5.1.0'
1919

2020
and run from your terminal
2121

@@ -44,9 +44,9 @@ gem build freeclimb.gemspec
4444
Then either install the gem locally:
4545

4646
```shell
47-
gem install ./freeclimb-5.0.0.gem
47+
gem install ./freeclimb-5.1.0.gem
4848
```
49-
(for development, run `gem install --dev ./freeclimb-5.0.0.gem` to install the development dependencies)
49+
(for development, run `gem install --dev ./freeclimb-5.1.0.gem` to install the development dependencies)
5050

5151
## Getting Started
5252

@@ -286,6 +286,7 @@ Class | Method | HTTP request | Description
286286
- [Freeclimb::Sms](docs/Sms.md)
287287
- [Freeclimb::StartRecordCall](docs/StartRecordCall.md)
288288
- [Freeclimb::TFN](docs/TFN.md)
289+
- [Freeclimb::TFNCampaign](docs/TFNCampaign.md)
289290
- [Freeclimb::TerminateConference](docs/TerminateConference.md)
290291
- [Freeclimb::TranscribeReason](docs/TranscribeReason.md)
291292
- [Freeclimb::TranscribeTermReason](docs/TranscribeTermReason.md)

docs/MessageResult.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
| **campaign_id** | **String** | The unique identifier for the campaign associated with the message | [optional] |
2121
| **segment_count** | **Float** | The number of segments into which the message was split | [optional] |
2222
| **media_urls** | **Array&lt;String&gt;** | an array of HTTP URLs which were attached this this message | [optional] |
23+
| **tfn** | [**TFN**](TFN.md) | | [optional] |
24+
| **phone_number_id** | **String** | String that uniquely identifies the phoneNumber resource used to send this Message | [optional] |
25+
| **application_id** | **String** | String that uniquely identifies the Application resource used to send this Message | [optional] |
2326

2427
## Example
2528

@@ -42,7 +45,10 @@ instance = Freeclimb::MessageResult.new(
4245
brand_id: null,
4346
campaign_id: null,
4447
segment_count: null,
45-
media_urls: null
48+
media_urls: null,
49+
tfn: null,
50+
phone_number_id: null,
51+
application_id: null
4652
)
4753
```
4854

docs/TFNCampaign.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Freeclimb::TFNCampaign
2+
3+
## Properties
4+
5+
| Name | Type | Description | Notes |
6+
| ---- | ---- | ----------- | ----- |
7+
| **account_id** | **String** | ID of the account that created this participant. | |
8+
| **campaign_id** | **String** | TFNCampaignId | |
9+
| **use_case** | **String** | | |
10+
| **registration_status** | [**SMSTollFreeCampaignRegistrationStatus**](SMSTollFreeCampaignRegistrationStatus.md) | | |
11+
| **date_created** | **String** | | |
12+
| **date_updated** | **String** | | |
13+
| **date_created_iso** | **String** | | |
14+
| **date_updated_iso** | **String** | | |
15+
| **revision** | **Integer** | | |
16+
17+
## Example
18+
19+
```ruby
20+
require 'freeclimb'
21+
22+
instance = Freeclimb::TFNCampaign.new(
23+
account_id: null,
24+
campaign_id: cmptfn_387ec3f6e03b340553f35f29c8f118cdf3eae08a,
25+
use_case: null,
26+
registration_status: null,
27+
date_created: null,
28+
date_updated: null,
29+
date_created_iso: null,
30+
date_updated_iso: null,
31+
revision: null
32+
)
33+
```
34+

lib/freeclimb.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@
9898
require 'freeclimb/models/sms_toll_free_campaign_registration_status'
9999
require 'freeclimb/models/sms_toll_free_campaigns_list_result'
100100
require 'freeclimb/models/tfn'
101+
require 'freeclimb/models/tfn_campaign'
101102
require 'freeclimb/models/transcribe_reason'
102103
require 'freeclimb/models/transcribe_term_reason'
103104
require 'freeclimb/models/transcribe_utterance_record'

lib/freeclimb/configuration.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,7 @@ def server_settings
236236
end
237237

238238
def operation_server_settings
239-
{
240-
}
239+
{}
241240
end
242241

243242
# Returns URL based on server settings

0 commit comments

Comments
 (0)