freeclimb 4.0.4 → 4.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (125) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +91 -9
  3. data/Gemfile.lock +1 -1
  4. data/README.md +25 -4
  5. data/docs/AccountResult.md +2 -2
  6. data/docs/AccountResultAllOf.md +2 -2
  7. data/docs/AccountStatus.md +18 -0
  8. data/docs/AccountType.md +17 -0
  9. data/docs/AnsweredBy.md +17 -0
  10. data/docs/CallDirection.md +18 -0
  11. data/docs/CallResult.md +3 -3
  12. data/docs/CallResultAllOf.md +3 -3
  13. data/docs/CallStatus.md +23 -0
  14. data/docs/ConferenceResult.md +2 -2
  15. data/docs/ConferenceResultAllOf.md +2 -2
  16. data/docs/ConferenceStatus.md +19 -0
  17. data/docs/CreateConference.md +2 -2
  18. data/docs/CreateConferenceAllOf.md +2 -2
  19. data/docs/CreateConferenceRequest.md +1 -1
  20. data/docs/DefaultApi.md +5 -5
  21. data/docs/Dequeue.md +1 -1
  22. data/docs/GetSpeech.md +3 -3
  23. data/docs/GetSpeechAllOf.md +3 -3
  24. data/docs/GetSpeechReason.md +21 -0
  25. data/docs/GrammarFileBuiltIn.md +30 -0
  26. data/docs/GrammarType.md +17 -0
  27. data/docs/IfMachine.md +17 -0
  28. data/docs/Language.md +41 -0
  29. data/docs/LogLevel.md +18 -0
  30. data/docs/LogResult.md +1 -1
  31. data/docs/MachineType.md +17 -0
  32. data/docs/MessageDirection.md +17 -0
  33. data/docs/MessageResult.md +1 -1
  34. data/docs/MessageResultAllOf.md +1 -1
  35. data/docs/MessageStatus.md +26 -0
  36. data/docs/OutDial.md +1 -1
  37. data/docs/OutDialAllOf.md +1 -1
  38. data/docs/PlayBeep.md +19 -0
  39. data/docs/QueueResultStatus.md +19 -0
  40. data/docs/RecordUtteranceTermReason.md +19 -0
  41. data/docs/RequestType.md +38 -0
  42. data/docs/StartRecordCall.md +1 -1
  43. data/docs/Unpark.md +1 -1
  44. data/docs/UpdateCallRequest.md +1 -1
  45. data/docs/UpdateCallRequestStatus.md +17 -0
  46. data/docs/UpdateConferenceRequest.md +2 -2
  47. data/docs/UpdateConferenceRequestStatus.md +17 -0
  48. data/lib/freeclimb/api/default_api.rb +4 -8
  49. data/lib/freeclimb/models/account_result.rb +2 -52
  50. data/lib/freeclimb/models/account_result_all_of.rb +2 -52
  51. data/lib/freeclimb/models/account_status.rb +38 -0
  52. data/lib/freeclimb/models/account_type.rb +37 -0
  53. data/lib/freeclimb/models/answered_by.rb +37 -0
  54. data/lib/freeclimb/models/call_direction.rb +38 -0
  55. data/lib/freeclimb/models/call_result.rb +3 -43
  56. data/lib/freeclimb/models/call_result_all_of.rb +3 -43
  57. data/lib/freeclimb/models/call_status.rb +43 -0
  58. data/lib/freeclimb/models/conference_result.rb +4 -52
  59. data/lib/freeclimb/models/conference_result_all_of.rb +4 -52
  60. data/lib/freeclimb/models/conference_status.rb +39 -0
  61. data/lib/freeclimb/models/create_conference.rb +4 -3
  62. data/lib/freeclimb/models/create_conference_all_of.rb +4 -3
  63. data/lib/freeclimb/models/create_conference_request.rb +1 -36
  64. data/lib/freeclimb/models/get_speech.rb +3 -4
  65. data/lib/freeclimb/models/get_speech_all_of.rb +3 -4
  66. data/lib/freeclimb/models/get_speech_reason.rb +41 -0
  67. data/lib/freeclimb/models/grammar_file_built_in.rb +50 -0
  68. data/lib/freeclimb/models/grammar_type.rb +37 -0
  69. data/lib/freeclimb/models/if_machine.rb +37 -0
  70. data/lib/freeclimb/models/language.rb +61 -0
  71. data/lib/freeclimb/models/log_level.rb +38 -0
  72. data/lib/freeclimb/models/log_result.rb +1 -37
  73. data/lib/freeclimb/models/machine_type.rb +37 -0
  74. data/lib/freeclimb/models/message_direction.rb +37 -0
  75. data/lib/freeclimb/models/message_result.rb +1 -37
  76. data/lib/freeclimb/models/message_result_all_of.rb +1 -37
  77. data/lib/freeclimb/models/message_status.rb +46 -0
  78. data/lib/freeclimb/models/out_dial.rb +1 -2
  79. data/lib/freeclimb/models/out_dial_all_of.rb +1 -2
  80. data/lib/freeclimb/models/play_beep.rb +39 -0
  81. data/lib/freeclimb/models/queue_result_status.rb +39 -0
  82. data/lib/freeclimb/models/record_utterance_term_reason.rb +39 -0
  83. data/lib/freeclimb/models/request_type.rb +58 -0
  84. data/lib/freeclimb/models/update_call_request.rb +1 -36
  85. data/lib/freeclimb/models/update_call_request_status.rb +37 -0
  86. data/lib/freeclimb/models/update_conference_request.rb +2 -50
  87. data/lib/freeclimb/models/update_conference_request_status.rb +37 -0
  88. data/lib/freeclimb/version.rb +1 -1
  89. data/lib/freeclimb.rb +21 -0
  90. data/openapi.json +4220 -0
  91. data/spec/api/default_api_spec.rb +532 -700
  92. data/spec/configuration_spec.rb +2 -1
  93. data/spec/models/account_result_spec.rb +0 -8
  94. data/spec/models/account_status_spec.rb +43 -0
  95. data/spec/models/account_type_spec.rb +38 -0
  96. data/spec/models/answered_by_spec.rb +38 -0
  97. data/spec/models/available_number_spec.rb +6 -0
  98. data/spec/models/call_direction_spec.rb +43 -0
  99. data/spec/models/call_result_spec.rb +0 -4
  100. data/spec/models/call_status_spec.rb +68 -0
  101. data/spec/models/conference_result_spec.rb +0 -8
  102. data/spec/models/conference_status_spec.rb +48 -0
  103. data/spec/models/create_conference_request_spec.rb +0 -4
  104. data/spec/models/get_speech_reason_spec.rb +58 -0
  105. data/spec/models/grammar_file_built_in_spec.rb +103 -0
  106. data/spec/models/grammar_type_spec.rb +38 -0
  107. data/spec/models/if_machine_spec.rb +38 -0
  108. data/spec/models/incoming_number_result_spec.rb +12 -0
  109. data/spec/models/language_spec.rb +158 -0
  110. data/spec/models/log_level_spec.rb +43 -0
  111. data/spec/models/log_result_spec.rb +0 -4
  112. data/spec/models/machine_type_spec.rb +38 -0
  113. data/spec/models/message_direction_spec.rb +38 -0
  114. data/spec/models/message_result_spec.rb +0 -4
  115. data/spec/models/message_status_spec.rb +83 -0
  116. data/spec/models/play_beep_spec.rb +48 -0
  117. data/spec/models/queue_result_spec.rb +1 -1
  118. data/spec/models/queue_result_status_spec.rb +48 -0
  119. data/spec/models/record_utterance_term_reason_spec.rb +48 -0
  120. data/spec/models/request_type_spec.rb +143 -0
  121. data/spec/models/update_call_request_spec.rb +0 -4
  122. data/spec/models/update_call_request_status_spec.rb +38 -0
  123. data/spec/models/update_conference_request_spec.rb +0 -4
  124. data/spec/models/update_conference_request_status_spec.rb +38 -0
  125. metadata +138 -53
