signalwire 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/Gemfile +1 -0
- data/VERSION +1 -1
- data/lib/signalwire/sdk.rb +1 -0
- data/lib/signalwire/sdk/fax_response.rb +23 -0
- data/signalwire.gemspec +17 -5
- data/spec/signalwire/rest/integration_spec.rb +58 -0
- data/spec/signalwire/sdk/fax_response_spec.rb +26 -0
- data/spec/signalwire/sdk/voice_response_spec.rb +2 -2
- data/spec/spec_helper.rb +6 -0
- data/spec/vcr_cassettes/accounts.yml +73 -0
- data/spec/vcr_cassettes/applications.yml +73 -0
- data/spec/vcr_cassettes/local_numbers.yml +72 -0
- data/spec/vcr_cassettes/recordings.yml +73 -0
- data/spec/vcr_cassettes/toll_free_numbers.yml +80 -0
- data/spec/vcr_cassettes/transcriptions.yml +74 -0
- metadata +26 -3
- data/Gemfile.lock +0 -156
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e43bdfb0fa86876ddb0f38fe86ce1edc1c47e096ab8bd14f832a1bf5a0a5c6e
|
4
|
+
data.tar.gz: d62bc07f6d2ab458e4c60274d89115c59c49d8b7b421ca2d1801522e367510b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb4463e423f286b81adc760af0dd6a34688e4976bc1bcc901bcbce6aa70fe33bf4f2b71231ac7113cf09eef87ecef06262a325c3ffc991134277e93031565327
|
7
|
+
data.tar.gz: 1d58486cc8b9ba8cf0a60430b6e536ee566c74a301efcb755cb7dd51b8c904cb0843f16bc5fb3b55d13c65642e65381f0b18766dc539cc1f08c41005bc111b3d
|
data/CHANGELOG.md
ADDED
data/Gemfile
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.2.0
|
data/lib/signalwire/sdk.rb
CHANGED
@@ -6,6 +6,7 @@ require 'signalwire/sdk/configuration'
|
|
6
6
|
require 'signalwire/sdk/twilio_set_host'
|
7
7
|
require 'signalwire/sdk/domain'
|
8
8
|
require 'signalwire/sdk/voice_response'
|
9
|
+
require 'signalwire/sdk/fax_response'
|
9
10
|
require 'signalwire/sdk/messaging_response'
|
10
11
|
require 'signalwire/rest/client'
|
11
12
|
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
require 'twilio-ruby/twiml/fax_response'
|
3
|
+
|
4
|
+
module Signalwire::Sdk
|
5
|
+
class FaxResponse < Twilio::TwiML::FaxResponse
|
6
|
+
# Create a new <Reject> element
|
7
|
+
# keyword_args:: additional attributes
|
8
|
+
def reject(reason: nil, **keyword_args)
|
9
|
+
append(Reject.new(**keyword_args))
|
10
|
+
end
|
11
|
+
|
12
|
+
# <Leave> TwiML Verb
|
13
|
+
class Reject < ::Twilio::TwiML::TwiML
|
14
|
+
def initialize(**keyword_args)
|
15
|
+
super(**keyword_args)
|
16
|
+
@name = 'Reject'
|
17
|
+
|
18
|
+
yield(self) if block_given?
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
data/signalwire.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: signalwire 1.
|
5
|
+
# stub: signalwire 1.2.0 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "signalwire".freeze
|
9
|
-
s.version = "1.
|
9
|
+
s.version = "1.2.0"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib".freeze]
|
13
13
|
s.authors = ["SignalWire Team".freeze]
|
14
|
-
s.date = "2018-
|
14
|
+
s.date = "2018-12-29"
|
15
15
|
s.email = "open.source@signalwire.com".freeze
|
16
16
|
s.extra_rdoc_files = [
|
17
17
|
"LICENSE.txt",
|
@@ -22,9 +22,9 @@ Gem::Specification.new do |s|
|
|
22
22
|
".rspec",
|
23
23
|
".rubocop.yml",
|
24
24
|
"AUTHORS.md",
|
25
|
+
"CHANGELOG.md",
|
25
26
|
"Dockerfile",
|
26
27
|
"Gemfile",
|
27
|
-
"Gemfile.lock",
|
28
28
|
"Guardfile",
|
29
29
|
"LICENSE.txt",
|
30
30
|
"Makefile",
|
@@ -35,16 +35,25 @@ Gem::Specification.new do |s|
|
|
35
35
|
"lib/signalwire/sdk.rb",
|
36
36
|
"lib/signalwire/sdk/configuration.rb",
|
37
37
|
"lib/signalwire/sdk/domain.rb",
|
38
|
+
"lib/signalwire/sdk/fax_response.rb",
|
38
39
|
"lib/signalwire/sdk/messaging_response.rb",
|
39
40
|
"lib/signalwire/sdk/twilio_set_host.rb",
|
40
41
|
"lib/signalwire/sdk/voice_response.rb",
|
41
42
|
"signalwire.gemspec",
|
42
43
|
"spec/signalwire/rest/client_spec.rb",
|
44
|
+
"spec/signalwire/rest/integration_spec.rb",
|
43
45
|
"spec/signalwire/sdk/configuration_spec.rb",
|
46
|
+
"spec/signalwire/sdk/fax_response_spec.rb",
|
44
47
|
"spec/signalwire/sdk/messaging_response_spec.rb",
|
45
48
|
"spec/signalwire/sdk/voice_response_spec.rb",
|
46
49
|
"spec/signalwire/sdk_spec.rb",
|
47
|
-
"spec/spec_helper.rb"
|
50
|
+
"spec/spec_helper.rb",
|
51
|
+
"spec/vcr_cassettes/accounts.yml",
|
52
|
+
"spec/vcr_cassettes/applications.yml",
|
53
|
+
"spec/vcr_cassettes/local_numbers.yml",
|
54
|
+
"spec/vcr_cassettes/recordings.yml",
|
55
|
+
"spec/vcr_cassettes/toll_free_numbers.yml",
|
56
|
+
"spec/vcr_cassettes/transcriptions.yml"
|
48
57
|
]
|
49
58
|
s.homepage = "http://github.com/signalwire/signalwire-ruby".freeze
|
50
59
|
s.licenses = ["MIT".freeze]
|
@@ -65,6 +74,7 @@ Gem::Specification.new do |s|
|
|
65
74
|
s.add_development_dependency(%q<bundler-audit>.freeze, [">= 0"])
|
66
75
|
s.add_development_dependency(%q<guard-rspec>.freeze, [">= 0"])
|
67
76
|
s.add_development_dependency(%q<webmock>.freeze, [">= 0"])
|
77
|
+
s.add_development_dependency(%q<vcr>.freeze, [">= 0"])
|
68
78
|
else
|
69
79
|
s.add_dependency(%q<twilio-ruby>.freeze, ["~> 5.0"])
|
70
80
|
s.add_dependency(%q<rspec>.freeze, ["~> 3.5.0"])
|
@@ -76,6 +86,7 @@ Gem::Specification.new do |s|
|
|
76
86
|
s.add_dependency(%q<bundler-audit>.freeze, [">= 0"])
|
77
87
|
s.add_dependency(%q<guard-rspec>.freeze, [">= 0"])
|
78
88
|
s.add_dependency(%q<webmock>.freeze, [">= 0"])
|
89
|
+
s.add_dependency(%q<vcr>.freeze, [">= 0"])
|
79
90
|
end
|
80
91
|
else
|
81
92
|
s.add_dependency(%q<twilio-ruby>.freeze, ["~> 5.0"])
|
@@ -88,6 +99,7 @@ Gem::Specification.new do |s|
|
|
88
99
|
s.add_dependency(%q<bundler-audit>.freeze, [">= 0"])
|
89
100
|
s.add_dependency(%q<guard-rspec>.freeze, [">= 0"])
|
90
101
|
s.add_dependency(%q<webmock>.freeze, [">= 0"])
|
102
|
+
s.add_dependency(%q<vcr>.freeze, [">= 0"])
|
91
103
|
end
|
92
104
|
end
|
93
105
|
|
@@ -0,0 +1,58 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
|
5
|
+
RSpec.describe Signalwire::REST::Client do
|
6
|
+
before :all do
|
7
|
+
Signalwire::Sdk.configure do |config|
|
8
|
+
config.hostname = ENV.fetch('SIGNALWIRE_SPACE', 'testing.signalwire.com')
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
before :each do
|
13
|
+
@client = Signalwire::REST::Client.new ENV.fetch('SIGNALWIRE_ACCOUNT', 'xyz123-xyz123-xyz123'),
|
14
|
+
ENV.fetch('SIGNALWIRE_TOKEN', 'PTxyz123-xyz123-xyz123')
|
15
|
+
end
|
16
|
+
|
17
|
+
it "fetches accounts" do
|
18
|
+
VCR.use_cassette("accounts") do
|
19
|
+
accounts = @client.api.accounts.list
|
20
|
+
expect(accounts.first.friendly_name).to eq 'LAML testing'
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
it 'fetches applications' do
|
25
|
+
VCR.use_cassette('applications') do
|
26
|
+
applications = @client.applications.list
|
27
|
+
expect(applications.first.sid).to eq '34f49a97-a863-4a11-8fef-bc399c6f0928'
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
it 'fetches local numbers' do
|
32
|
+
VCR.use_cassette('local_numbers') do
|
33
|
+
numbers = @client.api.available_phone_numbers('US').local.list(in_region: 'WA')
|
34
|
+
expect(numbers.first.phone_number).to eq '+12062011680'
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
it 'fetches toll free numbers' do
|
39
|
+
VCR.use_cassette('toll_free_numbers') do
|
40
|
+
numbers = @client.api.available_phone_numbers('US').toll_free.list(area_code: '310')
|
41
|
+
expect(numbers.first.phone_number).to eq '+13102174822'
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
it 'fetches recordings' do
|
46
|
+
VCR.use_cassette('recordings') do
|
47
|
+
recordings = @client.recordings.list
|
48
|
+
expect(recordings.first.call_sid).to eq 'd411976d-d319-4fbd-923c-57c62b6f677a'
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
it 'fetches transcriptions' do
|
53
|
+
VCR.use_cassette('transcriptions') do
|
54
|
+
recordings = @client.transcriptions.list
|
55
|
+
expect(recordings.first.recording_sid).to eq 'e4c78e17-c0e2-441d-b5dd-39a6dad496f8'
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
|
5
|
+
module Signalwire
|
6
|
+
RSpec.describe Sdk::FaxResponse do
|
7
|
+
it 'generates the correct LAML' do
|
8
|
+
response = Signalwire::Sdk::FaxResponse.new do |r|
|
9
|
+
r.receive(action: '/receive/fax')
|
10
|
+
end
|
11
|
+
|
12
|
+
expect(response.to_s).to eq "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Response>\n"\
|
13
|
+
"<Receive action=\"/receive/fax\"/>\n</Response>\n"
|
14
|
+
end
|
15
|
+
|
16
|
+
it 'can reject a fax' do
|
17
|
+
response = Signalwire::Sdk::FaxResponse.new do |r|
|
18
|
+
r.reject
|
19
|
+
end
|
20
|
+
|
21
|
+
expect(response.to_s).to eq "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Response>\n"\
|
22
|
+
"<Reject/>\n</Response>\n"
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
@@ -8,13 +8,13 @@ module Signalwire
|
|
8
8
|
response = Signalwire::Sdk::VoiceResponse.new do |r|
|
9
9
|
r.say(message: 'hello there', voice: 'alice')
|
10
10
|
r.dial(caller_id: '+14159992222') do |d|
|
11
|
-
d.
|
11
|
+
d.number('+15552233444')
|
12
12
|
end
|
13
13
|
end
|
14
14
|
|
15
15
|
expect(response.to_s).to eq "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Response>\n"\
|
16
16
|
"<Say voice=\"alice\">hello there</Say>\n<Dial callerId=\"+14159992222\">\n"\
|
17
|
-
"<
|
17
|
+
"<Number>+15552233444</Number>\n</Dial>\n</Response>\n"
|
18
18
|
end
|
19
19
|
end
|
20
20
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -7,6 +7,7 @@ SimpleCov.start
|
|
7
7
|
bundler/setup
|
8
8
|
signalwire/sdk
|
9
9
|
webmock/rspec
|
10
|
+
vcr
|
10
11
|
].each { |f| require f }
|
11
12
|
|
12
13
|
# This file was generated by the `rspec --init` command. Conventionally, all
|
@@ -110,3 +111,8 @@ RSpec.configure do |config|
|
|
110
111
|
# # as the one that triggered the failure.
|
111
112
|
# Kernel.srand config.seed
|
112
113
|
end
|
114
|
+
|
115
|
+
VCR.configure do |config|
|
116
|
+
config.hook_into :webmock
|
117
|
+
config.cassette_library_dir = 'spec/vcr_cassettes'
|
118
|
+
end
|
@@ -0,0 +1,73 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://lpradovera.signalwire.com/api/laml/2010-04-01/Accounts.json
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- twilio-ruby/5.18.0 (ruby/x86_64-darwin17 2.5.0-p0)
|
12
|
+
Accept-Charset:
|
13
|
+
- utf-8
|
14
|
+
Accept:
|
15
|
+
- application/json
|
16
|
+
Authorization:
|
17
|
+
- Basic MjliYmEyZDQtZGRmMS00NTY5LThiNGEtNTkxNDQ0MGE1ZTEzOlBUMjNkM2NjZjUxOWQzNDdlYjA0OTJjNDhlZWM3ZTFmMmRiY2ZkZWJhN2Q3YjEzZTY4
|
18
|
+
Accept-Encoding:
|
19
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
Server:
|
26
|
+
- nginx
|
27
|
+
Date:
|
28
|
+
- Wed, 26 Dec 2018 16:47:17 GMT
|
29
|
+
Content-Type:
|
30
|
+
- application/json; charset=utf-8
|
31
|
+
Transfer-Encoding:
|
32
|
+
- chunked
|
33
|
+
Connection:
|
34
|
+
- keep-alive
|
35
|
+
X-Ratelimit-Limit:
|
36
|
+
- '5000'
|
37
|
+
X-Ratelimit-Remaining:
|
38
|
+
- '4999'
|
39
|
+
X-Ratelimit-Reset:
|
40
|
+
- '1545843600'
|
41
|
+
Etag:
|
42
|
+
- W/"bd486ac340657d0ad89590a5413b3f7f"
|
43
|
+
Cache-Control:
|
44
|
+
- max-age=0, private, must-revalidate
|
45
|
+
X-Request-Id:
|
46
|
+
- 70ca0a28-d018-4c48-9d4f-9ca410628956
|
47
|
+
X-Runtime:
|
48
|
+
- '0.026819'
|
49
|
+
Strict-Transport-Security:
|
50
|
+
- max-age=15768000; includeSubDomains
|
51
|
+
Content-Security-Policy:
|
52
|
+
- default-src * blob:; connect-src 'self' 'unsafe-inline' wss://*.signalwire.com
|
53
|
+
https://cdn.signalwire.com https://signalwire.s3-us-west-2.amazonaws.com https://api.stripe.com
|
54
|
+
https://www.google-analytics.com https://app.termly.io https://developer.livehelpnow.net
|
55
|
+
wss://app.livehelpnow.net; frame-src 'self' https://www.youtube.com https://youtube.com
|
56
|
+
https://cdn.signalwire.com https://js.stripe.com https://app.termly.io; child-src
|
57
|
+
'self' 'unsafe-inline' https://cdn.signalwire.com https://js.stripe.com blob:;
|
58
|
+
style-src 'self' 'unsafe-inline' https://cdn.signalwire.com https://fonts.gstatic.com
|
59
|
+
https://fonts.googleapis.com https://developer.livehelpnow.net; worker-src
|
60
|
+
'self' 'unsafe-inline' https://cdn.signalwire.com https://js.stripe.com blob:;
|
61
|
+
script-src 'self' 'unsafe-inline' https://cdn.signalwire.com https://www.google-analytics.com
|
62
|
+
https://www.googletagmanager.com https://js.stripe.com https://connect.facebook.net
|
63
|
+
https://app.termly.io https://developer.livehelpnow.net; font-src 'self' 'unsafe-inline'
|
64
|
+
https://cdn.signalwire.com https://fonts.gstatic.com https://fonts.googleapis.com
|
65
|
+
https://cdn.livehelpnow.net;
|
66
|
+
body:
|
67
|
+
encoding: UTF-8
|
68
|
+
string: '{"uri":"/api/laml/2010-04-01/Accounts?Page=1\u0026PageSize=50","start":0,"end":0,"first_page_uri":"/api/laml/2010-04-01/Accounts?Page=1\u0026PageSize=50","next_page_uri":null,"previous_page_uri":null,"page":0,"page_size":50,"accounts":[{"sid":"29bba2d4-ddf1-4569-8b4a-5914440a5e13","friendly_name":"LAML
|
69
|
+
testing","status":"active","auth_token":"redacted","date_created":"Mon, 20
|
70
|
+
Aug 2018 12:54:10 +0000","date_updated":"Mon, 20 Aug 2018 12:54:10 +0000","type":"Full","uri":"/api/laml/2010-04-01/Accounts/29bba2d4-ddf1-4569-8b4a-5914440a5e13","subresource_uris":{"addresses":null,"available_phone_numbers":"/api/laml/2010-04-01/Accounts/29bba2d4-ddf1-4569-8b4a-5914440a5e13/AvailablePhoneNumbers","applications":"/api/laml/2010-04-01/Accounts/29bba2d4-ddf1-4569-8b4a-5914440a5e13/Applications","authorized_connect_apps":null,"calls":"/api/laml/2010-04-01/Accounts/29bba2d4-ddf1-4569-8b4a-5914440a5e13/Calls","conferences":"/api/laml/2010-04-01/Accounts/29bba2d4-ddf1-4569-8b4a-5914440a5e13/Conferences","connect_apps":null,"incoming_phone_numbers":"/api/laml/2010-04-01/Accounts/29bba2d4-ddf1-4569-8b4a-5914440a5e13/IncomingPhoneNumbers","keys":null,"notifications":null,"outgoing_caller_ids":null,"queues":"/api/laml/2010-04-01/Accounts/29bba2d4-ddf1-4569-8b4a-5914440a5e13/Queues","recordings":"/api/laml/2010-04-01/Accounts/29bba2d4-ddf1-4569-8b4a-5914440a5e13/Recordings","sandbox":null,"signing_keys":null,"sip":null,"short_codes":null,"messages":"/api/laml/2010-04-01/Accounts/29bba2d4-ddf1-4569-8b4a-5914440a5e13/Messages","transcriptions":"/api/laml/2010-04-01/Accounts/29bba2d4-ddf1-4569-8b4a-5914440a5e13/Transcriptions","usage":null}}]}'
|
71
|
+
http_version:
|
72
|
+
recorded_at: Wed, 26 Dec 2018 16:47:17 GMT
|
73
|
+
recorded_with: VCR 4.0.0
|
@@ -0,0 +1,73 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://lpradovera.signalwire.com/api/laml/2010-04-01/Accounts/29bba2d4-ddf1-4569-8b4a-5914440a5e13/Applications.json
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- twilio-ruby/5.18.0 (ruby/x86_64-darwin17 2.5.0-p0)
|
12
|
+
Accept-Charset:
|
13
|
+
- utf-8
|
14
|
+
Accept:
|
15
|
+
- application/json
|
16
|
+
Authorization:
|
17
|
+
- Basic MjliYmEyZDQtZGRmMS00NTY5LThiNGEtNTkxNDQ0MGE1ZTEzOlBUMjNkM2NjZjUxOWQzNDdlYjA0OTJjNDhlZWM3ZTFmMmRiY2ZkZWJhN2Q3YjEzZTY4
|
18
|
+
Accept-Encoding:
|
19
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
Server:
|
26
|
+
- nginx
|
27
|
+
Date:
|
28
|
+
- Wed, 26 Dec 2018 16:51:53 GMT
|
29
|
+
Content-Type:
|
30
|
+
- application/json; charset=utf-8
|
31
|
+
Transfer-Encoding:
|
32
|
+
- chunked
|
33
|
+
Connection:
|
34
|
+
- keep-alive
|
35
|
+
X-Ratelimit-Limit:
|
36
|
+
- '5000'
|
37
|
+
X-Ratelimit-Remaining:
|
38
|
+
- '4998'
|
39
|
+
X-Ratelimit-Reset:
|
40
|
+
- '1545843600'
|
41
|
+
Etag:
|
42
|
+
- W/"c38d7ad358a790cebf78625383b05a41"
|
43
|
+
Cache-Control:
|
44
|
+
- max-age=0, private, must-revalidate
|
45
|
+
X-Request-Id:
|
46
|
+
- 7508ee70-0a58-4365-9f7e-ecf2b9383d5a
|
47
|
+
X-Runtime:
|
48
|
+
- '0.040712'
|
49
|
+
Strict-Transport-Security:
|
50
|
+
- max-age=15768000; includeSubDomains
|
51
|
+
Content-Security-Policy:
|
52
|
+
- default-src * blob:; connect-src 'self' 'unsafe-inline' wss://*.signalwire.com
|
53
|
+
https://cdn.signalwire.com https://signalwire.s3-us-west-2.amazonaws.com https://api.stripe.com
|
54
|
+
https://www.google-analytics.com https://app.termly.io https://developer.livehelpnow.net
|
55
|
+
wss://app.livehelpnow.net; frame-src 'self' https://www.youtube.com https://youtube.com
|
56
|
+
https://cdn.signalwire.com https://js.stripe.com https://app.termly.io; child-src
|
57
|
+
'self' 'unsafe-inline' https://cdn.signalwire.com https://js.stripe.com blob:;
|
58
|
+
style-src 'self' 'unsafe-inline' https://cdn.signalwire.com https://fonts.gstatic.com
|
59
|
+
https://fonts.googleapis.com https://developer.livehelpnow.net; worker-src
|
60
|
+
'self' 'unsafe-inline' https://cdn.signalwire.com https://js.stripe.com blob:;
|
61
|
+
script-src 'self' 'unsafe-inline' https://cdn.signalwire.com https://www.google-analytics.com
|
62
|
+
https://www.googletagmanager.com https://js.stripe.com https://connect.facebook.net
|
63
|
+
https://app.termly.io https://developer.livehelpnow.net; font-src 'self' 'unsafe-inline'
|
64
|
+
https://cdn.signalwire.com https://fonts.gstatic.com https://fonts.googleapis.com
|
65
|
+
https://cdn.livehelpnow.net;
|
66
|
+
body:
|
67
|
+
encoding: UTF-8
|
68
|
+
string: '{"uri":"/api/laml/2010-04-01/Accounts/29bba2d4-ddf1-4569-8b4a-5914440a5e13/Applications?Page=0\u0026PageSize=50","first_page_uri":"/api/laml/2010-04-01/Accounts/29bba2d4-ddf1-4569-8b4a-5914440a5e13/Applications?Page=0\u0026PageSize=50","next_page_uri":null,"previous_page_uri":null,"page":0,"page_size":50,"applications":[{"sid":"34f49a97-a863-4a11-8fef-bc399c6f0928","date_created":"Wed,
|
69
|
+
19 Dec 2018 14:23:36 +0000","date_updated":"Wed, 19 Dec 2018 15:45:52 +0000","account_sid":"29bba2d4-ddf1-4569-8b4a-5914440a5e13","friendly_name":"Test
|
70
|
+
App","voice_url":"https://lpradovera.signalwire.com/laml-bins/edfb6a6e-a60a-4a56-9a9c-04babd511882","voice_method":"GET","voice_fallback_url":"","voice_fallback_method":"POST","status_callback":"","status_callback_method":"POST","voice_caller_id_lookup":null,"sms_url":"","sms_method":"POST","sms_fallback_url":"","sms_fallback_method":"POST","sms_status_callback":"","sms_status_callback_method":"POST","api_version":"2010-04-01","uri":"/api/laml/2010-04-01/Accounts/29bba2d4-ddf1-4569-8b4a-5914440a5e13/Calls/34f49a97-a863-4a11-8fef-bc399c6f0928"}]}'
|
71
|
+
http_version:
|
72
|
+
recorded_at: Wed, 26 Dec 2018 16:51:53 GMT
|
73
|
+
recorded_with: VCR 4.0.0
|
@@ -0,0 +1,72 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://lpradovera.signalwire.com/api/laml/2010-04-01/Accounts/29bba2d4-ddf1-4569-8b4a-5914440a5e13/AvailablePhoneNumbers/US/Local.json?InRegion=WA
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- twilio-ruby/5.18.0 (ruby/x86_64-darwin17 2.5.0-p0)
|
12
|
+
Accept-Charset:
|
13
|
+
- utf-8
|
14
|
+
Accept:
|
15
|
+
- application/json
|
16
|
+
Authorization:
|
17
|
+
- Basic MjliYmEyZDQtZGRmMS00NTY5LThiNGEtNTkxNDQ0MGE1ZTEzOlBUMjNkM2NjZjUxOWQzNDdlYjA0OTJjNDhlZWM3ZTFmMmRiY2ZkZWJhN2Q3YjEzZTY4
|
18
|
+
Accept-Encoding:
|
19
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
Server:
|
26
|
+
- nginx
|
27
|
+
Date:
|
28
|
+
- Wed, 26 Dec 2018 16:54:07 GMT
|
29
|
+
Content-Type:
|
30
|
+
- application/json; charset=utf-8
|
31
|
+
Transfer-Encoding:
|
32
|
+
- chunked
|
33
|
+
Connection:
|
34
|
+
- keep-alive
|
35
|
+
X-Ratelimit-Limit:
|
36
|
+
- '5000'
|
37
|
+
X-Ratelimit-Remaining:
|
38
|
+
- '4997'
|
39
|
+
X-Ratelimit-Reset:
|
40
|
+
- '1545843600'
|
41
|
+
Etag:
|
42
|
+
- W/"8a42dc14d5a28a3e3e6d43948e3373bd"
|
43
|
+
Cache-Control:
|
44
|
+
- max-age=0, private, must-revalidate
|
45
|
+
X-Request-Id:
|
46
|
+
- 2e156a17-a333-4013-9b75-afa744485859
|
47
|
+
X-Runtime:
|
48
|
+
- '0.593999'
|
49
|
+
Strict-Transport-Security:
|
50
|
+
- max-age=15768000; includeSubDomains
|
51
|
+
Content-Security-Policy:
|
52
|
+
- default-src * blob:; connect-src 'self' 'unsafe-inline' wss://*.signalwire.com
|
53
|
+
https://cdn.signalwire.com https://signalwire.s3-us-west-2.amazonaws.com https://api.stripe.com
|
54
|
+
https://www.google-analytics.com https://app.termly.io https://developer.livehelpnow.net
|
55
|
+
wss://app.livehelpnow.net; frame-src 'self' https://www.youtube.com https://youtube.com
|
56
|
+
https://cdn.signalwire.com https://js.stripe.com https://app.termly.io; child-src
|
57
|
+
'self' 'unsafe-inline' https://cdn.signalwire.com https://js.stripe.com blob:;
|
58
|
+
style-src 'self' 'unsafe-inline' https://cdn.signalwire.com https://fonts.gstatic.com
|
59
|
+
https://fonts.googleapis.com https://developer.livehelpnow.net; worker-src
|
60
|
+
'self' 'unsafe-inline' https://cdn.signalwire.com https://js.stripe.com blob:;
|
61
|
+
script-src 'self' 'unsafe-inline' https://cdn.signalwire.com https://www.google-analytics.com
|
62
|
+
https://www.googletagmanager.com https://js.stripe.com https://connect.facebook.net
|
63
|
+
https://app.termly.io https://developer.livehelpnow.net; font-src 'self' 'unsafe-inline'
|
64
|
+
https://cdn.signalwire.com https://fonts.gstatic.com https://fonts.googleapis.com
|
65
|
+
https://cdn.livehelpnow.net;
|
66
|
+
body:
|
67
|
+
encoding: UTF-8
|
68
|
+
string: '{"uri":"/api/laml/2010-04-01/Accounts/29bba2d4-ddf1-4569-8b4a-5914440a5e13/AvailablePhoneNumbers/US/Local?InRegion=WA","available_phone_numbers":[{"friendly_name":"206-201-1680","phone_number":"+12062011680","lata":null,"rate_center":"BAINBDG
|
69
|
+
IS","latitude":null,"longitude":null,"region":"WA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"206-204-1820","phone_number":"+12062041820","lata":null,"rate_center":"SEATTLE","latitude":null,"longitude":null,"region":"WA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"206-204-1821","phone_number":"+12062041821","lata":null,"rate_center":"SEATTLE","latitude":null,"longitude":null,"region":"WA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"206-204-1822","phone_number":"+12062041822","lata":null,"rate_center":"SEATTLE","latitude":null,"longitude":null,"region":"WA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"206-204-5269","phone_number":"+12062045269","lata":null,"rate_center":"SEATTLE","latitude":null,"longitude":null,"region":"WA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"206-209-2839","phone_number":"+12062092839","lata":null,"rate_center":"SEATTLE","latitude":null,"longitude":null,"region":"WA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"206-209-2871","phone_number":"+12062092871","lata":null,"rate_center":"SEATTLE","latitude":null,"longitude":null,"region":"WA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"206-209-2872","phone_number":"+12062092872","lata":null,"rate_center":"SEATTLE","latitude":null,"longitude":null,"region":"WA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"206-209-2893","phone_number":"+12062092893","lata":null,"rate_center":"SEATTLE","latitude":null,"longitude":null,"region":"WA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"206-209-2897","phone_number":"+12062092897","lata":null,"rate_center":"SEATTLE","latitude":null,"longitude":null,"region":"WA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"206-209-2911","phone_number":"+12062092911","lata":null,"rate_center":"SEATTLE","latitude":null,"longitude":null,"region":"WA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"206-237-1051","phone_number":"+12062371051","lata":null,"rate_center":"RICHMNDBCH","latitude":null,"longitude":null,"region":"WA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"206-237-1052","phone_number":"+12062371052","lata":null,"rate_center":"RICHMNDBCH","latitude":null,"longitude":null,"region":"WA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"206-237-1053","phone_number":"+12062371053","lata":null,"rate_center":"RICHMNDBCH","latitude":null,"longitude":null,"region":"WA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"206-237-1054","phone_number":"+12062371054","lata":null,"rate_center":"RICHMNDBCH","latitude":null,"longitude":null,"region":"WA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"206-237-1055","phone_number":"+12062371055","lata":null,"rate_center":"RICHMNDBCH","latitude":null,"longitude":null,"region":"WA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"206-237-1056","phone_number":"+12062371056","lata":null,"rate_center":"RICHMNDBCH","latitude":null,"longitude":null,"region":"WA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"206-237-1057","phone_number":"+12062371057","lata":null,"rate_center":"RICHMNDBCH","latitude":null,"longitude":null,"region":"WA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"206-237-1058","phone_number":"+12062371058","lata":null,"rate_center":"RICHMNDBCH","latitude":null,"longitude":null,"region":"WA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"206-237-1059","phone_number":"+12062371059","lata":null,"rate_center":"RICHMNDBCH","latitude":null,"longitude":null,"region":"WA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"206-237-1060","phone_number":"+12062371060","lata":null,"rate_center":"RICHMNDBCH","latitude":null,"longitude":null,"region":"WA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"206-237-1062","phone_number":"+12062371062","lata":null,"rate_center":"RICHMNDBCH","latitude":null,"longitude":null,"region":"WA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"206-237-1063","phone_number":"+12062371063","lata":null,"rate_center":"RICHMNDBCH","latitude":null,"longitude":null,"region":"WA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"206-237-1064","phone_number":"+12062371064","lata":null,"rate_center":"RICHMNDBCH","latitude":null,"longitude":null,"region":"WA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"206-237-1065","phone_number":"+12062371065","lata":null,"rate_center":"RICHMNDBCH","latitude":null,"longitude":null,"region":"WA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"206-237-1066","phone_number":"+12062371066","lata":null,"rate_center":"RICHMNDBCH","latitude":null,"longitude":null,"region":"WA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"206-237-1067","phone_number":"+12062371067","lata":null,"rate_center":"RICHMNDBCH","latitude":null,"longitude":null,"region":"WA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"206-237-1068","phone_number":"+12062371068","lata":null,"rate_center":"RICHMNDBCH","latitude":null,"longitude":null,"region":"WA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"206-237-1069","phone_number":"+12062371069","lata":null,"rate_center":"RICHMNDBCH","latitude":null,"longitude":null,"region":"WA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"206-237-1070","phone_number":"+12062371070","lata":null,"rate_center":"RICHMNDBCH","latitude":null,"longitude":null,"region":"WA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"206-237-1071","phone_number":"+12062371071","lata":null,"rate_center":"RICHMNDBCH","latitude":null,"longitude":null,"region":"WA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"206-237-1072","phone_number":"+12062371072","lata":null,"rate_center":"RICHMNDBCH","latitude":null,"longitude":null,"region":"WA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"206-237-1073","phone_number":"+12062371073","lata":null,"rate_center":"RICHMNDBCH","latitude":null,"longitude":null,"region":"WA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"206-237-1074","phone_number":"+12062371074","lata":null,"rate_center":"RICHMNDBCH","latitude":null,"longitude":null,"region":"WA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"206-237-1075","phone_number":"+12062371075","lata":null,"rate_center":"RICHMNDBCH","latitude":null,"longitude":null,"region":"WA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"206-237-1076","phone_number":"+12062371076","lata":null,"rate_center":"RICHMNDBCH","latitude":null,"longitude":null,"region":"WA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"206-237-1077","phone_number":"+12062371077","lata":null,"rate_center":"RICHMNDBCH","latitude":null,"longitude":null,"region":"WA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"206-237-1078","phone_number":"+12062371078","lata":null,"rate_center":"RICHMNDBCH","latitude":null,"longitude":null,"region":"WA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"206-237-1079","phone_number":"+12062371079","lata":null,"rate_center":"RICHMNDBCH","latitude":null,"longitude":null,"region":"WA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"206-237-1080","phone_number":"+12062371080","lata":null,"rate_center":"RICHMNDBCH","latitude":null,"longitude":null,"region":"WA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"206-237-1081","phone_number":"+12062371081","lata":null,"rate_center":"RICHMNDBCH","latitude":null,"longitude":null,"region":"WA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"206-237-1082","phone_number":"+12062371082","lata":null,"rate_center":"RICHMNDBCH","latitude":null,"longitude":null,"region":"WA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"206-237-1083","phone_number":"+12062371083","lata":null,"rate_center":"RICHMNDBCH","latitude":null,"longitude":null,"region":"WA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"206-237-1084","phone_number":"+12062371084","lata":null,"rate_center":"RICHMNDBCH","latitude":null,"longitude":null,"region":"WA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"206-237-1085","phone_number":"+12062371085","lata":null,"rate_center":"RICHMNDBCH","latitude":null,"longitude":null,"region":"WA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"206-237-1086","phone_number":"+12062371086","lata":null,"rate_center":"RICHMNDBCH","latitude":null,"longitude":null,"region":"WA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"206-237-1087","phone_number":"+12062371087","lata":null,"rate_center":"RICHMNDBCH","latitude":null,"longitude":null,"region":"WA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"206-237-1088","phone_number":"+12062371088","lata":null,"rate_center":"RICHMNDBCH","latitude":null,"longitude":null,"region":"WA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"206-237-1089","phone_number":"+12062371089","lata":null,"rate_center":"RICHMNDBCH","latitude":null,"longitude":null,"region":"WA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"206-237-1090","phone_number":"+12062371090","lata":null,"rate_center":"RICHMNDBCH","latitude":null,"longitude":null,"region":"WA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false}]}'
|
70
|
+
http_version:
|
71
|
+
recorded_at: Wed, 26 Dec 2018 16:54:07 GMT
|
72
|
+
recorded_with: VCR 4.0.0
|
@@ -0,0 +1,73 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://lpradovera.signalwire.com/api/laml/2010-04-01/Accounts/29bba2d4-ddf1-4569-8b4a-5914440a5e13/Recordings.json
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- twilio-ruby/5.18.0 (ruby/x86_64-darwin17 2.5.0-p0)
|
12
|
+
Accept-Charset:
|
13
|
+
- utf-8
|
14
|
+
Accept:
|
15
|
+
- application/json
|
16
|
+
Authorization:
|
17
|
+
- Basic MjliYmEyZDQtZGRmMS00NTY5LThiNGEtNTkxNDQ0MGE1ZTEzOlBUMjNkM2NjZjUxOWQzNDdlYjA0OTJjNDhlZWM3ZTFmMmRiY2ZkZWJhN2Q3YjEzZTY4
|
18
|
+
Accept-Encoding:
|
19
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
Server:
|
26
|
+
- nginx
|
27
|
+
Date:
|
28
|
+
- Wed, 26 Dec 2018 17:03:37 GMT
|
29
|
+
Content-Type:
|
30
|
+
- application/json; charset=utf-8
|
31
|
+
Transfer-Encoding:
|
32
|
+
- chunked
|
33
|
+
Connection:
|
34
|
+
- keep-alive
|
35
|
+
X-Ratelimit-Limit:
|
36
|
+
- '5000'
|
37
|
+
X-Ratelimit-Remaining:
|
38
|
+
- '4999'
|
39
|
+
X-Ratelimit-Reset:
|
40
|
+
- '1545847200'
|
41
|
+
Etag:
|
42
|
+
- W/"45c4693845b43283af55f52d9acd97fc"
|
43
|
+
Cache-Control:
|
44
|
+
- max-age=0, private, must-revalidate
|
45
|
+
X-Request-Id:
|
46
|
+
- cfe925d9-a363-4542-b00e-e16a7d8b8937
|
47
|
+
X-Runtime:
|
48
|
+
- '0.068194'
|
49
|
+
Strict-Transport-Security:
|
50
|
+
- max-age=15768000; includeSubDomains
|
51
|
+
Content-Security-Policy:
|
52
|
+
- default-src * blob:; connect-src 'self' 'unsafe-inline' wss://*.signalwire.com
|
53
|
+
https://cdn.signalwire.com https://signalwire.s3-us-west-2.amazonaws.com https://api.stripe.com
|
54
|
+
https://www.google-analytics.com https://app.termly.io https://developer.livehelpnow.net
|
55
|
+
wss://app.livehelpnow.net; frame-src 'self' https://www.youtube.com https://youtube.com
|
56
|
+
https://cdn.signalwire.com https://js.stripe.com https://app.termly.io; child-src
|
57
|
+
'self' 'unsafe-inline' https://cdn.signalwire.com https://js.stripe.com blob:;
|
58
|
+
style-src 'self' 'unsafe-inline' https://cdn.signalwire.com https://fonts.gstatic.com
|
59
|
+
https://fonts.googleapis.com https://developer.livehelpnow.net; worker-src
|
60
|
+
'self' 'unsafe-inline' https://cdn.signalwire.com https://js.stripe.com blob:;
|
61
|
+
script-src 'self' 'unsafe-inline' https://cdn.signalwire.com https://www.google-analytics.com
|
62
|
+
https://www.googletagmanager.com https://js.stripe.com https://connect.facebook.net
|
63
|
+
https://app.termly.io https://developer.livehelpnow.net; font-src 'self' 'unsafe-inline'
|
64
|
+
https://cdn.signalwire.com https://fonts.gstatic.com https://fonts.googleapis.com
|
65
|
+
https://cdn.livehelpnow.net;
|
66
|
+
body:
|
67
|
+
encoding: UTF-8
|
68
|
+
string: '{"uri":"/api/laml/2010-04-01/Accounts/29bba2d4-ddf1-4569-8b4a-5914440a5e13/Recordings?Page=0\u0026PageSize=50","first_page_uri":"/api/laml/2010-04-01/Accounts/29bba2d4-ddf1-4569-8b4a-5914440a5e13/Recordings?Page=0\u0026PageSize=50","next_page_uri":null,"previous_page_uri":null,"page":0,"page_size":50,"recordings":[{"sid":"e4c78e17-c0e2-441d-b5dd-39a6dad496f8","api_version":"2010-04-01","channel":"1","channels":"1","account_sid":"29bba2d4-ddf1-4569-8b4a-5914440a5e13","call_sid":"d411976d-d319-4fbd-923c-57c62b6f677a","conference_sid":null,"date_created":"Wed,
|
69
|
+
19 Dec 2018 16:28:16 +0000","date_updated":"Wed, 19 Dec 2018 16:28:16 +0000","duration":14,"start_time":"Wed,
|
70
|
+
19 Dec 2018 16:27:56 +0000","end_time":"Wed, 19 Dec 2018 16:28:16 +0000","error_code":null,"price":0.0,"price_unit":"USD","source":"RecordVerb","status":"completed","uri":"/api/laml/2010-04-01/Accounts/29bba2d4-ddf1-4569-8b4a-5914440a5e13/Calls/d411976d-d319-4fbd-923c-57c62b6f677a/Recordings/e4c78e17-c0e2-441d-b5dd-39a6dad496f8.json","subresource_uris":{"transcriptions":"/api/laml/2010-04-01/Accounts/29bba2d4-ddf1-4569-8b4a-5914440a5e13/Recordings/e4c78e17-c0e2-441d-b5dd-39a6dad496f8/Transcriptions.json"}}]}'
|
71
|
+
http_version:
|
72
|
+
recorded_at: Wed, 26 Dec 2018 17:03:37 GMT
|
73
|
+
recorded_with: VCR 4.0.0
|
@@ -0,0 +1,80 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://lpradovera.signalwire.com/api/laml/2010-04-01/Accounts/29bba2d4-ddf1-4569-8b4a-5914440a5e13/AvailablePhoneNumbers/US/TollFree.json?AreaCode=310
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- twilio-ruby/5.18.0 (ruby/x86_64-darwin17 2.5.0-p0)
|
12
|
+
Accept-Charset:
|
13
|
+
- utf-8
|
14
|
+
Accept:
|
15
|
+
- application/json
|
16
|
+
Authorization:
|
17
|
+
- Basic MjliYmEyZDQtZGRmMS00NTY5LThiNGEtNTkxNDQ0MGE1ZTEzOlBUMjNkM2NjZjUxOWQzNDdlYjA0OTJjNDhlZWM3ZTFmMmRiY2ZkZWJhN2Q3YjEzZTY4
|
18
|
+
Accept-Encoding:
|
19
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
Server:
|
26
|
+
- nginx
|
27
|
+
Date:
|
28
|
+
- Wed, 26 Dec 2018 16:56:45 GMT
|
29
|
+
Content-Type:
|
30
|
+
- application/json; charset=utf-8
|
31
|
+
Transfer-Encoding:
|
32
|
+
- chunked
|
33
|
+
Connection:
|
34
|
+
- keep-alive
|
35
|
+
X-Ratelimit-Limit:
|
36
|
+
- '5000'
|
37
|
+
X-Ratelimit-Remaining:
|
38
|
+
- '4995'
|
39
|
+
X-Ratelimit-Reset:
|
40
|
+
- '1545843600'
|
41
|
+
Etag:
|
42
|
+
- W/"e813af3e1604ca52033e4966e3b9287b"
|
43
|
+
Cache-Control:
|
44
|
+
- max-age=0, private, must-revalidate
|
45
|
+
X-Request-Id:
|
46
|
+
- be18c737-7f67-494b-8964-503602b1fdee
|
47
|
+
X-Runtime:
|
48
|
+
- '0.504828'
|
49
|
+
Strict-Transport-Security:
|
50
|
+
- max-age=15768000; includeSubDomains
|
51
|
+
Content-Security-Policy:
|
52
|
+
- default-src * blob:; connect-src 'self' 'unsafe-inline' wss://*.signalwire.com
|
53
|
+
https://cdn.signalwire.com https://signalwire.s3-us-west-2.amazonaws.com https://api.stripe.com
|
54
|
+
https://www.google-analytics.com https://app.termly.io https://developer.livehelpnow.net
|
55
|
+
wss://app.livehelpnow.net; frame-src 'self' https://www.youtube.com https://youtube.com
|
56
|
+
https://cdn.signalwire.com https://js.stripe.com https://app.termly.io; child-src
|
57
|
+
'self' 'unsafe-inline' https://cdn.signalwire.com https://js.stripe.com blob:;
|
58
|
+
style-src 'self' 'unsafe-inline' https://cdn.signalwire.com https://fonts.gstatic.com
|
59
|
+
https://fonts.googleapis.com https://developer.livehelpnow.net; worker-src
|
60
|
+
'self' 'unsafe-inline' https://cdn.signalwire.com https://js.stripe.com blob:;
|
61
|
+
script-src 'self' 'unsafe-inline' https://cdn.signalwire.com https://www.google-analytics.com
|
62
|
+
https://www.googletagmanager.com https://js.stripe.com https://connect.facebook.net
|
63
|
+
https://app.termly.io https://developer.livehelpnow.net; font-src 'self' 'unsafe-inline'
|
64
|
+
https://cdn.signalwire.com https://fonts.gstatic.com https://fonts.googleapis.com
|
65
|
+
https://cdn.livehelpnow.net;
|
66
|
+
body:
|
67
|
+
encoding: UTF-8
|
68
|
+
string: '{"uri":"/api/laml/2010-04-01/Accounts/29bba2d4-ddf1-4569-8b4a-5914440a5e13/AvailablePhoneNumbers/US/TollFree?AreaCode=310","available_phone_numbers":[{"friendly_name":"310-217-4822","phone_number":"+13102174822","lata":null,"rate_center":"CMTN
|
69
|
+
GRDN","latitude":null,"longitude":null,"region":"CA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"310-349-3059","phone_number":"+13103493059","lata":null,"rate_center":"HAWTHORNE","latitude":null,"longitude":null,"region":"CA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"310-349-3184","phone_number":"+13103493184","lata":null,"rate_center":"HAWTHORNE","latitude":null,"longitude":null,"region":"CA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"310-349-3207","phone_number":"+13103493207","lata":null,"rate_center":"HAWTHORNE","latitude":null,"longitude":null,"region":"CA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"310-349-3272","phone_number":"+13103493272","lata":null,"rate_center":"HAWTHORNE","latitude":null,"longitude":null,"region":"CA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"310-349-3603","phone_number":"+13103493603","lata":null,"rate_center":"HAWTHORNE","latitude":null,"longitude":null,"region":"CA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"310-349-3629","phone_number":"+13103493629","lata":null,"rate_center":"HAWTHORNE","latitude":null,"longitude":null,"region":"CA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"310-349-3651","phone_number":"+13103493651","lata":null,"rate_center":"HAWTHORNE","latitude":null,"longitude":null,"region":"CA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"310-349-3662","phone_number":"+13103493662","lata":null,"rate_center":"HAWTHORNE","latitude":null,"longitude":null,"region":"CA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"310-349-3664","phone_number":"+13103493664","lata":null,"rate_center":"HAWTHORNE","latitude":null,"longitude":null,"region":"CA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"310-349-3669","phone_number":"+13103493669","lata":null,"rate_center":"HAWTHORNE","latitude":null,"longitude":null,"region":"CA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"310-349-3670","phone_number":"+13103493670","lata":null,"rate_center":"HAWTHORNE","latitude":null,"longitude":null,"region":"CA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"310-349-3671","phone_number":"+13103493671","lata":null,"rate_center":"HAWTHORNE","latitude":null,"longitude":null,"region":"CA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"310-349-3672","phone_number":"+13103493672","lata":null,"rate_center":"HAWTHORNE","latitude":null,"longitude":null,"region":"CA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"310-349-3673","phone_number":"+13103493673","lata":null,"rate_center":"HAWTHORNE","latitude":null,"longitude":null,"region":"CA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"310-349-3674","phone_number":"+13103493674","lata":null,"rate_center":"HAWTHORNE","latitude":null,"longitude":null,"region":"CA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"310-349-3675","phone_number":"+13103493675","lata":null,"rate_center":"HAWTHORNE","latitude":null,"longitude":null,"region":"CA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"310-349-3676","phone_number":"+13103493676","lata":null,"rate_center":"HAWTHORNE","latitude":null,"longitude":null,"region":"CA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"310-349-3682","phone_number":"+13103493682","lata":null,"rate_center":"HAWTHORNE","latitude":null,"longitude":null,"region":"CA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"310-349-3683","phone_number":"+13103493683","lata":null,"rate_center":"HAWTHORNE","latitude":null,"longitude":null,"region":"CA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"310-349-3684","phone_number":"+13103493684","lata":null,"rate_center":"HAWTHORNE","latitude":null,"longitude":null,"region":"CA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"310-349-3685","phone_number":"+13103493685","lata":null,"rate_center":"HAWTHORNE","latitude":null,"longitude":null,"region":"CA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"310-349-3686","phone_number":"+13103493686","lata":null,"rate_center":"HAWTHORNE","latitude":null,"longitude":null,"region":"CA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"310-349-3687","phone_number":"+13103493687","lata":null,"rate_center":"HAWTHORNE","latitude":null,"longitude":null,"region":"CA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"310-356-0706","phone_number":"+13103560706","lata":null,"rate_center":"EL
|
70
|
+
SEGUNDO","latitude":null,"longitude":null,"region":"CA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"310-356-0721","phone_number":"+13103560721","lata":null,"rate_center":"EL
|
71
|
+
SEGUNDO","latitude":null,"longitude":null,"region":"CA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"310-356-0733","phone_number":"+13103560733","lata":null,"rate_center":"EL
|
72
|
+
SEGUNDO","latitude":null,"longitude":null,"region":"CA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"310-356-0799","phone_number":"+13103560799","lata":null,"rate_center":"EL
|
73
|
+
SEGUNDO","latitude":null,"longitude":null,"region":"CA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"310-356-0802","phone_number":"+13103560802","lata":null,"rate_center":"EL
|
74
|
+
SEGUNDO","latitude":null,"longitude":null,"region":"CA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"310-356-0805","phone_number":"+13103560805","lata":null,"rate_center":"EL
|
75
|
+
SEGUNDO","latitude":null,"longitude":null,"region":"CA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"310-356-0806","phone_number":"+13103560806","lata":null,"rate_center":"EL
|
76
|
+
SEGUNDO","latitude":null,"longitude":null,"region":"CA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"310-356-0807","phone_number":"+13103560807","lata":null,"rate_center":"EL
|
77
|
+
SEGUNDO","latitude":null,"longitude":null,"region":"CA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"310-359-0741","phone_number":"+13103590741","lata":null,"rate_center":"MALIBU","latitude":null,"longitude":null,"region":"CA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"310-359-0835","phone_number":"+13103590835","lata":null,"rate_center":"MALIBU","latitude":null,"longitude":null,"region":"CA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"310-359-1453","phone_number":"+13103591453","lata":null,"rate_center":"MALIBU","latitude":null,"longitude":null,"region":"CA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"310-359-1457","phone_number":"+13103591457","lata":null,"rate_center":"MALIBU","latitude":null,"longitude":null,"region":"CA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"310-359-1498","phone_number":"+13103591498","lata":null,"rate_center":"MALIBU","latitude":null,"longitude":null,"region":"CA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"310-359-1532","phone_number":"+13103591532","lata":null,"rate_center":"MALIBU","latitude":null,"longitude":null,"region":"CA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"310-359-1542","phone_number":"+13103591542","lata":null,"rate_center":"MALIBU","latitude":null,"longitude":null,"region":"CA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"310-359-1543","phone_number":"+13103591543","lata":null,"rate_center":"MALIBU","latitude":null,"longitude":null,"region":"CA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"310-359-1546","phone_number":"+13103591546","lata":null,"rate_center":"MALIBU","latitude":null,"longitude":null,"region":"CA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"310-359-1548","phone_number":"+13103591548","lata":null,"rate_center":"MALIBU","latitude":null,"longitude":null,"region":"CA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"310-359-1550","phone_number":"+13103591550","lata":null,"rate_center":"MALIBU","latitude":null,"longitude":null,"region":"CA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"310-359-1553","phone_number":"+13103591553","lata":null,"rate_center":"MALIBU","latitude":null,"longitude":null,"region":"CA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"310-359-1554","phone_number":"+13103591554","lata":null,"rate_center":"MALIBU","latitude":null,"longitude":null,"region":"CA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"310-359-1557","phone_number":"+13103591557","lata":null,"rate_center":"MALIBU","latitude":null,"longitude":null,"region":"CA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"310-359-1558","phone_number":"+13103591558","lata":null,"rate_center":"MALIBU","latitude":null,"longitude":null,"region":"CA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"310-359-1559","phone_number":"+13103591559","lata":null,"rate_center":"MALIBU","latitude":null,"longitude":null,"region":"CA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"310-359-1560","phone_number":"+13103591560","lata":null,"rate_center":"MALIBU","latitude":null,"longitude":null,"region":"CA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false},{"friendly_name":"310-359-1561","phone_number":"+13103591561","lata":null,"rate_center":"MALIBU","latitude":null,"longitude":null,"region":"CA","postal_code":null,"iso_country":"US","capabilities":{"voice":true,"SMS":true,"MMS":true},"beta":false}]}'
|
78
|
+
http_version:
|
79
|
+
recorded_at: Wed, 26 Dec 2018 16:56:46 GMT
|
80
|
+
recorded_with: VCR 4.0.0
|
@@ -0,0 +1,74 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://lpradovera.signalwire.com/api/laml/2010-04-01/Accounts/29bba2d4-ddf1-4569-8b4a-5914440a5e13/Transcriptions.json
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- twilio-ruby/5.18.0 (ruby/x86_64-darwin17 2.5.0-p0)
|
12
|
+
Accept-Charset:
|
13
|
+
- utf-8
|
14
|
+
Accept:
|
15
|
+
- application/json
|
16
|
+
Authorization:
|
17
|
+
- Basic MjliYmEyZDQtZGRmMS00NTY5LThiNGEtNTkxNDQ0MGE1ZTEzOlBUMjNkM2NjZjUxOWQzNDdlYjA0OTJjNDhlZWM3ZTFmMmRiY2ZkZWJhN2Q3YjEzZTY4
|
18
|
+
Accept-Encoding:
|
19
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
Server:
|
26
|
+
- nginx
|
27
|
+
Date:
|
28
|
+
- Wed, 26 Dec 2018 17:05:41 GMT
|
29
|
+
Content-Type:
|
30
|
+
- application/json; charset=utf-8
|
31
|
+
Transfer-Encoding:
|
32
|
+
- chunked
|
33
|
+
Connection:
|
34
|
+
- keep-alive
|
35
|
+
X-Ratelimit-Limit:
|
36
|
+
- '5000'
|
37
|
+
X-Ratelimit-Remaining:
|
38
|
+
- '4998'
|
39
|
+
X-Ratelimit-Reset:
|
40
|
+
- '1545847200'
|
41
|
+
Etag:
|
42
|
+
- W/"cee4642906bf1186f73342fb95ccb39a"
|
43
|
+
Cache-Control:
|
44
|
+
- max-age=0, private, must-revalidate
|
45
|
+
X-Request-Id:
|
46
|
+
- 7e593b0d-b045-43e1-859f-0e7ce1ed265e
|
47
|
+
X-Runtime:
|
48
|
+
- '0.080638'
|
49
|
+
Strict-Transport-Security:
|
50
|
+
- max-age=15768000; includeSubDomains
|
51
|
+
Content-Security-Policy:
|
52
|
+
- default-src * blob:; connect-src 'self' 'unsafe-inline' wss://*.signalwire.com
|
53
|
+
https://cdn.signalwire.com https://signalwire.s3-us-west-2.amazonaws.com https://api.stripe.com
|
54
|
+
https://www.google-analytics.com https://app.termly.io https://developer.livehelpnow.net
|
55
|
+
wss://app.livehelpnow.net; frame-src 'self' https://www.youtube.com https://youtube.com
|
56
|
+
https://cdn.signalwire.com https://js.stripe.com https://app.termly.io; child-src
|
57
|
+
'self' 'unsafe-inline' https://cdn.signalwire.com https://js.stripe.com blob:;
|
58
|
+
style-src 'self' 'unsafe-inline' https://cdn.signalwire.com https://fonts.gstatic.com
|
59
|
+
https://fonts.googleapis.com https://developer.livehelpnow.net; worker-src
|
60
|
+
'self' 'unsafe-inline' https://cdn.signalwire.com https://js.stripe.com blob:;
|
61
|
+
script-src 'self' 'unsafe-inline' https://cdn.signalwire.com https://www.google-analytics.com
|
62
|
+
https://www.googletagmanager.com https://js.stripe.com https://connect.facebook.net
|
63
|
+
https://app.termly.io https://developer.livehelpnow.net; font-src 'self' 'unsafe-inline'
|
64
|
+
https://cdn.signalwire.com https://fonts.gstatic.com https://fonts.googleapis.com
|
65
|
+
https://cdn.livehelpnow.net;
|
66
|
+
body:
|
67
|
+
encoding: UTF-8
|
68
|
+
string: '{"uri":"/api/laml/2010-04-01/Accounts/29bba2d4-ddf1-4569-8b4a-5914440a5e13/Transcriptions?Page=0\u0026PageSize=50","first_page_uri":"/api/laml/2010-04-01/Accounts/29bba2d4-ddf1-4569-8b4a-5914440a5e13/Transcriptions?Page=0\u0026PageSize=50","next_page_uri":null,"previous_page_uri":null,"page":0,"page_size":50,"transcriptions":[{"sid":"425e8224-c4b0-4725-ab2c-ec9d41adbbe9","api_version":"2010-04-01","account_sid":"29bba2d4-ddf1-4569-8b4a-5914440a5e13","recording_sid":"e4c78e17-c0e2-441d-b5dd-39a6dad496f8","date_created":"Wed,
|
69
|
+
19 Dec 2018 16:28:16 +0000","date_updated":"Wed, 19 Dec 2018 16:30:04 +0000","duration":14,"price":0.0,"price_unit":"USD","status":"completed","transcription_text":"Hello.
|
70
|
+
Hello? Hello? Hello? Hello? Hello? Recording. Recording, Recording, Recording,
|
71
|
+
recording. Hang up. Hello?","uri":"/api/laml/2010-04-01/Accounts/29bba2d4-ddf1-4569-8b4a-5914440a5e13/Transcriptions/425e8224-c4b0-4725-ab2c-ec9d41adbbe9.json"}]}'
|
72
|
+
http_version:
|
73
|
+
recorded_at: Wed, 26 Dec 2018 17:05:41 GMT
|
74
|
+
recorded_with: VCR 4.0.0
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: signalwire
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- SignalWire Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-12-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: twilio-ruby
|
@@ -150,6 +150,20 @@ dependencies:
|
|
150
150
|
- - ">="
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: vcr
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
153
167
|
description:
|
154
168
|
email: open.source@signalwire.com
|
155
169
|
executables: []
|
@@ -162,9 +176,9 @@ files:
|
|
162
176
|
- ".rspec"
|
163
177
|
- ".rubocop.yml"
|
164
178
|
- AUTHORS.md
|
179
|
+
- CHANGELOG.md
|
165
180
|
- Dockerfile
|
166
181
|
- Gemfile
|
167
|
-
- Gemfile.lock
|
168
182
|
- Guardfile
|
169
183
|
- LICENSE.txt
|
170
184
|
- Makefile
|
@@ -175,16 +189,25 @@ files:
|
|
175
189
|
- lib/signalwire/sdk.rb
|
176
190
|
- lib/signalwire/sdk/configuration.rb
|
177
191
|
- lib/signalwire/sdk/domain.rb
|
192
|
+
- lib/signalwire/sdk/fax_response.rb
|
178
193
|
- lib/signalwire/sdk/messaging_response.rb
|
179
194
|
- lib/signalwire/sdk/twilio_set_host.rb
|
180
195
|
- lib/signalwire/sdk/voice_response.rb
|
181
196
|
- signalwire.gemspec
|
182
197
|
- spec/signalwire/rest/client_spec.rb
|
198
|
+
- spec/signalwire/rest/integration_spec.rb
|
183
199
|
- spec/signalwire/sdk/configuration_spec.rb
|
200
|
+
- spec/signalwire/sdk/fax_response_spec.rb
|
184
201
|
- spec/signalwire/sdk/messaging_response_spec.rb
|
185
202
|
- spec/signalwire/sdk/voice_response_spec.rb
|
186
203
|
- spec/signalwire/sdk_spec.rb
|
187
204
|
- spec/spec_helper.rb
|
205
|
+
- spec/vcr_cassettes/accounts.yml
|
206
|
+
- spec/vcr_cassettes/applications.yml
|
207
|
+
- spec/vcr_cassettes/local_numbers.yml
|
208
|
+
- spec/vcr_cassettes/recordings.yml
|
209
|
+
- spec/vcr_cassettes/toll_free_numbers.yml
|
210
|
+
- spec/vcr_cassettes/transcriptions.yml
|
188
211
|
homepage: http://github.com/signalwire/signalwire-ruby
|
189
212
|
licenses:
|
190
213
|
- MIT
|
data/Gemfile.lock
DELETED
@@ -1,156 +0,0 @@
|
|
1
|
-
GEM
|
2
|
-
remote: https://rubygems.org/
|
3
|
-
specs:
|
4
|
-
addressable (2.5.2)
|
5
|
-
public_suffix (>= 2.0.2, < 4.0)
|
6
|
-
ast (2.4.0)
|
7
|
-
builder (3.2.3)
|
8
|
-
bundler-audit (0.6.0)
|
9
|
-
bundler (~> 1.2)
|
10
|
-
thor (~> 0.18)
|
11
|
-
coderay (1.1.2)
|
12
|
-
crack (0.4.3)
|
13
|
-
safe_yaml (~> 1.0.0)
|
14
|
-
descendants_tracker (0.0.4)
|
15
|
-
thread_safe (~> 0.3, >= 0.3.1)
|
16
|
-
diff-lcs (1.3)
|
17
|
-
docile (1.3.1)
|
18
|
-
faraday (0.12.2)
|
19
|
-
multipart-post (>= 1.2, < 3)
|
20
|
-
ffi (1.9.25)
|
21
|
-
formatador (0.2.5)
|
22
|
-
git (1.4.0)
|
23
|
-
github_api (0.18.2)
|
24
|
-
addressable (~> 2.4)
|
25
|
-
descendants_tracker (~> 0.0.4)
|
26
|
-
faraday (~> 0.8)
|
27
|
-
hashie (~> 3.5, >= 3.5.2)
|
28
|
-
oauth2 (~> 1.0)
|
29
|
-
guard (2.14.2)
|
30
|
-
formatador (>= 0.2.4)
|
31
|
-
listen (>= 2.7, < 4.0)
|
32
|
-
lumberjack (>= 1.0.12, < 2.0)
|
33
|
-
nenv (~> 0.1)
|
34
|
-
notiffany (~> 0.0)
|
35
|
-
pry (>= 0.9.12)
|
36
|
-
shellany (~> 0.0)
|
37
|
-
thor (>= 0.18.1)
|
38
|
-
guard-compat (1.2.1)
|
39
|
-
guard-rspec (4.7.3)
|
40
|
-
guard (~> 2.1)
|
41
|
-
guard-compat (~> 1.1)
|
42
|
-
rspec (>= 2.99.0, < 4.0)
|
43
|
-
hashdiff (0.3.7)
|
44
|
-
hashie (3.5.7)
|
45
|
-
highline (2.0.0)
|
46
|
-
jaro_winkler (1.5.1)
|
47
|
-
json (1.8.6)
|
48
|
-
juwelier (2.1.3)
|
49
|
-
builder
|
50
|
-
bundler (>= 1.13)
|
51
|
-
git (>= 1.2.5)
|
52
|
-
github_api
|
53
|
-
highline (>= 1.6.15)
|
54
|
-
nokogiri (>= 1.5.10)
|
55
|
-
rake
|
56
|
-
rdoc
|
57
|
-
semver
|
58
|
-
jwt (1.5.6)
|
59
|
-
listen (3.1.5)
|
60
|
-
rb-fsevent (~> 0.9, >= 0.9.4)
|
61
|
-
rb-inotify (~> 0.9, >= 0.9.7)
|
62
|
-
ruby_dep (~> 1.2)
|
63
|
-
lumberjack (1.0.13)
|
64
|
-
method_source (0.9.0)
|
65
|
-
mini_portile2 (2.3.0)
|
66
|
-
multi_json (1.13.1)
|
67
|
-
multi_xml (0.6.0)
|
68
|
-
multipart-post (2.0.0)
|
69
|
-
nenv (0.3.0)
|
70
|
-
nokogiri (1.8.4)
|
71
|
-
mini_portile2 (~> 2.3.0)
|
72
|
-
notiffany (0.1.1)
|
73
|
-
nenv (~> 0.1)
|
74
|
-
shellany (~> 0.0)
|
75
|
-
oauth2 (1.4.0)
|
76
|
-
faraday (>= 0.8, < 0.13)
|
77
|
-
jwt (~> 1.0)
|
78
|
-
multi_json (~> 1.3)
|
79
|
-
multi_xml (~> 0.5)
|
80
|
-
rack (>= 1.2, < 3)
|
81
|
-
parallel (1.12.1)
|
82
|
-
parser (2.5.1.2)
|
83
|
-
ast (~> 2.4.0)
|
84
|
-
powerpack (0.1.2)
|
85
|
-
pry (0.11.3)
|
86
|
-
coderay (~> 1.1.0)
|
87
|
-
method_source (~> 0.9.0)
|
88
|
-
public_suffix (3.0.2)
|
89
|
-
rack (2.0.5)
|
90
|
-
rainbow (3.0.0)
|
91
|
-
rake (12.3.1)
|
92
|
-
rb-fsevent (0.10.3)
|
93
|
-
rb-inotify (0.9.10)
|
94
|
-
ffi (>= 0.5.0, < 2)
|
95
|
-
rdoc (3.12.2)
|
96
|
-
json (~> 1.4)
|
97
|
-
rspec (3.5.0)
|
98
|
-
rspec-core (~> 3.5.0)
|
99
|
-
rspec-expectations (~> 3.5.0)
|
100
|
-
rspec-mocks (~> 3.5.0)
|
101
|
-
rspec-core (3.5.4)
|
102
|
-
rspec-support (~> 3.5.0)
|
103
|
-
rspec-expectations (3.5.0)
|
104
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
105
|
-
rspec-support (~> 3.5.0)
|
106
|
-
rspec-mocks (3.5.0)
|
107
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
108
|
-
rspec-support (~> 3.5.0)
|
109
|
-
rspec-support (3.5.0)
|
110
|
-
rubocop (0.58.1)
|
111
|
-
jaro_winkler (~> 1.5.1)
|
112
|
-
parallel (~> 1.10)
|
113
|
-
parser (>= 2.5, != 2.5.1.1)
|
114
|
-
powerpack (~> 0.1)
|
115
|
-
rainbow (>= 2.2.2, < 4.0)
|
116
|
-
ruby-progressbar (~> 1.7)
|
117
|
-
unicode-display_width (~> 1.0, >= 1.0.1)
|
118
|
-
ruby-progressbar (1.9.0)
|
119
|
-
ruby_dep (1.5.0)
|
120
|
-
safe_yaml (1.0.4)
|
121
|
-
semver (1.0.1)
|
122
|
-
shellany (0.0.1)
|
123
|
-
simplecov (0.16.1)
|
124
|
-
docile (~> 1.1)
|
125
|
-
json (>= 1.8, < 3)
|
126
|
-
simplecov-html (~> 0.10.0)
|
127
|
-
simplecov-html (0.10.2)
|
128
|
-
thor (0.20.0)
|
129
|
-
thread_safe (0.3.6)
|
130
|
-
twilio-ruby (5.12.3)
|
131
|
-
faraday (~> 0.9)
|
132
|
-
jwt (>= 1.5, <= 2.5)
|
133
|
-
nokogiri (>= 1.6, < 2.0)
|
134
|
-
unicode-display_width (1.4.0)
|
135
|
-
webmock (3.4.2)
|
136
|
-
addressable (>= 2.3.6)
|
137
|
-
crack (>= 0.3.2)
|
138
|
-
hashdiff
|
139
|
-
|
140
|
-
PLATFORMS
|
141
|
-
ruby
|
142
|
-
|
143
|
-
DEPENDENCIES
|
144
|
-
bundler (~> 1.0)
|
145
|
-
bundler-audit
|
146
|
-
guard-rspec
|
147
|
-
juwelier (~> 2.1.0)
|
148
|
-
rdoc (~> 3.12)
|
149
|
-
rspec (~> 3.5.0)
|
150
|
-
rubocop
|
151
|
-
simplecov
|
152
|
-
twilio-ruby (~> 5.0)
|
153
|
-
webmock
|
154
|
-
|
155
|
-
BUNDLED WITH
|
156
|
-
1.16.1
|