freeclimb 4.0.3 → 4.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (129) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +94 -6
  3. data/Gemfile.lock +2 -2
  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/QueueResult.md +3 -3
  40. data/docs/QueueResultAllOf.md +3 -3
  41. data/docs/QueueResultStatus.md +19 -0
  42. data/docs/RecordUtteranceTermReason.md +19 -0
  43. data/docs/RequestType.md +38 -0
  44. data/docs/StartRecordCall.md +1 -1
  45. data/docs/Unpark.md +1 -1
  46. data/docs/UpdateCallRequest.md +1 -1
  47. data/docs/UpdateCallRequestStatus.md +17 -0
  48. data/docs/UpdateConferenceRequest.md +2 -2
  49. data/docs/UpdateConferenceRequestStatus.md +17 -0
  50. data/lib/freeclimb/api/default_api.rb +4 -8
  51. data/lib/freeclimb/models/account_result.rb +2 -52
  52. data/lib/freeclimb/models/account_result_all_of.rb +2 -52
  53. data/lib/freeclimb/models/account_status.rb +38 -0
  54. data/lib/freeclimb/models/account_type.rb +37 -0
  55. data/lib/freeclimb/models/answered_by.rb +37 -0
  56. data/lib/freeclimb/models/call_direction.rb +38 -0
  57. data/lib/freeclimb/models/call_result.rb +3 -43
  58. data/lib/freeclimb/models/call_result_all_of.rb +3 -43
  59. data/lib/freeclimb/models/call_status.rb +43 -0
  60. data/lib/freeclimb/models/conference_result.rb +4 -52
  61. data/lib/freeclimb/models/conference_result_all_of.rb +4 -52
  62. data/lib/freeclimb/models/conference_status.rb +39 -0
  63. data/lib/freeclimb/models/create_conference.rb +4 -3
  64. data/lib/freeclimb/models/create_conference_all_of.rb +4 -3
  65. data/lib/freeclimb/models/create_conference_request.rb +1 -36
  66. data/lib/freeclimb/models/get_speech.rb +3 -4
  67. data/lib/freeclimb/models/get_speech_all_of.rb +3 -4
  68. data/lib/freeclimb/models/get_speech_reason.rb +41 -0
  69. data/lib/freeclimb/models/grammar_file_built_in.rb +50 -0
  70. data/lib/freeclimb/models/grammar_type.rb +37 -0
  71. data/lib/freeclimb/models/if_machine.rb +37 -0
  72. data/lib/freeclimb/models/language.rb +61 -0
  73. data/lib/freeclimb/models/log_level.rb +38 -0
  74. data/lib/freeclimb/models/log_result.rb +1 -37
  75. data/lib/freeclimb/models/machine_type.rb +37 -0
  76. data/lib/freeclimb/models/message_direction.rb +37 -0
  77. data/lib/freeclimb/models/message_result.rb +1 -37
  78. data/lib/freeclimb/models/message_result_all_of.rb +1 -37
  79. data/lib/freeclimb/models/message_status.rb +46 -0
  80. data/lib/freeclimb/models/out_dial.rb +1 -2
  81. data/lib/freeclimb/models/out_dial_all_of.rb +1 -2
  82. data/lib/freeclimb/models/play_beep.rb +39 -0
  83. data/lib/freeclimb/models/queue_result.rb +10 -10
  84. data/lib/freeclimb/models/queue_result_all_of.rb +10 -10
  85. data/lib/freeclimb/models/queue_result_status.rb +39 -0
  86. data/lib/freeclimb/models/record_utterance_term_reason.rb +39 -0
  87. data/lib/freeclimb/models/request_type.rb +58 -0
  88. data/lib/freeclimb/models/update_call_request.rb +1 -36
  89. data/lib/freeclimb/models/update_call_request_status.rb +37 -0
  90. data/lib/freeclimb/models/update_conference_request.rb +2 -50
  91. data/lib/freeclimb/models/update_conference_request_status.rb +37 -0
  92. data/lib/freeclimb/version.rb +1 -1
  93. data/lib/freeclimb.rb +21 -0
  94. data/openapi.json +4220 -0
  95. data/spec/api/default_api_spec.rb +532 -700
  96. data/spec/configuration_spec.rb +2 -1
  97. data/spec/models/account_result_spec.rb +0 -8
  98. data/spec/models/account_status_spec.rb +43 -0
  99. data/spec/models/account_type_spec.rb +38 -0
  100. data/spec/models/answered_by_spec.rb +38 -0
  101. data/spec/models/available_number_spec.rb +6 -0
  102. data/spec/models/call_direction_spec.rb +43 -0
  103. data/spec/models/call_result_spec.rb +0 -4
  104. data/spec/models/call_status_spec.rb +68 -0
  105. data/spec/models/conference_result_spec.rb +0 -8
  106. data/spec/models/conference_status_spec.rb +48 -0
  107. data/spec/models/create_conference_request_spec.rb +0 -4
  108. data/spec/models/get_speech_reason_spec.rb +58 -0
  109. data/spec/models/grammar_file_built_in_spec.rb +103 -0
  110. data/spec/models/grammar_type_spec.rb +38 -0
  111. data/spec/models/if_machine_spec.rb +38 -0
  112. data/spec/models/incoming_number_result_spec.rb +12 -0
  113. data/spec/models/language_spec.rb +158 -0
  114. data/spec/models/log_level_spec.rb +43 -0
  115. data/spec/models/log_result_spec.rb +0 -4
  116. data/spec/models/machine_type_spec.rb +38 -0
  117. data/spec/models/message_direction_spec.rb +38 -0
  118. data/spec/models/message_result_spec.rb +0 -4
  119. data/spec/models/message_status_spec.rb +83 -0
  120. data/spec/models/play_beep_spec.rb +48 -0
  121. data/spec/models/queue_result_spec.rb +1 -1
  122. data/spec/models/queue_result_status_spec.rb +48 -0
  123. data/spec/models/record_utterance_term_reason_spec.rb +48 -0
  124. data/spec/models/request_type_spec.rb +143 -0
  125. data/spec/models/update_call_request_spec.rb +0 -4
  126. data/spec/models/update_call_request_status_spec.rb +38 -0
  127. data/spec/models/update_conference_request_spec.rb +0 -4
  128. data/spec/models/update_conference_request_status_spec.rb +38 -0
  129. metadata +138 -53