@@ -20,6 +20,7 @@ describe Freeclimb::Configuration do
20
20
  require 'uri'
21
21
  uri = URI.parse("https://www.freeclimb.com/apiserver")
22
22
  Freeclimb.configure do |c|
23
+ c.scheme = uri.scheme
23
24
  c.host = uri.host
24
25
  c.base_path = uri.path
25
26
  end
@@ -35,7 +36,7 @@ describe Freeclimb::Configuration do
35
36
  [nil, '', '/', '//'].each do |base_path|
36
37
  config.base_path = base_path
37
38
  # uncomment below to test trailing slashes
38
- expect(config.base_url).to eq("https://www.freeclimb.com/apiserver")
39
+ expect(config.base_url).to eq("https://www.freeclimb.com")
39
40
  end
40
41
  end
41
42
  end
@@ -76,20 +76,12 @@ describe Freeclimb::AccountResult do
76
76
  describe 'test attribute "type"' do
77
77
  it 'should work' do
78
78
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
79
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["trial", "full"])
80
- # validator.allowable_values.each do |value|
81
- # expect { instance.type = value }.not_to raise_error
82
- # end
83
79
  end
84
80
  end
85
81
 
86
82
  describe 'test attribute "status"' do
87
83
  it 'should work' do
88
84
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
89
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["active", "suspended", "closed"])
90
- # validator.allowable_values.each do |value|
91
- # expect { instance.status = value }.not_to raise_error
92
- # end
93
85
  end
