freeclimb 5.3.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.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +9 -1
  3. data/Gemfile.lock +1 -1
  4. data/README.md +18 -4
  5. data/docs/AvailableNumber.md +0 -4
  6. data/docs/BlobListResponse.md +32 -0
  7. data/docs/BlobResult.md +32 -0
  8. data/docs/CreateBlobRequest.md +22 -0
  9. data/docs/DefaultApi.md +449 -6
  10. data/docs/IncomingNumberResult.md +0 -4
  11. data/docs/ModifyBlobRequest.md +20 -0
  12. data/docs/PlatformError.md +24 -0
  13. data/docs/ReplaceBlobRequest.md +18 -0
  14. data/docs/Say.md +2 -0
  15. data/docs/TTSEngine.md +20 -0
  16. data/docs/TTSEngineName.md +18 -0
  17. data/lib/freeclimb/api/default_api.rb +715 -8
  18. data/lib/freeclimb/models/available_number.rb +1 -23
  19. data/lib/freeclimb/models/blob_list_response.rb +303 -0
  20. data/lib/freeclimb/models/blob_result.rb +332 -0
  21. data/lib/freeclimb/models/create_blob_request.rb +255 -0
  22. data/lib/freeclimb/models/incoming_number_result.rb +1 -23
  23. data/lib/freeclimb/models/modify_blob_request.rb +245 -0
  24. data/lib/freeclimb/models/platform_error.rb +244 -0
  25. data/lib/freeclimb/models/replace_blob_request.rb +221 -0
  26. data/lib/freeclimb/models/say.rb +10 -1
  27. data/lib/freeclimb/models/tts_engine.rb +250 -0
  28. data/lib/freeclimb/models/tts_engine_name.rb +36 -0
  29. data/lib/freeclimb/version.rb +1 -1
  30. data/lib/freeclimb.rb +8 -0
  31. data/openapi.json +894 -97
  32. data/spec/api/default_api_spec.rb +188 -32
  33. data/spec/models/account_result_spec.rb +3 -3
  34. data/spec/models/available_number_spec.rb +3 -98
  35. data/spec/models/blob_list_response_spec.rb +502 -0
  36. data/spec/models/blob_result_spec.rb +489 -0
  37. data/spec/models/call_result_spec.rb +3 -3
  38. data/spec/models/conference_result_spec.rb +3 -3
  39. data/spec/models/create_blob_request_spec.rb +273 -0
  40. data/spec/models/export_request_spec.rb +6 -6
  41. data/spec/models/export_result_spec.rb +6 -6
  42. data/spec/models/incoming_number_result_spec.rb +6 -102
  43. data/spec/models/log_result_spec.rb +3 -3
  44. data/spec/models/message_result_spec.rb +3 -3
  45. data/spec/models/modify_blob_request_spec.rb +226 -0
  46. data/spec/models/platform_error_spec.rb +318 -0
  47. data/spec/models/queue_result_spec.rb +3 -3
  48. data/spec/models/replace_blob_request_spec.rb +176 -0
  49. data/spec/models/say_spec.rb +50 -0
  50. data/spec/models/sms_ten_dlc_partner_campaign_spec.rb +3 -3
  51. data/spec/models/transcribe_utterance_spec.rb +3 -3
  52. data/spec/models/tts_engine_name_spec.rb +75 -0
  53. data/spec/models/tts_engine_spec.rb +183 -0
  54. data/spec/spec_helper.rb +1 -1
  55. metadata +26 -2
@@ -18,14 +18,15 @@ require "facets/string/snakecase"
18
18
  describe "DefaultApi" do
19
19
  before do
20
20
  # run before each test
21
+ @account_id_test_value = "AC0123456789abcdefABCDEF0123456789abcdef00"
21
22
  Freeclimb.configure do |config|
22
23
  # Configure HTTP basic authorization: fc
23
24
  config.scheme = "http"
24
25
  config.host = "http://127.0.0.1:4010/"
25
26
  config.base_path = "/"
26
27
  config.server_index = nil
