Skip to content

Commit

Permalink
Resolve VCSWP-23775 (#58)
Browse files Browse the repository at this point in the history
* Update SDK with latest spec changes

* Add changelog entry to SDK PR

* Update latest changelog entry date
  • Loading branch information
amahadaya authored Feb 11, 2025
1 parent 0db6066 commit 8dd893a
Show file tree
Hide file tree
Showing 160 changed files with 43,208 additions and 2,121 deletions.
3 changes: 3 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ docs/SetTalk.md
docs/Sms.md
docs/StartRecordCall.md
docs/TFN.md
docs/TFNCampaign.md
docs/TerminateConference.md
docs/TranscribeReason.md
docs/TranscribeTermReason.md
Expand Down Expand Up @@ -277,6 +278,7 @@ lib/freeclimb/models/sms_toll_free_campaigns_list_result.rb
lib/freeclimb/models/start_record_call.rb
lib/freeclimb/models/terminate_conference.rb
lib/freeclimb/models/tfn.rb
lib/freeclimb/models/tfn_campaign.rb
lib/freeclimb/models/transcribe_reason.rb
lib/freeclimb/models/transcribe_term_reason.rb
lib/freeclimb/models/transcribe_utterance.rb
Expand Down Expand Up @@ -417,6 +419,7 @@ spec/models/sms_toll_free_campaign_spec.rb
spec/models/sms_toll_free_campaigns_list_result_spec.rb
spec/models/start_record_call_spec.rb
spec/models/terminate_conference_spec.rb
spec/models/tfn_campaign_spec.rb
spec/models/tfn_spec.rb
spec/models/transcribe_reason_spec.rb
spec/models/transcribe_term_reason_spec.rb
Expand Down
2 changes: 2 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# This file is based on https://github.com/rails/rails/blob/master/.rubocop.yml (MIT license)
# Automatically generated by OpenAPI Generator (https://openapi-generator.tech)
require: rubocop-rspec

AllCops:
TargetRubyVersion: 2.4
# RuboCop has a bunch of cops enabled by default. This setting tells RuboCop
Expand Down
13 changes: 12 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,30 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm

None

<a name="5.1.0"></a>

## [5.1.0] - 2025-02-05

### Added

- CampaignTFN and MessageResultsAllOfTfn models

<a name="5.0.0"></a>

## [5.0.0] - 2025-01-08

### Added

- Webhook classes
- More idiomated Enum management

### Changed

- Use upgraded openapi generator

### Removed
- *AllOf model files

- \*AllOf model files

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

Expand Down
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ gemspec
group :development, :test do
gem 'rake', '~> 13.0.6'
gem 'pry-byebug'
gem 'rubocop', '~> 0.66.0'
gem 'rubocop', '~> 1.71.1'
gem "webmock", "~> 3.14"
gem "factory_bot", "~> 6.2"
gem "facets", "~> 3.1"
gem 'rubocop-rspec', require: false
end
56 changes: 30 additions & 26 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
PATH
remote: .
specs:
freeclimb (5.0.0)
freeclimb (5.1.0)
typhoeus (~> 1.0, >= 1.0.1)

GEM
remote: https://rubygems.org/
specs:
activesupport (8.0.1)
activesupport (7.2.2.1)
base64
benchmark (>= 0.3)
bigdecimal
Expand All @@ -19,7 +19,6 @@ GEM
minitest (>= 5.1)
securerandom (>= 0.3)
tzinfo (~> 2.0, >= 2.0.5)
uri (>= 0.13.1)
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
ast (2.4.2)
Expand All @@ -33,7 +32,6 @@ GEM
crack (1.0.0)
bigdecimal
rexml
date (3.4.1)
diff-lcs (1.5.1)
drb (2.2.1)
ethon (0.16.0)
Expand All @@ -42,25 +40,26 @@ GEM
factory_bot (6.5.0)
activesupport (>= 5.0.0)
ffi (1.17.1)
ffi (1.17.1-aarch64-linux-gnu)
ffi (1.17.1-aarch64-linux)
ffi (1.17.1-aarch64-linux-musl)
ffi (1.17.1-arm-linux-gnu)
ffi (1.17.1-arm-linux)
ffi (1.17.1-arm-linux-musl)
ffi (1.17.1-arm64-darwin)
ffi (1.17.1-x86-linux-gnu)
ffi (1.17.1-x86-linux)
ffi (1.17.1-x86-linux-musl)
ffi (1.17.1-x86_64-darwin)
ffi (1.17.1-x86_64-linux-gnu)
ffi (1.17.1-x86_64-linux)
ffi (1.17.1-x86_64-linux-musl)
hashdiff (1.1.2)
i18n (1.14.6)
concurrent-ruby (~> 1.0)
jaro_winkler (1.5.6)
json (2.9.1)
language_server-protocol (3.17.0.4)
logger (1.6.4)
method_source (1.1.0)
minitest (5.25.4)
parallel (1.26.3)
parser (3.3.6.0)
parser (3.3.7.0)
ast (~> 2.4.1)
racc
pry (0.14.2)
Expand All @@ -69,13 +68,11 @@ GEM
pry-byebug (3.10.1)
byebug (~> 11.0)
pry (>= 0.13, < 0.15)
psych (5.2.2)
date
stringio
public_suffix (6.0.1)
racc (1.8.1)
rainbow (3.1.1)
rake (13.0.6)
regexp_parser (2.10.0)
rexml (3.4.0)
rspec (3.13.0)
rspec-core (~> 3.13.0)
Expand All @@ -90,39 +87,45 @@ GEM
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.2)
rubocop (0.66.0)
jaro_winkler (~> 1.5.1)
rubocop (1.71.1)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 2.5, != 2.5.1.1)
psych (>= 3.1.0)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 2.9.3, < 3.0)
rubocop-ast (>= 1.38.0, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 1.6)
unicode-display_width (>= 2.4.0, < 4.0)
rubocop-ast (1.38.0)
parser (>= 3.3.1.0)
rubocop-rspec (3.4.0)
rubocop (~> 1.61)
ruby-progressbar (1.13.0)
securerandom (0.4.1)
stringio (3.1.2)
typhoeus (1.4.1)
ethon (>= 0.9.0)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (1.5.0)
uri (1.0.2)
unicode-display_width (3.1.4)
unicode-emoji (~> 4.0, >= 4.0.4)
unicode-emoji (4.0.4)
webmock (3.24.0)
addressable (>= 2.8.0)
crack (>= 0.3.2)
hashdiff (>= 0.4.0, < 2.0.0)