@@ -0,0 +1,158 @@
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::Language
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Freeclimb::Language do
21
+ let(:instance) { Freeclimb::Language.new }
22
+
23
+ describe 'test an instance of Language' do
24
+ it 'should create an instance of Language' do
25
+ expect(instance).to be_instance_of(Freeclimb::Language)
26
+ end
27
+ end
28
+ describe 'test attribute "CATALAN"' do
29
+ it 'should work' do
30
+ expect { Freeclimb::Language::CATALAN = "ca-ES" }.not_to raise_error
31
+ end
32
+ end
33
+ describe 'test attribute "DANISH"' do
34
+ it 'should work' do
35
+ expect { Freeclimb::Language::DANISH = "da-DK" }.not_to raise_error
36
+ end
37
+ end
38
+ describe 'test attribute "GERMAN"' do
39
+ it 'should work' do
40
+ expect { Freeclimb::Language::GERMAN = "de-DE" }.not_to raise_error
41
+ end
42
+ end
43
+ describe 'test attribute "ENGLISH_AU"' do
44
+ it 'should work' do
45
+ expect { Freeclimb::Language::ENGLISH_AU = "en-AU" }.not_to raise_error
46
+ end
47
+ end
48
+ describe 'test attribute "ENGLISH_CA"' do
49
+ it 'should work' do
50
+ expect { Freeclimb::Language::ENGLISH_CA = "en-CA" }.not_to raise_error
51
+ end
52
+ end
53
+ describe 'test attribute "ENGLISH_UK"' do
54
+ it 'should work' do
55
+ expect { Freeclimb::Language::ENGLISH_UK = "en-GB" }.not_to raise_error
56
+ end
57
+ end
58
+ describe 'test attribute "ENGLISH_IN"' do
59
+ it 'should work' do
60
+ expect { Freeclimb::Language::ENGLISH_IN = "en-IN" }.not_to raise_error
61
+ end
62
+ end
63
+ describe 'test attribute "ENGLISH_US"' do
64
+ it 'should work' do
65
+ expect { Freeclimb::Language::ENGLISH_US = "en-US" }.not_to raise_error
66
+ end
67
+ end
68
+ describe 'test attribute "ENGLISH_ES"' do
69
+ it 'should work' do
70
+ expect { Freeclimb::Language::ENGLISH_ES = "es-ES" }.not_to raise_error
71
+ end
72
+ end
73
+ describe 'test attribute "ENGLISH_MX"' do
74
+ it 'should work' do
75
+ expect { Freeclimb::Language::ENGLISH_MX = "es-MX" }.not_to raise_error
76
+ end
77
+ end
78
+ describe 'test attribute "FINNISH"' do
79
+ it 'should work' do
80
+ expect { Freeclimb::Language::FINNISH = "fi-FI" }.not_to raise_error
81
+ end
82
+ end
83
+ describe 'test attribute "FRENCH_CA"' do
84
+ it 'should work' do
85
+ expect { Freeclimb::Language::FRENCH_CA = "fr-CA" }.not_to raise_error
86
+ end
87
+ end
88
+ describe 'test attribute "FRENCH_FR"' do
89
+ it 'should work' do
90
+ expect { Freeclimb::Language::FRENCH_FR = "fr-FR" }.not_to raise_error
91
+ end
92
+ end
93
+ describe 'test attribute "ITALIAN"' do
94
+ it 'should work' do
95
+ expect { Freeclimb::Language::ITALIAN = "it-IT" }.not_to raise_error
96
+ end
97
+ end
98
+ describe 'test attribute "JAPANESE"' do
99
+ it 'should work' do
100
+ expect { Freeclimb::Language::JAPANESE = "ja-JP" }.not_to raise_error
101
+ end
102
+ end
103
+ describe 'test attribute "KOREAN"' do
104
+ it 'should work' do
105
+ expect { Freeclimb::Language::KOREAN = "ko-KR" }.not_to raise_error
106
+ end
107
+ end
108
+ describe 'test attribute "NORWEGIAN"' do
109
+ it 'should work' do
110
+ expect { Freeclimb::Language::NORWEGIAN = "nb-NO" }.not_to raise_error
111
+ end
112
+ end
113
+ describe 'test attribute "DUTCH"' do
114
+ it 'should work' do
115
+ expect { Freeclimb::Language::DUTCH = "nl-NL" }.not_to raise_error
116
+ end
117
+ end
118
+ describe 'test attribute "POLISH"' do
119
+ it 'should work' do
120
+ expect { Freeclimb::Language::POLISH = "pl-PL" }.not_to raise_error
121
+ end
122
+ end
123
+ describe 'test attribute "PORTUGESE_BR"' do
124
+ it 'should work' do
125
+ expect { Freeclimb::Language::PORTUGESE_BR = "pt-BR" }.not_to raise_error
126
+ end
127
+ end
128
+ describe 'test attribute "PORTUGESE_PT"' do
129
+ it 'should work' do
130
+ expect { Freeclimb::Language::PORTUGESE_PT = "pt-PT" }.not_to raise_error
131
+ end
132
+ end
133
+ describe 'test attribute "RUSSIAN"' do
134
+ it 'should work' do
135
+ expect { Freeclimb::Language::RUSSIAN = "ru-RU" }.not_to raise_error
136
+ end
137
+ end
138
+ describe 'test attribute "SWEDISH"' do
139
+ it 'should work' do
140
+ expect { Freeclimb::Language::SWEDISH = "sv-SE" }.not_to raise_error
141
+ end
142
+ end
143
+ describe 'test attribute "CHINESE_CN"' do
144
+ it 'should work' do
145
+ expect { Freeclimb::Language::CHINESE_CN = "zh-CN" }.not_to raise_error
146
+ end
147
+ end
148
+ describe 'test attribute "CHINESE_HK"' do
149
+ it 'should work' do
150
+ expect { Freeclimb::Language::CHINESE_HK = "zh-HK" }.not_to raise_error
151
+ end
152
+ end
153
+ describe 'test attribute "CHINESE_TW"' do
154
+ it 'should work' do
155
+ expect { Freeclimb::Language::CHINESE_TW = "zh-TW" }.not_to raise_error
156
+ end
157
+ end
158
+ end
@@ -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::LogLevel
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Freeclimb::LogLevel do
21
+ let(:instance) { Freeclimb::LogLevel.new }
22
+
23
+ describe 'test an instance of LogLevel' do
24
+ it 'should create an instance of LogLevel' do
25
+ expect(instance).to be_instance_of(Freeclimb::LogLevel)
26
+ end
27
+ end
28
+ describe 'test attribute "INFO"' do
29
+ it 'should work' do
30
+ expect { Freeclimb::LogLevel::INFO = "info" }.not_to raise_error
31
+ end
32
+ end
33
+ describe 'test attribute "WARNING"' do
34
+ it 'should work' do
35
+ expect { Freeclimb::LogLevel::WARNING = "warning" }.not_to raise_error
36
+ end
37
+ end
38
+ describe 'test attribute "ERROR"' do
39
+ it 'should work' do
40
+ expect { Freeclimb::LogLevel::ERROR = "error" }.not_to raise_error
41
+ end
42
+ end
43
+ end
@@ -34,10 +34,6 @@ describe Freeclimb::LogResult do
34
34
  describe 'test attribute "level"' 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', ["info", "warning", "error"])