27
- config.username = "ACCOUNT_ID"
28
- config.password = "API_KEY"
28
+ config.username = @account_id_test_value
29
+ config.password = "API_KEY56789abcdefABCDEF0123456789abcdef00"
29
30
  end
30
31
 
31
32
  @api_client = Freeclimb::ApiClient.new
@@ -258,6 +259,26 @@ describe "DefaultApi" do
258
259
  @export_id_delete_an_export_test_value = "delete_exportId_example"
259
260
 
260
261
  @export_id_get_an_export_test_value = "get_exportId_example"
262
+
263
+ @create_blob_request_create_blob_test_value = Freeclimb::CreateBlobRequest.new({_alias: "alias_example", expires_at: "expires_at_example", blob: {}})
264
+
265
+ @blob_id_delete_blob_test_value = "BL0123456789abcdefABCDEF0123456789abcdef00"
266
+
267
+ @blob_id_get_blob_test_value = "BL0123456789abcdefABCDEF0123456789abcdef00"
268
+
269
+ @alias_list_blobs_test_value = "alias_example"
270
+
271
+ @blob_id_modify_blob_test_value = "BL0123456789abcdefABCDEF0123456789abcdef00"
272
+
273
+ @key_delete_blob_test_value = ["key_example"]
274
+
275
+ @cursor_list_blobs_test_value = "cursor_example"
276
+
277
+ @modify_blob_request_modify_blob_test_value = Freeclimb::ModifyBlobRequest.new({blob: {}, _alias: "alias_example"})
278
+
279
+ @replace_blob_request_replace_blob_test_value = Freeclimb::ReplaceBlobRequest.new({blob: {}})
280
+
281
+ @blob_id_replace_blob_test_value = "BL0123456789abcdefABCDEF0123456789abcdef00"
261
282
  end
262
283
 
263
284
  after do
@@ -354,6 +375,27 @@ describe "DefaultApi" do
354
375
  end
355
376
  end
356
377
 
378
+ # unit tests for create_blob
379
+ # Create a Blob
380
+ # Create a new Blob belonging to the requesting account.
381
+ # @param create_blob_request An object defining a new blob. A request body must be provided but the blob may be empty.
382
+ # @param [Hash] opts the optional parameters
383
+ # @return [BlobResult]
384
+ describe "create_blob test" do
385
+ it "should work" do
386
+ create_blob_request = @create_blob_request_create_blob_test_value
387
+
388
+ result = @api_instance.create_blob(
389
+ create_blob_request,
390
+ {}
391
+ )
392
+
393
+ expect(result).to be_a Freeclimb::BlobResult
394
+
395
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
396
+ end
397
+ end
398
+
357
399
  # unit tests for create_export
358
400
  # Create an Export
359
401
  # @param [Hash] opts the optional parameters
@@ -475,6 +517,27 @@ describe "DefaultApi" do
475
517
  end
476
518
  end
477
519
 
520
+ # unit tests for delete_blob
521
+ # Delete Blob
522
+ # Deletes a blob or specific keys from a blob. If no keys are specified in the request body, the entire blob is deleted (returns 204). If specific keys are provided, only those keys are removed and the remaining blob is returned (returns 200).
523
+ # @param blob_id String that uniquely identifies this Blob resource.
524
+ # @param [Hash] opts the optional parameters
525
+ # @return [BlobResult]
526
+ describe "delete_blob test" do
527
+ it "should work" do
528
+ blob_id = @blob_id_delete_blob_test_value
529
+
530
+ result = @api_instance.delete_blob(
531
+ blob_id,
532
+ {}
533
+ )
534
+
535
+ expect(result).to be_a Freeclimb::BlobResult
536
+
537
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
538
+ end
539
+ end
540
+
478
541
  # unit tests for dequeue_a_member
479
542
  # Dequeue a Member
480
543
  # @param queue_id String that uniquely identifies the Queue that the Member belongs to.
@@ -796,6 +859,27 @@ describe "DefaultApi" do
796
859
  end
797
860
  end
798
861
 
