bandwidth-sdk 11.0.0.pre.beta.1 → 11.0.0.pre.beta.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +8 -9
- data/bandwidth.yml +8 -1
- data/docs/Message.md +3 -1
- data/docs/MessageRequest.md +1 -1
- data/lib/bandwidth-sdk/models/message.rb +14 -4
- data/lib/bandwidth-sdk/models/message_request.rb +2 -2
- data/lib/bandwidth-sdk/version.rb +1 -1
- data/ruby-notes.md +11 -60
- data/spec/call_utils.rb +1 -1
- data/spec/integration/messages_api_integration_spec.rb +46 -18
- data/spec/integration/recordings_api_integration_spec.rb +1 -1
- data/spec/unit/models/message_spec.rb +6 -0
- metadata +100 -100
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e7261440620bb2710497b2cfb43bbfb47ce314ad7f3a248d1b69b81a6f113470
|
4
|
+
data.tar.gz: fa10ad71a4767dc017fdead22d62e215db83403bcb9ec59f7e93c8d250b4ecf1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b3af0878bb385316ff1ca444191dbd352a06f454ef0e4d3d34cb21ba7839cb1eac0d5eec8a81b1cc7e02aabd06e18ebe1f43c939047fde35ed9a7aea8521c5b
|
7
|
+
data.tar.gz: 0c2b752b7153328de16bb1c50886b05f0c6fac455710e426ac59a51f528a4400eb309bacc3049643ae0424a3e829efdec07c1d98056462deed687cc455e40bdf
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
bandwidth-sdk (11.0.0.pre.beta.1)
|
4
|
+
bandwidth-sdk (11.0.0.pre.beta.1.1)
|
5
5
|
faraday (>= 1.0.1, < 3.0)
|
6
6
|
faraday-multipart
|
7
7
|
ox (~> 2.4)
|
@@ -24,7 +24,7 @@ GEM
|
|
24
24
|
multipart-post (2.3.0)
|
25
25
|
ox (2.14.14)
|
26
26
|
parallel (1.22.1)
|
27
|
-
parser (3.2.
|
27
|
+
parser (3.2.1.1)
|
28
28
|
ast (~> 2.4.1)
|
29
29
|
pry (0.14.2)
|
30
30
|
coderay (~> 1.1)
|
@@ -32,7 +32,7 @@ GEM
|
|
32
32
|
pry-byebug (3.10.1)
|
33
33
|
byebug (~> 11.0)
|
34
34
|
pry (>= 0.13, < 0.15)
|
35
|
-
psych (5.0
|
35
|
+
psych (5.1.0)
|
36
36
|
stringio
|
37
37
|
rainbow (3.1.1)
|
38
38
|
rake (13.0.6)
|
@@ -40,12 +40,12 @@ GEM
|
|
40
40
|
rspec-core (~> 3.12.0)
|
41
41
|
rspec-expectations (~> 3.12.0)
|
42
42
|
rspec-mocks (~> 3.12.0)
|
43
|
-
rspec-core (3.12.
|
43
|
+
rspec-core (3.12.1)
|
44
44
|
rspec-support (~> 3.12.0)
|
45
45
|
rspec-expectations (3.12.2)
|
46
46
|
diff-lcs (>= 1.2.0, < 2.0)
|
47
47
|
rspec-support (~> 3.12.0)
|
48
|
-
rspec-mocks (3.12.
|
48
|
+
rspec-mocks (3.12.4)
|
49
49
|
diff-lcs (>= 1.2.0, < 2.0)
|
50
50
|
rspec-support (~> 3.12.0)
|
51
51
|
rspec-support (3.12.0)
|
@@ -57,13 +57,12 @@ GEM
|
|
57
57
|
rainbow (>= 2.2.2, < 4.0)
|
58
58
|
ruby-progressbar (~> 1.7)
|
59
59
|
unicode-display_width (>= 1.4.0, < 1.6)
|
60
|
-
ruby-progressbar (1.
|
60
|
+
ruby-progressbar (1.13.0)
|
61
61
|
ruby2_keywords (0.0.5)
|
62
|
-
stringio (3.0.
|
62
|
+
stringio (3.0.5)
|
63
63
|
unicode-display_width (1.5.0)
|
64
64
|
|
65
65
|
PLATFORMS
|
66
|
-
arm64-darwin-22
|
67
66
|
x86_64-linux
|
68
67
|
|
69
68
|
DEPENDENCIES
|
@@ -74,4 +73,4 @@ DEPENDENCIES
|
|
74
73
|
rubocop (~> 0.66.0)
|
75
74
|
|
76
75
|
BUNDLED WITH
|
77
|
-
2.
|
76
|
+
2.2.33
|
data/bandwidth.yml
CHANGED
@@ -1446,6 +1446,11 @@ components:
|
|
1446
1446
|
example: custom tag
|
1447
1447
|
priority:
|
1448
1448
|
$ref: '#/components/schemas/priorityEnum'
|
1449
|
+
expiration:
|
1450
|
+
type: string
|
1451
|
+
format: date-time
|
1452
|
+
description: The expiration date-time set by the user.
|
1453
|
+
example: '2021-02-01T11:29:18-05:00'
|
1449
1454
|
messageRequest:
|
1450
1455
|
title: MessageRequest
|
1451
1456
|
type: object
|
@@ -1504,10 +1509,12 @@ components:
|
|
1504
1509
|
$ref: '#/components/schemas/priorityEnum'
|
1505
1510
|
expiration:
|
1506
1511
|
type: string
|
1512
|
+
format: date-time
|
1507
1513
|
description: >-
|
1508
1514
|
A string with the date/time value that the message will
|
1509
1515
|
automatically expire by. This must be a valid RFC-3339 value, e.g.,
|
1510
|
-
2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00.
|
1516
|
+
2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00. Must be a
|
1517
|
+
date-time in the future.
|
1511
1518
|
example: '2021-02-01T11:29:18-05:00'
|
1512
1519
|
inboundMessageCallback:
|
1513
1520
|
description: Inbound Message Callback
|
data/docs/Message.md
CHANGED
@@ -16,6 +16,7 @@
|
|
16
16
|
| **text** | **String** | The contents of the message. | [optional] |
|
17
17
|
| **tag** | **String** | The custom string set by the user. | [optional] |
|
18
18
|
| **priority** | [**PriorityEnum**](PriorityEnum.md) | | [optional] |
|
19
|
+
| **expiration** | **Time** | The expiration date-time set by the user. | [optional] |
|
19
20
|
|
20
21
|
## Example
|
21
22
|
|
@@ -34,7 +35,8 @@ instance = Bandwidth::Message.new(
|
|
34
35
|
media: ["https://dev.bandwidth.com/images/bandwidth-logo.png"],
|
35
36
|
text: Hello world,
|
36
37
|
tag: custom tag,
|
37
|
-
priority: null
|
38
|
+
priority: null,
|
39
|
+
expiration: 2021-02-01T11:29:18-05:00
|
38
40
|
)
|
39
41
|
```
|
40
42
|
|
data/docs/MessageRequest.md
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
| **media** | **Array<String>** | A list of URLs to include as media attachments as part of the message. Each URL can be at most 4096 characters. | [optional] |
|
12
12
|
| **tag** | **String** | A custom string that will be included in callback events of the message. Max 1024 characters. | [optional] |
|
13
13
|
| **priority** | [**PriorityEnum**](PriorityEnum.md) | | [optional] |
|
14
|
-
| **expiration** | **
|
14
|
+
| **expiration** | **Time** | A string with the date/time value that the message will automatically expire by. This must be a valid RFC-3339 value, e.g., 2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00. Must be a date-time in the future. | [optional] |
|
15
15
|
|
16
16
|
## Example
|
17
17
|
|
@@ -49,6 +49,9 @@ module Bandwidth
|
|
49
49
|
|
50
50
|
attr_accessor :priority
|
51
51
|
|
52
|
+
# The expiration date-time set by the user.
|
53
|
+
attr_accessor :expiration
|
54
|
+
|
52
55
|
class EnumAttributeValidator
|
53
56
|
attr_reader :datatype
|
54
57
|
attr_reader :allowable_values
|
@@ -85,7 +88,8 @@ module Bandwidth
|
|
85
88
|
:'media' => :'media',
|
86
89
|
:'text' => :'text',
|
87
90
|
:'tag' => :'tag',
|
88
|
-
:'priority' => :'priority'
|
91
|
+
:'priority' => :'priority',
|
92
|
+
:'expiration' => :'expiration'
|
89
93
|
}
|
90
94
|
end
|
91
95
|
|
@@ -108,7 +112,8 @@ module Bandwidth
|
|
108
112
|
:'media' => :'Array<String>',
|
109
113
|
:'text' => :'String',
|
110
114
|
:'tag' => :'String',
|
111
|
-
:'priority' => :'PriorityEnum'
|
115
|
+
:'priority' => :'PriorityEnum',
|
116
|
+
:'expiration' => :'Time'
|
112
117
|
}
|
113
118
|
end
|
114
119
|
|
@@ -184,6 +189,10 @@ module Bandwidth
|
|
184
189
|
if attributes.key?(:'priority')
|
185
190
|
self.priority = attributes[:'priority']
|
186
191
|
end
|
192
|
+
|
193
|
+
if attributes.key?(:'expiration')
|
194
|
+
self.expiration = attributes[:'expiration']
|
195
|
+
end
|
187
196
|
end
|
188
197
|
|
189
198
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -227,7 +236,8 @@ module Bandwidth
|
|
227
236
|
media == o.media &&
|
228
237
|
text == o.text &&
|
229
238
|
tag == o.tag &&
|
230
|
-
priority == o.priority
|
239
|
+
priority == o.priority &&
|
240
|
+
expiration == o.expiration
|
231
241
|
end
|
232
242
|
|
233
243
|
# @see the `==` method
|
@@ -239,7 +249,7 @@ module Bandwidth
|
|
239
249
|
# Calculates hash code according to all attributes.
|
240
250
|
# @return [Integer] Hash code
|
241
251
|
def hash
|
242
|
-
[id, owner, application_id, time, segment_count, direction, to, from, media, text, tag, priority].hash
|
252
|
+
[id, owner, application_id, time, segment_count, direction, to, from, media, text, tag, priority, expiration].hash
|
243
253
|
end
|
244
254
|
|
245
255
|
# Builds the object from hash
|
@@ -35,7 +35,7 @@ module Bandwidth
|
|
35
35
|
|
36
36
|
attr_accessor :priority
|
37
37
|
|
38
|
-
# A string with the date/time value that the message will automatically expire by. This must be a valid RFC-3339 value, e.g., 2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00.
|
38
|
+
# A string with the date/time value that the message will automatically expire by. This must be a valid RFC-3339 value, e.g., 2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00. Must be a date-time in the future.
|
39
39
|
attr_accessor :expiration
|
40
40
|
|
41
41
|
class EnumAttributeValidator
|
@@ -89,7 +89,7 @@ module Bandwidth
|
|
89
89
|
:'media' => :'Array<String>',
|
90
90
|
:'tag' => :'String',
|
91
91
|
:'priority' => :'PriorityEnum',
|
92
|
-
:'expiration' => :'
|
92
|
+
:'expiration' => :'Time'
|
93
93
|
}
|
94
94
|
end
|
95
95
|
|
data/ruby-notes.md
CHANGED
@@ -1,64 +1,15 @@
|
|
1
|
-
#
|
1
|
+
# Generate Command
|
2
|
+
`openapi-generator generate -g ruby -i bandwidth.yml -c openapi-config.yml -o ./`
|
2
3
|
|
3
|
-
|
4
|
-
|
5
|
-
```ruby
|
6
|
-
bandwidth_client = Bandwidth::Client.new(
|
7
|
-
messaging_basic_auth_user_name: BW_USERNAME,
|
8
|
-
messaging_basic_auth_password: BW_PASSWORD
|
9
|
-
)
|
10
|
-
messaging_client = bandwidth_client.messaging_client.client
|
11
|
-
```
|
12
|
-
|
13
|
-
## OpenAPIGenerator
|
14
|
-
|
15
|
-
```ruby
|
16
|
-
OpenapiClient.configure do |config|
|
17
|
-
config.username = BW_USERNAME
|
18
|
-
config.password = BW_PASSWORD
|
19
|
-
end
|
20
|
-
messaging_client = OpenapiClient::MessagesApi.new()
|
21
|
-
```
|
22
|
-
|
23
|
-
# Send SMS
|
24
|
-
|
25
|
-
## APIMatic
|
26
|
-
```ruby
|
27
|
-
account_id = BW_ACCOUNT_ID
|
28
|
-
|
29
|
-
body = MessageRequest.new
|
30
|
-
body.application_id = BW_MESSAGING_APPLICATION_ID
|
31
|
-
body.to = [USER_NUMBER]
|
32
|
-
body.from = BW_NUMBER
|
33
|
-
body.text = "Hello World!"
|
34
|
-
|
35
|
-
messaging_client.create_message(account_id, body)
|
36
|
-
```
|
37
|
-
|
38
|
-
## OpenAPIGenerator
|
39
|
-
|
40
|
-
```ruby
|
41
|
-
account_id = BW_ACCOUNT_ID
|
42
|
-
|
43
|
-
body = OpenapiClient::MessageRequest.new(
|
44
|
-
application_id: BW_MESSAGING_APPLICATION_ID.to_s,
|
45
|
-
to: [USER_NUMBER],
|
46
|
-
from: BW_NUMBER,
|
47
|
-
text: "ruby new sdk test"
|
48
|
-
)
|
49
|
-
|
50
|
-
messaging_client.create_message(account_id, body)
|
51
|
-
```
|
52
|
-
|
53
|
-
# OpenApiGenerator Quirks
|
4
|
+
# Custom Base URL
|
54
5
|
|
55
6
|
* To get a custom url, instead of setting the `environment` parameter in the config, you must make a custom operation in `configuration.rb`
|
56
7
|
``` ruby
|
57
|
-
"
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
```
|
64
|
-
this must go in `operation_server_settings` and then `:operation => :"
|
8
|
+
"Custom": [
|
9
|
+
{
|
10
|
+
url: "https://d6979da481772c167be0edcd10eb64d7.m.pipedream.net",
|
11
|
+
description: "testing"
|
12
|
+
}
|
13
|
+
],
|
14
|
+
```
|
15
|
+
this must go in `operation_server_settings` and then `:operation => :"Custom",` must go in `new_options = opts.merge(` for the method you are calling within the `?_api.rb` file for the specific api
|
data/spec/call_utils.rb
CHANGED
@@ -14,25 +14,53 @@ describe 'MessagesApi Integration Tests' do
|
|
14
14
|
# Create Message
|
15
15
|
describe 'create_message' do
|
16
16
|
it 'creates an mms message' do
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
17
|
+
message_request = Bandwidth::MessageRequest.new(
|
18
|
+
application_id: BW_MESSAGING_APPLICATION_ID,
|
19
|
+
to: [USER_NUMBER],
|
20
|
+
from: BW_NUMBER,
|
21
|
+
text: "ruby sdk test MMS",
|
22
|
+
media: ["https://cdn2.thecatapi.com/images/MTY3ODIyMQ.jpg"],
|
23
|
+
tag: "ruby sdk test MMS tag"
|
24
|
+
)
|
25
|
+
|
26
|
+
response = @api_instance_msg.create_message_with_http_info(BW_ACCOUNT_ID, message_request)
|
27
|
+
|
28
|
+
expect(response[CODE]).to eq(202)
|
29
|
+
expect(response[DATA]).to be_instance_of(Bandwidth::Message)
|
30
|
+
expect(response[DATA].id.length).to eq(29)
|
31
|
+
expect(response[DATA].owner).to eq(BW_NUMBER)
|
32
|
+
expect(response[DATA].to).to eq([USER_NUMBER])
|
33
|
+
expect(response[DATA].from).to eq(BW_NUMBER)
|
34
|
+
expect(response[DATA].text).to eq(message_request.text)
|
35
|
+
expect(response[DATA].media).to eq(message_request.media)
|
36
|
+
expect(response[DATA].tag).to eq(message_request.tag)
|
37
|
+
end
|
26
38
|
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
39
|
+
it 'creates an sms message' do
|
40
|
+
expiration_time = Time.now + 60
|
41
|
+
expiration_time = expiration_time.round
|
42
|
+
message_request = Bandwidth::MessageRequest.new(
|
43
|
+
application_id: BW_MESSAGING_APPLICATION_ID,
|
44
|
+
to: [USER_NUMBER],
|
45
|
+
from: BW_NUMBER,
|
46
|
+
text: "ruby sdk test SMS",
|
47
|
+
tag: "ruby sdk test SMS tag",
|
48
|
+
priority: Bandwidth::PriorityEnum::HIGH,
|
49
|
+
expiration: expiration_time.to_datetime.rfc3339
|
50
|
+
)
|
51
|
+
|
52
|
+
response = @api_instance_msg.create_message_with_http_info(BW_ACCOUNT_ID, message_request)
|
53
|
+
|
54
|
+
expect(response[CODE]).to eq(202)
|
55
|
+
expect(response[DATA]).to be_instance_of(Bandwidth::Message)
|
56
|
+
expect(response[DATA].id.length).to eq(29)
|
57
|
+
expect(response[DATA].owner).to eq(BW_NUMBER)
|
58
|
+
expect(response[DATA].to).to eq([USER_NUMBER])
|
59
|
+
expect(response[DATA].from).to eq(BW_NUMBER)
|
60
|
+
expect(response[DATA].text).to eq(message_request.text)
|
61
|
+
expect(response[DATA].tag).to eq(message_request.tag)
|
62
|
+
expect(response[DATA].priority).to eq(message_request.priority)
|
63
|
+
expect(response[DATA].expiration).to eq(expiration_time)
|
36
64
|
end
|
37
65
|
end
|
38
66
|
|
@@ -62,7 +62,7 @@ describe 'RecordingsApi Integration Tests' do
|
|
62
62
|
|
63
63
|
expect(response[CODE]).to eq(200)
|
64
64
|
expect(response[DATA][0]).to be_instance_of(Bandwidth::CallRecordingMetadata)
|
65
|
-
expect(response[DATA][0].application_id).to
|
65
|
+
expect(response[DATA][0].application_id).to be_instance_of(String)
|
66
66
|
expect(response[DATA][0].account_id).to eq(BW_ACCOUNT_ID)
|
67
67
|
end
|
68
68
|
end
|
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: 11.0.0.pre.beta.1
|
4
|
+
version: 11.0.0.pre.beta.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bandwidth
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-03-
|
11
|
+
date: 2023-03-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -496,136 +496,136 @@ summary: Bandwidth Ruby SDK
|
|
496
496
|
test_files:
|
497
497
|
- spec/call_utils.rb
|
498
498
|
- spec/fixtures/ruby_cat.jpeg
|
499
|
-
- spec/integration/
|
500
|
-
- spec/integration/
|
501
|
-
- spec/integration/phone_number_lookup_api_integration_spec.rb
|
499
|
+
- spec/integration/calls_api_integration_spec.rb
|
500
|
+
- spec/integration/recordings_api_integration_spec.rb
|
502
501
|
- spec/integration/messages_api_integration_spec.rb
|
503
502
|
- spec/integration/media_api_integration_spec.rb
|
504
|
-
- spec/integration/
|
503
|
+
- spec/integration/conferences_api_integration_spec.rb
|
505
504
|
- spec/integration/statistics_api_integration_spec.rb
|
506
|
-
- spec/integration/
|
505
|
+
- spec/integration/mfa_api_integration_spec.rb
|
506
|
+
- spec/integration/phone_number_lookup_api_integration_spec.rb
|
507
507
|
- spec/spec_helper.rb
|
508
|
-
- spec/unit/models/create_message_request_error_spec.rb
|
509
|
-
- spec/unit/models/priority_enum_spec.rb
|
510
|
-
- spec/unit/models/inbound_message_callback_spec.rb
|
511
|
-
- spec/unit/models/conference_completed_callback_spec.rb
|
512
508
|
- spec/unit/models/recording_available_callback_spec.rb
|
513
|
-
- spec/unit/models/
|
514
|
-
- spec/unit/models/
|
515
|
-
- spec/unit/models/message_sending_callback_message_spec.rb
|
516
|
-
- spec/unit/models/message_failed_callback_message_spec.rb
|
517
|
-
- spec/unit/models/code_request_spec.rb
|
518
|
-
- spec/unit/models/conference_recording_metadata_spec.rb
|
509
|
+
- spec/unit/models/redirect_method_enum_spec.rb
|
510
|
+
- spec/unit/models/call_state_enum_spec.rb
|
519
511
|
- spec/unit/models/transcription_spec.rb
|
520
|
-
- spec/unit/models/
|
521
|
-
- spec/unit/models/voice_code_response_spec.rb
|
522
|
-
- spec/unit/models/message_request_spec.rb
|
523
|
-
- spec/unit/models/lookup_request_spec.rb
|
524
|
-
- spec/unit/models/update_conference_member_spec.rb
|
525
|
-
- spec/unit/models/conference_member_join_callback_spec.rb
|
526
|
-
- spec/unit/models/voice_api_error_spec.rb
|
527
|
-
- spec/unit/models/conference_redirect_callback_spec.rb
|
528
|
-
- spec/unit/models/media_spec.rb
|
529
|
-
- spec/unit/models/answer_callback_spec.rb
|
530
|
-
- spec/unit/models/verify_code_response_spec.rb
|
531
|
-
- spec/unit/models/messages_list_spec.rb
|
532
|
-
- spec/unit/models/diversion_spec.rb
|
533
|
-
- spec/unit/models/conference_member_exit_callback_spec.rb
|
534
|
-
- spec/unit/models/transcription_list_spec.rb
|
535
|
-
- spec/unit/models/recording_complete_callback_spec.rb
|
536
|
-
- spec/unit/models/call_recording_metadata_spec.rb
|
537
|
-
- spec/unit/models/machine_detection_mode_enum_spec.rb
|
538
|
-
- spec/unit/models/machine_detection_complete_callback_spec.rb
|
539
|
-
- spec/unit/models/redirect_callback_spec.rb
|
512
|
+
- spec/unit/models/message_failed_callback_message_spec.rb
|
540
513
|
- spec/unit/models/update_conference_spec.rb
|
514
|
+
- spec/unit/models/update_call_recording_spec.rb
|
541
515
|
- spec/unit/models/page_info_spec.rb
|
542
|
-
- spec/unit/models/conference_member_spec.rb
|
543
|
-
- spec/unit/models/mfa_unauthorized_request_error_spec.rb
|
544
516
|
- spec/unit/models/transcription_metadata_spec.rb
|
545
|
-
- spec/unit/models/
|
517
|
+
- spec/unit/models/list_message_item_spec.rb
|
518
|
+
- spec/unit/models/transcription_list_spec.rb
|
546
519
|
- spec/unit/models/conference_state_enum_spec.rb
|
547
|
-
- spec/unit/models/
|
548
|
-
- spec/unit/models/
|
520
|
+
- spec/unit/models/create_call_response_spec.rb
|
521
|
+
- spec/unit/models/priority_enum_spec.rb
|
522
|
+
- spec/unit/models/machine_detection_configuration_spec.rb
|
523
|
+
- spec/unit/models/media_spec.rb
|
524
|
+
- spec/unit/models/disconnect_callback_spec.rb
|
525
|
+
- spec/unit/models/message_spec.rb
|
526
|
+
- spec/unit/models/gather_callback_spec.rb
|
527
|
+
- spec/unit/models/mfa_forbidden_request_error_spec.rb
|
528
|
+
- spec/unit/models/message_sending_callback_spec.rb
|
529
|
+
- spec/unit/models/transcription_available_callback_spec.rb
|
530
|
+
- spec/unit/models/transcribe_recording_spec.rb
|
531
|
+
- spec/unit/models/call_recording_metadata_spec.rb
|
532
|
+
- spec/unit/models/file_format_enum_spec.rb
|
533
|
+
- spec/unit/models/create_message_request_error_spec.rb
|
549
534
|
- spec/unit/models/transfer_answer_callback_spec.rb
|
550
|
-
- spec/unit/models/
|
535
|
+
- spec/unit/models/message_request_spec.rb
|
536
|
+
- spec/unit/models/deferred_result_spec.rb
|
537
|
+
- spec/unit/models/stir_shaken_spec.rb
|
538
|
+
- spec/unit/models/message_direction_enum_spec.rb
|
539
|
+
- spec/unit/models/machine_detection_mode_enum_spec.rb
|
540
|
+
- spec/unit/models/code_request_spec.rb
|
541
|
+
- spec/unit/models/transfer_disconnect_callback_spec.rb
|
542
|
+
- spec/unit/models/update_conference_member_spec.rb
|
551
543
|
- spec/unit/models/bridge_target_complete_callback_spec.rb
|
552
|
-
- spec/unit/models/mfa_forbidden_request_error_spec.rb
|
553
544
|
- spec/unit/models/account_statistics_spec.rb
|
554
545
|
- spec/unit/models/message_failed_callback_spec.rb
|
555
|
-
- spec/unit/models/
|
556
|
-
- spec/unit/models/
|
557
|
-
- spec/unit/models/
|
558
|
-
- spec/unit/models/
|
546
|
+
- spec/unit/models/create_call_spec.rb
|
547
|
+
- spec/unit/models/message_sending_callback_message_spec.rb
|
548
|
+
- spec/unit/models/messages_list_spec.rb
|
549
|
+
- spec/unit/models/inbound_message_callback_message_spec.rb
|
550
|
+
- spec/unit/models/message_type_enum_spec.rb
|
559
551
|
- spec/unit/models/tag_spec.rb
|
552
|
+
- spec/unit/models/conference_member_spec.rb
|
553
|
+
- spec/unit/models/conference_completed_callback_spec.rb
|
554
|
+
- spec/unit/models/lookup_request_spec.rb
|
555
|
+
- spec/unit/models/voice_api_error_spec.rb
|
560
556
|
- spec/unit/models/message_delivered_callback_message_spec.rb
|
561
|
-
- spec/unit/models/
|
562
|
-
- spec/unit/models/
|
563
|
-
- spec/unit/models/
|
564
|
-
- spec/unit/models/
|
565
|
-
- spec/unit/models/
|
566
|
-
- spec/unit/models/
|
567
|
-
- spec/unit/models/bxml/verbs/
|
568
|
-
- spec/unit/models/bxml/verbs/
|
569
|
-
- spec/unit/models/bxml/verbs/
|
557
|
+
- spec/unit/models/transfer_complete_callback_spec.rb
|
558
|
+
- spec/unit/models/verify_code_request_spec.rb
|
559
|
+
- spec/unit/models/recording_state_enum_spec.rb
|
560
|
+
- spec/unit/models/messaging_code_response_spec.rb
|
561
|
+
- spec/unit/models/mfa_unauthorized_request_error_spec.rb
|
562
|
+
- spec/unit/models/diversion_spec.rb
|
563
|
+
- spec/unit/models/bxml/verbs/gather_spec.rb
|
564
|
+
- spec/unit/models/bxml/verbs/redirect_spec.rb
|
565
|
+
- spec/unit/models/bxml/verbs/pause_recording_spec.rb
|
570
566
|
- spec/unit/models/bxml/verbs/transfer_spec.rb
|
571
|
-
- spec/unit/models/bxml/verbs/
|
572
|
-
- spec/unit/models/bxml/verbs/
|
567
|
+
- spec/unit/models/bxml/verbs/start_recording_spec.rb
|
568
|
+
- spec/unit/models/bxml/verbs/record_spec.rb
|
573
569
|
- spec/unit/models/bxml/verbs/stop_stream_spec.rb
|
574
|
-
- spec/unit/models/bxml/verbs/
|
575
|
-
- spec/unit/models/bxml/verbs/
|
576
|
-
- spec/unit/models/bxml/verbs/
|
577
|
-
- spec/unit/models/bxml/verbs/
|
570
|
+
- spec/unit/models/bxml/verbs/stop_recording_spec.rb
|
571
|
+
- spec/unit/models/bxml/verbs/phone_number_spec.rb
|
572
|
+
- spec/unit/models/bxml/verbs/hangup_spec.rb
|
573
|
+
- spec/unit/models/bxml/verbs/forward_spec.rb
|
578
574
|
- spec/unit/models/bxml/verbs/tag_spec.rb
|
579
|
-
- spec/unit/models/bxml/verbs/
|
575
|
+
- spec/unit/models/bxml/verbs/pause_spec.rb
|
580
576
|
- spec/unit/models/bxml/verbs/ring_spec.rb
|
581
|
-
- spec/unit/models/bxml/verbs/
|
577
|
+
- spec/unit/models/bxml/verbs/sip_uri_spec.rb
|
578
|
+
- spec/unit/models/bxml/verbs/speak_sentence_spec.rb
|
579
|
+
- spec/unit/models/bxml/verbs/play_audio_spec.rb
|
582
580
|
- spec/unit/models/bxml/verbs/stream_param_spec.rb
|
583
|
-
- spec/unit/models/bxml/verbs/
|
584
|
-
- spec/unit/models/bxml/verbs/hangup_spec.rb
|
581
|
+
- spec/unit/models/bxml/verbs/bridge_spec.rb
|
585
582
|
- spec/unit/models/bxml/verbs/resume_recording_spec.rb
|
586
|
-
- spec/unit/models/bxml/verbs/
|
587
|
-
- spec/unit/models/bxml/verbs/
|
588
|
-
- spec/unit/models/bxml/verbs/
|
589
|
-
- spec/unit/models/bxml/verbs/
|
590
|
-
- spec/unit/models/bxml/
|
583
|
+
- spec/unit/models/bxml/verbs/conference_spec.rb
|
584
|
+
- spec/unit/models/bxml/verbs/stop_gather_spec.rb
|
585
|
+
- spec/unit/models/bxml/verbs/start_gather_spec.rb
|
586
|
+
- spec/unit/models/bxml/verbs/send_dtmf_spec.rb
|
587
|
+
- spec/unit/models/bxml/verbs/start_stream_spec.rb
|
591
588
|
- spec/unit/models/bxml/verb_spec.rb
|
592
|
-
- spec/unit/models/bxml/response_spec.rb
|
593
589
|
- spec/unit/models/bxml/bxml_spec.rb
|
590
|
+
- spec/unit/models/bxml/response_spec.rb
|
591
|
+
- spec/unit/models/bxml/nestable_verb_spec.rb
|
592
|
+
- spec/unit/models/dtmf_callback_spec.rb
|
593
|
+
- spec/unit/models/inbound_message_callback_spec.rb
|
594
594
|
- spec/unit/models/messaging_request_error_spec.rb
|
595
|
-
- spec/unit/models/
|
596
|
-
- spec/unit/models/
|
595
|
+
- spec/unit/models/answer_callback_spec.rb
|
596
|
+
- spec/unit/models/create_lookup_response_spec.rb
|
597
597
|
- spec/unit/models/initiate_callback_spec.rb
|
598
|
+
- spec/unit/models/conference_member_exit_callback_spec.rb
|
599
|
+
- spec/unit/models/conference_recording_available_callback_spec.rb
|
600
|
+
- spec/unit/models/tn_lookup_request_error_spec.rb
|
598
601
|
- spec/unit/models/lookup_status_enum_spec.rb
|
599
|
-
- spec/unit/models/list_message_item_spec.rb
|
600
|
-
- spec/unit/models/recording_state_enum_spec.rb
|
601
|
-
- spec/unit/models/field_error_spec.rb
|
602
602
|
- spec/unit/models/lookup_status_spec.rb
|
603
|
-
- spec/unit/models/
|
604
|
-
- spec/unit/models/
|
605
|
-
- spec/unit/models/
|
606
|
-
- spec/unit/models/
|
607
|
-
- spec/unit/models/create_call_response_spec.rb
|
603
|
+
- spec/unit/models/redirect_callback_spec.rb
|
604
|
+
- spec/unit/models/recording_complete_callback_spec.rb
|
605
|
+
- spec/unit/models/conference_spec.rb
|
606
|
+
- spec/unit/models/voice_code_response_spec.rb
|
608
607
|
- spec/unit/models/message_delivered_callback_spec.rb
|
609
|
-
- spec/unit/models/inbound_message_callback_message_spec.rb
|
610
|
-
- spec/unit/models/update_call_spec.rb
|
611
608
|
- spec/unit/models/mfa_request_error_spec.rb
|
612
|
-
- spec/unit/models/
|
613
|
-
- spec/unit/models/
|
614
|
-
- spec/unit/models/
|
615
|
-
- spec/unit/models/
|
616
|
-
- spec/unit/models/gather_callback_spec.rb
|
617
|
-
- spec/unit/models/transcription_available_callback_spec.rb
|
618
|
-
- spec/unit/models/transfer_disconnect_callback_spec.rb
|
609
|
+
- spec/unit/models/update_call_spec.rb
|
610
|
+
- spec/unit/models/field_error_spec.rb
|
611
|
+
- spec/unit/models/lookup_result_spec.rb
|
612
|
+
- spec/unit/models/call_state_spec.rb
|
619
613
|
- spec/unit/models/call_direction_enum_spec.rb
|
620
|
-
- spec/unit/models/
|
621
|
-
- spec/unit/models/
|
614
|
+
- spec/unit/models/verify_code_response_spec.rb
|
615
|
+
- spec/unit/models/conference_created_callback_spec.rb
|
622
616
|
- spec/unit/models/callback_method_enum_spec.rb
|
623
|
-
- spec/unit/models/
|
624
|
-
- spec/unit/
|
625
|
-
- spec/unit/
|
626
|
-
- spec/unit/
|
617
|
+
- spec/unit/models/message_status_enum_spec.rb
|
618
|
+
- spec/unit/models/conference_recording_metadata_spec.rb
|
619
|
+
- spec/unit/models/list_message_direction_enum_spec.rb
|
620
|
+
- spec/unit/models/machine_detection_complete_callback_spec.rb
|
621
|
+
- spec/unit/models/conference_redirect_callback_spec.rb
|
622
|
+
- spec/unit/models/conference_member_join_callback_spec.rb
|
623
|
+
- spec/unit/models/bridge_complete_callback_spec.rb
|
627
624
|
- spec/unit/api/media_api_spec.rb
|
625
|
+
- spec/unit/api/statistics_api_spec.rb
|
626
|
+
- spec/unit/api/messages_api_spec.rb
|
628
627
|
- spec/unit/api/phone_number_lookup_api_spec.rb
|
629
|
-
- spec/unit/api/recordings_api_spec.rb
|
630
628
|
- spec/unit/api/calls_api_spec.rb
|
631
|
-
- spec/unit/api/
|
629
|
+
- spec/unit/api/conferences_api_spec.rb
|
630
|
+
- spec/unit/api/recordings_api_spec.rb
|
631
|
+
- spec/unit/api/mfa_api_spec.rb
|