38
- # validator.allowable_values.each do |value|
39
- # expect { instance.level = value }.not_to raise_error
40
- # end
41
37
  end
42
38
  end
43
39
 
@@ -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::MachineType
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Freeclimb::MachineType do
21
+ let(:instance) { Freeclimb::MachineType.new }
22
+
23
+ describe 'test an instance of MachineType' do
24
+ it 'should create an instance of MachineType' do
25
+ expect(instance).to be_instance_of(Freeclimb::MachineType)
26
+ end
27
+ end
28
+ describe 'test attribute "ANSWERING_MACHINE"' do
29
+ it 'should work' do
30
+ expect { Freeclimb::MachineType::ANSWERING_MACHINE = "answeringMachine" }.not_to raise_error
31
+ end
32
+ end
33
+ describe 'test attribute "FAX_MACHINE"' do
34
+ it 'should work' do
35
+ expect { Freeclimb::MachineType::FAX_MACHINE = "faxMachine" }.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::MessageDirection
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Freeclimb::MessageDirection do
21
+ let(:instance) { Freeclimb::MessageDirection.new }
22
+
23
+ describe 'test an instance of MessageDirection' do
24
+ it 'should create an instance of MessageDirection' do
25
+ expect(instance).to be_instance_of(Freeclimb::MessageDirection)
26
+ end
27
+ end
28
+ describe 'test attribute "INBOUND"' do
29
+ it 'should work' do
30
+ expect { Freeclimb::MessageDirection::INBOUND = "inbound" }.not_to raise_error
31
+ end
32
+ end
33
+ describe 'test attribute "OUTBOUND"' do
34
+ it 'should work' do
35
+ expect { Freeclimb::MessageDirection::OUTBOUND = "outbound" }.not_to raise_error
36
+ end
37
+ end
38
+ end
@@ -64,10 +64,6 @@ describe Freeclimb::MessageResult do
64
64
  describe 'test attribute "status"' do