862
+ # unit tests for get_blob
863
+ # Get Blob
864
+ # Retrieves a specified blob
865
+ # @param blob_id String that uniquely identifies this Blob resource.
866
+ # @param [Hash] opts the optional parameters
867
+ # @return [BlobResult]
868
+ describe "get_blob test" do
869
+ it "should work" do
870
+ blob_id = @blob_id_get_blob_test_value
871
+
872
+ result = @api_instance.get_blob(
873
+ blob_id,
874
+ {}
875
+ )
876
+
877
+ expect(result).to be_a Freeclimb::BlobResult
878
+
879
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
880
+ end
881
+ end
882
+
799
883
  # unit tests for get_head_member
800
884
  # Get Head Member
801
885
  # @param queue_id String that uniquely identifies the Queue that the Member belongs to.
@@ -1067,6 +1151,23 @@ describe "DefaultApi" do
1067
1151
  end
1068
1152
  end
1069
1153
 
1154
+ # unit tests for list_blobs
1155
+ # List Blobs belonging to an account.
1156
+ # List Blobs belonging to an account. Results are returned in paginated lists mirroring other listing features in the API.
1157
+ # @param [Hash] opts the optional parameters
1158
+ # @return [BlobListResponse]
1159
+ describe "list_blobs test" do
1160
+ it "should work" do
1161
+ result = @api_instance.list_blobs(
1162
+ {}
1163
+ )
1164
+
1165
+ expect(result).to be_a Freeclimb::BlobListResponse
1166
+
1167
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1168
+ end
1169
+ end
1170
+
1070
1171
  # unit tests for list_call_logs
1071
1172
  # List Call Logs
1072
1173
  # @param call_id String that uniquely identifies this call resource.
@@ -1235,8 +1336,6 @@ describe "DefaultApi" do
1235
1336
  # @option opts [String] :country Country of this phone number.
1236
1337
  # @option opts [String] :application_id ID of the Application that FreeClimb should contact if a Call or SMS arrives for this phone number or a Call from this number is placed. An incoming phone number is not useful until associated with an applicationId.
1237
1338
  # @option opts [Boolean] :has_application Indication of whether the phone number has an application linked to it.
1238
- # @option opts [Boolean] :voice_enabled Indicates whether the phone number can handle Calls. Typically set to true for all numbers.
1239
- # @option opts [Boolean] :sms_enabled Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers.
1240
1339
  # @option opts [Boolean] :has_campaign Indication of whether the phone number has a campaign associated with it
1241
1340
  # @option opts [Boolean] :capabilities_voice
1242
1341
  # @option opts [Boolean] :capabilities_sms
@@ -1254,8 +1353,6 @@ describe "DefaultApi" do
1254
1353
  country = @country_list_incoming_numbers_test_value
1255
1354
  application_id = @application_id_list_incoming_numbers_test_value
1256
1355
  has_application = @has_application_list_incoming_numbers_test_value
1257
- voice_enabled = @voice_enabled_list_incoming_numbers_test_value
1258
- sms_enabled = @sms_enabled_list_incoming_numbers_test_value
1259
1356
  has_campaign = @has_campaign_list_incoming_numbers_test_value
1260
1357
  capabilities_voice = @capabilities_voice_list_incoming_numbers_test_value
1261
1358
  capabilities_sms = @capabilities_sms_list_incoming_numbers_test_value
@@ -1267,7 +1364,7 @@ describe "DefaultApi" do
1267
1364
 
1268
1365
  result = @api_instance.list_incoming_numbers(
1269
1366
  {
1270
- phone_number: phone_number, _alias: _alias, region: region, country: country, application_id: application_id, has_application: has_application, voice_enabled: voice_enabled, sms_enabled: sms_enabled, has_campaign: has_campaign, capabilities_voice: capabilities_voice, capabilities_sms: capabilities_sms, capabilities_toll_free: capabilities_toll_free, capabilities_ten_dlc: capabilities_ten_dlc, capabilities_short_code: capabilities_short_code, tfn_campaign_id: tfn_campaign_id, offnet: offnet
1367
+ phone_number: phone_number, _alias: _alias, region: region, country: country, application_id: application_id, has_application: has_application, has_campaign: has_campaign, capabilities_voice: capabilities_voice, capabilities_sms: capabilities_sms, capabilities_toll_free: capabilities_toll_free, capabilities_ten_dlc: capabilities_ten_dlc, capabilities_short_code: capabilities_short_code, tfn_campaign_id: tfn_campaign_id, offnet: offnet
1271
1368
  }
1272
1369
  )
