bandwidth-sdk 3.13.2 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7336e9d451418630a0a7114a1f5e6d7ca929a7069afe71d5a81c96d3580f6ded
4
- data.tar.gz: e4da49bb09e35ab947352c4d0b92ee6a970450ed9aec84b89bfcbf31b079791a
3
+ metadata.gz: d5ee57c0eb2ed3e14b4d1a5804601d378b746e86d239dc165688b02bd8cba009
4
+ data.tar.gz: 8b04e6e9355e8cfa65de5e53817d1e911fd4186f4ab7a679c87362b1840d97a8
5
5
  SHA512:
6
- metadata.gz: ea2a492118247060435f24d8d1fdc5421293b4abcb4d321495b25dc5be178eab4b5b58a22f49363f5b254719a357bbb8a2def4cb412f00ce9633ddb1be05e792
7
- data.tar.gz: 79588ec737914f87a947b957b9e5a8f06335ba82d86fbe0eff55289df3109f21b6f55f33208cfe36fa6d491c63b31885fe910e98b21b72d5b37044cbf775ab9e
6
+ metadata.gz: 745e9bd8de4422f8563dbd0d5c96d9acba7317a938bba925e128737a7341f50a76e73b024b5f838c6635efb652c176089e8a855d45ca2df21ac89732ab92ed10
7
+ data.tar.gz: bab4629ee04f7f0ad2ee6a661500dace66c28885ba94365e40ac814db54e61243c602b81c95e1f04c0b0d83874a839738b41801fec566677a5d48595d6552e21
data/LICENSE CHANGED
@@ -3,7 +3,7 @@ License:
3
3
  The MIT License (MIT)
4
4
  http://opensource.org/licenses/MIT
5
5
 
6
- Copyright (c) 2014 - 2016 APIMATIC Limited
6
+ Copyright (c) 2014 - 2020 APIMATIC Limited
7
7
 
8
8
  Permission is hereby granted, free of charge, to any person obtaining a copy
9
9
  of this software and associated documentation files (the "Software"), to deal
@@ -25,10 +25,12 @@ module Bandwidth
25
25
  @errors = errors
26
26
  end
27
27
 
28
+ # returns true if status_code is between 200-300
28
29
  def success?
29
30
  status_code >= 200 && status_code < 300
30
31
  end
31
32
 
33
+ # returns true if status_code is between 400-600
32
34
  def error?
33
35
  status_code >= 400 && status_code < 600
34
36
  end
@@ -15,6 +15,7 @@ module Bandwidth
15
15
  @connection = Faraday.new do |faraday|
16
16
  faraday.use Faraday::HttpCache, serializer: Marshal if cache
17
17
  faraday.use FaradayMiddleware::FollowRedirects
18
+ faraday.use :gzip
18
19
  faraday.request :multipart
19
20
  faraday.request :url_encoded
20
21
  faraday.ssl[:ca_file] = Certifi.where
@@ -34,7 +35,10 @@ module Bandwidth
34
35
  http_request.query_url
35
36
  ) do |request|
36
37
  request.headers = http_request.headers
37
- request.body = http_request.parameters
38
+ unless http_request.http_method == HttpMethodEnum::GET &&
39
+ http_request.parameters.empty?
40
+ request.body = http_request.parameters
41
+ end
38
42
  end
39
43
  convert_response(response, http_request)
40
44
  end
@@ -46,7 +50,10 @@ module Bandwidth
46
50
  http_request.query_url
47
51
  ) do |request|
48
52
  request.headers = http_request.headers
49
- request.body = http_request.parameters
53
+ unless http_request.http_method == HttpMethodEnum::GET &&
54
+ http_request.parameters.empty?
55
+ request.body = http_request.parameters
56
+ end
50
57
  end
51
58
  convert_response(response, http_request)
52
59
  end
@@ -22,7 +22,7 @@ module Messaging
22
22
  _query_builder << '/users/{userId}/media'
23
23
  _query_builder = APIHelper.append_url_with_template_parameters(
24
24
  _query_builder,
25
- 'userId' => { 'value' => user_id, 'encode' => true }
25
+ 'userId' => { 'value' => user_id, 'encode' => false }
26
26
  )
27
27
  _query_url = APIHelper.clean_url _query_builder
28
28
 
@@ -93,7 +93,7 @@ module Messaging
93
93
  _query_builder << '/users/{userId}/media/{mediaId}'
94
94
  _query_builder = APIHelper.append_url_with_template_parameters(
95
95
  _query_builder,
96
- 'userId' => { 'value' => user_id, 'encode' => true },
96
+ 'userId' => { 'value' => user_id, 'encode' => false },
97
97
  'mediaId' => { 'value' => media_id, 'encode' => false }
98
98
  )
99
99
  _query_url = APIHelper.clean_url _query_builder
@@ -165,7 +165,7 @@ module Messaging
165
165
  _query_builder << '/users/{userId}/media/{mediaId}'
166
166
  _query_builder = APIHelper.append_url_with_template_parameters(
167
167
  _query_builder,
168
- 'userId' => { 'value' => user_id, 'encode' => true },
168
+ 'userId' => { 'value' => user_id, 'encode' => false },
169
169
  'mediaId' => { 'value' => media_id, 'encode' => false }
170
170
  )
171
171
  _query_url = APIHelper.clean_url _query_builder
@@ -244,7 +244,7 @@ module Messaging
244
244
  _query_builder << '/users/{userId}/media/{mediaId}'
245
245
  _query_builder = APIHelper.append_url_with_template_parameters(
246
246
  _query_builder,
247
- 'userId' => { 'value' => user_id, 'encode' => true },
247
+ 'userId' => { 'value' => user_id, 'encode' => false },
248
248
  'mediaId' => { 'value' => media_id, 'encode' => false }
249
249
  )
250
250
  _query_url = APIHelper.clean_url _query_builder
@@ -305,7 +305,7 @@ module Messaging
305
305
  _query_builder << '/users/{userId}/messages'
306
306
  _query_builder = APIHelper.append_url_with_template_parameters(
307
307
  _query_builder,
308
- 'userId' => { 'value' => user_id, 'encode' => true }
308
+ 'userId' => { 'value' => user_id, 'encode' => false }
309
309
  )
310
310
  _query_url = APIHelper.clean_url _query_builder
311
311
 
@@ -13,7 +13,7 @@ module Bandwidth
13
13
  @http_call_back = http_call_back