94
86
  end
95
87
 
@@ -0,0 +1,43 @@
1
+ =begin
2
+ #FreeClimb API
3
+
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.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: support@freeclimb.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.4.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Freeclimb::AccountStatus
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Freeclimb::AccountStatus do
21
+ let(:instance) { Freeclimb::AccountStatus.new }
22
+
23
+ describe 'test an instance of AccountStatus' do
24
+ it 'should create an instance of AccountStatus' do
25
+ expect(instance).to be_instance_of(Freeclimb::AccountStatus)
26
+ end
27
+ end
28
+ describe 'test attribute "CLOSED"' do
29
+ it 'should work' do
30
+ expect { Freeclimb::AccountStatus::CLOSED = "closed" }.not_to raise_error
31
+ end
32
+ end
33
+ describe 'test attribute "SUSPENDED"' do
34
+ it 'should work' do
35
+ expect { Freeclimb::AccountStatus::SUSPENDED = "suspended" }.not_to raise_error
36
+ end
37
+ end
38
+ describe 'test attribute "ACTIVE"' do
39
+ it 'should work' do
40
+ expect { Freeclimb::AccountStatus::ACTIVE = "active" }.not_to raise_error
41
+ end
42
+ end
43
+ end
@@ -0,0 +1,38 @@
1
+ =begin
2
+ #FreeClimb API
3
+
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.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: support@freeclimb.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.4.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Freeclimb::AccountType
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Freeclimb::AccountType do
21
+ let(:instance) { Freeclimb::AccountType.new }
22
+
23
+ describe 'test an instance of AccountType' do
24
+ it 'should create an instance of AccountType' do
25
+ expect(instance).to be_instance_of(Freeclimb::AccountType)
26
+ end
27
+ end
28
+ describe 'test attribute "TRIAL"' do
29
+ it 'should work' do
30
+ expect { Freeclimb::AccountType::TRIAL = "trial" }.not_to raise_error
31
+ end
32
+ end
33
+ describe 'test attribute "FULL"' do
34
+ it 'should work' do
35
+ expect { Freeclimb::AccountType::FULL = "full" }.not_to raise_error
36
+ end
37
+ end
38
+ end
@@ -0,0 +1,38 @@
1
+ =begin
2
+ #FreeClimb API
3
+
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.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: support@freeclimb.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.4.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Freeclimb::AnsweredBy
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Freeclimb::AnsweredBy do
21
+ let(:instance) { Freeclimb::AnsweredBy.new }
22
+
23
+ describe 'test an instance of AnsweredBy' do
24
+ it 'should create an instance of AnsweredBy' do
25
+ expect(instance).to be_instance_of(Freeclimb::AnsweredBy)
26
+ end
27
+ end
28
+ describe 'test attribute "HUMAN"' do
29
+ it 'should work' do
30
+ expect { Freeclimb::AnsweredBy::HUMAN = "human" }.not_to raise_error
31
+ end
32
+ end
33
+ describe 'test attribute "MACHINE"' do
34
+ it 'should work' do
35
+ expect { Freeclimb::AnsweredBy::MACHINE = "machine" }.not_to raise_error
36
+ end
37
+ end
38
+ end
@@ -31,6 +31,12 @@ describe Freeclimb::AvailableNumber do
31
31
  end