1273
1370
 
@@ -1425,6 +1522,29 @@ describe "DefaultApi" do
1425
1522
  end
1426
1523
  end
1427
1524
 
1525
+ # unit tests for modify_blob
1526
+ # Modify Blob
1527
+ # Modifys a pre existing blob by either adding new fields, or modifying existing fields
1528
+ # @param blob_id String that uniquely identifies this Blob resource.
1529
+ # @param modify_blob_request Request body to specify keys to modify. Or new keys to add onto the already existing blob
1530
+ # @param [Hash] opts the optional parameters
1531
+ # @return [BlobResult]
1532
+ describe "modify_blob test" do
1533
+ it "should work" do
1534
+ blob_id = @blob_id_modify_blob_test_value
1535
+ modify_blob_request = @modify_blob_request_modify_blob_test_value
1536
+
1537
+ result = @api_instance.modify_blob(
1538
+ blob_id, modify_blob_request,
1539
+ {}
1540
+ )
1541
+
1542
+ expect(result).to be_a Freeclimb::BlobResult
1543
+
1544
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1545
+ end
1546
+ end
1547
+
1428
1548
  # unit tests for remove_a_participant
1429
1549
  # Remove a Participant
1430
1550
  # @param conference_id ID of the conference this participant is in.
@@ -1446,6 +1566,29 @@ describe "DefaultApi" do
1446
1566
  end
1447
1567
  end
1448
1568
 
1569
+ # unit tests for replace_blob
1570
+ # Replace Blob
1571
+ # Replaces the blob content with the provided values.
1572
+ # @param blob_id String that uniquely identifies this Blob resource.
1573
+ # @param replace_blob_request JSON object containing blob key the contents of which will be used to override the enitre blob contents.
1574
+ # @param [Hash] opts the optional parameters
1575
+ # @return [BlobResult]
1576
+ describe "replace_blob test" do
1577
+ it "should work" do
1578
+ blob_id = @blob_id_replace_blob_test_value
1579
+ replace_blob_request = @replace_blob_request_replace_blob_test_value
1580
+
1581
+ result = @api_instance.replace_blob(
1582
+ blob_id, replace_blob_request,
1583
+ {}
1584
+ )
1585
+
1586
+ expect(result).to be_a Freeclimb::BlobResult
1587
+
1588
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1589
+ end
1590
+ end
1591
+
1449
1592
  # unit tests for send_an_sms_message
1450
1593
  # Send an SMS Message
1451
1594
  # @param message_request Details to create a message
@@ -1661,7 +1804,7 @@ describe "DefaultApi" do
1661
1804
  filter_logs_request,
1662
1805
  {}
1663
1806
  )
1664
- result.next_page_uri = "/Accounts/{accountId}/Logs?cursor=1"
1807
+ result.next_page_uri = "/Accounts/{accountId}/Logs?cursor=1".sub("{accountId}", @account_id_test_value)
1665
1808
  next_page_result = @api_instance.get_next_page(result)
1666
1809
  expect(next_page_result).to be_a Freeclimb::LogList
1667
1810
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1677,7 +1820,7 @@ describe "DefaultApi" do
1677
1820
  result = @api_instance.get_ten_dlc_sms_brands(
1678
1821
  {}
1679
1822
  )
1680
- result.next_page_uri = "/Accounts/{accountId}/Messages/10DLC/Brands?cursor=1"
1823
+ result.next_page_uri = "/Accounts/{accountId}/Messages/10DLC/Brands?cursor=1".sub("{accountId}", @account_id_test_value)
1681
1824
  next_page_result = @api_instance.get_next_page(result)
1682
1825
  expect(next_page_result).to be_a Freeclimb::SMSTenDLCBrandsListResult
1683
1826
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1698,7 +1841,7 @@ describe "DefaultApi" do
1698
1841
  brand_id: brand_id
