diff --git a/sdk/communication/azure-communication-chat/azure/communication/chat/_generated/aio/operations/_chat_operations.py b/sdk/communication/azure-communication-chat/azure/communication/chat/_generated/aio/operations/_chat_operations.py index 216173282b0f..636d62de8f36 100644 --- a/sdk/communication/azure-communication-chat/azure/communication/chat/_generated/aio/operations/_chat_operations.py +++ b/sdk/communication/azure-communication-chat/azure/communication/chat/_generated/aio/operations/_chat_operations.py @@ -45,7 +45,7 @@ async def create_chat_thread( self, create_chat_thread_request: "_models.CreateChatThreadRequest", repeatability_request_id: Optional[str] = None, - **kwargs + **kwargs: Any ) -> "_models.CreateChatThreadResult": """Creates a chat thread. @@ -120,7 +120,7 @@ def list_chat_threads( self, max_page_size: Optional[int] = None, start_time: Optional[datetime.datetime] = None, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ChatThreadsItemCollection"]: """Gets the list of chat threads of a user. @@ -207,7 +207,7 @@ async def get_next(next_link=None): async def delete_chat_thread( self, chat_thread_id: str, - **kwargs + **kwargs: Any ) -> None: """Deletes a thread. diff --git a/sdk/communication/azure-communication-chat/azure/communication/chat/_generated/aio/operations/_chat_thread_operations.py b/sdk/communication/azure-communication-chat/azure/communication/chat/_generated/aio/operations/_chat_thread_operations.py index 5e10b25f33f1..1e8e54f8c52f 100644 --- a/sdk/communication/azure-communication-chat/azure/communication/chat/_generated/aio/operations/_chat_thread_operations.py +++ b/sdk/communication/azure-communication-chat/azure/communication/chat/_generated/aio/operations/_chat_thread_operations.py @@ -46,7 +46,7 @@ def list_chat_read_receipts( chat_thread_id: str, max_page_size: Optional[int] = None, skip: Optional[int] = None, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ChatMessageReadReceiptsCollection"]: """Gets chat message read receipts for a thread. @@ -137,7 +137,7 @@ async def send_chat_read_receipt( self, chat_thread_id: str, send_read_receipt_request: "_models.SendReadReceiptRequest", - **kwargs + **kwargs: Any ) -> None: """Sends a read receipt event to a thread, on behalf of a user. @@ -203,7 +203,7 @@ async def send_chat_message( self, chat_thread_id: str, send_chat_message_request: "_models.SendChatMessageRequest", - **kwargs + **kwargs: Any ) -> "_models.SendChatMessageResult": """Sends a message to a thread. @@ -273,7 +273,7 @@ def list_chat_messages( chat_thread_id: str, max_page_size: Optional[int] = None, start_time: Optional[datetime.datetime] = None, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ChatMessagesCollection"]: """Gets a list of messages from a thread. @@ -365,7 +365,7 @@ async def get_chat_message( self, chat_thread_id: str, chat_message_id: str, - **kwargs + **kwargs: Any ) -> "_models.ChatMessage": """Gets a message by id. @@ -431,7 +431,7 @@ async def update_chat_message( chat_thread_id: str, chat_message_id: str, update_chat_message_request: "_models.UpdateChatMessageRequest", - **kwargs + **kwargs: Any ) -> None: """Updates a message. @@ -500,7 +500,7 @@ async def delete_chat_message( self, chat_thread_id: str, chat_message_id: str, - **kwargs + **kwargs: Any ) -> None: """Deletes a message. @@ -561,7 +561,7 @@ async def delete_chat_message( async def send_typing_notification( self, chat_thread_id: str, - **kwargs + **kwargs: Any ) -> None: """Posts a typing event to a thread, on behalf of a user. @@ -621,7 +621,7 @@ def list_chat_participants( chat_thread_id: str, max_page_size: Optional[int] = None, skip: Optional[int] = None, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ChatParticipantsCollection"]: """Gets the participants of a thread. @@ -712,7 +712,7 @@ async def remove_chat_participant( self, chat_thread_id: str, participant_communication_identifier: "_models.CommunicationIdentifierModel", - **kwargs + **kwargs: Any ) -> None: """Remove a participant from a thread. @@ -779,7 +779,7 @@ async def add_chat_participants( self, chat_thread_id: str, add_chat_participants_request: "_models.AddChatParticipantsRequest", - **kwargs + **kwargs: Any ) -> "_models.AddChatParticipantsResult": """Adds thread participants to a thread. If participants already exist, no change occurs. @@ -848,7 +848,7 @@ async def update_chat_thread_properties( self, chat_thread_id: str, update_chat_thread_request: "_models.UpdateChatThreadRequest", - **kwargs + **kwargs: Any ) -> None: """Updates a thread's properties. @@ -913,7 +913,7 @@ async def update_chat_thread_properties( async def get_chat_thread_properties( self, chat_thread_id: str, - **kwargs + **kwargs: Any ) -> "_models.ChatThreadProperties": """Gets a chat thread's properties. diff --git a/sdk/communication/azure-communication-chat/swagger/SWAGGER.md b/sdk/communication/azure-communication-chat/swagger/SWAGGER.md index 00db1b12bf9e..79d6dc41295f 100644 --- a/sdk/communication/azure-communication-chat/swagger/SWAGGER.md +++ b/sdk/communication/azure-communication-chat/swagger/SWAGGER.md @@ -17,7 +17,7 @@ autorest SWAGGER.md ```yaml tag: package-chat-2021-03-07 -require: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/bf081421869ccd31d9fd87084b07a1e246aee310/specification/communication/data-plane/Microsoft.CommunicationServicesChat/readme.md +require: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/896d05e37dbb00712726620b8d679cc3c3be09fb/specification/communication/data-plane/Chat/readme.md output-folder: ../azure/communication/chat/_generated namespace: azure.communication.chat no-namespace-folders: true diff --git a/sdk/communication/azure-communication-identity/azure/communication/identity/_generated/aio/operations/_communication_identity_operations.py b/sdk/communication/azure-communication-identity/azure/communication/identity/_generated/aio/operations/_communication_identity_operations.py index 804305f349e2..3577e5312591 100644 --- a/sdk/communication/azure-communication-identity/azure/communication/identity/_generated/aio/operations/_communication_identity_operations.py +++ b/sdk/communication/azure-communication-identity/azure/communication/identity/_generated/aio/operations/_communication_identity_operations.py @@ -42,7 +42,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: async def create( self, create_token_with_scopes: Optional[List[Union[str, "_models.CommunicationTokenScope"]]] = None, - **kwargs + **kwargs: Any ) -> "_models.CommunicationIdentityAccessTokenResult": """Create a new identity. @@ -108,7 +108,7 @@ async def create( async def delete( self, id: str, - **kwargs + **kwargs: Any ) -> None: """Delete the identity, revoke all tokens for the identity and delete all associated data. @@ -162,7 +162,7 @@ async def delete( async def revoke_access_tokens( self, id: str, - **kwargs + **kwargs: Any ) -> None: """Revoke all access tokens for the specific identity. @@ -217,7 +217,7 @@ async def issue_access_token( self, id: str, scopes: List[Union[str, "_models.CommunicationTokenScope"]], - **kwargs + **kwargs: Any ) -> "_models.CommunicationIdentityAccessToken": """Issue a new token for an identity. diff --git a/sdk/communication/azure-communication-identity/swagger/SWAGGER.md b/sdk/communication/azure-communication-identity/swagger/SWAGGER.md index 4148b526852b..1fe1434b0873 100644 --- a/sdk/communication/azure-communication-identity/swagger/SWAGGER.md +++ b/sdk/communication/azure-communication-identity/swagger/SWAGGER.md @@ -16,7 +16,7 @@ autorest ./SWAGGER.md ### Settings ``` yaml tag: package-2021-03-07 -require: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/bf081421869ccd31d9fd87084b07a1e246aee310/specification/communication/data-plane/Microsoft.CommunicationServicesIdentity/readme.md +require: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/896d05e37dbb00712726620b8d679cc3c3be09fb/specification/communication/data-plane/Identity/readme.md output-folder: ../azure/communication/identity/_generated/ namespace: azure.communication.identity license-header: MICROSOFT_MIT_NO_VERSION diff --git a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/aio/operations/_phone_numbers_operations.py b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/aio/operations/_phone_numbers_operations.py index 88d4c0c636c8..af9414213aef 100644 --- a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/aio/operations/_phone_numbers_operations.py +++ b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/aio/operations/_phone_numbers_operations.py @@ -46,7 +46,7 @@ async def _search_available_phone_numbers_initial( self, country_code: str, body: "_models.PhoneNumberSearchRequest", - **kwargs + **kwargs: Any ) -> "_models.PhoneNumberSearchResult": cls = kwargs.pop('cls', None) # type: ClsType["_models.PhoneNumberSearchResult"] error_map = { @@ -103,7 +103,7 @@ async def begin_search_available_phone_numbers( self, country_code: str, body: "_models.PhoneNumberSearchRequest", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.PhoneNumberSearchResult"]: """Search for available phone numbers to purchase. @@ -115,15 +115,15 @@ async def begin_search_available_phone_numbers( :type body: ~azure.communication.phonenumbers.models.PhoneNumberSearchRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncLROBasePolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncLROBasePolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PhoneNumberSearchResult or the result of cls(response) :rtype: ~azure.core.polling.AsyncLROPoller[~azure.communication.phonenumbers.models.PhoneNumberSearchResult] :raises ~azure.core.exceptions.HttpResponseError: """ - polling = kwargs.pop('polling', False) # type: Union[bool, AsyncPollingMethod] + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] cls = kwargs.pop('cls', None) # type: ClsType["_models.PhoneNumberSearchResult"] lro_delay = kwargs.pop( 'polling_interval', @@ -176,7 +176,7 @@ def get_long_running_output(pipeline_response): async def get_search_result( self, search_id: str, - **kwargs + **kwargs: Any ) -> "_models.PhoneNumberSearchResult": """Gets a phone number search result by search id. @@ -233,7 +233,7 @@ async def get_search_result( async def _purchase_phone_numbers_initial( self, search_id: Optional[str] = None, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -287,7 +287,7 @@ async def _purchase_phone_numbers_initial( async def begin_purchase_phone_numbers( self, search_id: Optional[str] = None, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Purchases phone numbers. @@ -297,15 +297,15 @@ async def begin_purchase_phone_numbers( :type search_id: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncLROBasePolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncLROBasePolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) :rtype: ~azure.core.polling.AsyncLROPoller[None] :raises ~azure.core.exceptions.HttpResponseError: """ - polling = kwargs.pop('polling', False) # type: Union[bool, AsyncPollingMethod] + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] cls = kwargs.pop('cls', None) # type: ClsType[None] lro_delay = kwargs.pop( 'polling_interval', @@ -347,7 +347,7 @@ def get_long_running_output(pipeline_response): async def get_operation( self, operation_id: str, - **kwargs + **kwargs: Any ) -> "_models.PhoneNumberOperation": """Gets an operation by its id. @@ -406,7 +406,7 @@ async def get_operation( async def cancel_operation( self, operation_id: str, - **kwargs + **kwargs: Any ) -> None: """Cancels an operation by its id. @@ -462,7 +462,7 @@ async def _update_capabilities_initial( phone_number: str, calling: Optional[Union[str, "_models.PhoneNumberCapabilityType"]] = None, sms: Optional[Union[str, "_models.PhoneNumberCapabilityType"]] = None, - **kwargs + **kwargs: Any ) -> "_models.PurchasedPhoneNumber": cls = kwargs.pop('cls', None) # type: ClsType["_models.PurchasedPhoneNumber"] error_map = { @@ -525,7 +525,7 @@ async def begin_update_capabilities( phone_number: str, calling: Optional[Union[str, "_models.PhoneNumberCapabilityType"]] = None, sms: Optional[Union[str, "_models.PhoneNumberCapabilityType"]] = None, - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.PurchasedPhoneNumber"]: """Updates the capabilities of a phone number. @@ -540,15 +540,15 @@ async def begin_update_capabilities( :type sms: str or ~azure.communication.phonenumbers.models.PhoneNumberCapabilityType :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncLROBasePolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncLROBasePolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PurchasedPhoneNumber or the result of cls(response) :rtype: ~azure.core.polling.AsyncLROPoller[~azure.communication.phonenumbers.models.PurchasedPhoneNumber] :raises ~azure.core.exceptions.HttpResponseError: """ - polling = kwargs.pop('polling', False) # type: Union[bool, AsyncPollingMethod] + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] cls = kwargs.pop('cls', None) # type: ClsType["_models.PurchasedPhoneNumber"] lro_delay = kwargs.pop( 'polling_interval', @@ -602,7 +602,7 @@ def get_long_running_output(pipeline_response): async def get_by_number( self, phone_number: str, - **kwargs + **kwargs: Any ) -> "_models.PurchasedPhoneNumber": """Gets the details of the given purchased phone number. @@ -660,7 +660,7 @@ async def get_by_number( async def _release_phone_number_initial( self, phone_number: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -708,7 +708,7 @@ async def _release_phone_number_initial( async def begin_release_phone_number( self, phone_number: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Releases a purchased phone number. @@ -718,15 +718,15 @@ async def begin_release_phone_number( :type phone_number: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncLROBasePolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncLROBasePolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) :rtype: ~azure.core.polling.AsyncLROPoller[None] :raises ~azure.core.exceptions.HttpResponseError: """ - polling = kwargs.pop('polling', False) # type: Union[bool, AsyncPollingMethod] + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] cls = kwargs.pop('cls', None) # type: ClsType[None] lro_delay = kwargs.pop( 'polling_interval', @@ -770,7 +770,7 @@ def list_phone_numbers( self, skip: Optional[int] = 0, top: Optional[int] = 100, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.PurchasedPhoneNumbers"]: """Gets the list of all purchased phone numbers. diff --git a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/operations/_phone_numbers_operations.py b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/operations/_phone_numbers_operations.py index 954bab3587fb..8ded33e4a464 100644 --- a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/operations/_phone_numbers_operations.py +++ b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_generated/operations/_phone_numbers_operations.py @@ -121,15 +121,15 @@ def begin_search_available_phone_numbers( :type body: ~azure.communication.phonenumbers.models.PhoneNumberSearchRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the LROBasePolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be LROBasePolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PhoneNumberSearchResult or the result of cls(response) :rtype: ~azure.core.polling.LROPoller[~azure.communication.phonenumbers.models.PhoneNumberSearchResult] :raises ~azure.core.exceptions.HttpResponseError: """ - polling = kwargs.pop('polling', False) # type: Union[bool, PollingMethod] + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] cls = kwargs.pop('cls', None) # type: ClsType["_models.PhoneNumberSearchResult"] lro_delay = kwargs.pop( 'polling_interval', @@ -306,15 +306,15 @@ def begin_purchase_phone_numbers( :type search_id: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the LROBasePolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be LROBasePolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) :rtype: ~azure.core.polling.LROPoller[None] :raises ~azure.core.exceptions.HttpResponseError: """ - polling = kwargs.pop('polling', False) # type: Union[bool, PollingMethod] + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] cls = kwargs.pop('cls', None) # type: ClsType[None] lro_delay = kwargs.pop( 'polling_interval', @@ -553,15 +553,15 @@ def begin_update_capabilities( :type sms: str or ~azure.communication.phonenumbers.models.PhoneNumberCapabilityType :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the LROBasePolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be LROBasePolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PurchasedPhoneNumber or the result of cls(response) :rtype: ~azure.core.polling.LROPoller[~azure.communication.phonenumbers.models.PurchasedPhoneNumber] :raises ~azure.core.exceptions.HttpResponseError: """ - polling = kwargs.pop('polling', False) # type: Union[bool, PollingMethod] + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] cls = kwargs.pop('cls', None) # type: ClsType["_models.PurchasedPhoneNumber"] lro_delay = kwargs.pop( 'polling_interval', @@ -734,15 +734,15 @@ def begin_release_phone_number( :type phone_number: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the LROBasePolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be LROBasePolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) :rtype: ~azure.core.polling.LROPoller[None] :raises ~azure.core.exceptions.HttpResponseError: """ - polling = kwargs.pop('polling', False) # type: Union[bool, PollingMethod] + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] cls = kwargs.pop('cls', None) # type: ClsType[None] lro_delay = kwargs.pop( 'polling_interval', diff --git a/sdk/communication/azure-communication-phonenumbers/swagger/PHONE_NUMBER_SWAGGER.md b/sdk/communication/azure-communication-phonenumbers/swagger/PHONE_NUMBER_SWAGGER.md index a4fee8494893..194feafa5390 100644 --- a/sdk/communication/azure-communication-phonenumbers/swagger/PHONE_NUMBER_SWAGGER.md +++ b/sdk/communication/azure-communication-phonenumbers/swagger/PHONE_NUMBER_SWAGGER.md @@ -11,7 +11,7 @@ autorest ./PHONE_NUMBER_SWAGGER.md ### Settings ``` yaml tag: package-phonenumber-2021-03-07 -require: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/bf081421869ccd31d9fd87084b07a1e246aee310/specification/communication/data-plane/Microsoft.CommunicationServicesPhoneNumbers/readme.md +require: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/896d05e37dbb00712726620b8d679cc3c3be09fb/specification/communication/data-plane/PhoneNumbers/readme.md output-folder: ../azure/communication/phonenumbers/_generated namespace: azure.communication.phonenumbers license-header: MICROSOFT_MIT_NO_VERSION diff --git a/sdk/communication/azure-communication-sms/azure/communication/sms/_generated/aio/operations/_sms_operations.py b/sdk/communication/azure-communication-sms/azure/communication/sms/_generated/aio/operations/_sms_operations.py index 500c4fa9d9e5..7ec83da71f2e 100644 --- a/sdk/communication/azure-communication-sms/azure/communication/sms/_generated/aio/operations/_sms_operations.py +++ b/sdk/communication/azure-communication-sms/azure/communication/sms/_generated/aio/operations/_sms_operations.py @@ -42,7 +42,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: async def send( self, send_message_request: "_models.SendMessageRequest", - **kwargs + **kwargs: Any ) -> "_models.SmsSendResponse": """Sends a SMS message from a phone number that belongs to the authenticated account. diff --git a/sdk/communication/azure-communication-sms/azure/communication/sms/_generated/models/_models.py b/sdk/communication/azure-communication-sms/azure/communication/sms/_generated/models/_models.py index 5e173280184a..3dd8dab3bef2 100644 --- a/sdk/communication/azure-communication-sms/azure/communication/sms/_generated/models/_models.py +++ b/sdk/communication/azure-communication-sms/azure/communication/sms/_generated/models/_models.py @@ -159,8 +159,8 @@ class SmsSendResponseItem(msrest.serialization.Model): :type message_id: str :param http_status_code: Required. HTTP Status code. :type http_status_code: int - :param repeatability_result: The result of a repeatable request with one of the case- - insensitive values accepted or rejected. Possible values include: "accepted", "rejected". + :param repeatability_result: The result of a repeatable request with one of the + case-insensitive values accepted or rejected. Possible values include: "accepted", "rejected". :type repeatability_result: str or ~azure.communication.sms.models.SmsSendResponseItemRepeatabilityResult :param successful: Required. Indicates if the message is processed successfully or not. diff --git a/sdk/communication/azure-communication-sms/azure/communication/sms/_generated/models/_models_py3.py b/sdk/communication/azure-communication-sms/azure/communication/sms/_generated/models/_models_py3.py index e6ad9d3aba20..7934352a7708 100644 --- a/sdk/communication/azure-communication-sms/azure/communication/sms/_generated/models/_models_py3.py +++ b/sdk/communication/azure-communication-sms/azure/communication/sms/_generated/models/_models_py3.py @@ -177,8 +177,8 @@ class SmsSendResponseItem(msrest.serialization.Model): :type message_id: str :param http_status_code: Required. HTTP Status code. :type http_status_code: int - :param repeatability_result: The result of a repeatable request with one of the case- - insensitive values accepted or rejected. Possible values include: "accepted", "rejected". + :param repeatability_result: The result of a repeatable request with one of the + case-insensitive values accepted or rejected. Possible values include: "accepted", "rejected". :type repeatability_result: str or ~azure.communication.sms.models.SmsSendResponseItemRepeatabilityResult :param successful: Required. Indicates if the message is processed successfully or not. diff --git a/sdk/communication/azure-communication-sms/swagger/SWAGGER.md b/sdk/communication/azure-communication-sms/swagger/SWAGGER.md index cb0880d95b95..4306c5eb07fa 100644 --- a/sdk/communication/azure-communication-sms/swagger/SWAGGER.md +++ b/sdk/communication/azure-communication-sms/swagger/SWAGGER.md @@ -16,7 +16,7 @@ autorest SWAGGER.md ### Settings ``` yaml tag: package-sms-2021-03-07 -require: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/bf081421869ccd31d9fd87084b07a1e246aee310/specification/communication/data-plane/Microsoft.CommunicationServicesSms/readme.md +require: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/896d05e37dbb00712726620b8d679cc3c3be09fb/specification/communication/data-plane/Sms/readme.md output-folder: ../azure/communication/sms/_generated namespace: azure.communication.sms no-namespace-folders: true