freeclimb 4.0.4 → 4.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +99 -9
- data/Gemfile.lock +1 -1
- data/README.md +25 -4
- data/docs/AccountResult.md +2 -2
- data/docs/AccountResultAllOf.md +2 -2
- data/docs/AccountStatus.md +18 -0
- data/docs/AccountType.md +17 -0
- data/docs/AnsweredBy.md +17 -0
- data/docs/CallDirection.md +18 -0
- data/docs/CallResult.md +3 -3
- data/docs/CallResultAllOf.md +3 -3
- data/docs/CallStatus.md +23 -0
- data/docs/ConferenceResult.md +2 -2
- data/docs/ConferenceResultAllOf.md +2 -2
- data/docs/ConferenceStatus.md +19 -0
- data/docs/CreateConference.md +2 -2
- data/docs/CreateConferenceAllOf.md +2 -2
- data/docs/CreateConferenceRequest.md +1 -1
- data/docs/DefaultApi.md +5 -5
- data/docs/Dequeue.md +1 -1
- data/docs/GetSpeech.md +3 -3
- data/docs/GetSpeechAllOf.md +3 -3
- data/docs/GetSpeechReason.md +21 -0
- data/docs/GrammarFileBuiltIn.md +30 -0
- data/docs/GrammarType.md +17 -0
- data/docs/IfMachine.md +17 -0
- data/docs/Language.md +41 -0
- data/docs/LogLevel.md +18 -0
- data/docs/LogResult.md +1 -1
- data/docs/MachineType.md +17 -0
- data/docs/MessageDirection.md +17 -0
- data/docs/MessageResult.md +1 -1
- data/docs/MessageResultAllOf.md +1 -1
- data/docs/MessageStatus.md +26 -0
- data/docs/OutDial.md +1 -1
- data/docs/OutDialAllOf.md +1 -1
- data/docs/PlayBeep.md +19 -0
- data/docs/QueueResultStatus.md +19 -0
- data/docs/RecordUtteranceTermReason.md +19 -0
- data/docs/RequestType.md +38 -0
- data/docs/StartRecordCall.md +1 -1
- data/docs/Unpark.md +1 -1
- data/docs/UpdateCallRequest.md +1 -1
- data/docs/UpdateCallRequestStatus.md +17 -0
- data/docs/UpdateConferenceRequest.md +2 -2
- data/docs/UpdateConferenceRequestStatus.md +17 -0
- data/lib/freeclimb/api/default_api.rb +4 -8
- data/lib/freeclimb/models/account_result.rb +2 -52
- data/lib/freeclimb/models/account_result_all_of.rb +2 -52
- data/lib/freeclimb/models/account_status.rb +38 -0
- data/lib/freeclimb/models/account_type.rb +37 -0
- data/lib/freeclimb/models/answered_by.rb +37 -0
- data/lib/freeclimb/models/application_request.rb +6 -0
- data/lib/freeclimb/models/call_direction.rb +38 -0
- data/lib/freeclimb/models/call_result.rb +3 -43
- data/lib/freeclimb/models/call_result_all_of.rb +3 -43
- data/lib/freeclimb/models/call_status.rb +43 -0
- data/lib/freeclimb/models/conference_result.rb +4 -52
- data/lib/freeclimb/models/conference_result_all_of.rb +4 -52
- data/lib/freeclimb/models/conference_status.rb +39 -0
- data/lib/freeclimb/models/create_conference.rb +4 -3
- data/lib/freeclimb/models/create_conference_all_of.rb +4 -3
- data/lib/freeclimb/models/create_conference_request.rb +1 -36
- data/lib/freeclimb/models/get_speech.rb +3 -4
- data/lib/freeclimb/models/get_speech_all_of.rb +3 -4
- data/lib/freeclimb/models/get_speech_reason.rb +41 -0
- data/lib/freeclimb/models/grammar_file_built_in.rb +50 -0
- data/lib/freeclimb/models/grammar_type.rb +37 -0
- data/lib/freeclimb/models/if_machine.rb +37 -0
- data/lib/freeclimb/models/language.rb +61 -0
- data/lib/freeclimb/models/log_level.rb +38 -0
- data/lib/freeclimb/models/log_result.rb +1 -37
- data/lib/freeclimb/models/machine_type.rb +37 -0
- data/lib/freeclimb/models/message_direction.rb +37 -0
- data/lib/freeclimb/models/message_result.rb +1 -37
- data/lib/freeclimb/models/message_result_all_of.rb +1 -37
- data/lib/freeclimb/models/message_status.rb +46 -0
- data/lib/freeclimb/models/out_dial.rb +1 -2
- data/lib/freeclimb/models/out_dial_all_of.rb +1 -2
- data/lib/freeclimb/models/play_beep.rb +39 -0
- data/lib/freeclimb/models/queue_result_status.rb +39 -0
- data/lib/freeclimb/models/record_utterance_term_reason.rb +39 -0
- data/lib/freeclimb/models/request_type.rb +58 -0
- data/lib/freeclimb/models/update_call_request.rb +1 -36
- data/lib/freeclimb/models/update_call_request_status.rb +37 -0
- data/lib/freeclimb/models/update_conference_request.rb +2 -50
- data/lib/freeclimb/models/update_conference_request_status.rb +37 -0
- data/lib/freeclimb/version.rb +1 -1
- data/lib/freeclimb.rb +21 -0
- data/openapi.json +4226 -0
- data/spec/api/default_api_spec.rb +532 -700
- data/spec/configuration_spec.rb +2 -1
- data/spec/models/account_result_spec.rb +0 -8
- data/spec/models/account_status_spec.rb +43 -0
- data/spec/models/account_type_spec.rb +38 -0
- data/spec/models/answered_by_spec.rb +38 -0
- data/spec/models/available_number_spec.rb +6 -0
- data/spec/models/call_direction_spec.rb +43 -0
- data/spec/models/call_result_spec.rb +0 -4
- data/spec/models/call_status_spec.rb +68 -0
- data/spec/models/conference_result_spec.rb +0 -8
- data/spec/models/conference_status_spec.rb +48 -0
- data/spec/models/create_conference_request_spec.rb +0 -4
- data/spec/models/get_speech_reason_spec.rb +58 -0
- data/spec/models/grammar_file_built_in_spec.rb +103 -0
- data/spec/models/grammar_type_spec.rb +38 -0
- data/spec/models/if_machine_spec.rb +38 -0
- data/spec/models/incoming_number_result_spec.rb +12 -0
- data/spec/models/language_spec.rb +158 -0
- data/spec/models/log_level_spec.rb +43 -0
- data/spec/models/log_result_spec.rb +0 -4
- data/spec/models/machine_type_spec.rb +38 -0
- data/spec/models/message_direction_spec.rb +38 -0
- data/spec/models/message_result_spec.rb +0 -4
- data/spec/models/message_status_spec.rb +83 -0
- data/spec/models/play_beep_spec.rb +48 -0
- data/spec/models/queue_result_spec.rb +1 -1
- data/spec/models/queue_result_status_spec.rb +48 -0
- data/spec/models/record_utterance_term_reason_spec.rb +48 -0
- data/spec/models/request_type_spec.rb +143 -0
- data/spec/models/update_call_request_spec.rb +0 -4
- data/spec/models/update_call_request_status_spec.rb +38 -0
- data/spec/models/update_conference_request_spec.rb +0 -4
- data/spec/models/update_conference_request_status_spec.rb +38 -0
- metadata +138 -53
@@ -0,0 +1,143 @@
|
|
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::RequestType
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe Freeclimb::RequestType do
|
21
|
+
let(:instance) { Freeclimb::RequestType.new }
|
22
|
+
|
23
|
+
describe 'test an instance of RequestType' do
|
24
|
+
it 'should create an instance of RequestType' do
|
25
|
+
expect(instance).to be_instance_of(Freeclimb::RequestType)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "INBOUND_CALL"' do
|
29
|
+
it 'should work' do
|
30
|
+
expect { Freeclimb::RequestType::INBOUND_CALL = "inboundCall" }.not_to raise_error
|
31
|
+
end
|
32
|
+
end
|
33
|
+
describe 'test attribute "RECORD"' do
|
34
|
+
it 'should work' do
|
35
|
+
expect { Freeclimb::RequestType::RECORD = "record" }.not_to raise_error
|
36
|
+
end
|
37
|
+
end
|
38
|
+
describe 'test attribute "GET_DIGITS"' do
|
39
|
+
it 'should work' do
|
40
|
+
expect { Freeclimb::RequestType::GET_DIGITS = "getDigits" }.not_to raise_error
|
41
|
+
end
|
42
|
+
end
|
43
|
+
describe 'test attribute "GET_SPEECH"' do
|
44
|
+
it 'should work' do
|
45
|
+
expect { Freeclimb::RequestType::GET_SPEECH = "getSpeech" }.not_to raise_error
|
46
|
+
end
|
47
|
+
end
|
48
|
+
describe 'test attribute "REDIRECT"' do
|
49
|
+
it 'should work' do
|
50
|
+
expect { Freeclimb::RequestType::REDIRECT = "redirect" }.not_to raise_error
|
51
|
+
end
|
52
|
+
end
|
53
|
+
describe 'test attribute "PAUSE"' do
|
54
|
+
it 'should work' do
|
55
|
+
expect { Freeclimb::RequestType::PAUSE = "pause" }.not_to raise_error
|
56
|
+
end
|
57
|
+
end
|
58
|
+
describe 'test attribute "OUT_DIAL_START"' do
|
59
|
+
it 'should work' do
|
60
|
+
expect { Freeclimb::RequestType::OUT_DIAL_START = "outDialStart" }.not_to raise_error
|
61
|
+
end
|
62
|
+
end
|
63
|
+
describe 'test attribute "OUT_DIAL_CONNECT"' do
|
64
|
+
it 'should work' do
|
65
|
+
expect { Freeclimb::RequestType::OUT_DIAL_CONNECT = "outDialConnect" }.not_to raise_error
|
66
|
+
end
|
67
|
+
end
|
68
|
+
describe 'test attribute "OUT_DIAL_API_CONNECT"' do
|
69
|
+
it 'should work' do
|
70
|
+
expect { Freeclimb::RequestType::OUT_DIAL_API_CONNECT = "outDialApiConnect" }.not_to raise_error
|
71
|
+
end
|
72
|
+
end
|
73
|
+
describe 'test attribute "MACHINE_DETECTED"' do
|
74
|
+
it 'should work' do
|
75
|
+
expect { Freeclimb::RequestType::MACHINE_DETECTED = "machineDetected" }.not_to raise_error
|
76
|
+
end
|
77
|
+
end
|
78
|
+
describe 'test attribute "DEQUEUE"' do
|
79
|
+
it 'should work' do
|
80
|
+
expect { Freeclimb::RequestType::DEQUEUE = "dequeue" }.not_to raise_error
|
81
|
+
end
|
82
|
+
end
|
83
|
+
describe 'test attribute "QUEUE_WAIT"' do
|
84
|
+
it 'should work' do
|
85
|
+
expect { Freeclimb::RequestType::QUEUE_WAIT = "queueWait" }.not_to raise_error
|
86
|
+
end
|
87
|
+
end
|
88
|
+
describe 'test attribute "ADD_TO_QUEUE_NOTIFICATION"' do
|
89
|
+
it 'should work' do
|
90
|
+
expect { Freeclimb::RequestType::ADD_TO_QUEUE_NOTIFICATION = "addToQueueNotification" }.not_to raise_error
|
91
|
+
end
|
92
|
+
end
|
93
|
+
describe 'test attribute "REMOVE_FROM_QUEUE_NOTIFICATION"' do
|
94
|
+
it 'should work' do
|
95
|
+
expect { Freeclimb::RequestType::REMOVE_FROM_QUEUE_NOTIFICATION = "removeFromQueueNotification" }.not_to raise_error
|
96
|
+
end
|
97
|
+
end
|
98
|
+
describe 'test attribute "CALL_STATUS"' do
|
99
|
+
it 'should work' do
|
100
|
+
expect { Freeclimb::RequestType::CALL_STATUS = "callStatus" }.not_to raise_error
|
101
|
+
end
|
102
|
+
end
|
103
|
+
describe 'test attribute "CREATE_CONFERENCE"' do
|
104
|
+
it 'should work' do
|
105
|
+
expect { Freeclimb::RequestType::CREATE_CONFERENCE = "createConference" }.not_to raise_error
|
106
|
+
end
|
107
|
+
end
|
108
|
+
describe 'test attribute "CONFERENCE_STATUS"' do
|
109
|
+
it 'should work' do
|
110
|
+
expect { Freeclimb::RequestType::CONFERENCE_STATUS = "conferenceStatus" }.not_to raise_error
|
111
|
+
end
|
112
|
+
end
|
113
|
+
describe 'test attribute "LEAVE_CONFERENCE"' do
|
114
|
+
it 'should work' do
|
115
|
+
expect { Freeclimb::RequestType::LEAVE_CONFERENCE = "leaveConference" }.not_to raise_error
|
116
|
+
end
|
117
|
+
end
|
118
|
+
describe 'test attribute "ADD_TO_CONFERENCE_NOTIFICATION"' do
|
119
|
+
it 'should work' do
|
120
|
+
expect { Freeclimb::RequestType::ADD_TO_CONFERENCE_NOTIFICATION = "addToConferenceNotification" }.not_to raise_error
|
121
|
+
end
|
122
|
+
end
|
123
|
+
describe 'test attribute "CONFERENCE_RECORDING_STATUS"' do
|
124
|
+
it 'should work' do
|
125
|
+
expect { Freeclimb::RequestType::CONFERENCE_RECORDING_STATUS = "conferenceRecordingStatus" }.not_to raise_error
|
126
|
+
end
|
127
|
+
end
|
128
|
+
describe 'test attribute "CONFERENCE_CALL_CONTROL"' do
|
129
|
+
it 'should work' do
|
130
|
+
expect { Freeclimb::RequestType::CONFERENCE_CALL_CONTROL = "conferenceCallControl" }.not_to raise_error
|
131
|
+
end
|
132
|
+
end
|
133
|
+
describe 'test attribute "MESSAGE_DELIVERY"' do
|
134
|
+
it 'should work' do
|
135
|
+
expect { Freeclimb::RequestType::MESSAGE_DELIVERY = "messageDelivery" }.not_to raise_error
|
136
|
+
end
|
137
|
+
end
|
138
|
+
describe 'test attribute "MESSAGE_STATUS"' do
|
139
|
+
it 'should work' do
|
140
|
+
expect { Freeclimb::RequestType::MESSAGE_STATUS = "messageStatus" }.not_to raise_error
|
141
|
+
end
|
142
|
+
end
|
143
|
+
end
|
@@ -28,10 +28,6 @@ describe Freeclimb::UpdateCallRequest do
|
|
28
28
|
describe 'test attribute "status"' do
|
29
29
|
it 'should work' do
|
30
30
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["canceled", "completed"])
|
32
|
-
# validator.allowable_values.each do |value|
|
33
|
-
# expect { instance.status = value }.not_to raise_error
|
34
|
-
# end
|
35
31
|
end
|
36
32
|
end
|
37
33
|
|
@@ -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::UpdateCallRequestStatus
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe Freeclimb::UpdateCallRequestStatus do
|
21
|
+
let(:instance) { Freeclimb::UpdateCallRequestStatus.new }
|
22
|
+
|
23
|
+
describe 'test an instance of UpdateCallRequestStatus' do
|
24
|
+
it 'should create an instance of UpdateCallRequestStatus' do
|
25
|
+
expect(instance).to be_instance_of(Freeclimb::UpdateCallRequestStatus)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "CANCELED"' do
|
29
|
+
it 'should work' do
|
30
|
+
expect { Freeclimb::UpdateCallRequestStatus::CANCELED = "canceled" }.not_to raise_error
|
31
|
+
end
|
32
|
+
end
|
33
|
+
describe 'test attribute "COMPLETED"' do
|
34
|
+
it 'should work' do
|
35
|
+
expect { Freeclimb::UpdateCallRequestStatus::COMPLETED = "completed" }.not_to raise_error
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -40,10 +40,6 @@ describe Freeclimb::UpdateConferenceRequest do
|
|
40
40
|
describe 'test attribute "status"' do
|
41
41
|
it 'should work' do
|
42
42
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["empty", "terminated"])
|
44
|
-
# validator.allowable_values.each do |value|
|
45
|
-
# expect { instance.status = value }.not_to raise_error
|
46
|
-
# end
|
47
43
|
end
|
48
44
|
end
|
49
45
|
|
@@ -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::UpdateConferenceRequestStatus
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe Freeclimb::UpdateConferenceRequestStatus do
|
21
|
+
let(:instance) { Freeclimb::UpdateConferenceRequestStatus.new }
|
22
|
+
|
23
|
+
describe 'test an instance of UpdateConferenceRequestStatus' do
|
24
|
+
it 'should create an instance of UpdateConferenceRequestStatus' do
|
25
|
+
expect(instance).to be_instance_of(Freeclimb::UpdateConferenceRequestStatus)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "EMPTY"' do
|
29
|
+
it 'should work' do
|
30
|
+
expect { Freeclimb::UpdateConferenceRequestStatus::EMPTY = "empty" }.not_to raise_error
|
31
|
+
end
|
32
|
+
end
|
33
|
+
describe 'test attribute "TERMINATED"' do
|
34
|
+
it 'should work' do
|
35
|
+
expect { Freeclimb::UpdateConferenceRequestStatus::TERMINATED = "terminated" }.not_to raise_error
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|