Skip to content

Commit d5da45d

Browse files
committed
chore: preview pr
1 parent b408733 commit d5da45d

File tree

90 files changed

+825
-4606
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+825
-4606
lines changed

twilio/rest/api/v2010/__init__.py

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@
1616
from twilio.base.version import Version
1717
from twilio.base.domain import Domain
1818
from twilio.rest.api.v2010.account import AccountList
19-
from twilio.rest.api.v2010.sms_feedback import SmsFeedbackList
20-
from twilio.rest.api.v2010.twiml_session import TwimlSessionList
21-
from twilio.rest.api.v2010.usage_record_time_parameterized import (
22-
UsageRecordTimeParameterizedList,
23-
)
2419
from twilio.rest.api.v2010.account import AccountContext
2520

2621

@@ -33,11 +28,6 @@ def __init__(self, domain: Domain):
3328
"""
3429
super().__init__(domain, "2010-04-01")
3530
self._accounts: Optional[AccountList] = None
36-
self._sms_feedback: Optional[SmsFeedbackList] = None
37-
self._twiml_sessions: Optional[TwimlSessionList] = None
38-
self._usage_record_time_parameterized: Optional[
39-
UsageRecordTimeParameterizedList
40-
] = None
4131
self._account: Optional[AccountContext] = None
4232

4333
@property
@@ -46,26 +36,6 @@ def accounts(self) -> AccountList:
4636
self._accounts = AccountList(self)
4737
return self._accounts
4838

49-
@property
50-
def sms_feedback(self) -> SmsFeedbackList:
51-
if self._sms_feedback is None:
52-
self._sms_feedback = SmsFeedbackList(self)
53-
return self._sms_feedback
54-
55-
@property
56-
def twiml_sessions(self) -> TwimlSessionList:
57-
if self._twiml_sessions is None:
58-
self._twiml_sessions = TwimlSessionList(self)
59-
return self._twiml_sessions
60-
61-
@property
62-
def usage_record_time_parameterized(self) -> UsageRecordTimeParameterizedList:
63-
if self._usage_record_time_parameterized is None:
64-
self._usage_record_time_parameterized = UsageRecordTimeParameterizedList(
65-
self
66-
)
67-
return self._usage_record_time_parameterized
68-
6939
@property
7040
def account(self) -> AccountContext:
7141
if self._account is None:

twilio/rest/api/v2010/account/call/__init__.py

Lines changed: 0 additions & 178 deletions
Large diffs are not rendered by default.

twilio/rest/api/v2010/account/call/payment.py

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,6 @@ class Capture(object):
3636
POSTAL_CODE = "postal-code"
3737
BANK_ROUTING_NUMBER = "bank-routing-number"
3838
BANK_ACCOUNT_NUMBER = "bank-account-number"
39-
PAYMENT_CARD_NUMBER_MATCHER = "payment-card-number-matcher"
40-
EXPIRATION_DATE_MATCHER = "expiration-date-matcher"
41-
SECURITY_CODE_MATCHER = "security-code-matcher"
42-
POSTAL_CODE_MATCHER = "postal-code-matcher"
4339

4440
class PaymentMethod(object):
4541
CREDIT_CARD = "credit-card"
@@ -479,7 +475,6 @@ def _create(
479475
timeout: Union[int, object] = values.unset,
480476
token_type: Union["PaymentInstance.TokenType", object] = values.unset,
481477
valid_card_types: Union[str, object] = values.unset,
482-
require_matching_inputs: Union[str, object] = values.unset,
483478
) -> tuple:
484479
"""
485480
Internal helper for create operation
@@ -506,7 +501,6 @@ def _create(
506501
"Timeout": timeout,
507502
"TokenType": token_type,
508503
"ValidCardTypes": valid_card_types,
509-
"RequireMatchingInputs": require_matching_inputs,
510504
}
511505
)
512506
headers = values.of({"Content-Type": "application/x-www-form-urlencoded"})
@@ -539,7 +533,6 @@ def create(
539533
timeout: Union[int, object] = values.unset,
540534
token_type: Union["PaymentInstance.TokenType", object] = values.unset,
541535
valid_card_types: Union[str, object] = values.unset,
542-
require_matching_inputs: Union[str, object] = values.unset,
543536
) -> PaymentInstance:
544537
"""
545538
Create the PaymentInstance
@@ -560,7 +553,6 @@ def create(
560553
:param timeout: The number of seconds that <Pay> should wait for the caller to press a digit between each subsequent digit, after the first one, before moving on to validate the digits captured. The default is `5`, maximum is `600`.
561554
:param token_type:
562555
:param valid_card_types: Credit card types separated by space that Pay should accept. The default value is `visa mastercard amex`
563-
:param require_matching_inputs: A comma-separated list of payment information fields that require the caller to enter the same value twice for confirmation. Supported values are `payment-card-number`, `expiration-date`, `security-code`, and `postal-code`.
564556
565557
:returns: The created PaymentInstance
566558
"""
@@ -581,7 +573,6 @@ def create(
581573
timeout=timeout,
582574
token_type=token_type,
583575
valid_card_types=valid_card_types,
584-
require_matching_inputs=require_matching_inputs,
585576
)
586577
return PaymentInstance(
587578
self._version,
@@ -610,7 +601,6 @@ def create_with_http_info(
610601
timeout: Union[int, object] = values.unset,
611602
token_type: Union["PaymentInstance.TokenType", object] = values.unset,
612603
valid_card_types: Union[str, object] = values.unset,
613-
require_matching_inputs: Union[str, object] = values.unset,
614604
) -> ApiResponse:
615605
"""
616606
Create the PaymentInstance and return response metadata
@@ -631,7 +621,6 @@ def create_with_http_info(
631621
:param timeout: The number of seconds that <Pay> should wait for the caller to press a digit between each subsequent digit, after the first one, before moving on to validate the digits captured. The default is `5`, maximum is `600`.
632622
:param token_type:
633623
:param valid_card_types: Credit card types separated by space that Pay should accept. The default value is `visa mastercard amex`
634-
:param require_matching_inputs: A comma-separated list of payment information fields that require the caller to enter the same value twice for confirmation. Supported values are `payment-card-number`, `expiration-date`, `security-code`, and `postal-code`.
635624
636625
:returns: ApiResponse with instance, status code, and headers
637626
"""
@@ -652,7 +641,6 @@ def create_with_http_info(
652641
timeout=timeout,
653642
token_type=token_type,
654643
valid_card_types=valid_card_types,
655-
require_matching_inputs=require_matching_inputs,
656644
)
657645
instance = PaymentInstance(
658646
self._version,
@@ -682,7 +670,6 @@ async def _create_async(
682670
timeout: Union[int, object] = values.unset,
683671
token_type: Union["PaymentInstance.TokenType", object] = values.unset,
684672
valid_card_types: Union[str, object] = values.unset,
685-
require_matching_inputs: Union[str, object] = values.unset,
686673
) -> tuple:
687674
"""
688675
Internal async helper for create operation
@@ -709,7 +696,6 @@ async def _create_async(
709696
"Timeout": timeout,
710697
"TokenType": token_type,
711698
"ValidCardTypes": valid_card_types,
712-
"RequireMatchingInputs": require_matching_inputs,
713699
}
714700
)
715701
headers = values.of({"Content-Type": "application/x-www-form-urlencoded"})
@@ -742,7 +728,6 @@ async def create_async(
742728
timeout: Union[int, object] = values.unset,
743729
token_type: Union["PaymentInstance.TokenType", object] = values.unset,
744730
valid_card_types: Union[str, object] = values.unset,
745-
require_matching_inputs: Union[str, object] = values.unset,
746731
) -> PaymentInstance:
747732
"""
748733
Asynchronously create the PaymentInstance
@@ -763,7 +748,6 @@ async def create_async(
763748
:param timeout: The number of seconds that <Pay> should wait for the caller to press a digit between each subsequent digit, after the first one, before moving on to validate the digits captured. The default is `5`, maximum is `600`.
764749
:param token_type:
765750
:param valid_card_types: Credit card types separated by space that Pay should accept. The default value is `visa mastercard amex`
766-
:param require_matching_inputs: A comma-separated list of payment information fields that require the caller to enter the same value twice for confirmation. Supported values are `payment-card-number`, `expiration-date`, `security-code`, and `postal-code`.
767751
768752
:returns: The created PaymentInstance
769753
"""
@@ -784,7 +768,6 @@ async def create_async(
784768
timeout=timeout,
785769
token_type=token_type,
786770
valid_card_types=valid_card_types,
787-
require_matching_inputs=require_matching_inputs,
788771
)
789772
return PaymentInstance(
790773
self._version,
@@ -813,7 +796,6 @@ async def create_with_http_info_async(
813796
timeout: Union[int, object] = values.unset,
814797
token_type: Union["PaymentInstance.TokenType", object] = values.unset,
815798
valid_card_types: Union[str, object] = values.unset,
816-
require_matching_inputs: Union[str, object] = values.unset,
817799
) -> ApiResponse:
818800
"""
819801
Asynchronously create the PaymentInstance and return response metadata
@@ -834,7 +816,6 @@ async def create_with_http_info_async(
834816
:param timeout: The number of seconds that <Pay> should wait for the caller to press a digit between each subsequent digit, after the first one, before moving on to validate the digits captured. The default is `5`, maximum is `600`.
835817
:param token_type:
836818
:param valid_card_types: Credit card types separated by space that Pay should accept. The default value is `visa mastercard amex`
837-
:param require_matching_inputs: A comma-separated list of payment information fields that require the caller to enter the same value twice for confirmation. Supported values are `payment-card-number`, `expiration-date`, `security-code`, and `postal-code`.
838819
839820
:returns: ApiResponse with instance, status code, and headers
840821
"""
@@ -855,7 +836,6 @@ async def create_with_http_info_async(
855836
timeout=timeout,
856837
token_type=token_type,
857838
valid_card_types=valid_card_types,
858-
require_matching_inputs=require_matching_inputs,
859839
)
860840
instance = PaymentInstance(
861841
self._version,

0 commit comments

Comments
 (0)