twilio-ruby 7.11.3 → 7.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGES.md +76 -0
- data/Gemfile.lock +2 -2
- data/README.md +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +4 -4
- data/lib/twilio-ruby/rest/content/v1/content.rb +2 -2
- data/lib/twilio-ruby/rest/conversations/v2/action.rb +9 -2
- data/lib/twilio-ruby/rest/conversations/v2/communication.rb +4 -1
- data/lib/twilio-ruby/rest/conversations/v2/configuration.rb +14 -0
- data/lib/twilio-ruby/rest/conversations/v2/conversation.rb +35 -3
- data/lib/twilio-ruby/rest/insights/v1/call/call_summary.rb +1 -1
- data/lib/twilio-ruby/rest/insights/v1/call_summaries.rb +1 -1
- data/lib/twilio-ruby/rest/insights/v3/custom_field_mapping.rb +512 -17
- data/lib/twilio-ruby/rest/insights/v3/{capacity.rb → custom_field_mappings_capacity.rb} +26 -26
- data/lib/twilio-ruby/rest/insights/v3.rb +17 -7
- data/lib/twilio-ruby/rest/memory/v1/conversation_summary.rb +5 -5
- data/lib/twilio-ruby/rest/memory/v1/observation.rb +9 -9
- data/lib/twilio-ruby/rest/memory/v1/revision.rb +1 -1
- data/lib/twilio-ruby/rest/messaging/v2/channels_sender.rb +30 -2
- data/lib/twilio-ruby/rest/numbers/v1/sms_verification.rb +30 -6
- data/lib/twilio-ruby/rest/numbers/v1/sms_verification_check.rb +30 -6
- data/lib/twilio-ruby/rest/numbers/v1/voice_verification.rb +45 -6
- data/lib/twilio-ruby/rest/numbers/v1.rb +0 -6
- data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document.rb +40 -0
- data/lib/twilio-ruby/rest/routes/v3/iso_country_code.rb +402 -0
- data/lib/twilio-ruby/rest/routes/v3.rb +43 -0
- data/lib/twilio-ruby/version.rb +1 -1
- metadata +4 -4
- data/lib/twilio-ruby/rest/numbers/v1/voice_verification_check.rb +0 -165
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: de45c2f4e640d77d1ef3ce66c59c270c8c76a7bf60802a5168c0431f72ab3eb1
|
|
4
|
+
data.tar.gz: 319065808ccb2132bc019d456490657bd25a07adcfa783f1b0815ea01b9e512e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f4eca7472b55d315dcf30b819e04754760fb49250151fb72912db9199502325b910b544464a788277c4aa0974c49872fdba45c6f0af96e52396341d0ce1356c2
|
|
7
|
+
data.tar.gz: 5c7a1776e780a85d5ecfd9b2b928122baad0cd7ba3ee100cec889ba84a49b68970b38be01f1f72aa491f5fd36e7224cd9e792b5e64986d6eeb09bfe9c04f738a
|
data/CHANGES.md
CHANGED
|
@@ -1,5 +1,81 @@
|
|
|
1
1
|
twilio-ruby changelog
|
|
2
2
|
=====================
|
|
3
|
+
[2026-10-12] Version 7.12.0
|
|
4
|
+
---------------------------
|
|
5
|
+
**Audiences**
|
|
6
|
+
- ## 2026-10-06
|
|
7
|
+
- Minor updates (formatting, metadata)
|
|
8
|
+
- ## 2026-10-05
|
|
9
|
+
- Minor updates (formatting, metadata)
|
|
10
|
+
- ## 2026-10-02
|
|
11
|
+
- **Added 1 new path(s)**:
|
|
12
|
+
- `/preview/Cohorts/{cohortId}/Operations` (AdminListCohortOperations)
|
|
13
|
+
- ## 2026-10-01
|
|
14
|
+
- **Content updates**:
|
|
15
|
+
- Updated description for `AdminListSnapshotOperations`
|
|
16
|
+
- ## 2026-09-28
|
|
17
|
+
- **Content updates**:
|
|
18
|
+
- Updated description for `AdminListCohortSnapshots`
|
|
19
|
+
- Updated description for `AdminFetchCohortSnapshot`
|
|
20
|
+
- Updated schema description for `Criteria`
|
|
21
|
+
- Added properties to `OperationPayload`: cohortId
|
|
22
|
+
- Removed properties from `OperationPayload`: audienceId
|
|
23
|
+
- Updated schema description for `OperationResult`
|
|
24
|
+
- Added properties to `OperationResult`: cohortId
|
|
25
|
+
- Removed properties from `OperationResult`: audienceId
|
|
26
|
+
- Updated schema description for `Record`
|
|
27
|
+
- Updated schema description for `Cohort`
|
|
28
|
+
- ...and 3 more changes
|
|
29
|
+
- ## 2026-10-01
|
|
30
|
+
- Minor updates (formatting, metadata)
|
|
31
|
+
- ## 2026-09-28
|
|
32
|
+
- **Content updates**:
|
|
33
|
+
- Updated schema description for `CohortOperationResult`
|
|
34
|
+
- Updated schema description for `PartitionCount`
|
|
35
|
+
|
|
36
|
+
**Conversations**
|
|
37
|
+
- Add PATCH /v2/Imports/{id} to cancel an import, and the `CANCELED` import status (dev-us1 and stage-us1)
|
|
38
|
+
- Add Imports endpoints for 1console (private visibility, dev-us1 and stage-us1)
|
|
39
|
+
- Add `traitExtractionStrategyIds` and `observationExtractionStrategyIds` to the Conversations v2 Admin Configuration schema.
|
|
40
|
+
- Align the Conversations v2 Capabilities list and create contracts with the backend `domainId` field.
|
|
41
|
+
|
|
42
|
+
**Data-ingress**
|
|
43
|
+
- ## 2026-10-01
|
|
44
|
+
- Minor updates (formatting, metadata)
|
|
45
|
+
- ## 2026-09-17
|
|
46
|
+
- Add support for Hubspot connector
|
|
47
|
+
- ## 2026-10-01
|
|
48
|
+
- Minor updates (formatting, metadata)
|
|
49
|
+
- ## 2026-09-17
|
|
50
|
+
- Add support for Hubspot connector
|
|
51
|
+
|
|
52
|
+
**Events**
|
|
53
|
+
- Remove the Replays API (`/v1/Replays`, beta feature `api.eventstreams.replay`); the feature was never GA and is being sunset **(breaking change)**
|
|
54
|
+
|
|
55
|
+
**Knowledge**
|
|
56
|
+
- ## 2026-09-24
|
|
57
|
+
- **Routing updates**:
|
|
58
|
+
- Changed `downstreamServiceName` from `memora-domain` to `enterprise-knowledge-domain` for all operations
|
|
59
|
+
|
|
60
|
+
**Memory**
|
|
61
|
+
- ## 2026-09-30
|
|
62
|
+
- The `source` field on observations and conversation summaries, and the `source` filter
|
|
63
|
+
- on `ListProfileObservations`, now also accept forward slashes (`/`). The pattern is
|
|
64
|
+
- `^[a-zA-Z0-9 _./-]+$`. This is additive and backwards compatible: every previously
|
|
65
|
+
- valid value is still accepted.
|
|
66
|
+
- `UpdateStore`, `UpdateTraitGroup`, and `UpdateDataMapping` now require a body with at least one property. An empty `{}` gets a 400.
|
|
67
|
+
|
|
68
|
+
**Messaging**
|
|
69
|
+
- Add opt-out configuration admin endpoints (`GET/PUT/DELETE /v1/Accounts/{AccountSid}/OptOuts/{OptOutSid}/...`) to the messaging admin-api (dev-us1 and stage-us1 only)
|
|
70
|
+
- Add create opt-out configuration endpoint (`POST /v1/Accounts/{AccountSid}/OptOuts`) to the messaging admin-api (dev-us1 and stage-us1 only)
|
|
71
|
+
- Add update messaging service endpoint (`PUT /v1/Accounts/{AccountSid}/Services/{MessagingServiceSid}`) to the messaging admin-api (dev-us1 and stage-us1 only)
|
|
72
|
+
- Enable messaging service add-ons, update messaging service, and opt-out configuration admin endpoints in prod-us1 and prod-ie1
|
|
73
|
+
- Add WhatsApp display name change support to Sender API: `pending_display_name`, `pending_display_name_status` and `pending_display_name_status_date` on fetch, and `display_name_status` on update and partial update
|
|
74
|
+
|
|
75
|
+
**Routes**
|
|
76
|
+
- Set SDK and docs visibility of `GET`/`POST` `/v3/ShortCodes/{isoCountryCode}/{shortCode}` to `public`, maturity to `ga`
|
|
77
|
+
|
|
78
|
+
|
|
3
79
|
[2026-09-28] Version 7.11.3
|
|
4
80
|
---------------------------
|
|
5
81
|
**Library - Fix**
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
twilio-ruby (7.
|
|
4
|
+
twilio-ruby (7.12.0)
|
|
5
5
|
faraday (>= 2.0, < 3.0)
|
|
6
6
|
jwt (>= 1.5, < 4.0)
|
|
7
7
|
nokogiri (>= 1.6, < 2.0)
|
|
@@ -144,7 +144,7 @@ CHECKSUMS
|
|
|
144
144
|
rubocop-ast (1.50.0) sha256=b9ca88300da0803ee222ad20cdb30494c0a784eed06fdc35d254b06d662788db
|
|
145
145
|
ruby-progressbar (1.13.0) sha256=80fc9c47a9b640d6834e0dc7b3c94c9df37f08cb072b7761e4a71e22cff29b33
|
|
146
146
|
simplecov (1.0.3) sha256=38ef0514f16ae7562f0d0f4df02610071115103d301b6de7dacbcc000082e39b
|
|
147
|
-
twilio-ruby (7.
|
|
147
|
+
twilio-ruby (7.12.0)
|
|
148
148
|
unicode-display_width (3.2.0) sha256=0cdd96b5681a5949cdbc2c55e7b420facae74c4aaf9a9815eee1087cb1853c42
|
|
149
149
|
unicode-emoji (4.2.0) sha256=519e69150f75652e40bf736106cfbc8f0f73aa3fb6a65afe62fefa7f80b0f80f
|
|
150
150
|
uri (1.1.1) sha256=379fa58d27ffb1387eaada68c749d1426738bd0f654d812fcc07e7568f5c57c6
|
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', '~> 7.
|
|
42
|
+
gem 'twilio-ruby', '~> 7.12.0'
|
|
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 7.
|
|
48
|
+
gem install twilio-ruby -v 7.12.0
|
|
49
49
|
```
|
|
50
50
|
|
|
51
51
|
To build and install the development branch yourself from the latest source:
|
|
@@ -45,7 +45,7 @@ module Twilio
|
|
|
45
45
|
# @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.
|
|
46
46
|
# @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.
|
|
47
47
|
# @param [String] friendly_name The string that identifies the Conference resources to read.
|
|
48
|
-
# @param [Status] status The status of the resources to read. Can be: `init`, `in-progress`, or `completed`.
|
|
48
|
+
# @param [Status] status The status of the resources to read. Can be: `init`, `in-progress`, or `completed`. Starting from September 30th, 2026, the default is `in-progress`. To read completed conferences, set `Status` to `completed`.
|
|
49
49
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
|
50
50
|
# guarantees to never return more than limit. Default is no limit
|
|
51
51
|
# @param [Integer] page_size Number of records to fetch per request, when
|
|
@@ -79,7 +79,7 @@ module Twilio
|
|
|
79
79
|
# @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.
|
|
80
80
|
# @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.
|
|
81
81
|
# @param [String] friendly_name The string that identifies the Conference resources to read.
|
|
82
|
-
# @param [Status] status The status of the resources to read. Can be: `init`, `in-progress`, or `completed`.
|
|
82
|
+
# @param [Status] status The status of the resources to read. Can be: `init`, `in-progress`, or `completed`. Starting from September 30th, 2026, the default is `in-progress`. To read completed conferences, set `Status` to `completed`.
|
|
83
83
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
|
84
84
|
# guarantees to never return more than limit. Default is no limit
|
|
85
85
|
# @param [Integer] page_size Number of records to fetch per request, when
|
|
@@ -117,7 +117,7 @@ module Twilio
|
|
|
117
117
|
# @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.
|
|
118
118
|
# @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.
|
|
119
119
|
# @param [String] friendly_name The string that identifies the Conference resources to read.
|
|
120
|
-
# @param [Status] status The status of the resources to read. Can be: `init`, `in-progress`, or `completed`.
|
|
120
|
+
# @param [Status] status The status of the resources to read. Can be: `init`, `in-progress`, or `completed`. Starting from September 30th, 2026, the default is `in-progress`. To read completed conferences, set `Status` to `completed`.
|
|
121
121
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
|
122
122
|
# guarantees to never return more than limit. Default is no limit
|
|
123
123
|
# @param [Integer] page_size Number of records to fetch per request, when
|
|
@@ -174,7 +174,7 @@ module Twilio
|
|
|
174
174
|
# @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.
|
|
175
175
|
# @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.
|
|
176
176
|
# @param [String] friendly_name The string that identifies the Conference resources to read.
|
|
177
|
-
# @param [Status] status The status of the resources to read. Can be: `init`, `in-progress`, or `completed`.
|
|
177
|
+
# @param [Status] status The status of the resources to read. Can be: `init`, `in-progress`, or `completed`. Starting from September 30th, 2026, the default is `in-progress`. To read completed conferences, set `Status` to `completed`.
|
|
178
178
|
# @param [String] page_token PageToken provided by the API
|
|
179
179
|
# @param [Integer] page_number Page Number, this value is simply for client state
|
|
180
180
|
# @param [Integer] page_size Number of records to return, defaults to 50
|
|
@@ -492,7 +492,7 @@ module Twilio
|
|
|
492
492
|
{
|
|
493
493
|
"id": @id,
|
|
494
494
|
"title": @title,
|
|
495
|
-
"
|
|
495
|
+
"time_slots": @time_slots,
|
|
496
496
|
}.to_json(options)
|
|
497
497
|
end
|
|
498
498
|
end
|
|
@@ -1114,7 +1114,7 @@ module Twilio
|
|
|
1114
1114
|
{
|
|
1115
1115
|
"id": @id,
|
|
1116
1116
|
"title": @title,
|
|
1117
|
-
"
|
|
1117
|
+
"time_slots": @time_slots,
|
|
1118
1118
|
}.to_json(options)
|
|
1119
1119
|
end
|
|
1120
1120
|
end
|
|
@@ -353,6 +353,7 @@ module Twilio
|
|
|
353
353
|
'created_at' => Twilio.deserialize_iso8601_datetime(payload['created_at']),
|
|
354
354
|
'updated_at' => Twilio.deserialize_iso8601_datetime(payload['updated_at']),
|
|
355
355
|
'completed_at' => Twilio.deserialize_iso8601_datetime(payload['completed_at']),
|
|
356
|
+
'failure_reason' => payload['failure_reason'],
|
|
356
357
|
}
|
|
357
358
|
|
|
358
359
|
# Context
|
|
@@ -378,7 +379,7 @@ module Twilio
|
|
|
378
379
|
end
|
|
379
380
|
|
|
380
381
|
##
|
|
381
|
-
# @return [String] The type of action
|
|
382
|
+
# @return [String] The type of action: action-send-message or action-start-flow.
|
|
382
383
|
def type
|
|
383
384
|
@properties['type']
|
|
384
385
|
end
|
|
@@ -396,7 +397,7 @@ module Twilio
|
|
|
396
397
|
end
|
|
397
398
|
|
|
398
399
|
##
|
|
399
|
-
# @return [Hash<String, String>] Named identifiers from downstream. For SEND_MESSAGE: - messageSid: The downstream message SID (present when PENDING or COMPLETED) - communicationId: The Communication ID (present when COMPLETED)
|
|
400
|
+
# @return [Hash<String, String>] Named identifiers from downstream. For SEND_MESSAGE: - messageSid: The downstream message SID (present when PENDING or COMPLETED) - communicationId: The Communication ID (present when COMPLETED) For START_FLOW: - executionSid: The Studio Flow execution SID (present when COMPLETED)
|
|
400
401
|
def related
|
|
401
402
|
@properties['related']
|
|
402
403
|
end
|
|
@@ -419,6 +420,12 @@ module Twilio
|
|
|
419
420
|
@properties['completed_at']
|
|
420
421
|
end
|
|
421
422
|
|
|
423
|
+
##
|
|
424
|
+
# @return [String] Human-readable failure reason. Null unless status is FAILED.
|
|
425
|
+
def failure_reason
|
|
426
|
+
@properties['failure_reason']
|
|
427
|
+
end
|
|
428
|
+
|
|
422
429
|
##
|
|
423
430
|
# Fetch the ActionInstance
|
|
424
431
|
# @return [ActionInstance] Fetched ActionInstance
|
|
@@ -83,13 +83,15 @@ module Twilio
|
|
|
83
83
|
# @param [author]: [CommunicationList.CreateCommunicationInConversationRequestAuthor]
|
|
84
84
|
# @param [content]: [CommunicationList.CreateCommunicationInConversationRequestContent]
|
|
85
85
|
# @param [channel_id]: [String]
|
|
86
|
+
# @param [resource_id]: [String] External resource identifier for this Communication (e.g. MessageSid for SMS/RCS/WhatsApp, TranscriptionSid + MessageIndex for Voice). If a Communication with the same resourceId already exists in the Conversation, it is updated instead of a new one being created.
|
|
86
87
|
# @param [recipients]: [Array<CommunicationList.CreateCommunicationInConversationRequestRecipients>]
|
|
87
88
|
# @param [occurred_at]: [Time] Timestamp when this Communication occurred. If omitted, the server uses the current time.
|
|
88
|
-
attr_accessor :author, :content, :channel_id, :recipients, :occurred_at
|
|
89
|
+
attr_accessor :author, :content, :channel_id, :resource_id, :recipients, :occurred_at
|
|
89
90
|
def initialize(payload)
|
|
90
91
|
@author = payload["author"]
|
|
91
92
|
@content = payload["content"]
|
|
92
93
|
@channel_id = payload["channel_id"]
|
|
94
|
+
@resource_id = payload["resource_id"]
|
|
93
95
|
@recipients = payload["recipients"]
|
|
94
96
|
@occurred_at = payload["occurred_at"]
|
|
95
97
|
end
|
|
@@ -98,6 +100,7 @@ module Twilio
|
|
|
98
100
|
"author": @author,
|
|
99
101
|
"content": @content,
|
|
100
102
|
"channelId": @channel_id,
|
|
103
|
+
"resourceId": @resource_id,
|
|
101
104
|
"recipients": @recipients,
|
|
102
105
|
"occurredAt": @occurred_at,
|
|
103
106
|
}.to_json(options)
|
|
@@ -1584,6 +1584,8 @@ module Twilio
|
|
|
1584
1584
|
'channel_settings' => payload['channel_settings'],
|
|
1585
1585
|
'status_callbacks' => payload['status_callbacks'],
|
|
1586
1586
|
'intelligence_configuration_ids' => payload['intelligence_configuration_ids'],
|
|
1587
|
+
'trait_extraction_strategy_ids' => payload['trait_extraction_strategy_ids'],
|
|
1588
|
+
'observation_extraction_strategy_ids' => payload['observation_extraction_strategy_ids'],
|
|
1587
1589
|
'memory_extraction_enabled' => payload['memory_extraction_enabled'],
|
|
1588
1590
|
'conversations_v1_bridge' => payload['conversations_v1_bridge'],
|
|
1589
1591
|
'created_at' => Twilio.deserialize_iso8601_datetime(payload['created_at']),
|
|
@@ -1667,6 +1669,18 @@ module Twilio
|
|
|
1667
1669
|
@properties['intelligence_configuration_ids']
|
|
1668
1670
|
end
|
|
1669
1671
|
|
|
1672
|
+
##
|
|
1673
|
+
# @return [Array<String>] A list of Trait Extraction Strategy IDs.
|
|
1674
|
+
def trait_extraction_strategy_ids
|
|
1675
|
+
@properties['trait_extraction_strategy_ids']
|
|
1676
|
+
end
|
|
1677
|
+
|
|
1678
|
+
##
|
|
1679
|
+
# @return [Array<String>] A list of Observation Extraction Strategy IDs.
|
|
1680
|
+
def observation_extraction_strategy_ids
|
|
1681
|
+
@properties['observation_extraction_strategy_ids']
|
|
1682
|
+
end
|
|
1683
|
+
|
|
1670
1684
|
##
|
|
1671
1685
|
# @return [Boolean] Whether memory extraction is enabled for conversations under this configuration. Defaults to false.
|
|
1672
1686
|
def memory_extraction_enabled
|
|
@@ -113,15 +113,21 @@ module Twilio
|
|
|
113
113
|
|
|
114
114
|
class CreateConversationWithConfigRequestConfiguration
|
|
115
115
|
# @param [intelligence_configuration_ids]: [Array<String>] A list of Conversational Intelligence configuration IDs.
|
|
116
|
+
# @param [trait_extraction_strategy_ids]: [Array<String>] A list of Trait Extraction Strategy IDs.
|
|
117
|
+
# @param [observation_extraction_strategy_ids]: [Array<String>] A list of Observation Extraction Strategy IDs.
|
|
116
118
|
# @param [workflows]: [Array<ConversationList.ConversationWorkflow>] The Workflows to associate with this Conversation. Overrides the Configuration's own.
|
|
117
|
-
attr_accessor :intelligence_configuration_ids, :workflows
|
|
119
|
+
attr_accessor :intelligence_configuration_ids, :trait_extraction_strategy_ids, :observation_extraction_strategy_ids, :workflows
|
|
118
120
|
def initialize(payload)
|
|
119
121
|
@intelligence_configuration_ids = payload["intelligence_configuration_ids"]
|
|
122
|
+
@trait_extraction_strategy_ids = payload["trait_extraction_strategy_ids"]
|
|
123
|
+
@observation_extraction_strategy_ids = payload["observation_extraction_strategy_ids"]
|
|
120
124
|
@workflows = payload["workflows"]
|
|
121
125
|
end
|
|
122
126
|
def to_json(options = {})
|
|
123
127
|
{
|
|
124
128
|
"intelligenceConfigurationIds": @intelligence_configuration_ids,
|
|
129
|
+
"traitExtractionStrategyIds": @trait_extraction_strategy_ids,
|
|
130
|
+
"observationExtractionStrategyIds": @observation_extraction_strategy_ids,
|
|
125
131
|
"workflows": @workflows,
|
|
126
132
|
}.to_json(options)
|
|
127
133
|
end
|
|
@@ -317,15 +323,21 @@ module Twilio
|
|
|
317
323
|
|
|
318
324
|
class CreateConversationWithConfigRequestConfiguration
|
|
319
325
|
# @param [intelligence_configuration_ids]: [Array<String>] A list of Conversational Intelligence configuration IDs.
|
|
326
|
+
# @param [trait_extraction_strategy_ids]: [Array<String>] A list of Trait Extraction Strategy IDs.
|
|
327
|
+
# @param [observation_extraction_strategy_ids]: [Array<String>] A list of Observation Extraction Strategy IDs.
|
|
320
328
|
# @param [workflows]: [Array<ConversationList.ConversationWorkflow>] The Workflows to associate with this Conversation. Overrides the Configuration's own.
|
|
321
|
-
attr_accessor :intelligence_configuration_ids, :workflows
|
|
329
|
+
attr_accessor :intelligence_configuration_ids, :trait_extraction_strategy_ids, :observation_extraction_strategy_ids, :workflows
|
|
322
330
|
def initialize(payload)
|
|
323
331
|
@intelligence_configuration_ids = payload["intelligence_configuration_ids"]
|
|
332
|
+
@trait_extraction_strategy_ids = payload["trait_extraction_strategy_ids"]
|
|
333
|
+
@observation_extraction_strategy_ids = payload["observation_extraction_strategy_ids"]
|
|
324
334
|
@workflows = payload["workflows"]
|
|
325
335
|
end
|
|
326
336
|
def to_json(options = {})
|
|
327
337
|
{
|
|
328
338
|
"intelligenceConfigurationIds": @intelligence_configuration_ids,
|
|
339
|
+
"traitExtractionStrategyIds": @trait_extraction_strategy_ids,
|
|
340
|
+
"observationExtractionStrategyIds": @observation_extraction_strategy_ids,
|
|
329
341
|
"workflows": @workflows,
|
|
330
342
|
}.to_json(options)
|
|
331
343
|
end
|
|
@@ -521,15 +533,21 @@ module Twilio
|
|
|
521
533
|
|
|
522
534
|
class CreateConversationWithConfigRequestConfiguration
|
|
523
535
|
# @param [intelligence_configuration_ids]: [Array<String>] A list of Conversational Intelligence configuration IDs.
|
|
536
|
+
# @param [trait_extraction_strategy_ids]: [Array<String>] A list of Trait Extraction Strategy IDs.
|
|
537
|
+
# @param [observation_extraction_strategy_ids]: [Array<String>] A list of Observation Extraction Strategy IDs.
|
|
524
538
|
# @param [workflows]: [Array<ConversationList.ConversationWorkflow>] The Workflows to associate with this Conversation. Overrides the Configuration's own.
|
|
525
|
-
attr_accessor :intelligence_configuration_ids, :workflows
|
|
539
|
+
attr_accessor :intelligence_configuration_ids, :trait_extraction_strategy_ids, :observation_extraction_strategy_ids, :workflows
|
|
526
540
|
def initialize(payload)
|
|
527
541
|
@intelligence_configuration_ids = payload["intelligence_configuration_ids"]
|
|
542
|
+
@trait_extraction_strategy_ids = payload["trait_extraction_strategy_ids"]
|
|
543
|
+
@observation_extraction_strategy_ids = payload["observation_extraction_strategy_ids"]
|
|
528
544
|
@workflows = payload["workflows"]
|
|
529
545
|
end
|
|
530
546
|
def to_json(options = {})
|
|
531
547
|
{
|
|
532
548
|
"intelligenceConfigurationIds": @intelligence_configuration_ids,
|
|
549
|
+
"traitExtractionStrategyIds": @trait_extraction_strategy_ids,
|
|
550
|
+
"observationExtractionStrategyIds": @observation_extraction_strategy_ids,
|
|
533
551
|
"workflows": @workflows,
|
|
534
552
|
}.to_json(options)
|
|
535
553
|
end
|
|
@@ -1229,6 +1247,8 @@ module Twilio
|
|
|
1229
1247
|
'channel_settings' => payload['channel_settings'],
|
|
1230
1248
|
'status_callbacks' => payload['status_callbacks'],
|
|
1231
1249
|
'intelligence_configuration_ids' => payload['intelligence_configuration_ids'],
|
|
1250
|
+
'trait_extraction_strategy_ids' => payload['trait_extraction_strategy_ids'],
|
|
1251
|
+
'observation_extraction_strategy_ids' => payload['observation_extraction_strategy_ids'],
|
|
1232
1252
|
'memory_extraction_enabled' => payload['memory_extraction_enabled'],
|
|
1233
1253
|
'conversations_v1_bridge' => payload['conversations_v1_bridge'],
|
|
1234
1254
|
'version' => payload['version'],
|
|
@@ -1370,6 +1390,18 @@ module Twilio
|
|
|
1370
1390
|
@properties['intelligence_configuration_ids']
|
|
1371
1391
|
end
|
|
1372
1392
|
|
|
1393
|
+
##
|
|
1394
|
+
# @return [Array<String>] A list of Trait Extraction Strategy IDs.
|
|
1395
|
+
def trait_extraction_strategy_ids
|
|
1396
|
+
@properties['trait_extraction_strategy_ids']
|
|
1397
|
+
end
|
|
1398
|
+
|
|
1399
|
+
##
|
|
1400
|
+
# @return [Array<String>] A list of Observation Extraction Strategy IDs.
|
|
1401
|
+
def observation_extraction_strategy_ids
|
|
1402
|
+
@properties['observation_extraction_strategy_ids']
|
|
1403
|
+
end
|
|
1404
|
+
|
|
1373
1405
|
##
|
|
1374
1406
|
# @return [Boolean] Whether memory extraction is enabled for conversations under this configuration. Defaults to false.
|
|
1375
1407
|
def memory_extraction_enabled
|
|
@@ -369,7 +369,7 @@ module Twilio
|
|
|
369
369
|
end
|
|
370
370
|
|
|
371
371
|
##
|
|
372
|
-
# @return [Array<String>] Tags
|
|
372
|
+
# @return [Array<String>] [Tags](https://www.twilio.com/docs/voice/voice-insights/api/call/details-call-tags) that Voice Insights analysis applies to calls. They indicate a condition that may influence the subjective experience of call audio quality.
|
|
373
373
|
def tags
|
|
374
374
|
@properties['tags']
|
|
375
375
|
end
|
|
@@ -681,7 +681,7 @@ module Twilio
|
|
|
681
681
|
end
|
|
682
682
|
|
|
683
683
|
##
|
|
684
|
-
# @return [Array<String>] Tags
|
|
684
|
+
# @return [Array<String>] [Tags](https://www.twilio.com/docs/voice/voice-insights/api/call/details-call-tags) that Voice Insights analysis applies to calls. They indicate a condition that may influence the subjective experience of call audio quality.
|
|
685
685
|
def tags
|
|
686
686
|
@properties['tags']
|
|
687
687
|
end
|