Skip to content

Commit 7319870

Browse files
committed
[Librarian] Regenerated @ 6e3b90a45885c596ade6b11ff7100254b15c9403 b84ee26554aaee61d7bf18f6414a8e87ebf081aa
1 parent 3477f45 commit 7319870

6 files changed

Lines changed: 602 additions & 115 deletions

File tree

CHANGES.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,30 @@ twilio-python Changelog
33

44
Here you can see the full list of changes between each twilio-python release.
55

6+
[2026-03-10] Version 9.10.3
7+
---------------------------
8+
**Twiml**
9+
- Rename `recording_configuration` to `recording_configuration_id` attribute in `<Conference>`, `<Dial>`, `<Record>` verbs and `<Recording>` noun
10+
11+
**Ace**
12+
- # ACE Signals API Changes
13+
- ## 2026-02-18
14+
- Initial release: POST /signals, GET/POST /signals/{signal_id}/results, GET /health
15+
- Enables OneAdmin integration for synchronous signal ingestion and policy result polling
16+
- Supports permission-based authorization for signal operations
17+
- Health endpoint available for monitoring without authentication
18+
19+
**Api**
20+
- Added optional parameter `Confirmation` to Payments create endpoint to enable payment confirmation prompt before gateway submission
21+
- Added optional parameter `RequireMatchingInputs` to Payments create endpoint for input confirmation in agent-assisted payment flows
22+
- Added matcher capture types (`payment-card-number-matcher`, `expiration-date-matcher`, `security-code-matcher`, `postal-code-matcher`) to Payments update endpoint
23+
24+
**Memory**
25+
- ## 2026-03-06
26+
- **Modified 1 path(s)**:
27+
- `/v1/Stores/{storeId}/Profiles/{profileId}/ConversationSummaries/{summaryId}` (added patch, get)
28+
29+
630
[2026-02-18] Version 9.10.2
731
---------------------------
832
**Api**

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

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ 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"
3943

