Skip to content

Commit

Permalink
Update autorest config (Azure#28558)
Browse files Browse the repository at this point in the history
* update autorest config

* update recordings

* fix swagger Rename for SendTypingNotificationRequest
  • Loading branch information
LuChen-Microsoft authored May 4, 2022
1 parent 783eaa5 commit b48e4c5
Show file tree
Hide file tree
Showing 101 changed files with 5,887 additions and 5,257 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ public AzureCommunicationChatServiceImplBuilder addPolicy(HttpPipelinePolicy cus
*/
public AzureCommunicationChatServiceImpl buildClient() {
if (apiVersion == null) {
this.apiVersion = "2021-04-05-preview6";
this.apiVersion = "2021-09-07";
}
if (pipeline == null) {
this.pipeline = createHttpPipeline();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@ public Response<SendChatMessageResult> sendChatMessageWithResponse(
* Gets a list of messages from a thread.
*
* @param chatThreadId The thread id of the message.
* @param maxPageSize The maximum number of messages to be returned per page. The limit can be found at https://docs.microsoft.com/en-us/azure/communication-services/concepts/service-limits#size-limits.
* @param maxPageSize The maximum number of messages to be returned per page.
* @param startTime The earliest point in time to get messages up to. The timestamp should be in RFC3339 format:
* `yyyy-MM-ddTHH:mm:ssZ`.
* @throws IllegalArgumentException thrown if parameters fail the validation.
Expand Down Expand Up @@ -711,7 +711,7 @@ public Mono<PagedResponse<ChatMessage>> listChatMessagesSinglePageAsync(
* Gets a list of messages from a thread.
*
* @param chatThreadId The thread id of the message.
* @param maxPageSize The maximum number of messages to be returned per page. The limit can be found at https://docs.microsoft.com/en-us/azure/communication-services/concepts/service-limits#size-limits.
* @param maxPageSize The maximum number of messages to be returned per page.
* @param startTime The earliest point in time to get messages up to. The timestamp should be in RFC3339 format:
* `yyyy-MM-ddTHH:mm:ssZ`.
* @param context The context to associate with this operation.
Expand Down Expand Up @@ -747,7 +747,7 @@ public Mono<PagedResponse<ChatMessage>> listChatMessagesSinglePageAsync(
* Gets a list of messages from a thread.
*
* @param chatThreadId The thread id of the message.
* @param maxPageSize The maximum number of messages to be returned per page. The limit can be found at https://docs.microsoft.com/en-us/azure/communication-services/concepts/service-limits#size-limits.
* @param maxPageSize The maximum number of messages to be returned per page.
* @param startTime The earliest point in time to get messages up to. The timestamp should be in RFC3339 format:
* `yyyy-MM-ddTHH:mm:ssZ`.
* @throws IllegalArgumentException thrown if parameters fail the validation.
Expand Down Expand Up @@ -785,7 +785,7 @@ public PagedFlux<ChatMessage> listChatMessagesAsync(String chatThreadId) {
* Gets a list of messages from a thread.
*
* @param chatThreadId The thread id of the message.
* @param maxPageSize The maximum number of messages to be returned per page. The limit can be found at https://docs.microsoft.com/en-us/azure/communication-services/concepts/service-limits#size-limits.
* @param maxPageSize The maximum number of messages to be returned per page.
* @param startTime The earliest point in time to get messages up to. The timestamp should be in RFC3339 format:
* `yyyy-MM-ddTHH:mm:ssZ`.
* @param context The context to associate with this operation.
Expand All @@ -806,7 +806,7 @@ public PagedFlux<ChatMessage> listChatMessagesAsync(
* Gets a list of messages from a thread.
*
* @param chatThreadId The thread id of the message.
* @param maxPageSize The maximum number of messages to be returned per page. The limit can be found at https://docs.microsoft.com/en-us/azure/communication-services/concepts/service-limits#size-limits.
* @param maxPageSize The maximum number of messages to be returned per page.
* @param startTime The earliest point in time to get messages up to. The timestamp should be in RFC3339 format:
* `yyyy-MM-ddTHH:mm:ssZ`.
* @throws IllegalArgumentException thrown if parameters fail the validation.
Expand Down Expand Up @@ -840,7 +840,7 @@ public PagedIterable<ChatMessage> listChatMessages(String chatThreadId) {
* Gets a list of messages from a thread.
*
* @param chatThreadId The thread id of the message.
* @param maxPageSize The maximum number of messages to be returned per page. The limit can be found at https://docs.microsoft.com/en-us/azure/communication-services/concepts/service-limits#size-limits.
* @param maxPageSize The maximum number of messages to be returned per page.
* @param startTime The earliest point in time to get messages up to. The timestamp should be in RFC3339 format:
* `yyyy-MM-ddTHH:mm:ssZ`.
* @param context The context to associate with this operation.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,24 @@
"Method" : "POST",
"Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07",
"Headers" : {
"User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)",
"x-ms-client-request-id" : "678744af-46ca-498f-893d-3cf6eae8aab1",
"User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)",
"x-ms-client-request-id" : "13ce3c1d-8329-44ae-af8e-f539e5fb6e74",
"Content-Type" : "application/json"
},
"Response" : {
"Transfer-Encoding" : "chunked",
"x-azure-ref" : "20220504T003011Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000084wg",
"X-Cache" : "CONFIG_NOCACHE",
"api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview",
"content-length" : "101",
"api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01",
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "201",
"Date" : "Wed, 08 Sep 2021 22:51:51 GMT",
"Date" : "Wed, 04 May 2022 00:30:12 GMT",
"Strict-Transport-Security" : "max-age=2592000",
"X-Processing-Time" : "60ms",
"MS-CV" : "+DXXxk4d/ki+2kuowhdXSg.0",
"X-Azure-Ref" : "0hz45YQAAAACqCI9sfA4kSIyBnkk6dbJ3V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx",
"Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-e5f8-fcd8-a53a0d0000e3\"}}",
"x-ms-client-request-id" : "678744af-46ca-498f-893d-3cf6eae8aab1",
"X-Processing-Time" : "89ms",
"MS-CV" : "4Z328ValXEKhBw32vvjC5A.0",
"Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-3fac-3ef0-8b3a0d0028dc\"}}",
"x-ms-client-request-id" : "13ce3c1d-8329-44ae-af8e-f539e5fb6e74",
"Content-Type" : "application/json; charset=utf-8",
"Request-Context" : "appId="
},
Expand All @@ -28,98 +29,103 @@
"Method" : "POST",
"Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07",
"Headers" : {
"User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)",
"x-ms-client-request-id" : "fc08f96c-0437-4e22-a6e1-d265f1a0e27d",
"User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)",
"x-ms-client-request-id" : "ae4f967c-b637-46bd-9dbf-b0931041863e",
"Content-Type" : "application/json"
},
"Response" : {
"Transfer-Encoding" : "chunked",
"x-azure-ref" : "20220504T003014Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000db5b",
"X-Cache" : "CONFIG_NOCACHE",
"api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview",
"content-length" : "101",
"api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01",
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "201",
"Date" : "Wed, 08 Sep 2021 22:51:51 GMT",
"Date" : "Wed, 04 May 2022 00:30:14 GMT",
"Strict-Transport-Security" : "max-age=2592000",
"X-Processing-Time" : "86ms",
"MS-CV" : "hN7fX8ZoF0O4+fB9paPdzg.0",
"X-Azure-Ref" : "0hz45YQAAAAAM74VZPmuVRLmIaTsbkT50V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx",
"Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-e682-a8f4-2348220001ad\"}}",
"x-ms-client-request-id" : "fc08f96c-0437-4e22-a6e1-d265f1a0e27d",
"X-Processing-Time" : "94ms",
"MS-CV" : "j/Rb1hjcaEmHiZ9Y+0Mruw.0",
"Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-415b-69f0-553a0d002996\"}}",
"x-ms-client-request-id" : "ae4f967c-b637-46bd-9dbf-b0931041863e",
"Content-Type" : "application/json; charset=utf-8",
"Request-Context" : "appId="
},
"Exception" : null
}, {
"Method" : "POST",
"Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-e5f8-fcd8-a53a0d0000e3/:issueAccessToken?api-version=2021-03-07",
"Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-3fac-3ef0-8b3a0d0028dc/:issueAccessToken?api-version=2021-03-07",
"Headers" : {
"User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)",
"x-ms-client-request-id" : "c1493557-9b33-4734-94e5-7e9bebd72ef2",
"User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)",
"x-ms-client-request-id" : "63ac8dbc-7098-4e6e-a5a4-56be1ec2cb77",
"Content-Type" : "application/json"
},
"Response" : {
"Transfer-Encoding" : "chunked",
"x-azure-ref" : "20220504T003012Z-3knzm6g59904z2v1e8tfw6gqqn000000060g00000000851s",
"X-Cache" : "CONFIG_NOCACHE",
"api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview",
"content-length" : "804",
"api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01",
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
"Date" : "Wed, 08 Sep 2021 22:51:51 GMT",
"Date" : "Wed, 04 May 2022 00:30:13 GMT",
"Accept-Ranges" : "bytes",
"Strict-Transport-Security" : "max-age=2592000",
"X-Processing-Time" : "136ms",
"MS-CV" : "pjS7AhPJ80+NUKhsqIV83Q.0",
"X-Azure-Ref" : "0hz45YQAAAABJ+T7gpETIRLPyeMyB2eWYV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx",
"Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:51:52.0877011+00:00\"}",
"x-ms-client-request-id" : "c1493557-9b33-4734-94e5-7e9bebd72ef2",
"X-Processing-Time" : "157ms",
"MS-CV" : "RHChBIElN0mShY4mQ/yqaw.0",
"Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:30:22.6069542+00:00\"}",
"x-ms-client-request-id" : "63ac8dbc-7098-4e6e-a5a4-56be1ec2cb77",
"Content-Type" : "application/json; charset=utf-8",
"Request-Context" : "appId="
},
"Exception" : null
}, {
"Method" : "POST",
"Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6",
"Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07",
"Headers" : {
"User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)",
"x-ms-client-request-id" : "7b92622e-5b19-4de2-a0d8-722a8420e7cd",
"User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)",
"x-ms-client-request-id" : "c0c5a682-a9e2-46db-9dda-1f7b5ebf1ea2",
"Content-Type" : "application/json"
},
"Response" : {
"Transfer-Encoding" : "chunked",
"x-azure-ref" : "20220504T003015Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dbax",
"X-Cache" : "CONFIG_NOCACHE",
"api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07",
"api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7",
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "201",
"Date" : "Wed, 08 Sep 2021 22:51:51 GMT",
"Date" : "Wed, 04 May 2022 00:30:16 GMT",
"Strict-Transport-Security" : "max-age=2592000",
"X-Processing-Time" : "432ms",
"MS-CV" : "eYA+dYtTykmkO5beMWU+QA.0",
"X-Azure-Ref" : "0iD45YQAAAAB07wxWwqioSr+M0CoGHXzFV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx",
"Body" : "{\"chatThread\":{\"id\":\"19:6hMLComr2K6Ovpu-69iCiwx4Kc0VC0v9yw9R6g6J9nI1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:51:52Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-e5f8-fcd8-a53a0d0000e3\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-e5f8-fcd8-a53a0d0000e3\"}}}}",
"X-Processing-Time" : "622ms",
"MS-CV" : "wBiBVvYCLEmQhO5oW9CFPQ.0",
"Body" : "{\"chatThread\":{\"id\":\"19:oOaa1a9JR-1NAbL_C1G5fnMNIse7j4R2QFcIYK7QqXQ1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:30:22Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-3fac-3ef0-8b3a0d0028dc\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-3fac-3ef0-8b3a0d0028dc\"}}}}",
"Content-Type" : "application/json; charset=utf-8",
"Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A6hMLComr2K6Ovpu-69iCiwx4Kc0VC0v9yw9R6g6J9nI1@thread.v2"
"Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AoOaa1a9JR-1NAbL_C1G5fnMNIse7j4R2QFcIYK7QqXQ1@thread.v2"
},
"Exception" : null
}, {
"Method" : "POST",
"Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6",
"Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07",
"Headers" : {
"User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)",
"x-ms-client-request-id" : "3854be30-ff96-47f0-b22a-2b2738ffa7a8",
"User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)",
"x-ms-client-request-id" : "482b432d-8b5b-4431-bea8-beb6701f6fd5",
"Content-Type" : "application/json"
},
"Response" : {
"Transfer-Encoding" : "chunked",
"x-azure-ref" : "20220504T003013Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000085a6",
"X-Cache" : "CONFIG_NOCACHE",
"api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07",
"api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7",
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "201",
"Date" : "Wed, 08 Sep 2021 22:51:52 GMT",
"Date" : "Wed, 04 May 2022 00:30:14 GMT",
"Strict-Transport-Security" : "max-age=2592000",
"X-Processing-Time" : "356ms",
"MS-CV" : "QB80uphyd0GhVHk1tuIDvg.0",
"X-Azure-Ref" : "0iD45YQAAAABzCGcgEHWQSryG7qlH7UWeV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx",
"Body" : "{\"chatThread\":{\"id\":\"19:O5-3SAqSg0pSHRYn2tS9lgsX0YfE1Ab8DMPJVjOCeBE1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:51:52Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-e5f8-fcd8-a53a0d0000e3\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-e5f8-fcd8-a53a0d0000e3\"}}}}",
"X-Processing-Time" : "595ms",
"MS-CV" : "hX2de6KR8EGD86fMtWPh7Q.0",
"Body" : "{\"chatThread\":{\"id\":\"19:Qs2-2JuY7s6S_iWdZnyKzZbtbd750GhggGQJgvs_l801@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:30:23Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-3fac-3ef0-8b3a0d0028dc\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-3fac-3ef0-8b3a0d0028dc\"}}}}",
"Content-Type" : "application/json; charset=utf-8",
"Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AO5-3SAqSg0pSHRYn2tS9lgsX0YfE1Ab8DMPJVjOCeBE1@thread.v2"
"Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AQs2-2JuY7s6S_iWdZnyKzZbtbd750GhggGQJgvs_l801@thread.v2"
},
"Exception" : null
} ],
Expand Down
Loading

0 comments on commit b48e4c5

Please sign in to comment.