PLATFORMS
aarch64-linux-gnu
aarch64-linux
aarch64-linux-musl
arm-linux-gnu
arm-linux
arm-linux-musl
arm64-darwin
ruby
x86-linux-gnu
x86-linux
x86-linux-musl
x86_64-darwin
x86_64-linux-gnu
x86_64-linux
x86_64-linux-musl

DEPENDENCIES
Expand All @@ -132,7 +135,8 @@ DEPENDENCIES
pry-byebug
rake (~> 13.0.6)
rspec (~> 3.6, >= 3.6.0)
rubocop (~> 0.66.0)
rubocop (~> 1.71.1)
rubocop-rspec
webmock (~> 3.14)

BUNDLED WITH
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ FreeClimb is a cloud-based application programming interface (API) that puts the
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

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

## Installation

Add this to the Gemfile:

gem 'freeclimb', '~> 5.0.0'
gem 'freeclimb', '~> 5.1.0'

and run from your terminal

Expand Down Expand Up @@ -44,9 +44,9 @@ gem build freeclimb.gemspec
Then either install the gem locally:

```shell
gem install ./freeclimb-5.0.0.gem
gem install ./freeclimb-5.1.0.gem
```
(for development, run `gem install --dev ./freeclimb-5.0.0.gem` to install the development dependencies)
(for development, run `gem install --dev ./freeclimb-5.1.0.gem` to install the development dependencies)

