You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: twilio/rest/conversations/v1/service/binding.py
+7-6Lines changed: 7 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,7 @@ class BindingType(object):
28
28
APN="apn"
29
29
GCM="gcm"
30
30
FCM="fcm"
31
+
TWILSOCK="twilsock"
31
32
32
33
"""
33
34
:ivar sid: A 34 character string that uniquely identifies this resource.
@@ -291,7 +292,7 @@ def stream(
291
292
is reached.
292
293
The results are returned as a generator, so this operation is memory efficient.
293
294
294
-
:param List["BindingInstance.BindingType"] binding_type: The push technology used by the Binding resources to read. Can be: `apn`, `gcm`, or `fcm`. See [push notification configuration](https://www.twilio.com/docs/chat/push-notification-configuration) for more info.
295
+
:param List["BindingInstance.BindingType"] binding_type: The push technology used by the Binding resources to read. Can be: `apn`, `gcm`, `fcm`, or `twilsock`. See [push notification configuration](https://www.twilio.com/docs/chat/push-notification-configuration) for more info.
295
296
:param List[str] identity: The identity of a [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource) this binding belongs to. See [access tokens](https://www.twilio.com/docs/conversations/create-tokens) for more details.
296
297
:param limit: Upper limit for the number of records to return. stream()
297
298
guarantees to never return more than limit. Default is no limit
@@ -322,7 +323,7 @@ async def stream_async(
322
323
is reached.
323
324
The results are returned as a generator, so this operation is memory efficient.
324
325
325
-
:param List["BindingInstance.BindingType"] binding_type: The push technology used by the Binding resources to read. Can be: `apn`, `gcm`, or `fcm`. See [push notification configuration](https://www.twilio.com/docs/chat/push-notification-configuration) for more info.
326
+
:param List["BindingInstance.BindingType"] binding_type: The push technology used by the Binding resources to read. Can be: `apn`, `gcm`, `fcm`, or `twilsock`. See [push notification configuration](https://www.twilio.com/docs/chat/push-notification-configuration) for more info.
326
327
:param List[str] identity: The identity of a [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource) this binding belongs to. See [access tokens](https://www.twilio.com/docs/conversations/create-tokens) for more details.
327
328
:param limit: Upper limit for the number of records to return. stream()
328
329
guarantees to never return more than limit. Default is no limit
@@ -352,7 +353,7 @@ def list(
352
353
Unlike stream(), this operation is eager and will load `limit` records into
353
354
memory before returning.
354
355
355
-
:param List["BindingInstance.BindingType"] binding_type: The push technology used by the Binding resources to read. Can be: `apn`, `gcm`, or `fcm`. See [push notification configuration](https://www.twilio.com/docs/chat/push-notification-configuration) for more info.
356
+
:param List["BindingInstance.BindingType"] binding_type: The push technology used by the Binding resources to read. Can be: `apn`, `gcm`, `fcm`, or `twilsock`. See [push notification configuration](https://www.twilio.com/docs/chat/push-notification-configuration) for more info.
356
357
:param List[str] identity: The identity of a [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource) this binding belongs to. See [access tokens](https://www.twilio.com/docs/conversations/create-tokens) for more details.
357
358
:param limit: Upper limit for the number of records to return. list() guarantees
358
359
never to return more than limit. Default is no limit
@@ -384,7 +385,7 @@ async def list_async(
384
385
Unlike stream(), this operation is eager and will load `limit` records into
385
386
memory before returning.
386
387
387
-
:param List["BindingInstance.BindingType"] binding_type: The push technology used by the Binding resources to read. Can be: `apn`, `gcm`, or `fcm`. See [push notification configuration](https://www.twilio.com/docs/chat/push-notification-configuration) for more info.
388
+
:param List["BindingInstance.BindingType"] binding_type: The push technology used by the Binding resources to read. Can be: `apn`, `gcm`, `fcm`, or `twilsock`. See [push notification configuration](https://www.twilio.com/docs/chat/push-notification-configuration) for more info.
388
389
:param List[str] identity: The identity of a [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource) this binding belongs to. See [access tokens](https://www.twilio.com/docs/conversations/create-tokens) for more details.
389
390
:param limit: Upper limit for the number of records to return. list() guarantees
390
391
never to return more than limit. Default is no limit
@@ -417,7 +418,7 @@ def page(
417
418
Retrieve a single page of BindingInstance records from the API.
418
419
Request is executed immediately
419
420
420
-
:param binding_type: The push technology used by the Binding resources to read. Can be: `apn`, `gcm`, or `fcm`. See [push notification configuration](https://www.twilio.com/docs/chat/push-notification-configuration) for more info.
421
+
:param binding_type: The push technology used by the Binding resources to read. Can be: `apn`, `gcm`, `fcm`, or `twilsock`. See [push notification configuration](https://www.twilio.com/docs/chat/push-notification-configuration) for more info.
421
422
:param identity: The identity of a [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource) this binding belongs to. See [access tokens](https://www.twilio.com/docs/conversations/create-tokens) for more details.
422
423
:param page_token: PageToken provided by the API
423
424
:param page_number: Page Number, this value is simply for client state
@@ -456,7 +457,7 @@ async def page_async(
456
457
Asynchronously retrieve a single page of BindingInstance records from the API.
457
458
Request is executed immediately
458
459
459
-
:param binding_type: The push technology used by the Binding resources to read. Can be: `apn`, `gcm`, or `fcm`. See [push notification configuration](https://www.twilio.com/docs/chat/push-notification-configuration) for more info.
460
+
:param binding_type: The push technology used by the Binding resources to read. Can be: `apn`, `gcm`, `fcm`, or `twilsock`. See [push notification configuration](https://www.twilio.com/docs/chat/push-notification-configuration) for more info.
460
461
:param identity: The identity of a [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource) this binding belongs to. See [access tokens](https://www.twilio.com/docs/conversations/create-tokens) for more details.
461
462
:param page_token: PageToken provided by the API
462
463
:param page_number: Page Number, this value is simply for client state
Copy file name to clipboardExpand all lines: twilio/rest/lookups/v2/phone_number.py
+17-25Lines changed: 17 additions & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -37,14 +37,14 @@ class ValidationError(object):
37
37
:ivar national_format: The phone number in [national format](https://en.wikipedia.org/wiki/National_conventions_for_writing_telephone_numbers).
38
38
:ivar valid: Boolean which indicates if the phone number is in a valid range that can be freely assigned by a carrier to a user.
39
39
:ivar validation_errors: Contains reasons why a phone number is invalid. Possible values: TOO_SHORT, TOO_LONG, INVALID_BUT_POSSIBLE, INVALID_COUNTRY_CODE, INVALID_LENGTH, NOT_A_NUMBER.
40
-
:ivar caller_name: An object that contains caller name information based on [CNAM](https://support.twilio.com/hc/en-us/articles/360051670533-Getting-Started-with-CNAM-Caller-ID).
41
-
:ivar sim_swap: An object that contains information on the last date the subscriber identity module (SIM) was changed for a mobile phone number.
42
-
:ivar call_forwarding: An object that contains information on the unconditional call forwarding status of mobile phone number.
43
-
:ivar line_status: An object that contains line status information for a mobile phone number.
44
-
:ivar line_type_intelligence: An object that contains line type information including the carrier name, mobile country code, and mobile network code.
45
-
:ivar identity_match: An object that contains identity match information. The result of comparing user-provided information including name, address, date of birth, national ID, against authoritative phone-based data sources
46
-
:ivar reassigned_number: An object that contains reassigned number information. Reassigned Numbers will return a phone number's reassignment status given a phone number and date
47
-
:ivar sms_pumping_risk: An object that contains information on if a phone number has been currently or previously blocked by Verify Fraud Guard for receiving malicious SMS pumping traffic as well as other signals associated with risky carriers and low conversion rates.
40
+
:ivar caller_name:
41
+
:ivar sim_swap:
42
+
:ivar call_forwarding:
43
+
:ivar line_type_intelligence:
44
+
:ivar line_status:
45
+
:ivar identity_match:
46
+
:ivar reassigned_number:
47
+
:ivar sms_pumping_risk:
48
48
:ivar phone_number_quality_score: An object that contains information of a mobile phone number quality score. Quality score will return a risk score about the phone number.
49
49
:ivar pre_fill: An object that contains pre fill information. pre_fill will return PII information associated with the phone number like first name, last name, address line, country code, state and postal code.
0 commit comments