twilio-ruby 6.12.1 → 7.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/test-and-deploy.yml +5 -5
- data/CHANGES.md +72 -1
- data/README.md +2 -2
- data/UPGRADE.md +11 -0
- data/lib/twilio-ruby/framework/request.rb +8 -1
- data/lib/twilio-ruby/http/http_client.rb +10 -3
- data/lib/twilio-ruby/rest/api/v2010/account/call/payment.rb +0 -2
- data/lib/twilio-ruby/rest/api/v2010/account/call.rb +22 -22
- data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +22 -22
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension.rb +0 -2
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on.rb +0 -2
- data/lib/twilio-ruby/rest/client.rb +8 -3
- data/lib/twilio-ruby/rest/content/v1/content/approval_create.rb +184 -0
- data/lib/twilio-ruby/rest/content/v1/content/approval_fetch.rb +11 -13
- data/lib/twilio-ruby/rest/content/v1/content.rb +422 -3
- data/lib/twilio-ruby/rest/content/v1/content_and_approvals.rb +1 -1
- data/lib/twilio-ruby/rest/content/v1/legacy_content.rb +1 -1
- data/lib/twilio-ruby/rest/conversations/v1/conversation.rb +6 -6
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation.rb +6 -6
- data/lib/twilio-ruby/rest/flex_api/v1/assessments.rb +0 -2
- data/lib/twilio-ruby/rest/flex_api/v1/configuration.rb +26 -0
- data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires.rb +0 -2
- data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_category.rb +0 -2
- data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_question.rb +0 -2
- data/lib/twilio-ruby/rest/flex_api/v1/insights_session.rb +0 -2
- data/lib/twilio-ruby/rest/flex_api/v1/insights_user_roles.rb +0 -2
- data/lib/twilio-ruby/rest/flex_api/v1/plugin/plugin_versions.rb +6 -0
- data/lib/twilio-ruby/rest/flex_api/v1/provisioning_status.rb +0 -2
- data/lib/twilio-ruby/rest/frontline_api/v1/user.rb +0 -2
- data/lib/twilio-ruby/rest/insights/v1/call/annotation.rb +0 -2
- data/lib/twilio-ruby/rest/insights/v1/room/participant.rb +0 -2
- data/lib/twilio-ruby/rest/insights/v1/room.rb +0 -2
- data/lib/twilio-ruby/rest/intelligence/v2/service.rb +0 -2
- data/lib/twilio-ruby/rest/intelligence/v2/transcript/media.rb +0 -2
- data/lib/twilio-ruby/rest/intelligence/v2/transcript/operator_result.rb +0 -2
- data/lib/twilio-ruby/rest/intelligence/v2/transcript.rb +0 -2
- data/lib/twilio-ruby/rest/lookups/v2/phone_number.rb +17 -6
- data/lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_vetting.rb +0 -2
- data/lib/twilio-ruby/rest/messaging/v1/brand_registration.rb +0 -2
- data/lib/twilio-ruby/rest/messaging/v1/domain_certs.rb +0 -2
- data/lib/twilio-ruby/rest/messaging/v1/domain_config.rb +0 -2
- data/lib/twilio-ruby/rest/messaging/v1/domain_config_messaging_service.rb +0 -2
- data/lib/twilio-ruby/rest/messaging/v1/linkshortening_messaging_service.rb +0 -2
- data/lib/twilio-ruby/rest/messaging/v1/linkshortening_messaging_service_domain_association.rb +0 -2
- data/lib/twilio-ruby/rest/messaging/v1/service/alpha_sender.rb +0 -2
- data/lib/twilio-ruby/rest/messaging/v1/service/channel_sender.rb +0 -2
- data/lib/twilio-ruby/rest/messaging/v1/service/phone_number.rb +0 -2
- data/lib/twilio-ruby/rest/messaging/v1/service/short_code.rb +0 -2
- data/lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person.rb +0 -2
- data/lib/twilio-ruby/rest/messaging/v1/service.rb +7 -2
- data/lib/twilio-ruby/rest/messaging/v1/tollfree_verification.rb +0 -2
- data/lib/twilio-ruby/rest/microvisor/v1/account_config.rb +0 -2
- data/lib/twilio-ruby/rest/microvisor/v1/account_secret.rb +0 -2
- data/lib/twilio-ruby/rest/microvisor/v1/app/app_manifest.rb +0 -2
- data/lib/twilio-ruby/rest/microvisor/v1/app.rb +0 -2
- data/lib/twilio-ruby/rest/microvisor/v1/device/device_config.rb +0 -2
- data/lib/twilio-ruby/rest/microvisor/v1/device/device_secret.rb +0 -2
- data/lib/twilio-ruby/rest/microvisor/v1/device.rb +0 -2
- data/lib/twilio-ruby/rest/notify/v1/credential.rb +0 -2
- data/lib/twilio-ruby/rest/notify/v1/service/binding.rb +0 -2
- data/lib/twilio-ruby/rest/notify/v1/service.rb +0 -2
- data/lib/twilio-ruby/rest/numbers/v1/bulk_eligibility.rb +16 -3
- data/lib/twilio-ruby/rest/numbers/v1/eligibility.rb +127 -0
- data/lib/twilio-ruby/rest/numbers/v1/porting_bulk_portability.rb +0 -2
- data/lib/twilio-ruby/rest/numbers/v1/porting_port_in.rb +134 -0
- data/lib/twilio-ruby/rest/numbers/v1/porting_port_in_fetch.rb +7 -2
- data/lib/twilio-ruby/rest/numbers/v1/porting_portability.rb +0 -2
- data/lib/twilio-ruby/rest/numbers/v1.rb +12 -0
- data/lib/twilio-ruby/rest/numbers/v2/authorization_document.rb +0 -2
- data/lib/twilio-ruby/rest/numbers/v2/bulk_hosted_number_order.rb +16 -3
- data/lib/twilio-ruby/rest/numbers/v2/hosted_number_order.rb +0 -2
- data/lib/twilio-ruby/rest/oauth/v1/authorize.rb +143 -0
- data/lib/twilio-ruby/rest/oauth/v1/token.rb +181 -0
- data/lib/twilio-ruby/rest/oauth/v1.rb +46 -0
- data/lib/twilio-ruby/rest/{media.rb → oauth.rb} +1 -1
- data/lib/twilio-ruby/rest/{media_base.rb → oauth_base.rb} +6 -6
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/certificate.rb +0 -2
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/deployment.rb +0 -2
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/device.rb +0 -2
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/key.rb +0 -2
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet.rb +0 -2
- data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document.rb +0 -2
- data/lib/twilio-ruby/rest/preview/hosted_numbers/hosted_number_order.rb +0 -2
- data/lib/twilio-ruby/rest/preview/marketplace/available_add_on/available_add_on_extension.rb +0 -2
- data/lib/twilio-ruby/rest/preview/marketplace/available_add_on.rb +0 -2
- data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on/installed_add_on_extension.rb +0 -2
- data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on.rb +0 -2
- data/lib/twilio-ruby/rest/preview/sync/service/document/document_permission.rb +0 -2
- data/lib/twilio-ruby/rest/preview/sync/service/document.rb +0 -2
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_item.rb +0 -2
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_permission.rb +0 -2
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list.rb +0 -2
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_item.rb +0 -2
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_permission.rb +0 -2
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map.rb +0 -2
- data/lib/twilio-ruby/rest/preview/sync/service.rb +0 -2
- data/lib/twilio-ruby/rest/preview/wireless/command.rb +0 -2
- data/lib/twilio-ruby/rest/preview/wireless/rate_plan.rb +0 -2
- data/lib/twilio-ruby/rest/preview/wireless/sim/usage.rb +0 -2
- data/lib/twilio-ruby/rest/preview/wireless/sim.rb +0 -2
- data/lib/twilio-ruby/rest/preview_messaging/v1/broadcast.rb +164 -0
- data/lib/twilio-ruby/rest/preview_messaging/v1/message.rb +235 -0
- data/lib/twilio-ruby/rest/preview_messaging/v1.rb +46 -0
- data/lib/twilio-ruby/rest/preview_messaging.rb +12 -0
- data/lib/twilio-ruby/rest/preview_messaging_base.rb +38 -0
- data/lib/twilio-ruby/rest/proxy/v1/service/phone_number.rb +0 -2
- data/lib/twilio-ruby/rest/proxy/v1/service/session/interaction.rb +0 -2
- data/lib/twilio-ruby/rest/proxy/v1/service/session/participant/message_interaction.rb +0 -2
- data/lib/twilio-ruby/rest/proxy/v1/service/session/participant.rb +0 -2
- data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +0 -2
- data/lib/twilio-ruby/rest/proxy/v1/service/short_code.rb +0 -2
- data/lib/twilio-ruby/rest/proxy/v1/service.rb +0 -2
- data/lib/twilio-ruby/rest/serverless/v1/service/asset/asset_version.rb +0 -2
- data/lib/twilio-ruby/rest/serverless/v1/service/asset.rb +0 -2
- data/lib/twilio-ruby/rest/serverless/v1/service/build/build_status.rb +0 -2
- data/lib/twilio-ruby/rest/serverless/v1/service/build.rb +0 -2
- data/lib/twilio-ruby/rest/serverless/v1/service/environment/deployment.rb +0 -2
- data/lib/twilio-ruby/rest/serverless/v1/service/environment/log.rb +0 -2
- data/lib/twilio-ruby/rest/serverless/v1/service/environment/variable.rb +0 -2
- data/lib/twilio-ruby/rest/serverless/v1/service/environment.rb +0 -2
- data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version/function_version_content.rb +0 -2
- data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version.rb +0 -2
- data/lib/twilio-ruby/rest/serverless/v1/service/function.rb +0 -2
- data/lib/twilio-ruby/rest/serverless/v1/service.rb +0 -2
- data/lib/twilio-ruby/rest/supersim/v1/esim_profile.rb +0 -2
- data/lib/twilio-ruby/rest/supersim/v1/fleet.rb +0 -2
- data/lib/twilio-ruby/rest/supersim/v1/ip_command.rb +0 -2
- data/lib/twilio-ruby/rest/supersim/v1/network.rb +0 -2
- data/lib/twilio-ruby/rest/supersim/v1/network_access_profile/network_access_profile_network.rb +0 -2
- data/lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb +0 -2
- data/lib/twilio-ruby/rest/supersim/v1/sim.rb +0 -2
- data/lib/twilio-ruby/rest/supersim/v1/sms_command.rb +0 -2
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_bulk_real_time_statistics.rb +163 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue.rb +8 -8
- data/lib/twilio-ruby/rest/trusthub/v1/compliance_registration_inquiries.rb +95 -4
- data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_entity_assignments.rb +9 -3
- data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_entity_assignments.rb +9 -3
- data/lib/twilio-ruby/rest/trusthub/v1/trust_products.rb +18 -18
- data/lib/twilio-ruby/rest/trusthub/v1.rb +12 -3
- data/lib/twilio-ruby/rest/verify/v2/form.rb +0 -2
- data/lib/twilio-ruby/rest/verify/v2/safelist.rb +0 -2
- data/lib/twilio-ruby/rest/verify/v2/service.rb +25 -0
- data/lib/twilio-ruby/rest/voice/v1/archived_call.rb +0 -2
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country.rb +0 -2
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/settings.rb +0 -2
- data/lib/twilio-ruby/version.rb +1 -1
- metadata +16 -9
- data/lib/twilio-ruby/rest/media/v1/media_processor.rb +0 -424
- data/lib/twilio-ruby/rest/media/v1/media_recording.rb +0 -407
- data/lib/twilio-ruby/rest/media/v1/player_streamer/playback_grant.rb +0 -255
- data/lib/twilio-ruby/rest/media/v1/player_streamer.rb +0 -436
- data/lib/twilio-ruby/rest/media/v1.rb +0 -79
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 87282b59934c59ef97afb9ec219bf3e4b84834b1
|
|
4
|
+
data.tar.gz: daab71d45a3dd7d2cf1a92b54303506c1f474de6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 675d66180d805096fc40152ec2de327a00a28e2bcd96784c454b3859a2aa51da4c70651822f9a99a581d8984f91940017b388d096b464db35f5917b204f6da21
|
|
7
|
+
data.tar.gz: 53c10c95ff94ee894cac40055152f0f439cd7c32dc51276839231673b5abf9fb82d88b11883730e5ef01ced4b50cd2fc7264baa68333efb799d82c657cdbb586
|
|
@@ -48,11 +48,11 @@ jobs:
|
|
|
48
48
|
- name: Run Cluster Test
|
|
49
49
|
if: (!github.event.pull_request.head.repo.fork)
|
|
50
50
|
env:
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
51
|
+
TWILIO_ACCOUNT_SID: ${{ secrets.TWILIO_ACCOUNT_SID }}
|
|
52
|
+
TWILIO_API_KEY: ${{ secrets.TWILIO_CLUSTER_TEST_API_KEY}}
|
|
53
|
+
TWILIO_API_SECRET: ${{ secrets.TWILIO_CLUSTER_TEST_API_KEY_SECRET }}
|
|
54
|
+
TWILIO_FROM_NUMBER: ${{ secrets.TWILIO_FROM_NUMBER }}
|
|
55
|
+
TWILIO_TO_NUMBER: ${{ secrets.TWILIO_TO_NUMBER }}
|
|
56
56
|
run: make cluster-test
|
|
57
57
|
|
|
58
58
|
- name: Fix code coverage paths
|
data/CHANGES.md
CHANGED
|
@@ -1,5 +1,76 @@
|
|
|
1
1
|
twilio-ruby changelog
|
|
2
|
-
=====================
|
|
2
|
+
=====================
|
|
3
|
+
|
|
4
|
+
[2024-04-04] Version 7.0.1
|
|
5
|
+
--------------------------
|
|
6
|
+
**Api**
|
|
7
|
+
- Correct conference filtering by date_created and date_updated documentation, clarifying that times are UTC.
|
|
8
|
+
|
|
9
|
+
**Flex**
|
|
10
|
+
- Remove optional parameter from `plugins` and it to `plugin_versions`
|
|
11
|
+
|
|
12
|
+
**Lookups**
|
|
13
|
+
- Add new `pre_fill` package to the lookup response
|
|
14
|
+
|
|
15
|
+
**Messaging**
|
|
16
|
+
- Cleanup api.messaging.next-gen from Messaging Services endpoints
|
|
17
|
+
- Readd Sending-Window after fixing test failure
|
|
18
|
+
|
|
19
|
+
**Verify**
|
|
20
|
+
- Add `whatsapp.msg_service_sid` and `whatsapp.from` parameters to create, update, get and list of services endpoints
|
|
21
|
+
|
|
22
|
+
**Voice**
|
|
23
|
+
- Correct conference filtering by date_created and date_updated documentation, clarifying that times are UTC.
|
|
24
|
+
|
|
25
|
+
**Twiml**
|
|
26
|
+
- Add new `token_type` value `payment-method` for `Pay` verb
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
[2024-04-01] Version 7.0.0
|
|
30
|
+
--------------------------
|
|
31
|
+
**Note:** This release contains breaking changes, check our [upgrade guide](./UPGRADE.md#2024-01-19-6xx-to-7xx) for detailed migration notes.
|
|
32
|
+
|
|
33
|
+
**Library - Feature**
|
|
34
|
+
- [PR #719](https://github.com/twilio/twilio-ruby/pull/719): Merge '7.0.0-rc' into main. Thanks to [@tiwarishubham635](https://github.com/tiwarishubham635)! **(breaking change)**
|
|
35
|
+
|
|
36
|
+
**Library - Chore**
|
|
37
|
+
- [PR #715](https://github.com/twilio/twilio-ruby/pull/715): remove media endpoint. Thanks to [@tiwarishubham635](https://github.com/tiwarishubham635)!
|
|
38
|
+
|
|
39
|
+
**Api**
|
|
40
|
+
- Add property `queue_time` to conference participant resource
|
|
41
|
+
- Update RiskCheck documentation
|
|
42
|
+
- Correct call filtering by start and end time documentation, clarifying that times are UTC.
|
|
43
|
+
|
|
44
|
+
**Flex**
|
|
45
|
+
- Adding optional parameter to `plugins`
|
|
46
|
+
|
|
47
|
+
**Media**
|
|
48
|
+
- Remove API: MediaProcessor
|
|
49
|
+
|
|
50
|
+
**Messaging**
|
|
51
|
+
- Remove Sending-Window due to test failure
|
|
52
|
+
- Add Sending-Window as a response property to Messaging Services, gated by a beta feature flag
|
|
53
|
+
|
|
54
|
+
**Numbers**
|
|
55
|
+
- Correct valid_until_date field to be visible in Bundles resource
|
|
56
|
+
- Adding port_in_status field to the Port In resource and phone_number_status and sid fields to the Port In Phone Number resource
|
|
57
|
+
|
|
58
|
+
**Oauth**
|
|
59
|
+
- Modified token endpoint response
|
|
60
|
+
- Added refresh_token and scope as optional parameter to token endpoint
|
|
61
|
+
- Add new APIs for vendor authorize and token endpoints
|
|
62
|
+
|
|
63
|
+
**Trusthub**
|
|
64
|
+
- Add update inquiry endpoint in compliance_registration.
|
|
65
|
+
- Add new field in themeSetId in compliance_registration.
|
|
66
|
+
|
|
67
|
+
**Voice**
|
|
68
|
+
- Correct call filtering by start and end time documentation, clarifying that times are UTC.
|
|
69
|
+
|
|
70
|
+
**Twiml**
|
|
71
|
+
- Add support for new Google voices (Q1 2024) for `Say` verb - gu-IN voices
|
|
72
|
+
- Add support for new Amazon Polly and Google voices (Q1 2024) for `Say` verb - Niamh (en-IE) and Sofie (da-DK) voices
|
|
73
|
+
|
|
3
74
|
|
|
4
75
|
[2024-03-12] Version 6.12.1
|
|
5
76
|
---------------------------
|
data/README.md
CHANGED
|
@@ -39,13 +39,13 @@ This library supports the following Ruby implementations:
|
|
|
39
39
|
To install using [Bundler][bundler] grab the latest stable version:
|
|
40
40
|
|
|
41
41
|
```ruby
|
|
42
|
-
gem 'twilio-ruby', '~>
|
|
42
|
+
gem 'twilio-ruby', '~> 7.0.1'
|
|
43
43
|
```
|
|
44
44
|
|
|
45
45
|
To manually install `twilio-ruby` via [Rubygems][rubygems] simply gem install:
|
|
46
46
|
|
|
47
47
|
```bash
|
|
48
|
-
gem install twilio-ruby -v
|
|
48
|
+
gem install twilio-ruby -v 7.0.1
|
|
49
49
|
```
|
|
50
50
|
|
|
51
51
|
To build and install the development branch yourself from the latest source:
|
data/UPGRADE.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
_After `5.0.0` all `MINOR` and `MAJOR` version bumps will have upgrade notes
|
|
4
4
|
posted here._
|
|
5
5
|
|
|
6
|
+
[2024-01-19] 6.x.x to 7.x.x
|
|
7
|
+
-----------------------------
|
|
8
|
+
### Overview
|
|
9
|
+
|
|
10
|
+
##### Twilio Ruby Helper Library’s major version 7.0.0 is now available. We ensured that you can upgrade to Ruby helper Library 7.0.0 version without any breaking changes of existing apis
|
|
11
|
+
|
|
12
|
+
Behind the scenes Ruby Helper is now auto-generated via OpenAPI with this release. This enables us to rapidly add new features and enhance consistency across versions and languages.
|
|
13
|
+
We're pleased to inform you that version 7.0.0 adds support for the application/json content type in the request body.
|
|
14
|
+
|
|
15
|
+
To learn more about the Ruby Helper Library, check out [our docs](https://www.twilio.com/docs/libraries/ruby).
|
|
16
|
+
|
|
6
17
|
[2023-05-03] 5.x.x to 6.x.x
|
|
7
18
|
-----------------------------
|
|
8
19
|
### Overview
|
|
@@ -32,7 +32,14 @@ module Twilio
|
|
|
32
32
|
data = ''
|
|
33
33
|
unless @data.nil? || @data.empty?
|
|
34
34
|
data = @method.equal?('GET') ? "\n -G" : "\n"
|
|
35
|
-
data += @
|
|
35
|
+
data += case @headers['Content-Type']
|
|
36
|
+
when 'application/x-www-form-urlencoded'
|
|
37
|
+
@data.each.map { |key, value| "-d \"#{key}\"=\"#{value}\"" }.join("\n")
|
|
38
|
+
when 'application/json'
|
|
39
|
+
"-d '#{JSON.generate(@data)}'"
|
|
40
|
+
else
|
|
41
|
+
@data.each.map { |key, value| "-d \"#{key}\"=\"#{value}\"" }.join("\n")
|
|
42
|
+
end
|
|
36
43
|
end
|
|
37
44
|
|
|
38
45
|
"#{auth} #{@method} #{@url}#{params}#{data}#{headers}"
|
|
@@ -9,11 +9,10 @@ module Twilio
|
|
|
9
9
|
attr_reader :timeout, :last_response, :last_request, :connection
|
|
10
10
|
|
|
11
11
|
def initialize(proxy_prot = nil, proxy_addr = nil, proxy_port = nil, proxy_user = nil, proxy_pass = nil,
|
|
12
|
-
|
|
12
|
+
timeout: nil)
|
|
13
13
|
@proxy_prot = proxy_prot
|
|
14
14
|
@proxy_path = "#{proxy_addr}:#{proxy_port}" if proxy_addr && proxy_port
|
|
15
15
|
@proxy_auth = "#{proxy_user}:#{proxy_pass}@" if proxy_pass && proxy_user
|
|
16
|
-
@ssl_ca_file = ssl_ca_file
|
|
17
16
|
@timeout = timeout
|
|
18
17
|
@adapter = Faraday.default_adapter
|
|
19
18
|
@configure_connection_blocks = []
|
|
@@ -27,9 +26,17 @@ module Twilio
|
|
|
27
26
|
end
|
|
28
27
|
|
|
29
28
|
def _request(request) # rubocop:disable Metrics/MethodLength
|
|
29
|
+
middle_ware = case request.headers['Content-Type']
|
|
30
|
+
when 'application/json'
|
|
31
|
+
:json
|
|
32
|
+
when 'application/x-www-form-urlencoded'
|
|
33
|
+
:url_encoded
|
|
34
|
+
else
|
|
35
|
+
:url_encoded
|
|
36
|
+
end
|
|
30
37
|
@connection = Faraday.new(url: request.host + ':' + request.port.to_s, ssl: { verify: true }) do |f|
|
|
31
38
|
f.options.params_encoder = Faraday::FlatParamsEncoder
|
|
32
|
-
f.request
|
|
39
|
+
f.request(middle_ware)
|
|
33
40
|
f.headers = request.headers
|
|
34
41
|
if Faraday::VERSION.start_with?('2.')
|
|
35
42
|
f.request(:authorization, :basic, request.auth[0], request.auth[1])
|
|
@@ -110,8 +110,6 @@ module Twilio
|
|
|
110
110
|
end
|
|
111
111
|
|
|
112
112
|
|
|
113
|
-
##
|
|
114
|
-
#PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com.
|
|
115
113
|
class PaymentContext < InstanceContext
|
|
116
114
|
##
|
|
117
115
|
# Initialize the PaymentContext
|
|
@@ -164,12 +164,12 @@ module Twilio
|
|
|
164
164
|
# @param [String] from Only include calls from this phone number, SIP address, Client identifier or SIM SID.
|
|
165
165
|
# @param [String] parent_call_sid Only include calls spawned by calls with this SID.
|
|
166
166
|
# @param [Status] status The status of the calls to include. Can be: `queued`, `ringing`, `in-progress`, `canceled`, `completed`, `failed`, `busy`, or `no-answer`.
|
|
167
|
-
# @param [Time] start_time Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in
|
|
168
|
-
# @param [Time] start_time_before Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in
|
|
169
|
-
# @param [Time] start_time_after Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in
|
|
170
|
-
# @param [Time] end_time Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in
|
|
171
|
-
# @param [Time] end_time_before Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in
|
|
172
|
-
# @param [Time] end_time_after Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in
|
|
167
|
+
# @param [Time] start_time Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date.
|
|
168
|
+
# @param [Time] start_time_before Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date.
|
|
169
|
+
# @param [Time] start_time_after Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date.
|
|
170
|
+
# @param [Time] end_time Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date.
|
|
171
|
+
# @param [Time] end_time_before Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date.
|
|
172
|
+
# @param [Time] end_time_after Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date.
|
|
173
173
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
|
174
174
|
# guarantees to never return more than limit. Default is no limit
|
|
175
175
|
# @param [Integer] page_size Number of records to fetch per request, when
|
|
@@ -202,12 +202,12 @@ module Twilio
|
|
|
202
202
|
# @param [String] from Only include calls from this phone number, SIP address, Client identifier or SIM SID.
|
|
203
203
|
# @param [String] parent_call_sid Only include calls spawned by calls with this SID.
|
|
204
204
|
# @param [Status] status The status of the calls to include. Can be: `queued`, `ringing`, `in-progress`, `canceled`, `completed`, `failed`, `busy`, or `no-answer`.
|
|
205
|
-
# @param [Time] start_time Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in
|
|
206
|
-
# @param [Time] start_time_before Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in
|
|
207
|
-
# @param [Time] start_time_after Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in
|
|
208
|
-
# @param [Time] end_time Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in
|
|
209
|
-
# @param [Time] end_time_before Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in
|
|
210
|
-
# @param [Time] end_time_after Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in
|
|
205
|
+
# @param [Time] start_time Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date.
|
|
206
|
+
# @param [Time] start_time_before Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date.
|
|
207
|
+
# @param [Time] start_time_after Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date.
|
|
208
|
+
# @param [Time] end_time Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date.
|
|
209
|
+
# @param [Time] end_time_before Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date.
|
|
210
|
+
# @param [Time] end_time_after Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date.
|
|
211
211
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
|
212
212
|
# guarantees to never return more than limit. Default is no limit
|
|
213
213
|
# @param [Integer] page_size Number of records to fetch per request, when
|
|
@@ -255,12 +255,12 @@ module Twilio
|
|
|
255
255
|
# @param [String] from Only include calls from this phone number, SIP address, Client identifier or SIM SID.
|
|
256
256
|
# @param [String] parent_call_sid Only include calls spawned by calls with this SID.
|
|
257
257
|
# @param [Status] status The status of the calls to include. Can be: `queued`, `ringing`, `in-progress`, `canceled`, `completed`, `failed`, `busy`, or `no-answer`.
|
|
258
|
-
# @param [Time] start_time Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in
|
|
259
|
-
# @param [Time] start_time_before Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in
|
|
260
|
-
# @param [Time] start_time_after Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in
|
|
261
|
-
# @param [Time] end_time Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in
|
|
262
|
-
# @param [Time] end_time_before Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in
|
|
263
|
-
# @param [Time] end_time_after Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in
|
|
258
|
+
# @param [Time] start_time Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date.
|
|
259
|
+
# @param [Time] start_time_before Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date.
|
|
260
|
+
# @param [Time] start_time_after Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date.
|
|
261
|
+
# @param [Time] end_time Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date.
|
|
262
|
+
# @param [Time] end_time_before Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date.
|
|
263
|
+
# @param [Time] end_time_after Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date.
|
|
264
264
|
# @param [String] page_token PageToken provided by the API
|
|
265
265
|
# @param [Integer] page_number Page Number, this value is simply for client state
|
|
266
266
|
# @param [Integer] page_size Number of records to return, defaults to 50
|
|
@@ -649,13 +649,13 @@ module Twilio
|
|
|
649
649
|
end
|
|
650
650
|
|
|
651
651
|
##
|
|
652
|
-
# @return [Time] The date and time in
|
|
652
|
+
# @return [Time] The date and time in UTC that this resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
|
|
653
653
|
def date_created
|
|
654
654
|
@properties['date_created']
|
|
655
655
|
end
|
|
656
656
|
|
|
657
657
|
##
|
|
658
|
-
# @return [Time] The date and time in
|
|
658
|
+
# @return [Time] The date and time in UTC that this resource was last updated, specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
|
|
659
659
|
def date_updated
|
|
660
660
|
@properties['date_updated']
|
|
661
661
|
end
|
|
@@ -709,13 +709,13 @@ module Twilio
|
|
|
709
709
|
end
|
|
710
710
|
|
|
711
711
|
##
|
|
712
|
-
# @return [Time] The start time of the call, given as
|
|
712
|
+
# @return [Time] The start time of the call, given as UTC in [RFC 2822](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format. Empty if the call has not yet been dialed.
|
|
713
713
|
def start_time
|
|
714
714
|
@properties['start_time']
|
|
715
715
|
end
|
|
716
716
|
|
|
717
717
|
##
|
|
718
|
-
# @return [Time] The time the call ended, given as
|
|
718
|
+
# @return [Time] The time the call ended, given as UTC in [RFC 2822](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format. Empty if the call did not complete successfully.
|
|
719
719
|
def end_time
|
|
720
720
|
@properties['end_time']
|
|
721
721
|
end
|
|
@@ -478,6 +478,7 @@ module Twilio
|
|
|
478
478
|
'hold' => payload['hold'],
|
|
479
479
|
'start_conference_on_enter' => payload['start_conference_on_enter'],
|
|
480
480
|
'status' => payload['status'],
|
|
481
|
+
'queue_time' => payload['queue_time'],
|
|
481
482
|
'uri' => payload['uri'],
|
|
482
483
|
}
|
|
483
484
|
|
|
@@ -575,6 +576,12 @@ module Twilio
|
|
|
575
576
|
@properties['status']
|
|
576
577
|
end
|
|
577
578
|
|
|
579
|
+
##
|
|
580
|
+
# @return [String] The wait time in milliseconds before participant's call is placed. Only available in the response to a create participant request.
|
|
581
|
+
def queue_time
|
|
582
|
+
@properties['queue_time']
|
|
583
|
+
end
|
|
584
|
+
|
|
578
585
|
##
|
|
579
586
|
# @return [String] The URI of the resource, relative to `https://api.twilio.com`.
|
|
580
587
|
def uri
|
|
@@ -37,12 +37,12 @@ module Twilio
|
|
|
37
37
|
# Lists ConferenceInstance records from the API as a list.
|
|
38
38
|
# Unlike stream(), this operation is eager and will load `limit` records into
|
|
39
39
|
# memory before returning.
|
|
40
|
-
# @param [Date] date_created
|
|
41
|
-
# @param [Date] date_created_before
|
|
42
|
-
# @param [Date] date_created_after
|
|
43
|
-
# @param [Date] date_updated
|
|
44
|
-
# @param [Date] date_updated_before
|
|
45
|
-
# @param [Date] date_updated_after
|
|
40
|
+
# @param [Date] date_created Only include conferences that were created on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were created on this date. You can also specify an inequality, such as `DateCreated<=YYYY-MM-DD`, to read conferences that were created on or before midnight of this date, and `DateCreated>=YYYY-MM-DD` to read conferences that were created on or after midnight of this date.
|
|
41
|
+
# @param [Date] date_created_before Only include conferences that were created on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were created on this date. You can also specify an inequality, such as `DateCreated<=YYYY-MM-DD`, to read conferences that were created on or before midnight of this date, and `DateCreated>=YYYY-MM-DD` to read conferences that were created on or after midnight of this date.
|
|
42
|
+
# @param [Date] date_created_after Only include conferences that were created on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were created on this date. You can also specify an inequality, such as `DateCreated<=YYYY-MM-DD`, to read conferences that were created on or before midnight of this date, and `DateCreated>=YYYY-MM-DD` to read conferences that were created on or after midnight of this date.
|
|
43
|
+
# @param [Date] date_updated Only include conferences that were last updated on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were last updated on this date. You can also specify an inequality, such as `DateUpdated<=YYYY-MM-DD`, to read conferences that were last updated on or before midnight of this date, and `DateUpdated>=YYYY-MM-DD` to read conferences that were last updated on or after midnight of this date.
|
|
44
|
+
# @param [Date] date_updated_before Only include conferences that were last updated on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were last updated on this date. You can also specify an inequality, such as `DateUpdated<=YYYY-MM-DD`, to read conferences that were last updated on or before midnight of this date, and `DateUpdated>=YYYY-MM-DD` to read conferences that were last updated on or after midnight of this date.
|
|
45
|
+
# @param [Date] date_updated_after Only include conferences that were last updated on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were last updated on this date. You can also specify an inequality, such as `DateUpdated<=YYYY-MM-DD`, to read conferences that were last updated on or before midnight of this date, and `DateUpdated>=YYYY-MM-DD` to read conferences that were last updated on or after midnight of this date.
|
|
46
46
|
# @param [String] friendly_name The string that identifies the Conference resources to read.
|
|
47
47
|
# @param [Status] status The status of the resources to read. Can be: `init`, `in-progress`, or `completed`.
|
|
48
48
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
|
@@ -71,12 +71,12 @@ module Twilio
|
|
|
71
71
|
# Streams Instance records from the API as an Enumerable.
|
|
72
72
|
# This operation lazily loads records as efficiently as possible until the limit
|
|
73
73
|
# is reached.
|
|
74
|
-
# @param [Date] date_created
|
|
75
|
-
# @param [Date] date_created_before
|
|
76
|
-
# @param [Date] date_created_after
|
|
77
|
-
# @param [Date] date_updated
|
|
78
|
-
# @param [Date] date_updated_before
|
|
79
|
-
# @param [Date] date_updated_after
|
|
74
|
+
# @param [Date] date_created Only include conferences that were created on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were created on this date. You can also specify an inequality, such as `DateCreated<=YYYY-MM-DD`, to read conferences that were created on or before midnight of this date, and `DateCreated>=YYYY-MM-DD` to read conferences that were created on or after midnight of this date.
|
|
75
|
+
# @param [Date] date_created_before Only include conferences that were created on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were created on this date. You can also specify an inequality, such as `DateCreated<=YYYY-MM-DD`, to read conferences that were created on or before midnight of this date, and `DateCreated>=YYYY-MM-DD` to read conferences that were created on or after midnight of this date.
|
|
76
|
+
# @param [Date] date_created_after Only include conferences that were created on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were created on this date. You can also specify an inequality, such as `DateCreated<=YYYY-MM-DD`, to read conferences that were created on or before midnight of this date, and `DateCreated>=YYYY-MM-DD` to read conferences that were created on or after midnight of this date.
|
|
77
|
+
# @param [Date] date_updated Only include conferences that were last updated on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were last updated on this date. You can also specify an inequality, such as `DateUpdated<=YYYY-MM-DD`, to read conferences that were last updated on or before midnight of this date, and `DateUpdated>=YYYY-MM-DD` to read conferences that were last updated on or after midnight of this date.
|
|
78
|
+
# @param [Date] date_updated_before Only include conferences that were last updated on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were last updated on this date. You can also specify an inequality, such as `DateUpdated<=YYYY-MM-DD`, to read conferences that were last updated on or before midnight of this date, and `DateUpdated>=YYYY-MM-DD` to read conferences that were last updated on or after midnight of this date.
|
|
79
|
+
# @param [Date] date_updated_after Only include conferences that were last updated on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were last updated on this date. You can also specify an inequality, such as `DateUpdated<=YYYY-MM-DD`, to read conferences that were last updated on or before midnight of this date, and `DateUpdated>=YYYY-MM-DD` to read conferences that were last updated on or after midnight of this date.
|
|
80
80
|
# @param [String] friendly_name The string that identifies the Conference resources to read.
|
|
81
81
|
# @param [Status] status The status of the resources to read. Can be: `init`, `in-progress`, or `completed`.
|
|
82
82
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
|
@@ -120,12 +120,12 @@ module Twilio
|
|
|
120
120
|
##
|
|
121
121
|
# Retrieve a single page of ConferenceInstance records from the API.
|
|
122
122
|
# Request is executed immediately.
|
|
123
|
-
# @param [Date] date_created
|
|
124
|
-
# @param [Date] date_created_before
|
|
125
|
-
# @param [Date] date_created_after
|
|
126
|
-
# @param [Date] date_updated
|
|
127
|
-
# @param [Date] date_updated_before
|
|
128
|
-
# @param [Date] date_updated_after
|
|
123
|
+
# @param [Date] date_created Only include conferences that were created on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were created on this date. You can also specify an inequality, such as `DateCreated<=YYYY-MM-DD`, to read conferences that were created on or before midnight of this date, and `DateCreated>=YYYY-MM-DD` to read conferences that were created on or after midnight of this date.
|
|
124
|
+
# @param [Date] date_created_before Only include conferences that were created on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were created on this date. You can also specify an inequality, such as `DateCreated<=YYYY-MM-DD`, to read conferences that were created on or before midnight of this date, and `DateCreated>=YYYY-MM-DD` to read conferences that were created on or after midnight of this date.
|
|
125
|
+
# @param [Date] date_created_after Only include conferences that were created on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were created on this date. You can also specify an inequality, such as `DateCreated<=YYYY-MM-DD`, to read conferences that were created on or before midnight of this date, and `DateCreated>=YYYY-MM-DD` to read conferences that were created on or after midnight of this date.
|
|
126
|
+
# @param [Date] date_updated Only include conferences that were last updated on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were last updated on this date. You can also specify an inequality, such as `DateUpdated<=YYYY-MM-DD`, to read conferences that were last updated on or before midnight of this date, and `DateUpdated>=YYYY-MM-DD` to read conferences that were last updated on or after midnight of this date.
|
|
127
|
+
# @param [Date] date_updated_before Only include conferences that were last updated on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were last updated on this date. You can also specify an inequality, such as `DateUpdated<=YYYY-MM-DD`, to read conferences that were last updated on or before midnight of this date, and `DateUpdated>=YYYY-MM-DD` to read conferences that were last updated on or after midnight of this date.
|
|
128
|
+
# @param [Date] date_updated_after Only include conferences that were last updated on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were last updated on this date. You can also specify an inequality, such as `DateUpdated<=YYYY-MM-DD`, to read conferences that were last updated on or before midnight of this date, and `DateUpdated>=YYYY-MM-DD` to read conferences that were last updated on or after midnight of this date.
|
|
129
129
|
# @param [String] friendly_name The string that identifies the Conference resources to read.
|
|
130
130
|
# @param [Status] status The status of the resources to read. Can be: `init`, `in-progress`, or `completed`.
|
|
131
131
|
# @param [String] page_token PageToken provided by the API
|
|
@@ -369,13 +369,13 @@ module Twilio
|
|
|
369
369
|
end
|
|
370
370
|
|
|
371
371
|
##
|
|
372
|
-
# @return [Time] The date and time in
|
|
372
|
+
# @return [Time] The date and time in UTC that this resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
|
|
373
373
|
def date_created
|
|
374
374
|
@properties['date_created']
|
|
375
375
|
end
|
|
376
376
|
|
|
377
377
|
##
|
|
378
|
-
# @return [Time] The date and time in
|
|
378
|
+
# @return [Time] The date and time in UTC that this resource was last updated, specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
|
|
379
379
|
def date_updated
|
|
380
380
|
@properties['date_updated']
|
|
381
381
|
end
|
|
@@ -387,7 +387,7 @@ module Twilio
|
|
|
387
387
|
end
|
|
388
388
|
|
|
389
389
|
##
|
|
390
|
-
# @return [String] A string that you assigned to describe this conference room.
|
|
390
|
+
# @return [String] A string that you assigned to describe this conference room. Maximum length is 128 characters.
|
|
391
391
|
def friendly_name
|
|
392
392
|
@properties['friendly_name']
|
|
393
393
|
end
|
|
@@ -399,7 +399,7 @@ module Twilio
|
|
|
399
399
|
end
|
|
400
400
|
|
|
401
401
|
##
|
|
402
|
-
# @return [String] The unique string
|
|
402
|
+
# @return [String] The unique, Twilio-provided string used to identify this Conference resource.
|
|
403
403
|
def sid
|
|
404
404
|
@properties['sid']
|
|
405
405
|
end
|
|
@@ -128,8 +128,6 @@ module Twilio
|
|
|
128
128
|
end
|
|
129
129
|
|
|
130
130
|
|
|
131
|
-
##
|
|
132
|
-
#PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
|
|
133
131
|
class AssignedAddOnExtensionContext < InstanceContext
|
|
134
132
|
##
|
|
135
133
|
# Initialize the AssignedAddOnExtensionContext
|
|
@@ -82,9 +82,9 @@ module Twilio
|
|
|
82
82
|
@lookups ||= Lookups.new self
|
|
83
83
|
end
|
|
84
84
|
##
|
|
85
|
-
# Access the
|
|
86
|
-
def
|
|
87
|
-
@
|
|
85
|
+
# Access the PreviewMessaging Twilio Domain
|
|
86
|
+
def preview_messaging
|
|
87
|
+
@preview_messaging ||= PreviewMessaging.new self
|
|
88
88
|
end
|
|
89
89
|
##
|
|
90
90
|
# Access the Messaging Twilio Domain
|
|
@@ -112,6 +112,11 @@ module Twilio
|
|
|
112
112
|
@numbers ||= Numbers.new self
|
|
113
113
|
end
|
|
114
114
|
##
|
|
115
|
+
# Access the Oauth Twilio Domain
|
|
116
|
+
def oauth
|
|
117
|
+
@oauth ||= Oauth.new self
|
|
118
|
+
end
|
|
119
|
+
##
|
|
115
120
|
# Access the Preview Twilio Domain
|
|
116
121
|
def preview
|
|
117
122
|
@preview ||= Preview.new self
|