freeclimb 5.2.0 → 5.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/CHANGELOG.md +22 -2
 - data/Gemfile.lock +3 -3
 - data/README.md +31 -4
 - data/docs/AvailableNumber.md +0 -4
 - data/docs/BlobListResponse.md +32 -0
 - data/docs/BlobResult.md +32 -0
 - data/docs/CallResult.md +2 -2
 - data/docs/CreateBlobRequest.md +22 -0
 - data/docs/CreateConference.md +4 -2
 - data/docs/DefaultApi.md +835 -25
 - data/docs/ExportList.md +32 -0
 - data/docs/ExportOutputType.md +16 -0
 - data/docs/ExportRequest.md +24 -0
 - data/docs/ExportRequestOutput.md +18 -0
 - data/docs/ExportResourceType.md +17 -0
 - data/docs/ExportResult.md +40 -0
 - data/docs/ExportResultOutput.md +18 -0
 - data/docs/ExportStatus.md +21 -0
 - data/docs/IncomingNumberResult.md +0 -4
 - data/docs/ModifyBlobRequest.md +20 -0
 - data/docs/PlatformError.md +24 -0
 - data/docs/ReplaceBlobRequest.md +18 -0
 - data/docs/Say.md +2 -0
 - data/docs/TTSEngine.md +20 -0
 - data/docs/TTSEngineName.md +18 -0
 - data/lib/freeclimb/api/default_api.rb +1032 -12
 - data/lib/freeclimb/models/available_number.rb +1 -23
 - data/lib/freeclimb/models/blob_list_response.rb +303 -0
 - data/lib/freeclimb/models/blob_result.rb +332 -0
 - data/lib/freeclimb/models/call_result.rb +8 -8
 - data/lib/freeclimb/models/create_blob_request.rb +255 -0
 - data/lib/freeclimb/models/create_conference.rb +15 -5
 - data/lib/freeclimb/models/export_list.rb +304 -0
 - data/lib/freeclimb/models/export_output_type.rb +34 -0
 - data/lib/freeclimb/models/export_request.rb +276 -0
 - data/lib/freeclimb/models/export_request_output.rb +243 -0
 - data/lib/freeclimb/models/export_resource_type.rb +35 -0
 - data/lib/freeclimb/models/export_result.rb +405 -0
 - data/lib/freeclimb/models/export_result_output.rb +243 -0
 - data/lib/freeclimb/models/export_status.rb +39 -0
 - data/lib/freeclimb/models/incoming_number_result.rb +1 -23
 - data/lib/freeclimb/models/modify_blob_request.rb +245 -0
 - data/lib/freeclimb/models/platform_error.rb +244 -0
 - data/lib/freeclimb/models/replace_blob_request.rb +221 -0
 - data/lib/freeclimb/models/say.rb +10 -1
 - data/lib/freeclimb/models/tts_engine.rb +250 -0
 - data/lib/freeclimb/models/tts_engine_name.rb +36 -0
 - data/lib/freeclimb/version.rb +1 -1
 - data/lib/freeclimb.rb +16 -0
 - data/openapi.json +1245 -80
 - data/spec/api/default_api_spec.rb +328 -33
 - data/spec/models/account_result_spec.rb +3 -3
 - data/spec/models/available_number_spec.rb +3 -98
 - data/spec/models/blob_list_response_spec.rb +502 -0
 - data/spec/models/blob_result_spec.rb +489 -0
 - data/spec/models/call_result_spec.rb +39 -39
 - data/spec/models/conference_result_spec.rb +3 -3
 - data/spec/models/create_blob_request_spec.rb +273 -0
 - data/spec/models/create_conference_spec.rb +83 -35
 - data/spec/models/export_list_spec.rb +502 -0
 - data/spec/models/export_output_type_spec.rb +43 -0
 - data/spec/models/export_request_output_spec.rb +162 -0
 - data/spec/models/export_request_spec.rb +320 -0
 - data/spec/models/export_resource_type_spec.rb +59 -0
 - data/spec/models/export_result_output_spec.rb +162 -0
 - data/spec/models/export_result_spec.rb +718 -0
 - data/spec/models/export_status_spec.rb +123 -0
 - data/spec/models/incoming_number_result_spec.rb +6 -102
 - data/spec/models/log_result_spec.rb +3 -3
 - data/spec/models/message_result_spec.rb +3 -3
 - data/spec/models/modify_blob_request_spec.rb +226 -0
 - data/spec/models/platform_error_spec.rb +318 -0
 - data/spec/models/queue_result_spec.rb +3 -3
 - data/spec/models/replace_blob_request_spec.rb +176 -0
 - data/spec/models/say_spec.rb +50 -0
 - data/spec/models/sms_ten_dlc_partner_campaign_spec.rb +3 -3
 - data/spec/models/transcribe_utterance_spec.rb +3 -3
 - data/spec/models/tts_engine_name_spec.rb +75 -0
 - data/spec/models/tts_engine_spec.rb +183 -0
 - data/spec/spec_helper.rb +1 -1
 - data/yarn.lock +29 -29
 - metadata +50 -2
 