65
65
  it 'should work' do
66
66
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["new", "queued", "rejected", "sending", "sent", "failed", "received", "undelivered", "expired", "deleted", "unknown"])
68
- # validator.allowable_values.each do |value|
69
- # expect { instance.status = value }.not_to raise_error
70
- # end
71
67
  end
72
68
  end
73
69
 
@@ -0,0 +1,83 @@
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::MessageStatus
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Freeclimb::MessageStatus do
21
+ let(:instance) { Freeclimb::MessageStatus.new }
22
+
23
+ describe 'test an instance of MessageStatus' do
24
+ it 'should create an instance of MessageStatus' do
25
+ expect(instance).to be_instance_of(Freeclimb::MessageStatus)
26
+ end
27
+ end
28
+ describe 'test attribute "NEW"' do
29
+ it 'should work' do
30
+ expect { Freeclimb::MessageStatus::NEW = "new" }.not_to raise_error
31
+ end
32
+ end
33
+ describe 'test attribute "QUEUED"' do
34
+ it 'should work' do
35
+ expect { Freeclimb::MessageStatus::QUEUED = "queued" }.not_to raise_error
36
+ end
37
+ end
38
+ describe 'test attribute "REJECTED"' do
39
+ it 'should work' do
40
+ expect { Freeclimb::MessageStatus::REJECTED = "rejected" }.not_to raise_error
41
+ end
42
+ end
43
+ describe 'test attribute "SENDING"' do
44
+ it 'should work' do
45
+ expect { Freeclimb::MessageStatus::SENDING = "sending" }.not_to raise_error
46
+ end
47
+ end
48
+ describe 'test attribute "SENT"' do
49
+ it 'should work' do
50
+ expect { Freeclimb::MessageStatus::SENT = "sent" }.not_to raise_error
51
+ end
52
+ end
53
+ describe 'test attribute "FAILED"' do
54
+ it 'should work' do
55
+ expect { Freeclimb::MessageStatus::FAILED = "failed" }.not_to raise_error
56
+ end
57
+ end
58
+ describe 'test attribute "RECEIVED"' do
59
+ it 'should work' do
60
+ expect { Freeclimb::MessageStatus::RECEIVED = "received" }.not_to raise_error
61
+ end
62
+ end
63
+ describe 'test attribute "UNDELIVERED"' do
64
+ it 'should work' do
65
+ expect { Freeclimb::MessageStatus::UNDELIVERED = "undelivered" }.not_to raise_error
66
+ end
67
+ end
68
+ describe 'test attribute "EXPIRED"' do
69
+ it 'should work' do
70
+ expect { Freeclimb::MessageStatus::EXPIRED = "expired" }.not_to raise_error
71
+ end
72
+ end
73
+ describe 'test attribute "DELETED"' do
74
+ it 'should work' do
75
+ expect { Freeclimb::MessageStatus::DELETED = "deleted" }.not_to raise_error
76
+ end
77
+ end
78
+ describe 'test attribute "UNKNOWN"' do
79
+ it 'should work' do
80
+ expect { Freeclimb::MessageStatus::UNKNOWN = "unknown" }.not_to raise_error
81
+ end
82
+ end
83
+ end
@@ -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::PlayBeep
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Freeclimb::PlayBeep do
21
+ let(:instance) { Freeclimb::PlayBeep.new }
22
+
23
+ describe 'test an instance of PlayBeep' do
24
+ it 'should create an instance of PlayBeep' do
25
+ expect(instance).to be_instance_of(Freeclimb::PlayBeep)
26
+ end
27
+ end
28
+ describe 'test attribute "ALWAYS"' do
29
+ it 'should work' do
30
+ expect { Freeclimb::PlayBeep::ALWAYS = "always" }.not_to raise_error
31
+ end
32
+ end
33
+ describe 'test attribute "NEVER"' do
34
+ it 'should work' do
35
+ expect { Freeclimb::PlayBeep::NEVER = "never" }.not_to raise_error
36
+ end
37
+ end
38
+ describe 'test attribute "ENTRY_ONLY"' do
39
+ it 'should work' do
40
+ expect { Freeclimb::PlayBeep::ENTRY_ONLY = "entryOnly" }.not_to raise_error
41
+ end
42
+ end
43
+ describe 'test attribute "EXIT_ONLY"' do
44
+ it 'should work' do
45
+ expect { Freeclimb::PlayBeep::EXIT_ONLY = "exitOnly" }.not_to raise_error
46
+ end
47
+ end
48
+ end
@@ -79,7 +79,7 @@ describe Freeclimb::QueueResult do
79
79
  end