14
14
 
15
15
  @global_headers = {
16
- 'user-agent' => 'ruby-sdk-refs/tags/ruby3.12.1'
16
+ 'user-agent' => 'ruby-sdk'
17
17
  }
18
18
  end
19
19
 
@@ -23,7 +23,7 @@ module TwoFactorAuth
23
23
  _query_builder << '/accounts/{accountId}/code/voice'
24
24
  _query_builder = APIHelper.append_url_with_template_parameters(
25
25
  _query_builder,
26
- 'accountId' => { 'value' => account_id, 'encode' => true }
26
+ 'accountId' => { 'value' => account_id, 'encode' => false }
27
27
  )
28
28
  _query_url = APIHelper.clean_url _query_builder
29
29
 
@@ -70,7 +70,7 @@ module TwoFactorAuth
70
70
  _query_builder << '/accounts/{accountId}/code/messaging'
71
71
  _query_builder = APIHelper.append_url_with_template_parameters(
72
72
  _query_builder,
73
- 'accountId' => { 'value' => account_id, 'encode' => true }
73
+ 'accountId' => { 'value' => account_id, 'encode' => false }
74
74
  )
75
75
  _query_url = APIHelper.clean_url _query_builder
76
76
 
@@ -118,7 +118,7 @@ module TwoFactorAuth
118
118
  _query_builder << '/accounts/{accountId}/code/verify'
119
119
  _query_builder = APIHelper.append_url_with_template_parameters(
120
120
  _query_builder,
121
- 'accountId' => { 'value' => account_id, 'encode' => true }
121
+ 'accountId' => { 'value' => account_id, 'encode' => false }
122
122
  )
123
123
  _query_url = APIHelper.clean_url _query_builder
124
124
 
@@ -13,7 +13,7 @@ module Bandwidth
13
13
  @http_call_back = http_call_back
14
14
 
15
15
  @global_headers = {
16
- 'user-agent' => 'ruby-sdk-refs/tags/ruby3.12.1'
16
+ 'user-agent' => 'ruby-sdk'
17
17
  }
18
18
  end
19
19
 
@@ -10,10 +10,6 @@ module Bandwidth
10
10
  # @return [String]
11
11
  attr_accessor :to
12
12
 
13
- # The application phone number, the sender of the 2fa code.
14
- # @return [String]
15
- attr_accessor :from
16
-
17
13
  # The application unique ID, obtained from Bandwidth.
18
14
  # @return [String]
19
15
  attr_accessor :application_id
@@ -23,11 +19,6 @@ module Bandwidth
23
19
  # @return [String]
24
20
  attr_accessor :scope
25
21
 
26
- # The number of digits for your 2fa code. The valid number ranges from 2 to
27
- # 8, inclusively.
28
- # @return [Float]
29
- attr_accessor :digits
30
-
31
22
  # The time period, in minutes, to validate the 2fa code. By setting this to
32
23
  # 3 minutes, it will mean any code generated within the last 3 minutes are
33
24
  # still valid. The valid range for expiration time is between 0 and 15
@@ -43,27 +34,21 @@ module Bandwidth
43
34
  def self.names
44
35
  @_hash = {} if @_hash.nil?
45
36
  @_hash['to'] = 'to'
46
- @_hash['from'] = 'from'
47
37
  @_hash['application_id'] = 'applicationId'
48
38
  @_hash['scope'] = 'scope'
49
- @_hash['digits'] = 'digits'
50
39
  @_hash['expiration_time_in_minutes'] = 'expirationTimeInMinutes'
51
40
  @_hash['code'] = 'code'
52
41
  @_hash
53
42
  end
54
43
 
55
44
  def initialize(to = nil,
56
- from = nil,
57
45
  application_id = nil,
58
- digits = nil,
59
46
  expiration_time_in_minutes = nil,
60
47
  code = nil,
61
48
  scope = nil)
62
49
  @to = to
63
- @from = from
64
50
  @application_id = application_id
65
51
  @scope = scope
66
- @digits = digits
67
52
  @expiration_time_in_minutes = expiration_time_in_minutes
68
53
  @code = code
69
54
  end
@@ -74,18 +59,14 @@ module Bandwidth
74
59
 
75
60
  # Extract variables from the hash.
76
61
  to = hash['to']
77
- from = hash['from']
78
62
  application_id = hash['applicationId']
79
- digits = hash['digits']
80
63
  expiration_time_in_minutes = hash['expirationTimeInMinutes']
81
64
  code = hash['code']
82
65
  scope = hash['scope']
83
66
 
84
67
  # Create object from extracted values.
85
68
  TwoFactorVerifyRequestSchema.new(to,
86
- from,
87
69
  application_id,
88
- digits,
89
70
  expiration_time_in_minutes,
90
71
  code,
91
72
  scope)
@@ -11,7 +11,7 @@ require_relative 'voice/models/api_call_response.rb'
11
11
  require_relative 'voice/models/api_call_state_response.rb'
12
12
  require_relative 'voice/models/api_create_call_request.rb'
13
13
  require_relative 'voice/models/api_modify_call_request.rb'
14
- require_relative 'voice/models/call_engine_modify_conference_request.rb'
14
+ require_relative 'voice/models/api_modify_conference_request.rb'
15
15
  require_relative 'voice/models/api_transcribe_recording_request.rb'
16
16
  require_relative 'voice/models/conference_detail.rb'
17
17
  require_relative 'voice/models/conference_member_detail.rb'
@@ -22,7 +22,7 @@ module Voice
22
22
  _query_builder << '/api/v2/accounts/{accountId}/calls'
23
23
  _query_builder = APIHelper.append_url_with_template_parameters(
24
24
  _query_builder,
25
- 'accountId' => { 'value' => account_id, 'encode' => true }
25
+ 'accountId' => { 'value' => account_id, 'encode' => false }
26
26
  )
27
27
  _query_url = APIHelper.clean_url _query_builder
28
28
 
@@ -102,8 +102,8 @@ module Voice
102
102
  _query_builder << '/api/v2/accounts/{accountId}/calls/{callId}'
103
103
  _query_builder = APIHelper.append_url_with_template_parameters(
104
104
  _query_builder,
105
- 'accountId' => { 'value' => account_id, 'encode' => true },
106
- 'callId' => { 'value' => call_id, 'encode' => true }
105
+ 'accountId' => { 'value' => account_id, 'encode' => false },
106
+ 'callId' => { 'value' => call_id, 'encode' => false }
107
107
  )