| 
         @@ -46,20 +46,6 @@ describe Freeclimb::AvailableNumber do 
     | 
|
| 
       46 
46 
     | 
    
         
             
                end
         
     | 
| 
       47 
47 
     | 
    
         
             
              end
         
     | 
| 
       48 
48 
     | 
    
         | 
| 
       49 
     | 
    
         
            -
              describe 'test attribute "voice_enabled"' do
         
     | 
| 
       50 
     | 
    
         
            -
                it "should work" do
         
     | 
| 
       51 
     | 
    
         
            -
                  instance.voice_enabled = false
         
     | 
| 
       52 
     | 
    
         
            -
                  expect(instance.voice_enabled).to eq(false)
         
     | 
| 
       53 
     | 
    
         
            -
                end
         
     | 
| 
       54 
     | 
    
         
            -
              end
         
     | 
| 
       55 
     | 
    
         
            -
             
     | 
| 
       56 
     | 
    
         
            -
              describe 'test attribute "sms_enabled"' do
         
     | 
| 
       57 
     | 
    
         
            -
                it "should work" do
         
     | 
| 
       58 
     | 
    
         
            -
                  instance.sms_enabled = false
         
     | 
| 
       59 
     | 
    
         
            -
                  expect(instance.sms_enabled).to eq(false)
         
     | 
| 
       60 
     | 
    
         
            -
                end
         
     | 
| 
       61 
     | 
    
         
            -
              end
         
     | 
| 
       62 
     | 
    
         
            -
             
     | 
| 
       63 
49 
     | 
    
         
             
              describe 'test attribute "region"' do
         
     | 
| 
       64 
50 
     | 
    
         
             
                it "should work" do
         
     | 
| 
       65 
51 
     | 
    
         
             
                  instance.region = "TEST_STRING"
         
     | 
| 
         @@ -84,10 +70,6 @@ describe Freeclimb::AvailableNumber do 
     | 
|
| 
       84 
70 
     | 
    
         | 
| 
       85 
71 
     | 
    
         
             
                      phone_number: "TS",
         
     | 
| 
       86 
72 
     | 
    
         | 
| 
       87 
     | 
    
         
            -
                      voice_enabled: true,
         
     | 
| 
       88 
     | 
    
         
            -
             
     | 
| 
       89 
     | 
    
         
            -
                      sms_enabled: true,
         
     | 
| 
       90 
     | 
    
         
            -
             
     | 
| 
       91 
73 
     | 
    
         
             
                      region: "TS",
         
     | 
| 
       92 
74 
     | 
    
         | 
| 
       93 
75 
     | 
    
         
             
                      country: "TS"
         
     | 
| 
         @@ -103,10 +85,6 @@ describe Freeclimb::AvailableNumber do 
     | 
|
| 
       103 
85 
     | 
    
         | 
| 
       104 
86 
     | 
    
         
             
                      phone_number: "TS",
         
     | 
| 
       105 
87 
     | 
    
         | 
| 
       106 
     | 
    
         
            -
                      voice_enabled: true,
         
     | 
| 
       107 
     | 
    
         
            -
             
     | 
| 
       108 
     | 
    
         
            -
                      sms_enabled: true,
         
     | 
| 
       109 
     | 
    
         
            -
             
     | 
| 
       110 
88 
     | 
    
         
             
                      region: "TS",
         
     | 
| 
       111 