## Getting Started

Expand Down Expand Up @@ -286,6 +286,7 @@ Class | Method | HTTP request | Description
- [Freeclimb::Sms](docs/Sms.md)
- [Freeclimb::StartRecordCall](docs/StartRecordCall.md)
- [Freeclimb::TFN](docs/TFN.md)
- [Freeclimb::TFNCampaign](docs/TFNCampaign.md)
- [Freeclimb::TerminateConference](docs/TerminateConference.md)
- [Freeclimb::TranscribeReason](docs/TranscribeReason.md)
- [Freeclimb::TranscribeTermReason](docs/TranscribeTermReason.md)
Expand Down
8 changes: 7 additions & 1 deletion docs/MessageResult.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
| **campaign_id** | **String** | The unique identifier for the campaign associated with the message | [optional] |
| **segment_count** | **Float** | The number of segments into which the message was split | [optional] |
| **media_urls** | **Array&lt;String&gt;** | an array of HTTP URLs which were attached this this message | [optional] |
| **tfn** | [**TFN**](TFN.md) | | [optional] |
| **phone_number_id** | **String** | String that uniquely identifies the phoneNumber resource used to send this Message | [optional] |
| **application_id** | **String** | String that uniquely identifies the Application resource used to send this Message | [optional] |

## Example

Expand All @@ -42,7 +45,10 @@ instance = Freeclimb::MessageResult.new(
brand_id: null,
campaign_id: null,
segment_count: null,
media_urls: null
media_urls: null,
tfn: null,
phone_number_id: null,
application_id: null
)
```

34 changes: 34 additions & 0 deletions docs/TFNCampaign.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Freeclimb::TFNCampaign

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **account_id** | **String** | ID of the account that created this participant. | |
| **campaign_id** | **String** | TFNCampaignId | |
| **use_case** | **String** | | |
| **registration_status** | [**SMSTollFreeCampaignRegistrationStatus**](SMSTollFreeCampaignRegistrationStatus.md) | | |
| **date_created** | **String** | | |
| **date_updated** | **String** | | |
| **date_created_iso** | **String** | | |
| **date_updated_iso** | **String** | | |
| **revision** | **Integer** | | |

## Example

```ruby
require 'freeclimb'

instance = Freeclimb::TFNCampaign.new(
account_id: null,
campaign_id: cmptfn_387ec3f6e03b340553f35f29c8f118cdf3eae08a,
use_case: null,
registration_status: null,
date_created: null,
date_updated: null,
date_created_iso: null,
date_updated_iso: null,
revision: null
)
```

1 change: 1 addition & 0 deletions lib/freeclimb.rb
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@
require 'freeclimb/models/sms_toll_free_campaign_registration_status'
require 'freeclimb/models/sms_toll_free_campaigns_list_result'
require 'freeclimb/models/tfn'
require 'freeclimb/models/tfn_campaign'
require 'freeclimb/models/transcribe_reason'
require 'freeclimb/models/transcribe_term_reason'
require 'freeclimb/models/transcribe_utterance_record'
Expand Down
3 changes: 1 addition & 2 deletions lib/freeclimb/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,7 @@ def server_settings
end

def operation_server_settings
{
}
{}
end

# Returns URL based on server settings
Expand Down
6 changes: 2 additions & 4 deletions lib/freeclimb/models/dequeue.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ module Freeclimb
class Dequeue < PerclCommand
# Attribute mapping from ruby-style variable name to JSON key.
def self.attribute_map
{
}
{}
end

# Returns all the JSON keys this model knows about, including the ones defined in its parent(s)
Expand All @@ -29,8 +28,7 @@ def self.acceptable_attributes

# Attribute type mapping.
def self.openapi_types
{
}
{}
end

# List of attributes with nullable: true
Expand Down
Loading

0 comments on commit 8dd893a

Please sign in to comment.