1699
1842
  }
1700
1843
  )
1701
- result.next_page_uri = "/Accounts/{accountId}/Messages/10DLC/Campaigns?cursor=1"
1844
+ result.next_page_uri = "/Accounts/{accountId}/Messages/10DLC/Campaigns?cursor=1".sub("{accountId}", @account_id_test_value)
1702
1845
  next_page_result = @api_instance.get_next_page(result)
1703
1846
  expect(next_page_result).to be_a Freeclimb::SMSTenDLCCampaignsListResult
1704
1847
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1719,7 +1862,7 @@ describe "DefaultApi" do
1719
1862
  brand_id: brand_id
1720
1863
  }
1721
1864
  )
1722
- result.next_page_uri = "/Accounts/{accountId}/Messages/10DLC/PartnerCampaigns?cursor=1"
1865
+ result.next_page_uri = "/Accounts/{accountId}/Messages/10DLC/PartnerCampaigns?cursor=1".sub("{accountId}", @account_id_test_value)
1723
1866
  next_page_result = @api_instance.get_next_page(result)
1724
1867
  expect(next_page_result).to be_a Freeclimb::SMSTenDLCPartnerCampaignsListResult
1725
1868
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1735,7 +1878,7 @@ describe "DefaultApi" do
1735
1878
  result = @api_instance.get_toll_free_sms_campaigns(
1736
1879
  {}
1737
1880
  )
1738
- result.next_page_uri = "/Accounts/{accountId}/Messages/TollFree/Campaigns?cursor=1"
1881
+ result.next_page_uri = "/Accounts/{accountId}/Messages/TollFree/Campaigns?cursor=1".sub("{accountId}", @account_id_test_value)
1739
1882
  next_page_result = @api_instance.get_next_page(result)
1740
1883
  expect(next_page_result).to be_a Freeclimb::SMSTollFreeCampaignsListResult
1741
1884
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1756,7 +1899,7 @@ describe "DefaultApi" do
1756
1899
  _alias: _alias
1757
1900
  }
1758
1901
  )
1759
- result.next_page_uri = "/Accounts/{accountId}/Queues?cursor=1"
1902
+ result.next_page_uri = "/Accounts/{accountId}/Queues?cursor=1".sub("{accountId}", @account_id_test_value)
1760
1903
  next_page_result = @api_instance.get_next_page(result)
1761
1904
  expect(next_page_result).to be_a Freeclimb::QueueList
1762
1905
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1772,7 +1915,7 @@ describe "DefaultApi" do
1772
1915
  result = @api_instance.list_all_account_logs(
1773
1916
  {}
1774
1917
  )
1775
- result.next_page_uri = "/Accounts/{accountId}/Logs?cursor=1"
1918
+ result.next_page_uri = "/Accounts/{accountId}/Logs?cursor=1".sub("{accountId}", @account_id_test_value)
1776
1919
  next_page_result = @api_instance.get_next_page(result)
1777
1920
  expect(next_page_result).to be_a Freeclimb::LogList
1778
1921
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1793,7 +1936,7 @@ describe "DefaultApi" do
1793
1936
  _alias: _alias
1794
1937
  }
1795
1938
  )
1796
- result.next_page_uri = "/Accounts/{accountId}/Applications?cursor=1"
1939
+ result.next_page_uri = "/Accounts/{accountId}/Applications?cursor=1".sub("{accountId}", @account_id_test_value)
1797
1940
  next_page_result = @api_instance.get_next_page(result)
1798
1941
  expect(next_page_result).to be_a Freeclimb::ApplicationList
1799
1942
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1832,13 +1975,30 @@ describe "DefaultApi" do
1832
1975
  phone_number: phone_number, region: region, country: country, voice_enabled: voice_enabled, sms_enabled: sms_enabled, capabilities_voice: capabilities_voice, capabilities_sms: capabilities_sms, capabilities_toll_free: capabilities_toll_free, capabilities_ten_dlc: capabilities_ten_dlc, capabilities_short_code: capabilities_short_code
1833
1976
  }
1834
1977
  )