32
32
  end
33
33
 
34
+ describe 'test attribute "campaign_id"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
34
40
  describe 'test attribute "phone_number"' do
35
41
  it 'should work' do
36
42
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -0,0 +1,43 @@
1
+ =begin
2
+ #FreeClimb API
3
+
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.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: support@freeclimb.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.4.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Freeclimb::CallDirection
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Freeclimb::CallDirection do
21
+ let(:instance) { Freeclimb::CallDirection.new }
22
+
23
+ describe 'test an instance of CallDirection' do
24
+ it 'should create an instance of CallDirection' do
25
+ expect(instance).to be_instance_of(Freeclimb::CallDirection)
26
+ end
27
+ end
28
+ describe 'test attribute "INBOUND"' do
29
+ it 'should work' do
30
+ expect { Freeclimb::CallDirection::INBOUND = "inbound" }.not_to raise_error
31
+ end
32
+ end
33
+ describe 'test attribute "OUTBOUND_API"' do
34
+ it 'should work' do
35
+ expect { Freeclimb::CallDirection::OUTBOUND_API = "outboundAPI" }.not_to raise_error
36
+ end
37
+ end
38
+ describe 'test attribute "OUTBOUND_DIAL"' do
39
+ it 'should work' do
40
+ expect { Freeclimb::CallDirection::OUTBOUND_DIAL = "outboundDial" }.not_to raise_error
41
+ end
42
+ end
43
+ end
@@ -88,10 +88,6 @@ describe Freeclimb::CallResult do
88
88
  describe 'test attribute "status"' do
89
89
  it 'should work' do
90
90
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
91
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["queued", "ringing", "inProgress", "canceled", "completed", "busy", "failed", "noAnswer"])
92
- # validator.allowable_values.each do |value|
93
- # expect { instance.status = value }.not_to raise_error
94
- # end
95
91
  end
96
92
  end
97
93
 
@@ -0,0 +1,68 @@
1
+ =begin
2
+ #FreeClimb API
3
+
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.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: support@freeclimb.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.4.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Freeclimb::CallStatus
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Freeclimb::CallStatus do
21
+ let(:instance) { Freeclimb::CallStatus.new }
22
+
23
+ describe 'test an instance of CallStatus' do
24
+ it 'should create an instance of CallStatus' do
25
+ expect(instance).to be_instance_of(Freeclimb::CallStatus)
26
+ end
27
+ end
28
+ describe 'test attribute "QUEUED"' do
29
+ it 'should work' do
30
+ expect { Freeclimb::CallStatus::QUEUED = "queued" }.not_to raise_error
31
+ end
32
+ end
33
+ describe 'test attribute "RINGING"' do
34
+ it 'should work' do
35
+ expect { Freeclimb::CallStatus::RINGING = "ringing" }.not_to raise_error
36
+ end
37
+ end
38
+ describe 'test attribute "IN_PROGRESS"' do
39
+ it 'should work' do
40
+ expect { Freeclimb::CallStatus::IN_PROGRESS = "inProgress" }.not_to raise_error
41
+ end
42
+ end
43
+ describe 'test attribute "CANCELED"' do
44
+ it 'should work' do
45
+ expect { Freeclimb::CallStatus::CANCELED = "canceled" }.not_to raise_error
46
+ end
47
+ end
48
+ describe 'test attribute "COMPLETED"' do
49
+ it 'should work' do
50
+ expect { Freeclimb::CallStatus::COMPLETED = "completed" }.not_to raise_error
51
+ end
52
+ end
53
+ describe 'test attribute "FAILED"' do
54
+ it 'should work' do
55
+ expect { Freeclimb::CallStatus::FAILED = "failed" }.not_to raise_error
56
+ end
57
+ end
58
+ describe 'test attribute "BUSY"' do
59
+ it 'should work' do
60
+ expect { Freeclimb::CallStatus::BUSY = "busy" }.not_to raise_error
61
+ end
62
+ end
63
+ describe 'test attribute "NO_ANSWER"' do
64
+ it 'should work' do
65
+ expect { Freeclimb::CallStatus::NO_ANSWER = "noAnswer" }.not_to raise_error
66
+ end
67
+ end
68
+ end
@@ -70,10 +70,6 @@ describe Freeclimb::ConferenceResult do
70
70
  describe 'test attribute "play_beep"' do