108
108
  _query_url = APIHelper.clean_url _query_builder
109
109
 
@@ -183,8 +183,8 @@ module Voice
183
183
  _query_builder << '/api/v2/accounts/{accountId}/calls/{callId}'
184
184
  _query_builder = APIHelper.append_url_with_template_parameters(
185
185
  _query_builder,
186
- 'accountId' => { 'value' => account_id, 'encode' => true },
187
- 'callId' => { 'value' => call_id, 'encode' => true }
186
+ 'accountId' => { 'value' => account_id, 'encode' => false },
187
+ 'callId' => { 'value' => call_id, 'encode' => false }
188
188
  )
189
189
  _query_url = APIHelper.clean_url _query_builder
190
190
 
@@ -262,8 +262,8 @@ module Voice
262
262
  _query_builder << '/api/v2/accounts/{accountId}/calls/{callId}/recording'
263
263
  _query_builder = APIHelper.append_url_with_template_parameters(
264
264
  _query_builder,
265
- 'accountId' => { 'value' => account_id, 'encode' => true },
266
- 'callId' => { 'value' => call_id, 'encode' => true }
265
+ 'accountId' => { 'value' => account_id, 'encode' => false },
266
+ 'callId' => { 'value' => call_id, 'encode' => false }
267
267
  )
268
268
  _query_url = APIHelper.clean_url _query_builder
269
269
 
@@ -340,8 +340,8 @@ module Voice
340
340
  _query_builder << '/api/v2/accounts/{accountId}/calls/{callId}/recordings'
341
341
  _query_builder = APIHelper.append_url_with_template_parameters(
342
342
  _query_builder,
343
- 'accountId' => { 'value' => account_id, 'encode' => true },
344
- 'callId' => { 'value' => call_id, 'encode' => true }
343
+ 'accountId' => { 'value' => account_id, 'encode' => false },
344
+ 'callId' => { 'value' => call_id, 'encode' => false }
345
345
  )
346
346
  _query_url = APIHelper.clean_url _query_builder
347
347
 
@@ -422,9 +422,9 @@ module Voice
422
422
  _query_builder << '/api/v2/accounts/{accountId}/calls/{callId}/recordings/{recordingId}'
423
423
  _query_builder = APIHelper.append_url_with_template_parameters(
424
424
  _query_builder,
425
- 'accountId' => { 'value' => account_id, 'encode' => true },
426
- 'callId' => { 'value' => call_id, 'encode' => true },
427
- 'recordingId' => { 'value' => recording_id, 'encode' => true }
425
+ 'accountId' => { 'value' => account_id, 'encode' => false },
426
+ 'callId' => { 'value' => call_id, 'encode' => false },
427
+ 'recordingId' => { 'value' => recording_id, 'encode' => false }
428
428
  )
429
429
  _query_url = APIHelper.clean_url _query_builder
430
430
 
@@ -504,9 +504,9 @@ module Voice
504
504
  _query_builder << '/api/v2/accounts/{accountId}/calls/{callId}/recordings/{recordingId}'
505
505
  _query_builder = APIHelper.append_url_with_template_parameters(
506
506
  _query_builder,
507
- 'accountId' => { 'value' => account_id, 'encode' => true },
508
- 'callId' => { 'value' => call_id, 'encode' => true },
509
- 'recordingId' => { 'value' => recording_id, 'encode' => true }
507
+ 'accountId' => { 'value' => account_id, 'encode' => false },
508
+ 'callId' => { 'value' => call_id, 'encode' => false },
509
+ 'recordingId' => { 'value' => recording_id, 'encode' => false }
510
510
  )
511
511
  _query_url = APIHelper.clean_url _query_builder
512
512
 
@@ -577,9 +577,9 @@ module Voice
577
577
  _query_builder << '/api/v2/accounts/{accountId}/calls/{callId}/recordings/{recordingId}/media'
578
578
  _query_builder = APIHelper.append_url_with_template_parameters(
579
579
  _query_builder,
580
- 'accountId' => { 'value' => account_id, 'encode' => true },
581
- 'callId' => { 'value' => call_id, 'encode' => true },
582
- 'recordingId' => { 'value' => recording_id, 'encode' => true }
580
+ 'accountId' => { 'value' => account_id, 'encode' => false },
581
+ 'callId' => { 'value' => call_id, 'encode' => false },
582
+ 'recordingId' => { 'value' => recording_id, 'encode' => false }
583
583
  )
584
584
  _query_url = APIHelper.clean_url _query_builder
585
585
 
@@ -652,9 +652,9 @@ module Voice
652
652
  _query_builder << '/api/v2/accounts/{accountId}/calls/{callId}/recordings/{recordingId}/media'
653
653
  _query_builder = APIHelper.append_url_with_template_parameters(
654
654
  _query_builder,
655
- 'accountId' => { 'value' => account_id, 'encode' => true },
656
- 'callId' => { 'value' => call_id, 'encode' => true },
657
- 'recordingId' => { 'value' => recording_id, 'encode' => true }
655
+ 'accountId' => { 'value' => account_id, 'encode' => false },
656
+ 'callId' => { 'value' => call_id, 'encode' => false },
657
+ 'recordingId' => { 'value' => recording_id, 'encode' => false }
658
658
  )
659
659
  _query_url = APIHelper.clean_url _query_builder
660
660
 
@@ -725,9 +725,9 @@ module Voice
725
725
  _query_builder << '/api/v2/accounts/{accountId}/calls/{callId}/recordings/{recordingId}/transcription'
726
726
  _query_builder = APIHelper.append_url_with_template_parameters(
727
727
  _query_builder,
728
- 'accountId' => { 'value' => account_id, 'encode' => true },
729
- 'callId' => { 'value' => call_id, 'encode' => true },
730
- 'recordingId' => { 'value' => recording_id, 'encode' => true }
728
+ 'accountId' => { 'value' => account_id, 'encode' => false },
729
+ 'callId' => { 'value' => call_id, 'encode' => false },
730
+ 'recordingId' => { 'value' => recording_id, 'encode' => false }
731
731
  )
732
732
  _query_url = APIHelper.clean_url _query_builder
733
733
 
@@ -809,9 +809,9 @@ module Voice
809
809
  _query_builder << '/api/v2/accounts/{accountId}/calls/{callId}/recordings/{recordingId}/transcription'