1835
- result.next_page_uri = "/AvailablePhoneNumbers?cursor=1"
1978
+ result.next_page_uri = "/AvailablePhoneNumbers?cursor=1".sub("{accountId}", @account_id_test_value)
1836
1979
  next_page_result = @api_instance.get_next_page(result)
1837
1980
  expect(next_page_result).to be_a Freeclimb::AvailableNumberList
1838
1981
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1839
1982
  end
1840
1983
  end
1841
1984
 
1985
+ # unit tests for get_next_page list_blobs
1986
+ # List Blobs belonging to an account.
1987
+ # List Blobs belonging to an account. Results are returned in paginated lists mirroring other listing features in the API.
1988
+ # @param [Hash] opts the optional parameters
1989
+ # @return [BlobListResponse]
1990
+ describe "list_blobs_get_next_page test" do
1991
+ it "should work" do
1992
+ result = @api_instance.list_blobs(
1993
+ {}
1994
+ )
1995
+ result.next_page_uri = "/Accounts/{accountId}/Blobs?cursor=1".sub("{accountId}", @account_id_test_value)
1996
+ next_page_result = @api_instance.get_next_page(result)
1997
+ expect(next_page_result).to be_a Freeclimb::BlobListResponse
1998
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1999
+ end
2000
+ end
2001
+
1842
2002
  # unit tests for get_next_page list_call_logs
1843
2003
  # List Call Logs
1844
2004
  # @param call_id String that uniquely identifies this call resource.
@@ -1852,7 +2012,7 @@ describe "DefaultApi" do
1852
2012
  call_id,
1853
2013
  {}
1854
2014
  )
1855
- result.next_page_uri = "/Accounts/{accountId}/Calls/{callId}/Logs?cursor=1"
2015
+ result.next_page_uri = "/Accounts/{accountId}/Calls/{callId}/Logs?cursor=1".sub("{accountId}", @account_id_test_value)
1856
2016
  next_page_result = @api_instance.get_next_page(result)
1857
2017
  expect(next_page_result).to be_a Freeclimb::LogList
1858
2018
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1876,7 +2036,7 @@ describe "DefaultApi" do
1876
2036
  date_created: date_created
1877
2037
  }
1878
2038
  )
1879
- result.next_page_uri = "/Accounts/{accountId}/Calls/{callId}/Recordings?cursor=1"
2039
+ result.next_page_uri = "/Accounts/{accountId}/Calls/{callId}/Recordings?cursor=1".sub("{accountId}", @account_id_test_value)
1880
2040
  next_page_result = @api_instance.get_next_page(result)
1881
2041
  expect(next_page_result).to be_a Freeclimb::RecordingList
1882
2042
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1915,7 +2075,7 @@ describe "DefaultApi" do
1915
2075
  active: active, to: to, from: from, status: status, start_time: start_time, end_time: end_time, parent_call_id: parent_call_id, application_id: application_id, risk_score_min: risk_score_min, risk_score_max: risk_score_max
1916
2076
  }
1917
2077
  )
1918
- result.next_page_uri = "/Accounts/{accountId}/Calls?cursor=1"
2078
+ result.next_page_uri = "/Accounts/{accountId}/Calls?cursor=1".sub("{accountId}", @account_id_test_value)
1919
2079
  next_page_result = @api_instance.get_next_page(result)
1920
2080
  expect(next_page_result).to be_a Freeclimb::CallList
1921
2081
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1941,7 +2101,7 @@ describe "DefaultApi" do
1941
2101
  call_id: call_id, date_created: date_created
1942
2102
  }
1943
2103
  )
1944
- result.next_page_uri = "/Accounts/{accountId}/Conferences/{conferenceId}/Recordings?cursor=1"
2104
+ result.next_page_uri = "/Accounts/{accountId}/Conferences/{conferenceId}/Recordings?cursor=1".sub("{accountId}", @account_id_test_value)
1945
2105
  next_page_result = @api_instance.get_next_page(result)
1946
2106
  expect(next_page_result).to be_a Freeclimb::RecordingList
