From bfbe312e0aa7ba7366cb118ed0b088ded1a153c2 Mon Sep 17 00:00:00 2001 From: John <109105353+jpeng-ms@users.noreply.github.com> Date: Mon, 10 Apr 2023 13:44:27 -0700 Subject: [PATCH] [Communication][Chat] Chat SDK 1.3.2-beta.1 release (#25295) --- common/config/rush/pnpm-lock.yaml | 16 +- .../communication-chat/CHANGELOG.md | 9 +- .../communication-chat/package.json | 4 +- ...cording_successfully_creates_a_thread.json | 95 +++++----- ...cording_successfully_deletes_a_thread.json | 19 +- ...ording_successfully_adds_participants.json | 52 +++--- ...ording_successfully_deletes_a_message.json | 19 +- ...ccessfully_gets_the_thread_properties.json | 30 ++-- ...essfully_initializes_chatthreadclient.json | 97 ++++++----- ...lists_messages_one_by_one_and_by_page.json | 164 +++++++++--------- ...rding_successfully_lists_participants.json | 34 ++-- ...ding_successfully_lists_read_receipts.json | 30 ++-- ...ing_successfully_remove_a_participant.json | 23 +-- ...ding_successfully_retrieves_a_message.json | 32 ++-- ...ecording_successfully_sends_a_message.json | 25 +-- ...rding_successfully_sends_read_receipt.json | 22 +-- ...uccessfully_sends_typing_notification.json | 20 ++- ...successfully_updates_the_thread_topic.json | 49 +++--- ...cording_successfully_creates_a_thread.json | 89 +++++----- ...cording_successfully_deletes_a_thread.json | 17 +- ...ording_successfully_adds_participants.json | 50 +++--- ...ording_successfully_deletes_a_message.json | 17 +- ...ccessfully_gets_the_thread_properties.json | 28 +-- ...essfully_initializes_chatthreadclient.json | 93 +++++----- ...lists_messages_one_by_one_and_by_page.json | 154 ++++++++-------- ...rding_successfully_lists_participants.json | 32 ++-- ...ding_successfully_lists_read_receipts.json | 28 +-- ...ing_successfully_remove_a_participant.json | 21 +-- ...ding_successfully_retrieves_a_message.json | 30 ++-- ...ecording_successfully_sends_a_message.json | 23 +-- ...rding_successfully_sends_read_receipt.json | 20 ++- ...uccessfully_sends_typing_notification.json | 18 +- ...successfully_updates_the_thread_topic.json | 45 ++--- .../review/communication-chat.api.md | 11 ++ .../communication-chat/src/chatClient.ts | 5 + .../src/generated/src/chatApiClient.ts | 6 +- .../src/generated/src/models/index.ts | 46 +++-- .../src/generated/src/models/mappers.ts | 61 +++++++ .../src/generated/src/models/parameters.ts | 2 +- .../src/generated/src/operations/chat.ts | 5 - .../generated/src/operations/chatThread.ts | 15 -- .../src/generated/src/tracing.ts | 2 +- .../communication-chat/src/models/models.ts | 18 ++ .../src/signaling/signalingClient.browser.ts | 1 + .../src/signaling/signalingClient.ts | 2 + .../communication-chat/swagger/README.md | 14 +- .../internal/chatThreadClient.mocked.spec.ts | 35 ++++ .../test/internal/utils/mockClient.ts | 43 +++++ 48 files changed, 949 insertions(+), 722 deletions(-) diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index ce833a105246..94d78c9c2198 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -854,8 +854,8 @@ packages: - supports-color dev: false - /@azure/communication-signaling/1.0.0-beta.16: - resolution: {integrity: sha512-EcwDgD7tmxY4rZif/T7YK1JMNjIfaBVrJvu2BBZDlnyRtBbhQbkzDH5wCm1c7mgsWAZTeR/BsCffUOSWFXw8JQ==} + /@azure/communication-signaling/1.0.0-beta.17: + resolution: {integrity: sha512-vJejWxpVEbBoA+TpDDJyUQUx2PE7N9fZ9pZpbz9rE5396sEj9RPhbjP1NB1uM2mgECMzkcWs4Qwl+dRca7r29g==} engines: {node: '>=8.0.0'} dependencies: '@azure/core-http': 2.3.1 @@ -3999,7 +3999,7 @@ packages: dependencies: semver: 7.3.8 shelljs: 0.8.5 - typescript: 5.1.0-dev.20230409 + typescript: 5.1.0-dev.20230410 dev: false /ecdsa-sig-formatter/1.0.11: @@ -8862,8 +8862,8 @@ packages: hasBin: true dev: false - /typescript/5.1.0-dev.20230409: - resolution: {integrity: sha512-97xdCsU+nUtaHW7mFi7x6KfRz4ragV0WGI/Z5uoW0pelxP1l6NYM/0VJ3Gs2X8fer09TDflGF/oL8k4YR9eroQ==} + /typescript/5.1.0-dev.20230410: + resolution: {integrity: sha512-7aQS6nNYt3XVJic6FBmnxasor6MZFwi5Odj0Z0UtHode4ID21KgCjFgJcdtiWrmSIZ/PLfrp6QiE179hwbB5tQ==} engines: {node: '>=12.20'} hasBin: true dev: false @@ -15736,12 +15736,12 @@ packages: dev: false file:projects/communication-chat.tgz: - resolution: {integrity: sha512-3ervp/eA4WcVXNIC53x05ApqOcVeaq8NMjCYiXNpYF1evmk0wEw8vfE4s/h2Hh63CEpaT+kSICWbX5AEJAwAPw==, tarball: file:projects/communication-chat.tgz} + resolution: {integrity: sha512-7zOMxoCkIYd16gk/T/lxwnfWt8+DGZuI9vsdlacNFGYCR5BORnk/qo+9LgsIEFGKQ1O6fLJuZh7KrNQn3whEnQ==, tarball: file:projects/communication-chat.tgz} name: '@rush-temp/communication-chat' version: 0.0.0 dependencies: '@azure/communication-common': 2.2.0 - '@azure/communication-signaling': 1.0.0-beta.16 + '@azure/communication-signaling': 1.0.0-beta.17 '@microsoft/api-extractor': 7.34.4_@types+node@14.18.42 '@types/chai': 4.3.4 '@types/mocha': 7.0.2 @@ -16306,7 +16306,7 @@ packages: dev: false file:projects/container-registry.tgz: - resolution: {integrity: sha512-A5YXB1oeGqoFPG68lXJtKpxack6DD11c+7Ysgu/w7R2r1BPMAhCYjNXM9uHxj1jQRm77UWE5Ngy5uLIgFJeyEg==, tarball: file:projects/container-registry.tgz} + resolution: {integrity: sha512-pWipLCUwNNpKjqh/MmLBG9lS3mgIXHq09E0+XAfodzcWd4Y1qcNqryKbK+qFLSs9objuHa9HO6t0k8x3CI7okA==, tarball: file:projects/container-registry.tgz} name: '@rush-temp/container-registry' version: 0.0.0 dependencies: diff --git a/sdk/communication/communication-chat/CHANGELOG.md b/sdk/communication/communication-chat/CHANGELOG.md index 92f6f7130a40..a5dbe98c3b84 100644 --- a/sdk/communication/communication-chat/CHANGELOG.md +++ b/sdk/communication/communication-chat/CHANGELOG.md @@ -1,14 +1,11 @@ # Release History -## 1.3.2 (Unreleased) +## 1.3.2-beta.1 (2023-04-10) ### Features Added -### Breaking Changes - -### Bugs Fixed - -### Other Changes +- Added inline image support +- Updated @azure/communication-signaling to 1.0.0-beta.17 with inline image support. ## 1.3.1 (2023-02-28) diff --git a/sdk/communication/communication-chat/package.json b/sdk/communication/communication-chat/package.json index bc8758b912ba..6486116a747d 100644 --- a/sdk/communication/communication-chat/package.json +++ b/sdk/communication/communication-chat/package.json @@ -1,6 +1,6 @@ { "name": "@azure/communication-chat", - "version": "1.3.2", + "version": "1.3.2-beta.1", "description": "Azure client library for Azure Communication Chat services", "sdk-type": "client", "main": "dist/index.js", @@ -64,7 +64,7 @@ "dependencies": { "@azure/abort-controller": "^1.0.0", "@azure/communication-common": "^2.2.0", - "@azure/communication-signaling": "1.0.0-beta.16", + "@azure/communication-signaling": "1.0.0-beta.17", "@azure/core-auth": "^1.3.0", "@azure/core-client": "^1.3.0", "@azure/core-paging": "^1.1.1", diff --git a/sdk/communication/communication-chat/recordings/browsers/chatclient_chat_operations/recording_successfully_creates_a_thread.json b/sdk/communication/communication-chat/recordings/browsers/chatclient_chat_operations/recording_successfully_creates_a_thread.json index d336bb883d52..b3d3b087babc 100644 --- a/sdk/communication/communication-chat/recordings/browsers/chatclient_chat_operations/recording_successfully_creates_a_thread.json +++ b/sdk/communication/communication-chat/recordings/browsers/chatclient_chat_operations/recording_successfully_creates_a_thread.json @@ -19,11 +19,11 @@ "Sec-Fetch-Dest": "empty", "Sec-Fetch-Mode": "cors", "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/102.0.5002.0 Safari/537.36", - "x-ms-client-request-id": "b6729ea5-1e58-435f-9356-698deacb3b9f", + "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/111.0.5555.0 Safari/537.36", + "x-ms-client-request-id": "2edfe759-54da-4592-bbba-2ef33bdea5ca", "x-ms-content-sha256": "WTRvgEjjVd\u002BbvyKw3WgXgDkU81aV8FWq\u002B4/BE\u002Bhe0\u002BA=", - "x-ms-date": "Thu, 26 May 2022 07:59:44 GMT", - "x-ms-useragent": "azsdk-js-communication-identity/1.1.0 core-rest-pipeline/1.8.2 OS/MacIntel" + "x-ms-date": "Sat, 18 Mar 2023 01:07:18 GMT", + "x-ms-useragent": "azsdk-js-communication-identity/1.2.1 core-rest-pipeline/1.10.3 OS" }, "RequestBody": { "createTokenWithScopes": [ @@ -33,25 +33,26 @@ "StatusCode": 201, "ResponseHeaders": { "Access-Control-Allow-Origin": "*", - "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01, 2022-10-01", + "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01", + "Connection": "keep-alive", "Content-Length": "290", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 26 May 2022 07:59:45 GMT", - "MS-CV": "X2XndgflKk27HzmygoRT1Q.0", + "Date": "Sat, 18 Mar 2023 01:07:19 GMT", + "MS-CV": "wXE01dljIEqrpGgvE6LWgg.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0cTOPYgAAAADJMv5sKfcURaLjES9z7R3IUFJHMDFFREdFMDYwOQBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "x-azure-ref": "20230318T010718Z-97wqt9gd4p3k1at2n17xqsnatw000000023g00000000y8hq", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "b6729ea5-1e58-435f-9356-698deacb3b9f", - "X-Processing-Time": "70ms" + "x-ms-client-request-id": "2edfe759-54da-4592-bbba-2ef33bdea5ca", + "X-Processing-Time": "92ms" }, "ResponseBody": { "identity": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-9871-83fe-08482200b654" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-5d6c-3d39-8e3a0d00708a" }, "accessToken": { - "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NTM1NTU1ODQuNTk0fQ==.adM-ddBZZlQ1WlN3pdPBOF5G4Wh9iZpxNP_fSvpF4cWs", - "expiresOn": "2022-05-27T07:59:45.8161098\u002B00:00" + "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NzkxMDUyMzguMDg1fQ==.adM-ddBZZlQ1WlN3pdPBOF5G4Wh9iZpxNP_fSvpF4cWs", + "expiresOn": "2023-03-19T01:07:19.0265088\u002B00:00" } } }, @@ -74,11 +75,11 @@ "Sec-Fetch-Dest": "empty", "Sec-Fetch-Mode": "cors", "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/102.0.5002.0 Safari/537.36", - "x-ms-client-request-id": "1e68742f-ba29-4394-adae-276bfc39eaaa", + "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/111.0.5555.0 Safari/537.36", + "x-ms-client-request-id": "0d418025-3315-4b7c-8ab3-bff02c05f674", "x-ms-content-sha256": "WTRvgEjjVd\u002BbvyKw3WgXgDkU81aV8FWq\u002B4/BE\u002Bhe0\u002BA=", - "x-ms-date": "Thu, 26 May 2022 07:59:45 GMT", - "x-ms-useragent": "azsdk-js-communication-identity/1.1.0 core-rest-pipeline/1.8.2 OS/MacIntel" + "x-ms-date": "Sat, 18 Mar 2023 01:07:19 GMT", + "x-ms-useragent": "azsdk-js-communication-identity/1.2.1 core-rest-pipeline/1.10.3 OS" }, "RequestBody": { "createTokenWithScopes": [ @@ -88,30 +89,31 @@ "StatusCode": 201, "ResponseHeaders": { "Access-Control-Allow-Origin": "*", - "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01, 2022-10-01", + "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01", + "Connection": "keep-alive", "Content-Length": "290", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 26 May 2022 07:59:45 GMT", - "MS-CV": "wCg26FZmfkWgmBIXI88gMg.0", + "Date": "Sat, 18 Mar 2023 01:07:19 GMT", + "MS-CV": "s1p9P6NdbEGHieo1frg9nQ.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0cTOPYgAAAABG9oJtkaU7R4B0cX4DpCSbUFJHMDFFREdFMDYwOQBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "x-azure-ref": "20230318T010719Z-97wqt9gd4p3k1at2n17xqsnatw000000023g00000000y8ks", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "1e68742f-ba29-4394-adae-276bfc39eaaa", - "X-Processing-Time": "56ms" + "x-ms-client-request-id": "0d418025-3315-4b7c-8ab3-bff02c05f674", + "X-Processing-Time": "123ms" }, "ResponseBody": { "identity": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-99ac-83fe-08482200b656" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-5f07-1252-573a0d006fc4" }, "accessToken": { - "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NTM1NTU1ODQuNTk0fQ==.adM-ddBZZlQ1WlN3pdPBOF5G4Wh9iZpxNP_fSvpF4cWs", - "expiresOn": "2022-05-27T07:59:46.1159627\u002B00:00" + "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NzkxMDUyMzguMDg1fQ==.adM-ddBZZlQ1WlN3pdPBOF5G4Wh9iZpxNP_fSvpF4cWs", + "expiresOn": "2023-03-19T01:07:19.4381758\u002B00:00" } } }, { - "RequestUri": "https://endpoint/chat/threads?api-version=2021-09-07", + "RequestUri": "https://endpoint/chat/threads?api-version=2023-04-01-preview", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", @@ -123,33 +125,33 @@ "Content-Type": "application/json", "Origin": "http://localhost:9876", "Referer": "http://localhost:9876/", - "repeatability-request-id": "4147a30f-d176-4f2a-80e5-d93c70377b4b", + "repeatability-request-id": "05ac8431-c898-42fb-8c3c-1088e8b425e8", "sec-ch-ua": "", "sec-ch-ua-mobile": "?0", "sec-ch-ua-platform": "", "Sec-Fetch-Dest": "empty", "Sec-Fetch-Mode": "cors", "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/102.0.5002.0 Safari/537.36", - "x-ms-client-request-id": "90dbd434-332f-4310-a89c-873234ac4322", - "x-ms-useragent": "azsdk-js-communication-chat/1.2.0 core-rest-pipeline/1.8.2 OS/MacIntel" + "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/111.0.5555.0 Safari/537.36", + "x-ms-client-request-id": "1d2aae95-f76d-494c-960f-1e6aebc5f62e", + "x-ms-useragent": "azsdk-js-communication-chat/1.3.2-beta.1 core-rest-pipeline/1.10.3 OS" }, "RequestBody": { "topic": "test topic", "participants": [ { "communicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-9871-83fe-08482200b654", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-5d6c-3d39-8e3a0d00708a", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-9871-83fe-08482200b654" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-5d6c-3d39-8e3a0d00708a" } } }, { "communicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-99ac-83fe-08482200b656", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-5f07-1252-573a0d006fc4", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-99ac-83fe-08482200b656" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-5f07-1252-573a0d006fc4" } } } @@ -159,26 +161,27 @@ "ResponseHeaders": { "Access-Control-Allow-Origin": "*", "Access-Control-Expose-Headers": "Location", - "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2023-04-01-preview", + "Connection": "keep-alive", + "Content-Length": "373", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 26 May 2022 07:59:47 GMT", - "Location": "https://endpoint/chat/threads/19%3ANoKmtuWTrVtVn_HycI7JVMIqCIwSlYZ8aSJ1XTiJr5s1@thread.v2", - "MS-CV": "UxeFxzHd90aLqx/JFAxLUg.0", + "Date": "Sat, 18 Mar 2023 01:07:20 GMT", + "Location": "https://endpoint/chat/threads/19%3ABNGV_JOTcAjdqM0bb3qO33wXE3BcBID-auTkzwMOMRg1@thread.v2", + "MS-CV": "VVii/IIggECX1/hE4Kureg.0", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0cjOPYgAAAABoWeqCqjUTSpQ1gsBiE0EMUFJHMDFFREdFMDYwOQBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "x-azure-ref": "20230318T010719Z-97wqt9gd4p3k1at2n17xqsnatw000000023g00000000y8mx", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "647ms" + "X-Processing-Time": "700ms" }, "ResponseBody": { "chatThread": { - "id": "19:NoKmtuWTrVtVn_HycI7JVMIqCIwSlYZ8aSJ1XTiJr5s1@thread.v2", + "id": "19:BNGV_JOTcAjdqM0bb3qO33wXE3BcBID-auTkzwMOMRg1@thread.v2", "topic": "test topic", - "createdOn": "2022-05-26T07:59:47Z", + "createdOn": "2023-03-18T01:07:19Z", "createdByCommunicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-9871-83fe-08482200b654", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-5d6c-3d39-8e3a0d00708a", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-9871-83fe-08482200b654" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-5d6c-3d39-8e3a0d00708a" } } } diff --git a/sdk/communication/communication-chat/recordings/browsers/chatclient_chat_operations/recording_successfully_deletes_a_thread.json b/sdk/communication/communication-chat/recordings/browsers/chatclient_chat_operations/recording_successfully_deletes_a_thread.json index 13380af32863..c8fdb050c226 100644 --- a/sdk/communication/communication-chat/recordings/browsers/chatclient_chat_operations/recording_successfully_deletes_a_thread.json +++ b/sdk/communication/communication-chat/recordings/browsers/chatclient_chat_operations/recording_successfully_deletes_a_thread.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://endpoint/chat/threads/19%3ANoKmtuWTrVtVn_HycI7JVMIqCIwSlYZ8aSJ1XTiJr5s1%40thread.v2?api-version=2021-09-07", + "RequestUri": "https://endpoint/chat/threads/19%3ABNGV_JOTcAjdqM0bb3qO33wXE3BcBID-auTkzwMOMRg1%40thread.v2?api-version=2023-04-01-preview", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", @@ -17,22 +17,23 @@ "Sec-Fetch-Dest": "empty", "Sec-Fetch-Mode": "cors", "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/102.0.5002.0 Safari/537.36", - "x-ms-client-request-id": "9d4ef6fe-026d-49b3-8d86-be50036d393f", - "x-ms-useragent": "azsdk-js-communication-chat/1.2.0 core-rest-pipeline/1.8.2 OS/MacIntel" + "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/111.0.5555.0 Safari/537.36", + "x-ms-client-request-id": "47fabcb8-8664-4cc9-af28-b94edd6bc891", + "x-ms-useragent": "azsdk-js-communication-chat/1.3.2-beta.1 core-rest-pipeline/1.10.3 OS" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { "Access-Control-Allow-Origin": "*", "Access-Control-Expose-Headers": "Location", - "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", - "Date": "Thu, 26 May 2022 07:59:48 GMT", - "MS-CV": "ScJTlhZFOkKp1i5F/UfeTQ.0", + "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2023-04-01-preview", + "Connection": "keep-alive", + "Date": "Sat, 18 Mar 2023 01:07:21 GMT", + "MS-CV": "LfL29EaegkyfxqdVPbWUHA.0", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0czOPYgAAAAD/ceEhHke/QrIXZzzCehgJUFJHMDFFREdFMDYwOQBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "x-azure-ref": "20230318T010720Z-97wqt9gd4p3k1at2n17xqsnatw000000023g00000000y8qd", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "177ms" + "X-Processing-Time": "265ms" }, "ResponseBody": null } diff --git a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_adds_participants.json b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_adds_participants.json index 878b18275235..e92e1fbd3bfe 100644 --- a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_adds_participants.json +++ b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_adds_participants.json @@ -19,11 +19,11 @@ "Sec-Fetch-Dest": "empty", "Sec-Fetch-Mode": "cors", "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/102.0.5002.0 Safari/537.36", - "x-ms-client-request-id": "7ff93027-ba09-401d-a903-e329abf7d6da", + "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/111.0.5555.0 Safari/537.36", + "x-ms-client-request-id": "ba257d74-fee7-4c35-aa37-5d0e3148362f", "x-ms-content-sha256": "WTRvgEjjVd\u002BbvyKw3WgXgDkU81aV8FWq\u002B4/BE\u002Bhe0\u002BA=", - "x-ms-date": "Thu, 26 May 2022 07:59:55 GMT", - "x-ms-useragent": "azsdk-js-communication-identity/1.1.0 core-rest-pipeline/1.8.2 OS/MacIntel" + "x-ms-date": "Sat, 18 Mar 2023 01:07:31 GMT", + "x-ms-useragent": "azsdk-js-communication-identity/1.2.1 core-rest-pipeline/1.10.3 OS" }, "RequestBody": { "createTokenWithScopes": [ @@ -33,30 +33,31 @@ "StatusCode": 201, "ResponseHeaders": { "Access-Control-Allow-Origin": "*", - "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01, 2022-10-01", + "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01", + "Connection": "keep-alive", "Content-Length": "290", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 26 May 2022 07:59:55 GMT", - "MS-CV": "jpmW9qM8e0ieKM\u002B8VBMfDQ.0", + "Date": "Sat, 18 Mar 2023 01:07:31 GMT", + "MS-CV": "soI7UN7YRUSMWwRh4OM0BA.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0ezOPYgAAAADKcr\u002Bhe37qQIQ2yPym8PpMUFJHMDFFREdFMDYwOQBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "x-azure-ref": "20230318T010731Z-97wqt9gd4p3k1at2n17xqsnatw000000023g00000000y9r1", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "7ff93027-ba09-401d-a903-e329abf7d6da", - "X-Processing-Time": "62ms" + "x-ms-client-request-id": "ba257d74-fee7-4c35-aa37-5d0e3148362f", + "X-Processing-Time": "127ms" }, "ResponseBody": { "identity": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-bf6a-83fe-08482200b65f" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-8f9e-9f3b-8e3a0d006c89" }, "accessToken": { - "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NTM1NTU1ODQuNTk0fQ==.adM-ddBZZlQ1WlN3pdPBOF5G4Wh9iZpxNP_fSvpF4cWs", - "expiresOn": "2022-05-27T07:59:55.7772603\u002B00:00" + "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NzkxMDUyMzguMDg1fQ==.adM-ddBZZlQ1WlN3pdPBOF5G4Wh9iZpxNP_fSvpF4cWs", + "expiresOn": "2023-03-19T01:07:31.8762564\u002B00:00" } } }, { - "RequestUri": "https://endpoint/chat/threads/19%3A5t6BZZhMhTG9yN54rMiVcs-kny91gVXsRP9Arl693UI1%40thread.v2/participants/:add?api-version=2021-09-07", + "RequestUri": "https://endpoint/chat/threads/19%3A1_rDv-O7sJh7jqmHnbLjvQIO4YKaEK_2DIQ1R5J_oNw1%40thread.v2/participants/:add?api-version=2023-04-01-preview", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", @@ -74,17 +75,17 @@ "Sec-Fetch-Dest": "empty", "Sec-Fetch-Mode": "cors", "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/102.0.5002.0 Safari/537.36", - "x-ms-client-request-id": "10c9507e-60b7-45ce-99be-c37bbc414c04", - "x-ms-useragent": "azsdk-js-communication-chat/1.2.0 core-rest-pipeline/1.8.2 OS/MacIntel" + "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/111.0.5555.0 Safari/537.36", + "x-ms-client-request-id": "f1c1ea87-e9f7-4564-9041-6272490df777", + "x-ms-useragent": "azsdk-js-communication-chat/1.3.2-beta.1 core-rest-pipeline/1.10.3 OS" }, "RequestBody": { "participants": [ { "communicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-bf6a-83fe-08482200b65f", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-8f9e-9f3b-8e3a0d006c89", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-bf6a-83fe-08482200b65f" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-8f9e-9f3b-8e3a0d006c89" } } } @@ -94,15 +95,16 @@ "ResponseHeaders": { "Access-Control-Allow-Origin": "*", "Access-Control-Expose-Headers": "Location", - "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2023-04-01-preview", + "Connection": "keep-alive", + "Content-Length": "2", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 26 May 2022 07:59:56 GMT", - "MS-CV": "Bcp2y7y\u002B8Uygh9NxJ5W\u002BXA.0", + "Date": "Sat, 18 Mar 2023 01:07:32 GMT", + "MS-CV": "pzdWRePKi0mz8Cm5\u002B9WpOg.0", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0ezOPYgAAAAB1TpBBii7NTYRi3Bsnaj1dUFJHMDFFREdFMDYwOQBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "x-azure-ref": "20230318T010732Z-97wqt9gd4p3k1at2n17xqsnatw000000023g00000000y9tp", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "343ms" + "X-Processing-Time": "271ms" }, "ResponseBody": {} } diff --git a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_deletes_a_message.json b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_deletes_a_message.json index 0e943228b7c4..c54c04876e28 100644 --- a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_deletes_a_message.json +++ b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_deletes_a_message.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://endpoint/chat/threads/19%3A5t6BZZhMhTG9yN54rMiVcs-kny91gVXsRP9Arl693UI1%40thread.v2/messages/1653551992406?api-version=2021-09-07", + "RequestUri": "https://endpoint/chat/threads/19%3A1_rDv-O7sJh7jqmHnbLjvQIO4YKaEK_2DIQ1R5J_oNw1%40thread.v2/messages/1679101647816?api-version=2023-04-01-preview", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", @@ -17,22 +17,23 @@ "Sec-Fetch-Dest": "empty", "Sec-Fetch-Mode": "cors", "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/102.0.5002.0 Safari/537.36", - "x-ms-client-request-id": "036221f3-677e-4543-948d-23b6e7d0e7a4", - "x-ms-useragent": "azsdk-js-communication-chat/1.2.0 core-rest-pipeline/1.8.2 OS/MacIntel" + "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/111.0.5555.0 Safari/537.36", + "x-ms-client-request-id": "5e32b01f-7008-44ec-8e95-00c8ce9afd6f", + "x-ms-useragent": "azsdk-js-communication-chat/1.3.2-beta.1 core-rest-pipeline/1.10.3 OS" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { "Access-Control-Allow-Origin": "*", "Access-Control-Expose-Headers": "Location", - "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", - "Date": "Thu, 26 May 2022 07:59:55 GMT", - "MS-CV": "wp896PqeqEeDdcEp9nSmpg.0", + "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2023-04-01-preview", + "Connection": "keep-alive", + "Date": "Sat, 18 Mar 2023 01:07:31 GMT", + "MS-CV": "W15O0cctiEmavTdcIEsjmQ.0", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0ezOPYgAAAAD\u002B0quh\u002B/ocTaWTiS2KwY0yUFJHMDFFREdFMDYwOQBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "x-azure-ref": "20230318T010730Z-97wqt9gd4p3k1at2n17xqsnatw000000023g00000000y9p2", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "196ms" + "X-Processing-Time": "275ms" }, "ResponseBody": null } diff --git a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_gets_the_thread_properties.json b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_gets_the_thread_properties.json index 833ae1421e21..af3318cf5beb 100644 --- a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_gets_the_thread_properties.json +++ b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_gets_the_thread_properties.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://endpoint/chat/threads/19%3A5t6BZZhMhTG9yN54rMiVcs-kny91gVXsRP9Arl693UI1%40thread.v2?api-version=2021-09-07", + "RequestUri": "https://endpoint/chat/threads/19%3A1_rDv-O7sJh7jqmHnbLjvQIO4YKaEK_2DIQ1R5J_oNw1%40thread.v2?api-version=2023-04-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", @@ -17,33 +17,35 @@ "Sec-Fetch-Dest": "empty", "Sec-Fetch-Mode": "cors", "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/102.0.5002.0 Safari/537.36", - "x-ms-client-request-id": "412bc850-e4e4-4f07-a72e-7438c9a40e3b", - "x-ms-useragent": "azsdk-js-communication-chat/1.2.0 core-rest-pipeline/1.8.2 OS/MacIntel" + "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/111.0.5555.0 Safari/537.36", + "x-ms-client-request-id": "e0715dc8-b582-46ff-8b86-2d840d842de2", + "x-ms-useragent": "azsdk-js-communication-chat/1.3.2-beta.1 core-rest-pipeline/1.10.3 OS" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { + "Accept-Ranges": "bytes", "Access-Control-Allow-Origin": "*", "Access-Control-Expose-Headers": "Location", - "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2023-04-01-preview", + "Connection": "keep-alive", + "Content-Length": "358", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 26 May 2022 07:59:49 GMT", - "MS-CV": "Sr12vlFoTka0d8fhZZ8aqQ.0", + "Date": "Sat, 18 Mar 2023 01:07:24 GMT", + "MS-CV": "cD3aBYJhO0uBhbAMr22hZA.0", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0dTOPYgAAAAAqo4oqUogQTbPFY7c6bZ1mUFJHMDFFREdFMDYwOQBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "x-azure-ref": "20230318T010723Z-97wqt9gd4p3k1at2n17xqsnatw000000023g00000000y8zd", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "85ms" + "X-Processing-Time": "146ms" }, "ResponseBody": { - "id": "19:5t6BZZhMhTG9yN54rMiVcs-kny91gVXsRP9Arl693UI1@thread.v2", + "id": "19:1_rDv-O7sJh7jqmHnbLjvQIO4YKaEK_2DIQ1R5J_oNw1@thread.v2", "topic": "test topic", - "createdOn": "2022-05-26T07:59:49Z", + "createdOn": "2023-03-18T01:07:22Z", "createdByCommunicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-a365-83fe-08482200b65a", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-6771-92fd-8b3a0d006f05", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-a365-83fe-08482200b65a" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-6771-92fd-8b3a0d006f05" } } } diff --git a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_initializes_chatthreadclient.json b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_initializes_chatthreadclient.json index 2b2413f006a4..1c7785531a57 100644 --- a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_initializes_chatthreadclient.json +++ b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_initializes_chatthreadclient.json @@ -19,11 +19,11 @@ "Sec-Fetch-Dest": "empty", "Sec-Fetch-Mode": "cors", "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/102.0.5002.0 Safari/537.36", - "x-ms-client-request-id": "1f76fcd1-7a41-418d-9284-1bbd513ee4c0", + "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/111.0.5555.0 Safari/537.36", + "x-ms-client-request-id": "00da4200-be87-45e8-8775-ce5f858429b1", "x-ms-content-sha256": "WTRvgEjjVd\u002BbvyKw3WgXgDkU81aV8FWq\u002B4/BE\u002Bhe0\u002BA=", - "x-ms-date": "Thu, 26 May 2022 07:59:48 GMT", - "x-ms-useragent": "azsdk-js-communication-identity/1.1.0 core-rest-pipeline/1.8.2 OS/MacIntel" + "x-ms-date": "Sat, 18 Mar 2023 01:07:21 GMT", + "x-ms-useragent": "azsdk-js-communication-identity/1.2.1 core-rest-pipeline/1.10.3 OS" }, "RequestBody": { "createTokenWithScopes": [ @@ -33,25 +33,26 @@ "StatusCode": 201, "ResponseHeaders": { "Access-Control-Allow-Origin": "*", - "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01, 2022-10-01", - "Content-Length": "289", + "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01", + "Connection": "keep-alive", + "Content-Length": "290", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 26 May 2022 07:59:48 GMT", - "MS-CV": "rV4cpCZ8Vkuz5rPIWB\u002BdHg.0", + "Date": "Sat, 18 Mar 2023 01:07:21 GMT", + "MS-CV": "rTd0SMtnAkSUCpbAfmSeaw.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0dDOPYgAAAABqehe5NnT2T7g89w2L3pXLUFJHMDFFREdFMDYwOQBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "x-azure-ref": "20230318T010721Z-97wqt9gd4p3k1at2n17xqsnatw000000023g00000000y8sh", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "1f76fcd1-7a41-418d-9284-1bbd513ee4c0", - "X-Processing-Time": "52ms" + "x-ms-client-request-id": "00da4200-be87-45e8-8775-ce5f858429b1", + "X-Processing-Time": "121ms" }, "ResponseBody": { "identity": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-a365-83fe-08482200b65a" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-6771-92fd-8b3a0d006f05" }, "accessToken": { - "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NTM1NTU1ODQuNTk0fQ==.adM-ddBZZlQ1WlN3pdPBOF5G4Wh9iZpxNP_fSvpF4cWs", - "expiresOn": "2022-05-27T07:59:48.601173\u002B00:00" + "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NzkxMDUyMzguMDg1fQ==.adM-ddBZZlQ1WlN3pdPBOF5G4Wh9iZpxNP_fSvpF4cWs", + "expiresOn": "2023-03-19T01:07:21.5919441\u002B00:00" } } }, @@ -74,11 +75,11 @@ "Sec-Fetch-Dest": "empty", "Sec-Fetch-Mode": "cors", "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/102.0.5002.0 Safari/537.36", - "x-ms-client-request-id": "0e4d8ee8-0146-4dcb-bb89-d30869a9608e", + "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/111.0.5555.0 Safari/537.36", + "x-ms-client-request-id": "7b00dbd9-2d17-4730-a584-077fc16c3b69", "x-ms-content-sha256": "WTRvgEjjVd\u002BbvyKw3WgXgDkU81aV8FWq\u002B4/BE\u002Bhe0\u002BA=", - "x-ms-date": "Thu, 26 May 2022 07:59:48 GMT", - "x-ms-useragent": "azsdk-js-communication-identity/1.1.0 core-rest-pipeline/1.8.2 OS/MacIntel" + "x-ms-date": "Sat, 18 Mar 2023 01:07:21 GMT", + "x-ms-useragent": "azsdk-js-communication-identity/1.2.1 core-rest-pipeline/1.10.3 OS" }, "RequestBody": { "createTokenWithScopes": [ @@ -88,30 +89,31 @@ "StatusCode": 201, "ResponseHeaders": { "Access-Control-Allow-Origin": "*", - "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01, 2022-10-01", + "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01", + "Connection": "keep-alive", "Content-Length": "290", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 26 May 2022 07:59:48 GMT", - "MS-CV": "wvSWr2z3UUugQqjy2t\u002B6fA.0", + "Date": "Sat, 18 Mar 2023 01:07:22 GMT", + "MS-CV": "V33Navv/pkiWAMndxmUfjg.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0dDOPYgAAAACL66LmyKwARIfEmE0M0XOFUFJHMDFFREdFMDYwOQBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "x-azure-ref": "20230318T010721Z-97wqt9gd4p3k1at2n17xqsnatw000000023g00000000y8tc", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "0e4d8ee8-0146-4dcb-bb89-d30869a9608e", - "X-Processing-Time": "42ms" + "x-ms-client-request-id": "7b00dbd9-2d17-4730-a584-077fc16c3b69", + "X-Processing-Time": "87ms" }, "ResponseBody": { "identity": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-a45e-83fe-08482200b65c" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-690e-e138-8e3a0d00767e" }, "accessToken": { - "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NTM1NTU1ODQuNTk0fQ==.adM-ddBZZlQ1WlN3pdPBOF5G4Wh9iZpxNP_fSvpF4cWs", - "expiresOn": "2022-05-27T07:59:48.8486902\u002B00:00" + "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NzkxMDUyMzguMDg1fQ==.adM-ddBZZlQ1WlN3pdPBOF5G4Wh9iZpxNP_fSvpF4cWs", + "expiresOn": "2023-03-19T01:07:22.0045908\u002B00:00" } } }, { - "RequestUri": "https://endpoint/chat/threads?api-version=2021-09-07", + "RequestUri": "https://endpoint/chat/threads?api-version=2023-04-01-preview", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", @@ -123,33 +125,33 @@ "Content-Type": "application/json", "Origin": "http://localhost:9876", "Referer": "http://localhost:9876/", - "repeatability-request-id": "449635e8-b8a5-4eee-b1c0-8409ce78a3a8", + "repeatability-request-id": "628bcdc1-31c7-44fc-b1eb-77bc656b4397", "sec-ch-ua": "", "sec-ch-ua-mobile": "?0", "sec-ch-ua-platform": "", "Sec-Fetch-Dest": "empty", "Sec-Fetch-Mode": "cors", "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/102.0.5002.0 Safari/537.36", - "x-ms-client-request-id": "702f18c8-e6cc-44ca-9cc9-35bbf17cbe7f", - "x-ms-useragent": "azsdk-js-communication-chat/1.2.0 core-rest-pipeline/1.8.2 OS/MacIntel" + "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/111.0.5555.0 Safari/537.36", + "x-ms-client-request-id": "7ed11a58-a139-4be4-97e9-33eb4c6502da", + "x-ms-useragent": "azsdk-js-communication-chat/1.3.2-beta.1 core-rest-pipeline/1.10.3 OS" }, "RequestBody": { "topic": "test topic", "participants": [ { "communicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-a365-83fe-08482200b65a", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-6771-92fd-8b3a0d006f05", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-a365-83fe-08482200b65a" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-6771-92fd-8b3a0d006f05" } } }, { "communicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-a45e-83fe-08482200b65c", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-690e-e138-8e3a0d00767e", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-a45e-83fe-08482200b65c" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-690e-e138-8e3a0d00767e" } } } @@ -159,26 +161,27 @@ "ResponseHeaders": { "Access-Control-Allow-Origin": "*", "Access-Control-Expose-Headers": "Location", - "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2023-04-01-preview", + "Connection": "keep-alive", + "Content-Length": "373", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 26 May 2022 07:59:49 GMT", - "Location": "https://endpoint/chat/threads/19%3A5t6BZZhMhTG9yN54rMiVcs-kny91gVXsRP9Arl693UI1@thread.v2", - "MS-CV": "T3IMot\u002Bc30\u002BOwmc\u002B3k/2/g.0", + "Date": "Sat, 18 Mar 2023 01:07:23 GMT", + "Location": "https://endpoint/chat/threads/19%3A1_rDv-O7sJh7jqmHnbLjvQIO4YKaEK_2DIQ1R5J_oNw1@thread.v2", + "MS-CV": "nbr4sTpsvkWzbhGUdAcEZw.0", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0dDOPYgAAAAAdA0uOztYcTJi5ppWWF6s2UFJHMDFFREdFMDYwOQBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "x-azure-ref": "20230318T010722Z-97wqt9gd4p3k1at2n17xqsnatw000000023g00000000y8v9", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "701ms" + "X-Processing-Time": "649ms" }, "ResponseBody": { "chatThread": { - "id": "19:5t6BZZhMhTG9yN54rMiVcs-kny91gVXsRP9Arl693UI1@thread.v2", + "id": "19:1_rDv-O7sJh7jqmHnbLjvQIO4YKaEK_2DIQ1R5J_oNw1@thread.v2", "topic": "test topic", - "createdOn": "2022-05-26T07:59:49Z", + "createdOn": "2023-03-18T01:07:22Z", "createdByCommunicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-a365-83fe-08482200b65a", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-6771-92fd-8b3a0d006f05", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-a365-83fe-08482200b65a" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-6771-92fd-8b3a0d006f05" } } } diff --git a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_lists_messages_one_by_one_and_by_page.json b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_lists_messages_one_by_one_and_by_page.json index 7ee4c40ee211..3056a73bc7bc 100644 --- a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_lists_messages_one_by_one_and_by_page.json +++ b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_lists_messages_one_by_one_and_by_page.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://endpoint/chat/threads/19%3A5t6BZZhMhTG9yN54rMiVcs-kny91gVXsRP9Arl693UI1%40thread.v2/messages?api-version=2021-09-07", + "RequestUri": "https://endpoint/chat/threads/19%3A1_rDv-O7sJh7jqmHnbLjvQIO4YKaEK_2DIQ1R5J_oNw1%40thread.v2/messages?api-version=2023-04-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", @@ -17,41 +17,43 @@ "Sec-Fetch-Dest": "empty", "Sec-Fetch-Mode": "cors", "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/102.0.5002.0 Safari/537.36", - "x-ms-client-request-id": "2b1320d2-180c-49c4-acce-a21b6d0c89c8", - "x-ms-useragent": "azsdk-js-communication-chat/1.2.0 core-rest-pipeline/1.8.2 OS/MacIntel" + "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/111.0.5555.0 Safari/537.36", + "x-ms-client-request-id": "5482193e-1971-43e3-b8a7-7f9cc51baeff", + "x-ms-useragent": "azsdk-js-communication-chat/1.3.2-beta.1 core-rest-pipeline/1.10.3 OS" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { + "Accept-Ranges": "bytes", "Access-Control-Allow-Origin": "*", "Access-Control-Expose-Headers": "Location", - "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2023-04-01-preview", + "Connection": "keep-alive", + "Content-Length": "2161", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 26 May 2022 07:59:53 GMT", - "MS-CV": "fEWqDXQum0mKp97u0TeOng.0", + "Date": "Sat, 18 Mar 2023 01:07:29 GMT", + "MS-CV": "9rBIRFz27EeIl2oKxVvESg.0", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0eTOPYgAAAADrI/qpmfVmTbWdfiX1EZulUFJHMDFFREdFMDYwOQBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "x-azure-ref": "20230318T010729Z-97wqt9gd4p3k1at2n17xqsnatw000000023g00000000y9gp", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "97ms" + "X-Processing-Time": "114ms" }, "ResponseBody": { "value": [ { - "id": "1653551992406", + "id": "1679101647816", "type": "text", "sequenceId": "4", - "version": "1653551992406", + "version": "1679101647816", "content": { "message": "content" }, "senderDisplayName": "", - "createdOn": "2022-05-26T07:59:52Z", + "createdOn": "2023-03-18T01:07:27Z", "senderCommunicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-a365-83fe-08482200b65a", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-6771-92fd-8b3a0d006f05", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-a365-83fe-08482200b65a" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-6771-92fd-8b3a0d006f05" } }, "metadata": { @@ -59,77 +61,77 @@ } }, { - "id": "1653551990579", + "id": "1679101645225", "type": "topicUpdated", "sequenceId": "3", - "version": "1653551990579", + "version": "1679101645225", "content": { "topic": "new topic", "initiatorCommunicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-a365-83fe-08482200b65a", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-6771-92fd-8b3a0d006f05", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-a365-83fe-08482200b65a" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-6771-92fd-8b3a0d006f05" } } }, - "createdOn": "2022-05-26T07:59:50Z" + "createdOn": "2023-03-18T01:07:25Z" }, { - "id": "1653551989553", + "id": "1679101642938", "type": "topicUpdated", "sequenceId": "2", - "version": "1653551989553", + "version": "1679101642938", "content": { "topic": "test topic", "initiatorCommunicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-a365-83fe-08482200b65a", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-6771-92fd-8b3a0d006f05", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-a365-83fe-08482200b65a" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-6771-92fd-8b3a0d006f05" } } }, - "createdOn": "2022-05-26T07:59:49Z" + "createdOn": "2023-03-18T01:07:22Z" }, { - "id": "1653551989494", + "id": "1679101642913", "type": "participantAdded", "sequenceId": "1", - "version": "1653551989494", + "version": "1679101642913", "content": { "participants": [ { "communicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-a365-83fe-08482200b65a", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-6771-92fd-8b3a0d006f05", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-a365-83fe-08482200b65a" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-6771-92fd-8b3a0d006f05" } }, "shareHistoryTime": "1970-01-01T00:00:00Z" }, { "communicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-a45e-83fe-08482200b65c", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-690e-e138-8e3a0d00767e", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-a45e-83fe-08482200b65c" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-690e-e138-8e3a0d00767e" } }, "shareHistoryTime": "1970-01-01T00:00:00Z" } ], "initiatorCommunicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-a365-83fe-08482200b65a", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-6771-92fd-8b3a0d006f05", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-a365-83fe-08482200b65a" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-6771-92fd-8b3a0d006f05" } } }, - "createdOn": "2022-05-26T07:59:49Z" + "createdOn": "2023-03-18T01:07:22Z" } ] } }, { - "RequestUri": "https://endpoint/chat/threads/19%3A5t6BZZhMhTG9yN54rMiVcs-kny91gVXsRP9Arl693UI1%40thread.v2/messages?maxPageSize=3\u0026api-version=2021-09-07", + "RequestUri": "https://endpoint/chat/threads/19%3A1_rDv-O7sJh7jqmHnbLjvQIO4YKaEK_2DIQ1R5J_oNw1%40thread.v2/messages?maxPageSize=3\u0026api-version=2023-04-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", @@ -145,41 +147,43 @@ "Sec-Fetch-Dest": "empty", "Sec-Fetch-Mode": "cors", "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/102.0.5002.0 Safari/537.36", - "x-ms-client-request-id": "d7a1a138-d31e-47e0-9a11-8ccaa7687f4c", - "x-ms-useragent": "azsdk-js-communication-chat/1.2.0 core-rest-pipeline/1.8.2 OS/MacIntel" + "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/111.0.5555.0 Safari/537.36", + "x-ms-client-request-id": "7d4053c6-1322-42c6-907f-c5466b9b604b", + "x-ms-useragent": "azsdk-js-communication-chat/1.3.2-beta.1 core-rest-pipeline/1.10.3 OS" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { + "Accept-Ranges": "bytes", "Access-Control-Allow-Origin": "*", "Access-Control-Expose-Headers": "Location", - "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2023-04-01-preview", + "Connection": "keep-alive", + "Content-Length": "1607", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 26 May 2022 07:59:54 GMT", - "MS-CV": "8yi\u002BYvXpzkeUjCgUgYUZcw.0", + "Date": "Sat, 18 Mar 2023 01:07:30 GMT", + "MS-CV": "xEJLaLhCN0mHkqZPS0BG5A.0", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0ejOPYgAAAABY4nFPWy1WSIfNVrT\u002Bm3dhUFJHMDFFREdFMDYwOQBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "x-azure-ref": "20230318T010729Z-97wqt9gd4p3k1at2n17xqsnatw000000023g00000000y9hn", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "113ms" + "X-Processing-Time": "131ms" }, "ResponseBody": { "value": [ { - "id": "1653551992406", + "id": "1679101647816", "type": "text", "sequenceId": "4", - "version": "1653551992406", + "version": "1679101647816", "content": { "message": "content" }, "senderDisplayName": "", - "createdOn": "2022-05-26T07:59:52Z", + "createdOn": "2023-03-18T01:07:27Z", "senderCommunicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-a365-83fe-08482200b65a", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-6771-92fd-8b3a0d006f05", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-a365-83fe-08482200b65a" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-6771-92fd-8b3a0d006f05" } }, "metadata": { @@ -187,43 +191,43 @@ } }, { - "id": "1653551990579", + "id": "1679101645225", "type": "topicUpdated", "sequenceId": "3", - "version": "1653551990579", + "version": "1679101645225", "content": { "topic": "new topic", "initiatorCommunicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-a365-83fe-08482200b65a", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-6771-92fd-8b3a0d006f05", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-a365-83fe-08482200b65a" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-6771-92fd-8b3a0d006f05" } } }, - "createdOn": "2022-05-26T07:59:50Z" + "createdOn": "2023-03-18T01:07:25Z" }, { - "id": "1653551989553", + "id": "1679101642938", "type": "topicUpdated", "sequenceId": "2", - "version": "1653551989553", + "version": "1679101642938", "content": { "topic": "test topic", "initiatorCommunicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-a365-83fe-08482200b65a", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-6771-92fd-8b3a0d006f05", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-a365-83fe-08482200b65a" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-6771-92fd-8b3a0d006f05" } } }, - "createdOn": "2022-05-26T07:59:49Z" + "createdOn": "2023-03-18T01:07:22Z" } ], - "nextLink": "https://endpoint/chat/threads/19:5t6BZZhMhTG9yN54rMiVcs-kny91gVXsRP9Arl693UI1@thread.v2/messages?syncState=3e3900000031393a357436425a5a684d68544739794e3534724d695663732d6b6e7939316756587352503941726c363933554931407468726561642e763201310361ff80010000560e61ff80010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=3\u0026api-version=2021-09-07" + "nextLink": "https://endpoint/chat/threads/19:1_rDv-O7sJh7jqmHnbLjvQIO4YKaEK_2DIQ1R5J_oNw1@thread.v2/messages?syncState=3e3900000031393a315f7244762d4f37734a68376a716d486e624c6a7651494f34594b61454b5f324449513152354a5f6f4e7731407468726561642e763201bac841f286010000c8db41f286010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=3\u0026api-version=2023-04-01-preview" } }, { - "RequestUri": "https://endpoint/chat/threads/19:5t6BZZhMhTG9yN54rMiVcs-kny91gVXsRP9Arl693UI1@thread.v2/messages?syncState=3e3900000031393a357436425a5a684d68544739794e3534724d695663732d6b6e7939316756587352503941726c363933554931407468726561642e763201310361ff80010000560e61ff80010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=3\u0026api-version=2021-09-07", + "RequestUri": "https://endpoint/chat/threads/19:1_rDv-O7sJh7jqmHnbLjvQIO4YKaEK_2DIQ1R5J_oNw1@thread.v2/messages?syncState=3e3900000031393a315f7244762d4f37734a68376a716d486e624c6a7651494f34594b61454b5f324449513152354a5f6f4e7731407468726561642e763201bac841f286010000c8db41f286010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=3\u0026api-version=2023-04-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", @@ -239,61 +243,63 @@ "Sec-Fetch-Dest": "empty", "Sec-Fetch-Mode": "cors", "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/102.0.5002.0 Safari/537.36", - "x-ms-client-request-id": "59eb4e64-73a1-4a6b-be6a-4398d1be3851", - "x-ms-useragent": "azsdk-js-communication-chat/1.2.0 core-rest-pipeline/1.8.2 OS/MacIntel" + "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/111.0.5555.0 Safari/537.36", + "x-ms-client-request-id": "a036ae82-1ba4-4848-960b-cd286a788ac9", + "x-ms-useragent": "azsdk-js-communication-chat/1.3.2-beta.1 core-rest-pipeline/1.10.3 OS" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { + "Accept-Ranges": "bytes", "Access-Control-Allow-Origin": "*", "Access-Control-Expose-Headers": "Location", - "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2023-04-01-preview", + "Connection": "keep-alive", + "Content-Length": "945", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 26 May 2022 07:59:54 GMT", - "MS-CV": "WvvaMrLEmk2blKkJ/bwReQ.0", + "Date": "Sat, 18 Mar 2023 01:07:30 GMT", + "MS-CV": "eoUJzL6akUqqsiedkANObQ.0", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0ejOPYgAAAADxidzz7lPPQJZ5\u002BKDHeLB\u002BUFJHMDFFREdFMDYwOQBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "x-azure-ref": "20230318T010730Z-97wqt9gd4p3k1at2n17xqsnatw000000023g00000000y9mx", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "127ms" + "X-Processing-Time": "182ms" }, "ResponseBody": { "value": [ { - "id": "1653551989494", + "id": "1679101642913", "type": "participantAdded", "sequenceId": "1", - "version": "1653551989494", + "version": "1679101642913", "content": { "participants": [ { "communicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-a365-83fe-08482200b65a", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-6771-92fd-8b3a0d006f05", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-a365-83fe-08482200b65a" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-6771-92fd-8b3a0d006f05" } }, "shareHistoryTime": "1970-01-01T00:00:00Z" }, { "communicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-a45e-83fe-08482200b65c", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-690e-e138-8e3a0d00767e", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-a45e-83fe-08482200b65c" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-690e-e138-8e3a0d00767e" } }, "shareHistoryTime": "1970-01-01T00:00:00Z" } ], "initiatorCommunicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-a365-83fe-08482200b65a", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-6771-92fd-8b3a0d006f05", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-a365-83fe-08482200b65a" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-6771-92fd-8b3a0d006f05" } } }, - "createdOn": "2022-05-26T07:59:49Z" + "createdOn": "2023-03-18T01:07:22Z" } ] } diff --git a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_lists_participants.json b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_lists_participants.json index f24c0f6fae02..d586f9a62d32 100644 --- a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_lists_participants.json +++ b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_lists_participants.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://endpoint/chat/threads/19%3A5t6BZZhMhTG9yN54rMiVcs-kny91gVXsRP9Arl693UI1%40thread.v2/participants?api-version=2021-09-07", + "RequestUri": "https://endpoint/chat/threads/19%3A1_rDv-O7sJh7jqmHnbLjvQIO4YKaEK_2DIQ1R5J_oNw1%40thread.v2/participants?api-version=2023-04-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", @@ -17,50 +17,52 @@ "Sec-Fetch-Dest": "empty", "Sec-Fetch-Mode": "cors", "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/102.0.5002.0 Safari/537.36", - "x-ms-client-request-id": "0d5b3a9d-4d11-4fb2-ad34-dd0712d9d619", - "x-ms-useragent": "azsdk-js-communication-chat/1.2.0 core-rest-pipeline/1.8.2 OS/MacIntel" + "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/111.0.5555.0 Safari/537.36", + "x-ms-client-request-id": "bed4ec68-ec97-4286-ac69-fe6c184d9710", + "x-ms-useragent": "azsdk-js-communication-chat/1.3.2-beta.1 core-rest-pipeline/1.10.3 OS" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { + "Accept-Ranges": "bytes", "Access-Control-Allow-Origin": "*", "Access-Control-Expose-Headers": "Location", - "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2023-04-01-preview", + "Connection": "keep-alive", + "Content-Length": "824", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 26 May 2022 07:59:56 GMT", - "MS-CV": "wpeDtm/4j0Kg2TYEXpRuFQ.0", + "Date": "Sat, 18 Mar 2023 01:07:33 GMT", + "MS-CV": "V9wSFBs0JUC3BOICtVozDA.0", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0fDOPYgAAAABnkHBqw6TFQ5NDagHWPzkdUFJHMDFFREdFMDYwOQBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "x-azure-ref": "20230318T010733Z-97wqt9gd4p3k1at2n17xqsnatw000000023g00000000y9vn", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "136ms" + "X-Processing-Time": "146ms" }, "ResponseBody": { "value": [ { "communicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-a365-83fe-08482200b65a", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-6771-92fd-8b3a0d006f05", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-a365-83fe-08482200b65a" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-6771-92fd-8b3a0d006f05" } }, "shareHistoryTime": "1970-01-01T00:00:00Z" }, { "communicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-a45e-83fe-08482200b65c", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-690e-e138-8e3a0d00767e", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-a45e-83fe-08482200b65c" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-690e-e138-8e3a0d00767e" } }, "shareHistoryTime": "1970-01-01T00:00:00Z" }, { "communicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-bf6a-83fe-08482200b65f", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-8f9e-9f3b-8e3a0d006c89", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-bf6a-83fe-08482200b65f" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-8f9e-9f3b-8e3a0d006c89" } }, "shareHistoryTime": "1970-01-01T00:00:00Z" diff --git a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_lists_read_receipts.json b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_lists_read_receipts.json index 7c98b725cac0..76c60f0070f2 100644 --- a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_lists_read_receipts.json +++ b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_lists_read_receipts.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://endpoint/chat/threads/19%3A5t6BZZhMhTG9yN54rMiVcs-kny91gVXsRP9Arl693UI1%40thread.v2/readReceipts?api-version=2021-09-07", + "RequestUri": "https://endpoint/chat/threads/19%3A1_rDv-O7sJh7jqmHnbLjvQIO4YKaEK_2DIQ1R5J_oNw1%40thread.v2/readReceipts?api-version=2023-04-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", @@ -17,36 +17,38 @@ "Sec-Fetch-Dest": "empty", "Sec-Fetch-Mode": "cors", "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/102.0.5002.0 Safari/537.36", - "x-ms-client-request-id": "2366fed4-cedd-4657-89bb-b9c46d0615f9", - "x-ms-useragent": "azsdk-js-communication-chat/1.2.0 core-rest-pipeline/1.8.2 OS/MacIntel" + "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/111.0.5555.0 Safari/537.36", + "x-ms-client-request-id": "e62e2dae-fbef-4bde-af4b-87b5d58e41d4", + "x-ms-useragent": "azsdk-js-communication-chat/1.3.2-beta.1 core-rest-pipeline/1.10.3 OS" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { + "Accept-Ranges": "bytes", "Access-Control-Allow-Origin": "*", "Access-Control-Expose-Headers": "Location", - "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2023-04-01-preview", + "Connection": "keep-alive", + "Content-Length": "310", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 26 May 2022 07:59:57 GMT", - "MS-CV": "BDhj7nLyDk6bN34a4nAgQg.0", + "Date": "Sat, 18 Mar 2023 01:07:34 GMT", + "MS-CV": "Mh5/20uccUK2gFWDltz63Q.0", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0fTOPYgAAAADgHnemAQFfTYTysZhixW65UFJHMDFFREdFMDYwOQBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "x-azure-ref": "20230318T010734Z-97wqt9gd4p3k1at2n17xqsnatw000000023g00000000y9yf", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "83ms" + "X-Processing-Time": "94ms" }, "ResponseBody": { "value": [ { "senderCommunicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-a365-83fe-08482200b65a", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-6771-92fd-8b3a0d006f05", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-a365-83fe-08482200b65a" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-6771-92fd-8b3a0d006f05" } }, - "chatMessageId": "1653551992406", - "readOn": "2022-05-26T07:59:53Z" + "chatMessageId": "1679101647816", + "readOn": "2023-03-18T01:07:28Z" } ] } diff --git a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_remove_a_participant.json b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_remove_a_participant.json index 0ddab2d0bbdd..3f10c3cd9bb9 100644 --- a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_remove_a_participant.json +++ b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_remove_a_participant.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://endpoint/chat/threads/19%3A5t6BZZhMhTG9yN54rMiVcs-kny91gVXsRP9Arl693UI1%40thread.v2/participants/:remove?api-version=2021-09-07", + "RequestUri": "https://endpoint/chat/threads/19%3A1_rDv-O7sJh7jqmHnbLjvQIO4YKaEK_2DIQ1R5J_oNw1%40thread.v2/participants/:remove?api-version=2023-04-01-preview", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", @@ -19,27 +19,28 @@ "Sec-Fetch-Dest": "empty", "Sec-Fetch-Mode": "cors", "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/102.0.5002.0 Safari/537.36", - "x-ms-client-request-id": "b9a06189-ca36-4fe8-ad58-4d4cda728733", - "x-ms-useragent": "azsdk-js-communication-chat/1.2.0 core-rest-pipeline/1.8.2 OS/MacIntel" + "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/111.0.5555.0 Safari/537.36", + "x-ms-client-request-id": "97c89f8a-a715-4bde-ad10-7e9bc410ef41", + "x-ms-useragent": "azsdk-js-communication-chat/1.3.2-beta.1 core-rest-pipeline/1.10.3 OS" }, "RequestBody": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-a45e-83fe-08482200b65c", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-690e-e138-8e3a0d00767e", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-a45e-83fe-08482200b65c" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-690e-e138-8e3a0d00767e" } }, "StatusCode": 204, "ResponseHeaders": { "Access-Control-Allow-Origin": "*", "Access-Control-Expose-Headers": "Location", - "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", - "Date": "Thu, 26 May 2022 07:59:57 GMT", - "MS-CV": "OZ2ByYSKHkeGZIHns9tmbw.0", + "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2023-04-01-preview", + "Connection": "keep-alive", + "Date": "Sat, 18 Mar 2023 01:07:34 GMT", + "MS-CV": "57TWSCkoBUGcq/ZH1b5s3g.0", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0fDOPYgAAAACSI7z3kNnzTryays8OZbbBUFJHMDFFREdFMDYwOQBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "x-azure-ref": "20230318T010733Z-97wqt9gd4p3k1at2n17xqsnatw000000023g00000000y9x8", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "305ms" + "X-Processing-Time": "190ms" }, "ResponseBody": null } diff --git a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_retrieves_a_message.json b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_retrieves_a_message.json index 86ebdb49e8bf..bfb8061ffae4 100644 --- a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_retrieves_a_message.json +++ b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_retrieves_a_message.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://endpoint/chat/threads/19%3A5t6BZZhMhTG9yN54rMiVcs-kny91gVXsRP9Arl693UI1%40thread.v2/messages/1653551992406?api-version=2021-09-07", + "RequestUri": "https://endpoint/chat/threads/19%3A1_rDv-O7sJh7jqmHnbLjvQIO4YKaEK_2DIQ1R5J_oNw1%40thread.v2/messages/1679101647816?api-version=2023-04-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", @@ -17,39 +17,41 @@ "Sec-Fetch-Dest": "empty", "Sec-Fetch-Mode": "cors", "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/102.0.5002.0 Safari/537.36", - "x-ms-client-request-id": "7b26841a-b1a4-41b7-80b4-257317d06d27", - "x-ms-useragent": "azsdk-js-communication-chat/1.2.0 core-rest-pipeline/1.8.2 OS/MacIntel" + "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/111.0.5555.0 Safari/537.36", + "x-ms-client-request-id": "54b6a3f6-34a7-466a-95f3-2651f4142c5d", + "x-ms-useragent": "azsdk-js-communication-chat/1.3.2-beta.1 core-rest-pipeline/1.10.3 OS" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { + "Accept-Ranges": "bytes", "Access-Control-Allow-Origin": "*", "Access-Control-Expose-Headers": "Location", - "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2023-04-01-preview", + "Connection": "keep-alive", + "Content-Length": "432", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 26 May 2022 07:59:53 GMT", - "MS-CV": "7y\u002BrHbSDJ0CvZDbfAkeYpg.0", + "Date": "Sat, 18 Mar 2023 01:07:29 GMT", + "MS-CV": "8ak2g3GVjkGfB/Q8K94nqg.0", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0eTOPYgAAAABoJTo1MroMRaMhBDYNmlhTUFJHMDFFREdFMDYwOQBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "x-azure-ref": "20230318T010729Z-97wqt9gd4p3k1at2n17xqsnatw000000023g00000000y9fa", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "89ms" + "X-Processing-Time": "99ms" }, "ResponseBody": { - "id": "1653551992406", + "id": "1679101647816", "type": "text", "sequenceId": "4", - "version": "1653551992406", + "version": "1679101647816", "content": { "message": "content" }, "senderDisplayName": "", - "createdOn": "2022-05-26T07:59:52Z", + "createdOn": "2023-03-18T01:07:27Z", "senderCommunicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-a365-83fe-08482200b65a", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-6771-92fd-8b3a0d006f05", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-a365-83fe-08482200b65a" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-6771-92fd-8b3a0d006f05" } }, "metadata": { diff --git a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_sends_a_message.json b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_sends_a_message.json index 2c7ad48ee757..d8282ce0947e 100644 --- a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_sends_a_message.json +++ b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_sends_a_message.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://endpoint/chat/threads/19%3A5t6BZZhMhTG9yN54rMiVcs-kny91gVXsRP9Arl693UI1%40thread.v2/messages?api-version=2021-09-07", + "RequestUri": "https://endpoint/chat/threads/19%3A1_rDv-O7sJh7jqmHnbLjvQIO4YKaEK_2DIQ1R5J_oNw1%40thread.v2/messages?api-version=2023-04-01-preview", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", @@ -19,9 +19,9 @@ "Sec-Fetch-Dest": "empty", "Sec-Fetch-Mode": "cors", "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/102.0.5002.0 Safari/537.36", - "x-ms-client-request-id": "46bfad64-9595-476b-965d-6357dc8d36f0", - "x-ms-useragent": "azsdk-js-communication-chat/1.2.0 core-rest-pipeline/1.8.2 OS/MacIntel" + "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/111.0.5555.0 Safari/537.36", + "x-ms-client-request-id": "2a595371-4b90-4cfd-b4a0-1d8aa14f922d", + "x-ms-useragent": "azsdk-js-communication-chat/1.3.2-beta.1 core-rest-pipeline/1.10.3 OS" }, "RequestBody": { "content": "content", @@ -33,19 +33,20 @@ "ResponseHeaders": { "Access-Control-Allow-Origin": "*", "Access-Control-Expose-Headers": "Location", - "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2023-04-01-preview", + "Connection": "keep-alive", + "Content-Length": "22", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 26 May 2022 07:59:52 GMT", - "Location": "https://endpoint/chat/threads/19%3A5t6BZZhMhTG9yN54rMiVcs-kny91gVXsRP9Arl693UI1@thread.v2/messages/1653551992406", - "MS-CV": "r1OV9PIcYE\u002BWNrxDU/T5Wg.0", + "Date": "Sat, 18 Mar 2023 01:07:27 GMT", + "Location": "https://endpoint/chat/threads/19%3A1_rDv-O7sJh7jqmHnbLjvQIO4YKaEK_2DIQ1R5J_oNw1@thread.v2/messages/1679101647816", + "MS-CV": "KKkZI7Whf0OkgnYvMW74QQ.0", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0eDOPYgAAAAC\u002BTQJ6EIJoS5HzRwLYnFRSUFJHMDFFREdFMDYwOQBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "x-azure-ref": "20230318T010727Z-97wqt9gd4p3k1at2n17xqsnatw000000023g00000000y9b6", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "147ms" + "X-Processing-Time": "198ms" }, "ResponseBody": { - "id": "1653551992406" + "id": "1679101647816" } } ], diff --git a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_sends_read_receipt.json b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_sends_read_receipt.json index ee8cc9cd75ad..523256835c8e 100644 --- a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_sends_read_receipt.json +++ b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_sends_read_receipt.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://endpoint/chat/threads/19%3A5t6BZZhMhTG9yN54rMiVcs-kny91gVXsRP9Arl693UI1%40thread.v2/readReceipts?api-version=2021-09-07", + "RequestUri": "https://endpoint/chat/threads/19%3A1_rDv-O7sJh7jqmHnbLjvQIO4YKaEK_2DIQ1R5J_oNw1%40thread.v2/readReceipts?api-version=2023-04-01-preview", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", @@ -19,25 +19,27 @@ "Sec-Fetch-Dest": "empty", "Sec-Fetch-Mode": "cors", "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/102.0.5002.0 Safari/537.36", - "x-ms-client-request-id": "385c46a5-04ae-4c2e-8938-02af6df5df0d", - "x-ms-useragent": "azsdk-js-communication-chat/1.2.0 core-rest-pipeline/1.8.2 OS/MacIntel" + "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/111.0.5555.0 Safari/537.36", + "x-ms-client-request-id": "d627899e-1a3b-4d5c-94e0-512438852d49", + "x-ms-useragent": "azsdk-js-communication-chat/1.3.2-beta.1 core-rest-pipeline/1.10.3 OS" }, "RequestBody": { - "chatMessageId": "1653551992406" + "chatMessageId": "1679101647816" }, "StatusCode": 200, "ResponseHeaders": { + "Accept-Ranges": "bytes", "Access-Control-Allow-Origin": "*", "Access-Control-Expose-Headers": "Location", - "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2023-04-01-preview", + "Connection": "keep-alive", "Content-Length": "0", - "Date": "Thu, 26 May 2022 07:59:53 GMT", - "MS-CV": "g/vfGQPqg0O/8Frk0zYjdQ.0", + "Date": "Sat, 18 Mar 2023 01:07:29 GMT", + "MS-CV": "51kGBloQJEGVOjC\u002BEWIpNg.0", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0eTOPYgAAAACsHmulxWBPRpuI/5fuwX8oUFJHMDFFREdFMDYwOQBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "x-azure-ref": "20230318T010728Z-97wqt9gd4p3k1at2n17xqsnatw000000023g00000000y9e8", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "183ms" + "X-Processing-Time": "167ms" }, "ResponseBody": null } diff --git a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_sends_typing_notification.json b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_sends_typing_notification.json index 3a52f31e6c54..91e318485f9e 100644 --- a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_sends_typing_notification.json +++ b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_sends_typing_notification.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://endpoint/chat/threads/19%3A5t6BZZhMhTG9yN54rMiVcs-kny91gVXsRP9Arl693UI1%40thread.v2/typing?api-version=2021-09-07", + "RequestUri": "https://endpoint/chat/threads/19%3A1_rDv-O7sJh7jqmHnbLjvQIO4YKaEK_2DIQ1R5J_oNw1%40thread.v2/typing?api-version=2023-04-01-preview", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", @@ -19,23 +19,25 @@ "Sec-Fetch-Dest": "empty", "Sec-Fetch-Mode": "cors", "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/102.0.5002.0 Safari/537.36", - "x-ms-client-request-id": "0b803f58-9db6-4665-a080-d1dc25c44d17", - "x-ms-useragent": "azsdk-js-communication-chat/1.2.0 core-rest-pipeline/1.8.2 OS/MacIntel" + "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/111.0.5555.0 Safari/537.36", + "x-ms-client-request-id": "1df5861f-c9be-4df8-956e-662a56f12846", + "x-ms-useragent": "azsdk-js-communication-chat/1.3.2-beta.1 core-rest-pipeline/1.10.3 OS" }, "RequestBody": {}, "StatusCode": 200, "ResponseHeaders": { + "Accept-Ranges": "bytes", "Access-Control-Allow-Origin": "*", "Access-Control-Expose-Headers": "Location", - "api-supported-versions": "2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "api-supported-versions": "2021-04-05-preview6, 2021-09-07, 2023-04-01-preview", + "Connection": "keep-alive", "Content-Length": "0", - "Date": "Thu, 26 May 2022 07:59:52 GMT", - "MS-CV": "l4ouldD2WEmSxVjAKa2b2Q.0", + "Date": "Sat, 18 Mar 2023 01:07:28 GMT", + "MS-CV": "W5IYfMLYbkqqMNlajRAHnw.0", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0eDOPYgAAAABJgB/XNTEjQ5c3JSYvfzR0UFJHMDFFREdFMDYwOQBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "x-azure-ref": "20230318T010728Z-97wqt9gd4p3k1at2n17xqsnatw000000023g00000000y9cm", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "129ms" + "X-Processing-Time": "157ms" }, "ResponseBody": null } diff --git a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_updates_the_thread_topic.json b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_updates_the_thread_topic.json index 87b7c1af51c0..c7447b5e95f2 100644 --- a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_updates_the_thread_topic.json +++ b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_updates_the_thread_topic.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://endpoint/chat/threads/19%3A5t6BZZhMhTG9yN54rMiVcs-kny91gVXsRP9Arl693UI1%40thread.v2?api-version=2021-09-07", + "RequestUri": "https://endpoint/chat/threads/19%3A1_rDv-O7sJh7jqmHnbLjvQIO4YKaEK_2DIQ1R5J_oNw1%40thread.v2?api-version=2023-04-01-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", @@ -19,9 +19,9 @@ "Sec-Fetch-Dest": "empty", "Sec-Fetch-Mode": "cors", "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/102.0.5002.0 Safari/537.36", - "x-ms-client-request-id": "90442f3e-f7da-499e-92bc-3b32afd95986", - "x-ms-useragent": "azsdk-js-communication-chat/1.2.0 core-rest-pipeline/1.8.2 OS/MacIntel" + "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/111.0.5555.0 Safari/537.36", + "x-ms-client-request-id": "0c078cd1-8a00-4af1-9b09-a6badb48a458", + "x-ms-useragent": "azsdk-js-communication-chat/1.3.2-beta.1 core-rest-pipeline/1.10.3 OS" }, "RequestBody": { "topic": "new topic" @@ -30,18 +30,19 @@ "ResponseHeaders": { "Access-Control-Allow-Origin": "*", "Access-Control-Expose-Headers": "Location", - "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", - "Date": "Thu, 26 May 2022 07:59:50 GMT", - "MS-CV": "9X\u002BCyqNwMkWAYyUC4M\u002B/hA.0", + "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2023-04-01-preview", + "Connection": "keep-alive", + "Date": "Sat, 18 Mar 2023 01:07:25 GMT", + "MS-CV": "5ztmhNbhNEGlXmYkWGixhQ.0", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0djOPYgAAAADN8p/qvmR2SLmqWZo6tFzMUFJHMDFFREdFMDYwOQBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "x-azure-ref": "20230318T010724Z-97wqt9gd4p3k1at2n17xqsnatw000000023g00000000y91v", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "181ms" + "X-Processing-Time": "298ms" }, "ResponseBody": null }, { - "RequestUri": "https://endpoint/chat/threads/19%3A5t6BZZhMhTG9yN54rMiVcs-kny91gVXsRP9Arl693UI1%40thread.v2?api-version=2021-09-07", + "RequestUri": "https://endpoint/chat/threads/19%3A1_rDv-O7sJh7jqmHnbLjvQIO4YKaEK_2DIQ1R5J_oNw1%40thread.v2?api-version=2023-04-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", @@ -57,33 +58,35 @@ "Sec-Fetch-Dest": "empty", "Sec-Fetch-Mode": "cors", "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/102.0.5002.0 Safari/537.36", - "x-ms-client-request-id": "92e5ddad-0fe7-4de8-bb1c-97cece2d7003", - "x-ms-useragent": "azsdk-js-communication-chat/1.2.0 core-rest-pipeline/1.8.2 OS/MacIntel" + "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/111.0.5555.0 Safari/537.36", + "x-ms-client-request-id": "54de2f4b-24bd-40cb-a4dc-830ad1c500fe", + "x-ms-useragent": "azsdk-js-communication-chat/1.3.2-beta.1 core-rest-pipeline/1.10.3 OS" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { + "Accept-Ranges": "bytes", "Access-Control-Allow-Origin": "*", "Access-Control-Expose-Headers": "Location", - "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2023-04-01-preview", + "Connection": "keep-alive", + "Content-Length": "357", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 26 May 2022 07:59:51 GMT", - "MS-CV": "Yc\u002BL\u002BTcH90SNogJvlW3a4Q.0", + "Date": "Sat, 18 Mar 2023 01:07:25 GMT", + "MS-CV": "J6myHhkqvUuFh8tMKS/eIw.0", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0djOPYgAAAACjfkNvkJq\u002BTJyN5bNWJMXNUFJHMDFFREdFMDYwOQBmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "x-azure-ref": "20230318T010725Z-97wqt9gd4p3k1at2n17xqsnatw000000023g00000000y93w", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1193ms" + "X-Processing-Time": "160ms" }, "ResponseBody": { - "id": "19:5t6BZZhMhTG9yN54rMiVcs-kny91gVXsRP9Arl693UI1@thread.v2", + "id": "19:1_rDv-O7sJh7jqmHnbLjvQIO4YKaEK_2DIQ1R5J_oNw1@thread.v2", "topic": "new topic", - "createdOn": "2022-05-26T07:59:49Z", + "createdOn": "2023-03-18T01:07:22Z", "createdByCommunicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-a365-83fe-08482200b65a", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-6771-92fd-8b3a0d006f05", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-a365-83fe-08482200b65a" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-6771-92fd-8b3a0d006f05" } } } diff --git a/sdk/communication/communication-chat/recordings/node/chatclient_chat_operations/recording_successfully_creates_a_thread.json b/sdk/communication/communication-chat/recordings/node/chatclient_chat_operations/recording_successfully_creates_a_thread.json index b56ec7183bef..2afa9e54ffb4 100644 --- a/sdk/communication/communication-chat/recordings/node/chatclient_chat_operations/recording_successfully_creates_a_thread.json +++ b/sdk/communication/communication-chat/recordings/node/chatclient_chat_operations/recording_successfully_creates_a_thread.json @@ -10,10 +10,10 @@ "Connection": "keep-alive", "Content-Length": "34", "Content-Type": "application/json", - "User-Agent": "azsdk-js-communication-identity/1.1.0 core-rest-pipeline/1.8.2 Node/v18.2.0 OS/(x64-Darwin-21.4.0)", - "x-ms-client-request-id": "e8156506-1cf3-41ad-845d-adfbe7956643", + "User-Agent": "azsdk-js-communication-identity/1.2.1 core-rest-pipeline/1.10.3 Node/v14.19.0 OS/(arm64-Darwin-22.3.0)", + "x-ms-client-request-id": "2d8d2082-16bd-4ab1-8c97-2e53fe8c0bdc", "x-ms-content-sha256": "WTRvgEjjVd\u002BbvyKw3WgXgDkU81aV8FWq\u002B4/BE\u002Bhe0\u002BA=", - "x-ms-date": "Thu, 26 May 2022 07:59:25 GMT" + "x-ms-date": "Sat, 18 Mar 2023 01:07:01 GMT" }, "RequestBody": { "createTokenWithScopes": [ @@ -22,25 +22,26 @@ }, "StatusCode": 201, "ResponseHeaders": { - "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01, 2022-10-01", + "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01", + "Connection": "keep-alive", "Content-Length": "290", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 26 May 2022 07:59:25 GMT", - "MS-CV": "M8ecXQshpUimsccDq3aoJQ.0", + "Date": "Sat, 18 Mar 2023 01:07:02 GMT", + "MS-CV": "/WmzPImZzEaXz8PLKC2B\u002Bg.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0XTOPYgAAAAD8vCSiiQYlSJJCs/NszaFQUFJHMDFFREdFMDYxNABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "x-azure-ref": "20230318T010701Z-1vv9exqx192u70a2dzpnkg6dz800000002ug00000000dft8", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "e8156506-1cf3-41ad-845d-adfbe7956643", - "X-Processing-Time": "44ms" + "x-ms-client-request-id": "2d8d2082-16bd-4ab1-8c97-2e53fe8c0bdc", + "X-Processing-Time": "124ms" }, "ResponseBody": { "identity": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-4aef-88f7-08482200b423" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-1b9e-3ef0-8b3a0d0069a7" }, "accessToken": { - "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NTM1NTU1NjQuODg4fQ==.adM-ddBZZlQ1WlN3pdPBOF5G4Wh9iZpxNP_fSvpF4cWs", - "expiresOn": "2022-05-27T07:59:25.9595888\u002B00:00" + "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NzkxMDUyMjEuMzQyfQ==.adM-ddBZZlQ1WlN3pdPBOF5G4Wh9iZpxNP_fSvpF4cWs", + "expiresOn": "2023-03-19T01:07:02.1811857\u002B00:00" } } }, @@ -54,10 +55,10 @@ "Connection": "keep-alive", "Content-Length": "34", "Content-Type": "application/json", - "User-Agent": "azsdk-js-communication-identity/1.1.0 core-rest-pipeline/1.8.2 Node/v18.2.0 OS/(x64-Darwin-21.4.0)", - "x-ms-client-request-id": "46c6d692-2c06-4f7f-903e-5e9a6c18b37e", + "User-Agent": "azsdk-js-communication-identity/1.2.1 core-rest-pipeline/1.10.3 Node/v14.19.0 OS/(arm64-Darwin-22.3.0)", + "x-ms-client-request-id": "206ce9c6-2daf-4038-a496-a9827424d246", "x-ms-content-sha256": "WTRvgEjjVd\u002BbvyKw3WgXgDkU81aV8FWq\u002B4/BE\u002Bhe0\u002BA=", - "x-ms-date": "Thu, 26 May 2022 07:59:25 GMT" + "x-ms-date": "Sat, 18 Mar 2023 01:07:02 GMT" }, "RequestBody": { "createTokenWithScopes": [ @@ -66,30 +67,31 @@ }, "StatusCode": 201, "ResponseHeaders": { - "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01, 2022-10-01", + "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01", + "Connection": "keep-alive", "Content-Length": "290", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 26 May 2022 07:59:26 GMT", - "MS-CV": "ruts6rasIECVX2Uu9SQoiA.0", + "Date": "Sat, 18 Mar 2023 01:07:02 GMT", + "MS-CV": "jGSYdd6HMkK/Hj7aRJsniQ.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0XjOPYgAAAADrd5gCaf\u002BmQZMvrBwWzXC3UFJHMDFFREdFMDYxNABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "x-azure-ref": "20230318T010702Z-1vv9exqx192u70a2dzpnkg6dz800000002ug00000000dfug", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "46c6d692-2c06-4f7f-903e-5e9a6c18b37e", - "X-Processing-Time": "1066ms" + "x-ms-client-request-id": "206ce9c6-2daf-4038-a496-a9827424d246", + "X-Processing-Time": "97ms" }, "ResponseBody": { "identity": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-4fd8-88f7-08482200b424" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-1d81-e138-8e3a0d00767b" }, "accessToken": { - "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NTM1NTU1NjQuODg4fQ==.adM-ddBZZlQ1WlN3pdPBOF5G4Wh9iZpxNP_fSvpF4cWs", - "expiresOn": "2022-05-27T07:59:27.2135038\u002B00:00" + "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NzkxMDUyMjEuMzQyfQ==.adM-ddBZZlQ1WlN3pdPBOF5G4Wh9iZpxNP_fSvpF4cWs", + "expiresOn": "2023-03-19T01:07:02.6658441\u002B00:00" } } }, { - "RequestUri": "https://endpoint/chat/threads?api-version=2021-09-07", + "RequestUri": "https://endpoint/chat/threads?api-version=2023-04-01-preview", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", @@ -98,26 +100,26 @@ "Connection": "keep-alive", "Content-Length": "497", "Content-Type": "application/json", - "repeatability-request-id": "9d0bb670-b075-47e8-8977-c6b11bf40faa", - "User-Agent": "azsdk-js-communication-chat/1.2.0 core-rest-pipeline/1.8.2 Node/v18.2.0 OS/(x64-Darwin-21.4.0)", - "x-ms-client-request-id": "2c2e955f-d322-4a4a-b5fc-b6d86faaa0f7" + "repeatability-request-id": "d22b288e-82f2-4d01-a5ee-195e389f5bb8", + "User-Agent": "azsdk-js-communication-chat/1.3.2-beta.1 core-rest-pipeline/1.10.3 Node/v14.19.0 OS/(arm64-Darwin-22.3.0)", + "x-ms-client-request-id": "01401ff9-99de-4a01-8bc0-57925e63edb1" }, "RequestBody": { "topic": "test topic", "participants": [ { "communicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-4aef-88f7-08482200b423", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-1b9e-3ef0-8b3a0d0069a7", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-4aef-88f7-08482200b423" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-1b9e-3ef0-8b3a0d0069a7" } } }, { "communicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-4fd8-88f7-08482200b424", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-1d81-e138-8e3a0d00767b", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-4fd8-88f7-08482200b424" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-1d81-e138-8e3a0d00767b" } } } @@ -125,26 +127,27 @@ }, "StatusCode": 201, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2023-04-01-preview", + "Connection": "keep-alive", + "Content-Length": "373", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 26 May 2022 07:59:27 GMT", - "Location": "https://endpoint/chat/threads/19%3AZFZyPgSr4MhkDfCnXSa6rKVR00T-pr_H_KFLgkMMCmE1@thread.v2", - "MS-CV": "e3OzFJGt8EmLcR2brHzjcw.0", + "Date": "Sat, 18 Mar 2023 01:07:03 GMT", + "Location": "https://endpoint/chat/threads/19%3Aq_pQ9_QKTcPVGRkiN8mUHjRglLCWCe-6ZIbjNIxK35I1@thread.v2", + "MS-CV": "C0A83r\u002Bu7E2ZtgJPseaOcA.0", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0XzOPYgAAAAAZImR1MPyGQJRa9ykiWJQzUFJHMDFFREdFMDYxNABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "x-azure-ref": "20230318T010702Z-1vv9exqx192u70a2dzpnkg6dz800000002ug00000000dfv0", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "834ms" + "X-Processing-Time": "432ms" }, "ResponseBody": { "chatThread": { - "id": "19:ZFZyPgSr4MhkDfCnXSa6rKVR00T-pr_H_KFLgkMMCmE1@thread.v2", + "id": "19:q_pQ9_QKTcPVGRkiN8mUHjRglLCWCe-6ZIbjNIxK35I1@thread.v2", "topic": "test topic", - "createdOn": "2022-05-26T07:59:28Z", + "createdOn": "2023-03-18T01:07:03Z", "createdByCommunicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-4aef-88f7-08482200b423", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-1b9e-3ef0-8b3a0d0069a7", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-4aef-88f7-08482200b423" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-1b9e-3ef0-8b3a0d0069a7" } } } diff --git a/sdk/communication/communication-chat/recordings/node/chatclient_chat_operations/recording_successfully_deletes_a_thread.json b/sdk/communication/communication-chat/recordings/node/chatclient_chat_operations/recording_successfully_deletes_a_thread.json index aa377216f529..d0fa03ad1070 100644 --- a/sdk/communication/communication-chat/recordings/node/chatclient_chat_operations/recording_successfully_deletes_a_thread.json +++ b/sdk/communication/communication-chat/recordings/node/chatclient_chat_operations/recording_successfully_deletes_a_thread.json @@ -1,26 +1,27 @@ { "Entries": [ { - "RequestUri": "https://endpoint/chat/threads/19%3AZFZyPgSr4MhkDfCnXSa6rKVR00T-pr_H_KFLgkMMCmE1%40thread.v2?api-version=2021-09-07", + "RequestUri": "https://endpoint/chat/threads/19%3Aq_pQ9_QKTcPVGRkiN8mUHjRglLCWCe-6ZIbjNIxK35I1%40thread.v2?api-version=2023-04-01-preview", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-communication-chat/1.2.0 core-rest-pipeline/1.8.2 Node/v18.2.0 OS/(x64-Darwin-21.4.0)", - "x-ms-client-request-id": "d0f44792-54c2-4a97-9c60-2eba7e6e20c0" + "User-Agent": "azsdk-js-communication-chat/1.3.2-beta.1 core-rest-pipeline/1.10.3 Node/v14.19.0 OS/(arm64-Darwin-22.3.0)", + "x-ms-client-request-id": "72aeaf29-aca7-4637-9974-06e9faf2bad2" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", - "Date": "Thu, 26 May 2022 07:59:28 GMT", - "MS-CV": "aqpNYCf5FkCmagjxCCC3wQ.0", + "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2023-04-01-preview", + "Connection": "keep-alive", + "Date": "Sat, 18 Mar 2023 01:07:04 GMT", + "MS-CV": "EmVG3PEAQESvnJl0xZ57kw.0", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0YTOPYgAAAABdS7MrTJi6R6sm/D1fgh04UFJHMDFFREdFMDYxNABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "x-azure-ref": "20230318T010703Z-1vv9exqx192u70a2dzpnkg6dz800000002ug00000000dfx6", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "122ms" + "X-Processing-Time": "204ms" }, "ResponseBody": null } diff --git a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_adds_participants.json b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_adds_participants.json index 1e954e4d6175..e0a87efc3ad3 100644 --- a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_adds_participants.json +++ b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_adds_participants.json @@ -10,10 +10,10 @@ "Connection": "keep-alive", "Content-Length": "34", "Content-Type": "application/json", - "User-Agent": "azsdk-js-communication-identity/1.1.0 core-rest-pipeline/1.8.2 Node/v18.2.0 OS/(x64-Darwin-21.4.0)", - "x-ms-client-request-id": "deb1e975-9f54-4e11-bc6d-67185bb6e871", + "User-Agent": "azsdk-js-communication-identity/1.2.1 core-rest-pipeline/1.10.3 Node/v14.19.0 OS/(arm64-Darwin-22.3.0)", + "x-ms-client-request-id": "903fea12-777c-458d-b00c-10447c1a9dc8", "x-ms-content-sha256": "WTRvgEjjVd\u002BbvyKw3WgXgDkU81aV8FWq\u002B4/BE\u002Bhe0\u002BA=", - "x-ms-date": "Thu, 26 May 2022 07:59:35 GMT" + "x-ms-date": "Sat, 18 Mar 2023 01:07:11 GMT" }, "RequestBody": { "createTokenWithScopes": [ @@ -22,30 +22,31 @@ }, "StatusCode": 201, "ResponseHeaders": { - "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01, 2022-10-01", - "Content-Length": "289", + "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01", + "Connection": "keep-alive", + "Content-Length": "290", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 26 May 2022 07:59:34 GMT", - "MS-CV": "aiWkHE4ngUegq/69sIB9Ng.0", + "Date": "Sat, 18 Mar 2023 01:07:12 GMT", + "MS-CV": "wZrS02EKzEOjrzZpqhr4/w.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0ZzOPYgAAAACVixCcuhiiQZV/lQWwKzzSUFJHMDFFREdFMDYxNABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "x-azure-ref": "20230318T010711Z-1vv9exqx192u70a2dzpnkg6dz800000002ug00000000dgd2", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "deb1e975-9f54-4e11-bc6d-67185bb6e871", - "X-Processing-Time": "40ms" + "x-ms-client-request-id": "903fea12-777c-458d-b00c-10447c1a9dc8", + "X-Processing-Time": "120ms" }, "ResponseBody": { "identity": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-71b4-88f7-08482200b429" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-41ea-3d39-8e3a0d007087" }, "accessToken": { - "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NTM1NTU1NjQuODg4fQ==.adM-ddBZZlQ1WlN3pdPBOF5G4Wh9iZpxNP_fSvpF4cWs", - "expiresOn": "2022-05-27T07:59:35.881167\u002B00:00" + "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NzkxMDUyMjEuMzQyfQ==.adM-ddBZZlQ1WlN3pdPBOF5G4Wh9iZpxNP_fSvpF4cWs", + "expiresOn": "2023-03-19T01:07:11.9844624\u002B00:00" } } }, { - "RequestUri": "https://endpoint/chat/threads/19%3AaWuNSmqHe3jJOGl36l6DBhxQDcimoCzk5-N6HxAeDWI1%40thread.v2/participants/:add?api-version=2021-09-07", + "RequestUri": "https://endpoint/chat/threads/19%3A7SeKCRsilUJN_77z9hv7Fus0xUlQTH4T8Fjungj8UTY1%40thread.v2/participants/:add?api-version=2023-04-01-preview", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", @@ -54,16 +55,16 @@ "Connection": "keep-alive", "Content-Length": "247", "Content-Type": "application/json", - "User-Agent": "azsdk-js-communication-chat/1.2.0 core-rest-pipeline/1.8.2 Node/v18.2.0 OS/(x64-Darwin-21.4.0)", - "x-ms-client-request-id": "744ebc29-b20f-4c1f-b3df-857598d290e9" + "User-Agent": "azsdk-js-communication-chat/1.3.2-beta.1 core-rest-pipeline/1.10.3 Node/v14.19.0 OS/(arm64-Darwin-22.3.0)", + "x-ms-client-request-id": "1d3a84e7-4a56-4034-99dd-ca86dff296fa" }, "RequestBody": { "participants": [ { "communicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-71b4-88f7-08482200b429", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-41ea-3d39-8e3a0d007087", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-71b4-88f7-08482200b429" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-41ea-3d39-8e3a0d007087" } } } @@ -71,15 +72,16 @@ }, "StatusCode": 201, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2023-04-01-preview", + "Connection": "keep-alive", + "Content-Length": "2", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 26 May 2022 07:59:35 GMT", - "MS-CV": "wBcL7M9OjEWG1x5CepVWFQ.0", + "Date": "Sat, 18 Mar 2023 01:07:12 GMT", + "MS-CV": "eMjfvOSMo0edzc9nV/SL9w.0", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0ZzOPYgAAAACPVcru\u002BCS4RrKsZGImojzbUFJHMDFFREdFMDYxNABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "x-azure-ref": "20230318T010712Z-1vv9exqx192u70a2dzpnkg6dz800000002ug00000000dge4", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "185ms" + "X-Processing-Time": "287ms" }, "ResponseBody": {} } diff --git a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_deletes_a_message.json b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_deletes_a_message.json index 7894536f4d52..ad2584f118a1 100644 --- a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_deletes_a_message.json +++ b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_deletes_a_message.json @@ -1,26 +1,27 @@ { "Entries": [ { - "RequestUri": "https://endpoint/chat/threads/19%3AaWuNSmqHe3jJOGl36l6DBhxQDcimoCzk5-N6HxAeDWI1%40thread.v2/messages/1653551972669?api-version=2021-09-07", + "RequestUri": "https://endpoint/chat/threads/19%3A7SeKCRsilUJN_77z9hv7Fus0xUlQTH4T8Fjungj8UTY1%40thread.v2/messages/1679101628113?api-version=2023-04-01-preview", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-communication-chat/1.2.0 core-rest-pipeline/1.8.2 Node/v18.2.0 OS/(x64-Darwin-21.4.0)", - "x-ms-client-request-id": "681575f2-3977-4fcc-87a0-ff0636a57e53" + "User-Agent": "azsdk-js-communication-chat/1.3.2-beta.1 core-rest-pipeline/1.10.3 Node/v14.19.0 OS/(arm64-Darwin-22.3.0)", + "x-ms-client-request-id": "e2d2ddf6-3438-4786-b734-d7826c5788a7" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", - "Date": "Thu, 26 May 2022 07:59:34 GMT", - "MS-CV": "/Sz4SZYJjUmPtVzwgoSP6w.0", + "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2023-04-01-preview", + "Connection": "keep-alive", + "Date": "Sat, 18 Mar 2023 01:07:11 GMT", + "MS-CV": "\u002BYx9KYOsgUCMZZG4naoYZw.0", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0ZzOPYgAAAADLQYNk8FZnS5cA3h4GqrKWUFJHMDFFREdFMDYxNABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "x-azure-ref": "20230318T010711Z-1vv9exqx192u70a2dzpnkg6dz800000002ug00000000dgcd", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "173ms" + "X-Processing-Time": "184ms" }, "ResponseBody": null } diff --git a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_gets_the_thread_properties.json b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_gets_the_thread_properties.json index 9948a6988395..e385fdbf3bc6 100644 --- a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_gets_the_thread_properties.json +++ b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_gets_the_thread_properties.json @@ -1,37 +1,39 @@ { "Entries": [ { - "RequestUri": "https://endpoint/chat/threads/19%3AaWuNSmqHe3jJOGl36l6DBhxQDcimoCzk5-N6HxAeDWI1%40thread.v2?api-version=2021-09-07", + "RequestUri": "https://endpoint/chat/threads/19%3A7SeKCRsilUJN_77z9hv7Fus0xUlQTH4T8Fjungj8UTY1%40thread.v2?api-version=2023-04-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-communication-chat/1.2.0 core-rest-pipeline/1.8.2 Node/v18.2.0 OS/(x64-Darwin-21.4.0)", - "x-ms-client-request-id": "52a6944c-2e97-47a6-91e5-236ef685db40" + "User-Agent": "azsdk-js-communication-chat/1.3.2-beta.1 core-rest-pipeline/1.10.3 Node/v14.19.0 OS/(arm64-Darwin-22.3.0)", + "x-ms-client-request-id": "3f24f120-f365-48b9-bf30-fc522286a885" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Accept-Ranges": "bytes", + "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2023-04-01-preview", + "Connection": "keep-alive", + "Content-Length": "358", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 26 May 2022 07:59:30 GMT", - "MS-CV": "Qg8IjKU4Nk\u002B\u002Bs3Kw3zMyvQ.0", + "Date": "Sat, 18 Mar 2023 01:07:06 GMT", + "MS-CV": "gvqBuTgnoEWyGsX9\u002BXL7zw.0", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0YzOPYgAAAAAvAwfpMugyT5IAFHOpLNXDUFJHMDFFREdFMDYxNABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "x-azure-ref": "20230318T010706Z-1vv9exqx192u70a2dzpnkg6dz800000002ug00000000dg1n", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "84ms" + "X-Processing-Time": "106ms" }, "ResponseBody": { - "id": "19:aWuNSmqHe3jJOGl36l6DBhxQDcimoCzk5-N6HxAeDWI1@thread.v2", + "id": "19:7SeKCRsilUJN_77z9hv7Fus0xUlQTH4T8Fjungj8UTY1@thread.v2", "topic": "test topic", - "createdOn": "2022-05-26T07:59:30Z", + "createdOn": "2023-03-18T01:07:05Z", "createdByCommunicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-58fb-88f7-08482200b425", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-26a7-7bfa-553a0d006e4c", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-58fb-88f7-08482200b425" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-26a7-7bfa-553a0d006e4c" } } } diff --git a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_initializes_chatthreadclient.json b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_initializes_chatthreadclient.json index 466eb290e961..40e86223f812 100644 --- a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_initializes_chatthreadclient.json +++ b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_initializes_chatthreadclient.json @@ -10,10 +10,10 @@ "Connection": "keep-alive", "Content-Length": "34", "Content-Type": "application/json", - "User-Agent": "azsdk-js-communication-identity/1.1.0 core-rest-pipeline/1.8.2 Node/v18.2.0 OS/(x64-Darwin-21.4.0)", - "x-ms-client-request-id": "aeb87eeb-aace-4ec3-b1c9-1fc9ab0f254d", + "User-Agent": "azsdk-js-communication-identity/1.2.1 core-rest-pipeline/1.10.3 Node/v14.19.0 OS/(arm64-Darwin-22.3.0)", + "x-ms-client-request-id": "9e10eb1b-92bd-4b81-a16f-a01f77a953d1", "x-ms-content-sha256": "WTRvgEjjVd\u002BbvyKw3WgXgDkU81aV8FWq\u002B4/BE\u002Bhe0\u002BA=", - "x-ms-date": "Thu, 26 May 2022 07:59:29 GMT" + "x-ms-date": "Sat, 18 Mar 2023 01:07:04 GMT" }, "RequestBody": { "createTokenWithScopes": [ @@ -22,25 +22,26 @@ }, "StatusCode": 201, "ResponseHeaders": { - "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01, 2022-10-01", - "Content-Length": "289", + "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01", + "Connection": "keep-alive", + "Content-Length": "290", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 26 May 2022 07:59:28 GMT", - "MS-CV": "dg1\u002Bbu98t0K\u002BXRHbemUWWQ.0", + "Date": "Sat, 18 Mar 2023 01:07:05 GMT", + "MS-CV": "m4EO3x92XkKXCBJJOmowIg.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0YTOPYgAAAADA\u002B30AcjmrTZYNxvCMj\u002BYnUFJHMDFFREdFMDYxNABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "x-azure-ref": "20230318T010704Z-1vv9exqx192u70a2dzpnkg6dz800000002ug00000000dfyv", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "aeb87eeb-aace-4ec3-b1c9-1fc9ab0f254d", - "X-Processing-Time": "41ms" + "x-ms-client-request-id": "9e10eb1b-92bd-4b81-a16f-a01f77a953d1", + "X-Processing-Time": "130ms" }, "ResponseBody": { "identity": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-58fb-88f7-08482200b425" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-26a7-7bfa-553a0d006e4c" }, "accessToken": { - "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NTM1NTU1NjQuODg4fQ==.adM-ddBZZlQ1WlN3pdPBOF5G4Wh9iZpxNP_fSvpF4cWs", - "expiresOn": "2022-05-27T07:59:29.551804\u002B00:00" + "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NzkxMDUyMjEuMzQyfQ==.adM-ddBZZlQ1WlN3pdPBOF5G4Wh9iZpxNP_fSvpF4cWs", + "expiresOn": "2023-03-19T01:07:06.0065083\u002B00:00" } } }, @@ -54,10 +55,10 @@ "Connection": "keep-alive", "Content-Length": "34", "Content-Type": "application/json", - "User-Agent": "azsdk-js-communication-identity/1.1.0 core-rest-pipeline/1.8.2 Node/v18.2.0 OS/(x64-Darwin-21.4.0)", - "x-ms-client-request-id": "7403f664-62bb-4420-926a-8af9fc25d2f9", + "User-Agent": "azsdk-js-communication-identity/1.2.1 core-rest-pipeline/1.10.3 Node/v14.19.0 OS/(arm64-Darwin-22.3.0)", + "x-ms-client-request-id": "a29a4b8b-07c0-4122-b467-2510584e0606", "x-ms-content-sha256": "WTRvgEjjVd\u002BbvyKw3WgXgDkU81aV8FWq\u002B4/BE\u002Bhe0\u002BA=", - "x-ms-date": "Thu, 26 May 2022 07:59:29 GMT" + "x-ms-date": "Sat, 18 Mar 2023 01:07:05 GMT" }, "RequestBody": { "createTokenWithScopes": [ @@ -66,30 +67,31 @@ }, "StatusCode": 201, "ResponseHeaders": { - "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01, 2022-10-01", - "Content-Length": "289", + "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01", + "Connection": "keep-alive", + "Content-Length": "290", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 26 May 2022 07:59:28 GMT", - "MS-CV": "rdntMuladUGAdrgPEqSKig.0", + "Date": "Sat, 18 Mar 2023 01:07:05 GMT", + "MS-CV": "6tYH7s9ZOkenhPTL1C9n8Q.0", "Request-Context": "appId=", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0YTOPYgAAAABMhdPOkDosQ4ffSmPvXgVGUFJHMDFFREdFMDYxNABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "x-azure-ref": "20230318T010705Z-1vv9exqx192u70a2dzpnkg6dz800000002ug00000000dfzk", "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "7403f664-62bb-4420-926a-8af9fc25d2f9", - "X-Processing-Time": "44ms" + "x-ms-client-request-id": "a29a4b8b-07c0-4122-b467-2510584e0606", + "X-Processing-Time": "100ms" }, "ResponseBody": { "identity": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-59f5-88f7-08482200b426" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-282c-5b3d-8e3a0d006d98" }, "accessToken": { - "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NTM1NTU1NjQuODg4fQ==.adM-ddBZZlQ1WlN3pdPBOF5G4Wh9iZpxNP_fSvpF4cWs", - "expiresOn": "2022-05-27T07:59:29.802545\u002B00:00" + "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NzkxMDUyMjEuMzQyfQ==.adM-ddBZZlQ1WlN3pdPBOF5G4Wh9iZpxNP_fSvpF4cWs", + "expiresOn": "2023-03-19T01:07:05.3977359\u002B00:00" } } }, { - "RequestUri": "https://endpoint/chat/threads?api-version=2021-09-07", + "RequestUri": "https://endpoint/chat/threads?api-version=2023-04-01-preview", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", @@ -98,26 +100,26 @@ "Connection": "keep-alive", "Content-Length": "497", "Content-Type": "application/json", - "repeatability-request-id": "5b3b985e-3e0a-47b3-9b95-1a56d6191ab6", - "User-Agent": "azsdk-js-communication-chat/1.2.0 core-rest-pipeline/1.8.2 Node/v18.2.0 OS/(x64-Darwin-21.4.0)", - "x-ms-client-request-id": "1bf4c3b9-41ff-4d74-935f-ca9918c430dd" + "repeatability-request-id": "a2fbc912-a283-4e63-a56c-cae7415b16c5", + "User-Agent": "azsdk-js-communication-chat/1.3.2-beta.1 core-rest-pipeline/1.10.3 Node/v14.19.0 OS/(arm64-Darwin-22.3.0)", + "x-ms-client-request-id": "956c1cef-49bc-490a-9819-4b30bcb7ff32" }, "RequestBody": { "topic": "test topic", "participants": [ { "communicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-58fb-88f7-08482200b425", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-26a7-7bfa-553a0d006e4c", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-58fb-88f7-08482200b425" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-26a7-7bfa-553a0d006e4c" } } }, { "communicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-59f5-88f7-08482200b426", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-282c-5b3d-8e3a0d006d98", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-59f5-88f7-08482200b426" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-282c-5b3d-8e3a0d006d98" } } } @@ -125,26 +127,27 @@ }, "StatusCode": 201, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2023-04-01-preview", + "Connection": "keep-alive", + "Content-Length": "373", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 26 May 2022 07:59:30 GMT", - "Location": "https://endpoint/chat/threads/19%3AaWuNSmqHe3jJOGl36l6DBhxQDcimoCzk5-N6HxAeDWI1@thread.v2", - "MS-CV": "1GJEaMFvHUW\u002BUZwUfJpWZg.0", + "Date": "Sat, 18 Mar 2023 01:07:06 GMT", + "Location": "https://endpoint/chat/threads/19%3A7SeKCRsilUJN_77z9hv7Fus0xUlQTH4T8Fjungj8UTY1@thread.v2", + "MS-CV": "7yilc9jRckKDUfrawyo5Ew.0", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0YTOPYgAAAACC665leparSoqi6ccW9HucUFJHMDFFREdFMDYxNABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "x-azure-ref": "20230318T010705Z-1vv9exqx192u70a2dzpnkg6dz800000002ug00000000dg0f", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "1246ms" + "X-Processing-Time": "357ms" }, "ResponseBody": { "chatThread": { - "id": "19:aWuNSmqHe3jJOGl36l6DBhxQDcimoCzk5-N6HxAeDWI1@thread.v2", + "id": "19:7SeKCRsilUJN_77z9hv7Fus0xUlQTH4T8Fjungj8UTY1@thread.v2", "topic": "test topic", - "createdOn": "2022-05-26T07:59:30Z", + "createdOn": "2023-03-18T01:07:05Z", "createdByCommunicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-58fb-88f7-08482200b425", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-26a7-7bfa-553a0d006e4c", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-58fb-88f7-08482200b425" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-26a7-7bfa-553a0d006e4c" } } } diff --git a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_lists_messages_one_by_one_and_by_page.json b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_lists_messages_one_by_one_and_by_page.json index 9970779a76eb..8d92a02980a9 100644 --- a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_lists_messages_one_by_one_and_by_page.json +++ b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_lists_messages_one_by_one_and_by_page.json @@ -1,45 +1,47 @@ { "Entries": [ { - "RequestUri": "https://endpoint/chat/threads/19%3AaWuNSmqHe3jJOGl36l6DBhxQDcimoCzk5-N6HxAeDWI1%40thread.v2/messages?api-version=2021-09-07", + "RequestUri": "https://endpoint/chat/threads/19%3A7SeKCRsilUJN_77z9hv7Fus0xUlQTH4T8Fjungj8UTY1%40thread.v2/messages?api-version=2023-04-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-communication-chat/1.2.0 core-rest-pipeline/1.8.2 Node/v18.2.0 OS/(x64-Darwin-21.4.0)", - "x-ms-client-request-id": "5aecc2ee-a2b5-4fdc-ab95-89ec0d4b71a0" + "User-Agent": "azsdk-js-communication-chat/1.3.2-beta.1 core-rest-pipeline/1.10.3 Node/v14.19.0 OS/(arm64-Darwin-22.3.0)", + "x-ms-client-request-id": "85b76a59-e46d-49db-afee-b839a03b570d" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Accept-Ranges": "bytes", + "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2023-04-01-preview", + "Connection": "keep-alive", + "Content-Length": "2161", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 26 May 2022 07:59:33 GMT", - "MS-CV": "2D6TayiWhEKsBxoMU4Yqfw.0", + "Date": "Sat, 18 Mar 2023 01:07:10 GMT", + "MS-CV": "Z3MHlzMLLkCj/mhHvLTS\u002Bw.0", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0ZjOPYgAAAAAjsTG3SB0kT7p/Db5FunB7UFJHMDFFREdFMDYxNABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "x-azure-ref": "20230318T010709Z-1vv9exqx192u70a2dzpnkg6dz800000002ug00000000dg8f", "X-Cache": "CONFIG_NOCACHE", "X-Processing-Time": "93ms" }, "ResponseBody": { "value": [ { - "id": "1653551972669", + "id": "1679101628113", "type": "text", "sequenceId": "4", - "version": "1653551972669", + "version": "1679101628113", "content": { "message": "content" }, "senderDisplayName": "", - "createdOn": "2022-05-26T07:59:32Z", + "createdOn": "2023-03-18T01:07:08Z", "senderCommunicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-58fb-88f7-08482200b425", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-26a7-7bfa-553a0d006e4c", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-58fb-88f7-08482200b425" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-26a7-7bfa-553a0d006e4c" } }, "metadata": { @@ -47,115 +49,117 @@ } }, { - "id": "1653551971946", + "id": "1679101627235", "type": "topicUpdated", "sequenceId": "3", - "version": "1653551971946", + "version": "1679101627235", "content": { "topic": "new topic", "initiatorCommunicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-58fb-88f7-08482200b425", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-26a7-7bfa-553a0d006e4c", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-58fb-88f7-08482200b425" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-26a7-7bfa-553a0d006e4c" } } }, - "createdOn": "2022-05-26T07:59:31Z" + "createdOn": "2023-03-18T01:07:07Z" }, { - "id": "1653551971034", + "id": "1679101626022", "type": "topicUpdated", "sequenceId": "2", - "version": "1653551971034", + "version": "1679101626022", "content": { "topic": "test topic", "initiatorCommunicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-58fb-88f7-08482200b425", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-26a7-7bfa-553a0d006e4c", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-58fb-88f7-08482200b425" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-26a7-7bfa-553a0d006e4c" } } }, - "createdOn": "2022-05-26T07:59:31Z" + "createdOn": "2023-03-18T01:07:06Z" }, { - "id": "1653551970948", + "id": "1679101625971", "type": "participantAdded", "sequenceId": "1", - "version": "1653551970948", + "version": "1679101625971", "content": { "participants": [ { "communicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-58fb-88f7-08482200b425", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-26a7-7bfa-553a0d006e4c", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-58fb-88f7-08482200b425" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-26a7-7bfa-553a0d006e4c" } }, "shareHistoryTime": "1970-01-01T00:00:00Z" }, { "communicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-59f5-88f7-08482200b426", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-282c-5b3d-8e3a0d006d98", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-59f5-88f7-08482200b426" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-282c-5b3d-8e3a0d006d98" } }, "shareHistoryTime": "1970-01-01T00:00:00Z" } ], "initiatorCommunicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-58fb-88f7-08482200b425", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-26a7-7bfa-553a0d006e4c", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-58fb-88f7-08482200b425" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-26a7-7bfa-553a0d006e4c" } } }, - "createdOn": "2022-05-26T07:59:30Z" + "createdOn": "2023-03-18T01:07:05Z" } ] } }, { - "RequestUri": "https://endpoint/chat/threads/19%3AaWuNSmqHe3jJOGl36l6DBhxQDcimoCzk5-N6HxAeDWI1%40thread.v2/messages?maxPageSize=3\u0026api-version=2021-09-07", + "RequestUri": "https://endpoint/chat/threads/19%3A7SeKCRsilUJN_77z9hv7Fus0xUlQTH4T8Fjungj8UTY1%40thread.v2/messages?maxPageSize=3\u0026api-version=2023-04-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-communication-chat/1.2.0 core-rest-pipeline/1.8.2 Node/v18.2.0 OS/(x64-Darwin-21.4.0)", - "x-ms-client-request-id": "2b4d407f-726a-41b4-a710-741c076eac26" + "User-Agent": "azsdk-js-communication-chat/1.3.2-beta.1 core-rest-pipeline/1.10.3 Node/v14.19.0 OS/(arm64-Darwin-22.3.0)", + "x-ms-client-request-id": "c52b5ef2-261b-478e-b145-a31a77d0d3e8" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Accept-Ranges": "bytes", + "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2023-04-01-preview", + "Connection": "keep-alive", + "Content-Length": "1607", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 26 May 2022 07:59:33 GMT", - "MS-CV": "Lk/KU5MdOEWW4UXkLPh0Yw.0", + "Date": "Sat, 18 Mar 2023 01:07:10 GMT", + "MS-CV": "7\u002B2qBJQcOUScSe7E6Eqd1A.0", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0ZjOPYgAAAAD6yJkqCTR8TYven5WSBZPBUFJHMDFFREdFMDYxNABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "x-azure-ref": "20230318T010710Z-1vv9exqx192u70a2dzpnkg6dz800000002ug00000000dg9s", "X-Cache": "CONFIG_NOCACHE", "X-Processing-Time": "83ms" }, "ResponseBody": { "value": [ { - "id": "1653551972669", + "id": "1679101628113", "type": "text", "sequenceId": "4", - "version": "1653551972669", + "version": "1679101628113", "content": { "message": "content" }, "senderDisplayName": "", - "createdOn": "2022-05-26T07:59:32Z", + "createdOn": "2023-03-18T01:07:08Z", "senderCommunicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-58fb-88f7-08482200b425", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-26a7-7bfa-553a0d006e4c", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-58fb-88f7-08482200b425" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-26a7-7bfa-553a0d006e4c" } }, "metadata": { @@ -163,101 +167,103 @@ } }, { - "id": "1653551971946", + "id": "1679101627235", "type": "topicUpdated", "sequenceId": "3", - "version": "1653551971946", + "version": "1679101627235", "content": { "topic": "new topic", "initiatorCommunicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-58fb-88f7-08482200b425", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-26a7-7bfa-553a0d006e4c", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-58fb-88f7-08482200b425" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-26a7-7bfa-553a0d006e4c" } } }, - "createdOn": "2022-05-26T07:59:31Z" + "createdOn": "2023-03-18T01:07:07Z" }, { - "id": "1653551971034", + "id": "1679101626022", "type": "topicUpdated", "sequenceId": "2", - "version": "1653551971034", + "version": "1679101626022", "content": { "topic": "test topic", "initiatorCommunicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-58fb-88f7-08482200b425", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-26a7-7bfa-553a0d006e4c", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-58fb-88f7-08482200b425" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-26a7-7bfa-553a0d006e4c" } } }, - "createdOn": "2022-05-26T07:59:31Z" + "createdOn": "2023-03-18T01:07:06Z" } ], - "nextLink": "https://endpoint/chat/threads/19:aWuNSmqHe3jJOGl36l6DBhxQDcimoCzk5-N6HxAeDWI1@thread.v2/messages?syncState=3e3900000031393a6157754e536d714865336a4a4f476c33366c3644426878514463696d6f437a6b352d4e364878416544574931407468726561642e763201daba60ff800100003dc160ff80010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=3\u0026api-version=2021-09-07" + "nextLink": "https://endpoint/chat/threads/19:7SeKCRsilUJN_77z9hv7Fus0xUlQTH4T8Fjungj8UTY1@thread.v2/messages?syncState=3e3900000031393a3753654b435273696c554a4e5f37377a396876374675733078556c515448345438466a756e676a3855545931407468726561642e763201a68641f286010000d18e41f286010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=3\u0026api-version=2023-04-01-preview" } }, { - "RequestUri": "https://endpoint/chat/threads/19:aWuNSmqHe3jJOGl36l6DBhxQDcimoCzk5-N6HxAeDWI1@thread.v2/messages?syncState=3e3900000031393a6157754e536d714865336a4a4f476c33366c3644426878514463696d6f437a6b352d4e364878416544574931407468726561642e763201daba60ff800100003dc160ff80010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=3\u0026api-version=2021-09-07", + "RequestUri": "https://endpoint/chat/threads/19:7SeKCRsilUJN_77z9hv7Fus0xUlQTH4T8Fjungj8UTY1@thread.v2/messages?syncState=3e3900000031393a3753654b435273696c554a4e5f37377a396876374675733078556c515448345438466a756e676a3855545931407468726561642e763201a68641f286010000d18e41f286010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=3\u0026api-version=2023-04-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-communication-chat/1.2.0 core-rest-pipeline/1.8.2 Node/v18.2.0 OS/(x64-Darwin-21.4.0)", - "x-ms-client-request-id": "edab600d-e034-459c-9730-1805b11f27c9" + "User-Agent": "azsdk-js-communication-chat/1.3.2-beta.1 core-rest-pipeline/1.10.3 Node/v14.19.0 OS/(arm64-Darwin-22.3.0)", + "x-ms-client-request-id": "699e44af-08a6-4753-b8dd-f37fd49c49a2" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Accept-Ranges": "bytes", + "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2023-04-01-preview", + "Connection": "keep-alive", + "Content-Length": "945", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 26 May 2022 07:59:34 GMT", - "MS-CV": "cHyQPbMIAk6bVmRBrYCKVQ.0", + "Date": "Sat, 18 Mar 2023 01:07:11 GMT", + "MS-CV": "Lm9LUXCLlUG3nvESpVdjpQ.0", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0ZjOPYgAAAACmmjAU94dLQIern3pH2ckGUFJHMDFFREdFMDYxNABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "x-azure-ref": "20230318T010710Z-1vv9exqx192u70a2dzpnkg6dz800000002ug00000000dgaw", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "119ms" + "X-Processing-Time": "270ms" }, "ResponseBody": { "value": [ { - "id": "1653551970948", + "id": "1679101625971", "type": "participantAdded", "sequenceId": "1", - "version": "1653551970948", + "version": "1679101625971", "content": { "participants": [ { "communicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-58fb-88f7-08482200b425", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-26a7-7bfa-553a0d006e4c", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-58fb-88f7-08482200b425" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-26a7-7bfa-553a0d006e4c" } }, "shareHistoryTime": "1970-01-01T00:00:00Z" }, { "communicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-59f5-88f7-08482200b426", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-282c-5b3d-8e3a0d006d98", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-59f5-88f7-08482200b426" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-282c-5b3d-8e3a0d006d98" } }, "shareHistoryTime": "1970-01-01T00:00:00Z" } ], "initiatorCommunicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-58fb-88f7-08482200b425", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-26a7-7bfa-553a0d006e4c", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-58fb-88f7-08482200b425" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-26a7-7bfa-553a0d006e4c" } } }, - "createdOn": "2022-05-26T07:59:30Z" + "createdOn": "2023-03-18T01:07:05Z" } ] } diff --git a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_lists_participants.json b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_lists_participants.json index aa5eae6afc31..8c9b558a7a41 100644 --- a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_lists_participants.json +++ b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_lists_participants.json @@ -1,54 +1,56 @@ { "Entries": [ { - "RequestUri": "https://endpoint/chat/threads/19%3AaWuNSmqHe3jJOGl36l6DBhxQDcimoCzk5-N6HxAeDWI1%40thread.v2/participants?api-version=2021-09-07", + "RequestUri": "https://endpoint/chat/threads/19%3A7SeKCRsilUJN_77z9hv7Fus0xUlQTH4T8Fjungj8UTY1%40thread.v2/participants?api-version=2023-04-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-communication-chat/1.2.0 core-rest-pipeline/1.8.2 Node/v18.2.0 OS/(x64-Darwin-21.4.0)", - "x-ms-client-request-id": "bc71c520-04e6-407d-b5a7-122b03c67bb6" + "User-Agent": "azsdk-js-communication-chat/1.3.2-beta.1 core-rest-pipeline/1.10.3 Node/v14.19.0 OS/(arm64-Darwin-22.3.0)", + "x-ms-client-request-id": "c924485b-afb8-4e90-bd41-514e3ba7e0cf" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Accept-Ranges": "bytes", + "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2023-04-01-preview", + "Connection": "keep-alive", + "Content-Length": "824", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 26 May 2022 07:59:35 GMT", - "MS-CV": "UtvFTosM00SAK\u002B7wVBBE1g.0", + "Date": "Sat, 18 Mar 2023 01:07:13 GMT", + "MS-CV": "ldwtMhFCC06JBgnUlFxOrg.0", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0aDOPYgAAAABLBrWpqdzcSanOHY39sC1SUFJHMDFFREdFMDYxNABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "x-azure-ref": "20230318T010712Z-1vv9exqx192u70a2dzpnkg6dz800000002ug00000000dgf1", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "96ms" + "X-Processing-Time": "72ms" }, "ResponseBody": { "value": [ { "communicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-58fb-88f7-08482200b425", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-26a7-7bfa-553a0d006e4c", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-58fb-88f7-08482200b425" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-26a7-7bfa-553a0d006e4c" } }, "shareHistoryTime": "1970-01-01T00:00:00Z" }, { "communicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-59f5-88f7-08482200b426", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-282c-5b3d-8e3a0d006d98", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-59f5-88f7-08482200b426" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-282c-5b3d-8e3a0d006d98" } }, "shareHistoryTime": "1970-01-01T00:00:00Z" }, { "communicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-71b4-88f7-08482200b429", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-41ea-3d39-8e3a0d007087", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-71b4-88f7-08482200b429" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-41ea-3d39-8e3a0d007087" } }, "shareHistoryTime": "1970-01-01T00:00:00Z" diff --git a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_lists_read_receipts.json b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_lists_read_receipts.json index 3580a2c2c69a..2206de8fd5bf 100644 --- a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_lists_read_receipts.json +++ b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_lists_read_receipts.json @@ -1,40 +1,42 @@ { "Entries": [ { - "RequestUri": "https://endpoint/chat/threads/19%3AaWuNSmqHe3jJOGl36l6DBhxQDcimoCzk5-N6HxAeDWI1%40thread.v2/readReceipts?api-version=2021-09-07", + "RequestUri": "https://endpoint/chat/threads/19%3A7SeKCRsilUJN_77z9hv7Fus0xUlQTH4T8Fjungj8UTY1%40thread.v2/readReceipts?api-version=2023-04-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-communication-chat/1.2.0 core-rest-pipeline/1.8.2 Node/v18.2.0 OS/(x64-Darwin-21.4.0)", - "x-ms-client-request-id": "2f6b66f5-fdb1-45f5-934f-ef30eecc786b" + "User-Agent": "azsdk-js-communication-chat/1.3.2-beta.1 core-rest-pipeline/1.10.3 Node/v14.19.0 OS/(arm64-Darwin-22.3.0)", + "x-ms-client-request-id": "1ffefc41-693f-4673-a4f6-8771293dffdb" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Accept-Ranges": "bytes", + "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2023-04-01-preview", + "Connection": "keep-alive", + "Content-Length": "310", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 26 May 2022 07:59:36 GMT", - "MS-CV": "aTvllc7is0mkTNsxFmSuiA.0", + "Date": "Sat, 18 Mar 2023 01:07:14 GMT", + "MS-CV": "qYQWyF6CSU\u002BtVWbI8JwXPA.0", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0aTOPYgAAAAAIyQckz5V6RLFLowShaj3FUFJHMDFFREdFMDYxNABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "x-azure-ref": "20230318T010713Z-1vv9exqx192u70a2dzpnkg6dz800000002ug00000000dghd", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "92ms" + "X-Processing-Time": "58ms" }, "ResponseBody": { "value": [ { "senderCommunicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-58fb-88f7-08482200b425", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-26a7-7bfa-553a0d006e4c", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-58fb-88f7-08482200b425" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-26a7-7bfa-553a0d006e4c" } }, - "chatMessageId": "1653551972669", - "readOn": "2022-05-26T07:59:33Z" + "chatMessageId": "1679101628113", + "readOn": "2023-03-18T01:07:08Z" } ] } diff --git a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_remove_a_participant.json b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_remove_a_participant.json index cb729c3bf23d..7e41a8180f56 100644 --- a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_remove_a_participant.json +++ b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_remove_a_participant.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://endpoint/chat/threads/19%3AaWuNSmqHe3jJOGl36l6DBhxQDcimoCzk5-N6HxAeDWI1%40thread.v2/participants/:remove?api-version=2021-09-07", + "RequestUri": "https://endpoint/chat/threads/19%3A7SeKCRsilUJN_77z9hv7Fus0xUlQTH4T8Fjungj8UTY1%40thread.v2/participants/:remove?api-version=2023-04-01-preview", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", @@ -10,24 +10,25 @@ "Connection": "keep-alive", "Content-Length": "200", "Content-Type": "application/json", - "User-Agent": "azsdk-js-communication-chat/1.2.0 core-rest-pipeline/1.8.2 Node/v18.2.0 OS/(x64-Darwin-21.4.0)", - "x-ms-client-request-id": "056d1763-e0da-4ef4-91ff-34c63a51dcde" + "User-Agent": "azsdk-js-communication-chat/1.3.2-beta.1 core-rest-pipeline/1.10.3 Node/v14.19.0 OS/(arm64-Darwin-22.3.0)", + "x-ms-client-request-id": "1f7b2a6e-89ef-433c-a066-c9b910fc7b46" }, "RequestBody": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-59f5-88f7-08482200b426", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-282c-5b3d-8e3a0d006d98", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-59f5-88f7-08482200b426" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-282c-5b3d-8e3a0d006d98" } }, "StatusCode": 204, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", - "Date": "Thu, 26 May 2022 07:59:36 GMT", - "MS-CV": "1uS12oCecEqwKJ6QXr9ZrA.0", + "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2023-04-01-preview", + "Connection": "keep-alive", + "Date": "Sat, 18 Mar 2023 01:07:13 GMT", + "MS-CV": "8jcvAp4Nx0CC4NiHd3tleg.0", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0aDOPYgAAAAB5IdaLJ/9RQLP/5p7QePSaUFJHMDFFREdFMDYxNABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "x-azure-ref": "20230318T010713Z-1vv9exqx192u70a2dzpnkg6dz800000002ug00000000dgg4", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "258ms" + "X-Processing-Time": "269ms" }, "ResponseBody": null } diff --git a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_retrieves_a_message.json b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_retrieves_a_message.json index d3baaf80c315..0251726d9bb4 100644 --- a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_retrieves_a_message.json +++ b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_retrieves_a_message.json @@ -1,43 +1,45 @@ { "Entries": [ { - "RequestUri": "https://endpoint/chat/threads/19%3AaWuNSmqHe3jJOGl36l6DBhxQDcimoCzk5-N6HxAeDWI1%40thread.v2/messages/1653551972669?api-version=2021-09-07", + "RequestUri": "https://endpoint/chat/threads/19%3A7SeKCRsilUJN_77z9hv7Fus0xUlQTH4T8Fjungj8UTY1%40thread.v2/messages/1679101628113?api-version=2023-04-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-communication-chat/1.2.0 core-rest-pipeline/1.8.2 Node/v18.2.0 OS/(x64-Darwin-21.4.0)", - "x-ms-client-request-id": "fbe4f5f5-d140-4a43-ba3b-d59628af2761" + "User-Agent": "azsdk-js-communication-chat/1.3.2-beta.1 core-rest-pipeline/1.10.3 Node/v14.19.0 OS/(arm64-Darwin-22.3.0)", + "x-ms-client-request-id": "451422c2-d611-426e-ad71-dc2b380acca0" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Accept-Ranges": "bytes", + "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2023-04-01-preview", + "Connection": "keep-alive", + "Content-Length": "432", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 26 May 2022 07:59:33 GMT", - "MS-CV": "jZqJY7\u002BisUCgWxVkCjuvzQ.0", + "Date": "Sat, 18 Mar 2023 01:07:09 GMT", + "MS-CV": "NUGIx9u4\u002BEyX5mmu/e/iag.0", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0ZTOPYgAAAACTUKYUXFBdSoKGWekQEuB9UFJHMDFFREdFMDYxNABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "x-azure-ref": "20230318T010709Z-1vv9exqx192u70a2dzpnkg6dz800000002ug00000000dg7p", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "84ms" + "X-Processing-Time": "157ms" }, "ResponseBody": { - "id": "1653551972669", + "id": "1679101628113", "type": "text", "sequenceId": "4", - "version": "1653551972669", + "version": "1679101628113", "content": { "message": "content" }, "senderDisplayName": "", - "createdOn": "2022-05-26T07:59:32Z", + "createdOn": "2023-03-18T01:07:08Z", "senderCommunicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-58fb-88f7-08482200b425", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-26a7-7bfa-553a0d006e4c", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-58fb-88f7-08482200b425" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-26a7-7bfa-553a0d006e4c" } }, "metadata": { diff --git a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_sends_a_message.json b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_sends_a_message.json index d29a8658c2d7..fc441b5acf6f 100644 --- a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_sends_a_message.json +++ b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_sends_a_message.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://endpoint/chat/threads/19%3AaWuNSmqHe3jJOGl36l6DBhxQDcimoCzk5-N6HxAeDWI1%40thread.v2/messages?api-version=2021-09-07", + "RequestUri": "https://endpoint/chat/threads/19%3A7SeKCRsilUJN_77z9hv7Fus0xUlQTH4T8Fjungj8UTY1%40thread.v2/messages?api-version=2023-04-01-preview", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", @@ -10,8 +10,8 @@ "Connection": "keep-alive", "Content-Length": "51", "Content-Type": "application/json", - "User-Agent": "azsdk-js-communication-chat/1.2.0 core-rest-pipeline/1.8.2 Node/v18.2.0 OS/(x64-Darwin-21.4.0)", - "x-ms-client-request-id": "71cdac7d-086e-46d7-b5cf-8af9a2272c6c" + "User-Agent": "azsdk-js-communication-chat/1.3.2-beta.1 core-rest-pipeline/1.10.3 Node/v14.19.0 OS/(arm64-Darwin-22.3.0)", + "x-ms-client-request-id": "a5a69992-5f0e-4552-b6ea-83c21f7f3566" }, "RequestBody": { "content": "content", @@ -21,19 +21,20 @@ }, "StatusCode": 201, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2023-04-01-preview", + "Connection": "keep-alive", + "Content-Length": "22", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 26 May 2022 07:59:31 GMT", - "Location": "https://endpoint/chat/threads/19%3AaWuNSmqHe3jJOGl36l6DBhxQDcimoCzk5-N6HxAeDWI1@thread.v2/messages/1653551972669", - "MS-CV": "5aOvsKN/AEK4bE3w\u002BJtmVg.0", + "Date": "Sat, 18 Mar 2023 01:07:08 GMT", + "Location": "https://endpoint/chat/threads/19%3A7SeKCRsilUJN_77z9hv7Fus0xUlQTH4T8Fjungj8UTY1@thread.v2/messages/1679101628113", + "MS-CV": "fd0A8pqoEk\u002B2INLKAQtbgg.0", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0ZDOPYgAAAAB5/fFY7jrWQIseM/WMA1CjUFJHMDFFREdFMDYxNABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "x-azure-ref": "20230318T010707Z-1vv9exqx192u70a2dzpnkg6dz800000002ug00000000dg4q", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "191ms" + "X-Processing-Time": "135ms" }, "ResponseBody": { - "id": "1653551972669" + "id": "1679101628113" } } ], diff --git a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_sends_read_receipt.json b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_sends_read_receipt.json index 625b601475c6..ec0420c0e7ff 100644 --- a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_sends_read_receipt.json +++ b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_sends_read_receipt.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://endpoint/chat/threads/19%3AaWuNSmqHe3jJOGl36l6DBhxQDcimoCzk5-N6HxAeDWI1%40thread.v2/readReceipts?api-version=2021-09-07", + "RequestUri": "https://endpoint/chat/threads/19%3A7SeKCRsilUJN_77z9hv7Fus0xUlQTH4T8Fjungj8UTY1%40thread.v2/readReceipts?api-version=2023-04-01-preview", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", @@ -10,22 +10,24 @@ "Connection": "keep-alive", "Content-Length": "33", "Content-Type": "application/json", - "User-Agent": "azsdk-js-communication-chat/1.2.0 core-rest-pipeline/1.8.2 Node/v18.2.0 OS/(x64-Darwin-21.4.0)", - "x-ms-client-request-id": "2824d658-40dc-4e04-9b3b-74e7d4fb2402" + "User-Agent": "azsdk-js-communication-chat/1.3.2-beta.1 core-rest-pipeline/1.10.3 Node/v14.19.0 OS/(arm64-Darwin-22.3.0)", + "x-ms-client-request-id": "02e90926-a392-4863-80d8-2532c31bbbbe" }, "RequestBody": { - "chatMessageId": "1653551972669" + "chatMessageId": "1679101628113" }, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Accept-Ranges": "bytes", + "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2023-04-01-preview", + "Connection": "keep-alive", "Content-Length": "0", - "Date": "Thu, 26 May 2022 07:59:32 GMT", - "MS-CV": "wy8o7RfUsU6ilt/YTpiNHA.0", + "Date": "Sat, 18 Mar 2023 01:07:09 GMT", + "MS-CV": "\u002BiI5YAwJqkqLaRLFbG75MQ.0", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0ZTOPYgAAAABDTJ2ROeFoQasLL2QYQXLfUFJHMDFFREdFMDYxNABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "x-azure-ref": "20230318T010708Z-1vv9exqx192u70a2dzpnkg6dz800000002ug00000000dg69", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "163ms" + "X-Processing-Time": "239ms" }, "ResponseBody": null } diff --git a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_sends_typing_notification.json b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_sends_typing_notification.json index 939a85997dcd..9cad7b905733 100644 --- a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_sends_typing_notification.json +++ b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_sends_typing_notification.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://endpoint/chat/threads/19%3AaWuNSmqHe3jJOGl36l6DBhxQDcimoCzk5-N6HxAeDWI1%40thread.v2/typing?api-version=2021-09-07", + "RequestUri": "https://endpoint/chat/threads/19%3A7SeKCRsilUJN_77z9hv7Fus0xUlQTH4T8Fjungj8UTY1%40thread.v2/typing?api-version=2023-04-01-preview", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", @@ -10,20 +10,22 @@ "Connection": "keep-alive", "Content-Length": "2", "Content-Type": "application/json", - "User-Agent": "azsdk-js-communication-chat/1.2.0 core-rest-pipeline/1.8.2 Node/v18.2.0 OS/(x64-Darwin-21.4.0)", - "x-ms-client-request-id": "29565786-2347-4d2f-8b30-ccae50ab0141" + "User-Agent": "azsdk-js-communication-chat/1.3.2-beta.1 core-rest-pipeline/1.10.3 Node/v14.19.0 OS/(arm64-Darwin-22.3.0)", + "x-ms-client-request-id": "1a79d9b3-7f7e-407b-bf66-220f74e1da61" }, "RequestBody": {}, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Accept-Ranges": "bytes", + "api-supported-versions": "2021-04-05-preview6, 2021-09-07, 2023-04-01-preview", + "Connection": "keep-alive", "Content-Length": "0", - "Date": "Thu, 26 May 2022 07:59:32 GMT", - "MS-CV": "K5cNOSeGUE68sgSOBELqNw.0", + "Date": "Sat, 18 Mar 2023 01:07:08 GMT", + "MS-CV": "Z\u002BWKx1UYhkCMOeQeqgLDgw.0", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0ZDOPYgAAAADdN6yvMtVLTqupjHXuzj5WUFJHMDFFREdFMDYxNABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "x-azure-ref": "20230318T010708Z-1vv9exqx192u70a2dzpnkg6dz800000002ug00000000dg5h", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "129ms" + "X-Processing-Time": "114ms" }, "ResponseBody": null } diff --git a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_updates_the_thread_topic.json b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_updates_the_thread_topic.json index e8052a5db6f1..034ae0d08fec 100644 --- a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_updates_the_thread_topic.json +++ b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_updates_the_thread_topic.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://endpoint/chat/threads/19%3AaWuNSmqHe3jJOGl36l6DBhxQDcimoCzk5-N6HxAeDWI1%40thread.v2?api-version=2021-09-07", + "RequestUri": "https://endpoint/chat/threads/19%3A7SeKCRsilUJN_77z9hv7Fus0xUlQTH4T8Fjungj8UTY1%40thread.v2?api-version=2023-04-01-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", @@ -10,56 +10,59 @@ "Connection": "keep-alive", "Content-Length": "21", "Content-Type": "application/merge-patch\u002Bjson", - "User-Agent": "azsdk-js-communication-chat/1.2.0 core-rest-pipeline/1.8.2 Node/v18.2.0 OS/(x64-Darwin-21.4.0)", - "x-ms-client-request-id": "2b39d37b-28a3-4f79-8ce4-144a269b16d4" + "User-Agent": "azsdk-js-communication-chat/1.3.2-beta.1 core-rest-pipeline/1.10.3 Node/v14.19.0 OS/(arm64-Darwin-22.3.0)", + "x-ms-client-request-id": "ccb92d50-8db8-4325-b02c-25841c1f3d51" }, "RequestBody": { "topic": "new topic" }, "StatusCode": 204, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", - "Date": "Thu, 26 May 2022 07:59:31 GMT", - "MS-CV": "jWKSPhE7S0exeBCV9B1mRQ.0", + "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2023-04-01-preview", + "Connection": "keep-alive", + "Date": "Sat, 18 Mar 2023 01:07:07 GMT", + "MS-CV": "MCln5fMKq0qFrMa7s7K/0g.0", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0YzOPYgAAAABZai/gAW1AR69\u002BV7h/gUUzUFJHMDFFREdFMDYxNABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "x-azure-ref": "20230318T010706Z-1vv9exqx192u70a2dzpnkg6dz800000002ug00000000dg2r", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "197ms" + "X-Processing-Time": "179ms" }, "ResponseBody": null }, { - "RequestUri": "https://endpoint/chat/threads/19%3AaWuNSmqHe3jJOGl36l6DBhxQDcimoCzk5-N6HxAeDWI1%40thread.v2?api-version=2021-09-07", + "RequestUri": "https://endpoint/chat/threads/19%3A7SeKCRsilUJN_77z9hv7Fus0xUlQTH4T8Fjungj8UTY1%40thread.v2?api-version=2023-04-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-communication-chat/1.2.0 core-rest-pipeline/1.8.2 Node/v18.2.0 OS/(x64-Darwin-21.4.0)", - "x-ms-client-request-id": "40c13108-dfcd-463f-a14e-fcc06210404b" + "User-Agent": "azsdk-js-communication-chat/1.3.2-beta.1 core-rest-pipeline/1.10.3 Node/v14.19.0 OS/(arm64-Darwin-22.3.0)", + "x-ms-client-request-id": "8b3b3f74-406c-46fa-8afc-7e88f50e1609" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Accept-Ranges": "bytes", + "api-supported-versions": "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2023-04-01-preview", + "Connection": "keep-alive", + "Content-Length": "357", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 26 May 2022 07:59:31 GMT", - "MS-CV": "7SqWkuP4jkCk0XZxeAMtWw.0", + "Date": "Sat, 18 Mar 2023 01:07:07 GMT", + "MS-CV": "N6lOoinG0kCe18HaB0j0KA.0", "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0ZDOPYgAAAADqfqy6gP0cT4B\u002Bo9WWw7MvUFJHMDFFREdFMDYxNABmMDlhNGMxMy0yMWYxLTQ4ZWMtOWNmNy02NjU0NTY4NGI2NDI=", + "x-azure-ref": "20230318T010707Z-1vv9exqx192u70a2dzpnkg6dz800000002ug00000000dg3u", "X-Cache": "CONFIG_NOCACHE", - "X-Processing-Time": "86ms" + "X-Processing-Time": "98ms" }, "ResponseBody": { - "id": "19:aWuNSmqHe3jJOGl36l6DBhxQDcimoCzk5-N6HxAeDWI1@thread.v2", + "id": "19:7SeKCRsilUJN_77z9hv7Fus0xUlQTH4T8Fjungj8UTY1@thread.v2", "topic": "new topic", - "createdOn": "2022-05-26T07:59:30Z", + "createdOn": "2023-03-18T01:07:05Z", "createdByCommunicationIdentifier": { - "rawId": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-58fb-88f7-08482200b425", + "rawId": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-26a7-7bfa-553a0d006e4c", "communicationUser": { - "id": "8:acs:a5ba7870-ef05-4e2b-9901-7751faa29e20_00000011-9f42-58fb-88f7-08482200b425" + "id": "8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000017-9223-26a7-7bfa-553a0d006e4c" } } } diff --git a/sdk/communication/communication-chat/review/communication-chat.api.md b/sdk/communication/communication-chat/review/communication-chat.api.md index 1bd16be9a8e2..a8612db0a573 100644 --- a/sdk/communication/communication-chat/review/communication-chat.api.md +++ b/sdk/communication/communication-chat/review/communication-chat.api.md @@ -37,6 +37,16 @@ export interface AddParticipantsRequest { participants: ChatParticipant[]; } +// @public +export interface ChatAttachment { + attachmentType: "teamsInlineImage"; + contentType?: string; + id: string; + name?: string; + previewUrl?: string; + url: string; +} + // @public export class ChatClient { constructor(endpoint: string, credential: CommunicationTokenCredential, options?: ChatClientOptions); @@ -103,6 +113,7 @@ export interface ChatMessage { // @public export interface ChatMessageContent { + attachments?: ChatAttachment[]; initiator?: CommunicationIdentifierKind; message?: string; participants?: ChatParticipant[]; diff --git a/sdk/communication/communication-chat/src/chatClient.ts b/sdk/communication/communication-chat/src/chatClient.ts index 01a0242f9003..300b0881c57c 100644 --- a/sdk/communication/communication-chat/src/chatClient.ts +++ b/sdk/communication/communication-chat/src/chatClient.ts @@ -85,6 +85,11 @@ export class ChatClient { const authPolicy = createCommunicationTokenCredentialPolicy(this.tokenCredential); this.client.pipeline.addPolicy(authPolicy); + (options as any).signalingClientOptions = { + ...(options as any).signalingClientOptions, + resourceEndpoint: this.endpoint, + }; + this.signalingClient = getSignalingClient( credential, logger, diff --git a/sdk/communication/communication-chat/src/generated/src/chatApiClient.ts b/sdk/communication/communication-chat/src/generated/src/chatApiClient.ts index 874901bf06c7..8070f1112346 100644 --- a/sdk/communication/communication-chat/src/generated/src/chatApiClient.ts +++ b/sdk/communication/communication-chat/src/generated/src/chatApiClient.ts @@ -38,7 +38,7 @@ export class ChatApiClient extends coreClient.ServiceClient { requestContentType: "application/json; charset=utf-8" }; - const packageDetails = `azsdk-js-communication-chat/1.3.2`; + const packageDetails = `azsdk-js-communication-chat/1.3.2-beta.1`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` @@ -50,14 +50,14 @@ export class ChatApiClient extends coreClient.ServiceClient { userAgentOptions: { userAgentPrefix }, - baseUri: options.endpoint ?? options.baseUri ?? "{endpoint}" + endpoint: options.endpoint ?? options.baseUri ?? "{endpoint}" }; super(optionsWithDefaults); // Parameter assignments this.endpoint = endpoint; // Assigning values to Constant parameters - this.apiVersion = options.apiVersion || "2021-09-07"; + this.apiVersion = options.apiVersion || "2023-04-01-preview"; this.chatThread = new ChatThreadImpl(this); this.chat = new ChatImpl(this); this.addCustomApiVersionPolicy(options.apiVersion); diff --git a/sdk/communication/communication-chat/src/generated/src/models/index.ts b/sdk/communication/communication-chat/src/generated/src/models/index.ts index c89015c5df9f..ff227dbca999 100644 --- a/sdk/communication/communication-chat/src/generated/src/models/index.ts +++ b/sdk/communication/communication-chat/src/generated/src/models/index.ts @@ -161,6 +161,8 @@ export interface ChatMessageContent { topic?: string; /** Chat message content for messages of types participantAdded or participantRemoved. */ participants?: ChatParticipant[]; + /** List of attachments for this message */ + attachments?: ChatAttachment[]; /** Identifies a participant in Azure Communication services. A participant is, for example, a phone number or an Azure communication user. This model must be interpreted as a union: Apart from rawId, at most one further property may be set. */ initiatorCommunicationIdentifier?: CommunicationIdentifierModel; } @@ -175,6 +177,22 @@ export interface ChatParticipant { shareHistoryTime?: Date; } +/** An attachment in a chat message. */ +export interface ChatAttachment { + /** Id of the attachment */ + id: string; + /** The type of attachment. */ + attachmentType: "teamsInlineImage"; + /** The type of content of the attachment, if available */ + contentType?: string; + /** The name of the attachment content. */ + name?: string; + /** The URL where the attachment can be downloaded */ + url: string; + /** The URL where the preview of attachment can be downloaded */ + previewUrl?: string; +} + /** Request payload for updating a chat message. */ export interface UpdateChatMessageRequest { /** Chat message content. */ @@ -401,36 +419,21 @@ export interface ChatThreadSendTypingNotificationOptionalParams /** Optional parameters. */ export interface ChatThreadListChatReadReceiptsNextOptionalParams - extends coreClient.OperationOptions { - /** The maximum number of chat message read receipts to be returned per page. */ - maxPageSize?: number; - /** Skips chat message read receipts up to a specified position in response. */ - skip?: number; -} + extends coreClient.OperationOptions {} /** Contains response data for the listChatReadReceiptsNext operation. */ export type ChatThreadListChatReadReceiptsNextResponse = ChatMessageReadReceiptsCollection; /** Optional parameters. */ export interface ChatThreadListChatMessagesNextOptionalParams - extends coreClient.OperationOptions { - /** The maximum number of messages to be returned per page. */ - maxPageSize?: number; - /** The earliest point in time to get messages up to. The timestamp should be in RFC3339 format: `yyyy-MM-ddTHH:mm:ssZ`. */ - startTime?: Date; -} + extends coreClient.OperationOptions {} /** Contains response data for the listChatMessagesNext operation. */ export type ChatThreadListChatMessagesNextResponse = ChatMessagesCollection; /** Optional parameters. */ export interface ChatThreadListChatParticipantsNextOptionalParams - extends coreClient.OperationOptions { - /** The maximum number of participants to be returned per page. */ - maxPageSize?: number; - /** Skips participants up to a specified position in response. */ - skip?: number; -} + extends coreClient.OperationOptions {} /** Contains response data for the listChatParticipantsNext operation. */ export type ChatThreadListChatParticipantsNextResponse = ChatParticipantsCollection; @@ -463,12 +466,7 @@ export interface ChatDeleteChatThreadOptionalParams /** Optional parameters. */ export interface ChatListChatThreadsNextOptionalParams - extends coreClient.OperationOptions { - /** The maximum number of chat threads returned per page. */ - maxPageSize?: number; - /** The earliest point in time to get chat threads up to. The timestamp should be in RFC3339 format: `yyyy-MM-ddTHH:mm:ssZ`. */ - startTime?: Date; -} + extends coreClient.OperationOptions {} /** Contains response data for the listChatThreadsNext operation. */ export type ChatListChatThreadsNextResponse = ChatThreadsItemCollection; diff --git a/sdk/communication/communication-chat/src/generated/src/models/mappers.ts b/sdk/communication/communication-chat/src/generated/src/models/mappers.ts index be9ab8bfdec5..90651422a2d7 100644 --- a/sdk/communication/communication-chat/src/generated/src/models/mappers.ts +++ b/sdk/communication/communication-chat/src/generated/src/models/mappers.ts @@ -451,6 +451,18 @@ export const ChatMessageContent: coreClient.CompositeMapper = { } } }, + attachments: { + serializedName: "attachments", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ChatAttachment" + } + } + } + }, initiatorCommunicationIdentifier: { serializedName: "initiatorCommunicationIdentifier", type: { @@ -490,6 +502,55 @@ export const ChatParticipant: coreClient.CompositeMapper = { } }; +export const ChatAttachment: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ChatAttachment", + modelProperties: { + id: { + serializedName: "id", + required: true, + type: { + name: "String" + } + }, + attachmentType: { + defaultValue: "teamsInlineImage", + isConstant: true, + serializedName: "attachmentType", + type: { + name: "String" + } + }, + contentType: { + serializedName: "contentType", + type: { + name: "String" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + url: { + serializedName: "url", + required: true, + type: { + name: "String" + } + }, + previewUrl: { + serializedName: "previewUrl", + type: { + name: "String" + } + } + } + } +}; + export const UpdateChatMessageRequest: coreClient.CompositeMapper = { type: { name: "Composite", diff --git a/sdk/communication/communication-chat/src/generated/src/models/parameters.ts b/sdk/communication/communication-chat/src/generated/src/models/parameters.ts index 291e613d80d3..d0324975edd0 100644 --- a/sdk/communication/communication-chat/src/generated/src/models/parameters.ts +++ b/sdk/communication/communication-chat/src/generated/src/models/parameters.ts @@ -80,7 +80,7 @@ export const skip: OperationQueryParameter = { export const apiVersion: OperationQueryParameter = { parameterPath: "apiVersion", mapper: { - defaultValue: "2021-09-07", + defaultValue: "2023-04-01-preview", isConstant: true, serializedName: "api-version", type: { diff --git a/sdk/communication/communication-chat/src/generated/src/operations/chat.ts b/sdk/communication/communication-chat/src/generated/src/operations/chat.ts index 510ccadfbf66..f46f753ff864 100644 --- a/sdk/communication/communication-chat/src/generated/src/operations/chat.ts +++ b/sdk/communication/communication-chat/src/generated/src/operations/chat.ts @@ -239,11 +239,6 @@ const listChatThreadsNextOperationSpec: coreClient.OperationSpec = { isError: true } }, - queryParameters: [ - Parameters.maxPageSize, - Parameters.apiVersion, - Parameters.startTime - ], urlParameters: [Parameters.endpoint, Parameters.nextLink], headerParameters: [Parameters.accept], serializer diff --git a/sdk/communication/communication-chat/src/generated/src/operations/chatThread.ts b/sdk/communication/communication-chat/src/generated/src/operations/chatThread.ts index 315bfd6d6a5d..5a636ca556cd 100644 --- a/sdk/communication/communication-chat/src/generated/src/operations/chatThread.ts +++ b/sdk/communication/communication-chat/src/generated/src/operations/chatThread.ts @@ -849,11 +849,6 @@ const listChatReadReceiptsNextOperationSpec: coreClient.OperationSpec = { isError: true } }, - queryParameters: [ - Parameters.maxPageSize, - Parameters.skip, - Parameters.apiVersion - ], urlParameters: [ Parameters.endpoint, Parameters.chatThreadId, @@ -886,11 +881,6 @@ const listChatMessagesNextOperationSpec: coreClient.OperationSpec = { isError: true } }, - queryParameters: [ - Parameters.maxPageSize, - Parameters.apiVersion, - Parameters.startTime - ], urlParameters: [ Parameters.endpoint, Parameters.chatThreadId, @@ -923,11 +913,6 @@ const listChatParticipantsNextOperationSpec: coreClient.OperationSpec = { isError: true } }, - queryParameters: [ - Parameters.maxPageSize, - Parameters.skip, - Parameters.apiVersion - ], urlParameters: [ Parameters.endpoint, Parameters.chatThreadId, diff --git a/sdk/communication/communication-chat/src/generated/src/tracing.ts b/sdk/communication/communication-chat/src/generated/src/tracing.ts index 14ec65054009..db8378c04a4f 100644 --- a/sdk/communication/communication-chat/src/generated/src/tracing.ts +++ b/sdk/communication/communication-chat/src/generated/src/tracing.ts @@ -11,5 +11,5 @@ import { createTracingClient } from "@azure/core-tracing"; export const tracingClient = createTracingClient({ namespace: "Azure.Communication", packageName: "@azure/communication-chat", - packageVersion: "1.3.2" + packageVersion: "1.3.2-beta.1" }); diff --git a/sdk/communication/communication-chat/src/models/models.ts b/sdk/communication/communication-chat/src/models/models.ts index 9ecd93eefdcd..56fbd7009416 100644 --- a/sdk/communication/communication-chat/src/models/models.ts +++ b/sdk/communication/communication-chat/src/models/models.ts @@ -60,10 +60,28 @@ export interface ChatMessageContent { topic?: string; /** Chat message content for messages of types participantAdded or participantRemoved. */ participants?: ChatParticipant[]; + /** List of attachments for this message */ + attachments?: ChatAttachment[]; /** Identifies a participant in Azure Communication services. A participant is, for example, a phone number or an Azure communication user. This model must be interpreted as a union: Apart from rawId, at most one further property may be set. */ initiator?: CommunicationIdentifierKind; } +/** An attachment in a chat message. */ +export interface ChatAttachment { + /** Id of the attachment */ + id: string; + /** The type of attachment. */ + attachmentType: "teamsInlineImage"; + /** The type of content of the attachment, if available */ + contentType?: string; + /** The name of the attachment content. */ + name?: string; + /** The URL where the attachment can be downloaded */ + url: string; + /** The URL where the preview of attachment can be downloaded */ + previewUrl?: string; +} + /** A chat message read receipt indicates the time a chat message was read by a recipient. */ export interface ChatMessageReadReceipt { /** Identifies a participant in Azure Communication services. A participant is, for example, a phone number or an Azure communication user. This model must be interpreted as a union: Apart from rawId, at most one further property may be set. */ diff --git a/sdk/communication/communication-chat/src/signaling/signalingClient.browser.ts b/sdk/communication/communication-chat/src/signaling/signalingClient.browser.ts index 53b4139bd80e..d78d90767620 100644 --- a/sdk/communication/communication-chat/src/signaling/signalingClient.browser.ts +++ b/sdk/communication/communication-chat/src/signaling/signalingClient.browser.ts @@ -13,5 +13,6 @@ export const getSignalingClient = ( ): SignalingClient | undefined => { return new CommunicationSignalingClient(credential, logger, { environment: options?.environment ?? undefined, + resourceEndpoint: options?.resourceEndpoint ?? undefined, }); }; diff --git a/sdk/communication/communication-chat/src/signaling/signalingClient.ts b/sdk/communication/communication-chat/src/signaling/signalingClient.ts index 987a635dc7aa..04962d9f05b4 100644 --- a/sdk/communication/communication-chat/src/signaling/signalingClient.ts +++ b/sdk/communication/communication-chat/src/signaling/signalingClient.ts @@ -7,6 +7,7 @@ import { AzureLogger } from "@azure/logger"; export interface SignalingClientOptions { environment?: string; + resourceEndpoint?: string; } export const getSignalingClient = ( @@ -18,6 +19,7 @@ export const getSignalingClient = ( // In React Native return new CommunicationSignalingClient(credential, logger, { environment: options?.environment ?? undefined, + resourceEndpoint: options?.resourceEndpoint ?? undefined, }); } diff --git a/sdk/communication/communication-chat/swagger/README.md b/sdk/communication/communication-chat/swagger/README.md index 2605a2b613cc..69541c225887 100644 --- a/sdk/communication/communication-chat/swagger/README.md +++ b/sdk/communication/communication-chat/swagger/README.md @@ -10,13 +10,13 @@ title: ChatApiClient description: Chat Client license-header: MICROSOFT_MIT_NO_VERSION output-folder: ../src/generated -tag: package-chat-2021-09-07 +tag: package-chat-2023-04-01-preview require: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/communication/data-plane/Chat/readme.md model-date-time-as-string: false optional-response-headers: true add-credentials: false disable-async-iterators: true -package-version: 1.3.2 +package-version: 1.3.2-beta.1 use-extension: "@autorest/typescript": "latest" tracing-info: @@ -47,3 +47,13 @@ directive: transform: > $["x-ms-enum"].modelAsString = false; ``` + +### Set AttachmentType Model as string false + +```yaml +directive: + from: swagger-document + where: "$.definitions.AttachmentType" + transform: > + $["x-ms-enum"].modelAsString = false; +``` diff --git a/sdk/communication/communication-chat/test/internal/chatThreadClient.mocked.spec.ts b/sdk/communication/communication-chat/test/internal/chatThreadClient.mocked.spec.ts index 05b9843409db..435d6eff01ba 100644 --- a/sdk/communication/communication-chat/test/internal/chatThreadClient.mocked.spec.ts +++ b/sdk/communication/communication-chat/test/internal/chatThreadClient.mocked.spec.ts @@ -22,6 +22,7 @@ import { generateHttpClient, mockChatMessageReadReceipt, mockMessage, + mockMessageWithAttachment, mockParticipant, mockSdkModelParticipant, mockThread, @@ -155,6 +156,40 @@ describe("[Mocked] ChatThreadClient", async function () { assert.equal(request.method, "GET"); }); + it("makes successful get message with attachments request", async function () { + const mockHttpClient = generateHttpClient(200, mockMessageWithAttachment); + chatThreadClient = createChatThreadClient(threadId, mockHttpClient); + const spy = sinon.spy(mockHttpClient, "sendRequest"); + + const { + sender: responseUser, + content: responseContent, + ...responseMessage + } = await chatThreadClient.getMessage(mockMessageWithAttachment.id!); + const { + senderCommunicationIdentifier: expectedIdentifier, + content: expectedContent, + ...expectedMessage + } = mockMessageWithAttachment; + const { + participants: expectedParticipants, + attachments: expectedAttachments, + ...expectedContents + } = expectedContent!; + const { + participants: responseParticipants, + attachments: responseAttachments, + ...repsonseContents + } = responseContent!; + sinon.assert.calledOnce(spy); + assert.deepEqual(responseMessage, expectedMessage); + assert.deepEqual(responseAttachments, expectedAttachments); + assert.deepEqual(repsonseContents, expectedContents); + const request = spy.getCall(0).args[0]; + + assert.equal(request.method, "GET"); + }); + it("makes successful list messages request", async function () { const { senderCommunicationIdentifier, ...rest } = mockMessage; diff --git a/sdk/communication/communication-chat/test/internal/utils/mockClient.ts b/sdk/communication/communication-chat/test/internal/utils/mockClient.ts index f83284a5d47b..d886791302c2 100644 --- a/sdk/communication/communication-chat/test/internal/utils/mockClient.ts +++ b/sdk/communication/communication-chat/test/internal/utils/mockClient.ts @@ -66,6 +66,49 @@ export const mockMessage: RestModel.ChatMessage = { metadata: { tags: "tag" }, }; +export const mockMessageContent: RestModel.ChatMessageContent = { + message: "content", + topic: "topic", + participants: [mockParticipant], + attachments: [ + { + id: "id", + attachmentType: "teamsInlineImage", + contentType: "png", + name: "", + url: "url", + previewUrl: "previewUrl", + }, + ], + initiatorCommunicationIdentifier: mockCommunicationIdentifier, +}; + +export const mockMessageWithAttachment: RestModel.ChatMessage = { + id: "id", + type: "text", + version: "version", + sequenceId: "sequenceId", + content: { + message: "content", + topic: "topic", + attachments: [ + { + id: "id", + attachmentType: "teamsInlineImage", + contentType: "png", + name: "", + url: "url", + previewUrl: "previewUrl", + }, + ], + }, + createdOn: new Date("2020-06-26T18:06:06Z"), + senderDisplayName: "senderDisplayName", + senderCommunicationIdentifier: mockCommunicationIdentifier, + deletedOn: new Date("2020-06-26T18:06:06Z"), + metadata: { tags: "tag" }, +}; + export const mockChatMessageReadReceipt: RestModel.ChatMessageReadReceipt = { senderCommunicationIdentifier: mockCommunicationIdentifier, chatMessageId: mockMessage.id,