810
810
  _query_builder = APIHelper.append_url_with_template_parameters(
811
811
  _query_builder,
812
- 'accountId' => { 'value' => account_id, 'encode' => true },
813
- 'callId' => { 'value' => call_id, 'encode' => true },
814
- 'recordingId' => { 'value' => recording_id, 'encode' => true }
812
+ 'accountId' => { 'value' => account_id, 'encode' => false },
813
+ 'callId' => { 'value' => call_id, 'encode' => false },
814
+ 'recordingId' => { 'value' => recording_id, 'encode' => false }
815
815
  )
816
816
  _query_url = APIHelper.clean_url _query_builder
817
817
 
@@ -895,9 +895,9 @@ module Voice
895
895
  _query_builder << '/api/v2/accounts/{accountId}/calls/{callId}/recordings/{recordingId}/transcription'
896
896
  _query_builder = APIHelper.append_url_with_template_parameters(
897
897
  _query_builder,
898
- 'accountId' => { 'value' => account_id, 'encode' => true },
899
- 'callId' => { 'value' => call_id, 'encode' => true },
900
- 'recordingId' => { 'value' => recording_id, 'encode' => true }
898
+ 'accountId' => { 'value' => account_id, 'encode' => false },
899
+ 'callId' => { 'value' => call_id, 'encode' => false },
900
+ 'recordingId' => { 'value' => recording_id, 'encode' => false }
901
901
  )
902
902
  _query_url = APIHelper.clean_url _query_builder
903
903
 
@@ -974,7 +974,7 @@ module Voice
974
974
  _query_builder << '/api/v2/accounts/{accountId}/conferences'
975
975
  _query_builder = APIHelper.append_url_with_template_parameters(
976
976
  _query_builder,
977
- 'accountId' => { 'value' => account_id, 'encode' => true }
977
+ 'accountId' => { 'value' => account_id, 'encode' => false }
978
978
  )
