freeclimb 4.4.3 → 4.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/Gemfile.lock +1 -1
- data/README.md +4 -4
- data/lib/freeclimb/version.rb +1 -1
- data/openapi.json +1 -8
- data/spec/models/account_request_spec.rb +1 -0
- data/spec/models/account_result_spec.rb +3 -0
- data/spec/models/account_status_spec.rb +1 -0
- data/spec/models/account_type_spec.rb +1 -0
- data/spec/models/add_to_conference_spec.rb +1 -0
- data/spec/models/answered_by_spec.rb +1 -0
- data/spec/models/application_list_spec.rb +1 -0
- data/spec/models/application_request_spec.rb +1 -0
- data/spec/models/application_result_spec.rb +1 -0
- data/spec/models/available_number_list_spec.rb +1 -0
- data/spec/models/available_number_spec.rb +1 -0
- data/spec/models/buy_incoming_number_request_spec.rb +1 -0
- data/spec/models/call_direction_spec.rb +1 -0
- data/spec/models/call_list_spec.rb +1 -0
- data/spec/models/call_result_spec.rb +4 -0
- data/spec/models/call_status_spec.rb +1 -0
- data/spec/models/capabilities_spec.rb +1 -0
- data/spec/models/conference_list_spec.rb +1 -0
- data/spec/models/conference_participant_list_spec.rb +1 -0
- data/spec/models/conference_participant_result_spec.rb +1 -0
- data/spec/models/conference_result_spec.rb +3 -0
- data/spec/models/conference_status_spec.rb +1 -0
- data/spec/models/create_conference_request_spec.rb +2 -0
- data/spec/models/create_conference_spec.rb +2 -0
- data/spec/models/dequeue_spec.rb +1 -0
- data/spec/models/enqueue_spec.rb +1 -0
- data/spec/models/filter_logs_request_spec.rb +1 -0
- data/spec/models/get_digits_spec.rb +1 -0
- data/spec/models/get_speech_reason_spec.rb +1 -0
- data/spec/models/get_speech_spec.rb +2 -0
- data/spec/models/grammar_file_built_in_spec.rb +1 -0
- data/spec/models/grammar_type_spec.rb +1 -0
- data/spec/models/hangup_spec.rb +1 -0
- data/spec/models/if_machine_spec.rb +1 -0
- data/spec/models/incoming_number_list_spec.rb +1 -0
- data/spec/models/incoming_number_request_spec.rb +1 -0
- data/spec/models/incoming_number_result_spec.rb +1 -0
- data/spec/models/language_spec.rb +1 -0
- data/spec/models/log_level_spec.rb +1 -0
- data/spec/models/log_list_spec.rb +1 -0
- data/spec/models/log_result_spec.rb +2 -0
- data/spec/models/machine_type_spec.rb +1 -0
- data/spec/models/make_call_request_spec.rb +1 -0
- data/spec/models/message_direction_spec.rb +1 -0
- data/spec/models/message_request_spec.rb +1 -0
- data/spec/models/message_result_spec.rb +2 -0
- data/spec/models/message_status_spec.rb +1 -0
- data/spec/models/messages_list_spec.rb +1 -0
- data/spec/models/mutable_resource_model_spec.rb +1 -0
- data/spec/models/out_dial_spec.rb +2 -0
- data/spec/models/pagination_model_spec.rb +1 -0
- data/spec/models/park_spec.rb +1 -0
- data/spec/models/pause_spec.rb +1 -0
- data/spec/models/percl_command_spec.rb +1 -0
- data/spec/models/percl_script_spec.rb +1 -0
- data/spec/models/play_beep_spec.rb +1 -0
- data/spec/models/play_early_media_spec.rb +1 -0
- data/spec/models/play_spec.rb +1 -0
- data/spec/models/queue_list_spec.rb +1 -0
- data/spec/models/queue_member_list_spec.rb +1 -0
- data/spec/models/queue_member_spec.rb +1 -0
- data/spec/models/queue_request_spec.rb +1 -0
- data/spec/models/queue_result_spec.rb +1 -0
- data/spec/models/queue_result_status_spec.rb +1 -0
- data/spec/models/record_utterance_spec.rb +1 -0
- data/spec/models/record_utterance_term_reason_spec.rb +1 -0
- data/spec/models/recording_list_spec.rb +1 -0
- data/spec/models/recording_result_spec.rb +1 -0
- data/spec/models/redirect_spec.rb +1 -0
- data/spec/models/reject_spec.rb +1 -0
- data/spec/models/remove_from_conference_spec.rb +1 -0
- data/spec/models/request_type_spec.rb +1 -0
- data/spec/models/say_spec.rb +1 -0
- data/spec/models/send_digits_spec.rb +1 -0
- data/spec/models/set_listen_spec.rb +1 -0
- data/spec/models/set_talk_spec.rb +1 -0
- data/spec/models/sms_spec.rb +1 -0
- data/spec/models/sms_ten_dlc_brand_spec.rb +120 -73
- data/spec/models/sms_ten_dlc_brands_list_result_spec.rb +1 -0
- data/spec/models/sms_ten_dlc_campaign_spec.rb +72 -42
- data/spec/models/sms_ten_dlc_campaigns_list_result_spec.rb +1 -0
- data/spec/models/sms_ten_dlc_partner_campaign_brand_spec.rb +43 -21
- data/spec/models/sms_ten_dlc_partner_campaign_spec.rb +91 -48
- data/spec/models/sms_ten_dlc_partner_campaigns_list_result_spec.rb +1 -0
- data/spec/models/start_record_call_spec.rb +1 -0
- data/spec/models/terminate_conference_spec.rb +1 -0
- data/spec/models/unpark_spec.rb +1 -0
- data/spec/models/update_call_request_spec.rb +2 -0
- data/spec/models/update_call_request_status_spec.rb +1 -0
- data/spec/models/update_conference_participant_request_spec.rb +1 -0
- data/spec/models/update_conference_request_spec.rb +3 -0
- data/spec/models/update_conference_request_status_spec.rb +1 -0
- metadata +2 -2
@@ -25,6 +25,7 @@ describe Freeclimb::OutDial do
|
|
25
25
|
expect(instance).to be_instance_of(Freeclimb::OutDial)
|
26
26
|
end
|
27
27
|
end
|
28
|
+
|
28
29
|
describe 'test attribute "action_url"' do
|
29
30
|
it 'should work' do
|
30
31
|
instance.action_url = "TEST_STRING"
|
@@ -53,6 +54,7 @@ describe Freeclimb::OutDial do
|
|
53
54
|
end
|
54
55
|
end
|
55
56
|
|
57
|
+
|
56
58
|
describe 'test attribute "if_machine"' do
|
57
59
|
it 'assigns value REDIRECT' do
|
58
60
|
instance.if_machine = Freeclimb::IfMachine::REDIRECT
|
data/spec/models/park_spec.rb
CHANGED
data/spec/models/pause_spec.rb
CHANGED
data/spec/models/play_spec.rb
CHANGED
@@ -25,6 +25,7 @@ describe Freeclimb::QueueResultStatus do
|
|
25
25
|
expect(instance).to be_instance_of(Freeclimb::QueueResultStatus)
|
26
26
|
end
|
27
27
|
end
|
28
|
+
|
28
29
|
describe 'test attribute "QUEUE_FULL"' do
|
29
30
|
it 'should work' do
|
30
31
|
expect { Freeclimb::QueueResultStatus::QUEUE_FULL = "queueFull" }.not_to raise_error
|
@@ -25,6 +25,7 @@ describe Freeclimb::RecordUtteranceTermReason do
|
|
25
25
|
expect(instance).to be_instance_of(Freeclimb::RecordUtteranceTermReason)
|
26
26
|
end
|
27
27
|
end
|
28
|
+
|
28
29
|
describe 'test attribute "FINISH_KEY"' do
|
29
30
|
it 'should work' do
|
30
31
|
expect { Freeclimb::RecordUtteranceTermReason::FINISH_KEY = "finishKey" }.not_to raise_error
|
data/spec/models/reject_spec.rb
CHANGED
@@ -25,6 +25,7 @@ describe Freeclimb::RequestType do
|
|
25
25
|
expect(instance).to be_instance_of(Freeclimb::RequestType)
|
26
26
|
end
|
27
27
|
end
|
28
|
+
|
28
29
|
describe 'test attribute "INBOUND_CALL"' do
|
29
30
|
it 'should work' do
|
30
31
|
expect { Freeclimb::RequestType::INBOUND_CALL = "inboundCall" }.not_to raise_error
|
data/spec/models/say_spec.rb
CHANGED
data/spec/models/sms_spec.rb
CHANGED
@@ -25,6 +25,7 @@ describe Freeclimb::SMSTenDLCBrand do
|
|
25
25
|
expect(instance).to be_instance_of(Freeclimb::SMSTenDLCBrand)
|
26
26
|
end
|
27
27
|
end
|
28
|
+
|
28
29
|
describe 'test attribute "account_id"' do
|
29
30
|
it 'should work' do
|
30
31
|
instance.account_id = "TEST_STRING"
|
@@ -32,6 +33,7 @@ describe Freeclimb::SMSTenDLCBrand do
|
|
32
33
|
end
|
33
34
|
end
|
34
35
|
|
36
|
+
|
35
37
|
describe 'test attribute "entity_type"' do
|
36
38
|
it 'assigns value PRIVATE_PROFIT' do
|
37
39
|
instance.entity_type = "PRIVATE_PROFIT"
|
@@ -74,118 +76,145 @@ describe Freeclimb::SMSTenDLCBrand do
|
|
74
76
|
end
|
75
77
|
|
76
78
|
describe 'test attribute "first_name"' do
|
77
|
-
it 'should
|
78
|
-
instance.first_name = "
|
79
|
-
expect(instance.first_name).to eq("
|
79
|
+
it 'should assign a value of maxLength' do
|
80
|
+
instance.first_name = "T" * 100
|
81
|
+
expect(instance.first_name).to eq("T" * 100)
|
82
|
+
end
|
83
|
+
it 'should not assign a value over maxLength' do
|
84
|
+
expect{instance.first_name = "T" * (100 + 1)}.to raise_error(ArgumentError)
|
80
85
|
end
|
81
86
|
end
|
82
87
|
|
83
88
|
describe 'test attribute "last_name"' do
|
84
|
-
it 'should
|
85
|
-
instance.last_name = "
|
86
|
-
expect(instance.last_name).to eq("
|
89
|
+
it 'should assign a value of maxLength' do
|
90
|
+
instance.last_name = "T" * 100
|
91
|
+
expect(instance.last_name).to eq("T" * 100)
|
92
|
+
end
|
93
|
+
it 'should not assign a value over maxLength' do
|
94
|
+
expect{instance.last_name = "T" * (100 + 1)}.to raise_error(ArgumentError)
|
87
95
|
end
|
88
96
|
end
|
89
97
|
|
90
98
|
describe 'test attribute "display_name"' do
|
91
|
-
it 'should
|
92
|
-
instance.display_name = "
|
93
|
-
expect(instance.display_name).to eq("
|
99
|
+
it 'should assign a value of maxLength' do
|
100
|
+
instance.display_name = "T" * 255
|
101
|
+
expect(instance.display_name).to eq("T" * 255)
|
102
|
+
end
|
103
|
+
it 'should not assign a value over maxLength' do
|
104
|
+
expect{instance.display_name = "T" * (255 + 1)}.to raise_error(ArgumentError)
|
94
105
|
end
|
95
106
|
end
|
96
107
|
|
97
108
|
describe 'test attribute "company_name"' do
|
98
|
-
it 'should
|
99
|
-
instance.company_name = "
|
100
|
-
expect(instance.company_name).to eq("
|
109
|
+
it 'should assign a value of maxLength' do
|
110
|
+
instance.company_name = "T" * 255
|
111
|
+
expect(instance.company_name).to eq("T" * 255)
|
112
|
+
end
|
113
|
+
it 'should not assign a value over maxLength' do
|
114
|
+
expect{instance.company_name = "T" * (255 + 1)}.to raise_error(ArgumentError)
|
101
115
|
end
|
102
116
|
end
|
103
117
|
|
104
118
|
describe 'test attribute "ein"' do
|
105
|
-
it 'should
|
106
|
-
instance.ein = "
|
107
|
-
expect(instance.ein).to eq("
|
119
|
+
it 'should assign a value of maxLength' do
|
120
|
+
instance.ein = "T" * 21
|
121
|
+
expect(instance.ein).to eq("T" * 21)
|
122
|
+
end
|
123
|
+
it 'should not assign a value over maxLength' do
|
124
|
+
expect{instance.ein = "T" * (21 + 1)}.to raise_error(ArgumentError)
|
108
125
|
end
|
109
126
|
end
|
110
127
|
|
111
|
-
|
112
128
|
describe 'test attribute "ein_issuing_country"' do
|
113
|
-
it 'should
|
114
|
-
instance.ein_issuing_country = "
|
115
|
-
expect(instance.ein_issuing_country).to eq("
|
129
|
+
it 'should assign a value of maxLength' do
|
130
|
+
instance.ein_issuing_country = "T" * 2
|
131
|
+
expect(instance.ein_issuing_country).to eq("T" * 2)
|
116
132
|
end
|
117
|
-
it 'should not
|
118
|
-
expect{instance.ein_issuing_country = "
|
133
|
+
it 'should not assign a value over maxLength' do
|
134
|
+
expect{instance.ein_issuing_country = "T" * (2 + 1)}.to raise_error(ArgumentError)
|
119
135
|
end
|
120
|
-
end
|
136
|
+
end
|
121
137
|
|
122
138
|
describe 'test attribute "phone"' do
|
123
|
-
it 'should
|
124
|
-
instance.phone = "
|
125
|
-
expect(instance.phone).to eq("
|
139
|
+
it 'should assign a value of maxLength' do
|
140
|
+
instance.phone = "T" * 20
|
141
|
+
expect(instance.phone).to eq("T" * 20)
|
142
|
+
end
|
143
|
+
it 'should not assign a value over maxLength' do
|
144
|
+
expect{instance.phone = "T" * (20 + 1)}.to raise_error(ArgumentError)
|
126
145
|
end
|
127
146
|
end
|
128
147
|
|
129
148
|
describe 'test attribute "street"' do
|
130
|
-
it 'should
|
131
|
-
instance.street = "
|
132
|
-
expect(instance.street).to eq("
|
149
|
+
it 'should assign a value of maxLength' do
|
150
|
+
instance.street = "T" * 100
|
151
|
+
expect(instance.street).to eq("T" * 100)
|
152
|
+
end
|
153
|
+
it 'should not assign a value over maxLength' do
|
154
|
+
expect{instance.street = "T" * (100 + 1)}.to raise_error(ArgumentError)
|
133
155
|
end
|
134
156
|
end
|
135
157
|
|
136
158
|
describe 'test attribute "city"' do
|
137
|
-
it 'should
|
138
|
-
instance.city = "
|
139
|
-
expect(instance.city).to eq("
|
159
|
+
it 'should assign a value of maxLength' do
|
160
|
+
instance.city = "T" * 100
|
161
|
+
expect(instance.city).to eq("T" * 100)
|
162
|
+
end
|
163
|
+
it 'should not assign a value over maxLength' do
|
164
|
+
expect{instance.city = "T" * (100 + 1)}.to raise_error(ArgumentError)
|
140
165
|
end
|
141
166
|
end
|
142
167
|
|
143
168
|
describe 'test attribute "state"' do
|
144
|
-
it 'should
|
145
|
-
instance.state = "
|
146
|
-
expect(instance.state).to eq("
|
169
|
+
it 'should assign a value of maxLength' do
|
170
|
+
instance.state = "T" * 20
|
171
|
+
expect(instance.state).to eq("T" * 20)
|
172
|
+
end
|
173
|
+
it 'should not assign a value over maxLength' do
|
174
|
+
expect{instance.state = "T" * (20 + 1)}.to raise_error(ArgumentError)
|
147
175
|
end
|
148
176
|
end
|
149
177
|
|
150
|
-
|
151
178
|
describe 'test attribute "postal_code"' do
|
152
|
-
it 'should
|
153
|
-
instance.postal_code = "
|
154
|
-
expect(instance.postal_code).to eq("
|
179
|
+
it 'should assign a value of maxLength' do
|
180
|
+
instance.postal_code = "T" * 10
|
181
|
+
expect(instance.postal_code).to eq("T" * 10)
|
155
182
|
end
|
156
|
-
it 'should not
|
157
|
-
expect{instance.postal_code = "
|
183
|
+
it 'should not assign a value over maxLength' do
|
184
|
+
expect{instance.postal_code = "T" * (10 + 1)}.to raise_error(ArgumentError)
|
158
185
|
end
|
159
|
-
end
|
160
|
-
|
186
|
+
end
|
161
187
|
|
162
188
|
describe 'test attribute "country"' do
|
163
|
-
it 'should
|
164
|
-
instance.country = "
|
165
|
-
expect(instance.country).to eq("
|
189
|
+
it 'should assign a value of maxLength' do
|
190
|
+
instance.country = "T" * 2
|
191
|
+
expect(instance.country).to eq("T" * 2)
|
166
192
|
end
|
167
|
-
it 'should not
|
168
|
-
expect{instance.country = "
|
193
|
+
it 'should not assign a value over maxLength' do
|
194
|
+
expect{instance.country = "T" * (2 + 1)}.to raise_error(ArgumentError)
|
169
195
|
end
|
170
|
-
end
|
196
|
+
end
|
171
197
|
|
172
198
|
describe 'test attribute "email"' do
|
173
|
-
it 'should
|
174
|
-
instance.email = "
|
175
|
-
expect(instance.email).to eq("
|
199
|
+
it 'should assign a value of maxLength' do
|
200
|
+
instance.email = "T" * 100
|
201
|
+
expect(instance.email).to eq("T" * 100)
|
202
|
+
end
|
203
|
+
it 'should not assign a value over maxLength' do
|
204
|
+
expect{instance.email = "T" * (100 + 1)}.to raise_error(ArgumentError)
|
176
205
|
end
|
177
206
|
end
|
178
207
|
|
179
|
-
|
180
208
|
describe 'test attribute "stock_symbol"' do
|
181
|
-
it 'should
|
182
|
-
instance.stock_symbol = "
|
183
|
-
expect(instance.stock_symbol).to eq("
|
209
|
+
it 'should assign a value of maxLength' do
|
210
|
+
instance.stock_symbol = "T" * 10
|
211
|
+
expect(instance.stock_symbol).to eq("T" * 10)
|
184
212
|
end
|
185
|
-
it 'should not
|
186
|
-
expect{instance.stock_symbol = "
|
213
|
+
it 'should not assign a value over maxLength' do
|
214
|
+
expect{instance.stock_symbol = "T" * (10 + 1)}.to raise_error(ArgumentError)
|
187
215
|
end
|
188
|
-
end
|
216
|
+
end
|
217
|
+
|
189
218
|
|
190
219
|
describe 'test attribute "stock_exchange"' do
|
191
220
|
it 'assigns value NONE' do
|
@@ -303,19 +332,26 @@ describe Freeclimb::SMSTenDLCBrand do
|
|
303
332
|
end
|
304
333
|
|
305
334
|
describe 'test attribute "ip_address"' do
|
306
|
-
it 'should
|
307
|
-
instance.ip_address = "
|
308
|
-
expect(instance.ip_address).to eq("
|
335
|
+
it 'should assign a value of maxLength' do
|
336
|
+
instance.ip_address = "T" * 50
|
337
|
+
expect(instance.ip_address).to eq("T" * 50)
|
338
|
+
end
|
339
|
+
it 'should not assign a value over maxLength' do
|
340
|
+
expect{instance.ip_address = "T" * (50 + 1)}.to raise_error(ArgumentError)
|
309
341
|
end
|
310
342
|
end
|
311
343
|
|
312
344
|
describe 'test attribute "website"' do
|
313
|
-
it 'should
|
314
|
-
instance.website = "
|
315
|
-
expect(instance.website).to eq("
|
345
|
+
it 'should assign a value of maxLength' do
|
346
|
+
instance.website = "T" * 100
|
347
|
+
expect(instance.website).to eq("T" * 100)
|
348
|
+
end
|
349
|
+
it 'should not assign a value over maxLength' do
|
350
|
+
expect{instance.website = "T" * (100 + 1)}.to raise_error(ArgumentError)
|
316
351
|
end
|
317
352
|
end
|
318
353
|
|
354
|
+
|
319
355
|
describe 'test attribute "brand_relationship"' do
|
320
356
|
it 'assigns value BASIC_ACCOUNT' do
|
321
357
|
instance.brand_relationship = "BASIC_ACCOUNT"
|
@@ -344,19 +380,26 @@ describe Freeclimb::SMSTenDLCBrand do
|
|
344
380
|
end
|
345
381
|
|
346
382
|
describe 'test attribute "vertical"' do
|
347
|
-
it 'should
|
348
|
-
instance.vertical = "
|
349
|
-
expect(instance.vertical).to eq("
|
383
|
+
it 'should assign a value of maxLength' do
|
384
|
+
instance.vertical = "T" * 50
|
385
|
+
expect(instance.vertical).to eq("T" * 50)
|
386
|
+
end
|
387
|
+
it 'should not assign a value over maxLength' do
|
388
|
+
expect{instance.vertical = "T" * (50 + 1)}.to raise_error(ArgumentError)
|
350
389
|
end
|
351
390
|
end
|
352
391
|
|
353
392
|
describe 'test attribute "alt_business_id"' do
|
354
|
-
it 'should
|
355
|
-
instance.alt_business_id = "
|
356
|
-
expect(instance.alt_business_id).to eq("
|
393
|
+
it 'should assign a value of maxLength' do
|
394
|
+
instance.alt_business_id = "T" * 50
|
395
|
+
expect(instance.alt_business_id).to eq("T" * 50)
|
396
|
+
end
|
397
|
+
it 'should not assign a value over maxLength' do
|
398
|
+
expect{instance.alt_business_id = "T" * (50 + 1)}.to raise_error(ArgumentError)
|
357
399
|
end
|
358
400
|
end
|
359
401
|
|
402
|
+
|
360
403
|
describe 'test attribute "alt_business_id_type"' do
|
361
404
|
it 'assigns value NONE' do
|
362
405
|
instance.alt_business_id_type = "NONE"
|
@@ -388,9 +431,12 @@ describe Freeclimb::SMSTenDLCBrand do
|
|
388
431
|
end
|
389
432
|
|
390
433
|
describe 'test attribute "reference_id"' do
|
391
|
-
it 'should
|
392
|
-
instance.reference_id = "
|
393
|
-
expect(instance.reference_id).to eq("
|
434
|
+
it 'should assign a value of maxLength' do
|
435
|
+
instance.reference_id = "T" * 50
|
436
|
+
expect(instance.reference_id).to eq("T" * 50)
|
437
|
+
end
|
438
|
+
it 'should not assign a value over maxLength' do
|
439
|
+
expect{instance.reference_id = "T" * (50 + 1)}.to raise_error(ArgumentError)
|
394
440
|
end
|
395
441
|
end
|
396
442
|
|
@@ -409,6 +455,7 @@ describe Freeclimb::SMSTenDLCBrand do
|
|
409
455
|
end
|
410
456
|
end
|
411
457
|
|
458
|
+
|
412
459
|
describe 'test attribute "identity_status"' do
|
413
460
|
it 'assigns value SELF_DECLARED' do
|
414
461
|
instance.identity_status = "SELF_DECLARED"
|