80
80
  end
81
81
 
82
- describe 'test attribute "average_wait_time"' do
82
+ describe 'test attribute "average_queue_removal_time"' do
83
83
  it 'should work' do
84
84
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
85
85
  end
@@ -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::QueueResultStatus
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Freeclimb::QueueResultStatus do
21
+ let(:instance) { Freeclimb::QueueResultStatus.new }
22
+
23
+ describe 'test an instance of QueueResultStatus' do
24
+ it 'should create an instance of QueueResultStatus' do
25
+ expect(instance).to be_instance_of(Freeclimb::QueueResultStatus)
26
+ end
27
+ end
28
+ describe 'test attribute "QUEUE_FULL"' do
29
+ it 'should work' do
30
+ expect { Freeclimb::QueueResultStatus::QUEUE_FULL = "queueFull" }.not_to raise_error
31
+ end
32
+ end
33
+ describe 'test attribute "DEQUEUED"' do
34
+ it 'should work' do
35
+ expect { Freeclimb::QueueResultStatus::DEQUEUED = "dequeued" }.not_to raise_error
36
+ end
37
+ end
38
+ describe 'test attribute "HANGUP"' do
39
+ it 'should work' do
40
+ expect { Freeclimb::QueueResultStatus::HANGUP = "hangup" }.not_to raise_error
41
+ end
42
+ end
43
+ describe 'test attribute "SYSTEM_ERROR"' do
44
+ it 'should work' do
45
+ expect { Freeclimb::QueueResultStatus::SYSTEM_ERROR = "systemError" }.not_to raise_error
46
+ end
47
+ end
48
+ end
@@ -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::RecordUtteranceTermReason
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Freeclimb::RecordUtteranceTermReason do
21
+ let(:instance) { Freeclimb::RecordUtteranceTermReason.new }
22
+
23
+ describe 'test an instance of RecordUtteranceTermReason' do
24
+ it 'should create an instance of RecordUtteranceTermReason' do
25
+ expect(instance).to be_instance_of(Freeclimb::RecordUtteranceTermReason)
26
+ end
27
+ end
28
+ describe 'test attribute "FINISH_KEY"' do
29
+ it 'should work' do
30
+ expect { Freeclimb::RecordUtteranceTermReason::FINISH_KEY = "finishKey" }.not_to raise_error
31
+ end
32
+ end
33
+ describe 'test attribute "TIMEOUT"' do
34
+ it 'should work' do
35
+ expect { Freeclimb::RecordUtteranceTermReason::TIMEOUT = "timeout" }.not_to raise_error
36
+ end
37
+ end
38
+ describe 'test attribute "HANGUP"' do
39
+ it 'should work' do
40
+ expect { Freeclimb::RecordUtteranceTermReason::HANGUP = "hangup" }.not_to raise_error
41
+ end
42
+ end
43
+ describe 'test attribute "MAX_LENGTH"' do
44
+ it 'should work' do
45
+ expect { Freeclimb::RecordUtteranceTermReason::MAX_LENGTH = "maxLength" }.not_to raise_error
46
+ end
47
+ end
48
+ end