4044
class PaymentMethod(object):
4145
CREDIT_CARD = "credit-card"
@@ -477,6 +481,8 @@ def _create(
477481
timeout: Union[int, object] = values.unset,
478482
token_type: Union["PaymentInstance.TokenType", object] = values.unset,
479483
valid_card_types: Union[str, object] = values.unset,
484+
require_matching_inputs: Union[str, object] = values.unset,
485+
confirmation: Union[str, object] = values.unset,
480486
) -> tuple:
481487
"""
482488
Internal helper for create operation
@@ -503,6 +509,8 @@ def _create(
503509
"Timeout": timeout,
504510
"TokenType": token_type,
505511
"ValidCardTypes": valid_card_types,
512+
"RequireMatchingInputs": require_matching_inputs,
513+
"Confirmation": confirmation,
506514
}
507515
)
508516
headers = values.of({"Content-Type": "application/x-www-form-urlencoded"})
@@ -535,6 +543,8 @@ def create(
535543
timeout: Union[int, object] = values.unset,
536544
token_type: Union["PaymentInstance.TokenType", object] = values.unset,
537545
valid_card_types: Union[str, object] = values.unset,
546+
require_matching_inputs: Union[str, object] = values.unset,
547+
confirmation: Union[str, object] = values.unset,
538548
) -> PaymentInstance:
539549
"""
540550
Create the PaymentInstance
@@ -555,6 +565,8 @@ def create(
555565
: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`.
556566
:param token_type:
557567
:param valid_card_types: Credit card types separated by space that Pay should accept. The default value is `visa mastercard amex`
568+
: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`.
569+
:param confirmation: Whether to prompt the caller to confirm their payment information before submitting to the payment gateway. If `true`, the caller will hear the last 4 digits of their card or account number and must press 1 to confirm or 2 to cancel. Default is `false`.
558570
559571
:returns: The created PaymentInstance
560572
"""
@@ -575,6 +587,8 @@ def create(
575587
timeout=timeout,
576588
token_type=token_type,
577589
valid_card_types=valid_card_types,
590+
require_matching_inputs=require_matching_inputs,
591+
confirmation=confirmation,
578592
)
579593
return PaymentInstance(
580594
self._version,
@@ -603,6 +617,8 @@ def create_with_http_info(
603617
timeout: Union[int, object] = values.unset,
604618
token_type: Union["PaymentInstance.TokenType", object] = values.unset,
605619
valid_card_types: Union[str, object] = values.unset,
620+
require_matching_inputs: Union[str, object] = values.unset,
621+
confirmation: Union[str, object] = values.unset,
606622
) -> ApiResponse:
607623
"""
608624
Create the PaymentInstance and return response metadata
@@ -623,6 +639,8 @@ def create_with_http_info(
623639
: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`.
624640
:param token_type:
625641
:param valid_card_types: Credit card types separated by space that Pay should accept. The default value is `visa mastercard amex`
642+
: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`.
643+
:param confirmation: Whether to prompt the caller to confirm their payment information before submitting to the payment gateway. If `true`, the caller will hear the last 4 digits of their card or account number and must press 1 to confirm or 2 to cancel. Default is `false`.
626644
627645
:returns: ApiResponse with instance, status code, and headers
628646
"""
@@ -643,6 +661,8 @@ def create_with_http_info(
643661
timeout=timeout,
644662
token_type=token_type,
645663
valid_card_types=valid_card_types,
664+
require_matching_inputs=require_matching_inputs,
665+
confirmation=confirmation,
646666
)
647667
instance = PaymentInstance(
648668
self._version,
@@ -672,6 +692,8 @@ async def _create_async(
672692
timeout: Union[int, object] = values.unset,
673693
token_type: Union["PaymentInstance.TokenType", object] = values.unset,
674694
valid_card_types: Union[str, object] = values.unset,
695+
require_matching_inputs: Union[str, object] = values.unset,
696+
confirmation: Union[str, object] = values.unset,
675697
) -> tuple:
676698
"""
677699
Internal async helper for create operation
@@ -698,6 +720,8 @@ async def _create_async(
698720
"Timeout": timeout,
699721
"TokenType": token_type,
700722
"ValidCardTypes": valid_card_types,
723+
"RequireMatchingInputs": require_matching_inputs,
724+
"Confirmation": confirmation,
701725
}
702726
)
703727
headers = values.of({"Content-Type": "application/x-www-form-urlencoded"})
@@ -730,6 +754,8 @@ async def create_async(
730754
timeout: Union[int, object] = values.unset,
731755
token_type: Union["PaymentInstance.TokenType", object] = values.unset,
732756
valid_card_types: Union[str, object] = values.unset,
757+
require_matching_inputs: Union[str, object] = values.unset,
758+
confirmation: Union[str, object] = values.unset,
733759
) -> PaymentInstance:
734760
"""
735761
Asynchronously create the PaymentInstance
@@ -750,6 +776,8 @@ async def create_async(
750776
: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`.
751777
:param token_type:
752778
:param valid_card_types: Credit card types separated by space that Pay should accept. The default value is `visa mastercard amex`
779+
: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`.
780+
:param confirmation: Whether to prompt the caller to confirm their payment information before submitting to the payment gateway. If `true`, the caller will hear the last 4 digits of their card or account number and must press 1 to confirm or 2 to cancel. Default is `false`.
753781
754782
:returns: The created PaymentInstance
755783
"""
@@ -770,6 +798,8 @@ async def create_async(
770798
timeout=timeout,
771799
token_type=token_type,
772800
valid_card_types=valid_card_types,
801+
require_matching_inputs=require_matching_inputs,
802+
confirmation=confirmation,
773803
)
774804
return PaymentInstance(
775805
self._version,
@@ -798,6 +828,8 @@ async def create_with_http_info_async(
798828
timeout: Union[int, object] = values.unset,
799829
token_type: Union["PaymentInstance.TokenType", object] = values.unset,
800830
valid_card_types: Union[str, object] = values.unset,
831+
require_matching_inputs: Union[str, object] = values.unset,
832+
confirmation: Union[str, object] = values.unset,
801833
) -> ApiResponse:
802834
"""
803835
Asynchronously create the PaymentInstance and return response metadata
@@ -818,6 +850,8 @@ async def create_with_http_info_async(
818850
: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`.
819851
:param token_type:
820852
:param valid_card_types: Credit card types separated by space that Pay should accept. The default value is `visa mastercard amex`
853+
: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`.
854+
:param confirmation: Whether to prompt the caller to confirm their payment information before submitting to the payment gateway. If `true`, the caller will hear the last 4 digits of their card or account number and must press 1 to confirm or 2 to cancel. Default is `false`.
821855
822856
:returns: ApiResponse with instance, status code, and headers
823857
"""
@@ -838,6 +872,8 @@ async def create_with_http_info_async(
838872
timeout=timeout,
839873
token_type=token_type,
840874
valid_card_types=valid_card_types,
875+
require_matching_inputs=require_matching_inputs,
876+
confirmation=confirmation,
841877
)
842878
instance = PaymentInstance(
843879
self._version,

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

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,8 @@ def _create(
357357
hints: Union[str, object] = values.unset,
358358
enable_automatic_punctuation: Union[bool, object] = values.unset,
359359
intelligence_service: Union[str, object] = values.unset,
360+
conversation_configuration: Union[str, object] = values.unset,
361+
conversation_id: Union[str, object] = values.unset,
360362
enable_provider_data: Union[bool, object] = values.unset,
361363
) -> tuple:
362364
"""
@@ -384,6 +386,8 @@ def _create(
384386
enable_automatic_punctuation
385387
),
386388
"IntelligenceService": intelligence_service,
389+
"ConversationConfiguration": conversation_configuration,
390+
"ConversationId": conversation_id,
387391
"EnableProviderData": serialize.boolean_to_string(enable_provider_data),
388392
}
389393
)
@@ -413,6 +417,8 @@ def create(
413417
hints: Union[str, object] = values.unset,
414418
enable_automatic_punctuation: Union[bool, object] = values.unset,
415419
intelligence_service: Union[str, object] = values.unset,
420+
conversation_configuration: Union[str, object] = values.unset,
421+
conversation_id: Union[str, object] = values.unset,
416422
enable_provider_data: Union[bool, object] = values.unset,
417423
) -> TranscriptionInstance:
418424
"""
@@ -432,6 +438,8 @@ def create(
432438
:param hints: A Phrase contains words and phrase \\\"hints\\\" so that the speech recognition engine is more likely to recognize them.
433439
:param enable_automatic_punctuation: The provider will add punctuation to recognition result
434440
:param intelligence_service: The SID or unique name of the [Intelligence Service](https://www.twilio.com/docs/conversational-intelligence/api/service-resource) for persisting transcripts and running post-call Language Operators
441+
:param conversation_configuration: The ID of the Conversations Configuration for customizing conversation behavior in Intelligence Service
442+
:param conversation_id: The ID of the Conversation for associating this Transcription with an existing Conversation in Intelligence Service
435443
:param enable_provider_data: Whether the callback includes raw provider data.
436444
437445
:returns: The created TranscriptionInstance
@@ -451,6 +459,8 @@ def create(
451459
hints=hints,
452460
enable_automatic_punctuation=enable_automatic_punctuation,
453461
intelligence_service=intelligence_service,
462+
conversation_configuration=conversation_configuration,
463+
conversation_id=conversation_id,
454464
enable_provider_data=enable_provider_data,
455465
)
456466
return TranscriptionInstance(
@@ -476,6 +486,8 @@ def create_with_http_info(
476486
hints: Union[str, object] = values.unset,
477487
enable_automatic_punctuation: Union[bool, object] = values.unset,
478488
intelligence_service: Union[str, object] = values.unset,
489+
conversation_configuration: Union[str, object] = values.unset,
490+
conversation_id: Union[str, object] = values.unset,
479491
enable_provider_data: Union[bool, object] = values.unset,
480492
) -> ApiResponse:
481493
"""
@@ -495,6 +507,8 @@ def create_with_http_info(
495507
:param hints: A Phrase contains words and phrase \\\"hints\\\" so that the speech recognition engine is more likely to recognize them.
496508
:param enable_automatic_punctuation: The provider will add punctuation to recognition result
497509
:param intelligence_service: The SID or unique name of the [Intelligence Service](https://www.twilio.com/docs/conversational-intelligence/api/service-resource) for persisting transcripts and running post-call Language Operators
510+
:param conversation_configuration: The ID of the Conversations Configuration for customizing conversation behavior in Intelligence Service
511+
:param conversation_id: The ID of the Conversation for associating this Transcription with an existing Conversation in Intelligence Service
498512
:param enable_provider_data: Whether the callback includes raw provider data.
499513
500514
:returns: ApiResponse with instance, status code, and headers
@@ -514,6 +528,8 @@ def create_with_http_info(
514528
hints=hints,
515529
enable_automatic_punctuation=enable_automatic_punctuation,
516530
intelligence_service=intelligence_service,
531+
conversation_configuration=conversation_configuration,
532+
conversation_id=conversation_id,
517533
enable_provider_data=enable_provider_data,
518534
)
519535
instance = TranscriptionInstance(
@@ -540,6 +556,8 @@ async def _create_async(
540556
hints: Union[str, object] = values.unset,
541557
enable_automatic_punctuation: Union[bool, object] = values.unset,
542558
intelligence_service: Union[str, object] = values.unset,
559+
conversation_configuration: Union[str, object] = values.unset,
560+
conversation_id: Union[str, object] = values.unset,
543561
enable_provider_data: Union[bool, object] = values.unset,
544562
) -> tuple:
545563
"""
@@ -567,6 +585,8 @@ async def _create_async(
567585
enable_automatic_punctuation
568586
),
569587
"IntelligenceService": intelligence_service,
588+
"ConversationConfiguration": conversation_configuration,
589+
"ConversationId": conversation_id,
570590
"EnableProviderData": serialize.boolean_to_string(enable_provider_data),
571591
}
572592
)
@@ -596,6 +616,8 @@ async def create_async(
596616
hints: Union[str, object] = values.unset,
597617
enable_automatic_punctuation: Union[bool, object] = values.unset,
598618
intelligence_service: Union[str, object] = values.unset,
619+
conversation_configuration: Union[str, object] = values.unset,
620+
conversation_id: Union[str, object] = values.unset,
599621
enable_provider_data: Union[bool, object] = values.unset,
600622
) -> TranscriptionInstance:
601623
"""
@@ -615,6 +637,8 @@ async def create_async(
615637
:param hints: A Phrase contains words and phrase \\\"hints\\\" so that the speech recognition engine is more likely to recognize them.
616638
:param enable_automatic_punctuation: The provider will add punctuation to recognition result
617639
:param intelligence_service: The SID or unique name of the [Intelligence Service](https://www.twilio.com/docs/conversational-intelligence/api/service-resource) for persisting transcripts and running post-call Language Operators
640+
:param conversation_configuration: The ID of the Conversations Configuration for customizing conversation behavior in Intelligence Service
641+
:param conversation_id: The ID of the Conversation for associating this Transcription with an existing Conversation in Intelligence Service
618642
:param enable_provider_data: Whether the callback includes raw provider data.
619643
620644
:returns: The created TranscriptionInstance
@@ -634,6 +658,8 @@ async def create_async(
634658
hints=hints,
635659
enable_automatic_punctuation=enable_automatic_punctuation,
636660
intelligence_service=intelligence_service,
661+
conversation_configuration=conversation_configuration,
662+
conversation_id=conversation_id,
637663
enable_provider_data=enable_provider_data,
638664
)
639665
return TranscriptionInstance(
@@ -659,6 +685,8 @@ async def create_with_http_info_async(
659685
hints: Union[str, object] = values.unset,
660686
enable_automatic_punctuation: Union[bool, object] = values.unset,
661687
intelligence_service: Union[str, object] = values.unset,
688+
conversation_configuration: Union[str, object] = values.unset,
689+
conversation_id: Union[str, object] = values.unset,
662690
enable_provider_data: Union[bool, object] = values.unset,
663691
) -> ApiResponse:
664692
"""
@@ -678,6 +706,8 @@ async def create_with_http_info_async(
678706
:param hints: A Phrase contains words and phrase \\\"hints\\\" so that the speech recognition engine is more likely to recognize them.
679707
:param enable_automatic_punctuation: The provider will add punctuation to recognition result
680708
:param intelligence_service: The SID or unique name of the [Intelligence Service](https://www.twilio.com/docs/conversational-intelligence/api/service-resource) for persisting transcripts and running post-call Language Operators
709+
:param conversation_configuration: The ID of the Conversations Configuration for customizing conversation behavior in Intelligence Service
710+
:param conversation_id: The ID of the Conversation for associating this Transcription with an existing Conversation in Intelligence Service
681711
:param enable_provider_data: Whether the callback includes raw provider data.
682712
683713
:returns: ApiResponse with instance, status code, and headers
@@ -697,6 +727,8 @@ async def create_with_http_info_async(
697727
hints=hints,
698728
enable_automatic_punctuation=enable_automatic_punctuation,
699729
intelligence_service=intelligence_service,
730+
conversation_configuration=conversation_configuration,
731+
conversation_id=conversation_id,
700732
enable_provider_data=enable_provider_data,
701733
)
702734
instance = TranscriptionInstance(

0 commit comments

Comments
 (0)