71
71
  it 'should work' do
72
72
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
73
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["always", "never", "entryOnly", "exitOnly"])
74
- # validator.allowable_values.each do |value|
75
- # expect { instance.play_beep = value }.not_to raise_error
76
- # end
77
73
  end
78
74
  end
79
75
 
@@ -86,10 +82,6 @@ describe Freeclimb::ConferenceResult do
86
82
  describe 'test attribute "status"' do
87
83
  it 'should work' do
88
84
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
89
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["creating", "empty", "populated", "inProgress", "terminated"])
90
- # validator.allowable_values.each do |value|
91
- # expect { instance.status = value }.not_to raise_error
92
- # end
93
85
  end
94
86
  end
95
87
 
@@ -0,0 +1,48 @@
1
+ =begin
2
+ #FreeClimb API
3
+
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.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: support@freeclimb.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.4.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Freeclimb::ConferenceStatus
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Freeclimb::ConferenceStatus do
21
+ let(:instance) { Freeclimb::ConferenceStatus.new }
22
+
23
+ describe 'test an instance of ConferenceStatus' do
24
+ it 'should create an instance of ConferenceStatus' do
25
+ expect(instance).to be_instance_of(Freeclimb::ConferenceStatus)
26
+ end
27
+ end
28
+ describe 'test attribute "EMPTY"' do
29
+ it 'should work' do
30
+ expect { Freeclimb::ConferenceStatus::EMPTY = "empty" }.not_to raise_error
31
+ end
32
+ end
33
+ describe 'test attribute "POPULATED"' do
34
+ it 'should work' do
35
+ expect { Freeclimb::ConferenceStatus::POPULATED = "populated" }.not_to raise_error
36
+ end
37
+ end
38
+ describe 'test attribute "IN_PROGRESS"' do
39
+ it 'should work' do
40
+ expect { Freeclimb::ConferenceStatus::IN_PROGRESS = "inProgress" }.not_to raise_error
41
+ end
42
+ end
43
+ describe 'test attribute "TERMINATED"' do
44
+ it 'should work' do
45
+ expect { Freeclimb::ConferenceStatus::TERMINATED = "terminated" }.not_to raise_error
46
+ end
47
+ end
48
+ end
@@ -34,10 +34,6 @@ describe Freeclimb::CreateConferenceRequest do
34
34
  describe 'test attribute "play_beep"' do
35
35
  it 'should work' do
36
36
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["always", "never", "entryOnly", "exitOnly"])
38
- # validator.allowable_values.each do |value|
39
- # expect { instance.play_beep = value }.not_to raise_error
40
- # end
41
37
  end
42
38
  end
43
39
 
