twilio-ruby 7.13.0 → 7.13.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '0587ac5e14138ede69b18d56ff5965fa106d30ec11e17c08db0ca823a5bc64c7'
4
- data.tar.gz: b07c0cf304d869f8d700e1ad5c37065b22bf2385340df09d6f2e29870d58e068
3
+ metadata.gz: b756a2ce3eb05ea5ff68d598b72b5802a408986b5b0b8c9fb415afee7d82102a
4
+ data.tar.gz: 3df64b81420fd350109dc9d28c5e89e6880986e4c3e57f5b1cd695730084d828
5
5
  SHA512:
6
- metadata.gz: 448b5de7a2cd468f9e7c7029903eeba2ef39d1db284a66660100422a50e9ed60c422ff50ce1078e9e4864a167a6c58f0ead8c6689d305a279d5ca9c01f5fd452
7
- data.tar.gz: b59a11d26dcd3eb65f27453259da7079fd966aff164261ef9c21ed015ffe0a006f8e493717f9a7c0ec0c40cc45e9358c0d6dc058e172c2b63f7b84104409ec9c
6
+ metadata.gz: 43a1153dd5cc39d7d74203eff4d1def51b6669f5195ebd6d1879fe1e798bd8dc6eb5f8a36c3df9944e43e84ee415781fe8778fe69fbda8a534c0498a5e64e826
7
+ data.tar.gz: 36cefab1f1b545246df5d0a7e7486f2b7213afc7e148000743278c18ffb5d014e3c4c561cc6fd2d7a3693485b8dd0cbeb02efb2c4e06ae0f1cd981d399d17ba3
@@ -1,13 +1,13 @@
1
1
  name: Test and Deploy
2
2
  on:
3
3
  push:
4
- branches: [ '*' ]
4
+ branches: [ main ]
5
5
  tags: [ '*' ]
6
- pull_request:
7
- branches: [ main ]
8
- schedule:
9
- # Run automatically at 8AM PST Monday-Friday
10
- - cron: '0 15 * * 1-5'
6
+ pull_request:
7
+ branches: [ '*' ]
8
+ schedule:
9
+ # Run automatically at 8AM PST Monday-Friday
10
+ - cron: '0 15 * * 1-5'
11
11
  workflow_dispatch:
12
12
 
13
13
  env:
data/CHANGES.md CHANGED
@@ -1,5 +1,123 @@
1
1
  twilio-ruby changelog
2
2
  =====================