89 
     | 
    
         | 
| 
       112 
90 
     | 
    
         
             
                      country: "TS",
         
     | 
| 
         @@ -124,10 +102,6 @@ describe Freeclimb::AvailableNumber do 
     | 
|
| 
       124 
102 
     | 
    
         | 
| 
       125 
103 
     | 
    
         
             
                      phone_number: "TS",
         
     | 
| 
       126 
104 
     | 
    
         | 
| 
       127 
     | 
    
         
            -
                      voice_enabled: true,
         
     | 
| 
       128 
     | 
    
         
            -
             
     | 
| 
       129 
     | 
    
         
            -
                      sms_enabled: true,
         
     | 
| 
       130 
     | 
    
         
            -
             
     | 
| 
       131 
105 
     | 
    
         
             
                      region: "TS",
         
     | 
| 
       132 
106 
     | 
    
         | 
| 
       133 
107 
     | 
    
         
             
                      country: "TS",
         
     | 
| 
         @@ -147,10 +121,6 @@ describe Freeclimb::AvailableNumber do 
     | 
|
| 
       147 
121 
     | 
    
         | 
| 
       148 
122 
     | 
    
         
             
                    phone_number: "TS",
         
     | 
| 
       149 
123 
     | 
    
         | 
| 
       150 
     | 
    
         
            -
                    voice_enabled: true,
         
     | 
| 
       151 
     | 
    
         
            -
             
     | 
| 
       152 
     | 
    
         
            -
                    sms_enabled: true,
         
     | 
| 
       153 
     | 
    
         
            -
             
     | 
| 
       154 
124 
     | 
    
         
             
                    region: "TS",
         
     | 
| 
       155 
125 
     | 
    
         | 
| 
       156 
126 
     | 
    
         
             
                    country: "TS"
         
     | 
| 
         @@ -167,34 +137,26 @@ describe Freeclimb::AvailableNumber do 
     | 
|
| 
       167 
137 
     | 
    
         | 
| 
       168 
138 
     | 
    
         
             
              describe 'test method "eql?"' do
         
     | 
| 
       169 
139 
     | 
    
         
             
                it "checks if objects are equal" do
         
     | 
| 
       170 
     | 
    
         
            -
                   
     | 
| 
      
 140 
     | 
    
         
            +
                  obj_capabilities = Object.new
         
     | 
| 
       171 
141 
     | 
    
         | 
| 
       172 
142 
     | 
    
         
             
                  instance_1 = Freeclimb::AvailableNumber.new(
         
     | 
| 
       173 
     | 
    
         
            -
                    capabilities:  
     | 
| 
      
 143 
     | 
    
         
            +
                    capabilities: obj_capabilities,
         
     | 
| 
       174 
144 
     | 
    
         | 
| 
       175 
145 
     | 
    
         
             
                    campaign_id: "TS",
         
     | 
| 
       176 
146 
     | 
    
         | 
| 
       177 
147 
     | 
    
         
             
                    phone_number: "TS",
         
     | 
| 
       178 
148 
     | 
    
         | 
| 
       179 
     | 
    
         
            -
                    voice_enabled: true,
         
     | 
| 
       180 
     | 
    
         
            -
             
     | 
| 
       181 
     | 
    
         
            -
                    sms_enabled: true,
         
     | 
| 
       182 
     | 
    
         
            -
             
     | 
| 
       183 
149 
     | 
    
         
             
                    region: "TS",
         
     | 
| 
       184 
150 
     | 
    
         | 
| 
       185 
151 
     | 
    
         
             
                    country: "TS"
         
     | 
| 
       186 
152 
     | 
    
         
             
                  )
         
     | 
| 
       187 