1947
2107
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1968,7 +2128,7 @@ describe "DefaultApi" do
1968
2128
  status: status, _alias: _alias, date_created: date_created, date_updated: date_updated
1969
2129
  }
1970
2130
  )
1971
- result.next_page_uri = "/Accounts/{accountId}/Conferences?cursor=1"
2131
+ result.next_page_uri = "/Accounts/{accountId}/Conferences?cursor=1".sub("{accountId}", @account_id_test_value)
1972
2132
  next_page_result = @api_instance.get_next_page(result)
1973
2133
  expect(next_page_result).to be_a Freeclimb::ConferenceList
1974
2134
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1991,7 +2151,7 @@ describe "DefaultApi" do
1991
2151
  status: status, cursor: cursor
1992
2152
  }
1993
2153
  )
1994
- result.next_page_uri = "/Accounts/{accountId}/Exports?cursor=1"
2154
+ result.next_page_uri = "/Accounts/{accountId}/Exports?cursor=1".sub("{accountId}", @account_id_test_value)
1995
2155
  next_page_result = @api_instance.get_next_page(result)
1996
2156
  expect(next_page_result).to be_a Freeclimb::ExportList
1997
2157
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -2007,8 +2167,6 @@ describe "DefaultApi" do
2007
2167
  # @option opts [String] :country Country of this phone number.
2008
2168
  # @option opts [String] :application_id ID of the Application that FreeClimb should contact if a Call or SMS arrives for this phone number or a Call from this number is placed. An incoming phone number is not useful until associated with an applicationId.
2009
2169
  # @option opts [Boolean] :has_application Indication of whether the phone number has an application linked to it.
2010
- # @option opts [Boolean] :voice_enabled Indicates whether the phone number can handle Calls. Typically set to true for all numbers.
2011
- # @option opts [Boolean] :sms_enabled Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers.
2012
2170
  # @option opts [Boolean] :has_campaign Indication of whether the phone number has a campaign associated with it
2013
2171
  # @option opts [Boolean] :capabilities_voice
2014
2172
  # @option opts [Boolean] :capabilities_sms
@@ -2026,8 +2184,6 @@ describe "DefaultApi" do
2026
2184
  country = @country_list_incoming_numbers_test_value
2027
2185
  application_id = @application_id_list_incoming_numbers_test_value
2028
2186
  has_application = @has_application_list_incoming_numbers_test_value
2029
- voice_enabled = @voice_enabled_list_incoming_numbers_test_value
2030
- sms_enabled = @sms_enabled_list_incoming_numbers_test_value
2031
2187
  has_campaign = @has_campaign_list_incoming_numbers_test_value
2032
2188
  capabilities_voice = @capabilities_voice_list_incoming_numbers_test_value
2033
2189
  capabilities_sms = @capabilities_sms_list_incoming_numbers_test_value
@@ -2039,10 +2195,10 @@ describe "DefaultApi" do
2039
2195
 
2040
2196
  result = @api_instance.list_incoming_numbers(
2041
2197
  {
2042
- phone_number: phone_number, _alias: _alias, region: region, country: country, application_id: application_id, has_application: has_application, voice_enabled: voice_enabled, sms_enabled: sms_enabled, has_campaign: has_campaign, capabilities_voice: capabilities_voice, capabilities_sms: capabilities_sms, capabilities_toll_free: capabilities_toll_free, capabilities_ten_dlc: capabilities_ten_dlc, capabilities_short_code: capabilities_short_code, tfn_campaign_id: tfn_campaign_id, offnet: offnet
2198
+ phone_number: phone_number, _alias: _alias, region: region, country: country, application_id: application_id, has_application: has_application, has_campaign: has_campaign, capabilities_voice: capabilities_voice, capabilities_sms: capabilities_sms, capabilities_toll_free: capabilities_toll_free, capabilities_ten_dlc: capabilities_ten_dlc, capabilities_short_code: capabilities_short_code, tfn_campaign_id: tfn_campaign_id, offnet: offnet
2043
2199
  }
2044
2200
  )