3
+ [2026-11-18] Version 7.13.1
4
+ ---------------------------
5
+ **Twiml**
6
+ - Add `conversation_id` and `conversation_configuration` attributes to `<ConversationRelay>` and `<Transcription>` nouns
7
+ - Add support for `<MediaFilter>` noun under `<Start>` and `<Stop>` verbs
8
+
9
+ **Accounts**
10
+ - Enable the Compliance Signals Check API in prod.
11
+ - Add Compliance Signals Check API
12
+
13
+ **Audiences**
14
+ - ## 2026-11-04
15
+ - **Content updates**:
16
+ - Updated description for `AdminListOperations`
17
+ - Updated description for `AdminListCohorts`
18
+ - Updated description for `AdminListCohortSnapshots`
19
+ - Updated description for `AdminFetchCohortOperation`
20
+ - Updated description for `AdminListSnapshotOperations`
21
+ - Updated description for `AdminListCohortOperations`
22
+ - Updated schema description for `OperationStatus`
23
+ - Added properties to `Cohort`: cohortId
24
+ - Updated schema description for `CohortOperationResult`
25
+ - Updated schema description for `CohortOperation`
26
+ - ## 2026-11-04
27
+ - **Content updates**:
28
+ - Updated description for `ListCohorts`
29
+ - Updated description for `UpdateCohort`
30
+ - Updated description for `DeleteCohort`
31
+ - Updated description for `ListCohortSnapshots`
32
+ - Updated description for `CreateCohortSnapshot`
33
+ - Updated description for `DeleteCohortSnapshot`
34
+ - Updated description for `FetchCohortOperation`
35
+ - Updated schema description for `OperationStatus`
36
+ - Added properties to `Cohort`: cohortId
37
+ - Updated schema description for `CohortOperationResult`
38
+ - ...and 1 more changes
39
+
40
+ **Destinations**
41
+ - ## 2026-11-10
42
+ - **Content updates**:
43
+ - Updated description for `TriggerReplay`
44
+ - Updated description for `FetchReplayStatus`
45
+ - ## 2026-11-10
46
+ - Minor updates (formatting, metadata)
47
+
48
+ **Iam**
49
+ - Added the optional clientSid query parameter to GET /v1/Account/AuthorizedApps/list: keeps only the items of one application or agent by the item's client_sid (for an MCP or CLI connection, the agent's registration_sid), an exact match like the one GET /v1/Organization/AuthorizedApps already has. A value that is not an OAuth app SID is a bad request
50
+ - Added the optional app_permissions and allowed_permissions to the response of GET /v1/Organization/AuthorizedApps/{consentSid}, for an OAuth application: what the application is configured for and what the organization allowed it, as the account detail already has. The response is the new iam.v1.organization-consent-detail, iam.v1.consent plus those two fields, so the lists are unchanged. Both are empty arrays for an MCP or CLI connection, whose grant is in sections. Added offered to each of the sections of an MCP or CLI connection: what consent would offer the context now (the pool narrowed by the organization's agent permissions and by what the user who consented holds), worked out when the detail is fetched, so the detail page can show the full set and tick what the mode, read and write grant. It is nullable: empty on a list and when the detail could not read it, null when the service that answered does not return it yet, so the spec can be deployed before the services. GET /v1/Account/AuthorizedApps/{consentSid} returns it too, on the sections of an MCP or CLI connection (iam.v1.account-consent-detail), so any admin of the account sees it, including permissions the consenting user held but did not select
51
+ - Added the CIMD category type (MCP or CLI) to the POST /v1/Organization/AgentsRegistration request, where the Twilio CLI's URL may be registered as CLI only and any other URL as MCP only, and a type left out is taken from the URL and cimd_category to its response, a type query parameter to GET and a type to the PUT /v1/Organization/AgentsRegistration/Permissions request, whose organization and user parts are null for CLI, and CLI to the GET /v1/Account/AuthorizedApps type
52
+
53
+ **Instrumentation**
54
+ - ## 2026-11-10
55
+ - Synced with the instrumentation Control Plane spec (dev-us1, stage-us1):
56
+ - Replaced `/v1/ControlPlane/EventProducers/{producerId}/EventSchemas` (AdminListEventProducerSchemaAttachments) with `/v1/ControlPlane/EventProducers/{producerId}/EventSchemaAttachments` (AdminListEventSchemaAttachments); items carry `attachmentId` and `eventName`, the list key is `eventSchemaAttachments`
57
+ - Event schemas: `definition { type, eventName, eventProperties }` and typed `eventIdentifiers` replace `name`, `type`, `identifiers` and `properties`; no `deletedAt`
58
+ - Event producers: removed Memory Store `storeIds` and `NO_STORE` readiness
59
+ - `EventSchemaProperty.key` has `minLength: 1`
60
+ - Updated descriptions and transaction tests
61
+ - ## 2026-11-10
62
+ - **Control Plane synced with the events-domain spec after the API review** (`dev-us1`):
63
+ - Schema attachments are their own sub-resource with an `attachmentId`:
64
+ - Replaced `/v1/ControlPlane/EventProducers/{producerId}/EventSchemas` (AttachEventProducerSchemaVersion, ListEventProducerSchemaAttachments) with `/v1/ControlPlane/EventProducers/{producerId}/EventSchemaAttachments` (CreateEventSchemaAttachment, ListEventSchemaAttachments); the list key is `eventSchemaAttachments`
65
+ - Replaced `DELETE /v1/ControlPlane/EventProducers/{producerId}/EventSchemas/{schemaId}/Versions/{version}` (DetachEventProducerSchemaVersion) with `DELETE /v1/ControlPlane/EventProducers/{producerId}/EventSchemaAttachments/{attachmentId}` (DeleteEventSchemaAttachment); an unknown or already-detached id is `404` `550118`
66
+ - Event schemas: the type and its fields move into `definition { type, eventName, eventProperties }` in create and in responses; PatchEventSchema sends any of `description`, `eventIdentifiers` and `definition { eventProperties }`
67
+ - Removed DeleteEventSchema and `deletedAt`; schemas and versions aren't deleted
68
+ - `550106` is returned only by DeleteEventProducer
69
+ - PatchEventSchema: `definition` needs `eventProperties` (`minProperties: 1`); new `400` examples. CreateEventSchema: `eventProperties` on an auto capture schema returns the same `400` message as PatchEventSchema
70
+ - `EventSchemaProperty.key` has `minLength: 1`
71
+ - Replaced the `CustomEventSchemaCreate`, `AutoCaptureEventSchemaCreate`, `CustomEventSchemaUpdate`, `AutoCaptureEventSchemaUpdate` and `EventProducerSchemaAttach*` components with `EventSchemaDefinition`, `CustomEventSchemaDefinition`, `AutoCaptureEventSchemaDefinition`, `EventSchemaUpdateDefinition`, `EventSchemaDefinitionView` and `EventSchemaAttachment*`
72
+ - Updated descriptions, examples and transaction tests
73
+ - ## 2026-11-06
74
+ - **Event ingestion moves to the BehavioralEvents request shape** (`dev-us1`), matching the deployed events-api:
75
+ - Replaced `POST /v1/EventSources/{sourceId}/Batch` (IngestEventBatch) with `POST /v1/EventProducers/{producerId}/BehavioralEvents` (CreateBehavioralEvents); the old path is no longer served
76
+ - The body is `events` (1 to 8 `BehavioralEvent`s, each with `eventId`, `sessionId`, `anonymousId`, `index`, `occurredAt`, `schemaName`, optional `schemaVersion`, `identifiers` and `properties`) instead of `batch`
77
+ - Added the optional `Content-Encoding: gzip` header, the `403` disabled-producer response (`550052`) and the write-key `401` codes (`20401`, `550050`)
78
+ - Removed the now-unused `Event`, `DeviceContext`, `SessionContext`, `InstrumentationContext`, `EventBatchRequest`, `EventBatchResponse` and `EventBatchSuccess` components
79
+ - **Control Plane synced with the events-domain spec** (`dev-us1`):
80
+ - Removed `/v1/ControlPlane/Operations/{operationId}` (FetchControlPlaneOperationStatus, with its `Retry-After` header) and DeleteEventSchemaVersion; every Control Plane operation is synchronous
81
+ - Removed Memory Store: `storeIds` on event producers and `NO_STORE` readiness; readiness is `NO_SCHEMA` or `READY`
82
+ - Event schemas: `name`, `identifiers` and `properties` renamed to `eventName`, `eventIdentifiers` and `eventProperties`; identifiers are `{ key, dataType }` (`STRING` or `NUMBER`), 1 to 5, and are not repeated in `eventProperties`
83
+ - Schema attachments: `schemaName` renamed to `eventName`
84
+ - DeleteEventProducer `409` is `550106` (schema version attached), replacing `550107` (Memory Store attached); DeleteEventSchema no longer returns `550103`; PatchEventSchema `409` adds `550111` for the version limit
85
+ - Updated descriptions, examples and transaction tests
86
+
87
+ **Knowledge**
88
+ - ## 2026-11-05
89
+ - **Added 3 new path(s)**:
90
+ - `/v2/ControlPlane/KnowledgeMigrations/{accountSid}/FailedRecords` (AdminListKnowledgeMigrationFailedRecords)
91
+ - `/v2/ControlPlane/KnowledgeMigrations/{accountSid}/Retries` (AdminCreateKnowledgeMigrationRetry)
92
+ - `/v2/ControlPlane/KnowledgeMigrations/{accountSid}/Retries/{retryId}` (AdminFetchKnowledgeMigrationRetry)
93
+
94
+ **Memory**
95
+ - ## 2026-11-09
96
+ - Added `PatchProfileTraits` (`PATCH /v1/Stores/{storeId}/Profiles/{profileId}/Traits`) to create or
97
+ - update up to 100 traits on a profile in one request, optionally recording where each value came from
98
+ - (`source`) and when it was observed (`occurredAt`). Setting a value to `null` removes the trait. The
99
+ - endpoint is hidden from the helper libraries and gated behind the `api.memory.2026Q3` beta feature.
100
+ - `ListProfileTraits` now returns `source` on each trait (behind the `api.memory.2026Q3` beta feature), when one was set.
101
+ - Additive and backwards compatible: existing request and response fields are unchanged.
102
+ - ## 2026-11-06
103
+ - Documented the `409` response on `CreateProfile`, returned when an identifier belongs to a profile
104
+ - that is pending deletion. The `Conflict` response now includes a `Retry-After` header with the
105
+ - number of seconds to wait before retrying.
106
+
107
+ **Routes**
108
+ - Add `GET`/`POST` `/v3/RcsAgents/{agentId}` to assign and fetch the Inbound Processing Region for RCS agents
109
+ - Set SDK and docs visibility of `GET`/`POST` `/v3/RcsAgents/{agentId}` to `private`, maturity to `preview`
110
+
111
+ **Segment**
112
+ - ## 2026-11-17
113
+ - Add Warehouse Tool routes under `/v1/Segment/WarehouseTool` (read, run/replay/backfill, feature and schema updates, stop task, SQL sessions)
114
+ - ## 2026-11-11
115
+ - Add Cob routes: `DELETE /v1/Segment/Cob/Records/{Family}/{Name}`, `POST /v1/Segment/Cob/Records`, `POST /v1/Segment/Cob/Records/{Family}/{Name}/Clone`
116
+
117
+ **Trusthub**
118
+ - Document the 409 (error code 60736) returned by DELETE /v1/CustomerProfiles/{CustomerProfileSid}/ChannelEndpointAssignments/{Sid} and DELETE /v1/TrustProducts/{TrustProductSid}/ChannelEndpointAssignments/{Sid} when a Branded Calling trust product still depends on the phone number.
119
+
120
+
3
121
  [2026-11-05] Version 7.13.0
4
122
  ---------------------------
5
123
  **Library - Chore**
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- twilio-ruby (7.13.0)
4
+ twilio-ruby (7.13.1)
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.13.0)
147
+ twilio-ruby (7.13.1)
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.13.0'
42
+ gem 'twilio-ruby', '~> 7.13.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 7.13.0
48
+ gem install twilio-ruby -v 7.13.1
49
49
  ```
50
50
 
51
51
  To build and install the development branch yourself from the latest source:
@@ -0,0 +1,254 @@
1
+ ##
2
+ # This code was generated by
3
+ # ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
4
+ # | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
5
+ # | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
6
+ #
7
+ # Twilio - Accounts
8
+ # This is the public Twilio REST API.
9
+ #
10
+ # NOTE: This class is auto generated by OpenAPI Generator.
11
+ # https://openapi-generator.tech
12
+ # Do not edit the class manually.
13
+ #
14
+
15
+
16
+ module Twilio
17
+ module REST
18
+ class Accounts < AccountsBase
19
+ class V1 < Version
20
+ class ComplianceSignalsCheckList < ListResource
21
+
22
+ class AccountsV1ComplianceSignalsCheckSignalsQuietHours
23
+ # @param [is_active]: [Boolean] Whether quiet hours are in effect for the recipient.
24
+ # @param [reason]: [String] Why quiet hours are or are not in effect.
25
+ # @param [evaluated_use_case]: [String] Whether the evaluated use case is essential or non-essential. It is null when it does not apply.
26
+ # @param [location]: [AccountsV1ComplianceSignalsCheckSignalsQuietHoursLocation]
27
+ # @param [sending_window]: [AccountsV1ComplianceSignalsCheckSignalsQuietHoursSendingWindow]
28
+ attr_accessor :is_active, :reason, :evaluated_use_case, :location, :sending_window
29
+ def initialize(payload)
30
+ @is_active = payload["is_active"]
31
+ @reason = payload["reason"]
32
+ @evaluated_use_case = payload["evaluated_use_case"]
33
+ @location = payload["location"]
34
+ @sending_window = payload["sending_window"]
35
+ end
36
+ def to_json(options = {})
37
+ {
38
+ "isActive": @is_active,
39
+ "reason": @reason,
40
+ "evaluatedUseCase": @evaluated_use_case,
41
+ "location": @location,
42
+ "sendingWindow": @sending_window,
43
+ }.to_json(options)
44
+ end
45
+ end
46
+
47
+ class AccountsV1ComplianceSignalsCheckSignalsQuietHoursLocation
48
+ # @param [country_iso_code]: [String] The ISO 3166-1 alpha-2 country of the recipient.
49
+ # @param [state_code]: [String] The state of the recipient.
50
+ attr_accessor :country_iso_code, :state_code
51
+ def initialize(payload)
52
+ @country_iso_code = payload["country_iso_code"]
53
+ @state_code = payload["state_code"]
54
+ end
55
+ def to_json(options = {})
56
+ {
57
+ "countryIsoCode": @country_iso_code,
58
+ "stateCode": @state_code,
59
+ }.to_json(options)
60
+ end
61
+ end
62
+
63
+ class AccountsV1ComplianceSignalsCheckSignalsQuietHoursSendingWindow
64
+ # @param [start_at]: [Time] The start of the window in UTC.
65
+ # @param [end_at]: [Time] The end of the window in UTC.
66
+ attr_accessor :start_at, :end_at
67
+ def initialize(payload)
68
+ @start_at = payload["start_at"]
69
+ @end_at = payload["end_at"]
70
+ end
71
+ def to_json(options = {})
72
+ {
73
+ "startAt": @start_at,
74
+ "endAt": @end_at,
75
+ }.to_json(options)
76
+ end
77
+ end
78
+
79
+ class CreateComplianceSignalsCheckRequest
80
+ # @param [signals]: [Array<String>] The signals to evaluate. Only `QUIET_HOURS` is supported.
81
+ # @param [to]: [String] The recipient phone number in [E.164 format](https://www.twilio.com/docs/glossary/what-e164).
82
+ # @param [body]: [String] The content of the message, at most 1600 characters. Required if `useCase` is not provided.
83
+ # @param [use_case]: [String] The intent of the message, one of `OTP`, `NOTIFICATIONS`, `FRAUD`, `SECURITY`, `CUSTOMERCARE`, `DELIVERY`, `EDUCATION`, `EVENTS`, `POLLING`, `ANNOUNCEMENTS` or `MARKETING`. Required if `body` is not provided. It is used instead of the body when both are given.
84
+ # @param [channel]: [String] The channel the message is sent on, one of `SMS`, `MMS`, `RCS` or `CALL`. Defaults to `SMS`.
85
+ # @param [country_iso_code]: [String] The ISO 3166-1 alpha-2 country of the recipient. Only `US` is supported.
86
+ # @param [zip_code]: [String] The US zip code of the recipient, 5 digits or ZIP+4. When it is not given or not known, the location is inferred from the phone number.
87
+ # @param [send_at]: [String] An [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339) timestamp, in UTC or with an offset, to evaluate a scheduled delivery instead of the current time. It must not be in the past.
88
+ attr_accessor :signals, :to, :body, :use_case, :channel, :country_iso_code, :zip_code, :send_at
89
+ def initialize(payload)
90
+ @signals = payload["signals"]
91
+ @to = payload["to"]
92
+ @body = payload["body"]
93
+ @use_case = payload["use_case"]
94
+ @channel = payload["channel"]
95
+ @country_iso_code = payload["country_iso_code"]
96
+ @zip_code = payload["zip_code"]
97
+ @send_at = payload["send_at"]
98
+ end
99
+ def to_json(options = {})
100
+ {
101
+ "signals": @signals,
102
+ "to": @to,
103
+ "body": @body,
104
+ "useCase": @use_case,
105
+ "channel": @channel,
106
+ "countryIsoCode": @country_iso_code,
107
+ "zipCode": @zip_code,
108
+ "sendAt": @send_at,
109
+ }.to_json(options)
110
+ end
111
+ end
112
+
113
+
114
+ ##
115
+ # Initialize the ComplianceSignalsCheckList
116
+ # @param [Version] version Version that contains the resource
117
+ # @return [ComplianceSignalsCheckList] ComplianceSignalsCheckList
118
+ def initialize(version)
119
+ super(version)
120
+
121
+ # Path Solution
122
+ @solution = { }
123
+ @uri = "/ComplianceSignals/Check"
124
+
125
+ end
126
+ ##
127
+ # Create the ComplianceSignalsCheckInstance
128
+ # @param [CreateComplianceSignalsCheckRequest] create_compliance_signals_check_request
129
+ # @return [ComplianceSignalsCheckInstance] Created ComplianceSignalsCheckInstance
130
+ def create(create_compliance_signals_check_request: :unset
131
+ )
132
+
133
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
134
+ headers['Content-Type'] = 'application/json'
135
+
136
+
137
+
138
+ headers['Accept'] = '*/*'
139
+ payload = @version.create('POST', @uri, headers: headers, data: create_compliance_signals_check_request.to_json)
140
+ ComplianceSignalsCheckInstance.new(
141
+ @version,
142
+ payload,
143
+ )
144
+ end
145
+
146
+ ##
147
+ # Create the ComplianceSignalsCheckInstanceMetadata
148
+ # @param [CreateComplianceSignalsCheckRequest] create_compliance_signals_check_request
149
+ # @return [ComplianceSignalsCheckInstance] Created ComplianceSignalsCheckInstance
150
+ def create_with_metadata(create_compliance_signals_check_request: :unset
151
+ )
152
+
153
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
154
+ headers['Content-Type'] = 'application/json'
155
+
156
+
157
+
158
+ headers['Accept'] = '*/*'
159
+ response = @version.create_with_metadata('POST', @uri, headers: headers, data: create_compliance_signals_check_request.to_json)
160
+ compliance_signals_check_instance = ComplianceSignalsCheckInstance.new(
161
+ @version,
162
+ response.body,
163
+ )
164
+ ComplianceSignalsCheckInstanceMetadata.new(
165
+ @version,
166
+ compliance_signals_check_instance,
167
+ response.headers,
168
+ response.status_code
169
+ )
170
+ end
171
+
172
+
173
+
174
+
175
+ # Provide a user friendly representation
176
+ def to_s
177
+ '#<Twilio.Accounts.V1.ComplianceSignalsCheckList>'
178
+ end
179
+ end
180
+
181
+ class ComplianceSignalsCheckPage < Page
182
+ ##
183
+ # Initialize the ComplianceSignalsCheckPage
184
+ # @param [Version] version Version that contains the resource
185
+ # @param [Response] response Response from the API
186
+ # @param [Hash] solution Path solution for the resource
187
+ # @return [ComplianceSignalsCheckPage] ComplianceSignalsCheckPage
188
+ def initialize(version, response, solution)
189
+ super(version, response)
190
+
191
+
192
+ # Path Solution
193
+ @solution = solution
194
+ end
195
+
196
+ ##
197
+ # Build an instance of ComplianceSignalsCheckInstance
198
+ # @param [Hash] payload Payload response from the API
199
+ # @return [ComplianceSignalsCheckInstance] ComplianceSignalsCheckInstance
200
+ def get_instance(payload)
201
+ ComplianceSignalsCheckInstance.new(@version, payload)
202
+ end
203
+
204
+ ##
205
+ # Provide a user friendly representation
206
+ def to_s
207
+ '<Twilio.Accounts.V1.ComplianceSignalsCheckPage>'
208
+ end
209
+ end
210
+
211
+ class ComplianceSignalsCheckInstance < InstanceResource
212
+ ##
213
+ # Initialize the ComplianceSignalsCheckInstance
214
+ # @param [Version] version Version that contains the resource
215
+ # @param [Hash] payload payload that contains response from Twilio
216
+ # @param [String] account_sid The SID of the
217
+ # {Account}[https://www.twilio.com/docs/iam/api/account] that created this ComplianceSignalsCheck
218
+ # resource.
219
+ # @param [String] sid The SID of the Call resource to fetch.
220
+ # @return [ComplianceSignalsCheckInstance] ComplianceSignalsCheckInstance
221
+ def initialize(version, payload )
222
+ super(version)
223
+
224
+
225
+ # Marshaled Properties
226
+ @properties = {
227
+ 'signals' => payload['signals'],
228
+ }
229
+ end
230
+
231
+
232
+ ##
233
+ # @return [AccountsV1ComplianceSignalsCheckSignals]
234
+ def signals
235
+ @properties['signals']
236
+ end
237
+
238
+ ##
239
+ # Provide a user friendly representation
240
+ def to_s
241
+ "<Twilio.Accounts.V1.ComplianceSignalsCheckInstance>"
242
+ end
243
+
244
+ ##
245
+ # Provide a detailed, user friendly representation
246
+ def inspect
247
+ "<Twilio.Accounts.V1.ComplianceSignalsCheckInstance>"
248
+ end
249
+ end
250
+
251
+ end
252
+ end
253
+ end
254
+ end
@@ -24,6 +24,7 @@ module Twilio
24
24
  @auth_token_promotion = nil
25
25
  @bulk_consents = nil
26
26
  @bulk_contacts = nil
27
+ @compliance_signals_check = nil
27
28
  @credentials = nil
28
29
  @messaging_geopermissions = nil
29
30
  @safelist = nil
@@ -46,6 +47,11 @@ module Twilio
46
47
  @bulk_contacts ||= BulkContactsList.new self
47
48
  end
48
49
  ##
50
+ # @return [Twilio::REST::Accounts::V1::ComplianceSignalsCheckList]
51
+ def compliance_signals_check
52
+ @compliance_signals_check ||= ComplianceSignalsCheckList.new self
53
+ end
54
+ ##
49
55
  # @param [String] sid The Twilio-provided string that uniquely identifies the PublicKey resource to fetch.
50
56
  # @return [Twilio::REST::Accounts::V1::CredentialList]
51
57
  def credentials(sid=:unset)
@@ -289,6 +289,7 @@ module Twilio
289
289
  'value' => payload['value'],
290
290
  'trait_group' => payload['trait_group'],
291
291
  'timestamp' => Twilio.deserialize_iso8601_datetime(payload['timestamp']),
292
+ 'source' => payload['source'],
292
293
  }
293
294
  end
294
295
 
@@ -317,6 +318,12 @@ module Twilio
317
318
  @properties['timestamp']
318
319
  end
319
320
 
321
+ ##
322
+ # @return [String] Caller-set, descriptive, untrusted provenance metadata. Must follow the {company}/{product}/{version}/* convention. \"twilio\" is a reserved company name, only usable by authenticated internal callers.
323
+ def source
324
+ @properties['source']
325
+ end
326
+
320
327
  ##
321
328
  # Provide a user friendly representation
322
329
  def to_s