153 
     | 
    
         
             
                  instance_2 = Freeclimb::AvailableNumber.new(
         
     | 
| 
       188 
     | 
    
         
            -
                    capabilities:  
     | 
| 
      
 154 
     | 
    
         
            +
                    capabilities: obj_capabilities,
         
     | 
| 
       189 
155 
     | 
    
         | 
| 
       190 
156 
     | 
    
         
             
                    campaign_id: "TS",
         
     | 
| 
       191 
157 
     | 
    
         | 
| 
       192 
158 
     | 
    
         
             
                    phone_number: "TS",
         
     | 
| 
       193 
159 
     | 
    
         | 
| 
       194 
     | 
    
         
            -
                    voice_enabled: true,
         
     | 
| 
       195 
     | 
    
         
            -
             
     | 
| 
       196 
     | 
    
         
            -
                    sms_enabled: true,
         
     | 
| 
       197 
     | 
    
         
            -
             
     | 
| 
       198 
160 
     | 
    
         
             
                    region: "TS",
         
     | 
| 
       199 
161 
     | 
    
         | 
| 
       200 
162 
     | 
    
         
             
                    country: "TS"
         
     | 
| 
         @@ -210,10 +172,6 @@ describe Freeclimb::AvailableNumber do 
     | 
|
| 
       210 
172 
     | 
    
         | 
| 
       211 
173 
     | 
    
         
             
                    phone_number: "TS",
         
     | 
| 
       212 
174 
     | 
    
         | 
| 
       213 
     | 
    
         
            -
                    voice_enabled: true,
         
     | 
| 
       214 
     | 
    
         
            -
             
     | 
| 
       215 
     | 
    
         
            -
                    sms_enabled: true,
         
     | 
| 
       216 
     | 
    
         
            -
             
     | 
| 
       217 
175 
     | 
    
         
             
                    region: "TS",
         
     | 
| 
       218 
176 
     | 
    
         | 
| 
       219 
177 
     | 
    
         
             
                    country: "TS"
         
     | 
| 
         @@ -225,10 +183,6 @@ describe Freeclimb::AvailableNumber do 
     | 
|
| 
       225 
183 
     | 
    
         | 
| 
       226 
184 
     | 
    
         
             
                    phone_number: "ST",
         
     | 
| 
       227 
185 
     | 
    
         | 
| 
       228 
     | 
    
         
            -
                    voice_enabled: false,
         
     | 
| 
       229 
     | 
    
         
            -
             
     | 
| 
       230 
     | 
    
         
            -
                    sms_enabled: false,
         
     | 
| 
       231 
     | 
    
         
            -
             
     | 
| 
       232 
186 
     | 
    
         
             
                    region: "ST",
         
     | 
| 
       233 
187 
     | 
    
         | 
| 
       234 
188 
     | 
    
         
             
                    country: "ST"
         
     | 
| 
         @@ -246,10 +200,6 @@ describe Freeclimb::AvailableNumber do 
     | 
|
| 
       246 
200 
     | 
    
         | 
| 
       247 
201 
     | 
    
         
             
                    phone_number: "TS",
         
     | 
| 
       248 
202 
     | 
    
         | 
| 
       249 
     | 
    
         
            -
                    voice_enabled: true,
         
     | 
| 
       250 
     | 
    
         
            -
             
     | 
| 
       251 
     | 
    
         
            -
                    sms_enabled: true,
         
     | 
| 
       252 
     | 
    
         
            -
             
     | 
| 
       253 
203 
     | 
    
         
             
                    region: "TS",
         
     | 
| 
       254 
204 
     | 
    
         | 
| 
       255 
205 
     | 
    
         
             
                    country: "TS"
         
     | 
| 
         @@ -267,10 +217,6 @@ describe Freeclimb::AvailableNumber do 
     | 
|
| 
       267 
217 
     | 
    
         | 
| 
       268 
218 
     | 
    
         
             
                    phone_number: "TS",
         
     | 
| 
       269 
219 
     | 
    
         | 
| 
       270 
     | 
    
         
            -
                    voice_enabled: true,
         
     | 
| 
       271 
     | 
    
         
            -
             
     | 
| 
       272 
     | 
    
         
            -
                    sms_enabled: true,
         
     | 
| 
       273 
     | 
    
         
            -
             
     | 
| 
       274 
220 
     | 
    
         
             
                    region: "TS",
         
     | 
| 
       275 
221 
     | 
    
         | 
| 
       276 
222 
     | 
    
         
             
                    country: "TS"
         
     | 
| 
         @@ -282,10 +228,6 @@ describe Freeclimb::AvailableNumber do 
     | 
|
| 
       282 
228 
     | 
    
         | 
| 
       283 
229 
     | 
    
         
             
                    phone_number: "TS",
         
     | 
| 
       284 
230 
     | 
    
         | 
| 
       285 
     | 
    
         
            -
                    voice_enabled: true,
         
     | 
| 
       286 
     | 
    
         
            -
             
     | 
| 
       287 
     | 
    
         
            -
                    sms_enabled: true,
         
     | 
| 
       288 
     | 
    
         
            -
             
     | 
| 
       289 
231 
     | 
    
         
             
                    region: "TS",
         
     | 
| 
       290 
232 
     | 
    
         | 
| 
       291 
233 
     | 
    
         
             
                    country: "TS"
         
     | 
| 
         @@ -303,10 +245,6 @@ describe Freeclimb::AvailableNumber do 
     | 
|
| 
       303 
245 
     | 
    
         | 
| 
       304 
246 
     | 
    
         
             
                  phone_number: "TS",
         
     | 
| 
       305 
247 
     | 
    
         | 
| 
       306 
     | 
    
         
            -
                  voice_enabled: true,
         
     | 
| 
       307 
     | 
    
         
            -
             
     | 
| 
       308 
     | 
    
         
            -
                  sms_enabled: true,
         
     | 
| 
       309 
     | 
    
         
            -
             
     | 
| 
       310 
248 
     | 
    
         
             
                  region: "TS",
         
     | 
| 
       311 
249 
     | 
    
         | 
| 
       312 
250 
     | 
    
         
             
                  country: "TS"
         
     | 
| 
         @@ -324,13 +262,6 @@ describe Freeclimb::AvailableNumber do 
     | 
|
| 
       324 
262 
     | 
    
         
             
                  expect(instance._deserialize("String", instance.phone_number)).to be_a_kind_of(String)
         
     | 
| 
       325 
263 
     | 
    
         
             
                end
         
     | 
| 
       326 
264 
     | 
    
         | 
| 
       327 
     | 
    
         
            -
                it "deserializes the data of voice_enabled" do
         
     | 
| 
       328 
     | 
    
         
            -
                  expect(instance._deserialize("Boolean", instance.voice_enabled)).to be_a_kind_of(TrueClass)
         
     | 
| 
       329 
     | 
    
         
            -
                end
         
     | 
| 
       330 
     | 
    
         
            -
             
     | 
| 
       331 
     | 
    
         
            -
                it "deserializes the data of sms_enabled" do
         
     | 
| 
       332 
     | 
    
         
            -
                  expect(instance._deserialize("Boolean", instance.sms_enabled)).to be_a_kind_of(TrueClass)
         
     | 
| 
       333 
     | 
    
         
            -
                end
         
     | 
| 
       334 
265 
     | 
    
         
             
                it "deserializes the data of region" do
         
     | 
| 
       335 
266 
     | 
    
         
             
                  expect(instance._deserialize("String", instance.region)).to be_a_kind_of(String)
         
     | 
| 
       336 
267 
     | 
    
         
             
                end
         
     | 
| 
         @@ -349,10 +280,6 @@ describe Freeclimb::AvailableNumber do 
     | 
|
| 
       349 
280 
     | 
    
         | 
| 
       350 
281 
     | 
    
         
             
                    phone_number: "TS",
         
     | 
| 
       351 
282 
     | 
    
         | 
| 
       352 
     | 
    
         
            -
                    voice_enabled: true,
         
     | 
| 
       353 
     | 
    
         
            -
             
     | 
| 
       354 
     | 
    
         
            -
                    sms_enabled: true,
         
     | 
| 
       355 
     | 
    
         
            -
             
     | 
| 
       356 
283 
     | 
    
         
             
                    region: "TS",
         
     | 
| 
       357 
284 
     | 
    
         | 
| 
       358 
285 
     | 
    
         
             
                    country: "TS"
         
     | 
| 
         @@ -370,10 +297,6 @@ describe Freeclimb::AvailableNumber do 
     | 
|
| 
       370 
297 
     | 
    
         | 
| 
       371 
298 
     | 
    
         
             
                    phone_number: "TS",
         
     | 
| 
       372 
299 
     | 
    
         | 
| 
       373 
     | 
    
         
            -
                    voice_enabled: true,
         
     | 
| 
       374 
     | 
    
         
            -
             
     | 
| 
       375 
     | 
    
         
            -
                    sms_enabled: true,
         
     | 
| 
       376 
     | 
    
         
            -
             
     | 
| 
       377 
300 
     | 
    
         
             
                    region: "TS",
         
     | 
| 
       378 
301 
     | 
    
         | 
| 
       379 
302 
     | 
    
         
             
                    country: "TS"
         
     | 
| 
         @@ -390,10 +313,6 @@ describe Freeclimb::AvailableNumber do 
     | 
|
| 
       390 
313 
     | 
    
         | 
| 
       391 
314 
     | 
    
         
             
                    phone_number: "TS",
         
     | 
| 
       392 
315 
     | 
    
         | 
| 
       393 
     | 
    
         
            -
                    voice_enabled: true,
         
     | 
| 
       394 
     | 
    
         
            -
             
     | 
| 
       395 
     | 
    
         
            -
                    sms_enabled: true,
         
     | 
| 
       396 
     | 
    
         
            -
             
     | 
| 
       397 
316 
     | 
    
         
             
                    region: "TS",
         
     | 
| 
       398 
317 
     | 
    
         | 
| 
       399 
318 
     | 
    
         
             
                    country: "TS"
         
     | 
| 
         @@ -405,10 +324,6 @@ describe Freeclimb::AvailableNumber do 
     | 
|
| 
       405 
324 
     | 
    
         | 
| 
       406 
325 
     | 
    
         
             
                    phone_number: "TS",
         
     | 
| 
       407 
326 
     | 
    
         | 
| 
       408 
     | 
    
         
            -
                    voice_enabled: true,
         
     | 
| 
       409 
     | 
    
         
            -
             
     | 
| 
       410 
     | 
    
         
            -
                    sms_enabled: true,
         
     | 
| 
       411 
     | 
    
         
            -
             
     | 
| 
       412 
327 
     | 
    
         
             
                    region: "TS",
         
     | 
| 
       413 
328 
     | 
    
         | 
| 
       414 
329 
     | 
    
         
             
                    country: "TS"
         
     | 
| 
         @@ -423,10 +338,6 @@ describe Freeclimb::AvailableNumber do 
     | 
|
| 
       423 
338 
     | 
    
         | 
| 
       424 
339 
     | 
    
         
             
                  phone_number: "TS",
         
     | 
| 
       425 
340 
     | 
    
         | 
| 
       426 
     | 
    
         
            -
                  voice_enabled: true,
         
     | 
| 
       427 
     | 
    
         
            -
             
     | 
| 
       428 
     | 
    
         
            -
                  sms_enabled: true,
         
     | 
| 
       429 
     | 
    
         
            -
             
     | 
| 
       430 
341 
     | 
    
         
             
                  region: "TS",
         
     | 
| 
       431 
342 
     | 
    
         | 
| 
       432 
343 
     | 
    
         
             
                  country: "TS"
         
     | 
| 
         @@ -440,12 +351,6 @@ describe Freeclimb::AvailableNumber do 
     | 
|
| 
       440 
351 
     | 
    
         
             
                it "returns phone_number in the form of hash" do
         
     | 
| 
       441 
352 
     | 
    
         
             
                  expect(instance._to_hash(instance.phone_number)).to eq(instance.phone_number)
         
     | 
| 
       442 
353 
     | 
    
         
             
                end
         
     | 
| 
       443 
     | 
    
         
            -
                it "returns voice_enabled in the form of hash" do
         
     | 
| 
       444 
     | 
    
         
            -
                  expect(instance._to_hash(instance.voice_enabled)).to eq(instance.voice_enabled)
         
     | 
| 
       445 
     | 
    
         
            -
                end
         
     | 
| 
       446 
     | 
    
         
            -
                it "returns sms_enabled in the form of hash" do
         
     | 
| 
       447 
     | 
    
         
            -
                  expect(instance._to_hash(instance.sms_enabled)).to eq(instance.sms_enabled)
         
     | 
| 
       448 
     | 
    
         
            -
                end
         
     | 
| 
       449 
354 
     | 
    
         
             
                it "returns region in the form of hash" do
         
     | 
| 
       450 
355 
     | 
    
         
             
                  expect(instance._to_hash(instance.region)).to eq(instance.region)
         
     | 
| 
       451 
356 
     | 
    
         
             
                end
         
     |