979
979
  _query_builder = APIHelper.append_url_with_query_parameters(
980
980
  _query_builder,
@@ -1061,8 +1061,8 @@ module Voice
1061
1061
  _query_builder << '/api/v2/accounts/{accountId}/conferences/{conferenceId}'
1062
1062
  _query_builder = APIHelper.append_url_with_template_parameters(
1063
1063
  _query_builder,
1064
- 'accountId' => { 'value' => account_id, 'encode' => true },
1065
- 'conferenceId' => { 'value' => conference_id, 'encode' => true }
1064
+ 'accountId' => { 'value' => account_id, 'encode' => false },
1065
+ 'conferenceId' => { 'value' => conference_id, 'encode' => false }
1066
1066
  )
1067
1067
  _query_url = APIHelper.clean_url _query_builder
1068
1068
 
@@ -1132,8 +1132,7 @@ module Voice
1132
1132
  # Modify the conference state
1133
1133
  # @param [String] account_id Required parameter: Example:
1134
1134
  # @param [String] conference_id Required parameter: Example:
1135
- # @param [CallEngineModifyConferenceRequest] body Optional parameter:
1136
- # Example:
1135
+ # @param [ApiModifyConferenceRequest] body Optional parameter: Example:
1137
1136
  # @return [void] response from the API call
1138
1137
  def modify_conference(account_id,
1139
1138
  conference_id,
@@ -1143,8 +1142,8 @@ module Voice
1143
1142
  _query_builder << '/api/v2/accounts/{accountId}/conferences/{conferenceId}'
1144
1143
  _query_builder = APIHelper.append_url_with_template_parameters(
1145
1144
  _query_builder,
1146
- 'accountId' => { 'value' => account_id, 'encode' => true },
1147
- 'conferenceId' => { 'value' => conference_id, 'encode' => true }
1145
+ 'accountId' => { 'value' => account_id, 'encode' => false },
1146
+ 'conferenceId' => { 'value' => conference_id, 'encode' => false }
1148
1147
  )
1149
1148
  _query_url = APIHelper.clean_url _query_builder
1150
1149
 
@@ -1224,9 +1223,9 @@ module Voice
1224
1223
  _query_builder << '/api/v2/accounts/{accountId}/conferences/{conferenceId}/members/{callId}'
1225
1224
  _query_builder = APIHelper.append_url_with_template_parameters(
1226
1225
  _query_builder,
1227
- 'accountId' => { 'value' => account_id, 'encode' => true },
1228
- 'conferenceId' => { 'value' => conference_id, 'encode' => true },
1229
- 'callId' => { 'value' => call_id, 'encode' => true }
1226
+ 'accountId' => { 'value' => account_id, 'encode' => false },
1227
+ 'conferenceId' => { 'value' => conference_id, 'encode' => false },
1228
+ 'callId' => { 'value' => call_id, 'encode' => false }
1230
1229
  )
1231
1230
  _query_url = APIHelper.clean_url _query_builder
1232
1231
 
@@ -1304,9 +1303,9 @@ module Voice
1304
1303
  _query_builder << '/api/v2/accounts/{accountId}/conferences/{conferenceId}/members/{memberId}'
1305
1304
  _query_builder = APIHelper.append_url_with_template_parameters(
1306
1305
  _query_builder,
1307
- 'accountId' => { 'value' => account_id, 'encode' => true },
1308
- 'conferenceId' => { 'value' => conference_id, 'encode' => true },
1309
- 'memberId' => { 'value' => member_id, 'encode' => true }
1306
+ 'accountId' => { 'value' => account_id, 'encode' => false },
1307
+ 'conferenceId' => { 'value' => conference_id, 'encode' => false },
1308
+ 'memberId' => { 'value' => member_id, 'encode' => false }
1310
1309
  )
1311
1310
  _query_url = APIHelper.clean_url _query_builder
1312
1311
 
@@ -1385,8 +1384,8 @@ module Voice
1385
1384
  _query_builder << '/api/v2/accounts/{accountId}/conferences/{conferenceId}/recordings'
1386
1385
  _query_builder = APIHelper.append_url_with_template_parameters(
1387
1386
  _query_builder,
1388
- 'accountId' => { 'value' => account_id, 'encode' => true },
1389
- 'conferenceId' => { 'value' => conference_id, 'encode' => true }
1387
+ 'accountId' => { 'value' => account_id, 'encode' => false },
1388
+ 'conferenceId' => { 'value' => conference_id, 'encode' => false }
1390
1389
  )
1391
1390
  _query_url = APIHelper.clean_url _query_builder
1392
1391
 
@@ -1467,9 +1466,9 @@ module Voice
1467
1466
  _query_builder << '/api/v2/accounts/{accountId}/conferences/{conferenceId}/recordings/{recordingId}'
1468
1467
  _query_builder = APIHelper.append_url_with_template_parameters(
1469
1468
  _query_builder,
1470
- 'accountId' => { 'value' => account_id, 'encode' => true },
1471
- 'conferenceId' => { 'value' => conference_id, 'encode' => true },
1472
- 'recordingId' => { 'value' => recording_id, 'encode' => true }
1469
+ 'accountId' => { 'value' => account_id, 'encode' => false },
1470
+ 'conferenceId' => { 'value' => conference_id, 'encode' => false },
1471
+ 'recordingId' => { 'value' => recording_id, 'encode' => false }
1473
1472
  )
1474
1473
  _query_url = APIHelper.clean_url _query_builder
1475
1474
 
@@ -1549,9 +1548,9 @@ module Voice
1549
1548
  _query_builder << '/api/v2/accounts/{accountId}/conferences/{conferenceId}/recordings/{recordingId}/media'
1550
1549
  _query_builder = APIHelper.append_url_with_template_parameters(
1551
1550
  _query_builder,
1552
- 'accountId' => { 'value' => account_id, 'encode' => true },
1553
- 'conferenceId' => { 'value' => conference_id, 'encode' => true },
1554
- 'recordingId' => { 'value' => recording_id, 'encode' => true }
1551
+ 'accountId' => { 'value' => account_id, 'encode' => false },
1552
+ 'conferenceId' => { 'value' => conference_id, 'encode' => false },
1553
+ 'recordingId' => { 'value' => recording_id, 'encode' => false }
1555
1554
  )
1556
1555
  _query_url = APIHelper.clean_url _query_builder
1557
1556
 
@@ -1631,7 +1630,7 @@ module Voice
1631
1630
  _query_builder << '/api/v2/accounts/{accountId}/recordings'
1632
1631
  _query_builder = APIHelper.append_url_with_template_parameters(
1633
1632
  _query_builder,
1634
- 'accountId' => { 'value' => account_id, 'encode' => true }
1633
+ 'accountId' => { 'value' => account_id, 'encode' => false }
1635
1634
  )
1636
1635
  _query_builder = APIHelper.append_url_with_query_parameters(
1637
1636
  _query_builder,
@@ -13,7 +13,7 @@ module Bandwidth
13
13
  @http_call_back = http_call_back
14
14
 
15
15
  @global_headers = {
16
- 'user-agent' => 'ruby-sdk-refs/tags/ruby3.12.1'
16
+ 'user-agent' => 'ruby-sdk'
17
17
  }
18
18
  end
19
19
 
@@ -10,71 +10,126 @@ module Bandwidth
10
10
  # @return [String]
11
11
  attr_accessor :from
12
12
 
13
- # Format is E164
13
+ # Format is E164 or SIP URI
14
14
  # @return [String]
15
15
  attr_accessor :to
16
16
 
17
- # Format is E164
17
+ # When calling a SIP URI, this will be sent as the 'User-To-User' header
18
+ # within the initial INVITE. An 'encoding' parameter must be specified as
19
+ # described in https://tools.ietf.org/html/rfc7433. This header cannot
20
+ # exceed 256 characters, including the encoding parameter.
21
+ # @return [String]
22
+ attr_accessor :uui
23
+
24
+ # When calling a SIP URI, this will be sent as the 'User-To-User' header
25
+ # within the initial INVITE. An 'encoding' parameter must be specified as
26
+ # described in https://tools.ietf.org/html/rfc7433. This header cannot
27
+ # exceed 256 characters, including the encoding parameter.
18
28
  # @return [Float]
19
29
  attr_accessor :call_timeout
20
30
 
21
- # Format is E164
31
+ # When calling a SIP URI, this will be sent as the 'User-To-User' header
32
+ # within the initial INVITE. An 'encoding' parameter must be specified as
33
+ # described in https://tools.ietf.org/html/rfc7433. This header cannot
34
+ # exceed 256 characters, including the encoding parameter.
22
35
  # @return [Float]
23
36
  attr_accessor :callback_timeout
24
37
 
25
- # Format is E164
38
+ # When calling a SIP URI, this will be sent as the 'User-To-User' header
39
+ # within the initial INVITE. An 'encoding' parameter must be specified as
40
+ # described in https://tools.ietf.org/html/rfc7433. This header cannot
41
+ # exceed 256 characters, including the encoding parameter.
26
42
  # @return [String]
27
43
  attr_accessor :answer_url
28
44
 
29
- # Format is E164
45
+ # When calling a SIP URI, this will be sent as the 'User-To-User' header
46
+ # within the initial INVITE. An 'encoding' parameter must be specified as
47
+ # described in https://tools.ietf.org/html/rfc7433. This header cannot
48
+ # exceed 256 characters, including the encoding parameter.
30
49
  # @return [String]
31
50
  attr_accessor :answer_fallback_url
32
51
 
33
- # Format is E164
52
+ # When calling a SIP URI, this will be sent as the 'User-To-User' header
53
+ # within the initial INVITE. An 'encoding' parameter must be specified as
54
+ # described in https://tools.ietf.org/html/rfc7433. This header cannot
55
+ # exceed 256 characters, including the encoding parameter.
34
56
  # @return [String]
35
57
  attr_accessor :username
36
58
 
37
- # Format is E164
59
+ # When calling a SIP URI, this will be sent as the 'User-To-User' header
60
+ # within the initial INVITE. An 'encoding' parameter must be specified as
61
+ # described in https://tools.ietf.org/html/rfc7433. This header cannot
62
+ # exceed 256 characters, including the encoding parameter.
38
63
  # @return [String]
39
64
  attr_accessor :password
40
65
 
41
- # Format is E164
66
+ # When calling a SIP URI, this will be sent as the 'User-To-User' header
67
+ # within the initial INVITE. An 'encoding' parameter must be specified as
68
+ # described in https://tools.ietf.org/html/rfc7433. This header cannot
69
+ # exceed 256 characters, including the encoding parameter.
42
70
  # @return [String]
43
71
  attr_accessor :fallback_username
44
72
 
45
- # Format is E164
73
+ # When calling a SIP URI, this will be sent as the 'User-To-User' header
74
+ # within the initial INVITE. An 'encoding' parameter must be specified as
75
+ # described in https://tools.ietf.org/html/rfc7433. This header cannot
76
+ # exceed 256 characters, including the encoding parameter.
46
77
  # @return [String]
47
78
  attr_accessor :fallback_password
48
79
 
49
- # Format is E164
80
+ # When calling a SIP URI, this will be sent as the 'User-To-User' header
81
+ # within the initial INVITE. An 'encoding' parameter must be specified as
82
+ # described in https://tools.ietf.org/html/rfc7433. This header cannot
83
+ # exceed 256 characters, including the encoding parameter.
50
84
  # @return [AnswerMethodEnum]
51
85
  attr_accessor :answer_method
52
86
 
53
- # Format is E164
87
+ # When calling a SIP URI, this will be sent as the 'User-To-User' header
88
+ # within the initial INVITE. An 'encoding' parameter must be specified as
89
+ # described in https://tools.ietf.org/html/rfc7433. This header cannot
90
+ # exceed 256 characters, including the encoding parameter.
54
91
  # @return [AnswerFallbackMethodEnum]
55
92
  attr_accessor :answer_fallback_method
56
93
 
57
- # Format is E164
94
+ # When calling a SIP URI, this will be sent as the 'User-To-User' header
95
+ # within the initial INVITE. An 'encoding' parameter must be specified as
96
+ # described in https://tools.ietf.org/html/rfc7433. This header cannot
97
+ # exceed 256 characters, including the encoding parameter.
58
98
  # @return [String]
59
99
  attr_accessor :disconnect_url
60
100
 
61
- # Format is E164
101
+ # When calling a SIP URI, this will be sent as the 'User-To-User' header
102
+ # within the initial INVITE. An 'encoding' parameter must be specified as
103
+ # described in https://tools.ietf.org/html/rfc7433. This header cannot
104
+ # exceed 256 characters, including the encoding parameter.
62
105
  # @return [DisconnectMethodEnum]
63
106
  attr_accessor :disconnect_method
64
107
 
65
- # Format is E164
108
+ # When calling a SIP URI, this will be sent as the 'User-To-User' header
109
+ # within the initial INVITE. An 'encoding' parameter must be specified as
110
+ # described in https://tools.ietf.org/html/rfc7433. This header cannot
111
+ # exceed 256 characters, including the encoding parameter.
66
112
  # @return [String]
67
113
  attr_accessor :tag
68
114
 
69
- # Format is E164
115
+ # When calling a SIP URI, this will be sent as the 'User-To-User' header
116
+ # within the initial INVITE. An 'encoding' parameter must be specified as
117
+ # described in https://tools.ietf.org/html/rfc7433. This header cannot
118
+ # exceed 256 characters, including the encoding parameter.
70
119
  # @return [String]
71
120
  attr_accessor :application_id
72
121
 
73
- # Format is E164
122
+ # When calling a SIP URI, this will be sent as the 'User-To-User' header
123
+ # within the initial INVITE. An 'encoding' parameter must be specified as
124
+ # described in https://tools.ietf.org/html/rfc7433. This header cannot
125
+ # exceed 256 characters, including the encoding parameter.
74
126
  # @return [String]
75
127
  attr_accessor :obfuscated_to
76
128
 
77
- # Format is E164
129
+ # When calling a SIP URI, this will be sent as the 'User-To-User' header
130
+ # within the initial INVITE. An 'encoding' parameter must be specified as
131
+ # described in https://tools.ietf.org/html/rfc7433. This header cannot
132
+ # exceed 256 characters, including the encoding parameter.
78
133
  # @return [String]
79
134
  attr_accessor :obfuscated_from
80
135
 
@@ -83,6 +138,7 @@ module Bandwidth
83
138
  @_hash = {} if @_hash.nil?
84
139
  @_hash['from'] = 'from'
85
140
  @_hash['to'] = 'to'
141
+ @_hash['uui'] = 'uui'
86
142
  @_hash['call_timeout'] = 'callTimeout'
87
143
  @_hash['callback_timeout'] = 'callbackTimeout'
88
144
  @_hash['answer_url'] = 'answerUrl'
@@ -106,6 +162,7 @@ module Bandwidth
106
162
  to = nil,
107
163
  answer_url = nil,
108
164
  application_id = nil,
165
+ uui = nil,
109
166
  call_timeout = nil,
110
167
  callback_timeout = nil,
111
168
  answer_fallback_url = nil,
@@ -122,6 +179,7 @@ module Bandwidth
122
179
  obfuscated_from = nil)
123
180
  @from = from
124
181
  @to = to
182
+ @uui = uui
125
183
  @call_timeout = call_timeout
126
184
  @callback_timeout = callback_timeout
127
185
  @answer_url = answer_url
@@ -149,6 +207,7 @@ module Bandwidth
149
207
  to = hash['to']
150
208
  answer_url = hash['answerUrl']
151
209
  application_id = hash['applicationId']
210
+ uui = hash['uui']
152
211
  call_timeout = hash['callTimeout']
153
212
  callback_timeout = hash['callbackTimeout']
154
213
  answer_fallback_url = hash['answerFallbackUrl']
@@ -169,6 +228,7 @@ module Bandwidth
169
228
  to,
170
229
  answer_url,
171
230
  application_id,
231
+ uui,
172
232
  call_timeout,
173
233
  callback_timeout,
174
234
  answer_fallback_url,
@@ -0,0 +1,107 @@
1
+ # bandwidth
2
+ #
3
+ # This file was automatically generated by APIMATIC v2.0
4
+ # ( https://apimatic.io ).
5
+
6
+ module Bandwidth
7
+ # ApiModifyConferenceRequest Model.
8
+ class ApiModifyConferenceRequest < BaseModel
9
+ # TODO: Write general description for this method
10
+ # @return [StatusEnum]
11
+ attr_accessor :status
12
+
13
+ # TODO: Write general description for this method
14
+ # @return [String]
15
+ attr_accessor :redirect_url
16
+
17
+ # TODO: Write general description for this method
18
+ # @return [String]
19
+ attr_accessor :redirect_fallback_url
20
+
21
+ # TODO: Write general description for this method
22
+ # @return [RedirectMethodEnum]
23
+ attr_accessor :redirect_method
24
+
25
+ # TODO: Write general description for this method
26
+ # @return [RedirectFallbackMethodEnum]
27
+ attr_accessor :redirect_fallback_method
28
+
29
+ # TODO: Write general description for this method
30
+ # @return [String]
31
+ attr_accessor :username
32
+
33
+ # TODO: Write general description for this method
34
+ # @return [String]
35
+ attr_accessor :password
36
+
37
+ # TODO: Write general description for this method
38
+ # @return [String]
39
+ attr_accessor :fallback_username
40
+
41
+ # TODO: Write general description for this method
42
+ # @return [String]
43
+ attr_accessor :fallback_password
44
+
45
+ # A mapping from model property names to API property names.
46
+ def self.names
47
+ @_hash = {} if @_hash.nil?
48
+ @_hash['status'] = 'status'
49
+ @_hash['redirect_url'] = 'redirectUrl'
50
+ @_hash['redirect_fallback_url'] = 'redirectFallbackUrl'
51
+ @_hash['redirect_method'] = 'redirectMethod'
52
+ @_hash['redirect_fallback_method'] = 'redirectFallbackMethod'
53
+ @_hash['username'] = 'username'
54
+ @_hash['password'] = 'password'
55
+ @_hash['fallback_username'] = 'fallbackUsername'
56
+ @_hash['fallback_password'] = 'fallbackPassword'
57
+ @_hash
58
+ end
59
+
60
+ def initialize(status = nil,
61
+ redirect_url = nil,
62
+ redirect_fallback_url = nil,
63
+ redirect_method = nil,
64
+ redirect_fallback_method = nil,
65
+ username = nil,
66
+ password = nil,
67
+ fallback_username = nil,
68
+ fallback_password = nil)
69
+ @status = status
70
+ @redirect_url = redirect_url
71
+ @redirect_fallback_url = redirect_fallback_url
72
+ @redirect_method = redirect_method
73
+ @redirect_fallback_method = redirect_fallback_method
74
+ @username = username
75
+ @password = password
76
+ @fallback_username = fallback_username
77
+ @fallback_password = fallback_password
78
+ end
79
+
80
+ # Creates an instance of the object from a hash.
81
+ def self.from_hash(hash)
82
+ return nil unless hash
83
+
84
+ # Extract variables from the hash.
85
+ status = hash['status']
86
+ redirect_url = hash['redirectUrl']
87
+ redirect_fallback_url = hash['redirectFallbackUrl']
88
+ redirect_method = hash['redirectMethod']
89
+ redirect_fallback_method = hash['redirectFallbackMethod']
90
+ username = hash['username']
91
+ password = hash['password']
92
+ fallback_username = hash['fallbackUsername']
93
+ fallback_password = hash['fallbackPassword']
94
+
95
+ # Create object from extracted values.
96
+ ApiModifyConferenceRequest.new(status,
97
+ redirect_url,
98
+ redirect_fallback_url,
99
+ redirect_method,
100
+ redirect_fallback_method,
101
+ username,
102
+ password,
103
+ fallback_username,
104
+ fallback_password)
105
+ end
106
+ end
107
+ end
@@ -8,13 +8,13 @@ module Bandwidth
8
8
  class StateEnum
9
9
  STATE_ENUM = [
10
10
  # TODO: Write general description for DISCONNECTED
11
- DISCONNECTED = 'disconnected'.freeze,
11
+ DISCONNECTED = 'DISCONNECTED'.freeze,
12
12
 
13
13
  # TODO: Write general description for ANSWERED
14
- ANSWERED = 'answered'.freeze,
14
+ ANSWERED = 'ANSWERED'.freeze,
15
15
 
16
16
  # TODO: Write general description for INITIATED
17
- INITIATED = 'initiated'.freeze
17
+ INITIATED = 'INITIATED'.freeze
18
18
  ].freeze
19
19
  end
20
20
  end
@@ -24,7 +24,7 @@ module WebRtc
24
24
  _query_builder << '/accounts/{accountId}/participants'
25
25
  _query_builder = APIHelper.append_url_with_template_parameters(
26
26
  _query_builder,
27
- 'accountId' => { 'value' => account_id, 'encode' => true }
27
+ 'accountId' => { 'value' => account_id, 'encode' => false }
28
28
  )
29
29
  _query_url = APIHelper.clean_url _query_builder
30
30
 
@@ -87,8 +87,8 @@ module WebRtc
87
87
  _query_builder << '/accounts/{accountId}/participants/{participantId}'
88
88
  _query_builder = APIHelper.append_url_with_template_parameters(
89
89
  _query_builder,
90
- 'accountId' => { 'value' => account_id, 'encode' => true },
91
- 'participantId' => { 'value' => participant_id, 'encode' => true }
90
+ 'accountId' => { 'value' => account_id, 'encode' => false },
91
+ 'participantId' => { 'value' => participant_id, 'encode' => false }
92
92
  )
93
93
  _query_url = APIHelper.clean_url _query_builder
94
94
 
@@ -148,8 +148,8 @@ module WebRtc
148
148
  _query_builder << '/accounts/{accountId}/participants/{participantId}'
149
149
  _query_builder = APIHelper.append_url_with_template_parameters(
150
150
  _query_builder,
151
- 'accountId' => { 'value' => account_id, 'encode' => true },
152
- 'participantId' => { 'value' => participant_id, 'encode' => true }
151
+ 'accountId' => { 'value' => account_id, 'encode' => false },
152
+ 'participantId' => { 'value' => participant_id, 'encode' => false }
153
153
  )
154
154
  _query_url = APIHelper.clean_url _query_builder
155
155
 
@@ -202,7 +202,7 @@ module WebRtc
202
202
  _query_builder << '/accounts/{accountId}/sessions'
203
203
  _query_builder = APIHelper.append_url_with_template_parameters(
204
204
  _query_builder,
205
- 'accountId' => { 'value' => account_id, 'encode' => true }
205
+ 'accountId' => { 'value' => account_id, 'encode' => false }
206
206
  )
207
207
  _query_url = APIHelper.clean_url _query_builder
208
208
 
@@ -264,8 +264,8 @@ module WebRtc
264
264
  _query_builder << '/accounts/{accountId}/sessions/{sessionId}'
265
265
  _query_builder = APIHelper.append_url_with_template_parameters(
266
266
  _query_builder,
267
- 'accountId' => { 'value' => account_id, 'encode' => true },
268
- 'sessionId' => { 'value' => session_id, 'encode' => true }
267
+ 'accountId' => { 'value' => account_id, 'encode' => false },
268
+ 'sessionId' => { 'value' => session_id, 'encode' => false }
269
269
  )
270
270
  _query_url = APIHelper.clean_url _query_builder
271
271
 
@@ -325,8 +325,8 @@ module WebRtc
325
325
  _query_builder << '/accounts/{accountId}/sessions/{sessionId}'
326
326
  _query_builder = APIHelper.append_url_with_template_parameters(
327
327
  _query_builder,
328
- 'accountId' => { 'value' => account_id, 'encode' => true },
329
- 'sessionId' => { 'value' => session_id, 'encode' => true }
328
+ 'accountId' => { 'value' => account_id, 'encode' => false },
329
+ 'sessionId' => { 'value' => session_id, 'encode' => false }
330
330
  )
331
331
  _query_url = APIHelper.clean_url _query_builder
332
332
 
@@ -377,8 +377,8 @@ module WebRtc
377
377
  _query_builder << '/accounts/{accountId}/sessions/{sessionId}/participants'
378
378
  _query_builder = APIHelper.append_url_with_template_parameters(
379
379
  _query_builder,
380
- 'accountId' => { 'value' => account_id, 'encode' => true },
381
- 'sessionId' => { 'value' => session_id, 'encode' => true }
380
+ 'accountId' => { 'value' => account_id, 'encode' => false },
381
+ 'sessionId' => { 'value' => session_id, 'encode' => false }
382
382
  )
383
383
  _query_url = APIHelper.clean_url _query_builder
384
384
 
@@ -445,9 +445,9 @@ module WebRtc
445
445
  _query_builder << '/accounts/{accountId}/sessions/{sessionId}/participants/{participantId}'
446
446
  _query_builder = APIHelper.append_url_with_template_parameters(
447
447
  _query_builder,
448
- 'accountId' => { 'value' => account_id, 'encode' => true },
449
- 'sessionId' => { 'value' => session_id, 'encode' => true },
450
- 'participantId' => { 'value' => participant_id, 'encode' => true }
448
+ 'accountId' => { 'value' => account_id, 'encode' => false },
449
+ 'sessionId' => { 'value' => session_id, 'encode' => false },
450
+ 'participantId' => { 'value' => participant_id, 'encode' => false }
451
451
  )
452
452
  _query_url = APIHelper.clean_url _query_builder
453
453
 
@@ -509,9 +509,9 @@ module WebRtc
509
509
  _query_builder << '/accounts/{accountId}/sessions/{sessionId}/participants/{participantId}'
510
510
  _query_builder = APIHelper.append_url_with_template_parameters(
511
511
  _query_builder,
512
- 'accountId' => { 'value' => account_id, 'encode' => true },
513
- 'participantId' => { 'value' => participant_id, 'encode' => true },
514
- 'sessionId' => { 'value' => session_id, 'encode' => true }
512
+ 'accountId' => { 'value' => account_id, 'encode' => false },
513
+ 'participantId' => { 'value' => participant_id, 'encode' => false },
514
+ 'sessionId' => { 'value' => session_id, 'encode' => false }
515
515
  )
516
516
  _query_url = APIHelper.clean_url _query_builder
517
517
 
@@ -564,9 +564,9 @@ module WebRtc
564
564
  _query_builder << '/accounts/{accountId}/sessions/{sessionId}/participants/{participantId}/subscriptions'
565
565
  _query_builder = APIHelper.append_url_with_template_parameters(
566
566
  _query_builder,
567
- 'accountId' => { 'value' => account_id, 'encode' => true },
568
- 'participantId' => { 'value' => participant_id, 'encode' => true },
569
- 'sessionId' => { 'value' => session_id, 'encode' => true }
567
+ 'accountId' => { 'value' => account_id, 'encode' => false },
568
+ 'participantId' => { 'value' => participant_id, 'encode' => false },
569
+ 'sessionId' => { 'value' => session_id, 'encode' => false }
570
570
  )
571
571
  _query_url = APIHelper.clean_url _query_builder
572
572
 
@@ -634,9 +634,9 @@ module WebRtc
634
634
  _query_builder << '/accounts/{accountId}/sessions/{sessionId}/participants/{participantId}/subscriptions'
635
635
  _query_builder = APIHelper.append_url_with_template_parameters(
636
636
  _query_builder,
637
- 'accountId' => { 'value' => account_id, 'encode' => true },
638
- 'participantId' => { 'value' => participant_id, 'encode' => true },
639
- 'sessionId' => { 'value' => session_id, 'encode' => true }
637
+ 'accountId' => { 'value' => account_id, 'encode' => false },
638
+ 'participantId' => { 'value' => participant_id, 'encode' => false },
639
+ 'sessionId' => { 'value' => session_id, 'encode' => false }
640
640
  )
641
641
  _query_url = APIHelper.clean_url _query_builder
642
642
 
@@ -13,7 +13,7 @@ module Bandwidth
13
13
  @http_call_back = http_call_back
14
14
 
15
15
  @global_headers = {
16
- 'user-agent' => 'ruby-sdk-refs/tags/ruby3.12.1'
16
+ 'user-agent' => 'ruby-sdk'
17
17
  }
18
18
  end
19
19
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bandwidth-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.13.2
4
+ version: 4.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - APIMatic SDK Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-08 00:00:00.000000000 Z
11
+ date: 2021-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logging
@@ -188,6 +188,7 @@ files:
188
188
  - lib/bandwidth/voice_lib/voice/models/api_call_state_response.rb
189
189
  - lib/bandwidth/voice_lib/voice/models/api_create_call_request.rb
190
190
  - lib/bandwidth/voice_lib/voice/models/api_modify_call_request.rb
191
+ - lib/bandwidth/voice_lib/voice/models/api_modify_conference_request.rb
191
192
  - lib/bandwidth/voice_lib/voice/models/api_transcribe_recording_request.rb
192
193
  - lib/bandwidth/voice_lib/voice/models/call_engine_modify_conference_request.rb
193
194
  - lib/bandwidth/voice_lib/voice/models/callback_method_enum.rb
@@ -234,7 +235,7 @@ require_paths:
234
235
  - lib
235
236
  required_ruby_version: !ruby/object:Gem::Requirement
236
237
  requirements:
237
- - - "~>"
238
+ - - ">="
238
239
  - !ruby/object:Gem::Version
239
240
  version: '2.0'
240
241
  required_rubygems_version: !ruby/object:Gem::Requirement