From 5879a07c368f02fd886b1f59e210306c66757f3f Mon Sep 17 00:00:00 2001 From: Lakshman Sundaralingam Date: Thu, 20 May 2021 15:46:38 -0700 Subject: [PATCH] Updated swagger paths --- .../aio/operations/_chat_operations.py | 6 ++--- .../aio/operations/_chat_thread_operations.py | 26 +++++++++---------- .../swagger/SWAGGER.md | 2 +- .../_communication_identity_operations.py | 8 +++--- .../swagger/SWAGGER.md | 2 +- .../swagger/PHONE_NUMBER_SWAGGER.md | 2 +- .../aio/operations/_sms_operations.py | 2 +- .../sms/_generated/models/_models.py | 4 +-- .../sms/_generated/models/_models_py3.py | 4 +-- .../swagger/SWAGGER.md | 2 +- 10 files changed, 29 insertions(+), 29 deletions(-) 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 216173282b0fd..636d62de8f36e 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 5e10b25f33f1e..1e8e54f8c52f5 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 00db1b12bf9ea..79d6dc41295fd 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 804305f349e26..3577e53125915 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 4148b526852b2..1fe1434b08737 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/swagger/PHONE_NUMBER_SWAGGER.md b/sdk/communication/azure-communication-phonenumbers/swagger/PHONE_NUMBER_SWAGGER.md index a4fee8494893c..194feafa53901 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 500c4fa9d9e53..7ec83da71f2e4 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 5e173280184ab..3dd8dab3bef24 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 e6ad9d3aba205..7934352a77080 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 cb0880d95b95a..4306c5eb07fae 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