@@ -0,0 +1,58 @@
1
+ =begin
2
+ #FreeClimb API
3
+
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.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: support@freeclimb.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.4.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Freeclimb::GetSpeechReason
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Freeclimb::GetSpeechReason do
21
+ let(:instance) { Freeclimb::GetSpeechReason.new }
22
+
23
+ describe 'test an instance of GetSpeechReason' do
24
+ it 'should create an instance of GetSpeechReason' do
25
+ expect(instance).to be_instance_of(Freeclimb::GetSpeechReason)
26
+ end
27
+ end
28
+ describe 'test attribute "ERROR"' do
29
+ it 'should work' do
30
+ expect { Freeclimb::GetSpeechReason::ERROR = "error" }.not_to raise_error
31
+ end
32
+ end
33
+ describe 'test attribute "HANGUP"' do
34
+ it 'should work' do
35
+ expect { Freeclimb::GetSpeechReason::HANGUP = "hangup" }.not_to raise_error
36
+ end
37
+ end
38
+ describe 'test attribute "DIGIT"' do
39
+ it 'should work' do
40
+ expect { Freeclimb::GetSpeechReason::DIGIT = "digit" }.not_to raise_error
41
+ end
42
+ end
43
+ describe 'test attribute "NO_INPUT"' do
44
+ it 'should work' do
45
+ expect { Freeclimb::GetSpeechReason::NO_INPUT = "noInput" }.not_to raise_error
46
+ end
47
+ end
48
+ describe 'test attribute "NO_MATCH"' do
49
+ it 'should work' do
50
+ expect { Freeclimb::GetSpeechReason::NO_MATCH = "noMatch" }.not_to raise_error
51
+ end
52
+ end
53
+ describe 'test attribute "RECOGNITION"' do
54
+ it 'should work' do
55
+ expect { Freeclimb::GetSpeechReason::RECOGNITION = "recognition" }.not_to raise_error
56
+ end
57
+ end
58
+ end
@@ -0,0 +1,103 @@
1
+ =begin
2
+ #FreeClimb API
3
+
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.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: support@freeclimb.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.4.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Freeclimb::GrammarFileBuiltIn
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Freeclimb::GrammarFileBuiltIn do
21
+ let(:instance) { Freeclimb::GrammarFileBuiltIn.new }
22
+
23
+ describe 'test an instance of GrammarFileBuiltIn' do
24
+ it 'should create an instance of GrammarFileBuiltIn' do
25
+ expect(instance).to be_instance_of(Freeclimb::GrammarFileBuiltIn)
26
+ end
27
+ end
28
+ describe 'test attribute "ALPHNUM6"' do
29
+ it 'should work' do
30
+ expect { Freeclimb::GrammarFileBuiltIn::ALPHNUM6 = "ALPHNUM6" }.not_to raise_error
31
+ end
32
+ end
33
+ describe 'test attribute "ANY_DIG"' do
34
+ it 'should work' do
35
+ expect { Freeclimb::GrammarFileBuiltIn::ANY_DIG = "ANY_DIG" }.not_to raise_error
36
+ end
37
+ end
38
+ describe 'test attribute "DIG1"' do
39
+ it 'should work' do
40
+ expect { Freeclimb::GrammarFileBuiltIn::DIG1 = "DIG1" }.not_to raise_error
41
+ end
42
+ end
43
+ describe 'test attribute "DIG2"' do
44
+ it 'should work' do
45
+ expect { Freeclimb::GrammarFileBuiltIn::DIG2 = "DIG2" }.not_to raise_error
46
+ end
47
+ end
48
+ describe 'test attribute "DIG3"' do
49
+ it 'should work' do
50
+ expect { Freeclimb::GrammarFileBuiltIn::DIG3 = "DIG3" }.not_to raise_error
51
+ end
52
+ end
53
+ describe 'test attribute "DIG4"' do
54
+ it 'should work' do
55
+ expect { Freeclimb::GrammarFileBuiltIn::DIG4 = "DIG4" }.not_to raise_error
56
+ end
57
+ end
58
+ describe 'test attribute "DIG5"' do
59
+ it 'should work' do
60
+ expect { Freeclimb::GrammarFileBuiltIn::DIG5 = "DIG5" }.not_to raise_error
61
+ end
62
+ end
63
+ describe 'test attribute "DIG6"' do
64
+ it 'should work' do
65
+ expect { Freeclimb::GrammarFileBuiltIn::DIG6 = "DIG6" }.not_to raise_error
66
+ end
67
+ end
68
+ describe 'test attribute "DIG7"' do
69
+ it 'should work' do
70
+ expect { Freeclimb::GrammarFileBuiltIn::DIG7 = "DIG7" }.not_to raise_error
71
+ end
72
+ end
73
+ describe 'test attribute "DIG8"' do
74
+ it 'should work' do
75
+ expect { Freeclimb::GrammarFileBuiltIn::DIG8 = "DIG8" }.not_to raise_error
76
+ end
77
+ end
78
+ describe 'test attribute "DIG9"' do
79
+ it 'should work' do
80
+ expect { Freeclimb::GrammarFileBuiltIn::DIG9 = "DIG9" }.not_to raise_error
81
+ end
82
+ end
83
+ describe 'test attribute "DIG10"' do
84
+ it 'should work' do
85
+ expect { Freeclimb::GrammarFileBuiltIn::DIG10 = "DIG10" }.not_to raise_error
86
+ end
87
+ end
88
+ describe 'test attribute "DIG11"' do
89
+ it 'should work' do
90
+ expect { Freeclimb::GrammarFileBuiltIn::DIG11 = "DIG11" }.not_to raise_error
91
+ end
92
+ end
93
+ describe 'test attribute "UP_TO_20_DIGIT_SEQUENCE"' do
94
+ it 'should work' do
95
+ expect { Freeclimb::GrammarFileBuiltIn::UP_TO_20_DIGIT_SEQUENCE = "UP_TO_20_DIGIT_SEQUENCE" }.not_to raise_error
96
+ end
97
+ end
98
+ describe 'test attribute "VERSAY_YESNO"' do
99
+ it 'should work' do
100
+ expect { Freeclimb::GrammarFileBuiltIn::VERSAY_YESNO = "VERSAY_YESNO" }.not_to raise_error
101
+ end
102
+ end
103
+ end
@@ -0,0 +1,38 @@
1
+ =begin
2
+ #FreeClimb API
3
+
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.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: support@freeclimb.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.4.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Freeclimb::GrammarType
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Freeclimb::GrammarType do
21
+ let(:instance) { Freeclimb::GrammarType.new }
22
+
23
+ describe 'test an instance of GrammarType' do
24
+ it 'should create an instance of GrammarType' do
25
+ expect(instance).to be_instance_of(Freeclimb::GrammarType)
26
+ end
27
+ end
28
+ describe 'test attribute "URL"' do
29
+ it 'should work' do
30
+ expect { Freeclimb::GrammarType::URL = "URL" }.not_to raise_error
31
+ end
32
+ end
33
+ describe 'test attribute "BUILT_IN"' do
34
+ it 'should work' do
35
+ expect { Freeclimb::GrammarType::BUILT_IN = "BUILTIN" }.not_to raise_error
36
+ end
37
+ end
38
+ end
@@ -0,0 +1,38 @@
1
+ =begin
2
+ #FreeClimb API
3
+
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.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: support@freeclimb.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.4.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Freeclimb::IfMachine
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Freeclimb::IfMachine do
21
+ let(:instance) { Freeclimb::IfMachine.new }
22
+
23
+ describe 'test an instance of IfMachine' do
24
+ it 'should create an instance of IfMachine' do
25
+ expect(instance).to be_instance_of(Freeclimb::IfMachine)
26
+ end
27
+ end
28
+ describe 'test attribute "REDIRECT"' do
29
+ it 'should work' do
30
+ expect { Freeclimb::IfMachine::REDIRECT = "redirect" }.not_to raise_error
31
+ end
32
+ end
33
+ describe 'test attribute "HANGUP"' do
34
+ it 'should work' do
35
+ expect { Freeclimb::IfMachine::HANGUP = "hangup" }.not_to raise_error
36
+ end
37
+ end
38
+ end
@@ -55,6 +55,12 @@ describe Freeclimb::IncomingNumberResult do
55
55
  end
56
56
  end
57
57
 
58
+ describe 'test attribute "campaign_id"' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
+ end
62
+ end
63
+
58
64
  describe 'test attribute "phone_number_id"' do
59
65
  it 'should work' do
60
66
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -109,4 +115,10 @@ describe Freeclimb::IncomingNumberResult do
109
115
  end
110
116
  end
111
117
 
118
+ describe 'test attribute "offnet"' do
119
+ it 'should work' do
120
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
121
+ end
122
+ end
123
+
112
124
  end