2045
- result.next_page_uri = "/Accounts/{accountId}/IncomingPhoneNumbers?cursor=1"
2201
+ result.next_page_uri = "/Accounts/{accountId}/IncomingPhoneNumbers?cursor=1".sub("{accountId}", @account_id_test_value)
2046
2202
  next_page_result = @api_instance.get_next_page(result)
2047
2203
  expect(next_page_result).to be_a Freeclimb::IncomingNumberList
2048
2204
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -2062,7 +2218,7 @@ describe "DefaultApi" do
2062
2218
  queue_id,
2063
2219
  {}
2064
2220
  )
2065
- result.next_page_uri = "/Accounts/{accountId}/Queues/{queueId}/Members?cursor=1"
2221
+ result.next_page_uri = "/Accounts/{accountId}/Queues/{queueId}/Members?cursor=1".sub("{accountId}", @account_id_test_value)
2066
2222
  next_page_result = @api_instance.get_next_page(result)
2067
2223
  expect(next_page_result).to be_a Freeclimb::QueueMemberList
2068
2224
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -2090,7 +2246,7 @@ describe "DefaultApi" do
2090
2246
  talk: talk, listen: listen, dtmf_pass_through: dtmf_pass_through
2091
2247
  }
2092
2248
  )
2093
- result.next_page_uri = "/Accounts/{accountId}/Conferences/{conferenceId}/Participants?cursor=1"
2249
+ result.next_page_uri = "/Accounts/{accountId}/Conferences/{conferenceId}/Participants?cursor=1".sub("{accountId}", @account_id_test_value)
2094
2250
  next_page_result = @api_instance.get_next_page(result)
2095
2251
  expect(next_page_result).to be_a Freeclimb::ConferenceParticipantList
2096
2252
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -2115,7 +2271,7 @@ describe "DefaultApi" do
2115
2271
  call_id: call_id, conference_id: conference_id, date_created: date_created
2116
2272
  }
2117
2273
  )
2118
- result.next_page_uri = "/Accounts/{accountId}/Recordings?cursor=1"
2274
+ result.next_page_uri = "/Accounts/{accountId}/Recordings?cursor=1".sub("{accountId}", @account_id_test_value)
2119
2275
  next_page_result = @api_instance.get_next_page(result)
2120
2276
  expect(next_page_result).to be_a Freeclimb::RecordingList
2121
2277
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -2150,7 +2306,7 @@ describe "DefaultApi" do
2150
2306
  to: to, from: from, begin_time: begin_time, end_time: end_time, direction: direction, campaign_id: campaign_id, brand_id: brand_id, is10_dlc: is10_dlc
2151
2307
  }
2152
2308
  )
2153
- result.next_page_uri = "/Accounts/{accountId}/Messages?cursor=1"
2309
+ result.next_page_uri = "/Accounts/{accountId}/Messages?cursor=1".sub("{accountId}", @account_id_test_value)
2154
2310
  next_page_result = @api_instance.get_next_page(result)
2155
2311
  expect(next_page_result).to be_a Freeclimb::MessagesList
2156
2312
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -242,7 +242,7 @@ describe Freeclimb::AccountResult do
242
242
 
243
243
  describe 'test method "eql?"' do
244
244
  it "checks if objects are equal" do
245
- obj_Object = Object.new
245
+ obj_subresource_uris = Object.new
246
246
 
247
247
  instance_1 = Freeclimb::AccountResult.new(
248
248
  uri: "TS",
@@ -265,7 +265,7 @@ describe Freeclimb::AccountResult do
265
265
 
266
266
  status: Freeclimb::AccountStatus::CLOSED,
267
267
 
268
- subresource_uris: obj_Object
268
+ subresource_uris: obj_subresource_uris
269
269
  )
270
270
  instance_2 = Freeclimb::AccountResult.new(
271
271
  uri: "TS",
@@ -288,7 +288,7 @@ describe Freeclimb::AccountResult do
288
288
 
289
289
  status: Freeclimb::AccountStatus::CLOSED,
290
290
 
291
- subresource_uris: obj_Object
291
+ subresource_uris: obj_subresource_uris
292
292
  )
293
293
  expect(instance_1.eql?(instance_2)).to eq(true)
294
294
  end